An open API service indexing awesome lists of open source software.

https://github.com/tibel/weakly

Weakly is a collection of some useful weak-reference types.
https://github.com/tibel/weakly

async task weakaction weakcollection weakdelegate weakeventhandler weakeventsource weakfunc weakly weakreference weakvaluedictionary

Last synced: 30 days ago
JSON representation

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

Awesome Lists containing this project

README

        

![Logo](./weakly_icon.png)
# Weakly

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

## Install
Weakly is available through NuGet:

PM> **Install-Package** [Weakly](https://www.nuget.org/packages/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`
* `WeakValueDictionary`
* some Helpers

### Delegates
* `WeakAction`
* `WeakFunc`
* `DisposableAction` executes an action when disposed

### Events
* `WeakEventHandler`
* `WeakEventSource`

### 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