5 implementations of IResource
Microsoft.Build.Tasks.Core (5)
ResourceHandling\BinaryFormatterByteArrayResource.cs (1)
11internal class BinaryFormatterByteArrayResource : IResource
ResourceHandling\FileStreamResource.cs (1)
12internal class FileStreamResource : IResource
ResourceHandling\LiveObjectResource.cs (1)
13internal class LiveObjectResource : IResource
ResourceHandling\TypeConverterByteArrayResource.cs (1)
11internal class TypeConverterByteArrayResource : IResource
ResourceHandling\TypeConverterStringResource.cs (1)
11internal class TypeConverterStringResource : IResource
19 references to IResource
Microsoft.Build.Tasks.Core (18)
GenerateResource.cs (8)
3029foreach (IResource resource in MSBuildResXReader.GetResourcesFromFile(filename, shouldUseSourcePath, _logger, _logWarningForBinaryFormatter)) 3766foreach (IResource entry in reader.resources) 3806foreach (IResource resource in reader.resources) 3847private void AddResource(ReaderInfo reader, IResource entry, String inputFileName, int lineNumber, int linePosition) 3877public List<IResource> resources; 3878public Dictionary<string, IResource> resourcesHashTable; 3884resources = new List<IResource>(); 3885resourcesHashTable = new Dictionary<string, IResource>(StringComparer.OrdinalIgnoreCase);
ResGenDependencies.cs (1)
265foreach (IResource resource in MSBuildResXReader.GetResourcesFromFile(filename, pathsRelativeToBasePath: baseLinkedFileDirectory == null, log, logWarningForBinaryFormatter))
ResourceHandling\MSBuildResXReader.cs (7)
20public static IReadOnlyList<IResource> ReadResources(Stream s, string filename, bool pathsRelativeToBasePath, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 22var resources = new List<IResource>(); 108List<IResource> resources, 222private static void AddLinkedResource(string resxFilename, bool pathsRelativeToBasePath, List<IResource> resources, string name, string value) 307/// Extract <see cref="IResource"/>s from a given file on disk. 309public static IReadOnlyList<IResource> GetResourcesFromFile(string filename, bool pathsRelativeToBasePath, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 317public static IReadOnlyList<IResource> GetResourcesFromString(string resxContent, TaskLoggingHelper log, bool logWarningForBinaryFormatter, string basePath = null, bool? useRelativePath = null)
system.design\stronglytypedresourcebuilder.cs (2)
114internal static CodeCompileUnit Create(Dictionary<string, IResource> resourceList, String baseName, String generatedCodeNamespace, String resourcesNamespace, CodeDomProvider codeProvider, bool internalClass, out String[] unmatchable) 122foreach (KeyValuePair<string, IResource> resource in resourceList)
Microsoft.Build.Tasks.UnitTests (1)
ResourceHandling\MSBuildResXReader_Tests.cs (1)
186private static void AssertSingleStringResource(IReadOnlyList<IResource> resources, string name, string value)