This file contains hidden or 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
| using System; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Text; | |
| string GenerateIsMoreThanRegexp(double value, bool isInclusive = true, bool isComma = false, int minDecimals = 2, int maxDecimals = 3) | |
| { | |
| if (minDecimals < 1 || maxDecimals < minDecimals) // So the dot must be present | |
| { | |
| throw new NotSupportedException(); |
This file contains hidden or 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
| using System.Windows; | |
| using System.Windows.Controls; | |
| using JetBrains.Annotations; | |
| namespace Foo | |
| { | |
| public class MarginSetter | |
| { | |
| private static Thickness GetLastItemMargin(Panel obj) | |
| { |