示例#1
0
        public Result Merge(InputDataProvider inputData, MergerApplicationOptions options)
        {
            if (inputData.GetData().Count(x => x.IsValid()) < 2)
            {
                return(Result.Error(ErrorCodes.NotEnoughFilesToPerformOperation));
            }

            return(Execute(ApplicationRegistry.Instance.Get(ApplicationId.Merger), inputData, options));
        }