commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
d848b810da8fbc39ad234465d83907711946e8f5 | osu.Framework/Testing/TestBrowserConfig.cs | osu.Framework/Testing/TestBrowserConfig.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Framework.Testing
{
internal class TestBrowserConfig : IniConfigMan... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Framework.Testing
{
internal class TestBrowserConfig : IniConfigMan... | Fix VisualTests crashing on first startup due to incorrect configuration | Fix VisualTests crashing on first startup due to incorrect configuration
| C# | mit | EVAST9919/osu-framework,EVAST9919/osu-framework,default0/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,peppy/osu-framework,default0/osu-framework,ppy/osu-framework,DrabWeb/os... |
3ce0450d7b4c9a69f983c27efd333de119a02e36 | src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs | src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs |
using System;
using System.IO;
using NUnit.Framework;
namespace Mango.Server.Tests
{
[TestFixture()]
public class HttpHeadersTest
{
[Test()]
public void TestMultilineParse ()
{
//
// multiline values are acceptable if the next
// line starts with spaces
//
string header = @"HeaderName: So... |
using System;
using System.IO;
using NUnit.Framework;
namespace Mango.Server.Tests
{
[TestFixture()]
public class HttpHeadersTest
{
[Test()]
public void TestMultilineParse ()
{
//
// multiline values are acceptable if the next
// line starts with spaces
//
string header = @"HeaderName: So... | Make sure we test across more than two lines. | Make sure we test across more than two lines.
| C# | mit | jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/... |
73faf294e1899394963f1b22dfc1a58c3be06f66 | src/CypherTwo.Tests/IntegrationTests.cs | src/CypherTwo.Tests/IntegrationTests.cs | namespace CypherTwo.Tests
{
using System;
using System.Net.Http;
using CypherTwo.Core;
using NUnit.Framework;
[TestFixture]
public class IntegrationTests
{
private INeoClient neoClient;
private ISendRestCommandsToNeo neoApi;
private IJsonHttpClientWrapper httpCl... | namespace CypherTwo.Tests
{
using System;
using System.Net.Http;
using CypherTwo.Core;
using NUnit.Framework;
[TestFixture]
public class IntegrationTests
{
private INeoClient neoClient;
private ISendRestCommandsToNeo neoApi;
private IJsonHttpClientWrapper httpCl... | Change URL of initialization in integration tests | Change URL of initialization in integration tests
| C# | mit | mikehancock/CypherNetCore |
9d0aefcc43fde8ea303f8b3e370f076b8bb2a3db | Samples/Search/App.xaml.cs | Samples/Search/App.xaml.cs | using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
namespace Template10.Samples.SearchSample
{
sealed partial class App : Template10.Common.BootStrapper
{
public App()
{
InitializeComponent();
}
public override Task OnIn... | using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
namespace Template10.Samples.SearchSample
{
sealed partial class App : Template10.Common.BootStrapper
{
public App()
{
InitializeComponent();
}
public override Task OnIn... | Fix Object reference not set to an instance of an object. | Fix Object reference not set to an instance of an object.
| C# | apache-2.0 | pekspro/Template10,pekspro/Template10,callummoffat/Template10,SimoneBWS/Template10,liptonbeer/Template10,GFlisch/Template10,AparnaChinya/Template10,teamneusta/Template10,artfuldev/Template10,Viachaslau-Zinkevich/Template10,Windows-XAML/Template10,SimoneBWS/Template10,MichaelPetrinolis/Template10,kenshinthebattosai/Temp... |
6e3b342f282b3b5f0fe9a2f05619a83f185edfc2 | src/Glimpse.Agent.Web/AgentRuntime.cs | src/Glimpse.Agent.Web/AgentRuntime.cs | using Glimpse.Web;
using System;
namespace Glimpse.Agent.Web
{
public class AgentRuntime : IRequestRuntime
{
private readonly IMessagePublisher _messagePublisher;
public AgentRuntime(IMessagePublisher messagePublisher)
{
_messagePublisher = messagePublisher;
}
... | using Glimpse.Web;
using System;
namespace Glimpse.Agent.Web
{
public class AgentRuntime : IRequestRuntime
{
private readonly IMessageAgentBus _messageBus;
public AgentRuntime(IMessageAgentBus messageBus)
{
_messageBus = messageBus;
}
public void Begin(ICo... | Switch over agent to using Agent bus | Switch over agent to using Agent bus
Instead of pushing to the publisher directly
| C# | mit | zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavk... |
f15135851246804d7de829865aa59fa3f4532dab | src/TagHelpers/PreferenceTagHelper.cs | src/TagHelpers/PreferenceTagHelper.cs | using System;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Wangkanai.Detection.Models;
using Wangkanai.Detection.Services;
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
[HtmlTargetElement(ElementName, Attributes = OnlyAttributeName, TagStructure = TagStructure.... | using System;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Wangkanai.Detection.Models;
using Wangkanai.Detection.Services;
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
[HtmlTargetElement(ElementName, Attributes = OnlyAttributeName, TagStructure = TagStructure.... | Use positive statement and let it return as soon as possible | Use positive statement and let it return as soon as possible
| C# | apache-2.0 | wangkanai/Detection |
d78a2c8eb53558928eac79f1876d5ce772296636 | Anlab.Mvc/Views/Lab/Search.cshtml | Anlab.Mvc/Views/Lab/Search.cshtml | @{
ViewBag.Title = "Search";
}
<div class="col">
<form asp-controller="Lab" asp-action="Search">
<div>
<div class="form-group">
<label class="control-label">Search By Id, Request Num, or Share Identifier</label>
<div>
<input id... | @{
ViewBag.Title = "Search";
}
<div class="col">
<form asp-controller="Lab" asp-action="Search">
<div>
<div class="form-group">
<label class="control-label">Search By Id, Request Num, or Share Identifier</label>
<div>
<input id... | Put auto focus on search too | Put auto focus on search too
| C# | mit | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab |
dbefc0c860caff2cdb1b95c0ae76e7769382436d | SolutionParserTest/ProjectTest.cs | SolutionParserTest/ProjectTest.cs | using System;
using Xunit;
using SolutionEdit;
namespace SolutionParserTest
{
public class ProjectTest
{
[Fact]
public void CreateNewDirectoryProject()
{
// Arrange.
var directoryName = "Test";
// Act.
var directoryProject = Project.NewDi... | using System;
using Xunit;
using SolutionEdit;
using System.IO;
namespace SolutionParserTest
{
public class ProjectTest
{
[Fact]
public void CreateNewDirectoryProject()
{
// Arrange.
var directoryName = "Test";
// Act.
var directoryProjec... | Add unit test for reading a project definition. | Add unit test for reading a project definition.
| C# | mit | Timboski/solution-edit |
cdbed2492c636191845db36bc8c86d3f7c6c71f8 | TinCan/Properties/AssemblyInfo.cs | TinCan/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("Ti... | 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("Ti... | Update product name in Assembly | Update product name in Assembly
| C# | apache-2.0 | nagyistoce/TinCan.NET,RusticiSoftware/TinCan.NET,limey98/TinCan.NET,brianjmiller/TinCan.NET |
2283075459c1c07820f497a109c78db00968ff7e | src/ServerManaged/Server.cs | src/ServerManaged/Server.cs | using Flood.RPC.Server;
using Flood.RPC.Transport;
namespace Flood.Server
{
public abstract class Server
{
public IDatabaseManager Database { get; set; }
public TSimpleServer RPCServer { get; set; }
public TServerSocket Socket { get; set; }
protected Server()
{
#if RA... | using Flood.RPC.Server;
using Flood.RPC.Transport;
namespace Flood.Server
{
public abstract class Server
{
public IDatabaseManager Database { get; set; }
public TSimpleServer RPCServer { get; set; }
public TServerSocket Socket { get; set; }
protected Server()
{
#if US... | Change the feature define to be more uniform. | Change the feature define to be more uniform.
| C# | bsd-2-clause | FloodProject/flood,FloodProject/flood,FloodProject/flood |
57fdb2835b59035ad759a4dd3ec7a916591648a3 | src/libvideo.debug/Program.cs | src/libvideo.debug/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YoutubeExtractor;
namespace VideoLibrary.Debug
{
class Program
{
static void Main(string[] args)
{
string[] queries =
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YoutubeExtractor;
namespace VideoLibrary.Debug
{
class Program
{
static void Main(string[] args)
{
string[] queries =
{
... | Add test URL to libvideo.debug | Add test URL to libvideo.debug
| C# | bsd-2-clause | jamesqo/libvideo,nguyenkien/libvideo,James-Ko/libvideo,i3arnon/libvideo,PFCKrutonium/libvideo,PFCKrutonium/libvideo,nguyenkien/libvideo,James-Ko/libvideo,jamesqo/libvideo |
7463b81a1f205fd7e5d1cba012f001bf57eaf0ef | WCF/Shared.Tests/UserTelemetryInitializerTests.cs | WCF/Shared.Tests/UserTelemetryInitializerTests.cs | using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Security.Principal;
using System.ServiceModel;
namespace Microsoft.ApplicationInsights.Wcf.Tests
{
[TestClass]
public class UserTelemetryInitializerTests
{
[TestMethod]... | using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Security.Principal;
using System.ServiceModel;
namespace Microsoft.ApplicationInsights.Wcf.Tests
{
[TestClass]
public class UserTelemetryInitializerTests
{
[TestMethod]... | Add test ensuring that user id is copied from request if present | Add test ensuring that user id is copied from request if present
| C# | mit | Microsoft/ApplicationInsights-SDK-Labs |
35625c2dad732fa7d40de0b38d4f744989d5dfd6 | net/Azure.Storage.Blobs.PerfStress/Core/CountOptions.cs | net/Azure.Storage.Blobs.PerfStress/Core/CountOptions.cs | using Azure.Test.PerfStress;
using CommandLine;
namespace Azure.Storage.Blobs.PerfStress.Core
{
public class CountOptions : PerfStressOptions
{
[Option('c', "count", Default = 100, HelpText = "Number of blobs")]
public int Count { get; set; }
}
}
| using Azure.Test.PerfStress;
using CommandLine;
namespace Azure.Storage.Blobs.PerfStress.Core
{
public class CountOptions : PerfStressOptions
{
[Option('c', "count", Default = 500, HelpText = "Number of blobs")]
public int Count { get; set; }
}
}
| Increase default count to 500 | Increase default count to 500
| C# | mit | Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java |
9b89744729548c14bb80c211c8e4d74446298cea | AzureBot/Forms/VirtualMachineFormState.cs | AzureBot/Forms/VirtualMachineFormState.cs | namespace AzureBot.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Management.Models;
[Serializable]
public class VirtualMachineFormState
{
public VirtualMachineFormState(IEnumerable<VirtualMachine> availableVMs, Operations operation... | namespace AzureBot.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Management.Models;
[Serializable]
public class VirtualMachineFormState
{
public VirtualMachineFormState(IEnumerable<VirtualMachine> availableVMs, Operations operation... | Use proper case for text showing the current VM operation | Use proper case for text showing the current VM operation
| C# | mit | dtzar/AzureBot,dtzar/AzureBot |
d9a1b470cd7b3b1f921db416610c4dfe2fbdaf0d | osu.Framework/Host.cs | osu.Framework/Host.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;
using osu.Framework.Platform.Linux;
using osu.Framework.Platform.MacOS;
using osu.Framework.Platform.Windows;
using System;
namespace 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 osu.Framework.Platform;
using osu.Framework.Platform.Linux;
using osu.Framework.Platform.MacOS;
using osu.Framework.Platform.Windows;
using System;
namespace osu.... | Fix overkill and use `switch` statement | Fix overkill and use `switch` statement
| C# | mit | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework |
115c41f2884544b381ff6199ecb0d76a6473ba56 | Abc.NCrafts.App/Views/Performance2018GameView.xaml.cs | Abc.NCrafts.App/Views/Performance2018GameView.xaml.cs | using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Navigation;
using Abc.NCrafts.App.ViewModels;
namespace Abc.NCrafts.App.Views
{
/// <summary>
/// Interaction logic for GameView.xaml
/// </summary>
public partial class Performance2018GameView : ... | using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Navigation;
using Abc.NCrafts.App.ViewModels;
namespace Abc.NCrafts.App.Views
{
/// <summary>
/// Interaction logic for GameView.xaml
/// </summary>
public partial class Performance2018GameView : ... | Fix bug which was making the app crash when clicking outside of the spoiler form | Fix bug which was making the app crash when clicking outside of the spoiler form
| C# | mit | Abc-Arbitrage/Abc.NCrafts.AllocationQuiz |
58022ab17d8de71fbc81b63505ea448cd6fb458b | CheckDigit/CheckDigit/Program.cs | CheckDigit/CheckDigit/Program.cs | namespace CheckDigit
{
class Program
{
static int GetControllDigit(long number)
{
int sum = 0;
bool isOddPos = true;
while (number > 0)
{
int digit = (int)(number % 10);
if (isOddPos)
{
... | namespace CheckDigit
{
class Program
{
static int GetControllDigit(long number)
{
int sum = 0;
bool isOddPos = true;
while (number > 0) // infrastructure
{
int digit = (int)(number % 10); // infrastructure
... | Check digit: recognize infrastructural code and domain logic | Check digit: recognize infrastructural code and domain logic
| C# | mit | ttitto/CSharp |
eebfaa7f4e32d6f44e2404210ba7e4b67d2e48b1 | mugo/CommandLineOptions.cs | mugo/CommandLineOptions.cs | using System;
using CommandLine;
using CommandLine.Text;
namespace Mugo
{
/// <summary>
/// Command line options of the game.
/// </summary>
public class CommandLineOptions
{
[Option ('m', "noBackgroundMusic",
DefaultValue = false,
HelpText = "Disables background music. It can still be enabled via the ... | using System;
using CommandLine;
using CommandLine.Text;
namespace Mugo
{
/// <summary>
/// Command line options of the game.
/// </summary>
public class CommandLineOptions
{
[Option ('m', "noBackgroundMusic",
DefaultValue = false,
HelpText = "Disable background music. It can still be enabled via the m... | Use imperative in help messages. | Use imperative in help messages.
| C# | mit | saschb2b/mugo |
27eda8b5412218dc26b2d79a6a1371a4d223fdf4 | SteamAccountSwitcher/App.xaml.cs | SteamAccountSwitcher/App.xaml.cs | #region
using System.Windows;
using SteamAccountSwitcher.Properties;
#endregion
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnExit(ExitEventArgs e)
{
... | #region
using System.Windows;
using SteamAccountSwitcher.Properties;
#endregion
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
public App()
{
Dispatcher.UnhandledException +... | Fix unhandled error causing crash | Fix unhandled error causing crash
| C# | mit | danielchalmers/SteamAccountSwitcher |
f809cc56fd418815fcc6ac89efeb3495bedee8a5 | Tests/AirbrakeClientTests.cs | Tests/AirbrakeClientTests.cs | using System;
using System.Threading;
using NUnit.Framework;
using SharpBrake;
using SharpBrake.Serialization;
namespace Tests
{
[TestFixture]
public class AirbrakeClientTests
{
#region Setup/Teardown
[SetUp]
public void SetUp()
{
this.client = new AirbrakeCli... | using System;
using NUnit.Framework;
using SharpBrake;
using SharpBrake.Serialization;
namespace Tests
{
[TestFixture]
public class AirbrakeClientTests
{
#region Setup/Teardown
[SetUp]
public void SetUp()
{
this.client = new AirbrakeClient();
}
... | Use the .After() method in NUnit instead of Thread.Sleep | Use the .After() method in NUnit instead of Thread.Sleep
| C# | mit | airbrake/SharpBrake,kayoom/SharpBrake,cbtnuggets/SharpBrake,airbrake/SharpBrake |
e05f9843bada5fa8ef34427a1e2d98ad610ae7bc | src/SharpCompress/Common/ReaderExtractionEventArgs.cs | src/SharpCompress/Common/ReaderExtractionEventArgs.cs | using System;
namespace SharpCompress.Common
{
public class ReaderExtractionEventArgs<T> : EventArgs
{
internal ReaderExtractionEventArgs(T entry, params object[] paramList)
{
Item = entry;
ParamList = paramList;
}
public T Item { get; private set; }
... | using System;
using SharpCompress.Readers;
namespace SharpCompress.Common
{
public class ReaderExtractionEventArgs<T> : EventArgs
{
internal ReaderExtractionEventArgs(T entry, ReaderProgress readerProgress = null)
{
Item = entry;
ReaderProgress = readerProgress;
... | Use strongly typed ReaderProgress instead of object[] | Use strongly typed ReaderProgress instead of object[]
| C# | mit | adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress |
4f2b32b7577f9baaf770500d1c50c7b320e4c11c | src/Tgstation.Server.Host/Extensions/SocketExtensions.cs | src/Tgstation.Server.Host/Extensions/SocketExtensions.cs | using System.Net;
using System.Net.Sockets;
namespace Tgstation.Server.Host.Extensions
{
/// <summary>
/// Extension methods for the <see cref="Socket"/> <see langword="class"/>.
/// </summary>
static class SocketExtensions
{
/// <summary>
/// Attempt to exclusively bind to a given <paramref name="port"/>.
... | using System.Net;
using System.Net.Sockets;
namespace Tgstation.Server.Host.Extensions
{
/// <summary>
/// Extension methods for the <see cref="Socket"/> <see langword="class"/>.
/// </summary>
static class SocketExtensions
{
/// <summary>
/// Attempt to exclusively bind to a given <paramref name="port"/>.
... | Fix IPV6 issue with BindTest | Fix IPV6 issue with BindTest
| C# | agpl-3.0 | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server |
26b001c7eee93fedc1c3ff8811555ac6a1551d46 | tests/Okanshi.Tests/PerformanceCounterTest.cs | tests/Okanshi.Tests/PerformanceCounterTest.cs | using System.Diagnostics;
using FluentAssertions;
using Xunit;
namespace Okanshi.Test
{
public class PerformanceCounterTest
{
[Fact]
public void Performance_counter_without_instance_name()
{
var performanceCounter = new PerformanceCounter("Memory", "Available Bytes");
var monitor = new PerformanceCount... | using System.Diagnostics;
using FluentAssertions;
using Xunit;
namespace Okanshi.Test
{
public class PerformanceCounterTest
{
[Fact]
public void Performance_counter_without_instance_name()
{
var performanceCounter = new PerformanceCounter("Memory", "Available Bytes");
var monitor = new PerformanceCount... | Improve performance counter test stability | Improve performance counter test stability
| C# | mit | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi |
25a8e998f47bad109b875d8832a822570eb74c7e | src/HarSharp/MessageBase.cs | src/HarSharp/MessageBase.cs | using System.Collections.Generic;
namespace HarSharp
{
/// <summary>
/// A base class for HTTP messages.
/// </summary>
public abstract class MessageBase : EntityBase
{
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="MessageBas... | using System.Collections.Generic;
namespace HarSharp
{
/// <summary>
/// A base class for HTTP messages.
/// </summary>
public abstract class MessageBase : EntityBase
{
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="MessageBas... | Fix error when deserializing response with BodySize set to null (tested with HAR file exported with Firefox). | Fix error when deserializing response with BodySize set to null (tested with HAR file exported with Firefox).
| C# | mit | giacomelli/HarSharp |
80da3f954b844fddfaf7338097eb0829ad89e086 | input/docs/integrations/editors/visualstudio/index.cshtml | input/docs/integrations/editors/visualstudio/index.cshtml | Order: 30
Title: Visual Studio
Description: Extensions and supported features for Visual Studio
RedirectFrom: docs/editors/visualstudio
---
<p>
The <a href="https://marketplace.visualstudio.com/items?itemName=vs-publisher-1392591.CakeforVisualStudio" target="_blank">Cake extension for Visual Studio </a>
brings... | Order: 30
Title: Visual Studio
Description: Extensions and supported features for Visual Studio
RedirectFrom: docs/editors/visualstudio
---
<p>
The <a href="https://marketplace.visualstudio.com/items?itemName=vs-publisher-1392591.CakeforVisualStudio" target="_blank">Cake extension for Visual Studio </a>
brings... | Add note about supported Visual Studio versions | Add note about supported Visual Studio versions
| C# | mit | cake-build/website,cake-build/website,cake-build/website |
0c255d5c3a1b30a96512adcf0ca0689a1c2f0c0f | src/Addins/SqliteBackend/SqliteNote.cs | src/Addins/SqliteBackend/SqliteNote.cs | // SqliteNote.cs created with MonoDevelop
// User: calvin at 10:56 AM 2/12/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
namespace Tasque.Backends.Sqlite
{
public class SqliteNote : TaskNote
{
private int id;
private string text;
public SqliteNote (int id, string t... | // SqliteNote.cs created with MonoDevelop
// User: calvin at 10:56 AM 2/12/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
using System;
namespace Tasque.Backends.Sqlite
{
public class SqliteNote : TaskNote
{
public SqliteNote (int id, string text) : base (text)
{
Id... | Adjust to new model. Provide change callback for task. | [SQLite] TaskNote: Adjust to new model. Provide change callback for task.
TaskNote receives change notification from base class. SQLiteNote is
entirely handled by owning task. Therefore the task reacts to changes in
the note. A callback "OnTextChangedAction" enables the task to do so. | C# | mit | mono-soc-2012/Tasque,mono-soc-2012/Tasque,mono-soc-2012/Tasque |
533996115b6bbaac8edb86c795d23466848673e7 | source/NuGet.Lucene/FastZipPackageFile.cs | source/NuGet.Lucene/FastZipPackageFile.cs | using System.Collections.Generic;
using System.IO;
using System.Runtime.Versioning;
namespace NuGet.Lucene
{
public class FastZipPackageFile : IPackageFile
{
private readonly IFastZipPackage fastZipPackage;
private readonly FrameworkName targetFramework;
internal FastZipPackageFile(IFa... | using System.Collections.Generic;
using System.IO;
using System.Runtime.Versioning;
namespace NuGet.Lucene
{
public class FastZipPackageFile : IPackageFile
{
private readonly IFastZipPackage fastZipPackage;
private readonly FrameworkName targetFramework;
internal FastZipPackageFile(IFa... | Normalize path so NuGet.Core's GetFiles(path) works correctly. | Normalize path so NuGet.Core's GetFiles(path) works correctly.
| C# | apache-2.0 | googol/NuGet.Lucene,Stift/NuGet.Lucene,themotleyfool/NuGet.Lucene |
14fb6c61adbd2c26ecccece70e6d5ff8f82002ee | src/GitVersionCore/GitVersionFinder.cs | src/GitVersionCore/GitVersionFinder.cs | namespace GitVersion
{
using System.IO;
using System.Linq;
using GitVersion.VersionCalculation;
using LibGit2Sharp;
public class GitVersionFinder
{
public SemanticVersion FindVersion(GitVersionContext context)
{
Logger.WriteInfo(string.Format("Running against branch:... | namespace GitVersion
{
using System.IO;
using System.Linq;
using GitVersion.VersionCalculation;
using LibGit2Sharp;
public class GitVersionFinder
{
public SemanticVersion FindVersion(GitVersionContext context)
{
Logger.WriteInfo(string.Format("Running against branch:... | Remove requirement on master branch existing | Remove requirement on master branch existing
- As per discussion here:
https://gitter.im/GitTools/GitVersion?at=565781d10d143098620f6250
- Removed redundant code
| C# | mit | ermshiperete/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,onovotny/GitVersion,DanielRose/GitVersion,dpurge/GitVersion,Philo/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,gep13/GitVersion,dpurge/GitVersion,JakeGinnivan/GitVersion,dpurge/GitVersion,Philo/GitVersion,GitTools/GitVersion,ermshiperet... |
c1eed9543cc7322b427312eef0374a2145889311 | src/Mages.Repl/Functions/ReplObject.cs | src/Mages.Repl/Functions/ReplObject.cs | namespace Mages.Repl.Functions
{
using System;
sealed class ReplObject
{
public String Read()
{
return Console.ReadLine();
}
public void Write(String str)
{
Console.Write(str);
}
public void WriteLine(String str)
{
... | namespace Mages.Repl.Functions
{
using Mages.Core.Runtime;
using System;
sealed class ReplObject
{
public String Read()
{
return Console.ReadLine();
}
public void Write(Object value)
{
var str = Stringify.This(value);
Console... | Write arbitrary content to the repl | Write arbitrary content to the repl
| C# | mit | FlorianRappl/Mages,FlorianRappl/Mages |
a44a032fa9590841d433b53e250681da19afb007 | src/Abp.Quartz/Properties/AssemblyInfo.cs | src/Abp.Quartz/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: 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: AssemblyTitle("Abp... | Change assemblyinfo for quartz package. | Change assemblyinfo for quartz package.
| C# | mit | carldai0106/aspnetboilerplate,ShiningRush/aspnetboilerplate,fengyeju/aspnetboilerplate,oceanho/aspnetboilerplate,berdankoca/aspnetboilerplate,carldai0106/aspnetboilerplate,4nonym0us/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,yuzukwok/aspnetboilerplate,andmattia/aspnetboilerplate,s-takatsu/asp... |
1f040ac2ffb26b59c14a4a7bb7ed2cf242abeb7c | RoundedBoxView/RoundedBoxView/RoundedBoxView.Forms.Plugin.iOSUnified/RoundedBoxViewImplementation.cs | RoundedBoxView/RoundedBoxView/RoundedBoxView.Forms.Plugin.iOSUnified/RoundedBoxViewImplementation.cs | using System.ComponentModel;
using RoundedBoxView.Forms.Plugin.iOSUnified;
using RoundedBoxView.Forms.Plugin.iOSUnified.ExtensionMethods;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:
ExportRenderer(typeof (RoundedBoxView.Forms.Plugin.Abstractions.RoundedBoxView), typeof (RoundedBoxViewRenderer)... | using System.ComponentModel;
using RoundedBoxView.Forms.Plugin.iOSUnified;
using RoundedBoxView.Forms.Plugin.iOSUnified.ExtensionMethods;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using Foundation;
using System;
[assembly:
ExportRenderer(typeof (RoundedBoxView.Forms.Plugin.Abstractions.RoundedBoxView),... | Fix for link sdk assemblies only on iOS | Fix for link sdk assemblies only on iOS
| C# | mit | paulpatarinski/Xamarin.Forms.Plugins |
6b1acdfa82f77e2e9f6d629f70ae448ef7e36cf9 | osu.Framework/IO/Stores/NamespacedResourceStore.cs | osu.Framework/IO/Stores/NamespacedResourceStore.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.Collections.Generic;
using System.Linq;
namespace osu.Framework.IO.Stores
{
public class NamespacedResourceStore<T> : ResourceStore<T>
where T ... | // 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.Collections.Generic;
using System.Linq;
namespace osu.Framework.IO.Stores
{
public class NamespacedResourceStore<T> : ResourceStore<T>
where T ... | Replace a string.Remove with slicing. | Replace a string.Remove with slicing.
| C# | mit | EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework |
f84ffbec8d00f845fbaffd3097e631d3c22863b4 | src/dbup-mysql/MySqlCommandReader.cs | src/dbup-mysql/MySqlCommandReader.cs | using System;
using System.Text;
using DbUp.Support;
namespace DbUp.MySql
{
/// <summary>
/// Reads MySQL commands from an underlying text stream. Supports DELIMITED .. statement
/// </summary>
public class MySqlCommandReader : SqlCommandReader
{
const string DelimiterKeyword = "DELIMITER"... | using System;
using System.Text;
using DbUp.Support;
namespace DbUp.MySql
{
/// <summary>
/// Reads MySQL commands from an underlying text stream. Supports DELIMITED .. statement
/// </summary>
public class MySqlCommandReader : SqlCommandReader
{
const string DelimiterKeyword = "DELIMITER"... | Fix potential infinite loop in SkipWhitespace | Fix potential infinite loop in SkipWhitespace
Check for FailedResult after Read() | C# | mit | DbUp/DbUp |
d9f7ef9dc7ab196c1c754281823d90d613a9ebe2 | FTF.Core/Notes/CreateNote.cs | FTF.Core/Notes/CreateNote.cs | using System;
namespace FTF.Core.Notes
{
public class CreateNote
{
private readonly Func<int> _generateId;
private readonly Func<DateTime> _getCurrentDate;
private readonly Action<Note> _saveNote;
private readonly Action _saveChanges;
public CreateNote(Func<int> gene... | using System;
using System.Collections.Generic;
namespace FTF.Core.Notes
{
public class CreateNote
{
private readonly Func<int> _generateId;
private readonly Func<DateTime> _getCurrentDate;
private readonly Action<Note> _saveNote;
private readonly Action _saveChanges;
... | Implement fake tag parser to test integration | Implement fake tag parser to test integration
| C# | mit | orodriguez/FTF,orodriguez/FTF,orodriguez/FTF |
ea9cdeb3348d8230c49f2477aa60f6069631ee89 | UnitTests/Display/DisplayTests.cs | UnitTests/Display/DisplayTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AgateLib;
using AgateLib.Drivers;
using AgateLib.DisplayLib;
namespace AgateLib.UnitTests.DisplayTest
{
[TestClass]
public class DisplayTest
{
[TestMethod]
public void InitializeDisplay()
{
using (AgateSetup setup = new ... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AgateLib;
using AgateLib.Drivers;
using AgateLib.DisplayLib;
namespace AgateLib.UnitTests.DisplayTest
{
[TestClass]
public class DisplayTest
{
/*
[TestMethod]
public void InitializeDisplay()
{
using (AgateSetup setup ... | Disable display test that is failing in CI build. | Disable display test that is failing in CI build. | C# | mit | eylvisaker/AgateLib |
268979264bd755d689409a23343bfcd73c776169 | Core/Decompilers/UnTextBufferDecompiler.cs | Core/Decompilers/UnTextBufferDecompiler.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using UELib;
using UELib.Core;
namespace UELib.Core
{
public partial class UTextBuffer : UObject
{
public override string Decompile()
{
if( _bDeserializeOnDemand )
{
BeginDeserializing();... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using UELib;
using UELib.Core;
namespace UELib.Core
{
public partial class UTextBuffer : UObject
{
public override string Decompile()
{
if( _bDeserializeOnDemand )
{
BeginDeserializing();... | Add a comment for exported DefaultProperties. | Add a comment for exported DefaultProperties.
| C# | mit | EliotVU/Unreal-Library |
4d47b749b1956c75aa320f7a6de6a1ae9365a6f9 | CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs | CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs | // Copyright © 2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Threading.Tasks;
using CefSharp.WinForms;
using Xunit;
using Xunit.Abstractions;
namespace CefSharp.Test.WinForms
{
//NOTE: All Test c... | // Copyright © 2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Threading.Tasks;
using CefSharp.WinForms;
using Xunit;
using Xunit.Abstractions;
namespace CefSharp.Test.WinForms
{
//NOTE: All Test c... | Test - Avoid displaying Form in WinForms Test | Test - Avoid displaying Form in WinForms Test
Call CreateControl instead of displaying form.
Tooltips, context menus may not be positioned/displayed correctly as there is no parent form (window). For testing
purposes that's fine for now.
| C# | bsd-3-clause | Livit/CefSharp,Livit/CefSharp,Livit/CefSharp,Livit/CefSharp |
16bdf4e6bd250ac5dd9cb6fa497d80e984002af1 | osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.cs | osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.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.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Screens.Select.Leaderboards;
using osu.Framework.Graphics.... | // 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.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Screens.Select.Leaderboards;
using osu.Framework.Graphics.... | Update english to be more readable | Update english to be more readable
| C# | mit | peppy/osu-new,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,2yangk23/osu,peppy/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu |
3a8dc1c836e8deb0257f0990e34e51d2c7477b23 | LearnositySDK/Credentials.cs | LearnositySDK/Credentials.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
namespace LearnositySDK
{
public static class Credentials
{
public static string ConsumerKey = "yis0TYCu7U9V4o7M";
public static string ConsumerSecret = "74c5fd430cf1242a527f6223ae... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
namespace LearnositySDK
{
public static class Credentials
{
// The consumerKey and consumerSecret are the public & private
// security keys required to access Learnosity APIs and
... | Add passwords-in-version-control disclaimer to credentials file. | [DOC] Add passwords-in-version-control disclaimer to credentials file.
| C# | apache-2.0 | Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net |
3256fd319c9a69429d5e7c7cc75c669eb90ec7f1 | Components/TemplateHelpers/Images/Ratio.cs | Components/TemplateHelpers/Images/Ratio.cs | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return Width / Height; ... | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return (float)Width / (... | Fix issue where ratio was always returning "1" | Fix issue where ratio was always returning "1"
| C# | mit | janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent |
db9a27d64c2dbc38b82854c35d3f60d5822cbfbf | src/OctopusPuppet/DeploymentPlanner/SemVerJsonConverter.cs | src/OctopusPuppet/DeploymentPlanner/SemVerJsonConverter.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace OctopusPuppet.DeploymentPlanner
{
public class SemVerJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
writer.WriteValue(value.ToStr... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace OctopusPuppet.DeploymentPlanner
{
public class SemVerJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
writer.WriteValue(value.ToStr... | Allow empty semver components to be deserialised as this might be an archived component | Allow empty semver components to be deserialised as this might be an archived component
| C# | apache-2.0 | Aqovia/OctopusPuppet |
57d79d8d4d87f2bb142da0b8cb2658f3779af462 | Octokit/Models/Response/PullRequestFile.cs | Octokit/Models/Response/PullRequestFile.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PullRequestFile
{
public PullRequestFile() { }
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Octokit.Internal;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PullRequestFile
{
public Pull... | Fix filename not being populated | Fix filename not being populated
| C# | mit | michaKFromParis/octokit.net,thedillonb/octokit.net,shana/octokit.net,darrelmiller/octokit.net,M-Zuber/octokit.net,gdziadkiewicz/octokit.net,TattsGroup/octokit.net,SamTheDev/octokit.net,shiftkey/octokit.net,devkhan/octokit.net,Red-Folder/octokit.net,kolbasov/octokit.net,hahmed/octokit.net,rlugojr/octokit.net,fffej/octok... |
2aa6af0bb71a534c7fe6dafa950b9513ee083c0c | ParkingSpace.Web/Views/GateIn/Index.cshtml | ParkingSpace.Web/Views/GateIn/Index.cshtml | @using ParkingSpace.Models
@{
ViewBag.Title = "Index";
var ticket =
(ParkingTicket)TempData["newTicket"];
}
<h2>Gate In [@ViewBag.GateId]</h2>
@using (Html.BeginForm("CreateTicket", "GateIn")) {
<div>
Plate No.:<br />
@Html.TextBox("plateNo")<br />
<br />
<button type="submit" class="btn ... | @using ParkingSpace.Models
@{
ViewBag.Title = "Index";
var ticket =
(ParkingTicket)TempData["newTicket"];
}
<h2>Gate In</h2>
<div class="well well-sm">
<strong>Gate:</strong> @ViewBag.GateId
</div>
@using (Html.BeginForm("CreateTicket", "GateIn")) {
<div>
Plate No.:<br />
@Html.TextBox("plateNo... | Update UI display gate number | Update UI display gate number
| C# | mit | surrealist/ParkingSpace,surrealist/ParkingSpace,surrealist/ParkingSpace |
930cae2e751debb01061fa8ec3a31ad9fa665e6d | FinnAngelo.PomoFishTests/IconTests.cs | FinnAngelo.PomoFishTests/IconTests.cs | using Common.Logging;
using FinnAngelo.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Diagnostics;
namespace FinnAngelo.PomoFishTests
{
[TestClass]
public class IconTests
{
[TestMethod]
//[Ignore]
public void GivenDestroyMethod_WhenGet10000Ic... | using Common.Logging;
using FinnAngelo.PomoFish;
using FinnAngelo.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Diagnostics;
namespace FinnAngelo.PomoFishTests
{
[TestClass]
public class IconTests
{
[TestMethod]
//[Ignore]
public void GivenD... | Fix a ref to FinnAngelo.PomoFish | Fix a ref to FinnAngelo.PomoFish
| C# | mit | FinnAngelo/PomoFish |
18e04f3b449cb1e3e71fecb97bf9f4ad736e5df6 | Verifier.Tests/CheckTests.cs | Verifier.Tests/CheckTests.cs | using System;
using EdlinSoftware.Verifier.Tests.Support;
using Xunit;
namespace EdlinSoftware.Verifier.Tests
{
public class CheckTests : IDisposable
{
private readonly StringVerifier _verifier;
private static readonly Action<string> DefaultAssertionFailed = Verifier.AssertionFailed;
... | using System;
using EdlinSoftware.Verifier.Tests.Support;
using Xunit;
namespace EdlinSoftware.Verifier.Tests
{
public class CheckTests : IDisposable
{
private readonly StringVerifier _verifier;
private static readonly Action<string> DefaultAssertionFailed = Verifier.AssertionFailed;
... | Change Check tests to restore default behaviour | Change Check tests to restore default behaviour
| C# | mit | yakimovim/verifier |
9e84f2a799668dcb03492466cf1a33fa0b217e2c | Zbu.Blocks/DataType/StructuresConverter.cs | Zbu.Blocks/DataType/StructuresConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Models;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Models.PublishedContent;
using Zbu.Blocks.PropertyEditors;
namespace Zbu.Blocks.DataType
{
// note: can cache the co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Models;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Models.PublishedContent;
using Zbu.Blocks.PropertyEditors;
namespace Zbu.Blocks.DataType
{
// note: can cache the co... | Implement property converter for XPath | Implement property converter for XPath
| C# | mit | zpqrtbnk/Zbu.Blocks,zpqrtbnk/Zbu.Blocks |
d7427bd166ba5de639dd7171954e40b4e1cd0bd5 | Parsel/ReplaceParametersVisitor.cs | Parsel/ReplaceParametersVisitor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Parsel
{
internal static class ReplaceParameter
{
public static Expression Apply<S, T>(this Expression<Func<S, T>> f, Expression s)
{
return f.Body.Replace... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Parsel
{
internal static class ReplaceParameter
{
public static Expression Apply<S, T>(this Expression<Func<S, T>> f, Expression s)
{
return f.Body.Replace... | Fix error when substituting arguments | Fix error when substituting arguments
| C# | bsd-3-clause | paf31/parsel |
fb89d3cac6de8aced82bf1effb4e36cbc190c7e1 | Schedules.API.Tests/SystemTests.cs | Schedules.API.Tests/SystemTests.cs | using System;
using NUnit.Framework;
using Centroid;
namespace Schedules.API.Tests
{
[TestFixture, Category("System")]
public class SystemTests
{
[Test]
public void CheckThatEnvironmentVariablesExist()
{
dynamic config = Config.FromFile("config.json");
foreach (var variable in config.var... | using System;
using NUnit.Framework;
using Centroid;
namespace Schedules.API.Tests
{
[TestFixture, Category("System")]
public class SystemTests
{
[Test]
public void CheckThatEnvironmentVariablesExist()
{
dynamic config = Config.FromFile("config.json");
foreach (var variable in config.all... | Update location of env vars | Update location of env vars
| C# | mit | codeforamerica/denver-schedules-api,schlos/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api |
0e20c7d8e03e06216397bdb753ff506770aeb749 | MultiMiner.Win/UserAgent.cs | MultiMiner.Win/UserAgent.cs | namespace MultiMiner.Win
{
public static class UserAgent
{
public const string AgentString = "MultiMiner/V1";
}
}
| namespace MultiMiner.Win
{
public static class UserAgent
{
public const string AgentString = "MultiMiner/V2";
}
}
| Update use agent for v2 | Update use agent for v2
| C# | mit | IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner |
9f533334c34a79bff4784a592e25d4778ba3644b | SimpSim.NET.WPF/App.xaml.cs | SimpSim.NET.WPF/App.xaml.cs | using System.Windows;
using Prism.DryIoc;
using Prism.Ioc;
using SimpSim.NET.WPF.ViewModels;
using SimpSim.NET.WPF.Views;
namespace SimpSim.NET.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : PrismApplication
{
protected override Window Crea... | using System.Windows;
using Prism.Ioc;
using SimpSim.NET.WPF.ViewModels;
using SimpSim.NET.WPF.Views;
namespace SimpSim.NET.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
protected override Window CreateShell()
{
return ... | Remove unneeded reference to PrismApplication base class. | Remove unneeded reference to PrismApplication base class.
| C# | mit | ryanjfitz/SimpSim.NET |
f70f5eef3c30fb6d852f7527126a9804e55b5f68 | src/System.Net.Sockets/src/System/Net/SocketPerfCounters.cs | src/System.Net.Sockets/src/System/Net/SocketPerfCounters.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.Threading;
namespace System.Net
{
internal enum SocketPerfCounterName
{
SocketConnecti... | // 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.Threading;
namespace System.Net
{
internal enum SocketPerfCounterName
{
SocketConnecti... | Change TODO comments to reference current issue on Sockets perf counters. | Change TODO comments to reference current issue on Sockets perf counters.
| C# | mit | wtgodbe/corefx,cydhaselton/corefx,wtgodbe/corefx,fgreinacher/corefx,jlin177/corefx,dotnet-bot/corefx,ravimeda/corefx,tstringer/corefx,mazong1123/corefx,Petermarcu/corefx,dotnet-bot/corefx,Petermarcu/corefx,twsouthwick/corefx,fgreinacher/corefx,yizhang82/corefx,axelheer/corefx,stone-li/corefx,alexperovich/corefx,cydhase... |
9dbcb8e3eccc5f737d4ecee1a68aace3997c392d | oberon0/Expressions/Operations/OpRelOp2.cs | oberon0/Expressions/Operations/OpRelOp2.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oberon0.Compiler.Expressions.Operations
{
using JetBrains.Annotations;
using Oberon0.Compiler.Definitions;
using Oberon0.Compiler.Expressions.Constant;
using Oberon0.Compiler.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oberon0.Compiler.Expressions.Operations
{
using JetBrains.Annotations;
using Oberon0.Compiler.Definitions;
using Oberon0.Compiler.Expressions.Constant;
using Oberon0.Compiler.... | Use && instead of & to perform AND operation | Use && instead of & to perform AND operation
| C# | mit | steven-r/Oberon0Compiler |
a6f33bb3bd05d3bf1523914d589b17d22f565074 | Joinrpg/Helpers/MarkDownHelper.cs | Joinrpg/Helpers/MarkDownHelper.cs | using System.Linq;
using System.Web;
using CommonMark;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers.Web;
namespace JoinRpg.Web.Helpers
{
public static class MarkDownHelper
{
/// <summary>
/// Converts markdown to HtmlString with all sanitization
/// </summary>
[CanBe... | using System.Linq;
using System.Web;
using CommonMark;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers.Web;
namespace JoinRpg.Web.Helpers
{
public static class MarkDownHelper
{
/// <summary>
/// Converts markdown to HtmlString with all sanitization
/// </summary>
[CanBe... | Fix plots can't edit bug | Fix plots can't edit bug
| C# | mit | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net |
5cbb0050abe01e861c4e934737101ea6454bfc8a | src/EloWeb.Tests.UnitTests/PlayersTests.cs | src/EloWeb.Tests.UnitTests/PlayersTests.cs | using System;
using System.Linq;
using EloWeb.Models;
using NUnit.Framework;
using System.Collections.Generic;
namespace EloWeb.Tests.UnitTests
{
class PlayersTests
{
[Test]
public void CanParsePlayerDescriptionText()
{
InitialiseTestPlayers();
InitialiseTestGam... | using System;
using System.Linq;
using EloWeb.Models;
using NUnit.Framework;
using System.Collections.Generic;
namespace EloWeb.Tests.UnitTests
{
class PlayersTests
{
[TestFixtureSetUp]
public void TestSetup()
{
InitialiseTestPlayers();
InitialiseTestGames();
... | Refactor tests to have initialise method | Refactor tests to have initialise method
| C# | unlicense | Joey-Softwire/ELO,Joey-Softwire/ELO |
e9196b81488c62947a241a513a8af2c42076f8d0 | src/NHotkey.Wpf/WeakReferenceCollection.cs | src/NHotkey.Wpf/WeakReferenceCollection.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace NHotkey.Wpf
{
class WeakReferenceCollection<T> : IEnumerable<T>
where T : class
{
private readonly List<WeakReference> _references = new List<WeakReference>();
public IEnumerator<T> GetEnumerat... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace NHotkey.Wpf
{
class WeakReferenceCollection<T> : IEnumerable<T>
where T : class
{
private readonly List<WeakReference> _references = new List<WeakReference>();
public IEnumer... | Copy list before iterating to prevent modifications during iteration | Copy list before iterating to prevent modifications during iteration
| C# | apache-2.0 | thomaslevesque/NHotkey |
03498b3c616851e53ccbb785b63bba8e47f06186 | src/Umbraco.Web/UI/IAssignedApp.cs | src/Umbraco.Web/UI/IAssignedApp.cs | namespace Umbraco.Web.UI
{
/// <summary>
/// This is used for anything that is assigned to an app
/// </summary>
/// <remarks>
/// Currently things that need to be assigned to an app in order for user security to work are:
/// dialogs, ITasks, editors
/// </remarks>
public interface IAs... | namespace Umbraco.Web.UI
{
/// <summary>
/// This is used for anything that is assigned to an app
/// </summary>
/// <remarks>
/// Currently things that need to be assigned to an app in order for user security to work are:
/// LegacyDialogTask
/// </remarks>
public interface IAssignedAp... | Update comment about this Interface usage - maybe we can remove this later on | Update comment about this Interface usage - maybe we can remove this later on
| C# | mit | robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,... |
e0cf0e92ae4134e83f51c05f7cb18ed19fc0780a | src/Core/Tests/Utility/TestOutputWriter.cs | src/Core/Tests/Utility/TestOutputWriter.cs | using System;
using System.IO;
using System.Text;
using Xunit.Abstractions;
namespace Foundatio.Tests.Utility {
public class TestOutputWriter : TextWriter {
private readonly ITestOutputHelper _output;
public TestOutputWriter(ITestOutputHelper output) {
_output = output;
}
... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Xunit.Abstractions;
namespace Foundatio.Tests.Utility {
public class TestOutputWriter : TextWriter {
private readonly ITestOutputHelper _output;
public TestOutputWriter(ITestOutputHelper output) {
_outpu... | Fix issue where test writer was writing when nothing was listening. | Fix issue where test writer was writing when nothing was listening.
| C# | apache-2.0 | FoundatioFx/Foundatio,Bartmax/Foundatio,vebin/Foundatio,wgraham17/Foundatio,exceptionless/Foundatio |
a63edeb65b732baa2783bdedb061e4073f8492fb | Assets/Editor/Tests/ShipEditor/WallTests.cs | Assets/Editor/Tests/ShipEditor/WallTests.cs | using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using Voxelgon.ShipEditor;
namespace Voxelgon.Tests {
public class WallTests {
[Test]
public void WallCannotHaveDuplicateVertices() {
//Arrange
var editor = new ShipEditor.ShipEditor();
... | using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using Voxelgon.ShipEditor;
namespace Voxelgon.ShipEditor.Tests {
public class WallTests {
[Test]
public void WallCannotHaveDuplicateVertices() {
//Arrange
var editor = new ShipEditor();
... | Move Shipeditor tests to the Voxelgon.Shipeditor.Tests namespace | Move Shipeditor tests to the Voxelgon.Shipeditor.Tests namespace
| C# | apache-2.0 | Voxelgon/Voxelgon,Voxelgon/Voxelgon |
28ab9c614260905205bc2e687893d577bdeea36f | src/NTwitch.Rest/TwitchRestClientConfig.cs | src/NTwitch.Rest/TwitchRestClientConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class TwitchRestClientConfig
{
public string BaseUrl { get; set; } = "https://api.twitch.tv/kraken/";
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class TwitchRestClientConfig
{
public string BaseUrl { get; set; } = "https://api.twitch.tv/kraken/";
public LogLevel LogLevel { get; set; } = LogLevel.Errors;
}... | Add LogLevel option to restclient config | Add LogLevel option to restclient config
| C# | mit | Aux/NTwitch,Aux/NTwitch |
6e4efdd1b11dde4ad43bcee7c1745a7374bf482e | osu.Game.Tests/Visual/Editing/TestSceneSetupScreen.cs | osu.Game.Tests/Visual/Editing/TestSceneSetupScreen.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Beatmaps;
using ... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Catch;
using osu.Game.Rul... | Add test coverage for per-ruleset setup screens | Add test coverage for per-ruleset setup screens
| C# | mit | smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu |
80e8fe72a4a7b9b2f5e1a82adb2cd8164889c48b | TheCollection.Business/ISearchRepository.cs | TheCollection.Business/ISearchRepository.cs | namespace TheCollection.Business {
using System.Collections.Generic;
using System.Threading.Tasks;
public interface ISearchRepository<T> where T : class {
Task<IEnumerable<T>> SearchAsync(string searchterm, int top = 0);
}
}
| namespace TheCollection.Business {
using System.Collections.Generic;
using System.Threading.Tasks;
public interface ISearchRepository<T> where T : class {
Task<IEnumerable<T>> SearchAsync(string searchterm, int top = 0);
Task<long> SearchRowCountAsync(string searchterm);
}
}
| Add missing function to interface | Add missing function to interface
| C# | apache-2.0 | projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection |
62cc3dcdfcfaff789350fbda3979f0ae0cc45701 | SignalR.RabbitMq.Example/Views/Home/Index.cshtml | SignalR.RabbitMq.Example/Views/Home/Index.cshtml | @{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<input type="text" id="msg" />
<a id="broadcast" href="#">Send message</a>
<p>Messages : </p>
<ul id="messages"> </ul>
<script type="text/javascript">
$(function () {
// Proxy created on the fly
var... | @{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<input type="text" id="msg" />
<a id="broadcast" href="#">Send message</a>
<p>Messages : </p>
<ul id="messages"> </ul>
<script type="text/javascript">
$(function () {
// Proxy created on the fly
var... | Prepend debug messages in the web chat example. | Prepend debug messages in the web chat example.
| C# | mit | mdevilliers/SignalR.RabbitMq,mdevilliers/SignalR.RabbitMq,slovely/SignalR.RabbitMq,slovely/SignalR.RabbitMq |
50f8eb6f7aa90bdd2170a0cfca0c6e48460aa475 | GamePortal/GamePortal.WebSite/Views/Games/Index.cshtml | GamePortal/GamePortal.WebSite/Views/Games/Index.cshtml | @{
ViewBag.Title = "GAMES";
}
<h2>GAMES:</h2>
<p>list all games here</p> | @{
ViewBag.Title = "GAMES";
}
<h2>GAMES:</h2>
<p>list all games here!!!</p> | Check if appharbour will trigger a build | Check if appharbour will trigger a build
| C# | mit | valentinvs/GamersPortal,valentinvs/GamersPortal |
55f7335fd5b12dc6ce15b204f315de2f2feb8e2a | FG5eXmlToPdf.Tests/UnitTest1.cs | FG5eXmlToPdf.Tests/UnitTest1.cs | using System;
using FG5eXmlToPDF;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FG5eXmlToPdf.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void ReadWriteTest()
{
var currentDirectory = System.IO.Directory.GetCurrentDirectory... | using System;
using System.Linq;
using FG5eXmlToPDF;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FG5eXmlToPdf.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void ReadWriteTest()
{
var currentDirectory = System.IO.Directory.... | Test file output using char name and total level. | Test file output using char name and total level.
| C# | mit | JDCain/FG5eXmlToPdf |
070fdc4cb25ddcab46dd5af9c156a3d1ecb48c91 | TvShowReminderWorker/Program.cs | TvShowReminderWorker/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TvShowReminderWorker
{
class Program
{
static void Main(string[] args)
{
}
}
}
| using System;
namespace TvShowReminderWorker
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("I am the web job, I ran at {0}", DateTime.Now);
}
}
}
| Add text for debug purposes to see if the job has been running | Add text for debug purposes to see if the job has been running
| C# | mit | jonasf/tv-show-reminder |
c794901275b98790f393ad68bfdde406f0c51cfa | DanTup.DartAnalysis.Tests/Tests.cs | DanTup.DartAnalysis.Tests/Tests.cs | using System;
using System.IO;
using System.Reflection;
using DanTup.DartAnalysis.Json;
namespace DanTup.DartAnalysis.Tests
{
public abstract class Tests
{
protected string SdkFolder
{
// Hijack ENV-reading property
get { return DanTup.DartVS.DartAnalysisService.SdkPath; }
}
string CodebaseRoot = Path... | using System;
using System.IO;
using System.Reactive.Linq;
using System.Reflection;
using DanTup.DartAnalysis.Json;
namespace DanTup.DartAnalysis.Tests
{
public abstract class Tests
{
protected string SdkFolder
{
// Hijack ENV-reading property
get { return DanTup.DartVS.DartAnalysisService.SdkPath; }
}
... | Add test extension for easier waiting for analysis completion. | Add test extension for easier waiting for analysis completion.
| C# | mit | DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS |
e9481e54e1d7b3b72e01087a7e5bcb8d0b8003f5 | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | Reset page number to 1 when perform a new search. Work items: 569 | Reset page number to 1 when perform a new search.
Work items: 569
--HG--
branch : 1.1
| C# | apache-2.0 | jmezach/NuGet2,akrisiun/NuGet,antiufo/NuGet2,pratikkagda/nuget,alluran/node.net,themotleyfool/NuGet,themotleyfool/NuGet,rikoe/nuget,chocolatey/nuget-chocolatey,jmezach/NuGet2,rikoe/nuget,chocolatey/nuget-chocolatey,indsoft/NuGet2,chocolatey/nuget-chocolatey,antiufo/NuGet2,oliver-feng/nuget,oliver-feng/nuget,kumavis/NuG... |
48157bfd23e2e57ad612582328b5feaa3a621ba2 | Establishment/StringEstablisher.cs | Establishment/StringEstablisher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Establishment {
public class StringEstablisher : BaseClassEstablisher<string> {
public bool IsNullOrEmpty(string value) {
if (!string.IsNullOrEmpty(value)) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Establishment {
public class StringEstablisher : BaseClassEstablisher<string> {
public bool IsNullOrEmpty(string value) {
if (!string.IsNullOrEmpty(value)) {
... | Add additional comparison methods for string establisher | Add additional comparison methods for string establisher
| C# | mit | tjb042/Establishment |
78c844e25930af377c3c28162c58551d03c374b8 | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.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.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Scoring;
usi... | // 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.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Scoring;
usi... | Make catch provide some HP at DrainRate=10 | Make catch provide some HP at DrainRate=10
| C# | mit | UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu-new,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,ZLima12/osu,johnneijzen/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,UselessToucan/o... |
8e356ca2b4f216559061747534d1422a542c55f5 | src/Gelf.Extensions.Logging/GelfLoggerOptions.cs | src/Gelf.Extensions.Logging/GelfLoggerOptions.cs | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace Gelf.Extensions.Logging
{
public class GelfLoggerOptions
{
public GelfLoggerOptions()
{
Filter = (name, level) => level > LogLevel;
}
/// <summary>
/// GELF server... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace Gelf.Extensions.Logging
{
public class GelfLoggerOptions
{
public GelfLoggerOptions()
{
Filter = (name, level) => level >= LogLevel;
}
/// <summary>
/// GELF serve... | Fix default log level filter | Fix default log level filter
| C# | mit | mattwcole/gelf-extensions-logging |
1e2dd2d568a36daa6fa28a36ef18be8a9cbd893c | DataGenExtensions/DataGenExtensions/ObjectExtensions.cs | DataGenExtensions/DataGenExtensions/ObjectExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataGenExtensions
{
public static class ObjectExtensions
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataGenExtensions
{
public static class ObjectExtensions
{
public static bool IsNull(this object objectInstance)
{
return objectInstance == null;
}
public static bool IsNotNull(t... | Add object's IsNull & IsNotNull extentions | Add object's IsNull & IsNotNull extentions
| C# | mit | DataGenSoftware/DataGen.Extensions |
8324ad588d63e5e3933749241ed6aabd67959ee1 | Slicer/Utils/Validators/DataExtractionQueryValidator.cs | Slicer/Utils/Validators/DataExtractionQueryValidator.cs | using Slicer.Utils.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slicer.Utils.Validators
{
// Validates data extraction queries
public class DataExtractionQueryValidator
{
Dictionary<string, dynamic> Query;... | using Slicer.Utils.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slicer.Utils.Validators
{
// Validates data extraction queries
public class DataExtractionQueryValidator
{
Dictionary<string, dynamic> Query;... | Remove limit check on data extraction queries | Remove limit check on data extraction queries
| C# | mit | SlicingDice/slicingdice-dot-net |
7bc2d94fd15dd8310912432c6b88dfde2a61c820 | Tabster.Core/Plugins/ITabsterPlugin.cs | Tabster.Core/Plugins/ITabsterPlugin.cs | namespace Tabster.Core.Plugins
{
public interface ITabsterPlugin
{
string Name { get; }
string Description { get; }
string Author { get; }
string Version { get; }
string[] PluginClasses { get; }
}
}
| using System;
namespace Tabster.Core.Plugins
{
public interface ITabsterPlugin
{
string Name { get; }
string Description { get; }
string Author { get; }
string Version { get; }
Type[] Types { get; }
}
}
| Use types instead of fully qualified names. | Use types instead of fully qualified names.
| C# | apache-2.0 | GetTabster/Tabster |
57758e322a8436da83d9961541e7266300e5b6aa | Scripts/Application.cs | Scripts/Application.cs | using UnityEngine;
public class Application : MonoBehaviour
{
public ModelContainer Model;
public ControllerContainer Controller;
public ViewContainer View;
} | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class Application : MonoBehaviour
{
public ModelContainer Model;
public ControllerContainer Controller;
public ViewContainer View;
private Dictionary<string, UnityEvent> eventDictionary = new Dictionary<string, Unit... | Add possibility to register events on App, like we do on HTML DOM | Add possibility to register events on App, like we do on HTML DOM
Methods are:
App.AddEventListener(eventName, listener);
App.RemoveEventListener(eventName, listener);
App.TriggerEvent(eventName);
| C# | mit | felladrin/unity3d-mvc |
c19a9093d62763a463ea1e3f706e5afe8be189ab | Scripts/GameApi/LiteNetLibPlayer.cs | Scripts/GameApi/LiteNetLibPlayer.cs | using System.Collections;
using System.Collections.Generic;
using LiteNetLib;
namespace LiteNetLibHighLevel
{
public class LiteNetLibPlayer
{
public LiteNetLibGameManager Manager { get; protected set; }
public NetPeer Peer { get; protected set; }
public long ConnectId { get { return Pe... | using System.Collections;
using System.Collections.Generic;
using LiteNetLib;
namespace LiteNetLibHighLevel
{
public class LiteNetLibPlayer
{
public LiteNetLibGameManager Manager { get; protected set; }
public NetPeer Peer { get; protected set; }
public long ConnectId { get { return Pe... | Fix out of sync bugs | Fix out of sync bugs
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
9327a571ac267a38500149ca84f8c419d77e8b84 | ZocBuild.Database/Errors/MismatchedSchemaError.cs | ZocBuild.Database/Errors/MismatchedSchemaError.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZocBuild.Database.Errors
{
public class MismatchedSchemaError : BuildErrorBase
{
public MismatchedSchemaError(string objectName, string expected, string actual)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZocBuild.Database.Errors
{
public class MismatchedSchemaError : BuildErrorBase
{
public MismatchedSchemaError(string objectName, string expected, string actual)
... | Fix string format in error message | Fix string format in error message
| C# | mit | ZocDoc/ZocBuild.Database |
5d1995292c819fb10dd3ddcca3d5238c0080f2ae | Src/Commons/Web/ApplicationStarterHttpModule.cs | Src/Commons/Web/ApplicationStarterHttpModule.cs | using System.Web;
using Microsoft.Web.Infrastructure;
namespace BoC.Web
{
public class ApplicationStarterHttpModule : IHttpModule
{
private static object lockObject = new object();
private static bool startWasCalled = false;
public static void StartApplication()
{
if (startWasCalled... | using System;
using System.Configuration;
using System.Web;
using System.Web.Configuration;
using Microsoft.Web.Infrastructure;
namespace BoC.Web
{
public class ApplicationStarterHttpModule : IHttpModule
{
private static object lockObject = new object();
private static bool startWasCalled = ... | Allow to disable the application-starter | Allow to disable the application-starter
| C# | mit | csteeg/BoC,RalfvandenBurg/BoC,RvanDalen/BoC,bplasmeijer/BoC,RvanDalen/BoC,RalfvandenBurg/BoC,bplasmeijer/BoC,csteeg/BoC |
8bbb247f10bf2a87968682fbaa04d7f41bc6e386 | TwitterMonkey.Android/MainActivity.cs | TwitterMonkey.Android/MainActivity.cs | using Android.App;
using Android.Widget;
using Android.OS;
namespace TwitterMonkey
{
[Activity (Label = "TwitterMonkey", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
int count = 1;
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundl... | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Android.App;
using Android.OS;
using Android.Widget;
using TwitterMonkey.Portable;
namespace TwitterMonkey {
[Activity(Label = "TwitterMonkey", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity ... | Add simple mechanism to fetch JSON and display it | Add simple mechanism to fetch JSON and display it
| C# | mit | SolidNerd/TwitterMonkey |
47e59f7c2ed6185bfcab513527197cf17e06c550 | Droid/MainActivity.cs | Droid/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms;
namespace BluetoothLE.Example.Droid
{
[Activity(Label = "BluetoothLE.Example.Droid", Icon = "@drawable/icon", MainLauncher = true... | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms;
namespace BluetoothLE.Example.Droid
{
[Activity(Label = "BluetoothLE.Example.Droid", Icon = "@drawable/icon", MainLauncher = true... | Update IAdapter registration in Droid example project | Update IAdapter registration in Droid example project
| C# | mit | tbrushwyler/Xamarin.BluetoothLE |
21f3ff6e7717b346ba7ebb7f0f9810dac4dc55a7 | osu.Game.Rulesets.Osu/Objects/RepeatPoint.cs | osu.Game.Rulesets.Osu/Objects/RepeatPoint.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{
public class RepeatPoint : OsuHitObject
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{
public class RepeatPoint : OsuHitObject
... | Fix slider repeat points appearing far too late | Fix slider repeat points appearing far too late
| C# | mit | ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,2... |
5951284dfa4c22fdff3341c359dfb080dd8d636c | NitroDebugger/RSP/Packets/ReadRegisters.cs | NitroDebugger/RSP/Packets/ReadRegisters.cs | //
// ReadRegisters.cs
//
// Author:
// Benito Palacios Sánchez <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foun... | //
// ReadRegisters.cs
//
// Author:
// Benito Palacios Sánchez <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foun... | Fix typo that don't compile. | Fix typo that don't compile.
Why chars are not implicit casted to string? | C# | mit | pleonex/NitroDebugger,pleonex/NitroDebugger,pleonex/NitroDebugger |
334cd136cc9843d744d2b53ec8deb1e4567b1dad | Octokit/Clients/IActivitiesClient.cs | Octokit/Clients/IActivitiesClient.cs | namespace Octokit
{
public interface IActivitiesClient
{
IEventsClient Event { get; }
}
} | namespace Octokit
{
public interface IActivitiesClient
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Event")]
IEventsClient Event { get; }
}
} | Apply naming suppression to allow build to build. | Apply naming suppression to allow build to build.
| C# | mit | daukantas/octokit.net,SamTheDev/octokit.net,shiftkey/octokit.net,gabrielweyer/octokit.net,editor-tools/octokit.net,TattsGroup/octokit.net,ivandrofly/octokit.net,geek0r/octokit.net,chunkychode/octokit.net,takumikub/octokit.net,eriawan/octokit.net,gabrielweyer/octokit.net,ChrisMissal/octokit.net,SLdragon1989/octokit.net,... |
d85950ba03d2f17019245c30fcff2ef3413b0eb6 | Espera.Network/PushAction.cs | Espera.Network/PushAction.cs | namespace Espera.Network
{
public enum PushAction
{
UpdateAccessPermission = 0,
UpdateCurrentPlaylist = 1,
UpdatePlaybackState = 2,
UpdateRemainingVotes = 3
}
} | namespace Espera.Network
{
public enum PushAction
{
UpdateAccessPermission = 0,
UpdateCurrentPlaylist = 1,
UpdatePlaybackState = 2,
UpdateRemainingVotes = 3,
UpdateCurrentPlaybackTime = 4
}
} | Add a playback time push message | Add a playback time push message
| C# | mit | flagbug/Espera.Network |
218c0de0cd7f1f72cc46e199444c183fad329adf | Localization/Localizers/NullLocalizer.cs | Localization/Localizers/NullLocalizer.cs | using System;
namespace Mios.Localization.Localizers {
public class NullLocalizer {
public static LocalizedString Instance(string key, params object[] args) {
return new LocalizedString(String.Format(key,args), null);
}
}
}
| using System;
using System.Linq;
namespace Mios.Localization.Localizers {
public class NullLocalizer {
public static LocalizedString Instance(string key, params object[] args) {
var parameters = args.Any()
? "["+String.Join(",",args.Select(t=>(t??String.Empty).ToString()).ToArray())+"]"
... | Fix exception when dumping a null parameter | Fix exception when dumping a null parameter
| C# | bsd-2-clause | mios-fi/mios.localization |
acaf9e0fa25b231229f0e9b2d8120f8c6aa0d5ff | src/Nancy.Linker.Tests/ResourceLinkerTests.cs | src/Nancy.Linker.Tests/ResourceLinkerTests.cs | namespace Nancy.Linker.Tests
{
using System.Runtime.InteropServices;
using Testing;
using Xunit;
public class ResourceLinkerTests
{
private Browser app;
public class TestModule : NancyModule
{
public static ResourceLinker linker;
public TestModule(ResourceLinker linker)
{
... | namespace Nancy.Linker.Tests
{
using System;
using System.Runtime.InteropServices;
using Testing;
using Xunit;
public class ResourceLinker_Should
{
private Browser app;
public class TestModule : NancyModule
{
public static ResourceLinker linker;
public TestModule(ResourceLinker l... | Change naming in test and add one | Change naming in test and add one
| C# | mit | horsdal/Nancy.Linker |
2942aeb7512e15debdbc070b04591df60a63147a | NBi.Core/Transformation/Transformer/NativeTransformationfactory.cs | NBi.Core/Transformation/Transformer/NativeTransformationfactory.cs | using NBi.Core.Transformation.Transformer.Native;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer
{
public class NativeTransformationFactory
{
public INativeTra... | using NBi.Core.Transformation.Transformer.Native;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer
{
public class NativeTransformationFactory
{
public INativeTra... | Fix bugs that native functions with parameters are not instantiable due to parsing mistakes | Fix bugs that native functions with parameters are not instantiable due to parsing mistakes
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
4da6788cb8799e927e7a36282e660a0fe2798867 | src/Umbraco.Web/Trees/PartialViewsTreeController.cs | src/Umbraco.Web/Trees/PartialViewsTreeController.cs | using umbraco;
using Umbraco.Core.IO;
using Umbraco.Web.Composing;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
{
/// <summary>
/// Tree for displaying partial views in the settings app
/// </... | using umbraco;
using Umbraco.Core.IO;
using Umbraco.Web.Composing;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
{
/// <summary>
/// Tree for displaying partial views in the settings app
/// </... | Fix PartialView Tree Controller to display a folder icon as opposed to an article icon for nested folders - looks odd/broken to me otherwise | Fix PartialView Tree Controller to display a folder icon as opposed to an article icon for nested folders - looks odd/broken to me otherwise
| C# | mit | JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,leekelleher/Umbraco-CMS,tompipe/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,lars-erik/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbra... |
4eb7fbea23840344db330340461aeeeeda42f697 | src/Elders.Cronus.Transport.RabbitMQ/RabbitMqPublisherDiscovery.cs | src/Elders.Cronus.Transport.RabbitMQ/RabbitMqPublisherDiscovery.cs | using System.Collections.Generic;
using Elders.Cronus.Discoveries;
using Microsoft.Extensions.DependencyInjection;
using RabbitMQ.Client;
namespace Elders.Cronus.Transport.RabbitMQ
{
public class RabbitMqPublisherDiscovery : DiscoveryBasedOnExecutingDirAssemblies<IPublisher<IMessage>>
{
protected over... | using System.Collections.Generic;
using Elders.Cronus.Discoveries;
using Microsoft.Extensions.DependencyInjection;
using RabbitMQ.Client;
namespace Elders.Cronus.Transport.RabbitMQ
{
public class RabbitMqPublisherDiscovery : DiscoveryBasedOnExecutingDirAssemblies<IPublisher<IMessage>>
{
protected over... | Mark IPublisher<> descriptor as overrider | Mark IPublisher<> descriptor as overrider
| C# | apache-2.0 | Elders/Cronus.Transport.RabbitMQ,Elders/Cronus.Transport.RabbitMQ |
39c1468b0ab58eac7876bf3b52c68b3c530e4a57 | TicketTimer.Core/Infrastructure/JsonWorkItemStore.cs | TicketTimer.Core/Infrastructure/JsonWorkItemStore.cs | using Newtonsoft.Json;
namespace TicketTimer.Core.Infrastructure
{
public class JsonWorkItemStore : WorkItemStore
{
private readonly FileStore _fileStore;
private const string FileName = "timer.state";
private TimerState _state;
public JsonWorkItemStore(FileStore fileStore)
... | using Newtonsoft.Json;
namespace TicketTimer.Core.Infrastructure
{
public class JsonWorkItemStore : WorkItemStore
{
private readonly FileStore _fileStore;
private const string FileName = "timer.state";
private TimerState _state;
public JsonWorkItemStore(FileStore fileStore)
... | Write JSON as prettified string to file for better readability. | [master] Write JSON as prettified string to file for better readability.
| C# | mit | n-develop/tickettimer |
fa787247783e1dda7b67a7b75b6ffe73f3930cc6 | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.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: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | 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: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | Increase assembly version to 'beta01' | Increase assembly version to 'beta01'
| C# | mit | Jericho/CakeMail.RestClient |
bc7c8574e954f127ab0253861fd0022318f2620d | src/Rainbow/Diff/Fields/DefaultComparison.cs | src/Rainbow/Diff/Fields/DefaultComparison.cs | using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class DefaultComparison : IFieldComparer
{
public bool CanCompare(IItemFieldValue field1, IItemFieldValue field2)
{
return field1 != null && field2 != null;
}
public bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (field... | using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class DefaultComparison : IFieldComparer
{
public bool CanCompare(IItemFieldValue field1, IItemFieldValue field2)
{
return field1 != null && field2 != null;
}
public bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (field... | Improve comparison order to avoid reading blob values by mistake | Improve comparison order to avoid reading blob values by mistake
| C# | mit | kamsar/Rainbow,MacDennis76/Rainbow,PetersonDave/Rainbow |
ad6d90c6085cc3805db5422381973acafc8bd5a3 | src/Simple.Web/Behaviors/Implementations/SetInput.cs | src/Simple.Web/Behaviors/Implementations/SetInput.cs | namespace Simple.Web.Behaviors.Implementations
{
using MediaTypeHandling;
using Behaviors;
using Http;
/// <summary>
/// This type supports the framework directly and should not be used from your code.
/// </summary>
public static class SetInput
{
/// <summary>
... | namespace Simple.Web.Behaviors.Implementations
{
using MediaTypeHandling;
using Behaviors;
using Http;
/// <summary>
/// This type supports the framework directly and should not be used from your code.
/// </summary>
public static class SetInput
{
/// <summary>
... | Check InputStream on when seekable. | Check InputStream on when seekable.
| C# | mit | ianbattersby/Simple.Http,markrendle/Simple.Web,ianbattersby/Simple.Http,markrendle/Simple.Web,markrendle/Simple.Web,ianbattersby/Simple.Http |
d67251ba8d47456ade1073ff1c59f35e37dbd184 | Business/Application.Business/Models/ResetPasswordFromMailModel.cs | Business/Application.Business/Models/ResetPasswordFromMailModel.cs | namespace Application.Business.Models
{
using System.ComponentModel.DataAnnotations;
public class ResetPasswordFromMailModel
{
[Required]
[DataType(DataType.EmailAddress)]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength(... | namespace Application.Business.Models
{
using System.ComponentModel.DataAnnotations;
public class ResetPasswordFromMailModel
{
[Required]
[DataType(DataType.EmailAddress)]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength(... | Fix bug with require token field in register page | Fix bug with require token field in register page
| C# | mit | RenetConsulting/angularcore.net,RenetConsulting/angularcore.net,RenetConsulting/angularcore.net,RenetConsulting/angularcore.net |
9161c5992954d5538054bc73cd5dd8bcc7e415cc | tests/AdventOfCode.Tests/Puzzles/Y2016/Day16Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2016/Day16Tests.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.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | // 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.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | Solve day 16 part 2 | Solve day 16 part 2
Extend the tests to solve part 2 of the puzzle for day 16.
| C# | apache-2.0 | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode |
9eda2f2df126f28079b05e9c87955fb08dd63364 | osu.Game/Overlays/Chat/ChannelList/ChannelListItemCloseButton.cs | osu.Game/Overlays/Chat/ChannelList/ChannelListItemCloseButton.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.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Us... | // 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.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Gr... | Remove box surrounding close button | Remove box surrounding close button
| C# | mit | ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu |
c51d6402416bbf1f15c248e1070fde74a36bdfd1 | osu.Game/Database/BeatmapMetadata.cs | osu.Game/Database/BeatmapMetadata.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 System.Linq;
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey, AutoIncrement]
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey, AutoIncrement]
... | Add support for searching beatmap author at song select | Add support for searching beatmap author at song select
Resolves #792 | C# | mit | EVAST9919/osu,2yangk23/osu,UselessToucan/osu,Drezi126/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu,naoey/osu,DrabWeb/osu,Nabile-Rahmani/osu,tacchinotacchi/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,Damnae/osu,peppy/osu-new,naoey/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,Frontear/osuKyzer,naoey/osu,ppy/... |
5c2d5d9ee49f57bf11cd6cc49bd364333d5ad2ef | Glyssen/Controls/DataGridViewOverrideEnter.cs | Glyssen/Controls/DataGridViewOverrideEnter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SIL.Windows.Forms.Widgets.BetterGrid;
namespace Glyssen.Controls
{
//DataGridView with Enter moving to right (instead of down)
public class DataGridViewOverrideEnter ... | using System.Windows.Forms;
using SIL.Windows.Forms.Widgets.BetterGrid;
namespace Glyssen.Controls
{
/// <summary>
/// DataGridView with Enter moving to right (instead of down)
/// </summary>
public class DataGridViewOverrideEnter : BetterGrid
{
public DataGridViewOverrideEnter()
{
AllowUserToAddRows = tr... | Fix bug when hitting Enter on last row (PG-234) | Fix bug when hitting Enter on last row (PG-234)
| C# | mit | sillsdev/Glyssen,sillsdev/Glyssen |
3218b8a6aff7cebbfa963eb9df145e93580f522c | Assets/Scripts/SpecialPowers/SpecialPower.cs | Assets/Scripts/SpecialPowers/SpecialPower.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpecialPower : MonoBehaviour {
public float manaCost;
public float coolDownDuration;
public string button;
public bool isBomb = false; //tmp
[HideInInspector]
public float mana;
public float maxMa... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpecialPower : MonoBehaviour {
public float manaCost;
public float coolDownDuration;
public string button;
public bool isBomb = false; //tmp
[HideInInspector]
public float mana;
public float maxMa... | Fix press space to start game launch bomb | Fix press space to start game launch bomb
| C# | mit | solfen/Rogue_Cadet |
c7d5d28b8cc5abcefe5e51807bc92ac3dc428610 | osu.Framework/Graphics/Performance/PerformanceOverlay.cs | osu.Framework/Graphics/Performance/PerformanceOverlay.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Graphics.Performance
{
class PerformanceOverla... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Graphics.Performance
{
class PerformanceOverla... | Fix overlay hide animation playing at the wrong point in time. | Fix overlay hide animation playing at the wrong point in time.
| C# | mit | paparony03/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,naoey/osu-framework,Tom94/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,NeoAdo... |
bfd4d1bc8884c9303604e73c8a0a1e8a39df64e4 | Snittlistan/Installers/AutoMapperInstaller.cs | Snittlistan/Installers/AutoMapperInstaller.cs | using AutoMapper;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Snittlistan.Installers
{
public class AutoMapperInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
... | using AutoMapper;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Snittlistan.Installers
{
public class AutoMapperInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
... | Correct installation of AutoMapper profiles | Correct installation of AutoMapper profiles
| C# | mit | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.