예제 #1
0
 public void readFields(BmobInput input)
 {
     foreach (var key in input.keySet())
     {
         this.Add(key, input.getRaw(key));
     }
 }
예제 #2
0
        //public Image Image
        //{
        //    get
        //    {
        //        return
        //    }
        //}

        public override void readFields(BmobInput input)
        {
            base.readFields(input);
            this.filename = input.getString("filename");
            this.group    = input.getString("group");
            this.url      = input.getString("url");
        }
예제 #3
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            this.name  = input.getString("name");
            this.users = input.Get <BmobRelation <BmobUser> >("users");
            this.roles = input.Get <BmobRelation <BmobRole> >("roles");
        }
예제 #4
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            this.objectId  = input.getString("objectId");
            this.createdAt = input.getString("createdAt");
            this.updatedAt = input.getString("updatedAt");
            this.ACL       = input.Get <BmobACL>("ACL");
        }
예제 #5
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            foreach (var key in input.keySet())
            {
                kvs.Add(key, input.getRaw(key));
            }
        }
예제 #6
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            this.username     = input.getString("username");
            this.password     = input.getString("password");
            this.email        = input.getString("email");
            this.sessionToken = input.getString("sessionToken");

            this.emailVerified = input.getBoolean("emailVerified");
        }
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            this.badge      = input.getInt("badge");
            this.channels   = input.getList <String>("channels");
            this.timeZone   = input.getString("timeZone");
            this.deviceType = input.getString("deviceType");

            this.installationId  = input.getString("installationId");
            this.deviceToken     = input.getString("deviceToken");
            this.notificationUri = input.getString("notificationUri");
            this.deviceId        = input.getString("deviceId");
        }
예제 #8
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            var className = input.getString("className");
            var objectId  = input.getString("objectId");
            var type      = input.getString(TYPE_NAME);

            // 返回了对象的详细信息时,type字段值为空。
            if (type == this._type)
            {
                this.refObjectId = objectId;
            }
            else
            {
                this.reference = Activator.CreateInstance <T>();
                this.reference.readFields(input);
            }
        }
예제 #9
0
 public virtual void readFields(BmobInput input)
 {
 }
예제 #10
0
        public override void readFields(BmobInput input)
        {
            base.readFields(input);

            this.name = input.getString("name");
        }
예제 #11
0
 public override void readFields(BmobInput input)
 {
     this.iso = input.getString("iso");
 }
예제 #12
0
 public override void readFields(BmobInput input)
 {
     this.latitude  = input.getDouble("latitude");
     this.longitude = input.getDouble("longitude");
 }