fCraft  0.636
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
Public Member Functions | Protected Member Functions | Properties | List of all members
fCraft.ConfigKeyAttribute Class Reference

Describes attributes and metadata of a configuration key. More...

Inheritance diagram for fCraft.ConfigKeyAttribute:
Inheritance graph
[legend]
Collaboration diagram for fCraft.ConfigKeyAttribute:
Collaboration graph
[legend]

Public Member Functions

bool TryValidate (string value)
 
virtual void Validate ([NotNull] string value)
 
virtual string Process (string value)
 

Protected Member Functions

 ConfigKeyAttribute (ConfigSection section,[NotNull] Type valueType, object defaultValue,[NotNull] string description)
 

Properties

Type ValueType [get, set]
 
object DefaultValue [get, set]
 
ConfigSection Section [get, set]
 
bool NotBlank [get, set]
 
ConfigKey Key [get, set]
 

Detailed Description

Describes attributes and metadata of a configuration key.

Constructor & Destructor Documentation

fCraft.ConfigKeyAttribute.ConfigKeyAttribute ( ConfigSection  section,
[NotNull] Type  valueType,
object  defaultValue,
[NotNull] string  description 
)
protected

Member Function Documentation

virtual string fCraft.ConfigKeyAttribute.Process ( string  value)
virtual
bool fCraft.ConfigKeyAttribute.TryValidate ( string  value)
virtual void fCraft.ConfigKeyAttribute.Validate ( [NotNull] string  value)
virtual

Property Documentation

object fCraft.ConfigKeyAttribute.DefaultValue
getset
ConfigKey fCraft.ConfigKeyAttribute.Key
getset
bool fCraft.ConfigKeyAttribute.NotBlank
getset
ConfigSection fCraft.ConfigKeyAttribute.Section
getset
Type fCraft.ConfigKeyAttribute.ValueType
getset

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