Search Results for

    Show / Hide Table of Contents

    Class SyncIDictionary<TKey, TValue>

    Inheritance
    Object
    SyncObject
    SyncIDictionary<TKey, TValue>
    SyncDictionary<TKey, TValue>
    Implements
    IDictionary<TKey, TValue>
    IReadOnlyDictionary<TKey, TValue>
    Inherited Members
    SyncObject.OnDirty
    SyncObject.IsRecording
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public class SyncIDictionary<TKey, TValue> : SyncObject
    Type Parameters
    Name Description
    TKey
    TValue

    Constructors

    | Improve this Doc View Source

    SyncIDictionary(IDictionary<TKey, TValue>)

    Declaration
    public SyncIDictionary(IDictionary<TKey, TValue> objects)
    Parameters
    Type Name Description
    IDictionary<TKey, TValue> objects

    Fields

    | Improve this Doc View Source

    objects

    Declaration
    protected readonly IDictionary<TKey, TValue> objects
    Field Value
    Type Description
    IDictionary<TKey, TValue>

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Item[TKey]

    Declaration
    public TValue this[TKey i] { get; set; }
    Parameters
    Type Name Description
    TKey i
    Property Value
    Type Description
    TValue
    | Improve this Doc View Source

    Keys

    Declaration
    public ICollection<TKey> Keys { get; }
    Property Value
    Type Description
    ICollection<TKey>
    | Improve this Doc View Source

    Values

    Declaration
    public ICollection<TValue> Values { get; }
    Property Value
    Type Description
    ICollection<TValue>

    Methods

    | Improve this Doc View Source

    Add(TKey, TValue)

    Declaration
    public void Add(TKey key, TValue value)
    Parameters
    Type Name Description
    TKey key
    TValue value
    | Improve this Doc View Source

    Add(KeyValuePair<TKey, TValue>)

    Declaration
    public void Add(KeyValuePair<TKey, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<TKey, TValue> item
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    ClearChanges()

    Declaration
    public override void ClearChanges()
    Overrides
    SyncObject.ClearChanges()
    | Improve this Doc View Source

    Contains(KeyValuePair<TKey, TValue>)

    Declaration
    public bool Contains(KeyValuePair<TKey, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<TKey, TValue> item
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ContainsKey(TKey)

    Declaration
    public bool ContainsKey(TKey key)
    Parameters
    Type Name Description
    TKey key
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    CopyTo(KeyValuePair<TKey, TValue>[], Int32)

    Declaration
    public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
    Parameters
    Type Name Description
    KeyValuePair<TKey, TValue>[] array
    Int32 arrayIndex
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
    Returns
    Type Description
    IEnumerator<KeyValuePair<TKey, TValue>>
    | Improve this Doc View Source

    OnDeserializeAll(NetworkReader)

    Declaration
    public override void OnDeserializeAll(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Overrides
    SyncObject.OnDeserializeAll(NetworkReader)
    | Improve this Doc View Source

    OnDeserializeDelta(NetworkReader)

    Declaration
    public override void OnDeserializeDelta(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Overrides
    SyncObject.OnDeserializeDelta(NetworkReader)
    | Improve this Doc View Source

    OnSerializeAll(NetworkWriter)

    Declaration
    public override void OnSerializeAll(NetworkWriter writer)
    Parameters
    Type Name Description
    NetworkWriter writer
    Overrides
    SyncObject.OnSerializeAll(NetworkWriter)
    | Improve this Doc View Source

    OnSerializeDelta(NetworkWriter)

    Declaration
    public override void OnSerializeDelta(NetworkWriter writer)
    Parameters
    Type Name Description
    NetworkWriter writer
    Overrides
    SyncObject.OnSerializeDelta(NetworkWriter)
    | Improve this Doc View Source

    Remove(TKey)

    Declaration
    public bool Remove(TKey key)
    Parameters
    Type Name Description
    TKey key
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Remove(KeyValuePair<TKey, TValue>)

    Declaration
    public bool Remove(KeyValuePair<TKey, TValue> item)
    Parameters
    Type Name Description
    KeyValuePair<TKey, TValue> item
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Reset()

    Declaration
    public override void Reset()
    Overrides
    SyncObject.Reset()
    | Improve this Doc View Source

    TryGetValue(TKey, out TValue)

    Declaration
    public bool TryGetValue(TKey key, out TValue value)
    Parameters
    Type Name Description
    TKey key
    TValue value
    Returns
    Type Description
    Boolean

    Events

    | Improve this Doc View Source

    Callback

    Declaration
    public event SyncIDictionary<TKey, TValue>.SyncDictionaryChanged Callback
    Event Type
    Type Description
    SyncIDictionary.SyncDictionaryChanged<>

    Implements

    IDictionary<, >
    IReadOnlyDictionary<, >
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX