Class AppServiceInfoExtensions
Extension methods for IAppServiceInfo.
Inheritance
System.Object
    AppServiceInfoExtensions
  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()
    
  Namespace: Kephas.Services.Reflection
Assembly: Kephas.Core.dll
Syntax
public static class AppServiceInfoExtensionsMethods
| Improve this Doc View SourceIsScoped(IAppServiceInfo)
Gets a value indicating whether the application service is shared within a scope.
Declaration
public static bool IsScoped(this IAppServiceInfo appServiceInfo)Parameters
| Type | Name | Description | 
|---|---|---|
| IAppServiceInfo | appServiceInfo | The application service contract information. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
IsSingleton(IAppServiceInfo)
Gets a value indicating whether the application service is shared.
Declaration
public static bool IsSingleton(this IAppServiceInfo appServiceInfo)Parameters
| Type | Name | Description | 
|---|---|---|
| IAppServiceInfo | appServiceInfo | The application service contract information. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
IsTransient(IAppServiceInfo)
Gets a value indicating whether the application service is instanced per request.
Declaration
public static bool IsTransient(this IAppServiceInfo appServiceInfo)Parameters
| Type | Name | Description | 
|---|---|---|
| IAppServiceInfo | appServiceInfo | The application service contract information. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 |