public static DocumentLanguageVendor ToVendor(this Guid guid) { if (guid == vendor_ms) return DocumentLanguageVendor.Microsoft; return DocumentLanguageVendor.Other; }