Ejemplo n.º 1
0
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public IsSatisfied <ICacheKey> ForDeepDerived <TCacheKey>()
     where TCacheKey : class, ICacheKey
 {
     return(SatisfiedSyntax.ForDeepDerived <ICacheKey, TCacheKey>());
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public IsSatisfied <ICacheKey> ForAll()
 {
     return(SatisfiedSyntax.Filter <ICacheKey>(key => true));
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public IsSatisfied <ICacheKey> ForFirstDerived <TCacheKey>()
     where TCacheKey : ICacheKey
 {
     return(SatisfiedSyntax.ForFirstDerived <ICacheKey, TCacheKey>());
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public static IsSatisfied <ICacheKey> For <TCacheKey>()
     where TCacheKey : class, ICacheKey
 {
     return(SatisfiedSyntax.For <ICacheKey, TCacheKey>());
 }
Ejemplo n.º 5
0
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public static IsSatisfied <ICacheKey> Filter(Func <ICacheKey, bool> conditional)
 {
     return(SatisfiedSyntax.Filter(conditional));
 }
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public IsSatisfied <Exception> ForAll()
 {
     return(SatisfiedSyntax.Filter <Exception>(exception => true));
 }
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public static IsSatisfied <Exception> ForFirstDerived <TException>()
     where TException : Exception
 {
     return(SatisfiedSyntax.ForFirstDerived <Exception, TException>());
 }
 /// <summary>
 ///     See <see cref="SatisfiedSyntax" />
 /// </summary>
 public static IsSatisfied <Exception> Filter(Func <Exception, bool> conditional)
 {
     return(SatisfiedSyntax.Filter(conditional));
 }