Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.01 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.01 KB

Logo

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.DynamicDelegate creates compiled version of MethodInfo.Invoke
  • Builder.OpenAction creates open delegates
  • Builder.OpenFunc creates open delegates
  • Builder.PropertyAccessor creates compiled version of PropertyInfo.SetValue and GetValue

Collections

  • WeakCollection<T>
  • WeakValueDictionary<TKey, TValue>
  • some Helpers

Delegates

  • WeakAction
  • WeakFunc<TResult>
  • DisposableAction executes an action when disposed

Events

  • WeakEventHandler
  • WeakEventSource<TEventArgs>

IO

  • MemoryTributary is a MemoryStream replacement using multiple memory segments

Reflection

  • ReflectionPath to reflect a path of properties
  • some Helpers

Tasks

  • Common Tasks
  • Exception handling
  • APM pattern helper