Class ExtensionMethodsForCoreSources
Extension methods that assist or enable functionality found within the namespace for sources ( ExtendedXmlSerializer.Core.Sources). This is considered internal code and while publicly exposed, is not supported. Feel free to knock yourself out with it if you think you can figure it out, however. 😆
Inheritance
Inherited Members
Namespace: ExtendedXmlSerializer
Assembly: ExtendedXmlSerializer.dll
Syntax
public static class ExtensionMethodsForCoreSources
Methods
Adapt<T>(IAlteration<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IAlteration<object> Adapt<T>(this IAlteration<T> this)
Parameters
IAlteration<T>
this
The this. |
Returns
IAlteration<System.Object>
IAlteration<System.Object>. |
Type Parameters
T
|
Alter<T>(IEnumerable<IAlteration<T>>, T)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static T Alter<T>(this IEnumerable<IAlteration<T>> this, T seed)
Parameters
System.Collections.Generic.IEnumerable<IAlteration<T>>
this
The this. |
T
seed
The seed. |
Returns
T
T. |
Type Parameters
T
|
Build<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<TResult> Build<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, TParameter parameter)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
TParameter
parameter
The parameter. |
Returns
System.Func<TResult>
Func<TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Build<TParameter, TResult>(Func<TParameter, TResult>, TParameter)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<TResult> Build<TParameter, TResult>(this Func<TParameter, TResult> this, TParameter parameter)
Parameters
System.Func<TParameter, TResult>
this
The this. |
TParameter
parameter
The parameter. |
Returns
System.Func<TResult>
Func<TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Fix<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
Declaration
[Obsolete("Use FixedSelection instead.")]
public static ISource<TResult> Fix<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, TParameter parameter)
Parameters
IParameterizedSource<TParameter, TResult>
this
|
TParameter
parameter
|
Returns
ISource<TResult>
|
Type Parameters
TParameter
|
TResult
|
Fix<TParameter, TResult>(Func<TParameter, TResult>, TParameter)
Declaration
[Obsolete("Use FixedSelection instead.")]
public static ISource<TResult> Fix<TParameter, TResult>(this Func<TParameter, TResult> this, TParameter parameter)
Parameters
System.Func<TParameter, TResult>
this
|
TParameter
parameter
|
Returns
ISource<TResult>
|
Type Parameters
TParameter
|
TResult
|
FixedSelection<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISource<TResult> FixedSelection<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, TParameter parameter)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
TParameter
parameter
The parameter. |
Returns
ISource<TResult>
ISource<TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
FixedSelection<TParameter, TResult>(Func<TParameter, TResult>, TParameter)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISource<TResult> FixedSelection<TParameter, TResult>(this Func<TParameter, TResult> this, TParameter parameter)
Parameters
System.Func<TParameter, TResult>
this
The this. |
TParameter
parameter
The parameter. |
Returns
ISource<TResult>
ISource<TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Get<T>(IParameterizedSource<Stream, T>, String)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static T Get<T>(this IParameterizedSource<Stream, T> this, string parameter)
Parameters
IParameterizedSource<System.IO.Stream, T>
this
The this. |
System.String
parameter
The parameter. |
Returns
T
T. |
Type Parameters
T
|
Get<T>(IParameterizedSource<TypeInfo, T>, Type)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static T Get<T>(this IParameterizedSource<TypeInfo, T> this, Type parameter)
Parameters
IParameterizedSource<System.Reflection.TypeInfo, T>
this
The this. |
System.Type
parameter
The parameter. |
Returns
T
T. |
Type Parameters
T
|
Get<T>(IParameterizedSource<Type, T>, TypeInfo)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static T Get<T>(this IParameterizedSource<Type, T> this, TypeInfo parameter)
Parameters
IParameterizedSource<System.Type, T>
this
The this. |
System.Reflection.TypeInfo
parameter
The parameter. |
Returns
T
T. |
Type Parameters
T
|
GetAny<T, TItem>(IParameterizedSource<T, ImmutableArray<TItem>>, T)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ImmutableArray<TItem>? GetAny<T, TItem>(this IParameterizedSource<T, ImmutableArray<TItem>> this, T parameter)
Parameters
IParameterizedSource<T, System.Collections.Immutable.ImmutableArray<TItem>>
this
The this. |
T
parameter
The parameter. |
Returns
System.Nullable<System.Collections.Immutable.ImmutableArray<TItem>>
System.Nullable<ImmutableArray<TItem>>. |
Type Parameters
T
|
TItem
The type of the t item. |
If<TParameter, TResult>(TResult, ISpecification<TParameter>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TResult> If<TParameter, TResult>(this TResult this, ISpecification<TParameter> specification)
Parameters
TResult
this
The this. |
ISpecification<TParameter>
specification
The specification. |
Returns
IParameterizedSource<TParameter, TResult>
IParameterizedSource<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
If<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TResult> If<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, ISpecification<TParameter> specification)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
ISpecification<TParameter>
specification
The specification. |
Returns
IParameterizedSource<TParameter, TResult>
IParameterizedSource<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
In<TFrom, TTo, TResult>(IParameterizedSource<TTo, TResult>, IParameterizedSource<TFrom, TTo>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TFrom, TResult> In<TFrom, TTo, TResult>(this IParameterizedSource<TTo, TResult> this, IParameterizedSource<TFrom, TTo> coercer)
Parameters
IParameterizedSource<TTo, TResult>
this
The this. |
IParameterizedSource<TFrom, TTo>
coercer
The coercer. |
Returns
IParameterizedSource<TFrom, TResult>
IParameterizedSource<TFrom, TResult>. |
Type Parameters
TFrom
The type of the t from. |
TTo
The type of the t to. |
TResult
The type of the t result. |
Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TSpecification, TInstance> Let<TSpecification, TInstance>(this TInstance this, ISpecification<TSpecification> specification, TInstance other)
Parameters
TInstance
this
The this. |
ISpecification<TSpecification>
specification
The specification. |
TInstance
other
The other. |
Returns
IParameterizedSource<TSpecification, TInstance>
IParameterizedSource<TSpecification, TInstance>. |
Type Parameters
TSpecification
The type of the t specification. |
TInstance
The type of the t instance. |
Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, TResult)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TResult> Let<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, ISpecification<TParameter> specification, TResult other)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
ISpecification<TParameter>
specification
The specification. |
TResult
other
The other. |
Returns
IParameterizedSource<TParameter, TResult>
IParameterizedSource<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, IParameterizedSource<TParameter, TResult>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TResult> Let<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, ISpecification<TParameter> specification, IParameterizedSource<TParameter, TResult> other)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
ISpecification<TParameter>
specification
The specification. |
IParameterizedSource<TParameter, TResult>
other
The other. |
Returns
IParameterizedSource<TParameter, TResult>
IParameterizedSource<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, ISpecification<TResult>, IParameterizedSource<TParameter, TResult>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TResult> Let<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, ISpecification<TParameter> specification, ISpecification<TResult> result, IParameterizedSource<TParameter, TResult> other)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
ISpecification<TParameter>
specification
The specification. |
ISpecification<TResult>
result
The result. |
IParameterizedSource<TParameter, TResult>
other
The other. |
Returns
IParameterizedSource<TParameter, TResult>
IParameterizedSource<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Or<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TParameter, TResult>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TResult> Or<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this, IParameterizedSource<TParameter, TResult> next)
where TResult : class
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
IParameterizedSource<TParameter, TResult>
next
The next. |
Returns
IParameterizedSource<TParameter, TResult>
IParameterizedSource<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Singleton<T>(ISource<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISource<T> Singleton<T>(this ISource<T> this)
Parameters
ISource<T>
this
The this. |
Returns
ISource<T>
ISource<T>. |
Type Parameters
T
|
To<TParameter, TResult, TTo>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TResult, TTo>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static IParameterizedSource<TParameter, TTo> To<TParameter, TResult, TTo>(this IParameterizedSource<TParameter, TResult> this, IParameterizedSource<TResult, TTo> coercer)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
IParameterizedSource<TResult, TTo>
coercer
The coercer. |
Returns
IParameterizedSource<TParameter, TTo>
IParameterizedSource<TParameter, TTo>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
TTo
The type of the t to. |
ToDelegate<T>(ISource<T>)
Declaration
[Obsolete("Use ToSourceDelegate instead.")]
public static Func<T> ToDelegate<T>(this ISource<T> this)
Parameters
ISource<T>
this
|
Returns
System.Func<T>
|
Type Parameters
T
|
ToDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
Declaration
[Obsolete("Use ToSelectionDelegate instead.")]
public static Func<TParameter, TResult> ToDelegate<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this)
Parameters
IParameterizedSource<TParameter, TResult>
this
|
Returns
System.Func<TParameter, TResult>
|
Type Parameters
TParameter
|
TResult
|
ToSelectionDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<TParameter, TResult> ToSelectionDelegate<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
Returns
System.Func<TParameter, TResult>
Func<TParameter, TResult>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
ToSourceDelegate<T>(ISource<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<T> ToSourceDelegate<T>(this ISource<T> this)
Parameters
ISource<T>
this
The this. |
Returns
System.Func<T>
Func<T>. |
Type Parameters
T
|