Class TimeSpanArgument
- Namespace
- Shard.Modding.SDK.Command
- Assembly
- Shard.Modding.SDK.dll
public sealed class TimeSpanArgument : CommandArgumentParser<TimeSpan>
- Inheritance
-
TimeSpanArgument
- Inherited Members
-
Properties
Description
public override string Description { get; }
Property Value
- string
Examples
public override IReadOnlyList<string> Examples { get; }
Property Value
- IReadOnlyList<string>
TypeName
public override string TypeName { get; }
Property Value
- string
Methods
public override string Format(TimeSpan value)
Parameters
value TimeSpan
Returns
- string
Parse(IReadOnlyList<string>)
public override TimeSpan Parse(IReadOnlyList<string> values)
Parameters
values IReadOnlyList<string>
Returns
- TimeSpan