Class ConvertersExtension
A default serializer extension that manages the registration of converters used by generated serializers.
Inheritance
System.Object
ConvertersExtension
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.Content
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class ConvertersExtension : ISerializerExtension, IAlteration<IServiceRepository>, IParameterizedSource<IServiceRepository, IServiceRepository>, ICommand<IServices>
Constructors
ConvertersExtension()
Creates an instance.
Declaration
public ConvertersExtension()
ConvertersExtension(ICollection<IConverter>)
Initializes a new instance of the ConvertersExtension class.
Declaration
public ConvertersExtension(ICollection<IConverter> converters)
Parameters
System.Collections.Generic.ICollection<IConverter>
converters
The converters. |
Properties
Converters
Current registry of converters.
Declaration
public ICollection<IConverter> Converters { get; }
Property Value
System.Collections.Generic.ICollection<IConverter>
|
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
|