2 writes to TemplateInfo
Microsoft.TemplateSearch.Common (2)
Abstractions\TemplateSearchData.cs (1)
24TemplateInfo = new BlobStorageTemplateInfo(templateInfo);
TemplateSearchCache\TemplateSearchData.Json.cs (1)
30TemplateInfo = BlobStorageTemplateInfo.FromJObject(jObject);
48 references to TemplateInfo
Microsoft.TemplateSearch.Common (48)
Abstractions\TemplateSearchData.cs (25)
38public string Identity => TemplateInfo.Identity; 41public string? GroupIdentity => TemplateInfo.GroupIdentity; 44public string Name => TemplateInfo.Name; 47public IReadOnlyList<string> ShortNameList => TemplateInfo.ShortNameList; 50bool ITemplateMetadata.PreferDefaultName => TemplateInfo.PreferDefaultName; 53public string? Author => TemplateInfo.Author; 56public string? Description => TemplateInfo.Description; 59public IReadOnlyList<string> Classifications => TemplateInfo.Classifications; 62public IReadOnlyDictionary<string, string> TagsCollection => TemplateInfo.TagsCollection; 65public IParameterDefinitionSet ParameterDefinitions => TemplateInfo.ParameterDefinitions; 72public int Precedence => TemplateInfo.Precedence; 75public string? ThirdPartyNotices => TemplateInfo.ThirdPartyNotices; 78string? ITemplateMetadata.DefaultName => TemplateInfo.DefaultName; 80Guid ITemplateLocator.GeneratorId => TemplateInfo.GeneratorId; 83string ITemplateInfo.ShortName => TemplateInfo.ShortName; 86IReadOnlyDictionary<string, ICacheTag> ITemplateInfo.Tags => TemplateInfo.Tags; 89IReadOnlyDictionary<string, ICacheParameter> ITemplateInfo.CacheParameters => TemplateInfo.CacheParameters; 91string ITemplateLocator.MountPointUri => TemplateInfo.MountPointUri; 93string ITemplateLocator.ConfigPlace => TemplateInfo.ConfigPlace; 95string? IExtendedTemplateLocator.LocaleConfigPlace => TemplateInfo.LocaleConfigPlace; 97string? IExtendedTemplateLocator.HostConfigPlace => TemplateInfo.HostConfigPlace; 99IReadOnlyDictionary<string, IBaselineInfo> ITemplateMetadata.BaselineInfo => TemplateInfo.BaselineInfo; 102bool ITemplateInfo.HasScriptRunningPostActions { get => TemplateInfo.HasScriptRunningPostActions; set => throw new NotImplementedException(); } 104IReadOnlyList<Guid> ITemplateMetadata.PostActions => TemplateInfo.PostActions; 106IReadOnlyList<TemplateConstraintInfo> ITemplateMetadata.Constraints => TemplateInfo.Constraints;
TemplateSearchCache\TemplateSearchData.Json.cs (23)
58writer.WriteStringValue(value.TemplateInfo.Identity); 59if (!string.IsNullOrWhiteSpace(value.TemplateInfo.GroupIdentity)) 62writer.WriteStringValue(value.TemplateInfo.GroupIdentity); 64if (value.TemplateInfo.Precedence != 0) 67writer.WriteNumberValue(value.TemplateInfo.Precedence); 70writer.WriteStringValue(value.TemplateInfo.Name); 73foreach (string shortName in value.TemplateInfo.ShortNameList) 81if (!string.IsNullOrWhiteSpace(value.TemplateInfo.Author)) 84writer.WriteStringValue(value.TemplateInfo.Author); 86if (!string.IsNullOrWhiteSpace(value.TemplateInfo.Description)) 89writer.WriteStringValue(value.TemplateInfo.Description); 91if (!string.IsNullOrWhiteSpace(value.TemplateInfo.ThirdPartyNotices)) 94writer.WriteStringValue(value.TemplateInfo.ThirdPartyNotices); 97if (value.TemplateInfo.Classifications.Any()) 101foreach (string classification in value.TemplateInfo.Classifications) 111if (value.TemplateInfo.TagsCollection.Any()) 115foreach (var tag in value.TemplateInfo.TagsCollection) 123if (value.TemplateInfo.ParameterDefinitions.Any()) 129foreach (ITemplateParameter param in value.TemplateInfo.ParameterDefinitions) 177if (value.TemplateInfo.BaselineInfo.Any()) 180JsonSerializer.Serialize(writer, value.TemplateInfo.BaselineInfo, options); 183if (value.TemplateInfo.PostActions.Any()) 187foreach (Guid guid in value.TemplateInfo.PostActions)