commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
f8f0535532eb8e18083f68160c8ee3b45d9a27c1
Add BMP version to initiation message
mstrother/BmpListener
BmpListener/Bmp/BMPInitiation.cs
BmpListener/Bmp/BMPInitiation.cs
using System; namespace BmpListener.Bmp { public class BmpInitiation : BmpMessage { public BmpInitiation(BmpHeader bmpHeader) : base(bmpHeader) { BmpVersion = BmpHeader.Version; } public int BmpVersion { get; } } }
using System; namespace BmpListener.Bmp { public class BmpInitiation : BmpMessage { public BmpInitiation(BmpHeader bmpHeader) : base(bmpHeader) { } } }
mit
C#
bf4a711c7be1472ea251ee8c7cf59e0a5a297eb6
Remove Compare from Ord as it's now in IComparer
StanJav/language-ext,louthy/language-ext
LanguageExt.Core/TypeClasses/Ord/Ord.cs
LanguageExt.Core/TypeClasses/Ord/Ord.cs
using LanguageExt.Attributes; using System.Diagnostics.Contracts; namespace LanguageExt.TypeClasses { [Typeclass("Ord*")] public interface Ord<A> : Eq<A>, System.Collections.Generic.IComparer<A> { } }
using LanguageExt.Attributes; using System.Diagnostics.Contracts; namespace LanguageExt.TypeClasses { [Typeclass("Ord*")] public interface Ord<A> : Eq<A>, System.Collections.Generic.IComparer<A> { /// <summary> /// Compare two values /// </summary> /// <param name="x">Left ...
mit
C#
63fa610b499d7961d4cbeac4006d1ee39a3075aa
Add documentation to mouse LED enum.
WolfspiritM/Colore,danpierce1/Colore,Sharparam/Colore,CoraleStudios/Colore
Corale.Colore/Razer/Mouse/Led.cs
Corale.Colore/Razer/Mouse/Led.cs
// --------------------------------------------------------------------------------------- // <copyright file="Led.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associa...
// --------------------------------------------------------------------------------------- // <copyright file="Led.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associa...
mit
C#
94eba49bfa8aefe464b050b60927735dcce46cbd
Update EngineInfo
Vorlias/Andromeda
System/EngineInfo.cs
System/EngineInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VorliasEngine2D.System { public static class EngineInfo { const int DATE = 170816; const int MAJOR = 0; const int MINOR = 270; const int REVISION = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VorliasEngine2D.System { public static class EngineInfo { const int DATE = 170809; const int MAJOR = 0; const int MINOR = 249; const int REVISION = 0; ...
mit
C#
5b688375d6848898cfbef904a089eca7a8c70ed1
use fallback fee for testnet
NTumbleBit/NTumbleBit,DanGould/NTumbleBit
NTumbleBit/Services/ExternalServices.cs
NTumbleBit/Services/ExternalServices.cs
using NBitcoin; using NBitcoin.RPC; using NTumbleBit.Services.RPC; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NTumbleBit.Services { public class ExternalServices { public static ExternalServices CreateFromRPCClient(RPCClient rpc, IRepository repos...
using NBitcoin.RPC; using NTumbleBit.Services.RPC; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NTumbleBit.Services { public class ExternalServices { public static ExternalServices CreateFromRPCClient(RPCClient rpc, IRepository repository, Tracker t...
mit
C#
9a9fdc05c8d4ecb8da435d7c7b1521d6cba2833a
bump version
Fody/Equals
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fody.Equals")] [assembly: AssemblyProduct("Fody.Equals")] [assembly: AssemblyVersion("1.4.2")] [assembly: AssemblyFileVersion("1.4.2")]
using System.Reflection; [assembly: AssemblyTitle("Fody.Equals")] [assembly: AssemblyProduct("Fody.Equals")] [assembly: AssemblyVersion("1.4.1")] [assembly: AssemblyFileVersion("1.4.1")]
mit
C#
b89f71d2de8366172f190f46951a36cdca38e06a
Implement text copying to Clipboard.
dermeister0/TimesheetParser,dermeister0/TimesheetParser
Source/TimesheetParser/MainViewModel.cs
Source/TimesheetParser/MainViewModel.cs
using System.Windows; using System.Windows.Input; using Microsoft.Practices.Prism.Commands; namespace TimesheetParser { class MainViewModel { public ICommand CopyCommand { get; set; } public MainViewModel() { CopyCommand = new DelegateCommand<string>(CopyCommand_Executed);...
using System.Windows.Input; using Microsoft.Practices.Prism.Commands; namespace TimesheetParser { class MainViewModel { public ICommand CopyCommand { get; set; } public MainViewModel() { CopyCommand = new DelegateCommand<string>(CopyCommand_Executed); } vo...
mit
C#
185712e4713db76c8fcc4c60b7a700c652eac819
Fix assembly info more
svroonland/TwinRx
TwinRx.Tests/Properties/AssemblyInfo.cs
TwinRx.Tests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tw...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tw...
apache-2.0
C#
9c6939b886a5c621ceb63fcf9d4333d8dd055ba0
Hide the site report on really small screens.
blackradley/nesscliffe,blackradley/nesscliffe,blackradley/nesscliffe
WebApplication/Views/Sites/Index.cshtml
WebApplication/Views/Sites/Index.cshtml
@using DataAccess @using Localization @using WebApplication.Helpers @using WebGrease @model IEnumerable<DataAccess.Site> @{ ViewBag.Title = Resources.LabelSitesList; } @Html.Partial("_PageTitlePartial") <table class="table"> <tr> <th></th> <th> @Html.DisplayNameFor(model => model.Na...
@using DataAccess @using Localization @using WebApplication.Helpers @using WebGrease @model IEnumerable<DataAccess.Site> @{ ViewBag.Title = Resources.LabelSitesList; } @Html.Partial("_PageTitlePartial") <table class="table"> <tr> <th></th> <th> @Html.DisplayNameFor(model => model.Na...
mit
C#
b784e40d74a3b4aa6fab345071709dd8174d7ad6
Fix parameter count handling
j123b567/SerialPCAP
SerialPCAP/Program.cs
SerialPCAP/Program.cs
using System; using System.IO; using System.IO.Ports; namespace SerialPCAP { class MainClass { public static void Main(string[] args) { if (args.Length == 0) { Console.WriteLine("usage: serialpcap <portName> [<baudRate> [<frameGapMs> [<pcapDLT>]]]"); Console.WriteLine(); Console.WriteLine("Ava...
using System; using System.IO; using System.IO.Ports; namespace SerialPCAP { class MainClass { public static void Main(string[] args) { if (args.Length == 0) { Console.WriteLine("usage: serialpcap <portName> [<baudRate> [<frameGapMs> [<pcapDLT>]]]"); Console.WriteLine(); Console.WriteLine("Ava...
bsd-2-clause
C#
9f48afc55112107f5f6d1760962dc31e63aceb01
Bump version
Heufneutje/AudioSharp,Heufneutje/HeufyAudioRecorder
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfigurat...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfigurat...
mit
C#
4e6b3c1b5c8c76379b71340645f2c455e11c75b5
add formatting issues
kampus-2014-2/01-cleancode-task,kontur-school-2014/01-cleancode-task,konturschool/01-cleancode-task
CleanCode/02_Chess.cs
CleanCode/02_Chess.cs
namespace CleanCode { public class Chess { private readonly Board b; public Chess(Board b) { this.b = b; } public string getWhiteStatus() { bool bad=checkForWhite(); bool ok= false; foreach (Loc loc1 in b.Figures(Cell.White)) { foreach (Loc loc2 in b.Get(loc1).Figure.Moves(loc1, b)){ ...
namespace CleanCode { public class Chess { private readonly Board b; public Chess(Board b) { this.b = b; } public string getWhiteStatus() { bool bad = checkForWhite(); bool ok = false; foreach (Loc loc1 in b.Figures(Cell.White)) { foreach (Loc loc2 in b.Get(loc1).Figure.Moves(loc1, b...
unlicense
C#
76c6af975bee65595c49ecec69484f4939f7b60d
move to nfluent
b3b00/csly
ParserTests/Issue302Test.cs
ParserTests/Issue302Test.cs
using System; using System.Linq; using expressionparser; using NFluent; using ParserTests.Issue302; using sly.parser; using sly.parser.generator; using Xunit; namespace ParserTests { public class Issue302Test { [Fact] public void Test302() { var parse_inst = new Issue302Pars...
using System; using System.Linq; using expressionparser; using ParserTests.Issue302; using sly.parser; using sly.parser.generator; using Xunit; namespace ParserTests { public class Issue302Test { [Fact] public void Test302() { var parse_inst = new Issue302Parser(); ...
mit
C#
8aa45249f7e4842946caa00be805dc7864a69815
Remove unused constructor
Yonom/MuffinFramework
MuffinFramework/MuffinClient.cs
MuffinFramework/MuffinClient.cs
using System; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using System.Reflection; using MuffinFramework.Muffin; using MuffinFramework.Platform; using MuffinFramework.Service; namespace MuffinFramework { public class MuffinClient : IDisposable { ...
using System; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using System.Reflection; using MuffinFramework.Muffin; using MuffinFramework.Platform; using MuffinFramework.Service; namespace MuffinFramework { public class MuffinClient : IDisposable { ...
mit
C#
f8481c48fbc5f9df5e9d2365710c6b40f948ac00
Fix HTTP decoding bug
twilio/twilio-csharp
Twilio/Http/SystemNetClient.cs
Twilio/Http/SystemNetClient.cs
using System; using System.Text; using System.Threading.Tasks; namespace Twilio.Http { public class SystemNetClient : HttpClient { public SystemNetClient () { } public async override Task<Response> MakeRequest(Request request) { var httpClient = new System.Net.Http.HttpClient(); var httpReques...
using System; using System.Text; using System.Threading.Tasks; namespace Twilio.Http { public class SystemNetClient : HttpClient { public SystemNetClient () { } public async override Task<Response> MakeRequest(Request request) { var httpClient = new System.Net.Http.HttpClient(); var httpReques...
mit
C#
123d2097ed199a8243421a845dd07550b8ab4fd5
switch to #prop<> for complex prop
sdcb/ibatis2sdmap
ibatis2sdmap/src/ibatis2sdmap/SqlSegments/TextSegment.cs
ibatis2sdmap/src/ibatis2sdmap/SqlSegments/TextSegment.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Xml.Linq; namespace ibatis2sdmap.SqlSegments { public class TextSegment : SqlSegment { public string Text { get; } public TextSegment(XText text)...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Xml.Linq; namespace ibatis2sdmap.SqlSegments { public class TextSegment : SqlSegment { public string Text { get; } public TextSegment(XText text)...
mit
C#
372b44969157835b8acf25dd8b098f23ffce6a44
Implement basic IRC Message without parsing IRC format yet
Luke-Wolf/wolfybot
WolfyBot.Core/IRCMessage.cs
WolfyBot.Core/IRCMessage.cs
// // Copyright 2014 luke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
// // Copyright 2014 luke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
apache-2.0
C#
129c90709252aa6fc4dd11b69b0616fb4915dee8
Remove unused parameters
ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Beatmaps/Drawables/CalculatingDifficultyIcon.cs
osu.Game/Beatmaps/Drawables/CalculatingDifficultyIcon.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osuTK; namespace osu.Game.Beatmaps.Drawables { /// <summary> /// A di...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osuTK; namespace osu.Game.Beatmaps.Drawables { /// <summary> /// A di...
mit
C#
9b362c0243f89a784d751c9e209cffcfd8e3c941
Update PlayFab.Build.cs
ihavenick/PlayFabUE4Plugin,ihavenick/PlayFabUE4Plugin,PhoenixLabsCanada/PlayFabUE4Plugin,PhoenixLabsCanada/PlayFabUE4Plugin,PhoenixLabsCanada/PlayFabUE4Plugin
Source/PlayFab/PlayFab.Build.cs
Source/PlayFab/PlayFab.Build.cs
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. using System.IO; namespace UnrealBuildTool.Rules { public class PlayFab : ModuleRules { private string ModulePath { get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); } } ...
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. using System.IO; namespace UnrealBuildTool.Rules { public class PlayFab : ModuleRules { private string ModulePath { get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); } } ...
mit
C#
415873af69a32c197bfe525236c7f6454cd644d4
Remove unused import
MHeasell/Mappy,MHeasell/Mappy
Mappy/Data/MapTile.cs
Mappy/Data/MapTile.cs
namespace Mappy.Data { using System.Drawing; using Mappy.Collections; public class MapTile : IMapTile { public const int TileWidth = 32; public const int TileHeight = 32; public const int AttrWidth = TileWidth / 2; public const int AttrHeight = TileHeight / 2...
namespace Mappy.Data { using System.Diagnostics; using System.Drawing; using Mappy.Collections; public class MapTile : IMapTile { public const int TileWidth = 32; public const int TileHeight = 32; public const int AttrWidth = TileWidth / 2; public const ...
mit
C#
d77256c6ba3258fa08435a798b974dd2523c936e
Fix daemon event loop bugs
SmartRoutes/OdjfsScraper
Tool/Support/DaemonEventLoop.cs
Tool/Support/DaemonEventLoop.cs
using System.Linq; using OdjfsScraper.Database; namespace OdjfsScraper.Tool.Support { public class DaemonEventLoop { private readonly Entities _ctx; public DaemonEventLoop(Entities ctx) { _ctx = ctx; UpdateCounts(); CurrentStep = -1; IsRu...
using System.Linq; using OdjfsScraper.Database; namespace OdjfsScraper.Tool.Support { public class DaemonEventLoop { private readonly Entities _ctx; public DaemonEventLoop(Entities ctx) { _ctx = ctx; UpdateCounts(); CurrentStep = 0; IsRun...
mit
C#
80402e515adb76c7a309534d3f8f3ff85a144d1b
throw NotImplementedException for methods without implementations
ballance/csharp-assessment
Assessment/Regex.cs
Assessment/Regex.cs
using System; using System.Collections.Generic; namespace Assessment { public class Regex { public bool ContainsNumber(string input) { throw new NotImplementedException(); } public bool ContainsRepeatingLetter(string input) { throw new NotImpleme...
using System.Collections.Generic; public class Regex { public bool ContainsNumber(string input) { return false; } public bool ContainsRepeatingLetter(string input) { return false; } public bool EndsWithVowel(string input) { return false; } public Li...
mit
C#
a08539fc3dce5be1f8f2142f10b9603056026403
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
mit
C#
c29639fbdf7465b648b13fd42a9cc4d93e4c2c57
Add blurb about hosting
martincostello/api,martincostello/api,martincostello/api
src/API/Views/Home/Index.cshtml
src/API/Views/Home/Index.cshtml
@using System.Reflection @{ ViewBag.Title = "Home Page"; string mvcVersion = typeof(Controller).GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion; } <div class="jumbotron"> <h1>Martin Costello's API</h1> <p class="lead"> This website is an e...
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>Martin Costello's API</h1> <p class="lead">This API is currently under development.</p> </div> <div class="row"> <div class="col-md-6"> <h2>Website</h2> <p>My main website.</p> <p><a id="link-website" href="https://ma...
mit
C#
b8b823b3c3e1ad916dd1e2a0bdfe4b72c9f75f7d
make sure api key dialog has focus
gandarez/visualstudio-wakatime,CodeCavePro/visualstudio-wakatime,crushjz/visualstudio-wakatime,wakatime/visualstudio-wakatime
Forms/ApiKeyForm.cs
Forms/ApiKeyForm.cs
using System; using System.Windows.Forms; namespace WakaTime.Forms { public partial class ApiKeyForm : Form { private readonly WakaTimeConfigFile _wakaTimeConfigFile; private static Timer timer; public ApiKeyForm() { timer = new Timer(); timer.Interval ...
using System; using System.Windows.Forms; namespace WakaTime.Forms { public partial class ApiKeyForm : Form { private readonly WakaTimeConfigFile _wakaTimeConfigFile; public ApiKeyForm() { InitializeComponent(); _wakaTimeConfigFile = new WakaTimeConfigFile(); ...
bsd-3-clause
C#
1c378b6109182e4e372d1d576bdad9e1de994d31
remove logs for http requests
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
src/LkeServices/Providers/Rest/LykkeHttpClientHandler.cs
src/LkeServices/Providers/Rest/LykkeHttpClientHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Common; using Common.Log; using Core.Repositories.ApiRequests; using RestEase; namespace LkeServices.Providers.Rest { public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Common; using Common.Log; using Core.Repositories.ApiRequests; using RestEase; namespace LkeServices.Providers.Rest { public cl...
mit
C#
ca7bafb18dc1a2001c82f4b5939fd849ba0bfb49
configure Web API to return jsons
YeeRSoft/broken-shoe-league,YeeRSoft/broken-shoe-league,YeeRSoft/broken-shoe-league
Source/BrokenShoeLeague.Web.API/Global.asax.cs
Source/BrokenShoeLeague.Web.API/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using BrokenShoeLeague.Data; namespace BrokenShoeLeague.Web.API { public class WebApiApplication : System.Web.HttpApplication ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace BrokenShoeLeague.Web.API { public class WebApiApplication : System.Web.HttpApplication { protected void A...
mit
C#
3793c1d48dff93dcefe144926a5af78c3b75331d
Add xhtml parsing with time comparison
Nezaboodka/Nevod.TextParsing,Nezaboodka/Nevod.TextParsing
Source/TextParserDemoApplication/ParserDemo.cs
Source/TextParserDemoApplication/ParserDemo.cs
using System; using System.Diagnostics; using System.IO; using TextParser; using TextParser.Common; namespace TextParserDemoApplication { class ParserDemo { static void Main(string[] args) { string fileName = args[0]; string text = File.ReadAllText(fileName); ...
using System; using System.Diagnostics; using System.IO; using TextParser; using TextParser.Common; namespace TextParserDemoApplication { class ParserDemo { static void Main(string[] args) { string fileName = args[0]; string text = File.ReadAllText(fileName); ...
mit
C#
2e5a40eddf839b6ce4cfbca727db92828e504562
Add an IntentFilter to handle osu! files.
smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu
osu.Android/OsuGameActivity.cs
osu.Android/OsuGameActivity.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; using Android.Views; using osu.Framework.Android; namespace osu.Android { [Ac...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Android.App; using Android.Content.PM; using Android.OS; using Android.Views; using osu.Framework.Android; namespace osu.Android { [Activity(Theme = "@android...
mit
C#
7787d3bd8ecf0dc5ec77aec71221b4e163b026f5
Add missing [Flags] to `MockExceptionReasons`
Moq/moq4,ocoanet/moq4
src/Moq/MockExceptionReasons.cs
src/Moq/MockExceptionReasons.cs
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; namespace Moq { [Flags] internal enum MockExceptionReasons { MoreThanOneCall = 1, MoreThanNCalls = 2, NoMatchingCalls = 4, NoSetup ...
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. namespace Moq { internal enum MockExceptionReasons { MoreThanOneCall = 1, MoreThanNCalls = 2, NoMatchingCalls = 4, NoSetup = 8, ReturnValueRequir...
bsd-3-clause
C#
7e816677ae812add67236baedfcff9fc0da265b2
Change how yield works: treat more op types as "progress".
paulthomson/adara-actors
ActorTestingFramework/RandomScheduler.cs
ActorTestingFramework/RandomScheduler.cs
using System; using System.Collections.Generic; using System.Linq; namespace ActorTestingFramework { public class RandomScheduler : IScheduler { private readonly Random rand; public RandomScheduler(int seed) { rand = new Random(seed); } private static bool...
using System; using System.Collections.Generic; using System.Linq; namespace ActorTestingFramework { public class RandomScheduler : IScheduler { private readonly Random rand; public RandomScheduler(int seed) { rand = new Random(seed); } private static bool...
mit
C#
a61d55ba5d39562594db83ae3c2957a2a9c9fbec
Load MicrogameCollection pool in compilation stage
Barleytree/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Stage/CompilationStage.cs
Assets/Scripts/Stage/CompilationStage.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class CompilationStage : Stage { [SerializeField] protected int microgamesPerRound = 20, microgamesPerSpeedChange = 4; [SerializeField] private MicrogameCollection.Restriction restriction = MicrogameCollection.R...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class CompilationStage : Stage { [SerializeField] protected int microgamesPerRound = 20, microgamesPerSpeedChange = 4; [SerializeField] private bool onlyFinishedMicrogames; [SerializeField] protected Interrupt...
mit
C#
a825233b691d201867bc2b6bf85baf72cdf63b42
Revert "Attempt to create the service provider and job instance inside of a scope"
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Jobs/JobHandler.cs
Battery-Commander.Web/Jobs/JobHandler.cs
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(this IApplicationBuilder app, ILoggerFactory logge...
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(th...
mit
C#
c7dc9b3ac166c05279dc2073203cec7d185718a0
Update comments
clabnet/DataTestLoader,clabnet/DataTestLoader
ConsoleAppTest/HowToRunDataTestLoader.cs
ConsoleAppTest/HowToRunDataTestLoader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace DataTestLoader { /// <summary> /// Sample to start DataTestLoader /// </summary> class HowToRunDataTestLoader { // Press F5 to RUN; the ou...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace DataTestLoader { /// <summary> /// Sample to start DataTestLoader /// </summary> class HowToRunDataTestLoader { // Press F5 to RUN; the ou...
apache-2.0
C#
cd3ab173c78a0e70517b2c5cefaf1151cd3508ac
Update XStyles.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D/Collections/XStyles.cs
src/Core2D/Collections/XStyles.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Immutable; using Core2D.Attributes; using Core2D.Style; namespace Core2D.Collections { /// <summary> /// Observable...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Immutable; using Core2D.Attributes; using Core2D.Style; namespace Core2D.Collections { /// <summary> /// Observable <see cref="Sh...
mit
C#
f682e7322cd7a50c3acb1a16713e3b1e321c2134
Remove AssemblyFileVersion
ygra/Diablo3ItemCollage,ygra/Diablo3ItemCollage
ItemCollageUI/Properties/AssemblyInfo.cs
ItemCollageUI/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ite...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ite...
mit
C#
f3ab3d1ecea62028a9d0de78ceb29b509d2690d6
Patch pause
fiahil/MyMediaPlayer
MyWmp/UIElements/MediaPlaylistElement.cs
MyWmp/UIElements/MediaPlaylistElement.cs
using System; using System.Windows.Controls; using MyWmp.Models; namespace MyWmp.UIElements { class MediaPlaylistElement : MediaElement { public Playlist Playlist { get; set; } public new void Play() { if (Playlist != null) { var s = new Uri(Pla...
using System; using System.Windows.Controls; using MyWmp.Models; namespace MyWmp.UIElements { class MediaPlaylistElement : MediaElement { public Playlist Playlist { get; set; } public new void Play() { if (Playlist != null) { Source = new Uri(Pl...
mit
C#
05fc9c0530813ae0c3670537a4bd752894d23024
access mod
mojoz0/postmodern-warfare,evan-erdos/postmodern-warfare
Assets/Scripts/Narration.cs
Assets/Scripts/Narration.cs
using UnityEngine; using ui=UnityEngine.UI; using System.Collections; using System.Collections.Generic; public class Narration : MonoBehaviour { string initMessageName = "init"; ui::Text text; public Message message; void Awake() { text = GetComponent<ui::Text>() ?? GetComponentInChildren<ui::Text>(); ...
using UnityEngine; using ui=UnityEngine.UI; using System.Collections; using System.Collections.Generic; public class Narration : MonoBehaviour { string initMessageName = "init"; public ui::Text text; public Message message; void Awake() { text = GetComponent<ui::Text>() ?? GetComponentInChildren<ui::Text...
mit
C#
5216f2f327a81dd1bb240143df11e20daa30914b
Remove Assembly-Level Attributes after Weaving, fixes https://github.com/Fody/PropertyChanged/issues/173
user1568891/PropertyChanged,Fody/PropertyChanged
PropertyChanged.Fody/AttributeCleaner.cs
PropertyChanged.Fody/AttributeCleaner.cs
using System; using System.Collections.Generic; using System.Linq; using Mono.Cecil; using Mono.Collections.Generic; public partial class ModuleWeaver { List<string> typeLevelAttributeNames = new List<string> { "PropertyChanged.DoNotCheckEqualityAttribute", "PropertyChanged.DoNotNotifyAttribu...
using System.Collections.Generic; using System.Linq; using Mono.Cecil; using Mono.Collections.Generic; public partial class ModuleWeaver { List<string> propertyAttributeNames = new List<string> { "PropertyChanged.DoNotCheckEqualityAttribute", "PropertyChanged.DoNotNotifyAttribute", "P...
mit
C#
987f6f8924ac9938bd620723890a9b21942faf22
Fix an issue where ISerializable is not available on .NET Core
Moq/moq4,ocoanet/moq4
Source/SerializableTypesValueProvider.cs
Source/SerializableTypesValueProvider.cs
using System.Reflection; #if !NETCORE using System.Runtime.Serialization; #endif namespace Moq { #if !NETCORE /// <summary> /// A <see cref="IDefaultValueProvider"/> that returns an empty default value /// for serializable types that do not implement <see cref="ISerializable"/> properly, /// and returns the val...
using System.Reflection; #if !NETCORE using System.Runtime.Serialization; #endif namespace Moq { /// <summary> /// A <see cref="IDefaultValueProvider"/> that returns an empty default value /// for serializable types that do not implement <see cref="ISerializable"/> properly, /// and returns the value provided b...
bsd-3-clause
C#
770b596aa3c9d51b17f3054ba75f9a4ac299f325
Set version to 0.3.0
dancol90/mi-360
Source/mi-360/Properties/AssemblyInfo.cs
Source/mi-360/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Le informazioni generali relative a un assembly sono controllate dal seguente // set di attributi. Modificare i valori di questi attributi per modificare le informazioni // associate a un assembly. [assembly: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Le informazioni generali relative a un assembly sono controllate dal seguente // set di attributi. Modificare i valori di questi attributi per modificare le informazioni // associate a un assembly. [assembly: Ass...
bsd-3-clause
C#
7a819a1766f3adee809bfe8a7d25680720c62948
change copyright message
cdonges/GuidClip
GuidClip/Program.cs
GuidClip/Program.cs
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="none"> // MIT licence // </copyright> //----------------------------------------------------------------------- namespace GuidClip { using System; using System.Collections.Generic; using ...
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="gen3 media"> // Copyright gen3 media // </copyright> //----------------------------------------------------------------------- namespace GuidClip { using System; using System.Collections.Gene...
mit
C#
74d459c0dfa656bc53ae0220ecf96cb48aa577f2
change URL binding
MCeddy/IoT-core
IoT-Core/Program.cs
IoT-Core/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; namespace IoT_Core { public class Program { public static void Main(string[] args) { var host = ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; namespace IoT_Core { public class Program { public static void Main(string[] args) { var host = ...
mit
C#
c840977acb72cd9d10fe90caf7c1d6ccacfa9c44
Fix filtering potentially not running after new items added
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Overlays/Music/Playlist.cs
osu.Game/Overlays/Music/Playlist.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu...
mit
C#
c5bf01cc5ccaf8a53f57fce21cc1fb16cf6cfc0b
Fix issue
UselessToucan/osu,ZLima12/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu,peppy/osu-new,Useless...
osu.Game/Rulesets/Mods/ModHidden.cs
osu.Game/Rulesets/Mods/ModHidden.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Configuration; using osu.Game.Graphics; using osu.Game.Rulesets.Objects.Drawables; using System.Collections.Generic; using System.Linq; using osu.Framework...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Configuration; using osu.Game.Graphics; using osu.Game.Rulesets.Objects.Drawables; using System.Collections.Generic; using System.Linq; using osu.Framework...
mit
C#
2e1cd4a389e8dce86a3f865b99dbed5c0b4b438d
remove accidental tab characters
NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu
osu.Game/Rulesets/Mods/ModMirror.cs
osu.Game/Rulesets/Mods/ModMirror.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Mods { public abstract class ModMirror : Mod { public override string Name => "Mirror"; public override string Acronym...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Mods { public abstract class ModMirror : Mod { public override string Name => "Mirror"; public override string Acronym...
mit
C#
4dca47db8df0492fc7235e4ae926b471c707a30e
make .net examples AST compatible (TODO: fix properly)
hayd/gherkin3,Zearin/gherkin3,thr0w/gherkin3,moreirap/gherkin3,dg-ratiodata/gherkin3,thiblahute/gherkin3,moreirap/gherkin3,cucumber/gherkin3,amaniak/gherkin3,concertman/gherkin3,thiblahute/gherkin3,thiblahute/gherkin3,amaniak/gherkin3,Zearin/gherkin3,concertman/gherkin3,vincent-psarga/gherkin3,hayd/gherkin3,chebizarro/...
dotnet/Gherkin/Ast/Examples.cs
dotnet/Gherkin/Ast/Examples.cs
using System; using System.Collections.Generic; using System.Linq; namespace Gherkin.Ast { public class Examples : IHasLocation, IHasDescription, IHasRows, IHasTags { public IEnumerable<Tag> Tags { get; private set; } public Location Location { get; private set; } public stri...
using System; using System.Collections.Generic; using System.Linq; namespace Gherkin.Ast { public class Examples : IHasLocation, IHasDescription, IHasRows, IHasTags { public IEnumerable<Tag> Tags { get; private set; } public Location Location { get; private set; } public stri...
mit
C#
9bfb2d9f865f10b308ce85d2efc2d34ec4d3390b
Fix execution of windows app
archrival/Resonance
src/Resonance.Windows/Program.cs
src/Resonance.Windows/Program.cs
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.WindowsServices; using Resonance.Common.Web; using System.Diagnostics; using System.Linq; namespace Resonance.Windows { public class Program { public static void Main(string[] args) { System.IO.Directory.SetCurr...
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.WindowsServices; using Resonance.Common.Web; using System.Diagnostics; using System.Linq; namespace Resonance.Windows { public class Program { public static void Main(string[] args) { var isService = !(Debugger....
apache-2.0
C#
99d13695ef6409e173693be2bc108e17ca56217f
Mark more fields in Invoice as ReadOnly
TDaphneB/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net,MatthewSteeples/XeroAPI.Net
source/XeroApi/Model/Invoice.cs
source/XeroApi/Model/Invoice.cs
using System; namespace XeroApi.Model { public class Invoice : ModelBase { [ItemId] public virtual Guid InvoiceID { get; set; } [ItemNumber] public string InvoiceNumber { get; set; } [ItemUpdatedDate] public DateTime? UpdatedDateUTC { get; set; } publ...
using System; namespace XeroApi.Model { public class Invoice : ModelBase { [ItemId] public virtual Guid InvoiceID { get; set; } [ItemNumber] public string InvoiceNumber { get; set; } [ItemUpdatedDate] public DateTime? UpdatedDateUTC { get; set; } publ...
mit
C#
73753e5e251b9866c7367b879d742e92e7a24295
make our own root exception
diclogic/cocktailvm,diclogic/cocktailvm
src/Cocktail/BaseExceptions.cs
src/Cocktail/BaseExceptions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cocktail { public class BaseException : Exception { public BaseException(string reason) : base(reason) { } } public class CompileTimeException : BaseException { public CompileTimeException...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cocktail { public class CompileTimeException : ApplicationException { public CompileTimeException(string reason) : base(reason) { } } public class JITCompileException : ApplicationException { publi...
mit
C#
e278ab67bd7ce8cd2cd4f5bde9520ea82545d8dc
Fix issue of singleton causing false-positives during running of full test-suite
kendaleiv/Supurlative,ritterim/Supurlative,billboga/Supurlative
src/Core/SupurlativeOptions.cs
src/Core/SupurlativeOptions.cs
using System; using System.Collections.Generic; namespace RimDev.Supurlative { public class SupurlativeOptions { public static SupurlativeOptions Defaults { get { return new SupurlativeOptions(); } } public UriKind UriKind { ...
using System; using System.Collections.Generic; namespace RimDev.Supurlative { public class SupurlativeOptions { public static readonly SupurlativeOptions Defaults = new SupurlativeOptions(); public UriKind UriKind { get; set; } public string PropertyNameSeperator { get; s...
mit
C#
cbc0a6e529f8228df425bc7cdbacc610e2ebb46c
delete nuget packages before build
FantasticFiasco/mvvm-dialogs
build/build.cake
build/build.cake
#load "utils.cake" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); /////////////////////////////////////////...
#load "utils.cake" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); /////////////////////////////////////////...
apache-2.0
C#
f26f64ebf935fd0c3a522cdb75d7cedeebdd5c44
Use DI in-memory cache.
marcuson/A2BBServer,marcuson/A2BBServer,marcuson/A2BBServer
A2BBAPI/Startup.cs
A2BBAPI/Startup.cs
using A2BBAPI.Data; using A2BBCommon; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjec...
using A2BBAPI.Data; using A2BBCommon; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjec...
apache-2.0
C#
0ec74665e0bf604d88c5f85f6f10a0b594164fc9
Add a comment.
treytomes/ILExperiments
AOPTest/Program.cs
AOPTest/Program.cs
using System; namespace AOPTest { public static class Program { public static void Main() { Console.WriteLine("Testing duck typing..."); Console.WriteLine(); DuckTyping.Program.Main(); Console.WriteLine(); Console.Write("Press any key to continue: "); Console.ReadKey(); // AOP with .NET Re...
using System; namespace AOPTest { public static class Program { public static void Main() { Console.WriteLine("Testing duck typing..."); Console.WriteLine(); DuckTyping.Program.Main(); Console.WriteLine(); Console.Write("Press any key to continue: "); Console.ReadKey(); Console.WriteLine("...
mit
C#
ea0bf1793b515882051da2cc05a79adb9dd67a0b
Fix CI
jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,Ava...
src/Avalonia.Animation/Easing/Easing.cs
src/Avalonia.Animation/Easing/Easing.cs
using Avalonia.Collections; using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.Linq; using System.ComponentModel; namespace Avalonia.Animation.Easings { /// <summary> /// Base class for all Easing classes. /// </summary> [TypeConverter(typeof(Easin...
using Avalonia.Collections; using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.Linq; using System.ComponentModel; namespace Avalonia.Animation.Easings { /// <summary> /// Base class for all Easing classes. /// </summary> [TypeConverter(typeof(Easin...
mit
C#
732d2a7d75c2b35977c0056c4b34ef26678766ae
Add way to record usage, fix LoadAllGifsAsync
bojanrajkovic/GifWin
src/GifWin/Data/GifWinDatabaseHelper.cs
src/GifWin/Data/GifWinDatabaseHelper.cs
using Microsoft.Data.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GifWin.Data { class GifWinDatabaseHelper : IDisposable { GifWinContext db; public GifWinDatabaseHelper() { db = new Gi...
using Microsoft.Data.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GifWin.Data { class GifWinDatabaseHelper : IDisposable { GifWinContext db; public GifWinDatabaseHelper() { db = new Gi...
mit
C#
e166a3ac0fdece6d1b869193df00c122ac479bf5
Make CryptoUtil.Md5Encode thread-safe
babycaseny/banshee,ixfalia/banshee,babycaseny/banshee,Dynalon/banshee-osx,ixfalia/banshee,directhex/banshee-hacks,babycaseny/banshee,lamalex/Banshee,lamalex/Banshee,stsundermann/banshee,allquixotic/banshee-gst-sharp-work,stsundermann/banshee,allquixotic/banshee-gst-sharp-work,lamalex/Banshee,Dynalon/banshee-osx,petejoh...
src/Libraries/Hyena/Hyena/CryptoUtil.cs
src/Libraries/Hyena/Hyena/CryptoUtil.cs
// // CryptoUtil.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, i...
// // CryptoUtil.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, i...
mit
C#
84932e4adfbbfdcd1023e3d23550effbc1890948
Add obsolete
RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,NSwag/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag,RSuter/NSwag,NSwag/NSwag
src/NSwag.AspNetCore/SwaggerSettings.cs
src/NSwag.AspNetCore/SwaggerSettings.cs
//----------------------------------------------------------------------- // <copyright file="SwaggerSettings.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.com</aut...
//----------------------------------------------------------------------- // <copyright file="SwaggerSettings.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.com</aut...
mit
C#
9c24380680736b9eca242cccdbd91f78070fb8bd
Set version to 0.2.1.
strayfatty/ShowFeed,strayfatty/ShowFeed
src/ShowFeed/Properties/AssemblyInfo.cs
src/ShowFeed/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Sh...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Sh...
mit
C#
6fff253d07e459f72b41f4e3dcd0597c54472597
Use `TaskHelper` instead of TCS
akarpov89/MicroFlow
src/Activities/SyncActivity.cs
src/Activities/SyncActivity.cs
using System; using System.Threading.Tasks; namespace MicroFlow { public abstract class SyncActivity<TResult> : Activity<TResult> { public sealed override Task<TResult> Execute() { try { TResult result = ExecuteActivity(); return TaskHelper.FromResult(result); } catc...
using System; using System.Threading.Tasks; namespace MicroFlow { public abstract class SyncActivity<TResult> : Activity<TResult> { public sealed override Task<TResult> Execute() { var tcs = new TaskCompletionSource<TResult>(); try { TResult result = ExecuteActivity(); tc...
mit
C#
3e1066c75f13733b77ea95542a35121704c40fab
Replace stash sign temporarily in grrui
awaescher/RepoZ,awaescher/RepoZ
grrui/Model/RepositoriesView.cs
grrui/Model/RepositoriesView.cs
using RepoZ.Api.Git; using RepoZ.Ipc; using System; using System.Collections.Generic; using System.Linq; namespace grrui.Model { public class RepositoriesView { private const int MAX_REPO_NAME_LENGTH = 35; private static StatusCharacterMap _map; private RepositoryView[] _repositoryViews; public Repositorie...
using RepoZ.Api.Git; using RepoZ.Ipc; using System; using System.Collections.Generic; using System.Linq; namespace grrui.Model { public class RepositoriesView { private const int MAX_REPO_NAME_LENGTH = 35; private static StatusCharacterMap _map; private RepositoryView[] _repositoryViews; public Repositorie...
mit
C#
af7511659aefb99c876d9253414fd7e6d208efa4
improve Pass
angeldnd/dap.core.csharp
Scripts/DapCore/core_/Pass.cs
Scripts/DapCore/core_/Pass.cs
using System; namespace angeldnd.dap { public class Pass { private readonly int _HashCode; public Pass() { _HashCode = Guid.NewGuid().GetHashCode(); } public Pass(int hashCode) { _HashCode = hashCode; } public Pass(object obj) { ...
using System; namespace angeldnd.dap { public class Pass { private int _HashCode = Guid.NewGuid().GetHashCode(); public override string ToString() { return string.Format("[Pass:{0}]", _HashCode); } /* Only exact same refrence is equal */ public override bool Eq...
mit
C#
23f5d49dd15a5cd28734315979659259280ea7c2
Use the new stuff.
kirilsi/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,darrencauthon/csharp-sparkpost,SparkPost/csharp-sparkpost,ZA1/csharp-sparkpost
src/SparkPost/Transmissions.cs
src/SparkPost/Transmissions.cs
using System.Threading.Tasks; namespace SparkPost { public class Transmissions { private readonly Client client; private readonly RequestSender requestSender; private readonly DataMapper dataMapper; public Transmissions(Client client, RequestSender requestSender, DataMapper da...
using System.Threading.Tasks; namespace SparkPost { public class Transmissions { private readonly Client client; private readonly RequestSender requestSender; private readonly DataMapper dataMapper; public Transmissions(Client client, RequestSender requestSender, DataMapper da...
apache-2.0
C#
1c273625d5f2a355d2ce633e233193b5cf23eec4
Update template
cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website
input/_Navbar.cshtml
input/_Navbar.cshtml
@{ List<Tuple<string, string>> pages = new List<Tuple<string, string>> { Tuple.Create("Documentation", Context.GetLink("docs")), Tuple.Create("Reference", Context.GetLink("dsl")), Tuple.Create("Addins", Context.GetLink("addins")), Tuple.Create("API", Context.GetLink("api/Cake.Iss...
@{ List<Tuple<string, string>> pages = new List<Tuple<string, string>> { Tuple.Create("Documentation", Context.GetLink("docs")), Tuple.Create("Reference", Context.GetLink("dsl")), Tuple.Create("Addins", Context.GetLink("addins")), Tuple.Create("API", Context.GetLink("api/Cake.Iss...
mit
C#
b1cd96300905a1da2726b5e653cc6d3a3184f5d0
add api key
NewBLife/NewBlife.Core
BaiduPush/PushTest/PushTest.Droid/MainActivity.cs
BaiduPush/PushTest/PushTest.Droid/MainActivity.cs
 using Android.App; using Android.Content.PM; using Android.OS; using Com.Baidu.Android.Pushservice; using Microsoft.Practices.Unity; using Prism.Unity; namespace PushTest.Droid { [Activity(Label = "PushTest", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigCh...
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Prism.Unity; using Microsoft.Practices.Unity; namespace PushTest.Droid { [Activity(Label = "PushTest", Icon = "@drawable/icon", MainLauncher = true, ConfigurationCh...
mit
C#
7394b3593f50d852439f0f61467c0ed07c818639
Bring back setting the app name based on the package info
gimsum/Akavache,MathieuDSTP/MyAkavache,shana/Akavache,bbqchickenrobot/Akavache,PureWeen/Akavache,akavache/Akavache,mms-/Akavache,jcomtois/Akavache,MarcMagnin/Akavache,Loke155/Akavache,ghuntley/AkavacheSandpit,shiftkey/Akavache,christer155/Akavache,kmjonmastro/Akavache,martijn00/Akavache,shana/Akavache
Akavache.Mobile/Registrations.cs
Akavache.Mobile/Registrations.cs
using Newtonsoft.Json; using ReactiveUI.Mobile; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #if UIKIT using MonoTouch.Foundation; using ReactiveUI.Mobile; #endif #if APPKIT using MonoMac.Foundation; #endif #if ANDROID using Android.App; #endif ...
using Newtonsoft.Json; using ReactiveUI.Mobile; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Akavache.Mobile { public class Registrations : IWantsToRegisterStuff { public void Register(Action<Func<object>, Type, string> r...
mit
C#
2a02c0334902437464b831448c29ec82515cf305
Change JSON property casing
mstrother/BmpListener
BmpListener/Bmp/BmpPeerHeader.cs
BmpListener/Bmp/BmpPeerHeader.cs
using System; using System.Linq; using System.Net; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace BmpListener.Bmp { public class BmpPeerHeader { public BmpPeerHeader(ArraySegment<byte> data) { Decode(data); } public PeerType Type { get; private s...
using System; using System.Linq; using System.Net; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace BmpListener.Bmp { public class BmpPeerHeader { public BmpPeerHeader(ArraySegment<byte> data) { Decode(data); } public PeerType Type { get; private s...
mit
C#
ba021e48e51a3201fcf1f3950b2c4e2c4362b036
Remove todo comment from XnaControlSoundMapper (moving remaining TODO to github issue)
ethanmoffat/EndlessClient
EndlessClient/UIControls/XnaControlSoundMapper.cs
EndlessClient/UIControls/XnaControlSoundMapper.cs
using AutomaticTypeMapper; using EndlessClient.Audio; using EOLib.Config; using Microsoft.Xna.Framework; using Optional; using XNAControls; namespace EndlessClient.UIControls { [AutoMappedType] public class XnaControlSoundMapper : IXnaControlSoundMapper { private readonly IConfigurationProvider _c...
using AutomaticTypeMapper; using EndlessClient.Audio; using EOLib.Config; using Microsoft.Xna.Framework; using Optional; using XNAControls; namespace EndlessClient.UIControls { [AutoMappedType] public class XnaControlSoundMapper : IXnaControlSoundMapper { private readonly IConfigurationProvider _c...
mit
C#
da369d96c93948d0561a16440a1054a97511db6f
Add Warning value to the enumeration.
Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger
src/HtmlLogger/Model/LogCategory.cs
src/HtmlLogger/Model/LogCategory.cs
namespace HtmlLogger.Model { public enum LogCategory { Info, Warning, Error } }
namespace HtmlLogger.Model { public enum LogCategory { Info, Error } }
mit
C#
5415b49dfc26dcc69051d01e90eb26972efaafe3
fix for being able to click through interstitials too quickly and break UI
engagementgamelab/hygiene-with-chhota-bheem,engagementgamelab/hygiene-with-chhota-bheem,engagementgamelab/hygiene-with-chhota-bheem
Assets/Scripts/InterstitialUI.cs
Assets/Scripts/InterstitialUI.cs
using UnityEngine; using UnityEngine.UI; public class InterstitialUI : MonoBehaviour { public GameObject PreviousScreen; public Button BackButton; private GameObject _interstitialsBack; private GameObject _background; private Image _interstitialScreen; private int _interstitialScreenCount; private Sprite[]...
using UnityEngine; using UnityEngine.UI; public class InterstitialUI : MonoBehaviour { public GameObject PreviousScreen; public Button BackButton; private GameObject _interstitialsBack; private GameObject _background; private Image _interstitialScreen; private int _interstitialScreenCount; private Sprite[]...
mit
C#
46efccee24acdedb25fe23f777bbdf35cb4615bd
remove unused "using" directives in Geometry.cs
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Voxelgon/Math/Geometry.cs
Assets/Voxelgon/Math/Geometry.cs
using UnityEngine; using System.Collections.Generic; namespace Voxelgon.Math { public static class Geometry { //merges a list of meshes into a single mesh (limited at 65534 vertices) public static Mesh MergeMeshes(List<Mesh> meshes) { var compoundMesh = new Mesh(); var compoundVertices = new List<Vector3>...
using UnityEngine; using System.Collections; using System.Collections.Generic; using Voxelgon; namespace Voxelgon.Math { public static class Geometry { //merges a list of meshes into a single mesh (limited at 65534 vertices) public static Mesh MergeMeshes(List<Mesh> meshes) { var compoundMesh = new Mesh(); ...
apache-2.0
C#
057c767cf839a9ff6ed77c5e29b14bc08f7fde89
Fix for missing ArrayPool.Shared.Return in random
StanJav/language-ext,louthy/language-ext
LanguageExt.Core/Prelude/Random/Prelude_Random.cs
LanguageExt.Core/Prelude/Random/Prelude_Random.cs
using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Security.Cryptography; using System.Threading; namespace LanguageExt { public static partial class Prelude { // There is no documentation that specifies whether the underlying RNG is thread-safe. // It is a...
using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Security.Cryptography; using System.Threading; namespace LanguageExt { public static partial class Prelude { // There is no documentation that specifies whether the underlying RNG is thread-safe. // It is a...
mit
C#
16ed3248093e58c2159e7d9c353ff3398db45208
Update the assembly version for LibPhoneNumber.Contrib since we added a new extension method.
Smartrak/Smartrak.Library
LibPhoneNumber.Contrib/Properties/AssemblyInfo.cs
LibPhoneNumber.Contrib/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Li...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Li...
mit
C#
fd3bd5d19b90a97d47715e8b1a612743ab65df51
Update Engine.cs
jongallant/CarSimulator
Assets/Scripts/Engine.cs
Assets/Scripts/Engine.cs
using UnityEngine; using System.Collections; public class Engine : MonoBehaviour { [SerializeField] int[] TorqueCurve = new int[8] { 100, 280, 325, 420, 460, 340, 300, 100 }; [SerializeField] float[] GearRatios = new float[] { 5.8f, 4.5f, 3.74f, 2.8f, 1.6f, 0.79f, 4.2f }; public int CurrentGear { get; privat...
using UnityEngine; using System.Collections; public class Engine : MonoBehaviour { [SerializeField] int[] TorqueCurve = new int[8] { 100, 280, 325, 420, 460, 340, 300, 100 }; [SerializeField] float[] GearRatios = new float[] { 5.8f, 4.5f, 3.74f, 2.8f, 1.6f, 0.79f, 4.2f }; public int CurrentGear { get; privat...
mit
C#
c0d9b74e350c2d38ba57181885b22bd7ee59272c
Remove direct input references
alex-sherman/Spectrum
Framework/Input/SpectrumMouse.cs
Framework/Input/SpectrumMouse.cs
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Windows.Forms; namespace Spectrum.Framework.Input { public class SpectrumMouseState { public bool[] buttons; public int X; public ...
using Microsoft.Xna.Framework; using SharpDX.DirectInput; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Windows.Forms; namespace Spectrum.Framework.Input { public class SpectrumMouseState { public bool[] buttons; pu...
mit
C#
3bb1a761f4bc364ddbd231f5bed5f9cd2bf9cdfd
Fix the issue with settings name
miroslavpopovic/production-ready-apis-sample
BoardGamesApi/Controllers/TempController.cs
BoardGamesApi/Controllers/TempController.cs
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; namespace BoardGamesApi.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class TempController : Controller { private readonly IConfiguration _configuration; publ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; namespace BoardGamesApi.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class TempController : Controller { private readonly IConfiguration _configuration; publ...
mit
C#
d7f7300dd7469981412697a9c55f78c044ea2ecf
Annotate character name correctly
leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Models/CharacterDetailsViewModel.cs
Joinrpg/Models/CharacterDetailsViewModel.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Web; using JoinRpg.DataModel; using JoinRpg.Domain; namespace JoinRpg.Web.Models { public interface ICharacterFieldsViewModel { [Display(Name = "Имя персонажа"),Required] string CharacterName { get; set; } bool...
using System.Collections.Generic; using System.Web; using JoinRpg.DataModel; using JoinRpg.Domain; namespace JoinRpg.Web.Models { public interface ICharacterFieldsViewModel { bool HasPlayerAccessToCharacter { get; set; } bool HasMasterAccess { get; set; } IEnumerable<CharacterFieldValue> CharacterFiel...
mit
C#
0a5f7fc97dbc8c7ff35fbe78ccdea257552d535b
Add textarea, keyboard listener and timer.
joshuadeleon/typingclassifier,joshuadeleon/typingclassifier,joshuadeleon/typingclassifier
ML.TypingClassifier/Views/Home/Index.cshtml
ML.TypingClassifier/Views/Home/Index.cshtml
@{ ViewBag.Title = "Typing Classifier"; } @section scripts { <script type="text/javascript"> 'use strict' var timer = getTimer(); $(function() { var capturing = false; document.addEventListener('keydown', function(event) { if(!capturing) { capturing = true; ...
@{ ViewBag.Title = "Typing Classifier"; } <div class="jumbotron"> This will be our awesome typing classifier </div> <div class="row"> Typing classifier goes here. @Html.ActionLink("Go to results", "Results", "Home"); </div>
mit
C#
491a1f3b608ac9a41b5720edd371d5da80b98523
Add public method to update cargo bank account (again) (#9761)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Cargo/Systems/CargoSystem.cs
Content.Server/Cargo/Systems/CargoSystem.cs
using Content.Server.Cargo.Components; using Content.Server.Station.Systems; using Content.Shared.Cargo; using Content.Shared.Cargo.Components; using Content.Shared.Containers.ItemSlots; using Robust.Shared.Prototypes; namespace Content.Server.Cargo.Systems; public sealed partial class CargoSystem : SharedCargoSystem...
using Content.Server.Cargo.Components; using Content.Server.Station.Systems; using Content.Shared.Cargo; using Content.Shared.Cargo.Components; using Content.Shared.Containers.ItemSlots; using Robust.Shared.Prototypes; namespace Content.Server.Cargo.Systems; public sealed partial class CargoSystem : SharedCargoSystem...
mit
C#
ecf4a3a479e157e7993d43fecfa6be85652bacfe
Fix page\chapters logging on save.
MonkAlex/MangaReader
MangaReader.Core/NHibernate/Interceptors.cs
MangaReader.Core/NHibernate/Interceptors.cs
using System.Linq; using System.Reflection; using MangaReader.Core.Manga; using MangaReader.Core.Services; using NHibernate; using NHibernate.Type; namespace MangaReader.Core.NHibernate { class BaseInterceptor : EmptyInterceptor { public override bool OnFlushDirty(object entity, object id, object[] currentSt...
using System.Linq; using System.Reflection; using MangaReader.Core.Manga; using MangaReader.Core.Services; using NHibernate; using NHibernate.Type; namespace MangaReader.Core.NHibernate { class BaseInterceptor : EmptyInterceptor { public override bool OnFlushDirty(object entity, object id, object[] currentSt...
mit
C#
de56643593bd69f4cb116aa3402df0f92026a84c
add example to update a row
jgraber/MicroORM_examples,jgraber/MicroORM_examples,jgraber/MicroORM_examples
MicroORM_Dapper/MicroORM_Massive/Program.cs
MicroORM_Dapper/MicroORM_Massive/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MicroORM_Massive.Massive; namespace MicroORM_Massive { class Program { static void Main(string[] args) { ReadData(); WriteData(); Update...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MicroORM_Massive.Massive; namespace MicroORM_Massive { class Program { static void Main(string[] args) { ReadData(); WriteData(); } ...
apache-2.0
C#
83902cfa373186c219e08f63b7ce3399abd64dec
Rename variable
DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17
Proto/Assets/Scripts/Time/TimeController.cs
Proto/Assets/Scripts/Time/TimeController.cs
using UnityEngine; public class TimeController : MonoBehaviour { public MultipleDelegate Tick = new MultipleDelegate(); public MultipleDelegate End = new MultipleDelegate(); [SerializeField] private string _filePath; [SerializeField] private int _penalizePlayerOnWrongTarget = 20; int _Ti...
using UnityEngine; public class TimeController : MonoBehaviour { public MultipleDelegate Tick = new MultipleDelegate(); public MultipleDelegate End = new MultipleDelegate(); [SerializeField] private string _filePath; [SerializeField] private int _penalizePlayerOnWrongTarget = 20; int _Ti...
mit
C#
1e12187d288054a8345f4a5b59005e6af2dba375
make UserConnections.Replace use custom regex to allow temporal unallowed properties
avifatal/framework,AlejandroCano/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework
Signum.Engine/Connection/UserConnections.cs
Signum.Engine/Connection/UserConnections.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Signum.Engine; using System.Data.SqlClient; using System.Diagnostics; using Signum.Engine.Maps; using Signum.Utilities; using System.Text.RegularExpressions; namespace Signum.Engine { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Signum.Engine; using System.Data.SqlClient; using System.Diagnostics; using Signum.Engine.Maps; using Signum.Utilities; namespace Signum.Engine { public static class UserConnections { ...
mit
C#
4ed5b423f1f1553f98ef3d012a41e15da4aa75d7
fix indexing
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Extensions/StringExtensions.cs
WalletWasabi/Extensions/StringExtensions.cs
namespace System { public static class StringExtensions { public static bool Equals(this string source, string value, StringComparison comparisonType, bool trimmed) { if (comparisonType == StringComparison.Ordinal) { if (trimmed) { return string.CompareOrdinal(source.Trim(), value.Trim()) == 0;...
namespace System { public static class StringExtensions { public static bool Equals(this string source, string value, StringComparison comparisonType, bool trimmed) { if (comparisonType == StringComparison.Ordinal) { if (trimmed) { return string.CompareOrdinal(source.Trim(), value.Trim()) == 0;...
mit
C#
35cf38dab33b2532e243e2b86f746fffa8ebd567
Update AssemblyInfo.cs
NLog/NLog.Web,304NotModified/NLog.Web
NLog.Web.AspNetCore/Properties/AssemblyInfo.cs
NLog.Web.AspNetCore/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NLo...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NLo...
bsd-3-clause
C#
0772a2d6d6396c8d3b4d7f80261cee11dc0b4075
Modify UserToken.MaxLoginProviderLength to 128
verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,andmattia/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,zclmoon/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplat...
src/Abp.ZeroCore/Authorization/Users/UserToken.cs
src/Abp.ZeroCore/Authorization/Users/UserToken.cs
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using JetBrains.Annotations; namespace Abp.Authorization.Users { /// <summary> /// Represents an authentication token for a user. /// </summary> [Table("AbpUserTokens")] publi...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using JetBrains.Annotations; namespace Abp.Authorization.Users { /// <summary> /// Represents an authentication token for a user. /// </summary> [Table("AbpUserTokens")] publi...
mit
C#
ba37032d51928e6ec7d0e700b906227f35719994
Update UnityProject/Assets/Scripts/Player/Pettable.cs
fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necr...
UnityProject/Assets/Scripts/Player/Pettable.cs
UnityProject/Assets/Scripts/Player/Pettable.cs
using UnityEngine; /// <summary> /// Allows an object to be pet by a player. Shameless copy of Huggable.cs /// </summary> public class Pettable : MonoBehaviour, IClientInteractable<PositionalHandApply> { public bool WillInteract( PositionalHandApply interaction, NetworkSide side ) { var targetNPCHealth = interact...
using UnityEngine; /// <summary> /// Allows an object to be pet by a player. Shameless copy of Huggable.cs /// </summary> public class Pettable : MonoBehaviour, IClientInteractable<PositionalHandApply> { public bool Interact(PositionalHandApply interaction) { var targetNPCHealth = interaction.TargetObject.GetComp...
agpl-3.0
C#
75406dd88f95655148e3fd67af8c70ccfa3d4b3b
Remove unused using
scriptcs-contrib/scriptcs-mef
sample/ScriptCompositionSample/Program.cs
sample/ScriptCompositionSample/Program.cs
using ScriptCs.ComponentModel.Composition; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; namespace ScriptCompositionSample { internal class Program { private static void Main(string[] args) { var program = new Program(); progr...
using ScriptCs.ComponentModel.Composition; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.IO; namespace ScriptCompositionSample { internal class Program { private static void Main(string[] args) { var program = new Program(); ...
apache-2.0
C#
97bc0bbfa9211fb40a2b7794d90215aca0677ee3
Update BoxHitTest.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Editor/Bounds/Shapes/BoxHitTest.cs
src/Draw2D.Editor/Bounds/Shapes/BoxHitTest.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Draw2D.Core; using Draw2D.Core.Shapes; using Draw2D.Spatial; namespace Draw2D.Editor.Bounds.Shapes { public abstract class BoxHitTest : Hi...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Draw2D.Core; using Draw2D.Core.Shapes; using Draw2D.Spatial; namespace Draw2D.Editor.Bounds.Shapes { public abstract class BoxHitTest : Hi...
mit
C#
66712c6aa63af9f938898d72e40496a5ec690ace
Update ReflectionExtensions.cs
PowerMogli/Rabbit.Db
src/Micro+/Reflection/ReflectionExtensions.cs
src/Micro+/Reflection/ReflectionExtensions.cs
using System.Collections.Concurrent; using System.Reflection; using System.Reflection.Emit; using MicroORM.Base; namespace MicroORM.Reflection { internal static class ReflectionExtensions { private delegate void Setter(object dest, object value); private static ConcurrentDictionary<int, Setter...
using System.Collections.Concurrent; using System.Reflection; using System.Reflection.Emit; using MicroORM.Base; namespace MicroORM.Reflection { internal static class ReflectionExtensions { private delegate void Setter(object dest, object value); private static ConcurrentDictionary<int, Setter...
apache-2.0
C#
e8ef2e84653452c707b65d1921a4a9a5d70d2ca3
tidy up
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Portal.Client/PortalClient.cs
src/SFA.DAS.EAS.Portal.Client/PortalClient.cs
using System.Threading; using System.Threading.Tasks; using SFA.DAS.EAS.Portal.Client.Application.Queries; using SFA.DAS.EAS.Portal.Client.Models.Concrete; using StructureMap; namespace SFA.DAS.EAS.Portal.Client { public class PortalClient : IPortalClient { private readonly GetAccountQuery _getAccountQ...
using System.Threading; using System.Threading.Tasks; using SFA.DAS.EAS.Portal.Client.Application.Queries; using SFA.DAS.EAS.Portal.Client.Models.Concrete; using StructureMap; namespace SFA.DAS.EAS.Portal.Client { public class PortalClient : IPortalClient { private readonly GetAccountQuery _getAccountQ...
mit
C#
dee44edcec956647309fccf6dc15ce5fd639b34d
Update ExchangeRateRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/ForeignExchange/Data/LiteDB/ExchangeRateRepository.cs
TIKSN.Core/Finance/ForeignExchange/Data/LiteDB/ExchangeRateRepository.cs
using LiteDB; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Data.LiteDB; namespace TIKSN.Finance.ForeignExchange.Data.LiteDB { public class ExchangeRateRepository : LiteDbRepository<ExchangeRateEntity, int>, IExchangeRateReposi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Data.LiteDB; namespace TIKSN.Finance.ForeignExchange.Data.LiteDB { public class ExchangeRateRepository : LiteDbRepository<ExchangeRateEntity, int>, IExchangeRateRepository { ...
mit
C#
d3319adb59e3dc869b7da8c6864cae68c06705f6
fix merge error
Faizan2304/cli,livarcocc/cli-1,harshjain2/cli,svick/cli,ravimeda/cli,harshjain2/cli,johnbeisner/cli,johnbeisner/cli,Faizan2304/cli,svick/cli,blackdwarf/cli,Faizan2304/cli,dasMulli/cli,livarcocc/cli-1,livarcocc/cli-1,blackdwarf/cli,blackdwarf/cli,EdwardBlair/cli,dasMulli/cli,ravimeda/cli,EdwardBlair/cli,blackdwarf/cli,d...
src/dotnet/commands/dotnet-publish/Program.cs
src/dotnet/commands/dotnet-publish/Program.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.DotNet.Cli; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; using Mi...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.DotNet.Cli; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; using Mi...
mit
C#
7a49d2ec39e69e4fd6c9ed257cdfb892d7db98af
Update `UITestFixture` to use headless Chrome
atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras
test/Atata.WebDriverExtras.Tests/UITestFixture.cs
test/Atata.WebDriverExtras.Tests/UITestFixture.cs
using OpenQA.Selenium.Chrome; namespace Atata.WebDriverExtras.Tests; [TestFixture] public abstract class UITestFixture { public const int TestAppPort = 57440; public static string BaseUrl { get; } = $"http://localhost:{TestAppPort}/"; protected IWebDriver Driver { get; private set; } [SetUp] p...
using OpenQA.Selenium.Chrome; namespace Atata.WebDriverExtras.Tests; [TestFixture] public abstract class UITestFixture { public const int TestAppPort = 57440; public static string BaseUrl { get; } = $"http://localhost:{TestAppPort}/"; protected IWebDriver Driver { get; private set; } [SetUp] p...
apache-2.0
C#
eaac4fe6c7b76bfef30d37bd7f15b6eb8d0cdccc
Simplify FindSnap method
ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu
osu.Game.Rulesets.Mania/Utils/SnapFinder.cs
osu.Game.Rulesets.Mania/Utils/SnapFinder.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Utils; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Mania.Beatmaps; using osu.Game.Rulesets.Objects; namespace osu.Ga...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Utils; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Mania.Beatmaps; using osu.Game.Rulesets.Objects; namespace osu.Ga...
mit
C#
4085aed0b9bcbbf2e6c2b49bf4b2886e7c37011a
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
1a74a6c30cfef8b655c13abfa97f7650d25e99a2
Upgrade to HTTPS links (#6)
kfstorm/BingWallpaper
BingWallpaper/Constants.cs
BingWallpaper/Constants.cs
using System; using System.IO; namespace Kfstorm.BingWallpaper { public static class Constants { public static string DataPath { get { string path = Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), @...
using System; using System.IO; namespace Kfstorm.BingWallpaper { public static class Constants { public static string DataPath { get { string path = Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), @...
mit
C#
f65a9bf5727f2931e3bb8393a82ed30cab36ee28
add tests
MediaBrowser/MediaBrowser.Naming,MediaBrowser/Emby.Naming
Emby.Naming.Tests/TV/AbsoluteEpisodeNumberTests.cs
Emby.Naming.Tests/TV/AbsoluteEpisodeNumberTests.cs
using MediaBrowser.Model.Logging; using Emby.Naming.Common; using Emby.Naming.TV; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; namespace Emby.Naming.Tests.TV { [TestClass] public class AbsoluteEpisodeNumberTests { [TestMethod] public void TestAbsoluteEpisodeNumber...
using MediaBrowser.Model.Logging; using Emby.Naming.Common; using Emby.Naming.TV; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; namespace Emby.Naming.Tests.TV { [TestClass] public class AbsoluteEpisodeNumberTests { [TestMethod] public void TestAbsoluteEpisodeNumber...
mit
C#
c1479b6727894351c73eb3d42a2dcbf0faebc639
Use var
theraot/Theraot
Framework.Core/System/Collections/FastModHelper.cs
Framework.Core/System/Collections/FastModHelper.cs
#if LESSTHAN_NET40 || NETSTANDARD1_0 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collections { internal static class FastModHelper { ...
#if LESSTHAN_NET40 || NETSTANDARD1_0 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collections { internal static class FastModHelper { ...
mit
C#
27aad92134190ccad95128b942c4f854290675a9
Sort snippets in descending order
HangfireIO/Hangfire.Highlighter,HangfireIO/Hangfire.Highlighter,HangfireIO/Hangfire.Highlighter
HangFire.Highlighter/Controllers/HomeController.cs
HangFire.Highlighter/Controllers/HomeController.cs
using System; using System.Linq; using System.Web.Mvc; using Hangfire.Highlighter.Jobs; using Hangfire.Highlighter.Models; namespace Hangfire.Highlighter.Controllers { public class HomeController : Controller { private readonly HighlighterDbContext _db = new HighlighterDbContext(); public Act...
using System; using System.Linq; using System.Web.Mvc; using Hangfire.Highlighter.Jobs; using Hangfire.Highlighter.Models; namespace Hangfire.Highlighter.Controllers { public class HomeController : Controller { private readonly HighlighterDbContext _db = new HighlighterDbContext(); public Act...
mit
C#