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