Implemented interface member:
property
Constraints
Microsoft.TemplateEngine.Abstractions.ITemplateMetadata.Constraints
3 writes to Constraints
Microsoft.TemplateEngine.Edge (3)
Settings\TemplateInfo.cs (1)
92Constraints = template.Constraints;
Settings\TemplateInfoReader.cs (2)
134info.Constraints = constraints; 252info.Constraints = constraints;
6 references to Constraints
Microsoft.TemplateEngine.Edge (6)
Generated\361d1da7f942c932\TemplateCacheJsonSerializerContext.TemplateInfo.g.cs (2)
516Getter = static obj => ((global::Microsoft.TemplateEngine.Edge.Settings.TemplateInfo)obj).Constraints, 645global::System.Collections.Generic.IReadOnlyList<global::Microsoft.TemplateEngine.Abstractions.Constraints.TemplateConstraintInfo> __value_Constraints = ((global::Microsoft.TemplateEngine.Edge.Settings.TemplateInfo)value).Constraints;
Settings\TemplateInfoReader.cs (4)
121JsonArray? constraintsArray = entry.Get<JsonArray>(nameof(info.Constraints)); 130throw new ArgumentException($"{nameof(entry)} has {nameof(info.Constraints)} property which item doesn't have {nameof(TemplateConstraintInfo.Type)}.", nameof(entry)); 239if (TryGetPropertyCaseInsensitive(entry, nameof(info.Constraints), out JsonElement constraintsToken) 248throw new ArgumentException($"{nameof(entry)} has {nameof(info.Constraints)} property which item doesn't have {nameof(TemplateConstraintInfo.Type)}.", nameof(entry));