Message.Client.ORiN3.Provider
1.0.309
dotnet add package Message.Client.ORiN3.Provider --version 1.0.309
NuGet\Install-Package Message.Client.ORiN3.Provider -Version 1.0.309
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="Message.Client.ORiN3.Provider" Version="1.0.309" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Message.Client.ORiN3.Provider" Version="1.0.309" />
<PackageReference Include="Message.Client.ORiN3.Provider" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Message.Client.ORiN3.Provider --version 1.0.309
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Message.Client.ORiN3.Provider, 1.0.309"
#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.
#addin nuget:?package=Message.Client.ORiN3.Provider&version=1.0.309
#tool nuget:?package=Message.Client.ORiN3.Provider&version=1.0.309
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Overview
This package is a gRPC client that implements the interfaces of ORiN3 Provider.
It allows user applications to call various functions of ORiN3 Provider.
How to use
A sample is shown below to explain how to use it. This sample does the following:
- Communicates with ORiN3 Provider (Mock) and sets values to ORiN3 variables.
using Grpc.Net.Client;
using Message.Client.ORiN3.Provider.V1;
var channel = GrpcChannel.ForAddress("http://127.0.0.1:50000");
var rootObject = await ORiN3RootObject.AttachAsync(channel, 10000, CancellationToken.None).ConfigureAwait(false);
// TODO: Add processing from here on down if necessary.
// Create a controller
var controllerName = "GeneralPurposeController";
var controllerType = "ORiN3.Provider.ORiNConsortium.Mock.O3Object.Controller.GeneralPurposeController, ORiN3.Provider.ORiNConsortium.Mock";
var controllerOption = "{\"@Version\":\"1.0.85\"}";
var controller = await rootObject.CreateControllerAsync(controllerName, controllerType, controllerOption, CancellationToken.None).ConfigureAwait(false);
// Create a variable
var variableName = "Int32Variable";
var variableType = "ORiN3.Provider.ORiNConsortium.Mock.O3Object.Variable.Int32Variable, ORiN3.Provider.ORiNConsortium.Mock";
var variableOption = "{\"@Version\":\"1.0.85\"}";
var variable = await controller.CreateVariableAsync<int>(variableName, variableType, variableOption, CancellationToken.None).ConfigureAwait(false);
// Get/Set a value
var initial = await variable.GetValueAsync(CancellationToken.None).ConfigureAwait(false);
Console.WriteLine(initial); // 0 as default
await variable.SetValueAsync(100, CancellationToken.None).ConfigureAwait(false);
var updated = await variable.GetValueAsync(CancellationToken.None).ConfigureAwait(false);
Console.WriteLine(updated); // 100
// Shutdown provider
await rootObject.ShutdownAsync(CancellationToken.None).ConfigureAwait(false);
Reference
The original proto file is stored in the following location:
Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.1
- Colda.CommonUtilities (>= 1.0.172 && < 2.0.0)
- Message.ORiN3.Provider (>= 1.0.429 && < 2.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Message.Client.ORiN3.Provider:
Package | Downloads |
---|---|
Message.Client.ORiN3.Provider.ForCOM
C# implementation of ORiN3. |
|
GeoLibrary.ORiN3.Provider.TestBaseLib
GeoLibrary.ORiN3.Provider.TestBaseLib is a Test Library for ORiN3 provider |
GitHub repositories
This package is not used by any popular GitHub repositories.