Show / Hide Table of Contents

Class DataStorage<T>

Inheritance
System.Object
DataStorage<T>
ListDataStorage
SingletonDataStorage
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()
Namespace: AssetRipper.Import.Configuration
Assembly: AssetRipper.Import.dll
Syntax
public class DataStorage<T>
    where T : DataEntry
Type Parameters
Name Description
T

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
Type Description
T
| 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
public void Clear()
| 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 Description
TValue
Type Parameters
Name Description
TValue
| 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
Name Description
TValue
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