Show / Hide Table of Contents

    Class XmlSerializerSettings

    Specifies options that is related to XmlSerializer operations.

    Inheritance
    System.Object
    XmlSerializerSettings
    Namespace: Cuemon.Serialization.Xml
    Assembly: Cuemon.Serialization.Xml.dll
    Syntax
    public class XmlSerializerSettings

    Constructors

    | Improve this Doc

    XmlSerializerSettings()

    Initializes a new instance of the XmlSerializerSettings class.

    Declaration
    public XmlSerializerSettings()
    Remarks

    The following table shows the initial property values for an instance of DefaultXmlConverter.

    PropertyInitial Value
    ReaderCreateSettings(Action<XmlReaderSettings>)
    WriterCreateSettings(Action<XmlWriterSettings>)
    ConvertersSystem.Collections.Generic.List<T>
    RootNamenull

    Properties

    | Improve this Doc

    Converters

    Gets or sets a XmlConverter collection that will be used during serialization.

    Declaration
    public IList<XmlConverter> Converters { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<XmlConverter>

    The converters that will be used during serialization.

    | Improve this Doc

    DefaultConverters

    Gets or sets a delegate that is invoked when XmlSerializerSettings is initialized and propagates registered XmlConverter implementations.

    Declaration
    public static Action<IList<XmlConverter>> DefaultConverters { get; set; }
    Property Value
    Type Description
    System.Action<System.Collections.Generic.IList<XmlConverter>>

    The delegate which propagates registered XmlConverter implementations when XmlSerializerSettings is initialized.

    | Improve this Doc

    Reader

    Gets or sets the System.Xml.XmlReaderSettings to support the XmlSerializer.

    Declaration
    public XmlReaderSettings Reader { get; set; }
    Property Value
    Type Description
    System.Xml.XmlReaderSettings

    A System.Xml.XmlReaderSettings instance that specifies a set of features to support the XmlSerializer object.

    | Improve this Doc

    RootName

    Gets or sets the name of the XML root element.

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

    The name of the XML root element.

    | Improve this Doc

    Writer

    Gets or sets the System.Xml.XmlWriterSettings to support the XmlSerializer.

    Declaration
    public XmlWriterSettings Writer { get; set; }
    Property Value
    Type Description
    System.Xml.XmlWriterSettings

    A System.Xml.XmlWriterSettings instance that specifies a set of features to support the XmlSerializer object.

    Extension Methods

    XmlSerializerSettingsExtensions.ApplyToDefaultSettings(XmlSerializerSettings)
    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