tibel / Weakly

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:C# 100.0%