コード例 #1
0
        protected string AddToDataBase()
        {
            AddPatchToDatabaseInfo addPatch = new AddPatchToDatabaseInfo
            {
                oldVersion = Oldversion,
                newVersion = NewVersion,
                md5        = Md5,
                size       = Size
            };

            return(JsonConvert.SerializeObject(addPatch));
        }
コード例 #2
0
        protected string AddToDataBase()
        {
            AddPatchToDatabaseInfo addPatch = new AddPatchToDatabaseInfo
            {
                oldVersion     = olderVersion,
                newVersion     = newerVersion,
                md5            = _md5,
                size           = _size,
                azureContainer = container,
                azureBlob      = blob
            };

            return(JsonConvert.SerializeObject(addPatch));
        }