mgusmano / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

Property accessors are not generated #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
  [JsType(JsMode.Prototype, AutomaticPropertiesAsFields=false)]
    public class Foo
    {
        [JsProperty(NativeField=false)] //optional - without AutomaticPropertiesAsFields checked too
        public int MyProperty { get; private set; }
        Foo() { MyProperty = 1; }
    }

Original issue reported on code.google.com by DanelK...@gmail.com on 6 Aug 2012 at 9:32

GoogleCodeExporter commented 8 years ago

Original comment by DanelK...@gmail.com on 20 Aug 2012 at 1:43