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 |
|---|---|---|---|---|---|---|---|---|---|
d3af3ff05dad12e8c9b7d894b011f623b1f3851a | BatteryCommander.Common/Models/Rank.cs | BatteryCommander.Common/Models/Rank.cs | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Common.Models
{
public enum Rank
{
[Display(Name = "PVT")]
E1 = 1,
[Display(Name = "PV2")]
E2 = 2,
[Display(Name = "PFC")]
E3 = 3,
[Display(Name = "SPC")]
E4 = 4,
... | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Common.Models
{
public enum Rank
{
[Display(Name = "PVT")]
E1 = 1,
[Display(Name = "PV2")]
E2 = 2,
[Display(Name = "PFC")]
E3 = 3,
[Display(Name = "SPC")]
E4 = 4,
... | Add a display property for cadet rank | Add a display property for cadet rank
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
41cf2b9575075b07d8aa55607ddfdf8c78766f22 | src/Common/CommonAssemblyInfo.cs | src/Common/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("NuProj")]
[assembly: AssemblyCopyright("Copyright © Immo Landwerth")]
[assembly: AssemblyTrademark("")]
[assembly : AssemblyMetadata("PreRelease", "Beta")]
[assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.code... | using System.Reflection;
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("NuProj")]
[assembly: AssemblyCopyright("Copyright © Immo Landwerth")]
[assembly: AssemblyTrademark("")]
[assembly : AssemblyMetadata("PreRelease", "Beta")]
[assembly : AssemblyMetadata("ProjectUrl", "http://github.com/... | Update project and license URLs | Update project and license URLs
| C# | mit | PedroLamas/nuproj,faustoscardovi/nuproj,kovalikp/nuproj,DavidAnson/nuproj,DavidAnson/nuproj,AArnott/nuproj,nuproj/nuproj,NN---/nuproj,ericstj/nuproj,oliver-feng/nuproj,zbrad/nuproj |
b88c441d8be6cbd2c2707938369539ef61dccf08 | src/AppHarbor/AppHarborInstaller.cs | src/AppHarbor/AppHarborInstaller.cs | using System.Reflection;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.Resolvers.SpecializedResolvers;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace AppHarbor
{
public class AppHarborInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer contai... | using System.Reflection;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.Resolvers.SpecializedResolvers;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace AppHarbor
{
public class AppHarborInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer contai... | Make sure to register interface rather than implementation | Make sure to register interface rather than implementation
| C# | mit | appharbor/appharbor-cli |
2b33c5cfd75fc979f259a2eceab3f5ff5a8ae191 | src/Umbraco.Web/Trees/MemberTypeTreeController.cs | src/Umbraco.Web/Trees/MemberTypeTreeController.cs | using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using Umbraco.Core;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
namespace Umbraco.Web.Trees
{
[CoreTree(TreeGroup =Constants.Trees.Groups.Settings)]
[UmbracoTreeAuthorize(Constants.Trees.MemberTypes)]
... | using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using Umbraco.Core;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
namespace Umbraco.Web.Trees
{
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
[UmbracoTreeAuthorize(Constants.Trees.MemberTypes)]... | Fix for chekcing the children belonging to MemberType tree. | Fix for chekcing the children belonging to MemberType tree.
| C# | mit | WebCentrum/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,madsoulswe/Umbraco-CMS,tompipe/Umb... |
d455ab9ffe38b35765aa84b0d6bb08e65ec99dd5 | CupCake.DefaultCommands/Commands/User/KickCommand.cs | CupCake.DefaultCommands/Commands/User/KickCommand.cs | using CupCake.Command;
using CupCake.Command.Source;
using CupCake.Permissions;
using CupCake.Players;
namespace CupCake.DefaultCommands.Commands.User
{
public sealed class KickCommand : UserCommandBase
{
[MinGroup(Group.Trusted)]
[Label("kick", "kickplayer")]
[CorrectUsage("[player] [... | using System.Runtime.InteropServices;
using CupCake.Command;
using CupCake.Command.Source;
using CupCake.Permissions;
using CupCake.Players;
namespace CupCake.DefaultCommands.Commands.User
{
public sealed class KickCommand : UserCommandBase
{
[MinGroup(Group.Trusted)]
[Label("kick", "kickplaye... | Add default kick message, inform who the kicker was | Add default kick message, inform who the kicker was
| C# | mit | Yonom/CupCake |
895e517809b21089cf6182c39476b6169f40d3fc | src/IntelliTect.Coalesce.Tests/TargetClasses/TestDbContext/TestDbContext.cs | src/IntelliTect.Coalesce.Tests/TargetClasses/TestDbContext/TestDbContext.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace IntelliTect.Coalesce.Tests.TargetClasses.TestDbContext
{
[Coalesce]
public class TestDbContext : DbContext
{
public DbSet<Person> People { get; set; }
public DbSet<Case> Cases ... | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using System;
using System.Collections.Generic;
using System.Text;
namespace IntelliTect.Coalesce.Tests.TargetClasses.TestDbContext
{
[Coalesce]
public class TestDbContext : DbContext
{
public DbSet<Person> Peopl... | Fix tests - apparently CoreEventId.NavigationBaseIncludeIgnored now defaults to Error in EF Core 6. | Fix tests - apparently CoreEventId.NavigationBaseIncludeIgnored now defaults to Error in EF Core 6.
| C# | apache-2.0 | IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce |
885f548a34c2d6ab01e33be5a92f841efe40ef6c | src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.... | Fix link to remote R setup | Fix link to remote R setup
| C# | mit | MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSh... |
ad301dfb7f6d2bf80ff75252eeec0c903a43661a | Pequot/SerializableSettings.cs | Pequot/SerializableSettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace Pequot
{
[XmlRoot("settings")]
public class SerializableSettings
: Dictionary<string, string>, IXmlSerializable
{
#region IXmlSerializ... | using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
namespace Pequot
{
[XmlRoot("settings")]
public class SerializableSettings
: Dictionary<string, string>, IXmlSerializable
{
#region IXmlSerializable Members
public System.Xml... | Make saved settings more readable | Make saved settings more readable
Still to do: make converter for old format
| C# | mit | NJAldwin/Pequot |
3b188bbea82e43d1ea7b421ae8bd0b0080143bf4 | test/WindowsStore/MainPage.xaml.cs | test/WindowsStore/MainPage.xaml.cs | namespace Nine.Application.WindowsStore.Test
{
using System;
using System.Reflection;
using Windows.UI.Xaml.Controls;
using Xunit;
using Xunit.Abstractions;
public sealed partial class MainPage : Page, IMessageSink
{
public MainPage()
{
InitializeComponent();
... | namespace Nine.Application.WindowsStore.Test
{
using System;
using System.Reflection;
using Windows.UI.Xaml.Controls;
using Xunit;
using Xunit.Abstractions;
public sealed partial class MainPage : Page, IMessageSink
{
public MainPage()
{
InitializeComponent();
... | Remove windows store test runner | Remove windows store test runner
| C# | mit | yufeih/Nine.Application,studio-nine/Nine.Application |
8400e8ca7c32ce44a0b8051311bec2cc6f80f138 | test/support/BaseTestFormats.cs | test/support/BaseTestFormats.cs | using Xunit;
using System.Globalization;
using System.Threading;
namespace CronExpressionDescriptor.Test.Support
{
public abstract class BaseTestFormats
{
protected virtual string GetLocale()
{
return "en-US";
}
protected string GetDescription(string e... | using Xunit;
using System.Globalization;
using System.Threading;
namespace CronExpressionDescriptor.Test.Support
{
public abstract class BaseTestFormats
{
protected virtual string GetLocale()
{
return "en-US";
}
protected string GetDescription(string expression, bo... | Add verbose option for tests | Add verbose option for tests
| C# | mit | bradyholt/cron-expression-descriptor,bradyholt/cron-expression-descriptor |
7907b2bde9cc7056d0fd1e47128f9b13dfc18f5b | Assets/Scripts/Trampoline.cs | Assets/Scripts/Trampoline.cs | using UnityEngine;
using System.Collections;
public class Trampoline : MonoBehaviour {
public float velocityX;
public float velocityY;
public Input button;
void OnTriggerStay2D(Collider2D other) {
if (other.gameObject.tag == "Player") {
if(button){
other.rigidbody2D.AddForce(new Vector2(velocityX,velo... | using UnityEngine;
using System.Collections;
public class Trampoline : MonoBehaviour {
public float velocityX;
public float velocityY;
void OnTriggerStay2D(Collider2D other) {
if (other.gameObject.tag == "Player") {
other.rigidbody2D.AddForce(new Vector2(velocityX,velocityY));
//other.rigidbody2D.velocit... | Revert "Tried to Figure Out Button: Failed" | Revert "Tried to Figure Out Button: Failed"
This reverts commit 22e4c8b1b383f6ef364cbf8209c1026530bc9414.
| C# | apache-2.0 | aarya123/IshanGame |
88d1cbdf7c4a242be0dfcea7ecd96b0773972a84 | SampleApplication/Program.cs | SampleApplication/Program.cs | using System;
using Microsoft.SPOT;
using MicroTweet;
using System.Net;
using System.Threading;
namespace SampleApplication
{
public class Program
{
public static void Main()
{
// Wait for DHCP
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any)
T... | using System;
using Microsoft.SPOT;
using MicroTweet;
using System.Net;
using System.Threading;
namespace SampleApplication
{
public class Program
{
public static void Main()
{
// Wait for DHCP
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any)
T... | Modify sample application to show details about the posted tweet | Modify sample application to show details about the posted tweet
| C# | apache-2.0 | misenhower/MicroTweet |
7ee02c4b38da37f996e740e6821159d3c98ca8f4 | Ooui.Forms/Renderers/ScrollViewRenderer.cs | Ooui.Forms/Renderers/ScrollViewRenderer.cs | using System;
using System.ComponentModel;
using Ooui.Forms.Extensions;
using Xamarin.Forms;
namespace Ooui.Forms.Renderers
{
public class ScrollViewRenderer : ViewRenderer<ScrollView, Div>
{
protected override void OnElementChanged (ElementChangedEventArgs<ScrollView> e)
{
base.On... | using System;
using System.ComponentModel;
using Ooui.Forms.Extensions;
using Xamarin.Forms;
namespace Ooui.Forms.Renderers
{
public class ScrollViewRenderer : VisualElementRenderer<ScrollView>
{
bool disposed = false;
protected override void OnElementChanged (ElementChangedEventArgs<ScrollVi... | Add ScrollTo support to ScrollView | Add ScrollTo support to ScrollView
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui |
039f0dd5716d16db57f2f70cc7040d8ed3e80f0d | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.Multitenant")]
[assembly: AssemblyDescription("Autofac multitenancy support library.")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.Multitenant")]
[assembly: ComVisible(false)] | 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.Multitenant |
3b6a8d803a5507a21e936ae991b8d6fea5a46ef8 | WebAPI.API/App_Start/ModelBindingConfig.cs | WebAPI.API/App_Start/ModelBindingConfig.cs | using System.Web.Http.Controllers;
using System.Web.Http.ModelBinding;
using WebAPI.API.ModelBindings.Providers;
namespace WebAPI.API
{
public class ModelBindingConfig
{
public static void RegisterModelBindings(ServicesContainer services)
{
services.Add(typeof (ModelBinderProvider)... | using System.Web.Http.Controllers;
using System.Web.Http.ModelBinding;
using WebAPI.API.ModelBindings.Providers;
namespace WebAPI.API
{
public class ModelBindingConfig
{
public static void RegisterModelBindings(ServicesContainer services)
{
services.Add(typeof (ModelBinderProvider)... | Add model binder to binding config | Add model binder to binding config
| C# | mit | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov |
1826965ea15fe44ecd590b60f43c72686eb4b51a | src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs | src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.OL... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.OL... | Address null ref when we can't get an Undo manager. | Address null ref when we can't get an Undo manager.
| C# | mit | mattwar/roslyn,Hosch250/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,aelij/roslyn,jmarolf/roslyn,AmadeusW/roslyn,pdelvo/roslyn,stephentoub/roslyn,agocke/roslyn,pdelvo/roslyn,mattwar/roslyn,TyOverby/roslyn,CyrusNajmabadi/roslyn,Giftednewt/roslyn,mattscheffer/roslyn,drognanar/roslyn,khyperia/roslyn,aelij/roslyn,dir... |
345430ab39d45f7d47231b080472bb660c364e0a | osu.Game.Rulesets.Mania/Skinning/Argon/ArgonHitTarget.cs | osu.Game.Rulesets.Mania/Skinning/Argon/ArgonHitTarget.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Rulesets.Mania.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;... | Fix argon hit target area not being aligned correctly | Fix argon hit target area not being aligned correctly
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu |
c8900f4f4610519ff6de5ca721ae5649681628cc | src/Fixie/ClassExecution.cs | src/Fixie/ClassExecution.cs | using System;
using System.Collections.Generic;
namespace Fixie
{
public class ClassExecution
{
public ClassExecution(ExecutionPlan executionPlan, Type testClass, CaseExecution[] caseExecutions)
{
ExecutionPlan = executionPlan;
TestClass = testClass;
CaseExe... | using System;
using System.Collections.Generic;
namespace Fixie
{
public class ClassExecution
{
public ClassExecution(ExecutionPlan executionPlan, Type testClass, IReadOnlyList<CaseExecution> caseExecutions)
{
ExecutionPlan = executionPlan;
TestClass = testClass;
... | Declare array parameter as an IReadOnlyList<T> since the array need not be used as mutable. | Declare array parameter as an IReadOnlyList<T> since the array need not be used as mutable.
| C# | mit | EliotJones/fixie,Duohong/fixie,bardoloi/fixie,bardoloi/fixie,fixie/fixie,KevM/fixie,JakeGinnivan/fixie |
cde72f385cb18e3d1c6e8ebcd10e6e7177592c57 | SampleDiscoverableModule/Program.cs | SampleDiscoverableModule/Program.cs | using System;
using RSB;
using RSB.Diagnostics;
using RSB.Transports.RabbitMQ;
namespace SampleDiscoverableModule
{
class Program
{
static void Main(string[] args)
{
var bus = new Bus(RabbitMqTransport.FromConfigurationFile());
var diagnostics = new BusDiagnostics(bus,... | using System;
using System.Threading;
using RSB;
using RSB.Diagnostics;
using RSB.Transports.RabbitMQ;
namespace SampleDiscoverableModule
{
class Program
{
static void Main(string[] args)
{
var bus = new Bus(RabbitMqTransport.FromConfigurationFile());
bus.UseBusDiagnos... | Refactor to use UseBusDiagnostics extension | Refactor to use UseBusDiagnostics extension
| C# | bsd-3-clause | tomaszkiewicz/rsb |
7956070a562990a7ac8b3c57861ad725efeb93d1 | AudioSharp.Config/ConfigHandler.cs | AudioSharp.Config/ConfigHandler.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Input;
using AudioSharp.Utils;
using Newtonsoft.Json;
namespace AudioSharp.Config
{
public class ConfigHandler
{
public static void SaveConfig(Configuration config)
{
string json = JsonConvert.Seri... | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Input;
using AudioSharp.Utils;
using Newtonsoft.Json;
namespace AudioSharp.Config
{
public class ConfigHandler
{
public static void SaveConfig(Configuration config)
{
string json = JsonConvert.Seri... | Include the recording number in the default format | Include the recording number in the default format
| C# | mit | Heufneutje/AudioSharp,Heufneutje/HeufyAudioRecorder |
eb4a6351706a99a682778e8b8841c80a075dffa8 | JoinRpg.Web.Test/EnumTests.cs | JoinRpg.Web.Test/EnumTests.cs | using JoinRpg.Domain;
using JoinRpg.Services.Interfaces;
using JoinRpg.TestHelpers;
using JoinRpg.Web.Models;
using Xunit;
namespace JoinRpg.Web.Test
{
public class EnumTests
{
[Fact]
public void ProblemEnum()
{
EnumerationTestHelper.CheckEnums<UserExtensions.AccessReason, ... | using JoinRpg.Domain;
using JoinRpg.Services.Interfaces;
using JoinRpg.TestHelpers;
using JoinRpg.Web.Models;
using Xunit;
namespace JoinRpg.Web.Test
{
public class EnumTests
{
[Fact]
public void AccessReason() => EnumerationTestHelper.CheckEnums<UserExtensions.AccessReason, AccessReason>();
... | Split enum test to 4 separate | Split enum test to 4 separate
| C# | mit | joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net |
3864da3fcbfb045b7d86f703a0d5d95f84b1db1f | src/BmpListener/Bgp/IPAddrPrefix.cs | src/BmpListener/Bgp/IPAddrPrefix.cs | using System;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
public IPAddrPrefix(byte[] data, int offset, AddressFamily afi = AddressFamily.IP)
{
DecodeFromBytes(data, offset, afi);
}
internal int ByteLength { get { return 1 + (Length + 7... | using System;
using System.Linq;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
// RFC 4721 4.3
// The Type field indicates the length in bits of the IP address prefix.
public int Length { get; private set; }
public IPAddress Prefix { get; private set... | Return prefix and byte length | Return prefix and byte length
| C# | mit | mstrother/BmpListener |
ea7f46fcbdd81d287bce2d3df41bdd9b2e8b5108 | src/StephJob/Views/Home/Data.cshtml | src/StephJob/Views/Home/Data.cshtml | @{
ViewData["Title"] = "Data sources";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>
| @{
ViewData["Title"] = "Data sources";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>
http://www.oxfordmartin.ox.ac.uk/downloads/academic/The_Future_of_Employment.pdf
| Add FutureEmployment to data sources. | Add FutureEmployment to data sources.
| C# | mit | FrancisGrignon/StephJob,FrancisGrignon/StephJob,FrancisGrignon/StephJob,FrancisGrignon/StephJob,FrancisGrignon/StephJob |
d41952471670f8482f91dc6f09d82f825b4c4a18 | ISWebTest/Views/Home/Index.cshtml | ISWebTest/Views/Home/Index.cshtml | @{
Layout = null;
@using ISWebTest.ExtensionMethods;
@using ISWebTest.Controllers;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title></title>
</head>
<body>
<div>
<a href="@{Url.Action<HomeController>(nameof(HomeController.Analyze))}">TEST</a>
... |
@using ISWebTest.ExtensionMethods;
@using ISWebTest.Controllers;
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title></title>
</head>
<body>
<div>
<a href="@(Url.Action<HomeController>(nameof(HomeController.Analyze)))">TEST</a>
</div>
</body>
</html>
| Clean up syntax of index page | Clean up syntax of index page
| C# | mit | MrDoomBringer/ISWebTest |
58977bcc80b26d202adad1e5d454cc747f7ad18c | src/ifvm.core/Execution/Interpreter.cs | src/ifvm.core/Execution/Interpreter.cs | using IFVM.Core;
namespace IFVM.Execution
{
public partial class Interpreter
{
public static uint Execute(Function function)
{
return 0;
}
}
}
| using System;
using IFVM.Ast;
using IFVM.Collections;
using IFVM.Core;
using IFVM.FlowAnalysis;
namespace IFVM.Execution
{
public partial class Interpreter
{
public static uint Execute(Function function, Machine machine)
{
var cfg = ControlFlowGraph.Compute(function.Body);
... | Add interpreter with skeleton game loop | Add interpreter with skeleton game loop
| C# | mit | DustinCampbell/ifvm |
efe39e43f5338b0cf5d1a1b9deeaa22a788e6267 | test/Microsoft.AspNet.Routing.Tests/RouteOptionsTests.cs | test/Microsoft.AspNet.Routing.Tests/RouteOptionsTests.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.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Op... | // 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;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Op... | Remove test the `[NotNull]` move makes irrelevant | Remove test the `[NotNull]` move makes irrelevant
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
d324a2fda62f0b6b0d6ea2498b5443b96cfe39f4 | Dbot.Utility/Settings.cs | Dbot.Utility/Settings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dbot.Utility {
public static class Settings {
public const int MessageLogSize = 200; // aka context size
public static readonly TimeSpan UserCommandInterval = TimeSpan.FromSeconds(10... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dbot.Utility {
public static class Settings {
public const int MessageLogSize = 200; // aka context size
public static readonly TimeSpan UserCommandInterval = TimeSpan.FromSeconds(10... | Set NukeLoopWait and AegisLoopWait to 0 as per sztanpet. | Set NukeLoopWait and AegisLoopWait to 0 as per sztanpet.
| C# | mit | destinygg/bot |
20a50ddb6e0639adc5980a4e2c6c85ad2c4d13aa | osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs | osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.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.Screens;
using osu.Game.Overlays.FirstRunSetup;
namespace osu.Game.Tests.Visual.UserInterface
{
public class TestSceneFirstRunScreenUIScale : Osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Game.Overlays;
using osu.Game.Overlays.FirstRunSetup;
namespace osu.Game.Tests.Visual.UserInterfac... | Add missing `OverlayColourProvider` in test scene | Add missing `OverlayColourProvider` in test scene
| C# | mit | ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
6ef848c6489f428a5f2f57f9196a96ee2aa9a8b9 | Farity.Tests/AlwaysTests.cs | Farity.Tests/AlwaysTests.cs | using Xunit;
namespace Farity.Tests
{
public class AlwaysTests
{
[Fact]
public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways()
{
var answerToLifeUniverseAndEverything = F.Always(42);
var answer = answerToLifeUniverseAndEverything();
Assert... | using Xunit;
namespace Farity.Tests
{
public class AlwaysTests
{
[Fact]
public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways()
{
const int expected = 42;
var answerToLifeUniverseAndEverything = F.Always(expected);
Assert.Equal(expected, an... | Use expected in tests for F.Always | Use expected in tests for F.Always
| C# | mit | farity/farity |
0c4ea4beb102d0df710c94472a2fc92ed8e36e20 | osu.Game.Tournament.Tests/TestCaseBeatmapPanel.cs | osu.Game.Tournament.Tests/TestCaseBeatmapPanel.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Onli... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using o... | Allow dynamic recompilation of beatmap panel testcase | Allow dynamic recompilation of beatmap panel testcase
| C# | mit | smoogipoo/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,EVAST9919/osu,smoo... |
347fd38f00c06d47c807c7b8f921e2c17674a746 | Framework/Lokad.Cqrs.Portable/Feature.FilePartition/FileQueueWriter.cs | Framework/Lokad.Cqrs.Portable/Feature.FilePartition/FileQueueWriter.cs | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using System.IO;
using Lokad.Cqrs.Core.Outbox;
namespace Lokad.Cqrs.Feature.FilePart... | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using System.IO;
using System.Threading;
using Lokad.Cqrs.Core.Outbox;
namespace Lok... | Fix order of high-frequency messages on file queues | Fix order of high-frequency messages on file queues
| C# | bsd-3-clause | modulexcite/lokad-cqrs |
b43857a149128b11f73b0a72a26497468592fe66 | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
... | using System;
using System.Net.Http;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
public RemoteHttpMessagePublisher()
{
... | Remove not used using statements | Remove not used using statements
| C# | mit | mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Pr... |
dee3636469cb2c74b534a855ab798f6d20b7b0c7 | AntlrGrammarEditor/Grammar.cs | AntlrGrammarEditor/Grammar.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Collections.Generic;
using System.IO;
namespace AntlrGrammarEditor
{
public class Grammar
{
public const string AntlrDotExt = ".g4";
public const string ProjectDotExt = ".age";
public const string LexerPostfix = "Lex... | using System.Collections.Generic;
namespace AntlrGrammarEditor
{
public enum CaseInsensitiveType
{
None,
lower,
UPPER
}
public class Grammar
{
public const string AntlrDotExt = ".g4";
public const string LexerPostfix = "Lexer";
public const string P... | Add CaseInsensitiveType (None, lower, UPPER) | Add CaseInsensitiveType (None, lower, UPPER)
| C# | apache-2.0 | KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE |
bed4efc295198e08e5e992bef278e02369bf30d1 | ParallelWorkshop/Ex08DiyReaderWriterLock/PossibleSolution/InterlockedReaderWriterLock.cs | ParallelWorkshop/Ex08DiyReaderWriterLock/PossibleSolution/InterlockedReaderWriterLock.cs | using System;
using System.Threading;
namespace Lurchsoft.ParallelWorkshop.Ex08DiyReaderWriterLock.PossibleSolution
{
/// <summary>
/// A scary low-level reader-writer lock implementation.
/// <para>
/// This one does not block, though it does yield. It will spin the CPU until the lock is available. H... | using System.Threading;
namespace Lurchsoft.ParallelWorkshop.Ex08DiyReaderWriterLock.PossibleSolution
{
/// <summary>
/// A scary low-level reader-writer lock implementation.
/// <para>
/// This one does not block, though it does yield. It will spin the CPU until the lock is available. However, by doi... | Allow more of the word for the reader count, as the writer count will always be v small | Allow more of the word for the reader count, as the writer count will always be v small
| C# | apache-2.0 | peterchase/parallel-workshop |
ce45ee726d998e11c41300a5e4bad74e4a633800 | Assets/Scripts/UI/TabletUI.cs | Assets/Scripts/UI/TabletUI.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
[RequireComponent(typeof(GridLayoutGroup))]
public class TabletUI : MonoBehaviour, ITablet
{
public ITabletCell TopLeft { get { return topLeft; } set { topLeft.... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
[RequireComponent(typeof(GridLayoutGroup))]
public class TabletUI : MonoBehaviour, ITablet
{
public ITabletCell TopLeft { get { return topLeft; } set { topLeft.... | Make input tablet start states be set right | Make input tablet start states be set right
| C# | mit | knexer/Chinese-Rooms-what-do-they-know-do-they-know-things-lets-find-out |
051422d2c59d391a10843d26bc9a08b39c0236fb | src/Atata.Configuration.Json/JsonConfigMapper.cs | src/Atata.Configuration.Json/JsonConfigMapper.cs | using System;
namespace Atata
{
public static class JsonConfigMapper
{
public static AtataContextBuilder Map<TConfig>(TConfig config, AtataContextBuilder builder)
where TConfig : JsonConfig<TConfig>
{
if (config.BaseUrl != null)
builder.UseBaseUrl(config... | using System;
namespace Atata
{
public static class JsonConfigMapper
{
public static AtataContextBuilder Map<TConfig>(TConfig config, AtataContextBuilder builder)
where TConfig : JsonConfig<TConfig>
{
if (config.BaseUrl != null)
builder.UseBaseUrl(config... | Add basic mapping functionality of log consumers | Add basic mapping functionality of log consumers
| C# | apache-2.0 | atata-framework/atata-configuration-json |
b884ed2a3d8b8fd50412134a3f162a84c1c29417 | osu.Game.Rulesets.Taiko.Tests/TestSceneDrumTouchInputArea.cs | osu.Game.Rulesets.Taiko.Tests/TestSceneDrumTouchInputArea.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Taiko.Objects;
using osu.Game.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Taiko.UI;
using osu.Game.Tests.... | Make test actually test drum behaviours | Make test actually test drum behaviours
| C# | mit | peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu |
1cf28524c59408e268e36ff74934597434349eeb | Compiler/Crayon/Workers/RunCbxFlagBuilderWorker.cs | Compiler/Crayon/Workers/RunCbxFlagBuilderWorker.cs | using Common;
using Exporter;
using System.Linq;
namespace Crayon
{
// cmdLineFlags = Crayon::RunCbxFlagBuilder(command, buildContext)
class RunCbxFlagBuilderWorker : AbstractCrayonWorker
{
public override CrayonWorkerResult DoWorkImpl(CrayonWorkerResult[] args)
{
Ex... | using Common;
using Exporter;
using System.Linq;
namespace Crayon
{
// cmdLineFlags = Crayon::RunCbxFlagBuilder(command, buildContext)
class RunCbxFlagBuilderWorker : AbstractCrayonWorker
{
public override CrayonWorkerResult DoWorkImpl(CrayonWorkerResult[] args)
{
Ex... | Fix bug where running a project without export in a directory with a space was confusing the command line arg generator. | Fix bug where running a project without export in a directory with a space was confusing the command line arg generator.
Fixes https://github.com/blakeohare/crayon/issues/203
| C# | mit | blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon |
d602877a423748b7daf7450f841cff91e6473a2a | src/Client/Rs317.Client.WF/Program.cs | src/Client/Rs317.Client.WF/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Rs317.Sharp
{
public static class Program
{
public static async Task Main(string[] args)
{
try
{
Console.WriteLine($"RS2 user clie... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Rs317.Sharp
{
public static class Program
{
public static async Task Main(string[] args)
{
try
{
Console.WriteLine($"RS2 user clie... | Remove test websocket code from WF implementation | Remove test websocket code from WF implementation
| C# | mit | HelloKitty/317refactor |
c1a74bb8e5cbd6e43456720e44ed3c323261cee7 | Tests/Sources/Details/GlobalSetup.cs | Tests/Sources/Details/GlobalSetup.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | Fix to apply for the library updates. | Fix to apply for the library updates.
| C# | apache-2.0 | cube-soft/Cube.Core,cube-soft/Cube.Core,cube-soft/Cube.FileSystem,cube-soft/Cube.FileSystem |
ad5fbe9dfb5e3b08212641e3b8341b3a2fde772b | src/Tools/RPCGen.Tests/RPCGenTests.cs | src/Tools/RPCGen.Tests/RPCGenTests.cs | using Flood.Tools.RPCGen;
using NUnit.Framework;
using System;
using System.IO;
using System.Reflection;
namespace RPCGen.Tests
{
[TestFixture]
class RPCGenTests
{
[Test]
public void MainTest()
{
string genDirectory = Path.Combine("..", "..", "gen", "RPCGen.Tests");
... | using Flood.Tools.RPCGen;
using NUnit.Framework;
using System;
using System.IO;
using System.Reflection;
namespace RPCGen.Tests
{
[TestFixture]
class RPCGenTests
{
[Test]
public void MainTest()
{
string genDirectory = Path.Combine("..", "..", "gen", "RPCGen.Tests");
... | Remove test of no longer existing method CompileApi. | Remove test of no longer existing method CompileApi.
| C# | bsd-2-clause | FloodProject/flood,FloodProject/flood,FloodProject/flood |
c05584f864d0738bef5d771b267b9e4a66431b93 | WordHunt/Games/Create/Repository/GameRepository.cs | WordHunt/Games/Create/Repository/GameRepository.cs | using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using WordHunt.Data.Connection;
namespace WordHunt.Games.Create.Repository
{
public interface IGameRepository
{
void SaveGame(string name);
}
public class GameRepository : IGameRepository
{... | using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using WordHunt.Data.Connection;
namespace WordHunt.Games.Create.Repository
{
public interface IGameRepository
{
void SaveGame(string name);
}
public class GameRepository : IGameRepository
{... | Change usage of connection provider for connection factory. | Change usage of connection provider for connection factory.
| C# | mit | Saaka/WordHunt,Saaka/WordHunt,Saaka/WordHunt,Saaka/WordHunt |
b9c2959da75c0e825b4d688bffab9922d17426d5 | src/Elasticsearch.Net/Responses/ServerException/ErrorCauseExtensions.cs | src/Elasticsearch.Net/Responses/ServerException/ErrorCauseExtensions.cs | using System;
using System.Collections.Generic;
namespace Elasticsearch.Net
{
internal static class ErrorCauseExtensions
{
public static void FillValues(this ErrorCause rootCause, IDictionary<string, object> dict)
{
if (dict == null) return;
if (dict.TryGetValue("reason", out var reason)) rootCause.Reaso... | using System;
using System.Collections.Generic;
namespace Elasticsearch.Net
{
internal static class ErrorCauseExtensions
{
public static void FillValues(this ErrorCause rootCause, IDictionary<string, object> dict)
{
if (dict == null) return;
if (dict.TryGetValue("reason", out var reason) && reason != nul... | Convert ErrorCause properties only when not null | Convert ErrorCause properties only when not null
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
5efd138e526636e3be1f7c895768b7ddc2cda484 | CircuitBreaker/CircuitBreakerStateStoreFactory.cs | CircuitBreaker/CircuitBreakerStateStoreFactory.cs | using System.Collections.Concurrent;
namespace CircuitBreaker
{
public class CircuitBreakerStateStoreFactory
{
private static ConcurrentDictionary<string, ICircuitBreakerStateStore> _stateStores =
new ConcurrentDictionary<string, ICircuitBreakerStateStore>();
internal static ICirc... | using System;
using System.Collections.Concurrent;
namespace CircuitBreaker
{
public class CircuitBreakerStateStoreFactory
{
private static ConcurrentDictionary<Type, ICircuitBreakerStateStore> _stateStores =
new ConcurrentDictionary<Type, ICircuitBreakerStateStore>();
internal st... | Use Type as a key...instead of a string. | Use Type as a key...instead of a string.
| C# | mit | kylos101/CircuitBreaker |
52651b9feccdcbd317c2c6f871fc4fe18c3a74cb | School/REPL/REPL.cs | School/REPL/REPL.cs | using System;
using Mono.Terminal;
namespace School.REPL
{
public class REPL
{
public REPL()
{
}
public void Run()
{
Evaluator evaluator = new Evaluator();
LineEditor editor = new LineEditor("School");
Console.WriteLine("School REPL... | using System;
using Mono.Terminal;
namespace School.REPL
{
public class REPL
{
public REPL()
{
}
public void Run()
{
Evaluator evaluator = new Evaluator();
LineEditor editor = new LineEditor("School");
Console.WriteLine("School REPL... | Use continue to reduce one indentation level. | Use continue to reduce one indentation level.
| C# | apache-2.0 | alldne/school,alldne/school |
d487b6cc4507e853e68fc28611dfc2541491cab1 | src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs | src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Company.Application1
{
public class Program
{
public static void Main(string[] args)
{
Creat... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Company.Application1;
using IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
})
.Build();
await host.RunAsync();
| Use top level program for the Worker template | Use top level program for the Worker template | C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
ba9518a1636a7707312311bd213b951f59f0e632 | elbgb.gameboy/Memory/Mappers/RomOnly.cs | elbgb.gameboy/Memory/Mappers/RomOnly.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace elbgb.gameboy.Memory.Mappers
{
class RomOnly : Cartridge
{
public RomOnly(CartridgeHeader header, byte[] romData)
: base(header, romData)
{
}
public... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace elbgb.gameboy.Memory.Mappers
{
class RomOnly : Cartridge
{
public RomOnly(CartridgeHeader header, byte[] romData)
: base(header, romData)
{
}
public... | Return a value for reads from expansion RAM even though not present | Return a value for reads from expansion RAM even though not present
| C# | mit | eightlittlebits/elbgb |
c10a91a33ed488bdc57d219224fb86355b9c6266 | osu.Game.Rulesets.Mania.Tests/Skinning/ColumnTestContainer.cs | osu.Game.Rulesets.Mania.Tests/Skinning/ColumnTestContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mania.UI;
using osuTK.Graphics;
namespace ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Man... | Add odd/even type to test scenes | Add odd/even type to test scenes
| C# | mit | smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new |
9224151ad6b072e404aa5893da569516e45caf4e | Quarks.Tests/PluralizeForCountTests.cs | Quarks.Tests/PluralizeForCountTests.cs | using Machine.Specifications;
namespace Quarks.Tests
{
[Subject(typeof(Inflector))]
public class When_using_pluralize_for_count
{
It should_pluralize_when_count_is_greater_than_two = () =>
"item".PluralizeForCount(2).ShouldEqual("items");
It should_pluralize_when_count_is_zero = () =>
"item".... | using Machine.Specifications;
namespace Quarks.Tests
{
[Subject(typeof(Inflector))]
class When_using_pluralize_for_count
{
It should_pluralize_when_count_is_greater_than_two = () =>
"item".PluralizeForCount(2).ShouldEqual("items");
It should_pluralize_when_count_is_zero = () =>
"item".Plurali... | Remove "public" access modifier from test class | Remove "public" access modifier from test class
| C# | mit | shaynevanasperen/Quarks |
86d8910e56eebcdab1ec6f9c12774638b7ff6287 | src/Foundatio/Messaging/Message.cs | src/Foundatio/Messaging/Message.cs | using System;
using System.Collections.Generic;
namespace Foundatio.Messaging {
public interface IMessage {
string Type { get; }
Type ClrType { get; }
byte[] Data { get; }
object GetBody();
IReadOnlyDictionary<string, string> Properties { get; }
}
public class Messa... | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Foundatio.Messaging {
public interface IMessage {
string Type { get; }
Type ClrType { get; }
byte[] Data { get; }
object GetBody();
IReadOnlyDictionary<string, string> Properties { get; }
... | Add message debugger display to show the message type | Add message debugger display to show the message type
| C# | apache-2.0 | FoundatioFx/Foundatio,exceptionless/Foundatio |
d2e048c405a9e47bab82a211305bfff118edd26b | Assets/HoloToolkit/Utilities/Scripts/SingleInstance.cs | Assets/HoloToolkit/Utilities/Scripts/SingleInstance.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// A simplified version of the Singleton class which doesn't depend on the Instance being se... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// A simplified version of the Singleton class which doesn't depend on the Instance being se... | Revert "Instance isn't found if class is on a disabled GameObject." | Revert "Instance isn't found if class is on a disabled GameObject."
| C# | mit | paseb/MixedRealityToolkit-Unity,NeerajW/HoloToolkit-Unity,paseb/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,willcong/HoloToolkit-Unity |
a35ef538916b89cdce5339399a14a58dd14f1144 | src/Microsoft.VisualStudio.Editor.Razor/DefaultProjectPathProviderFactory.cs | src/Microsoft.VisualStudio.Editor.Razor/DefaultProjectPathProviderFactory.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.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAn... | // 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;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.VisualStudio.Edi... | Fix mef attributes project path provider | Fix mef attributes project path provider
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
ded8af3269f9899308d85bfe46eea50df0b08180 | src/DotNetPrerender/DotNetOpen.PrerenderModule/Constants.cs | src/DotNetPrerender/DotNetOpen.PrerenderModule/Constants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetOpen.PrerenderModule
{
public static class Constants
{
#region Const
public const string PrerenderIOServiceUrl = "http://service.prerender.io/";
public co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetOpen.PrerenderModule
{
public static class Constants
{
#region Const
public const string PrerenderIOServiceUrl = "http://service.prerender.io/";
public co... | Add googlebot and bingbot to list of crawler user agents | Add googlebot and bingbot to list of crawler user agents
Prerender.io docs recommend to upgrade these:
https://prerender.io/documentation/google-support
>>>Make sure to update your Prerender.io middleware or manually add googlebot and bingbot to the list of user agents being checked by your Prerender.io middleware... | C# | mit | dingyuliang/prerender-dotnet,dingyuliang/prerender-dotnet,dingyuliang/prerender-dotnet |
02498f854e43b3a3dae84e1ea0f427cd26179758 | src/NadekoBot/Modules/Verification/Exceptions/Exceptions.cs | src/NadekoBot/Modules/Verification/Exceptions/Exceptions.cs | using System;
namespace Mitternacht.Modules.Verification.Exceptions {
public class UserAlreadyVerifyingException : Exception {}
public class UserAlreadyVerifiedException : Exception {}
public class UserCannotVerifyException : Exception { }
//public class Exception : Exception { }
}
| using System;
namespace Mitternacht.Modules.Verification.Exceptions {
public class UserAlreadyVerifyingException : Exception { }
public class UserAlreadyVerifiedException : Exception { }
public class UserCannotVerifyException : Exception { }
}
| Remove unnecessary comment and format file. | Remove unnecessary comment and format file.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
a9dade13f828536ab6bee0b36582e321a075df0c | src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml | src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/bootstrap.min.css")
</head>
<body>
<div>
@RenderBody()
</div>
@RenderSection("Scripts", false)
</bo... | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/bootstrap.min.css")
@Styles.Render("~/Content/bootstrap-responsive.min.css")
@Styles.Render("~/bundles/font-awesome")
... | Add styles and scripts to admin Layout. | Add styles and scripts to admin Layout.
Bootstrap responsive stylesheet, plus jQuery, Modernizr, HTML5 shim, and
Knockout.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
7a41c564375bab8354c308320ff98d2a5603f661 | VersionInfo.cs | VersionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Yin-Chun Wang")]
[assembly: AssemblyCopyright("Copyright © Yin-Chun Wang 2014")]
[assembly: AssemblyVersion(_ModernWPFVersionString.Release)]
[assembly: AssemblyFileVersion(_ModernWPFVersionString.Build)]
[assembly: AssemblyInformationalVersion(_ModernWPFVersionSt... | using System.Reflection;
[assembly: AssemblyCompany("Yin-Chun Wang")]
[assembly: AssemblyCopyright("Copyright © Yin-Chun Wang 2014")]
[assembly: AssemblyVersion(ModernWPF._ModernWPFVersionString.Release)]
[assembly: AssemblyFileVersion(ModernWPF._ModernWPFVersionString.Build)]
[assembly: AssemblyInformationalVersion... | Put version info class under namespace. | Put version info class under namespace.
| C# | mit | soukoku/ModernWPF |
2124e6bcf7b450084cf66f10c5333772d314f268 | Devkoes.VSJenkinsManager/Devkoes.JenkinsManager.VSPackage/ExposedServices/VisualStudioWindowsHandler.cs | Devkoes.VSJenkinsManager/Devkoes.JenkinsManager.VSPackage/ExposedServices/VisualStudioWindowsHandler.cs | using Devkoes.JenkinsManager.Model.Contract;
using Devkoes.JenkinsManager.UI;
using Devkoes.JenkinsManager.UI.Views;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using System;
namespace Devkoes.JenkinsManager.VSPackage.ExposedServices
{
public class VisualStudioWindowHandler : I... | using Devkoes.JenkinsManager.Model.Contract;
using Devkoes.JenkinsManager.UI;
using Devkoes.JenkinsManager.UI.Views;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using System;
namespace Devkoes.JenkinsManager.VSPackage.ExposedServices
{
public class VisualStudioWindowHandler : I... | Revert "Logging has new overload for exceptions, use it" | Revert "Logging has new overload for exceptions, use it"
This reverts commit 2fe8666247d45c289a6a2ca4fb716f0d25d756f1.
| C# | mit | tomkuijsten/vsjenkinsmanager |
218b57ccf3db2243bbf7fa44a9c7544e1b935bc8 | Assets/PJEI/Invaders/Scripts/Level.cs | Assets/PJEI/Invaders/Scripts/Level.cs | using UnityEngine;
namespace PJEI.Invaders {
public class Level : MonoBehaviour {
public Alien[] lines;
public int width = 11;
public int pixelsBetweenAliens = 48;
private Alien[] aliens;
void Start() {
StartCoroutine(InitGame());
}
private S... | using UnityEngine;
namespace PJEI.Invaders {
public class Level : MonoBehaviour {
public Alien[] lines;
public int width = 11;
public int pixelsBetweenAliens = 48;
private Alien[] aliens;
void Start() {
StartCoroutine(InitGame());
}
private S... | Speed up alien start up positioning. | Speed up alien start up positioning.
| C# | unlicense | Elideb/PJEI |
348286a19c4edba870b826f76a03e2f5c13d9a1f | test/Cronofy.Test/CronofyEnterpriseConnectAccountClientTests/AuthorizeUser.cs | test/Cronofy.Test/CronofyEnterpriseConnectAccountClientTests/AuthorizeUser.cs | using System;
using NUnit.Framework;
namespace Cronofy.Test.CronofyEnterpriseConnectAccountClientTests
{
internal sealed class AuthorizeUser : Base
{
[Test]
public void CanAuthorizeUser()
{
const string email = "test@cronofy.com";
const string callbackUrl = "htt... | using System;
using NUnit.Framework;
namespace Cronofy.Test.CronofyEnterpriseConnectAccountClientTests
{
internal sealed class AuthorizeUser : Base
{
[Test]
public void CanAuthorizeUser()
{
const string email = "test@cronofy.com";
const string callbackUrl = "htt... | Add test for Enterprise Connect Authorize User with enumerable string | Add test for Enterprise Connect Authorize User with enumerable string
| C# | mit | cronofy/cronofy-csharp |
fc6e7b4c5369bf296fd7026567dd67e4aaa3baa2 | Mongo.Migration/Services/MongoDB/MongoRegistrator.cs | Mongo.Migration/Services/MongoDB/MongoRegistrator.cs | using System;
using Mongo.Migration.Documents;
using Mongo.Migration.Documents.Serializers;
using Mongo.Migration.Services.Interceptors;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
namespace Mongo.Migration.Services.MongoDB
{
internal class MongoRegistrator : IMongoRegistrator
{
private read... | using System;
using Mongo.Migration.Documents;
using Mongo.Migration.Documents.Serializers;
using Mongo.Migration.Services.Interceptors;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
namespace Mongo.Migration.Services.MongoDB
{
internal class MongoRegistrator : IMongoRegistrator
{
private read... | Use lookup before registering serializer | Use lookup before registering serializer
| C# | mit | SRoddis/Mongo.Migration |
5cdd7806d0de6049e26c9276c6311dea36b98595 | src/Framework/PropellerMvcModel/Adapters/Image.cs | src/Framework/PropellerMvcModel/Adapters/Image.cs | using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
namespace Propeller.Mvc.Model.Adapters
{
public class Image : IFieldAdapter
{
public string Url { get; set; }
public string Alt { get; set; }
public void InitAdapter(Item item, ID propId)
{
... | using Sitecore;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
namespace Propeller.Mvc.Model.Adapters
{
public class Image : IFieldAdapter
{
public string Url { get; set; }
public string Alt { get; set; }
public void InitAdapter(Item item, ID propId)
... | Fix problem with image adapter when an item has empty standard values. | Fix problem with image adapter when an item has empty standard values.
| C# | mit | galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc |
cbbc1cb30e5f70138a2e6c8f439a45b9fd6ef92b | asp-net-mvc-localization/asp-net-mvc-localization/Models/User.cs | asp-net-mvc-localization/asp-net-mvc-localization/Models/User.cs | using System.ComponentModel.DataAnnotations;
using System;
using asp_net_mvc_localization.Utils;
using Newtonsoft.Json.Serialization;
namespace asp_net_mvc_localization.Models
{
public class User
{
[Required]
public string Username { get; set; }
[Display]
[Required]
[M... | using System.ComponentModel.DataAnnotations;
using System;
using asp_net_mvc_localization.Utils;
using Newtonsoft.Json.Serialization;
namespace asp_net_mvc_localization.Models
{
public class User
{
[Required]
public string Username { get; set; }
[Required]
[MyEmailAddress]
... | Delete [Display](all work's without it), fix Date format in Create | Delete [Display](all work's without it), fix Date format in Create
| C# | mit | DevRainSolutions/asp-net-mvc-localization,DevRainSolutions/asp-net-mvc-localization,DevRainSolutions/asp-net-mvc-localization |
2b8ade5615560cad060d1c5a197c680bdf21f948 | JabbR/Nancy/ErrorPageHandler.cs | JabbR/Nancy/ErrorPageHandler.cs | using System.Linq;
using JabbR.Services;
using Nancy;
using Nancy.ErrorHandling;
using Nancy.ViewEngines;
namespace JabbR.Nancy
{
public class ErrorPageHandler : DefaultViewRenderer, IStatusCodeHandler
{
private readonly IJabbrRepository _repository;
public ErrorPageHandler(IViewFactory fac... | using System.Text.RegularExpressions;
using JabbR.Services;
using Nancy;
using Nancy.ErrorHandling;
using Nancy.ViewEngines;
namespace JabbR.Nancy
{
public class ErrorPageHandler : DefaultViewRenderer, IStatusCodeHandler
{
private readonly IJabbrRepository _repository;
public ErrorPageHandl... | Support 404 url suggestions for /rooms/xyz in addition to /xyz. | Support 404 url suggestions for /rooms/xyz in addition to /xyz.
| C# | mit | timgranstrom/JabbR,e10/JabbR,JabbR/JabbR,borisyankov/JabbR,18098924759/JabbR,yadyn/JabbR,SonOfSam/JabbR,SonOfSam/JabbR,M-Zuber/JabbR,M-Zuber/JabbR,18098924759/JabbR,borisyankov/JabbR,ajayanandgit/JabbR,yadyn/JabbR,mzdv/JabbR,borisyankov/JabbR,timgranstrom/JabbR,mzdv/JabbR,e10/JabbR,JabbR/JabbR,ajayanandgit/JabbR,yadyn/... |
8029dc421d1e04725b4f9b229b9c1e8c16c5500b | src/Nancy.Demo.Razor.Localization/Views/CultureView-de-DE.cshtml | src/Nancy.Demo.Razor.Localization/Views/CultureView-de-DE.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
@{
Layout = "razor-layout.cshtml";
}
<h1>You're here based on ther German culture set in HomeModule however the HomeModule only calls return View["CultureView"]. It uses View Location Conventions therefore there must be a file called CultureView... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
@{
Layout = "razor-layout.cshtml";
}
<h1>You're here based on the German culture set in HomeModule however the HomeModule only calls return View["CultureView"]. It uses View Location Conventions therefore there must be a file called CultureView-... | Fix typo on CultureView-de-De in Localization Demo | Fix typo on CultureView-de-De in Localization Demo
| C# | mit | jmptrader/Nancy,VQComms/Nancy,anton-gogolev/Nancy,damianh/Nancy,sloncho/Nancy,danbarua/Nancy,AlexPuiu/Nancy,nicklv/Nancy,jeff-pang/Nancy,grumpydev/Nancy,ccellar/Nancy,malikdiarra/Nancy,joebuschmann/Nancy,sloncho/Nancy,murador/Nancy,EIrwin/Nancy,hitesh97/Nancy,sadiqhirani/Nancy,phillip-haydon/Nancy,rudygt/Nancy,EliotJon... |
b8e852a4736b281e10754edbaacb6403e3d2cae6 | tests/Magick.NET.Tests/MagickNETTests/TheFeaturesProperty.cs | tests/Magick.NET.Tests/MagickNETTests/TheFeaturesProperty.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | Use the new OperatingSystem class. | Use the new OperatingSystem class.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
36bd8cdc0f3fc657a9dc0e6993005b7745df4bca | TempoDB.Tests/src/TempoDBTests.cs | TempoDB.Tests/src/TempoDBTests.cs | using NUnit.Framework;
using RestSharp;
namespace TempoDB.Tests
{
[TestFixture]
public class TempoDBTests
{
[Test]
public void Defaults()
{
var tempodb = new TempoDB("key", "secret");
Assert.AreEqual("key", tempodb.Key);
Assert.AreEqual("secret",... | using NUnit.Framework;
using RestSharp;
namespace TempoDB.Tests
{
[TestFixture]
public class TempoDBTests
{
[Test]
public void Defaults()
{
var tempodb = new TempoDB("key", "secret");
Assert.AreEqual("key", tempodb.Key);
Assert.AreEqual("secret",... | Use the correct assertion for testing null | Use the correct assertion for testing null
| C# | mit | tempodb/tempodb-net |
4324cc9d01186a43493ab56bddd3d07d3e8e7c36 | Storage/Azure/StorageAzureTests/BlobTests.cs | Storage/Azure/StorageAzureTests/BlobTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
namespace StorageAzure.Tests
{
[TestClass()]
public class BlobTests
{
public Boolean Exist(string fileName)
{
var container = new BlobContanier().Create();
var blob = container.GetBlo... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
namespace StorageAzure.Tests
{
[TestClass()]
public class BlobTests
{
public Boolean Exist(string fileName)
{
var container = new BlobContanier().Create();
var blob = container.GetBlo... | Test para comprobar qeu soporta ficheros de 55Mb. | Test para comprobar qeu soporta ficheros de 55Mb.
Related Work Items: #44
| C# | mit | JuanQuijanoAbad/UniversalSync,JuanQuijanoAbad/UniversalSync |
908bf539b320acfa63b7c1b706617d5e3f3e099f | SkypeSharp/IUser.cs | SkypeSharp/IUser.cs | namespace SkypeSharp {
public enum UserStatus {
OnlineStatus,
BuddyStatus,
ReceivedAuthRequest
}
public interface IUser : ISkypeObject {
string FullName { get; }
string Language { get; }
string Country { get; }
string City { get; }
void Auth... | namespace SkypeSharp {
public enum UserStatus {
OnlineStatus,
BuddyStatus,
ReceivedAuthRequest,
IsAuthorized,
IsBlocked,
Timezone,
NROF_AUTHED_BUDDIES
}
public interface IUser : ISkypeObject {
string FullName { get; }
string Language ... | Add some missing user statuses | Add some missing user statuses
| C# | mit | Goz3rr/SkypeSharp |
f7b519fe2c78254dd38d15ecc23025c2e9965e6e | bootstrapping/DefaultBuild.cs | bootstrapping/DefaultBuild.cs | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.FileSystem.FileSystemTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.Core.EnvironmentInfo;
// ReSharper disable ... | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.FileSystem.FileSystemTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.Core.EnvironmentInfo;
class DefaultBuild : ... | Change NuGetRestore to be executed unconditionally. | Change NuGetRestore to be executed unconditionally.
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
ea0146dc85eae657cd72e3aae5b42baa9e0df16a | src/Cake.Core/Scripting/Processors/UsingStatementProcessor.cs | src/Cake.Core/Scripting/Processors/UsingStatementProcessor.cs | using System;
using Cake.Core.IO;
namespace Cake.Core.Scripting.Processors
{
/// <summary>
/// Processor for using statements.
/// </summary>
public sealed class UsingStatementProcessor : LineProcessor
{
/// <summary>
/// Initializes a new instance of the <see cref="UsingStatementPr... | using System;
using Cake.Core.IO;
namespace Cake.Core.Scripting.Processors
{
/// <summary>
/// Processor for using statements.
/// </summary>
public sealed class UsingStatementProcessor : LineProcessor
{
/// <summary>
/// Initializes a new instance of the <see cref="UsingStatementPr... | Fix for using (IDisposable) statement | Fix for using (IDisposable) statement
| C# | mit | phenixdotnet/cake,mholo65/cake,UnbelievablyRitchie/cake,gep13/cake,vlesierse/cake,yvschmid/cake,cake-build/cake,DixonD-git/cake,adamhathcock/cake,danielrozo/cake,ferventcoder/cake,daveaglick/cake,marcosnz/cake,UnbelievablyRitchie/cake,DavidDeSloovere/cake,devlead/cake,wallymathieu/cake,Invenietis/cake,daveaglick/cake,c... |
5ee7966318f426377361eadff32f2ac7d69f00b9 | PacManGameTests/GameTimerTest.cs | PacManGameTests/GameTimerTest.cs | using System;
using System.Threading;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using PacManGame;
namespace PacManGameTests
{
[TestFixture]
public class GameTimerTest
{
[Test]
public void GivenABoard3x4WithPacmanLookingUpAt1x2_When500msPass_ThenPacmanIsAt1x1()
{
... | using System;
using System.Threading;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using PacManGame;
namespace PacManGameTests
{
[TestFixture]
public class GameTimerTest
{
[Test]
public void GivenABoard3x4WithPacmanLookingUpAt1x2_When500msPass_ThenPacmanIsAt1x1()
{
... | Use a stub of ITimer instead of an actual implementation | Use a stub of ITimer instead of an actual implementation
| C# | mit | dotNetNocturne/Pacman_Episode1_GreenTeam |
71ae0a66a104694499f728a502570feff1ee7f45 | DebuggerFrontend/Program.cs | DebuggerFrontend/Program.cs | using CommandLineParser.Exceptions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSTools.DebuggerFrontend
{
class Program
{
static void Main(string[] args)
{
var logFile = new FileStre... | using CommandLineParser.Exceptions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSTools.DebuggerFrontend
{
class Program
{
static void Main(string[] args)
{
var currentPath = AppDomai... | Fix hardcoded DAP log path | Fix hardcoded DAP log path
| C# | mit | Norbyte/lslib,Norbyte/lslib,Norbyte/lslib |
083a0cd14b980e5c79702bfc0cb14e75d96b222b | Source/Eto.Platform.Gtk/Forms/PixelLayoutHandler.cs | Source/Eto.Platform.Gtk/Forms/PixelLayoutHandler.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.GtkSharp
{
public class PixelLayoutHandler : GtkLayout<Gtk.Fixed, PixelLayout>, IPixelLayout
{
public PixelLayoutHandler()
{
Control = new Gtk.Fixed();
}
public void Add(Control child, int x, int y)
{
IGtkControl ctl = ((I... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.GtkSharp
{
public class PixelLayoutHandler : GtkLayout<Gtk.Fixed, PixelLayout>, IPixelLayout
{
public PixelLayoutHandler ()
{
Control = new Gtk.Fixed ();
}
public void Add (Control child, int x, int y)
{
var ctl = ((IGtkContr... | Fix adding controls to PixelLayout with a different container object | Gtk: Fix adding controls to PixelLayout with a different container object
| C# | bsd-3-clause | l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto |
0d0485438cd2544c422b05d7de7cd69acabb9bb1 | src/WizardFramework.HTML/HtmlWizardPage{TM}.Designer.cs | src/WizardFramework.HTML/HtmlWizardPage{TM}.Designer.cs | namespace WizardFramework.HTML
{
partial class HtmlWizardPage<TM>
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// R... | namespace WizardFramework.HTML
{
partial class HtmlWizardPage<TM>
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// R... | Disable shortcuts and ContextMenu in web browser control. | Disable shortcuts and ContextMenu in web browser control.
| C# | mit | Jarrey/wizard-framework,Jarrey/wizard-framework,Jarrey/wizard-framework |
e348f8b63acbce16f3234f35c3ab33e4f483638f | Azuria/Community/MessageEnumerable.cs | Azuria/Community/MessageEnumerable.cs | using System.Collections;
using System.Collections.Generic;
namespace Azuria.Community
{
/// <summary>
/// </summary>
public class MessageEnumerable : IEnumerable<Message>
{
private readonly int _conferenceId;
private readonly bool _markAsRead;
private readonly Senpai _senpai;
... | using System.Collections;
using System.Collections.Generic;
namespace Azuria.Community
{
/// <summary>
/// </summary>
public class MessageEnumerable : IEnumerable<Message>
{
private readonly int _conferenceId;
private readonly Senpai _senpai;
internal MessageEnumerable(int con... | Add property to whether mark new Messages as read or not | Add property to whether mark new Messages as read or not
| C# | mit | InfiniteSoul/Azuria |
19703360f7286bf8f5faac1cc9be63209c88b5e1 | src/Avalonia.Base/Styling/Styler.cs | src/Avalonia.Base/Styling/Styler.cs | using System;
namespace Avalonia.Styling
{
public class Styler : IStyler
{
public void ApplyStyles(IStyleable target)
{
_ = target ?? throw new ArgumentNullException(nameof(target));
// If the control has a themed templated parent then first apply the styles from
... | using System;
namespace Avalonia.Styling
{
public class Styler : IStyler
{
public void ApplyStyles(IStyleable target)
{
_ = target ?? throw new ArgumentNullException(nameof(target));
// Apply the control theme.
target.GetEffectiveTheme()?.TryAttach(target, t... | Apply own control theme before templated parent's. | Apply own control theme before templated parent's.
| C# | mit | AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia |
8af19254bab87df5adcdf6c05f887d8950c43383 | src/ZobShop.Models/ProductRating.cs | src/ZobShop.Models/ProductRating.cs | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ZobShop.Models
{
public class ProductRating
{
public ProductRating(int rating, string content, int productId, User author)
{
this.Rating = rating;
this.Content = c... | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ZobShop.Models
{
public class ProductRating
{
public ProductRating()
{
}
public ProductRating(int rating, string content, Product product, User author)
{
... | Add default constructor for product rating | Add default constructor for product rating
| C# | mit | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop |
7982f01c45817ff7be9c21da3914bae811fdfe0b | R7.University.EduProgramProfiles/Views/Contingent/_ActualRow.cshtml | R7.University.EduProgramProfiles/Views/Contingent/_ActualRow.cshtml | @inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ContingentViewModel>
@using DotNetNuke.Web.Mvc.Helpers
@using R7.University.EduProgramProfiles.ViewModels
<td itemprop="eduCode">@Model.EduProfile.EduProgram.Code</td>
<td itemprop="eduName">@Model.EduProfileTitle</td>
<td itemprop="eduLevel">@Model.EduProfile.EduL... | @inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ContingentViewModel>
@using DotNetNuke.Web.Mvc.Helpers
@using R7.University.EduProgramProfiles.ViewModels
<td itemprop="eduCode">@Model.EduProfile.EduProgram.Code</td>
<td itemprop="eduName">@Model.EduProfileTitle</td>
<td itemprop="eduLevel">@Model.EduProfile.EduL... | Update microdata for actual number of students table | Update microdata for actual number of students table
| C# | agpl-3.0 | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University |
fafb91a62c60750f42983d57cbf2fb7cc99e42fc | AIWolfLib/ShuffleExtensions.cs | AIWolfLib/ShuffleExtensions.cs | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | Make Shuffle<T> return IEnumerable<T> instead of IList<T>. | Make Shuffle<T> return IEnumerable<T> instead of IList<T>.
| C# | mit | AIWolfSharp/AIWolf_NET |
54ed7d5872c3c1d0bda21da7efe06fb4020d653a | Assets/Scripts/UIController.cs | Assets/Scripts/UIController.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
/// <summary>
/// UIController holds references to GUI widgets and acts as data receiver for them.
/// </summary>
public class UIController : MonoBehaviour, IGUIUpdateTarget
{
public Text SpeedText;
public Slider ThrottleSlider;
public Slider Engine... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
/// <summary>
/// UIController holds references to GUI widgets and acts as data receiver for them.
/// </summary>
public class UIController : MonoBehaviour, IGUIUpdateTarget
{
[SerializeField]
private Text m_SpeedText;
[SerializeField]
private Text... | Switch from public properties to serializable private ones | Switch from public properties to serializable private ones
| C# | mit | tanuva/planegame |
fe0af5f2d5e7db144486e4e7232fdf73103f4a86 | Eco/Variables/UserVariables.cs | Eco/Variables/UserVariables.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco
{
public class UserVariables : IVariableProvider
{
static readonly Dictionary<string, Func<string>> _variables = new Dictionary<string, Func<string>>();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco
{
public class UserVariables : IVariableProvider
{
static readonly Dictionary<string, Func<string>> _variables = new Dictionary<string, Func<string>>();
... | Allow to clear user defined vars. | Allow to clear user defined vars.
| C# | apache-2.0 | lukyad/Eco |
b54820dd748300ffb2ba9ad8843d4581ea6c6786 | Winium/TestApp.Test/Samples/WpDriver.cs | Winium/TestApp.Test/Samples/WpDriver.cs | namespace Samples
{
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
public class WpDriver : RemoteWebDriver, IHasTouchScreen
{
public WpDriver(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
: base(commandExecutor, desiredCapabilities)
... | namespace Samples
{
#region
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
#endregion
public class WpDriver : RemoteWebDriver, IHasTouchScreen
{
#region Fields
private ITouchScreen touchScreen;
#endregion
#region Constructors and De... | Move touch screen initialization to property getter | Move touch screen initialization to property getter
Init TouchScreen when needed instead of initing it in each constructor
| C# | mpl-2.0 | goldbillka/Winium.StoreApps,goldbillka/Winium.StoreApps,krishachetan89/Winium.StoreApps,2gis/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,krishachetan89/Winium.StoreApps,2gis/Winium.StoreApps |
422ac74cdf77f363e6f997c87e75f7e2bfc7f323 | NVika/BuildServers/AppVeyor.cs | NVika/BuildServers/AppVeyor.cs | using System;
using System.ComponentModel.Composition;
using System.Net.Http;
namespace NVika
{
internal sealed class AppVeyorBuildServer : IBuildServer
{
private readonly Logger _logger;
public string Name
{
get { return "AppVeyor"; }
}
[ImportingConstruc... | using System;
using System.ComponentModel.Composition;
using System.Net.Http;
namespace NVika
{
internal sealed class AppVeyorBuildServer : IBuildServer
{
private readonly Logger _logger;
private readonly string _appVeyorAPIUrl;
public string Name
{
get { return "A... | Add compilation message debug log | Add compilation message debug log
| C# | apache-2.0 | laedit/vika |
53f85aaf6a4724818bd4dbf18524759930b83c3d | osu.Framework/Graphics/Containers/SnapTargetContainer.cs | osu.Framework/Graphics/Containers/SnapTargetContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Primitives;
namespace osu.Framework.Graphics.Containers
{
public class SnapTargetContainer : SnapTarget... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Primitives;
namespace osu.Framework.Graphics.Containers
{
public class SnapTargetContainer : SnapTarget... | Use Cached attribute rather than CreateChildDependencies | Use Cached attribute rather than CreateChildDependencies
| C# | mit | ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework |
f16a415fe784efc36745e049e28fe51f2794c8f9 | src/R/Editor/Application.Test/Validation/ErrorTagTest.cs | src/R/Editor/Application.Test/Validation/ErrorTagTest.cs | using System.Diagnostics.CodeAnalysis;
using Microsoft.R.Editor.Application.Test.TestShell;
using Microsoft.R.Editor.ContentType;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.R.Editor.Application.Test.Validation {
[ExcludeFromCodeCoverage]
[TestClass]
public class ErrorTagTest {... | using System.Diagnostics.CodeAnalysis;
using Microsoft.R.Editor.Application.Test.TestShell;
using Microsoft.R.Editor.ContentType;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.R.Editor.Application.Test.Validation {
[ExcludeFromCodeCoverage]
[TestClass]
public class ErrorTagTest {... | Add 'fix squiggly' to the test case | Add 'fix squiggly' to the test case
| C# | mit | karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/R... |
8093645ae7a8be223af4a43cdd21eccf90964ff9 | LINQToTTree/LinqToTTreeInterfacesLib/IGeneratedCode.cs | LINQToTTree/LinqToTTreeInterfacesLib/IGeneratedCode.cs |
namespace LinqToTTreeInterfacesLib
{
/// <summary>
/// Interface for implementing an object that will contain a complete single query
/// </summary>
public interface IGeneratedCode
{
/// <summary>
/// Add a new statement to the current spot where the "writing" currsor is p... |
namespace LinqToTTreeInterfacesLib
{
/// <summary>
/// Interface for implementing an object that will contain a complete single query
/// </summary>
public interface IGeneratedCode
{
/// <summary>
/// Add a new statement to the current spot where the "writing" currsor is p... | Allow the scope popping code to work correctly when all you have is the Interface. | Allow the scope popping code to work correctly when all you have is the Interface.
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
e321d6c370e794e13316c818cb12f37601e3926b | SIL.Windows.Forms.Tests/Progress/LogBox/LogBoxTests.cs | SIL.Windows.Forms.Tests/Progress/LogBox/LogBoxTests.cs | using System;
using NUnit.Framework;
namespace SIL.Windows.Forms.Tests.Progress.LogBox
{
[TestFixture]
public class LogBoxTests
{
private Windows.Forms.Progress.LogBox progress;
[Test]
public void ShowLogBox()
{
Console.WriteLine("Showing LogBox");
using (var e = new LogBoxFormForTest())
{
prog... | using System;
using NUnit.Framework;
namespace SIL.Windows.Forms.Tests.Progress.LogBox
{
[TestFixture]
public class LogBoxTests
{
private Windows.Forms.Progress.LogBox progress;
[Test]
[Category("KnownMonoIssue")] // this test hangs on TeamCity for Linux
public void ShowLogBox()
{
Console.WriteLine("Sh... | Disable a test hanging on TeamCity for Linux | Disable a test hanging on TeamCity for Linux
| C# | mit | gmartin7/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,gmartin7/l... |
42b7bfe4e70ed7282881958471201b5f0b2ce2c2 | Extensions.cs | Extensions.cs | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace Stampsy.ImageSource
{
internal static class Extensions
{
public static IObservable<T> SurroundWith<T> (this IObservable<T> a, IObservable<T> b)
{
return b.Concat (a).Concat (b);
}
publ... | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace Stampsy.ImageSource
{
public static class Extensions
{
public static Task<TRequest> Fetch<TRequest> (this IDestination<TRequest> destination, Uri url)
where TRequest : Request
{
return Imag... | Add extension method to call Fetch on destination instance, e.g. _myFolder.Fetch ('dropbox://myfile.png') | Add extension method to call Fetch on destination instance, e.g. _myFolder.Fetch ('dropbox://myfile.png')
| C# | mit | stampsy/Stampsy.ImageSource |
8fb1f8f55e5d369e571b4645aa7c7ec6ef38c37b | src/reni2/FeatureTest/Reference/ArrayElementType.cs | src/reni2/FeatureTest/Reference/ArrayElementType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType1]
[Target(@"
a: 'Text';
t: a type >>;
t dump_print
")]
[Output("(bit)*8[text_item]")]
public sealed class ArrayElementType : CompilerTest {}
} | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType1]
[Target(@"
a: 'Text';
t: a type item;
t dump_print
")]
[Output("(bit)*8[text_item]")]
public sealed class ArrayElementType : CompilerTest {}... | Access operator for array is now "item" | Change: Access operator for array is now "item"
| C# | mit | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs |
6a213c5d39826ff3a83765e59432c6dc14696840 | src/Elders.Cronus/Properties/AssemblyInfo.cs | src/Elders.Cronus/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("Elders.Cronus")]
[assembly: AssemblyDescriptionAttribute("Elders.Cronus")]
[assembly: AssemblyProductAttribute("Elders.Cronus")]
[assembly: AssemblyVersionAttribute("2.0.0")]
[assembly: AssemblyInformationalVersionAttribute("2.0.0")]
[as... | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitleAttribute("Elders.Cronus")]
[assembly: AssemblyDescriptionAttribute("Elders.Cronus")]
[assembly: ComVisibleAttribute(false)]
[assembly: AssemblyProductAttribute("Elders.Cronus")]
[assembly: AssemblyCopyrightAtt... | Prepare for new implementation of Aggregate Atomic Action | Prepare for new implementation of Aggregate Atomic Action
| C# | apache-2.0 | Elders/Cronus,Elders/Cronus |
a8756915bb0199fff6d3acc9194215255dd2b31b | BlogTemplate/Services/SlugGenerator.cs | BlogTemplate/Services/SlugGenerator.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTemplate.Models;
namespace BlogTemplate.Services
{
public class SlugGenerator
{
private BlogDataStore _dataStore;
public SlugGenerator(Bl... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTemplate.Models;
namespace BlogTemplate.Services
{
public class SlugGenerator
{
private BlogDataStore _dataStore;
public SlugGenerator(Bl... | Remove invalid characters from slug, but keep in title. | Remove invalid characters from slug, but keep in title.
| C# | mit | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate |
fbefa0d91e4563adc0533e3089f03049d5d1116e | CactbotOverlay/CactbotOverlayConfig.cs | CactbotOverlay/CactbotOverlayConfig.cs | using RainbowMage.OverlayPlugin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Cactbot {
public class CactbotOverlayConfig : OverlayConfigBase {
public static string CactbotAssemblyUri {
get { r... | using RainbowMage.OverlayPlugin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Cactbot {
public class CactbotOverlayConfig : OverlayConfigBase {
public static string CactbotAssemblyUri {
get { r... | Change default dps update rate to 0 | plugin: Change default dps update rate to 0
It seems far more likely that somebody is going to mess up leaving this
at 3 and dropping log lines than somebody using cactbot for a dps overlay
and it not working.
By the by, you don't need cactbot for dps overlays, you can just make them
normal overlays. Cactbot does au... | C# | apache-2.0 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot |
2491583c2463295c80c0ee06b8e4ad839a47795c | src/Pingu.Tests/ToolHelper.cs | src/Pingu.Tests/ToolHelper.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Pingu.Tests
{
class ToolHelper
{
public static ProcessResult RunPngCheck(string path)
{
var asm = typeof(ToolHelper).GetTypeInfo().Assembly;
var assemblyDir = Path.GetDirect... | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Pingu.Tests
{
class ToolHelper
{
public static ProcessResult RunPngCheck(string path)
{
var asm = typeof(ToolHelper).GetTypeInfo().Assembly;
var assemblyDir = Path.GetDirect... | Enable tests running on !Windows too. | Tests: Enable tests running on !Windows too.
Relies on pngcheck being in the path, but whatever.
| C# | mit | bojanrajkovic/pingu |
def2e56d849c821a47bfec9aaa05cd6ea35c8ca3 | src/RandomGen/Fluent/IRandom.cs | src/RandomGen/Fluent/IRandom.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RandomGen.Fluent
{
public interface IRandom : IFluentInterface
{
INumbers Numbers { get; }
INames Names { get; }
ITime Time { get; }
IText Text { get; }
IInternet Internet { ... | using System;
using System.Collections.Generic;
namespace RandomGen.Fluent
{
public interface IRandom : IFluentInterface
{
INumbers Numbers { get; }
INames Names { get; }
ITime Time { get; }
IText Text { get; }
IInternet Internet { get; }
IPhoneNumbers PhoneNumb... | Fix for supporting Items without weights. | Fix for supporting Items without weights.
| C# | mit | aliostad/RandomGen,aliostad/RandomGen |
61de3c75402f55704c07da9128778f35b374a52f | osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.cs | osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
... | Replace accidental tab with spaces | Replace accidental tab with spaces
| C# | mit | ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu |
f06445f0d412ea41d2f1d82b518907289bc1a4ed | Assets/Demo/Scripts/UI/GameScreen.cs | Assets/Demo/Scripts/UI/GameScreen.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameScreen : MonoBehaviour {
bool allowLevelLoad = true;
void OnEnable() {
allowLevelLoad = true;
}
public void LoadScene(string sceneName)
{
if (allowLevelLoad) {
... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameScreen : MonoBehaviour {
bool allowLevelLoad = true;
string nextLevel;
void OnEnable() {
allowLevelLoad = true;
}
public void LoadScene(string sceneName)
{
... | Load next level after 0.33 seconds to prvent button from being stuck and animation to finish | Load next level after 0.33 seconds to prvent button from being stuck and animation to finish
| C# | mit | antila/castle-game-jam-2016 |
664c824f8bfa49beb72300ec869a8004d23243c7 | src/Markdig/MarkdownParserContext.cs | src/Markdig/MarkdownParserContext.cs | using System.Collections.Generic;
namespace Markdig
{
/// <summary>
/// Provides a context that can be used as part of parsing Markdown documents.
/// </summary>
public sealed class MarkdownParserContext
{
/// <summary>
/// Gets or sets the context property collection.
/// <... | using System.Collections.Generic;
namespace Markdig
{
/// <summary>
/// Provides a context that can be used as part of parsing Markdown documents.
/// </summary>
public sealed class MarkdownParserContext
{
/// <summary>
/// Gets or sets the context property collection.
/// <... | Use Dictionary and removes setter | Use Dictionary and removes setter | C# | bsd-2-clause | lunet-io/markdig |
25be7265f20d4a4651cd607cabe4cd6797c77169 | CefSharp.Example/AsyncBoundObject.cs | CefSharp.Example/AsyncBoundObject.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Threading;
namespace CefSharp.Example
{
public class AsyncBoundObject
{
public void Error()
{
... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Diagnostics;
using System.Threading;
namespace CefSharp.Example
{
public class AsyncBoundObject
{
//We... | Add DebuggerHidden attribute so VS doesn't break when `Break on User-Unhandled Exceptions` is checked | Add DebuggerHidden attribute so VS doesn't break when `Break on User-Unhandled Exceptions` is checked
| C# | bsd-3-clause | illfang/CefSharp,twxstar/CefSharp,windygu/CefSharp,haozhouxu/CefSharp,yoder/CefSharp,wangzheng888520/CefSharp,AJDev77/CefSharp,gregmartinhtc/CefSharp,battewr/CefSharp,rlmcneary2/CefSharp,windygu/CefSharp,wangzheng888520/CefSharp,battewr/CefSharp,jamespearce2006/CefSharp,zhangjingpu/CefSharp,gregmartinhtc/CefSharp,Harag... |
caba78cb5d0ebd67053537e634d613fae733933c | osu.Game/Screens/Play/SoloPlayer.cs | osu.Game/Screens/Play/SoloPlayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Online.Solo;
using osu.Game.Rulesets;
using osu.Game.Scorin... | // 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.Diagnostics;
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Online.Solo;
using osu.Game.Rulesets;
using osu.Game.Scorin... | Copy score during submission process to ensure it isn't modified | Copy score during submission process to ensure it isn't modified
| C# | mit | peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu |
e6d3f54cf7e992b7320a4e5796d3ee56f31def95 | appCS/omniBill/Pages/AboutPage.xaml.cs | appCS/omniBill/Pages/AboutPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... | Change the way version is displayed | Change the way version is displayed
| C# | epl-1.0 | omniSpectrum/omniBill |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.