예제 #1
0
        public override void SetCustomData(string customData)
        {
            AlbumOptimizationTaskState albumOptimizationTaskState = JsonConvert.DeserializeObject <AlbumOptimizationTaskState>(customData);

            this.AlbumId = albumOptimizationTaskState.AlbumId;
        }
예제 #2
0
        public override string GetCustomData()
        {
            AlbumOptimizationTaskState albumOptimizationTaskState = new AlbumOptimizationTaskState(this);

            return(JsonConvert.SerializeObject(albumOptimizationTaskState));
        }