Search Results for

    Show / Hide Table of Contents

    Class ISetConverter<T>

    A CollectionConverter<T, TCollection> for an ISet<T>, creating a HashSet<T> when deserializing.

    Inheritance
    Object
    ValueConverter<ISet<T>>
    CollectionConverter<T, ISet<T>>
    ISetConverter<T>
    ISetConverter<T, TConverter>
    Implements
    IValueConverter
    Inherited Members
    CollectionConverter<T, ISet<T>>.BaseConverter
    CollectionConverter<T, ISet<T>>.Create(Int32, Object)
    CollectionConverter<T, ISet<T>>.PopulateFromValue(ISet<T>, List, Object)
    CollectionConverter<T, ISet<T>>.FromValue(Value, Object)
    CollectionConverter<T, ISet<T>>.ToValue(ISet<T>, Object)
    ValueConverter<ISet<T>>.ToValue(ISet<T>, Object)
    ValueConverter<ISet<T>>.FromValue(Value, Object)
    ValueConverter<ISet<T>>.IValueConverter.ToValue(Object, Object)
    ValueConverter<ISet<T>>.IValueConverter.FromValue(Value, Object)
    ValueConverter<ISet<T>>.IValueConverter.Type
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: IPA.Config.Stores.Converters
    Assembly: IPA.Loader.dll
    Syntax
    public class ISetConverter<T> : CollectionConverter<T, ISet<T>>, IValueConverter
    Type Parameters
    Name Description
    T

    the element type of the ISet<T>

    Constructors

    | Improve this Doc View Source

    ISetConverter()

    Creates an ISetConverter<T> using the default converter for T.

    Declaration
    public ISetConverter()
    See Also
    CollectionConverter()
    | Improve this Doc View Source

    ISetConverter(ValueConverter<T>)

    Creates an ISetConverter<T> using the specified underlying converter for values.

    Declaration
    public ISetConverter(ValueConverter<T> underlying)
    Parameters
    Type Name Description
    ValueConverter<T> underlying

    the underlying ValueConverter<T> to use for the values

    Methods

    | Improve this Doc View Source

    Create(Int32, Object)

    Creates a new ISet<T> (a HashSet<T>) for deserialization.

    Declaration
    protected override ISet<T> Create(int size, object parent)
    Parameters
    Type Name Description
    Int32 size

    the size to initialize it to

    Object parent

    the object that will own the new object

    Returns
    Type Description
    ISet<T>

    the new ISet<T>

    Overrides
    IPA.Config.Stores.Converters.CollectionConverter<T, System.Collections.Generic.ISet<T>>.Create(System.Int32, System.Object)

    Implements

    IValueConverter

    Extension Methods

    ReflectionUtil.SetField<T, U>(T, String, U)
    ReflectionUtil.GetField<U, T>(T, String)
    ReflectionUtil.SetProperty<T, U>(T, String, U)
    ReflectionUtil.GetProperty<U, T>(T, String)
    ReflectionUtil.InvokeMethod<U, T>(T, String, Object[])

    See Also

    CollectionConverter<T, TCollection>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX