Enkadia.Synexsis.Components.Switchers 1.0.2-CI-20190905-000943

This is a prerelease version of Enkadia.Synexsis.Components.Switchers.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Enkadia.Synexsis.Components.Switchers --version 1.0.2-CI-20190905-000943                
NuGet\Install-Package Enkadia.Synexsis.Components.Switchers -Version 1.0.2-CI-20190905-000943                
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="Enkadia.Synexsis.Components.Switchers" Version="1.0.2-CI-20190905-000943" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Enkadia.Synexsis.Components.Switchers --version 1.0.2-CI-20190905-000943                
#r "nuget: Enkadia.Synexsis.Components.Switchers, 1.0.2-CI-20190905-000943"                
#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 Enkadia.Synexsis.Components.Switchers as a Cake Addin
#addin nuget:?package=Enkadia.Synexsis.Components.Switchers&version=1.0.2-CI-20190905-000943&prerelease

// Install Enkadia.Synexsis.Components.Switchers as a Cake Tool
#tool nuget:?package=Enkadia.Synexsis.Components.Switchers&version=1.0.2-CI-20190905-000943&prerelease                

Enkadia Synexsis

Enkadia Synexsis AV control software targets .NET Standard 2.0. This enables software development for both .NET Framework and .NET Core. Android and iOS applications can be developed using Synexsis components with Xamarin.

Getting Started

Using Synexsis is as easy as

  1. Find your component type from our NuGet packages.
  2. Build your appsettings.json file
  3. Use your component!

Configuring your components

Synexsis builds your components by reading values from an appsettings.json file, located at the root of your program's runtime directory.

This example demonstrates registering a projector which supports the PJLink protocol.

Sample appsettings.json
{
	"PJLinkProjector": {
		"IPAddress": "192.168.1.100",
		"Port": 4352,
		"Password": "default"
	},
	"License": {
		"Key": "license_key_value"
	}
}
Offline Activation
{
	"PJLinkProjector": {
		"IPAddress": "192.168.1.100",
		"Port": 4352,
		"Password": "default"
	},
	"License": {
		"OfflineActivation": "true",
		"LicenseFileName": "MyLicense.skm"
	}
}

A best practice is to name section keys (in this case PJLinkProjector) the same as the component's class name. The default section key can be double checked with intellisense on the class's constructor.

Sample Code

using Microsoft.Extensions.DependencyInjection;
using Enkadia.Synexsis.ComponentFramework.Extensions;

var serviceProvider = new ServiceCollection();
	.AddSynexsis();
	.AddTransient<PJLinkProjector>();
	.AddTransient<Roboshot>();
	.AddTransient<SharpDisplay>();
	.AddTransient<DXPSwitcher>();
	.BuildServiceProvider();

// Retrieve your components
var projector = serviceProvider.GetService<PJLinkProjector>();
var camera = serviceProvider.GetService<Roboshot>();
var frontDisplay = serviceProvider.GetService<SharpDisplay>();
var swt = serviceProvider.GetService<DXPSwitcher>();

Multiple components of the same type

It is possible to specify a section key other than the default. This is useful if you need to control several components of the same type with different information. This can be done with the ResolveWith extension method.

using Microsoft.Extensions.DependencyInjection;
using Enkadia.Synexsis.ComponentFramework.Extensions;

var serviceProvider = new ServiceCollection()
	.AddSynexsis()
	.AddTransient<PJLinkProjector>
	.BuildServiceProvider();

var projectorOne = serviceProvider.ResolveWith<PJLinkProjector>("PJLinkProjectorOne");
var projectorTwo = serviceProvider.ResolveWith<PJLinkProjector>("PJLinkProjectorTwo");
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.

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.3 437 3/11/2021
1.0.4 461 2/20/2020
1.0.2-CI-20191115-004923 353 11/25/2019
1.0.2-CI-20190905-000943 440 9/5/2019