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 |
|---|---|---|---|---|---|---|---|---|---|
0ccfa73a6a1e51ab01ec0ff8f0b8e7a916cf36f2 | twitch-tv-viewer/ViewModels/SettingsViewModel.cs | twitch-tv-viewer/ViewModels/SettingsViewModel.cs | using System;
using System.Collections.ObjectModel;
using System.Windows.Input;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using twitch_tv_viewer.Repositories;
namespace twitch_tv_viewer.ViewModels
{
internal class SettingsViewModel : ViewModelBase
{
private ObservableCollection<strin... | using System;
using System.Collections.ObjectModel;
using System.Windows.Input;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using twitch_tv_viewer.Repositories;
namespace twitch_tv_viewer.ViewModels
{
internal class SettingsViewModel : ViewModelBase
{
private ObservableCollection<strin... | Add bindings in settings viewmodel for user alert | Add bindings in settings viewmodel for user alert
| C# | mit | dukemiller/twitch-tv-viewer |
3575d9847cd120941ad3737ff140c01184edd4e5 | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | Use regular test steps rather than one-time set up and scheduling | Use regular test steps rather than one-time set up and scheduling
| C# | mit | peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu |
c044e795a19070ea770a90b4ffe2d272e3d52eac | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Categories/_GlobalCategoriesPartial.cshtml | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Categories/_GlobalCategoriesPartial.cshtml | @using Microsoft.AspNetCore.Builder
@using Microsoft.Extensions.Options
@model IEnumerable<Category>
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultures = LocOptions.Value.SupportedUICultures
.Skip(1)
.Select(culture => new { Culture = culture.Name, Name = culture.EnglishName }... | @using Microsoft.AspNetCore.Builder
@using Microsoft.Extensions.Options
@model IEnumerable<Category>
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultures = LocOptions.Value.SupportedUICultures
.Skip(1)
.Select(culture => new { Culture = culture.Name, Name = culture.EnglishName }... | Make global categories colors are display only | Make global categories colors are display only
| C# | mit | diolive/cache,diolive/cache |
e34c9599dc56a151670fba4dc05fcc10172d21e3 | FBExtendedEvents/PluginInfo.cs | FBExtendedEvents/PluginInfo.cs | using FogCreek.Plugins;
[assembly: AssemblyFogCreekPluginId("FBExtendedEvents@goit.io")]
[assembly: AssemblyFogCreekMajorVersion(3)]
[assembly: AssemblyFogCreekMinorVersionMin(5)]
[assembly: AssemblyFogCreekEmailAddress("jozef.izso@gmail.com")]
[assembly: AssemblyFogCreekWebsite("https://github.com/jozefizso/FBExtend... | using FogCreek.Plugins;
[assembly: AssemblyFogCreekPluginId("FBExtendedEvents@goit.io")]
[assembly: AssemblyFogCreekMajorVersion(3)]
[assembly: AssemblyFogCreekMinorVersionMin(5)]
[assembly: AssemblyFogCreekEmailAddress("jozef.izso@gmail.com")]
[assembly: AssemblyFogCreekWebsite("https://github.com/jozefizso/FogBugz-... | Add new plugin repository URL | Add new plugin repository URL
| C# | mit | jozefizso/FogBugz-ExtendedEvents,jozefizso/FogBugz-ExtendedEvents |
9a7c5806c6137501d709629d503b7b91e4607d66 | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.IO;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Adm... | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
// Ad... | Add simple JSON endpoint for soldiers with access | Add simple JSON endpoint for soldiers with access
Fixes #412
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
b719da53f65ac33afa072e2c84e57dcb42a1b29d | BleLab/Services/CharacteristicSubscriptionService.cs | BleLab/Services/CharacteristicSubscriptionService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Foundation;
namespace BleLab.Services
{
public class CharacteristicSubscriptionService
{
private readonly Dictionary<Guid, GattChar... | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Foundation;
namespace BleLab.Services
{
public class CharacteristicSubscriptionService
{
private readonly Dictionary<Guid, GattChar... | Fix of not unsubscribing to characteristics on disconnect | Fix of not unsubscribing to characteristics on disconnect
| C# | mit | IanSavchenko/BleLab |
f983e3b7d7b122175f557c9c6eb5dc1a2770129b | samples/ConsoleApplication/ConsoleApplication/Program.cs | samples/ConsoleApplication/ConsoleApplication/Program.cs | using System;
using Bartender;
using ConsoleApplication.Domain.Personne.Create;
using ConsoleApplication.Domain.Personne.Read;
using ConsoleApplication.Registries;
using StructureMap;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
var registry = ne... | using System;
using Bartender;
using ConsoleApplication.Domain.Personne.Create;
using ConsoleApplication.Domain.Personne.Read;
using ConsoleApplication.Registries;
using StructureMap;
namespace ConsoleApplication
{
class Program
{
static void Main()
{
var registry = new Registry();... | Switch direct handling by a syncrhonous dispatching in console sample | Switch direct handling by a syncrhonous dispatching in console sample
| C# | mit | Vtek/Bartender |
135c9cb9e473a36f929113fa9806bcfe2bc5da73 | Santa/Common/Alogs/GiftExtensions.cs | Santa/Common/Alogs/GiftExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Alogs
{
public static class GiftExtensions
{
public static double DistanceTo(this Gift one, Gift two)
{
var phyOne = one.Latitude / 360 * Math.PI * 2... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Alogs
{
public static class GiftExtensions
{
public static double DistanceTo(this Gift one, Gift two)
{
const double radius = 6371000;
v... | Create algo to calculate distance between gift points | Create algo to calculate distance between gift points
| C# | mit | kw90/SantasSledge |
7059476dacbbddb61ba4a40f5acf2d9f016b0555 | src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs | src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs | using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Glimpse.Host.Web.AspNet.Framework;
namespace Glimpse.Host.Web.AspNet
{
public class GlimpseMiddleware
{
private readonly RequestDelegate _innerNext;
public GlimpseMiddleware(RequestDelegate innerNext)
{
_i... | using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Glimpse.Host.Web.AspNet.Framework;
using Glimpse.Agent.Web;
namespace Glimpse.Host.Web.AspNet
{
public class GlimpseMiddleware
{
private readonly RequestDelegate _innerNext;
private readonly WebAgentRuntime _runtime;
... | Add agent to the web middleware | Add agent to the web middleware
| C# | mit | mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peter... |
e75b738d0e520cb9b0ed6684f4eceeb5436ba355 | IdParser/Enums/Version.cs | IdParser/Enums/Version.cs | // ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aamva2012 = 7,
Aamva2013 = 8,
Aam... | // ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aamva2012 = 7,
Aamva2013 = 8,
Aam... | Add 2020 standard to version enum | Add 2020 standard to version enum
| C# | mit | c0shea/IdParser |
860214c22a11fb5107161c5bb59bb6a6ba734a02 | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osuTK;
namespace osu.Game.Rulesets.Edit
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osuTK;
namespace osu.Game.Rulesets.Edit
{
... | Adjust paddings to feel better now that backgrounds are visible of toolboxes | Adjust paddings to feel better now that backgrounds are visible of toolboxes
| C# | mit | ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu |
e5d9d3c19e3f39e2ddc37449e0a54809aa79a5fb | test/AWTY.Http.IntegrationTests/DumbMemoryStream.cs | test/AWTY.Http.IntegrationTests/DumbMemoryStream.cs | using System.IO;
namespace AWTY.Http.IntegrationTests
{
/// <summary>
/// A non-optimised version of <see cref="MemoryStream"/> for use in tests.
/// </summary>
/// <remarks>
/// <see cref="MemoryStream"/> performs a bunch of optimisations unless subclassed.
///
/// Unfortunate... | using System.IO;
namespace AWTY.Http.IntegrationTests
{
/// <summary>
/// A non-optimised version of <see cref="MemoryStream"/> for use in tests.
/// </summary>
/// <remarks>
/// <see cref="MemoryStream"/>'s CopyToAsync performs a bunch of optimisations unless subclassed.
/// https:... | Add link to MemoryStream.CopyToAsync source link. | Add link to MemoryStream.CopyToAsync source link.
| C# | mit | tintoy/AWTY |
3aaf66d52cb47b142c31e2ccfe0f9fb8e09c0900 | GitReview/Global.asax.cs | GitReview/Global.asax.cs | // -----------------------------------------------------------------------
// <copyright file="Global.asax.cs" company="(none)">
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
// </copyright>
// -----------------... | // -----------------------------------------------------------------------
// <copyright file="Global.asax.cs" company="(none)">
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
// </copyright>
// -----------------... | Initialize git repo on startup. | Initialize git repo on startup.
| C# | mit | otac0n/GitReview,otac0n/GitReview,otac0n/GitReview |
d9d38b8f1eb3ae66297bad2aaef596c5cb89dc1a | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity... | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity... | Remove Canadian Styling of bool | Remove Canadian Styling of bool
| C# | mit | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP |
00f7e8bf2b441173d76d7770fdab8d8ccd951ec6 | src/ZobShop.Tests/Models/UserTests/UserConstructorTests.cs | src/ZobShop.Tests/Models/UserTests/UserConstructorTests.cs | using Microsoft.AspNet.Identity.EntityFramework;
using NUnit.Framework;
using ZobShop.Models;
namespace ZobShop.Tests.Models.UserTests
{
[TestFixture]
public class UserConstructorTests
{
[Test]
public void Constructor_Should_InitializeUserCorrectly()
{
var user = new Us... | using Microsoft.AspNet.Identity.EntityFramework;
using NUnit.Framework;
using ZobShop.Models;
namespace ZobShop.Tests.Models.UserTests
{
[TestFixture]
public class UserConstructorTests
{
[Test]
public void Constructor_Should_InitializeUserCorrectly()
{
var user = new Us... | Add new user constructor tests | Add new user constructor tests
| C# | mit | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop |
b35a936f4e03f88cc3e79ed8b56534263839f315 | Naos.Database.MessageBus.Handlers/BackupMessageHandler.cs | Naos.Database.MessageBus.Handlers/BackupMessageHandler.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BackupMessageHandler.cs" company="Naos">
// Copyright 2015 Naos
// </copyright>
// ----------------------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BackupMessageHandler.cs" company="Naos">
// Copyright 2015 Naos
// </copyright>
// ----------------------------------------------------------------------------------------------... | Fix issue where the file name wasn't getting specified. | Fix issue where the file name wasn't getting specified.
| C# | mit | NaosFramework/Naos.Database,NaosProject/Naos.Database |
b0d62fd9a3921edaf744412b2bde5e061a5a2171 | PlayerRank/PlayerScore.cs | PlayerRank/PlayerScore.cs | using System;
using System.Runtime.InteropServices;
namespace PlayerRank
{
public class PlayerScore
{
public string Name { get; set; }
public Points Points { get; internal set; }
public PlayerScore(string name)
{
Name = name;
Points = new Points... | using System;
using System.Runtime.InteropServices;
namespace PlayerRank
{
public class PlayerScore
{
public string Name { get; set; }
public Points Points { get; internal set; }
public PlayerScore(string name)
{
Name = name;
Points = new Points... | Add method to subtract points from player | Add method to subtract points from player
| C# | mit | TheEadie/PlayerRank,TheEadie/PlayerRank |
7f44dca0401ceb035fcce0c6a72ceec853ac79f3 | Source/ZXing.Net.Mobile.WindowsRT/NotSupported.cs | Source/ZXing.Net.Mobile.WindowsRT/NotSupported.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace ZXing.Net.Mobile
{
public class NotSupported
{
// Windows Phone 8.1 Native and Windows 8 RT are not supported
// Microsoft left out the ab... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace ZXing.Net.Mobile
{
public class NotSupported
{
// Windows Phone 8.1 Native and Windows 8 RT are not supported
// Microsoft left out the ab... | Fix PCL contract for Pause/Resume analysis change | Fix PCL contract for Pause/Resume analysis change
| C# | apache-2.0 | syphe/ZXing.Net.Mobile,Redth/ZXing.Net.Mobile |
8073fe5ffee14acd237003bbbd876b59b814a85e | src/PerfView.Tests/Properties/AssemblyInfo.cs | src/PerfView.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pe... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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: Asse... | Disable test parallelization for PerfView tests | Disable test parallelization for PerfView tests
| C# | mit | vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview |
8cff384a385f85dc193f09982c8b4eff6e0ada44 | Admo/Utilities/SoftwareUtils.cs | Admo/Utilities/SoftwareUtils.cs | using System;
using System.Diagnostics;
using Microsoft.Win32;
namespace Admo.Utilities
{
public class SoftwareUtils
{
public static string GetChromeVersion()
{
var path = Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe", "", nu... | using System;
using System.Diagnostics;
using Microsoft.Win32;
namespace Admo.Utilities
{
public class SoftwareUtils
{
public static string GetChromeVersion()
{
//Handle both system wide and user installs of chrome
var pathLocal = Registry.GetValue(@"HKEY_CURRENT_USER\... | Handle system wide installs of chrome | Handle system wide installs of chrome
| C# | mit | admoexperience/admo-kinect,admoexperience/admo-kinect |
f321fc86b1c7b423119f916b41c1c37f570855b7 | Core/Services/CSharpExecutor.cs | Core/Services/CSharpExecutor.cs | using System;
using System.IO;
using Compilify.Models;
namespace Compilify.Services
{
public class CSharpExecutor
{
public CSharpExecutor()
: this(new CSharpCompilationProvider()) { }
public CSharpExecutor(ICSharpCompilationProvider compilationProvider)
{
... | using System;
using System.IO;
using Compilify.Models;
namespace Compilify.Services
{
public class CSharpExecutor
{
public CSharpExecutor()
: this(new CSharpCompilationProvider()) { }
public CSharpExecutor(ICSharpCompilationProvider compilationProvider)
{
... | Remove fileStream used for debugging | Remove fileStream used for debugging
| C# | mit | jrusbatch/compilify,jrusbatch/compilify,vendettamit/compilify,vendettamit/compilify |
112818fb409e7ce0182e4a37c3447cdb78613935 | JSNLog/PublicFacing/Configuration/Owin/AppBuilderExtensions.cs | JSNLog/PublicFacing/Configuration/Owin/AppBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Owin;
namespace JSNLog
{
public static class AppBuilderExtensions
{
public static void UseJSNLog(this IAppBuilder app, string loggerUrlRegex = null)
{
app.Use<JsnlogMiddlewareComponent>(logg... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Owin;
namespace JSNLog
{
public static class AppBuilderExtensions
{
public static void UseJSNLog(this IAppBuilder app)
{
app.Use<JsnlogMiddlewareComponent>();
}
}
}
| Remove second parameter, bug not picked up by compiler | Remove second parameter, bug not picked up by compiler
| C# | mit | mperdeck/jsnlog |
18923709c322965948feb3f05c143d9a0ad5cf0a | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | Set nuget package version to 1.0.0 | Set nuget package version to 1.0.0
| C# | mit | Jericho/CakeMail.RestClient |
6318ca0b158c94f7546dffbb2dc0d369b0bf6759 | Portal.CMS.Web/Views/Shared/_DOMScripts.cshtml | Portal.CMS.Web/Views/Shared/_DOMScripts.cshtml | @Scripts.Render("~/Resources/JavaScript/Bootstrap")
@Scripts.Render("~/Resources/JavaScript/Bootstrap/Popover")
@Scripts.Render("~/Resources/JavaScript/Framework")
@if (UserHelper.IsAdmin)
{
@Scripts.Render("~/Resources/JavaScript/Bootstrap/Tour")
@Scripts.Render("~/Resources/JavaScript/Bootstrap/Confirmation... | @Scripts.Render("~/Resources/JavaScript/Bootstrap")
@Scripts.Render("~/Resources/JavaScript/Bootstrap/Confirmation")
@Scripts.Render("~/Resources/JavaScript/Bootstrap/Popover")
@Scripts.Render("~/Resources/JavaScript/Framework")
@if (UserHelper.IsAdmin)
{
@Scripts.Render("~/Resources/JavaScript/Bootstrap/Tour")
} | Load Confirmation plugin in PageBuilder | Load Confirmation plugin in PageBuilder
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
cdb3dc93851638bb6f721c302d5237e366258fc0 | osu.Framework.Benchmarks/BenchmarkTransformUpdate.cs | osu.Framework.Benchmarks/BenchmarkTransformUpdate.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using BenchmarkDotNet.Attributes;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Timing;
using osuTK;
namespac... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using BenchmarkDotNet.Attributes;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Timing;
using osuTK;
namespac... | Add benchmark of updating transforms when none are added | Add benchmark of updating transforms when none are added
| C# | mit | ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework |
7842f499a800b2b329be2313fd883e0c4b86fd7c | PathfinderAPI/BaseGameFixes/Performance/NodeLookup.cs | PathfinderAPI/BaseGameFixes/Performance/NodeLookup.cs | using Hacknet;
using HarmonyLib;
using Pathfinder.Util;
namespace Pathfinder.BaseGameFixes.Performance
{
[HarmonyPatch]
internal static class NodeLookup
{
[HarmonyPostfix]
[HarmonyPatch(typeof(ComputerLoader), nameof(ComputerLoader.loadComputer))]
internal static void PopulateOnCom... | using Hacknet;
using HarmonyLib;
using Pathfinder.Event;
using Pathfinder.Event.Loading;
using Pathfinder.Util;
namespace Pathfinder.BaseGameFixes.Performance
{
[HarmonyPatch]
internal static class NodeLookup
{
[Util.Initialize]
internal static void Initialize()
{
Event... | Fix node lookup not adding saved computers to dict | Fix node lookup not adding saved computers to dict
| C# | mit | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder |
6a658025282aa4d52360ec75858fa966b5e46a23 | osu.Game.Rulesets.Osu/Edit/Masks/HitCircleSelectionMask.cs | osu.Game.Rulesets.Osu/Edit/Masks/HitCircleSelectionMask.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawables;
namespace osu.Game.Rule... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawables;
namespace osu.Game.Rule... | Fix hitcircle selections not responding to stacking changes | Fix hitcircle selections not responding to stacking changes
| C# | mit | naoey/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,ppy/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,smoogipooo/osu,naoey/osu,ZLima12/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,joh... |
67a1ff5a6ff110de9e8590235bd92e298f2feeb9 | source/FFImageLoading.Shared/Helpers/MD5Helper.cs | source/FFImageLoading.Shared/Helpers/MD5Helper.cs | using System;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace FFImageLoading.Helpers
{
public class MD5Helper : IMD5Helper
{
public string MD5(Stream stream)
{
var hashProvider = new MD5CryptoServiceProvider();
var bytes = hashProvider.... | using System;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace FFImageLoading.Helpers
{
public class MD5Helper : IMD5Helper
{
public string MD5(Stream stream)
{
using (var hashProvider = new MD5CryptoServiceProvider())
{
... | Put MD5CryptoServiceProvider into using clause | Put MD5CryptoServiceProvider into using clause
| C# | mit | AndreiMisiukevich/FFImageLoading,luberda-molinet/FFImageLoading,daniel-luberda/FFImageLoading,molinch/FFImageLoading |
d777bef2ca9f4bd54a1397ea1654e5f5ab9cfd73 | TeamTracker/App_Code/Person.cs | TeamTracker/App_Code/Person.cs | using System.Collections.Generic;
public class Person
{
//---------------------------------------------------------------------------
public int Id { get; set; }
public string Name { get; set; }
public string Extension { get; set; }
public List<Status> Status { get; set; }
//----------------------------... | using System.Collections.Generic;
public class Person
{
//---------------------------------------------------------------------------
public int Id { get; set; }
public string Name { get; set; }
public string Contact { get; set; }
public List<Status> Status { get; set; }
//------------------------------... | Update code references: extension -> contact | Update code references: extension -> contact | C# | mit | grae22/TeamTracker |
351ee751215b9898ff13ddc0840822e1e7812b33 | poshring/CredentialsManager.cs | poshring/CredentialsManager.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
namespace poshring
{
public class CredentialsManager
{
public IEnumerable<Credential> GetCredentials()
{
int count;
IntPtr ptr;
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
namespace poshring
{
public class CredentialsManager
{
public IEnumerable<Credential> GetCredentials()
{
int count;
IntPtr ptr;
... | Return empty result when there are no credentials on the system. | Return empty result when there are no credentials on the system.
| C# | mit | skyguy94/poshring |
6bb9c291c7e92aee8c9a1c99b3fb097fc3e8524f | modules/Module1/Program.cs | modules/Module1/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace Module1
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Modules;
namespace Module1
{
public class Program
{
public static void Main(s... | Fix Module1 to run as independent app | Fix Module1 to run as independent app
| C# | mit | danroth27/AspNetCoreModules,danroth27/AspNetCoreModules |
353636893d08b2effab340a33dda853e091c55bf | src/UrlShortenerApi/Repositories/IHeaderRepository.cs | src/UrlShortenerApi/Repositories/IHeaderRepository.cs | using System.Collections.Generic;
using UrlShortenerApi.Models;
namespace UrlShortenerApi.Repositories
{
public interface IHeaderRepository
{
void Add(Microsoft.AspNetCore.Http.IHeaderDictionary request, int urlID);
void Add(Header item);
}
}
| using System.Collections.Generic;
using UrlShortenerApi.Models;
namespace UrlShortenerApi.Repositories
{
public interface IHeaderRepository
{
void Add(Microsoft.AspNetCore.Http.IHeaderDictionary headers, int urlID);
void Add(Header item);
}
}
| Update variable name on Header Repository Interface | Update variable name on Header Repository Interface
This name is more representative.
| C# | agpl-3.0 | jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener |
451770cae3400db157bffefb25d5598688cf8009 | Voxalia/ServerGame/EntitySystem/EntityLiving.cs | Voxalia/ServerGame/EntitySystem/EntityLiving.cs | using Voxalia.ServerGame.WorldSystem;
namespace Voxalia.ServerGame.EntitySystem
{
public abstract class EntityLiving: PhysicsEntity, EntityDamageable
{
public EntityLiving(Region tregion, bool ticks, float maxhealth)
: base(tregion, ticks)
{
MaxHealth = maxhealth;
... | using System;
using Voxalia.ServerGame.WorldSystem;
namespace Voxalia.ServerGame.EntitySystem
{
public abstract class EntityLiving: PhysicsEntity, EntityDamageable
{
public EntityLiving(Region tregion, bool ticks, float maxhealth)
: base(tregion, ticks)
{
MaxHealth = ma... | CLean a potential hole in entityliving | CLean a potential hole in entityliving
| C# | mit | Morphan1/Voxalia,Morphan1/Voxalia,Morphan1/Voxalia |
16dd98407e077dad395572cb702a4b53caabb47c | src/AppGet/Installers/InstallerWhispererBase.cs | src/AppGet/Installers/InstallerWhispererBase.cs | using AppGet.Commands.Install;
using AppGet.Commands.Uninstall;
using AppGet.Manifests;
using AppGet.Processes;
using NLog;
namespace AppGet.Installers
{
public abstract class InstallerWhispererBase : IInstallerWhisperer
{
private readonly IProcessController _processController;
private readonl... | using System.ComponentModel;
using AppGet.Commands.Install;
using AppGet.Commands.Uninstall;
using AppGet.Exceptions;
using AppGet.Manifests;
using AppGet.Processes;
using NLog;
namespace AppGet.Installers
{
public abstract class InstallerWhispererBase : IInstallerWhisperer
{
private readonly IProcess... | Throw error if installer returns a non-zero exist code. | Throw error if installer returns a non-zero exist code.
| C# | apache-2.0 | AppGet/AppGet |
a265d877e4f9e14d5a6c54feba9f87ea108debb4 | Assets/NetworkManager.cs | Assets/NetworkManager.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
public class NetworkManager : MonoBehaviour {
public List<string> ChatMessages;
// Goal #1: Create a reasonable chat system using the NEW UI System
public void AddChatMessage(string message) {
PhotonView.Get(this)... | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
public class NetworkManager : MonoBehaviour {
public List<string> ChatMessages;
public bool IsOfflineMode;
// Goal #1: Create a reasonable chat system using the NEW UI System
public void AddChatMessage(string message)... | Enable offline mode by default. | Enable offline mode by default.
| C# | mit | PlanetLotus/FPS-Sandbox,PlanetLotus/FPS-Sandbox |
b355047bf92a236eb804b50f234bfbe9d9b59114 | Client/API/Students/Experiences/ExperienceModel.cs | Client/API/Students/Experiences/ExperienceModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerHub.Client.API.Students.Experiences {
public class ExperienceModel {
public int ID { get; set; }
public string Title { get; set; }
public string Organisation { get; set; }
public s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerHub.Client.API.Students.Experiences {
public class ExperienceModel {
public int ID { get; set; }
public string Title { get; set; }
public string Organisation { get; set; }
public s... | Add extra properties to experience model | Add extra properties to experience model
| C# | mit | CareerHub/.NET-CareerHub-API-Client,CareerHub/.NET-CareerHub-API-Client |
954a5887bdeb288024a288cfcb2bd2b455d15420 | Phoebe.FormClient/Program.cs | Phoebe.FormClient/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Phoebe.Base;
using Phoebe.Common;
using Phoebe.Model;
namespace Phoebe.FormClient
{
static class Program
{
/// <summary>
/// 全局操作
/// </summary>
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Phoebe.Base;
using Phoebe.Common;
using Phoebe.Model;
namespace Phoebe.FormClient
{
static class Program
{
/// <summary>
/// 全局操作
/// </summary>
pu... | Add global exception handle, not enable. | Add global exception handle, not enable.
Signed-off-by: robertzml <321e7786a406a136366094c578d0f1193a3468e1@126.com>
| C# | mit | robertzml/Phoebe |
a7e1749347ac2334412eb9fb8ed1cdbb0a3e1bb9 | UnityProject/Assets/Scripts/Items/Dice/RollFudgeDie.cs | UnityProject/Assets/Scripts/Items/Dice/RollFudgeDie.cs | using UnityEngine;
public class RollFudgeDie : RollSpecialDie
{
public override string Examine(Vector3 worldPos = default)
{
return $"It is showing side {GetFudgeMessage()}";
}
protected override string GetMessage()
{
return $"The {dieName} lands a {GetFudgeMessage()}";
}
private string GetFudgeMessage()
... | using UnityEngine;
public class RollFudgeDie : RollSpecialDie
{
public override string Examine(Vector3 worldPos = default)
{
return $"It is showing {GetFudgeMessage()}";
}
protected override string GetMessage()
{
return $"The {dieName} lands {GetFudgeMessage()}";
}
private string GetFudgeMessage()
{
//... | Clarify FudgeDie special case's formatting | Clarify FudgeDie special case's formatting
| C# | agpl-3.0 | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation |
cb77a5bd2c90c1fcee09fd922ab9e9afa5f36d55 | src/OmniSharp/Utilities/DirectoryEnumerator.cs | src/OmniSharp/Utilities/DirectoryEnumerator.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Framework.Logging;
namespace OmniSharp.Utilities
{
public class DirectoryEnumerator
{
private ILogger _logger;
public DirectoryEnumerator(ILoggerFactory loggerFactory)
{
_lo... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Framework.Logging;
namespace OmniSharp.Utilities
{
public class DirectoryEnumerator
{
private ILogger _logger;
public DirectoryEnumerator(ILoggerFactory loggerFactory)
{
_lo... | Simplify file enumeration and correctly handle path too long exceptions when enumerating sub directories | Simplify file enumeration and correctly handle path too long exceptions when enumerating sub directories
| C# | mit | DustinCampbell/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,sreal/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,sriramgd/omnisharp-roslyn,nabychan/omnisharp-roslyn,haled/omnisharp-roslyn,hitesh97/omnisharp-roslyn,sreal/omnisharp-roslyn,khellang/omnisharp-rosl... |
2ba639c53a7d049fe2969225b03cd93e1311bad3 | MonoHaven.Client/Audio.cs | MonoHaven.Client/Audio.cs | using System;
using System.IO;
using MonoHaven.Resources;
using MonoHaven.Resources.Layers;
using MonoHaven.Utils;
using NVorbis.OpenTKSupport;
using OpenTK.Audio;
namespace MonoHaven
{
public class Audio : IDisposable
{
private readonly AudioContext context;
private readonly OggStreamer streamer;
public Aud... | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using MonoHaven.Resources;
using MonoHaven.Resources.Layers;
using MonoHaven.Utils;
using NVorbis.OpenTKSupport;
using OpenTK.Audio;
namespace MonoHaven
{
public class Audio : IDisposable
{
private readonly AudioContext conte... | Use separate task to queue sound effects so they can be played when they're loaded | Use separate task to queue sound effects so they can be played when they're loaded
| C# | mit | k-t/SharpHaven |
de856965ade2cfaecbb8f24dc17ad623363ca549 | Braintree/VenmoAccount.cs | Braintree/VenmoAccount.cs | using System;
namespace Braintree
{
public class VenmoAccount : PaymentMethod
{
public string Token { get; protected set; }
public string Username { get; protected set; }
public string VenmoUserId { get; protected set; }
public string SourceDescription { get; protected set; }
... | using System;
namespace Braintree
{
public class VenmoAccount : PaymentMethod
{
public string Token { get; protected set; }
public string Username { get; protected set; }
public string VenmoUserId { get; protected set; }
public string SourceDescription { get; protected set; }
... | Add mock changes to new Venmo class | Add mock changes to new Venmo class
| C# | mit | scottmeyer/braintree_dotnet,scottmeyer/braintree_dotnet,braintree/braintree_dotnet,scottmeyer/braintree_dotnet,braintree/braintree_dotnet,scottmeyer/braintree_dotnet |
fcaee6604b6e3b2bac681fe9307795098a92d133 | ChessDotNet/GameStatus.cs | ChessDotNet/GameStatus.cs | namespace ChessDotNet
{
public enum Event
{
Check,
Checkmate,
Stalemate,
Draw,
Custom,
Resign,
VariantEnd, // to be used for chess variants, which can be derived from ChessGame
None
}
public class GameStatus
{
public Event ... | namespace ChessDotNet
{
public enum Event
{
Check,
Checkmate,
Stalemate,
Draw,
Custom,
Resign,
VariantEnd, // to be used for chess variants, which can be derived from ChessGame
None
}
public class GameStatus
{
public Event ... | Remove underscore from parameter name | Remove underscore from parameter name
| C# | mit | ProgramFOX/Chess.NET |
49a03f1c06ca6824fc8e131ddd1e8f845c4ea1f2 | osu.Game/IO/OsuStorage.cs | osu.Game/IO/OsuStorage.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Game.Configuration;
namespace osu.Game.IO
{
public class OsuStorage : WrappedStorage
{
... | // 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.IO;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Game.Configuration;
namespace osu.Game.IO
{
public class OsuStora... | Add basic blocking migration, move not copy | Add basic blocking migration, move not copy
| C# | mit | peppy/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu |
fe025043bd59d8164710cce507c16589ad439c98 | osu.Game.Tests/Visual/Gameplay/TestSceneParticleExplosion.cs | osu.Game.Tests/Visual/Gameplay/TestSceneParticleExplosion.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osuTK;
namespa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osuTK;
namespa... | Make test run multiple times | Make test run multiple times
| C# | mit | smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,peppy/osu |
342c4c44f6fa2053acec1c7271d796f9e0f98265 | src/Microsoft.AspNetCore.Sockets.Abstractions/DuplexPipe.cs | src/Microsoft.AspNetCore.Sockets.Abstractions/DuplexPipe.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace System.IO.Pipelines
{
public class DuplexPipe : IDuplexPipe
{
public DuplexPipe(PipeReader reader, PipeWriter writer)
... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO.Pipelines;
namespace Microsoft.AspNetCore.Sockets
{
public class DuplexPipe : IDuplexPipe
{
public DuplexPipe(PipeRead... | Change namespace to avoid conflict | Change namespace to avoid conflict
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
f8fa78deb93ab0226a69ed78a391f4e38f8998ae | source/Handlebars/ObjectDescriptors/ObjectAccessor.cs | source/Handlebars/ObjectDescriptors/ObjectAccessor.cs | using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using HandlebarsDotNet.MemberAccessors;
using HandlebarsDotNet.ObjectDescriptors;
using HandlebarsDotNet.PathStructure;
namespace HandlebarsDotNet
{
public readonly ref struct ObjectAccessor
{
private readonly o... | using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using HandlebarsDotNet.MemberAccessors;
using HandlebarsDotNet.ObjectDescriptors;
using HandlebarsDotNet.PathStructure;
namespace HandlebarsDotNet
{
public readonly ref struct ObjectAccessor
{
private readonly o... | Fix `NullReferenceException` when `IMemberAccessor` was not resolved Related to Handlebars-Net/Handlebars.Net/issues/399 | Fix `NullReferenceException` when `IMemberAccessor` was not resolved
Related to Handlebars-Net/Handlebars.Net/issues/399
| C# | mit | rexm/Handlebars.Net,rexm/Handlebars.Net |
1a2db87668d254315cbd2a1d52cbb9dc902354a3 | 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,ppy/osu,smoogipoo/osu,osu-RP/osu-RP,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,Nabile-Rahmani/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,Damnae/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,2yangk23/osu,Drezi126/osu,DrabWeb/osu,DrabWeb/osu,smoogipoo/osu,EVAST9919/... |
efbd168347ea74a4d9c02e6099bbd0d394c80fcf | src/VisualStudio/ProjectSystems/JsProjectSystem.cs | src/VisualStudio/ProjectSystems/JsProjectSystem.cs | using System.IO;
using EnvDTE;
namespace NuGet.VisualStudio
{
/// <summary>
/// This project system represents the JavaScript Metro project in Windows8
/// </summary>
public class JsProjectSystem : VsProjectSystem
{
public JsProjectSystem(Project project, IFileSystemProvider fileS... | using System.IO;
using EnvDTE;
namespace NuGet.VisualStudio
{
/// <summary>
/// This project system represents the JavaScript Metro project in Windows8
/// </summary>
public class JsProjectSystem : VsProjectSystem
{
public JsProjectSystem(Project project, IFileSystemProvider fileS... | Fix bug not able to install packages to JS Metro project. Work items: 1986 | Fix bug not able to install packages to JS Metro project. Work items: 1986
--HG--
branch : 1.7
| C# | apache-2.0 | alluran/node.net,indsoft/NuGet2,mrward/nuget,jmezach/NuGet2,OneGet/nuget,dolkensp/node.net,indsoft/NuGet2,oliver-feng/nuget,ctaggart/nuget,oliver-feng/nuget,RichiCoder1/nuget-chocolatey,anurse/NuGet,mrward/NuGet.V2,xoofx/NuGet,zskullz/nuget,jmezach/NuGet2,themotleyfool/NuGet,ctaggart/nuget,RichiCoder1/nuget-chocolatey,... |
3ccdd1d76b31779ed9fbceac00462f5b241cb289 | PhotoStoryToBloomConverter/BloomModel/BloomHtmlModel/Body.cs | PhotoStoryToBloomConverter/BloomModel/BloomHtmlModel/Body.cs | using System.Collections.Generic;
using System.Xml.Serialization;
namespace PhotoStoryToBloomConverter.BloomModel.BloomHtmlModel
{
public class Body
{
[XmlAttribute("bookcreationtype")]
public string BookCreationType;
[XmlAttribute("class")]
public string Class;
[XmlEle... | using System.Collections.Generic;
using System.Xml.Serialization;
namespace PhotoStoryToBloomConverter.BloomModel.BloomHtmlModel
{
public class Body
{
// REVIEW: I don't think these two are necessary/useful
[XmlAttribute("bookcreationtype")]
public string BookCreationType;
[XmlAttrib... | Make published books "motion book"s | Make published books "motion book"s
| C# | mit | BloomBooks/PhotoStoryToBloomConverter,BloomBooks/PhotoStoryToBloomConverter |
4da1acb83bc3d46d81ffdb0727453b0b13bb6bea | src/Rainbow/Formatting/FieldFormatters/MultilistFormatter.cs | src/Rainbow/Formatting/FieldFormatters/MultilistFormatter.cs | using System;
using System.Collections.Generic;
using Rainbow.Model;
using Sitecore.Data;
namespace Rainbow.Formatting.FieldFormatters
{
public class MultilistFormatter : FieldTypeBasedFormatter
{
public override string[] SupportedFieldTypes
{
get
{
return new[] { "Checklist", "Multilist", "Multilist ... | using System;
using System.Collections.Generic;
using Rainbow.Model;
using Sitecore.Data;
namespace Rainbow.Formatting.FieldFormatters
{
public class MultilistFormatter : FieldTypeBasedFormatter
{
public override string[] SupportedFieldTypes
{
get
{
return new[] { "Checklist", "Multilist", "Multilist ... | Add deprecated 'tree list' type to formatter, because that's what __base templates still is :) | Add deprecated 'tree list' type to formatter, because that's what __base templates still is :)
| C# | mit | kamsar/Rainbow,MacDennis76/Rainbow,PetersonDave/Rainbow |
0d4ab54d7edc697f7877e9b088af948bdab215ab | labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs | labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs |
using System;
using System.Diagnostics;
using System.ServiceModel;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Host.Specs
{
/// <summary>
/// An **copy** of the interface specifying the contract for this service.
/// </summary>
[ServiceContract(
Namespace = "http://www.thatindig... |
using System;
using System.Diagnostics;
using System.ServiceModel;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Host.Specs
{
/// <summary>
/// An **copy** of the interface specifying the contract for this service.
/// </summary>
[ServiceContract(
Namespace = "http://www.thatindig... | Correct test client endpoint address. It worked! | Correct test client endpoint address. It worked!
Changed the endpoint address to which the test client connects to the
endpoint address specified in `Host\App.config`. The test now passes.
Now that I am "green," I can move on to other work. :)
| C# | epl-1.0 | mrwizard82d1/learning_wcf,mrwizard82d1/learning_wcf |
a5c23e7cf793c91d91bd2b67b536f107e10a8ec2 | osu.Game/Overlays/OverlayHeaderBreadcrumbControl.cs | osu.Game/Overlays/OverlayHeaderBreadcrumbControl.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.Graphics.UserInterface;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Overlays
{
public class OverlayH... | // 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.Graphics.UserInterface;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Overlays
{
public class OverlayH... | Remove underline from breadcrumb display | Remove underline from breadcrumb display
| C# | mit | johnneijzen/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu |
ce9c63970cce934caa8b06303780160251d7ff72 | osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.cs | osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.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.ComponentModel;
using osu.Framework.Graphics.Sprites;
using osu.Game.Screens.Select.Options;
using osuTK.Graphics;
namespace osu.Game.Tests.Visual.SongSele... | // 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.ComponentModel;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Screens.Select.Options;
namespace osu.Game.Tests.Visual.SongS... | Fix button colors in beatmap options test | Fix button colors in beatmap options test
| C# | mit | UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu |
b1f6b3f04c882d0c123a482ce0ee2caf2965ec15 | src/SqlStreamStore.MsSql.V3.Tests/MigrationTests.cs | src/SqlStreamStore.MsSql.V3.Tests/MigrationTests.cs | namespace SqlStreamStore
{
using System.Threading;
using System.Threading.Tasks;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
public class MigrationTests
{
[Fact]
public async Task Can_migrate()
{
// Set up an old schema + data.
... | namespace SqlStreamStore
{
using System.Threading;
using System.Threading.Tasks;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
public class MigrationTests
{
[Fact]
public async Task Can_migrate()
{
// Set up an old schema + data.
... | Fix migration test - use correct database from v2 fixture. | Fix migration test - use correct database from v2 fixture.
| C# | mit | SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore |
a1b8fa09921666ee65531cea264aeade2aa5718b | osu.Game/Overlays/Mods/SelectAllModsButton.cs | osu.Game/Overlays/Mods/SelectAllModsButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Game.Graphics.UserInterface;
using osu.Game.Localisation;
using... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Inp... | Disable "select all mods" button if all are selected | Disable "select all mods" button if all are selected
| C# | mit | NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu |
6c2f31b1f048e02c38358a3f621f61a71490f30a | src/System.Private.CoreLib/src/System/DateTime.Unix.CoreRT.cs | src/System.Private.CoreLib/src/System/DateTime.Unix.CoreRT.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.
namespace System
{
public readonly partial struct DateTime
{
public static DateTime UtcNow
{... | // 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.
namespace System
{
public readonly partial struct DateTime
{
public static DateTime UtcNow
{... | Fix build error with mirroring | Fix build error with mirroring
| C# | mit | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert |
60d1e44e01a00e42674d92b263269192996d14b8 | Solution/CodeProject.Data/Properties/AssemblyInfo.cs | Solution/CodeProject.Data/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CodeProject - EF Library")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("AREBIS")]
[assembly: AssemblyProduct("CodeProject - ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CodeProject - EF Library")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("AREBIS")]
[assembly: AssemblyProduct("CodeProject - ... | Check voor CLS-compliante code verwijderd uit project CodeProject.Data | Check voor CLS-compliante code verwijderd uit project CodeProject.Data
git-svn-id: 0ffdc289f568b1e7493e560395a00d06174c8a92@344 99b415e2-69d1-4072-8d93-0ed3a15484ab
| C# | apache-2.0 | Chirojeugd-Vlaanderen/gap,Chirojeugd-Vlaanderen/gap,Chirojeugd-Vlaanderen/gap |
7147fc81658d35721c6f6edfebfa5150aa88c826 | Zermelo/Zermelo.API.Tests/Services/JsonServiceTests.cs | Zermelo/Zermelo.API.Tests/Services/JsonServiceTests.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Zermelo.API.Services;
namespace Zermelo.API.Tests.Services
{
public class JsonServiceTests
{
[Fact]
public void ShouldDes... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Zermelo.API.Services;
namespace Zermelo.API.Tests.Services
{
public class JsonServiceTests
{
[Fact]
public void ShouldDes... | Update Json tests to reflect change to IEnumerable | [API] Update Json tests to reflect change to IEnumerable
| C# | mit | arthurrump/Zermelo.API |
26a1e34c72afd6b9d92d171e0d5b376af616ffd4 | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
internal static bool TryGetFormulaInfo(string formulaPrefix, out stri... | using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
internal static bool TryGetFormulaInfo(string formulaPrefix, out stri... | Extend character set of function names (including ".") | Extend character set of function names (including ".")
| C# | mit | Excel-DNA/IntelliSense |
d2cea6818c5bdecef3a9426d198c9a9103b3a083 | src/CommandLine/Common/CommandLineRepositoryFactory.cs | src/CommandLine/Common/CommandLineRepositoryFactory.cs |
namespace NuGet.Common
{
public class CommandLineRepositoryFactory : PackageRepositoryFactory
{
public static readonly string UserAgent = "NuGet Command Line";
private readonly IConsole _console;
public CommandLineRepositoryFactory(IConsole console)
{
_... |
using System.Windows;
namespace NuGet.Common
{
public class CommandLineRepositoryFactory : PackageRepositoryFactory, IWeakEventListener
{
public static readonly string UserAgent = "NuGet Command Line";
private readonly IConsole _console;
public CommandLineRepositoryFactor... | Fix the problem that the web request is displayed twice when -Verbosity is set to detailed. | Fix the problem that the web request is displayed twice when -Verbosity is set to detailed.
The cause of the duplicate output is the change to fix issue 3801 (which
was caused by incorrect use of the weak event handler pattern). With
that fix, the SendingRequest handler will be called twice. The fix is to
use the wea... | C# | apache-2.0 | chocolatey/nuget-chocolatey,jmezach/NuGet2,chocolatey/nuget-chocolatey,mrward/nuget,xoofx/NuGet,GearedToWar/NuGet2,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,GearedToWar/NuGet2,jmezach/NuGet2,antiufo/NuGet2,rikoe/nuget,oliver-feng/nuget,xoofx/NuGet,rikoe/nuget,oliver-feng/nuget,akrisiun/NuGet,jholovacs/NuGet,pratikkag... |
2197506200da01792e29ff9447cea18722b9d9d7 | samples/macdoc/AppleDocWizard/AppleDocWizardDelegate.cs | samples/macdoc/AppleDocWizard/AppleDocWizardDelegate.cs | using System;
using MonoMac.AppKit;
namespace macdoc
{
public class AppleDocWizardDelegate : NSApplicationDelegate
{
AppleDocWizardController wizard;
public override bool ApplicationShouldOpenUntitledFile (NSApplication sender)
{
return false;
}
public override void DidFinishLaunching (MonoMac.Fou... | using System;
using MonoMac.AppKit;
namespace macdoc
{
public class AppleDocWizardDelegate : NSApplicationDelegate
{
AppleDocWizardController wizard;
public override bool ApplicationShouldOpenUntitledFile (NSApplication sender)
{
return false;
}
public override void DidFinishLaunching (MonoMac.Fou... | Make the application and its window come in front when launched | [AppleDocWizard] Make the application and its window come in front when launched
| C# | apache-2.0 | PlayScriptRedux/monomac,dlech/monomac |
b9f7c65c0552acb4e9b8ea1e20f8a99cbf2e7d42 | Content.Client/Construction/ConstructionButton.cs | Content.Client/Construction/ConstructionButton.cs | using Content.Client.GameObjects.Components.Construction;
using Robust.Client.Interfaces.Graphics;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Maths;
using Robust.Shared.Utility;
namespace Content.Client.Construction
{
public class ConstructionButton : Button
{
private readonly IDis... | using Content.Client.GameObjects.Components.Construction;
using Robust.Client.Interfaces.Graphics;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Maths;
using Robust.Shared.Utility;
namespace Content.Client.Construction
{
public class ConstructionButton : Button
{
private readonly IDi... | Use SetAnchorPreset instead of manually setting each anchor | Use SetAnchorPreset instead of manually setting each anchor
| C# | mit | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 |
dd4c10ec1e5fe19c238b3ddf3c8db243d13d9dd2 | PhotoStoryToBloomConverter/Ps3Model/PhotoStoryProject.cs | PhotoStoryToBloomConverter/Ps3Model/PhotoStoryProject.cs | using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
namespace PhotoStoryToBloomConverter.PS3Model
{
[XmlRoot("MSPhotoStoryProject", Namespace="MSPhotoStory")]
public class PhotoStoryProject
{
[XmlAttribute("schemaVersion")]
public string SchemaVersion;
... | using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
namespace PhotoStoryToBloomConverter.PS3Model
{
[XmlRoot("MSPhotoStoryProject", Namespace="MSPhotoStory")]
public class PhotoStoryProject
{
[XmlAttribute("schemaVersion")]
public string SchemaVersion;
... | Handle PS3 covers with no text | Handle PS3 covers with no text
| C# | mit | BloomBooks/PhotoStoryToBloomConverter,BloomBooks/PhotoStoryToBloomConverter |
165df6e1175898c4f3af1d3c55153cb26d759561 | Rant.Tests/Richard/Lists.cs | Rant.Tests/Richard/Lists.cs | using System.Linq;
using NUnit.Framework;
namespace Rant.Tests.Richard
{
[TestFixture]
public class Lists
{
private readonly RantEngine rant = new RantEngine();
[Test]
public void ListInitBare()
{
Assert.AreEqual("5", rant.Do("[@ x = 1, 2, 3, 4, 5; x.length ]"... | using System.Linq;
using NUnit.Framework;
namespace Rant.Tests.Richard
{
[TestFixture]
public class Lists
{
private readonly RantEngine rant = new RantEngine();
[Test]
public void ListInitBare()
{
Assert.AreEqual("5", rant.Do("[@ x = 1, 2, 3, 4, 5; x.length ]"... | Add test for returning empty list from script | Add test for returning empty list from script
| C# | mit | TheBerkin/Rant |
0d7a0dddfbc300793d185c8edc3ac85d4da1bb51 | Program.cs | Program.cs | using System;
namespace TDDUnit {
class TestTestCase : TestCase {
public TestTestCase(string name) : base(name) {
}
public void TestTemplateMethod() {
WasRunObj test = new WasRunObj("TestMethod");
test.Run();
Assert.That(test.Log == "SetUp TestMethod TearDown ");
}
public voi... | using System;
namespace TDDUnit {
class TestTestCase : TestCase {
public TestTestCase(string name) : base(name) {
}
public void TestTemplateMethod() {
WasRunObj test = new WasRunObj("TestMethod");
test.Run();
Assert.That(test.Log == "SetUp TestMethod TearDown ");
}
public voi... | Print results of running tests | Print results of running tests
| C# | apache-2.0 | yawaramin/TDDUnit |
0e223146934a62ed9e3de863f51fde1085b71f5e | osu.Framework.Tests/Platform/UserInputManagerTest.cs | osu.Framework.Tests/Platform/UserInputManagerTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture... | Add a bracket that somehow did not get comitted | Add a bracket that somehow did not get comitted
| C# | mit | peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,peppy/... |
c632864e7570f5a7b035b4f01703bc518d8ba462 | test/Stormpath.Owin.UnitTest/ConfigurationHelper.cs | test/Stormpath.Owin.UnitTest/ConfigurationHelper.cs | using System.Collections.Generic;
using Stormpath.Configuration.Abstractions;
using Stormpath.Owin.Abstractions.Configuration;
namespace Stormpath.Owin.UnitTest
{
public static class ConfigurationHelper
{
public static IntegrationConfiguration CreateFakeConfiguration(StormpathConfiguration config)
... | using System.Collections.Generic;
using Stormpath.Configuration.Abstractions;
using Stormpath.Owin.Abstractions.Configuration;
namespace Stormpath.Owin.UnitTest
{
public static class ConfigurationHelper
{
public static IntegrationConfiguration CreateFakeConfiguration(StormpathConfiguration config)
... | Fix missing API key error on AppVeyor | Fix missing API key error on AppVeyor
| C# | apache-2.0 | stormpath/stormpath-dotnet-owin-middleware |
332104801aa0ec44b5d70dff6a91b716f0b432aa | Oogstplanner.Web/Controllers/HomeController.cs | Oogstplanner.Web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using Oogstplanner.Common;
using Oogstplanner.Models;
using Oogstplanner.Services;
namespace Oogstplanner.Web.Controllers
{
[AllowAnonymous]
public class HomeController : Controller
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using Oogstplanner.Common;
using Oogstplanner.Models;
using Oogstplanner.Services;
namespace Oogstplanner.Web.Controllers
{
[AllowAnonymous]
public class HomeController : Controller
{
... | Remove dependency of home controller since it is no longer needed | Remove dependency of home controller since it is no longer needed
| C# | mit | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner |
1f9db3bda6a457f019c301208e9fa3bf4f5197fb | Core/Utils/WindowsUtils.cs | Core/Utils/WindowsUtils.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
Auth... | using System.Diagnostics;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
AuthorizationRuleCollec... | Rewrite folder write permission check to hopefully make it more reliable | Rewrite folder write permission check to hopefully make it more reliable
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
e512df4bd20587110ba2df1ead4dde9e3ecc2a38 | Mlabs.Ogg/src/OggReader.cs | Mlabs.Ogg/src/OggReader.cs | using System;
using System.IO;
using System.Linq;
namespace Mlabs.Ogg
{
public class OggReader
{
private readonly Stream m_fileStream;
private readonly bool m_owns;
public OggReader(string fileName)
{
if (fileName == null) throw new ArgumentNullException("fileName"... | using System;
using System.IO;
using System.Linq;
namespace Mlabs.Ogg
{
public class OggReader
{
private readonly Stream m_fileStream;
private readonly bool m_owns;
public OggReader(string fileName)
{
if (fileName == null) throw new ArgumentNullException("fileName"... | Make sure that the stream passed in ctor can be seeked and read | Make sure that the stream passed in ctor can be seeked and read
| C# | mit | paszczi/MLabs.Ogg |
46513a76073e2f2deb69f9aed902efba53cd937d | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | Add ToString to help with debuggign... :-) | Add ToString to help with debuggign... :-)
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
8c8bdbcd024abfde299d207178961964172f1527 | src/serilog-generator/Configuration/CurrentDirectoryAssemblyLoader.cs | src/serilog-generator/Configuration/CurrentDirectoryAssemblyLoader.cs | using System;
using System.IO;
using System.Reflection;
namespace Serilog.Generator.Configuration
{
static class CurrentDirectoryAssemblyLoader
{
public static void Install()
{
AppDomain.CurrentDomain.AssemblyResolve += (s, e) =>
{
var assemblyPath = Pat... | using System;
using System.IO;
using System.Reflection;
namespace Serilog.Generator.Configuration
{
static class CurrentDirectoryAssemblyLoader
{
public static void Install()
{
AppDomain.CurrentDomain.AssemblyResolve += (s, e) =>
{
var assemblyPath = Pat... | Fix assembly loading name format | Fix assembly loading name format
| C# | apache-2.0 | serilog/serilog-generator,kensykora/serilog-generator,serilog/serilog-generator |
9a05857a93412135a2a73d3c73144f95ede3cad1 | osu.Framework/Localisation/LocalisationParameters.cs | osu.Framework/Localisation/LocalisationParameters.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A set of parameters that control the way strings are localised.
/// </summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A set of parameters that control the way strings are localised.
/// </summary>
... | Add protected copy constructor to avoid breaking changes | Add protected copy constructor to avoid breaking changes
| C# | mit | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework |
ba63be2b636316459437e9ce95c467be3c03f48c | BankingManagementClient.Host.Web/Views/Home/Index.cshtml | BankingManagementClient.Host.Web/Views/Home/Index.cshtml | @model IEnumerable<BankingManagementClient.ProjectionStore.Projections.Client.ClientProjection>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.ElementAt(0)
... | @model IEnumerable<BankingManagementClient.ProjectionStore.Projections.Client.ClientProjection>
@{
ViewBag.Title = "Index";
}
<h2>Clients</h2>
@if (Model.Any())
{
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.ElementAt(0)
.ClientI... | Check if there are any Clients on the list page | Check if there are any Clients on the list page
| C# | mit | andrewgunn/CodeUtopia,andrewgunn/CodeUtopia,andrewgunn/CodeUtopia |
9014b1dc1fb68e8bbda2da6fe2a74404010ab1fa | src/ApiContractGenerator.MSBuild/GenerateApiContract.cs | src/ApiContractGenerator.MSBuild/GenerateApiContract.cs | using System.IO;
using ApiContractGenerator.AssemblyReferenceResolvers;
using ApiContractGenerator.MetadataReferenceResolvers;
using ApiContractGenerator.Source;
using Microsoft.Build.Framework;
namespace ApiContractGenerator.MSBuild
{
public sealed class GenerateApiContract : ITask
{
public IBuildEngi... | using System.IO;
using ApiContractGenerator.AssemblyReferenceResolvers;
using ApiContractGenerator.MetadataReferenceResolvers;
using ApiContractGenerator.Source;
using Microsoft.Build.Framework;
namespace ApiContractGenerator.MSBuild
{
public sealed class GenerateApiContract : ITask
{
public IBuildEngi... | Handle null arrays when MSBuild doesn't initialize task properties | Handle null arrays when MSBuild doesn't initialize task properties
| C# | mit | jnm2/ApiContractGenerator,jnm2/ApiContractGenerator |
535d5853aa85e72e8a3f9fdc5a4180dc41a39f9c | DesktopWidgets/Widgets/CountdownClock/Settings.cs | DesktopWidgets/Widgets/CountdownClock/Settings.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public Settings()
{
DateTimeFormat = new List<string> {"{dd}d {... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public Settings()
{
... | Change "Countdown" "End Sync" properties order | Change "Countdown" "End Sync" properties order
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
edd8eb261c434dd6256621f3f05e842356d48bf9 | src/Abp.Zero.NHibernate/Zero/NHibernate/EntityMappings/AbpTenantMap.cs | src/Abp.Zero.NHibernate/Zero/NHibernate/EntityMappings/AbpTenantMap.cs | using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.NHibernate.EntityMappings;
namespace Abp.Zero.NHibernate.EntityMappings
{
/// <summary>
/// Base class to map classes derived from <see cref="AbpTenant{TTenant,TUser}"/>
/// </summary>
/// <typeparam name="TTenant">Tenant type</typeparam>... | using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.NHibernate.EntityMappings;
namespace Abp.Zero.NHibernate.EntityMappings
{
/// <summary>
/// Base class to map classes derived from <see cref="AbpTenant{TUser}"/>
/// </summary>
/// <typeparam name="TTenant">Tenant type</typeparam>
///... | Fix cref attribute in XML comment | Fix cref attribute in XML comment
| C# | mit | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate |
ca01a2f2e82323df678c784ec967c0f80f12d284 | Octokit.Tests.Integration/Reactive/ObservableRepositoriesClientTests.cs | Octokit.Tests.Integration/Reactive/ObservableRepositoriesClientTests.cs | using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Integration
{
public class ObservableRepositoriesClientTests
{
public class TheGetMethod
{
[IntegrationTest]
public async Task Retur... | using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Integration
{
public class ObservableRepositoriesClientTests
{
public class TheGetMethod
{
[IntegrationTest]
public async Task Retur... | Update Assert call and mute the test | Update Assert call and mute the test
| C# | mit | shiftkey/octokit.net,adamralph/octokit.net,Sarmad93/octokit.net,alfhenrik/octokit.net,darrelmiller/octokit.net,brramos/octokit.net,dlsteuer/octokit.net,forki/octokit.net,gdziadkiewicz/octokit.net,nsrnnnnn/octokit.net,octokit-net-test/octokit.net,nsnnnnrn/octokit.net,ChrisMissal/octokit.net,mminns/octokit.net,geek0r/oct... |
9e872d77c1b2eafd1caf18d93cc19630bc1f249e | ExtensionsTests/XmlTests.cs | ExtensionsTests/XmlTests.cs | using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tyrrrz.Extensions.Tests
{
[TestClass]
public class XmlTests
{
[TestMethod]
public void StripNamespacesTest()
{
var ns = XNamespace.Get("http://schemas.domain.com/orders");
v... | using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tyrrrz.Extensions.Tests
{
[TestClass]
public class XmlTests
{
[TestMethod]
public void StripNamespacesTest()
{
var ns = XNamespace.Get("http://schemas.domain.com/orders");
v... | Add mutability test to StripNamespaces | Add mutability test to StripNamespaces
| C# | mit | Tyrrrz/Extensions |
d253f1a2560ebf38ff3bf3034e21f32d7f05b935 | projects/LockSample/source/LockSample.App/Program.cs | projects/LockSample/source/LockSample.App/Program.cs | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace LockSample
{
using Syste... | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace LockSample
{
using Syste... | Add basic integration test skeleton | Add basic integration test skeleton
| C# | unlicense | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync |
898166d264b7c81f748c28ff3e57d2366f495bc3 | src/CVaS.Web/Filters/HttpExceptionFilterAttribute.cs | src/CVaS.Web/Filters/HttpExceptionFilterAttribute.cs | using System;
using System.Net;
using CVaS.Shared.Exceptions;
using CVaS.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CVaS.Web.Filters
{
/// <summary>
/// Exception filter that catch exception of known type
/// and transform them into specific HTTP status c... | using System;
using System.Net;
using CVaS.Shared.Exceptions;
using CVaS.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CVaS.Web.Filters
{
/// <summary>
/// Exception filter that catch exception of known type
/// and transform them into specific HTTP status c... | Return 403 instead of 401 | Return 403 instead of 401
| C# | mit | adamjez/CVaS,adamjez/CVaS,adamjez/CVaS |
2b1306e8b34f494bbe5fe48f90f90bd6c0c480e1 | proj/SecurityServer/proj/Common/SecurityHelper.cs | proj/SecurityServer/proj/Common/SecurityHelper.cs | using System.Configuration;
using System.IdentityModel.Tokens;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using System.Web.Hosting;
namespace Dragon.SecurityServer.Common
{
public class SecurityHelper
{
public static X509SigningCredentials CreateSignupCredentialsFromConfig()... | using System.Configuration;
using System.IdentityModel.Tokens;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using System.Web.Hosting;
namespace Dragon.SecurityServer.Common
{
public class SecurityHelper
{
public static X509SigningCredentials CreateSignupCredentialsFromConfig()... | Allow reading certificates from local files | Allow reading certificates from local files
| C# | mit | jbinder/dragon,jbinder/dragon,aduggleby/dragon,jbinder/dragon,aduggleby/dragon,aduggleby/dragon |
7a0aba8b50a7ddb2d745dfac8f826fd44989e5ce | compiler/NUnit.Tests/MiddleEnd/InstructionTests.cs | compiler/NUnit.Tests/MiddleEnd/InstructionTests.cs | using compiler.middleend.ir;
using NUnit.Framework;
namespace NUnit.Tests.MiddleEnd
{
[TestFixture]
public class InstructionTests
{
[Test]
public void ToStringTest()
{
var inst1 = new Instruction(IrOps.Add, new Operand(Operand.OpType.Constant, 10),
new O... | using compiler.middleend.ir;
using NUnit.Framework;
namespace NUnit.Tests.MiddleEnd
{
[TestFixture]
public class InstructionTests
{
[Test]
public void ToStringTest()
{
var inst1 = new Instruction(IrOps.Add, new Operand(Operand.OpType.Constant, 10),
new O... | Fix error in unit test from changing the ToString | Fix error in unit test from changing the ToString
| C# | mit | ilovepi/Compiler,ilovepi/Compiler |
305caa10dca2afd98a56218ba5e875ae22603d98 | Properties/AssemblyInfo.cs | 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("To... | 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("To... | Update copyright statement to 2014 | Update copyright statement to 2014
| C# | apache-2.0 | SoftwarePunt/Pomodoro |
10f69b18c6dbf6fb1bf713be760c15d70a054602 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.Mef")]
[assembly: AssemblyDescription("")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.Mef")]
| Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Mef |
17767009b4c6e2b4781345a44ed26adc7c73b091 | core/UnityPackage/Assets/Middlewares/EntityNetwork/ClientEntityFactory.cs | core/UnityPackage/Assets/Middlewares/EntityNetwork/ClientEntityFactory.cs | using System;
using EntityNetwork;
using EntityNetwork.Unity3D;
using UnityEngine;
public class ClientEntityFactory : IClientEntityFactory
{
private static ClientEntityFactory _default;
public static ClientEntityFactory Default
{
get { return _default ?? (_default = new ClientEntityFactory()); }
... | using System;
using System.Collections.Concurrent;
using EntityNetwork;
using EntityNetwork.Unity3D;
using UnityEngine;
public class ClientEntityFactory : IClientEntityFactory
{
private static ClientEntityFactory _default;
public static ClientEntityFactory Default
{
get { return _default ?? (_def... | Fix a build error of UnityPackage | Fix a build error of UnityPackage
| C# | mit | SaladbowlCreative/EntityNetwork |
6484f7d6930c7aa09a65e8c861260c5ada3e2ca0 | src/Moq/Moq/contentFiles/cs/netstandard2.0/Mocks/Mock.cs | src/Moq/Moq/contentFiles/cs/netstandard2.0/Mocks/Mock.cs | namespace Moq
{
using System;
using System.CodeDom.Compiler;
using System.Reflection;
using System.Runtime.CompilerServices;
using Moq.Sdk;
/// <summary>
/// Instantiates mocks for the specified types.
/// </summary>
[GeneratedCode("Moq", "5.0")]
[CompilerGenerated]
partial ... | using System;
using System.CodeDom.Compiler;
using System.Reflection;
using System.Runtime.CompilerServices;
using Moq.Sdk;
namespace Moq
{
/// <summary>
/// Instantiates mocks for the specified types.
/// </summary>
[GeneratedCode("Moq", "5.0")]
[CompilerGenerated]
partial class Mock
{
... | Unify namespace placement with the .Overloads partial class | Unify namespace placement with the .Overloads partial class
| C# | apache-2.0 | Moq/moq |
c11221ffa8dd5f95ed110fcde269955c735077b6 | Collections/Paging/PagingHelpers.cs | Collections/Paging/PagingHelpers.cs | using System;
using System.Linq;
namespace Smartrak.Collections.Paging
{
public static class PagingHelpers
{
/// <summary>
/// Gets a paged list of entities with the total appended to each row in the resultset. This is a faster way of doing things than using 2 seperate queries
/// </summary>
/// <typeparam ... | using System;
using System.Linq;
namespace Smartrak.Collections.Paging
{
public static class PagingHelpers
{
/// <summary>
/// Gets a paged list of entities with the total appended to each row in the resultset. This is a faster way of doing things than using 2 seperate queries
/// </summary>
/// <typeparam ... | Revert "Removing 'zzz' from method name" | Revert "Removing 'zzz' from method name"
This reverts commit 05e1115699ce4f4550dd112b06bb8ba107daacd0.
| C# | mit | Smartrak/Smartrak.Library |
ff125f4c71a4f6ee0d8cd746469b3fbb9530bc6d | osu.Game.Tournament.Tests/TestCaseLadderManager.cs | osu.Game.Tournament.Tests/TestCaseLadderManager.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using osu.Framework.Allocation;
using osu.Game.Tests.Visual;
using osu.Game.Tournament.Componen... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using osu.Framework.Allocation;
using osu.Game.Tests.Visual;
using osu.Game.Tournament.Componen... | Reduce noise in json output and handle the case the file doesn't exist | Reduce noise in json output and handle the case the file doesn't exist
| C# | mit | smoogipoo/osu,ZLima12/osu,UselessToucan/osu,smoogipooo/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,ZLima12/osu,peppy/osu-new,2yangk23/osu,NeoAdonis/osu,peppy/osu,peppy/osu,johnneijzen/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu... |
b4577dcb45603aba46bc037154a039cca2835ce3 | MoviesSystem/WpfMovieSystem/Views/InsertWindowView.xaml.cs | MoviesSystem/WpfMovieSystem/Views/InsertWindowView.xaml.cs | using MoviesSystem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace WpfMovieSystem.Views
{
/// <summary>
/// Interaction logic for InsertWindowView.xaml
/// </summary>
public partial class Insert... | using MoviesSystem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace WpfMovieSystem.Views
{
/// <summary>
/// Interaction logic for InsertWindowView.xaml
/// </summary>
public partial class Insert... | Add restrictions when creating the movie collection | Add restrictions when creating the movie collection
| C# | mit | Brevering/Databases_2017_Teamwork |
46a20a12b243fc98c3d960848f48a0da62a54d62 | Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowIds.cs | Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowIds.cs | namespace TraktApiSharp.Objects.Get.Shows
{
using Basic;
public class TraktShowIds : TraktIds
{
}
}
| namespace TraktApiSharp.Objects.Get.Shows
{
using Basic;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt show.</summary>
public class TraktShowIds : TraktIds
{
}
}
| Add documentation for show ids. | Add documentation for show ids.
| C# | mit | henrikfroehling/TraktApiSharp |
37480c80bea1c36168e4a1331e32fc20bceb66e8 | src/DiplomContentSystem/Requests/RequestService.cs | src/DiplomContentSystem/Requests/RequestService.cs | using System;
using System.Net.Http;
using Newtonsoft.Json;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace DiplomContentSystem.Requests
{
public class RequestService
{
public async Task<Stream> SendRequest(object data)
{
... | using System;
using System.Net.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace DiplomContentSystem.Requests
{
public class RequestService
{
public async Task<Stream> SendReque... | Update json.net to use new MIME, encoding and camelCase formatting | DCS-30: Update json.net to use new MIME, encoding and camelCase formatting
| C# | apache-2.0 | denismaster/DiplomContentSystem,denismaster/DiplomContentSystem,denismaster/DiplomContentSystem,denismaster/DiplomContentSystem |
a8910f646288d38aa5614da78036961b76e3f893 | src/Dapper.FluentMap/Utils/DictionaryExtensions.cs | src/Dapper.FluentMap/Utils/DictionaryExtensions.cs | using System.Collections.Generic;
namespace Dapper.FluentMap.Utils
{
internal static class DictionaryExtensions
{
internal static void AddOrUpdate<TKey, TValue>(this IDictionary<TKey, IList<TValue>> dict, TKey key, TValue value)
{
if (dict.ContainsKey(key))
{
... | using System.Collections.Generic;
namespace Dapper.FluentMap.Utils
{
internal static class DictionaryExtensions
{
internal static void AddOrUpdate<TKey, TValue>(this IDictionary<TKey, IList<TValue>> dict, TKey key, TValue value)
{
if (dict.ContainsKey(key))
{
... | Use a list rather than a fixed-size array. | Use a list rather than a fixed-size array.
| C# | mit | bondarenkod/Dapper-FluentMap,henkmollema/Dapper-FluentMap,arumata/Dapper-FluentMap,thomasbargetz/Dapper-FluentMap,henkmollema/Dapper-FluentMap |
e93d3ac5865df32386a49bd8796b90e47b34cb5b | src/Edulinq/Repeat.cs | src/Edulinq/Repeat.cs | #region Copyright and license information
// Copyright 2010-2011 Jon Skeet
//
// 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
... | #region Copyright and license information
// Copyright 2010-2011 Jon Skeet
//
// 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
... | Make the implementation method private. | Make the implementation method private.
| C# | apache-2.0 | jskeet/edulinq,pyaria/edulinq,zhangz/edulinq,pyaria/edulinq,jskeet/edulinq,jskeet/edulinq,zhangz/edulinq,iainholder/edulinq,iainholder/edulinq |
1ede8bce480c355f9172995c384d75ca6211769a | Mycroft.Tests/TestCommandConnection.cs | Mycroft.Tests/TestCommandConnection.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mycroft;
using System.IO;
using System.Diagnostics;
namespace Mycroft.Tests
{
[TestClass]
public class TestCommandConnection
{
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mycroft;
using System.IO;
using System.Diagnostics;
namespace Mycroft.Tests
{
[TestClass]
public class TestCommandConnection
{
... | Fix CommandConnection methods in Test | Fix CommandConnection methods in Test
| C# | bsd-3-clause | rit-sse-mycroft/core |
9a21ab0ef479a944b1c5ad54339eeb36c20277e9 | app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | using System;
using Newtonsoft.Json;
namespace Archetype.Models
{
public class ArchetypePreValueProperty
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("remove")]
public bool Remove { get; set; }
[JsonProperty("collapse")]
public boo... | using System;
using Newtonsoft.Json;
namespace Archetype.Models
{
public class ArchetypePreValueProperty
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("remove")]
public bool Remove { get; set; }
[JsonProperty("collapse")]
public boo... | Fix deserialization of RegEx enabled properties | Fix deserialization of RegEx enabled properties
Fix type mismatch for RegEx (introduced in 6e50301 - my bad, sorry)
| C# | mit | imulus/Archetype,tomfulton/Archetype,kgiszewski/Archetype,kgiszewski/Archetype,tomfulton/Archetype,kjac/Archetype,kgiszewski/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,kipusoep/Archetype,tomfulton/Archetype,kipusoep/Archetype,kjac/Archetype,imulus/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,imulus/Ar... |
ab27fe4236fb34433257ed883f966f5deb51cbac | test/FunctionalTestUtils/BackTelemetryChannel.cs | test/FunctionalTestUtils/BackTelemetryChannel.cs | namespace FunctionalTestUtils
{
using System;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Channel;
public class BackTelemetryChannel : ITelemetryChannel
{
private IList<ITelemetry> buffer;
public BackTelemetryChannel()
{
this.buffer = ... | namespace FunctionalTestUtils
{
using System;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Channel;
public class BackTelemetryChannel : ITelemetryChannel
{
private IList<ITelemetry> buffer;
public BackTelemetryChannel()
{
this.buffer = ... | Add flush for mock channel | Add flush for mock channel
| C# | mit | Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5 |
b706a1667f3c1a901930345a225da1fa27bc1c81 | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Andrew Davey")]
[assembly: AssemblyProduct("Cassette")]
[assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")]
// NOTE: When changing this version, also update Cassette.MSBuild\Cassette.targets to match.
[assembly: AssemblyInformationalVersion("2.0.... | using System.Reflection;
[assembly: AssemblyCompany("Andrew Davey")]
[assembly: AssemblyProduct("Cassette")]
[assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")]
[assembly: AssemblyInformationalVersion("2.0.0-beta1")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyFileVersion("2.0.0.0"... | Set nuget package version to 2.0.0-beta1 | Set nuget package version to 2.0.0-beta1
| C# | mit | damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette |
18ac0e45c7b406abf50cf02f69a9626ee9f5d324 | src/DotVVM.Framework/Diagnostics/DotvvmDiagnosticsConfiguration.cs | src/DotVVM.Framework/Diagnostics/DotvvmDiagnosticsConfiguration.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace DotVVM.Framework.Diagnostics
{
public class DotvvmDiagnosticsConfiguration
{
public DotvvmDiagnosticsConfiguration()
{
LoadConfiguration();
}
priva... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace DotVVM.Framework.Diagnostics
{
public class DotvvmDiagnosticsConfiguration
{
public DotvvmDiagnosticsConfiguration()
{
LoadConfiguration();
}
priva... | Remove redundant configuration loading of diagnostics configuration | Remove redundant configuration loading of diagnostics configuration
| C# | apache-2.0 | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm |
cf180b9f1497f2c08bd4745e3820cc9a334bfec3 | src/OmniSharp.Roslyn.CSharp/Helpers/LocationExtensions.cs | src/OmniSharp.Roslyn.CSharp/Helpers/LocationExtensions.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.Models;
namespace OmniSharp.Helpers
{
public static class LocationExtensions
{
public static QuickFix GetQuickFix(this Location location, OmniSharpWorkspace workspace)
{
if ... | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.Models;
namespace OmniSharp.Helpers
{
public static class LocationExtensions
{
public static QuickFix GetQuickFix(this Location location, OmniSharpWorkspace workspace)
... | Exclude Cake files from line span mapping | Exclude Cake files from line span mapping
| C# | mit | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.