Click or drag to resize
BaseTypeRequiredAttribute Class
When applied to a target attribute, specifies a requirement for any type marked with the target attribute to implement or inherit specific type or types.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Ozeki.CommonBaseTypeRequiredAttribute

Namespace: Ozeki.Common
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public sealed class BaseTypeRequiredAttribute : Attribute

The BaseTypeRequiredAttribute type exposes the following members.

Constructors
  NameDescription
Public methodBaseTypeRequiredAttribute
Initializes a new instance of the BaseTypeRequiredAttribute class
Top
Properties
  NameDescription
Public propertyBaseType
Top
Examples
[BaseTypeRequired(typeof(IComponent)] // Specify requirement
public class ComponentAttribute : Attribute { }
[Component] // ComponentAttribute requires implementing IComponent interface
public class MyComponent : IComponent { }
See Also