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 |
|---|---|---|---|---|---|---|---|---|---|
a679e9a86b79b9e0c45b76dc5b5fc745c72f03dd | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity
{
[JsonProperty("succeeded")]
public bool Succeeded { get; set; }
[JsonProperty("version")]
public string Version { get; set; }
... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity
{
/// <summary>
/// Whether or not authentication was performed. 3D Secure will succeed without
/// authentication when the card is not e... | Add support for Authenticated on 3DS Charges | Add support for Authenticated on 3DS Charges
| C# | apache-2.0 | stripe/stripe-dotnet |
e65f311b42b0661dd09c289d163a0d4f414da91b | src/HangFire.Azure.ServiceBusQueue/Properties/SharedAssemblyInfo.cs | src/HangFire.Azure.ServiceBusQueue/Properties/SharedAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Hangfire")]
[assembly: AssemblyCopyright("Copyright © 2013-2015 Sergey Odinokov, Adam Barclay")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
// Don't edit manuall... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Hangfire")]
[assembly: AssemblyCopyright("Copyright © 2013-2017 Sergey Odinokov, Adam Barclay")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
// Don't edit manuall... | Update assembly copyright notice to 2017 | Update assembly copyright notice to 2017
| C# | mit | HangfireIO/Hangfire.Azure.ServiceBusQueue |
b52cbc80396ceb85cf81ddf71d1d21c9e88ec54c | Entities/InteractiveEntity.cs | Entities/InteractiveEntity.cs | using UnityEngine;
using System.Collections;
using Matcha.Game.Tweens;
public class InteractiveEntity : MonoBehaviour
{
public enum EntityType { none, prize, weapon };
public EntityType entityType;
[HideInInspector]
public bool alreadyCollided = false;
public bool disableIfOffScreen = true;
... | using UnityEngine;
using System;
using System.Collections;
using Matcha.Game.Tweens;
public class InteractiveEntity : MonoBehaviour
{
public enum EntityType { none, prize, weapon };
public EntityType entityType;
[HideInInspector]
public bool alreadyCollided = false;
public bool disableIfOffScree... | Add automatic placement for Prizes. | Add automatic placement for Prizes.
| C# | mit | cmilr/Unity2D-Components,jguarShark/Unity2D-Components |
9d2dff2cb871403637511e2d7545dfad89d59c68 | osu.Game/Beatmaps/BeatmapStatistic.cs | osu.Game/Beatmaps/BeatmapStatistic.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 osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Beatmaps
{
public class BeatmapStatistic
{
[Obsolet... | // 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 osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Game.Beatmaps
{
public class BeatmapStatistic
{
... | Add scale to allow legacy icons to display correctly sized | Add scale to allow legacy icons to display correctly sized
| C# | mit | UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu |
8d576a9cbbdf7a20ca564b5118b7c65fda0db948 | Assets/Client/Controllers/BallController.cs | Assets/Client/Controllers/BallController.cs | using System;
using Client.Common;
using Client.Game;
using UnityEngine;
namespace Client.Controllers
{
// Create a ball. Once there is a Goal, create a new
// ball at the given time frame.
public class BallController : MonoBehaviour
{
[SerializeField]
[Tooltip("The soccer ball prefab"... | using System;
using Client.Common;
using Client.Game;
using UnityEngine;
namespace Client.Controllers
{
// Create a ball. Once there is a Goal, create a new
// ball at the given time frame.
public class BallController : MonoBehaviour
{
[SerializeField]
[Tooltip("The soccer ball prefab"... | Make sure a ball can't happen while a goal has already happened! | Make sure a ball can't happen while a goal has already happened!
| C# | apache-2.0 | markmandel/paddle-soccer,markmandel/paddle-soccer,markmandel/paddle-soccer,markmandel/paddle-soccer |
fe0e26602975f9f8209c6abd2f9de3f18a65ea61 | ExoMail.Smtp/Extensions/StringExtensions.cs | ExoMail.Smtp/Extensions/StringExtensions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExoMail.Smtp.Extensions
{
public static class StringExtensions
{
public static Stream ToStream(this string str)
{
return new MemoryStream(E... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExoMail.Smtp.Extensions
{
public static class StringExtensions
{
public static Stream ToStream(this string str)
{
return new MemoryStream(E... | Fix issues with wordwrap string extension method | Fix issues with wordwrap string extension method
| C# | mit | msoler8785/ExoMail |
8bc85e0a34fb02ed3eb92cccfa59054fbfec6067 | Shell/Source/Tralus.Shell.WorkflowService/Properties/AssemblyInfo.cs | Shell/Source/Tralus.Shell.WorkflowService/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tr... | Set AssemblyVersion and AssemblyFileVersion to 1.0.0.0 | Set AssemblyVersion and AssemblyFileVersion to 1.0.0.0
| C# | apache-2.0 | mehrandvd/Tralus,mehrandvd/Tralus |
983b81397bac3a393437ddb5aaeb59d5bb8260d6 | TravelAgency/TravelAgency.Client/Startup.cs | TravelAgency/TravelAgency.Client/Startup.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelAgency.Data;
using TravelAgency.Data.Migrations;
using TravelAgency.MongoDbExtractor;
namespace TravelAgency.Client
{
public class Startup
{
public... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelAgency.Data;
using TravelAgency.Data.Migrations;
using TravelAgency.MongoDbExtractor;
namespace TravelAgency.Client
{
public class Startup
{
public... | Add using for db context | Add using for db context
| C# | mit | nProdanov/Team-French-75 |
c86df114c9a5149f28b9ea71353eb736b2bcf342 | src/ZabbixAgent/Core/ZabbixProtocol.cs | src/ZabbixAgent/Core/ZabbixProtocol.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using JetBrains.Annotations;
namespace Itg.ZabbixAgent.Core
{
internal class ZabbixProtocol
{
private static readonly byte[] headerBytes = Encoding.ASCII.GetBytes(ZabbixConstants.HeaderString);
private static readonly... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using JetBrains.Annotations;
namespace Itg.ZabbixAgent.Core
{
internal class ZabbixProtocol
{
private static readonly byte[] headerBytes = Encoding.ASCII.GetBytes(ZabbixConstants.HeaderString);
private static readonly... | Fix a bug in zabbix protocol with errors | Fix a bug in zabbix protocol with errors
| C# | mit | RFQ-hub/ZabbixAgentLib |
28dcfe867c3afc866791d2d43934ae0a7626586d | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.cs | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.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.Game.Tournament.Components;
namespace osu.Game.Tournament.Screens.Showcase
{
public class Sho... | // 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.Game.Tournament.Components;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace ... | Add Chroma keying to the background of the showcase video. | Add Chroma keying to the background of the showcase video.
| C# | mit | peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,NeoAdonis/osu |
c5e401d6788bf7219b5118186b1c4b866c956deb | osu.Game/Scoring/Legacy/DatabasedLegacyScoreDecoder.cs | osu.Game/Scoring/Legacy/DatabasedLegacyScoreDecoder.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Scoring.Legacy
{
/// <summary>
/// A <see cref="LegacyScoreDecoder"/> which retrieves the a... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Scoring.Legacy
{
/// <summary>
/// A <see cref="LegacyScoreDecoder"/> which retrieves the a... | Update usages to consume `IRulesetStore` | Update usages to consume `IRulesetStore`
| C# | mit | ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu |
5c004533abe32e0493ea99a422daeb4608f69084 | src/RollbarSharp/RollbarHttpModule.cs | src/RollbarSharp/RollbarHttpModule.cs | using System;
using System.Web;
namespace RollbarSharp
{
public class RollbarHttpModule : IHttpModule
{
public void Init(HttpApplication context)
{
context.Error += SendError;
}
public void Dispose()
{
}
private void SendError(object sender, EventArgs e)
{
var applica... | using System;
using System.Web;
namespace RollbarSharp
{
public class RollbarHttpModule : IHttpModule
{
public void Init(HttpApplication context)
{
context.Error += SendError;
}
public void Dispose()
{
}
private static void S... | Update spacing for project consistency | Update spacing for project consistency
| C# | apache-2.0 | mroach/RollbarSharp,TheNeatCompany/RollbarSharp,TheNeatCompany/RollbarSharp,mteinum/RollbarSharp2,jmblab/RollbarSharp,mteinum/RollbarSharp2 |
b59907b5cffc685eac713393e901846a69a802fa | Src/ClojSharp.Core.Tests/CoreTests.cs | Src/ClojSharp.Core.Tests/CoreTests.cs | namespace ClojSharp.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Forms;
using ClojSharp.Core.Language;
using ClojSharp.Core.SpecialForms;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestC... | namespace ClojSharp.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using ClojSharp.Core.Forms;
using ClojSharp.Core.Language;
using ClojSharp.Core.SpecialForms;
using Microsoft.VisualStudio.... | Define and evaluate function, using defn defined in core.clj | Define and evaluate function, using defn defined in core.clj
| C# | mit | ajlopez/ClojSharp |
bebc7a75967daecdb8c03951701abcbdf46de6bc | Components/OpenContentWebpage.cs | Components/OpenContentWebpage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Web;
using System.Web.UI;
using System.Web.WebPages;
using DotNetNuke.Web.Client;
using DotNetNuke.Web.Client.ClientResourceManagement;
namespace Satrabel.OpenContent.Components
{
public abstract... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Web;
using System.Web.UI;
using System.Web.WebPages;
using DotNetNuke.Web.Client;
using DotNetNuke.Web.Client.ClientResourceManagement;
namespace Satrabel.OpenContent.Components
{
public abstract... | Fix issue where RegisterScript did not load file in a IIS Virtual App environment | Fix issue where RegisterScript did not load file in a IIS Virtual App environment
| C# | mit | janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent |
41cd7bf45ecbe5c310b8f627d987c0bb913f692b | src/Microsoft.AspNet.IISPlatformHandler/IISPlatformHandlerOptions.cs | src/Microsoft.AspNet.IISPlatformHandler/IISPlatformHandlerOptions.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.Collections.Generic;
using Microsoft.AspNet.Http.Authentication;
namespace Microsoft.AspNet.IISPlatformHandler
{
public class IISPlat... | // 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.Collections.Generic;
using Microsoft.AspNet.Http.Authentication;
namespace Microsoft.AspNet.IISPlatformHandler
{
public class IISPlat... | Remove display name for Negotiate and Ntlm | Remove display name for Negotiate and Ntlm
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
a23bcbcc56a6be2b6fa7bca3cedd4f25dc8e9ecd | Curse.NET/Model/CreateInviteResponse.cs | Curse.NET/Model/CreateInviteResponse.cs | namespace Curse.NET.Model
{
public class CreateInviteResponse
{
public string InviteCode { get; set; }
public int CreatorID { get; set; }
public string CreatorName { get; set; }
public string GroupID { get; set; }
public Group Group { get; set; }
public string ChannelID { get; set; }
public Channel Cha... | using System;
using Newtonsoft.Json;
namespace Curse.NET.Model
{
public class CreateInviteResponse
{
public string InviteCode { get; set; }
public int CreatorID { get; set; }
public string CreatorName { get; set; }
public string GroupID { get; set; }
public Group Group { get; set; }
public string Channe... | Add JSON Converter to date fields | Add JSON Converter to date fields
| C# | mit | Baggykiin/Curse.NET |
a3aad3d4fff9a50102241aa9a46473950befd3f7 | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | Create server side API for single multiple answer question | Create server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
1b844ab99cd498db5cb679dea7300a6e6d1061fb | test/StraightSql.Test/DatabaseAbstractionTest.cs | test/StraightSql.Test/DatabaseAbstractionTest.cs | namespace StraightSql.Test
{
using System;
using System.Threading.Tasks;
using Xunit;
public class DatabaseAbstractionTest
{
[Fact]
public async Task DatabaseAbstractionTestAsync()
{
var queryDispatcher = new QueryDispatcher(new ConnectionFactory(ConnectionString.Default));
var database =... | namespace StraightSql.Test
{
using System;
using System.Threading.Tasks;
using Xunit;
public class DatabaseAbstractionTest
{
[Fact]
public async Task DatabaseAbstractionTestAsync()
{
var queryDispatcher = new QueryDispatcher(new ConnectionFactory(ConnectionString.Default));
var database =... | Fix database abstraction test to use correct table name, etc. | Fix database abstraction test to use correct table name, etc.
| C# | mit | brendanjbaker/StraightSQL |
42c10708393d8be230d595232639e62ce6c6e5de | managed/aspnet_start/src/Startup.cs | managed/aspnet_start/src/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace aspnet_start
{
public class Startup
{
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace aspnet_start
{
public class Startup
{
publ... | Add more precision to aspnet_start reported times. | Add more precision to aspnet_start reported times.
| C# | mit | brianrob/coretests,brianrob/coretests |
d802f6c8448216deac00de420002cbc8c40d233c | managed/time_to_main/src/Program.cs | managed/time_to_main/src/Program.cs | using System;
using System.Runtime.InteropServices;
namespace TimeToMain
{
public static class Program
{
[DllImport("libnative.so")]
private static extern void write_marker(string name);
public static void Main(string[] args)
{
write_marker("/function/main");
... | using System;
using System.Runtime.InteropServices;
namespace TimeToMain
{
public static class Program
{
[DllImport("libnative.so")]
private static extern void write_marker(string name);
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
... | Convert source to Hello World. | Convert source to Hello World.
| C# | mit | brianrob/coretests,brianrob/coretests |
f9f19d70517b93b04cf54d9c0d67d0ff6f39ff93 | src/Our.Umbraco.OpeningHours/Converters/OpeningHoursValueConverter.cs | src/Our.Umbraco.OpeningHours/Converters/OpeningHoursValueConverter.cs | using System;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
namespace Our.Umbraco.OpeningHours.Converters
{
[PropertyValueCache(PropertyCacheValue.All, PropertyCacheLevel.Content)]
public class OpeningHoursValueConverter : Prope... | using System;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
using Our.Umbraco.OpeningHours.Model;
namespace Our.Umbraco.OpeningHours.Converters
{
[PropertyValueType(typeof(OpeningHours))]
[PropertyValueCache(PropertyCacheValue.A... | Allow Models Builder to have correct type | Allow Models Builder to have correct type
Without the added attribute the ModelsBuilder just creates a property of type 'object' | C# | mit | bomortensen/Our.Umbraco.OpeningHours,bomortensen/Our.Umbraco.OpeningHours,bomortensen/Our.Umbraco.OpeningHours |
22b6a27746bfad6eeb0d878c4929fed0b07898d3 | Samples/AdventureWorksModel/Person/PersonPhone.cs | Samples/AdventureWorksModel/Person/PersonPhone.cs | using NakedObjects;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AdventureWorksModel
{
public partial class PersonPhone {
#region Injected Services
public IDomainObjectContainer Container { set; protected get; }
#endregion
... | using NakedObjects;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AdventureWorksModel
{
public partial class PersonPhone {
#region Injected Services
public IDomainObjectContainer Container { set; protected get; }
#endregion
... | Fix AW error - creating new phone number | Fix AW error - creating new phone number
| C# | apache-2.0 | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework |
1e71681916b3fe6473da6f3fda1e2fb35f9dc7fd | osu.Game.Rulesets.Catch/UI/CatcherSprite.cs | osu.Game.Rulesets.Catch/UI/CatcherSprite.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.Skinning;
using osuTK;
namespace osu.Game.Rulesets... | // 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.Skinning;
using osuTK;
namespace osu.Game.Rulesets... | Fix osu!catch catcher not scaling down correctly | Fix osu!catch catcher not scaling down correctly
| C# | mit | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,ppy/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu-new,2yangk23/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu |
3c11055ee063395b3fa647e213235dfa030fd695 | Source/EasyNetQ.Management.Client/Model/ExchangeInfo.cs | Source/EasyNetQ.Management.Client/Model/ExchangeInfo.cs | using System;
using System.Collections.Generic;
namespace EasyNetQ.Management.Client.Model
{
public class ExchangeInfo
{
public string Type { get; private set; }
public bool AutoDelete { get; private set; }
public bool Durable { get; private set; }
public bool Internal { get; p... | using System;
using System.Collections.Generic;
namespace EasyNetQ.Management.Client.Model
{
public class ExchangeInfo
{
public string Type { get; private set; }
public bool AutoDelete { get; private set; }
public bool Durable { get; private set; }
public bool Internal { get; p... | Add "x-delayed-message" as valid exchange type | Add "x-delayed-message" as valid exchange type | C# | mit | EasyNetQ/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,chinaboard/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,alexwiese/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client |
7314dd3a5d7dbd79d77d6e06f24160365e0332e5 | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PublishWindow.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PublishWindow.cs | using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
public class PublishWindow : EditorWindow
{
private const string PublishTitle = "Publish this repository to GitHub";
private string repoName = "";
private string repoDescription = "";
private int selectedOrg = 0;
... | using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
public class PublishWindow : EditorWindow
{
private const string PublishTitle = "Publish this repository to GitHub";
private string repoName = "";
private string repoDescription = "";
private int selectedOrg = 0;
... | Add an area for errors | Add an area for errors
| C# | mit | github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity |
571d3edf6c416ae13bf91f5210ca67793ad4b8e4 | src/SDKs/Consumption/Management.Consumption/Properties/AssemblyInfo.cs | src/SDKs/Consumption/Management.Consumption/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Consumption Management Library"... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Consumption Management Library"... | Bump up new version for assemblyinfor file | Bump up new version for assemblyinfor file
| C# | mit | shahabhijeet/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,stankovski/azure-sdk-for-net,pilor/azure-sdk-for-net,stankovski/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jamestao/azure-sdk-for-net,hyo... |
da7c82f404fdb8ee658b5bef3ae827c62882f778 | DesktopWidgets/Classes/AssemblyInfo.cs | DesktopWidgets/Classes/AssemblyInfo.cs | #region
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
namespace DesktopWidgets.Classes
{
internal static class AssemblyInfo
{
public static Version Version { get; } = Assembly.GetExecutingAssembly().GetName().Version;
public static string Copyright {... | #region
using System;
using System.Deployment.Application;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
namespace DesktopWidgets.Classes
{
internal static class AssemblyInfo
{
public static Version Version { get; } = (ApplicationDeployment.IsNetworkDeployed
?... | Fix incorrect version number displayed when deployed | Fix incorrect version number displayed when deployed
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
a3c3b5c74c3329bf0180eb3700627679a09b0a14 | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
15a725aa4bf5d031950436e22adccd53fb06fe02 | src/EditorFeatures/Core/CodeDefinitionWindowLocation.cs | src/EditorFeatures/Core/CodeDefinitionWindowLocation.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.
namespace Microsoft.CodeAnalysis.Editor
{
internal struct CodeDefinitionWindowLocation
{
public string DisplayName { get; }
... | // 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 Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Editor
{
internal struct CodeDefinitionWindowLocation
{
public string Di... | Fix formatting and add some constructor overloads | Fix formatting and add some constructor overloads
| C# | mit | sharwell/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,mavasani/roslyn,mavasani/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,diryboy/roslyn,diryboy/roslyn,sharwell/roslyn,sharwell/roslyn,shyamna... |
b59bd199eee50c1bc357e8d8d678fa2ea1fca108 | src/Tweetinvi.Core/Public/Models/V2/Properties/UrlV2.cs | src/Tweetinvi.Core/Public/Models/V2/Properties/UrlV2.cs | using Newtonsoft.Json;
namespace Tweetinvi.Models.V2
{
public class UrlV2
{
/// <summary>
/// The URL as displayed in the Twitter client.
/// </summary>
[JsonProperty("display_url")] public string DisplayUrl { get; set; }
/// <summary>
/// The end position (zero... | using Newtonsoft.Json;
namespace Tweetinvi.Models.V2
{
public class UrlV2
{
/// <summary>
/// The URL as displayed in the Twitter client.
/// </summary>
[JsonProperty("display_url")] public string DisplayUrl { get; set; }
/// <summary>
/// The end position (zero... | Add more properties found in Twitter V2 Url | Add more properties found in Twitter V2 Url
Title + Description | C# | mit | linvi/tweetinvi,linvi/tweetinvi,linvi/tweetinvi,linvi/tweetinvi |
1cb5a4264096e5e563672e8bc48b0e2720376e67 | CodePlayground/Program.cs | CodePlayground/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodePlayground
{
class Program
{
static void Main(string[] args)
{
// This doesn't change (yet):
foreach (var item in GeneratedStrings())
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodePlayground
{
class Program
{
static void Main(string[] args)
{
// This doesn't change (yet):
foreach (var item in GeneratedStrings())
... | Use my enumerable in a loop | Use my enumerable in a loop
| C# | apache-2.0 | sushantgoel/MVA-LINQ,BillWagner/MVA-LINQ |
7ea404c862e74cdf04d806b6e8856948435bbf44 | game/client/ui/shell/shell.cs | game/client/ui/shell/shell.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//--------------------------------------------------------------------------... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//--------------------------------------------------------------------------... | Make sure window is visible. | addWindow(): Make sure window is visible.
| C# | lgpl-2.1 | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game |
b69180e35f855479550596cc9aef3868c113df55 | src/FireworksNet.Tests/Algorithm/ParallelFireworkAlgorithmTests.cs | src/FireworksNet.Tests/Algorithm/ParallelFireworkAlgorithmTests.cs | using FireworksNet.Algorithm;
using FireworksNet.Algorithm.Implementation;
using FireworksNet.Problems;
using FireworksNet.StopConditions;
using System;
using Xunit;
namespace FireworksNet.Tests.Algorithm
{
public class ParallelFireworkAlgorithmTests : AlgorithmTestDataSource
{
}
}
| using FireworksNet.Algorithm;
using FireworksNet.Algorithm.Implementation;
using FireworksNet.Problems;
using FireworksNet.StopConditions;
using System;
using Xunit;
namespace FireworksNet.Tests.Algorithm
{
public class ParallelFireworkAlgorithmTests : AlgorithmTestDataSource
{
[Theory]
[Member... | Add basic test for ParallelFireworkAlgorithm. | Add basic test for ParallelFireworkAlgorithm.
| C# | mit | sleshJdev/Fireworks.NET |
a1aed44f109c0e38d9da85bea51f2e6a4ed6094c | osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs | osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Judgements;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Scoring;
using osu.Game.Modes... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Judgements;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Scoring;
using osu.Game.Modes... | Fix health not being calculated in osu! mode (regression). | Fix health not being calculated in osu! mode (regression).
| C# | mit | 2yangk23/osu,tacchinotacchi/osu,Damnae/osu,DrabWeb/osu,Frontear/osuKyzer,osu-RP/osu-RP,peppy/osu,EVAST9919/osu,nyaamara/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,naoey/osu,smoogipooo/osu,johnneijzen/osu,RedNesto/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,DrabWeb... |
73929345bcb2a88dc7fc93d4bd48f0d4d42b300c | src/Daterpillar.Core/Management/ISchemaComparer.cs | src/Daterpillar.Core/Management/ISchemaComparer.cs | namespace Gigobyte.Daterpillar.Management
{
public interface ISchemaComparer : System.IDisposable
{
SchemaDiscrepancy Compare(ISchemaAggregator source, ISchemaAggregator target);
}
} | using Gigobyte.Daterpillar.Transformation;
namespace Gigobyte.Daterpillar.Management
{
public interface ISchemaComparer : System.IDisposable
{
SchemaDiscrepancy Compare(Schema source, Schema target);
SchemaDiscrepancy Compare(ISchemaAggregator source, ISchemaAggregator target);
}
} | Add new overload to Compare method | Add new overload to Compare method
| C# | mit | Ackara/Daterpillar |
878f1bf194d376c1feee9e92a4bb5452b0cddd98 | Gu.Analyzers.Test/GU0006UseNameofTests/HappyPath.cs | Gu.Analyzers.Test/GU0006UseNameofTests/HappyPath.cs | namespace Gu.Analyzers.Test.GU0006UseNameofTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class HappyPath : HappyPathVerifier<GU0006UseNameof>
{
[Test]
public async Task WhenThrowingArgumentException()
{
var testCode = @"
using System;
... | namespace Gu.Analyzers.Test.GU0006UseNameofTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class HappyPath : HappyPathVerifier<GU0006UseNameof>
{
[Test]
public async Task WhenThrowingArgumentException()
{
var testCode = @"
using System;
... | Test that nameof nag is ignored in | Test that nameof nag is ignored in [DebuggerDisplay]
| C# | mit | JohanLarsson/Gu.Analyzers |
0fbe1054303ec6c7270d5f84948b991979992b8e | BenchmarkDotNet.Diagnostics.Windows/GCDiagnoser.cs | BenchmarkDotNet.Diagnostics.Windows/GCDiagnoser.cs | using System;
namespace BenchmarkDotNet.Diagnostics
{
[Obsolete("The \"GCDiagnoser\" has been renamed, please use the \"MemoryDiagnoser\" instead (it has the same functionality)", true)]
public class GCDiagnoser
{
}
}
| using System;
using System.Collections.Generic;
using System.Diagnostics;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
namespace BenchmarkDotNet.Diagnostics.Windows
{
[Obsolete(message)]
public cla... | Revert "give compilation error instead of warning or exception at runtime" | Revert "give compilation error instead of warning or exception at runtime"
This reverts commit 4e96e65cc3405f0f9cae2c649f9ef14472c3b557.
| C# | mit | adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,redknightlois/Ben... |
3d7b5d7ea0218394adeede54aff24cfd564f153f | Snittlistan/Infrastructure/Indexes/IndexCreator.cs | Snittlistan/Infrastructure/Indexes/IndexCreator.cs | using System.ComponentModel.Composition.Hosting;
using Raven.Client;
using Raven.Client.Indexes;
namespace Snittlistan.Infrastructure.Indexes
{
public static class IndexCreator
{
public static void CreateIndexes(IDocumentStore store)
{
var typeCatalog = new TypeCatalog(typeof(Matches_PlayerStats), ... | using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Reflection;
using Raven.Client;
using Raven.Client.Indexes;
namespace Snittlistan.Infrastructure.Indexes
{
public static class IndexCreator
{
public static void CreateIndexes(IDocumentStore store)
{
var indexes = fro... | Install all indexes by scanning assembly | Install all indexes by scanning assembly
| C# | mit | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan |
418df5fe8e6562cb549735253f6b69aa4ea3702f | LSP/Person/Program.cs | LSP/Person/Program.cs | namespace PersonPrisoner
{
class Program
{
static void Main(string[] args)
{
Person person = new Prisoner();
person.WalkEast(5);
}
}
}
| namespace PersonPrisoner
{
class Program
{
static void Main(string[] args)
{
Person person = new Prisoner();
person.WalkEast(5);
}
}
#region Explanation
// At a first glance, it would be pretty obvious to make the prisoner derive from person class.
// Ju... | Add explanatory text comment for person-prisoner example | Add explanatory text comment for person-prisoner example
| C# | mit | pavlosmcg/solid |
ea066c2612973a24c06e1bd112ffe60b1c8afef3 | src/Tgstation.Server.Host/Models/ChatChannel.cs | src/Tgstation.Server.Host/Models/ChatChannel.cs | using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class ChatChannel : Api.Models.ChatChannel
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// The <see cref="Api.Models.Internal.ChatBot.Id"/>
/// </... | using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class ChatChannel : Api.Models.ChatChannel
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// The <see cref="Api.Models.Internal.ChatBot.Id"/>
/// </... | Fix IsUpdatesChannel missing from ToApi() | Fix IsUpdatesChannel missing from ToApi()
| C# | agpl-3.0 | Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server |
717ca8a209e9d7339a90745085a304fcb30915d2 | Client/ServiceInvocationInterceptor.cs | Client/ServiceInvocationInterceptor.cs | using System;
using Castle.DynamicProxy;
using Dargon.Services.PortableObjects;
using Dargon.Services.Utilities;
namespace Dargon.Services.Client {
public class ServiceInvocationInterceptor : IInterceptor {
private readonly IServiceContext serviceContext;
public ServiceInvocationInterceptor(IServiceCon... | using System;
using Castle.DynamicProxy;
using Dargon.Services.PortableObjects;
using Dargon.Services.Utilities;
namespace Dargon.Services.Client {
public class ServiceInvocationInterceptor : IInterceptor {
private readonly IServiceContext serviceContext;
public ServiceInvocationInterceptor(IServiceCon... | Throw exceptions returned by service context. | Client: Throw exceptions returned by service context.
| C# | bsd-2-clause | ItzWarty/Dargon.Services,the-dargon-project/Dargon.Services |
da9d391bca637805d1973874fd0493d661fa24a6 | src/AppHarbor/Commands/CreateCommand.cs | src/AppHarbor/Commands/CreateCommand.cs | using System;
namespace AppHarbor.Commands
{
public class CreateCommand : ICommand
{
private readonly AppHarborApi _appHarborApi;
public CreateCommand(AppHarborApi appHarborApi)
{
_appHarborApi = appHarborApi;
}
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
... | using System;
namespace AppHarbor.Commands
{
public class CreateCommand : ICommand
{
private readonly AppHarborApi _appHarborApi;
public CreateCommand(AppHarborApi appHarborApi)
{
_appHarborApi = appHarborApi;
}
public void Execute(string[] arguments)
{
var result = _appHarborApi.CreateApplicati... | Create application when executing create command | Create application when executing create command
| C# | mit | appharbor/appharbor-cli |
14901aa911f9eb0ae3e1a7ef9267c1022c9e4606 | src/Vlc.DotNet.Core/IAudioManagement.cs | src/Vlc.DotNet.Core/IAudioManagement.cs | namespace Vlc.DotNet.Core
{
public interface IAudioManagement
{
IAudioOutputsManagement Outputs { get; }
}
}
| namespace Vlc.DotNet.Core
{
public interface IAudioManagement
{
IAudioOutputsManagement Outputs { get; }
bool IsMute { get; set; }
void ToggleMute();
int Volume { get; set; }
ITracksManagement Tracks { get; }
int Channel { get; set; }
long Delay { g... | Add Audio properties to IAudiomanagement | Add Audio properties to IAudiomanagement
| C# | mit | thephez/Vlc.DotNet,someonehan/Vlc.DotNet,briancowan/Vlc.DotNet,thephez/Vlc.DotNet,xue-blood/wpfVlc,marcomeyer/Vlc.DotNet,briancowan/Vlc.DotNet,raydtang/Vlc.DotNet,agherardi/Vlc.DotNet,jeremyVignelles/Vlc.DotNet,RickyGAkl/Vlc.DotNet,RickyGAkl/Vlc.DotNet,agherardi/Vlc.DotNet,raydtang/Vlc.DotNet,ZeBobo5/Vlc.DotNet,xue-blo... |
c9eccffd163488bd3cb6e89e043fbd8afc77a3d2 | AgentHeisenbug/Annotations/HeisenbugDebugExternalAnnotationFileProvider.cs | AgentHeisenbug/Annotations/HeisenbugDebugExternalAnnotationFileProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations;
using JetBrains.Util;
namespace AgentHeisenbug.Annotatio... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations;
using JetBrains.Util;
namespace AgentH... | Fix to the last commit. | Fix to the last commit.
| C# | mit | ashmind/AgentHeisenbug |
4df6cad78d31ff168e42374840e0aaf0c7621c12 | Audiotica.Core/Utils/StringExtensions.cs | Audiotica.Core/Utils/StringExtensions.cs | using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Audiotica.Core.Utils
{
public static class StringExtensions
{
public static string CleanForFileName(this string str, string invalidMessage)
{
if (string.IsNullOrEmpty(str))
{
return null;
... | using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Audiotica.Core.Utils
{
public static class StringExtensions
{
public static string CleanForFileName(this string str, string invalidMessage)
{
if (string.IsNullOrEmpty(str))
{
return null;
... | Fix path too long bug | Fix path too long bug
| C# | apache-2.0 | zumicts/Audiotica |
a805a8ee500a492f33b889b249a6466ae5e5c4e8 | Scripting/Script/Menu.cs | Scripting/Script/Menu.cs | using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace IronAHK.Scripting
{
partial class Script
{
public static void CreateTrayMenu()
{
if (Environment.OSVersion.Platform != PlatformID.Win32NT)
return;
var men... | using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace IronAHK.Scripting
{
partial class Script
{
public static void CreateTrayMenu()
{
if (Environment.OSVersion.Platform != PlatformID.Win32NT)
return;
var men... | Remove tray icon on safe exit. | Remove tray icon on safe exit.
| C# | bsd-2-clause | polyethene/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,polyethene/IronAHK |
8c162585b8ebcf37f50009d17e44cff55d732784 | osu.Game.Rulesets.Taiko/Difficulty/Skills/Colour.cs | osu.Game.Rulesets.Taiko/Difficulty/Skills/Colour.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Tai... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Tai... | Comment out logging for debugging purposes | Comment out logging for debugging purposes
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu |
4ecc52912c12f2260c414a22e06afd68d86677b9 | Test/Nett.UnitTests/TomlConfigTests.cs | Test/Nett.UnitTests/TomlConfigTests.cs | using Xunit;
namespace Nett.UnitTests
{
public class TomlConfigTests
{
[Fact]
public void WhenConfigHasActivator_ActivatorGetsUsed()
{
// Arrange
var config = TomlConfig.Create(cfg => cfg
.ConfigureType<IFoo>(ct => ct
.CreateI... | using Xunit;
namespace Nett.UnitTests
{
public class TomlConfigTests
{
[Fact]
public void WhenConfigHasActivator_ActivatorGetsUsed()
{
// Arrange
var config = TomlConfig.Create(cfg => cfg
.ConfigureType<IFoo>(ct => ct
.CreateI... | Fix typo in unit test name | Fix typo in unit test name
| C# | mit | paiden/Nett |
4378a1f2aed8e3f7a94d5ddf28c73400da45bebc | osu.Framework/Audio/Sample/SampleChannelVirtual.cs | osu.Framework/Audio/Sample/SampleChannelVirtual.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.Framework.Audio.Sample
{
/// <summary>
/// A <see cref="SampleChannel"/> which explicitly plays no audio.
/// Aimed for scenarios in which a non... | // 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.Framework.Audio.Sample
{
/// <summary>
/// A <see cref="SampleChannel"/> which explicitly plays no audio.
/// Aimed for scenarios in which a non... | Allow virtual SampleChannels to count towards statistics | Allow virtual SampleChannels to count towards statistics
| C# | mit | smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework |
77eff408f8a0a6c5cca36454ac80afdc3ae73104 | src/Assets/Scripts/Licensing/KeyLicenseObtainer.cs | src/Assets/Scripts/Licensing/KeyLicenseObtainer.cs | using System;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
namespace PatchKit.Unity.Patcher.Licensing
{
public class KeyLicenseObtainer : MonoBehaviour, ILicenseObtainer
{
private State _state = State.None;
private KeyLicense _keyLicense;
private Animator _animato... | using System;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
namespace PatchKit.Unity.Patcher.Licensing
{
public class KeyLicenseObtainer : MonoBehaviour, ILicenseObtainer
{
private State _state = State.None;
private KeyLicense _keyLicense;
private Animator _animato... | Fix problem with invalid whitespaces and lower characters in input license key code | Fix problem with invalid whitespaces and lower characters in input license key code
| C# | mit | mohsansaleem/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity |
51928be80a138cadf3a8f3507c88dd01096cf0ae | src/Query/OrderByTime.cs | src/Query/OrderByTime.cs | /*
* FSpot.Query.OrderByTime.cs
*
* Author(s):
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details.
*
*/
using System;
using FSpot.Utils;
namespace FSpot.Query {
public class OrderByTime : IQueryCondition, IOrderCondition
{
public static OrderByTime OrderByTimeAs... | /*
* FSpot.Query.OrderByTime.cs
*
* Author(s):
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details.
*
*/
using System;
using FSpot.Utils;
namespace FSpot.Query {
public class OrderByTime : IQueryCondition, IOrderCondition
{
public static OrderByTime OrderByTimeAs... | Order by filename ASC, so that detached versions appear always after the original photo, even if Reverse Order is used | Order by filename ASC, so that detached versions appear always after the original photo, even if Reverse Order is used
| C# | mit | NguyenMatthieu/f-spot,GNOME/f-spot,mono/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,GNOME/f-spot,dkoeb/f-spot,Sanva/f-spot,mans0954/f-spot,Yetangitu/f-spot,mono/f-spot,Sanva/f-spot,Yetangitu/f-spot,Sanva/f-spot,dkoeb/f-spot,mono/f-s... |
9a4d62d011ac3debcc789b64cc6352c083e21b50 | XFExtensions.MetaMedia/MetaMediaPlugin.Abstractions/IMediaService.cs | XFExtensions.MetaMedia/MetaMediaPlugin.Abstractions/IMediaService.cs | using System.Threading.Tasks;
namespace MetaMediaPlugin.Abstractions
{
public interface IMediaService
{
bool IsCameraAvailable { get; }
bool IsTakePhotoSupported { get; }
bool IsPickPhotoSupported { get; }
string PhotosDirectory { get; set; } // this is only used in An... | using System.Threading.Tasks;
namespace MetaMediaPlugin.Abstractions
{
public interface IMediaService
{
bool IsCameraAvailable { get; }
bool IsTakePhotoSupported { get; }
bool IsPickPhotoSupported { get; }
/// <summary>
/// Specify the photo directory to use... | Add some comments to the new PhotosDirectory field so users understand how it is used. | Add some comments to the new PhotosDirectory field so users understand how it is used.
| C# | apache-2.0 | JC-Chris/XFExtensions |
43a9364a592fdbf9afb3b585ea739ae5f73eba55 | src/StructuredLogViewer/HostedBuild.cs | src/StructuredLogViewer/HostedBuild.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Build.CommandLine;
using Microsoft.Build.Logging.StructuredLogger;
using Microsoft.Build.Utilities;
namespace StructuredLogViewer
{
public class HostedBuild
{
private string projectFilePath;
public Hoste... | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Build.CommandLine;
using Microsoft.Build.Logging.StructuredLogger;
using Microsoft.Build.Utilities;
namespace StructuredLogViewer
{
public class HostedBuild
{
private string projectFilePath;
public Hoste... | Set verbosity to diagnostic on hosted build. | Set verbosity to diagnostic on hosted build.
| C# | mit | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog |
b4da649d720c4857f9c1858c8106ebb10bce99eb | source/Grabacr07.KanColleWrapper/Translation/ItemTranslationHelper.cs | source/Grabacr07.KanColleWrapper/Translation/ItemTranslationHelper.cs | namespace Grabacr07.KanColleWrapper.Translation
{
public static class ItemTranslationHelper
{
public static string TranslateItemName(string name)
{
string stripped = TranslationHelper.StripInvalidCharacters(name);
string translated = (string.IsNullOrEmpty(stripped) ? nul... | namespace Grabacr07.KanColleWrapper.Translation
{
public static class ItemTranslationHelper
{
public static string TranslateItemName(string name)
{
string stripped = name;
string translated = (string.IsNullOrEmpty(stripped) ? null : Equipment.Resources.ResourceManager.Ge... | Fix bug that was preventing transation of some items. | Fix bug that was preventing transation of some items.
| C# | mit | ShunKun/KanColleViewer,the-best-flash/KanColleViewer |
0130c1d56466802815c8c57506d38474a523a54e | src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs | src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs | using System;
using Abp.Dependency;
using Abp.EntityHistory;
using Abp.Runtime;
using JetBrains.Annotations;
using System.Web;
namespace Abp.Web.EntityHistory
{
/// <summary>
/// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP request.
/// </summary>
public class HttpRe... | using Abp.Dependency;
using Abp.EntityHistory;
using Abp.Runtime;
using JetBrains.Annotations;
using System.Web;
namespace Abp.Web.EntityHistory
{
/// <summary>
/// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP request.
/// </summary>
public class HttpRequestEntityCha... | Handle HttpException explicitly and include comments for workaround | Handle HttpException explicitly and include comments for workaround
| C# | mit | verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,a... |
c5f7fa52a799a0701032ada4b4d969fe8336ed93 | src/dotnetplugins/Bari.Plugins.Gallio/cs/Tools/Gallio.cs | src/dotnetplugins/Bari.Plugins.Gallio/cs/Tools/Gallio.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Bari.Core.Generic;
using Bari.Core.Tools;
using Bari.Core.UI;
namespace Bari.Plugins.Gallio.Tools
{
public class Gallio: DownloadablePackedExternalTool, IGallio
{
private readonly IFileSystemDirectory targetDir;
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Bari.Core.Generic;
using Bari.Core.Tools;
using Bari.Core.UI;
namespace Bari.Plugins.Gallio.Tools
{
public class Gallio: DownloadablePackedExternalTool, IGallio
{
private readonly IFileSystemDirectory targetDir;
... | Fix for gallio on non-windows systems | Fix for gallio on non-windows systems
| C# | apache-2.0 | Psychobilly87/bari,Psychobilly87/bari,vigoo/bari,vigoo/bari,vigoo/bari,Psychobilly87/bari,Psychobilly87/bari,vigoo/bari |
c9a09c0d3053214954cbe97da1a92afd540ebd52 | Viewer/src/common/DebugUtilities.cs | Viewer/src/common/DebugUtilities.cs | using System.Diagnostics;
using System.Threading;
static class DebugUtilities {
public static void Burn(long ms) {
Stopwatch stopwatch = Stopwatch.StartNew();
while (stopwatch.ElapsedMilliseconds < ms) {
}
}
public static void Sleep(long ms) {
Stopwatch stopwatch = Stopwatch.StartNew();
while (stopwatch... | using SharpDX;
using System;
using System.Diagnostics;
using System.Threading;
static class DebugUtilities {
public static void Burn(long ms) {
Stopwatch stopwatch = Stopwatch.StartNew();
while (stopwatch.ElapsedMilliseconds < ms) {
}
}
public static void Sleep(long ms) {
Stopwatch stopwatch = Stopwatch.S... | Add a couple of SharpDX Math related assertion helpers | Add a couple of SharpDX Math related assertion helpers | C# | mit | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked |
0eac933c1491242b241fb8809390a44b85e1913f | IncidentCS/Incident.Initialize.cs | IncidentCS/Incident.Initialize.cs | using System;
using System.Linq;
namespace KornelijePetak.IncidentCS
{
public static partial class Incident
{
internal static Random Rand { get; private set; }
public static PrimitiveRandomizer Primitive { get; private set; }
public static TextRandomizer Text { get; private set; }
static Incident()
{
... | using System;
using System.Linq;
namespace KornelijePetak.IncidentCS
{
public static partial class Incident
{
internal static Random Rand { get; private set; }
public static IPrimitiveRandomizer Primitive { get; private set; }
public static ITextRandomizer Text { get; private set; }
static Incident()
{
... | Convert .Text and .Primitive to interfaces | Convert .Text and .Primitive to interfaces
| C# | mit | kornelijepetak/incident-cs |
441605a46083ee4f318b7b23cd74bb0c8b4cf570 | web/Controllers/Api/TopicController.cs | web/Controllers/Api/TopicController.cs | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using topicr.Models;
namespace topicr.Controllers.Api
{
[Produces("application/json")]
[Route("api/topics")]
public class TopicController : Controller
{
private readonly TopicContext _db;
public TopicController(TopicContext db)
... | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using topicr.Models;
namespace topicr.Controllers.Api
{
[Produces("application/json")]
[Route("api/topics")]
public class TopicController : Controller
{
private readonly TopicContext _db;
public TopicController(TopicContext db)
... | Disable caching to force fetching of data when navigating backwards. Added api to clear db. | Disable caching to force fetching of data when navigating backwards.
Added api to clear db.
| C# | unlicense | andreassjoberg/topicr-template,andreassjoberg/topicr-template |
bbb8334ad02d477ef4e6662fe066a3679ee4cdb2 | exercises/bob/Example.cs | exercises/bob/Example.cs | public static class Bob
{
public static string Response(string statement)
{
if (IsSilence(statement))
return "Fine. Be that way!";
if (IsYelling(statement))
return "Whoa, chill out!";
if (IsQuestion(statement))
return "Sure.";
return "Whatever.... | public static class Bob
{
public static string Response(string statement)
{
if (IsSilence(statement))
return "Fine. Be that way!";
if (IsYelling(statement) && IsQuestion(statement))
return "Calm down, I know what I'm doing!";
if (IsYelling(statement))
... | Update example implementation for Bob exercise | Update example implementation for Bob exercise
| C# | mit | robkeim/xcsharp,GKotfis/csharp,exercism/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,robkeim/xcsharp,ErikSchierboom/xcsharp,GKotfis/csharp |
f0d4762ac498eb4bf3346ff94064f1b72b22edbe | src/PalmDB/Guard.cs | src/PalmDB/Guard.cs | using System;
namespace PalmDB
{
/// <summary>
/// Typical guard class that contains methods to validate method arguments.
/// </summary>
public static class Guard
{
/// <summary>
/// Throws a <see cref="ArgumentNullException"/> if the specified <paramref name="argument"/> is <c>nu... | using System;
namespace PalmDB
{
/// <summary>
/// Typical guard class that contains methods to validate method arguments.
/// </summary>
internal static class Guard
{
/// <summary>
/// Throws a <see cref="ArgumentNullException"/> if the specified <paramref name="argument"/> is <c>... | Make the guard class internal | Make the guard class internal
| C# | mit | haefele/PalmDB |
0743ce2639981b5d372e33fa3252ea165b131bb0 | NBi.Xml/Items/ResultSet/ResultSetXml.cs | NBi.Xml/Items/ResultSet/ResultSetXml.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core;
using NBi.Core.ResultSet;
using static NBi.Core.ResultSet.ResultSetBuilder;
namespace NBi.Xml.Items.ResultSet
{
public class ResultSetXml : BaseItem
{
[XmlElement("row")]
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core;
using NBi.Core.ResultSet;
namespace NBi.Xml.Items.ResultSet
{
public class ResultSetXml : BaseItem
{
[XmlElement("row")]
public List<RowXml> _rows { get; set; }
... | Fix (again) syntax issue with using static | Fix (again) syntax issue with using static
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
dc94f0501d7d2106007952e870140eb2b29a32e5 | FightFleetApi/FightFleet/BoardCellStatus.cs | FightFleetApi/FightFleet/BoardCellStatus.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FightFleet
{
public enum BoardCellStatus
{
Blank = 0,
Ship = 1,
Hit = 2
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FightFleet
{
public enum BoardCellStatus
{
Blank = 0,
Ship = 1,
Hit = 2,
Miss = 3
}
}
| Add a 4th board cell status "Miss" to show that the user shoot to a blank spot. | Add a 4th board cell status "Miss" to show that the user shoot to a blank spot.
| C# | mit | vnads/Fight-Fleet,vnads/Fight-Fleet,vnads/Fight-Fleet |
c0f949fecf6a41b7e26f97d555c3e802141aa47e | src/ReformatUtils/Properties/AssemblyInfo.cs | src/ReformatUtils/Properties/AssemblyInfo.cs | using System.Reflection;
using JetBrains.ActionManagement;
using JetBrains.Application.PluginSupport;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyT... | using System.Reflection;
using JetBrains.ActionManagement;
using JetBrains.Application.PluginSupport;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyT... | Fix bug in assembly file versioning ("*" was included in file version string) | Fix bug in assembly file versioning ("*" was included in file version string)
| C# | mit | oysteinkrog/resharper-reformatutils,oysteinkrog/resharper-reformatutils |
2414e0da96e75668647baba6216ddcf4e844c1b1 | Assets/src/model/Protagonist.cs | Assets/src/model/Protagonist.cs | using System;
class Protagonist {
private static Protagonist INSTANCE;
private static int MAX_MONEY = 99;
private int balance;
public int Balance {
get { return balance; }
}
private Inventory inventory;
public Inventory Inventory {
get { return inventory; }
}
private Outfit outfit;
private Protagoni... | using System;
class Protagonist {
private static Protagonist INSTANCE;
private static int MAX_MONEY = 99;
private int balance;
public int Balance {
get { return balance; }
}
private Inventory inventory;
public Inventory Inventory {
get { return inventory; }
}
private Outfit outfit;
private Protagoni... | Reset protagonist balance to 0 | Reset protagonist balance to 0
| C# | mit | leodenault/Beautiful-Dream-Forever,leodenault/Beautiful-Dream-Forever,leodenault/Beautiful-Dream-Forever,leodenault/Beautiful-Dream-Forever |
012b98985f943933a186f752978a8225f626129c | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs | using System;
using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
[Serializable]
class AuthenticationWindow : BaseWindow
{
[SerializeField] private AuthenticationView authView;
[MenuItem("GitHub/Authenticate")]
public static void Launch()
{
Open();
... | using System;
using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
[Serializable]
class AuthenticationWindow : BaseWindow
{
[SerializeField] private AuthenticationView authView;
[MenuItem("GitHub/Authenticate")]
public static void Launch()
{
Open();
... | Set window title for authentication | Set window title for authentication
| C# | mit | github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity |
a4fc1d78bb1e31a67bd228cf0b35410933997947 | twitch-tv-viewer/Models/TwitchChannel.cs | twitch-tv-viewer/Models/TwitchChannel.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace twitch_tv_viewer.Models
{
public class TwitchChannel : IComparable
{
public TwitchChannel()
{
}
public TwitchChannel(JToken data)
{
var channel = dat... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace twitch_tv_viewer.Models
{
public class TwitchChannel : IComparable
{
public TwitchChannel()
{
}
public TwitchChannel(JToken data)
{
var channel = dat... | Remove unneeded methods from model | Remove unneeded methods from model
| C# | mit | dukemiller/twitch-tv-viewer |
83704faa263810dfc0c5ec293aea219f7bde94e0 | GnomeServer/Controllers/GameController.cs | GnomeServer/Controllers/GameController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Game;
using GnomeServer.Extensions;
using GnomeServer.Routing;
namespace GnomeServer.Controllers
{
[Route("Game")]
public sealed class GameController : ConventionRoutingController
{
[HttpGet]
... | using System.Globalization;
using System.Net;
using Game;
using GnomeServer.Routing;
namespace GnomeServer.Controllers
{
[Route("Game")]
public sealed class GameController : ConventionRoutingController
{
[HttpGet]
[Route("Speed")]
public IResponseFormatter GetSpeed()
{
... | Add endpoints for controlling game speed. | Add endpoints for controlling game speed.
| C# | mit | Rychard/GnomeServer,Rychard/GnomeServer,Rychard/GnomeServer,Rychard/GnomeServer |
bae25095951c1684627d186c83483688f137eaf3 | Examples/CSharp/Articles/LoadWorkbookWithSpecificCultureInfoNumberFormat.cs | Examples/CSharp/Articles/LoadWorkbookWithSpecificCultureInfoNumberFormat.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class LoadWorkbookWithSpecificCultureInfoNumberFormat
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class LoadWorkbookWithSpecificCultureInfoNumberFormat
{
public... | Correct the Example Name in Comment | Correct the Example Name in Comment
| C# | mit | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... |
fa33e0bd6bc5c8abb6e88938c206bad2691ba0c7 | osu.Game/Graphics/Backgrounds/Background.cs | osu.Game/Graphics/Backgrounds/Background.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.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphic... | // 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.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphic... | Fix background brightness being adjusted globally | Fix background brightness being adjusted globally
| C# | mit | peppy/osu,ppy/osu,naoey/osu,DrabWeb/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,ZLima12/osu,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,DrabWeb/osu,NeoAdonis/osu,peppy/osu,naoey/osu,NeoAdonis/osu,smo... |
4419b61e48ff3a71fab37e891cedf34c06388637 | Battery-Commander.Web/Controllers/ACFTController.cs | Battery-Commander.Web/Controllers/ACFTController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
public class ACFTController : Controller
{
private readonly Database db;
public ACFT... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
public class ACFTController : C... | Drop in other CRUD methods | Drop in other CRUD methods
For #403
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
db718f3c283c48c513afc354d6e291d6ed5829cf | src/Exceptional.Core/ExceptionSummary.cs | src/Exceptional.Core/ExceptionSummary.cs | using System;
using System.Linq;
using Newtonsoft.Json;
namespace Exceptional.Core
{
public class ExceptionSummary
{
[JsonProperty(PropertyName = "occurred_at")]
public DateTime OccurredAt { get; set; }
[JsonProperty(PropertyName = "message")]
public string Message ... | using System;
using System.Globalization;
using System.Linq;
using Newtonsoft.Json;
namespace Exceptional.Core
{
public class ExceptionSummary
{
[JsonProperty(PropertyName = "occurred_at")]
public string OccurredAt { get; set; }
[JsonProperty(PropertyName = "message")]
... | Use 'o' format for date. Fixed splitting problem with backtrace. | Use 'o' format for date. Fixed splitting problem with backtrace.
| C# | apache-2.0 | mroach/exceptional-net,mroach/exceptional-net |
b567cfb6106e2f48f552057e0e21c06d24c27bd5 | SnittListan.Test/RoutesTest.cs | SnittListan.Test/RoutesTest.cs | using System;
using System.Web.Routing;
using MvcContrib.TestHelper;
using SnittListan.Controllers;
using Xunit;
namespace SnittListan.Test
{
public class RoutesTest : IDisposable
{
public RoutesTest()
{
new RouteConfigurator(RouteTable.Routes).Configure();
}
public void Dispose()
{
... | using System;
using System.Web.Routing;
using MvcContrib.TestHelper;
using SnittListan.Controllers;
using Xunit;
using System.Web.Mvc;
namespace SnittListan.Test
{
public class RoutesTest : IDisposable
{
public RoutesTest()
{
new RouteConfigurator(RouteTable.Routes).Configure();
}
public... | Verify should accept a guid activationKey | Verify should accept a guid activationKey
| C# | mit | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan |
0ae28f2acff7b98c98cc85631643265159df5f0e | Assets/MRTK/SDK/Editor/Inspectors/UX/InteractiveElement/InteractiveElementInspector.cs | Assets/MRTK/SDK/Editor/Inspectors/UX/InteractiveElement/InteractiveElementInspector.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License
using Microsoft.MixedReality.Toolkit.UI.Interaction;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Editor
{
/// <summary>
/// Custom inspector for an InteractiveElement.
/// </summary>
[CustomEditor(typeof(Interac... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License
using Microsoft.MixedReality.Toolkit.UI.Interaction;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Editor
{
/// <summary>
/// Custom inspector for an InteractiveElement.
/// </summary>
[CustomEditor(typeof(Interac... | Remove override methods from Interactive Element Inspector | Remove override methods from Interactive Element Inspector
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity |
fb4c950e8af57189278aad9f3cc8185fb22ec92a | src/NClap/Repl/LoopInputOutputParameters.cs | src/NClap/Repl/LoopInputOutputParameters.cs | using System.IO;
using NClap.ConsoleInput;
using NClap.Utilities;
namespace NClap.Repl
{
/// <summary>
/// Parameters for constructing a loop with advanced line input. The
/// parameters indicate how the loop's textual input and output should
/// be implemented.
/// </summary>
public class Lo... | using System.IO;
using NClap.ConsoleInput;
using NClap.Utilities;
namespace NClap.Repl
{
/// <summary>
/// Parameters for constructing a loop with advanced line input. The
/// parameters indicate how the loop's textual input and output should
/// be implemented.
/// </summary>
public class Lo... | Add key binding set to loop i/o params | Add key binding set to loop i/o params
| C# | mit | reubeno/NClap |
64cd1c6545d5e463fc07d688daaa715f5b46f595 | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla51642.xaml.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla51642.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 5... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 5... | Fix build of test case | [Controls] Fix build of test case
| C# | mit | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms |
93564375219ea785de9062bde9586e5a0c6d03bf | Assets/StageManager/Scripts/BasicStageManagable.cs | Assets/StageManager/Scripts/BasicStageManagable.cs | // Copyright 2017 Daniel Plemmons
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | // Copyright 2017 Daniel Plemmons
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | Remove some unused using statements | Remove some unused using statements
| C# | apache-2.0 | RandomOutput/ThreeSpace |
8988f2552e8e3822daa6866dde3c53d9d2cd95a8 | tests/ScalarTest.cs | tests/ScalarTest.cs | using System;
using System.Linq;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TestFixture = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestClassAttribute;
using Test = Microsoft.... | using System;
using System.Linq;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TestFixture = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestClassAttribute;
using Test = Microsoft.... | Add test for scalar queries with 1 row | Add test for scalar queries with 1 row
Repro for #496
| C# | mit | ericsink/sqlite-net,praeclarum/sqlite-net |
f66e2126c92f1b1316d1b3c3278832d1d786fb0a | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XeroApi")]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XeroApi")]
[assembly: AssemblyDescription... | Increment version number to sync up with NuGet | Increment version number to sync up with NuGet
| C# | mit | XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net |
100dad16cfd2e22c76ff67582ed44ea5b1f42b4d | TTMouseclickSimulator/Core/ToontownRewritten/Actions/Fishing/FishingSpotFlavor.cs | TTMouseclickSimulator/Core/ToontownRewritten/Actions/Fishing/FishingSpotFlavor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions.Fishing
{
public class FishingSpotFlavor
{
public Coordinates Scan1 { get; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions.Fishing
{
public class FishingSpotFlavor
{
public Coordinates Scan1 { get; }
... | Adjust the values for the Punchline Place fishing spot. | Adjust the values for the Punchline Place fishing spot.
| C# | mit | TTExtensions/MouseClickSimulator |
e1f728bb3ac0425f2a7c1daf8234a2bf8bd921e1 | src/Foo.Tests/Web/Controllers/HomeControllerTest.cs | src/Foo.Tests/Web/Controllers/HomeControllerTest.cs | namespace Foo.Tests.Web.Controllers
{
public class HomeControllerTest
{
}
}
| using Foo.Web.Controllers;
namespace Foo.Tests.Web.Controllers
{
public class HomeControllerTest
{
private readonly HomeController _controller;
public HomeControllerTest()
{
_controller = new HomeController();
}
}
}
| Initialize new home controller instance for test class | Initialize new home controller instance for test class
| C# | mit | appharbor/foo,appharbor/foo |
f0437df264da521a4d5f97e3fe022decf6504e66 | src/Glimpse.Agent.Browser/Resources/BrowserAgent.cs | src/Glimpse.Agent.Browser/Resources/BrowserAgent.cs | using Glimpse.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System.IO;
using System.Reflection;
using System.Text;
using Glimpse.Server.Web;
namespace Glimpse.Agent.Browser.Resources
{
public class BrowserAgent : IMiddlewareResourceComposer
{
public void Register(IApplication... | using Glimpse.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System.IO;
using System.Reflection;
using System.Text;
using Glimpse.Server.Web;
namespace Glimpse.Agent.Browser.Resources
{
public class BrowserAgent : IMiddlewareResourceComposer
{
public void Register(IApplication... | Update find resource code post internal change | Update find resource code post internal change
| C# | mit | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-... |
a692541bf29fd0473287bbd76e71b9ff18f0fbd7 | src/Web/views/installer/home.cshtml | src/Web/views/installer/home.cshtml | @{
Layout = "master.cshtml";
}
<div class="admin-container">
<div class="admin-form-view">
<form role="form" method="POST" target="/">
<div class="form-group well">
<label for="key">Key</label>
<input type="password" class="form-control" id="key" name="key" p... | @{
Layout = "master.cshtml";
}
<div class="admin-container">
<div class="admin-form-view">
<form role="form" method="POST">
<div class="form-group well">
<label for="key">Key</label>
<input type="password" class="form-control" id="key" name="key" placeholder=... | Fix target in installer form | Fix target in installer form
| C# | mit | pekkah/tanka,pekkah/tanka,pekkah/tanka |
bd7fb0825b0488a1f7a853be5b2377a9a11290bc | Script/PsScriptEngine.cs | Script/PsScriptEngine.cs | using System.Collections.Generic;
using System.Management.Automation.Runspaces;
using Aggregator.Core.Interfaces;
using Aggregator.Core.Monitoring;
namespace Aggregator.Core
{
/// <summary>
/// Invokes Powershell scripting engine
/// </summary>
public class PsScriptEngine : ScriptEngine
{
... | using System.Collections.Generic;
using System.Management.Automation.Runspaces;
using Aggregator.Core.Interfaces;
using Aggregator.Core.Monitoring;
namespace Aggregator.Core
{
/// <summary>
/// Invokes Powershell scripting engine
/// </summary>
public class PsScriptEngine : ScriptEngine
{
... | FIX logger variable in PS scripts | FIX logger variable in PS scripts
| C# | apache-2.0 | tfsaggregator/tfsaggregator-core |
c7da986288f60765972a6a4afdcd787e80ea92d1 | SteamAccountSwitcher/SwitchWindow.xaml.cs | SteamAccountSwitcher/SwitchWindow.xaml.cs | #region
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Interop;
using SteamAccountSwitcher.Properties;
#endregion
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class SwitchWindow : Win... | #region
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Interop;
using SteamAccountSwitcher.Properties;
#endregion
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class SwitchWindow : Win... | Fix "Keep Window Centered" option | Fix "Keep Window Centered" option
| C# | mit | danielchalmers/SteamAccountSwitcher |
c531191930f2cbbd837916a9cae4e4a0c9bf41ad | GUI/Forms/SettingsForm.cs | GUI/Forms/SettingsForm.cs | using System;
using System.Windows.Forms;
using GUI.Utils;
namespace GUI.Forms
{
public partial class SettingsForm : Form
{
public SettingsForm()
{
InitializeComponent();
}
private void SettingsForm_Load(object sender, EventArgs e)
{
foreach (va... | using System;
using System.Windows.Forms;
using GUI.Utils;
namespace GUI.Forms
{
public partial class SettingsForm : Form
{
public SettingsForm()
{
InitializeComponent();
}
private void SettingsForm_Load(object sender, EventArgs e)
{
foreach (va... | Allow selecting vpks in content search paths | Allow selecting vpks in content search paths
| C# | mit | SteamDatabase/ValveResourceFormat |
0dfe8c08b90c7505302aecaacfde9ec1c5edc5eb | src/Umbraco.Web/umbraco.presentation/EnsureSystemPathsApplicationStartupHandler.cs | src/Umbraco.Web/umbraco.presentation/EnsureSystemPathsApplicationStartupHandler.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Umbraco.Core.IO;
using umbraco.businesslogic;
using umbraco.interfaces;
namespace umbraco.presentation
{
public class EnsureSystemPathsApplicationStartupHandler : IApplicationStartupHandler
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Umbraco.Core.IO;
using umbraco.businesslogic;
using umbraco.interfaces;
namespace umbraco.presentation
{
public class EnsureSystemPathsApplicationStartupHandler : IApplicationStartupHandler
... | Add App_Code, App_Data and App_Plugins folders to be created during app startup | Add App_Code, App_Data and App_Plugins folders to be created during app startup
| C# | mit | lingxyd/Umbraco-CMS,yannisgu/Umbraco-CMS,iahdevelop/Umbraco-CMS,m0wo/Umbraco-CMS,arknu/Umbraco-CMS,rustyswayne/Umbraco-CMS,sargin48/Umbraco-CMS,marcemarc/Umbraco-CMS,ordepdev/Umbraco-CMS,qizhiyu/Umbraco-CMS,rustyswayne/Umbraco-CMS,nvisage-gf/Umbraco-CMS,dawoe/Umbraco-CMS,Tronhus/Umbraco-CMS,iahdevelop/Umbraco-CMS,corsj... |
c9d42873c1f07b0b4e8ba54316d6f3e3d580edf2 | Tests/CanvasTests.cs | Tests/CanvasTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ooui;
namespace Tests
{
[TestClass]
public class CanvasTests
{
[TestMethod]
public void Context2dState ()
{
var c = new Canvas ();
Assert.AreEqual (1, c.StateMessages.Count);
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ooui;
namespace Tests
{
[TestClass]
public class CanvasTests
{
[TestMethod]
public void Context2dState ()
{
var c = new Canvas ();
Assert.AreEqual (1, c.StateMessages.Count);
... | Fix Canvas negative Height test | Fix Canvas negative Height test
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui |
39e6d4b09300f81e88ef875857663401e5316182 | RollGen/Dice.cs | RollGen/Dice.cs | namespace RollGen
{
public abstract class Dice
{
public abstract PartialRoll Roll(int quantity = 1);
public abstract string RolledString(string roll);
public abstract object CompiledObj(string rolled);
public int Compiled(string rolled) => System.Convert.ToInt32(CompiledObj(roll... | namespace RollGen
{
public abstract class Dice
{
public abstract PartialRoll Roll(int quantity = 1);
public abstract string RolledString(string roll);
public abstract object CompiledObj(string rolled);
public int Compiled(string rolled) => System.Convert.ToInt32(CompiledObj(roll... | Add T Compiled<T> to complement int Compiled | Add T Compiled<T> to complement int Compiled
The user can get the Compiled version of a rolled_string in any reasonable type they wish.
| C# | mit | DnDGen/RollGen,Lirusaito/RollGen,DnDGen/RollGen,Lirusaito/RollGen |
1fd34d5183916817e917a66978e293ce453623fa | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
var extractor = new Middleware.... | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
var extractor = new Middleware.... | Add exception handling in middleware | Add exception handling in middleware
It allows to see errors in zipkin and be sure that
the trace is complete.
| C# | apache-2.0 | criteo/zipkin4net,criteo/zipkin4net |
8dde7054db39ffb9a212a8d0fc7e7b8e2d0e6523 | Libraries/ScriptableObjectUtility.cs | Libraries/ScriptableObjectUtility.cs | using UnityEngine;
using UnityEditor;
using System.IO;
namespace ATP.AnimationPathTools {
public static class ScriptableObjectUtility
{
/// <summary>
// This makes it easy to create, name and place unique new ScriptableObject asset files.
/// </summary>
public static void CreateAsset<T> () where T : Script... | using UnityEngine;
using UnityEditor;
using System.IO;
namespace ATP.AnimationPathTools {
public static class ScriptableObjectUtility
{
/// <summary>
// This makes it easy to create, name and place unique new ScriptableObject asset files.
/// </summary>
public static void CreateAsset<T> () where T : Script... | Remove "New" string from asset name | Remove "New" string from asset name
| C# | mit | bartlomiejwolk/AnimationPathAnimator |
80e7ecc9a2c3b2536054b015bb7fa1773fff3ded | Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs | Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class SubtractDoubleDoubleOperation : IBinaryOperation<double, double, double>
{
public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double... | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class SubtractDoubleDoubleOperation : IBinaryOperation<double, double, double>
{
public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double... | Refactor Subtract Doubles Operation to use GetValues and CloneWithValues | Refactor Subtract Doubles Operation to use GetValues and CloneWithValues
| C# | mit | ajlopez/TensorSharp |
8cad3ea5a6a745ffad6d1414a7391bdd9b936347 | Source/CarnaConsoleRunner/CarnaAssemblyLoadContext.cs | Source/CarnaConsoleRunner/CarnaAssemblyLoadContext.cs | // Copyright (C) 2020 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Reflection;
using System.Runtime.Loader;
namespace Carna.ConsoleRunner
{
internal class CarnaAssemblyLoadContext : AssemblyLoadConte... | // Copyright (C) 2020 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Reflection;
using System.Runtime.Loader;
namespace Carna.ConsoleRunner
{
internal class CarnaAssemblyLoadContext : AssemblyLoadConte... | Fix to be able to load unmanaged dlls in the carna-runner. | Fix to be able to load unmanaged dlls in the carna-runner.
| C# | mit | averrunci/Carna |
c602b6cff382ba1d139ef074a196316d3f29723f | Src/Census/UmbracoObject/Property.cs | Src/Census/UmbracoObject/Property.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Census.Interfaces;
namespace Census.UmbracoObject
{
public class Property : IUmbracoObject
{
public string Name { get { return "Document Type"; } }
public List<string> BackofficePages... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Census.Interfaces;
namespace Census.UmbracoObject
{
public class Property : IUmbracoObject
{
public string Name { get { return "Document Type"; } }
public List<string> BackofficePages... | FIx issue looking up property aliases for built-in datatypes | FIx issue looking up property aliases for built-in datatypes
| C# | mit | imulus/census,imulus/census |
8f57bf2498f628b0b751390714e4554faeb7617b | osu.Game/Graphics/UserInterface/OsuButton.cs | osu.Game/Graphics/UserInterface/OsuButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Inpu... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using ... | Add choices of hover sample sets | Add choices of hover sample sets
| C# | mit | UselessToucan/osu,UselessToucan/osu,ZLima12/osu,Frontear/osuKyzer,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,peppy/osu,naoey/osu,ppy/osu,2yangk23/osu,Nabile-Rahmani/osu,smoogipoo/osu,naoey/osu,peppy/osu,ppy/osu,johnneijzen/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu-new,naoey/osu,DrabWeb/osu,ZLima1... |
5db523cf0873b4e6d8020e4784be9b30a4c2111e | Mlabs.Ogg/src/OggReader.cs | Mlabs.Ogg/src/OggReader.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Mlabs.Ogg.Metadata;
namespace Mlabs.Ogg
{
public class OggReader
{
private readonly Stream m_fileStream;
private readonly bool m_owns;
public OggReader(string fileName)
{
if (... | using System;
using System.IO;
using System.Linq;
namespace Mlabs.Ogg
{
public class OggReader
{
private readonly Stream m_fileStream;
private readonly bool m_owns;
public OggReader(string fileName)
{
if (fileName == null) throw new ArgumentNullException("fileName"... | Read pages and break them down into streams If file stream was not owned by us, rewind it after reading | Read pages and break them down into streams
If file stream was not owned by us, rewind it after reading
| C# | mit | paszczi/MLabs.Ogg |
035804e684ec8802e2b96a706bc610886c5a6f8c | RimTrans.Builder.Test/GenHelper.cs | RimTrans.Builder.Test/GenHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimTrans.Builder;
using RimTrans.Builder.Crawler;
namespace RimTransLibTest {
public static class GenHelper {
public static void Gen_DefTypeNameOf() {
Console.Write(DefTyp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimTrans.Builder;
using RimTrans.Builder.Crawler;
namespace RimTransLibTest {
public static class GenHelper {
public static void Gen_DefTypeNameOf() {
Console.Write(DefTyp... | Change path for def template generator | Change path for def template generator
| C# | mit | duduluu/RimTrans |
766becf56ec945fc44e57447659b06993960b10e | osu.Framework/Audio/Track/TrackVirtual.cs | osu.Framework/Audio/Track/TrackVirtual.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Audio.Track
{
public class TrackVirtual : Track
{
private readonly StopwatchClock... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Audio.Track
{
public class TrackVirtual : Track
{
private readonly StopwatchClock... | Make virtual tracks reeeeeeeaaally long | Make virtual tracks reeeeeeeaaally long
| C# | mit | EVAST9919/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,naoey/osu-framework,Nabile-Rahma... |
5e9887684de8272285df8f4ea2d40d5d12365268 | templates/log_rss.cs | templates/log_rss.cs | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | Fix category of revision log RSS feeds. | Fix category of revision log RSS feeds.
git-svn-id: eda3d06fcef731589ace1b284159cead3416df9b@2261 af82e41b-90c4-0310-8c96-b1721e28e2e2
| C# | bsd-3-clause | netjunki/trac-Pygit2,walty8/trac,jun66j5/trac-ja,netjunki/trac-Pygit2,jun66j5/trac-ja,jun66j5/trac-ja,walty8/trac,jun66j5/trac-ja,walty8/trac,walty8/trac,netjunki/trac-Pygit2 |
2bb1662a0af8bf23629411c033e0eed95711ec74 | ZWave/CommandClasses/ThermostatFanModeValue.cs | ZWave/CommandClasses/ThermostatFanModeValue.cs | namespace ZWave.CommandClasses
{
public enum ThermostatFanModeValue : byte
{
AutoLow = 0x00,
Low = 0x01,
AutoHigh = 0x02,
High = 0x03,
AutoMedium = 0x04,
Medium = 0x05,
Circulation = 0x06,
HumidityCirculation = 0x07,
LeftAndRight = 0x08,
... | namespace ZWave.CommandClasses
{
public enum ThermostatFanModeValue : byte
{
AutoLow = 0x00,
Low = 0x01,
AutoHigh = 0x02,
High = 0x03,
AutoMedium = 0x04,
Medium = 0x05,
Circulation = 0x06,
HumidityCirculation = 0x07,
LeftAndRight = 0x08,
... | Remove these enum values that were copy-pasted by mistake. | Remove these enum values that were copy-pasted by mistake.
| C# | mit | roblans/ZWave4Net,MiTheFreeman/ZWave4Net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.