Exemplo n.º 1
0
        } // Save

        internal static ConstantUInt32ValueHandle AsHandle(ConstantUInt32Value record)
        {
            if (record == null)
            {
                return new ConstantUInt32ValueHandle(0);
            }
            else
            {
                return record.Handle;
            }
        } // AsHandle
Exemplo n.º 2
0
        } // Write

        public static void Write(this NativeWriter writer, ConstantUInt32Value record)
        {
            if (record != null)
                writer.WriteUnsigned((uint)record.Handle.Offset);
            else
                writer.WriteUnsigned(0);
        } // Write