Click or drag to resize

GenerateBindableClassAttribute Class

Optional attribute to supplement GenerateBindablePropertyAttribute.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Emulate3D.SourceGeneratorsGenerateBindableClassAttribute

Namespace: Emulate3D.SourceGenerators
Assembly: Emulate3D.SourceGenerators (in Emulate3D.SourceGenerators.dll) Version: 19.01.00
Syntax
C#
public class GenerateBindableClassAttribute : Attribute

The GenerateBindableClassAttribute type exposes the following members.

Constructors
 NameDescription
Public methodGenerateBindableClassAttributeInitializes a new instance of the GenerateBindableClassAttribute class
Top
Properties
 NameDescription
Public propertyGenerateAspectMembers Determines if the generated class generates aspect helper members.

Only applicable if the template class both inherits from VisualAspect and implements IBindableItemOwner, whether in the template class, or in the generated class by making use of ImplementIBindableItemOwner.

Does not generate members that have already been implemented in the template class.

Public propertyImplementIBindableItemOwner Determines if the generated class implements IBindableItemOwner.

Only applicable if the template class generates bindable properties. If the template class already implements IBindableItemOwner but not its members, then only these will be generated. If the template class doesn't implement IBindableItemOwner but implicitly implements its members, then just the interface is implemented. If the template class implements both IBindableItemOwner and its members, then this attribute property is ignored and nothing is generated.

Top
See Also