Class ExtensionMethodsForCoreSpecifications
Extension methods that assist or enable functionality found within the namespace for specifications ( 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 ExtensionMethodsForCoreSpecifications
Methods
Adapt<T>(ISpecification<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<object> Adapt<T>(this ISpecification<T> this)
Parameters
ISpecification<T>
this
The this. |
Returns
ISpecification<System.Object>
ISpecification<System.Object>. |
Type Parameters
T
|
AdaptForNull<T>(ISpecification<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<object> AdaptForNull<T>(this ISpecification<T> this)
Parameters
ISpecification<T>
this
The this. |
Returns
ISpecification<System.Object>
ISpecification<System.Object>. |
Type Parameters
T
|
And<T>(ISpecification<T>, ISpecification<T>[])
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<T> And<T>(this ISpecification<T> this, params ISpecification<T>[] others)
Parameters
ISpecification<T>
this
The this. |
ISpecification<T>[]
others
The others. |
Returns
ISpecification<T>
ISpecification<T>. |
Type Parameters
T
|
Any<T>(ISpecification<T>, T[])
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<T> Any<T>(this ISpecification<T> this, params T[] parameters)
Parameters
ISpecification<T>
this
The this. |
T[]
parameters
The parameters. |
Returns
ISpecification<T>
ISpecification<T>. |
Type Parameters
T
|
Build<T>(ISpecification<T>, T)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<bool> Build<T>(this ISpecification<T> this, T parameter)
Parameters
ISpecification<T>
this
The this. |
T
parameter
The parameter. |
Returns
System.Func<System.Boolean>
Func<System.Boolean>. |
Type Parameters
T
|
Build<T>(ISpecification<TypeInfo>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<bool> Build<T>(this ISpecification<TypeInfo> this)
Parameters
ISpecification<System.Reflection.TypeInfo>
this
The this. |
Returns
System.Func<System.Boolean>
Func<System.Boolean>. |
Type Parameters
T
|
Fix<T>(ISpecification<T>, T)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<bool> Fix<T>(this ISpecification<T> this, T parameter)
Parameters
ISpecification<T>
this
The this. |
T
parameter
The parameter. |
Returns
System.Func<System.Boolean>
Func<System.Boolean>. |
Type Parameters
T
|
IfAssigned<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<TParameter> IfAssigned<TParameter, TResult>(this IParameterizedSource<TParameter, TResult> this)
Parameters
IParameterizedSource<TParameter, TResult>
this
The this. |
Returns
ISpecification<TParameter>
ISpecification<TParameter>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
IfAssigned<TParameter, TResult>(Func<TParameter, TResult>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<TParameter> IfAssigned<TParameter, TResult>(this Func<TParameter, TResult> this)
Parameters
System.Func<TParameter, TResult>
this
The this. |
Returns
ISpecification<TParameter>
ISpecification<TParameter>. |
Type Parameters
TParameter
The type of the t parameter. |
TResult
The type of the t result. |
Inverse<T>(ISpecification<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<T> Inverse<T>(this ISpecification<T> this)
Parameters
ISpecification<T>
this
The this. |
Returns
ISpecification<T>
ISpecification<T>. |
Type Parameters
T
|
Or<T>(ISpecification<T>, ISpecification<T>[])
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static ISpecification<T> Or<T>(this ISpecification<T> this, params ISpecification<T>[] others)
Parameters
ISpecification<T>
this
The this. |
ISpecification<T>[]
others
The others. |
Returns
ISpecification<T>
ISpecification<T>. |
Type Parameters
T
|
ToDelegate<T>(ISpecification<T>)
This is considered unsupported internal framework code and is not intended for external use.
Declaration
public static Func<T, bool> ToDelegate<T>(this ISpecification<T> this)
Parameters
ISpecification<T>
this
The this. |
Returns
System.Func<T, System.Boolean>
Func<T, System.Boolean>. |
Type Parameters
T
|