/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
- // <copyright file="InteropSecurityMode.cs" company="Microsoft Corporation">
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // </copyright>
-
- namespace Microsoft.ServiceModel.Interop.Samples
- {
- using System.ServiceModel;
-
- /// <summary>
- /// Service Contract
- /// </summary>
- [ServiceContract]
- public interface IHelloWorld
- {
- /// <summary>
- /// Operation contract
- /// </summary>
- /// <param name="name">Name to be used in the implementation</param>
- /// <returns>A hello world string</returns>
- [OperationContract]
- string Hello(string name);
- }
- }
-