Exemple #1
0
        public override void Write(CodeWriter writer)
        {
            // Need to write our property callback first
            method_callback?.Write(writer);

            base.Write(writer);
        }
Exemple #2
0
        public override void Write(CodeWriter writer)
        {
            // Need to write our property callbacks first
            getter_callback?.Write(writer);
            setter_callback?.Write(writer);

            base.Write(writer);
        }
Exemple #3
0
        public override void Write(CodeWriter writer)
        {
            method_callback?.Write(writer);

            writer.WriteLine($"IntPtr {method.EscapedIdName};");

            base.Write(writer);
        }
        public override void Write(CodeWriter writer)
        {
            getter_callback?.Write(writer);
            setter_callback?.Write(writer);

            if (property.Getter != null)
            {
                writer.WriteLine($"IntPtr {property.Getter.EscapedIdName};");
            }

            if (property.Setter != null)
            {
                writer.WriteLine($"IntPtr {property.Setter.EscapedIdName};");
            }

            base.Write(writer);
        }
Exemple #5
0
        public override void Write(CodeWriter writer)
        {
            callback?.Write(writer);

            base.Write(writer);
        }