Esempio 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);
        }
Esempio 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);
            }
        }