Search Results for

    Show / Hide Table of Contents

    Class TeamsDefaultLayout

    Inheritance
    object
    DefaultLayoutGenerator
    TeamsDefaultLayout
    Implements
    ILayoutGenerator
    Inherited Members
    DefaultLayoutGenerator.RootController
    DefaultLayoutGenerator.LayoutHelpURL
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.DefaultLayouts
    Assembly: LemonEdge.ClientEntities.dll
    Syntax
    [DefaultLayout]
    public class TeamsDefaultLayout : DefaultLayoutGenerator, ILayoutGenerator

    Constructors

    TeamsDefaultLayout(IRootController)

    Declaration
    public TeamsDefaultLayout(IRootController rootController)
    Parameters
    Type Name Description
    IRootController rootController

    Fields

    WARNING_MSG

    Declaration
    public const string WARNING_MSG = "Permissions here indicate if items can be created, and what default permissions to assign newly created items. These default permissions can be changed by the creator (providing they have change permissions).\r\n**Existing** items already have permissions defined against them (assigned from these defaults or overriden by the creator, or users, with permissions to change) or have inherited permissions.\r\nTo modify permissions, you can go to that item (and providing you have permissions to change permissions) you can modify them, which can also be applied to inheriting items.\r\nYou can also use queries to modify permissions across arbitary sets of data."
    Field Value
    Type Description
    string

    Methods

    CanGenerateLayout(string, string)

    Returns true if this default layout generator works for the specified uniqueLayoutName and layoutParam combination

    Declaration
    public override bool CanGenerateLayout(string uniqueLayoutName, string layoutParam)
    Parameters
    Type Name Description
    string uniqueLayoutName

    The unique name of the layout to generate

    string layoutParam

    Any optional parameters for the layout to use while generating it

    Returns
    Type Description
    bool

    True if this default layout generator works for the specified uniqueLayoutName and layoutParam combination

    Overrides
    DefaultLayoutGenerator.CanGenerateLayout(string, string)

    GenerateLayout(string, string)

    Creates a LayoutDescriptor that contains the definition of tabs, views, sub-views, parameters and other interactions for the display

    Declaration
    public override Task<LayoutDescriptor> GenerateLayout(string uniqueLayoutName, string layoutParam)
    Parameters
    Type Name Description
    string uniqueLayoutName

    The unique name of the layout this is being generated for

    string layoutParam

    ANy optional parameters for the layout that are could be used to generate this layout

    Returns
    Type Description
    Task<LayoutDescriptor>

    A LayoutDescriptor that details how to construct the layout in the UI of the client application

    Overrides
    DefaultLayoutGenerator.GenerateLayout(string, string)

    Implements

    ILayoutGenerator

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.