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
# User-specific files | |
*.suo | |
*.user | |
*.sln.docstates | |
# Build results | |
bin | |
obj | |
#include nuget executable |
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
// | |
// TextMeter.cs | |
// Created by Alexey Kinev on 11 Feb 2015. | |
// | |
// Licensed under The MIT License (MIT) | |
// http://opensource.org/licenses/MIT | |
// | |
// Copyright (c) 2015 Alexey Kinev <[email protected]> | |
// | |
// Usage example: |
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.Collections.Generic; | |
using System.Deployment.Application; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
namespace InstallClickOnceApp | |
{ |
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
public static bool SameAs(this BsonDocument source, BsonDocument other, params string[] ignoreFields) | |
{ | |
var elements = source.Elements.Where(x => !ignoreFields.Contains(x.Name)).ToArray(); | |
if (elements.Length == 0 && other.Elements.Where(x => !ignoreFields.Contains(x.Name)).Any()) return false; | |
foreach (var element in source.Elements) | |
{ | |
if (ignoreFields.Contains(element.Name)) continue; | |
if (!other.Names.Contains(element.Name)) return false; | |
var value = element.Value; | |
var otherValue = other[element.Name]; |
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
<UserControl x:Class="DTPicker.DateTimePicker" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:local="clr-namespace:DTPicker" | |
xmlns:wpftc="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit" | |
mc:Ignorable="d"><!--Uses Calendar in WPFToolkit.dll, | |
see http://wpf.codeplex.com/releases/view/40535--> | |
<UserControl.Resources> |
NewerOlder