BudgetAnalyser.Uwp.ApplicationState.PersistApplicationStateAsXaml.FullFileName C# (CSharp) Method

FullFileName() protected method

Gets the full name of the file to save the data into. The file will be overwritten. By default this will save to the application folder with the name BudgetAnalyserAppState.xml.
protected FullFileName ( ) : Task
return Task
        protected virtual async Task<string> FullFileName()
        {
            if (string.IsNullOrEmpty(this.doNotUseFullFileName))
            {
                var location = await this.folders.ApplicationDataFolder();
                Debug.Assert(location != null);
                this.doNotUseFullFileName = Path.Combine(location, FileName);
            }

            return this.doNotUseFullFileName;
        }