Skip to content
/ Weakly Public

Weakly is a collection of some useful weak-reference types.

License

Notifications You must be signed in to change notification settings

tibel/Weakly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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