EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Enum ContainerChildIdStrategy

    Namespace: EyeAuras.Shared.Model
    Assembly: EyeAuras.Shared.dll
    Syntax
    public enum ContainerChildIdStrategy

    Fields

    Name Description
    IndependentChildren

    Indicates that the container is not required to have an ID, and children within this container are assigned unique, globally identifiable IDs that are not linked to the container's ID. This strategy allows for greater flexibility, as children can be moved between containers without affecting their IDs. It's suitable for scenarios where parent-child linkage is not critical, or where children entities need to maintain identity independent of their container.

    LinkedToContainer

    Indicates that a valid ID is required for the container when adding any new child. The IDs of children added to this container are constructed as extensions of the container's ID, using an OS path-like approach. This effectively creates a hierarchical linkage between the container and its children, allowing for retrieval of children based on the container's path. Note that this implies a permanent association between a child and its parent container, as moving the child to a different container would disrupt the ID structure.

    Extension Methods

    ObjectExtensions.AddTo<ContainerChildIdStrategy, TCollection>(ContainerChildIdStrategy, ISourceList<TCollection>)
    ObjectExtensions.AddTo<ContainerChildIdStrategy, TCollection>(ContainerChildIdStrategy, ICollection<TCollection>)
    ObjectExtensions.CloneJson<ContainerChildIdStrategy>(ContainerChildIdStrategy)
    ObjectExtensions.CopyPropertiesTo<ContainerChildIdStrategy, TTarget>(ContainerChildIdStrategy, TTarget)
    ObjectExtensions.DumpToTextRaw<ContainerChildIdStrategy>(ContainerChildIdStrategy)
    ObjectExtensions.DumpToText<ContainerChildIdStrategy>(ContainerChildIdStrategy)
    ObjectExtensions.Dump<ContainerChildIdStrategy>(ContainerChildIdStrategy)
    ObjectExtensions.GetPropertyAccessor<ContainerChildIdStrategy, TValue>(ContainerChildIdStrategy, Expression<Func<ContainerChildIdStrategy, TValue>>)
    ObjectExtensions.InsertTo<ContainerChildIdStrategy, TCollection>(ContainerChildIdStrategy, IList<TCollection>, int)
    ObjectExtensions.ToJson<ContainerChildIdStrategy>(ContainerChildIdStrategy)
    ObjectExtensions.ToStringSafe<ContainerChildIdStrategy>(ContainerChildIdStrategy)
    ObjectExtensions.TransferPropertiesTo<ContainerChildIdStrategy, TTarget>(ContainerChildIdStrategy, TTarget, params string[])
    XDocumentExtensions.AddTo<ContainerChildIdStrategy>(ContainerChildIdStrategy, XContainer)
    © Xab3r. All rights reserved.