예제 #1
0
        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)));
        }
예제 #2
0
        internal ParamStorageAdornment(ParamStorageTag paramStorageTag, Brush color)
        {
            //Text = "ref";
            FontSize = FontSize * 0.75;

            //Background = Brushes.AntiqueWhite;
            Foreground    = color;
            TextAlignment = TextAlignment.Center;

            Update(paramStorageTag);
        }