LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Struct DataStoreTypes.FullDataSet<TDescriptor>

    Wrapper for a set of storable items being passed to a data store.

    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.FullDataSet<TDescriptor>
    Type Parameters
    Name Description
    TDescriptor

    will be DataStoreTypes.ItemDescriptor or DataStoreTypes.SerializedItemDescriptor

    Remarks

    Since the generic type signature for the data set is somewhat complicated (it is an ordered list of key-value pairs where each key is a DataStoreTypes.DataKind, and each value is another ordered list of key-value pairs for the individual data items), this type simplifies the declaration of data store methods and makes it easier to see what the type represents.

    Constructors

    | Edit this page View Source

    FullDataSet(IEnumerable<KeyValuePair<DataKind, KeyedItems<TDescriptor>>>)

    Constructs an instance of this wrapper type.

    Declaration
    public FullDataSet(IEnumerable<KeyValuePair<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TDescriptor>>> data)
    Parameters
    Type Name Description
    IEnumerable<KeyValuePair<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TDescriptor>>> data

    the data set

    Properties

    | Edit this page View Source

    Data

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

    Declaration
    public IEnumerable<KeyValuePair<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TDescriptor>>> Data { get; }
    Property Value
    Type Description
    IEnumerable<KeyValuePair<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TDescriptor>>>

    Methods

    | Edit this page View Source

    Empty()

    Shortcut for constructing an empty data set.

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

    an instance containing no data

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