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
namestringinTypeTypekindStrategyKind
GenerateStrategyAttribute(string, Type, Type, StrategyKind)
public GenerateStrategyAttribute(string name, Type inType, Type outType, StrategyKind kind)
Parameters
namestringinTypeTypeoutTypeTypekindStrategyKind
Properties
InType
public Type InType { get; }
Property Value
Kind
public StrategyKind Kind { get; }
Property Value
Name
public string Name { get; }
Property Value
OutType
public Type? OutType { get; }