Пример #1
0
        public void SetUp()
        {
            chain = new BehaviorChain();

            var node = new AuthorizationNode();

            node.AddRole("RoleA");
            node.AddRole("RoleB");
            node.AddRole("RoleC");

            chain.AddToEnd(node);

            endpointObjectDef = node.ToEndpointAuthorizorObjectDef();
        }