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
4c69b64bb0efd3bf1dd4f3e1023f261c348e1cdc
Remove gradient from assignment dialog progress bar
sillsdev/Glyssen,sillsdev/Glyssen
ProtoScript/Controls/ProgressBarUnanimated.cs
ProtoScript/Controls/ProgressBarUnanimated.cs
using System.Drawing; using System.Windows.Forms; namespace ProtoScript.Controls { public class ProgressBarUnanimated : ProgressBar { private readonly Color m_BarForeColor = Color.ForestGreen; public ProgressBarUnanimated() { SetStyle(ControlStyles.UserPaint, true); } protected override void OnPaintB...
using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace ProtoScript.Controls { public class ProgressBarUnanimated : ProgressBar { private readonly Color m_BarForeColor = Color.ForestGreen; public ProgressBarUnanimated() { SetStyle(ControlStyles.UserPaint, true); } ...
mit
C#
b1f42158b2d0e704f44fd986f5f1ccd3d23b9ef8
Fix partial call
fujiy/FujiyBlog,fujiy/FujiyBlog,fujiy/FujiyBlog
src/FujiyBlog.Web/Views/Post/Details.cshtml
src/FujiyBlog.Web/Views/Post/Details.cshtml
@using FujiyBlog.Core.DomainObjects @using FujiyBlog.Web.Models @using FujiyBlog.Core.Extensions @model FujiyBlog.Core.Dto.PostSummary @{ Layout = "_Layout"; } @section OpenGraphTags { <meta property="og:title" content="@Model.Post.Title" /> <meta property="og:type" content="article" /> <meta pro...
@using FujiyBlog.Core.DomainObjects @using FujiyBlog.Web.Models @using FujiyBlog.Core.Extensions @model FujiyBlog.Core.Dto.PostSummary @{ Layout = "_Layout"; } @section OpenGraphTags { <meta property="og:title" content="@Model.Post.Title" /> <meta property="og:type" content="article" /> <meta pro...
mit
C#
65c21565ab55b6a1d4621a3f2b65f4dbb8f19dc1
Make ILastFmObject internal so it's only visible to Syro, closes #44
Brijen/lastfm,realworld666/lastfm
src/IF.Lastfm.Core/Objects/ILastFmObject.cs
src/IF.Lastfm.Core/Objects/ILastFmObject.cs
namespace IF.Lastfm.Core.Objects { internal interface ILastfmObject { } }
namespace IF.Lastfm.Core.Objects { public interface ILastfmObject { } }
mit
C#
3aa07ca4ca9cea2c518261d8a26e8c6eaf0c7c07
Fix not all code paths return a value error
AngleSharp/AngleSharp.Io,AngleSharp/AngleSharp.Io,AngleSharp/AngleSharp.Io
AngleSharp.Io/ConfigurationExtensions.cs
AngleSharp.Io/ConfigurationExtensions.cs
namespace AngleSharp { using AngleSharp.Io.Network; using AngleSharp.Io.Services; using AngleSharp.Network; using AngleSharp.Network.Default; using AngleSharp.Services; using System.Linq; using System.Net.Http; /// <summary> /// Additional extensions for improved requesters. //...
namespace AngleSharp { using AngleSharp.Io.Network; using AngleSharp.Io.Services; using AngleSharp.Network; using AngleSharp.Network.Default; using AngleSharp.Services; using System.Linq; using System.Net.Http; /// <summary> /// Additional extensions for improved requesters. //...
mit
C#
26e262bfee4a1168d591fd9c0817a75c1c0ae597
Fix service event; can stop by BarbaMonitor now
BarbaTunnelCoder/BarbaTunnel,BarbaTunnelCoder/BarbaTunnel,BarbaTunnelCoder/BarbaTunnel
BarbaTunnel/BarbaService/BarbaService.cs
BarbaTunnel/BarbaService/BarbaService.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading; using System.Security.AccessControl; namespace BarbaTunnel.Service { public partial clas...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading; using System.Security.AccessControl; namespace BarbaTunnel.Service { public partial clas...
mit
C#
1f0586b3892d7e6c1816d029f8011d6c021f161f
fix added return
cartersm/BeeHiveSim
BeeHiveSim/Assets/Editor/ConfigParser.cs
BeeHiveSim/Assets/Editor/ConfigParser.cs
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Assets.Editor { public class ConfigParser { Dictionary<LocalConfiguration, BrickPlacement> runParse(St...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Assets.Editor { public class ConfigParser { Dictionary<LocalConfiguration, BrickPlacement> runParse(St...
mit
C#
0ae2078c7b11c7689036d204b43ce7f422920ce3
Correct version information.
icedream/gmadsharp
src/addoncreator/Properties/AssemblyInfo.cs
src/addoncreator/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: AssemblyTitle("GMadSharp")] [assembly: ...
using System.Reflection; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: AssemblyTitle("GarrysMod.AddonCreator")...
mit
C#
c153fd40f1dc9f03b70b29c26a63bc99ac3e22d0
rename variable
minhdtb/IEC-60870
IEC60870/Util/CountDownLatch.cs
IEC60870/Util/CountDownLatch.cs
using System.Threading; namespace IEC60870.Util { public class CountDownLatch { private readonly EventWaitHandle _event; private int _remain; public CountDownLatch(int count) { _remain = count; _event = new ManualResetEvent(false); ...
using System.Threading; namespace IEC60870.Util { public class CountDownLatch { private readonly EventWaitHandle @event; private int remain; public CountDownLatch(int count) { remain = count; @event = new ManualResetEvent(false); } ...
mit
C#
968a4b28b8c9ca4340464e8e7d381792495ea785
add comment
kompiuter/bing-wallpaper
BingWallpaper/BingDayImageProvider.cs
BingWallpaper/BingDayImageProvider.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace BingWallpaper.Models { public class BingDayImageProvider : IImageProvider { private readonly string _cultureInfo; ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace BingWallpaper.Models { public class BingDayImageProvider : IImageProvider { private readonly string _cultureInfo; ...
mit
C#
3087099b32b6d79bee36f126ebbbad09279d8e35
Use ModelBackedDrawable in DrawableRank
smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,peppy/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,ppy/osu,johnneijzen/osu,Useless...
osu.Game/Online/Leaderboards/DrawableRank.cs
osu.Game/Online/Leaderboards/DrawableRank.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.Framework.Allocation; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprit...
// 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.Framework.Allocation; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprit...
mit
C#
05990f0916662ec004997fd677335972cc90e128
fix comment
OBeautifulCode/OBeautifulCode.Build
Analyzers/analyzers/SuppressBecause.cs
Analyzers/analyzers/SuppressBecause.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SuppressBecause.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sourced from NuGet package. Wil...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SuppressBecause.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sourced from NuGet package. Wil...
mit
C#
9f3be195f2d06fcafc280009177c0307b56d07a3
Fix vk null bug
leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Services.Impl/UserServiceImpl.cs
JoinRpg.Services.Impl/UserServiceImpl.cs
using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.Data.Write.Interfaces; using JoinRpg.DataModel; using JoinRpg.Domain; using JoinRpg.Helpers; using JoinRpg.Services.Interfaces; namespace JoinRpg.Services.Impl { [UsedImplicitly] public class UserServiceImpl : DbServiceImplBase, IUserService...
using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.Data.Write.Interfaces; using JoinRpg.DataModel; using JoinRpg.Domain; using JoinRpg.Helpers; using JoinRpg.Services.Interfaces; namespace JoinRpg.Services.Impl { [UsedImplicitly] public class UserServiceImpl : DbServiceImplBase, IUserService...
mit
C#
2eda5bfe536b94162e201d494e8b206038cb7de7
Support full API available for worklogs
Axosoft/AxosoftAPI.NET
AxosoftAPI.NET/Interfaces/IWorklogs.cs
AxosoftAPI.NET/Interfaces/IWorklogs.cs
using AxosoftAPI.NET.Core.Interfaces; using AxosoftAPI.NET.Models; namespace AxosoftAPI.NET.Interfaces { public interface IWorkLogs : IResource<WorkLog> { } }
using AxosoftAPI.NET.Core.Interfaces; using AxosoftAPI.NET.Models; namespace AxosoftAPI.NET.Interfaces { public interface IWorkLogs : IGetAllResource<WorkLog>, ICreateResource<WorkLog>, IDeleteResource<WorkLog> { } }
mit
C#
1d3e95d2d9750ee0fc81671616b71aa1017dae4b
Expand doc comment
MHeasell/Mappy,MHeasell/Mappy
Mappy/Collections/SparseGridEventArgs.cs
Mappy/Collections/SparseGridEventArgs.cs
namespace Mappy.Collections { using System; using System.Collections.Generic; /// <summary> /// Arguments to sparse grid cell events. /// </summary> public class SparseGridEventArgs : EventArgs { public SparseGridEventArgs(ActionType action, IEnumerable<int> oldIndexes, I...
namespace Mappy.Collections { using System; using System.Collections.Generic; /// <summary> /// Arguments to sparse grid cell events. /// </summary> public class SparseGridEventArgs : EventArgs { public SparseGridEventArgs(ActionType action, IEnumerable<int> oldIndexes, I...
mit
C#
540c64cbc3384541e4d127ec52c7dcb645e8f98d
test commit
Riksarkivet/iiif-model,digirati-co-uk/iiif-model,dalbymodo/DalbyExperiment
Digirati.IIIF/Model/Types/Manifest.cs
Digirati.IIIF/Model/Types/Manifest.cs
using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types { /// <summary> /// /// </summary> public class Manifest : IIIFPresentationBase { [JsonProperty(Order = 31, PropertyName = "viewingDirection")] public string ViewingDirection { get; set; } [JsonProperty(Order = 40...
using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types { public class Manifest : IIIFPresentationBase { [JsonProperty(Order = 31, PropertyName = "viewingDirection")] public string ViewingDirection { get; set; } [JsonProperty(Order = 40, PropertyName = "sequences")] public ...
mit
C#
f1e6a83fdd73c5589772ab9d3fef316853a5cd19
Use a PrivateAdditionalLibrary for czmq.lib instead of a public one
DeltaMMO/ue4czmq,DeltaMMO/ue4czmq
Source/ue4czmq/ue4czmq.Build.cs
Source/ue4czmq/ue4czmq.Build.cs
// Copyright 2015 Palm Stone Games, Inc. All Rights Reserved. using System.IO; namespace UnrealBuildTool.Rules { public class ue4czmq : ModuleRules { public ue4czmq(TargetInfo Target) { // Include paths //PublicIncludePaths.AddRange(new string[] {}); //PrivateIncludePat...
// Copyright 2015 Palm Stone Games, Inc. All Rights Reserved. using System.IO; namespace UnrealBuildTool.Rules { public class ue4czmq : ModuleRules { public ue4czmq(TargetInfo Target) { // Include paths //PublicIncludePaths.AddRange(new string[] {}); //PrivateIncludePat...
apache-2.0
C#
28fb521ccad2cb1433ffec6faa9a427e694a551f
Fix for not assigning results of filtering.
tudway/Qart,mcraveiro/Qart,avao/Qart
Src/Qart.Testing/CyberTester.cs
Src/Qart.Testing/CyberTester.cs
using Common.Logging; using Qart.Testing.Framework; using System.Collections.Generic; using System.Linq; namespace Qart.Testing { public class CyberTester { private readonly ITestSystem _testSystem; private readonly ITestCaseLoggerFactory _testCaseLoggerFactory; private readonly ITestC...
using Common.Logging; using Qart.Testing.Framework; using System.Collections.Generic; using System.Linq; namespace Qart.Testing { public class CyberTester { private readonly ITestSystem _testSystem; private readonly ITestCaseLoggerFactory _testCaseLoggerFactory; private readonly ITestC...
apache-2.0
C#
0d015f641556a8cca0dedc65d8552bce4bb1290c
add aggressiveinlining annotation for some static funcitons
acple/ParsecSharp
ParsecSharp/Data/Internal/CharConvert.cs
ParsecSharp/Data/Internal/CharConvert.cs
using System.Runtime.CompilerServices; namespace ParsecSharp.Internal { internal static class CharConvert { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static string ToReadableStringWithCharCode(this char token) => $"{token.ToReadableString()}<0x{((int)token).ToString(...
namespace ParsecSharp.Internal { internal static class CharConvert { public static string ToReadableStringWithCharCode(this char token) => $"{token.ToReadableString()}<0x{((int)token).ToString("X2")}>"; public static string ToReadableString(this char token) => token swit...
mit
C#
54e4a6410a3cfc9f15a55f8d290a8ae2c9d6fc37
Remove groups when empty
ermau/Tempest.Social
Desktop/Tempest.Social/GroupManager.cs
Desktop/Tempest.Social/GroupManager.cs
// // GroupManager.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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, including ...
// // GroupManager.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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, including ...
mit
C#
070c496d0231ec01e25f1a0663af5a55579fde81
Add [Preserve].
Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x
src/unity/Runtime/Services/IAudioManager.cs
src/unity/Runtime/Services/IAudioManager.cs
using System; using UnityEngine.Scripting; namespace EE { [Preserve] [Service("EE" + nameof(IAudioManager))] public interface IAudioManager : IService { bool IsMusicEnabled { get; set; } bool IsSoundEnabled { get; set; } float MusicVolume { get; set; } float SoundVolume { ...
using System; namespace EE { [Service("EE" + nameof(IAudioManager))] public interface IAudioManager : IService { bool IsMusicEnabled { get; set; } bool IsSoundEnabled { get; set; } float MusicVolume { get; set; } float SoundVolume { get; set; } void PlayMusic(Enum id); ...
mit
C#
9c9dbb3647dc1e0ebac34b39819b1e5c3c316405
clean code
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
Demos/OrderIndependentTransparency/OITNode.build_lists.cs
Demos/OrderIndependentTransparency/OITNode.build_lists.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CSharpGL; namespace OrderIndependentTransparency { public partial class OITNode : PickableNode { private const string buildListsVert = @"#version 330 in vec3 vPosition; in vec3 vNormal; uniform mat4 mvpMatrix...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CSharpGL; namespace OrderIndependentTransparency { public partial class OITNode : PickableNode { private const string buildListsVert = @"#version 330 in vec3 vPosition; in vec3 vNormal; uniform mat4 mvpMatrix...
mit
C#
6a41b6c12edd39b81fc4302c56cd5a067c996195
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
1c258544ba07f249c58c58e3cfcf32f0806422fd
Update logging.cs
AntiTcb/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net
docs/guides/samples/logging.cs
docs/guides/samples/logging.cs
using Discord; using Discord.Rest; public class Program { private DiscordSocketClient _client; static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult(); public async Task Start() { _client = new DiscordSocketClient(new DiscordSocketConfig() { LogLevel = LogSever...
using Discord; using Discord.Rest; public class Program { private DiscordSocketClient _client; static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult(); public async Task Start() { _client = new DiscordSocketClient(new DiscordSocketConfig() { LogLevel = LogSever...
mit
C#
0568158a9bb076911705f3e13b6b8a09f2400ca0
Make settings scene views match settings when reloaded
Curdflappers/UltimateTicTacToe
Assets/Resources/Scripts/settings/PlayController.cs
Assets/Resources/Scripts/settings/PlayController.cs
using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class PlayController : MonoBehaviour { public InputField p1Name, p2Name; public Toggle p1AIToggle, p1HumanToggle, p2AIToggle, p2HumanToggle; public Slider p1Difficulty, p2Difficulty...
using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class PlayController : MonoBehaviour { public InputField p1Name, p2Name; public ToggleGroup p1Toggle, p2Toggle; public Slider p1Difficulty, p2Difficulty; public void PlayGame() { ...
mit
C#
d7fede93f02b3ae21c5c3e54517b0d0799d12783
Remove MySQL password
lecaillon/Evolve
test/Evolve.Core.Test.Driver/TestContext.cs
test/Evolve.Core.Test.Driver/TestContext.cs
using System; using System.IO; using System.Reflection; namespace Evolve.Core.Test.Driver { public static class TestContext { static TestContext() { ProjectFolder = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(typeof(TestContext).GetTypeInfo().Assembly.Location), @"../../../...
using System; using System.IO; using System.Reflection; namespace Evolve.Core.Test.Driver { public static class TestContext { static TestContext() { ProjectFolder = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(typeof(TestContext).GetTypeInfo().Assembly.Location), @"../../../...
mit
C#
31c27d73907cae7cd36a4dae0fa919231009dc16
Fix failing test for TestContent in test redaction
Seddryck/NBi,Seddryck/NBi
NBi.Testing/Unit/Xml/XmlManagerTest.cs
NBi.Testing/Unit/Xml/XmlManagerTest.cs
using System; using NBi.Xml; using NUnit.Framework; namespace NBi.Testing.Unit.Xml { [TestFixture] public class XmlManagerTest { [Test] public void Load_ValidFile_Success() { var filename = DiskOnFile.CreatePhysicalFile("TestSuite.xml", "NBi.Testing.Unit.Xml...
using System; using NBi.Xml; using NUnit.Framework; namespace NBi.Testing.Unit.Xml { [TestFixture] public class XmlManagerTest { [Test] public void Load_ValidFile_Success() { var filename = DiskOnFile.CreatePhysicalFile("TestSuite.xml", "NBi.Testing.Unit.Xml...
apache-2.0
C#
c7b7d2f5b38025b6f8e3d582865a04f73b7ee0b8
Fix setting FileDialog.FileName
bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Gtk/Forms/GtkFileDialog.cs
Source/Eto.Gtk/Forms/GtkFileDialog.cs
using System; using System.IO; using Eto.Forms; using System.Collections.Generic; using System.Linq; namespace Eto.GtkSharp.Forms { public abstract class GtkFileDialog<TControl, TWidget> : WidgetHandler<TControl, TWidget>, FileDialog.IHandler where TControl: Gtk.FileChooserDialog where TWidget: FileDialog { IF...
using System; using System.IO; using Eto.Forms; using System.Collections.Generic; using System.Linq; namespace Eto.GtkSharp.Forms { public abstract class GtkFileDialog<TControl, TWidget> : WidgetHandler<TControl, TWidget>, FileDialog.IHandler where TControl: Gtk.FileChooserDialog where TWidget: FileDialog { IF...
bsd-3-clause
C#
d0b1d5f0c7b6112b05e141af1493dfa72a4819e9
Fix euro formatting
SteamDatabase/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend
Database/Price.cs
Database/Price.cs
/* * Copyright (c) 2013-2015, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ namespace SteamDatabaseBackend { class Price { public string Country { get; set; } public uint PriceFinal { get; set; } ...
/* * Copyright (c) 2013-2015, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ namespace SteamDatabaseBackend { class Price { public string Country { get; set; } public uint PriceFinal { get; set; } ...
bsd-3-clause
C#
614428151819d2b3d1d5fe4c0006fd5ceff22cb3
add Main method to AntShares.Compiler.MSIL
AntShares/AntShares.VM
src/AntShares.Compiler.MSIL/Program.cs
src/AntShares.Compiler.MSIL/Program.cs
using System.IO; namespace AntShares.Compiler.MSIL { public class Program { public static void Main(string[] args) { if (args.Length == 0) return; if (!File.Exists(args[0])) return; byte[] script; using (FileStream fs = new FileStream(args[0], Fi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AntShares.Compiler.MSIL { public class Program { public static void Main(string[] args) { } } }
mit
C#
422df765046af985f4bc27119b234be623a14263
Add link safe attribute support
Plac3hold3r/PH.Wdullaer.Materialdatetimepicker,Plac3hold3r/PH.Wdullaer.Materialdatetimepicker,Plac3hold3r/PH.Wdullaer.Materialdatetimepicker
src/Binding/Properties/AssemblyInfo.cs
src/Binding/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using Android; [assembly: AssemblyTitle("Binding")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Binding")] [assembly: AssemblyCopyright("Copyright © 2017")] [assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
apache-2.0
C#
c889ad8fc5b22beb473ea47bec312efead7b82d6
add summary comment.
dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP/IPublishExecutor.cs
src/DotNetCore.CAP/IPublishExecutor.cs
using System.Threading.Tasks; namespace DotNetCore.CAP { /// <summary> /// publish message excutor. The excutor sends the message to the message queue /// </summary> public interface IPublishExecutor { /// <summary> /// publish message to message queue. /// </summary> ...
using System.Threading.Tasks; namespace DotNetCore.CAP { public interface IPublishExecutor { Task<OperateResult> PublishAsync(string keyName, string content); } }
mit
C#
6d84d930cf0520deed76a65e28460b5c13b3c29c
Revert If Command change
ajlopez/PythonSharp,ajlopez/PythonSharp
Src/PythonSharp/Commands/IfCommand.cs
Src/PythonSharp/Commands/IfCommand.cs
namespace PythonSharp.Commands { using System.Collections.Generic; using System.Linq; using System.Text; using PythonSharp.Expressions; using PythonSharp.Language; public class IfCommand : ICommand { private IExpression condition; private ICommand thencmd; ...
namespace PythonSharp.Commands { using System.Collections.Generic; using System.Linq; using System.Text; using PythonSharp.Expressions; using PythonSharp.Language; public class IfCommand : ICommand { private IExpression condition; private ICommand thencmd; ...
mit
C#
1099236a98a7b4e058e11b6ccd19ecf1b620d2af
Fix compute hash method
emoacht/SnowyImageCopy
Source/SnowyImageCopy.Shared/Models/ImageFile/HashItem.cs
Source/SnowyImageCopy.Shared/Models/ImageFile/HashItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace SnowyImageCopy.Models.ImageFile { /// <summary> /// Container for hash /// </summary> /// <remarks>This class should be immutable.</remarks> internal c...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace SnowyImageCopy.Models.ImageFile { /// <summary> /// Container for hash /// </summary> /// <remarks>This class should be immutable.</remarks> internal c...
mit
C#
8b0d53caf69bb192dcecef54f5c350eb211ca75b
Fix partial message
chkn/Tempest
Desktop/Tempest/InternalProtocol/PartialMessage.cs
Desktop/Tempest/InternalProtocol/PartialMessage.cs
// // PartialMessage.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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, includin...
// // PartialMessage.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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, includin...
mit
C#
6b4a7e207a195471ed6c60c6e774b3756912a83f
Upgrade AuthenticateService (again)
skacofonix/WhatTheMovie,skacofonix/WhatTheMovie,skacofonix/WhatTheMovie
WTM.Api/Controllers/AccountController.cs
WTM.Api/Controllers/AccountController.cs
using System.Web.Http; using WTM.Crawler; using WTM.Crawler.Services; namespace WTM.Api.Controllers { public class AccountController : ApiController { private readonly IAuthenticateService authenticateService; public AccountController() { var webClient = new WebClientWTM()...
using System.Web.Http; using WTM.Crawler; using WTM.Crawler.Services; namespace WTM.Api.Controllers { public class AccountController : ApiController { private readonly IAuthenticateService authenticateService; public AccountController() { var webClient = new WebClientWTM()...
mit
C#
8123ba472adb1119e811e61fb71cdf8a75c41665
Add new constructor to take Database object -Update updating message and make it consistent for update to latest and specific version
phoenixwebgroup/DotNetMongoMigrations,phoenixwebgroup/DotNetMongoMigrations
src/MongoMigrations/MigrationRunner.cs
src/MongoMigrations/MigrationRunner.cs
namespace MongoMigrations { using System; using System.Collections.Generic; using System.Linq; using MongoDB.Bson.Serialization; using MongoDB.Driver; public class MigrationRunner { static MigrationRunner() { Init(); } public static void Init() { BsonSerializer.RegisterSerializ...
namespace MongoMigrations { using System; using System.Collections.Generic; using System.Linq; using MongoDB.Bson.Serialization; using MongoDB.Driver; public class MigrationRunner { private readonly string _MongoServerLocation; static MigrationRunner() { Init(); } public static v...
mit
C#
519f31ce81bbf886b3d048f42d6b32cdd5a5f739
Allow File to not Exist in FileBrowse
PoshSec/PoshSecFramework
poshsecframework/PShell/psfilenameeditor.cs
poshsecframework/PShell/psfilenameeditor.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.Linq; using System.Text; using System.Windows.Forms; namespace poshsecframework.PShell { class psfilenameeditor : System.Drawing.Design.UITypeEditor { public override System.Dr...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.Linq; using System.Text; using System.Windows.Forms; namespace poshsecframework.PShell { class psfilenameeditor : System.Drawing.Design.UITypeEditor { public override System.Dr...
bsd-3-clause
C#
bbc6e76035a62b5b80038c6c2a84545d755d551b
Update StackFrameProgram
ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet...
Benchmarks/StackFrameProgram.cs
Benchmarks/StackFrameProgram.cs
using System.Diagnostics; using BenchmarkDotNet; namespace Benchmarks { public class StackFrameProgram { private const int IterationCount = 100001; public void Run() { var competition = new BenchmarkCompetition(); competition.AddTask("StackFrame", () => StackFr...
using System.Diagnostics; using BenchmarkDotNet; namespace Benchmarks { public class StackFrameProgram { private const int IterationCount = 100001; public void Run() { var competition = new BenchmarkCompetition(); competition.AddTask("StackFrame", () => StackFr...
mit
C#
b1b9e8e2c257f0a8eaf6cf61c5779e42bc840763
Remove unrelated code bit
peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples
TwilioCallLogConsole/Program.cs
TwilioCallLogConsole/Program.cs
using System; using Microsoft.Framework.Configuration; using Microsoft.Framework.Runtime; using Twilio; namespace TwilioCallLogConsole { public class Program { public IRuntimeOptions Options { get; set; } public IConfiguration Configuration { get; set; } public Program(IRuntimeOptions ...
using System; using Microsoft.Framework.Configuration; using Microsoft.Framework.Runtime; using Twilio; namespace TwilioCallLogConsole { public class Program { public IRuntimeOptions Options { get; set; } public IConfiguration Configuration { get; set; } public Program(IRuntimeOptions ...
mit
C#
4bc489bbdd95fb49f095bff9c6566708ad85e7f1
Add some readonly 's to tests
villermen/runescape-cache-tools,villermen/runescape-cache-tools
RuneScapeCacheToolsTests/RuneTek5CacheTests.cs
RuneScapeCacheToolsTests/RuneTek5CacheTests.cs
using System; using Villermen.RuneScapeCacheTools.Cache; using Villermen.RuneScapeCacheTools.Cache.RuneTek5; using Xunit; using Xunit.Abstractions; namespace RuneScapeCacheToolsTests { public class RuneTek5CacheTests : IDisposable { private readonly ITestOutputHelper _output; private readonly...
using System; using Villermen.RuneScapeCacheTools.Cache; using Villermen.RuneScapeCacheTools.Cache.RuneTek5; using Xunit; using Xunit.Abstractions; namespace RuneScapeCacheToolsTests { public class RuneTek5CacheTests : IDisposable { private ITestOutputHelper _output; private RuneTek5Cache _ca...
mit
C#
5e93d748ecb3cc8cddee261669b5395431bb06cc
Range Helper: ToString;
KonH/UDBase
Helpers/Range.cs
Helpers/Range.cs
using UnityEngine; using System; using System.Collections; namespace UDBase.Helpers { public abstract class Range<T> { public T Start; public T End; public Range() { } public Range(T start, T end) { Start = start; End = end; } public abstract bool IsValid(); public abstract bool Contains...
using UnityEngine; using System; using System.Collections; namespace UDBase.Helpers { public abstract class Range<T> { public T Start; public T End; public Range() { } public Range(T start, T end) { Start = start; End = end; } public abstract bool IsValid(); public abstract bool Contains...
mit
C#
5557d1cd69b3a595a8b91ca0a870d54814985317
Change UserLearntWord to simplify system and reflect changes to system design
mtcairneyleeming/latin
auto_decliner/Database/UserLearntWord.cs
auto_decliner/Database/UserLearntWord.cs
using System; namespace LatinAutoDecline.Database { public class UserLearntWord { public string UserId { get; set; } public int LemmaId { get; set; } public DateTime NextRevision { get; set; } public int RevisionStage { get; set; } public Lemma Lemma { get; set; } ...
using System; namespace LatinAutoDecline.Database { public class UserLearntWord { public string UserId { get; set; } public int LemmaId { get; set; } public double LearntPercentage { get; set; } public DateTime NextRevision { get; set; } public int RevisionStage { get; ...
mit
C#
5f1641ba8fc71154704c2aea636b44b0cdea002c
remove ternary
kusl/Tree
VisualTree/TreeLibrary/BinarySearchTreeNode.cs
VisualTree/TreeLibrary/BinarySearchTreeNode.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TreeLibrary { public sealed class BinarySearchTreeNode { public BinarySearchTreeNode LeftChild { get; set; } public BinarySearchTreeNode RightChild { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TreeLibrary { public sealed class BinarySearchTreeNode { public BinarySearchTreeNode LeftChild { get; set; } public BinarySearchTreeNode RightChild { get; set; } ...
agpl-3.0
C#
c590b70188ad61ef8d84a9f028f2212581487b75
Remove temp data
segrived/WTManager
WTManager.Resources/Properties/AssemblyInfo.cs
WTManager.Resources/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("WTManager.Resources")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("WTManager.Resource")] [assembly: AssemblyCopyright("Copyright © 2017")]...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("WTManager.Resources")] [assembly: AssemblyDescription("sddsfsdf")] [assembly: AssemblyConfiguration("ertert")] [assembly: AssemblyCompany("dsfdsf")] [assembly: AssemblyProduct("WTManager.Resourcewws")] [assembly: AssemblyCopyrigh...
mit
C#
5ce8d134f1162e84611249275c4a7c7b1f2f188e
update logging
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Common/Logging/LoggingConfig.cs
WebAPI.Common/Logging/LoggingConfig.cs
using System.IO; using System.Web; using Serilog; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Email; namespace WebAPI.Common.Logging { public static class LoggingConfig { public static void Register(string name) { var email = new EmailConnectionInfo { ...
using System.IO; using System.Web; using Serilog; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Email; namespace WebAPI.Common.Logging { public static class LoggingConfig { public static void Register(string name) { var email = new EmailConnectionInfo { ...
mit
C#
5b5eaadb449b9ca1eb826c7c235e9d5b8c665fe1
Fix broken amended commit.
huin/kerbcam2
kerbcam2/IOperation.cs
kerbcam2/IOperation.cs
 namespace kerbcam2 { /// <summary> /// Handles modification of the world (or camera) during a given time range. /// Strictly speaking, the times are inclusive of the start time, and /// exclusive of the end time, except where they are equal, which implies /// an instantaneous effect. /// </sum...
 namespace kerbcam2 { /// <summary> /// Handles modification of the world (or camera) during a given time range. /// Strictly speaking, the times are inclusive of the start time, and /// exclusive of the end time, except where they are equal, which implies /// an instantaneous effect. /// </sum...
bsd-3-clause
C#
38a2c2c11134183509abe73d194c8f45d2ba6b68
Add try start/end, handler start/end, etc to ExceptionHandler
yck1509/dnlib,ilkerhalil/dnlib,ZixiangBoy/dnlib,0xd4d/dnlib,Arthur2e5/dnlib,kiootic/dnlib,picrap/dnlib,modulexcite/dnlib,jorik041/dnlib
src/DotNet/Emit/ExceptionHandler.cs
src/DotNet/Emit/ExceptionHandler.cs
namespace dot10.DotNet.Emit { /// <summary> /// A CIL method exception handler /// </summary> public class ExceptionHandler { /// <summary> /// First instruction of try block /// </summary> public Instruction TryStart; /// <summary> /// One instruction past the end of try block or <c>null</c> if it en...
namespace dot10.DotNet.Emit { /// <summary> /// A CIL method exception handler /// </summary> public class ExceptionHandler { } }
mit
C#
6f6284e0fba8a95a92db1f34413eea043628af27
Update ByteArrayChunk ctor XML doc
modulexcite/dnlib,picrap/dnlib,0xd4d/dnlib,Arthur2e5/dnlib,yck1509/dnlib,kiootic/dnlib,ZixiangBoy/dnlib,jorik041/dnlib,ilkerhalil/dnlib
src/DotNet/Writer/ByteArrayChunk.cs
src/DotNet/Writer/ByteArrayChunk.cs
/* Copyright (C) 2012-2014 de4dot@gmail.com 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, including without limitation the rights to use, copy, modify, m...
/* Copyright (C) 2012-2014 de4dot@gmail.com 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, including without limitation the rights to use, copy, modify, m...
mit
C#
0c07bdc3bdecc70a187eab33fed461d8cfdcc38d
Update version number for new nugget.
SAEnergy/Infrastructure,SAEnergy/Infrastructure
Src/GlobalAssemblyInfo.cs
Src/GlobalAssemblyInfo.cs
using System.Reflection; // 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: AssemblyCompany("Simple Answers Energy, Inc.")] [assembly: AssemblyProduct("Infrastructure")] [...
using System.Reflection; // 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: AssemblyCompany("Simple Answers Energy, Inc.")] [assembly: AssemblyProduct("Infrastructure")] [...
mit
C#
8be5df79ab534c356bedf31c6fa4a8e2d4b1c2aa
make Service abstract
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Services/Service.cs
src/FilterLists.Services/Service.cs
using AutoMapper; using FilterLists.Data; using JetBrains.Annotations; namespace FilterLists.Services { [UsedImplicitly] public abstract class Service { protected readonly FilterListsDbContext DbContext; protected readonly IConfigurationProvider MapConfig; protected Service(Filter...
using AutoMapper; using FilterLists.Data; using JetBrains.Annotations; namespace FilterLists.Services { [UsedImplicitly] public class Service { protected readonly FilterListsDbContext DbContext; protected readonly IConfigurationProvider MapConfig; public Service(FilterListsDbConte...
mit
C#
ad4831320a0e7ba63c627f6ebb6d84df49cbd798
Rename method Run for FlushData, more explicit.
pthivierge/web-service-reader-for-pi-system,pthivierge/data-collection-service-for-pi-system,pthivierge/data-collection-service-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/data-collection-service-for-pi-system
Core/DataWriter.cs
Core/DataWriter.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using DCS.Core.Helpers; using log4net; using OSIsoft.AF.Asset; using OSIsoft.AF.Data; using Quartz; namespace DCS.Core { /// <summary> ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using DCS.Core.Helpers; using log4net; using OSIsoft.AF.Asset; using OSIsoft.AF.Data; using Quartz; namespace DCS.Core { /// <summary> ...
apache-2.0
C#
6ed057de5a69bfe3c54832b11f1a4162a1e272ea
Add ReferExpense to Container.
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey/App.xaml.cs
client/BlueMonkey/BlueMonkey/App.xaml.cs
// if connect azure then uncomment this line. #define DEBUG using BlueMonkey.ExpenseServices; using BlueMonkey.MediaServices; #if AZURE using BlueMonkey.ExpenseServices.Azure; #else using BlueMonkey.ExpenseServices.Local; #endif using BlueMonkey.Model; using BlueMonkey.TimeService; using Prism.Unity; using BlueMonkey....
// if connect azure then uncomment this line. #define DEBUG using BlueMonkey.ExpenseServices; using BlueMonkey.MediaServices; #if AZURE using BlueMonkey.ExpenseServices.Azure; #else using BlueMonkey.ExpenseServices.Local; #endif using BlueMonkey.Model; using BlueMonkey.TimeService; using Prism.Unity; using BlueMonkey....
mit
C#
dbd49fe4d8586172e9ca06775cd2bc9b0e4b3ed3
Fix concurrent access to cache
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle021.cs
src/ProjectEuler/Puzzles/Puzzle021.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System.Collections.Concurrent; namespace MartinCostello.ProjectEuler.Puzzles; /// <summary> /// A class representing the solutio...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles; /// <summary> /// A class representing the solution to <c>https://projecteuler.net/problem...
apache-2.0
C#
714327b760bd05557273a35f1ceb900e3b2373d3
Improve efficiency of Fibonacci()
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle025.cs
src/ProjectEuler/Puzzles/Puzzle025.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; /// <summary> /// A class representing the soluti...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; /// <summary> /// A class representing the soluti...
apache-2.0
C#
40d790d895876d76b563eeb3e21adecf4cb824c9
remove CaseInsensitive property from Route. Routes are now case-insensitive.
McSherry/Zener
Core/Route.cs
Core/Route.cs
/* * Copyright (c) 2014, SynapLink, LLC * All Rights reserved. * * Released under BSD 3-Clause licence. See terms in * /LICENCE.txt, or online: http://opensource.org/licenses/BSD-3-Clause */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
/* * Copyright (c) 2014, SynapLink, LLC * All Rights reserved. * * Released under BSD 3-Clause licence. See terms in * /LICENCE.txt, or online: http://opensource.org/licenses/BSD-3-Clause */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
bsd-3-clause
C#
49130f5ae38ddb32131d20bbf72cf854b8ad870d
Update Vertex
Silvertorch5/RobustEngine
Graphics/Vertex.cs
Graphics/Vertex.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RobustEngine.Graphics { public struct Vertex { public float X, Y, Z; public Vertex(float x, float y, float z = 0) { X = x; Y = y; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RobustEngine.Graphics { class Vertex { } }
mit
C#
b21553e7bb04ff499dd012d10e0cb64836dd4c38
Change EventOrder.Seventh to EventOrder.Last so execution order is more obvious
Minikloon/FestivalKit
EventOrder.cs
EventOrder.cs
namespace FestivalKit { public enum EventOrder { First, Second, Third, Fourth, Fifth, Sixth, Last } }
namespace FestivalKit { public enum EventOrder { First, Second, Third, Fourth, Fifth, Sixth, Seventh } }
mit
C#
b09a84391538ad87dce57f33a71a93a427899518
Remove Email format enforcement on LoginView
folkelib/Folke.Identity.Server
src/Folke.Identity.Server/Views/LoginView.cs
src/Folke.Identity.Server/Views/LoginView.cs
using System.ComponentModel.DataAnnotations; namespace Folke.Identity.Server.Views { public class LoginView { [Required] public string Email { get; set; } [Required] [DataType(DataType.Password)] public string Password { get; set; } public bool RememberMe { ge...
using System.ComponentModel.DataAnnotations; namespace Folke.Identity.Server.Views { public class LoginView { [Required] [EmailAddress] public string Email { get; set; } [Required] [DataType(DataType.Password)] public string Password { get; set; } publ...
mit
C#
45b31c587e1ba9aac3f7346bd98a34992c9f9e54
Update test to not use the static Mapper.Instance and instead force to use the overload that takes the instance in the test.
TylerCarlson1/Automapper.Collection,AutoMapper/AutoMapper.Collection
src/AutoMapper.Collection.Tests/ValueTypeTests.cs
src/AutoMapper.Collection.Tests/ValueTypeTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoMapper.EquivalencyExpression; using Xunit; namespace AutoMapper.Collection { public class ValueTypeTests { [Fact] public void MapValueTypes() { var ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoMapper.EquivalencyExpression; using Xunit; namespace AutoMapper.Collection { public class ValueTypeTests { [Fact] public void MapValueTypes() { Mapp...
mit
C#
7df64d07355e2d5a0573184841149c3fd2b3e025
Change the name and used hashset
lucaslorentz/minicover,lucaslorentz/minicover,lucaslorentz/minicover
src/MiniCover.HitServices/TestMethodUtils.cs
src/MiniCover.HitServices/TestMethodUtils.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; namespace MiniCover.HitServices { public static class TestMethodUtils { private static readonly HashSet<string> TestFrameworkAssemblies = new HashSet<string>(StringComp...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; namespace MiniCover.HitServices { public static class TestMethodUtils { private static readonly IEnumerable<string> TestFrameworkAssemblies = new[] { ...
mit
C#
aa5cbfaf44501c589428d33a332b2f48d84b28e7
Add applications to get role response (#5403) (#5426)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/XPack/Security/Role/GetRole/Role.cs
src/Nest/XPack/Security/Role/GetRole/Role.cs
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Runtime.Serialization; namespace Nest { //only used by GetRoleRes...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Runtime.Serialization; namespace Nest { //only used by GetRoleRes...
apache-2.0
C#
196a86321df9e65c5e2ee11969cbda8128b6aec8
add FileLineCounter
juna0613/Slocker
src/Slocker/Sloc/ICounter.cs
src/Slocker/Sloc/ICounter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Slocker { public interface ICounter { int Count(string input); } public class FileLineCounter : ICounter { public int Count(string input) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Slocker { public interface ICounter { int Count(string input); } public class SourceCodeCounter : ICounter { private readonly ICoreCounterFactory _factory;...
mit
C#
dbeb3f07053c759a2fc17a34a40f86dd93a9f7c1
Delete break from the test
vbfox/pinvoke,jmelosegui/pinvoke,AArnott/pinvoke
src/WtsApi32.Tests/WtsApi32Facts.cs
src/WtsApi32.Tests/WtsApi32Facts.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using System.Linq; using PInvoke; using Xunit; using Xunit.Abstractions; using s...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using System.Linq; using PInvoke; using Xunit; using Xunit.Abstractions; using s...
mit
C#
7a91e4948edb491ce8a09c4584b1e05c40df7060
Set player last tick update on movement generator update
HelloKitty/317refactor
src/Client/Rs317.Client.Unity.GladMMO/Engine/Instance/Tickables/MovementSimulationTickable.cs
src/Client/Rs317.Client.Unity.GladMMO/Engine/Instance/Tickables/MovementSimulationTickable.cs
using System; using System.Collections.Generic; using System.Text; using Glader.Essentials; using Rs317.GladMMO; using Rs317.Sharp; namespace GladMMO { [SceneTypeCreateGladMMO(GameSceneType.InstanceServerScene)] public sealed class MovementSimulationTickable : IGameFixedTickable { private IReadonlyEntityGuidMapp...
using System; using System.Collections.Generic; using System.Text; using Glader.Essentials; using Rs317.GladMMO; using Rs317.Sharp; namespace GladMMO { [SceneTypeCreateGladMMO(GameSceneType.InstanceServerScene)] public sealed class MovementSimulationTickable : IGameFixedTickable { private IReadonlyEntityGuidMapp...
mit
C#
8d31ce46eb6293416a01c5641670d9a25fc38230
add documentation for the new condition
mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/...
Stratis.Bitcoin/BlockPulling/IBlockPuller.cs
Stratis.Bitcoin/BlockPulling/IBlockPuller.cs
using NBitcoin; using System.Threading; namespace Stratis.Bitcoin.BlockPulling { /// <summary> /// Puller that download blocks from peers. /// </summary> public interface IBlockPuller { /// <summary> /// Prepares and invokes download tasks from peer nodes for blocks the node is mis...
using NBitcoin; using System.Threading; namespace Stratis.Bitcoin.BlockPulling { /// <summary> /// Puller that download blocks from peers. /// </summary> public interface IBlockPuller { /// <summary> /// Prepares and invokes download tasks from peer nodes for blocks the node is mis...
mit
C#
09747a8fabb5e6076dea7d5ece52185f2f7b503d
Fix covariant error
PeterStephenson/snippets
C#/ServiceHoster.cs
C#/ServiceHoster.cs
static void Main(string[] args) { var servicesToRun = new ServiceBase[] { /* Services go here */ }; if (Environment.UserInteractive) { var startMethod = typeof(ServiceBase).GetMethod("OnStart", BindingFlags.NonPublic | BindingFlags.Instance); ...
static void Main(string[] args) { var servicesToRun = new ServiceBase[] { /* Services go here */ }; if (Environment.UserInteractive) { var startMethod = typeof(ServiceBase).GetMethod("OnStart", BindingFlags.NonPublic | BindingFlags.Instance); ...
mit
C#
5bd8eb4bba37b56f5d2058a37981b39ad9cdabb0
Update to use Index
Distant/MetroTileEditor
Data/MapSaveData.cs
Data/MapSaveData.cs
using MetroTileEditor.Utils; using System; using UnityEngine; namespace MetroTileEditor { [Serializable] public class MapSaveData { public BlockData[] blockData1D; public int width, height, depth; public int selectedLayer; public MapSaveData(BlockDataArray blockDataArray, ...
using MetroTileEditor.Utils; using System; using UnityEngine; namespace MetroTileEditor { [Serializable] public class MapSaveData { public BlockData[] blockData1D; public int x, y, z; public int selectedLayer; public MapSaveData(BlockDataArray blockDataArray, int layer) ...
mit
C#
d0352eb4ea825c99014629ef8c4b58cccb100d9c
Update Index.cshtml
Viseo/wii-wars-by-viseo,Viseo/wii-wars-by-viseo,Viseo/wii-wars-by-viseo,Viseo/wii-wars-by-viseo,Viseo/wii-wars-by-viseo
Viseo.WiiWars.WebAPI/Views/Home/Index.cshtml
Viseo.WiiWars.WebAPI/Views/Home/Index.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> Welcome to the wii-wars ASP.NET 5 Web API app! <br /> here is some example <a href="api/Values"> http://viseo-wii-wars-dev-noeu-websites.azurewebsites.net/api/Values </ a ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> Welcome to your ASP.NET 5 Web API app! Click <a href="api/Values"> here</a> to access the Web API api/values </body> </html>
mit
C#
711d0c952e749bc3e83b5820402f7d8c1897d695
use a "using" to shorten some lines Use a "using System.Timers;" statement.
cra0zy/xwt,mminns/xwt,TheBrainTech/xwt,sevoku/xwt,hamekoz/xwt,steffenWi/xwt,mono/xwt,iainx/xwt,akrisiun/xwt,lytico/xwt,hwthomas/xwt,mminns/xwt,antmicro/xwt,residuum/xwt,directhex/xwt
Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs
Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs
// // ProgressBarBackend.cs // // Author: // Andres G. Aragoneses <knocte@gmail.com> // // Copyright (c) 2012 Andres G. Aragoneses // // 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 Soft...
// // ProgressBarBackend.cs // // Author: // Andres G. Aragoneses <knocte@gmail.com> // // Copyright (c) 2012 Andres G. Aragoneses // // 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 Soft...
mit
C#
7c04399898293989138a308c18f5ee722b9fe09f
Update ViewTestPage.xaml.cs
thehunte199/mAppQuiz
mAppQuiz/mAppQuiz/ContentPages/ViewTestPage.xaml.cs
mAppQuiz/mAppQuiz/ContentPages/ViewTestPage.xaml.cs
using mAppQuiz.Data; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace mAppQuiz.ContentPages { [XamlCompilation(XamlCompilationOptions.Compile)] public pa...
using mAppQuiz.Data; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace mAppQuiz.ContentPages { [XamlCompilation(XamlCompilationOptions.Compile)] public pa...
mit
C#
37376772aa8d371ec4ac106c46fa20852fa7b60f
Improve xmldoc for `PortableInstallation`
smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/HostOptions.cs
osu.Framework/HostOptions.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.Framework.Platform; #nullable enable namespace osu.Framework { /// <summary> /// Various configuration properties for a <see cref="Host"/>. /// </...
// 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.Framework.Platform; #nullable enable namespace osu.Framework { /// <summary> /// Various configuration properties for a <see cref="Host"/>. /// </...
mit
C#
023dbd2c17c1b6de00a8a0a0e7b2479a5cbc75d9
Use IntervalReachedEventArgs instead of EventArgs.
jcheng31/IntervalTimer
IntervalTimer.cs
IntervalTimer.cs
using System; using Microsoft.SPOT; namespace IntervalTimer { public delegate void IntervalEventHandler(object sender, IntervalReachedEventArgs e); public class IntervalTimer { public TimeSpan ShortDuration { get; set; } public TimeSpan LongDuration { get; set; } publ...
using System; using Microsoft.SPOT; namespace IntervalTimer { public delegate void IntervalEventHandler(object sender, EventArgs e); public class IntervalTimer { public TimeSpan ShortDuration { get; set; } public TimeSpan LongDuration { get; set; } public IntervalTime...
mit
C#
42995b04bdf0eec3430e578316e7c9f86ef81c69
Remove unused import
MHeasell/Mappy,MHeasell/Mappy
Mappy/Globals.cs
Mappy/Globals.cs
namespace Mappy { using System.Drawing; using Mappy.Services; public static class Globals { public static readonly BitmapCache TileCache = new BitmapCache(); public static readonly Bitmap DefaultTile = CreateWhiteBitmap(32, 32); private static Bitmap CreateWhiteBitm...
namespace Mappy { using System.Drawing; using Mappy.IO; using Mappy.Services; public static class Globals { public static readonly BitmapCache TileCache = new BitmapCache(); public static readonly Bitmap DefaultTile = CreateWhiteBitmap(32, 32); private static B...
mit
C#
016873bb13c27d77553455edf929eb733fbb673b
Extend XmlComponentSerializer with some basic types (all from XMLElement)
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
bindings/src/Runtime/IComponentSerializer.cs
bindings/src/Runtime/IComponentSerializer.cs
using System; namespace Urho { public interface IComponentSerializer { void Serialize(string key, object value); T Deserialize<T>(string key); } /// <summary> /// XMLElement based implementation of IComponentSerializer /// </summary> public class XmlComponentSerializer : IComponentSerializer { readonl...
namespace Urho { public interface IComponentSerializer { void Serialize(string key, object value); bool Deserialize<T>(string key, out T value); } /// <summary> /// XMLElement based impl of IComponentSerializer /// </summary> public class XmlComponentSerializer : IComponentSerializer { readonly XMLElem...
mit
C#
c8859abeb73d98ebc1a51d77b5c9a5809f390045
Fix #110 - enable asynchronous mode for Stream transport on Windows
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.NodeServices/HostingModels/PhysicalConnections/NamedPipeConnection.cs
src/Microsoft.AspNetCore.NodeServices/HostingModels/PhysicalConnections/NamedPipeConnection.cs
using System.IO; using System.IO.Pipes; using System.Threading.Tasks; namespace Microsoft.AspNetCore.NodeServices.HostingModels.PhysicalConnections { internal class NamedPipeConnection : StreamConnection { private bool _disposedValue = false; private NamedPipeClientStream _namedPipeClientStream...
using System.IO; using System.IO.Pipes; using System.Threading.Tasks; namespace Microsoft.AspNetCore.NodeServices.HostingModels.PhysicalConnections { internal class NamedPipeConnection : StreamConnection { private bool _disposedValue = false; private NamedPipeClientStream _namedPipeClientStream...
apache-2.0
C#
59c2a3642ba39fc43385b94338c280369bdf69d6
Bump version of subprocess exe (should have been done a long time ago)
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
subprocess/Properties/AssemblyInfo.cs
subprocess/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("TweetDuck Browser")] [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("TweetDuck Browser")] [assembly: AssemblyDe...
mit
C#
9796c345b01bbf6b7224720fce030ad748f16e62
Fix a bug that causes the application to not start. This happen because the Start method was not begin called.
nohros/must,nohros/must,nohros/must
src/platform/toolkit/restql/aspnet/Global.asax.cs
src/platform/toolkit/restql/aspnet/Global.asax.cs
using System; using System.Web; using System.Web.Configuration; using ZMQ; namespace Nohros.Toolkit.RestQL { public class Global : HttpApplication { static readonly Context zmq_context_; #region .ctor static Global() { zmq_context_ = new Context(ZMQ.Context.DefaultIOThreads); ...
using System; using System.Web; using System.Web.Configuration; using ZMQ; namespace Nohros.Toolkit.RestQL { public class Global : HttpApplication { static readonly Context zmq_context_; #region .ctor static Global() { zmq_context_ = new Context(ZMQ.Context.DefaultIOThreads); ...
mit
C#
e9003346d4f538377a613acd2e2dc6fc42ce6bdd
Add missing blank line
UselessToucan/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,johnneijzen/osu,peppy/osu-new
osu.Game/Overlays/Rankings/RankingsOverlayHeader.cs
osu.Game/Overlays/Rankings/RankingsOverlayHeader.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.Framework.Graphics; using osu.Framework.Bindables; using osu.Game.Graphics.UserInterface; using osu.Game.Rulesets; using osu.Game.Users; namespace osu.Game.Ov...
// 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.Framework.Graphics; using osu.Framework.Bindables; using osu.Game.Graphics.UserInterface; using osu.Game.Rulesets; using osu.Game.Users; namespace osu.Game.Ov...
mit
C#
aec4cb0ef5058b6f6e321693a23f5c9860a2f983
Add RandomAI() method for fast generation of simple random players
Curdflappers/UltimateTicTacToe
Assets/Resources/Scripts/game/model/Settings.cs
Assets/Resources/Scripts/game/model/Settings.cs
using UnityEngine; public class Settings { public static Player p1 = RandomAI(true), p2 = RandomAI(false); public static RandomAI RandomAI(bool firstPlayer) { int turn = firstPlayer ? 1 : 2; Color color = firstPlayer ? Color.red : Color.blue; Sprite sprite = Resources...
using UnityEngine; public class Settings { public static Player p1 = new RandomAI(null, 1, Color.red, Resources.Load<Sprite>("Sprites/x"), "X"), p2 = new RandomAI(null, 2, Color.blue, Resources.Load<Sprite>("Sprites/o"), "O"); }
mit
C#
c406ca78b26fc06e1f4f5c3e260e809c788d7fa2
fix possible exception when build cache is updated while it is used to update build time
lgrabarevic/BuildsAppReborn
BuildsAppReborn.Client/ViewModels/BuildsStatusViewModel.cs
BuildsAppReborn.Client/ViewModels/BuildsStatusViewModel.cs
using System; using System.ComponentModel.Composition; using System.Diagnostics; using System.Linq; using System.Timers; using BuildsAppReborn.Client.Interfaces; using BuildsAppReborn.Contracts.UI; using BuildsAppReborn.Infrastructure; using Prism.Commands; namespace BuildsAppReborn.Client.ViewModels { [Export] ...
using System; using System.ComponentModel.Composition; using System.Diagnostics; using System.Timers; using BuildsAppReborn.Client.Interfaces; using BuildsAppReborn.Contracts.UI; using BuildsAppReborn.Infrastructure; using Prism.Commands; namespace BuildsAppReborn.Client.ViewModels { [Export] [PartCreationPol...
mit
C#
2fcf278b141e61ef3ae4c9afa9e3dc1ea9954bb0
Fix Interop/SizeConst/SizeConstTest to successfully run in all locales. (#20268)
krk/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/...
tests/src/Interop/SizeConst/SizeConstTest.cs
tests/src/Interop/SizeConst/SizeConstTest.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]...
mit
C#
cd5507e0d4f89ee1cdf897a65cd4a0387ca1f4fb
Implement more Mac PlatformInformation
AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD...
src/ADAL.PCL.Mac/PlatformInformation.cs
src/ADAL.PCL.Mac/PlatformInformation.cs
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
mit
C#
458f9631df0aece3b1122c288bd10ba65baa6614
Add two (currently failing) tests. Hopefully the new wikiextractor will deal with these corner cases (unissued, unilluminating).
EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an
A-vs-An/AvsAn-Test/StandardCasesWork.cs
A-vs-An/AvsAn-Test/StandardCasesWork.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AvsAnLib; using ExpressionToCodeLib; using NUnit.Framework; namespace AvsAn_Test { public class StandardCasesWork { [TestCase("an", "unanticipated result")] [TestCa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AvsAnLib; using ExpressionToCodeLib; using NUnit.Framework; namespace AvsAn_Test { public class StandardCasesWork { [TestCase("an", "unanticipated result")] [TestCa...
apache-2.0
C#
1e4330cbe453e3b2098a28702e6bc7e8d4afb9c0
Fix an issue with the default info
Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz
src/MyHealth.Client.Core/AppSettings.cs
src/MyHealth.Client.Core/AppSettings.cs
using System; namespace MyHealth.Client.Core { public static class AppSettings { public static string ServerlUrl = "http://YOUR_WEB.azurewebsites.net/"; public static string MobileAPIUrl = "https://YOUR_WEB_MOBILE.azurewebsites.net"; public static int DefaultPatientId = __YOURPATIENTID__; ...
using System; namespace MyHealth.Client.Core { public static class AppSettings { public static string ServerlUrl = "http://YOUR_WEB.azurewebsites.net/"; public static string MobileAPIUrl = "https://YOUR_WEB_MOBILE.azurewebsites.net"; public static int DefaultPatientId = __YOURPATIENTID__; ...
mit
C#
dbd80a725320b70443aa2100462a31d678775bc8
revert sample changes
serilog/serilog-sinks-console,serilog/serilog-sinks-console
sample/ConsoleDemo/Program.cs
sample/ConsoleDemo/Program.cs
using Serilog; using Serilog.Sinks.SystemConsole.Themes; using System; using System.Threading; namespace ConsoleDemo { public class Program { public static void Main() { Log.Logger = new LoggerConfiguration() .MinimumLevel.Verbose() .WriteTo.Console(...
using Serilog; using Serilog.Sinks.SystemConsole.Themes; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ConsoleDemo { public class Program { public static void Main(string[] args) { Log.Logger = new LoggerConfiguration() ...
apache-2.0
C#
d5bacbbc7bd3e989430cfe01534dd3c531e37ef4
Add AggressiveInlining for Rotate and Get functions
CDuke/NHasher
src/NHasher/HashExtensions.cs
src/NHasher/HashExtensions.cs
using System.Runtime.CompilerServices; namespace NHasher { internal static class HashExtensions { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static ulong RotateLeft(this ulong original, int bits) { return (original << bits) | (original >> (64 - bits)); ...
namespace NHasher { internal static class HashExtensions { public static ulong RotateLeft(this ulong original, int bits) { return (original << bits) | (original >> (64 - bits)); } public static uint RotateLeft(this uint original, int bits) { retu...
mit
C#
335823863ed58018b7f36ecdb544767d54a82d75
add softmax function
daibinhua888/NeuronFramework,daibinhua888/NeuronFramework
NNeuronFramework/Utils/FunctionUtils.cs
NNeuronFramework/Utils/FunctionUtils.cs
using System; using System.Collections.Generic; using System.Text; namespace NNeuronFramework.Utils { public static class FunctionUtils { public static double Linear(double x) { return x; } public static double Sigmoid(double x) { double one = 1...
using System; using System.Collections.Generic; using System.Text; namespace NNeuronFramework.Utils { public static class FunctionUtils { public static double Linear(double x) { return x; } public static double Sigmoid(double x) { double one = 1...
apache-2.0
C#
01538ed7d7c9bac1ec370132702c683e24069cab
Fix nullref.
NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,tacchinotacchi/osu,Nabile-Rahmani/osu,osu-RP/osu-RP,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,Frontear/osuKyzer,ZLima12/osu,ppy/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,ppy/osu,peppy/osu,johnneijzen/osu,peppy/osu,naoey/osu,2yangk23/osu,RedNesto/osu,smoogipoo/osu,Useless...
osu.Desktop.VisualTests/AutomatedVisualTestGame.cs
osu.Desktop.VisualTests/AutomatedVisualTestGame.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Testing; using osu.Game; namespace osu.Desktop.VisualTests { public class AutomatedVisualTestGame : OsuGameBase { protect...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Testing; using osu.Game; namespace osu.Desktop.VisualTests { public class AutomatedVisualTestGame : OsuGameBase { public ...
mit
C#
b7355e9fb7052a3fbf177b5c87f46bf6569a1d1e
Support for zoom with perspective camera
maxrevilo/Mazzaroth,maxrevilo/Mazzaroth,maxrevilo/Mazzaroth
Assets/GameScenes/Common/Scripts/RTSCamera.cs
Assets/GameScenes/Common/Scripts/RTSCamera.cs
using System; using UnityEngine; using System.Collections; namespace Mazzaroth { public class RTSCamera : BaseMonoBehaviour { public Vector3 TargetPosition; public float TargetZoom = 1f; public float MaxZoom = 4f; public float MinZoom = 0.5f; public float MovementAdaptati...
using System; using UnityEngine; using System.Collections; namespace Mazzaroth { public class RTSCamera : BaseMonoBehaviour { public Vector3 TargetPosition; public float TargetZoom = 1f; public float MaxZoom = 4f; public float MinZoom = 0.5f; public float MovementAdaptati...
artistic-2.0
C#
07ac54cfb7774d69f039c1c7fea2be67cbc39786
add fresh/stale properties to CacheMetadata
taka-oyama/UniHttp
Assets/UniHttp/Support/Cache/CacheMetadata.cs
Assets/UniHttp/Support/Cache/CacheMetadata.cs
using UnityEngine; using System; using System.Text; namespace UniHttp { internal sealed class CacheMetadata { internal const int version = 1; internal string domain; internal string path; internal string contentType; internal string eTag; internal DateTime? expireAt; internal DateTime? lastModified; ...
using UnityEngine; using System; using System.Text; namespace UniHttp { internal sealed class CacheMetadata { internal const int version = 1; internal string domain; internal string path; internal string contentType; internal string eTag; internal DateTime? expireAt; internal DateTime? lastModified; ...
mit
C#
e42a5ff004eb454fda252a5e53d418f0525e6b78
Remove interface impl
brickpile/brickpile,brickpile/brickpile,brickpile/brickpile
BrickPile.Core/Configuration/Configuration.cs
BrickPile.Core/Configuration/Configuration.cs
using System.ComponentModel.DataAnnotations; namespace BrickPile.Core.Configuration { public class Configuration { /// <summary> /// Gets or sets the id. /// </summary> /// <value> /// The id. /// </value> [ScaffoldColumn(false)] public string Id { ge...
using System.ComponentModel.DataAnnotations; namespace BrickPile.Core.Configuration { public class Configuration : IConfiguration { /// <summary> /// Gets or sets the id. /// </summary> /// <value> /// The id. /// </value> [ScaffoldColumn(false)] publ...
mit
C#
a087bdd82f7c6b3a9b530ccd384c33cbcd324f2a
Update Global.asax.cs
ellern/champs-room,ellern/champs-room
src/Global.asax.cs
src/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; namespace ChampsRoom { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start(...
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 ChampsRoom { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start(...
mit
C#
3d93339698b763b8d1b0dcf747b865f5d205ac56
fix potential exception
RPCS3/discord-bot
CompatBot/Utils/Extensions/RolesExtensions.cs
CompatBot/Utils/Extensions/RolesExtensions.cs
using System.Collections.Generic; using System.Linq; using CompatBot.Database.Providers; using DSharpPlus; using DSharpPlus.Entities; namespace CompatBot.Utils { internal static class RolesExtensions { public static bool IsWhitelisted(this DiscordUser user, DiscordClient client, DiscordGuild guild = n...
using System.Collections.Generic; using System.Linq; using CompatBot.Database.Providers; using DSharpPlus; using DSharpPlus.Entities; namespace CompatBot.Utils { internal static class RolesExtensions { public static bool IsWhitelisted(this DiscordUser user, DiscordClient client, DiscordGuild guild = n...
lgpl-2.1
C#
8e19380f280209fbf71042f771e89b6dc0c8572b
Clean Sample
danielwertheim/mynatsclient,danielwertheim/mynatsclient
src/samples/MrSam/Program.cs
src/samples/MrSam/Program.cs
using System; using System.Threading; using MyNatsClient; namespace MrSam { public class Program { private static INatsClient _client; public static void Main(string[] args) { var cnInfo = new ConnectionInfo("192.168.2.17") { Credentials = new C...
using System; using System.Reactive; using System.Threading; using MyNatsClient; using MyNatsClient.Ops; namespace MrSam { public class Program { private static INatsClient _client; public static void Main(string[] args) { var cnInfo = new ConnectionInfo("192.168.2.17") ...
mit
C#
c16d2bd2532683f976cf475f6575825c55934728
Initialize RemoveConfigCommand with an IApplicationConfiguration and IAppHarborClient
appharbor/appharbor-cli
src/AppHarbor/Commands/RemoveConfigCommand.cs
src/AppHarbor/Commands/RemoveConfigCommand.cs
using System; namespace AppHarbor.Commands { class RemoveConfigCommand : ICommand { private readonly IApplicationConfiguration _applicationConfiguration; private readonly IAppHarborClient _appharborClient; public RemoveConfigCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient appharb...
using System; namespace AppHarbor.Commands { class RemoveConfigCommand : ICommand { public void Execute(string[] arguments) { throw new NotImplementedException(); } } }
mit
C#
9f73dbf7fd786ef59919ef2ec1a87cde4cbe7691
Update UITestFixture.TearDown method to safely clean AtataContext
atata-framework/atata-sample-app-tests
src/AtataSampleApp.AutoTests/UITestFixture.cs
src/AtataSampleApp.AutoTests/UITestFixture.cs
using Atata; using NUnit.Framework; namespace AtataSampleApp.AutoTests { [TestFixture] public class UITestFixture { [SetUp] public void SetUp() { AtataContext.Configure(). UseChrome(). WithArguments("disable-extensions", "sta...
using Atata; using NUnit.Framework; namespace AtataSampleApp.AutoTests { [TestFixture] public class UITestFixture { [SetUp] public void SetUp() { AtataContext.Configure(). UseChrome(). WithArguments("disable-extensions", "sta...
apache-2.0
C#
03115e8f3ed2d57eef2d745ded047e8f725faa3e
add some scenario tests for first class tests.
jwChung/Experimentalism,jwChung/Experimentalism
test/ExperimentUnitTest/Scenario.cs
test/ExperimentUnitTest/Scenario.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class Scenario { [NaiveTheorem] public void NaiveTheoremSupportsNonParameterizedTest() { Assert.True(true, "exc...
using System; using System.Collections.Generic; using System.Reflection; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class Scenario { [NaiveTheorem] public void NaiveTheoremSupportsNonParameterizedTest() { Assert.True(true, "excuted."); } ...
mit
C#
59eec27765bfa870ae55261a4e0241353326fe05
Update master
mcintyre321/FormFactory,mcintyre321/FormFactory,mcintyre321/FormFactory
FormFactory/Properties/AssemblyInfo.cs
FormFactory/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("Fo...
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("Fo...
mit
C#
cb40007afba6ceaf0a6c67efbee8ebd45c799ec9
update assembly version to 3.0.3.0
rainmattertech/dotnetkiteconnect
KiteConnect/Properties/AssemblyInfo.cs
KiteConnect/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("Kit...
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("Kit...
mit
C#
8c49b6f0a166d7c8c7be627fbeb272f9c897b1eb
Rename variable for accuracy.
KevM/fixie,EliotJones/fixie,bardoloi/fixie,Duohong/fixie,JakeGinnivan/fixie,bardoloi/fixie,fixie/fixie
src/Fixie.VisualStudio.TestAdapter/Discoverer.cs
src/Fixie.VisualStudio.TestAdapter/Discoverer.cs
using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; using Fixie.Execution; namespace Fixie.VisualStudio.TestAdapter { [DefaultExecutor...
using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; using Fixie.Execution; namespace Fixie.VisualStudio.TestAdapter { [DefaultExecutor...
mit
C#