Skip to content

Commit 4cf5b32

Browse files
committed
Let's not get silly :)
1 parent e3a2e97 commit 4cf5b32

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ public virtual void Attach(DependencyObject associatedObject)
1212
if (associatedObject == this.AssociatedObject || DesignMode.DesignModeEnabled) {
1313
return;
1414
}
15-
if(this.AssociatedObject != null) {
15+
16+
if (this.AssociatedObject != null) {
1617
throw new InvalidOperationException("Cannot attach multiple objects.");
1718
}
19+
1820
AssociatedObject = associatedObject as T;
1921
OnAttached();
2022
}
@@ -34,8 +36,7 @@ protected virtual void OnDetaching()
3436

3537
public T AssociatedObject { get; private set; }
3638

37-
DependencyObject IBehavior.AssociatedObject
38-
{
39+
DependencyObject IBehavior.AssociatedObject {
3940
get { return this.AssociatedObject; }
4041
}
4142
}

ReactiveUI.Blend/ReactiveUI.Blend_WinRT.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<None Include="packages.config" />
107107
</ItemGroup>
108108
<ItemGroup>
109-
<Compile Include="BehaviorOfT.cs" />
109+
<Compile Include="Behavior.cs" />
110110
<Compile Include="FollowObservableStateBehavior.cs" />
111111
<Compile Include="ObservableTriggerBehavior.cs" />
112112
<Compile Include="Properties\AssemblyInfo.cs" />

0 commit comments

Comments
 (0)