Skip to content

Commit 83293f9

Browse files
committed
Removing Color markup extension. Will be placed in ViewKit to allow better initialization as we don't have module initializers in C#.
1 parent 4bd372b commit 83293f9

File tree

3 files changed

+0
-191
lines changed

3 files changed

+0
-191
lines changed

ColorSetKit-Test/Test.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -130,22 +130,6 @@ public void TestShared()
130130
}
131131
}
132132

133-
[TestMethod]
134-
public void TestColor()
135-
{
136-
if( new ColorSetKit.Color( "NoVariant" ).ProvideValue( null ) is SolidColorBrush c )
137-
{
138-
Assert.AreEqual( c.Color.R, 50 );
139-
Assert.AreEqual( c.Color.G, 100 );
140-
Assert.AreEqual( c.Color.B, 150 );
141-
Assert.AreEqual( c.Color.A, 128 );
142-
}
143-
else
144-
{
145-
Assert.Fail( "Cannot retrieve color from NSColor" );
146-
}
147-
}
148-
149133
[TestMethod]
150134
public void TestChild()
151135
{

ColorSetKit/Color.cs

Lines changed: 0 additions & 174 deletions
This file was deleted.

ColorSetKit/ColorSetKit.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
<Reference Include="WindowsBase" />
4545
</ItemGroup>
4646
<ItemGroup>
47-
<Compile Include="Color.cs" />
4847
<Compile Include="ColorExtensions.cs" />
4948
<Compile Include="ColorPair.cs" />
5049
<Compile Include="ColorSet.cs" />

0 commit comments

Comments
 (0)