예제 #1
0
 public IContext Install <T>() where T : IExtension
 {
     _extensionInstaller.Install <T>();
     return(this);
 }
예제 #2
0
        public void extension_instance_is_installed()
        {
            int callCount = 0;

            installer.Install(new CallbackExtension((Action <IContext>) delegate(IContext ctx) {
                callCount++;
            }));
            Assert.That(callCount, Is.EqualTo(1));
        }