Esempio n. 1
0
        public void Structをモデルに読み込むことができる()
        {
            var structModel = new StructProperty(typeof(Fuga), new PropertyFactory());
            var value       = new Fuga
            {
                X = 101,
                Y = 0.25f,
                Z = DayOfWeek.Saturday,
                W = -1
            };

            Load(structModel, value);

            var result = (Fuga)structModel.Value.Value;

            result.X.Is(101);
            result.Y.Is(0.25f);
            result.Z.Is(DayOfWeek.Saturday);
            result.W.Is(0);
        }
Esempio n. 2
0
 public Bbb(Fuga fuga)
 {
 }
 public Bbb(Fuga fuga)
 {
 }