Name | Modifier | Summary |
---|---|---|
DmnExtendableExtensions | public static | IDmnExtendable extension methods to access the Extensions |
Name | Modifier | Summary |
---|---|---|
IDmnExtendable | public abstract | DMN definition classes that can have extensions |
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Sources: engine\definition\extensions\DmnExtendableExtensions.cs
IDmnExtendable extension methods to access the Extensions
public static class DmnExtendableExtensions
Inheritance: object
Name | Modifier | Summary |
---|---|---|
AddExtension(IDmnExtendable, object) | public static | Adds extension to element |
GetExtension<TExtension>(IDmnExtendable) | public static | Get the first extension of type TExtension from element |
GetExtensions<TExtension>(IDmnExtendable) | public static | Get all extensions of type TExtension from element |
HasExtension<TExtension>(IDmnExtendable) | public static | Check whether element has the extension of type TExtension |
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Type: DmnExtendableExtensions
Sources: engine\definition\extensions\DmnExtendableExtensions.cs
Adds extension to element
public static void AddExtension(this IDmnExtendable element, object extension)
Method parameters
- net.adamec.lib.common.dmn.engine.engine.definition.extensions.IDmnExtendable element
- DMN element to add the extension to
- object extension
- Extension to add
- System.ArgumentNullException
- When element or extension is null
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Type: DmnExtendableExtensions
Sources: engine\definition\extensions\DmnExtendableExtensions.cs
Get the first extension of type TExtension from element
public static DmnExtendableExtensions.TExtension GetExtension<TExtension>(this IDmnExtendable element)
Type parameters
- TExtension
- Type of the extension
- net.adamec.lib.common.dmn.engine.engine.definition.extensions.IDmnExtendable element
- DMN element
- net.adamec.lib.common.dmn.engine.engine.definition.extensions.DmnExtendableExtensions.TExtension
- The first extension of type TExtension from element or default value of TExtension
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Type: DmnExtendableExtensions
Sources: engine\definition\extensions\DmnExtendableExtensions.cs
Get all extensions of type TExtension from element
public static DmnExtendableExtensions.TExtension[] GetExtensions<TExtension>(this IDmnExtendable element)
Type parameters
- TExtension
- Type of the extension
- net.adamec.lib.common.dmn.engine.engine.definition.extensions.IDmnExtendable element
- DMN element
- net.adamec.lib.common.dmn.engine.engine.definition.extensions.DmnExtendableExtensions.TExtension[]
- All extensions of type TExtension from element or empty array when no such extension is found
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Type: DmnExtendableExtensions
Sources: engine\definition\extensions\DmnExtendableExtensions.cs
Check whether element has the extension of type TExtension
public static bool HasExtension<TExtension>(this IDmnExtendable element)
Type parameters
- TExtension
- Type of the extension
- net.adamec.lib.common.dmn.engine.engine.definition.extensions.IDmnExtendable element
- DMN element
- bool
- True when element has the extension of type TExtension otherwise false
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Sources: engine\definition\extensions\IDmnExtendable.cs
DMN definition classes that can have extensions
public interface IDmnExtendable
Implemented by: net.adamec.lib.common.dmn.engine.engine.decisions.DmnDecision, net.adamec.lib.common.dmn.engine.engine.decisions.IDmnDecision, net.adamec.lib.common.dmn.engine.engine.decisions.expression.DmnExpressionDecision, net.adamec.lib.common.dmn.engine.engine.decisions.table.DmnDecisionTable, net.adamec.lib.common.dmn.engine.engine.definition.DmnDefinition, net.adamec.lib.common.dmn.engine.engine.definition.DmnVariableDefinition, net.adamec.lib.common.dmn.engine.engine.definition.IDmnDefinition, net.adamec.lib.common.dmn.engine.engine.definition.IDmnElement, net.adamec.lib.common.dmn.engine.engine.definition.IDmnVariable
Name | Modifier | Summary |
---|---|---|
Extensions | public abstract | List of extensions that can be used to any related data. Engine doesn't neither manage nor touches the extensions |
Go to namespaces or types
Namespace: net.adamec.lib.common.dmn.engine.engine.definition.extensions
Assembly: net.adamec.lib.common.dmn.engine
Type: IDmnExtendable
Sources: engine\definition\extensions\IDmnExtendable.cs
List of extensions that can be used to any related data. Engine doesn't neither manage nor touches the extensions
public abstract List<object> Extensions { get; }
Property value
Go to namespaces or types