PageRenderTime 15ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

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

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