-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a09e703
commit 8cf969e
Showing
92 changed files
with
618 additions
and
707 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
TestAssemblies/AssemblyToProcess/ClassWithBeforeAfterImplementation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
TestAssemblies/AssemblyToProcess/ComplexHierarchy/ClassChild1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
namespace ComplexHierarchy | ||
namespace ComplexHierarchy; | ||
|
||
public class ClassChild1 : ClassParent | ||
{ | ||
public class ClassChild1 : ClassParent | ||
{ | ||
public string Property1 { get; set; } | ||
} | ||
public string Property1 { get; set; } | ||
} |
9 changes: 4 additions & 5 deletions
9
TestAssemblies/AssemblyToProcess/ComplexHierarchy/ClassChild2.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
namespace ComplexHierarchy | ||
namespace ComplexHierarchy; | ||
|
||
public class ClassChild2 : ClassParent | ||
{ | ||
public class ClassChild2 : ClassParent | ||
{ | ||
public string Property1 { get; set; } | ||
} | ||
public string Property1 { get; set; } | ||
} |
10 changes: 4 additions & 6 deletions
10
TestAssemblies/AssemblyToProcess/ComplexHierarchy/ClassChild3.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
| ||
namespace ComplexHierarchy | ||
namespace ComplexHierarchy; | ||
|
||
public class ClassChild3 : ClassChild2 | ||
{ | ||
public class ClassChild3 : ClassChild2 | ||
{ | ||
public string Property2 { get; set; } | ||
} | ||
public string Property2 { get; set; } | ||
} |
9 changes: 4 additions & 5 deletions
9
TestAssemblies/AssemblyToProcess/ComplexHierarchy/ClassParent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
using System.ComponentModel; | ||
|
||
namespace ComplexHierarchy | ||
namespace ComplexHierarchy; | ||
|
||
public class ClassParent: INotifyPropertyChanged | ||
{ | ||
public class ClassParent: INotifyPropertyChanged | ||
{ | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
} | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
TestAssemblies/AssemblyToProcess/GenericBase/ClassWithGenericChild.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
public class ClassWithGenericChild : ClassWithGenericParent<string> | ||
{ | ||
} | ||
public class ClassWithGenericChild : ClassWithGenericParent<string>; |
11 changes: 5 additions & 6 deletions
11
TestAssemblies/AssemblyToProcess/GenericBaseWithProperty/ClassWithGenericProperty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
using System.ComponentModel; | ||
|
||
namespace GenericBaseWithProperty | ||
{ | ||
public class ClassWithGenericPropertyParent<T> : | ||
namespace GenericBaseWithProperty; | ||
|
||
public class ClassWithGenericPropertyParent<T> : | ||
INotifyPropertyChanged { | ||
public T Property1 { get; set; } | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
} | ||
public T Property1 { get; set; } | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
} |
13 changes: 4 additions & 9 deletions
13
TestAssemblies/AssemblyToProcess/GenericBaseWithProperty/ClassWithGenericPropertyChild.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
namespace GenericBaseWithProperty | ||
{ | ||
public class ClassWithGenericPropertyChild : ClassWithGenericPropertyParent<string> | ||
{ | ||
} | ||
namespace GenericBaseWithProperty; | ||
|
||
public class ClassWithGenericPropertyDouble : ClassWithGenericPropertyParent<double> | ||
{ | ||
} | ||
} | ||
public class ClassWithGenericPropertyChild : ClassWithGenericPropertyParent<string>; | ||
|
||
public class ClassWithGenericPropertyDouble : ClassWithGenericPropertyParent<double>; |
17 changes: 8 additions & 9 deletions
17
...semblies/AssemblyToProcess/GenericBaseWithPropertyBeforeAfter/ClassWithGenericProperty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
using System.ComponentModel; | ||
|
||
namespace GenericBaseWithPropertyBeforeAfter | ||
{ | ||
public class ClassWithGenericPropertyParent<T> : | ||
namespace GenericBaseWithPropertyBeforeAfter; | ||
|
||
public class ClassWithGenericPropertyParent<T> : | ||
INotifyPropertyChanged { | ||
public T Property1 { get; set; } | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
public void OnPropertyChanged(string propertyName, object before, object after) | ||
{ | ||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); | ||
} | ||
public T Property1 { get; set; } | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
public void OnPropertyChanged(string propertyName, object before, object after) | ||
{ | ||
PropertyChanged?.Invoke(this, new(propertyName)); | ||
} | ||
} |
9 changes: 3 additions & 6 deletions
9
...ies/AssemblyToProcess/GenericBaseWithPropertyBeforeAfter/ClassWithGenericPropertyChild.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
namespace GenericBaseWithPropertyBeforeAfter | ||
{ | ||
public class ClassWithGenericPropertyChild : ClassWithGenericPropertyParent<string> | ||
{ | ||
} | ||
} | ||
namespace GenericBaseWithPropertyBeforeAfter; | ||
|
||
public class ClassWithGenericPropertyChild : ClassWithGenericPropertyParent<string>; |
33 changes: 16 additions & 17 deletions
33
...Assemblies/AssemblyToProcess/GenericBaseWithPropertyOnChanged/ClassWithGenericProperty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
using System.ComponentModel; | ||
|
||
namespace GenericBaseWithPropertyOnChanged | ||
{ | ||
public class ClassWithGenericPropertyParent<T> : | ||
INotifyPropertyChanged { | ||
public bool OnProperty1ChangedCalled; | ||
public bool OnProperty2ChangedCalled; | ||
namespace GenericBaseWithPropertyOnChanged; | ||
|
||
public T Property1 { get; set; } | ||
public void OnProperty1Changed() | ||
{ | ||
OnProperty1ChangedCalled = true; | ||
} | ||
public class ClassWithGenericPropertyParent<T> : | ||
INotifyPropertyChanged { | ||
public bool OnProperty1ChangedCalled; | ||
public bool OnProperty2ChangedCalled; | ||
|
||
public T Property2 { get; set; } | ||
public void OnProperty2Changed() | ||
{ | ||
OnProperty2ChangedCalled = true; | ||
} | ||
public T Property1 { get; set; } | ||
public void OnProperty1Changed() | ||
{ | ||
OnProperty1ChangedCalled = true; | ||
} | ||
|
||
public event PropertyChangedEventHandler PropertyChanged; | ||
public T Property2 { get; set; } | ||
public void OnProperty2Changed() | ||
{ | ||
OnProperty2ChangedCalled = true; | ||
} | ||
|
||
public event PropertyChangedEventHandler PropertyChanged; | ||
} |
Oops, something went wrong.