Ejemplo n.º 1
0
 public MyAsset()
 {
     CustomReferences = new List <AssetReference <Asset> >();
     SeqItemsEmpty    = new List <string>();
     SeqItems1        = new List <string>();
     SeqItems2        = new MyCollection();
     SeqItems3        = new MyCollectionPure();
     SeqItems4        = new List <string>();
     SeqItems5        = new MyCollection();
     MapItemsEmpty    = new Dictionary <object, object>();
     MapItems1        = new Dictionary <object, object>();
     MapItems2        = new MyDictionary();
     MapItems3        = new MyDictionaryPure();
 }
Ejemplo n.º 2
0
 public MyAsset()
 {
     CustomReferences             = new List <AssetReference <Asset> >();
     SeqItemsEmpty                = new List <string>();
     SeqItems1                    = new List <string>();
     SeqItems2                    = new MyCollection();
     SeqItems3                    = new MyCollectionPure();
     SeqItems4                    = new List <string>();
     SeqItems5                    = new MyCollection();
     MapItemsEmpty                = new Dictionary <object, object>();
     MapItems1                    = new Dictionary <object, object>();
     MapItems2                    = new MyDictionary();
     MapItems3                    = new MyDictionaryPure();
     CustomObjectWithProtectedSet = new CustomObject {
         Name = "customObject"
     };
 }
 public MyAsset()
 {
     CustomReferences = new List <AssetReference>();
     SeqItemsEmpty    = new List <string>();
     SeqItems1        = new List <string>();
     // TODO: Re-enable non-pure collections here once we support them for serialization!
     //SeqItems2 = new MyCollection();
     SeqItems3 = new MyCollectionPure();
     SeqItems4 = new List <string>();
     // TODO: Re-enable non-pure collections here once we support them for serialization!
     //SeqItems5 = new MyCollection();
     MapItemsEmpty = new Dictionary <object, object>();
     MapItems1     = new Dictionary <object, object>();
     // TODO: Re-enable non-pure collections here once we support them for serialization!
     //MapItems2 = new MyDictionary();
     MapItems3 = new MyDictionaryPure();
     CustomObjectWithProtectedSet = new CustomObject {
         Name = "customObject"
     };
 }