DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Attributes | List of all members
Deveel.Data.Services.ServiceRegistration Class Reference

Public Member Functions

 ServiceRegistration (Type serviceType, Type implementationType)
 

Properties

Type ServiceType [get, private set]
 
Type ImplementationType [get, private set]
 
object ServiceKey [get, set]
 
string Scope [get, set]
 
object Instance [get, set]
 

Private Attributes

object instance
 

Detailed Description

Definition at line 20 of file ServiceRegistration.cs.

Constructor & Destructor Documentation

Deveel.Data.Services.ServiceRegistration.ServiceRegistration ( Type  serviceType,
Type  implementationType 
)
inline

Definition at line 23 of file ServiceRegistration.cs.

23  {
24  if (serviceType == null)
25  throw new ArgumentNullException("serviceType");
26  if (implementationType == null)
27  throw new ArgumentNullException("implementationType");
28 
29  if (!serviceType.IsAssignableFrom(implementationType))
30  throw new ArgumentException(
31  String.Format("The implementation type '{0} is not assignable from the service type '{1}'.",
32  implementationType, serviceType));
33 
34  ServiceType = serviceType;
35  ImplementationType = implementationType;
36  }
A long string in the system.

Member Data Documentation

object Deveel.Data.Services.ServiceRegistration.instance
private

Definition at line 21 of file ServiceRegistration.cs.

Property Documentation

Type Deveel.Data.Services.ServiceRegistration.ImplementationType
getprivate set

Definition at line 40 of file ServiceRegistration.cs.

object Deveel.Data.Services.ServiceRegistration.Instance
getset

Definition at line 46 of file ServiceRegistration.cs.

string Deveel.Data.Services.ServiceRegistration.Scope
getset

Definition at line 44 of file ServiceRegistration.cs.

object Deveel.Data.Services.ServiceRegistration.ServiceKey
getset

Definition at line 42 of file ServiceRegistration.cs.

Type Deveel.Data.Services.ServiceRegistration.ServiceType
getprivate set

Definition at line 38 of file ServiceRegistration.cs.


The documentation for this class was generated from the following file: