Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

31 lines
1.1 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IIntellisenseBuilder.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.ComponentModel {
/// <devdoc>
///
/// </devdoc>
public interface IIntellisenseBuilder {
/// <devdoc>
/// Return a localized name.
/// </devdoc>
string Name { get; }
/// <devdoc>
/// Show the builder and return a boolean indicating whether value should be replaced with newValue
/// - false if the user cancels for example
///
/// language - indicates which language service is calling the builder
/// value - expression being edited
/// newValue - return the new value
/// </devdoc>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference")]
bool Show(string language, string value, ref string newValue);
}
}