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

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

            Update(paramStorageTag);
        }