Search Results for

    Show / Hide Table of Contents

    Interface ILockable

    A UI interface used for processors (API.Processors.Transactional.BaseTransactionProcessor and others) to ensure controls are locked as appropriate

    Namespace: LemonEdge.API.Client.Views.Core
    Assembly: LemonEdge.API.dll
    Syntax
    public interface ILockable

    Properties

    CanLock

    Indicates if this item can be locked/unlocked

    Declaration
    bool CanLock { get; }
    Property Value
    Type Description
    bool

    Methods

    CanWrite(IBaseEntity)

    Indicates this implementation can or can not be updated

    Declaration
    bool CanWrite(IBaseEntity baseEntity)
    Parameters
    Type Name Description
    IBaseEntity baseEntity
    Returns
    Type Description
    bool

    true if it can be updated, otherwise false

    IsLocked(IBaseEntity)

    Indicates if this item is currently locked or not

    Declaration
    bool IsLocked(IBaseEntity baseEntity)
    Parameters
    Type Name Description
    IBaseEntity baseEntity
    Returns
    Type Description
    bool

    true if it can be unlocked to enable updates, otherwise false

    SetLock(IBaseEntity, bool)

    Sets the locked status 
    

    IBaseEntity

    Declaration
    void SetLock(IBaseEntity baseEntity, bool value)
    Parameters
    Type Name Description
    IBaseEntity baseEntity
    bool value

    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.