Пример #1
0
        public a_type_securable()
        {
            action_of_secured_type = new SimpleCommand();
            action_of_another_type = new CommandInADifferentNamespace();

            type_securable = new TypeSecurable(action_of_secured_type.GetType());
        }
Пример #2
0
        public a_namespace_securable()
        {
            action_with_exact_namespace_match = new CommandScenario<SimpleCommand>();
            action_with_partial_namespace_match = new SimpleCommand();
            action_within_another_namespace = new CommandInADifferentNamespace();

            namespace_securable = new NamespaceSecurable(typeof(CommandScenario<>).Namespace);
        }