Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Resources.ResourceManager Class Reference

Classes

class  CultureNameResourceSetPair
 
class  ResourceManagerMediator
 

Public Member Functions

 ResourceManager (string baseName, Assembly assembly)
 
 ResourceManager (string baseName, Assembly assembly, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type? usingResourceSet)
 
 ResourceManager (Type resourceSource)
 
virtual void ReleaseAllResources ()
 
virtual ? ResourceSet GetResourceSet (CultureInfo culture, bool createIfNotExists, bool tryParents)
 
virtual ? string GetString (string name)
 
virtual ? string GetString (string name, CultureInfo? culture)
 
virtual ? object GetObject (string name)
 
virtual ? object GetObject (string name, CultureInfo? culture)
 
UnmanagedMemoryStreamGetStream (string name)
 
UnmanagedMemoryStreamGetStream (string name, CultureInfo? culture)
 

Static Public Member Functions

static ResourceManager CreateFileBasedResourceManager (string baseName, string resourceDir, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type? usingResourceSet)
 

Static Public Attributes

static readonly int MagicNumber = -1091581234
 
static readonly int HeaderVersionNumber = 1
 

Protected Member Functions

 ResourceManager ()
 
virtual string GetResourceFileName (CultureInfo culture)
 
virtual ? ResourceSet InternalGetResourceSet (CultureInfo culture, bool createIfNotExists, bool tryParents)
 

Static Protected Member Functions

static ? Version GetSatelliteContractVersion (Assembly a)
 
static CultureInfo GetNeutralResourcesLanguage (Assembly a)
 

Protected Attributes

string BaseNameField
 
AssemblyMainAssembly
 

Package Functions

ResourceSet GetFirstResourceSet (CultureInfo culture)
 

Static Package Functions

static bool IsDefaultType (string asmTypeName, string typeName)
 

Properties

virtual string BaseName [get]
 
virtual bool IgnoreCase [get, set]
 
virtual Type ResourceSetType [get]
 
UltimateResourceFallbackLocation FallbackLocation [get, set]
 

Private Member Functions

 ResourceManager (string baseName, string resourceDir, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type userResourceSet)
 
void CommonAssemblyInit ()
 
object GetObject (string name, CultureInfo culture, bool wrapUnmanagedMemStream)
 

Static Private Member Functions

static void AddResourceSet (Dictionary< string, ResourceSet > localResourceSets, string cultureName, ref ResourceSet rs)
 

Private Attributes

Dictionary< string, ResourceSet_resourceSets
 
readonly string _moduleDir
 
readonly Type _locationInfo
 
readonly Type _userResourceSet
 
CultureInfo _neutralResourcesCulture
 
CultureNameResourceSetPair _lastUsedResourceCache
 
bool _ignoreCase
 
bool _useManifest
 
UltimateResourceFallbackLocation _fallbackLoc
 
Version _satelliteContractVersion
 
bool _lookedForSatelliteContractVersion
 
IResourceGroveler _resourceGroveler
 

Static Private Attributes

static readonly Type s_minResourceSet = typeof(ResourceSet)
 

Detailed Description

Definition at line 9 of file ResourceManager.cs.


The documentation for this class was generated from the following file: