C# Class fCraft.ConfigGUI.WorldListEntry

A wrapper for per-World metadata, designed to be usable with SortableBindingList. All these properties map directly to the UI controls.
Inheritance: ICloneable
Show file Open project: GlennMR/800craft Class Usage Examples

Public Properties

Property Type Description
BackupEnumNames string[]
LoadedBy string
LoadedOn System.DateTime

Private Properties

Property Type Description
Compare object
Serialize System.Xml.Linq.XElement

Public Methods

Method Description
BackupNameFromValue ( System.TimeSpan value ) : string
BackupValueFromName ( string name ) : System.TimeSpan
Clone ( ) : object
ReparseRanks ( ) : void
WorldListEntry ( [ newName ) : System

Private Methods

Method Description
Compare ( string propertyName, object a, object b ) : object
Serialize ( ) : System.Xml.Linq.XElement

Method Details

BackupNameFromValue() public static method

public static BackupNameFromValue ( System.TimeSpan value ) : string
value System.TimeSpan
return string

BackupValueFromName() public static method

public static BackupValueFromName ( string name ) : System.TimeSpan
name string
return System.TimeSpan

Clone() public method

public Clone ( ) : object
return object

ReparseRanks() public method

public ReparseRanks ( ) : void
return void

WorldListEntry() public method

public WorldListEntry ( [ newName ) : System
newName [
return System

Property Details

BackupEnumNames public static property

public static string[] BackupEnumNames
return string[]

LoadedBy public property

public string LoadedBy
return string

LoadedOn public property

public DateTime,System LoadedOn
return System.DateTime