public async Task <IPageFixed> GetPage() { if (PageCache == null) { return(await Task.Run(() => { PageCache = accessor(); PageCache.Option = this.Option; return PageCache; })); } else { return(PageCache); } }
public async Task<IPageFixed> GetPage() { if (PageCache == null) return await Task.Run(() => { PageCache = accessor(); PageCache.Option = this.Option; return PageCache; }); else return PageCache; }