Show / Hide Table of Contents

Class DefaultMemberOrder

Default order selector that looks for a System.Xml.Serialization.XmlElementAttribute.Order and if not specified, uses the System.Reflection.MemberInfo.MetadataToken.

Inheritance
System.Object
DefaultMemberOrder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ExtendedXmlSerializer.ExtensionModel.Xml
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class DefaultMemberOrder : IParameterizedSource<MemberInfo, int>

Constructors

DefaultMemberOrder(Func<MemberInfo, XmlElementAttribute>, Func<MemberInfo, List<MemberInfo>>)

Creates a new instance.

Declaration
public DefaultMemberOrder(Func<MemberInfo, XmlElementAttribute> attribute, Func<MemberInfo, List<MemberInfo>> members)
Parameters
System.Func<System.Reflection.MemberInfo, System.Xml.Serialization.XmlElementAttribute> attribute

System.Func<System.Reflection.MemberInfo, System.Collections.Generic.List<System.Reflection.MemberInfo>> members

Properties

Default

The default instance.

Declaration
public static DefaultMemberOrder Default { get; }
Property Value
DefaultMemberOrder

Methods

Get(MemberInfo)

Performs the selection.

Declaration
public int Get(MemberInfo parameter)
Parameters
System.Reflection.MemberInfo parameter

Returns
System.Int32

A value of the return type.

Implements
IParameterizedSource<TParameter, TResult>.Get(TParameter)

Extension Methods

ExtensionMethods.Return<T, TOut>(T, TOut)
ExtensionMethods.To<T>(Object)
ExtensionMethods.AsValid<T>(Object, String)
ExtensionMethodsForAttachedProperties.Get<TType, TValue>(TType, Property<TType, TValue>)
ExtensionMethodsForAttachedProperties.Set<TType, TValue>(TType, Property<TType, TValue>, TValue)
ExtensionMethodsForCoreSources.Get<T>(IParameterizedSource<TypeInfo, T>, Type)
ExtensionMethodsForCoreSources.Get<T>(IParameterizedSource<Type, T>, TypeInfo)
ExtensionMethodsForCoreSources.To<TParameter, TResult, TTo>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TResult, TTo>)
ExtensionMethodsForCoreSources.In<TFrom, TTo, TResult>(IParameterizedSource<TTo, TResult>, IParameterizedSource<TFrom, TTo>)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(TResult, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, ISpecification<TResult>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, TResult)
ExtensionMethodsForCoreSources.Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
ExtensionMethodsForCoreSources.Build<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSources.FixedSelection<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSources.ToSelectionDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.ToDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Fix<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSpecifications.IfAssigned<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
Back to top Generated by DocFX