Search Results for

    Show / Hide Table of Contents

    Class Utilities.DefaultDictionary<Key, Value>

    A simple implementation of Python's defaultdict, which creates a default value if the key does not exist. Adapted from https://stackoverflow.com/questions/15622622/analogue-of-pythons-defaultdict

    Inheritance
    Object
    Dictionary<Key, Value>
    Utilities.DefaultDictionary<Key, Value>
    Namespace: JoshAaronMiller.INaturalist
    Assembly: cs.temp.dll.dll
    Syntax
    public class DefaultDictionary<Key, Value> : Dictionary<Key, Value>, IDictionary<Key, Value>, ICollection<KeyValuePair<Key, Value>>, IDictionary, ICollection, IReadOnlyDictionary<Key, Value>, IReadOnlyCollection<KeyValuePair<Key, Value>>, IEnumerable<KeyValuePair<Key, Value>>, IEnumerable, ISerializable, IDeserializationCallback where Value : new()
    Type Parameters
    Name Description
    Key
    Value

    Properties

    Item[Key]

    Declaration
    public Value this[Key key] { get; set; }
    Parameters
    Type Name Description
    Key key
    Property Value
    Type Description
    Value
    In This Article
    Back to top Documentation