Show / Hide Table of Contents

    Class XmlWrapper

    Provide ways to override the default XML serialization.

    Inheritance
    System.Object
    Wrapper<System.Object>
    XmlWrapper
    Implements
    IWrapper<System.Object>
    IData
    Inherited Members
    Wrapper<Object>.Instance
    Wrapper<Object>.InstanceAs<TResult>()
    Wrapper<Object>.InstanceAs<TResult>(IFormatProvider)
    Namespace: Cuemon.Xml.Serialization
    Assembly: Cuemon.Xml.dll
    Syntax
    public abstract class XmlWrapper : Wrapper<object>, IWrapper<object>, IData

    Constructors

    | Improve this Doc

    XmlWrapper(Object)

    Initializes a new instance of the XmlWrapper class.

    Declaration
    protected XmlWrapper(object instance)
    Parameters
    Type Name Description
    System.Object instance

    The instance to override normal serialization naming logic.

    Properties

    | Improve this Doc

    Data

    Gets a collection of key/value pairs that provide additional user-defined information about this wrapper object.

    Declaration
    public override IDictionary<string, object> Data { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    An object that implements the System.Collections.Generic.IDictionary<TKey, TValue> interface and contains a collection of user-defined key/value pairs.

    Overrides
    Cuemon.Wrapper<System.Object>.Data
    | Improve this Doc

    HasMemberReference

    Gets a value indicating whether this instance has a member reference.

    Declaration
    public override bool HasMemberReference { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance has a member reference; otherwise, false.

    Overrides
    Cuemon.Wrapper<System.Object>.HasMemberReference
    | Improve this Doc

    InstanceName

    Gets or sets the name of the instance used in XML serialization. Overrides normal serialization logic.

    Declaration
    public abstract XmlQualifiedEntity InstanceName { get; set; }
    Property Value
    Type Description
    XmlQualifiedEntity

    The name of the instance used in XML serialization.

    | Improve this Doc

    InstanceType

    Gets the type of the object that this wrapper represents.

    Declaration
    public override Type InstanceType { get; protected set; }
    Property Value
    Type Description
    System.Type

    The type of the that this wrapper represents.

    Overrides
    Cuemon.Wrapper<System.Object>.InstanceType
    | Improve this Doc

    MemberReference

    Gets the member from where Instance was referenced.

    Declaration
    public override MemberInfo MemberReference { get; set; }
    Property Value
    Type Description
    System.Reflection.MemberInfo

    The member from where Instance was referenced.

    Overrides
    Cuemon.Wrapper<System.Object>.MemberReference

    Implements

    IWrapper<T>
    IData

    Extension Methods

    ConverterExtensions.ParseWith<TSource, TResult>(TSource, Func<TSource, TResult>)
    ConverterExtensions.ParseWith<TSource, T, TResult>(TSource, Func<TSource, T, TResult>, T)
    ConverterExtensions.ParseWith<TSource, T1, T2, TResult>(TSource, Func<TSource, T1, T2, TResult>, T1, T2)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, TResult>(TSource, Func<TSource, T1, T2, T3, TResult>, T1, T2, T3)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, TResult>(TSource, Func<TSource, T1, T2, T3, T4, TResult>, T1, T2, T3, T4)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, TResult>, T1, T2, T3, T4, T5)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, TResult>, T1, T2, T3, T4, T5, T6)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, TResult>, T1, T2, T3, T4, T5, T6, T7)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, T8, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, T8, TResult>, T1, T2, T3, T4, T5, T6, T7, T8)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9)
    ConverterExtensions.As<TResult>(Object)
    ConverterExtensions.As<TResult>(Object, TResult)
    ConverterExtensions.As<TResult>(Object, TResult, IFormatProvider)
    DelegateUtilityExtensions.Wrap<TResult>(TResult)
    DelegateUtilityExtensions.DynamicWrap<TResult>(TResult)
    TweakerExtensions.Adjust<T>(T, Func<T, T>)
    TypeUtilityExtensions.Is<T>(Object)
    TypeUtilityExtensions.IsNot<T>(Object)
    TypeUtilityExtensions.IsNullable<T>(T)
    WrapperExtensions.UseWrapper<T>(T, Action<IDictionary<String, Object>>)
    WrapperExtensions.UseWrapper<T>(T, MemberInfo, Action<IDictionary<String, Object>>)
    EnumerableUtilityExtensions.Yield<TSource>(TSource)
    HashUtilityExtensions.ComputeHash(Object, Action<HashOptions>)
    HmacUtilityExtensions.ComputeKeyedHash(Object, Byte[], Action<KeyedHashOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX