Permalink
Browse files

Fixed formattings, added Admin tool

-Fixed formatting of cs files
-Removed tabs / converter to spaces
-Added Admin Tool client application
-Added Test project for Admin Tool
-Added Caliburn project to SharedLib
  • Loading branch information...
1 parent 29353c2 commit 05969b8993970b0508d8a3c969127cf7c8c26b52 @HEskandari HEskandari committed Aug 12, 2010
Showing with 30,396 additions and 30,403 deletions.
  1. +10 −10 .gitignore
  2. +17 −7 Rhino.Licensing.AdminTool/App.xaml
  3. +64 −64 Rhino.Licensing.AdminTool/App.xaml.cs
  4. +63 −63 Rhino.Licensing.AdminTool/Properties/Resources.Designer.cs
  5. +116 −116 Rhino.Licensing.AdminTool/Properties/Resources.resx
  6. +26 −26 Rhino.Licensing.AdminTool/Properties/Settings.Designer.cs
  7. +6 −6 Rhino.Licensing.AdminTool/Properties/Settings.settings
  8. +168 −143 Rhino.Licensing.AdminTool/Rhino.Licensing.AdminTool.csproj
  9. +2 −2 Rhino.Licensing.AdminTool/Startup/GuyWire.cs
  10. +5 −10 Rhino.Licensing.AdminTool/ViewModels/ProjectViewModel.cs
  11. +18 −14 Rhino.Licensing.AdminTool/ViewModels/ShellViewModel.cs
  12. +36 −3 Rhino.Licensing.AdminTool/Views/ProjectView.xaml
  13. +37 −37 Rhino.Licensing.Tests/BaseLicenseTest.cs
  14. +22 −24 Rhino.Licensing.Tests/Can_check_trial_date.cs
  15. +86 −86 Rhino.Licensing.Tests/Can_generate_and_validate_key.cs
  16. +113 −113 Rhino.Licensing.Tests/Can_use_floating_licenses.cs
  17. +180 −180 Rhino.Licensing.Tests/Can_use_subscription_license.cs
  18. +87 −87 Rhino.Licensing.Tests/Rhino.Licensing.Tests.csproj
  19. +9 −9 Rhino.Licensing.Tests/public_and_private.xml
  20. +3 −3 Rhino.Licensing.Tests/public_only.xml
  21. +66 −54 Rhino.Licensing.sln
  22. +438 −438 Rhino.Licensing/AbstractLicenseValidator.cs
  23. +28 −28 Rhino.Licensing/FloatingLicenseNotAvialableException.cs
  24. +10 −10 Rhino.Licensing/ILicensingService.cs
  25. +10 −10 Rhino.Licensing/ISubscriptionLicensingService.cs
  26. +7 −7 Rhino.Licensing/InvalidationType.cs
  27. +28 −28 Rhino.Licensing/LicenseFileNotFoundException.cs
  28. +119 −119 Rhino.Licensing/LicenseGenerator.cs
  29. +26 −26 Rhino.Licensing/LicenseNotFoundException.cs
  30. +11 −11 Rhino.Licensing/LicenseType.cs
  31. +59 −59 Rhino.Licensing/LicenseValidator.cs
  32. +196 −196 Rhino.Licensing/LicensingService.cs
  33. +123 −123 Rhino.Licensing/Rhino.Licensing.csproj
  34. +28 −28 Rhino.Licensing/RhinoLicensingException.cs
  35. +163 −163 Rhino.Licensing/SntpClient.cs
  36. +15 −15 Rhino.Licensing/StringLicenseValidator.cs
  37. +1,528 −1,528 SharedLibs/Caliburn.Core.xml
  38. +347 −347 SharedLibs/Caliburn.DynamicProxy.xml
  39. +93 −93 SharedLibs/Caliburn.FluentValidation.xml
  40. +6,666 −6,666 SharedLibs/Caliburn.PresentationFramework.xml
  41. +44 −44 SharedLibs/Caliburn.ShellFramework.xml
  42. +1,487 −1,487 SharedLibs/Caliburn.Testability.xml
  43. +92 −92 SharedLibs/Caliburn.Windsor.xml
  44. +3,455 −3,455 SharedLibs/Castle.Core.xml
  45. +1,471 −1,471 SharedLibs/Castle.DynamicProxy2.xml
  46. +5,672 −5,672 SharedLibs/Castle.MicroKernel.xml
  47. +1,571 −1,571 SharedLibs/Castle.Windsor.xml
  48. +263 −263 SharedLibs/Microsoft.Practices.ServiceLocation.xml
  49. BIN SharedLibs/xunit.dll
  50. +2,048 −2,132 SharedLibs/xunit.xml
  51. +20 −20 Tools/xUnit/xunit.console.exe.config
  52. +705 −705 Tools/xUnit/xunit.extensions.xml
  53. +407 −407 Tools/xUnit/xunit.runner.utility.xml
  54. +2,132 −2,132 Tools/xUnit/xunit.xml
