ContextualProgramming 1.1.1

.NET 6.0
dotnet add package ContextualProgramming --version 1.1.1
NuGet\Install-Package ContextualProgramming -Version 1.1.1
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="ContextualProgramming" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ContextualProgramming --version 1.1.1
#r "nuget: ContextualProgramming, 1.1.1"
#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 ContextualProgramming as a Cake Addin
#addin nuget:?package=ContextualProgramming&version=1.1.1

// Install ContextualProgramming as a Cake Tool
#tool nuget:?package=ContextualProgramming&version=1.1.1

Contextual Programming SDK

The development project of the Contextual Programming SDK (C#), an SDK to enable programming in accordance to the Contextual Programming paradigm. Current functionality is limited to behaviors that create their own dependencies (contexts), behaviors that depend upon the contexts created by other behaviors, and behaviors that perform operations for specified context state changes.

The Contextual Programming Paradigm

Contextual Programming is a programming paradigm that focuses on coding from the perspective of 'when'.

Code systems are organized around behaviors, their operations, and contexts. Compositions are defined by the shared dependencies (contexts) of behaviors. Relationships are dynamic and determined by the state of the application, as defined by the contexts. Functionality therefore is performed by the qualifying operations of active behaviors based on the current state of existing contexts.

How to Use

Behaviors and contexts are defined by attributes decorating classes that should take on those roles. The default attributes are 'Behavior' and 'Context'.

Refer to the Concepts project for details of how to use each of the attributes, as well as for samples of generalized constructs and functionality.

Refer to the Showcase project for an example implementation.


The latest release is 1.1.1 (03/07/2022), available on NuGet.

Follow Us

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.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.1 308 3/8/2022
1.1.0 289 2/16/2022
1.0.0 310 1/2/2022