Skip to content
Weakly is a collection of some useful weak-reference types.
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
.gitignore
LICENSE
README.md
Weakly.sln

README.md

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
You can’t perform that action at this time.