Search Results for

    Show / Hide Table of Contents

    Class MessageViewParams

    The parameters for the IMessageView view and MessageController, indicating what message to display

    Inheritance
    object
    SerializedParam
    ViewSerializedParam
    MessageViewParams
    Implements
    ICloneable
    ICloneable<ViewSerializedParam>
    INotifyPropertyChanged
    ICloneable<MessageViewParams>
    Inherited Members
    ViewSerializedParam.OnPropChanged(string)
    ViewSerializedParam.AddVisibleOnlyToRole(Guid)
    ViewSerializedParam.RemoveVisibleOnlyToRole(Guid)
    ViewSerializedParam.CopyFromSource(ViewSerializedParam)
    ViewSerializedParam.HelpUrl
    ViewSerializedParam.ViewName
    ViewSerializedParam.ViewDescriptor
    ViewSerializedParam.ViewIcon
    ViewSerializedParam.VisibilityFormula
    ViewSerializedParam.Visible
    ViewSerializedParam.AutoSelectOnVisible
    ViewSerializedParam.VisibleOnlyToRoles
    ViewSerializedParam.FormulaVisibility
    ViewSerializedParam.PropertyChanged
    SerializedParam.GetParam<T>(string)
    SerializedParam.GetParam<T>(byte[])
    SerializedParam.GetParam(string)
    SerializedParam.GetParam(string, bool)
    SerializedParam.GetParam(byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Params
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    [DataContract]
    public class MessageViewParams : ViewSerializedParam, ICloneable, ICloneable<ViewSerializedParam>, INotifyPropertyChanged, ICloneable<MessageViewParams>

    Constructors

    MessageViewParams()

    Declaration
    public MessageViewParams()

    Properties

    Message

    The message to display to the user in the IMessageView view

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    string

    Methods

    Clone()

    Creates a new instance of this class (of type MessageViewParams) with all the same property values as this instance

    Declaration
    public MessageViewParams Clone()
    Returns
    Type Description
    MessageViewParams

    A new instance of this class with all the same property values as this instance

    CopyFromParam(SerializedParam)

    Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified source

    Declaration
    protected override void CopyFromParam(SerializedParam source)
    Parameters
    Type Name Description
    SerializedParam source

    The source instance of a SerializedParam that is of the same type as this one to copy parameter values from

    Overrides
    ViewSerializedParam.CopyFromParam(SerializedParam)
    Remarks

    Used by the generic implementation of Clone()

    CopyFromSource(MessageViewParams)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(MessageViewParams source)
    Parameters
    Type Name Description
    MessageViewParams source

    The source object to copy all values from.

    CreateNewParam()

    Must be implemented by inheriting classes to provide a new instance of the current class type.

    Used when cloning this SerializedParam to create a new instance of the same type

    Declaration
    protected override SerializedParam CreateNewParam()
    Returns
    Type Description
    SerializedParam

    A new instance of the current SerializedParam type

    Overrides
    ViewSerializedParam.CreateNewParam()

    Implements

    ICloneable
    ICloneable<T>
    INotifyPropertyChanged
    ICloneable<T>

    Extension Methods

    ViewSerializedParamExtensions.GetItemFromIDWithNameFallback<T>(ViewSerializedParam, Guid, string, IReadOnlyCache)
    ViewSerializedParamExtensions.IsVisible(ViewSerializedParam)
    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.