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 HierarchySystemObject
SystemAttribute
Ozeki.CommonBaseTypeRequiredAttribute
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic sealed class BaseTypeRequiredAttribute : Attribute
Public NotInheritable Class BaseTypeRequiredAttribute
Inherits Attribute
public ref class BaseTypeRequiredAttribute sealed : public Attribute
[<SealedAttribute>]
type BaseTypeRequiredAttribute =
class
inherit Attribute
end
The BaseTypeRequiredAttribute type exposes the following members.
Constructors
Properties
Example[BaseTypeRequired(typeof(IComponent)]
public class ComponentAttribute : Attribute { }
[Component]
public class MyComponent : IComponent { }
See Also