Class ClassTypeSettings
Class type settings class.
public class ClassTypeSettings
- Inheritance
-
objectClassTypeSettings
- Extension Methods
Constructors
ClassTypeSettings(string, bool, bool, bool)
Constructor.
public ClassTypeSettings(string baseClassNames = null, bool showClasses = true, bool showEnumerations = false, bool showInterfaces = false)
Parameters
baseClassNames
stringBase class names (separated by semi-colon) to filter its child classes.
showClasses
boolIndicates if classes should be selected.
showEnumerations
boolIndicates if enumerations should be selected.
showInterfaces
boolIndicates if interfaces should be selected.
Properties
BaseClassNames
Gets or sets base class names, separated by semi-colon, to filter classes.
public string BaseClassNames { get; set; }
Property Value
- string
BaseTypes
Gets list of current base types for class validation
public List<Type> BaseTypes { get; }
Property Value
- List<Type>
CheckAutoCreation
Indicates whether automatic type creation by system should be checked.
public bool CheckAutoCreation { get; set; }
Property Value
- bool
Remarks
Checks whether system is able to create type automatically
ShowClasses
Indicates if classes should be selected.
public bool ShowClasses { get; set; }
Property Value
- bool
ShowEnumerations
Indicates if enumerations should be selected.
public bool ShowEnumerations { get; set; }
Property Value
- bool
ShowInterfaces
Indicates if interfaces should be selected.
public bool ShowInterfaces { get; set; }
Property Value
- bool
Methods
CheckInterfaces(Type)
Checks if selected class is child of given interface.
public bool CheckInterfaces(Type type)
Parameters
type
TypeType of selected class
Returns
- bool
GetCacheKey(string)
Returns key to access cached data for given assembly name.
public string GetCacheKey(string assemblyName)
Parameters
assemblyName
stringAssembly name
Returns
- string