Click or drag to resize

InjectionStrategyClassNewInstance Class

Provides the compiler with code that allocates and initializes an instance of some class by using "new" and by using setters.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.common.client.hook.forgeinjectInjectionStrategyClassNewInstance

Namespace:  com.espertech.esper.common.client.hook.forgeinject
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public class InjectionStrategyClassNewInstance : InjectionStrategy

The InjectionStrategyClassNewInstance type exposes the following members.

Constructors
  NameDescription
Public methodInjectionStrategyClassNewInstance(String)
The class name of the class to be instantiated.
Public methodInjectionStrategyClassNewInstance(Type)
The class to be instantiated.
Top
Properties
  NameDescription
Public propertyBuilderConsumer
Returns the builder consumer, a consumer that the strategy invokes when it is ready to build the code
Public propertyClazz
Returns the class, or null if providing a class name instead
Public propertyFullyQualifiedClassName
Returns the class name, or null if providing a class instead
Top
Methods
  NameDescription
Public methodAddConstant
Add a constant to be provided by invoking the setter method of thNamespaceScopedeployment time
Public methodAddExpression
Add an expression to be provided by invoking the setter method of the class, at deployment time, the setter should accept an instance.
Public methodGetInitializationExpression
Public methodWithBuilderConsumer
Sets the builder consumer, a consumer that the strategy invokes when it is ready to build the code
Top
See Also