public UwpEntry(UwpTraceCode code, string description, StringCache stringCache) : base(stringCache) { this.Code = code; this.BindingPath = string.Empty; this.DataItemType = string.Empty; this.TargetElementType = string.Empty; this.TargetElementName = string.Empty; this.TargetProperty = string.Empty; this.TargetPropertyType = string.Empty; this.Description = stringCache.Get(description); }
public UwpEntry(UwpTraceCode code, Match descriptionMatch, Match bindingExpressionMatch, StringCache stringCache) : base(stringCache) { this.Code = code; this.BindingPath = stringCache.Get(bindingExpressionMatch.Groups[nameof(this.BindingPath)].Value); this.DataItemType = stringCache.Get(bindingExpressionMatch.Groups[nameof(this.DataItemType)].Value); this.TargetElementType = stringCache.Get(bindingExpressionMatch.Groups[nameof(this.TargetElementType)].Value); this.TargetElementName = stringCache.Get(bindingExpressionMatch.Groups[nameof(this.TargetElementName)].Value); this.TargetProperty = stringCache.Get(bindingExpressionMatch.Groups[nameof(this.TargetProperty)].Value); this.TargetPropertyType = stringCache.Get(bindingExpressionMatch.Groups[nameof(this.TargetPropertyType)].Value); this.Description = stringCache.Get(this.CreateDescription(descriptionMatch)); }