Exemple #1
0
        public static void Accept(IeXtensibleVisitor <T> visitor)
        {
            var cp = Thread.CurrentPrincipal as eXtensibleClaimsPrincipal <T>;

            if (cp != null)
            {
                cp.Items.Accept(cp.Model, visitor);
            }
        }
Exemple #2
0
 public static void Accept <T>(this IEnumerable <TypedItem> items, T t, IeXtensibleVisitor <T> visitor) where T : class, new()
 {
     visitor.Visit(items);
     visitor.Visit(t);
 }
Exemple #3
0
 public static void Accept(this IEnumerable <TypedItem> items, IeXtensibleVisitor visitor)
 {
     visitor.Visit(items);
 }