fCraft  0.638
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
fCraft.StringKeyAttribute Class Reference
+ Inheritance diagram for fCraft.StringKeyAttribute:
+ Collaboration diagram for fCraft.StringKeyAttribute:

Public Member Functions

 StringKeyAttribute (ConfigSection section, object defaultValue, string description)
 
override void Validate (string value)
 
- Public Member Functions inherited from fCraft.ConfigKeyAttribute
bool TryValidate (string value)
 
virtual string Process (string value)
 

Public Attributes

const int NoLengthRestriction = -1
 

Properties

int MinLength [get, set]
 
int MaxLength [get, set]
 
string RegexString [get, set]
 
bool RestrictedChars [get, set]
 
- Properties inherited from fCraft.ConfigKeyAttribute
Type ValueType [get, set]
 
object DefaultValue [get, set]
 
ConfigSection Section [get, set]
 
bool NotBlank [get, set]
 
ConfigKey Key [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from fCraft.ConfigKeyAttribute
 ConfigKeyAttribute (ConfigSection section,[NotNull] Type valueType, object defaultValue,[NotNull] string description)
 

Constructor & Destructor Documentation

fCraft.StringKeyAttribute.StringKeyAttribute ( ConfigSection  section,
object  defaultValue,
string  description 
)

Member Function Documentation

override void fCraft.StringKeyAttribute.Validate ( string  value)
virtual

Reimplemented from fCraft.ConfigKeyAttribute.

Member Data Documentation

const int fCraft.StringKeyAttribute.NoLengthRestriction = -1

Property Documentation

int fCraft.StringKeyAttribute.MaxLength
getset
int fCraft.StringKeyAttribute.MinLength
getset
string fCraft.StringKeyAttribute.RegexString
getset
bool fCraft.StringKeyAttribute.RestrictedChars
getset

The documentation for this class was generated from the following file: