Skip to main content

ServerOnlyAttribute

A class in Root.Township, Alta.Console.

Console requirement: the command only runs on a server (when ServerHandler.Current exists).

Constructors​

MemberWhat it is
ServerOnlyAttribute()Creates a ServerOnlyAttribute with default values.

Methods​

MemberWhat it is
override bool Check()True when there is a current server handler.
override string ToString()Returns "Server Only".