Search Results for

    Show / Hide Table of Contents

    Class SerializedParamConverter

    Inheritance
    object
    SerializedParamConverter
    Implements
    ISerializedParamConverter
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class SerializedParamConverter : ISerializedParamConverter

    Constructors

    SerializedParamConverter(IFactoryInjector)

    Declaration
    public SerializedParamConverter(IFactoryInjector factory)
    Parameters
    Type Name Description
    IFactoryInjector factory

    Methods

    GetParam(byte[])

    Create a SerializedParam from a serial byte array.

    Declaration
    public 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
    public 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
    public 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
    public 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.

    Implements

    ISerializedParamConverter

    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.