Class ContentModelExtension
A default serializer extension. This configures the content model, and registers all necessary components to resolve serializers for different types of content.
Inheritance
System.Object
ContentModelExtension
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 ContentModelExtension : ISerializerExtension, IAlteration<IServiceRepository>, IParameterizedSource<IServiceRepository, IServiceRepository>, ICommand<IServices>
Constructors
ContentModelExtension(IContentReaders, IContentWriters)
Initializes a new instance of the ContentModelExtension class.
Declaration
public ContentModelExtension(IContentReaders readers, IContentWriters writers)
Parameters
IContentReaders
readers
The readers. |
IContentWriters
writers
The writers. |
Properties
Default
The default instance.
Declaration
public static ContentModelExtension Default { get; }
Property Value
ContentModelExtension
|
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
|