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.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
namespace MappingUtil.Common | |
{ | |
/// <summary> | |
/// Implements a MappingProvider |
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
public class Job | |
{ | |
private static int lastId; | |
public int Id { get; private set; } | |
public int Duration { get; private set; } | |
public Job(int value) | |
{ | |
Id = lastId + 1; |
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 MyAudio | |
{ | |
public class AudioDevice | |
{ | |
public string Name { get; set; } | |
public string Direction { get; set; } | |
public bool IsEnabled { get; set; } | |
public string DeviceId { 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
using System.ComponentModel; | |
using System.Runtime.CompilerServices; | |
namespace WPFSample | |
{ | |
public class BaseNotifyModel : INotifyPropertyChanged | |
{ | |
public event PropertyChangedEventHandler PropertyChanged; | |
protected void OnPropertyChanged([CallerMemberName] string name = null) |
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.Collections.Generic; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
namespace Bite.Runtime.Functions.ForeignInterface | |
{ | |
public class FastMethodInfo | |
{ | |
private delegate object ReturnValueDelegate(object instance, object[] arguments); |
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 Antlr4.Runtime; | |
using Antlr4.Runtime.Tree; | |
using System; | |
namespace TSQLParser | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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 Antlr4.Runtime; | |
using Antlr4.Runtime.Misc; | |
namespace TSQLParser | |
{ | |
/// <summary> | |
/// This class supports case-insensitive lexing by wrapping an existing | |
/// <see cref="ICharStream"/> and forcing the lexer to see either upper or | |
/// lowercase characters. Grammar literals should then be either upper or | |
/// lower case such as 'BEGIN' or 'begin'. The text of the character |
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.Generic; | |
using System.Linq; | |
namespace TextAdventure | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
public class ConditionExpression<TFilter> | |
{ | |
public Func<TFilter, bool> Condition { get; } | |
public Expression Expression { get; } | |
public ConditionExpression(Func<TFilter, bool> condition, Expression expression) | |
{ | |
Condition = condition; | |
Expression = expression; | |
} |
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 WINKCrossViewX | |
{ | |
public class AppSettings | |
{ | |
public string Forges { get; set; } | |
public string APIUsername { get; set; } | |
public string APIPassword { get; set; } | |
public string RefreshInterval { get; set; } | |
} |
NewerOlder