Comments (1)
We do this because this is IoC, and as such we can change this FileManager our with any other one. Some systems (like UWP) use async to access files and if this method is not a Task we will not be able to asynchrounously step up the code correctly in future when we move to different platforms.
Basically, you should make any function that could or ever would become asynchronous into one, and if the current function/implementation is synchronous just wrap it in a task
from fasetto-word.
Related Issues (20)
- LoginViewModel binding for Email not working HOT 2
- Use Fasetto.Word.Web.Server in WPF-Project HOT 1
- ConcurrencyException
- When Window is Maximized, it goes under the TaskBar. HOT 5
- large data
- Can't Run HOT 4
- Framework.Service bug HOT 3
- System.ArgumentException: 'The path is not of a legal form.' HOT 1
- How to remove old page feature
- Change item selection
- MinWidth and MinHeight does't work. HOT 1
- Unable to open database file HOT 1
- DockChanged not detected when discplay scaling at 100%
- Errors using the code HOT 1
- Window cut when TaskBar is moved
- How to add a new dialog control?
- Design Time Exception HOT 2
- Question - Pass data between Viewmodels HOT 5
- Question - Modify ObservableCollection from Non-UI-Thread
- WPF Application error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fasetto-word.