Description:
Default Version parser.
Added In: v0.45
public class UMFConfigVersion : UMFConfigParser<Version> { public Version DefaultValue; public bool RequiresRestart; public UMFConfigVersion(Version defaultValue = default(Version), bool requiresRestart = false) { DefaultValue = defaultValue; RequiresRestart = requiresRestart; } public override Version Parse(string value) { return DefaultValue; } public override string ToString() { return DefaultValue.ToString(); } public override string Default() { return DefaultValue.ToString(); } public override string Restart() { return RequiresRestart.ToString(); } }
//Coming soon
//Coming soon