public void setup()
        {
            context = typeof(child_before).RootContext();

            instance = new child_before();

            context.Contexts.First().SetInstanceContext(instance);
        }
        public void setup()
        {
            context = typeof(child_before).RootContext();

            instance = new child_before();

            context.Contexts.First().SetInstanceContext(instance);
        }
Пример #3
0
        public void setup()
        {
            parentContext = new ClassContext(typeof(parent_before));

            childContext = new ClassContext(typeof(child_before));

            parentContext.AddContext(childContext);

            instance = new child_before();

            parentContext.Build();
        }
Пример #4
0
        public void setup()
        {
            parentContext = new ClassContext(typeof(parent_before));

            childContext = new ClassContext(typeof(child_before));

            parentContext.AddContext(childContext);

            instance = new child_before();

            parentContext.Build();
        }