Material design for WinForms: IgnaceMaes/MaterialSkin: Theming .NET WinForms, C# or VB.Net, to Google’s Material Design Principles.
Material design for WinForms: IgnaceMaes/MaterialSkin: Theming .NET WinForms, C# or VB.Net, to Google’s Material Design Principles.
This project provides an infrastructure to build user mode file system:
Source: Main | WinFsp
EDIT: Yet another solution for developping user mode filesystem with FUSE support: https://github.com/dokan-dev/dokany with a .Net binding.
An interesting use of Expression Tree: fast deep copy (Fast Deep Copy by Expression Trees (C#) – CodeProject).
From the author of the excellent SimpleJson, a single source file nuget package containing a combination stream: support sync and async reading from multiple stream (facebook-csharp-sdk/combination-stream: Single stream representing multiple streams).
Streams should be provided in constructor as IList and are automatically disposed unless using an overloaded constructor taken indexes to dispose.
Reading source code I was thinking to a more dynamic version using an IEnumerable and a delagate responsible of the disposal part. The delegate could take an index and the Stream.
Searching for such an implementation, I’ve found this SO question where Jon Skeet propose similar specifications (at east for the IEnumerable part) and someone called prabirshrestha propose an implementation (without the IEnumarable part). The circle is complete: prabirshrestha is the author of facebook-csharp-sdk/combination-stream.
EDIT: More googling gives an implementation from Marc Gravell http://stackoverflow.com/a/3879231/231977 which is truly lazy (by far the better response of corresponding question).
In the same way it’s possible to await any type following a specific ‘trait’ (yes, we need them in C#), It’s now possible to return custom type from an async method: Return Any (Task-Like) Type From An Async Method | Bar Arnon. We can thanks corefx, Roslyn and Stephen Toub.