public static T As <T> (this WorkspaceObject ob) where T : class
 {
     return(ob != null?ob.GetService <T> () : null);
 }