1 interface inheriting from IResource
Microsoft.Build.Tasks.Core (1)
ResourceHandling\ILinkedFileResource.cs (1)
10internal interface ILinkedFileResource : IResource
4 implementations of IResource
Microsoft.Build.Tasks.Core (4)
ResourceHandling\BinaryFormatterByteArrayResource.cs (1)
11internal class BinaryFormatterByteArrayResource : IResource
ResourceHandling\LiveObjectResource.cs (1)
13internal class LiveObjectResource : IResource
ResourceHandling\TypeConverterByteArrayResource.cs (1)
10internal class TypeConverterByteArrayResource : IResource
ResourceHandling\TypeConverterStringResource.cs (1)
10internal class TypeConverterStringResource : IResource
21 references to IResource
Microsoft.Build.Tasks.Core (19)
GenerateResource.cs (8)
3022foreach (IResource resource in MSBuildResXReader.GetResourcesFromFile(filename, shouldUseSourcePath, _logger, _logWarningForBinaryFormatter)) 3768foreach (IResource entry in reader.resources) 3808foreach (IResource resource in reader.resources) 3849private void AddResource(ReaderInfo reader, IResource entry, String inputFileName, int lineNumber, int linePosition) 3879public List<IResource> resources; 3880public Dictionary<string, IResource> resourcesHashTable; 3886resources = new List<IResource>(); 3887resourcesHashTable = new Dictionary<string, IResource>(StringComparer.OrdinalIgnoreCase);
ResGenDependencies.cs (1)
265foreach (IResource resource in MSBuildResXReader.GetResourcesFromFile(filename, pathsRelativeToBasePath: baseLinkedFileDirectory == null, log, logWarningForBinaryFormatter))
ResourceHandling\ILinkedFileResource.cs (1)
7/// An <see cref="IResource"/> that is backed by a linked file (originating
ResourceHandling\MSBuildResXReader.cs (7)
22public static IReadOnlyList<IResource> ReadResources(Stream s, string filename, bool pathsRelativeToBasePath, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 24var resources = new List<IResource>(); 114List<IResource> resources, 228private static void AddLinkedResource(string resxFilename, bool pathsRelativeToBasePath, List<IResource> resources, string name, string value) 313/// Extract <see cref="IResource"/>s from a given file on disk. 315public static IReadOnlyList<IResource> GetResourcesFromFile(string filename, bool pathsRelativeToBasePath, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 323public static IReadOnlyList<IResource> GetResourcesFromString(string resxContent, TaskLoggingHelper log, bool logWarningForBinaryFormatter, string basePath = null, bool? useRelativePath = null)
system.design\stronglytypedresourcebuilder.cs (2)
143internal static CodeCompileUnit Create(Dictionary<string, IResource> resourceList, String baseName, String generatedCodeNamespace, String resourcesNamespace, CodeDomProvider codeProvider, bool internalClass, out SkippedResource[] unmatchable) 151foreach (KeyValuePair<string, IResource> resource in resourceList)
Microsoft.Build.Tasks.UnitTests (2)
ResourceHandling\MSBuildResXReader_Tests.cs (2)
186private static void AssertSingleStringResource(IReadOnlyList<IResource> resources, string name, string value) 196private static void AssertSingleStringResourceFromFile(IReadOnlyList<IResource> resources, string name, string value)