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

            instance = new child_before();

            context.Contexts.First().SetInstanceContext(instance);
        }
Example #2
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();
        }