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 |
|---|---|---|---|---|---|---|---|---|---|
3c0fa7e7bc258572da69e9b06903903c92d2b24a | Src/Web/www/NeedDotNet.Web/App_Start/WebApiConfig.cs | Src/Web/www/NeedDotNet.Web/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
namespace NeedDotNet.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
namespace NeedDotNet.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)... | Clean up Web Api Config Commit | Clean up Web Api Config Commit
| C# | apache-2.0 | hnidboubker/NeedDotNet,hnidboubker/NeedDotNet |
8a21820d8a91a37bdbacf3f95ab27048ea924236 | Core/Game/Buffs/Buff.cs | Core/Game/Buffs/Buff.cs | using UnityEngine;
using System.Collections;
using System;
namespace Lockstep
{
public class Buff
{
protected int Duration;
protected int Timer;
protected LSAgent Target;
internal int ID {get; set;}
public bool Active {get; private set;}
public void Init... | using UnityEngine;
using System.Collections;
using System;
namespace Lockstep
{
public class Buff
{
protected int Duration;
protected int Timer;
protected LSAgent Target;
internal int ID {get; set;}
public bool Active {get; private set;}
public void Init... | Fix functions not being called | Fix functions not being called
| C# | mit | erebuswolf/LockstepFramework,SnpM/Lockstep-Framework,yanyiyun/LockstepFramework |
34afc1cf352e92f669576cb3963fe3f1e9f31efb | EntityFrameworkCore.RawSQLExtensions/Extensions/DatabaseFacadeExtensions.cs | EntityFrameworkCore.RawSQLExtensions/Extensions/DatabaseFacadeExtensions.cs | using EntityFrameworkCore.RawSQLExtensions.SqlQuery;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace EntityFrameworkCore.RawSQLExtensions.Extensions
{
public static class DatabaseFacadeExtensions
{
public s... | using EntityFrameworkCore.RawSQLExtensions.SqlQuery;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace EntityFrameworkCore.RawSQLExtensions.Extensions
{
public static class DatabaseFacadeExtensions
{
... | Add ISqlQuery<object> SqlQuery(this DatabaseFacade database, Type type, string sqlQuery, params SqlParameter[] parameters) | Add ISqlQuery<object> SqlQuery(this DatabaseFacade database, Type type, string sqlQuery, params SqlParameter[] parameters)
| C# | mit | PaulARoy/EntityFrameworkCore.RawSQLExtensions |
08589a7bda1a57077d66adcd234311bdc9ff0189 | GUtils.IO/FileSizes.cs | GUtils.IO/FileSizes.cs | using System;
namespace GUtils.IO
{
public static class FileSizes
{
public const UInt64 B = 1024;
public const UInt64 KiB = 1024 * B;
public const UInt64 MiB = 1024 * KiB;
public const UInt64 GiB = 1024 * MiB;
public const UInt64 TiB = 1024 * GiB;
public const U... | using System;
namespace GUtils.IO
{
public static class FileSizes
{
public const UInt64 B = 1024;
public const UInt64 KiB = 1024 * B;
public const UInt64 MiB = 1024 * KiB;
public const UInt64 GiB = 1024 * MiB;
public const UInt64 TiB = 1024 * GiB;
public const UInt64 PiB = 1024 * TiB;
private static ... | Add an option to set the number of decimal places that will be used in the formatting | Add an option to set the number of decimal places that will be used in the formatting
| C# | mit | GGG-KILLER/GUtils.NET |
f0309d185ca8dc3600bd833670f9e1429f443b11 | src/Fixie.VisualStudio.TestAdapter/Discoverer.cs | src/Fixie.VisualStudio.TestAdapter/Discoverer.cs | using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using Fixie.Execution;
namespace Fixie.VisualStudio.TestAdapter
{
[D... | using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using Fixie.Execution;
namespace Fixie.VisualStudio.TestAdapter
{
[D... | Remove population of Visual Studio's TestCase.DisplayName property during test discovery. This has no effect and is misleading. TestCase.FullyQualifiedName is set to the method group of a test method, but TestCase.DisplayName should only be set during execution time to the full name of a test case including input param... | Remove population of Visual Studio's TestCase.DisplayName property during test discovery. This has no effect and is misleading. TestCase.FullyQualifiedName is set to the method group of a test method, but TestCase.DisplayName should only be set during execution time to the full name of a test case including input param... | C# | mit | JakeGinnivan/fixie,KevM/fixie,EliotJones/fixie,bardoloi/fixie,fixie/fixie,Duohong/fixie,bardoloi/fixie |
819cba31cecbf0970dd8924afc83fedd347b1e34 | osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components;
using osu.... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components;
using osu.... | Fix spinners not starting placement with the first click | Fix spinners not starting placement with the first click
| C# | mit | ZLima12/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,DrabWeb/osu,smoogipooo/osu,naoey/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu-new,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,peppy... |
fbc5378c0575c2d5ecabac75383b937a67992615 | src/VsConsole/Console/PowerConsole/HostInfo.cs | src/VsConsole/Console/PowerConsole/HostInfo.cs | using System;
using System.Diagnostics;
namespace NuGetConsole.Implementation.PowerConsole {
/// <summary>
/// Represents a host with extra info.
/// </summary>
class HostInfo : ObjectWithFactory<PowerConsoleWindow> {
Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; }
... | using System;
using System.Diagnostics;
namespace NuGetConsole.Implementation.PowerConsole {
/// <summary>
/// Represents a host with extra info.
/// </summary>
class HostInfo : ObjectWithFactory<PowerConsoleWindow> {
Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; }
... | Revert accidental change to @async flag. | Revert accidental change to @async flag.
--HG--
branch : 1.1
| C# | apache-2.0 | OneGet/nuget,chocolatey/nuget-chocolatey,kumavis/NuGet,oliver-feng/nuget,dolkensp/node.net,mrward/NuGet.V2,chester89/nugetApi,pratikkagda/nuget,zskullz/nuget,chocolatey/nuget-chocolatey,oliver-feng/nuget,mrward/nuget,xero-github/Nuget,akrisiun/NuGet,jmezach/NuGet2,mono/nuget,pratikkagda/nuget,antiufo/NuGet2,pratikkagda... |
aff216840fcf94c98a609c3f5cc9fbd4bbdc628c | osu.Game/Database/IHasOnlineID.cs | osu.Game/Database/IHasOnlineID.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Database
{
public interface IHasOnlineID
{
/// <summary>
/// The server-side ID representing this instance, i... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Database
{
public interface IHasOnlineID
{
/// <summary>
/// The server-side ID representing this instance, i... | Add a note about `OnlineID` potentially being zero in non-autoincrement cases | Add a note about `OnlineID` potentially being zero in non-autoincrement cases
| C# | mit | peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu |
7d221802a2fa0dc81f78204c644a6b861f23c746 | osu.Game/Online/API/OAuthToken.cs | osu.Game/Online/API/OAuthToken.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Globalization;
using Newtonsoft.Json;
using osu.Framework.Extensions;
namespace osu.Game.Online.API
{
[Serializable]
inte... | // 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;
using System.Globalization;
using Newtonsoft.Json;
using osu.Framework.Extensions;
namespace osu.Game.Online.API
{
[Serializable]
inte... | Fix refresh tokens not working correctly | Fix refresh tokens not working correctly
Turns out there's plenty of slashes in refresh tokens. | C# | mit | NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu-new,NeoAdonis/osu,naoey/osu,Nabile-Rahmani/osu,NeoAdonis/osu,nyaamara/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,naoey/osu,Drezi126/osu,tacchinotacchi/osu,Frontear/osuKyzer,osu-RP/osu-RP,naoey/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,EVAST9919... |
d032ba48bd9995acd12e829d56bfc084b1391ec3 | src/NProcessPipe/DependencyAnalysis/Node.cs | src/NProcessPipe/DependencyAnalysis/Node.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NProcessPipe.DependencyAnalysis
{
public class Node<T>
{
public Node(T data)
{
//Index = -1;
Data = data;
}
public T Data { get; private set; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NProcessPipe.DependencyAnalysis
{
public class Node<T>
{
public Node(T data)
{
Data = data;
}
public T Data { get; private set; }
public bool Eq... | Clean up dependency node class | Clean up dependency node class
| C# | mit | Mike737377/NProcessPipe,Mike737377/NProcessPipe |
1a8766a54b1c48ca437f8ec7b1db3e74c8a956ea | Source/CodeBlueDev.PluralSight.Core.Models/CourseExerciseFiles.cs | Source/CodeBlueDev.PluralSight.Core.Models/CourseExerciseFiles.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CourseExerciseFiles.cs" company="CodeBlueDev">
// All rights reserved.
// </copyright>
// <summary>
// Represents a PluralSight Course's exercise files information.
// </summa... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CourseExerciseFiles.cs" company="CodeBlueDev">
// All rights reserved.
// </copyright>
// <summary>
// Represents a PluralSight Course's exercise files information.
// </summa... | Update userHandle to be consistent in all examples instead of random | Update userHandle to be consistent in all examples instead of random
| C# | mit | CodeBlueDev/CodeBlueDev.PluralSight.Core.Models |
cbf182b753c8d670b2e88303a52e2d99053f2837 | Engine/Extensions.cs | Engine/Extensions.cs | using System.Collections.Generic;
using System.IO;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions
{
// TODO Add documentation
public static class Extensions
{
public static IEnumerable<string> GetLines(this string text)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions
{
// TODO Add documentation
public static class Extensions
{
public static IEnumerable<string> GetLines(this string text)
... | Add extension method to translate text coordinates | Add extension method to translate text coordinates
| C# | mit | daviwil/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer |
962d9830cbe00983c31e0de8f499772ebb23355c | src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.cs | src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Net.Sockets.Tests;
using System.Net.Test.Common;
using Xunit;
using Xunit.Abstractions;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Net.Sockets.Tests;
using System.Net.Test.Common;
using Xunit;
using Xunit.Abstractions;
... | Decrease number of socket instances in SocketPerformance_MultipleSocketClientAsync_LocalHostServerAsync | Decrease number of socket instances in SocketPerformance_MultipleSocketClientAsync_LocalHostServerAsync
Larger number causes listen queue to be exceeded, resulting in client failures due to connection being rejected by server.
| C# | mit | seanshpark/corefx,rubo/corefx,krytarowski/corefx,stone-li/corefx,wtgodbe/corefx,JosephTremoulet/corefx,cydhaselton/corefx,rubo/corefx,the-dwyer/corefx,dhoehna/corefx,twsouthwick/corefx,Jiayili1/corefx,ViktorHofer/corefx,stephenmichaelf/corefx,mazong1123/corefx,dotnet-bot/corefx,rubo/corefx,richlander/corefx,billwert/co... |
b8717be0a48c4b6b0a4cd2cb408cf360da045f38 | ClosedXML/Excel/XLWorksheetInternals.cs | ClosedXML/Excel/XLWorksheetInternals.cs | using System;
namespace ClosedXML.Excel
{
internal class XLWorksheetInternals : IDisposable
{
public XLWorksheetInternals(
XLCellsCollection cellsCollection,
XLColumnsCollection columnsCollection,
XLRowsCollection rowsCollection,
XLRanges mergedRanges
... | using System;
namespace ClosedXML.Excel
{
internal class XLWorksheetInternals : IDisposable
{
public XLWorksheetInternals(
XLCellsCollection cellsCollection,
XLColumnsCollection columnsCollection,
XLRowsCollection rowsCollection,
XLRanges mergedRanges
... | Clear CellsCollection on WorksheetInternals disposal to make it easier to GC to collect unused references | Clear CellsCollection on WorksheetInternals disposal to make it easier to GC to collect unused references
| C# | mit | ClosedXML/ClosedXML,igitur/ClosedXML |
b0d265ddcbb03250a8ac0840a774786903b6820b | input/docs/report-formats/generic/index.cshtml | input/docs/report-formats/generic/index.cshtml | ---
Title: HTML
Description: Report format to create reports in any text based format (HTML, Markdown, ...).
---
<p>@Html.Raw(Model.String(DocsKeys.Description))</p>
<p>
Support for creating reports in any text based format like HTML or Markdown is implemented in the
<a href="https://www.nuget.org/packages/Cak... | ---
Title: Generic
Description: Report format to create reports in any text based format (HTML, Markdown, ...).
---
<p>@Html.Raw(Model.String(DocsKeys.Description))</p>
<p>
Support for creating reports in any text based format like HTML or Markdown is implemented in the
<a href="https://www.nuget.org/packages/... | Fix title for generic report format | Fix title for generic report format
| C# | mit | cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website |
9a330c4c56aeeda049cfccdd6a15f10c1966758c | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteHead.cs | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteHead.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// The head of a <see cref="DrawableHoldNote"/>.
/// </summary>
public class Drawable... | // 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.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// The head of a <see cref="DrawableHoldNote"/>.
... | Fix mania hold note heads hiding when frozen | Fix mania hold note heads hiding when frozen
This was an insidious regression from a3dc1d5. Prior to that commit,
`DrawableHoldNoteHead` had `UpdateStateTransforms()` overridden, to set
the hold note head's lifetime. When that method was split into
`UpdateInitialStateTransforms()` and `UpdateHitStateTransforms()`, the... | C# | mit | peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu |
a9a0e1339cd06e8d80292066f07680728d759627 | source/Htc.Vita.Core/Util/Extract.cs | source/Htc.Vita.Core/Util/Extract.cs | using System.IO;
using Htc.Vita.Core.Runtime;
namespace Htc.Vita.Core.Util
{
public static partial class Extract
{
public static bool FromFileToIcon(FileInfo fromFile, FileInfo toIcon)
{
if (!Platform.IsWindows)
{
return false;
}
... | using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
using Htc.Vita.Core.Log;
using Htc.Vita.Core.Runtime;
namespace Htc.Vita.Core.Util
{
public static partial class Extract
{
public static bool FromFileToIcon(
FileInfo fromFile,
FileInfo... | Add API to extract resource from assembly | Add API to extract resource from assembly
| C# | mit | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp |
c173635100280eff34f442b22ed1181caf92f93d | XamMusic/XamMusic/XamMusic/Controls/CreatePlaylistPopup.xaml.cs | XamMusic/XamMusic/XamMusic/Controls/CreatePlaylistPopup.xaml.cs | using Rg.Plugins.Popup.Pages;
using Rg.Plugins.Popup.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XamMusic.Interfaces;
using XamMusic.ViewModels;
namespace XamMusic.Controls
{
[... | using Rg.Plugins.Popup.Pages;
using Rg.Plugins.Popup.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XamMusic.Interfaces;
using XamMusic.ViewModels;
namespace XamMusic.Controls
{
[... | Append numbers to created playlist names if taken | Append numbers to created playlist names if taken
| C# | mit | DanielCKennedy/XamMusic |
fafc92a2a6ca4ef354c391997074ae2c64482faf | Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs | Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 in writing,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 in writing,... | Disable locally failiny npm command test | Disable locally failiny npm command test
| C# | apache-2.0 | paulvanbrenk/nodejstools,munyirik/nodejstools,paladique/nodejstools,munyirik/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,munyirik/nodejstools,mjbvz/nodejstools,lukedgr/nodejstools,mousetraps/nodejstools,avitalb/nodejstools,Microsoft/nodejstools,paladique/nodejstools,kant2002/nodejstoo... |
19ceda04b585b4f569e59b1d492d44043611c160 | Content.Server.Database/DesignTimeContextFactories.cs | Content.Server.Database/DesignTimeContextFactories.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
// ReSharper disable UnusedType.Global
namespace Content.Server.Database;
public sealed class DesignTimeContextFactoryPostgres : IDesignTimeDbContextFactory<PostgresServerDbContext>
{
public PostgresServerDbContext CreateDbContext(s... | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
// ReSharper disable UnusedType.Global
namespace Content.Server.Database;
public sealed class DesignTimeContextFactoryPostgres : IDesignTimeDbContextFactory<PostgresServerDbContext>
{
public PostgresServerDbContext CreateDbContext(s... | Fix arg parsing for design time db contexts. | Fix arg parsing for design time db contexts.
Don't need to pull this from command line, you can specify --context.
| C# | mit | 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 |
b67bdac33a3f57d1c51a5e0c53b2a4351af89f24 | MusicPickerService/Hubs/MusicHub.cs | MusicPickerService/Hubs/MusicHub.cs | using System;
using System.Data.Entity;
using System.Linq;
using System.Web;
using MusicPickerService.Models;
using StackExchange.Redis;
namespace MusicPickerService.Hubs
{
public class MusicHub
{
private static ConnectionMultiplexer redis = ConnectionMultiplexer.Connect("localhost");
private ... | using System;
using System.Data.Entity;
using System.Linq;
using System.Web;
using MusicPickerService.Models;
using StackExchange.Redis;
using Microsoft.AspNet.SignalR;
namespace MusicPickerService.Hubs
{
public class MusicHub: Hub
{
private static ConnectionMultiplexer redis = ConnectionMultiplexer.C... | Add inherit from Hub and Next | Add inherit from Hub and Next
| C# | apache-2.0 | hutopi/MusicPickerService,hutopi/MusicPickerService,hutopi/MusicPickerService |
631d4ae1959074cbaf16aaafc5b75e2832de05f3 | WizardWebApi/Controllers/TweetsController.cs | WizardWebApi/Controllers/TweetsController.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Mime;
using System.Web.Compilation;
using System.Web.Http;
using Newtonsoft.Json;
using RestSharp;
using WizardCentralServer.Model.Dtos;
using WizardWebApi.Models.Obj... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Mime;
using System.Web.Compilation;
using System.Web.Http;
using Newtonsoft.Json;
using RestSharp;
using WizardCentralServer.Model.Dtos;
using WizardWebApi.Models.Obj... | Change tweet query to include fictional wizards | Change tweet query to include fictional wizards
| C# | bsd-2-clause | harjup/WizardCentralServer,harjup/WizardCentralServer |
09bbcf7ab26ba8db42428aee9f9c247064d52f06 | src/Atata.Tests/AtataContextBuilderTests.cs | src/Atata.Tests/AtataContextBuilderTests.cs | using System;
using NUnit.Framework;
namespace Atata.Tests
{
[TestFixture]
public class AtataContextBuilderTests
{
[Test]
public void AtataContextBuilder_Build_WithoutDriver()
{
InvalidOperationException exception = Assert.Throws<InvalidOperationException>(() =>
... | using System;
using NUnit.Framework;
namespace Atata.Tests
{
public class AtataContextBuilderTests : UITestFixtureBase
{
[Test]
public void AtataContextBuilder_Build_WithoutDriver()
{
InvalidOperationException exception = Assert.Throws<InvalidOperationException>(() =>
... | Add AtataContextBuilder_OnDriverCreated and AtataContextBuilder_OnDriverCreated_RestartDriver tests | Add AtataContextBuilder_OnDriverCreated and AtataContextBuilder_OnDriverCreated_RestartDriver tests
| C# | apache-2.0 | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata |
1782a4989879a525fde10ff90de3123feb739254 | Source/Treenumerable/EnumerableExtensions/EnumerableExtensions.ToVirtualTrees.cs | Source/Treenumerable/EnumerableExtensions/EnumerableExtensions.ToVirtualTrees.cs | using System.Collections.Generic;
namespace Treenumerable
{
internal static class EnumerableExtensions
{
internal static IEnumerable<VirtualTree<T>> ToVirtualTrees<T>(
this IEnumerable<T> source,
VirtualTree<T> virtualTree)
{
foreach (T node in source)
... | using System.Collections.Generic;
namespace Treenumerable
{
internal static partial class EnumerableExtensions
{
internal static IEnumerable<VirtualTree<T>> ToVirtualTrees<T>(
this IEnumerable<T> source,
VirtualTree<T> virtualTree)
{
foreach (T node in sourc... | Change EnumerableExtensions to partial class | Change EnumerableExtensions to partial class
| C# | mit | jasonmcboyd/Treenumerable |
1a617eb5335bdba8631094fad74e528d73ecd13b | test/WebSites/ActivatorWebSite/Controllers/RegularController.cs | test/WebSites/ActivatorWebSite/Controllers/RegularController.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
namespace ActivatorWebSite
{
public class RegularController : Controller... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
namespace ActivatorWebSite
{
public class ... | Fix an inadvertent 204 in activator tests | Fix an inadvertent 204 in activator tests
On a web server, this test ends up giving back a 204 because of the MVC
behavior when an action is declared to return void. The fix is to use
EmptyResult.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
3f9dc606c6cc134cd60de60b1fc5d60325781e00 | App/StackExchange.DataExplorer/Controllers/TutorialController.cs | App/StackExchange.DataExplorer/Controllers/TutorialController.cs | using System.Web.Mvc;
using StackExchange.DataExplorer.Helpers;
namespace StackExchange.DataExplorer.Controllers
{
public class TutorialController : StackOverflowController
{
[StackRoute("tutorial")]
public ActionResult Index()
{
SetHeader("Tutorial");
return Vi... | using System.Web.Mvc;
using StackExchange.DataExplorer.Helpers;
namespace StackExchange.DataExplorer.Controllers
{
public class TutorialController : StackOverflowController
{
[StackRoute("tutorial")]
public ActionResult Index()
{
SetHeader("Tutorial");
ViewData[... | Add titles to tutorial pages | Add titles to tutorial pages | C# | mit | StackExchange/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,StackExchange/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,StackExchange/StackExchange.DataExplorer |
b938bb9117b36cbde43500386df645f792978734 | src/kafka-net/Interfaces/IKafkaTcpSocket.cs | src/kafka-net/Interfaces/IKafkaTcpSocket.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace KafkaNet
{
public interface IKafkaTcpSocket : IDisposable
{
Uri ClientUri { get; }
Task<byte[]> ReadAsync(int readSize);
Task<byte[]> ReadAsync(int readSize, CancellationToken cancellationToken);
Tas... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace KafkaNet
{
public interface IKafkaTcpSocket : IDisposable
{
/// <summary>
/// The Uri to the connected server.
/// </summary>
Uri ClientUri { get; }
/// <summary>
/// Read a certain b... | Add documentation and convenience func to interface | Add documentation and convenience func to interface
| C# | apache-2.0 | gigya/KafkaNetClient,EranOfer/KafkaNetClient,martijnhoekstra/kafka-net,Jroland/kafka-net,bridgewell/kafka-net,geffzhang/kafka-net,BDeus/KafkaNetClient,nightkid1027/kafka-net,CenturyLinkCloud/kafka-net,aNutForAJarOfTuna/kafka-net,PKRoma/kafka-net |
4dc0b83b280395bc114c5530fa9843a244804f9b | Benchmark.NetCore/Program.cs | Benchmark.NetCore/Program.cs | using BenchmarkDotNet.Running;
namespace Benchmark.NetCore
{
internal class Program
{
private static void Main(string[] args)
{
//BenchmarkRunner.Run<MetricCreationBenchmarks>();
//BenchmarkRunner.Run<SerializationBenchmarks>();
//BenchmarkRunner.Run<LabelBe... | using BenchmarkDotNet.Running;
namespace Benchmark.NetCore
{
internal class Program
{
private static void Main(string[] args)
{
// Give user possibility to choose which benchmark to run.
// Can be overridden from the command line with the --filter option.
ne... | Add commandline switch to benchmark to avoid need for rebuilds | Add commandline switch to benchmark to avoid need for rebuilds
| C# | mit | andrasm/prometheus-net |
c4efc8121f4f3ccf9e38710cbfcca43ebed18ec5 | Rackspace.VisualStudio.CloudExplorer/Files/CloudFilesEndpointNode.cs | Rackspace.VisualStudio.CloudExplorer/Files/CloudFilesEndpointNode.cs | namespace Rackspace.VisualStudio.CloudExplorer.Files
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VSDesigner.ServerExplorer;
using net.openstack.Core.Domain;
using net.openstack.Providers.Rackspace;
public class... | namespace Rackspace.VisualStudio.CloudExplorer.Files
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VSDesigner.ServerExplorer;
using net.openstack.Core.Domain;
using net.openstack.Providers.Rackspace;
public class... | Increase the default Cloud Files connection limit | Increase the default Cloud Files connection limit
| C# | apache-2.0 | rackerlabs/rax-vsix |
49770ceda40f148896e138bc0bbc7db79626557f | Geode/Geometry/Polygon.cs | Geode/Geometry/Polygon.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Geode.Geometry
{
public class Polygon<T> : IGeoType
{
public string Type => "Polygon";
public IEnumerable<IEnumerable<T>> Coordinates { get; set; }
public Polygon(IEnumerable<IEnumerable<T>> coordinates)
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Geode.Geometry
{
public class Polygon: IGeoType
{
public string Type => "Polygon";
public IEnumerable<IEnumerable<double>> Coordinates { get; set; }
public Polygon(IEnumerable<IEnumerable<double>> coordinates)... | Add non-generic polygon type that uses double type by default. | Add non-generic polygon type that uses double type by default.
| C# | mit | taylorhutchison/Geode |
cbfc52d78e71da04c2f80e03dd6dbfeb0290afb3 | AuthenticodeLint/Rules/PublisherInformationRule.cs | AuthenticodeLint/Rules/PublisherInformationRule.cs | using System;
using System.Security.Cryptography.Pkcs;
namespace AuthenticodeLint.Rules
{
public class PublisherInformationPresentRule : IAuthenticodeRule
{
public int RuleId { get; } = 10004;
public string RuleName { get; } = "Publisher Information Rule";
public string Sh... | using System;
using System.Security.Cryptography.Pkcs;
namespace AuthenticodeLint.Rules
{
public class PublisherInformationPresentRule : IAuthenticodeRule
{
public int RuleId { get; } = 10004;
public string RuleName { get; } = "Publisher Information Rule";
public string Sh... | Check for valid URI in publisher information. | Check for valid URI in publisher information.
In addition to being present, the URL must be a valid URI.
| C# | mit | vcsjones/AuthenticodeLint |
3e6ee2d34ddd52cc13da3b9c10d57e67fb60dcd6 | ServiceProvider/SettingsManager.cs | ServiceProvider/SettingsManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceProvider
{
public static class SettingsManager
{
internal static void CheckForXmlFileDirectory(Func<string> getXmlFilePath, Action<string, string> messageForUser)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceProvider
{
public static class SettingsManager
{
internal static void CheckForXmlFileDirectory(Func<string> getXmlFilePath, Action<string, string> messageForUser)
... | Remove code involving MessageBox that did not belong in this class | Remove code involving MessageBox that did not belong in this class
| C# | apache-2.0 | xyon1/Expenditure-App |
a84b8c642077d7f5eb2af6cf223bf6bdea1485f0 | NQuery.Language/SyntaxTree.cs | NQuery.Language/SyntaxTree.cs | using System;
namespace NQuery.Language
{
public sealed class SyntaxTree
{
private readonly CompilationUnitSyntax _root;
private readonly TextBuffer _textBuffer;
private SyntaxTree(CompilationUnitSyntax root, TextBuffer textBuffer)
{
_root = root;
_textB... | using System;
namespace NQuery.Language
{
public sealed class SyntaxTree
{
private readonly CompilationUnitSyntax _root;
private readonly TextBuffer _textBuffer;
private SyntaxTree(CompilationUnitSyntax root, TextBuffer textBuffer)
{
_root = root;
_textB... | Fix bug where ParseExpression doesn't parse an expression but a query | Fix bug where ParseExpression doesn't parse an expression but a query
| C# | mit | terrajobst/nquery-vnext |
23bb03bc09a10833a9fbe535f7d11b54fab23af3 | UniProgramGen/Data/Requirements.cs | UniProgramGen/Data/Requirements.cs | using System.Collections.Generic;
using UniProgramGen;
namespace UniProgramGen.Data
{
public class Requirements
{
public readonly double weight;
public readonly List<Helpers.TimeSlot> availableTimeSlots;
public readonly List<Room> requiredRooms;
public Requirements(double weig... | using System.Collections.Generic;
using UniProgramGen;
using System.Linq;
namespace UniProgramGen.Data
{
public class Requirements
{
public const uint TOTAL_HOURS = 15;
public const uint TOTAL_WEEK_HOURS = 5 * TOTAL_HOURS;
public readonly double weight;
public readonly List<He... | Add internal weight calculation for requirements | Add internal weight calculation for requirements
| C# | bsd-2-clause | victoria92/university-program-generator,victoria92/university-program-generator |
6a3ea187ad97d436342facb394cabed05e3ff876 | src/Stranne.VasttrafikNET.Tests/Helpers/JsonHelper.cs | src/Stranne.VasttrafikNET.Tests/Helpers/JsonHelper.cs | using System.IO;
using Stranne.VasttrafikNET.Tests.Json;
namespace Stranne.VasttrafikNET.Tests.Helpers
{
public static class JsonHelper
{
public static string GetJson(JsonFile jsonFile)
{
var fileName = $"{jsonFile}.json";
var json = File.ReadAllText($@"Json\{fileName}"... | using System.IO;
using Stranne.VasttrafikNET.Tests.Json;
namespace Stranne.VasttrafikNET.Tests.Helpers
{
public static class JsonHelper
{
public static string GetJson(JsonFile jsonFile)
{
var fileName = $"{jsonFile}.json";
var json = File.ReadAllText($@"Json/{fileName}"... | Fix test json file path on unix systems | Fix test json file path on unix systems
| C# | mit | stranne/Vasttrafik.NET,stranne/Vasttrafik.NET |
f66002c46f8246903d3bdefc1c2bf30581bff635 | Caelan.Frameworks.Common/Classes/GenericBuilder.cs | Caelan.Frameworks.Common/Classes/GenericBuilder.cs | using AutoMapper;
namespace Caelan.Frameworks.Common.Classes
{
public static class GenericBuilder
{
public static BaseBuilder<TSource, TDestination> Create<TSource, TDestination>()
where TDestination : class, new()
where TSource : class, new()
{
var builder = new BaseBuilder<TSource, TDestination>();
... | using System;
using System.Linq;
using System.Reflection;
using AutoMapper;
namespace Caelan.Frameworks.Common.Classes
{
public static class GenericBuilder
{
public static BaseBuilder<TSource, TDestination> Create<TSource, TDestination>()
where TDestination : class, new()
where TSource : class, new()
{
... | Fix for searching for basebuilder already defined on all assemblies | Fix for searching for basebuilder already defined on all assemblies
| C# | mit | Ar3sDevelopment/Caelan.Frameworks.Common |
259d8597623a8db390187fad7b6d78191e307bcc | MimeBank/MimeChecker.cs | MimeBank/MimeChecker.cs | /*
* Programmed by Umut Celenli umut@celenli.com
*/
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MimeBank
{
/// <summary>
/// This is the main class to check the file mime type
/// Header list is loaded once
/// </summary>
public class MimeChecker
... | /*
* Programmed by Umut Celenli umut@celenli.com
*/
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MimeBank
{
/// <summary>
/// This is the main class to check the file mime type
/// Header list is loaded once
/// </summary>
public class MimeChecker
... | Add stream variant of GetFileHeader() | Add stream variant of GetFileHeader()
| C# | apache-2.0 | detaybey/MimeBank |
321873c0fbfdbf3713b45327147a63545dd980bc | src/Ensconce.Cli/DatabaseInteraction.cs | src/Ensconce.Cli/DatabaseInteraction.cs | using Ensconce.Database;
using Ensconce.Helpers;
using System.Data.SqlClient;
namespace Ensconce.Cli
{
internal static class DatabaseInteraction
{
internal static void DoDeployment()
{
SqlConnectionStringBuilder connStr = null;
if (!string.IsNullOrEmpty(Arguments.Connec... | using Ensconce.Database;
using Ensconce.Helpers;
using System.Data.SqlClient;
namespace Ensconce.Cli
{
internal static class DatabaseInteraction
{
internal static void DoDeployment()
{
SqlConnectionStringBuilder connStr = null;
if (!string.IsNullOrEmpty(Arguments.Connec... | Redact DB password in logging | Redact DB password in logging
| C# | mit | BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce,15below/Ensconce |
b94964b88671643a7b8caa205ec951acc54ad747 | TechProFantasySoccer/TechProFantasySoccer/App_Start/RouteConfig.cs | TechProFantasySoccer/TechProFantasySoccer/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using Microsoft.AspNet.FriendlyUrls;
namespace TechProFantasySoccer
{
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
var settings = new Friendly... | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using Microsoft.AspNet.FriendlyUrls;
namespace TechProFantasySoccer
{
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
/*var settings = new Friend... | Disable the master mobile site. | Disable the master mobile site.
| C# | mit | GeraldBecker/TechProFantasySoccer,GeraldBecker/TechProFantasySoccer,GeraldBecker/TechProFantasySoccer |
d7da5b57b5b8883307d2e7652ad06fa7a8091b54 | Program.cs | Program.cs | /*
* Copyright (c) 2013, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Future non-SteamKit stuff should go in this file.
*/
using System;
using System.Threading;
namespace PICSUpdater
{
class Program
{
sta... | /*
* Copyright (c) 2013, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Future non-SteamKit stuff should go in this file.
*/
using System;
using System.Configuration;
using System.Threading;
namespace PICSUpdater
{
cla... | Make sure config exists by checking steam credentials | Make sure config exists by checking steam credentials
| C# | bsd-3-clause | thecocce/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend,agarbuno/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,thecocce/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend |
a005f596c9e106727edb096d4be18c1b98370d6a | Views/Home/Index.cshtml | Views/Home/Index.cshtml | <p>Welcome! Codingteam is an open community of engineers and programmers.</p>
<p>And here're today's conference logs:</p>
<iframe class="logs" src="@ViewData["LogUrl"]"></iframe>
<a href="/old-logs/codingteam@conference.jabber.ru/">Older logs (mostly actual in period 2008-08-22 — 2016-12-09)</a>
| <p>Welcome! Codingteam is an open community of engineers and programmers.</p>
<p>And here're today's conference logs:</p>
<iframe class="logs" src="@ViewData["LogUrl"]"></iframe>
<a href="/old-logs/codingteam@conference.jabber.ru/">Older logs (mostly actual in period 2009-08-22 — 2016-12-09)</a>
| Fix date 2008 -> 2009 | Fix date 2008 -> 2009
I believe it's 2009 | C# | mit | codingteam/codingteam.org.ru,codingteam/codingteam.org.ru |
979c4a3f6be79fe94bb7e0b0a0129e159f93df99 | src/Bakery/Logging/ConsoleLog.cs | src/Bakery/Logging/ConsoleLog.cs | namespace Bakery.Logging
{
using System;
using Time;
public class ConsoleLog
: ILog
{
private readonly IClock clock;
public ConsoleLog(IClock clock)
{
this.clock = clock;
}
public void Write(Level logLevel, String message)
{
const String FORMAT = "{0}: [{1}] {2}";
var ... | namespace Bakery.Logging
{
using System;
public class ConsoleLog
: ILog
{
public void Write(Level logLevel, String message)
{
var textWriter = logLevel >= Level.Warning
? Console.Error
: Console.Out;
textWriter.WriteLine(message);
}
}
}
| Enforce single responsibility principle -- decorators can implement additional functionality. | Enforce single responsibility principle -- decorators can implement additional functionality.
| C# | mit | brendanjbaker/Bakery |
e81f89e3f0b49a6161da347321b4493dd496423c | src/Common/CommonAssemblyInfo.cs | src/Common/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("NuProj")]
[assembly: AssemblyCopyright("Copyright © Immo Landwerth")]
[assembly: AssemblyTrademark("")]
[assembly : AssemblyMetadata("PreRelease", "Beta")]
[assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.net"... | using System.Reflection;
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("NuProj")]
[assembly: AssemblyCopyright("Copyright © Immo Landwerth")]
[assembly: AssemblyTrademark("")]
[assembly : AssemblyMetadata("PreRelease", "Beta")]
[assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.net"... | Add note to change the version number for both VSIX files | Add note to change the version number for both VSIX files
| C# | mit | ericstj/nuproj,PedroLamas/nuproj,nuproj/nuproj,faustoscardovi/nuproj,kovalikp/nuproj,AArnott/nuproj,zbrad/nuproj,oliver-feng/nuproj,NN---/nuproj |
8b40dac983c618527bb9a357d18697624f199d37 | src/Parsley.Tests/ParsedTests.cs | src/Parsley.Tests/ParsedTests.cs | namespace Parsley.Tests;
class ParsedTests
{
public void HasAParsedValue()
{
new Parsed<string>("parsed", new(1, 1)).Value.ShouldBe("parsed");
}
public void HasNoErrorMessageByDefault()
{
new Parsed<string>("x", new(1, 1)).ErrorMessages.ShouldBe(ErrorMessageList.Empty);
}
... | namespace Parsley.Tests;
class ParsedTests
{
public void CanIndicateSuccessfullyParsedValueAtTheCurrentPosition()
{
var parsed = new Parsed<string>("parsed", new(12, 34));
parsed.Success.ShouldBe(true);
parsed.Value.ShouldBe("parsed");
parsed.ErrorMessages.ShouldBe(ErrorMessageL... | Improve test coverage for Parsed<T> by mirroring the test coverage for Error<T>. | Improve test coverage for Parsed<T> by mirroring the test coverage for Error<T>.
| C# | mit | plioi/parsley |
64f74ccfd560132570b2958d9af7e936c3cc9c4a | clipr/Utils/ObjectTypeConverter.cs | clipr/Utils/ObjectTypeConverter.cs | using System;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
namespace clipr.Utils
{
/// <summary>
/// <para>
/// A TypeConverter that allows conversion of any object to System.Object.
/// Does not actually perform a conversion, just passes the value on
/// through.
... | using System;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
namespace clipr.Utils
{
/// <summary>
/// <para>
/// A TypeConverter that allows conversion of any object to System.Object.
/// Does not actually perform a conversion, just passes the value on
/// through.
... | Fix accidental type conversion breakage. | Fix accidental type conversion breakage. | C# | mit | nemec/clipr |
362e7312042d7a50f8eec2fb11593714858d15fe | clipr/Core/VerbParserConfig.cs | clipr/Core/VerbParserConfig.cs |
namespace clipr.Core
{
/// <summary>
/// Parsing config for a verb, includes a way to "set" the resulting
/// verb on the original options object.
/// </summary>
public interface IVerbParserConfig: IParserConfig
{
/// <summary>
/// Store the verb on the options objcet.
... |
namespace clipr.Core
{
/// <summary>
/// Parsing config for a verb, includes a way to "set" the resulting
/// verb on the original options object.
/// </summary>
public interface IVerbParserConfig: IParserConfig
{
/// <summary>
/// Store the verb on the options objcet.
... | Hide InternalParserConfig because it shouldn't be public. | Hide InternalParserConfig because it shouldn't be public.
| C# | mit | nemec/clipr |
32bb7596aec333564657c1dff48c6e4a224c33b8 | UmbracoVault/Collections/TypeAliasSet.cs | UmbracoVault/Collections/TypeAliasSet.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using Umbraco.Core;
using UmbracoVault.Comparers;
using UmbracoVault.Extensions;
namespace UmbracoVault.Collections
{
public class TypeAliasSet : ReadOnlySet<string>
{
private TypeAliasSet()
: base(new HashSet<stri... | using System;
using System.Collections.Generic;
using System.Globalization;
using Umbraco.Core;
using UmbracoVault.Comparers;
using UmbracoVault.Extensions;
namespace UmbracoVault.Collections
{
public class TypeAliasSet : ReadOnlySet<string>
{
private TypeAliasSet()
: base(new HashSet<stri... | Correct grammar error in comment. | Correct grammar error in comment.
| C# | apache-2.0 | thenerdery/UmbracoVault,thenerdery/UmbracoVault,thenerdery/UmbracoVault |
ff78430ed481550aa744295b960afa6d67391b69 | src/Renci.SshNet/Abstractions/ThreadAbstraction.cs | src/Renci.SshNet/Abstractions/ThreadAbstraction.cs | using System;
namespace Renci.SshNet.Abstractions
{
internal static class ThreadAbstraction
{
/// <summary>
/// Suspends the current thread for the specified number of milliseconds.
/// </summary>
/// <param name="millisecondsTimeout">The number of milliseconds for which the th... | using System;
namespace Renci.SshNet.Abstractions
{
internal static class ThreadAbstraction
{
/// <summary>
/// Suspends the current thread for the specified number of milliseconds.
/// </summary>
/// <param name="millisecondsTimeout">The number of milliseconds for which the th... | Move null check into FEATURE_THREAD_THREADPOOL section. | Move null check into FEATURE_THREAD_THREADPOOL section.
| C# | mit | sshnet/SSH.NET,Bloomcredit/SSH.NET,miniter/SSH.NET |
8d0d92fd3c3f2f15024feaf0dbf0bad9033649f0 | VssSvnConverter/ext/VssItemExtensions.cs | VssSvnConverter/ext/VssItemExtensions.cs | using System;
using SourceSafeTypeLib;
namespace vsslib
{
public static class VssItemExtensions
{
/// <summary>
/// If VSS conatins $/Project1 but requested $/project1, then case will not be fixed and $/project1 will be retuned.
/// This methor return case to normal -> $/Project1
/// </summary>
/// <param... | using System;
using SourceSafeTypeLib;
namespace vsslib
{
public static class VssItemExtensions
{
/// <summary>
/// If VSS conatins $/Project1 but requested $/project1, then case will not be fixed and $/project1 will be retuned.
/// This methor return case to normal -> $/Project1
/// </summary>
/// <param... | Allow $ as import root | Allow $ as import root
| C# | mit | azarkevich/VssSvnConverter |
a8f4baeba52cc2d09bde2a178561e2be74642510 | LabWsKiatnakin/DemoWcfRest/DemoService.svc.cs | LabWsKiatnakin/DemoWcfRest/DemoService.svc.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
namespace DemoWcfRest
{
[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(R... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
namespace DemoWcfRest
{
[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(R... | Use json in WCF REST response. | Use json in WCF REST response.
| C# | mit | tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin |
6abb8d3745a03be8798c77a9b572b227009feba9 | SteamAccountSwitcher/Popup.cs | SteamAccountSwitcher/Popup.cs | #region
using System.Windows;
#endregion
namespace SteamAccountSwitcher
{
internal class Popup
{
public static MessageBoxResult Show(string text, MessageBoxButton btn = MessageBoxButton.OK,
MessageBoxImage img = MessageBoxImage.Information, MessageBoxResult defaultbtn = MessageBoxResult.... | #region
using System.Windows;
#endregion
namespace SteamAccountSwitcher
{
internal class Popup
{
public static MessageBoxResult Show(string text, MessageBoxButton btn = MessageBoxButton.OK,
MessageBoxImage img = MessageBoxImage.Information, MessageBoxResult defaultbtn = MessageBoxResult.... | Change default popup title text | Change default popup title text
| C# | mit | danielchalmers/SteamAccountSwitcher |
4016fe1e19695637ea0a954b63ec633fcff2d5b4 | osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs | osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.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.Game.Rulesets;
using osuTK;
using osuTK.Graphics;
namespace osu.Game.Overlays.Profile.Head... | // 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.Game.Rulesets;
using osuTK;
using osuTK.Graphics;
namespace osu.Game.Overlays.Profile.Head... | Adjust profile ruleset selector to new design | Adjust profile ruleset selector to new design
Looks weird with `AlwaysPresent`.
| C# | mit | peppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu |
364fee11ddf8b55ec68a36527a80120ed275e584 | src/wrapper/Program.cs | src/wrapper/Program.cs | using System.Linq;
using System.Reflection;
// ReSharper disable once CheckNamespace
internal class Program
{
private static void Main(string[] args)
{
var mainAsm = Assembly.Load("citizenmp_server_updater");
mainAsm.GetType("Costura.AssemblyLoader")
.GetMethod("Attach")
... | using System;
using System.IO;
using System.Reflection;
// ReSharper disable once CheckNamespace
internal static class Program
{
private static int Main(string[] args)
{
// Mono's XBuild uses assembly redirects to make sure it uses .NET 4.5 target binaries.
// We emulate it using our own assem... | Return exit values through wrapper. | Return exit values through wrapper.
| C# | mit | icedream/citizenmp-server-updater |
e9f9d21604d8596bc29362859d7e057b773dc2a6 | osu.Framework.Tests/VisualTestGame.cs | osu.Framework.Tests/VisualTestGame.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.Cursor;
using osu.Framework.Graphics.Containers;
using osu.Framework.Platform;... | // 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.Cursor;
using osu.Framework.Graphics.Containers;
using osu.Framework.Platform;... | Fix zero size parent container in visual tests | Fix zero size parent container in visual tests
| C# | mit | ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework |
410463d14bb5e5130e6d2a5a5d07c86b6716f03d | ConsoleApps/FunWithSpikes/FunWithNinject/Conventions/ConventionsTests.cs | ConsoleApps/FunWithSpikes/FunWithNinject/Conventions/ConventionsTests.cs | using Ninject;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ninject.Extensions.Conventions;
namespace FunWithNinject.Conventions
{
[TestFixture]
public class ConventionsTests
{
[Test]
public... | using Ninject;
using Ninject.Extensions.Conventions;
using NUnit.Framework;
namespace FunWithNinject.Conventions
{
[TestFixture]
public class ConventionsTests
{
[Test]
public void Bind_OneClassWithMultipleInterfaces_BindsOneInstanceToAll()
{
// Assemble
usin... | Add test case for open generics | Add test case for open generics
| C# | mit | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes |
ab0e52a1860b067d47a844dde60a0c9acf0c68e5 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate
assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned
3.1.0.
| C# | mit | autofac/Autofac.Extras.DomainServices |
9d1d7804daee4b81fab85f2e93fdfd1b0b30d6ff | Cogito.Web.Razor.Tests/RazorTemplateBuilderTests.cs | Cogito.Web.Razor.Tests/RazorTemplateBuilderTests.cs | using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cogito.Web.Razor.Tests
{
[TestClass]
public class RazorTemplateBuilderTests
{
TextReader LoadTemplateText(string name)
{
return new StreamReader(typeof(RazorTemplateBuilderTests).Asse... | using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cogito.Web.Razor.Tests
{
[TestClass]
public class RazorTemplateBuilderTests
{
TextReader LoadTemplateText(string name)
{
return new StreamReader(typeof(RazorTemplateBuilderTests).Asse... | Fix Razor tests broken by change to full string passing. | Fix Razor tests broken by change to full string passing.
| C# | mit | wasabii/Cogito,wasabii/Cogito |
3b74ed31389d1ce6cd08022bb625620b4e71f17b | BatteryCommander.Web/Views/Soldier/List.cshtml | BatteryCommander.Web/Views/Soldier/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "List";
}
<h2>List</h2>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.LastName)
</th>
<th>
@Html.DisplayNameFor(model => model.FirstName)
</th>
... | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "List";
}
<h2>@ViewBag.Title</h2>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.FirstOrDefault().LastName)
</th>
<th>
@Html.DisplayN... | Fix list view template for soldiers | Fix list view template for soldiers
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
d874cda53fda3e3d17026d9a883facc8072935a5 | src/Compilers/CSharp/Portable/Symbols/TypeSymbol.SymbolAndDiagnostics.cs | src/Compilers/CSharp/Portable/Symbols/TypeSymbol.SymbolAndDiagnostics.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;
namespace Microsoft.CodeAnalysis.CSharp.Symbols
{
internal partial class T... | // 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;
#pragma warning disable CS0660 // Warning is reported only for Full Solution A... | Disable CS0660 where Full Solution Analysis produces a different result | Disable CS0660 where Full Solution Analysis produces a different result
| C# | mit | dotnet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,AmadeusW/roslyn,brettfo/roslyn,tmat/roslyn,KevinRansom/roslyn,AmadeusW/roslyn,mgoertz-msft/roslyn,jmarolf/roslyn,jasonmalinowski/roslyn,jmarolf/roslyn,bartdesmet/roslyn,weltkante/roslyn,AlekseyTs/roslyn,sharwell/roslyn,aelij/roslyn,physhi/roslyn,weltkante/roslyn,... |
a7d8d6938f867a134f6638248aea4b481163999b | Content/ProcessorDelegates.cs | Content/ProcessorDelegates.cs | using System;
namespace ChamberLib.Content
{
public delegate IModel ModelProcessor(ModelContent asset, IContentProcessor processor);
public delegate ITexture2D TextureProcessor(TextureContent asset, IContentProcessor processor);
public delegate IShaderStage ShaderStageProcessor(ShaderContent asset, IConte... | using System;
namespace ChamberLib.Content
{
public delegate IModel ModelProcessor(ModelContent asset, IContentProcessor processor);
public delegate ITexture2D TextureProcessor(TextureContent asset, IContentProcessor processor);
public delegate IShaderStage ShaderStageProcessor(ShaderContent asset, IConte... | Remove the unused bindattrs parameter from the ShaderStageProcessor delegate. | Remove the unused bindattrs parameter from the ShaderStageProcessor delegate.
| C# | lgpl-2.1 | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib |
8bf679db8be69f18ac06aba4972a14bcf5e8f513 | osu.Game.Tournament/Components/DateTextBox.cs | osu.Game.Tournament/Components/DateTextBox.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.Bindables;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.Settings;
namespace osu.Game.Tournament.Components
{
publ... | // 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.Bindables;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.Settings;
namespace osu.Game.Tournament.Components
{
publ... | Fix nullref in date text box | Fix nullref in date text box
| C# | mit | smoogipooo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu-new,ppy/osu |
7d98263a8b5950516c091a8770ab108dc44757de | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
internal static bool TryGetFormulaInfo(string formulaPrefix, out stri... | using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
// TODO: What's the Unicode situation?
public static string fo... | Extend character set of function names (including ".") (again) | Extend character set of function names (including ".") (again)
| C# | mit | Excel-DNA/IntelliSense |
bb58997c7ad6465017d1961cec03939f5fef8f5e | Engine/Vehicle/AI/Scripts/ColliderFriction.cs | Engine/Vehicle/AI/Scripts/ColliderFriction.cs | using UnityEngine;
using System.Collections;
public class ColliderFriction : GameObjectBehavior {
public float frictionValue=0;
// Use this for initialization
void Start () {
collider.material.staticFriction = frictionValue;
collider.material.staticFriction2 = frictionValue;
... | using UnityEngine;
using System.Collections;
public class ColliderFriction : GameObjectBehavior {
public float frictionValue=0;
// Use this for initialization
void Start () {
collider.material.staticFriction = frictionValue;
//collider.material.staticFriction2 = frictionValue;
colli... | Update to Unity 5.2 cleanup. | Update to Unity 5.2 cleanup.
| C# | mit | drawcode/game-lib-engine |
9a996d3e2e2129efcdeb2ae411b644ce04ab67be | source/NetFramework/Server/Platform/Net48AssemblyDocumentationResolver.cs | source/NetFramework/Server/Platform/Net48AssemblyDocumentationResolver.cs | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using AshMind.Extensions;
using System;
using SharpLab.Server.Common.Internal;
namespace SharpLab.Server.Owin.Platform {
public class Net48AssemblyDocumentationResolver : IAssembly... | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using AshMind.Extensions;
using System;
using SharpLab.Server.Common.Internal;
namespace SharpLab.Server.Owin.Platform {
public class Net48AssemblyDocumentationResolver : IAssembly... | Fix version of .NET Framework used to look up XML documentation | Fix version of .NET Framework used to look up XML documentation
| C# | bsd-2-clause | ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab |
57c46b18215c81594b1792aaa29fa40c28d38d57 | src/PublicApiGenerator/CSharpOperatorKeyword.cs | src/PublicApiGenerator/CSharpOperatorKeyword.cs | using System.Collections.Generic;
namespace PublicApiGenerator
{
internal static class CSharpOperatorKeyword
{
static readonly IDictionary<string, string> OperatorNameMap = new Dictionary<string, string>
{
{ "op_Addition", "+" },
{ "op_UnaryPlus", "+" },
{ "o... | using System.Collections.Generic;
namespace PublicApiGenerator
{
internal static class CSharpOperatorKeyword
{
static readonly IDictionary<string, string> OperatorNameMap = new Dictionary<string, string>
{
{ "op_False", "false" },
{ "op_True", "true" },
{ "op... | Fix output for overloaded operators | Fix output for overloaded operators
| C# | mit | JakeGinnivan/ApiApprover |
f41076681028dd7d90f4240cca533ab539b22a0c | IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs | IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class PointsMotor_Pulse : PointsMotor
{
public override byte motorTypeId { get { return 1; } }
public byte ThrowLeftOutput { get; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class PointsMotor_Pulse : PointsMotor
{
public override byte motorTypeId { get { return 1; } }
public byte ThrowLeftOut... | Make it possible to configure time to pulse | Make it possible to configure time to pulse
Resolves #9
| C# | mit | GMJS/gmjs_ocs_dpt |
90d93adf2c088794123dd158a7f98525b662788f | Repository/Internal/EditorServices/SyntaxHighlighting/MonokaiColorTheme.cs | Repository/Internal/EditorServices/SyntaxHighlighting/MonokaiColorTheme.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.Graphics;
using Repository.EditorServices.SyntaxHighlighting;
namespace Repository.Internal.EditorServices.SyntaxHighlighting
{
internal class MonokaiColorTheme : IColorTheme
{
public Color B... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.Graphics;
using Repository.EditorServices.SyntaxHighlighting;
namespace Repository.Internal.EditorServices.SyntaxHighlighting
{
internal class MonokaiColorTheme : IColorTheme
{
public Color B... | Tweak the Monokai color theme | [SyntaxHighlighting] Tweak the Monokai color theme
| C# | mit | jamesqo/Repository,jamesqo/Repository,jamesqo/Repository |
a934c6a940c9bd4fde697e20534e17701792bf7d | Tests/Mapsui.Tests/Fetcher/FeatureFetcherTests.cs | Tests/Mapsui.Tests/Fetcher/FeatureFetcherTests.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Mapsui.Geometries;
using Mapsui.Layers;
using Mapsui.Providers;
using NUnit.Framework;
namespace Mapsui.Tests.Fetcher
{
[TestFixture]
public class FeatureFetcherTests
{
[Test]
public void TestFeatureFetcher... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Mapsui.Geometries;
using Mapsui.Layers;
using Mapsui.Providers;
using NUnit.Framework;
namespace Mapsui.Tests.Fetcher
{
[TestFixture]
public class FeatureFetcherTests
{
[Test]
public void TestFeatureFetcher... | Fix a unit test for new Delayer logic (immediate if possible) | Fix a unit test for new Delayer logic (immediate if possible)
| C# | mit | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui |
9563e329ea67bb7e1f58797f59a169af5e02a0b3 | src/LfMerge/LanguageForge/Model/LfOptionListItem.cs | src/LfMerge/LanguageForge/Model/LfOptionListItem.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfOptionListItem
{
public Guid? Guid { get; set; }
public string Key { get; set; }
public string Value { get; set; ... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfOptionListItem
{
[BsonRepresentation(BsonType.String... | Fix binary GUIDs showing up in Mongo optionlists | Fix binary GUIDs showing up in Mongo optionlists
| C# | mit | sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge |
c9466426b743471e36e4126f3637d44c00fc819c | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.Setup
{
internal class TournamentSwitcher : ActionableInfo
{
private OsuDropdown<string> dropdown;
private string startupTour... | using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.Setup
{
internal class TournamentSwitcher : ActionableInfo
{
private OsuDropdown<string> dropdown;
[Resolved]
private... | Change field to local variable | Change field to local variable
| C# | mit | smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new |
dd13e2508ae854c483b60afcfa8aadd994393bc5 | osu.Game/Overlays/OSD/Toast.cs | osu.Game/Overlays/OSD/Toast.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.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Game.Overlays.OSD
{
... | // 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.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Game.Overlays.OSD
{
... | Add note about toast height | Add note about toast height
| C# | mit | UselessToucan/osu,ZLima12/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,Neo... |
d81771bf145e7e0de2e8734a962b21611429be56 | src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs | src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs | // Copyright 2014 by PeopleWare n.v..
//
// 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 ... | // Copyright 2014 by PeopleWare n.v..
//
// 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 ... | Use references in the documentation (this also removes the spelling warning). | Use references in the documentation (this also removes the spelling warning).
| C# | apache-2.0 | peopleware/net-ppwcode-vernacular-wcf |
7a753ad9e2750dcc6ee0f22b7748250edabf9e1f | osu.Game.Tournament/Screens/Ladder/Components/DrawableTournamentGrouping.cs | osu.Game.Tournament/Screens/Ladder/Components/DrawableTournamentGrouping.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Tournament.Screens.Ladder.Components
{
pu... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using OpenTK.Graphics;
namespace osu.Game.Tournament.Screens.Lad... | Change grouping title colours to match white background | Change grouping title colours to match white background
| C# | mit | ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,ZLima12/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,pep... |
77f6724ca33850c359218c6c0f7bd1c00c13191c | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)" title="Register for a... | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)" title="Register for a... | Fix link to account page while in admin area | Fix link to account page while in admin area
| C# | apache-2.0 | mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,skbkontur/NuGetGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/... |
7e10a151d2b2aca2a74c641e6b8230e03c689b12 | src/SyncTrayzor/Utils/SafeSyncthingExtensions.cs | src/SyncTrayzor/Utils/SafeSyncthingExtensions.cs | using Stylet;
using SyncTrayzor.Localization;
using SyncTrayzor.SyncThing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SyncTrayzor.Utils
{
public static class SafeSyncthingExtension... | using Stylet;
using SyncTrayzor.Localization;
using SyncTrayzor.SyncThing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SyncTrayzor.Utils
{
public static class SafeSyncthingExtension... | Fix order of title/message in dialog | Fix order of title/message in dialog
| C# | mit | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor |
d2dc79d8ef663356c6d1111ae5707618fc4e59a9 | Core/VVVV.DX11.Core/Rendering/Layer/DX11Layer.cs | Core/VVVV.DX11.Core/Rendering/Layer/DX11Layer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using FeralTic.DX11;
using FeralTic.DX11.Resources;
namespace VVVV.DX11
{
[Obsolete("This does access IPluginIO, which fails in case of multi core access, this will be ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using FeralTic.DX11;
using FeralTic.DX11.Resources;
namespace VVVV.DX11
{
[Obsolete("This does access IPluginIO, which fails in case of multi core access, this will be ... | Add DX11Layout and DX11Shader as dx resources | [Core] Add DX11Layout and DX11Shader as dx resources
| C# | bsd-3-clause | id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv |
e7add19b9b51ffc439758fc481ced1667a55320b | MediaManager/Plugin.MediaManager.iOS/VideoSurface.cs | MediaManager/Plugin.MediaManager.iOS/VideoSurface.cs | using AVFoundation;
using Plugin.MediaManager.Abstractions;
using UIKit;
namespace Plugin.MediaManager.iOS
{
public class VideoSurface : UIView, IVideoSurface
{
public override void LayoutSubviews()
{
foreach (var layer in Layer.Sublayers)
{
var avPlayerLayer = layer as AVPlayerLayer;
if (a... | using System;
using AVFoundation;
using CoreGraphics;
using Foundation;
using Plugin.MediaManager.Abstractions;
using UIKit;
namespace Plugin.MediaManager.iOS
{
public class VideoSurface : UIView, IVideoSurface
{
public override void LayoutSubviews()
{
base.LayoutSubviews();
if (Layer.Sublayers == ... | Add sanity checking for AVPlayerLayer | Add sanity checking for AVPlayerLayer
| C# | mit | martijn00/XamarinMediaManager,bubavanhalen/XamarinMediaManager,modplug/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager |
81475e7baee5f7f5314c7e9c34d542835cc9a935 | Tera.Core/Game/Messages/Server/LoginServerMessage.cs | Tera.Core/Game/Messages/Server/LoginServerMessage.cs | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tera.Game.Messages
{
public class LoginServerMessage : ParsedMessage
{
public EntityId Id { get; private set; }
public uint PlayerId { get; private set; }
... | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tera.Game.Messages
{
public class LoginServerMessage : ParsedMessage
{
public EntityId Id { get; private set; }
public uint PlayerId { get; private set; }
... | Fix user name detection for some regions | Fix user name detection for some regions
https://github.com/neowutran/ShinraMeter/issues/33
| C# | mit | Gl0/CasualMeter,lunyx/CasualMeter |
fd21e87670ebde3018e43a550aff6ef9b30383f9 | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | osu.Game/Overlays/Volume/VolumeControlReceptor.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.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | // 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.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | Disable adjusting volume via "select next" and "select previous" as fallbacks | Disable adjusting volume via "select next" and "select previous" as fallbacks
| C# | mit | UselessToucan/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu |
f3c967ef20e658b40c8a5217ed89f4f7a5de9de0 | SolidworksAddinFramework/Geometry/Matrix4x4Extensions.cs | SolidworksAddinFramework/Geometry/Matrix4x4Extensions.cs | using System.DoubleNumerics;
namespace SolidworksAddinFramework.Geometry
{
public static class Matrix4x4Extensions
{
public static Matrix4x4 CreateFromAxisAngleOrigin(PointDirection3 p, double angle)
{
return
Matrix4x4.CreateTranslation(-p.Point)
*Mat... | using System.DoubleNumerics;
using System.Text;
namespace SolidworksAddinFramework.Geometry
{
public static class Matrix4x4Extensions
{
public static Matrix4x4 CreateFromAxisAngleOrigin(PointDirection3 p, double angle)
{
return
Matrix4x4.CreateTranslation(-p.Point)
... | Add method to extract rotation part of matrix | Add method to extract rotation part of matrix
| C# | mit | Weingartner/SolidworksAddinFramework |
48430df3fb919be45a557e247614c78253a2b9e7 | src/Giles.Core/Configuration/Filter.cs | src/Giles.Core/Configuration/Filter.cs | using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Contains(entry.Key)))
{
... | using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Contains(entry.Key)))
{
... | Create filter when -* is not included | Create filter when -* is not included
| C# | mit | michaelsync/Giles,michaelsync/Giles,codereflection/Giles,michaelsync/Giles,codereflection/Giles,michaelsync/Giles,codereflection/Giles |
32761126f2a3dcec12eb63bf48454b0045671154 | src/JoinRpg.WebPortal.Models/Schedules/ScheduleConfigProblemsViewModel.cs | src/JoinRpg.WebPortal.Models/Schedules/ScheduleConfigProblemsViewModel.cs | using System.ComponentModel;
namespace JoinRpg.Web.Models.Schedules
{
public enum ScheduleConfigProblemsViewModel
{
//TODO поменять сообщение, когда сделаем настроечный экран
[Description("Расписание не настроено для этого проекта, обратитесь в техподдержку")]
FieldsNotSet,
[Des... | using System.ComponentModel;
namespace JoinRpg.Web.Models.Schedules
{
public enum ScheduleConfigProblemsViewModel
{
[Description("Расписание не настроено для этого проекта. Вам необходимо добавить поля для помещения и расписания.")]
FieldsNotSet,
[Description("У полей, привязанных к рас... | Fix message on project schedule not configured | Fix message on project schedule not configured
| C# | mit | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net |
5da7cb5397867b99d671d21c81dd395ee270b284 | osu.Game/Online/API/Requests/CommentDeleteRequest.cs | osu.Game/Online/API/Requests/CommentDeleteRequest.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.Net.Http;
using osu.Framework.IO.Network;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class CommentDel... | // 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.Net.Http;
using osu.Framework.IO.Network;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class CommentDel... | Make comment ID public for test | Make comment ID public for test
| C# | mit | peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu |
9a470c3638d470e346a39a0147f802268bcedd76 | EOLib/PacketHandlers/Chat/PrivateMessageHandler.cs | EOLib/PacketHandlers/Chat/PrivateMessageHandler.cs | using System;
using AutomaticTypeMapper;
using EOLib.Domain.Chat;
using EOLib.Domain.Login;
using EOLib.Net;
namespace EOLib.PacketHandlers.Chat
{
[AutoMappedType]
public class PrivateMessageHandler : PlayerChatByNameBase
{
private readonly IChatRepository _chatRepository;
public override... | using System;
using AutomaticTypeMapper;
using EOLib.Domain.Chat;
using EOLib.Domain.Login;
using EOLib.Net;
namespace EOLib.PacketHandlers.Chat
{
[AutoMappedType]
public class PrivateMessageHandler : PlayerChatByNameBase
{
private readonly IChatRepository _chatRepository;
public override... | Fix bug in PMs where incoming PM would cause a crash | Fix bug in PMs where incoming PM would cause a crash
| C# | mit | ethanmoffat/EndlessClient |
835935201e081fef38131589411993a963c8afd2 | compiler/Program/Program.cs | compiler/Program/Program.cs | using System;
using compiler.frontend;
namespace Program
{
class Program
{
//TODO: adjust main to use the parser when it is complete
static void Main(string[] args)
{
// using (Lexer l = new Lexer(@"../../testdata/big.txt"))
// {
// Token t;
// ... | using System;
using compiler.frontend;
namespace Program
{
class Program
{
//TODO: adjust main to use the parser when it is complete
static void Main(string[] args)
{
// using (Lexer l = new Lexer(@"../../testdata/big.txt"))
// {
// Token t;
// ... | Change main to use test003 | Change main to use test003
| C# | mit | ilovepi/Compiler,ilovepi/Compiler |
b2b988b3e7a97f892420dffe61c4f919a2b4a3d8 | src/Writers/CSharpWriter/CollectionGetByIdIndexer.cs | src/Writers/CSharpWriter/CollectionGetByIdIndexer.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using Vipr.Core;
using Vipr.Core.CodeModel;
namespace CSharpWriter
{
public class CollectionGetByIdIndexer : ... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using Vipr.Core;
using Vipr.Core.CodeModel;
namespace CSharpWriter
{
public class CollectionGetByIdIndexer : ... | Move GetByIdIndexer to centralized GetKeyParameters implementation | Move GetByIdIndexer to centralized GetKeyParameters implementation
| C# | mit | tonycrider/Vipr,ysanghi/Vipr,tonycrider/Vipr,Microsoft/Vipr,v-am/Vipr,MSOpenTech/Vipr |
4fe69dbc896d77fd1efea4c469254fdbb3563fe0 | osu.Game/Graphics/UserInterface/OsuContextMenu.cs | osu.Game/Graphics/UserInterface/OsuContextMenu.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 osuTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects... | // 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 osuTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects... | Fix context menu sub-menu display | Fix context menu sub-menu display
| C# | mit | johnneijzen/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu |
9ce82c35185db2827338aeab5125384e402bae9a | OData/test/E2ETest/WebStack.QA.Test.OData/SxS2/ODataV3/ODataV3WebApiConfig.cs | OData/test/E2ETest/WebStack.QA.Test.OData/SxS2/ODataV3/ODataV3WebApiConfig.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.OData.Extensions;
using WebStack.QA.Test.OData.SxS2.ODataV3.Extensions;
namespace WebStack.QA.Test.OData.SxS2.ODataV3
{
public static class ODataV3WebApiConfig
{
public static void Register(HttpConfiguration config)
... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.OData.Extensions;
using WebStack.QA.Test.OData.SxS2.ODataV3.Extensions;
namespace WebStack.QA.Test.OData.SxS2.ODataV3
{
public static class ODataV3WebApiConfig
{
public static void Register(HttpConfiguration config)
... | Fix e2e faild because api change | Fix e2e faild because api change
| C# | mit | LianwMS/WebApi,scz2011/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,lungisam/WebApi,congysu/WebApi,lewischeng-ms/WebApi,lungisam/WebApi,LianwMS/WebApi,scz2011/WebApi,congysu/WebApi,yonglehou/WebApi |
4e6a155744dd59829a14468c753ef7581b9a4d84 | BadgerControlModule/Utils/RemotePrimitiveDriverService.cs | BadgerControlModule/Utils/RemotePrimitiveDriverService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BadgerJaus.Services.Core;
using BadgerJaus.Messages.PrimitiveDriver;
using BadgerJaus.Util;
using BadgerControlModule.Models;
namespace BadgerControlModule.Utils
{
class Remote... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BadgerJaus.Services.Core;
using BadgerJaus.Messages.PrimitiveDriver;
using BadgerJaus.Util;
using BadgerControlModule.Models;
namespace BadgerControlModule.Utils
{
class Remote... | Modify primitive driver to send x, y, and z linear effort values. | Modify primitive driver to send x, y, and z linear effort values.
| C# | bsd-3-clause | WisconsinRobotics/BadgerControlSystem |
d649e2eef58c8ba5dfda30172f77d78903325f5d | Tvl.VisualStudio.InheritanceMargin/RoslynUtilities.cs | Tvl.VisualStudio.InheritanceMargin/RoslynUtilities.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Microsoft Reciprocal License (MS-RL). See LICENSE in the project root for license information.
namespace Tvl.VisualStudio.InheritanceMargin
{
using System;
using Microsoft.VisualStudio.Shell.Interop;
// Stolen fr... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Microsoft Reciprocal License (MS-RL). See LICENSE in the project root for license information.
namespace Tvl.VisualStudio.InheritanceMargin
{
using System;
using Microsoft.VisualStudio.Shell.Interop;
// Stolen fr... | Fix all violations of SX1309S | Fix all violations of SX1309S
| C# | mit | tunnelvisionlabs/InheritanceMargin |
470de0a629da75ed0ddd3e993b5858c1ff4a25f3 | Assets/Scripts/UI/CanvasWidthScalePresenter.cs | Assets/Scripts/UI/CanvasWidthScalePresenter.cs | using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class CanvasWidthScalePresenter : MonoBehaviour
{
[SerializeField]
CanvasEvents canvasEvents;
[SerializeField]
Slider canvasWidthScaleController;
NotesEditorModel model;
void Awake()
{
model = Note... | using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class CanvasWidthScalePresenter : MonoBehaviour
{
[SerializeField]
CanvasEvents canvasEvents;
[SerializeField]
Slider canvasWidthScaleController;
NotesEditorModel model;
void Awake()
{
model = Note... | Fix the speed of the canvas width scaling by left/right arrow keys | Fix the speed of the canvas width scaling by left/right arrow keys
| C# | mit | setchi/NoteEditor,setchi/NotesEditor |
9f8019c8881d5b0ba5317ce83f0daae786aef370 | Engine/Game/Controllers/ThirdPersonPushBodies.cs | Engine/Game/Controllers/ThirdPersonPushBodies.cs | using System.Collections;
using Engine;
using Engine.Data;
using Engine.Networking;
using Engine.Utility;
using UnityEngine;
namespace Engine.Game.Controllers {
[RequireComponent(typeof(ThirdPersonController))]
public class ThirdPersonPushBodies : BaseEngineBehavior {
public float pushPower = 0.5f;
... | using System.Collections;
using Engine;
using Engine.Data;
using Engine.Networking;
using Engine.Utility;
using UnityEngine;
namespace Engine.Game.Controllers {
#if NETWORK_PHOTON
[RequireComponent(typeof(ThirdPersonController))]
public class ThirdPersonPushBodies : BaseEngineBehavior {
public float pu... | Update unity networking for NETWORK_PHOTON. Updates for iTunes 1.2 build update. Advertiser id to vendor id for game analytics and update textures/showing fireworks/camera sorting. | Update unity networking for NETWORK_PHOTON. Updates for iTunes 1.2 build update. Advertiser id to vendor id for game analytics and update textures/showing fireworks/camera sorting.
| C# | mit | drawcode/game-lib-engine |
9ac701f46bbe8c820ad6236db4260f3eb99ffd9f | Web.UI.Tests/WebBrowserWaitSteps.cs | Web.UI.Tests/WebBrowserWaitSteps.cs | using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
using TechTalk.SpecFlow;
using Xunit;
namespace Web.UI.Tests
{
[Binding]
public class WebBrowserWaitSteps : WebDriverStepsBase
{
[When("I wait for element with id (.*) to exist")]
public void IWaitForElementWithIdToExis... | using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
using TechTalk.SpecFlow;
using Xunit;
namespace Web.UI.Tests
{
[Binding]
public class WebBrowserWaitSteps : WebDriverStepsBase
{
[When("I wait for element with id (.*) to exist")]
public void IWaitForElementWithIdToExis... | Use ExpectedConditions for element exists check | Use ExpectedConditions for element exists check
| C# | mit | kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium |
c2f0376467e6859e569da84fa0e14a37b1a56d05 | WalletWasabi/WebClients/ExchangeRateProviders.cs | WalletWasabi/WebClients/ExchangeRateProviders.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.BlockchainInfo;
using WalletWasabi.WebClients.Coinbase;
using WalletWasabi.WebClients.Gemini;
using Wa... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.BlockchainInfo;
using WalletWasabi.WebClients.Coinbase;
using WalletWasabi.WebClients.Gemini;
using Wa... | Use new price providers and degare SmartBit | Use new price providers and degare SmartBit
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
dd6624c0aea8692b6d1a9b0baa1d801a92006250 | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@wechangedt... | Update Support's email address on contact page. Was breaking the world, so it had to be done. | Update Support's email address on contact page. Was breaking the world, so it had to be done.
| C# | mit | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox |
f124216accb91717d140e52400da9165303e5a8d | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private static IList<Add... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private static IList<Add... | Change from address on PERSTAT, OCD | Change from address on PERSTAT, OCD
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
63999c9c7cf80de5563c85fe30b93d32bede2c21 | src/DiceApi.Core/Die.cs | src/DiceApi.Core/Die.cs | using System;
namespace DiceApi.Core
{
public class Die
{
/// <summary>
/// Instance of Random that we'll instantiate with the die
/// and use within the Roll() method.
/// </summary>
private readonly Random rng;
/// <summary>
/// Initializes a new inst... | using System;
namespace DiceApi.Core
{
public class Die
{
/// <summary>
/// Initializes a new instance of <see cref="Die" /> with a
/// specified number of sides.
/// </summary>
/// <param name="sides">Number of sides on the die.</param>
public Die(int sides)
... | Use autogenerated prop for Random instance | Use autogenerated prop for Random instance
| C# | mit | mspons/DiceApi |
2fd0038154082ec3d622aa3ddff0e25ee29684ad | osu.Game/Screens/Edit/WaveformOpacityMenuItem.cs | osu.Game/Screens/Edit/WaveformOpacityMenuItem.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Sc... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Sc... | Fix checkmark being hidden after clicking current waveform opacity setting | Fix checkmark being hidden after clicking current waveform opacity setting
| C# | mit | smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu |
54db274c35fc6128c462c12553e0be0ab01e7118 | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2017";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2017";
public const string... | Update file version to 2.2.1.4 | Update file version to 2.2.1.4
| C# | mit | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps |
28fd3f00cb3009cd5dbd7dd8669f5d857e35a624 | Battery-Commander.Web/Controllers/SSDController.cs | Battery-Commander.Web/Controllers/SSDController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class SSDCon... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class SSDCon... | Fix for search by rank | Fix for search by rank
Fixes #239 for real this time
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.