public static async Task <Stream> ConvertAsync(Stream ifcStream) { var ifcStoreGenerator = new IfcStoreGenerator(ifcStream); using (var ifcStore = await ifcStoreGenerator.GetIfcStoreAsync()) { return(await ConvertIfcToCobieLiteUkAsync(ifcStore)); } }
public async Task <String> ConvertAsync(string source, string destination) { var content = await _s3.Get(source); using (var ifcStream = new MemoryStream(content)) { var ifcStoreGenerator = new IfcStoreGenerator(ifcStream); using (var ifcStore = await ifcStoreGenerator.GetIfcStoreAsync()) { return(await ConvertIfcToCobieLiteUkAsync(ifcStore, destination)); } } }
public async Task <String> ConvertAsync(String source, string destination) { var content = await _s3.Get(source); using (var ifcStream = new MemoryStream(content)) { var ifcStoreGenerator = new IfcStoreGenerator(ifcStream); using (var ifcStore = await ifcStoreGenerator.GetIfcStoreAsync()) { var wexBimStream = await ConvertIfcToWexBimAsync(ifcStore, destination); return(wexBimStream); } } }