Show / Hide Table of Contents

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
IParameterizedSource<TParameter, TResult>.Get(TParameter)

Explicit Interface Implementations

ICommand<IServices>.Execute(IServices)

Declaration
void ICommand<IServices>.Execute(IServices parameter)
Parameters
IServices parameter

Implements
ICommand<T>.Execute(T)

Extension Methods

ExtensionMethods.Return<T, TOut>(T, TOut)
ExtensionMethods.Apply<T>(ICommand<T>, T)
ExtensionMethods.Apply<T>(ICollection<T>, T)
ExtensionMethods.Only<T>(IEnumerable<T>)
ExtensionMethods.To<T>(Object)
ExtensionMethods.AsValid<T>(Object, String)
ExtensionMethodsForAttachedProperties.Get<TType, TValue>(TType, Property<TType, TValue>)
ExtensionMethodsForAttachedProperties.Set<TType, TValue>(TType, Property<TType, TValue>, TValue)
ExtensionMethodsForCoreSources.Adapt<T>(IAlteration<T>)
ExtensionMethodsForCoreSources.To<TParameter, TResult, TTo>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TResult, TTo>)
ExtensionMethodsForCoreSources.In<TFrom, TTo, TResult>(IParameterizedSource<TTo, TResult>, IParameterizedSource<TFrom, TTo>)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(TResult, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, ISpecification<TResult>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, TResult)
ExtensionMethodsForCoreSources.Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
ExtensionMethodsForCoreSources.Or<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Build<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSources.FixedSelection<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSources.ToSelectionDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.ToDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Fix<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSpecifications.IfAssigned<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
Back to top Generated by DocFX