コード例 #1
0
ファイル: a_type_securable.cs プロジェクト: ProCoSys/Bifrost
        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);
        }
コード例 #3
0
 public ActionResult DoStuff(SimpleCommand command)
 {
     return View();
 }
 public void DoMoreStuff(SimpleCommand command)
 {
 }