Class AllowedMemberValuesExtension
Default serializer extension that configures when to allow, emit, and read values of members.
Inheritance
System.Object
System.Collections.ObjectModel.Collection<IAllowedMemberValues>
AllowedMemberValuesExtension
Inherited Members
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Add(ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Clear()
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.ClearItems()
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Contains(ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.CopyTo(ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues[], System.Int32)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.GetEnumerator()
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.IndexOf(ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Insert(System.Int32, ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.InsertItem(System.Int32, ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Remove(ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.SetItem(System.Int32, ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Count
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Item[System.Int32]
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.Items
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.Generic.ICollection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.IsReadOnly
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<ExtendedXmlSerializer.ContentModel.Members.IAllowedMemberValues>.System.Collections.IList.Item[System.Int32]
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.Members
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class AllowedMemberValuesExtension : Collection<IAllowedMemberValues>, IList<IAllowedMemberValues>, ICollection<IAllowedMemberValues>, IReadOnlyList<IAllowedMemberValues>, IReadOnlyCollection<IAllowedMemberValues>, IEnumerable<IAllowedMemberValues>, IList, ICollection, IEnumerable, ISerializerExtension, IAlteration<IServiceRepository>, IParameterizedSource<IServiceRepository, IServiceRepository>, ICommand<IServices>
Constructors
AllowedMemberValuesExtension()
Initializes a new instance of the AllowedMemberValuesExtension class.
Declaration
public AllowedMemberValuesExtension()
AllowedMemberValuesExtension(IAllowedValueSpecification)
Initializes a new instance of the AllowedMemberValuesExtension class.
Declaration
public AllowedMemberValuesExtension(IAllowedValueSpecification allowed)
Parameters
IAllowedValueSpecification
allowed
The allowed. |
AllowedMemberValuesExtension(IAllowedValueSpecification, IDictionary<MemberInfo, IAllowedValueSpecification>, IAllowedMemberValues[])
Initializes a new instance of the AllowedMemberValuesExtension class.
Declaration
public AllowedMemberValuesExtension(IAllowedValueSpecification allowed, IDictionary<MemberInfo, IAllowedValueSpecification> specifications, params IAllowedMemberValues[] items)
Parameters
IAllowedValueSpecification
allowed
The allowed. |
System.Collections.Generic.IDictionary<System.Reflection.MemberInfo, IAllowedValueSpecification>
specifications
The specifications. |
IAllowedMemberValues[]
items
The items. |
Properties
Instances
Registry of instance value specifications, keyed by member metadata.
Declaration
public IDictionary<MemberInfo, ISpecification<object>> Instances { get; }
Property Value
System.Collections.Generic.IDictionary<System.Reflection.MemberInfo, ISpecification<System.Object>>
|
Specifications
Registry of allowed value specifications, keyed by member metadata.
Declaration
public IDictionary<MemberInfo, IAllowedValueSpecification> Specifications { get; }
Property Value
System.Collections.Generic.IDictionary<System.Reflection.MemberInfo, IAllowedValueSpecification>
|
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
|