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