Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- renamed the solution

  • Loading branch information...
commit ad96abb8c38be34254ca05d2a17516666586b3c6 1 parent 3abb6bd
@kkozmic authored
Showing with 51 additions and 60 deletions.
  1. +1 −1  Silverlight/{Windsor.SLExample.sln → Castle.Samples.WindsorSilverlight.sln}
  2. +1 −1  Silverlight/Windsor.SLExample/App.xaml
  3. +2 −2 Silverlight/Windsor.SLExample/App.xaml.cs
  4. +4 −4 Silverlight/Windsor.SLExample/{Windsor.SLExample.csproj → Castle.Samples.WindsorSilverlight.csproj}
  5. +3 −4 Silverlight/Windsor.SLExample/Commands/SaveCustomerCommand.cs
  6. +2 −3 Silverlight/Windsor.SLExample/Commands/ShowCommand.cs
  7. +2 −2 Silverlight/Windsor.SLExample/Factories/CustomerFactory.cs
  8. +1 −1  Silverlight/Windsor.SLExample/Factories/IModelFactory.cs
  9. +1 −1  Silverlight/Windsor.SLExample/Installers/BehaviorInstaller.cs
  10. +1 −1  Silverlight/Windsor.SLExample/Installers/CommandInstaller.cs
  11. +3 −4 Silverlight/Windsor.SLExample/Installers/ModelInstaller.cs
  12. +4 −5 Silverlight/Windsor.SLExample/Installers/ServiceInstaller.cs
  13. +1 −1  Silverlight/Windsor.SLExample/Installers/ViewInstaller.cs
  14. +1 −1  Silverlight/Windsor.SLExample/Interceptors/EditableBehavior.cs
  15. +1 −1  Silverlight/Windsor.SLExample/Interceptors/NotifyPropertyChangedBehavior.cs
  16. +1 −1  Silverlight/Windsor.SLExample/Model/Customer.cs
  17. +2 −2 Silverlight/Windsor.SLExample/Services/ICustomerRepository.cs
  18. +1 −1  Silverlight/Windsor.SLExample/Services/IRepository.cs
  19. +3 −3 Silverlight/Windsor.SLExample/Services/Impl/CustomerRepository.cs
  20. +2 −3 Silverlight/Windsor.SLExample/Startup/GuyWire.cs
  21. +1 −1  Silverlight/Windsor.SLExample/Views/CustomersView.xaml
  22. +2 −3 Silverlight/Windsor.SLExample/Views/CustomersView.xaml.cs
  23. +1 −1  Silverlight/Windsor.SLExample/Views/EditCustomerView.xaml
  24. +2 −3 Silverlight/Windsor.SLExample/Views/EditCustomerView.xaml.cs
  25. +1 −1  Silverlight/Windsor.SLExample/Views/MainView.xaml
  26. +3 −4 Silverlight/Windsor.SLExample/Views/MainView.xaml.cs
  27. +1 −1  Silverlight/Windsor.SLExample/Views/NewCustomerView.xaml
  28. +3 −4 Silverlight/Windsor.SLExample/Views/NewCustomerView.xaml.cs
