Class DataStorage<T>
Inheritance
System.Object
DataStorage<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AssetRipper.Import.dll
Syntax
public class DataStorage<T>
where T : DataEntry
Type Parameters
Fields
|
Improve this Doc
View Source
data
Declaration
protected readonly Dictionary<string, T> data
Field Value
Type |
Description |
Dictionary<System.String, T> |
|
Properties
|
Improve this Doc
View Source
Item[String]
Declaration
public T this[string key] { get; }
Parameters
Type |
Name |
Description |
System.String |
key |
|
Property Value
|
Improve this Doc
View Source
Keys
Declaration
public IEnumerable<string> Keys { get; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
Methods
|
Improve this Doc
View Source
Add(String, T)
Declaration
public void Add(string key, T value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
value |
|
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
GetValue<TValue>(String)
Declaration
public TValue GetValue<TValue>(string key)
where TValue : T
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type Parameters
|
Improve this Doc
View Source
TryGetValue<TValue>(String, out TValue)
Declaration
public bool TryGetValue<TValue>(string key, out TValue value)
where TValue : T
Parameters
Type |
Name |
Description |
System.String |
key |
|
TValue |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters