Show / Hide Table of Contents

    Struct BindIndex

    Provides the index that can be used to lookup the IBinding in Container. This is based on a Type and id Object.

    Implements
    IEquatable<BindIndex>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Core
    Assembly: cs.temp.dll.dll
    Syntax
    public struct BindIndex : IEquatable<BindIndex>

    Constructors

    BindIndex(IBinding)

    Declaration
    public BindIndex(IBinding binding)
    Parameters
    Type Name Description
    IBinding binding

    BindIndex(Type, Object)

    Declaration
    public BindIndex(Type contractType, object id = null)
    Parameters
    Type Name Description
    Type contractType
    Object id

    Properties

    Id

    Declaration
    public object Id { get; }
    Property Value
    Type Description
    Object

    Type

    Declaration
    public Type Type { get; }
    Property Value
    Type Description
    Type

    Methods

    Equals(BindIndex)

    Declaration
    public bool Equals(BindIndex other)
    Parameters
    Type Name Description
    BindIndex other
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    Equality(BindIndex, BindIndex)

    Declaration
    public static bool operator ==(BindIndex left, BindIndex right)
    Parameters
    Type Name Description
    BindIndex left
    BindIndex right
    Returns
    Type Description
    Boolean

    Inequality(BindIndex, BindIndex)

    Declaration
    public static bool operator !=(BindIndex left, BindIndex right)
    Parameters
    Type Name Description
    BindIndex left
    BindIndex right
    Returns
    Type Description
    Boolean

    Implements

    System.IEquatable<T>
    Back to top Copyright © 2020 East Side Games Inc.