Implemented interface member:
property
Constraints
Microsoft.TemplateEngine.Abstractions.ITemplateMetadata.Constraints
2 writes to Constraints
Microsoft.TemplateEngine.Edge (2)
Settings\TemplateInfo.cs (1)
91Constraints = template.Constraints;
Settings\TemplateInfoReader.cs (1)
133info.Constraints = constraints;
4 references to Constraints
Microsoft.TemplateEngine.Edge (4)
_generated\30\TemplateCacheJsonSerializerContext.TemplateInfo.g.cs (2)
514Getter = static obj => ((global::Microsoft.TemplateEngine.Edge.Settings.TemplateInfo)obj).Constraints, 643global::System.Collections.Generic.IReadOnlyList<global::Microsoft.TemplateEngine.Abstractions.Constraints.TemplateConstraintInfo> __value_Constraints = ((global::Microsoft.TemplateEngine.Edge.Settings.TemplateInfo)value).Constraints;
Settings\TemplateInfoReader.cs (2)
120JsonArray? constraintsArray = entry.Get<JsonArray>(nameof(info.Constraints)); 129throw new ArgumentException($"{nameof(entry)} has {nameof(info.Constraints)} property which item doesn't have {nameof(TemplateConstraintInfo.Type)}.", nameof(entry));