public async Task QueryFile() { LCQuery <LCFile> query = LCFile.GetQuery(); LCFile file = await query.Get(avatar.ObjectId); Assert.NotNull(file.Url); TestContext.WriteLine(file.Url); TestContext.WriteLine(file.GetThumbnailUrl(32, 32)); }
public async Task QueryFile() { LCQuery <LCFile> query = LCFile.GetQuery(); LCFile file = await query.Get("5e0dbfa0562071008e21c142"); Assert.NotNull(file.Url); TestContext.WriteLine(file.Url); TestContext.WriteLine(file.GetThumbnailUrl(32, 32)); }