ScaffoldingAssemblyDirectiveProcessor Class
This directive processor supports a T4 directive like this: {#@ ScaffoldingAssembly Processor="ScaffoldingAssemblyLoader" #} By using the above directive, a T4 template will be able to load the Microsoft.AspNet.Scaffolding.dll and then can import any namespaces from there to execute code in them.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Scaffolding.Templating.ScaffoldingAssemblyDirectiveProcessor
Namespace: Microsoft.AspNet.Scaffolding.Templating
Assembly: Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)
Syntax
'Declaration
<DirectiveProcessorAttribute("ScaffoldingAssemblyLoader")> _
<SupportedDirectiveAttribute("ScaffoldingAssembly")> _
Public Class ScaffoldingAssemblyDirectiveProcessor _
Implements IDirectiveProcessor
'Usage
Dim instance As ScaffoldingAssemblyDirectiveProcessor
[DirectiveProcessorAttribute("ScaffoldingAssemblyLoader")]
[SupportedDirectiveAttribute("ScaffoldingAssembly")]
public class ScaffoldingAssemblyDirectiveProcessor : IDirectiveProcessor
[DirectiveProcessorAttribute(L"ScaffoldingAssemblyLoader")]
[SupportedDirectiveAttribute(L"ScaffoldingAssembly")]
public ref class ScaffoldingAssemblyDirectiveProcessor : IDirectiveProcessor
[<DirectiveProcessorAttribute("ScaffoldingAssemblyLoader")>]
[<SupportedDirectiveAttribute("ScaffoldingAssembly")>]
type ScaffoldingAssemblyDirectiveProcessor =
class
interface IDirectiveProcessor
end
public class ScaffoldingAssemblyDirectiveProcessor implements IDirectiveProcessor
The ScaffoldingAssemblyDirectiveProcessor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ScaffoldingAssemblyDirectiveProcessor | Initializes a new instance of the ScaffoldingAssemblyDirectiveProcessor class. |
Top
Properties
Name | Description | |
---|---|---|
Errors | Error collection for DirectiveProcessor to add Errors/Warnings to. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.AspNet.Scaffolding.Templating Namespace