Search Results for

    Show / Hide Table of Contents

    Class ManagedConnectionCollection

    A collection of connections.

    Inheritance
    System.Object
    Collection<ManagedConnection, ManagedConnectionCollection>
    ManagedConnectionCollection
    Inherited Members
    Collection<ManagedConnection, ManagedConnectionCollection>.Count
    Collection<ManagedConnection, ManagedConnectionCollection>.Values
    Collection<ManagedConnection, ManagedConnectionCollection>.ToArray()
    Collection<ManagedConnection, ManagedConnectionCollection>.ArrayFromList(List<ManagedConnection>)
    Collection<ManagedConnection, ManagedConnectionCollection>.CreateCollection()
    Collection<ManagedConnection, ManagedConnectionCollection>.ForEach(Action2<ManagedConnection, Int32>)
    Collection<ManagedConnection, ManagedConnectionCollection>.Replace(ManagedConnection[])
    Collection<ManagedConnection, ManagedConnectionCollection>.Value
    Collection<ManagedConnection, ManagedConnectionCollection>.AddSuccess(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.AddSuccessNoLock(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.Add(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.AddMany(ManagedConnection[])
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveSuccess(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveSuccessNoLock(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveFirst()
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveLast()
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveFirst(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveLast(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.Remove(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveMany(ManagedConnection[])
    Collection<ManagedConnection, ManagedConnectionCollection>.RemoveAll()
    Collection<ManagedConnection, ManagedConnectionCollection>.Any()
    Collection<ManagedConnection, ManagedConnectionCollection>.Any(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.Contains(ManagedConnection)
    Collection<ManagedConnection, ManagedConnectionCollection>.ValueAt(Int32)
    Collection<ManagedConnection, ManagedConnectionCollection>.ValueAtOrDefault(Int32)
    Collection<ManagedConnection, ManagedConnectionCollection>.First()
    Collection<ManagedConnection, ManagedConnectionCollection>.First(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.FirstOrDefault()
    Collection<ManagedConnection, ManagedConnectionCollection>.FirstOrDefault(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.Last()
    Collection<ManagedConnection, ManagedConnectionCollection>.Last(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.LastOrDefault()
    Collection<ManagedConnection, ManagedConnectionCollection>.LastOrDefault(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.Single()
    Collection<ManagedConnection, ManagedConnectionCollection>.Single(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.SingleOrDefault()
    Collection<ManagedConnection, ManagedConnectionCollection>.SingleOrDefault(Function1<ManagedConnection, Boolean>)
    Collection<ManagedConnection, ManagedConnectionCollection>.Where(Function2<ManagedConnection, Int32, Boolean>)
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ManagedConnectionCollection : Collection<ManagedConnection, ManagedConnectionCollection>

    Methods

    AddSuccess(ManagedConnection)

    Invoked when an element is added to the collection.

    Declaration
    protected override void AddSuccess(ManagedConnection value)
    Parameters
    Type Name Description
    ManagedConnection value

    The value.

    Overrides
    FM.LiveSwitch.Collection<FM.LiveSwitch.ManagedConnection, FM.LiveSwitch.ManagedConnectionCollection>.AddSuccess(FM.LiveSwitch.ManagedConnection)

    ArrayFromList(List<ManagedConnection>)

    Creates an array from a list.

    Declaration
    protected override ManagedConnection[] ArrayFromList(List<ManagedConnection> list)
    Parameters
    Type Name Description
    List<ManagedConnection> list

    The list.

    Returns
    Type Description
    ManagedConnection[]
    Overrides
    FM.LiveSwitch.Collection<FM.LiveSwitch.ManagedConnection, FM.LiveSwitch.ManagedConnectionCollection>.ArrayFromList(List<FM.LiveSwitch.ManagedConnection>)

    CreateCollection()

    Creates a collection.

    Declaration
    protected override ManagedConnectionCollection CreateCollection()
    Returns
    Type Description
    ManagedConnectionCollection
    Overrides
    FM.LiveSwitch.Collection<FM.LiveSwitch.ManagedConnection, FM.LiveSwitch.ManagedConnectionCollection>.CreateCollection()

    GetById(String)

    Gets a connection by ID.

    Declaration
    public ManagedConnection GetById(string id)
    Parameters
    Type Name Description
    System.String id

    The identifier.

    Returns
    Type Description
    ManagedConnection

    The connection, or null if the connection does not exist.

    GetByRemoteId(String)

    Gets a connection by remote ID.

    Declaration
    public ManagedConnection GetByRemoteId(string id)
    Parameters
    Type Name Description
    System.String id

    The identifier.

    Returns
    Type Description
    ManagedConnection

    The connection, or null if the connection does not exist.

    RemoveSuccess(ManagedConnection)

    Invoked when an element is removed from the collection.

    Declaration
    protected override void RemoveSuccess(ManagedConnection value)
    Parameters
    Type Name Description
    ManagedConnection value

    The value.

    Overrides
    FM.LiveSwitch.Collection<FM.LiveSwitch.ManagedConnection, FM.LiveSwitch.ManagedConnectionCollection>.RemoveSuccess(FM.LiveSwitch.ManagedConnection)

    TryGetById(String, out ManagedConnection)

    Tries to get a connection by ID.

    Declaration
    public bool TryGetById(string id, out ManagedConnection connection)
    Parameters
    Type Name Description
    System.String id

    The identifier.

    ManagedConnection connection

    The connection.

    Returns
    Type Description
    System.Boolean

    The connection, or null if the connection does not exist.

    TryGetByRemoteId(String, out ManagedConnection)

    Tries to get a connection by remote ID.

    Declaration
    public bool TryGetByRemoteId(string id, out ManagedConnection connection)
    Parameters
    Type Name Description
    System.String id

    The identifier.

    ManagedConnection connection

    The connection.

    Returns
    Type Description
    System.Boolean

    The connection, or null if the connection does not exist.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0