Xaye.Fred.Fred.GetSourceAsync C# (CSharp) Méthode

GetSourceAsync() public méthode

Get a source of economic data using system defaults. Corresponds to http://api.stlouisfed.org/fred/source
public GetSourceAsync ( int sourceId ) : Task
sourceId int The id for a source.
Résultat Task
        public async Task<Source> GetSourceAsync(int sourceId)
        {
            var now = CstTime();
            return await GetSourceAsync(sourceId, now, now);
        }

Same methods

Fred::GetSourceAsync ( int sourceId, System.DateTime realtimeStart, System.DateTime realtimeEnd ) : Task