WispFramework 1.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package WispFramework --version 1.0.5
NuGet\Install-Package WispFramework -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WispFramework" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WispFramework --version 1.0.5
#r "nuget: WispFramework, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WispFramework as a Cake Addin
#addin nuget:?package=WispFramework&version=1.0.5

// Install WispFramework as a Cake Tool
#tool nuget:?package=WispFramework&version=1.0.5
  • Sub<T> is a threadsafe class based on the subject observer design pattern, you can get and set Value and subscribe to ValueChanged events

  • Dynamic<T> is a class that evaluates an expression whenever Value is requested

  • Monitor polls on an interval until a constraint is met

  • Singleton based on singleton design pattern, base class for any type that wants a static instance of itself

  • Expirables throw a ObjectExpired exception

  • Container is based on the Mesh or Container design pattern provides a flexible way to register and resolve any type or types

  • RandomUtil has useful methods for generating randoms, including cryptographically secure random bits

  • TimeoutAfter extension to tasks for throwing a TimeoutException if the task runs longer than the provided timeout

  • EventAwaiter is used for cleanly waiting for an event to occur before continuing the task, with an optional constraint parameter

          Sub<bool> hasCoffee = new Sub<bool>(false);
    
          var waitForCoffee = new EventAwaiter<ValueChangedEventArgs<bool>>(
              h => hasCoffee.ValueChanged += h, 
              h => hasCoffee.ValueChanged -= h);
    
          Task.Run(async () =>
          {
              await Task.Delay(2000);
              hasCoffee.Value = true;
          });
    
          try
          {
              await waitForCoffee.Task.TimeoutAfter(TimeSpan.FromSeconds(1));
              Console.WriteLine($"Value changed for hasCoffee to {hasCoffee}");
          }
          catch (TimeoutException)
          {
              Console.WriteLine("We did not get coffee in time!");
          }
    
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.12 1,291 6/30/2020
1.1.11 437 5/13/2020
1.1.10 403 5/13/2020
1.1.9 8,557 3/12/2020
1.1.8 610 1/29/2020
1.1.7 469 1/28/2020
1.1.6 473 1/28/2020
1.1.5 468 1/28/2020
1.1.4 465 1/28/2020
1.1.3 449 1/14/2020
1.1.2 427 1/13/2020
1.1.1 480 1/3/2020
1.1.0 805 12/3/2019
1.0.9 630 10/9/2019
1.0.8 457 10/8/2019
1.0.7 433 10/8/2019
1.0.6 459 10/8/2019
1.0.5 457 10/5/2019
1.0.4 444 10/5/2019
1.0.3 444 10/4/2019
1.0.2 526 9/26/2019
1.0.1 528 9/25/2019
1.0.0 559 9/25/2019