/// <summary> /// Creates an instance of the object. /// </summary> /// <param name="rule">Rule object.</param> /// <param name="property">Property to which rule applies.</param> public RuleUri(IBusinessRule rule, Csla.Core.IPropertyInfo property) : this(rule.GetType().FullName, ((property == null) ? "null" : property.Name)) { }
private static string GetTypeName(IBusinessRule rule) { var type = rule.GetType(); return(GetTypeName(type)); }
private static string GetTypeName(IBusinessRule rule) { var type = rule.GetType(); return GetTypeName(type); }
public override string ToString() { return($"{_brokenRule.GetType().FullName}: {_brokenRule.Message}"); }