Search Results for

    Show / Hide Table of Contents

    Class FederatedModelInstances

    Inheritance
    System.Object
    FederatedModelInstances
    Implements
    IReadOnlyEntityCollection
    System.Collections.Generic.IEnumerable<IPersistEntity>
    System.Collections.IEnumerable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.Common.Federation
    Assembly: Xbim.Common.dll
    Syntax
    public class FederatedModelInstances : IReadOnlyEntityCollection, IEnumerable<IPersistEntity>, IEnumerable

    Constructors

    | Improve this Doc View Source

    FederatedModelInstances(IFederatedModel)

    Declaration
    public FederatedModelInstances(IFederatedModel model)
    Parameters
    Type Name Description
    IFederatedModel model

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public long Count { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Item[XbimInstanceHandle]

    Returns the instance that corresponds to this handle

    Declaration
    public IPersistEntity this[XbimInstanceHandle handle] { get; }
    Parameters
    Type Name Description
    XbimInstanceHandle handle
    Property Value
    Type Description
    IPersistEntity

    Methods

    | Improve this Doc View Source

    CountOf<T>()

    Declaration
    public long CountOf<T>()
        where T : IPersistEntity
    Returns
    Type Description
    System.Int64
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    FirstOrDefault<T>()

    Declaration
    public T FirstOrDefault<T>()
        where T : IPersistEntity
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    FirstOrDefault<T>(Func<T, Boolean>)

    Declaration
    public T FirstOrDefault<T>(Func<T, bool> expr)
        where T : IPersistEntity
    Parameters
    Type Name Description
    System.Func<T, System.Boolean> expr
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    FirstOrDefault<T>(Func<T, Boolean>, String, IPersistEntity)

    Declaration
    public T FirstOrDefault<T>(Func<T, bool> condition, string inverseProperty, IPersistEntity inverseArgument)
        where T : IPersistEntity
    Parameters
    Type Name Description
    System.Func<T, System.Boolean> condition
    System.String inverseProperty
    IPersistEntity inverseArgument
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<IPersistEntity> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<IPersistEntity>
    | Improve this Doc View Source

    OfType(String, Boolean)

    Declaration
    public IEnumerable<IPersistEntity> OfType(string stringType, bool activate)
    Parameters
    Type Name Description
    System.String stringType
    System.Boolean activate
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IPersistEntity>
    | Improve this Doc View Source

    OfType<T>()

    Declaration
    public IEnumerable<T> OfType<T>()
        where T : IPersistEntity
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    OfType<T>(Boolean)

    Declaration
    public IEnumerable<T> OfType<T>(bool activate)
        where T : IPersistEntity
    Parameters
    Type Name Description
    System.Boolean activate
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Where<T>(Func<T, Boolean>)

    Declaration
    public IEnumerable<T> Where<T>(Func<T, bool> expr)
        where T : IPersistEntity
    Parameters
    Type Name Description
    System.Func<T, System.Boolean> expr
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Where<T>(Func<T, Boolean>, String, IPersistEntity)

    Declaration
    public IEnumerable<T> Where<T>(Func<T, bool> condition, string inverseProperty, IPersistEntity inverseArgument)
        where T : IPersistEntity
    Parameters
    Type Name Description
    System.Func<T, System.Boolean> condition
    System.String inverseProperty
    IPersistEntity inverseArgument
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    IReadOnlyEntityCollection
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    IEnumerableExtensions.AsTriplet<T>(IEnumerable<T>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim