-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made it possible to overload a property, e.g. to specify a new defaul…
…t value, the overloaded should be processed first! [release]
- Loading branch information
1 parent
63f6157
commit 5b93453
Showing
9 changed files
with
79 additions
and
13 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
40 changes: 40 additions & 0 deletions
40
Dapplo.InterfaceImpl.Tests/Interfaces/IDefaultValueOverwriteTest.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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// Dapplo - building blocks for desktop applications | ||
// Copyright (C) 2015-2016 Dapplo | ||
// | ||
// For more information see: http://dapplo.net/ | ||
// Dapplo repositories are hosted on GitHub: https://github.com/dapplo | ||
// | ||
// This file is part of Dapplo.InterfaceImpl | ||
// | ||
// Dapplo.InterfaceImpl is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Lesser General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Dapplo.InterfaceImpl is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Lesser General Public License for more details. | ||
// | ||
// You should have a copy of the GNU Lesser General Public License | ||
// along with Dapplo.InterfaceImpl. If not, see <http://www.gnu.org/licenses/lgpl.txt>. | ||
|
||
#region using | ||
|
||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using Dapplo.InterfaceImpl.Extensions; | ||
|
||
#endregion | ||
|
||
namespace Dapplo.InterfaceImpl.Tests.Interfaces | ||
{ | ||
/// <summary> | ||
/// This is the interface under test | ||
/// </summary> | ||
public interface IDefaultValueOverwriteTest : IDefaultValueTest, IDefaultValue<IDefaultValueTest> | ||
{ | ||
[DefaultValue(42)] | ||
new int Age { get; set; } | ||
} | ||
} |
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
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,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Dapplo.LogFacade" version="0.2.44" targetFramework="net452" /> | ||
<package id="Dapplo.Utils" version="0.1.30" targetFramework="net452" /> | ||
<package id="Dapplo.Utils" version="0.1.31" targetFramework="net452" /> | ||
</packages> |