Changeset 4940 for branches/UserManagement
- Timestamp:
- 11/25/10 23:09:16 (14 years ago)
- Location:
- branches/UserManagement
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/Client.cs
r4927 r4940 3 3 using System.Linq; 4 4 using System.Text; 5 using HeuristicLab.Services.Authentication.ServiceClient; 5 6 6 7 namespace HeuristicLab.Services.Authentication.ServiceClients 7 8 { 8 public class Client9 public class AuthenticationClient 9 10 { 10 11 11 // like OKBClient 12 } 12 private static AuthenticationClient instance; 13 public static AuthenticationClient Instance { 14 get { 15 if (instance == null) instance = new AuthenticationClient(); 16 return instance; 17 } 18 } 19 20 #region properties 21 22 public void createconnection() { 23 24 AuthenticationServiceClient service = new AuthenticationServiceClient(); 25 IList<User> users = service.GetUsers(new Guid("a3961e10 - 0691 - 4e6d - aede - fd838c3a929a")); 26 foreach (User u in users) { 27 Console.WriteLine(u.ToString()); 28 } 29 } 30 31 32 #endregion 33 34 public static void Main() { 35 AuthenticationClient auth = new AuthenticationClient(); 36 auth.createconnection(); 37 38 } 39 } 13 40 } -
branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/HeuristicLab.Services.Authentication.ServiceClient.csproj
r4925 r4940 7 7 <SchemaVersion>2.0</SchemaVersion> 8 8 <ProjectGuid>{8E698904-936D-4C7A-AB0D-6225778D2968}</ProjectGuid> 9 <OutputType> Library</OutputType>9 <OutputType>Exe</OutputType> 10 10 <AppDesignerFolder>Properties</AppDesignerFolder> 11 11 <RootNamespace>HeuristicLab.Services.Authentication.ServiceClients</RootNamespace> … … 31 31 <WarningLevel>4</WarningLevel> 32 32 </PropertyGroup> 33 <PropertyGroup> 34 <StartupObject /> 35 </PropertyGroup> 33 36 <ItemGroup> 34 37 <Reference Include="System" /> … … 52 55 <ItemGroup> 53 56 <None Include="app.config" /> 57 <None Include="HeuristicLab.snk" /> 54 58 <None Include="ServiceClients\GenerateServiceClients.cmd" /> 55 59 </ItemGroup> -
branches/UserManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.csproj
r4926 r4940 46 46 <ItemGroup> 47 47 <Compile Include="Convert.cs" /> 48 <Compile Include="Interface \IAuthenticationService.cs" />48 <Compile Include="Interfaces\IAuthenticationService.cs" /> 49 49 <Compile Include="Properties\AssemblyInfo.cs" /> 50 50 <Compile Include="AuthenticationService.cs" />
Note: See TracChangeset
for help on using the changeset viewer.