Exemplo n.º 1
0
        public void RegisterObject()
        {
            RootObjectDefinition mcaoDef = new RootObjectDefinition(typeof(MockContextAwareObject), new MutablePropertyValues(), false);

            factory.RegisterObjectDefinition("mcao-proto", mcaoDef);
        }
 /// <summary>
 /// </summary>
 /// <param name="objectDefinition"></param>
 public void CheckConfigMembers(RootObjectDefinition objectDefinition)
 {
 }
Exemplo n.º 3
0
        public void RegisterSingleton()
        {
            RootObjectDefinition mcaoDef = new RootObjectDefinition(typeof(MockContextAwareObject), new MutablePropertyValues(), true);

            factory.RegisterObjectDefinition("mcao-single", mcaoDef);
        }