static ServiceProxySystem() { UserResolvers = new UserResolvers(); UserResolvers.AddResolver(new DefaultWebUserResolver()); RoleResolvers = new RoleResolvers(); RoleResolvers.AddResolver(new DefaultRoleResolver()); }
public object Clone() { RoleResolvers clone = new RoleResolvers(); clone.CopyProperties(this); clone._resolvers = new List <IRoleResolver>(); _resolvers.Each(r => clone._resolvers.Add((IRoleResolver)r.Clone())); return(clone); }