C# Class fCraft.ShutdownParams

Describes the circumstances of server shutdown.
Show file Open project: fragmer/fCraft Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart ) : System

Creates a ShutdownParams object with given reason/delay/restart flag.

ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart, [ customReason, [ initiatedBy ) : System

Creates a ShutdownParams object with given parameters. and may be null.

ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart ) : System
ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart, [ customReason, [ initiatedBy ) : System
ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart ) : System
ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart, string customReason, Player initiatedBy ) : System

Method Details

ShutdownParams() public method

Creates a ShutdownParams object with given reason/delay/restart flag.
public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart ) : System
reason ShutdownReason
delay System.TimeSpan
restart bool
return System

ShutdownParams() public method

Creates a ShutdownParams object with given parameters. and may be null.
public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart, [ customReason, [ initiatedBy ) : System
reason ShutdownReason
delay System.TimeSpan
restart bool
customReason [
initiatedBy [
return System

ShutdownParams() public method

public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart ) : System
reason ShutdownReason
delay System.TimeSpan
killProcess bool
restart bool
return System

ShutdownParams() public method

public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart, [ customReason, [ initiatedBy ) : System
reason ShutdownReason
delay System.TimeSpan
killProcess bool
restart bool
customReason [
initiatedBy [
return System

ShutdownParams() public method

public ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart ) : System
reason ShutdownReason
delay int
killProcess bool
restart bool
return System

ShutdownParams() public method

public ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart, string customReason, Player initiatedBy ) : System
reason ShutdownReason
delay int
killProcess bool
restart bool
customReason string
initiatedBy Player
return System