public OverrideCompletionData(IMethod method) : base(GetName(method, ConversionFlags.None), "override " + GetName(method, ConversionFlags.ShowReturnType | ConversionFlags.ShowAccessibility) + "\n\n" + method.Documentation, ScriptControl.GetIcon(method)) { this.member = method; }
public CodeCompletionData(IEvent e) { member = e; ambience = Parser.ProjectParser.CurrentAmbience; ambience.ConversionFlags = ConversionFlags.ShowReturnType | ConversionFlags.ShowParameterNames | ConversionFlags.ShowModifiers; imageIndex = ScriptControl.GetIcon(e); text = e.Name; description = ambience.Convert(e); documentation = e.Documentation; GetPriority(e.DotNetName); }
public CodeCompletionData(IProperty property) { _member = property; _ambience = Parser.ProjectParser.CurrentAmbience; _ambience.ConversionFlags = ConversionFlags.ShowReturnType | ConversionFlags.ShowParameterNames | ConversionFlags.ShowModifiers; _imageIndex = ScriptControl.GetIcon(property); _text = property.Name; _description = _ambience.Convert(property); _documentation = property.Documentation; GetPriority(property.DotNetName); }
public CodeCompletionData(IClass c) { ambience = Parser.ProjectParser.CurrentAmbience; // save class (for the delegate description shortcut) this.c = c; imageIndex = ScriptControl.GetIcon(c); ambience.ConversionFlags = ConversionFlags.None; text = ambience.Convert(c); ambience.ConversionFlags = ConversionFlags.UseFullyQualifiedNames | ConversionFlags.ShowReturnType | ConversionFlags.ShowModifiers; description = ambience.Convert(c); documentation = c.Documentation; GetPriority(c.DotNetName); }
public OverrideCompletionData(IProperty property) : base(property.Name, "override " + property.Name + "\n\n" + property.Documentation, ScriptControl.GetIcon(property)) { this.member = property; }