protected BaseRuleAsync() { Identity = new RuleIdentity(Guid.NewGuid() .ToString()); }
protected BaseRuleAsync(string code) { Identity = new RuleIdentity(code); }
private bool Equals(RuleIdentity other) { return(string.Equals(Code, other.Code)); }