Weakly
Weakly copied to clipboard
Weakly is a collection of some useful weak-reference types.
![]()
Weakly
Weakly is a collection of some useful weak-reference types.
Install
Weakly is available through NuGet:
PM> Install-Package Weakly
Content
Builders
Create compiled Expressions for:
Builder.DynamicDelegatecreates compiled version of MethodInfo.InvokeBuilder.OpenActioncreates open delegatesBuilder.OpenFunccreates open delegatesBuilder.PropertyAccessorcreates compiled version of PropertyInfo.SetValue and GetValue
Collections
WeakCollection<T>WeakValueDictionary<TKey, TValue>- some Helpers
Delegates
WeakActionWeakFunc<TResult>DisposableActionexecutes an action when disposed
Events
WeakEventHandlerWeakEventSource<TEventArgs>
IO
MemoryTributaryis a MemoryStream replacement using multiple memory segments
Reflection
ReflectionPathto reflect a path of properties- some Helpers
Tasks
- Common Tasks
- Exception handling
- APM pattern helper