Udostępnij za pośrednictwem


RazorCompiledItemAttribute Klasa

Definicja

Określa, że zestaw zawiera skompilowany zasób Razor.

public ref class RazorCompiledItemAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class RazorCompiledItemAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class RazorCompiledItemAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
type RazorCompiledItemAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type RazorCompiledItemAttribute = class
    inherit Attribute
Public NotInheritable Class RazorCompiledItemAttribute
Inherits Attribute
Dziedziczenie
RazorCompiledItemAttribute
Atrybuty

Konstruktory

RazorCompiledItemAttribute(Type, String, String)

Tworzy nowy adres RazorCompiledItemAttribute.

Właściwości

Identifier

Pobiera identyfikator skojarzony z skompilowanym elementem. Identyfikator jest używany programowo do lokalizowania określonego elementu określonego rodzaju i powinien być unikatowy w zestawie.

Kind

Pobiera rodzaj skompilowanego elementu. Rodzaj jest używany programowo do kojarzenia zachowań i semantyki z elementem.

Type

Type Pobiera skompilowany element. Typ powinien być zawarty w zestawie skojarzonym z tym wystąpieniem programu RazorCompiledItemAttribute.

Dotyczy