示例#1
0
 public SymbolPropertyViewModel(ClassViewModel effectiveParent, ClassViewModel declaringParent, IPropertySymbol symbol)
 {
     Parent          = declaringParent;
     EffectiveParent = effectiveParent;
     Symbol          = symbol;
     Type            = new SymbolTypeViewModel(Symbol.Type);
 }
示例#2
0
 public SymbolClassViewModel(INamedTypeSymbol symbol)
 {
     Symbol = symbol;
     Type   = new SymbolTypeViewModel(Symbol);
 }
示例#3
0
 public SymbolParameterViewModel(MethodViewModel parent, IParameterSymbol symbol) : base(parent)
 {
     Symbol = symbol;
     Type   = new SymbolTypeViewModel(symbol.Type);
 }