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
namespace {YourNamespace}.ServiceBus.Tasks { | |
using System; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
public abstract class BaseSyncTask : ISyncTask { | |
protected NLog.Logger Log = NLog.LogManager.GetCurrentClassLogger(); | |
public abstract int Priority { get; } |
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
namespace {Your.Namespace.Here}.Behaviors { | |
using System.Windows.Controls; | |
using System.Windows.Interactivity; | |
// Pulled from: http://codermonkey65.blogspot.com/2012/12/making-wpf-datagrid-keyboard-friendly.html | |
public class DataGridAutomaticEditingBehavior : Behavior<DataGrid> { | |
protected override void OnAttached() { | |
AssociatedObject.GotFocus += AssociatedObject_GotFocus; | |
base.OnAttached(); | |
} |
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
using System; | |
using System.Collections.ObjectModel; | |
using System.Threading; | |
using GalaSoft.MvvmLight; | |
using GalaSoft.MvvmLight.Command; | |
using TrinityToolkit; | |
using TrinityPlayer.Model; |