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