- AspectExamples.zip
- AspectExampleDermos
- AspectExamples.sln
- CastleInterceptors
- LinFu.AOP.CecilExtensions.dll
- LinFu.AOP.DemoApp
- LinFu.AOP.Interfaces.dll
- LinFu.AOP.Tasks.dll
- LinFu.AOP.Weavers.Cecil.dll
- LinFu.AOP
- LinFu.ViewModels
- Attributes
- bin
- Debug
- LinFu.AOP.CecilExtensions.dll
- LinFu.AOP.Interfaces.dll
- LinFu.AOP.Tasks.dll
- LinFu.AOP.Weavers.Cecil.dll
- LinFu.ViewModels.dll
- Mono.Cecil.dll
- Release
- LinFu.ViewModels.csproj
- MainWindowViewModel.cs
- obj
- Debug
- TempPE
- Properties
- Mono.Cecil.dll
- PostSharp.dll
- PostSharpAOP
- PostWeaver.exe
- TODO.txt
- UnityInception
|
<Window x:Class="UnityInception.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="INPC Via Castle Inteceptors"
WindowStartupLocation="CenterScreen"
Height="400"
Width="550"
Background="Goldenrod">
<StackPanel Orientation="Vertical"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<StackPanel Background="Black"
HorizontalAlignment="Stretch"
Height="30">
<Label Content="Shows how to do auto INPC Aspect using Unity Inception"
HorizontalAlignment="Left"
VerticalContentAlignment="Center"
Margin="5,0,0,0"
Foreground="White" />
</StackPanel>
<StackPanel Margin="0">
<StackPanel Orientation="Horizontal" Margin="5">
<Label Content="DummyProp1 (INPC Via Unity HandlerAttribute)"
Width="320" />
<TextBox Text="{Binding DummyProp1, Mode=TwoWay,
UpdateSourceTrigger=LostFocus}"
Width="150"
Margin="5,0,0,0" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<Label Content="DummyProp2 (INPC Via Unity HandlerAttribute)"
Width="320" />
<TextBox Text="{Binding DummyProp2, Mode=TwoWay,
UpdateSourceTrigger=LostFocus}"
Width="150"
Margin="5,0,0,0" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<Label Content="DummyProp3 (No INPC)"
Width="320" />
<TextBox Text="{Binding DummyProp3, Mode=TwoWay,
UpdateSourceTrigger=LostFocus}"
Width="150"
Margin="5,0,0,0" />
</StackPanel>
<Label Background="CornflowerBlue" Foreground="Black" HorizontalAlignment="Stretch"
Content="Model Tests"/>
<StackPanel Orientation="Horizontal" Margin="5">
<Label Content="Model DummyProp1 (INPC Via Unity CallHandler)"
Width="320" />
<TextBox Text="{Binding DummyModel.DummyModelProp1, Mode=TwoWay,
UpdateSourceTrigger=LostFocus}"
Width="150"
Margin="5,0,0,0" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<Label Content="Model DummyProp2 (INPC Via Unity CallHandler)"
Width="320" />
<TextBox Text="{Binding DummyModel.DummyModelProp2, Mode=TwoWay,
UpdateSourceTrigger=LostFocus}"
Width="150"
Margin="5,0,0,0" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<Label Content="Model DummyProp3 (No INPC)"
Width="320" />
<TextBox Text="{Binding DummyModel.DummyModelProp3, Mode=TwoWay,
UpdateSourceTrigger=LostFocus}"
Width="150"
Margin="5,0,0,0" />
</StackPanel>
</StackPanel>
</StackPanel>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)
- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence
Both of these at Sussex University UK.
Award(s)
I am lucky enough to have won a few awards for Zany Crazy code articles over the years
- Microsoft C# MVP 2016
- Codeproject MVP 2016
- Microsoft C# MVP 2015
- Codeproject MVP 2015
- Microsoft C# MVP 2014
- Codeproject MVP 2014
- Microsoft C# MVP 2013
- Codeproject MVP 2013
- Microsoft C# MVP 2012
- Codeproject MVP 2012
- Microsoft C# MVP 2011
- Codeproject MVP 2011
- Microsoft C# MVP 2010
- Codeproject MVP 2010
- Microsoft C# MVP 2009
- Codeproject MVP 2009
- Microsoft C# MVP 2008
- Codeproject MVP 2008
- And numerous codeproject awards which you can see over at my blog