private string VersionConverter(DxfAcadVersion version) { var str = DxfAcadVersionStrings.VersionToString(version); if (IsRestrictedVersion) { str += "S"; } return(str); }
private DxfAcadVersion VersionConverter(string str) { if (str.EndsWith("S")) { IsRestrictedVersion = true; str = str.Substring(0, str.Length - 1); } else { IsRestrictedVersion = false; } return(DxfAcadVersionStrings.StringToVersion(str)); }