public static void Accept(IeXtensibleVisitor <T> visitor) { var cp = Thread.CurrentPrincipal as eXtensibleClaimsPrincipal <T>; if (cp != null) { cp.Items.Accept(cp.Model, visitor); } }
public static void Accept <T>(this IEnumerable <TypedItem> items, T t, IeXtensibleVisitor <T> visitor) where T : class, new() { visitor.Visit(items); visitor.Visit(t); }
public static void Accept(this IEnumerable <TypedItem> items, IeXtensibleVisitor visitor) { visitor.Visit(items); }