Exemplo n.º 1
0
        public LogSetting(Type type, NameValueCollection nvList)
        {
            GuardHelper.ArgumentNotNull(() => type);
            var msg = string.Format("Type {0} does not implement {1}",
                                    type.AssemblyQualifiedName, typeof(ILoggerAdapter).FullName);

            GuardHelper.Implements <ILoggerAdapter>(type, msg);

            factoryAdapterType = type;
            properties         = nvList;
        }