mirror of
https://github.com/AlexMacocian/WpfExtended.git
synced 2026-07-21 01:19:29 +00:00
668d54d5c9
Refactored application statup flow to include HttpClientResolver as optional and SetupLoggerFactory to setup logging.
25 lines
668 B
C#
25 lines
668 B
C#
using FluentAssertions;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Extensions;
|
|
using System.Windows.Media.Effects;
|
|
|
|
namespace WpfExtended.SourceGeneration.Tests
|
|
{
|
|
internal partial class Class1 : UserControl
|
|
{
|
|
[GenerateDependencyProperty]
|
|
public int someF;
|
|
[GenerateDependencyProperty(InitialValue = "This has a value")]
|
|
public string someValue;
|
|
[GenerateDependencyProperty]
|
|
public Effect effect;
|
|
|
|
public void TestValues()
|
|
{
|
|
this.SomeF.Should().Be(0);
|
|
this.SomeValue.Should().Be("This has a value");
|
|
this.Effect.Should().BeNull();
|
|
}
|
|
}
|
|
}
|