Class MemberFormatExtension
Default extension used to determine whether to format a given member as an Xml attribute or as an Xml element.
Inheritance
System.Object
MemberFormatExtension
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 MemberFormatExtension : ISerializerExtension, IAlteration<IServiceRepository>, IParameterizedSource<IServiceRepository, IServiceRepository>, ICommand<IServices>
Constructors
MemberFormatExtension()
Creates a new instance.
Declaration
public MemberFormatExtension()
MemberFormatExtension(IDictionary<MemberInfo, IAttributeSpecification>, ICollection<MemberInfo>)
Creates a new instance.
Declaration
public MemberFormatExtension(IDictionary<MemberInfo, IAttributeSpecification> specifications, ICollection<MemberInfo> registered)
Parameters
System.Collections.Generic.IDictionary<System.Reflection.MemberInfo, IAttributeSpecification>
specifications
Registry of specifications. |
System.Collections.Generic.ICollection<System.Reflection.MemberInfo>
registered
A collection of registered members. |
Properties
Registered
A collection of registered members.
Declaration
public ICollection<MemberInfo> Registered { get; }
Property Value
System.Collections.Generic.ICollection<System.Reflection.MemberInfo>
|
Specifications
Registry of specifications.
Declaration
public IDictionary<MemberInfo, IAttributeSpecification> Specifications { get; }
Property Value
System.Collections.Generic.IDictionary<System.Reflection.MemberInfo, IAttributeSpecification>
|
Methods
Get(IServiceRepository)
Performs the selection.
Declaration
public IServiceRepository Get(IServiceRepository parameter)
Parameters
IServiceRepository
parameter
|
Returns
IServiceRepository
A value of the return type. |
Implements
Explicit Interface Implementations
ICommand<IServices>.Execute(IServices)
Declaration
void ICommand<IServices>.Execute(IServices parameter)
Parameters
IServices
parameter
|