Ejemplo n.º 1
0
        public static void Start(IIoCHelper iocHelper, string log4NetConfigFilePath, bool useEncryption = false)
        {
            if (iocHelper != null)
              {
            IoCHelper.Instance = iocHelper;
            AddBindings();
              }

              if (!string.IsNullOrEmpty(log4NetConfigFilePath))
            LogHelper.Configure(log4NetConfigFilePath, useEncryption);
        }
Ejemplo n.º 2
0
        public static void Start(IIoCHelper iocHelper, string log4NetConfigFilePath, bool useEncryption = false)
        {
            if (iocHelper != null)
            {
                IoCHelper.Instance = iocHelper;
                AddBindings();
            }

            if (!string.IsNullOrEmpty(log4NetConfigFilePath))
            {
                LogHelper.Configure(log4NetConfigFilePath, useEncryption);
            }
        }