Table of Contents

Class GenerateStrategyAttribute

Namespace
PatternKit.Generators
Assembly
PatternKit.Generators.Abstractions.dll
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class GenerateStrategyAttribute : Attribute
Inheritance
GenerateStrategyAttribute
Inherited Members

Constructors

GenerateStrategyAttribute(string, Type, StrategyKind)

public GenerateStrategyAttribute(string name, Type inType, StrategyKind kind)

Parameters

name string
inType Type
kind StrategyKind

GenerateStrategyAttribute(string, Type, Type, StrategyKind)

public GenerateStrategyAttribute(string name, Type inType, Type outType, StrategyKind kind)

Parameters

name string
inType Type
outType Type
kind StrategyKind

Properties

InType

public Type InType { get; }

Property Value

Type

Kind

public StrategyKind Kind { get; }

Property Value

StrategyKind

Name

public string Name { get; }

Property Value

string

OutType

public Type? OutType { get; }

Property Value

Type