Search Results for

    Show / Hide Table of Contents

    Interface ISerializedParamConverter

    Namespace: LemonEdge.Client.UI.API.Param
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public interface ISerializedParamConverter

    Methods

    GetParam(byte[])

    Create a SerializedParam from a serial byte array.

    Declaration
    SerializedParam GetParam(byte[] serializedInstance)
    Parameters
    Type Name Description
    byte[] serializedInstance

    The byte array.

    Returns
    Type Description
    SerializedParam

    The instance.

    GetParam(string)

    Create a SerializedParam from a string.

    Declaration
    SerializedParam GetParam(string serializedInstance)
    Parameters
    Type Name Description
    string serializedInstance

    The string.

    Returns
    Type Description
    SerializedParam

    The instance.

    GetParam(Type, byte[]?, bool)

    Create a SerializedParam from a serial byte array and, if unsuccessful, from the type information.

    Declaration
    SerializedParam GetParam(Type paramType, byte[]? serializedInstance = null, bool throwOnError = true)
    Parameters
    Type Name Description
    Type paramType

    The parameter type.

    byte[] serializedInstance

    The byte array.

    bool throwOnError

    Whether to assert creation by the byte information.

    Returns
    Type Description
    SerializedParam

    The instance.

    GetParam(Type, string?, bool)

    Create a SerializedParam from a string and, if unsuccessful, from the type information.

    Declaration
    SerializedParam GetParam(Type paramType, string? serializedInstance = null, bool throwOnError = true)
    Parameters
    Type Name Description
    Type paramType

    The parameter type.

    string serializedInstance

    The string.

    bool throwOnError

    Whether to assert creation by the string.

    Returns
    Type Description
    SerializedParam

    The instance.

    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.