fCraft.ConfigKeyAttribute.ConfigKeyAttribute C# (CSharp) Method

ConfigKeyAttribute() protected method

protected ConfigKeyAttribute ( ConfigSection section, [ valueType, object defaultValue, [ description ) : System
section ConfigSection
valueType [
defaultValue object
description [
return System
        protected ConfigKeyAttribute( ConfigSection section, [NotNull] Type valueType, object defaultValue, [NotNull] string description )
            : base(description)
        {
            if ( valueType == null )
                throw new ArgumentNullException( "valueType" );
            if ( description == null )
                throw new ArgumentNullException( "description" );
            ValueType = valueType;
            DefaultValue = defaultValue;
            Section = section;
            NotBlank = false;
        }