Class MasterBase<T>
A master model's base class.
public abstract class MasterBase<T> : BaseModel, IModel, IDisposable
Type Parameters
T
Target instance base type
- Inheritance
-
MasterBase<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
MasterBase(string, string?, Type, IReadOnlyDictionary<string, object?>?)
Internal ctor of a master model.
protected MasterBase(string name, string? description, Type targetType, IReadOnlyDictionary<string, object?>? properties)
Parameters
name
stringunique master name
description
stringdescription string
targetType
TypeTarget instance type (must be assignable from
T
)properties
IReadOnlyDictionary<string, object>Master's configuration parameters
Fields
targetType
Ctor of the target instance.
protected Type targetType