Ejemplo n.º 1
0
                public static RotorWash FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    RotorWash obj = baseObj as  RotorWash;

                    if (object.Equals(obj, null))
                    {
                        obj = new RotorWash(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "RotorWash");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
Ejemplo n.º 2
0
                public BaseObject Create()
                {
                    RotorWash emptyInstance = new RotorWash(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }