Exemplo n.º 1
0
 public CollectionOfSimple( bool init )
 {
     _dic = new ListDictionary();
     SimpleObject o;
     o = new SimpleObject( true );
     o.attr1 = 11;
     _dic.Add( "1", o );
     o = new SimpleObject( true );
     o.attr1 = 12;
     _dic.Add( "2", o );
     o = new SimpleObject( true );
     o.attr1 = 13;
     _dic.Add( "3", o );
 }
        public ObjListProperty( bool init )
        {
            Child = "child value";

            _list = new ArrayList();
            _list.Add( "string1" );
            SimpleObject o;
            o = new SimpleObject( true );
            o.attr1 = 11;
            _list.Add( o );
            o = new SimpleObject( true );
            o.attr1 = 12;
            _list.Add( o );
            _list.Add( new ObjChildrenNSInherit( true ) );
        }
 public ObjCustomProxyAtProperty( bool init )
 {
     a = "attribute";
     o = new SimpleObject( true );
 }
 public ObjTransparentAttribute( bool init )
 {
     Name = "Joe";
     TheSimple = new SimpleObject( true );
 }
 public ObjCustomProxyAtProperty(bool init)
 {
     a = "attribute";
     o = new SimpleObject(true);
 }
 public ObjTransparentAttribute(bool init)
 {
     Name      = "Joe";
     TheSimple = new SimpleObject(true);
 }
 public void SerializeSimple()
 {
     SimpleObject o = new SimpleObject( true );
     SerializeAndCompare( o );
 }