Class CanMakeComponent
- Namespace
- Abanoub
Nassem .Trinity.Components
- Assembly
- AbanoubNassem.Trinity.dll
- Inheritance
-
Can
Make Component
- Derived
- Inherited Members
Properties
Configurations
A reference to Trinity
Property Value
ConnectionFactory
A reference to the ConnectionFactory.
Property Value
Localizer
A reference to the singleton of Trinity
Property Value
Logger
A reference to the current ILogger.
Property Value
ModelState
A reference to the current Model
Property Value
Request
A reference to the current Http
Property Value
ResourceValidator
An instance of the Resource Validator Resource
Property Value
Response
A reference to the current Http
Property Value
ServiceProvider
A reference to the IService
Property Value
User
A reference to the current User Claims
Property Value
Methods
Make<T>(params object[])
Creates a new instance of the specified component T
with the specified arguments.
Parameters
args
object[]The arguments to pass to the component constructor.
Returns
- T
A new instance of the specified type
T
.
Type Parameters
T
The type of component to create.
Exceptions
- Missing
Method Exception Thrown if a matching constructor for the specified arguments is not found.