ReferenceCache <TParameter, TResult>(this IParameterizedSource <TParameter, TResult> @this) where TParameter : class where TResult : class => new DelegatedSource <TParameter, TResult>( ReferenceCachingAlteration <TParameter, TResult> .Default.Get(@this.ToSelectionDelegate()));
/// <summary>This is considered unsupported internal framework code and is not intended for external use.</summary> /// <typeparam name="TParameter">The type of the t parameter.</typeparam> /// <typeparam name="TResult">The type of the t result.</typeparam> /// <param name="this">The this.</param> /// <returns>ISpecification<TParameter>.</returns> public static ISpecification <TParameter> IfAssigned <TParameter, TResult>( this IParameterizedSource <TParameter, TResult> @this) => @this.ToSelectionDelegate() .IfAssigned();