Microsoft.Extensions.FileProviders.Embedded.netcoreapp.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. namespace Microsoft.Extensions.FileProviders
  4. {
  5. public partial class EmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
  6. {
  7. public EmbeddedFileProvider(System.Reflection.Assembly assembly) { }
  8. public EmbeddedFileProvider(System.Reflection.Assembly assembly, string baseNamespace) { }
  9. public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
  10. public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
  11. public Microsoft.Extensions.Primitives.IChangeToken Watch(string pattern) { throw null; }
  12. }
  13. public partial class ManifestEmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
  14. {
  15. public ManifestEmbeddedFileProvider(System.Reflection.Assembly assembly) { }
  16. public ManifestEmbeddedFileProvider(System.Reflection.Assembly assembly, string root) { }
  17. public ManifestEmbeddedFileProvider(System.Reflection.Assembly assembly, string root, System.DateTimeOffset lastModified) { }
  18. public ManifestEmbeddedFileProvider(System.Reflection.Assembly assembly, string root, string manifestName, System.DateTimeOffset lastModified) { }
  19. public System.Reflection.Assembly Assembly { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
  20. public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
  21. public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
  22. public Microsoft.Extensions.Primitives.IChangeToken Watch(string filter) { throw null; }
  23. }
  24. }
  25. namespace Microsoft.Extensions.FileProviders.Embedded
  26. {
  27. public partial class EmbeddedResourceFileInfo : Microsoft.Extensions.FileProviders.IFileInfo
  28. {
  29. public EmbeddedResourceFileInfo(System.Reflection.Assembly assembly, string resourcePath, string name, System.DateTimeOffset lastModified) { }
  30. public bool Exists { get { throw null; } }
  31. public bool IsDirectory { get { throw null; } }
  32. public System.DateTimeOffset LastModified { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
  33. public long Length { get { throw null; } }
  34. public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
  35. public string PhysicalPath { get { throw null; } }
  36. public System.IO.Stream CreateReadStream() { throw null; }
  37. }
  38. }