The Labs \ Source Viewer \ SSCLI \ System.ComponentModel \ IIntellisenseBuilder

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IIntellisenseBuilder.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.ComponentModel
  16. {
  17.    
  18.     /// <devdoc>
  19.     ///
  20.     /// </devdoc>
  21.     public interface IIntellisenseBuilder
  22.     {
  23.        
  24.         /// <devdoc>
  25.         /// Return a localized name.
  26.         /// </devdoc>
  27.         string Name {
  28.             get;
  29.         }
  30.        
  31.         /// <devdoc>
  32.         /// Show the builder and return a boolean indicating whether value should be replaced with newValue
  33.         /// - false if the user cancels for example
  34.         ///
  35.         /// language - indicates which language service is calling the builder
  36.         /// value - expression being edited
  37.         /// newValue - return the new value
  38.         /// </devdoc>
  39.         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference")]
  40.         bool Show(string language, string value, ref string newValue);
  41.     }
  42. }

Developer Fusion