public ReflectionParameterViewModel(MethodViewModel parent, ParameterInfo info) : base(parent) { Info = info; if (info.ParameterType.IsByRef) { Type = new ReflectionTypeViewModel(info.ParameterType.GetElementType()); } else { Type = new ReflectionTypeViewModel(info.ParameterType); } }
public ParameterViewModel(MethodViewModel parent) { Parent = parent; }
public SymbolParameterViewModel(MethodViewModel parent, IParameterSymbol symbol) : base(parent) { Symbol = symbol; Type = new SymbolTypeViewModel(symbol.Type); }