Class DefaultDicomServerFactory
Inheritance
System.Object
DefaultDicomServerFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: fo-dicom.core.dll
Syntax
public class DefaultDicomServerFactory : IDicomServerFactory
Constructors
DefaultDicomServerFactory(IServiceScopeFactory, IDicomServerRegistry, IOptions<DicomServiceOptions>, IOptions<DicomServerOptions>)
Declaration
public DefaultDicomServerFactory(IServiceScopeFactory serviceScopeFactory, IDicomServerRegistry dicomServerRegistry, IOptions<DicomServiceOptions> defaultServiceOptions, IOptions<DicomServerOptions> defaultServerOptions)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
serviceScopeFactory |
|
IDicomServerRegistry |
dicomServerRegistry |
|
Microsoft.Extensions.Options.IOptions<DicomServiceOptions> |
defaultServiceOptions |
|
Microsoft.Extensions.Options.IOptions<DicomServerOptions> |
defaultServerOptions |
|
Methods
Create<T>(Int32, ITlsAcceptor, Encoding, ILogger, Object, Action<DicomServerOptions>)
Declaration
public IDicomServer Create<T>(int port, ITlsAcceptor tlsAcceptor = null, Encoding fallbackEncoding = null, ILogger logger = null, object userState = null, Action<DicomServerOptions> configure = null)
where T : DicomService, IDicomServiceProvider
Parameters
Type |
Name |
Description |
System.Int32 |
port |
|
ITlsAcceptor |
tlsAcceptor |
|
System.Text.Encoding |
fallbackEncoding |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
System.Object |
userState |
|
System.Action<DicomServerOptions> |
configure |
|
Returns
Type Parameters
Create<T>(String, Int32, ITlsAcceptor, Encoding, ILogger, Object, Action<DicomServerOptions>)
Declaration
public IDicomServer Create<T>(string ipAddress, int port, ITlsAcceptor tlsAcceptor = null, Encoding fallbackEncoding = null, ILogger logger = null, object userState = null, Action<DicomServerOptions> configure = null)
where T : DicomService, IDicomServiceProvider
Parameters
Type |
Name |
Description |
System.String |
ipAddress |
|
System.Int32 |
port |
|
ITlsAcceptor |
tlsAcceptor |
|
System.Text.Encoding |
fallbackEncoding |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
System.Object |
userState |
|
System.Action<DicomServerOptions> |
configure |
|
Returns
Type Parameters
Create<TServiceProvider, TServer>(String, Int32, Object, ITlsAcceptor, Encoding, ILogger, Action<DicomServerOptions>)
Declaration
public virtual IDicomServer Create<TServiceProvider, TServer>(string ipAddress, int port, object userState = null, ITlsAcceptor tlsAcceptor = null, Encoding fallbackEncoding = null, ILogger logger = null, Action<DicomServerOptions> configure = null)
where TServiceProvider : DicomService, IDicomServiceProvider where TServer : IDicomServer<TServiceProvider>
Parameters
Type |
Name |
Description |
System.String |
ipAddress |
|
System.Int32 |
port |
|
System.Object |
userState |
|
ITlsAcceptor |
tlsAcceptor |
|
System.Text.Encoding |
fallbackEncoding |
|
Microsoft.Extensions.Logging.ILogger |
logger |
|
System.Action<DicomServerOptions> |
configure |
|
Returns
Type Parameters
Name |
Description |
TServiceProvider |
|
TServer |
|
Implements
Extension Methods