Class ReflectionService
Provides reflection-related functionality.
Inheritance
object
ReflectionService
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DataWeb.Reflection
Assembly: DataWeb.Core.dll
Syntax
public class ReflectionService : IReflectionService
Constructors
ReflectionService(ICacheService)
Initializes a new instance of the ReflectionService class.
Declaration
public ReflectionService(ICacheService cacheService)
Parameters
Type | Name | Description |
---|---|---|
ICacheService | cacheService | The cache service. |
Methods
GetAssembly(string)
Gets the assembly for the specified class.
Declaration
public Assembly GetAssembly(string className)
Parameters
Type | Name | Description |
---|---|---|
string | className | The full class name including the assembly information. |
Returns
Type | Description |
---|---|
Assembly | The assembly for the specified class. |
GetClassName(string)
Gets the class name without the assembly information.
Declaration
public string GetClassName(string className)
Parameters
Type | Name | Description |
---|---|---|
string | className | The full class name including the assembly information. |
Returns
Type | Description |
---|---|
string | The class name without the assembly information. |