6 implementations of Name
Microsoft.TemplateEngine.Cli (1)
CliTemplateInfo.cs (1)
44public string Name => _templateInfo.Name;
Microsoft.TemplateEngine.Edge (2)
FilterableTemplateInfo.cs (1)
40public string Name { get; private set; }
Settings\TemplateInfo.cs (1)
140public string Name { get; }
Microsoft.TemplateEngine.Utils (1)
IScanTemplateInfoExtensions.cs (1)
47public string Name => _templateInfo.Name;
Microsoft.TemplateSearch.Common (2)
Abstractions\TemplateSearchData.cs (1)
44public string Name => TemplateInfo.Name;
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (1)
105public string Name { get; private set; }
38 references to Name
Microsoft.TemplateEngine.Abstractions (2)
TemplateFiltering\MatchInfo.cs (1)
50/// Template name <see cref="ITemplateMetadata.Name"/>.
TemplateFiltering\MatchKind.cs (1)
18/// For example, <see cref="ITemplateMetadata.Name"/> contains the value of the filter but not equal to it.
Microsoft.TemplateEngine.Cli (7)
CliTemplateInfo.cs (1)
44public string Name => _templateInfo.Name;
Extensions.cs (1)
44stringBuilder.Append(template.Name);
HostSpecificDataLoader.cs (2)
57templateInfo.ShortNameList?[0] ?? templateInfo.Name); 84templateInfo.ShortNameList?[0] ?? templateInfo.Name,
TabularOutput\TemplateGroupDisplay.cs (2)
151Name = highestPrecedenceTemplate.Name, 212Name = highestPrecedenceTemplate.Name,
TemplateGroup.cs (1)
133return GetHighestPrecedenceTemplates().First().Name;
Microsoft.TemplateEngine.Edge (18)
FilterableTemplateInfo.cs (1)
93Name = source.Name,
Settings\TemplateCache.cs (2)
188templateName.Name, 196lastTemplate.Template.Name));
Settings\TemplateInfo.cs (1)
98Name = localizationInfo?.Name ?? template.Name;
Template\TemplateCreator.cs (10)
96return new TemplateCreationResult(CreationResultStatus.NotFound, templateInfo.Name, LocalizableStrings.TemplateCreator_TemplateCreationResult_Error_CouldNotLoadTemplate); 104CreationResultStatus.TemplateIssueDetected, template.Name, LocalizableStrings.TemplateCreator_TemplateCreationResult_Error_InvalidTemplate); 117CreationResultStatus.TemplateIssueDetected, template.Name, LocalizableStrings.TemplateCreator_TemplateCreationResult_Error_NoDefaultName); 140return new TemplateCreationResult(CreationResultStatus.MissingMandatoryParam, template.Name, "--name"); 184template.Name, 213templateName: template.Name, 223templateName: template.Name, 417failureResult = new TemplateCreationResult(CreationResultStatus.InvalidParamValues, template.Name, message); 425failureResult = new TemplateCreationResult(isExternalEvaluationInvalid ? CreationResultStatus.CondtionsEvaluationMismatch : CreationResultStatus.InvalidParamValues, template.Name, paramsWithInvalidValues.ToCsvString()); 436failureResult = new TemplateCreationResult(CreationResultStatus.MissingMandatoryParam, template.Name, string.Join(", ", missingParams));
Template\WellKnownSearchFilters.cs (2)
21int nameIndex = template.Name.IndexOf(name, StringComparison.OrdinalIgnoreCase); 23if (nameIndex == 0 && template.Name.Length == name.Length)
ValidationUtils.cs (2)
105string templateName = string.IsNullOrEmpty(template.Name) ? "<no name>" : template.Name;
Microsoft.TemplateEngine.Utils (5)
IScanTemplateInfoExtensions.cs (1)
47public string Name => _templateInfo.Name;
WellKnownSearchFilters.cs (4)
30/// - if <paramref name="name"/> is equal to <see cref="ITemplateMetadata.Name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Name"/> with <see cref="MatchKind.Exact"/>;<br/> 32/// - if <see cref="ITemplateMetadata.Name"/> contains <paramref name="name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Name"/> with <see cref="MatchKind.Partial"/>;<br/> 46int nameIndex = template.Name.IndexOf(name, StringComparison.CurrentCultureIgnoreCase); 48if (nameIndex == 0 && template.Name.Length == name.Length)
Microsoft.TemplateSearch.Common (6)
Abstractions\TemplateSearchData.cs (1)
44public string Name => TemplateInfo.Name;
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (3)
28if (string.IsNullOrWhiteSpace(templateInfo.Name)) 30throw new ArgumentException($"'{nameof(templateInfo.Name)}' cannot be null or whitespace.", nameof(templateInfo)); 39Name = templateInfo.Name;
TemplateSearchCache\TemplateSearchData.Json.cs (2)
69writer.WritePropertyName(nameof(ITemplateInfo.Name)); 70writer.WriteStringValue(value.TemplateInfo.Name);