Show / Hide Table of Contents

    Class XmlConverter

    Converts an object to and from XML.

    Inheritance
    System.Object
    XmlConverter
    DefaultXmlConverter
    Namespace: Cuemon.Serialization.Xml.Converters
    Assembly: Cuemon.Serialization.Xml.dll
    Syntax
    public abstract class XmlConverter

    Properties

    | Improve this Doc

    CanRead

    Gets a value indicating whether this XmlConverter can XML.

    Declaration
    public virtual bool CanRead { get; }
    Property Value
    Type Description
    System.Boolean

    true if this XmlConverter can read XML; otherwise, false.

    | Improve this Doc

    CanWrite

    Gets a value indicating whether this XmlConverter can write XML.

    Declaration
    public virtual bool CanWrite { get; }
    Property Value
    Type Description
    System.Boolean

    true if this XmlConverter can write XML; otherwise, false.

    Methods

    | Improve this Doc

    CanConvert(Type)

    Determines whether this instance can convert the specified object type.

    Declaration
    public abstract bool CanConvert(Type objectType)
    Parameters
    Type Name Description
    System.Type objectType

    The System.Type of the object.

    Returns
    Type Description
    System.Boolean

    true if this instance can convert the specified object type; otherwise, false.

    | Improve this Doc

    ReadXml(XmlReader, Type)

    Reads the XML representation of the objectType.

    Declaration
    public abstract object ReadXml(XmlReader reader, Type objectType)
    Parameters
    Type Name Description
    System.Xml.XmlReader reader

    The System.Xml.XmlReader to read from.

    System.Type objectType

    The System.Type of the object.

    Returns
    Type Description
    System.Object

    An object of objectType.

    | Improve this Doc

    WriteXml(XmlWriter, Object, XmlQualifiedEntity)

    Writes the XML representation of the value.

    Declaration
    public abstract void WriteXml(XmlWriter writer, object value, XmlQualifiedEntity elementName = null)
    Parameters
    Type Name Description
    System.Xml.XmlWriter writer

    The System.Xml.XmlWriter to write to.

    System.Object value

    The object to serialize.

    XmlQualifiedEntity elementName

    The element name to encapsulate around value.

    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