/////////////////////////////////////////////////////////////////////////////////////////// #region Update public static RuleAction <T, T1> Update <T, T1>( string sid, UnaryCallback.Predicate <T, T1> p, UnaryCallback.Update <T, T1> a) { return(new RuleAction <T, T1> { SourceTokenId = sid, Assert = p, Action = a }); }
public static RuleAction <T, T1> Update <T, T1>( UnaryCallback.Update <T, T1> a) { return(Update(string.Empty, null, a)); }
public static RuleAction <T, T1> Update <T, T1>( Enum sid, UnaryCallback.Update <T, T1> a) { return(Update(sid, null, a)); }
public static RuleAction <T, T1> Update <T, T1>( Enum sid, UnaryCallback.Predicate <T, T1> p, UnaryCallback.Update <T, T1> a) { return(Update(sid.ToString(), p, a)); }