示例#1
0
        static async Task Main(string[] args)
        {
            var fm = new DiskFileManager("C:\\Users\\gmihaila\\source\\repos\\GSK\\Reassigner\\Reassigner\\bin\\Debug\\netcoreapp2.1");

            var x = fm.AsFileInfoCollection();

            ;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ApplicationSynchronizerBase"/> class.
        /// </summary>
        /// <param name="api">The API.</param>
        /// <param name="app">The application.</param>
        /// <exception cref="ArgumentNullException">
        /// api
        /// or
        /// app
        /// </exception>
        protected ApplicationSynchronizerBase(XDeployAPI api, ApplicationInfo app)
        {
            if (api is null)
            {
                throw new ArgumentNullException(nameof(api));
            }
            if (app is null)
            {
                throw new ArgumentNullException(nameof(app));
            }

            _api = api;
            _app = app;
            ;
            _fileManager = new DiskFileManager(app.Location);
        }
示例#3
0
 public GetFilePath()
 {
     _diskFileManager = new DiskFileManager(_rootFolder);
 }