Exemple #1
0
 /// <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))
 {
 }
Exemple #2
0
        private static string GetTypeName(IBusinessRule rule)
        {
            var type = rule.GetType();

            return(GetTypeName(type));
        }
Exemple #3
0
 private static string GetTypeName(IBusinessRule rule)
 {
   var type = rule.GetType();
   return GetTypeName(type);
 }
 public override string ToString()
 {
     return($"{_brokenRule.GetType().FullName}: {_brokenRule.Message}");
 }