logo
logo
  • Class EntityLoadConfigurationBuilder

    Default implementation of IEntityLoadConfigurationBuilder.

    Inheritance
    System.Object
    EntityLoadConfigurationBuilder
    Namespace: Stylelabs.M.Framework.Essentials.LoadConfigurations
    Assembly: Stylelabs.M.Sdk.dll
    Syntax
    public class EntityLoadConfigurationBuilder : object, IEntityLoadConfigurationBuilder

    Constructors

    EntityLoadConfigurationBuilder()

    Creates a new instance of EntityLoadConfigurationBuilder. The builder will build a completely new EntityLoadConfiguration.

    Declaration
    public EntityLoadConfigurationBuilder()

    EntityLoadConfigurationBuilder(IEntityLoadConfiguration)

    Creates a new instance of EntityLoadConfigurationBuilder. The builder will extend or overwrite an existing EntityLoadConfiguration.

    Declaration
    public EntityLoadConfigurationBuilder(IEntityLoadConfiguration entityLoadConfiguration)
    Parameters
    Type Name Description
    IEntityLoadConfiguration entityLoadConfiguration

    The existing EntityLoadConfiguration to extend or overwrite.

    Methods

    Build()

    Declaration
    public IEntityLoadConfiguration Build()
    Returns
    Type Description
    IEntityLoadConfiguration

    InCulture(CultureInfo)

    Declaration
    public IEntityLoadConfigurationBuilder InCulture(CultureInfo culture)
    Parameters
    Type Name Description
    CultureInfo culture
    Returns

    InCultures(CultureInfo[])

    Declaration
    public IEntityLoadConfigurationBuilder InCultures(params CultureInfo[] cultures)
    Parameters
    Type Name Description
    CultureInfo[] cultures
    Returns

    InCultures(IEnumerable<CultureInfo>)

    Declaration
    public IEntityLoadConfigurationBuilder InCultures(IEnumerable<CultureInfo> cultures)
    Parameters
    Type Name Description
    IEnumerable<CultureInfo> cultures
    Returns

    InCultures(LoadOption)

    Declaration
    public IEntityLoadConfigurationBuilder InCultures(LoadOption loadOption)
    Parameters
    Type Name Description
    LoadOption loadOption
    Returns

    WithProperties(IEnumerable<String>)

    Declaration
    public IEntityLoadConfigurationBuilder WithProperties(IEnumerable<string> properties)
    Parameters
    Type Name Description
    IEnumerable<System.String> properties
    Returns

    WithProperties(LoadOption)

    Declaration
    public IEntityLoadConfigurationBuilder WithProperties(LoadOption loadOption)
    Parameters
    Type Name Description
    LoadOption loadOption
    Returns

    WithProperties(String[])

    Declaration
    public IEntityLoadConfigurationBuilder WithProperties(params string[] properties)
    Parameters
    Type Name Description
    System.String[] properties
    Returns

    WithProperty(String)

    Declaration
    public IEntityLoadConfigurationBuilder WithProperty(string property)
    Parameters
    Type Name Description
    System.String property
    Returns

    WithRelation(String)

    Declaration
    public IEntityLoadConfigurationBuilder WithRelation(string relation)
    Parameters
    Type Name Description
    System.String relation
    Returns

    WithRelation(String, Nullable<RelationRole>)

    Declaration
    public IEntityLoadConfigurationBuilder WithRelation(string relation, RelationRole? role)
    Parameters
    Type Name Description
    System.String relation
    System.Nullable<RelationRole> role
    Returns

    WithRelations(IEnumerable<RelationSpecification>)

    Declaration
    public IEntityLoadConfigurationBuilder WithRelations(IEnumerable<RelationSpecification> specs)
    Parameters
    Type Name Description
    IEnumerable<RelationSpecification> specs
    Returns

    WithRelations(IEnumerable<String>)

    Declaration
    public IEntityLoadConfigurationBuilder WithRelations(IEnumerable<string> relations)
    Parameters
    Type Name Description
    IEnumerable<System.String> relations
    Returns

    WithRelations(LoadOption)

    Declaration
    public IEntityLoadConfigurationBuilder WithRelations(LoadOption loadOption)
    Parameters
    Type Name Description
    LoadOption loadOption
    Returns

    WithRelations(RelationSpecification[])

    Declaration
    public IEntityLoadConfigurationBuilder WithRelations(params RelationSpecification[] specs)
    Parameters
    Type Name Description
    RelationSpecification[] specs
    Returns

    WithRelations(String[])

    Declaration
    public IEntityLoadConfigurationBuilder WithRelations(params string[] relations)
    Parameters
    Type Name Description
    System.String[] relations
    Returns

    Implements

    Can we improve this article ? Provide feedback