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 |
|---|---|---|---|---|---|---|---|---|---|
b6d3d99af1722eb2fa88f2c165c1139707298b5d | src/EasyRabbitMQ/Infrastructure/ConnectionFactory.cs | src/EasyRabbitMQ/Infrastructure/ConnectionFactory.cs | using EasyRabbitMQ.Configuration;
using RabbitMQ.Client;
namespace EasyRabbitMQ.Infrastructure
{
internal class ConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
public ConnectionFactory(IConfiguration configuration)
{
_configuration ... | using EasyRabbitMQ.Configuration;
using RabbitMQ.Client;
namespace EasyRabbitMQ.Infrastructure
{
internal class ConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
private const string ClientProvidedName = "EasyRabbitMQ";
public ConnectionFactory(I... | Set Client Provided Name when creating connection | Set Client Provided Name when creating connection
| C# | apache-2.0 | simonbaas/EasyRabbitMQ,simonbaas/EasyRabbitMQ |
e4a3b0b79a35ccd25cd84864bd806ff7b2943087 | osu.Framework.Tests/Visual/Platform/TestSceneExecutionModes.cs | osu.Framework.Tests/Visual/Platform/TestSceneExecutionModes.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Fram... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Fram... | Fix weird english in test ignore comment | Fix weird english in test ignore comment
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework |
1402a920f6a97807c65c3167681e59f7f7e41f94 | PinWin/Properties/AssemblyInfo.cs | PinWin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pi... | Fix - forgot to commit version change to 0.2.1. | Fix - forgot to commit version change to 0.2.1.
| C# | mit | VictorZakharov/pinwin |
b1c6eda80ded4ba239b9ecef40bbae3edf38eb47 | osu.Framework/Graphics/Containers/TabFillFlowContainer.cs | osu.Framework/Graphics/Containers/TabFillFlowContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics.UserInterface.Tab;
using OpenTK;
namespace osu.Frame... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics.UserInterface.Tab;
using OpenTK;
namespace osu.Frame... | Reset Y postiions of TabItems before performing layout. | Reset Y postiions of TabItems before performing layout.
Allows for expanding the size of an existing TabControl and having items re-appear.
| C# | mit | ppy/osu-framework,DrabWeb/osu-framework,default0/osu-framework,smoogipooo/osu-framework,RedNesto/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,naoey/osu-fram... |
a5a1e01c2ac4fd68931e4ebf7cb7ba0c5c7848d3 | CRP.Mvc/Views/Payments/Confirmation.cshtml | CRP.Mvc/Views/Payments/Confirmation.cshtml | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | Check if credit card payment received | Check if credit card payment received
| C# | mit | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP |
b8960219b4ee4d4481ddb88a14edc1ab468b407b | src/Microsoft.AspNet.Mvc.Core/Formatters/DefaultOutputFormattersProvider.cs | src/Microsoft.AspNet.Mvc.Core/Formatters/DefaultOutputFormattersProvider.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 System;
using System.Collections.Generic;
using Microsoft.AspNet.Mvc.OptionDescriptors;
using Microsoft.Framework.DependencyInje... | // 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;
using System.Collections.Generic;
using Microsoft.AspNet.Mvc.OptionDescriptors;
using Microsoft.Framework.DependencyInje... | Fix Stylecop failure - long line | Fix Stylecop failure
- long line
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
b7d6559e570e367f3a5bfc186abad1207c0b3464 | ShellHelpers.cs | ShellHelpers.cs | #define DEBUG_COMMANDS
//using UnityEditor;
//using UnityEngine;
//using System.Collections;
using System.Diagnostics;
public class ShellHelpers {
public static Process StartProcess(string filename, string arguments) {
#if DEBUG_COMMANDS
UnityEngine.Debug.Log("Running: " + filename + " " + arguments);
#endif
... | //define DEBUG_COMMANDS
using System.Diagnostics;
public class ShellHelpers {
public static Process StartProcess(string filename, string arguments) {
#if DEBUG_COMMANDS
UnityEngine.Debug.Log("Running: " + filename + " " + arguments);
#endif
Process p = new Process();
p.StartInfo.Arguments = arguments;
... | Disable command debugging for now, and clean up. | Disable command debugging for now, and clean up.
| C# | mit | MrJoy/UnityGit |
224e9694a4e3b7fec22d907f6bfdba4985220178 | test/WebSites/Basic/Controllers/SwaggerAnnotationsController.cs | test/WebSites/Basic/Controllers/SwaggerAnnotationsController.cs | using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using Basic.Swagger;
namespace Basic.Controllers
{
[SwaggerTag("Manipulate Carts to your heart's content", "http://www.tempuri.org")]
public class SwaggerAnnotationsController
{
[HttpPost("/carts")]
[SwaggerResponse(... | using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using Basic.Swagger;
namespace Basic.Controllers
{
[SwaggerTag("Manipulate Carts to your heart's content", "http://www.tempuri.org")]
public class SwaggerAnnotationsController
{
[HttpPost("/carts")]
[SwaggerResponse(... | Set OperationId via annotations in test project | Set OperationId via annotations in test project
| C# | mit | domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy |
dd0a986141ab2c84f1a1219be64808fe84f66e0f | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | Set nuget package version to 2.0.0 | Set nuget package version to 2.0.0
| C# | mit | Jericho/CakeMail.RestClient |
1484c923eca8ff492d21751b6ab305eed8755795 | samples/CoreApplication/Program.cs | samples/CoreApplication/Program.cs | using System;
using System.Threading.Tasks;
using Bartender;
using ConsoleApplication.Registries;
using CoreApplication.Domain.Personne.Create;
using CoreApplication.Domain.Personne.Read;
using StructureMap;
namespace ConsoleApplication
{
public class Program
{
static IContainer Container { get; set; ... | using System;
using System.Threading.Tasks;
using Bartender;
using ConsoleApplication.Registries;
using CoreApplication.Domain.Personne.Create;
using CoreApplication.Domain.Personne.Read;
using StructureMap;
namespace ConsoleApplication
{
public class Program
{
static IContainer Container { get; set; ... | Switch direct handling by a asyncrhonous dispatching in core sample | Switch direct handling by a asyncrhonous dispatching in core sample
| C# | mit | Vtek/Bartender |
9a736daec74f96fecd168044cc370833cb985e80 | tests/OmniSharp.MSBuild.Tests/ProjectFileInfoTests.cs | tests/OmniSharp.MSBuild.Tests/ProjectFileInfoTests.cs | using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.MSBuild.ProjectFile;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.MSBuild.Tests
{
public class ProjectFileInfoTests
{
private readonly TestAssets _testAssets;
private readonly ILogger _logger;... | using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.MSBuild.ProjectFile;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.MSBuild.Tests
{
public class ProjectFileInfoTests
{
private readonly TestAssets _testAssets;
private readonly ILogger _logger;... | Add another unit test for an MSBuild project (currently failing) | Add another unit test for an MSBuild project (currently failing)
| C# | mit | OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn |
bdc5ba3545b732ca9d726a9694a74e6847b626d1 | src/IdentityBase.Public/Program.cs | src/IdentityBase.Public/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using ServiceBase.Configuration;
using System;
using System.IO;
using ServiceBase.Extensions;
namespace IdentityBase.Public
{
public class Program
{
public static void Main(string[] args)
... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using ServiceBase.Configuration;
using ServiceBase.Extensions;
using System;
using System.IO;
namespace IdentityBase.Public
{
public class Program
{
public static void Main(string[] args)
... | Allow application startup with inherited startup class | Allow application startup with inherited startup class
| C# | apache-2.0 | aruss/IdentityBase,aruss/IdentityBase,IdentityBaseNet/IdentityBase,IdentityBaseNet/IdentityBase,aruss/IdentityBase,aruss/IdentityBase,IdentityBaseNet/IdentityBase,IdentityBaseNet/IdentityBase |
bc67a80a51ef1a726d7292a424854479238b7358 | jab/jab/TestExample.cs | jab/jab/TestExample.cs | using jab.Attributes;
using NSwag;
using Xunit;
using System.Linq;
namespace jab
{
public class TestExample
{
[Theory, ParameterisedClassData(typeof(ApiOperations), "samples/example.json")]
public void DeleteMethodsShouldNotTakeFormEncodedData(
SwaggerService service,
s... | using jab.Attributes;
using NSwag;
using Xunit;
using System.Linq;
namespace jab
{
public partial class TestExample
{
const string testDefinition = "samples/example.json";
[Theory, ParameterisedClassData(typeof(ApiOperations), testDefinition)]
public void DeleteMethodsShouldNotTakeFor... | Add a check for api keys in query parameters. | Add a check for api keys in query parameters.
| C# | apache-2.0 | DimensionDataCBUSydney/jab |
4dad1039b2581e6a782e3d2f6bd57796a0ae1515 | Settings/Keyboard.cs | Settings/Keyboard.cs | using System.Windows.Input;
namespace clipman.Settings
{
public static class Keyboard
{
public static Key ClearTextboxKey = Key.Escape;
}
}
| using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Windows.Input;
using System.Windows.Interop;
namespace clipman.Settings
{
public static class Keyboard
{
public static Key ClearTextboxKey = Key.Escape;
}
public class KeyboardMonitor : IDisposa... | Add global keyboard shortcut listener | Add global keyboard shortcut listener
| C# | apache-2.0 | Schlechtwetterfront/snipp |
3e271c0875d8b3003ab9d5e1831aaff9593e55d9 | StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflect... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflect... | Fix test which relies on reflection over the code fixes assembly | Fix test which relies on reflection over the code fixes assembly
| C# | mit | DotNetAnalyzers/StyleCopAnalyzers |
74e9bc8c2c2fe345634b2b0ad9c0f3f4d19dece8 | tests/SlackConnector.Tests.Unit/Connections/Monitoring/TimerTests.cs | tests/SlackConnector.Tests.Unit/Connections/Monitoring/TimerTests.cs | using System;
using System.Threading;
using Xunit;
using Should;
using Timer = SlackConnector.Connections.Monitoring.Timer;
namespace SlackConnector.Tests.Unit.Connections.Monitoring
{
public class TimerTests
{
[Fact]
public void should_run_task_at_least_5_times()
{
// give... | using System;
using System.Threading;
using Xunit;
using Should;
using Timer = SlackConnector.Connections.Monitoring.Timer;
namespace SlackConnector.Tests.Unit.Connections.Monitoring
{
public class TimerTests
{
[Fact]
public void should_run_task_at_least_5_times()
{
// give... | Increase timeout for Timer tests | Increase timeout for Timer tests
| C# | mit | noobot/SlackConnector |
89f02a9db67eb5ddebf4bbb184ea084610c2fb9e | TimeLog.Api.Core.Documentation/Models/RestDocumentationHelpers/RestMethodDoc.cs | TimeLog.Api.Core.Documentation/Models/RestDocumentationHelpers/RestMethodDoc.cs | using System.Collections.Generic;
using System.Linq;
using TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers.Core;
namespace TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers
{
public class RestMethodDoc
{
#region Variables
public IReadOnlyList<RestResponse> Response... | using System.Collections.Generic;
using System.Linq;
using TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers.Core;
namespace TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers
{
public class RestMethodDoc
{
#region Variables
public IReadOnlyList<RestResponse> Response... | Fix REST API url in documentation | Fix REST API url in documentation
| C# | mit | TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk |
bc3b2af39d5d391e3bf0c95a5514193e6853faf2 | osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs | osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.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.Shapes;
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
{
/// <summary>
//... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
{
/// <summary>
//... | Add rounded corners to timeline ticks display | Add rounded corners to timeline ticks display
| C# | mit | smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu |
3495d13efcfecf3e968a65f9c38b4812d94b6f00 | src/Dbus/ExtensionMethods.cs | src/Dbus/ExtensionMethods.cs | using System;
using System.Buffers;
namespace Dbus
{
internal static class ExtensionMethods
{
public static void Dump(this ReadOnlySequence<byte> buffers)
{
foreach (var segment in buffers)
{
var buffer = segment.Span;
dump(buffer);
... | using System;
using System.Buffers;
namespace Dbus
{
internal static class ExtensionMethods
{
public static void Dump(this ReadOnlySequence<byte> buffers)
{
var counter = 0;
foreach (var segment in buffers)
{
var buffer = segment.Span;
... | Mark the eight-byte-boundaries when dumping a message | Mark the eight-byte-boundaries when dumping a message
| C# | mit | Tragetaschen/DbusCore |
1e6fe95987052dfb16eb38a294c39a7fb573229c | Tests/IntegrationTests.Shared/AccessTests.cs | Tests/IntegrationTests.Shared/AccessTests.cs | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System.IO;
using NUnit.Framework;
using Realms;
namespace IntegrationTests.Shared
{
[TestFixture]
public class AccessTests
{
protected string _databasePath;
protected Realm _realm;
[SetUp]... | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System.IO;
using NUnit.Framework;
using Realms;
namespace IntegrationTests.Shared
{
[TestFixture]
public class AccessTests
{
protected string _databasePath;
protected Realm _realm;
[SetUp]... | Add access tests for all nullable types. | Add access tests for all nullable types.
| C# | apache-2.0 | Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet |
4c634118e8d94d2674a05cdc6381c6e5dba42366 | SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs | SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class QuestionDisplayOptionsCustomOptions
{
public List<string> OptionSet { get; set; }
public int StartingPosition { get; set; }
publi... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class QuestionDisplayOptionsCustomOptions
{
public List<string> OptionSet { get; set; }
public int StartingPosition { get; set; }
publi... | Add Color custom display option for star ratings | Add Color custom display option for star ratings
| C# | mit | davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3 |
32207b72fe872e82d545f065cfce1a52e5ffb0dd | src/PowerShellEditorServices/Language/PesterDocumentSymbolProvider.cs | src/PowerShellEditorServices/Language/PesterDocumentSymbolProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation.Language;
namespace Microsoft.PowerShell.EditorServices
{
internal class PesterDocumentSymbolProvider : DocumentSymbolProvider
{
protected override bool CanProvideFor(ScriptFile scriptFile)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation.Language;
namespace Microsoft.PowerShell.EditorServices
{
internal class PesterDocumentSymbolProvider : DocumentSymbolProvider
{
protected override bool CanProvideFor(ScriptFile scriptFile)
{
... | Remove redundant case from switch statement | Remove redundant case from switch statement
| C# | mit | PowerShell/PowerShellEditorServices |
05393041b3e4f29c21aaacc8edbca104f4e6c80a | SteamIrcBot/Program.cs | SteamIrcBot/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
namespace SteamIrcBot
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main( string[] a... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Reflection;
using System.IO;
namespace SteamIrcBot
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </su... | Set current directory when running as a service. | Set current directory when running as a service.
| C# | mit | VoiDeD/steam-irc-bot |
c5bc63f9e2a23ee504645cc133ba58130e956bd5 | src/MK.Lib/Ext/DateTimeJsonExt.cs | src/MK.Lib/Ext/DateTimeJsonExt.cs | using System;
namespace MK.Ext
{
/// <summary>
/// DateTime Json Extensions
/// </summary>
public static class DateTimeJsonExt
{
private static readonly DateTime D1970_01_01 = new DateTime(1970, 1, 1);
public static string JsonValue(this DateTime d)
{
return "( new Date(" + System.Convert.ToInt64((d - D1... | using System;
namespace MK.Ext
{
/// <summary>
/// DateTime Json Extensions
/// </summary>
public static class DateTimeJsonExt
{
private static readonly DateTime D1970_01_01 = new DateTime(1970, 1, 1);
public static string JsonValue(this DateTime d)
{
return "( new Date(" + ((d.Ticks - D1970_01_01.Ticks)... | Fix datetime json ext - lost one millisecond | Fix datetime json ext - lost one millisecond
| C# | mit | maxkoryukov/MK.Lib,maxkoryukov/MK.WebLib |
5f6a9dfe5078ab11aef4dd367bb978bbc695df3d | mvcWebApp/Views/Home/Index.cshtml | mvcWebApp/Views/Home/Index.cshtml | @{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap 101 Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen">
<!-- HTML5 Shim... | @{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Sweet Water Revolver</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen">
<!-- HTML5 Shim a... | Change the page title and h1. | Change the page title and h1.
| C# | mit | bigfont/sweet-water-revolver |
b321de76fb49d404aaf842e030e23f526fde45bb | BLL/Mapping/AutomapperProfile.cs | BLL/Mapping/AutomapperProfile.cs | using AutoMapper;
using BusinessEntities;
using BusinessEntities.Dictionaries;
using DataModel;
using DataModel.Dictionaries;
namespace BLL.Mapping
{
public class AutomapperProfile : Profile
{
public AutomapperProfile()
{
CreateMap<Animal, AnimalEntity>();
CreateMap<Council, CouncilEntity>();... | using AutoMapper;
using BusinessEntities;
using BusinessEntities.Dictionaries;
using DataModel;
using DataModel.Dictionaries;
namespace BLL.Mapping
{
public class AutomapperProfile : Profile
{
public AutomapperProfile()
{
CreateMap<Animal, AnimalEntity>();
CreateMap<Council, CouncilEntity>();... | Add mapping for all entities | Add mapping for all entities
| C# | mit | Marusyk/SmartVillageOnline,Marusyk/SmartVillageOnline |
60f88c3ddd6ae8df1f804b8f12b1a0b86188fbd7 | CarFuel/Views/Car/Details.cshtml | CarFuel/Views/Car/Details.cshtml | @using CarFuel.Models
@model Car
<h2>@Model.Make (@Model.Model)</h2>
<div class="well well-sm">
Average consumption is <strong>@(Model.AverageKmL?.ToString("n2"))</strong> km/L
</div> | @using CarFuel.Models
@model Car
<h2>@Model.Make (@Model.Model)</h2>
<div class="well well-sm">
@if (Model.AverageKmL == null)
{
<div>
Not has enough data to calculate consumption rate.
Please add more fill up.
</div>
}
Average consumption is <strong>@(Model.Av... | Add Message if AvgKmL is null | Add Message if AvgKmL is null
| C# | mit | sanarujung/tdd-carfuel,sanarujung/tdd-carfuel,sanarujung/tdd-carfuel |
a83af69fb1d41322b02a4c883d9ccc981c99fa81 | DataAccessLayer/PantryService.cs | DataAccessLayer/PantryService.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PlanEatSave.Models;
using PlanEatSave.Utils;
namespace PlanEatSave.DataAceessLayer
{
public class PantryService
{
private ApplicationDbContext _context;
private IPlanEatSaveLogger _logger;
... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PlanEatSave.Models;
using PlanEatSave.Utils;
namespace PlanEatSave.DataAceessLayer
{
public class PantryService
{
private ApplicationDbContext _context;
private IPlanEatSaveLogger _logger;
... | Add logic for creating a pantru for new users | Add logic for creating a pantru for new users
| C# | mit | AlinCiocan/PlanEatSave,AlinCiocan/PlanEatSave,AlinCiocan/FoodPlanApp,AlinCiocan/PlanEatSave,AlinCiocan/FoodPlanApp,AlinCiocan/FoodPlanApp |
b5e2b660f775cc283f0fb167829c1edb55c1ea11 | ElectronNET.API/Entities/Data.cs | ElectronNET.API/Entities/Data.cs | namespace ElectronNET.API.Entities
{
/// <summary>
///
/// </summary>
public class Data
{
/// <summary>
/// Gets or sets the text.
/// </summary>
/// <value>
/// The text.
/// </value>
public string Text { get; set; }
/// <summary>
... | namespace ElectronNET.API.Entities
{
/// <summary>
///
/// </summary>
public class Data
{
/// <summary>
/// Gets or sets the text.
/// </summary>
/// <value>
/// The text.
/// </value>
public string Text { get; set; }
/// <summary>
... | Add Image to clipboard data | Add Image to clipboard data | C# | mit | ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET |
86488372ff283cfec28584d533390548496ea3f1 | Assets/Editor/VRSubjectInspector.cs | Assets/Editor/VRSubjectInspector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(VRSubjectController))]
public class VRSubjectInspector : Editor
{
VRSubjectController instance;
public override void OnInspectorGUI()
{
instance = targe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(VRSubjectController))]
public class VRSubjectInspector : Editor
{
VRSubjectController instance;
public override void OnInspectorGUI()
{
instance = targe... | Move the Recenter and Monoscoping Rendering feature to the Oculus Head Controller | [FEATURE] Move the Recenter and Monoscoping Rendering feature to the Oculus Head Controller
| C# | mit | xfleckx/BeMoBI,xfleckx/BeMoBI |
85d5160782acd1ff6683b744c4b96f0ef7f50598 | Plugins/PluginScriptGenerator.cs | Plugins/PluginScriptGenerator.cs | using System.Text;
namespace TweetDck.Plugins{
static class PluginScriptGenerator{
public static string GenerateConfig(PluginConfig config){
return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"", config.DisabledPlugins)+"\"];" : string.Empty;
}
pub... | using System.Text;
namespace TweetDck.Plugins{
static class PluginScriptGenerator{
public static string GenerateConfig(PluginConfig config){
return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"", config.DisabledPlugins)+"\"];" : string.Empty;
}
pub... | Add plugin identifier to the object itself | Add plugin identifier to the object itself
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
824a4c7a98289aedd3474893ab17d0566988229d | Zk/Views/Account/Register.cshtml | Zk/Views/Account/Register.cshtml | @{
ViewBag.Title = "Registreer je vandaag bij de Oogstplanner";
}
<div class="flowtype-area">
<!-- START RESPONSIVE RECTANGLE LAYOUT -->
<!-- Top bar -->
<div id="top">
<h1>Registreer je vandaag bij de Oogstplanner</h1>
</div>
<!-- Fixed main screen -->
<div id="login" class="bg imglogin">
<!-- Sig... | @{
ViewBag.Title = "Registreer je vandaag bij de Oogstplanner";
}
<div class="flowtype-area">
<!-- START RESPONSIVE RECTANGLE LAYOUT -->
<!-- Top bar -->
<div id="top">
</div>
<!-- Fixed main screen -->
<div id="login" class="bg imglogin">
<div class="row">
<div class="mainbox col-md-12 col-sm-12 col-xs-12... | Remove signupbox id from register bx since then it can be hidden by the zk.showLoginBox function | Remove signupbox id from register bx since then it can be hidden by the zk.showLoginBox function
| C# | mit | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner |
8f8aff201fa934ec0083046267de3f623aac7886 | Scripts/Utils/LiteNetLibScene.cs | Scripts/Utils/LiteNetLibScene.cs | using UnityEngine;
namespace LiteNetLibManager
{
[System.Serializable]
public class LiteNetLibScene
{
[SerializeField]
private Object sceneAsset;
[SerializeField]
private string sceneName = string.Empty;
public string SceneName
{
get { return sc... | using UnityEngine;
namespace LiteNetLibManager
{
[System.Serializable]
public struct LiteNetLibScene
{
[SerializeField]
private Object sceneAsset;
[SerializeField]
private string sceneName;
public string SceneName
{
get { return sceneName; }
... | Change unity scene type to struct | Change unity scene type to struct
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
b2f2fced9a556fe4899c99397e2d795a2e46a1ae | src/Abp.AspNetCore/AspNetCore/Mvc/Authorization/AbpAuthorizationFilter.cs | src/Abp.AspNetCore/AspNetCore/Mvc/Authorization/AbpAuthorizationFilter.cs | using System.Linq;
using System.Threading.Tasks;
using Abp.AspNetCore.Mvc.Extensions;
using Abp.Authorization;
using Abp.Dependency;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Abp.AspNetCore.Mvc.Authorization
{
public class AbpAuthorizationFilter : IAsyncAuthorizat... | using System.Linq;
using System.Threading.Tasks;
using Abp.AspNetCore.Mvc.Extensions;
using Abp.Authorization;
using Abp.Dependency;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Abp.AspNetCore.Mvc.Authorization
{
//TODO: Register only actions which define AbpMvcA... | Check IAllowAnonymousFilter in a simpler way. | Check IAllowAnonymousFilter in a simpler way.
| C# | mit | SXTSOFT/aspnetboilerplate,4nonym0us/aspnetboilerplate,4nonym0us/aspnetboilerplate,ShiningRush/aspnetboilerplate,yuzukwok/aspnetboilerplate,zquans/aspnetboilerplate,zclmoon/aspnetboilerplate,andmattia/aspnetboilerplate,Nongzhsh/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,SXTSOFT/aspnetboi... |
243d6242c99851a87d5e07c81eb6de6ce2c55e4d | Main.cs | Main.cs | using System;
using Gtk;
using Castle.ActiveRecord.Framework.Config;
using Castle.ActiveRecord;
using HumanRightsTracker.Models;
namespace HumanRightsTracker
{
class MainClass
{
public static void Main (string[] args)
{
XmlConfigurationSource config = new XmlConfigurationSource("Config/ARConfig.xml");
Acti... | using System;
using System.Reflection;
using Gtk;
using Castle.ActiveRecord.Framework.Config;
using Castle.ActiveRecord;
using HumanRightsTracker.Models;
namespace HumanRightsTracker
{
class MainClass
{
public static void Main (string[] args)
{
XmlConfigurationSource config = new XmlConfigurationSource("Confi... | Fix for initializing models from assembly. | Fix for initializing models from assembly.
| C# | lgpl-2.1 | monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker |
cd532cde2d7852d94d8969dbed881c115baec6ae | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.cs | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.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.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
us... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Mania.Ob... | Fix note masks not working | Fix note masks not working
| C# | mit | 2yangk23/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu,smoogipooo/osu,naoey/osu,DrabWeb/osu,peppy/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,naoey/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,smo... |
fa4777d568b864285aac5d9423914ee1b87a9e55 | Web/Infrastructure/DependencyInjection/RavenDbModule.cs | Web/Infrastructure/DependencyInjection/RavenDbModule.cs | using Autofac;
using Autofac.Integration.Mvc;
using Raven.Client;
using Raven.Client.Document;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RavenDbModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register(c =... | using Autofac;
using Autofac.Integration.Mvc;
using Raven.Client;
using Raven.Client.Document;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RavenDbModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register(c =... | Update RavenDB connection string name | Update RavenDB connection string name
| C# | mit | jrusbatch/compilify,jrusbatch/compilify,vendettamit/compilify,vendettamit/compilify |
f7e2b5e355bde93fcac0fe33ae276bb8698243ba | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | using System.Web.Mvc;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionResult Index()
{
return View();
}
public ActionResult CatchAll(string pa... | using System;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web.Mvc;
using Microsoft.Azure;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionR... | Add cert-test action to help diagnose issues in azure | Add cert-test action to help diagnose issues in azure
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
3718277e10f8fff0b98e7081ac486586f9c5d67f | csharp/Hello/HelloServer/Program.cs | csharp/Hello/HelloServer/Program.cs | using System;
namespace HelloServer
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| using System;
using System.Threading.Tasks;
using Grpc.Core;
using Hello;
namespace HelloServer
{
class HelloServerImpl : HelloService.HelloServiceBase
{
// Server side handler of the SayHello RPC
public override Task<HelloResp> SayHello(HelloReq request, ServerCallContext context)
{
return Task.FromResult... | Add basic hello server version | Add basic hello server version
| C# | mit | avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors |
2bf4e6fef64ab7499fb953ce3233960d6cbe2afa | LAN/LANInterface.cs | LAN/LANInterface.cs | using PluginContracts;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace LAN
{
public class LANInterface : IPluginV1
{
public string Name { get; } = "LAN";
public string Description { get; } = "LAN communication interface for os... | using PluginContracts;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace LAN
{
public class LANInterface : IPluginV1
{
public string Name { get; } = "LAN";
public string Description { get; } = "LAN communicati... | Use stream writer instead of BinaryWriter | Use stream writer instead of BinaryWriter
| C# | mit | tparviainen/oscilloscope |
f6b10eab266200fc8289ae76e2d39870fae47750 | src/DotVVM.Framework/ResourceManagement/InlineStylesheetResource.cs | src/DotVVM.Framework/ResourceManagement/InlineStylesheetResource.cs | using System;
using System.IO;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
using Newtonsoft.Json;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// CSS in header. It's perfect for critical CSS.
/// </summary>
public class InlineStylesheetResource : ResourceBase
... | using System;
using System.IO;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
using Newtonsoft.Json;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// CSS in header. It's perfect for small css. For example critical CSS.
/// </summary>
public class InlineStylesheetResou... | Put StreamReader into using blog | Put StreamReader into using blog
| C# | apache-2.0 | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm |
2ad77f005b6fad299f2bc28e117ce41ebb451b80 | LearnosityDemo/Program.cs | LearnosityDemo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace LearnosityDemo
{
public class Program
{
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace LearnosityDemo
{
public static class Program
{
... | Add static to class definition because reasons. | [DOC] Add static to class definition because reasons.
| C# | apache-2.0 | Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net |
4380c6878bb2cf2fcc17f043c8a5951fd1824cb5 | DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs | DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace DesktopWidgets.WidgetBase.Settings
{
public class WidgetClockSettingsBase : WidgetSettingsBase
{
protected WidgetClockSettingsBase()
{
Style.FontSettings.FontSize = 24;
}
[Catego... | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace DesktopWidgets.WidgetBase.Settings
{
public class WidgetClockSettingsBase : WidgetSettingsBase
{
protected WidgetClockSettingsBase()
{
Style.FontSettings.FontSize = 24;
}
[Catego... | Change some clock widget settings names | Change some clock widget settings names
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
7ad713c33b8d44382e73517b82b87f1579f834b6 | Octokit/Http/Request.cs | Octokit/Http/Request.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
namespace Octokit.Internal
{
public class Request : IRequest
{
public Request()
{
Headers = new Dictionary<string, string>();
Parameters = new Dictionary<string, string>();
AllowAutoRedir... | using System;
using System.Collections.Generic;
using System.Net.Http;
namespace Octokit.Internal
{
public class Request : IRequest
{
public Request()
{
Headers = new Dictionary<string, string>();
Parameters = new Dictionary<string, string>();
AllowAutoRedir... | Set default timeout to 100 seconds | Set default timeout to 100 seconds
This is the same as HttpClient.
| C# | mit | ivandrofly/octokit.net,editor-tools/octokit.net,thedillonb/octokit.net,nsnnnnrn/octokit.net,Red-Folder/octokit.net,octokit-net-test-org/octokit.net,chunkychode/octokit.net,SamTheDev/octokit.net,gabrielweyer/octokit.net,editor-tools/octokit.net,octokit-net-test/octokit.net,Sarmad93/octokit.net,fffej/octokit.net,khellang... |
1c66f2fdaa23ace5bd2ce37cac195858f43d8465 | PROProtocol/Language.cs | PROProtocol/Language.cs | using System.Collections.Generic;
using System.IO;
using System.Xml;
namespace PROProtocol
{
public class Language
{
private const string FileName = "Resources/Lang.xml";
private Dictionary<string, string> _texts = new Dictionary<string, string>();
public Language()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
namespace PROProtocol
{
public class Language
{
private class DescendingLengthComparer : IComparer<string>
{
public int Compare(string x, string y)
{
int resu... | Sort the i18n keys by descending length Fix 'FullHP' getting overridden by 'Full'. | Sort the i18n keys by descending length
Fix 'FullHP' getting overridden by 'Full'.
| C# | mit | MeltWS/proshine,bobus15/proshine,Silv3rPRO/proshine |
b8130bd3669f447a8179c13ba889207f261c262c | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | Make mania selection blueprint abstract | Make mania selection blueprint abstract
| C# | mit | NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu |
e4739b2468a6b47e3769ffe3ce4e444b706b0269 | src/NVika/BuildServers/GitHub.cs | src/NVika/BuildServers/GitHub.cs | using System;
using System.ComponentModel.Composition;
using System.Text;
using NVika.Abstractions;
using NVika.Parsers;
namespace NVika.BuildServers
{
internal sealed class GitHub : BuildServerBase
{
private readonly IEnvironment _environment;
[ImportingConstructor]
internal GitHub(IE... | using System;
using System.ComponentModel.Composition;
using System.Text;
using NVika.Abstractions;
using NVika.Parsers;
namespace NVika.BuildServers
{
internal sealed class GitHub : BuildServerBase
{
private readonly IEnvironment _environment;
[ImportingConstructor]
internal GitHub(IE... | Add path and line to GH console output | Add path and line to GH console output
| C# | apache-2.0 | laedit/vika |
9d92b4639a4cc0d1f3ca3043cedd30ea7d0d0b0d | src/AppHarbor/TypeNameMatcher.cs | src/AppHarbor/TypeNameMatcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace AppHarbor
{
public class TypeNameMatcher<T>
{
private readonly IEnumerable<Type> _candidateTypes;
public TypeNameMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !typeof(T).IsAssignableFrom(x)))
{
th... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AppHarbor
{
public class TypeNameMatcher<T>
{
private readonly IEnumerable<Type> _candidateTypes;
public TypeNameMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !typeof(T).IsAssignableFrom(x)))
{
th... | Change exception message and pass innerexception to argumentexception | Change exception message and pass innerexception to argumentexception
| C# | mit | appharbor/appharbor-cli |
94c7e9e0bb81a50c13ef1c74fb79a2d6b3ca8fdf | resharper/src/resharper-unity/Feature/Services/LiveTemplates/Scope/InUnityShaderLabFile.cs | resharper/src/resharper-unity/Feature/Services/LiveTemplates/Scope/InUnityShaderLabFile.cs | using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.Feature.Serv... | using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.Feature.Serv... | Fix compile issue from merge | Fix compile issue from merge
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
9141d2e18c3e6f8cac3bfadc9f625e84b7379675 | ClosedXML/Utils/ColorStringParser.cs | ClosedXML/Utils/ColorStringParser.cs | using System.Drawing;
using System.Globalization;
namespace ClosedXML.Utils
{
internal static class ColorStringParser
{
public static Color ParseFromHtml(string htmlColor)
{
try
{
if (htmlColor[0] != '#')
htmlColor = '#' + htmlColor;
... | using System;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
namespace ClosedXML.Utils
{
internal static class ColorStringParser
{
public static Color ParseFromHtml(string htmlColor)
{
try
{
if (htmlColor[0] == '#' && (htm... | Remove a dependency on System.Drawing.Common by using a compatible color parser. | Remove a dependency on System.Drawing.Common by using a compatible color parser.
| C# | mit | ClosedXML/ClosedXML |
d43643a8d717aa1cf78d5d5002096c64cf08379d | src/Glimpse.Agent.Web/Framework/IIgnoredRequestPolicy.cs | src/Glimpse.Agent.Web/Framework/IIgnoredRequestPolicy.cs | using System;
namespace Glimpse.Agent.Web
{
public interface IIgnoredRequestPolicy
{
bool ShouldIgnore(IContext context);
}
} | using System;
using Glimpse.Web;
namespace Glimpse.Agent.Web
{
public interface IIgnoredRequestPolicy
{
bool ShouldIgnore(IHttpContext context);
}
} | Update context that is passed through | Update context that is passed through
| C# | mit | mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Pr... |
c9963529c7b60bc2beca5b8b2bd9486a0a50cd50 | bees-in-the-trap/Assets/Scripts/MainCamera.cs | bees-in-the-trap/Assets/Scripts/MainCamera.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainCamera : MonoBehaviour {
public GameObject cursor;
private IEnumerator currentMove;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
//this.transform.posi... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainCamera : MonoBehaviour {
public GameObject cursor;
private IEnumerator currentMove;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
//this.transform.posi... | Add scaffolding for skipping ease-in | Add scaffolding for skipping ease-in
But it doesn't work yet. So we'll see if we bother with this one.
| C# | mit | makerslocal/LudumDare38 |
235c0ed620e4525b78fcc7a7e03a956092c1f9e1 | CalDavSynchronizer/Contracts/EventMappingConfiguration.cs | CalDavSynchronizer/Contracts/EventMappingConfiguration.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Founda... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Founda... | Set default for Reminder mapping to 'JustUpcoming'. | Set default for Reminder mapping to 'JustUpcoming'.
| C# | agpl-3.0 | aluxnimm/outlookcaldavsynchronizer |
47a208ec048693838a384b3ee253f112a2623f69 | Winter/Assets/Scripts/GUIBehavior.cs | Winter/Assets/Scripts/GUIBehavior.cs | using UnityEngine;
using System.Collections;
public class GUIBehavior : MonoBehaviour {
public Texture barTexture;
public wolf wolfData;
public int boxWidth = 34;
public int boxHeight = 30;
void OnGUI () {
//Print the bar
GUI.Box (new Rect(Screen.width - barTexture.width - 18,10,barTexture.width + 8, bar... | using UnityEngine;
using System.Collections;
public class GUIBehavior : MonoBehaviour {
public Texture barTexture;
public wolf wolfData;
public int boxWidth = 34;
public int boxHeight = 30;
void OnGUI () {
//Print the bar
GUI.Box (new Rect(Screen.width - barTexture.width - 18,10,barTexture.width + 8, bar... | Add Win/Lose Scene Transition Hooks | Add Win/Lose Scene Transition Hooks
| C# | mit | ludimation/Winter,ludimation/Winter,ludimation/Winter |
af39e9e6a73b093ffa9948c9210c25f5ef051638 | ConDep.Dsl/Operations/Application/Execution/RunCmd/RunCmdProvider.cs | ConDep.Dsl/Operations/Application/Execution/RunCmd/RunCmdProvider.cs | using ConDep.Dsl.SemanticModel;
using ConDep.Dsl.SemanticModel.WebDeploy;
using Microsoft.Web.Deployment;
namespace ConDep.Dsl.Operations.Application.Execution.RunCmd
{
public class RunCmdProvider : WebDeployProviderBase
{
private const string NAME = "runCommand";
public RunCmdProvider(string co... | using ConDep.Dsl.SemanticModel;
using ConDep.Dsl.SemanticModel.WebDeploy;
using Microsoft.Web.Deployment;
namespace ConDep.Dsl.Operations.Application.Execution.RunCmd
{
public class RunCmdProvider : WebDeployProviderBase
{
private const string NAME = "runCommand";
public RunCmdProvider(string co... | Set default wait interval for Run command to be 60 seconds | Set default wait interval for Run command to be 60 seconds
| C# | bsd-2-clause | kjelliverb/condep-dsl-operations |
22b9d1ad1e8abb1b9eb55975c865f3c3ecb5327b | MSBuildTracer/ImportTracer.cs | MSBuildTracer/ImportTracer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using MBEV = Microsoft.Build.Evaluation;
using MBEX = Microsoft.Build.Execution;
namespace MSBuildTracer
{
class ImportTracer
{
private MBEV.Projec... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using MBEV = Microsoft.Build.Evaluation;
using MBEX = Microsoft.Build.Execution;
namespace MSBuildTracer
{
class ImportTracer
{
private MBEV.Projec... | Fix path output for inputs | Fix path output for inputs
| C# | mit | jefflinse/MSBuildTracer |
fb5e5a0736cc2631957427e9be588a935965c675 | src/Foundation/NSUrlConnection.cs | src/Foundation/NSUrlConnection.cs | //
// NSUrlConnection.cs:
// Author:
// Miguel de Icaza
//
using System;
using System.Reflection;
using System.Collections;
using System.Runtime.InteropServices;
using MonoMac.ObjCRuntime;
namespace MonoMac.Foundation {
public partial class NSUrlConnection {
static Selector selSendSynchronousRequ... | //
// NSUrlConnection.cs:
// Author:
// Miguel de Icaza
//
using System;
using System.Reflection;
using System.Collections;
using System.Runtime.InteropServices;
using MonoMac.ObjCRuntime;
namespace MonoMac.Foundation {
public partial class NSUrlConnection {
static Selector selSendSynchronousRequ... | Fix compilation error introduced with my previous fix | Fix compilation error introduced with my previous fix
| C# | apache-2.0 | cwensley/maccore,beni55/maccore,mono/maccore,jorik041/maccore |
b43ee2d61c20a20c9ff464b2a2a15c9ff0e23579 | osu.Game/Beatmaps/CountdownType.cs | osu.Game/Beatmaps/CountdownType.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.Beatmaps
{
/// <summary>
/// The type of countdown shown before the start of gameplay on a given beatmap.
/// </summary>
public enum Co... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
namespace osu.Game.Beatmaps
{
/// <summary>
/// The type of countdown shown before the start of gameplay on a given beatmap.
///... | Add descriptions to enum members | Add descriptions to enum members
| C# | mit | peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
fe364dcf235b5a393903f2dfe0b7b95f437b7adf | hiddentreasure-etw-demo/RemoteThreadInjection.cs | hiddentreasure-etw-demo/RemoteThreadInjection.cs | using System;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class RemoteThreadInjection
{
public static UserTrace CreateTrace()
{
var filter = new EventFilter(Filter
.EventIdIs(3));
filter.OnEvent += (IEventRecord r) => {
... | using System;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class RemoteThreadInjection
{
public static UserTrace CreateTrace()
{
var filter = new EventFilter(Filter
.EventIdIs(3));
filter.OnEvent += (IEventRecord r) => {
... | Add comment about ParentPid check. | Add comment about ParentPid check. | C# | mit | zacbrown/hiddentreasure-etw-demo |
056235961cf4bb215eea646cee5d793e11c5ab86 | Mapsui/Utilities/OpenStreetMap.cs | Mapsui/Utilities/OpenStreetMap.cs | using BruTile.Predefined;
using BruTile.Web;
using Mapsui.Layers;
namespace Mapsui.Utilities
{
public static class OpenStreetMap
{
private const string DefaultUserAgent = "Default Mapsui user-agent";
private static readonly BruTile.Attribution OpenStreetMapAttribution = new BruTile.Attribution... | using BruTile.Predefined;
using BruTile.Web;
using Mapsui.Layers;
namespace Mapsui.Utilities
{
public static class OpenStreetMap
{
private const string DefaultUserAgent = "Default Mapsui user-agent";
private static readonly BruTile.Attribution OpenStreetMapAttribution = new BruTile.Attribution... | Add parameter to the public method | Add parameter to the public method
| C# | mit | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui |
65a32b8e2b19e842e70feee4eab04450da526825 | src/BitFlyer.Apis/RealtimeApi.cs | src/BitFlyer.Apis/RealtimeApi.cs | using PubNubMessaging.Core;
using System;
using Utf8Json;
namespace BitFlyer.Apis
{
public class RealtimeApi
{
private readonly Pubnub _pubnub;
public RealtimeApi()
{
_pubnub = new Pubnub("nopublishkey", BitFlyerConstants.SubscribeKey);
}
public void Subsc... | using PubNubMessaging.Core;
using System;
using System.Text;
using Utf8Json;
namespace BitFlyer.Apis
{
public class RealtimeApi
{
private readonly Pubnub _pubnub;
public RealtimeApi()
{
_pubnub = new Pubnub("nopublishkey", BitFlyerConstants.SubscribeKey);
}
... | Improve performance for realtime API | Improve performance for realtime API
| C# | mit | kiyoaki/bitflyer-api-dotnet-client |
3ffcf0299c01bb2b20a103a45b233c412b0ab284 | PollerWeb/Poller.Data/PollerDb.cs | PollerWeb/Poller.Data/PollerDb.cs | namespace Poller.Data
{
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using Migrations;
using System.Data.Entity;
public class PollerDb : IdentityDbContext<ApplicationUser>
{
public PollerDb()
: base("PollerDbConnection", throwIfV1Schema: false)
{
... | namespace Poller.Data
{
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using Migrations;
using System.Data.Entity;
public class PollerDb : IdentityDbContext<ApplicationUser>
{
public PollerDb()
: base("PollerD", throwIfV1Schema: false)
{
... | Fix stupid error from scafolding | Fix stupid error from scafolding
| C# | mit | slav40o/Poller,slav40o/Poller,slav40o/Poller |
2860f5a5cdbee1deb8602ee07b11bdd95d6dcc98 | osu.Game/Scoring/ScoreRank.cs | osu.Game/Scoring/ScoreRank.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Scoring
{
public enum ScoreRank
{
[Description(@"F")]
F,
[Description(@"D")]
D,... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Scoring
{
public enum ScoreRank
{
[Description(@"F")]
F,
[Description(@"F")]
D,... | Revert "Fix D rank displaying as F" | Revert "Fix D rank displaying as F"
This reverts commit 17b2a4ca0de3c486ab239da7e278fcbb9a7d8cd9.
| C# | mit | DrabWeb/osu,naoey/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,EVAST9919/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,DrabWeb/osu,ppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,n... |
0353fd55dcf1934b05d823877f7f3cab82157e5f | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// 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.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | autofac/Autofac.Multitenant |
4c601d288180efbdcdba4d97e854353f048e818a | NoteFolder/Models/File.cs | NoteFolder/Models/File.cs | using System;
using System.Data.Entity;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NoteFolder.Models {
public class FileDbContext : DbContext {
public DbSet<File> Files { get; set; }
}
public class File {
public int ID { get; set; }
public string Name { get; set; }
pu... | using System;
using System.Data.Entity;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NoteFolder.Models {
public class FileTestInit : DropCreateDatabaseAlways<FileDbContext> {
protected override void Seed(FileDbContext db) {
var docs = new File { Name = "Documents", Descriptio... | Add test data seeder to DbContext. | Add test data seeder to DbContext.
| C# | mit | derrickcreamer/NoteFolder,derrickcreamer/NoteFolder |
6f306bc1c2684825ff3cb11a73da5dbc8a2e9143 | Prometheus.AspNetCore/HttpMetrics/HttpRequestDurationOptions.cs | Prometheus.AspNetCore/HttpMetrics/HttpRequestDurationOptions.cs | namespace Prometheus.HttpMetrics
{
public sealed class HttpRequestDurationOptions : HttpMetricsOptionsBase
{
private const string DefaultName = "http_request_duration_seconds";
private const string DefaultHelp =
"Provides the duration in seconds of HTTP requests from an ASP.NET appl... | namespace Prometheus.HttpMetrics
{
public sealed class HttpRequestDurationOptions : HttpMetricsOptionsBase
{
private const string DefaultName = "http_request_duration_seconds";
private const string DefaultHelp =
"Provides the duration in seconds of HTTP requests from an ASP.NET appl... | Reduce default bucket count for HTTP request duration to 16 | Reduce default bucket count for HTTP request duration to 16
1ms to 65k ms
| C# | mit | andrasm/prometheus-net |
8722681a428fb24922c236e6a45a9aa1c650d210 | backend/tools/TestSuite/TestSuite.Shared/Fixtures/CreatedAppFixture.cs | backend/tools/TestSuite/TestSuite.Shared/Fixtures/CreatedAppFixture.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Reduce contributors to work for cloud tests. | Reduce contributors to work for cloud tests.
| C# | mit | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex |
aba71fbf4bcaec669994dac25d87c9a97efa93a6 | BoxStorageProvider/Pages/SM/SM202670.aspx.cs | BoxStorageProvider/Pages/SM/SM202670.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PX.Data;
using PX.SM.BoxStorageProvider;
using PX.Common;
public partial class Pages_SM_SM202670 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PX.Data;
using PX.SM.BoxStorageProvider;
using PX.Common;
public partial class Pages_SM_SM202670 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs... | Use boxenterprise.net when viewing file of folder from Acumatica | Use boxenterprise.net when viewing file of folder from Acumatica
| C# | mit | Acumatica/acumatica-boxstorageprovider,Acumatica/acumatica-boxstorageprovider |
ef264bf29f85232006f863ca99d5672a3f29ecfe | src/Cassette/BundleProcessing/ParseReferences.cs | src/Cassette/BundleProcessing/ParseReferences.cs | using System.IO;
namespace Cassette.BundleProcessing
{
public abstract class ParseReferences<T> : IBundleProcessor<T>
where T : Bundle
{
public void Process(T bundle)
{
foreach (var asset in bundle.Assets)
{
if (ShouldParseAsset(asset)... | using System.IO;
namespace Cassette.BundleProcessing
{
public abstract class ParseReferences<T> : IBundleProcessor<T>
where T : Bundle
{
public void Process(T bundle)
{
foreach (var asset in bundle.Assets)
{
if (ShouldParseAsset(asset)... | Allow control over references being added | Allow control over references being added
| C# | mit | andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette |
1c89aeb602695c98f6a71b479bdbdfe01af83b62 | Consola.Tests/Scriptables/Progeny.cs | Consola.Tests/Scriptables/Progeny.cs | using Consola.Library;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.Scriptables
{
public class Progeny : Scriptable
{
[Description("Simple Name Field")]
public string Name { get; set; }
}
}
| using Consola.Library;
using Consola.Library.util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.Scriptables
{
public class Progeny : Scriptable
{
[Description("Simple Name Field")]
public string Name { get; ... | Update Tests to reflect attribute move | Update Tests to reflect attribute move
| C# | mit | simo9000/Consola,simo9000/Consola,simo9000/Consola |
52be0d5af887be80a9793dead235522004e72268 | src/CompetitionPlatform/Program.cs | src/CompetitionPlatform/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace CompetitionPlatform
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace CompetitionPlatform
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
... | Set thread count to 1 in kestrel options. | Set thread count to 1 in kestrel options.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
cb34a0e28073a71294b3e851376075e730d82383 | src/Catel.MVVM/Catel.MVVM.Shared/Extensions/StringExtensions.cs | src/Catel.MVVM/Catel.MVVM.Shared/Extensions/StringExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StringExtensions.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -----------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StringExtensions.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -----------------------------... | Fix unique control name for WPF | Fix unique control name for WPF
| C# | mit | blebougge/Catel |
43daa7c7c09463acac11095bc93f304e1c20ae83 | osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.cs | osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using... | Use `Colour2` of orange theme for explicit pill | Use `Colour2` of orange theme for explicit pill
| C# | mit | NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu |
293f97286aa215eb3a4a4321f88976759739eb9a | Orders.com.Web.Api/App_Start/WebApiConfig.cs | Orders.com.Web.Api/App_Start/WebApiConfig.cs | using Orders.com.Web.Api.Filters;
using System.Web.Http;
namespace Orders.com.Web.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
GlobalConfiguration.Configuration.DependencyResolver ... | using Orders.com.Web.Api.Filters;
using System.Web.Http;
namespace Orders.com.Web.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
GlobalConfiguration.Configuration.DependencyResolver ... | Add route to support children | Add route to support children
| C# | mit | peasy/Samples,peasy/Samples,ahanusa/Peasy.NET,peasy/Peasy.NET,ahanusa/facile.net,peasy/Samples |
68036b0da4dc4962facb6c1ea2988e041484bc0e | src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs | src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | Add LocationCompleter to HDInsight cmdlets | Add LocationCompleter to HDInsight cmdlets
| C# | apache-2.0 | AzureAutomationTeam/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,naveedaz/azure-powershell,ClogenyTechnolog... |
8c6274d0e11ee21ed758aa1fb0f6487124c2669d | transf/Program.cs | transf/Program.cs | using System;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Text;
using transf.Log;
namespace transf
{
class Program
{
/// <summary>
/// Prompts for a nickname until a valid nickname is found.
/// </summary>
/// <returns>The valid nick... | using System;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Text;
using transf.Log;
namespace transf
{
class Program
{
/// <summary>
/// Prompts for a nickname until a valid nickname is found.
/// </summary>
/// <returns>The valid nick... | Add messageworker start to main() | Add messageworker start to main()
| C# | agpl-3.0 | alekratz/apphack2-project |
02a0e182ea1d211a0c0676048b35d6f03de0b1a2 | SlimeSimulation/View/WindowComponent/SimulationControlComponent/GrowthPhaseControlBox.cs | SlimeSimulation/View/WindowComponent/SimulationControlComponent/GrowthPhaseControlBox.cs | using Gtk;
using NLog;
using SlimeSimulation.Controller.WindowController.Templates;
namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent
{
internal class GrowthPhaseControlBox : AbstractSimulationControlBox
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger(... | using Gtk;
using NLog;
using SlimeSimulation.Controller.WindowController.Templates;
namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent
{
internal class GrowthPhaseControlBox : AbstractSimulationControlBox
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger(... | Allow for saving of simulations before the slime has fully expanded | Allow for saving of simulations before the slime has fully expanded
| C# | apache-2.0 | willb611/SlimeSimulation |
ac6a083a0e4532f103693ef3a42ba205ffcab37d | MMLibrarySystem/MMLibrarySystem/Views/BookList/Index.cshtml | MMLibrarySystem/MMLibrarySystem/Views/BookList/Index.cshtml | @model IPagedList<MMLibrarySystem.Models.BookListController.BookListItem>
@{
ViewBag.Title = "Book List";
}
@using (Ajax.BeginForm(new AjaxOptions()
{
HttpMethod = "GET",
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "bookListContainer"
}))
{
<fieldset style="border:1px solid black;... | @model IPagedList<MMLibrarySystem.Models.BookListController.BookListItem>
@{
ViewBag.Title = "Book List";
}
@using (Ajax.BeginForm(new AjaxOptions()
{
HttpMethod = "GET",
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "bookListContainer"
}))
{
<fieldset style="border:1px solid black;... | Add check box for show in library or not | Add check box for show in library or not
| C# | apache-2.0 | SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library |
698048ab59a773bd9cedac5dc01d74005dad56ad | AzureCloudService1/GOALWorker/LightNotifier.cs | AzureCloudService1/GOALWorker/LightNotifier.cs | using System.Diagnostics;
namespace GOALWorker
{
public static class LightNotifier
{
//TODO: Jared Implement call to each light here for their team
public static void NotifyLightsForTeam(string teamname)
{
Trace.TraceInformation("GOALWorker is Sending Light Request for {0}"... | using System.Diagnostics;
using System.Net;
using System.Text;
using System.IO;
namespace GOALWorker
{
public static class LightNotifier
{
//TODO: Jared Implement call to each light here for their team
public static void NotifyLightsForTeam(string teamname)
{
Trace.TraceInf... | Send a POST to light up the HockeyGoalLight | Send a POST to light up the HockeyGoalLight
| C# | bsd-3-clause | TeamGOOOOAAAAAALLL/Azure |
28f4d3852750bdcb071e489a5e92c3988b6b667a | Core/Tigwi.UI/Views/Account/ShowAccount.cshtml | Core/Tigwi.UI/Views/Account/ShowAccount.cshtml | @model Tigwi.UI.Models.IAccountModel
@{
ViewBag.Title = "ShowAccount";
}
@section LeftInfos
{
<p>Oh Hai @Model.Name</p>
@if(User.Identity.IsAuthenticated)
{
@Html.Partial("_FollowPerson", Model)
@Html.Partial("_AccountFollowedPublicLists", Model)
}
}
@Html... | @model Tigwi.UI.Models.IAccountModel
@{
ViewBag.Title = "ShowAccount";
}
@section LeftInfos
{
<h3>@Model.Name</h3>
<p>@Model.Description</p>
@if(User.Identity.IsAuthenticated)
{
@Html.Partial("_FollowPerson", Model)
@Html.Partial("_AccountFollowedPublicList... | Remove error in case the searchString is empty | Remove error in case the searchString is empty
| C# | bsd-3-clause | ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi |
2731be1739ee2c126f55ce85408b4d5b023776ad | JpPublicHolidays.Test/PublicHolidaysApiTest.cs | JpPublicHolidays.Test/PublicHolidaysApiTest.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PublicHolidays.Test
{
[TestClass]
public class PublicHolidaysApiTest
{
[TestMethod]
public void TestGet()
{
var holidays = JpPublicHolidays.PublicHolidays.Get().Result;
... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PublicHolidays.Test
{
[TestClass]
public class PublicHolidaysApiTest
{
[TestMethod]
public async Task TestGet()
{
var holidays = await JpPublicHo... | Change test method to async | Change test method to async
| C# | mit | kiyoaki/JpPublicHolidays.NET |
75ec321303f5025f08f662367302f27bd152f133 | PKMDS-Save-Editor/PKMDS-Save-Editor/frmMain.cs | PKMDS-Save-Editor/PKMDS-Save-Editor/frmMain.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PKMDS_CS;
namespace PKMDS_Save_Editor
{
public partial class frmMain : Form
{
public frmMain()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PKMDS_CS;
namespace PKMDS_Save_Editor
{
public partial class frmMain : Form
{
public frmMain()
{
... | Rework the way DB access is done | Rework the way DB access is done
| C# | unlicense | codemonkey85/PKMDS-Save-Editor |
21b6f8501bfaa28ef51f79a43fe8a30777c74cd9 | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | Create server side API for single multiple answer question | Create server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
9567abb6ce15b29cc59ab36c0172d31aa9c661fe | build/version.cake | build/version.cake | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | Use dot instead of dash to separate build metadata | Use dot instead of dash to separate build metadata
| C# | mit | ParticularLabs/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,dazinator/GitVersion,dazinator/GitVersion,gep13/GitVersion |
d25add8c53764a6569b231a9b1778a29a0f317bd | psychic-dangerzone/Views/Home/Index.cshtml | psychic-dangerzone/Views/Home/Index.cshtml | @model string
<div class="container">
<form action="/" method="POST">
<div class="control-group">
<div class="controls controls-row">
<div class="input-prepend">
<span class="add-on">Ask me</span>
<input id="query" name="query" class="inp... | @model string
<div class="container">
<form action="/" method="POST">
<div class="control-group">
<div class="controls controls-row">
<div class="input-prepend">
<span class="add-on">Ask me</span>
<input id="query" name="query" class="inp... | Hide results until results are available | Hide results until results are available
| C# | mit | thabofletcher/psychic-dangerzone,thabofletcher/psychic-dangerzone |
1efa09e3d3b2f74d5d5fcfb2a847410f6bacaaf1 | src/WpfMath/Utils/Result.cs | src/WpfMath/Utils/Result.cs | using System;
namespace WpfMath.Utils
{
internal static class Result
{
public static Result<TValue> Ok<TValue>(TValue value) => new Result<TValue>(value, null);
public static Result<TValue> Error<TValue>(Exception error) => new Result<TValue>(default, error);
}
internal readonly struct... | using System;
namespace WpfMath.Utils
{
internal static class Result
{
public static Result<TValue> Ok<TValue>(TValue value) => new Result<TValue>(value, null);
public static Result<TValue> Error<TValue>(Exception error) => new Result<TValue>(default, error);
}
internal readonly struct... | Fix parameter order in ArgumentException constructor | Fix parameter order in ArgumentException constructor
| C# | mit | ForNeVeR/wpf-math |
da6ee05dd689646d5c4831d9c1d7cc149754d184 | osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.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.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Dr... | // 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.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Dr... | Fix not being able to drag non-snaked sliders | Fix not being able to drag non-snaked sliders
| C# | mit | UselessToucan/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu |
be4e52cfc4785711915e3106c323cde6cba5f4a9 | osu.Framework.Tests/Containers/TestSceneEnumeratorVersion.cs | osu.Framework.Tests/Containers/TestSceneEnumeratorVersion.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.Contain... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.Contain... | Use discards to fix CI complaints | Use discards to fix CI complaints
| C# | mit | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework |
491bb013a854b313ab13be93280cb8799e896160 | source/Nuke.Common/Utilities/String.KnownWords.cs | source/Nuke.Common/Utilities/String.KnownWords.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
{
private static readonly string[] KnownWords =
{
"DotNet",
... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
{
private static readonly string[] KnownWords =
{
"DotNet",
... | Add SignPath to known words | Add SignPath to known words
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
752b3f760f56a6d8f097230e5cb9cd39f322c647 | Client/Asteroid.cs | Client/Asteroid.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
public Asteroid() {
type =... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
private float angularVel... | Apply angular velocity to asteroids | Apply angular velocity to asteroids
... when they bump into something, to make the scene feel a little bit
more alive
| C# | bsd-3-clause | iridinite/shiftdrive |
5046c2d34e364a36620fb82bc1e4fc49f467305e | src/Microsoft.Azure.Jobs.ServiceBus/Triggers/BrokeredMessageValueProvider.cs | src/Microsoft.Azure.Jobs.ServiceBus/Triggers/BrokeredMessageValueProvider.cs | using System;
using System.IO;
using System.Text;
using Microsoft.Azure.Jobs.Host.Bindings;
using Microsoft.ServiceBus.Messaging;
namespace Microsoft.Azure.Jobs.ServiceBus.Triggers
{
internal class BrokeredMessageValueProvider : IValueProvider
{
private readonly object _value;
private readonly... | using System;
using System.IO;
using System.Text;
using Microsoft.Azure.Jobs.Host.Bindings;
using Microsoft.ServiceBus.Messaging;
namespace Microsoft.Azure.Jobs.ServiceBus.Triggers
{
internal class BrokeredMessageValueProvider : IValueProvider
{
private readonly object _value;
private readonly... | Use body length for Service Bus binary messages. | Use body length for Service Bus binary messages.
| C# | mit | oliver-feng/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,Azure/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,shrishrirang/azure-webjobs-s... |
5f0c0594c6b566eeb210a3716cfdef6f81340715 | Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowImages.cs | Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowImages.cs | namespace TraktApiSharp.Objects.Get.Shows
{
using Basic;
using Newtonsoft.Json;
/// <summary>
/// A collection of images for a Trakt show.
/// </summary>
public class TraktShowImages
{
/// <summary>
/// A fanart image set for various sizes.
/// </summary>
[J... | namespace TraktApiSharp.Objects.Get.Shows
{
using Basic;
using Newtonsoft.Json;
/// <summary>A collection of images and image sets for a Trakt show.</summary>
public class TraktShowImages
{
/// <summary>Gets or sets the fan art image set.</summary>
[JsonProperty(PropertyName = "fan... | Update existing documentation for show images. | Update existing documentation for show images.
| C# | mit | henrikfroehling/TraktApiSharp |
24d4bec699d7d3b6a080ab2566597045fe7f9911 | hangman.cs | hangman.cs | using System;
public class Hangman {
public static void Main(string[] args) {
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:",
args.Length );
for (int i=0; i < args.Length; i++) {
Console.WriteLine("{0}", args[i]);
}
}
}
| using System;
using Table;
public class Hangman {
public static void Main(string[] args) {
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:",
args.Length );
for (int i=0; i < args.Length; i++) {
Console.WriteLine("{0}", args[i]); ... | Include the Table namespace into Hangman | Include the Table namespace into Hangman
| C# | unlicense | 12joan/hangman |
2116aa572ff979b2b8ba23cf771995465d634146 | PhotoLife/PhotoLife.Services/VotingService.cs | PhotoLife/PhotoLife.Services/VotingService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PhotoLife.Services
{
class VotingService
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PhotoLife.Data.Contracts;
using PhotoLife.Factories;
using PhotoLife.Models;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class VotingService
{
private... | Add vote method to voting service | Add vote method to voting service
| C# | mit | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife |
f1e630edcfd72b8b731a3583e62347f48920a881 | PogoLocationFeeder/Properties/AssemblyInfo.cs | PogoLocationFeeder/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PogoLocationFeeder")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PogoLocationFeeder")]
[assembly: Assembl... | Increment version 0.1.3 -> 0.1.4 | Increment version 0.1.3 -> 0.1.4
| C# | agpl-3.0 | genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder,5andr0/PogoLocationFeeder |
4f0d0dd99e76dab3b1443f9954bc077432a532f5 | NuGet.Extensions.Tests/MSBuild/ProjectAdapterTests.cs | NuGet.Extensions.Tests/MSBuild/ProjectAdapterTests.cs | using System;
using System.Linq;
using Microsoft.Build.Evaluation;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.TestData;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.MSBuild
{
[TestFixture]
public class ProjectAdapterTests
{
[Test]
public void ProjectWithDepende... | using System;
using System.Linq;
using Microsoft.Build.Evaluation;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.TestData;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.MSBuild
{
[TestFixture]
public class ProjectAdapterTests
{
private const string _expectedBinaryDependenc... | Test version of binary dependency | Test version of binary dependency
| C# | mit | BenPhegan/NuGet.Extensions |
f5af9522249665201663eb0d2ac81a1c894458a1 | samples/ButtonMadness/AppDelegate.cs | samples/ButtonMadness/AppDelegate.cs | using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
namespace SamplesButtonMadness
{
public partial class AppDelegate : NSApplicationDelegate
{
TestWindowController mainWindowController;
public AppDelegate ()
{
}
public override void FinishedLaun... | using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
namespace SamplesButtonMadness
{
public partial class AppDelegate : NSApplicationDelegate
{
TestWindowController mainWindowController;
public AppDelegate ()
{
}
public override void FinishedLaun... | Fix ButtonMadness application closes when Close button is clicked. | Fix ButtonMadness application closes when Close button is clicked.
| C# | apache-2.0 | PlayScriptRedux/monomac,dlech/monomac |
2b4e6fe4f93bac89f22e2603a7c9e4a49e2bf5b8 | SurveyMonkey/RequestSettings/GetSurveyListSettings.cs | SurveyMonkey/RequestSettings/GetSurveyListSettings.cs | using System;
namespace SurveyMonkey.RequestSettings
{
public class GetSurveyListSettings : IPagingSettings
{
public enum SortByOption
{
Title,
DateModified,
NumResponses
}
public enum SortOrderOption
{
ASC,
D... | using System;
namespace SurveyMonkey.RequestSettings
{
public class GetSurveyListSettings : IPagingSettings
{
public enum SortByOption
{
Title,
DateModified,
NumResponses
}
public enum SortOrderOption
{
ASC,
D... | Allow Title to be set for searching GetSurveyList | Allow Title to be set for searching GetSurveyList
| C# | mit | davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3 |
9ccf0af2705757130a70475c5f92057fe71046fb | BabbyJotz/Pages/WebViewPage.xaml.cs | BabbyJotz/Pages/WebViewPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BabbyJotz {
public partial class WebViewPage : ContentPage {
public WebViewPage(string title, Func<Task<string>> htmlFunc) {
InitializeComponent();
Title = title;
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BabbyJotz {
public partial class WebViewPage : ContentPage {
public WebViewPage(string title, Func<Task<string>> htmlFunc) {
InitializeComponent();
Title = title;
... | Make the Loading html page look better. | Make the Loading html page look better.
| C# | mit | bklimt/BabbyJotz,bklimt/BabbyJotz,bklimt/BabbyJotz,bklimt/BabbyJotz |
2523d8c0f0f32e041b3e8ac4221a4bdff3d6991c | source/XeroApi/Model/ModelBase.cs | source/XeroApi/Model/ModelBase.cs | using System.Collections.Generic;
using System.Xml.Serialization;
namespace XeroApi.Model
{
public abstract class EndpointModelBase : ModelBase
{
}
public abstract class ModelBase
{
[XmlAttribute("status")]
public ValidationStatus ValidationStatus
{
... | using System.Collections.Generic;
using System.Xml.Serialization;
namespace XeroApi.Model
{
public abstract class EndpointModelBase : ModelBase
{
}
public abstract class ModelBase : IModelBase
{
[XmlAttribute("status")]
public ValidationStatus ValidationStatus
... | Include interface to make IoC easier | Include interface to make IoC easier
| C# | mit | MatthewSteeples/XeroAPI.Net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.