View
2  Silverlight/Windsor.SLExample.sln → Silverlight/Castle.Samples.WindsorSilverlight.sln
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windsor.SLExample", "Windsor.SLExample\Windsor.SLExample.csproj", "{AA5D0FCD-8441-4057-B2E3-B7D98EB129D4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.Samples.WindsorSilverlight", "Windsor.SLExample\Castle.Samples.WindsorSilverlight.csproj", "{AA5D0FCD-8441-4057-B2E3-B7D98EB129D4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
View
2  Silverlight/Windsor.SLExample/App.xaml
@@ -1,3 +1,3 @@
-<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Windsor.SLExample.App">
+<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Castle.Samples.WindsorSilverlight.App">
<Application.Resources></Application.Resources>
</Application>
View
4 Silverlight/Windsor.SLExample/App.xaml.cs
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample
+namespace Castle.Samples.WindsorSilverlight
{
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Browser;
- using Windsor.SLExample.Startup;
+ using Castle.Samples.WindsorSilverlight.Startup;
public partial class App
{
View
8 ...rlight/Windsor.SLExample/Windsor.SLExample.csproj → ...LExample/Castle.Samples.WindsorSilverlight.csproj
@@ -9,8 +9,8 @@
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Windsor.SLExample</RootNamespace>
- <AssemblyName>Windsor.SLExample</AssemblyName>
+ <RootNamespace>Castle.Samples.WindsorSilverlight</RootNamespace>
+ <AssemblyName>Castle.Samples.WindsorSilverlight</AssemblyName>
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
@@ -19,9 +19,9 @@
</SupportedCultures>
<XapOutputs>true</XapOutputs>
<GenerateSilverlightManifest>true</GenerateSilverlightManifest>
- <XapFilename>Windsor.SLExample.xap</XapFilename>
+ <XapFilename>Castle.Samples.WindsorSilverlight.xap</XapFilename>
<SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
- <SilverlightAppEntry>Windsor.SLExample.App</SilverlightAppEntry>
+ <SilverlightAppEntry>Castle.Samples.WindsorSilverlight.App</SilverlightAppEntry>
<TestPageFileName>Windsor.SLExampleTestPage.html</TestPageFileName>
<CreateTestPage>true</CreateTestPage>
<ValidateXaml>true</ValidateXaml>
View
7 Silverlight/Windsor.SLExample/Commands/SaveCustomerCommand.cs
@@ -12,16 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Commands
+namespace Castle.Samples.WindsorSilverlight.Commands
{
using System;
using System.ComponentModel;
using System.Windows.Input;
using Castle.Core;
-
- using Windsor.SLExample.Model;
- using Windsor.SLExample.Services;
+ using Castle.Samples.WindsorSilverlight.Model;
+ using Castle.Samples.WindsorSilverlight.Services;
[CastleComponent(typeof (SaveCustomerCommand), Lifestyle = LifestyleType.Transient)]
public class SaveCustomerCommand : ICommand
View
5 Silverlight/Windsor.SLExample/Commands/ShowCommand.cs
@@ -12,15 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Commands
+namespace Castle.Samples.WindsorSilverlight.Commands
{
using System;
using System.Windows;
using System.Windows.Input;
using Castle.Core;
-
- using Windsor.SLExample.Views;
+ using Castle.Samples.WindsorSilverlight.Views;
[CastleComponent(typeof (ShowCommand<>), Lifestyle = LifestyleType.Transient)]
public class ShowCommand<TView> : ICommand where TView : UIElement
View
4 Silverlight/Windsor.SLExample/Factories/CustomerFactory.cs
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Factories
+namespace Castle.Samples.WindsorSilverlight.Factories
{
- using Windsor.SLExample.Model;
+ using Castle.Samples.WindsorSilverlight.Model;
public delegate Customer CustomerFactory(string firstName, string lastName);
}
View
2  Silverlight/Windsor.SLExample/Factories/IModelFactory.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Factories
+namespace Castle.Samples.WindsorSilverlight.Factories
{
public interface IModelFactory
{
View
2  Silverlight/Windsor.SLExample/Installers/BehaviorInstaller.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Installers
+namespace Castle.Samples.WindsorSilverlight.Installers
{
using Castle.DynamicProxy;
using Castle.MicroKernel.Registration;
View
2  Silverlight/Windsor.SLExample/Installers/CommandInstaller.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Installers
+namespace Castle.Samples.WindsorSilverlight.Installers
{
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
View
7 Silverlight/Windsor.SLExample/Installers/ModelInstaller.cs
@@ -12,18 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Installers
+namespace Castle.Samples.WindsorSilverlight.Installers
{
using System;
using System.ComponentModel;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
+ using Castle.Samples.WindsorSilverlight.Interceptors;
+ using Castle.Samples.WindsorSilverlight.Model;
using Castle.Windsor;
- using Windsor.SLExample.Interceptors;
- using Windsor.SLExample.Model;
-
public class ModelInstaller : IWindsorInstaller
{
#region IWindsorInstaller Members
View
9 Silverlight/Windsor.SLExample/Installers/ServiceInstaller.cs
@@ -12,17 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Installers
+namespace Castle.Samples.WindsorSilverlight.Installers
{
using Castle.Facilities.TypedFactory;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
+ using Castle.Samples.WindsorSilverlight.Factories;
+ using Castle.Samples.WindsorSilverlight.Services;
+ using Castle.Samples.WindsorSilverlight.Services.Impl;
using Castle.Windsor;
- using Windsor.SLExample.Factories;
- using Windsor.SLExample.Services;
- using Windsor.SLExample.Services.Impl;
-
public class ServiceInstaller : IWindsorInstaller
{
#region IWindsorInstaller Members
View
2  Silverlight/Windsor.SLExample/Installers/ViewInstaller.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Installers
+namespace Castle.Samples.WindsorSilverlight.Installers
{
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
View
2  Silverlight/Windsor.SLExample/Interceptors/EditableBehavior.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Interceptors
+namespace Castle.Samples.WindsorSilverlight.Interceptors
{
using System.Collections.Generic;
using System.Linq;
View
2  Silverlight/Windsor.SLExample/Interceptors/NotifyPropertyChangedBehavior.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Interceptors
+namespace Castle.Samples.WindsorSilverlight.Interceptors
{
using System;
using System.ComponentModel;
View
2  Silverlight/Windsor.SLExample/Model/Customer.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Model
+namespace Castle.Samples.WindsorSilverlight.Model
{
using System;
View
4 Silverlight/Windsor.SLExample/Services/ICustomerRepository.cs
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Services
+namespace Castle.Samples.WindsorSilverlight.Services
{
- using Windsor.SLExample.Model;
+ using Castle.Samples.WindsorSilverlight.Model;
public interface ICustomerRepository : IRepository<Customer>
{
View
2  Silverlight/Windsor.SLExample/Services/IRepository.cs
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Services
+namespace Castle.Samples.WindsorSilverlight.Services
{
using System;
using System.Collections.Generic;
View
6 Silverlight/Windsor.SLExample/Services/Impl/CustomerRepository.cs
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Services.Impl
+namespace Castle.Samples.WindsorSilverlight.Services.Impl
{
using System;
using System.Collections.Generic;
using System.Linq;
- using Windsor.SLExample.Factories;
- using Windsor.SLExample.Model;
+ using Castle.Samples.WindsorSilverlight.Factories;
+ using Castle.Samples.WindsorSilverlight.Model;
/// <summary>
/// This should be a real service in a real application,
View
5 Silverlight/Windsor.SLExample/Startup/GuyWire.cs
@@ -12,15 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Startup
+namespace Castle.Samples.WindsorSilverlight.Startup
{
using System.Windows;
+ using Castle.Samples.WindsorSilverlight.Views;
using Castle.Windsor;
using Castle.Windsor.Installer;
- using Windsor.SLExample.Views;
-
public class GuyWire
{
private IWindsorContainer container;
View
2  Silverlight/Windsor.SLExample/Views/CustomersView.xaml
@@ -1,4 +1,4 @@
-<UserControl x:Class="Windsor.SLExample.Views.CustomersView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="400" d:DesignWidth="600">
+<UserControl x:Class="Castle.Samples.WindsorSilverlight.Views.CustomersView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="400" d:DesignWidth="600">
<ListBox x:Name="customers" Width="600">
<ListBox.ItemTemplate>
View
5 Silverlight/Windsor.SLExample/Views/CustomersView.xaml.cs
@@ -12,13 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Views
+namespace Castle.Samples.WindsorSilverlight.Views
{
using System.ComponentModel;
using Castle.Core;
-
- using Windsor.SLExample.Services;
+ using Castle.Samples.WindsorSilverlight.Services;
[Transient]
public partial class CustomersView : INotifyPropertyChanged
View
2  Silverlight/Windsor.SLExample/Views/EditCustomerView.xaml
@@ -1,4 +1,4 @@
-<UserControl x:Class="Windsor.SLExample.Views.EditCustomerView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ctrl="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" mc:Ignorable="d" d:DesignHeight="400" d:DesignWidth="600" x:Name="ViewRoot">
+<UserControl x:Class="Castle.Samples.WindsorSilverlight.Views.EditCustomerView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ctrl="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" mc:Ignorable="d" d:DesignHeight="400" d:DesignWidth="600" x:Name="ViewRoot">
<StackPanel Orientation="Vertical" Width="600">
View
5 Silverlight/Windsor.SLExample/Views/EditCustomerView.xaml.cs
@@ -12,11 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Views
+namespace Castle.Samples.WindsorSilverlight.Views
{
using Castle.Core;
-
- using Windsor.SLExample.Services;
+ using Castle.Samples.WindsorSilverlight.Services;
[Transient]
public partial class EditCustomerView
View
2  Silverlight/Windsor.SLExample/Views/MainView.xaml
@@ -1,4 +1,4 @@
-<UserControl x:Class="Windsor.SLExample.Views.MainView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
+<UserControl x:Class="Castle.Samples.WindsorSilverlight.Views.MainView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
<StackPanel Orientation="Vertical">
View
7 Silverlight/Windsor.SLExample/Views/MainView.xaml.cs
@@ -12,14 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Views
+namespace Castle.Samples.WindsorSilverlight.Views
{
using System.ComponentModel;
using Castle.Core;
-
- using Windsor.SLExample.Commands;
- using Windsor.SLExample.Factories;
+ using Castle.Samples.WindsorSilverlight.Commands;
+ using Castle.Samples.WindsorSilverlight.Factories;
[Singleton]
public partial class MainView : INotifyPropertyChanged
View
2  Silverlight/Windsor.SLExample/Views/NewCustomerView.xaml
@@ -1,4 +1,4 @@
-<UserControl x:Class="Windsor.SLExample.Views.NewCustomerView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">
+<UserControl x:Class="Castle.Samples.WindsorSilverlight.Views.NewCustomerView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">
<StackPanel Orientation="Vertical" Width="400">
View
7 Silverlight/Windsor.SLExample/Views/NewCustomerView.xaml.cs
@@ -12,14 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-namespace Windsor.SLExample.Views
+namespace Castle.Samples.WindsorSilverlight.Views
{
using System.ComponentModel;
using Castle.Core;
-
- using Windsor.SLExample.Commands;
- using Windsor.SLExample.Model;
+ using Castle.Samples.WindsorSilverlight.Commands;
+ using Castle.Samples.WindsorSilverlight.Model;
[Transient]
public partial class NewCustomerView : INotifyPropertyChanged
Please sign in to comment.
Something went wrong with that request. Please try again.