public MatrixSpec(EMatrixSpecApiVersion supportedVer, EMatrixSpecApi api, string path, EMatrixSpecApiVersion lastVersion = EMatrixSpecApiVersion.Unknown) { Api = api; Path = path; MinVersion = supportedVer; LastVersion = lastVersion; }
public static string GetStringForVersion(EMatrixSpecApiVersion version) { switch (version) { case EMatrixSpecApiVersion.R001: return("r0.0.1"); case EMatrixSpecApiVersion.R010: return("r0.1.0"); case EMatrixSpecApiVersion.R020: return("r0.2.0"); case EMatrixSpecApiVersion.R030: return("r0.3.0"); case EMatrixSpecApiVersion.R040: return("r0.4.0"); default: return("unstable"); } }
public MatrixSpec(EMatrixSpecApiVersion supportedVer, EMatrixSpecApi api, string path) { Api = api; Path = path; Version = supportedVer; }