private JNSubClassModel GetSubClassModel()
        {
            var m = new JNSubClassModel();

            m.IntValue    = _rnd.Next();
            m.FloatValue  = (float)_rnd.NextDouble();
            m.StringValue = Guid.NewGuid().ToString();
            m.IntList     = new List <int> {
                _rnd.Next(), _rnd.Next(), _rnd.Next()
            };

            m.ObjectType          = JNObjectType.SubClass;
            m.SubClassStringValue = "This is the subclass value.";

            return(m);
        }
示例#2
0
        private JNSubClassModel GetSubClassModel()
        {
            JNSubClassModel jNSubClassModel = new JNSubClassModel();

            jNSubClassModel.IntValue    = this._rnd.Next();
            jNSubClassModel.FloatValue  = (float)this._rnd.NextDouble();
            jNSubClassModel.StringValue = Guid.NewGuid().ToString();
            JNSimpleObjectModel arg_77_0 = jNSubClassModel;
            List <int>          list     = new List <int>();

            list.Add(this._rnd.Next());
            list.Add(this._rnd.Next());
            list.Add(this._rnd.Next());
            arg_77_0.IntList                    = list;
            jNSubClassModel.ObjectType          = JNObjectType.SubClass;
            jNSubClassModel.SubClassStringValue = "This is the subclass value.";
            return(jNSubClassModel);
        }
示例#3
0
        private JNSubClassModel GetSubClassModel()
        {
            var m = new JNSubClassModel();

            m.IntValue = _rnd.Next();
            m.FloatValue = (float)_rnd.NextDouble();
            m.StringValue = Guid.NewGuid().ToString();
            m.IntList = new List<int> { _rnd.Next(), _rnd.Next(), _rnd.Next() };

            m.ObjectType = JNObjectType.SubClass;
            m.SubClassStringValue = "This is the subclass value.";

            return m;
        }