PageRenderTime 33ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/ExpressInteropBinding/Microsoft.ServiceModel.Interop.Samples/IHelloWorld.cs

#
C# | 24 lines | 10 code | 3 blank | 11 comment | 0 complexity | 4d7e664b8eae1d56f9cdf96ff3025072 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, Apache-2.0
  1. // <copyright file="InteropSecurityMode.cs" company="Microsoft Corporation">
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. // </copyright>
  4. namespace Microsoft.ServiceModel.Interop.Samples
  5. {
  6. using System.ServiceModel;
  7. /// <summary>
  8. /// Service Contract
  9. /// </summary>
  10. [ServiceContract]
  11. public interface IHelloWorld
  12. {
  13. /// <summary>
  14. /// Operation contract
  15. /// </summary>
  16. /// <param name="name">Name to be used in the implementation</param>
  17. /// <returns>A hello world string</returns>
  18. [OperationContract]
  19. string Hello(string name);
  20. }
  21. }