public static GlobeSelection FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } GlobeSelection obj = baseObj as GlobeSelection; if (object.Equals(obj, null)) { obj = new GlobeSelection(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CGlobeSelection"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { GlobeSelection emptyInstance = new GlobeSelection(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }