Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.ComponentResourceManager Class Reference

Public Member Functions

 ComponentResourceManager ()
 
 ComponentResourceManager (Type t)
 
void ApplyResources (object value, string objectName)
 
virtual void ApplyResources (object value, string objectName, CultureInfo? culture)
 
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

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

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

Private Member Functions

SortedList< string, object > FillResources (CultureInfo culture, out ResourceSet resourceSet)
 
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

Hashtable _resourceSets
 
CultureInfo _neutralResourcesCulture
 
readonly string _moduleDir
 
readonly Type _locationInfo
 
readonly Type _userResourceSet
 
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 10 of file ComponentResourceManager.cs.


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