Click or drag to resize
IceNetApplicationServiceAdapterTService Class
An Adapter that enables usage of IceNetService implementations directly from within an IceNetApplication-based application, without generated code from the Service Builder. The service uses the ice.NET infrastructure provided by the IceNetApplication configuration. Therefore, the service methods must be called within a regular IceNetApplication.AccessRepository() scope (see example).
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.ServiceIceNetApplicationServiceAdapterTService

Namespace: PDTec.IceNet.Sdk.Service
Assembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
public static class IceNetApplicationServiceAdapter<TService>
where TService : new(), Object

Type Parameters

TService
The service implementation.

The IceNetApplicationServiceAdapterTService type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberInstance
Gets a service instance that is connected to the ice.NET infrastructure provided by the IceNetApplication configuration.
Top
Examples
using (IceNetApplication.AccessRepository())
{
    r0 = IceNetApplicationServiceAdapter<MyService>.Instance.MyMethod(p1, p2);
}
See Also