internal void Update(ParamStorageTag paramStorageTag) { var txt = paramStorageTag.Type == 0 ? "ref " : paramStorageTag.Type == 1 ? "out " : "lazy "; Inlines.Clear(); Inlines.Add(new Italic(new Run(txt))); }
internal ParamStorageAdornment(ParamStorageTag paramStorageTag, Brush color) { //Text = "ref"; FontSize = FontSize * 0.75; //Background = Brushes.AntiqueWhite; Foreground = color; TextAlignment = TextAlignment.Center; Update(paramStorageTag); }