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 |
|---|---|---|---|---|---|---|---|---|---|
6d578e9d0acc6a028ef081bab00b0868b8110cfd | VRUnityProject/Assets/OurStuff/ObjectPlacer.cs | VRUnityProject/Assets/OurStuff/ObjectPlacer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPlacer : MonoBehaviour {
public CountryLocation reader;
public GameObject prefab;
// Use this for initialization
void Start () {
Debug.Log ("LOOK WE ARE DOING THINGS");
reader.NotANormalWord ();
Debug.Log ("S... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPlacer : MonoBehaviour {
public CountryLocation reader;
public GameObject prefab;
private Dictionary<string, GameObject> markers;
// Use this for initialization
void Start () {
Debug.Log ("LOOK WE ARE DOING TH... | Put markers in a dictionary for reuse. | Put markers in a dictionary for reuse.
| C# | mit | jb-aero/CMSC491-VR |
c0b0fd71a6c6390078207abdfe5a54f180ab258b | TexasHoldEm/Bot.cs | TexasHoldEm/Bot.cs | using System;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Bot {
public Bot() {
//
// TODO: Add constructor logic here
//
}
}
| using System;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Bot {
private const int chromosomeSize = 10;
private Chromosome<double> chromosome;
public Bot() {
chromosome = new Chromosome<double>(chromosomeSize);
}
public Bot(double[] values) {
chromosome = new Chromosome<do... | Add bot class method stubs | Add bot class method stubs
| C# | mit | FireCube-/HarvesterBot |
59ef8e2bb0637537b531a3d3efdbae370d311b7a | Startup.cs | Startup.cs | using Microsoft.AspNet.Builder;
namespace KWebStartup
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
}
}
} | using Microsoft.AspNet.Builder;
namespace KWebStartup
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
app.UseWelcomePage();
}
}
} | Bring welcome page back to project | Bring welcome page back to project
| C# | mit | peterblazejewicz/vnext-web-starter-kit,peterblazejewicz/vnext-web-starter-kit,peterblazejewicz/vnext-web-starter-kit |
38d3d7bb19de53a53db75cacbf43293fff2256be | src/ResourceManager/Sql/Commands.Sql/Database/Model/DatabaseEdition.cs | src/ResourceManager/Sql/Commands.Sql/Database/Model/DatabaseEdition.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | Remove PremiumRS edition value due to public preview schedule changes | Remove PremiumRS edition value due to public preview schedule changes
| C# | apache-2.0 | zhencui/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,pankajsn/azure-powershell,pankajsn/azure-powershell,AzureAutomationTeam/azure-powershell,zhencui/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,jtlibing/azure-powershell,hungmai-msft/a... |
750b6671fac0052a3523e31d3f73ecccd09567e6 | Assets/Scripts/UI/TextMeshLimitSize.cs | Assets/Scripts/UI/TextMeshLimitSize.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class TextMeshLimitSize : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Vector2 maxExtents;
[SerializeField]
private TextMesh textMesh;
[Serializ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class TextMeshLimitSize : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Vector2 maxExtents;
[SerializeField]
private TextMesh textMesh;
[Serializ... | Add LateUpdate check to scaler | Add LateUpdate check to scaler
| C# | mit | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare |
335cd4577a0602db6680186a40800c2718ace43c | aspnet/4-auth/Controllers/SessionController.cs | aspnet/4-auth/Controllers/SessionController.cs | // Copyright(c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright(c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | Add comment to Auth Login action describing redirect | Add comment to Auth Login action describing redirect
| C# | apache-2.0 | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet |
7e2ea3b6bc4b8728e34c49f1494798820f65e7cc | RohlikAPI/Helpers/PriceParser.cs | RohlikAPI/Helpers/PriceParser.cs | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace RohlikAPI.Helpers
{
public class PriceParser
{
public double ParsePrice(string priceString)
{
var priceStringWithoutSpaces = priceString.Replace(" ", "").Replace(" ","");
var ... | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace RohlikAPI.Helpers
{
public class PriceParser
{
public double ParsePrice(string priceString)
{
var priceStringWithoutSpaces = priceString.Replace(" ", "").Replace(" ","");
var ... | Allow products to have 0 price | Allow products to have 0 price
| C# | mit | notdev/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI |
d5d2922556039808654417c41655c360d96ae3c1 | osu.Framework/Platform/Linux/LinuxGameHost.cs | osu.Framework/Platform/Linux/LinuxGameHost.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.Platform.Linux.Native;
namespace osu.Framework.Platform.Linux
{
public class LinuxGameHost : DesktopGameHost
{
internal L... | // 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.Platform.Linux.Native;
namespace osu.Framework.Platform.Linux
{
public class LinuxGameHost : DesktopGameHost
{
internal L... | Add comment as this may be removed in the future | Add comment as this may be removed in the future
| C# | mit | ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-framew... |
56fb7bd89cb785cf4b2761c8ee87266c9974ee16 | src/CompetitionPlatform/Views/Home/Index.cshtml | src/CompetitionPlatform/Views/Home/Index.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<section class="section section--lead section--padding">
<div class="container container--extend">
<h1 class="text-center page__title">Lykke<span>Streams</span></h1>
<h3 class="p... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<section class="section section--lead section--padding">
<div class="container container--extend">
<h1 class="text-center page__title">Lykke<span>Streams</span></h1>
<h3 class="p... | Fix text on main page. | Fix text on main page.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
56d258e2915e3c1a97d6397aca90171f590c8f17 | Project.Data/ProjectContext.cs | Project.Data/ProjectContext.cs | using System;
using Microsoft.AspNet.Identity.EntityFramework;
using Project.Data.Configuration;
using System.Data.Entity;
using Project.Domain.Entities;
namespace Project.Data
{
public class ProjectContext : IdentityDbContext<ApplicationUser>
{
public ProjectContext() : base("ProjectContext") { }
... | using Microsoft.AspNet.Identity.EntityFramework;
using Project.Data.Configuration;
using System.Data.Entity;
using Project.Domain.Entities;
namespace Project.Data
{
public class ProjectContext : IdentityDbContext<ApplicationUser>
{
public ProjectContext() : base("ProjectContext") { }
public D... | Fix the EF causing issues identity framework | Fix the EF causing issues identity framework
| C# | mit | kmlprtsng/MvcGenericProjectTemplate,kmlprtsng/MvcGenericProjectTemplate,kmlprtsng/MvcGenericProjectTemplate |
081cf6c59f8b6526029070288d16b609336f13da | carfuel/Controllers/CarsController.cs | carfuel/Controllers/CarsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CarFuel.DataAccess;
using CarFuel.Models;
using CarFuel.Services;
using Microsoft.AspNet.Identity;
namespace CarFuel.Controllers {
public class CarsController : Controller {
private ICarDb db;
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CarFuel.DataAccess;
using CarFuel.Models;
using CarFuel.Services;
using Microsoft.AspNet.Identity;
namespace CarFuel.Controllers {
public class CarsController : Controller {
private ICarDb db;
p... | Add Response Bad Request on Detail Page | Add Response Bad Request on Detail Page
| C# | mit | krprasert/tdd-carfuel,krprasert/tdd-carfuel,krprasert/tdd-carfuel |
a57e7262784bafb49ac23f9b90c1c7897044e249 | src/CommandLine/Common/AggregateRepositoryHelper.cs | src/CommandLine/Common/AggregateRepositoryHelper.cs | using System.Collections.Generic;
using System.Linq;
namespace NuGet.Common
{
public static class AggregateRepositoryHelper
{
public static AggregateRepository CreateAggregateRepositoryFromSources(IPackageRepositoryFactory factory, IPackageSourceProvider sourceProvider, IEnumerable<string> sour... | using System.Collections.Generic;
using System.Linq;
namespace NuGet.Common
{
public static class AggregateRepositoryHelper
{
public static AggregateRepository CreateAggregateRepositoryFromSources(IPackageRepositoryFactory factory, IPackageSourceProvider sourceProvider, IEnumerable<string> sour... | Undo a change which causes compiler error in .NET 4.0 (but not .NET 4.5 | Undo a change which causes compiler error in .NET 4.0 (but not .NET 4.5
| C# | apache-2.0 | OneGet/nuget,oliver-feng/nuget,OneGet/nuget,ctaggart/nuget,zskullz/nuget,jholovacs/NuGet,xoofx/NuGet,jmezach/NuGet2,oliver-feng/nuget,antiufo/NuGet2,mrward/nuget,akrisiun/NuGet,indsoft/NuGet2,jmezach/NuGet2,jmezach/NuGet2,rikoe/nuget,indsoft/NuGet2,rikoe/nuget,oliver-feng/nuget,atheken/nuget,zskullz/nuget,mrward/NuGet.... |
bb9be865ef5eb3059bd96aa8caf50e0a51a54b75 | source/CroquetAustralia.Website/app/tournaments/TournamentsController.cs | source/CroquetAustralia.Website/app/tournaments/TournamentsController.cs | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using CroquetAustralia.Website.App.Infrastructure;
namespace CroquetAustralia.Website.App.tournaments
{
[RoutePrefix("tournaments")]
public class TournamentsController : ApplicationController
{
private readonly WebApi _webApi;
... | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using CroquetAustralia.Website.App.Infrastructure;
namespace CroquetAustralia.Website.App.tournaments
{
[RoutePrefix("tournaments")]
public class TournamentsController : ApplicationController
{
private readonly WebApi _webApi;
... | Replace tournament routes with generic {year}/{discipline}/{slug} | Replace tournament routes with generic {year}/{discipline}/{slug}
| C# | mit | croquet-australia/website-application,croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.co... |
72fb426c98f30415ac44c24e6c535b0c0960f5de | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs | using System;
using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
[Serializable]
class AuthenticationWindow : BaseWindow
{
private const string Title = "Sign in";
[SerializeField] private AuthenticationView authView;
[MenuItem("GitHub/Authenticate")]
public sta... | using System;
using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
[Serializable]
class AuthenticationWindow : BaseWindow
{
private const string Title = "Sign in";
[SerializeField] private AuthenticationView authView;
[MenuItem("GitHub/Authenticate")]
public sta... | Fix initializing the auth view' | Fix initializing the auth view'
| C# | mit | mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity |
7daff28e6884cc6d5f1e7146d1b0c9f1c18734fe | CefSharp.WinForms.Example/Program.cs | CefSharp.WinForms.Example/Program.cs | // Copyright © 2010-2014 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;
using System.Windows.Forms;
using CefSharp.Example;
using CefSharp.WinForms.Example.Minimal;
namespace CefSharp.WinForms.Example
{
... | // Copyright © 2010-2014 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;
using System.Windows.Forms;
using CefSharp.Example;
using CefSharp.WinForms.Example.Minimal;
namespace CefSharp.WinForms.Example
{
... | Switch back to tabbed winforms example being the default (maybe one day create a method to switch between the two) | Switch back to tabbed winforms example being the default (maybe one day create a method to switch between the two)
| C# | bsd-3-clause | joshvera/CefSharp,jamespearce2006/CefSharp,yoder/CefSharp,battewr/CefSharp,rlmcneary2/CefSharp,wangzheng888520/CefSharp,VioletLife/CefSharp,Livit/CefSharp,illfang/CefSharp,joshvera/CefSharp,NumbersInternational/CefSharp,Haraguroicha/CefSharp,illfang/CefSharp,VioletLife/CefSharp,rover886/CefSharp,twxstar/CefSharp,gregma... |
a9024911a2c7d328b8bfa553e19a0cc628a4435a | WebScriptHook.Framework/Logger.cs | WebScriptHook.Framework/Logger.cs | using System;
using System.IO;
namespace WebScriptHook.Framework
{
public class Logger
{
public static string FileName
{
get;
internal set;
} = "WebScriptHook.log";
public static LogType LogLevel
{
get;
internal set;
... | using System;
using System.IO;
using System.Diagnostics;
namespace WebScriptHook.Framework
{
public class Logger
{
public static string FileName
{
get;
internal set;
} = "WebScriptHook.log";
public static LogType LogLevel
{
get;
... | Write to debug in debug env | Write to debug in debug env
| C# | mit | LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC |
6de08db65316679f99830c6448540aeb5b89ea06 | osu.Game.Rulesets.Taiko/TaikoSkinComponents.cs | osu.Game.Rulesets.Taiko/TaikoSkinComponents.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Taiko
{
public enum TaikoSkinComponents
{
InputDrum,
RimHit,
DrumRollBody,
DrumRollTick,
Swell... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Taiko
{
public enum TaikoSkinComponents
{
InputDrum,
CentreHit,
RimHit,
DrumRollBody,
DrumRoll... | Add removed skin component back | Add removed skin component back
| C# | mit | peppy/osu-new,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu |
e02ec11f03552a48d409fb3707d0d24f9067dc24 | Binance.Net/Objects/BinanceStreamConnection.cs | Binance.Net/Objects/BinanceStreamConnection.cs | using System.Threading.Tasks;
using CryptoExchange.Net.Interfaces;
namespace Binance.Net.Objects
{
internal class BinanceStream
{
internal bool TryReconnect { get; set; } = true;
public IWebsocket Socket { get; set; }
public BinanceStreamSubscription StreamResult { get; set; }
... | using System.Threading.Tasks;
using CryptoExchange.Net.Interfaces;
namespace Binance.Net.Objects
{
internal class BinanceStream
{
internal bool TryReconnect { get; set; } = true;
public IWebsocket Socket { get; set; }
public BinanceStreamSubscription StreamResult { get; set; }
... | Fix for unsubscribe freezing ui thread | Fix for unsubscribe freezing ui thread
| C# | mit | JKorf/Binance.Net |
ca26901cdafc94e0dc0ed6c2b7a78f3c8cd21744 | SurveyMonkey/ProcessedAnswers/SingleChoiceAnswer.cs | SurveyMonkey/ProcessedAnswers/SingleChoiceAnswer.cs | using System;
using System.Text;
using SurveyMonkey.Helpers;
namespace SurveyMonkey.ProcessedAnswers
{
public class SingleChoiceAnswer : IProcessedResponse
{
public string Choice { get; set; }
public string OtherText { get; set; }
public string Printable
{
get
... | using System;
using System.Text;
using SurveyMonkey.Helpers;
namespace SurveyMonkey.ProcessedAnswers
{
public class SingleChoiceAnswer : IProcessedResponse
{
public string Choice { get; set; }
public string OtherText { get; set; }
public string Printable
{
get
... | Print "Other:" for single choice questions | Print "Other:" for single choice questions
| C# | mit | bcemmett/SurveyMonkeyApi-v3 |
d3a300eb485c791f610b741c5d177f5be2a78548 | MultiMiner.CoinWarz.Api/CoinInformationExtensions.cs | MultiMiner.CoinWarz.Api/CoinInformationExtensions.cs | using MultiMiner.Coin.Api;
using Newtonsoft.Json.Linq;
namespace MultiMiner.CoinWarz.Api
{
public static class CoinInformationExtensions
{
public static void PopulateFromJson(this CoinInformation coinInformation, JToken jToken)
{
coinInformation.Symbol = jToken.Value<string>("CoinT... | using MultiMiner.Coin.Api;
using Newtonsoft.Json.Linq;
namespace MultiMiner.CoinWarz.Api
{
public static class CoinInformationExtensions
{
public static void PopulateFromJson(this CoinInformation coinInformation, JToken jToken)
{
coinInformation.Symbol = jToken.Value<string>("CoinT... | Adjust the CoinWarz price / exchange rate so that BTC is 1 (100%) | Adjust the CoinWarz price / exchange rate so that BTC is 1 (100%)
| C# | mit | IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner |
48d33a7c7aef56a077f8d0d11002de6f9b3691a5 | EasySnippets/App.xaml.cs | EasySnippets/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace EasySnippets
{
/// <summary>
/// Interaction logic for Ap... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace EasySnippets
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial ... | Revert "Added log of exceptions" | Revert "Added log of exceptions"
This reverts commit 27d31e494cb55c6dcbb79875bd388e67d8d928c1.
| C# | mit | karolberezicki/EasySnippets |
de54837390ed94aace46803c2aa0f07d62993ca9 | environment/Assets/Scripts/Trials.cs | environment/Assets/Scripts/Trials.cs | using UnityEngine;
public class Trials {
public static void Reset() {
Debug.Log("Reset trials");
}
public static void AddSuccess() {
string trials = PlayerPrefs.GetString("Trials");
trials += "S";
while(trials.Length > 100) {
trials = trials.Substring(1);
... | using UnityEngine;
public class Trials {
public static void Reset() {
PlayerPrefs.SetString("Trials", "");
}
public static void AddSuccess() {
string trials = PlayerPrefs.GetString("Trials");
trials += "S";
while(trials.Length > 100) {
trials = trials.Substri... | Fix bug in reset code | Fix bug in reset code
| C# | apache-2.0 | wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample |
13661061a6a676680db932b547d0ffb7c82c76c3 | SolidworksAddinFramework/Geometry/BSpline3D.cs | SolidworksAddinFramework/Geometry/BSpline3D.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.DoubleNumerics;
using JetBrains.Annotations;
using SolidworksAddinFramework.OpenGl;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.Geometry
{
public class BSpline3D : BSpline<Vector4>
{
public BSpline3D([NotN... | using System;
using System.Diagnostics;
using System.Linq;
using System.DoubleNumerics;
using JetBrains.Annotations;
using SolidworksAddinFramework.OpenGl;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.Geometry
{
public class BSpline3D : BSpline<Vector4>
{
public BSpline3D([NotN... | Convert code to use extension method | Convert code to use extension method
| C# | mit | Weingartner/SolidworksAddinFramework |
27cb07455f270142053d6426da0deda26f0d537a | UnitTests/Properties/AssemblyInfo.cs | UnitTests/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("Un... | 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: AssemblyTi... | Set version number of unit tests to be different | Set version number of unit tests to be different
This way the test case can verify they are working correctly
| C# | mit | mirhagk/PowerCommandParser |
c056c9d910c0f20b919c4fa725569b7f3ba764c7 | src/ResourceManagement/TrafficManager/Microsoft.Azure.Management.TrafficManager/Properties/AssemblyInfo.cs | src/ResourceManagement/TrafficManager/Microsoft.Azure.Management.TrafficManager/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Traffic Manager Management Libra... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Traffic Manager Management Libra... | Revert AssemblyVersion to 2.0.0 because there are no breaking changes in this version | Revert AssemblyVersion to 2.0.0 because there are no breaking changes in this version
| C# | mit | begoldsm/azure-sdk-for-net,mihymel/azure-sdk-for-net,mihymel/azure-sdk-for-net,begoldsm/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,mihymel/azure-sdk-for-net,begoldsm/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net |
b7fba6667c22ff63a6bc882899c9e4a6cd0cded6 | Source/Eto.Platform.iOS/Drawing/FontFamilyHandler.cs | Source/Eto.Platform.iOS/Drawing/FontFamilyHandler.cs | using System;
using Eto.Drawing;
using System.Collections.Generic;
using MonoTouch.UIKit;
using System.Linq;
namespace Eto.Platform.iOS.Drawing
{
public class FontFamilyHandler : WidgetHandler<object, FontFamily>, IFontFamily
{
public FontFamilyHandler ()
{
}
public FontFamilyHandler (string familyName)
{... | using System;
using Eto.Drawing;
using System.Collections.Generic;
using MonoTouch.UIKit;
using System.Linq;
namespace Eto.Platform.iOS.Drawing
{
public class FontFamilyHandler : WidgetHandler<object, FontFamily>, IFontFamily
{
public FontFamilyHandler ()
{
}
public FontFamilyHandler (string familyName)
{... | Fix creating a font with a specific style | iOS: Fix creating a font with a specific style
| C# | bsd-3-clause | PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto |
90fd7ac037876e202748b38b36ec91a3826f6a9e | IocPerformance/Adapters/MefContainerAdapter.cs | IocPerformance/Adapters/MefContainerAdapter.cs | using System.ComponentModel.Composition.Hosting;
namespace IocPerformance.Adapters
{
public sealed class MefContainerAdapter : IContainerAdapter
{
private CompositionContainer container;
public void Prepare()
{
var catalog = new AssemblyCatalog(typeof(Program).Assembly);
... | using System.ComponentModel.Composition.Hosting;
namespace IocPerformance.Adapters
{
public sealed class MefContainerAdapter : IContainerAdapter
{
private CompositionContainer container;
public void Prepare()
{
var catalog = new TypeCatalog(typeof(Implementation1), typeof(... | Change to using TypeCatalog instead of AssemblyCatalog | Change to using TypeCatalog instead of AssemblyCatalog
| C# | apache-2.0 | danielpalme/IocPerformance,seesharper/IocPerformance,lamLeX/IocPerformance,z4kn4fein/IocPerformance,dadhi/IocPerformance,kool79/IocPerformance |
b6b626216670392124537bfc88c27a114530a062 | Bumblebee/Extensions/Debugging.cs | Bumblebee/Extensions/Debugging.cs | using System;
using System.Collections.Generic;
using System.Threading;
namespace Bumblebee.Extensions
{
public static class Debugging
{
public static T DebugPrint<T>(this T obj)
{
Console.WriteLine(obj.ToString());
return obj;
}
public static T DebugPri... | using System;
using System.Collections.Generic;
using System.Threading;
namespace Bumblebee.Extensions
{
public static class Debugging
{
public static T DebugPrint<T>(this T obj)
{
Console.WriteLine(obj.ToString());
return obj;
}
public static T DebugPri... | Make sure debugger is attached for DebugBreak, otherwise user is prompted to attach a debugger | Make sure debugger is attached for DebugBreak, otherwise user is prompted to attach a debugger
| C# | mit | chrisblock/Bumblebee,kool79/Bumblebee,Bumblebee/Bumblebee,Bumblebee/Bumblebee,qchicoq/Bumblebee,qchicoq/Bumblebee,chrisblock/Bumblebee,toddmeinershagen/Bumblebee,toddmeinershagen/Bumblebee,kool79/Bumblebee |
37adb70bc6bec730101a8ba8e4506ce102bb07ee | src/Effects/BaseEffect.cs | src/Effects/BaseEffect.cs | namespace SoxSharp.Effects
{
public abstract class BaseEffect : IBaseEffect
{
public abstract string Name { get; }
public virtual bool IsValid() { return true; }
public abstract override string ToString();
}
}
| namespace SoxSharp.Effects
{
public abstract class BaseEffect : IBaseEffect
{
public abstract string Name { get; }
public abstract override string ToString();
}
}
| Revert "Added method to perform validity check for effect parameters" | Revert "Added method to perform validity check for effect parameters"
This reverts commit faf0ad746b78f754dca89a552c114a912c68b3d3.
| C# | apache-2.0 | igece/SoxSharp |
ccf5768cc7afec331425ab34b315383d21f52687 | src/Filters/TileFilter.cs | src/Filters/TileFilter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using PrepareLanding.Extensions;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace PrepareLanding.Filters
{
public abstract class TileFilter : ITileFilter
{
protected List<int> _filteredTiles = new List<i... | using System;
using System.Collections.Generic;
using System.Linq;
using PrepareLanding.Extensions;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace PrepareLanding.Filters
{
public abstract class TileFilter : ITileFilter
{
protected List<int> _filteredTiles = new List<i... | Add IsFilterActive; remove unneeded parameters for filter method (pass it on ctor) | Add IsFilterActive; remove unneeded parameters for filter method (pass it on ctor)
| C# | mit | neitsa/PrepareLanding,neitsa/PrepareLanding |
e52c9a9a0a81ed1285d1ee02eea17388b5b1f300 | Modbus/Properties/AssemblyInfo.cs | Modbus/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NModbus4")]
[assembly: AssemblyProduct("NModbus4")]
[assembly: AssemblyCompany("Maxwe11")]
[assembly: AssemblyCopyright("Licensed under MIT License.")]
[assembly: Assem... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NModbus4")]
[assembly: AssemblyProduct("NModbus4")]
[assembly: AssemblyCompany("Maxwe11")]
[assembly: AssemblyCopyright("Licensed under MIT License.")]
[assembly: Assem... | Update description, version and remove ComVisible | Update description, version and remove ComVisible
| C# | mit | richardlawley/NModbus4,NModbus/NModbus,xlgwr/NModbus4,Maxwe11/NModbus4,NModbus4/NModbus4,yvschmid/NModbus4 |
5bdd0277b7ed936d389f9024b499996d2117212b | Source/Projects/Core/Properties/AssemblyInfo.cs | Source/Projects/Core/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("Com... | 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("Com... | Increase version number to 1.2.0.0. | Increase version number to 1.2.0.0.
| C# | mit | TorbenRahbekKoch/SoftwarePassion.Common |
a3f29625587fd0cb52c8d4042dd1b48f82d62db2 | osu.Game/Overlays/Mods/DeselectAllModsButton.cs | osu.Game/Overlays/Mods/DeselectAllModsButton.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;
using osu.Framework.Bindables;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Game.G... | // 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;
using osu.Framework.Bindables;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Game.G... | Disable "deselect all mods" button if none are selected | Disable "deselect all mods" button if none are selected
| C# | mit | ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu |
507f5416eb7b8d4bab818c020a30d1b2ecceafa4 | WindowsStore/Service/PdfPageExtractorService.cs | WindowsStore/Service/PdfPageExtractorService.cs | using MyDocs.Common.Contract.Service;
using MyDocs.Common.Model.Logic;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.Data.Pdf;
using Windows.Storage;
namespace MyDocs.WindowsStore.Service
{
public class PdfPageExtractorService : IPa... | using MyDocs.Common.Contract.Service;
using MyDocs.Common.Model.Logic;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.Data.Pdf;
using Windows.Storage;
namespace MyDocs.WindowsStore.Service
{
public class PdfPageExtractorService : IPa... | Store extracted pages in subfolder | Store extracted pages in subfolder
| C# | mit | eggapauli/MyDocs,eggapauli/MyDocs |
b471be128ee1e420bdec690128859f862e747941 | src/Nest/Domain/Cluster/ClusterRerouteExplanation.cs | src/Nest/Domain/Cluster/ClusterRerouteExplanation.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nest
{
[JsonObject]
public class ClusterRerouteExplanation
{
[JsonProperty("command")]
public string Comand { get; set; }
[JsonProperty("parameters")]
public ClusterRerouteParameters Pa... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nest
{
[JsonObject]
public class ClusterRerouteExplanation
{
[JsonProperty("command")]
public string Command { get; set; }
[JsonProperty("parameters")]
public ClusterRerouteParameters P... | Fix typos in cluster reroute explanation | Fix typos in cluster reroute explanation
| C# | apache-2.0 | cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,robrich/elasticsearch-net,adam-mccoy/elasticsearch-net,jonyadamit/elasticsearch-net,geofeedia/elasticsearch-net,joehmchan/elasticsearch-net,mac2000/elasticsearch-net,joehmchan/elasticsearch-net,SeanKilleen/elasticsearch-net,starckgates/elasticsearch-net,wawrzyn/... |
296011d27d6af5a3727deaa2d752e79a46a4b15a | AgateLib/Drivers/AgateSandBoxLoader.cs | AgateLib/Drivers/AgateSandBoxLoader.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace AgateLib.Drivers
{
class AgateSandBoxLoader : MarshalByRefObject
{
public AgateDriverInfo[] ReportDrivers(string file)
{
List<AgateDriverInfo> retval = new List<AgateDri... | using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace AgateLib.Drivers
{
class AgateSandBoxLoader : MarshalByRefObject
{
public AgateDriverInfo[] ReportDrivers(string file)
{
List<AgateDriverInfo> retval = new List<AgateDri... | Correct the sand box to catch exception if a non-CLR dll is present. | Correct the sand box to catch exception if a non-CLR dll is present. | C# | mit | eylvisaker/AgateLib |
fbc8c55fe969142e0a2f0493785e5631d7fe6eee | src/Cassette/HtmlTemplateModuleContainerBuilder.cs | src/Cassette/HtmlTemplateModuleContainerBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.IsolatedStorage;
namespace Cassette
{
class HtmlTemplateModuleContainerBuilder : ModuleContainerBuilder
{
readonly string applicationRoot;
public HtmlTemplateModuleContainerBuilde... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.IsolatedStorage;
namespace Cassette
{
public class HtmlTemplateModuleContainerBuilder : ModuleContainerBuilder
{
readonly string applicationRoot;
public HtmlTemplateModuleContaine... | Make html template container builder public. | Make html template container builder public.
| C# | mit | damiensawyer/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette |
3173071c60b252843e94af8dfbe267fc44ee10f5 | open3mod/TextureDetailsDialog.cs | open3mod/TextureDetailsDialog.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Assimp;
namespace open3mod
{
public partial class TextureDetailsDialog : Form
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Assimp;
namespace open3mod
{
public partial class TextureDetailsDialog : Form
... | Fix null ref access when texture panel is open and you hover over a texture that failed to load. | Fix null ref access when texture panel is open and you hover over a texture that failed to load.
| C# | bsd-3-clause | dayo7116/open3mod,acgessler/open3mod,dayo7116/open3mod,zhukaixy/open3mod,acgessler/open3mod,zhukaixy/open3mod |
61505e2f661813f473b805e2e64494519155ed37 | PoshGit2/PoshGit2/Utils/PSCurrentWorkingDirectory.cs | PoshGit2/PoshGit2/Utils/PSCurrentWorkingDirectory.cs | using System.Management.Automation;
namespace PoshGit2
{
class PSCurrentWorkingDirectory : ICurrentWorkingDirectory
{
private SessionState _sessionState;
public PSCurrentWorkingDirectory(SessionState sessionState)
{
_sessionState = sessionState;
}
... | using System.Management.Automation;
namespace PoshGit2
{
class PSCurrentWorkingDirectory : ICurrentWorkingDirectory
{
private SessionState _sessionState;
public PSCurrentWorkingDirectory(SessionState sessionState)
{
_sessionState = sessionState;
}
... | Use CurrentLocation.ProviderPath to get actual file system path | Use CurrentLocation.ProviderPath to get actual file system path
| C# | mit | twsouthwick/poshgit2 |
cdfc7f5e86fb06431368e2d3206c262295a8b5b9 | src/SqlStreamStore.Tests/StreamEventTests.cs | src/SqlStreamStore.Tests/StreamEventTests.cs | namespace SqlStreamStore
{
using System;
using System.Threading.Tasks;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
public class messageTests
{
[Fact]
public async Task Can_deserialize()
{
var message = new StreamMessage(
"s... | namespace SqlStreamStore
{
using System;
using System.Threading.Tasks;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
public class StreamEventTests
{
[Fact]
public async Task Can_deserialize()
{
var message = new StreamMessage(
... | Fix test type name to match file. | Fix test type name to match file.
| C# | mit | damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore |
3aefd502394a1c30ff301562795abb64ddb453a3 | osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs | osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Judgements;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Scoring;
using osu.Game.Modes... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Judgements;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Scoring;
using osu.Game.Modes... | Fix osu! mode adding combos twice. | Fix osu! mode adding combos twice.
| C# | mit | ppy/osu,Frontear/osuKyzer,peppy/osu-new,naoey/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,Drezi126/osu,EVAST9919/osu,tacchinotacchi/osu,naoey/osu,DrabWeb/osu,ZLima12/osu,2yangk23/osu,nyaamara/osu,RedNesto/osu,johnneijzen/osu,naoey/osu,Nabile-Rahmani/osu,osu-RP/osu-RP,ppy/osu,smoogipoo/osu,smoogipoo/osu,Dra... |
c321ba5f787ff6743ab22fb8e75d6f0c37d06c42 | MicroServicesHelloWorld/CurrentDateTimeModule.cs | MicroServicesHelloWorld/CurrentDateTimeModule.cs | using System;
using Nancy;
namespace MicroServicesHelloWorld{
public class CurrentDateTimeModule: NancyModule
{
public CurrentDateTimeModule()
{
Get("/", _ => DateTime.UtcNow);
}
}
} | using System;
using Nancy;
namespace MicroServicesHelloWorld{
public class CurrentDateTimeModule: NancyModule
{
public CurrentDateTimeModule()
{
Get("/", _ => {
var response = (Response)("\""+DateTime.UtcNow.ToString()+"\"");
response.ContentType = "application/json"... | Test to have json overall anser | Test to have json overall anser
| C# | mit | xtremboy/studies |
ab38f9106f074d1d3a1e7438beb9013c18684130 | Compiler/Wax/CbxBundleView.cs | Compiler/Wax/CbxBundleView.cs | using System.Collections.Generic;
namespace Wax
{
public class CbxBundleView : JsonBasedObject
{
public string ByteCode { get { return this.GetString("byteCode"); } set { this.SetString("byteCode", value); } }
public ResourceDatabase ResourceDB { get { return this.GetObject("resources")... | using System.Collections.Generic;
namespace Wax
{
public class CbxBundleView : JsonBasedObject
{
public string ByteCode { get { return this.GetString("byteCode"); } set { this.SetString("byteCode", value); } }
public ResourceDatabase ResourceDB { get { return this.GetObject("resources")... | Fix typo in the CbxBundle refactoring causing the bytecode to not get copied to exported projects. | Fix typo in the CbxBundle refactoring causing the bytecode to not get copied to exported projects.
| C# | mit | blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon |
84bcca8920d0e472da6a385749f1e8def6aab523 | Portal.CMS.Web/Global.asax.cs | Portal.CMS.Web/Global.asax.cs | using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Portal.CMS.Web
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteConfig.RegisterRoutes(Rout... | using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Portal.CMS.Web
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteConfig.RegisterRoutes(Rout... | Add Custom Error Page and Routing | Add Custom Error Page and Routing
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
889b48ad2e575b24b64e8ad876a81ffc7267289f | AssemblyInfo.cs | AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("SmartFileAPI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("SmartFileAPI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembl... | Remove whitespace to test how well Subversion works via GitHub. | Remove whitespace to test how well Subversion works via GitHub.
| C# | bsd-3-clause | smartfile/client-csharp |
1bd9273a9568d36f13914a24945690afd3ef144d | src/Common/src/TypeSystem/Ecma/EcmaType.Interfaces.cs | src/Common/src/TypeSystem/Ecma/EcmaType.Interfaces.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Reflection.Metadata;
using System.Threading;
using Debug = Syste... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Reflection.Metadata;
using System.Threading;
using Debug = Syste... | Throw better exception for invalid interfaces | Throw better exception for invalid interfaces
| C# | mit | krytarowski/corert,sandreenko/corert,yizhang82/corert,krytarowski/corert,gregkalapos/corert,krytarowski/corert,botaberg/corert,tijoytom/corert,tijoytom/corert,shrah/corert,sandreenko/corert,shrah/corert,shrah/corert,botaberg/corert,yizhang82/corert,sandreenko/corert,botaberg/corert,gregkalapos/corert,tijoytom/corert,bo... |
37f0566507a3c082b707ff3a0aa8c451d406fa21 | TrueCraft.Launcher/Program.cs | TrueCraft.Launcher/Program.cs | using System;
using Xwt;
using System.Threading;
using System.Net;
using TrueCraft.Core;
namespace TrueCraft.Launcher
{
class Program
{
public static LauncherWindow Window { get; set; }
[STAThread]
public static void Main(string[] args)
{
if (RuntimeInfo.IsLinux)
... | using System;
using Xwt;
using System.Threading;
using System.Net;
using TrueCraft.Core;
namespace TrueCraft.Launcher
{
class Program
{
public static LauncherWindow Window { get; set; }
[STAThread]
public static void Main(string[] args)
{
if (RuntimeInfo.IsLinux)
... | Switch back to GTK2 for now | Switch back to GTK2 for now
Fixes #238
Ref https://github.com/mono/xwt/issues/591
| C# | mit | illblew/TrueCraft,SirCmpwn/TrueCraft,flibitijibibo/TrueCraft,SirCmpwn/TrueCraft,SirCmpwn/TrueCraft,flibitijibibo/TrueCraft,flibitijibibo/TrueCraft,illblew/TrueCraft,illblew/TrueCraft |
39cc6a8a83edd43f79079da1eaa81a82ea637303 | SlimeSimulation/View/WindowComponent/NodeHighlightKey.cs | SlimeSimulation/View/WindowComponent/NodeHighlightKey.cs | using Gtk;
using SlimeSimulation.Controller.WindowComponentController;
namespace SlimeSimulation.View.WindowComponent
{
public class NodeHighlightKey
{
public Widget GetVisualKey()
{
VBox key = new VBox(true, 10);
HBox sourcePart = new HBox(true, 10);
source... | using Gtk;
using SlimeSimulation.Controller.WindowComponentController;
namespace SlimeSimulation.View.WindowComponent
{
public class NodeHighlightKey
{
public Widget GetVisualKey()
{
VBox key = new VBox(true, 10);
key.Add(new Label("Node colour key"));
var ... | Add label to the node colour key explaining what it is | Add label to the node colour key explaining what it is
| C# | apache-2.0 | willb611/SlimeSimulation |
59e39b7890d698b7b5d67c975dbc0e552d3b4b08 | src/conekta/conekta/Models/Details.cs | src/conekta/conekta/Models/Details.cs | using System;
using System.Collections.Generic;
namespace conekta
{
public class Details
{
public string name { get; set; }
public string phone { get; set; }
public string email { get; set; }
public Customer customer { get; set; }
public List<LineItem> line_items { get; set; }
public BillingAddress bill... | using System;
using System.Collections.Generic;
namespace conekta
{
public class Details
{
public string name { get; set; }
public string phone { get; set; }
public string email { get; set; }
public Customer customer { get; set; }
public List<LineItem> line_items { get; set; }
public BillingAddress bill... | Add shipment for physical goods | Add shipment for physical goods | C# | mit | conekta/conekta-.net |
0980f97ea2c8da99030f6f9d7b16425c35865ba5 | osu.Game.Tests/NonVisual/Ranking/UnstableRateTest.cs | osu.Game.Tests/NonVisual/Ranking/UnstableRateTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Utils;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screen... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Utils;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screen... | Replace precision check with absolute equality assert | Replace precision check with absolute equality assert
| C# | mit | peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu |
08fb68ddfeddb891b2ddc9972544a0bf6f2bff68 | osu.Game/Online/API/Requests/GetSpotlightsRequest.cs | osu.Game/Online/API/Requests/GetSpotlightsRequest.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 osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetSpotlightsRequest : APIRequ... | // 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 Newtonsoft.Json;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetSpot... | Fix incorrect return type for spotlight request | Fix incorrect return type for spotlight request
| C# | mit | ppy/osu,EVAST9919/osu,peppy/osu-new,UselessToucan/osu,2yangk23/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,smoogipooo/osu |
5743c9c9fe25d7945210b79f653e59a4c6584948 | BmpListener/Bmp/BmpHeader.cs | BmpListener/Bmp/BmpHeader.cs | using System;
using System.Linq;
using BmpListener;
using BmpListener.Extensions;
namespace BmpListener.Bmp
{
public class BmpHeader
{
public BmpHeader(byte[] data)
{
Version = data.First();
//if (Version != 3)
//{
// throw new Exception("inva... | using System;
using System.Linq;
using BmpListener;
using BmpListener.Extensions;
namespace BmpListener.Bmp
{
public class BmpHeader
{
private readonly int bmpVersion = 3;
public BmpHeader(byte[] data)
{
Version = data.First();
if (Version != bmpVersion)
... | Throw exception if BMP version != 3 | Throw exception if BMP version != 3
| C# | mit | mstrother/BmpListener |
fd04dc8d4b99b4a92ac3fabea75f1003b5242e27 | PactNet/Mocks/MockHttpService/Host/RubyHttpHost.cs | PactNet/Mocks/MockHttpService/Host/RubyHttpHost.cs | using System;
using System.Net.Http;
using System.Threading;
using PactNet.Core;
namespace PactNet.Mocks.MockHttpService.Host
{
internal class RubyHttpHost : IHttpHost
{
private readonly IPactCoreHost _coreHost;
private readonly HttpClient _httpClient;
internal RubyHttpHost... | using System;
using System.Net.Http;
using System.Threading;
using PactNet.Core;
namespace PactNet.Mocks.MockHttpService.Host
{
internal class RubyHttpHost : IHttpHost
{
private readonly IPactCoreHost _coreHost;
private readonly HttpClient _httpClient;
internal RubyHttpHost... | Fix issues on first run, which takes a little longer to start up | Fix issues on first run, which takes a little longer to start up
| C# | mit | SEEK-Jobs/pact-net,SEEK-Jobs/pact-net,SEEK-Jobs/pact-net |
1cb5853e1f66454df5420497fa2d950a844d4907 | src/vcs-lib/VersionControl/RepositoryBranch.cs | src/vcs-lib/VersionControl/RepositoryBranch.cs | using System;
using System.Collections.Generic;
using System.Threading;
namespace CollabEdit.VersionControl
{
public class RepositoryBranch<TValue, TMeta>
{
private object syncRoot = new Object();
public RepositoryBranch() { }
public RepositoryBranch(string name, Repository<TValue, T... | using System;
using System.Collections.Generic;
using System.Threading;
namespace CollabEdit.VersionControl
{
public class RepositoryBranch<TValue, TMeta>
{
private object syncRoot = new Object();
public RepositoryBranch() { }
public RepositoryBranch(string name, Repository<TValue, T... | Add argument checking on commit | Add argument checking on commit
| C# | mit | vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit |
c885a0ce9049f5f8af309c2a2e0c5963ca22ea52 | src/Cash-Flow-Projection/Views/Home/Index.cshtml | src/Cash-Flow-Projection/Views/Home/Index.cshtml | @model Cash_Flow_Projection.Models.Dashboard
@{
ViewData["Title"] = "Home Page";
}
<table class="table table-striped">
@foreach (var entry in Model.Entries.OrderBy(_ => _.Date))
{
<tr>
<td>@Html.DisplayFor(_ => entry.Date)</td>
<td>@Html.DisplayFor(_ => entry.Description)<... | @model Cash_Flow_Projection.Models.Dashboard
@{
ViewData["Title"] = "Home Page";
}
@using (Html.BeginForm("Balance", "Home", FormMethod.Post))
{
@Html.AntiForgeryToken()
<input type="text" id="balance" placeholder="Set Balance" />
<button type="submit">Set</button>
}
<table class="table table-stripe... | Add form for setting balance in one step | Add form for setting balance in one step
Fixes #7
| C# | mit | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection |
eb68c560b5468720d27f36fb5debba188bbd8403 | app/Assets/Mapify/Scripts/MapifyLevelPopulator.cs | app/Assets/Mapify/Scripts/MapifyLevelPopulator.cs | using UnityEngine;
using System;
using System.Collections;
public class MapifyLevelPopulator {
private MapifyMapIterator mapIterator;
private MapifyTileRepository tileRepository;
private Transform container;
public MapifyLevelPopulator(MapifyMapIterator mapIterator, MapifyTileRepository tileRepository, Trans... | using UnityEngine;
using System;
using System.Collections;
public class MapifyLevelPopulator {
private MapifyMapIterator mapIterator;
private MapifyTileRepository tileRepository;
private Transform container;
public MapifyLevelPopulator(MapifyMapIterator mapIterator, MapifyTileRepository tileRepository, Trans... | Move variable to inner scope where it's used | Move variable to inner scope where it's used
| C# | mit | substantial/mapify-example |
3b7c3376124e45891c2b1ae77bc161c629110035 | tests/Our.Umbraco.Ditto.Tests/Models/ComplexModel.cs | tests/Our.Umbraco.Ditto.Tests/Models/ComplexModel.cs | using System.Globalization;
namespace Our.Umbraco.Ditto.Tests.Models
{
using System.ComponentModel;
using Our.Umbraco.Ditto.Tests.TypeConverters;
using global::Umbraco.Core.Models;
public class ComplexModel
{
public int Id { get; set; }
[DittoValueResolver(typeof(NameVauleResovl... | using System.Globalization;
namespace Our.Umbraco.Ditto.Tests.Models
{
using System.ComponentModel;
using Our.Umbraco.Ditto.Tests.TypeConverters;
using global::Umbraco.Core.Models;
public class ComplexModel
{
public int Id { get; set; }
[DittoValueResolver(typeof(NameValueResovl... | Correct typo (just caught my eye, no biggie). | Correct typo (just caught my eye, no biggie).
[skip ci]
| C# | mit | rasmusjp/umbraco-ditto,leekelleher/umbraco-ditto,AzarinSergey/umbraco-ditto,robertjf/umbraco-ditto |
a9d190cd1f9c60ff06e9bbc4f88632cdd5027bec | src/Ensconce/TextRendering.cs | src/Ensconce/TextRendering.cs | using System;
using System.Collections.Generic;
using System.IO;
using FifteenBelow.Deployment.Update;
namespace Ensconce
{
internal static class TextRendering
{
private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(BuildTagDictionary);
public static IDictionary<string,... | using System;
using System.Collections.Generic;
using System.IO;
using FifteenBelow.Deployment.Update;
namespace Ensconce
{
internal static class TextRendering
{
private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(() => Retry.Do(BuildTagDictionary, TimeSpan.FromSeconds(5)));
... | Add retry when invoking the lazy to build TagDictionary | Add retry when invoking the lazy to build TagDictionary
| C# | mit | 15below/Ensconce,BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce |
7562db4ebd4cc03c15506d617a0df7a1979c00a5 | src/FplClient/Data/FplPick.cs | src/FplClient/Data/FplPick.cs | using Newtonsoft.Json;
namespace FplClient.Data
{
public class FplPick
{
[JsonProperty("element")]
public int PlayerId { get; set; }
[JsonProperty("element_type")]
public int ElementType { get; set; }
[JsonProperty("position")]
public FplPlayerPosition Positio... | using Newtonsoft.Json;
namespace FplClient.Data
{
public class FplPick
{
[JsonProperty("element")]
public int PlayerId { get; set; }
[JsonProperty("element_type")]
public int ElementType { get; set; }
[JsonProperty("position")]
public int TeamPosition { get; s... | Change Pick 'position' property to int as it represents position in team | Change Pick 'position' property to int as it represents position in team
| C# | mit | RagtimeWilly/FplClient |
3e48ca8d241b0c87bd38a192e8bb37fd3fc0a383 | src/OpenSage.Game.Tests/InstalledFilesTestData.cs | src/OpenSage.Game.Tests/InstalledFilesTestData.cs | using System;
using System.IO;
using System.Linq;
using Xunit.Abstractions;
namespace OpenSage.Data.Tests
{
internal static class InstalledFilesTestData
{
private static readonly IInstallationLocator Locator;
static InstalledFilesTestData()
{
Locator = new RegistryInstalla... | using System;
using System.IO;
using System.Linq;
using Xunit.Abstractions;
namespace OpenSage.Data.Tests
{
internal static class InstalledFilesTestData
{
private static readonly IInstallationLocator Locator;
static InstalledFilesTestData()
{
Locator = new RegistryInstalla... | Add line breaks to ease filtering by individual game | Add line breaks to ease filtering by individual game
| C# | mit | feliwir/openSage,feliwir/openSage |
29612a03fa71918b1363a3fcb1d61cf22cdc1f4d | src/VisualStudio/PackageSource/AggregatePackageSource.cs | src/VisualStudio/PackageSource/AggregatePackageSource.cs | using System.Collections.Generic;
using System.Linq;
namespace NuGet.VisualStudio {
public static class AggregatePackageSource {
public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName);
public static bool IsAggregat... | using System.Collections.Generic;
using System.Linq;
namespace NuGet.VisualStudio {
public static class AggregatePackageSource {
public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName);
public static bool IsAggregat... | Replace Enumerable.Repeat call with an one-element array. | Replace Enumerable.Repeat call with an one-element array.
| C# | apache-2.0 | alluran/node.net,RichiCoder1/nuget-chocolatey,mrward/NuGet.V2,mrward/nuget,xoofx/NuGet,OneGet/nuget,themotleyfool/NuGet,alluran/node.net,atheken/nuget,jholovacs/NuGet,jholovacs/NuGet,jholovacs/NuGet,OneGet/nuget,jmezach/NuGet2,mono/nuget,mrward/NuGet.V2,anurse/NuGet,akrisiun/NuGet,xoofx/NuGet,xoofx/NuGet,jmezach/NuGet2... |
a12a2e426d756f50c1ba0e87691db0b53c8be2db | MalApi.IntegrationTests/GetAnimeListForUserTest.cs | MalApi.IntegrationTests/GetAnimeListForUserTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using MalApi;
namespace MalApi.IntegrationTests
{
[TestFixture]
public class GetAnimeListForUserTest
{
[Test]
public void GetAnimeListForUser()
{
string username... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using MalApi;
using System.Threading.Tasks;
namespace MalApi.IntegrationTests
{
[TestFixture]
public class GetAnimeListForUserTest
{
[Test]
public void GetAnimeListForUser()
... | Add integration tests for MalUserNotFoundException being thrown. | Add integration tests for MalUserNotFoundException being thrown.
| C# | apache-2.0 | LHCGreg/mal-api,LHCGreg/mal-api |
5b549758020cbf4de2402ba3a3deb5bc0519e324 | src/ProjectEuler/Puzzles/Puzzle012.cs | src/ProjectEuler/Puzzles/Puzzle012.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | Improve the efficiency of puzzle 12 | Improve the efficiency of puzzle 12
Improve the efficiency of puzzle 12 by not re-computing the triangle
number sum continuously.
| C# | apache-2.0 | martincostello/project-euler |
e456da414533dd4a3bbafddf737f3f44188569b1 | SPAD.Interfaces/ServiceContract/IRemoteService.cs | SPAD.Interfaces/ServiceContract/IRemoteService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace SPAD.neXt.Interfaces.ServiceContract
{
public sealed class RemoteServiceResponse
{
public bool HasError { get; set; }
public string Error { ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace SPAD.neXt.Interfaces.ServiceContract
{
public static class RemoteServiceContract
{
public static readonly Uri ServiceUrl = new Uri("net.pipe://local... | Make RemoteService a Duplex Service | Make RemoteService a Duplex Service
| C# | mit | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt |
db3f146b54ccce81d1e95cc0e15a02d42eda70b5 | test/Host.UnitTests/Serialization/MethodsTests.cs | test/Host.UnitTests/Serialization/MethodsTests.cs | namespace Host.UnitTests.Serialization
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Crest.Host.Serialization;
using FluentAssertions;
using Xunit;
public class MethodsTests
{
private readon... | namespace Host.UnitTests.Serialization
{
using System.Collections;
using System.Linq;
using Crest.Host.Serialization;
using FluentAssertions;
using Xunit;
public class MethodsTests
{
private readonly Methods methods = new Methods(typeof(FakeSerializerBase));
public sealed ... | Update StreamWriter tests + Explicitly iterate IEnumerable method | Update StreamWriter tests
+ Explicitly iterate IEnumerable method
| C# | mit | samcragg/Crest,samcragg/Crest,samcragg/Crest |
f12ad802793d3f1d5471596d23cc9a3829f97485 | DesignPattern/Models/AccessExcelData.cs | DesignPattern/Models/AccessExcelData.cs | using Dapper;
using SeleniumDesignPatternsDemo.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.Models
{
public class AccessExcelData
{
public static ... | using Dapper;
using SeleniumDesignPatternsDemo.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.Models
{
public class AccessExcelData
{
public static ... | Add "HDR=YES" in connection string, but other error is thrown | Add "HDR=YES" in connection string, but other error is thrown
| C# | mit | Iliev88/QA-Automation |
f265afc2f6ca5140dbc7e9b4c79777fbe3156189 | Pathfinder/Internal/Patcher/Executor.cs | Pathfinder/Internal/Patcher/Executor.cs | using System;
using Mono.Cecil;
using Mono.Cecil.Inject;
using Pathfinder.Attribute;
using Pathfinder.Util;
namespace Pathfinder.Internal.Patcher
{
internal static class Executor
{
internal static void Main(AssemblyDefinition gameAssembly)
{
// Retrieve the hook methods
... | using System;
using Mono.Cecil;
using Mono.Cecil.Inject;
using Pathfinder.Attribute;
using Pathfinder.Util;
namespace Pathfinder.Internal.Patcher
{
internal static class Executor
{
internal static void Main(AssemblyDefinition gameAssembly)
{
// Retrieve the hook methods
... | Add more information to failed Hooks | Add more information to failed Hooks
Now reports the target method not being patched
properly.
| C# | mit | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder |
416719422eddbc4367e58e97e48cb2140693ded5 | Source/Eto.Serialization.Json/TypeConverterConverter.cs | Source/Eto.Serialization.Json/TypeConverterConverter.cs | using System;
using Newtonsoft.Json;
using System.Reflection;
using System.Collections.Generic;
using System.ComponentModel;
namespace Eto.Serialization.Json
{
public class TypeConverterConverter : JsonConverter
{
readonly Dictionary<Type, TypeConverter> converters = new Dictionary<Type, TypeConverter>();
publ... | using System;
using Newtonsoft.Json;
using System.Reflection;
using System.Collections.Generic;
using System.ComponentModel;
namespace Eto.Serialization.Json
{
public class TypeConverterConverter : JsonConverter
{
readonly Dictionary<Type, TypeConverter> converters = new Dictionary<Type, TypeConverter>();
publ... | Fix json serialization when the destination type is equal to the value type (fixes net40 for boolean conversions) | Fix json serialization when the destination type is equal to the value type (fixes net40 for boolean conversions)
| C# | bsd-3-clause | PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1 |
a5abacd1e7e8fd33927c522f7335884ef25bee36 | modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs | modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs | using Godot;
using GodotTools.Internals;
using static GodotTools.Internals.Globals;
namespace GodotTools
{
public class HotReloadAssemblyWatcher : Node
{
private Timer watchTimer;
public override void _Notification(int what)
{
if (what == Node.NotificationWmFocusIn)
... | using Godot;
using GodotTools.Internals;
using static GodotTools.Internals.Globals;
namespace GodotTools
{
public class HotReloadAssemblyWatcher : Node
{
private Timer watchTimer;
public override void _Notification(int what)
{
if (what == Node.NotificationWmWindowFocusIn)
... | Change assembly watcher after notification changes | Change assembly watcher after notification changes
Fixed Mono not building after #39986 was merged due to a constant that got renamed. | C# | mit | godotengine/godot,Valentactive/godot,sanikoyes/godot,Shockblast/godot,Valentactive/godot,Faless/godot,DmitriySalnikov/godot,pkowal1982/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,akien-mga/godot,pkowal1982/godot,Faless/godot,Zylann/godot,MarianoGnu/godot,Shockblast/godot,Shockblast/godot,Bast... |
38bb4bf6bf176cc84bfb36fadc50b15ecb34d7f9 | NBi.Testing/Unit/Core/Query/CommandBuilderTest.cs | NBi.Testing/Unit/Core/Query/CommandBuilderTest.cs | using NBi.Core.Query;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.Query
{
[TestFixture]
public class CommandBuilderTest
{
[Test]
public void Build_TimeoutSpecified... | using NBi.Core.Query;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.Query
{
[TestFixture]
public class CommandBuilderTest
{
[Test]
public void Build_TimeoutSpecified... | Change test to map with allign with initial design and documentation | Change test to map with allign with initial design and documentation
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
6c3ba87cab3ffa9aedfffe6fedbbd8dc790443d2 | samples/Sandbox/App.axaml.cs | samples/Sandbox/App.axaml.cs | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
namespace Sandbox
{
public class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
}
public override void OnFrameworkInitializationComplete... | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
namespace Sandbox
{
public class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
}
public override void OnFrameworkInitializationComplete... | Revert "sandbox demo of shutdown cancel." | Revert "sandbox demo of shutdown cancel."
This reverts commit 851baa6537859ea6df8d774911003c97aa1e1bf8.
| C# | mit | jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avaloni... |
d397eb74b3a12483e137e86448fb85ab6031210e | Examples/CSharp/Text/UseCustomFonts.cs | Examples/CSharp/Text/UseCustomFonts.cs | using System;
using Aspose.Slides.Export;
using Aspose.Slides.Charts;
using Aspose.Slides;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference
when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information.
If you do ... | using System;
using Aspose.Slides.Export;
using Aspose.Slides.Charts;
using Aspose.Slides;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference
when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information.
If you do ... | Fix external fonts loading example (use folders to seek fonts) | SLIDESNET-42483: Fix external fonts loading example (use folders to seek fonts)
| C# | mit | asposeslides/Aspose_Slides_NET,aspose-slides/Aspose.Slides-for-.NET |
189f037fbd1de3578df664dfafc886c0ca60d646 | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/CreateChangeOfPartyRequestRequest.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/CreateChangeOfPartyRequestRequest.cs | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class CreateChangeOfPartyRequestRequest : SaveDataRequest
{
public ChangeOfPartyRequestType ChangeOfPartyRequestType { get; set; }
public long NewPartyId { get; set; }
public int... | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class CreateChangeOfPartyRequestRequest : SaveDataRequest
{
public ChangeOfPartyRequestType ChangeOfPartyRequestType { get; set; }
public long NewPartyId { get; set; }
public int... | Add new employment fields for change employer (Portable) | Add new employment fields for change employer (Portable)
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
48244d80de4d2db610745bcf024e8ad342953e15 | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | Change the UpdateManager's version to 2.0.1 | Change the UpdateManager's version to 2.0.1
| C# | mit | Fluzzarn/LiveSplit,ROMaster2/LiveSplit,Dalet/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,Dalet/LiveSplit,LiveSplit/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,Fluzzarn/LiveSplit,Glurmo/LiveSplit,ROMaster2/LiveSplit,Fluzzarn/LiveSplit,Dalet/LiveSplit |
5a0ae0f4ad899aafa281a1e0e0d26824b9ad2b7b | src/Arkivverket.Arkade/Tests/Noark5/NumberOfArchives.cs | src/Arkivverket.Arkade/Tests/Noark5/NumberOfArchives.cs | using System;
using System.Xml;
using Arkivverket.Arkade.Core;
namespace Arkivverket.Arkade.Tests.Noark5
{
public class NumberOfArchives : BaseTest
{
public const string AnalysisKeyArchives = "Archives";
public NumberOfArchives(IArchiveContentReader archiveReader) : base(TestType.Content, arch... | using System;
using System.Xml;
using Arkivverket.Arkade.Core;
namespace Arkivverket.Arkade.Tests.Noark5
{
public class NumberOfArchives : BaseTest
{
public const string AnalysisKeyArchives = "Archives";
public NumberOfArchives(IArchiveContentReader archiveReader) : base(TestType.Content, arch... | Fix typo in test message. | Fix typo in test message.
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
b487e00d8da5e2bb7d07697e039dd6c15f89968d | LanguageSchoolApp/LanguageSchoolApp.Data/MsSqlDbContext.cs | LanguageSchoolApp/LanguageSchoolApp.Data/MsSqlDbContext.cs | using LanguageSchoolApp.Data.Model;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LanguageSchoolApp.Data
{
public class MsSqlDbContext : IdentityDbC... | using LanguageSchoolApp.Data.Model;
using LanguageSchoolApp.Data.Model.Contracts;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LanguageSchoolApp.Data
{... | Update CreatedOn or MmodifiedOn properties of tracked entities when saving changes. | Update CreatedOn or MmodifiedOn properties of tracked entities when saving changes.
| C# | mit | vasilvalkov/LanguageSchool,vasilvalkov/LanguageSchool,vasilvalkov/LanguageSchool |
eb1a149d4027aa4f37a7c0f0dd5feccc6e1ff4dd | src/AppShell.Mobile.iOS/Properties/AssemblyInfo.cs | src/AppShell.Mobile.iOS/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("Ap... | 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("Ap... | Revert "Removed Guid from iOS project" | Revert "Removed Guid from iOS project"
This reverts commit 30b8de6d6e18973a53d7284010d4b65ba3a1adb4.
| C# | mit | cschwarz/AppShell,cschwarz/AppShell |
02307143cae118cab71eec07899327caa8161e85 | Engine/BaseEngine.cs | Engine/BaseEngine.cs | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace Engine {
public class BaseEngine : BaseEngineObject {
public BaseEngine() {
}
public virtual void Tick(float deltaTime) {
}
}
} | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace Engine {
public class BaseEngine : BaseEngineObject {
public BaseEngine() {
}
public virtual void Tick(float deltaTime) {
}
}
} | Remove + cleanup warnings. Refactor pass. | Remove + cleanup warnings. Refactor pass.
| C# | mit | drawcode/game-lib-engine |
41b0d13d4ad2dbe5db0140f4753d40bea995f453 | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | Remove unnecessary call to Trim | Remove unnecessary call to Trim
| C# | apache-2.0 | magicmonty/pickles,dirkrombauts/pickles,blorgbeard/pickles,magicmonty/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,magicmonty/pickles,blorgbeard/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,magicmonty/pickles,picklesdoc/pickles,di... |
9b593eeaf51136920863e2340d99000ad223b93f | src/MonoTorrent/MonoTorrent.Common/IFileSource.cs | src/MonoTorrent/MonoTorrent.Common/IFileSource.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace MonoTorrent.Common
{
public interface ITorrentFileSource
{
IEnumerable<FileMapping> Files { get; }
bool IgnoreHidden { get; }
string TorrentName { get; }
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace MonoTorrent.Common
{
public interface ITorrentFileSource
{
IEnumerable<FileMapping> Files { get; }
string TorrentName { get; }
}
}
| Remove the 'IgnoreHidden' parameter from ITorrentFileSource | Remove the 'IgnoreHidden' parameter from ITorrentFileSource
This property makes on sense to be on the interface as it's
implementation specific as to whether or not it applies. All the
interfaces should care about is providing a name for the torrent and a
list of files which should be added to it.
| C# | mit | dipeshc/BTDeploy |
f9effecf77d942c38a5fd2eb3cdd8f4e1e13ca2e | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
58fc0a2622b52277fc333cecef99ac4fe2b0b19c | osu.Desktop.VisualTests/Tests/TestCaseTabControl.cs | osu.Desktop.VisualTests/Tests/TestCaseTabControl.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.Diagnostics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Scr... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Screens.Testing;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterfac... | Make TabControl test label more clear | Make TabControl test label more clear
| C# | mit | DrabWeb/osu,ppy/osu,ZLima12/osu,peppy/osu-new,nyaamara/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,ppy/osu,naoey/osu,ppy/osu,ZLima12/osu,Damnae/osu,smoogipoo/osu,Drezi126/osu,peppy/osu,NeoAdonis/osu,osu-RP/osu-RP,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,Nabile-Rahmani/osu,NeoAdonis/osu,naoey/osu,2yangk23/o... |
5c02c4b027231eb863799a15fc76a3a927d61aa6 | src/GlobalExceptionHandler.Tests/WebApi/LoggerTests/LogExceptionTests.cs | src/GlobalExceptionHandler.Tests/WebApi/LoggerTests/LogExceptionTests.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using GlobalExceptionHandler.Tests.WebApi.Fixtures;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.TestHost;
using Shouldly;
using Xunit;
namespace GlobalExceptionHand... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using GlobalExceptionHandler.Tests.WebApi.Fixtures;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.TestHost;
using Shouldly;
using Xunit;
namespace GlobalExceptionHand... | Add artificial wait to fix tests | Add artificial wait to fix tests
| C# | mit | JosephWoodward/GlobalExceptionHandlerDotNet,JosephWoodward/GlobalExceptionHandlerDotNet |
cbb5cb59d5f19611a76549472e3975d3ec83bb5f | CefSharp.Example/CefExample.cs | CefSharp.Example/CefExample.cs | using System;
using System.Linq;
namespace CefSharp.Example
{
public static class CefExample
{
public const string DefaultUrl = "custom://cefsharp/home";
// Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work.
private const bool debuggingSubProc... | using System;
using System.Linq;
namespace CefSharp.Example
{
public static class CefExample
{
public const string DefaultUrl = "custom://cefsharp/home";
// Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work.
private const bool debuggingSubProc... | Increase logging to Verbose for examples | Increase logging to Verbose for examples
| C# | bsd-3-clause | Livit/CefSharp,Livit/CefSharp,windygu/CefSharp,twxstar/CefSharp,windygu/CefSharp,windygu/CefSharp,zhangjingpu/CefSharp,rlmcneary2/CefSharp,zhangjingpu/CefSharp,ruisebastiao/CefSharp,illfang/CefSharp,twxstar/CefSharp,jamespearce2006/CefSharp,Haraguroicha/CefSharp,ITGlobal/CefSharp,rover886/CefSharp,wangzheng888520/CefSh... |
f9369553687a3417aec1e4231b8a21b33dc62017 | WebApplication/Views/Account/ForgotPassword.cshtml | WebApplication/Views/Account/ForgotPassword.cshtml | @model ForgotPasswordViewModel
@{
ViewData["Title"] = "Forgot your password?";
}
<h2>@ViewData["Title"].</h2>
<p>
For more information on how to enable reset password please see this <a href="http://go.microsoft.com/fwlink/?LinkID=532713">article</a>.
</p>
@*<form asp-controller="Account" asp-action... | @model ForgotPasswordViewModel
@{
ViewData["Title"] = "Forgot your password?";
}
<h2>@ViewData["Title"].</h2>
<p>
For more information on how to enable reset password please see this <a href="http://go.microsoft.com/fwlink/?LinkID=532713">article</a>.
</p>
@*
<form asp-controller="Account" asp-action... | Rewrite markup for password reminder form | Rewrite markup for password reminder form
| C# | mit | peterblazejewicz/aspnet-5-bootstrap-4,peterblazejewicz/aspnet-5-bootstrap-4 |
58810a299eb20b23ee4f66013d94accd62d84d21 | EngineLayer/Proteomics/ProductTypeToTerminusType.cs | EngineLayer/Proteomics/ProductTypeToTerminusType.cs | using System.Collections.Generic;
namespace EngineLayer
{
static class ProductTypeToTerminusType
{
public static TerminusType IdentifyTerminusType(List<ProductType> lp)
{
if ((lp.Contains(ProductType.B) || lp.Contains(ProductType.BnoB1ions) || lp.Contains(ProductType.C)) && (lp.Con... | using System.Collections.Generic;
namespace EngineLayer
{
static class ProductTypeToTerminusType
{
public static TerminusType IdentifyTerminusType(List<ProductType> lp)
{
if ((lp.Contains(ProductType.B) || lp.Contains(ProductType.BnoB1ions) || lp.Contains(ProductType.C) || lp.Conta... | Add a and x ions | Add a and x ions
| C# | mit | XRSHEERAN/MetaMorpheus,lonelu/MetaMorpheus,hoffmann4/MetaMorpheus,rmillikin/MetaMorpheus,smith-chem-wisc/MetaMorpheus,zrolfs/MetaMorpheus,lschaffer2/MetaMorpheus |
48934ea11a3e83f24335b48fc2e7a4c0b0be5b4b | VasysRomanNumeralsKataTest/FromRomanNumeralsTest.cs | VasysRomanNumeralsKataTest/FromRomanNumeralsTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using VasysRomanNumeralsKata;
namespace VasysRomanNumeralsKataTest
{
[TestClass]
public class FromRomanNumeralsTest
{
[TestMethod]
public void WhenStringExtensionIsPassedX... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using VasysRomanNumeralsKata;
namespace VasysRomanNumeralsKataTest
{
[TestClass]
public class FromRomanNumeralsTest
{
[TestMethod]
public void WhenStringExtensionIsPassedX... | Add another test for unrecognized characters. | Add another test for unrecognized characters.
| C# | mit | pvasys/PillarRomanNumeralKata |
04685194078c98b2181aa37be0b86cacb12c430a | AspNetCore.RouteAnalyzer/RouteInformation.cs | AspNetCore.RouteAnalyzer/RouteInformation.cs | namespace AspNetCore.RouteAnalyzer
{
public class RouteInformation
{
public string HttpMethod { get; set; } = "GET";
public string Area { get; set; } = "";
public string Path { get; set; } = "";
public string Invocation { get; set; } = "";
public override string ToString... | namespace AspNetCore.RouteAnalyzer
{
public class RouteInformation
{
public string HttpMethod { get; set; } = "GET";
public string Area { get; set; } = "";
public string Path { get; set; } = "";
public string Invocation { get; set; } = "";
public override string ToString... | Add comma between HttpMethod and Path | Add comma between HttpMethod and Path
| C# | mit | kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer |
f0a8839c6b96d0846d975b0e4e649d95a58bc587 | src/SqlPersistence/Config/SqlDialect_MsSqlServer.cs | src/SqlPersistence/Config/SqlDialect_MsSqlServer.cs | namespace NServiceBus
{
using System;
using System.Data.Common;
using System.Data.SqlClient;
public abstract partial class SqlDialect
{
/// <summary>
/// Microsoft SQL Server
/// </summary>
public partial class MsSqlServer : SqlDialect
{
/// <summ... | namespace NServiceBus
{
using System;
using System.Data.Common;
public abstract partial class SqlDialect
{
/// <summary>
/// Microsoft SQL Server
/// </summary>
public partial class MsSqlServer : SqlDialect
{
/// <summary>
/// Microsoft SQ... | Remove unneeded setting of SqlParameter.Offset | Remove unneeded setting of SqlParameter.Offset
| C# | mit | NServiceBusSqlPersistence/NServiceBus.SqlPersistence |
6695f206d55cd97a5ee661c764c750b0965be3ec | EvilDICOM.Core/EvilDICOM.Core/Helpers/EnumHelper.cs | EvilDICOM.Core/EvilDICOM.Core/Helpers/EnumHelper.cs | using System;
namespace EvilDICOM.Core.Helpers
{
public class EnumHelper
{
public static T StringToEnum<T>(string name)
{
return (T) Enum.Parse(typeof (T), name);
}
}
} | using System;
namespace EvilDICOM.Core.Helpers
{
public class EnumHelper
{
public static T StringToEnum<T>(string name)
{
return (T) Enum.Parse(typeof (T), name, false);
}
}
} | Use Enum.Parse overload available in PCL | Use Enum.Parse overload available in PCL
| C# | mit | cureos/Evil-DICOM,SuneBuur/Evil-DICOM |
d3cb1f56683776cadf9fa872ed12757e74bb935d | WhitelistExecuter.Web/Controllers/HomeController.cs | WhitelistExecuter.Web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WhitelistExecuter.Lib;
using WhitelistExecuter.Web.Models;
namespace WhitelistExecuter.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WhitelistExecuter.Lib;
using WhitelistExecuter.Web.Filters;
using WhitelistExecuter.Web.Models;
namespace WhitelistExecuter.Web.Controllers
{
public class HomeController : Controller
{
... | Add [Authorize] to ExecuteCommand action | Add [Authorize] to ExecuteCommand action
| C# | mit | bdb-opensource/whitelist-executer,bdb-opensource/whitelist-executer,bdb-opensource/whitelist-executer |
50e6a2910676684649a475902b35b74464545869 | Foreign/SonyLE/LevelEditorXLE/Services/Extensions.cs | Foreign/SonyLE/LevelEditorXLE/Services/Extensions.cs | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
using System;
using Sce.Atf.Adaptation;
namespace LevelEditorXLE.Extensions
{
internal static class ExtensionsClass
{
intern... | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
using System;
using Sce.Atf.Adaptation;
namespace LevelEditorXLE.Extensions
{
internal static class ExtensionsClass
{
intern... | Fix for a crash that can occur while exporting from the level editor - falling back to the global scene manager if we can't find a scene manager attached to the dom node tree | Fix for a crash that can occur while exporting from the level editor
- falling back to the global scene manager if we can't find a scene manager attached to the dom node tree
| C# | mit | xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE |
4fdf578fee97c8e79e5e96b23f7e52444aa9d642 | CertiPay.PDF.Tests/PDFServiceTests.cs | CertiPay.PDF.Tests/PDFServiceTests.cs | using NUnit.Framework;
using System.IO;
namespace CertiPay.PDF.Tests
{
public class PDFServiceTests
{
[Test]
public void ShouldGenerateMultiPagePDF()
{
IPDFService svc = new PDFService();
byte[] output = svc.CreatePdf(new PDFService.Settings
{
... | using NUnit.Framework;
using System.IO;
namespace CertiPay.PDF.Tests
{
public class PDFServiceTests
{
[Test]
public void ShouldGenerateMultiPagePDF()
{
IPDFService svc = new PDFService();
byte[] output = svc.CreatePdf(new PDFService.Settings
{
... | Add integration tests for links and forms | Add integration tests for links and forms
[Skip CI]
| C# | mit | mattgwagner/CertiPay.Common |
5654353e0e670148bab719bb3d11fb6134d4f37d | Obvs.Serialization.MessagePack-CSharp/MessagePackCSharpMessageSerializer.cs | Obvs.Serialization.MessagePack-CSharp/MessagePackCSharpMessageSerializer.cs | using System.IO;
using MessagePack;
using MessagePack.Resolvers;
namespace Obvs.Serialization.MessagePack
{
public class MessagePackCSharpMessageSerializer : IMessageSerializer
{
private readonly IFormatterResolver _resolver;
public MessagePackCSharpMessageSerializer()
: this(null... | using System.IO;
using MessagePack;
using MessagePack.Resolvers;
namespace Obvs.Serialization.MessagePack
{
public class MessagePackCSharpMessageSerializer : IMessageSerializer
{
private readonly IFormatterResolver _resolver;
public MessagePackCSharpMessageSerializer()
: this(null... | Use NonGeneric entry point for MessagePack-CSharp serializer | Use NonGeneric entry point for MessagePack-CSharp serializer
| C# | mit | inter8ection/Obvs,megakid/Obvs.Serialization,inter8ection/Obvs.Serialization |
d2a3e0581b750c030d197573e6923815ca2e60f8 | osu.Game/Skinning/LegacySkinDecoder.cs | osu.Game/Skinning/LegacySkinDecoder.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.Formats;
namespace osu.Game.Skinning
{
public class LegacySkinDecoder : LegacyDecoder<SkinConfiguration>
{
public LegacySkinDeco... | // 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.Formats;
namespace osu.Game.Skinning
{
public class LegacySkinDecoder : LegacyDecoder<DefaultSkinConfiguration>
{
public LegacyS... | Fix legacy decoder using wrong configuration | Fix legacy decoder using wrong configuration
| C# | mit | UselessToucan/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,2yangk23/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,johnneijzen/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,peppy/osu,smoogipooo/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smo... |
d995d027d10a4740982ff17459f56c1518e2cc16 | example/Program.cs | example/Program.cs | using System;
using System.IO;
using LastPass;
namespace Example
{
class Program
{
static void Main(string[] args)
{
// Read LastPass credentials from a file
// The file should contain 2 lines: username and password.
// See credentials.txt.example for an exam... | using System;
using System.IO;
using LastPass;
namespace Example
{
class Program
{
static void Main(string[] args)
{
// Read LastPass credentials from a file
// The file should contain 2 lines: username and password.
// See credentials.txt.example for an exam... | Convert EncryptedString to String explicitly | Convert EncryptedString to String explicitly
| C# | mit | detunized/lastpass-sharp,rottenorange/lastpass-sharp,detunized/lastpass-sharp |
8721cc1988a1f62f816be62e9e23625b2bed9ee5 | ConsoleAppPrimesByHundred/Program.cs | ConsoleAppPrimesByHundred/Program.cs | using System;
using FonctionsUtiles.Fred.Csharp;
namespace ConsoleAppPrimesByHundred
{
internal class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine;
display("Prime numbers by hundred:");
foreach (var kvp in FunctionsPrimes.NumberOfPrimesByHundred(1000... | using System;
using FonctionsUtiles.Fred.Csharp;
namespace ConsoleAppPrimesByHundred
{
internal class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine;
display("Prime numbers by hundred:");
foreach (var kvp in FunctionsPrimes.NumberOfPrimesByHundred(1000... | Change starting search from 1 billion because none before | Change starting search from 1 billion because none before
| C# | mit | fredatgithub/UsefulFunctions |
1a160a63cf015db7687575da3995411997ae4892 | Tera.Core/Game/Messages/Server/LoginServerMessage.cs | Tera.Core/Game/Messages/Server/LoginServerMessage.cs | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tera.Game.Messages
{
public class LoginServerMessage : ParsedMessage
{
public EntityId Id { get; private set; }
public uint PlayerId { get; private set; }
... | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tera.Game.Messages
{
public class LoginServerMessage : ParsedMessage
{
public EntityId Id { get; private set; }
public uint PlayerId { get; private set; }
... | Fix user name detection for some regions | Fix user name detection for some regions
https://github.com/neowutran/ShinraMeter/issues/33
| C# | mit | Gl0/CasualMeter |
20bd8e54042eb20925d46f38f62ed7f0e6dabc4e | DesktopWidgets/Windows/EventActionPairEditor.xaml.cs | DesktopWidgets/Windows/EventActionPairEditor.xaml.cs | using System.Windows;
using DesktopWidgets.Actions;
using DesktopWidgets.Classes;
using DesktopWidgets.Events;
using DesktopWidgets.Helpers;
namespace DesktopWidgets.Windows
{
/// <summary>
/// Interaction logic for EventActionPairEditor.xaml
/// </summary>
public partial class EventActionPairEdit... | using System.Windows;
using DesktopWidgets.Actions;
using DesktopWidgets.Classes;
using DesktopWidgets.Events;
using DesktopWidgets.Helpers;
namespace DesktopWidgets.Windows
{
/// <summary>
/// Interaction logic for EventActionPairEditor.xaml
/// </summary>
public partial class EventActionPairEdit... | Fix event action "Select Widget" cancel still applying | Fix event action "Select Widget" cancel still applying
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
b06caa2c546ae1cbb6e204b064404e44eb25f348 | LAN/LANInterface.cs | LAN/LANInterface.cs | using PluginContracts;
using System;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.IO;
namespace LAN
{
public class LANInterface : IPluginV1
{
public string Name { get; } = "LAN";
public string Description { get; } = "LAN communicati... | using PluginContracts;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace LAN
{
public class LANInterface : IPluginV1
{
public string Name { get; } = "LAN";
public string Description { get; } = "LAN communication interface for os... | Change the SendReceiveAsync() implementation to support commands that do not have responses | Change the SendReceiveAsync() implementation to support commands that do not have responses
| C# | mit | tparviainen/oscilloscope |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.