ResourceManager.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Reflection;
  2. using System.Globalization;
  3. namespace System.Resources
  4. {
  5. public class ResourceManager
  6. {
  7. public static readonly int HeaderVersionNumber;
  8. public static readonly int MagicNumber;
  9. protected System.Reflection.Assembly MainAssembly;
  10. protected ResourceManager() { }
  11. public ResourceManager(string baseName, System.Reflection.Assembly assembly) { }
  12. public ResourceManager(string baseName, System.Reflection.Assembly assembly, System.Type usingResourceSet) { }
  13. public ResourceManager(System.Type resourceSource) { }
  14. public virtual string BaseName { get { throw null; } }
  15. public virtual bool IgnoreCase { get { throw null; } set { } }
  16. public virtual System.Type ResourceSetType { get { throw null; } }
  17. protected static System.Globalization.CultureInfo GetNeutralResourcesLanguage(System.Reflection.Assembly a) { throw null; }
  18. public virtual object GetObject(string name) { throw null; }
  19. public virtual object GetObject(string name, System.Globalization.CultureInfo culture) { throw null; }
  20. protected virtual string GetResourceFileName(System.Globalization.CultureInfo culture) { throw null; }
  21. public virtual ResourceSet GetResourceSet(System.Globalization.CultureInfo culture, bool createIfNotExists, bool tryParents) { throw null; }
  22. protected static System.Version GetSatelliteContractVersion(System.Reflection.Assembly a) { throw null; }
  23. public System.IO.UnmanagedMemoryStream GetStream(string name) { throw null; }
  24. public System.IO.UnmanagedMemoryStream GetStream(string name, System.Globalization.CultureInfo culture) { throw null; }
  25. public virtual string GetString(string name) { throw null; }
  26. public virtual string GetString(string name, System.Globalization.CultureInfo culture) { throw null; }
  27. protected virtual ResourceSet InternalGetResourceSet(System.Globalization.CultureInfo culture, bool createIfNotExists, bool tryParents) { throw null; }
  28. public virtual void ReleaseAllResources() { }
  29. protected UltimateResourceFallbackLocation FallbackLocation { get { throw null; } set { } }
  30. public static ResourceManager CreateFileBasedResourceManager(string baseName, string resourceDir, System.Type usingResourceSet) { throw null; }
  31. internal static bool IsDefaultType(string asmTypeName, string typeName) { throw null; }
  32. internal const string ResReaderTypeName = "System.Resources.ResourceReader";
  33. }
  34. }