Exemple #1
0
 /// <summary>
 /// Gets contained members for an instance
 /// </summary>
 /// <param name="self">
 /// The current CTextEditorExtension
 /// <see cref="CTextEditorExtension"/>
 /// </param>
 /// <param name="completionExtension">
 /// The extension that triggered the completion
 /// (e.g. "->")
 /// <see cref="System.String"/>
 /// </param>
 /// <param name="completionText">
 /// The identifier that triggered the completion
 /// (e.g. "blah->")
 /// <see cref="System.String"/>
 /// </param>
 /// <returns>
 /// Completion data for the instance
 /// <see cref="CompletionDataList"/>
 /// </returns>
 private static CompletionDataList GetInstanceMembers(CTextEditorExtension self, string completionExtension, string completionText)
 {
     return(self.GetMembersOfInstance(completionText, ("->" == completionExtension)));
 }
		/// <summary>
		/// Gets contained members for an instance
		/// </summary>
		/// <param name="self">
		/// The current CTextEditorExtension
		/// <see cref="CTextEditorExtension"/>
		/// </param>
		/// <param name="completionExtension">
		/// The extension that triggered the completion 
		/// (e.g. "->")
		/// <see cref="System.String"/>
		/// </param>
		/// <param name="completionText">
		/// The identifier that triggered the completion
		/// (e.g. "blah->")
		/// <see cref="System.String"/>
		/// </param>
		/// <returns>
		/// Completion data for the instance
		/// <see cref="CompletionDataList"/>
		/// </returns>
		private static CompletionDataList GetInstanceMembers (CTextEditorExtension self, string completionExtension, string completionText) {
			return self.GetMembersOfInstance (completionText, ("->" == completionExtension));
		}
Exemple #3
0
 /// <summary>
 /// Gets contained members for a namespace or class
 /// </summary>
 /// <param name="self">
 /// The current CTextEditorExtension
 /// <see cref="CTextEditorExtension"/>
 /// </param>
 /// <param name="completionExtension">
 /// The extension that triggered the completion
 /// (e.g. "::")
 /// <see cref="System.String"/>
 /// </param>
 /// <param name="completionText">
 /// The identifier that triggered the completion
 /// (e.g. "Foo::")
 /// <see cref="System.String"/>
 /// </param>
 /// <returns>
 /// Completion data for the namespace or class
 /// <see cref="CompletionDataList"/>
 /// </returns>
 private static CompletionDataList GetItemMembers(CTextEditorExtension self, string completionExtension, string completionText)
 {
     return(self.GetMembersOfItem(completionText));
 }
		/// <summary>
		/// Gets contained members for a namespace or class
		/// </summary>
		/// <param name="self">
		/// The current CTextEditorExtension
		/// <see cref="CTextEditorExtension"/>
		/// </param>
		/// <param name="completionExtension">
		/// The extension that triggered the completion 
		/// (e.g. "::")
		/// <see cref="System.String"/>
		/// </param>
		/// <param name="completionText">
		/// The identifier that triggered the completion
		/// (e.g. "Foo::")
		/// <see cref="System.String"/>
		/// </param>
		/// <returns>
		/// Completion data for the namespace or class
		/// <see cref="CompletionDataList"/>
		/// </returns>
		private static CompletionDataList GetItemMembers (CTextEditorExtension self, string completionExtension, string completionText) {
			return self.GetMembersOfItem (completionText);
		}