private static XElement CreateObjSurElement(string guid, ObjSurType type) { new Guid(guid); // Will throw if 'guid' is not legal. return(new XElement("objsur", new XAttribute("t", type == ObjSurType.Owning ? "o" : "r"), new XAttribute("guid", guid))); }
private static XElement CreateObjSurElement(string guid, ObjSurType type) { new Guid(guid); // Will throw if 'guid' is not legal. return new XElement("objsur", new XAttribute("t", type == ObjSurType.Owning ? "o" : "r"), new XAttribute("guid", guid)); }