Class TemplatePartAttribute

Namespace
Forma
Assembly
Forma.dll
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class TemplatePartAttribute : Attribute
Inheritance
TemplatePartAttribute
Inherited Members

Constructors

TemplatePartAttribute(string, Type, bool)

public TemplatePartAttribute(string name, Type partType, bool isRequired = true)

Parameters

name string
partType Type
isRequired bool

Properties

IsRequired

public bool IsRequired { get; }

Property Value

bool

Name

public string Name { get; }

Property Value

string

PartType

public Type PartType { get; }

Property Value

Type