LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Struct DataStoreTypes.KeyedItems<TDescriptor>

    Wrapper for a set of storable items being passed to a data store, within a single DataStoreTypes.DataKind.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Sdk.Server.Subsystems
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public struct DataStoreTypes.KeyedItems<TDescriptor>
    Type Parameters
    Name Description
    TDescriptor
    Remarks

    This type exists only to provide a simpler type signature for data store methods, and to make it easier to see what the type represents. In particular, unlike an IDictionary<TKey, TValue>, the ordering of items may be significant (in the case of updates).

    Constructors

    | Edit this page View Source

    KeyedItems(IEnumerable<KeyValuePair<string, TDescriptor>>)

    Constructs an instance of this wrapper type.

    Declaration
    public KeyedItems(IEnumerable<KeyValuePair<string, TDescriptor>> items)
    Parameters
    Type Name Description
    IEnumerable<KeyValuePair<string, TDescriptor>> items

    the data set

    Properties

    | Edit this page View Source

    Items

    The wrapped data set; may be empty, but will not be null.

    Declaration
    public IEnumerable<KeyValuePair<string, TDescriptor>> Items { get; }
    Property Value
    Type Description
    IEnumerable<KeyValuePair<string, TDescriptor>>

    Methods

    | Edit this page View Source

    Empty()

    Shortcut for constructing an empty data set.

    Declaration
    public static DataStoreTypes.KeyedItems<TDescriptor> Empty()
    Returns
    Type Description
    DataStoreTypes.KeyedItems<TDescriptor>

    an instance containing no data

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX