/// <summary> /// <para>Initialize a new instance of the <see cref="FileStorageCreationCommand"/> class with a file name and <see cref="IServiceProvider"/>.</para> /// </summary> /// <param name="fileName"><para>The name of the file to create.</para></param> /// <param name="serviceProvider"> /// <para>The a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.</para> /// </param> protected FileStorageCreationCommand(string fileName, IServiceProvider serviceProvider) : base(fileName, serviceProvider) { IStorageTable storageTable = ServiceHelper.GetCurrentStorageTable(ServiceProvider); this.fileName = GetAbsolutePathFromMeatConfigPath(storageTable.MetaConfigurationFile, fileName); }