docs.unity.cn
    Show / Hide Table of Contents

    Class HashSetPropertyBag<TElement>

    An IPropertyBag<TContainer> implementation for a HashSet<T> type.

    Inheritance
    Object
    PropertyBag<HashSet<TElement>>
    SetPropertyBagBase<HashSet<TElement>, TElement>
    HashSetPropertyBag<TElement>
    Inherited Members
    SetPropertyBagBase<HashSet<TElement>, TElement>.GetProperties()
    SetPropertyBagBase<HashSet<TElement>, TElement>.GetProperties(HashSet<TElement>)
    SetPropertyBagBase<HashSet<TElement>, TElement>.ICollectionPropertyBagAccept<HashSet<TElement>>.Accept(ICollectionPropertyBagVisitor, HashSet<TElement>)
    SetPropertyBagBase<HashSet<TElement>, TElement>.ISetPropertyBagAccept<HashSet<TElement>>.Accept(ISetPropertyBagVisitor, HashSet<TElement>)
    SetPropertyBagBase<HashSet<TElement>, TElement>.ISetPropertyAccept<HashSet<TElement>>.Accept<TContainer>(ISetPropertyVisitor, Property<TContainer, HashSet<TElement>>, TContainer, HashSet<TElement>)
    SetPropertyBagBase<HashSet<TElement>, TElement>.TryGetProperty(HashSet<TElement>, Object, IProperty<HashSet<TElement>>)
    PropertyBag<HashSet<TElement>>.Accept(ITypeVisitor)
    PropertyBag<HashSet<TElement>>.IPropertyBag.Accept(IPropertyBagVisitor, Object)
    PropertyBag<HashSet<TElement>>.IPropertyBag<HashSet<TElement>>.Accept(IPropertyBagVisitor, HashSet<TElement>)
    PropertyBag<HashSet<TElement>>.IPropertyBag<HashSet<TElement>>.GetProperties()
    PropertyBag<HashSet<TElement>>.IPropertyBag<HashSet<TElement>>.GetProperties(HashSet<TElement>)
    PropertyBag<HashSet<TElement>>.GetProperties()
    PropertyBag<HashSet<TElement>>.GetProperties(HashSet<TElement>)
    PropertyBag<HashSet<TElement>>.CreateInstance()
    PropertyBag<HashSet<TElement>>.TryCreateInstance(HashSet<TElement>)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Properties
    Syntax
    public class HashSetPropertyBag<TElement> : SetPropertyBagBase<HashSet<TElement>, TElement>, IPropertyBagRegister, IConstructor<HashSet<TElement>>, IConstructor, ISetPropertyBag<HashSet<TElement>, TElement>, ICollectionPropertyBag<HashSet<TElement>, TElement>, IPropertyBag<HashSet<TElement>>, IPropertyBag, ICollectionPropertyBagAccept<HashSet<TElement>>, ISetPropertyBagAccept<HashSet<TElement>>, ISetPropertyAccept<HashSet<TElement>>, IKeyedProperties<HashSet<TElement>, object>
    Type Parameters
    Name Description
    TElement

    The element type.

    Properties

    InstantiationKind

    Implement this property and return true to provide custom type instantiation for the container type.

    Declaration
    protected override InstantiationKind InstantiationKind { get; }
    Property Value
    Type Description
    InstantiationKind
    Overrides
    Unity.Properties.PropertyBag<System.Collections.Generic.HashSet<TElement>>.InstantiationKind

    Methods

    Instantiate()

    Implement this method to provide custom type instantiation for the container type.

    Declaration
    protected override HashSet<TElement> Instantiate()
    Returns
    Type Description
    HashSet<TElement>

    A new instance of .

    Overrides
    Unity.Properties.PropertyBag<System.Collections.Generic.HashSet<TElement>>.Instantiate()
    Remarks

    You MUST also override InstantiationKind to return langword_csharp_ConstructionType.PropertyBagOverride for this method to be called.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 26, 2023