View
@@ -1,11 +1,11 @@
-*resharper.user
-[Dd]ebug/
-[Rr]elease/
-build/
-[Bb]in/
-[Oo]bj/
-*.suo
-*.sln.cache
-_ReSharper.*/
-AssemblyInfo.cs
+*resharper.user
+[Dd]ebug/
+[Rr]elease/
+build/
+[Bb]in/
+[Oo]bj/
+*.suo
+*.sln.cache
+_ReSharper.*/
+AssemblyInfo.cs
*.user
@@ -1,7 +1,17 @@
-<Application x:Class="Rhino.Licensing.AdminTool.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Application.Resources>
-
- </Application.Resources>
-</Application>
+<Application x:Class="Rhino.Licensing.AdminTool.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+ <Application.Resources>
+
+ <Style TargetType="{x:Type TextBox}">
+ <Setter Property="Margin" Value="5" />
+ </Style>
+
+ <Style x:Key="Label" TargetType="{x:Type TextBlock}">
+ <Setter Property="Margin" Value="5" />
+ <Setter Property="VerticalAlignment" Value="Center"/>
+ <Setter Property="HorizontalAlignment" Value="Right"/>
+ </Style>
+
+ </Application.Resources>
+</Application>
@@ -1,64 +1,64 @@
-using System.Reflection;
-using Caliburn.Core;
-using Caliburn.Core.Configuration;
-using Caliburn.PresentationFramework;
-using Caliburn.Windsor;
-using Rhino.Licensing.AdminTool.Startup;
-
-namespace Rhino.Licensing.AdminTool
-{
- /// <summary>
- /// Interaction logic for App.xaml
- /// </summary>
- public partial class App
- {
- private GuyWire guyWire;
- private WindsorAdapter locatorAdapter;
-
- public App()
- {
- CreateGuyWire();
- CreateContainer();
- ConfigureFramework();
- }
-
- protected void CreateContainer()
- {
- locatorAdapter = new WindsorAdapter(guyWire.Container);
- }
-
- protected virtual void ConfigureFramework()
- {
- CaliburnFramework.Configure(locatorAdapter)
- .With.Core()
- .With.Assemblies(SelectAssemblies())
- .With.PresentationFramework()
- .Start();
- }
-
- protected virtual void CreateGuyWire()
- {
- guyWire = new GuyWire();
- guyWire.Wire();
- }
-
- protected override void OnStartup(System.Windows.StartupEventArgs e)
- {
- base.OnStartup(e);
-
- guyWire.ShowRootModel();
- }
-
- protected override void OnExit(System.Windows.ExitEventArgs e)
- {
- guyWire.Dewire();
-
- base.OnExit(e);
- }
-
- protected virtual Assembly[] SelectAssemblies()
- {
- return new[] { Assembly.GetEntryAssembly() };
- }
- }
-}
+using System.Reflection;
+using Caliburn.Core;
+using Caliburn.Core.Configuration;
+using Caliburn.PresentationFramework;
+using Caliburn.Windsor;
+using Rhino.Licensing.AdminTool.Startup;
+
+namespace Rhino.Licensing.AdminTool
+{
+ /// <summary>
+ /// Interaction logic for App.xaml
+ /// </summary>
+ public partial class App
+ {
+ private GuyWire guyWire;
+ private WindsorAdapter locatorAdapter;
+
+ public App()
+ {
+ CreateGuyWire();
+ CreateContainer();
+ ConfigureFramework();
+ }
+
+ protected void CreateContainer()
+ {
+ locatorAdapter = new WindsorAdapter(guyWire.Container);
+ }
+
+ protected void ConfigureFramework()
+ {
+ CaliburnFramework.Configure(locatorAdapter)
+ .With.Core()
+ .With.Assemblies(SelectAssemblies())
+ .With.PresentationFramework()
+ .Start();
+ }
+
+ protected void CreateGuyWire()
+ {
+ guyWire = new GuyWire();
+ guyWire.Wire();
+ }
+
+ protected override void OnStartup(System.Windows.StartupEventArgs e)
+ {
+ base.OnStartup(e);
+
+ guyWire.ShowRootModel();
+ }
+
+ protected override void OnExit(System.Windows.ExitEventArgs e)
+ {
+ guyWire.Dewire();
+
+ base.OnExit(e);
+ }
+
+ protected virtual Assembly[] SelectAssemblies()
+ {
+ return new[] { Assembly.GetEntryAssembly() };
+ }
+ }
+}
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 05969b8

Please sign in to comment.