Adding interface project.
authorsl
Thu, 14 Aug 2014 09:12:59 +0200
changeset 24f442150ff735
parent 23 bb8b0b9fa21b
child 25 6f10207a89a8
Adding interface project.
Interface/Interface.cs
Interface/Properties/AssemblyInfo.cs
Interface/SharpDisplayInterface.csproj
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Interface/Interface.cs	Thu Aug 14 09:12:59 2014 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Linq;
     1.7 +using System.Text;
     1.8 +using System.Threading.Tasks;
     1.9 +using System.ServiceModel;
    1.10 +using System.Collections;
    1.11 +
    1.12 +
    1.13 +namespace SharpDisplayInterface
    1.14 +{
    1.15 +
    1.16 +    [ServiceContract(CallbackContract = typeof(IDisplayServiceCallback))]
    1.17 +    public interface IDisplayService
    1.18 +    {
    1.19 +        [OperationContract(IsOneWay = true)]
    1.20 +        void Connect(string aClientName);
    1.21 +
    1.22 +        [OperationContract(IsOneWay = true)]
    1.23 +        void SetText(int aLineIndex, string aText);
    1.24 +
    1.25 +        [OperationContract(IsOneWay = true)]
    1.26 +        void SetTexts(System.Collections.Generic.IList<string> aTexts);
    1.27 +    }
    1.28 +
    1.29 +
    1.30 +    public interface IDisplayServiceCallback
    1.31 +    {
    1.32 +        [OperationContract(IsOneWay = true)]
    1.33 +        void OnConnected();
    1.34 +
    1.35 +        [OperationContract(IsOneWay = true)]
    1.36 +        void OnServerClosing();
    1.37 +    }
    1.38 +
    1.39 +
    1.40 +
    1.41 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/Interface/Properties/AssemblyInfo.cs	Thu Aug 14 09:12:59 2014 +0200
     2.3 @@ -0,0 +1,36 @@
     2.4 +using System.Reflection;
     2.5 +using System.Runtime.CompilerServices;
     2.6 +using System.Runtime.InteropServices;
     2.7 +
     2.8 +// General Information about an assembly is controlled through the following 
     2.9 +// set of attributes. Change these attribute values to modify the information
    2.10 +// associated with an assembly.
    2.11 +[assembly: AssemblyTitle("SharpDisplayInterface")]
    2.12 +[assembly: AssemblyDescription("")]
    2.13 +[assembly: AssemblyConfiguration("")]
    2.14 +[assembly: AssemblyCompany("")]
    2.15 +[assembly: AssemblyProduct("SharpDisplayInterface")]
    2.16 +[assembly: AssemblyCopyright("Copyright ©  2014")]
    2.17 +[assembly: AssemblyTrademark("")]
    2.18 +[assembly: AssemblyCulture("")]
    2.19 +
    2.20 +// Setting ComVisible to false makes the types in this assembly not visible 
    2.21 +// to COM components.  If you need to access a type in this assembly from 
    2.22 +// COM, set the ComVisible attribute to true on that type.
    2.23 +[assembly: ComVisible(false)]
    2.24 +
    2.25 +// The following GUID is for the ID of the typelib if this project is exposed to COM
    2.26 +[assembly: Guid("53136116-6621-4ac0-8a01-bf746674b192")]
    2.27 +
    2.28 +// Version information for an assembly consists of the following four values:
    2.29 +//
    2.30 +//      Major Version
    2.31 +//      Minor Version 
    2.32 +//      Build Number
    2.33 +//      Revision
    2.34 +//
    2.35 +// You can specify all the values or you can default the Build and Revision Numbers 
    2.36 +// by using the '*' as shown below:
    2.37 +// [assembly: AssemblyVersion("1.0.*")]
    2.38 +[assembly: AssemblyVersion("1.0.0.0")]
    2.39 +[assembly: AssemblyFileVersion("1.0.0.0")]
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/Interface/SharpDisplayInterface.csproj	Thu Aug 14 09:12:59 2014 +0200
     3.3 @@ -0,0 +1,54 @@
     3.4 +<?xml version="1.0" encoding="utf-8"?>
     3.5 +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3.6 +  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
     3.7 +  <PropertyGroup>
     3.8 +    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     3.9 +    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    3.10 +    <ProjectGuid>{88EEE0DC-ABBC-4738-BAD6-7E08CF7F50F9}</ProjectGuid>
    3.11 +    <OutputType>Library</OutputType>
    3.12 +    <AppDesignerFolder>Properties</AppDesignerFolder>
    3.13 +    <RootNamespace>SharpDisplayInterface</RootNamespace>
    3.14 +    <AssemblyName>SharpDisplayInterface</AssemblyName>
    3.15 +    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    3.16 +    <FileAlignment>512</FileAlignment>
    3.17 +  </PropertyGroup>
    3.18 +  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    3.19 +    <DebugSymbols>true</DebugSymbols>
    3.20 +    <DebugType>full</DebugType>
    3.21 +    <Optimize>false</Optimize>
    3.22 +    <OutputPath>bin\Debug\</OutputPath>
    3.23 +    <DefineConstants>DEBUG;TRACE</DefineConstants>
    3.24 +    <ErrorReport>prompt</ErrorReport>
    3.25 +    <WarningLevel>4</WarningLevel>
    3.26 +  </PropertyGroup>
    3.27 +  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    3.28 +    <DebugType>pdbonly</DebugType>
    3.29 +    <Optimize>true</Optimize>
    3.30 +    <OutputPath>bin\Release\</OutputPath>
    3.31 +    <DefineConstants>TRACE</DefineConstants>
    3.32 +    <ErrorReport>prompt</ErrorReport>
    3.33 +    <WarningLevel>4</WarningLevel>
    3.34 +  </PropertyGroup>
    3.35 +  <ItemGroup>
    3.36 +    <Reference Include="System" />
    3.37 +    <Reference Include="System.Core" />
    3.38 +    <Reference Include="System.ServiceModel" />
    3.39 +    <Reference Include="System.Xml.Linq" />
    3.40 +    <Reference Include="System.Data.DataSetExtensions" />
    3.41 +    <Reference Include="Microsoft.CSharp" />
    3.42 +    <Reference Include="System.Data" />
    3.43 +    <Reference Include="System.Xml" />
    3.44 +  </ItemGroup>
    3.45 +  <ItemGroup>
    3.46 +    <Compile Include="Interface.cs" />
    3.47 +    <Compile Include="Properties\AssemblyInfo.cs" />
    3.48 +  </ItemGroup>
    3.49 +  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    3.50 +  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
    3.51 +       Other similar extension points exist, see Microsoft.Common.targets.
    3.52 +  <Target Name="BeforeBuild">
    3.53 +  </Target>
    3.54 +  <Target Name="AfterBuild">
    3.55 +  </Target>
    3.56 +  -->
    3.57 +</Project>
    3.58 \ No newline at end of file