Kanzi 4.1.0
PluginPropertyTypesFileAttribute Class Referencesealed

Attribute to locate property type definitions in the plugin assembly. More...

Inheritance diagram for PluginPropertyTypesFileAttribute:
[legend]
Collaboration diagram for PluginPropertyTypesFileAttribute:
[legend]

Public Member Functions

 PluginPropertyTypesFileAttribute (string resourcePath)
 Instantiates PluginPropertyTypesFileAttribute.
 

Static Public Member Functions

static string GetValue ([NotNull] Assembly assembly)
 Gets the resource path relative to assembly to plugin property types file.
 

Properties

string ResourcePath [get]
 Relative path to a resource file containing the property type definitions in assembly, e.g.
 

Detailed Description

Attribute to locate property type definitions in the plugin assembly.

Use in AssemblyInfo.cs like this [assembly: PluginPropertyTypesFile("Resources/PropertyTypes.xml")]

Constructor & Destructor Documentation

◆ PluginPropertyTypesFileAttribute()

PluginPropertyTypesFileAttribute ( string resourcePath)
inline

Instantiates PluginPropertyTypesFileAttribute.

Parameters
resourcePathRelative path to a resource file containing the property type definitions in assembly, e.g. "Resources/PropertyTypes.xml".

Member Function Documentation

◆ GetValue()

static string GetValue ( [NotNull] Assembly assembly)
inlinestatic

Gets the resource path relative to assembly to plugin property types file.

Property Documentation

◆ ResourcePath

string ResourcePath
get

Relative path to a resource file containing the property type definitions in assembly, e.g.

"Resources/PropertyTypes.xml".