Exemple #1
0
        public ProxyFileOpRequestModel(List <DbMediaFile> filesToAdd, bool requireClear = false, bool isInsertion = false)
        {
            Type       = ProxyFileOpControlType.Add;
            FilesToAdd = filesToAdd;

            ItemsToRemove       = new List <MediaPlaybackItem>();
            AddAdditionalParams = new ProxyAddFileRequestParams(requireClear, isInsertion);
        }
Exemple #2
0
        public ProxyFileOpRequestModel(List <MediaPlaybackItem> itemsToRemove)
        {
            Type          = ProxyFileOpControlType.Delete;
            ItemsToRemove = itemsToRemove;

            FilesToAdd          = new List <DbMediaFile>();
            AddAdditionalParams = new ProxyAddFileRequestParams();
        }