Class CachingExtension
Used to cache commonly used components that are selected during serialization.
Inheritance
System.Object
CachingExtension
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
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class CachingExtension : ISerializerExtension, IAlteration<IServiceRepository>, IParameterizedSource<IServiceRepository, IServiceRepository>, ICommand<IServices>, ISortAware
Constructors
CachingExtension(Int32)
Creates a new instance.
Declaration
public CachingExtension(int sort)
Parameters
System.Int32
sort
The instance sort value. |
Properties
Default
The default instance with a default sort of 10.
Declaration
public static CachingExtension Default { get; }
Property Value
CachingExtension
|
Sort
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
|