commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
8888f20edc2c240b4812d72ce69c238ecad1ed6c | Change popup window base | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/CW_Popup.cs | Source/ContractsWindow.Unity/CW_Popup.cs | using System;
using System.Collections.Generic;
using UnityEngine;
namespace ContractsWindow.Unity
{
public abstract class CW_Popup : CanvasFader
{
}
}
| using System;
using System.Collections.Generic;
using UnityEngine;
namespace ContractsWindow.Unity
{
public abstract class CW_Popup : MonoBehaviour
{
}
}
| mit | C# |
fa84a0bb401f8caf320998fa848835727e3dd6f4 | Use `×` for close button | mohamedabdlaal/twitter.bootstrap.mvc,erichexter/twitter.bootstrap.mvc,mohamedabdlaal/twitter.bootstrap.mvc,erichexter/twitter.bootstrap.mvc | src/Bootstrap/Views/Shared/_validationSummary.cshtml | src/Bootstrap/Views/Shared/_validationSummary.cshtml | @if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×/a>
@Html.ValidationSummary(true)
</div>
}
| @if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">�</a>
@Html.ValidationSummary(true)
</div>
}
| apache-2.0 | C# |
f6f06038cb54be606d03b37482762c37fa39fee1 | Implement tracking in VoiceStatsService (tracking is enabled by default now though the only way to see results is through SQL Queries). | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/NadekoBot/Modules/Utility/Services/VoiceStatsService.cs | src/NadekoBot/Modules/Utility/Services/VoiceStatsService.cs | using Discord.WebSocket;
using Mitternacht.Modules.Utility.Common;
using Mitternacht.Services;
using System.Threading.Tasks;
namespace Mitternacht.Modules.Utility.Services
{
public class VoiceStatsService : INService
{
private readonly DbService _db;
private readonly DiscordSocketClient _clien... | using Discord.WebSocket;
using Mitternacht.Modules.Utility.Common;
using Mitternacht.Services;
using System.Threading.Tasks;
namespace Mitternacht.Modules.Utility.Services
{
public class VoiceStatsService : INService
{
private readonly DbService _db;
private readonly DiscordSocketClient _clien... | mit | C# |
9c7d30b4fd18fa132242739cefc32c914872e744 | Fix NRE | aelij/roslynpad | src/RoslynPad/Converters/DoubleToPercentageTextConverter.cs | src/RoslynPad/Converters/DoubleToPercentageTextConverter.cs | using System;
using System.Globalization;
using System.Windows.Data;
namespace RoslynPad.Converters
{
public class DoubleToPercentageTextConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var percent = value a... | using System;
using System.Globalization;
using System.Windows.Data;
namespace RoslynPad.Converters
{
public class DoubleToPercentageTextConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
double percent;
... | apache-2.0 | C# |
a6fb39fb8709fc8fc31b65f35ebb214c7dbdc1df | Work on copy periodic wizard | el-mejor/LifeTimeV3 | LifeTimeV3/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog.cs | LifeTimeV3/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LifeTimeV3.BL.LifeTimeDiagram;
namespace LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LifeTimeV3.BL.LifeTimeDiagram;
namespace LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog
... | mit | C# |
7c57d245718bacfa6c70c76b799ed683bc0fb9cf | add using system back | projectkudu/SiteExtensionGallery,projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,skbkontur/NuGetGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGal... | tests/NuGetGallery.FunctionalTests/GalleryTestBase.cs | tests/NuGetGallery.FunctionalTests/GalleryTestBase.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuGetGallery.FunctionalTests.Helpers;
using NuGetGallery.FunctionTests.Helpers;
using System;
using System.Net;
namespace NuGetGallery.FunctionalTests.TestBase
{
/// <summary>
/// Base class for all the test classes. Has the common functions which indi... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuGetGallery.FunctionalTests.Helpers;
using NuGetGallery.FunctionTests.Helpers;
using System.Net;
namespace NuGetGallery.FunctionalTests.TestBase
{
/// <summary>
/// Base class for all the test classes. Has the common functions which individual test cl... | apache-2.0 | C# |
721ee5639d32351f0ade6aa4f356151e59ec63aa | Add confine mouse mode config | peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Platform/DesktopWindow.cs | osu.Framework/Platform/DesktopWindow.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.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Input;
using osu.Framework.Platform.Sdl;
namespace osu.Framework.Platform
{
pub... | // 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.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform.Sdl;
namespace osu.Framework.Platform
{
public class DesktopWindow : W... | mit | C# |
ffac32a848b7755aa5e2f17f912b75946ab08014 | Reword xmldoc | smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Skinning/ISkinnableDrawable.cs | osu.Game/Skinning/ISkinnableDrawable.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
namespace osu.Game.Skinning
{
/// <summary>
/// Denotes a drawable which, as a drawable, can be adjusted via skinning specification... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
namespace osu.Game.Skinning
{
/// <summary>
/// Denotes a drawable which, as a drawable, can be adjusted via skinning specification... | mit | C# |
117fba0fb5837fe31280381758bb4ce557716129 | Update Index.cshtml | KrishnaIBM/TestCt-1478684487505,KrishnaIBM/TestCt-1478684487505 | src/dotnetCloudantWebstarter/Views/Home/Index.cshtml | src/dotnetCloudantWebstarter/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<h3>@ViewData["Message"]</h3>
<form method="post" asp-action="Index" asp-controller="Home" enctype="multipart/form-data">
<input type="file" name="files" multiple />
<input type="submit" value="Upload" />
</form>
| @{
ViewData["Title"] = "Home Page";
}
<h3></h3>
<form method="post" asp-action="Index" asp-controller="Home" enctype="multipart/form-data">
<input type="file" name="files" multiple />
<input type="submit" value="Upload" />
</form>
| apache-2.0 | C# |
4c67c13410f0b7567944672ac1ba29f66d91b84a | Add hold note tail judgement. | DrabWeb/osu,Frontear/osuKyzer,NeoAdonis/osu,Damnae/osu,ZLima12/osu,osu-RP/osu-RP,DrabWeb/osu,tacchinotacchi/osu,ZLima12/osu,2yangk23/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,Drezi126/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,johnne... | osu.Game.Rulesets.Mania/Judgements/HoldNoteTailJudgement.cs | osu.Game.Rulesets.Mania/Judgements/HoldNoteTailJudgement.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTailJudgement : ManiaJudgement
{
/// <summary>
/// Whether the hold n... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTailJudgement : ManiaJudgement
{
/// <summary>
/// Whether the hold n... | mit | C# |
81736a3d21fb924833761c18e0a23ff109c1cdeb | fix AuthenticationRequired | AlejandroCano/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,avifatal/framework,signumsoftware/framework | Signum.React/Filters/AuthenticationRequired.cs | Signum.React/Filters/AuthenticationRequired.cs | using Signum.Engine;
using Signum.Engine.Profiler;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System... | using Signum.Engine;
using Signum.Engine.Profiler;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System... | mit | C# |
51b81d774503e57432ace6710eb15f32c16702c7 | fix virtual | buybackoff/IdentityServer3.EntityFramework,faithword/IdentityServer3.EntityFramework,henkmeulekamp/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework | Source/Core.EntityFramework/Entities/Client.cs | Source/Core.EntityFramework/Entities/Client.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Core.EntityFramework.Entities
{
public class Client
{
[Key]
public virtual int Id { get; set; }
public virtu... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Core.EntityFramework.Entities
{
public class Client
{
[Key]
public virtual int Id { get; set; }
public virtu... | apache-2.0 | C# |
2cfa31a436752fa525777cf3722b0913594cdd11 | Fix two properties to be string as expected on PaymentMethodDetails | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardPresentReceipt.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardPresentReceipt.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardPresentReceipt : StripeEntity
{
[JsonProperty("application_cryptogram")]
public string ApplicationCryptogram { get; set; }
[JsonProperty("application_preferred_name... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardPresentReceipt : StripeEntity
{
[JsonProperty("application_cryptogram")]
public string ApplicationCryptogram { get; set; }
[JsonProperty("application_preferred_name... | apache-2.0 | C# |
f023ba39db855eb755c6de0cc133a113aed0b063 | fix client side of utc issue | PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer | StandUpTimer.Web/Views/Statistics/Index.cshtml | StandUpTimer.Web/Views/Statistics/Index.cshtml | @model StandUpTimer.Web.Statistic.StatisticModel
@{
ViewBag.Title = "Statistics";
}
@section styles
{
@Styles.Render("~/Content/Statistics.css")
}
<h2>Statistics</h2>
<div id="gantt" style="width: 100%; height: 400px"></div>
@section scripts
{
@Scripts.Render("~/bundles/d3")
<script>
var ... | @model StandUpTimer.Web.Statistic.StatisticModel
@{
ViewBag.Title = "Statistics";
}
@section styles
{
@Styles.Render("~/Content/Statistics.css")
}
<h2>Statistics</h2>
<div id="gantt" style="width: 100%; height: 400px"></div>
@section scripts
{
@Scripts.Render("~/bundles/d3")
<script>
var task... | mit | C# |
d32c97d4795988930df970dbacc3c85c8ac40ea4 | Test commit for Sashi | ecologylab/BigSemanticsCSharp | ecologylab/net/UserAgent.cs | ecologylab/net/UserAgent.cs | //
// UserAgent.cs
// s.im.pl serialization
//
// Generated by DotNetTranslator on 11/16/10.
// Copyright 2010 Interface Ecology Lab.
//
using System;
using System.Collections.Generic;
using Simpl.Serialization.Attributes;
using Simpl.Serialization;
using Simpl.Serialization.Types.Element;
namespace ecol... | //
// UserAgent.cs
// s.im.pl serialization
//
// Generated by DotNetTranslator on 11/16/10.
// Copyright 2010 Interface Ecology Lab.
//
using System;
using System.Collections.Generic;
using Simpl.Serialization.Attributes;
using Simpl.Serialization;
using Simpl.Serialization.Types.Element;
namespace ecology... | apache-2.0 | C# |
21cdd3d33c40d397dc8ee2f88e80e84d37b49e74 | Fix for CreateWwwAuthenticateResponseFromKeyVaultUrlAsync. (#2870) | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | tests/Microsoft.Identity.Test.Integration.netfx/HeadlessTests/WwwAuthenticateParametersIntegrationTests.cs | tests/Microsoft.Identity.Test.Integration.netfx/HeadlessTests/WwwAuthenticateParametersIntegrationTests.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Identity.Test.Integration.NetFx.HeadlessTests
{
[... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Identity.Test.Integration.NetFx.HeadlessTests
{
[... | mit | C# |
f8e555b1eb4af1c347b609b7a44e35b81a9ce33f | Add comments | farity/farity | Farity/Identity.cs | Farity/Identity.cs | namespace Farity
{
public static partial class F
{
/// <summary>
/// A function that returns the same value that it was provided.
/// </summary>
/// <typeparam name="T">The type of value provided.</typeparam>
/// <param name="x">The value provided.</param>
/// <r... | namespace Farity
{
public static partial class F
{
public static T Identity<T>(T x) => x;
}
} | mit | C# |
a132c220100669e2cb6503ec4d76cd5c76b018f9 | 解决忘写命名空间的错误。 | Zongsoft/Zongsoft.Web.Launcher | Global.asax.cs | Global.asax.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Zongsoft.Web.Launcher
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Zongsoft.Plugins.Application.Started += Application_Started;
Z... | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Zongsoft.Web.Launcher
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Zongsoft.Plugins.Application.Started += Application_Started;
Z... | mit | C# |
cf0e8e0a620faaa77ba490ab3e71b9901eabd658 | Document nullability of seasonal backgrounds | UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu | osu.Game/Configuration/SessionStatics.cs | osu.Game/Configuration/SessionStatics.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.Online.API.Requests.Responses;
namespace osu.Game.Configuration
{
/// <summary>
/// Stores global per-session statics. These will not be stored 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.Online.API.Requests.Responses;
namespace osu.Game.Configuration
{
/// <summary>
/// Stores global per-session statics. These will not be stored a... | mit | C# |
e693c4feb71843023c6441082d8494f95ff2bdc9 | Fix DefaultBuild. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | bootstrapping/DefaultBuild.cs | bootstrapping/DefaultBuild.cs | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.FileSystem.FileSystemTasks;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using stati... | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.FileSystem.FileSystemTasks;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using stati... | mit | C# |
c2d7d5aa1c1968b2a45ff8df6b74bd2195e08e9e | Update verion to v4.1.4 | shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | apache-2.0 | C# |
f22dce023f3b74c90ab97a12daad4d5773e1e209 | Revert assembly info change in uwp project | thomasgalliker/ValueConverters.NET | ValueConverters.UWP/Properties/AssemblyInfo.cs | ValueConverters.UWP/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ValueConverters.UWP")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Thomas Galliker")]
[assembly: AssemblyProduct("ValueConverters.UW... | | mit | C# |
df96f514fd7c2c7e19fa57008a77ffff8b7a0af6 | Move links. | tvanfosson/azure-web-jobs-demo,tvanfosson/azure-web-jobs-demo,tvanfosson/azure-web-jobs-demo | WebJobsDemo/WebApp/Views/Shared/_Layout.cshtml | WebJobsDemo/WebApp/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - WebJob Demos</title>
@Styles.Render("~/content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navb... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - WebJob Demos</title>
@Styles.Render("~/content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navb... | mit | C# |
3af702453f66663cef225445e11f5cfc5d2cf4b4 | Implement realtime match song select | smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeMatchSongSelect.cs | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeMatchSongSelect.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.Linq;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Screens;
using osu.Game.Online.Multiplayer;
using o... | // 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.Screens.Select;
namespace osu.Game.Screens.Multi.RealtimeMultiplayer
{
public class RealtimeMatchSongSelect : SongSelect
{
protected overr... | mit | C# |
fabd521070082b155a4a7a7184aae60c0a9f3d11 | Fix bug involving not downloading ffmpeg | nikeee/HolzShots | src/HolzShots.Capture.Video/Capture/Video/FFmpeg/FFmpegManager.cs | src/HolzShots.Capture.Video/Capture/Video/FFmpeg/FFmpegManager.cs | using System.IO;
using System.Text;
using System.Diagnostics;
namespace HolzShots.Capture.Video.FFmpeg
{
public static class FFmpegManager
{
const string FFmpegExecutable = "ffmpeg.exe";
/// <summary> Path where a downloaded version of FFmpeg will be saved. </summary>
public static str... | using System.IO;
using System.Text;
using System.Diagnostics;
namespace HolzShots.Capture.Video.FFmpeg
{
public static class FFmpegManager
{
const string FFmpegExecutable = "ffmpeg.exe";
/// <summary> Path where a downloaded version of FFmpeg will be saved. </summary>
public static str... | agpl-3.0 | C# |
c25692b531959293123f50e3571d374e8b7e085b | Update namespace #5 | chrisber/typescript-addin,chrisber/typescript-addin | src/TypeScriptBinding/Hosting/LanguageServiceCancellationToken.cs | src/TypeScriptBinding/Hosting/LanguageServiceCancellationToken.cs | //
// LanguageServiceCancellationToken.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2014 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software w... | //
// LanguageServiceCancellationToken.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2014 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software w... | mit | C# |
f3f8a0833a28b08d9d663d538f65050953c0160a | Add WorkItem attribution to unit tests. | tannergooding/roslyn,AlekseyTs/roslyn,jmarolf/roslyn,heejaechang/roslyn,abock/roslyn,KirillOsenkov/roslyn,agocke/roslyn,reaction1989/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,stephentoub/roslyn,weltkante/roslyn,agocke/roslyn,tmat/roslyn,aelij/roslyn,eriawan/roslyn,AmadeusW/roslyn,nguerrera/roslyn,abock/roslyn,Kevi... | src/Workspaces/CoreTest/UtilityTest/FormattingRangeHelperTests.cs | src/Workspaces/CoreTest/UtilityTest/FormattingRangeHelperTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalys... | // 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.CSharp;
using Microsoft.CodeAnalysis.CSharp.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.UnitTests.UtilityTest
{
... | mit | C# |
604eee1015dd0acb0af2c40a6799cc8151798151 | Change Concat to accept params. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/Utilities/Collections/Enumerable.Concat.cs | source/Nuke.Core/Utilities/Collections/Enumerable.Concat.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Core.Utiliti... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Core.Utiliti... | mit | C# |
0ba2a7ab23a26d46045bebba739867095979f29b | Update SeedHelper.cs | aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples | AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFrameworkCore/EntityFrameworkCore/Seed/SeedHelper.cs | AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFrameworkCore/EntityFrameworkCore/Seed/SeedHelper.cs | using AbpCoreEf6Sample.EntityFrameworkCore.Seed.Host;
using AbpCoreEf6Sample.EntityFrameworkCore.Seed.Tenants;
namespace AbpCoreEf6Sample.EntityFrameworkCore.Seed
{
public static class SeedHelper
{
public static void SeedHostDb(AbpCoreEf6SampleDbContext context)
{
context.SuppressA... | using System;
using System.Transactions;
using System.Data.Entity;
using Abp.Dependency;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Uow;
using Abp.MultiTenancy;
using AbpCoreEf6Sample.EntityFrameworkCore.Seed.Host;
using AbpCoreEf6Sample.EntityFrameworkCore.Seed.Tenants;
namespace AbpCoreEf6Sample.EntityFram... | mit | C# |
8ae7b63cfd1b8b7dde644daf69630779134c6841 | Change max supported version constants | pdelvo/Pdelvo.Minecraft | Pdelvo.Minecraft.Protocol/Helper/ProtocolInformation.cs | Pdelvo.Minecraft.Protocol/Helper/ProtocolInformation.cs | namespace Pdelvo.Minecraft.Protocol.Helper
{
/// <summary>
///
/// </summary>
/// <remarks></remarks>
public static class ProtocolInformation
{
/// <summary>
///
/// </summary>
public const int MinSupportedClientVersion = 22;
/// <summary>
///
... | namespace Pdelvo.Minecraft.Protocol.Helper
{
/// <summary>
///
/// </summary>
/// <remarks></remarks>
public static class ProtocolInformation
{
/// <summary>
///
/// </summary>
public const int MinSupportedClientVersion = 22;
/// <summary>
///
... | mit | C# |
2b7c725007ceac683ebf6e0fc397c15e28d9af1f | Change capitalisation | davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3 | SurveyMonkey/RequestSettings/CreateCollectorSettings.cs | SurveyMonkey/RequestSettings/CreateCollectorSettings.cs | namespace SurveyMonkey.RequestSettings
{
public class CreateCollectorSettings
{
public enum TypeOption
{
Weblink,
Email
}
public TypeOption Type { get; set; }
public string Name { get; set; }
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SurveyMonkey.RequestSettings
{
public class CreateCollectorSettings
{
public enum TypeOption
{
weblink,
email
}
public TypeOpti... | mit | C# |
f7424cff11ed8bb36363b34ce824a44b8b3700a9 | Bump version | Lone-Coder/letsencrypt-win-simple,brondavies/letsencrypt-win-simple | letsencrypt-win-simple/Properties/AssemblyInfo.cs | letsencrypt-win-simple/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("Let's Encrypt Simple Windows Client")]
[... | 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("Let's Encrypt Simple Windows Client")]
[... | apache-2.0 | C# |
6fd0a5465f1faff64409a170df378c0329ab1afe | prepare lexeme attribute for generic parser use | b3b00/csly,b3b00/sly | sly/lexer/LexemeAttribute.cs | sly/lexer/LexemeAttribute.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace sly.lexer
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false,Inherited =true)]
public class LexemeAttribute : Attribute
{
public GenericToken GenericToken { get; set; }
public string GenericTokenPar... | using System;
using System.Collections.Generic;
using System.Text;
namespace sly.lexer
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false,Inherited =true)]
public class LexemeAttribute : Attribute
{
public string Pattern { get; set; }
public bool IsSkippable { get; set; }
... | mit | C# |
aee172b797ca93055c2ccdbb7602bcebe95f47e0 | comment out bogus test | Kukkimonsuta/Odachi | test/Odachi.RazorTemplating.Tests/RazorTemplaterTests.cs | test/Odachi.RazorTemplating.Tests/RazorTemplaterTests.cs | using Odachi.RazorTemplating.Internal;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Odachi.RazorTemplating.Tests
{
public class RazorTemplaterTests
{
//[Fact]
//public void Works()
//{
// var OutputDirectory = "d:\\ra... | using Odachi.RazorTemplating.Internal;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Odachi.RazorTemplating.Tests
{
public class RazorTemplaterTests
{
[Fact]
public void Works()
{
var OutputDirectory = "d:\\razor-temp... | apache-2.0 | C# |
075bae7519494fd8b5bfbb46f871a238829a0ec8 | Fix disposal pipe visibility in entity menu (#5790) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/SubFloor/SubFloorShowLayerVisualizer.cs | Content.Client/SubFloor/SubFloorShowLayerVisualizer.cs | using Content.Shared.SubFloor;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.SubFloor
{
[UsedImplicitly]
public class SubFloorShowLayerVisualizer : AppearanceVisualizer
{
public override void OnChange... | using Content.Shared.SubFloor;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.SubFloor
{
[UsedImplicitly]
public class SubFloorShowLayerVisualizer : AppearanceVisualizer
{
public override void OnChange... | mit | C# |
34bf451c8a42982f8b235248b24eccf9d1442883 | change constraints in CyclistNext | Entities-13/CyclingTeamProject | CyclingApplication/Cycling.Models/MSSQL/CyclistNext.cs | CyclingApplication/Cycling.Models/MSSQL/CyclistNext.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Cycling.Models.MSSQL
{
public class CyclistNext
{... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Cycling.Models.MSSQL
{
public class CyclistNext
{... | mit | C# |
f16d9ba9b5e8ac67031ec4e3960fc325cef03050 | Add unit test for Issue #57 | mmsaffari/elmah-mvc,fhchina/elmah-mvc,jmptrader/elmah-mvc,alexbeletsky/elmah-mvc | src/Tests/ControllerTests.cs | src/Tests/ControllerTests.cs | namespace Elmah.Mvc.Tests
{
using Elmah.Mvc;
using Xunit;
public class ControllerTests
{
[Fact]
public void ElmahController_Index_Returns_ElmahResult()
{
// Arrange
var controller = new ElmahController();
// Act
var ... | namespace Elmah.Mvc.Tests
{
using Elmah.Mvc;
using Xunit;
public class ControllerTests
{
[Fact]
public void ElmahController_Index_Returns_ElmahResult()
{
// Arrange
var controller = new ElmahController();
// Act
var ... | apache-2.0 | C# |
3b9c262829ba8d8a9f7e8d0d53ab48897a74d017 | Disable bundling | pekkah/tanka,pekkah/tanka,pekkah/tanka | src/Web/NancyBootstrapper.cs | src/Web/NancyBootstrapper.cs | namespace Web
{
using Autofac;
using Infrastructure;
using Nancy.Authentication.Forms;
using Nancy.Bootstrapper;
using Nancy.Bootstrappers.Autofac;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Tanka.Nancy.Optimization;
public class NancyBootstrapper : AutofacNancyB... | namespace Web
{
using Autofac;
using Infrastructure;
using Nancy;
using Nancy.Authentication.Forms;
using Nancy.Bootstrapper;
using Nancy.Bootstrappers.Autofac;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Tanka.Nancy.Optimization;
public class NancyBootstrappe... | mit | C# |
7a0a573495bdbf5f7d063ba375e0e80435ce125b | Fix issue where Security Scheme responses are not parsed correctly. | raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2 | source/Raml.Parser/Builders/SecuritySchemeDescriptorBuilder.cs | source/Raml.Parser/Builders/SecuritySchemeDescriptorBuilder.cs | using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using Raml.Parser.Expressions;
namespace Raml.Parser.Builders
{
public class SecuritySchemeDescriptorBuilder
{
public SecuritySchemeDescriptor Build(IDictionary<string, object> dynamicRaml, string defaultMediaType)
{
var descri... | using System.Collections.Generic;
using Raml.Parser.Expressions;
namespace Raml.Parser.Builders
{
public class SecuritySchemeDescriptorBuilder
{
public SecuritySchemeDescriptor Build(IDictionary<string, object> dynamicRaml, string defaultMediaType)
{
var descriptor = new SecuritySchemeDescriptor();
... | apache-2.0 | C# |
d9350a37a60171e747cc83390e49d4b056897eca | Update 20180327.LuckWheelManager.cs | twilightspike/cuddly-disco,twilightspike/cuddly-disco | main/20180327.LuckWheelManager.cs | main/20180327.LuckWheelManager.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System;
public class LuckWheelManager: MonoBehaviour{
/*stuffset*/
private bool _beStarted;
private float[] _angleSector;
private float _angleFinal;
private float _angleBegin;
private float _lerpRotateTim... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System;
public class LuckWheelManager: MonoBehaviour{
/*stuffset*/
private bool _beStarted;
private float[] _angleSector;
private float _angleFinal;
private float _angleBegin;
private float _lerpRotateTim... | mit | C# |
a1a8c55583a46a3bcead07fd73514b8979c2aa36 | Add Good Friday as a bank holiday for Luxembourg (fixes #136) | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/LuxembourgProvider.cs | Src/Nager.Date/PublicHolidays/LuxembourgProvider.cs | using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
/// <summary>
/// Luxembourg
/// https://en.wikipedia.org/wiki/Public_holidays_in_Luxembourg
/// </summary>
public class LuxembourgProvider : IPublicHoliday... | using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
/// <summary>
/// Luxembourg
/// https://en.wikipedia.org/wiki/Public_holidays_in_Luxembourg
/// </summary>
public class LuxembourgProvider : IPublicHoliday... | mit | C# |
7615184168ef684bc00b8167df04ff6780a93dcb | Use Path.Combine | zhdusurfin/HttpMock,hibri/HttpMock | src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs | src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs | using System;
using System.IO;
using System.Net;
using NUnit.Framework;
namespace HttpMock.Integration.Tests
{
[TestFixture]
public class EndpointsReturningFilesTests
{
private const string FILE_NAME = "transcode-input.mp3";
private static readonly string RES_TRANSCODE_INPUT_MP3 = Path.Combine("res"... | using System;
using System.IO;
using System.Net;
using NUnit.Framework;
namespace HttpMock.Integration.Tests
{
[TestFixture]
public class EndpointsReturningFilesTests
{
private const string FILE_NAME = "transcode-input.mp3";
private const string RES_TRANSCODE_INPUT_MP3 = "res\\"+FILE_NAME;
[Tes... | mit | C# |
9d044f27ead373e3f2b01f0897c0a95084173d76 | Fix merge conflicts | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | src/NUnitEngine/nunit.engine.tests/Services/TestAgencyTests.cs | src/NUnitEngine/nunit.engine.tests/Services/TestAgencyTests.cs | // Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#if NETFRAMEWORK
using NUnit.Engine.Services;
using NUnit.Engine.Services.Tests.Fakes;
using NUnit.Framework;
namespace NUnit.Engine.Tests.Services
{
public class TestAgencyTests
{
private TestAgency _testAgenc... | // Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#if NETFRAMEWORK
using NUnit.Engine.Services;
using NUnit.Engine.Services.Tests.Fakes;
using NUnit.Framework;
namespace NUnit.Engine.Tests.Services
{
public class TestAgencyTests
{
private TestAgency _testAgenc... | mit | C# |
ebf3c93cfcd55fd9071b0e93945a1bf1dc9bd1ce | Change summary of interface IObjectiveFunction. | geoem/MSolve,geoem/MSolve | ISAAR.MSolve.Analyzers/Optimization/Problem/IObjectiveFunction.cs | ISAAR.MSolve.Analyzers/Optimization/Problem/IObjectiveFunction.cs | using ISAAR.MSolve.Matrices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISAAR.MSolve.Analyzers.Optimization.Problem
{
/// <summary>
/// Represents an objective function of an optimization problem. It will be called be the selected optimization algorithm.
... | using ISAAR.MSolve.Matrices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISAAR.MSolve.Analyzers.Optimization.Problem
{
/// <summary>
/// Represents an objective function of an optimization problem. It will be called be the selected optimization algorithm.
... | apache-2.0 | C# |
0f8530e3201b347127d8110802f4ef910b9b0a88 | simplify program.cs | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | web/AlphaDev.Web/Program.cs | web/AlphaDev.Web/Program.cs | using System.IO;
using System.Reflection;
using AlphaDev.Web.Bootstrap;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace AlphaDev.Web
{
public class Program
{
public static void Main(stri... | using System.IO;
using System.Reflection;
using AlphaDev.Web.Bootstrap;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace AlphaDev.Web
{
public class Program
{
public static void Main(string[] args)
{
... | unlicense | C# |
26e1349327da9500bd51bce37bcd0dac84ac5f11 | Bump version. | mios-fi/mios.payment | core/Properties/AssemblyInfo.cs | core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | bsd-2-clause | C# |
de364b80e7e15277bbf1285e1402731ff9ad1b97 | Fix for NullRecord serialization | neo4j/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests.TestBackend/Protocol/ResultNext.cs | Neo4j.Driver/Neo4j.Driver.Tests.TestBackend/Protocol/ResultNext.cs | using System;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Neo4j.Driver;
using System.Linq;
namespace Neo4j.Driver.Tests.TestBackend
{
internal class ResultNext : IProtocolObject
{
public ResultNextType data { get; set; } = new ResultNextType();
[JsonIgnore]
... | using System;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Neo4j.Driver;
using System.Linq;
namespace Neo4j.Driver.Tests.TestBackend
{
internal class ResultNext : IProtocolObject
{
public ResultNextType data { get; set; } = new ResultNextType();
[JsonIgnore]
... | apache-2.0 | C# |
aa51a59e22a117962cbc57aa1498d8cfa5e6ed06 | Fix foreign key violation | tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Applicati... | VotingApplication/VotingApplication.Data/Model/Vote.cs | VotingApplication/VotingApplication.Data/Model/Vote.cs | using System;
namespace VotingApplication.Data.Model
{
public class Vote
{
public long Id { get; set; }
public long OptionId { get; set; }
public Option Option { get; set; }
public int VoteValue { get; set; }
public String VoterName { get; set; }
public Guid P... | using System;
namespace VotingApplication.Data.Model
{
public class Vote
{
public long Id { get; set; }
public long OptionId { get; set; }
public Option Option { get; set; }
public int VoteValue { get; set; }
public String VoterName { get; set; }
public Guid P... | apache-2.0 | C# |
9b287749f36c17bde58112e54411f365f2d69574 | Fix AssemblyTitle | MilenPavlov/PortableRazorStarterKit,MilenPavlov/PortableRazorStarterKit,xamarin/PortableRazorStarterKit,xamarin/PortableRazorStarterKit | PortableCongress/PortableCongress/Properties/AssemblyInfo.cs | PortableCongress/PortableCongress/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("PortableCongress")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[a... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("PortableRazordex")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[a... | mit | C# |
38df49995ce77e2176b491375144a80227579f58 | Fix cursor scale not matching osu-stable | ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,ZLima12/osu,2yangk23/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,EVA... | osu.Game.Rulesets.Osu/UI/OsuPlayfieldAdjustmentContainer.cs | osu.Game.Rulesets.Osu/UI/OsuPlayfieldAdjustmentContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Osu.UI
{
public class Osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Osu.UI
{
public class Osu... | mit | C# |
9a8f1e0a411322a73233e810a861b8dd6d51def9 | update IWorkersAsyncService | army-of-two/when-its-done,army-of-two/when-its-done,army-of-two/when-its-done | WhenItsDone/Lib/WhenItsDone.Services/Contracts/IWorkersAsyncService.cs | WhenItsDone/Lib/WhenItsDone.Services/Contracts/IWorkersAsyncService.cs | using System.Collections.Generic;
using WhenItsDone.Models;
namespace WhenItsDone.Services.Contracts
{
public interface IWorkersAsyncService : IGenericAsyncService<Worker>
{
IEnumerable<Worker> GetWorkersWithDIshes();
}
}
| using WhenItsDone.Models;
namespace WhenItsDone.Services.Contracts
{
public interface IWorkersAsyncService : IGenericAsyncService<Worker>
{
}
}
| mit | C# |
5d495ee3b96e60b740fd26aef306577b2247b683 | Remove redundant default constructor from ErrorDialogDisplayAction | ethanmoffat/EndlessClient | EndlessClient/Dialogs/Actions/ErrorDialogDisplayAction.cs | EndlessClient/Dialogs/Actions/ErrorDialogDisplayAction.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EOLib;
using EOLib.Data.Protocol;
using EOLib.Net.Communication;
namespace EndlessClient.Dialogs.Actions
{
public class ErrorDialogDisplayAction : I... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EOLib;
using EOLib.Data.Protocol;
using EOLib.Net.Communication;
namespace EndlessClient.Dialogs.Actions
{
public class ErrorDialogDisplayAction : I... | mit | C# |
f90af21790778778a7522d876b60ea676a243af3 | Fix Visualizer FillRect implementation | verybadcat/CSharpMath | CSharpMath.Editor.Tests.Visualizer/GraphicsContext.cs | CSharpMath.Editor.Tests.Visualizer/GraphicsContext.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using CSharpMath.Display;
using CSharpMath.CoreTests.FrontEnd;
namespace CSharpMath.Editor.Tests.Visualizer {
public class GraphicsContext : Display.FrontEnd.IGraphicsContext<TestFont, char> {
readonly Stack<PointF> stack = ... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using CSharpMath.Display;
using CSharpMath.CoreTests.FrontEnd;
namespace CSharpMath.Editor.Tests.Visualizer {
public class GraphicsContext : Display.FrontEnd.IGraphicsContext<TestFont, char> {
readonly Stack<PointF> stack = ... | mit | C# |
44c7f77dbc2fae14932b38a5a4e676fd9f2ec96d | Replace Property with Method | arfbtwn/banshee,arfbtwn/banshee,arfbtwn/banshee,arfbtwn/banshee,arfbtwn/banshee,Carbenium/banshee,arfbtwn/banshee,Carbenium/banshee,Carbenium/banshee,arfbtwn/banshee,Carbenium/banshee,Carbenium/banshee,arfbtwn/banshee,Carbenium/banshee | src/Extensions/Banshee.NotificationArea/Notifications/Notifications.cs | src/Extensions/Banshee.NotificationArea/Notifications/Notifications.cs | /*
* Copyright (c) 2006 Sebastian Dröge <slomo@circular-chaos.org>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | /*
* Copyright (c) 2006 Sebastian Dröge <slomo@circular-chaos.org>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | mit | C# |
db4491f4829d32beef87bbd1c3c226e02e21f617 | Work v1.1.2 GetCheckinDataJsonResult 修改 checkindata 属性名称 | JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Properties/AssemblyInfo.cs | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Work")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Senparc.Weixin.Work"... | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Work")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Senparc.Weixin.Work"... | apache-2.0 | C# |
a3b9912b1a1ce7ac67533b81b072f4bc9af2a71d | Make GlyphVector a readonly struct | SixLabors/Fonts | src/SixLabors.Fonts/Tables/General/Glyphs/GlyphVector.cs | src/SixLabors.Fonts/Tables/General/Glyphs/GlyphVector.cs | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
namespace SixLabors.Fonts.Tables.General.Glyphs
{
internal readonly struct GlyphVector
{
internal GlyphVector(Vector2[] controlPoints, bool[] onCurves, ushort[] endPoints, Bounds bo... | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
namespace SixLabors.Fonts.Tables.General.Glyphs
{
internal struct GlyphVector
{
internal GlyphVector(Vector2[] controlPoints, bool[] onCurves, ushort[] endPoints, Bounds bounds)
... | apache-2.0 | C# |
cbf1d292ddc471f9c6f0b96efad9866e175adc74 | Use IAsyncContextResolver for the type of the async context resolver object. | telerik/JustMockLite | Telerik.JustMock/Core/Context/AsyncContextResolver.cs | Telerik.JustMock/Core/Context/AsyncContextResolver.cs | namespace Telerik.JustMock.Core.Context
{
public static class AsyncContextResolver
{
#if NETCORE
static IAsyncContextResolver resolver = new AsyncLocalWrapper();
#else
static IAsyncContextResolver resolver = new CallContextWrapper();
#endif
public static IAsyncContextResolver GetResolver()... | namespace Telerik.JustMock.Core.Context
{
public static class AsyncContextResolver
{
#if NETCORE
static AsyncLocalWrapper resolver = new AsyncLocalWrapper();
#else
static CallContextWrapper resolver = new CallContextWrapper();
#endif
public static IAsyncContextResolver GetResolver()
... | apache-2.0 | C# |
bc8370b8167b5206a765411e51b20033c4692177 | Use 'nameof' when throwing ArgumentOutOfRangeException | mysticfall/Alensia | Assets/Alensia/Core/Common/Axis.cs | Assets/Alensia/Core/Common/Axis.cs | using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace Alensia.Core.Common
{
public enum Axis
{
X,
Y,
Z,
InverseX,
InverseY,
InverseZ
}
public static class AxisExtensions
{
public static Vector3 Of(this Axis axis, Transform... | using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace Alensia.Core.Common
{
public enum Axis
{
X,
Y,
Z,
InverseX,
InverseY,
InverseZ
}
public static class AxisExtensions
{
public static Vector3 Of(this Axis axis, Transform... | apache-2.0 | C# |
2acc062f3c756470b2c976c5e194f88a9df46c17 | Update FancyItemStorage.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Inventory/FancyItemStorage.cs | UnityProject/Assets/Scripts/Inventory/FancyItemStorage.cs | using Mirror;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/// <summary>
/// The 'fancy' component defines objects like donut boxes, egg boxes or cigs packets
/// that show how many items are in the ItemStorage on the sprite itself
///
/// Need to ha... | using Mirror;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/// <summary>
/// The 'fancy' component defines objects like donut boxes, egg boxes or cigs packets
/// that show how many items are in the ItemStorage on the sprite itself
///
/// Need to ha... | agpl-3.0 | C# |
1442db16001bf5a703f4b699a6ff8f728e87dc13 | Clean out debug code | rusticgames/rts,rusticgames/rts | Assets/Scripts/ConstrainedMover.cs | Assets/Scripts/ConstrainedMover.cs | using UnityEngine;
using System.Collections;
public class ConstrainedMover : MonoBehaviour {
public float speed = 1.0f;
public float constraintRadius = 3.0f;
private Vector3 constraintCenter;
void Start() {
constraintCenter = transform.position;
}
void Update() {
Vector3 newPosition = constraintCenter;... | using UnityEngine;
using System.Collections;
public class ConstrainedMover : MonoBehaviour {
public float speed = 1.0f;
public float constraintRadius = 3.0f;
private Vector3 constraintCenter;
void Start() {
constraintCenter = transform.position;
}
void Update() {
Vector3 newPosition = constraintCenter;... | mit | C# |
0c9786bc5c6b8ec1e0209965ab6cb5e768054f63 | Fix . | exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml | Code2Xml.Core/Code2XmlConstants.cs | Code2Xml.Core/Code2XmlConstants.cs | #region License
// Copyright (C) 2011-2014 Kazunori Sakamoto
//
// 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 require... | #region License
// Copyright (C) 2011-2014 Kazunori Sakamoto
//
// 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 require... | apache-2.0 | C# |
3e6db217d651e25f5f55f290131f6ebf91ef9eb8 | Update Program.cs | ThomasKV/GitTest1 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// This remark was inserted using GitHub
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
ced581cfbb9c087f39607c937e2182c32abc0cf8 | Fix BGP Multipath withdraw decoding | mstrother/BmpListener | src/BmpListener/Bgp/PathAttributeMPUnreachNLRI.cs | src/BmpListener/Bgp/PathAttributeMPUnreachNLRI.cs | using BmpListener.MiscUtil.Conversion;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BmpListener.Bgp
{
public class PathAttributeMPUnreachNLRI : PathAttribute
{
public AddressFamily AFI { get; private set; }
public SubsequentAddressFamily SAFI { get; private set;... | using BmpListener.MiscUtil.Conversion;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BmpListener.Bgp
{
public class PathAttributeMPUnreachNLRI : PathAttribute
{
public AddressFamily AFI { get; private set; }
public SubsequentAddressFamily SAFI { get; private set;... | mit | C# |
2b31ee2fc31130d1c16a53963aa84da7f6dd384e | Replace Theory with multiple Fact tests | robkeim/xcsharp,GKotfis/csharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,exercism/xcsharp,robkeim/xcsharp,GKotfis/csharp | exercises/acronym/AcronymTest.cs | exercises/acronym/AcronymTest.cs | using Xunit;
public class AcronymTest
{
[Fact]
public void Basic()
{
Assert.Equal("PNG", Acronym.Abbreviate("Portable Network Graphics"));
}
[Fact(Skip = "Remove to run test")]
public void Lowercase_words()
{
Assert.Equal("ROR", Acronym.Abbreviate("Ruby on Rails"));
}
... | using Xunit;
public class AcronymTest
{
[Fact]
public void Empty_string_abbreviated_to_empty_string()
{
Assert.Equal(string.Empty, Acronym.Abbreviate(string.Empty));
}
[Theory(Skip = "Remove to run test")]
[InlineData("Portable Network Graphics", "PNG")]
[InlineData("Ruby on Rails"... | mit | C# |
6a8f62f814c8dd1780ca59d9d5bae9b5f30a632a | fix build | tparnell8/DotNetMashup,tparnell8/DotNetMashup,tparnell8/DotNetMashup | src/DotNetMashup.Web/Factory/RepositoryFactory.cs | src/DotNetMashup.Web/Factory/RepositoryFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetMashup.Web.Global;
using DotNetMashup.Web.Model;
using DotNetMashup.Web.Repositories;
using Microsoft.Framework.Caching.Memory;
using Microsoft.Framework.Configuration;
namespace DotNetMashup.Web.Factory
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetMashup.Web.Global;
using DotNetMashup.Web.Model;
using DotNetMashup.Web.Repositories;
using Microsoft.Framework.Caching.Memory;
using Microsoft.Framework.Configuration;
namespace DotNetMashup.Web.Factory
{
... | mit | C# |
8cd16cbcf1cfd4b08bf08afcae5af349386fd605 | Fix parent child index type | exceptionless/Foundatio.Repositories | src/Elasticsearch/Configuration/ChildIndexType.cs | src/Elasticsearch/Configuration/ChildIndexType.cs | using System;
namespace Foundatio.Repositories.Elasticsearch.Configuration {
public interface IChildIndexType : IIndexType {
string ParentPath { get; }
}
public interface IChildIndexType<T> : IChildIndexType {
string GetParentId(T document);
}
public class ChildIndexType<T> : Ind... | using System;
namespace Foundatio.Repositories.Elasticsearch.Configuration {
public interface IChildIndexType : IIndexType {
string ParentPath { get; }
}
public interface IChildIndexType<T> : IChildIndexType {
string GetParentId(T document);
}
public class ChildIndexType<T> : Ind... | apache-2.0 | C# |
d8b1d5ef716b5692aa79b3e8aae173cdcc53004f | Replace Contains by IndexOf to build on .NET 1.1 | fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,RogerKrat... | src/NHibernate.Test/MappingExceptions/AddResourceFixture.cs | src/NHibernate.Test/MappingExceptions/AddResourceFixture.cs | using System;
using NHibernate.Cfg;
using NUnit.Framework;
namespace NHibernate.Test.MappingExceptions
{
/// <summary>
/// Summary description for AddResourceFixture.
/// </summary>
[TestFixture]
public class AddResourceFixture
{
[Test]
public void ResourceNotFound()
{
// add a resource that doesn't ... | using System;
using NHibernate.Cfg;
using NUnit.Framework;
namespace NHibernate.Test.MappingExceptions
{
/// <summary>
/// Summary description for AddResourceFixture.
/// </summary>
[TestFixture]
public class AddResourceFixture
{
[Test]
public void ResourceNotFound()
{
// add a resource that doesn't ... | lgpl-2.1 | C# |
e3fb909607f23804854a2508b00fb3fa409fee30 | Add parser test | Blue0500/JoshuaKearney.Measurements | src/JoshuaKearney.Measurements.Testing/Program.cs | src/JoshuaKearney.Measurements.Testing/Program.cs | using System;
using JoshuaKearney.Measurements;
using JoshuaKearney.Measurements.Parser;
using JoshuaKearney.Measurements.CsvConverters;
namespace JoshuaKearney.Measurements.Testing {
internal class Program {
public static void Main(string[] args) {
MeasurementParser<Density> parser = new Meas... | using System;
using JoshuaKearney.Measurements;
using JoshuaKearney.Measurements.Parser;
using JoshuaKearney.Measurements.CsvConverters;
namespace JoshuaKearney.Measurements.Testing {
internal class Program {
public static void Main(string[] args) {
Density d = null;
Ratio<Mass, Ma... | mit | C# |
5614c42ebf537def4ad397ace2aeda661c5913e9 | Revert "Block Id in API responses" | coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore | src/Miningcore/Api/Responses/GetBlocksResponse.cs | src/Miningcore/Api/Responses/GetBlocksResponse.cs | /*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation ... | /*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation ... | mit | C# |
99a7beb17cc6208a72aa0bd3aa1f4b2cb9a76932 | add DropTable method for mysql | borisdj/EFCore.BulkExtensions | EFCore.BulkExtensions/SQLAdapters/MySql/SqlQueryBuilderMySql.cs | EFCore.BulkExtensions/SQLAdapters/MySql/SqlQueryBuilderMySql.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.Data.SqlClient;
namespace EFCore.BulkExtensions.SqlAdapters.MySql;
/// <summary>
/// Contains a list of methods to generate SQL queries required by EFCore
/// </summary>
public static class SqlQueryBuilderMySql
{
/// <summary>
/// Generate... | using System.Collections.Generic;
using System.Linq;
using Microsoft.Data.SqlClient;
namespace EFCore.BulkExtensions.SqlAdapters.MySql;
/// <summary>
/// Contains a list of methods to generate SQL queries required by EFCore
/// </summary>
public static class SqlQueryBuilderMySql
{
/// <summary>
/// Generate... | mit | C# |
2c97c5859d260847d2220657e8946484784e5ea7 | fix 1045 | geffzhang/Ocelot,TomPallister/Ocelot,TomPallister/Ocelot,geffzhang/Ocelot | src/Ocelot/Requester/HttpExeptionToErrorMapper.cs | src/Ocelot/Requester/HttpExeptionToErrorMapper.cs | namespace Ocelot.Requester
{
using Ocelot.Errors;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
public class HttpExeptionToErrorMapper : IExceptionToErrorMapper
{
private readonly Dictionary<Type, Func<Exception, Error>> _mappers;
... | namespace Ocelot.Requester
{
using Errors;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
public class HttpExeptionToErrorMapper : IExceptionToErrorMapper
{
private readonly Dictionary<Type, Func<Exception, Error>> _mappers;
publ... | mit | C# |
2c42bfa1f6eecd0b6f1154aed12faf7f9fda4c33 | Disable .sav tests for now | feliwir/openSage,feliwir/openSage | src/OpenSage.Game.Tests/Data/Sav/SaveFileTests.cs | src/OpenSage.Game.Tests/Data/Sav/SaveFileTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using OpenSage.Data;
using OpenSage.Data.Sav;
using OpenSage.Mods.Generals;
using Veldrid;
using Xunit;
namespace OpenSage.Tests.Data.Sav
{
public class SaveFileTests
{
private static readonly string RootFolder = Path.Combine(Environment... | using System;
using System.Collections.Generic;
using System.IO;
using OpenSage.Data;
using OpenSage.Data.Sav;
using OpenSage.Mods.Generals;
using Veldrid;
using Xunit;
namespace OpenSage.Tests.Data.Sav
{
public class SaveFileTests
{
private static readonly string RootFolder = Path.Combine(Environment... | mit | C# |
f401b69a0826714bc129ff35b38f979907e2447f | Optimize CssUrlValue.ToString() | Carbon/Css | src/Carbon.Css/Ast/Values/CssUrlValue.cs | src/Carbon.Css/Ast/Values/CssUrlValue.cs | using System;
using System.Text;
namespace Carbon.Css
{
public readonly struct CssUrlValue
{
// url('')
public CssUrlValue(string value)
{
Value = value ?? throw new ArgumentNullException(nameof(value));
}
public CssUrlValue(byte[] data, stri... | using System;
namespace Carbon.Css
{
public readonly struct CssUrlValue
{
// url('')
public CssUrlValue(string value)
{
Value = value ?? throw new ArgumentNullException(nameof(value));
}
public CssUrlValue(byte[] data, string contentType)
... | mit | C# |
cce4d601b35e6cd68335f8e546141cfdc532a067 | fix edge case in POST | plivo/plivo-dotnet,plivo/plivo-dotnet | src/Plivo/Utilities/XPlivoSignatureV3.cs | src/Plivo/Utilities/XPlivoSignatureV3.cs | using System;
using System.Security.Cryptography;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Plivo.Utilities {
public static class XPlivoSignatureV3 {
/// <summary>
/// Compute X-Plivo-Signature-V2
/// </summary>
/// <param name="uri"></param>
/// <param name="nonce"><... | using System;
using System.Security.Cryptography;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Plivo.Utilities {
public static class XPlivoSignatureV3 {
/// <summary>
/// Compute X-Plivo-Signature-V2
/// </summary>
/// <param name="uri"></param>
/// <param name="nonce"><... | mit | C# |
f1a40cc6d6b6c94fe55389ad818fb9402f8cefe5 | move length size to const | OlegKleyman/Omego.Selenium | core/Omego.Selenium/Extensions/WebDriverExtensions.cs | core/Omego.Selenium/Extensions/WebDriverExtensions.cs | namespace Omego.Selenium.Extensions
{
using System;
using System.Diagnostics;
using System.Drawing.Imaging;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.Extensions;
public static class WebDriverExtensions
{
public static void SaveScreenshotAs(this IWebDriver driver, int ti... | namespace Omego.Selenium.Extensions
{
using System;
using System.Diagnostics;
using System.Drawing.Imaging;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.Extensions;
public static class WebDriverExtensions
{
public static void SaveScreenshotAs(this IWebDriver driver, int ti... | unlicense | C# |
813ab00b45c7bfb50c74d694191063e9efb46136 | use NRT | dotnet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,weltkante/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,mavasani/roslyn,dotnet/roslyn,sharwell/roslyn,physhi/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,shyamnamboo... | src/Features/Core/Portable/GenerateFromMembers/AbstractGenerateFromMembersCodeRefactoringProvider.SelectedMemberInfo.cs | src/Features/Core/Portable/GenerateFromMembers/AbstractGenerateFromMembersCodeRefactoringProvider.SelectedMemberInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeRefactorings;
namespace Microsoft.CodeAnalysi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeRefactorings;
namespace Mi... | mit | C# |
fcbaa404f397dd1191642cc590db1c58e95ade4c | fix zoning | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Unity.Rider/ZoneMarker.cs | resharper/resharper-unity/src/Unity.Rider/ZoneMarker.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.RdBackend.Common.Env;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Feature.Services.ExternalSources;
using JetBrains.ReSharper.Plugins.Json;
using JetBrains.ReSharper.Plugins.Yaml;
using JetBrains.ReSharper.Psi;
... | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.RdBackend.Common.Env;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Feature.Services.ExternalSources;
using JetBrains.ReSharper.Plugins.Json;
using JetBrains.ReSharper.Plugins.Yaml;
using JetBrains.ReSharper.Psi;
... | apache-2.0 | C# |
b97bf603867fb45e0725dfde4b299fb0b9bcb4f9 | Fix change runtime target to Core50 (#1690) | adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet | samples/BenchmarkDotNet.Samples/IntroEventPipeProfilerAdvanced.cs | samples/BenchmarkDotNet.Samples/IntroEventPipeProfilerAdvanced.cs | using System.Buffers;
using System.Diagnostics.Tracing;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing.Parsers;
namespace ... | using System.Buffers;
using System.Diagnostics.Tracing;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing.Parsers;
namespace ... | mit | C# |
de1e4efc700b471e69f22466a2e2783dd46cebe3 | update retrieve tests | ceee/PocketSharp | PocketSharp.Tests/RetrieveTests.cs | PocketSharp.Tests/RetrieveTests.cs | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using Xunit;
using PocketSharp.Models;
namespace PocketSharp.Tests
{
public class RetrieveTests : TestsBase
{
public RetrieveTests() : base() { }
[Fact]
public async Task AreItemsRetrieved()
{
List<PocketItem> it... | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using Xunit;
using PocketSharp.Models;
namespace PocketSharp.Tests
{
public class RetrieveTests : TestsBase
{
public RetrieveTests() : base() { }
[Fact]
public async Task AreItemsRetrieved()
{
List<PocketItem> it... | mit | C# |
b51d2913878aa903ccbda9d531d537bd65dcddf5 | update version number | unvell/ReoGrid,unvell/ReoGrid | ReoGrid/Properties/AssemblyInfo.cs | ReoGrid/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("Re... | 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("Re... | mit | C# |
2fc7e8c1c5cf77652791b39e1a62f5ed149dac19 | Change IMapper visibility from private to protected | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetbo... | src/Abp.AutoMapper/AutoMapper/AutoMapperObjectMapper.cs | src/Abp.AutoMapper/AutoMapper/AutoMapperObjectMapper.cs | using System.Linq;
using AutoMapper;
using IObjectMapper = Abp.ObjectMapping.IObjectMapper;
namespace Abp.AutoMapper
{
public class AutoMapperObjectMapper : IObjectMapper
{
protected readonly IMapper _mapper;
public AutoMapperObjectMapper(IMapper mapper)
{
_mapper = mapper... | using System.Linq;
using AutoMapper;
using IObjectMapper = Abp.ObjectMapping.IObjectMapper;
namespace Abp.AutoMapper
{
public class AutoMapperObjectMapper : IObjectMapper
{
private readonly IMapper _mapper;
public AutoMapperObjectMapper(IMapper mapper)
{
_mapper = mapper;
... | mit | C# |
cd2fc17fdff929cbad3a7c150a4b3063ec6e629e | Refactor FindByLabelStrategy to remove useless ExceptionFactory.CreateForNoSuchElement invocation | atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata/ScopeSearch/Strategies/FindByLabelStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByLabelStrategy.cs | using OpenQA.Selenium;
namespace Atata
{
public class FindByLabelStrategy : IComponentScopeLocateStrategy
{
public ComponentScopeLocateResult Find(IWebElement scope, ComponentScopeLocateOptions options, SearchOptions searchOptions)
{
string labelXPath = new ComponentScopeXPathBuild... | using OpenQA.Selenium;
namespace Atata
{
public class FindByLabelStrategy : IComponentScopeLocateStrategy
{
public ComponentScopeLocateResult Find(IWebElement scope, ComponentScopeLocateOptions options, SearchOptions searchOptions)
{
string labelXPath = new ComponentScopeXPathBuild... | apache-2.0 | C# |
3237737d8240085914e0c64cd86724cd5fd72aee | modify complex type parameter bind error. | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP/Internal/IModelBinder.ComplexType.cs | src/DotNetCore.CAP/Internal/IModelBinder.ComplexType.cs | using System;
using System.Reflection;
using System.Threading.Tasks;
using DotNetCore.CAP.Abstractions.ModelBinding;
using DotNetCore.CAP.Infrastructure;
using DotNetCore.CAP.Models;
namespace DotNetCore.CAP.Internal
{
public class ComplexTypeModelBinder : IModelBinder
{
private readonly ParameterInfo... | using System;
using System.Reflection;
using System.Threading.Tasks;
using DotNetCore.CAP.Abstractions.ModelBinding;
using DotNetCore.CAP.Infrastructure;
using DotNetCore.CAP.Models;
namespace DotNetCore.CAP.Internal
{
public class ComplexTypeModelBinder : IModelBinder
{
private readonly ParameterInfo... | mit | C# |
f466dd7d9c9b607a88ecf7cf99dd841652d92e43 | Read (but ignore) decimals value in column definition payload. | mysql-net/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector | src/MySql.Data/Serialization/ColumnDefinitionPayload.cs | src/MySql.Data/Serialization/ColumnDefinitionPayload.cs | using System;
using System.Text;
namespace MySql.Data.Serialization
{
internal class ColumnDefinitionPayload
{
public string Name { get; }
public CharacterSet CharacterSet { get; }
public int ColumnLength { get; }
public ColumnType ColumnType { get; }
public ColumnFlags ColumnFlags { get; }
public stat... | using System;
using System.Text;
namespace MySql.Data.Serialization
{
internal class ColumnDefinitionPayload
{
public string Name { get; }
public CharacterSet CharacterSet { get; }
public int ColumnLength { get; }
public ColumnType ColumnType { get; }
public ColumnFlags ColumnFlags { get; }
public stat... | mit | C# |
ca7438fbf118b8c6479484c966193f7797bd5618 | Change log timestamps to utc for better performance | Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller | source/BulkCrapUninstaller/LogWriter.cs | source/BulkCrapUninstaller/LogWriter.cs | /*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace BulkCrapUninstaller
{
internal sealed class LogWriter : StreamWriter
{
public LogWriter(string pa... | /*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace BulkCrapUninstaller
{
internal sealed class LogWriter : StreamWriter
{
public LogWriter(string pa... | apache-2.0 | C# |
ab6bfc8b4b36df05c203b92fe3c0bc47bd7188c4 | Fix a typo | JetBrains/YouTrackSharp,JetBrains/YouTrackSharp | tests/YouTrackSharp.Tests/Integration/Issues/CreateIssue.cs | tests/YouTrackSharp.Tests/Integration/Issues/CreateIssue.cs | using System;
using System.Threading.Tasks;
using Xunit;
using YouTrackSharp.Issues;
using YouTrackSharp.Tests.Infrastructure;
namespace YouTrackSharp.Tests.Integration.Issues
{
public partial class IssuesServiceTests
{
public class CreateIssue
{
[Fact]
public async Task... | using System;
using System.Threading.Tasks;
using Xunit;
using YouTrackSharp.Issues;
using YouTrackSharp.Tests.Infrastructure;
namespace YouTrackSharp.Tests.Integration.Issues
{
public partial class IssuesServiceTests
{
public class CreateIssue
{
[Fact]
public async Task... | apache-2.0 | C# |
99837098ba510b9e4084ddccd2358b4f805e5d46 | Test broker listens on all IPs | AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud | src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs | src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs | using System;
using WampSharp.Binding;
using WampSharp.Fleck;
using WampSharp.V2;
using WampSharp.V2.MetaApi;
namespace Adaptive.ReactiveTrader.MessageBroker
{
public class MessageBroker : IDisposable
{
private WampHost _router;
public void Dispose()
{
_router.Dispose();
... | using System;
using WampSharp.Binding;
using WampSharp.Fleck;
using WampSharp.V2;
using WampSharp.V2.MetaApi;
namespace Adaptive.ReactiveTrader.MessageBroker
{
public class MessageBroker : IDisposable
{
private WampHost _router;
public void Dispose()
{
_router.Dispose();
... | apache-2.0 | C# |
88719301051b3b62c326e8bc49cb4a279e025872 | fix #100 fix #99 | nerai/CMenu | src/ConsoleMenu/DefaultItems/MI_Help.cs | src/ConsoleMenu/DefaultItems/MI_Help.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NConsoleMenu.DefaultItems
{
public class MI_Help : CMenuItem
{
private readonly CMenu _Menu;
public MI_Help (CMenu menu)
: base ("help")
{
if (menu == null) {
throw new ArgumentNullException ("menu");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NConsoleMenu.DefaultItems
{
public class MI_Help : CMenuItem
{
private readonly CMenu _Menu;
public MI_Help (CMenu menu)
: base ("help")
{
if (menu == null) {
throw new ArgumentNullException ("menu");
... | mit | C# |
caf5d56b400324248623c54c1a2e28b6e37a96e8 | Update ToreGroneng.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ToreGroneng.cs | src/Firehose.Web/Authors/ToreGroneng.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ToreGroneng : IAmACommunityMember
{
public string FirstName => "Tore";
public string LastN... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ToreGroneng : IAmACommunityMember
{
public string FirstName => "Tore";
public string LastN... | mit | C# |
847c0e73f117f5535e9e9afd402724c982731f90 | Add SPModelExtension.GetVersions | misonou/codeless | src/Codeless.SharePoint/SharePoint/ObjectModel/SPModelExtension.cs | src/Codeless.SharePoint/SharePoint/ObjectModel/SPModelExtension.cs | using Microsoft.SharePoint;
using System.Collections;
using System.Collections.Generic;
namespace Codeless.SharePoint.ObjectModel {
/// <summary>
/// Provides extension methods to the <see cref="SPModel"/> class.
/// </summary>
public static class SPModelExtension {
/// <summary>
/// Gets the meta-dat... | using Microsoft.SharePoint;
namespace Codeless.SharePoint.ObjectModel {
/// <summary>
/// Provides extension methods to the <see cref="SPModel"/> class.
/// </summary>
public static class SPModelExtension {
/// <summary>
/// Gets the meta-data of the list item associated with an <see cref="SPModel"/> ... | mit | C# |
08edc69c64062144810f4051b35a3dd71defe568 | add copyright notice from upstream | mans0954/f-spot,Sanva/f-spot,mono/f-spot,GNOME/f-spot,Sanva/f-spot,mono/f-spot,NguyenMatthieu/f-spot,Sanva/f-spot,Yetangitu/f-spot,mans0954/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,mono/f-spot,dkoeb/f-spot,Sanva/f-spot,mono/f-spot,GNOME/f-spot,mans0954/f-spot,GNOME/f-spot,mans0954/f-spot,Yetangitu/f-spot,... | lib/gtk-sharp-beans/Shell.cs | lib/gtk-sharp-beans/Shell.cs | // GLib.Shell.cs
//
// Author(s):
// Stephane Delcroix <stephane@delcroix.org>
//
// Copyright (c) 2009 Novell, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software Foundatio... | using System;
using System.Runtime.InteropServices;
namespace GLib
{
public class Shell
{
[DllImport ("libglib-2.0-0.dll")]
static extern IntPtr g_shell_quote (IntPtr unquoted_string);
public static string Quote (string unquoted)
{
IntPtr native_string = GLib.Marshaller.StringToPtrGStrdup (unquoted);
... | mit | C# |
7c32cc03c951023cb6d6c4e7fbab1ab7bf0740b5 | Update IAbpMongoDbModuleConfiguration.cs | carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,beratcarsi/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,andmattia/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,r... | src/Abp.MongoDB/MongoDb/Configuration/IAbpMongoDbModuleConfiguration.cs | src/Abp.MongoDB/MongoDb/Configuration/IAbpMongoDbModuleConfiguration.cs | namespace Abp.MongoDb.Configuration
{
public interface IAbpMongoDbModuleConfiguration
{
string ConnectionString { get; set; }
string DatabaseName { get; set; }
}
}
| namespace Abp.MongoDb.Configuration
{
public interface IAbpMongoDbModuleConfiguration
{
string ConnectionString { get; set; }
string DatatabaseName { get; set; }
}
}
| mit | C# |
e70a427d420a34d8e6ee92c1b345f6de532da71c | add simple recipe to simple model | isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp | models/SelfOrganizingPillProduction/Modeling/Model.cs | models/SelfOrganizingPillProduction/Modeling/Model.cs | using SafetySharp.Modeling;
namespace SelfOrganizingPillProduction.Modeling
{
public class Model : ModelBase
{
public const int MaximumRecipeLength = 30;
public const int ContainerStorageSize = 30;
public const int MaximumRoleCount = 30;
public const int MaximumResourceCount = ... | using SafetySharp.Modeling;
namespace SelfOrganizingPillProduction.Modeling
{
public class Model : ModelBase
{
public const int MaximumRecipeLength = 30;
public const int ContainerStorageSize = 30;
public const int MaximumRoleCount = 30;
public const int MaximumResourceCount = ... | mit | C# |
dc7c8b208e0a057772c0d0dd60b2c80fb00337f2 | Resolve #AG29 - Remove some obsolete code for binding | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.Web.Models/Tickets/NewTicketSpecification.cs | Agiil.Web.Models/Tickets/NewTicketSpecification.cs | using System;
using Agiil.Domain.Sprints;
using Agiil.Domain.Tickets;
using CSF.Entities;
namespace Agiil.Web.Models.Tickets
{
public class NewTicketSpecification
{
public string Title { get; set; }
public string Description { get; set; }
public IIdentity<Sprint> SprintIdentity { get; set; }
pu... | using System;
using Agiil.Domain.Sprints;
using Agiil.Domain.Tickets;
using CSF.Entities;
namespace Agiil.Web.Models.Tickets
{
public class NewTicketSpecification
{
public string Title { get; set; }
public string Description { get; set; }
public IIdentity<Sprint> SprintIdentity { get; set; }
pu... | mit | C# |
63e627f79ce8aca5aa8c72d25893d4f855f2f7de | fix cw/ccw-detection for ClosedWalls with 3 vertices | accu-rate/SumoVizUnity,accu-rate/SumoVizUnity | Assets/Scripts/Geometry/ObstacleExtrudeGeometry.cs | Assets/Scripts/Geometry/ObstacleExtrudeGeometry.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ObstacleExtrudeGeometry : ExtrudeGeometry { // walls
public static void create (string name, List<Vector2> verticesList, float height) {
GeometryLoader gl = GameObject.Find("GeometryLoader").GetComponent<GeometryLoader>(... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ObstacleExtrudeGeometry : ExtrudeGeometry { // walls
public static void create (string name, List<Vector2> verticesList, float height) {
GeometryLoader gl = GameObject.Find("GeometryLoader").GetComponent<GeometryLoader>(... | mit | C# |
e9473db77c61ce3e7b15f7f770634c5665b50d2d | Reorder to have video settings next to renderer | ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game/Overlays/Settings/Sections/GraphicsSection.cs | osu.Game/Overlays/Settings/Sections/GraphicsSection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Overlays.Settings.Secti... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Overlays.Settings.Secti... | mit | C# |
d2780c2c50557b1bdbfc1bec444ae9814dd08e80 | Add a touch more detail to the unsupported skin component exception | NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu | osu.Game/Skinning/UnsupportedSkinComponentException.cs | osu.Game/Skinning/UnsupportedSkinComponentException.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;
namespace osu.Game.Skinning
{
public class UnsupportedSkinComponentException : Exception
{
public UnsupportedSkinComponentException(ISkinCo... | // 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;
namespace osu.Game.Skinning
{
public class UnsupportedSkinComponentException : Exception
{
public UnsupportedSkinComponentException(ISkinCo... | mit | C# |
319ac1ba6e302c29a64fc908cd85baab71ea405b | Add missing IsDisposed. | atsushieno/mono-reactive,jorik041/mono-reactive,paulcbetts/mono-reactive | System.Reactive/System.Reactive.Disposables/CompositeDisposable.cs | System.Reactive/System.Reactive.Disposables/CompositeDisposable.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Reactive.Concurrency;
namespace System.Reactive.Disposables
{
public sealed class CompositeDisposable
: ICollection<IDisposable>, IEnumerable<IDisposable>, IEnumerable, IDisposable
{
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Reactive.Concurrency;
namespace System.Reactive.Disposables
{
public sealed class CompositeDisposable
: ICollection<IDisposable>, IEnumerable<IDisposable>, IEnumerable, IDisposable
{
... | mit | C# |
232c5cd4e2596768979455b8a21b439f5362ce96 | Use same namespace for serializers | davetimmins/ArcGIS.PCL,davetimmins/ArcGIS.PCL | ArcGIS.ServiceModel.Serializers.ServiceStackV3/ServiceStackSerializer.cs | ArcGIS.ServiceModel.Serializers.ServiceStackV3/ServiceStackSerializer.cs | using ArcGIS.ServiceModel.Operation;
using System;
using System.Collections.Generic;
namespace ArcGIS.ServiceModel.Serializers
{
public class ServiceStackSerializer : ISerializer
{
static ISerializer _serializer = null;
public static void Init()
{
_serializer = new Service... | using ArcGIS.ServiceModel.Operation;
using System;
using System.Collections.Generic;
namespace ArcGIS.ServiceModel.Serializers.ServiceStackV3
{
public class ServiceStackSerializer : ISerializer
{
static ISerializer _serializer = null;
public static void Init()
{
_serialize... | mit | C# |
f44689a0a2152b5d49f9559de7f1ffb4bb2f58f3 | Update ModifyThroughStyleObject.cs | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.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,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecel... | Examples/CSharp/Articles/ModifyExistingStyle/ModifyThroughStyleObject.cs | Examples/CSharp/Articles/ModifyExistingStyle/ModifyThroughStyleObject.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.ModifyExistingStyle
{
public class ModifyThroughStyleObject
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.ModifyExistingStyle
{
public class ModifyThroughStyleObject
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.