RequireServiceAttribute 类

定义

public ref class RequireServiceAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class RequireServiceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type RequireServiceAttribute = class
    inherit Attribute
Public NotInheritable Class RequireServiceAttribute
Inherits Attribute
继承
RequireServiceAttribute
属性

构造函数

RequireServiceAttribute(Type[])

属性

ServiceTypes

适用于