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

This is a prerelease version of Enkadia.Synexsis.Components.DigitalSignalProcessors.
There is a newer version of this package available.
See the version list below for details.
Install-Package Enkadia.Synexsis.Components.DigitalSignalProcessors -Version 1.0.2-CI-20190905-000943
dotnet add package Enkadia.Synexsis.Components.DigitalSignalProcessors --version 1.0.2-CI-20190905-000943
<PackageReference Include="Enkadia.Synexsis.Components.DigitalSignalProcessors" 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.DigitalSignalProcessors --version 1.0.2-CI-20190905-000943
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Enkadia.Synexsis.Components.DigitalSignalProcessors, 1.0.2-CI-20190905-000943"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Enkadia.Synexsis.Components.DigitalSignalProcessors as a Cake Addin
#addin nuget:?package=Enkadia.Synexsis.Components.DigitalSignalProcessors&version=1.0.2-CI-20190905-000943&prerelease

// Install Enkadia.Synexsis.Components.DigitalSignalProcessors as a Cake Tool
#tool nuget:?package=Enkadia.Synexsis.Components.DigitalSignalProcessors&version=1.0.2-CI-20190905-000943&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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");

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 108 3/11/2021
1.0.4 229 2/20/2020
1.0.2-CI-20191115-004923 211 11/25/2019
1.0.2-CI-20190905-000943 256 9/5/2019