Exemplo n.º 1
0
            public Document Add(MemberAttribute attribute, out TextSpan?textSpan)
            {
                Debug.Assert(!attribute.IsChecked && attribute.IsEnabled);
                var result = Mapper.AddMemberAttribute(Symbol, attribute.AttributeClass, KnownTypes.ModelDesignerSpecAttribute).Result;

                textSpan = result.TextSpan;
                return(result.Document);
            }