예제 #1
0
        public IAddException AddPolicy(string name)
        {
            var builder = new ExceptionPolicyBuilder(name, this);

            builders.Add(builder);
            return(builder);
        }
예제 #2
0
 public ExceptionTypeBuilder(Type exceptionType, ExceptionPolicyBuilder parent)
 {
     exceptionData.Type = exceptionType;
     this.parent        = parent;
 }