~~NOTOC~~
~~Title: Parser UMFConfigVersion ~~
**Description:**\\
Default Version parser.
**Added In:** v0.45
====== Function ======
public class UMFConfigVersion : UMFConfigParser
{
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();
}
}
----
\\
====== Usage ======
//Coming soon
----
\\
====== Examples ======
//Coming soon
----