public static IRule <IParserResult> ImpliesItemItem <T>( this IConstraintsProviderContext <T> cpc, string itemPropertyName1, string itemPropertyName2) where T : IConfiguration { return(new Implies <IParserResult>( cpc.ItemIsSet(itemPropertyName1), cpc.ItemIsSet(itemPropertyName2))); }
public static IRule <IParserResult> NotItem <T>( this IConstraintsProviderContext <T> cpc, string itemPropertyName) where T : IConfiguration { return(new Not <IParserResult>(cpc.ItemIsSet(itemPropertyName))); }
public static IRule <IParserResult> ImpliesItemArgument <T>( this IConstraintsProviderContext <T> cpc, string itemPropertyName, string argumentPropertyName) where T : IConfiguration { return(new Implies <IParserResult>( cpc.ItemIsSet(itemPropertyName), cpc.ArgumentIsSet(argumentPropertyName))); }