Ejemplo n.º 1
0
        public static ServiceLocatorManagerLogArgs Resetting(ServiceLocatorManager serviceLocatorManager)
        {
            var args = new ServiceLocatorManagerLogArgs();

            args.ServiceLocatorManager = serviceLocatorManager;
            args.LogType = ServiceManagerLogType.Resetting;
            return(args);
        }
Ejemplo n.º 2
0
        public static ServiceLocatorManagerLogArgs Missing(ServiceLocatorManager serviceLocatorManager, Type type)
        {
            var args = new ServiceLocatorManagerLogArgs();

            args.ServiceLocatorManager = serviceLocatorManager;
            args.LogType = ServiceManagerLogType.Missing;
            args.Type    = type;
            return(args);
        }
Ejemplo n.º 3
0
        public static ServiceLocatorManagerLogArgs Registered(ServiceLocatorManager serviceLocatorManager, Type type, object instance)
        {
            var args = new ServiceLocatorManagerLogArgs();

            args.ServiceLocatorManager = serviceLocatorManager;
            args.LogType            = ServiceManagerLogType.Registered;
            args.Type               = type;
            args.RegisteredInstance = instance;
            return(args);
        }