Class DefaultMValueAdapters.DefaultDictionaryAdapter<T>
Inheritance
System.Object
DefaultMValueAdapters.DefaultDictionaryAdapter<T>
Implements
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: AltV.Net.Elements.Args
Assembly: AltV.Net.Shared.dll
Syntax
public class DefaultDictionaryAdapter<T> : IMValueAdapter<IDictionary<string, T>>, IMValueBaseAdapter
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceDefaultDictionaryAdapter(IMValueAdapter<T>)
Declaration
public DefaultDictionaryAdapter(IMValueAdapter<T> elementAdapter)
Parameters
Type | Name | Description |
---|---|---|
IMValueAdapter<T> | elementAdapter |
Methods
| Improve this Doc View SourceFromMValue(IMValueReader)
Declaration
public IDictionary<string, T> FromMValue(IMValueReader reader)
Parameters
Type | Name | Description |
---|---|---|
IMValueReader | reader |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, T> |
ToMValue(IDictionary<String, T>, IMValueWriter)
Declaration
public void ToMValue(IDictionary<string, T> dictionary, IMValueWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, T> | dictionary | |
IMValueWriter | writer |
ToMValue(Object, IMValueWriter)
Declaration
public void ToMValue(object obj, IMValueWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | |
IMValueWriter | writer |
Explicit Interface Implementations
| Improve this Doc View SourceIMValueBaseAdapter.FromMValue(IMValueReader)
Declaration
object IMValueBaseAdapter.FromMValue(IMValueReader reader)
Parameters
Type | Name | Description |
---|---|---|
IMValueReader | reader |
Returns
Type | Description |
---|---|
System.Object |