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