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 |
|---|---|---|---|---|---|---|---|---|---|
1f4cd4138aa94a1fe9d58f3915dc7cdc6f10a1b4 | src/Server/Bit.Owin/Implementations/DebugLogStore.cs | src/Server/Bit.Owin/Implementations/DebugLogStore.cs | #define DEBUG
using System;
using System.Threading.Tasks;
using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Diagnostics;
namespace Bit.Owin.Implementations
{
public class DebugLogStore : ILogStore
{
private readonly IContentFormatter _formatter;
public DebugLogStore(IContentFormat... | #define DEBUG
using System;
using System.Threading.Tasks;
using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Diagnostics;
namespace Bit.Owin.Implementations
{
public class DebugLogStore : ILogStore
{
private readonly IContentFormatter _formatter;
public DebugLogStore(IContentFormat... | Debug log store saves logs only when debugger is attached | Debug log store saves logs only when debugger is attached
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
9502cf08b04976cbf80610db545baf64b5f1ec39 | osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs | osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
namespace osu.Framework.Extensions.ObjectExtensions
{
/// <summary>
/// E... | // 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.Diagnostics.CodeAnalysis;
namespace osu.Framework.Extensions.ObjectExtensions
{
/// <summary>
/// Extensions that apply to all objects.
/// </su... | Use null-forgiving operator rather than assertion | Use null-forgiving operator rather than assertion
| C# | mit | ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework |
a8dfcdebf9c6ec918742ce58210a622e656f628d | libsodium-net/SodiumCore.cs | libsodium-net/SodiumCore.cs | using System;
using System.Runtime.InteropServices;
namespace Sodium
{
/// <summary>
/// libsodium core information.
/// </summary>
public static class SodiumCore
{
static SodiumCore()
{
SodiumLibrary.init();
}
/// <summary>Gets random bytes</summary>
/// <param name="count">The co... | using System;
using System.Runtime.InteropServices;
namespace Sodium
{
/// <summary>
/// libsodium core information.
/// </summary>
public static class SodiumCore
{
static SodiumCore()
{
SodiumLibrary.init();
}
/// <summary>Gets random bytes</summary>
/// <param name="count">The co... | Add obsolete wrappers for compatability | Add obsolete wrappers for compatability
| C# | mit | deckar01/libsodium-net,fraga/libsodium-net,BurningEnlightenment/libsodium-net,adamcaudill/libsodium-net,deckar01/libsodium-net,bitbeans/libsodium-net,tabrath/libsodium-core,fraga/libsodium-net,BurningEnlightenment/libsodium-net,adamcaudill/libsodium-net,bitbeans/libsodium-net |
d5078bc5e3a14a311dbc4f9369153cb669190c19 | Editor/YesAndEditor/YesAndEditorUtil.cs | Editor/YesAndEditor/YesAndEditorUtil.cs | using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using System.Linq;
namespace YesAndEditor {
// Static class packed to the brim with helpful Unity editor utilities.
public static class YesAndEditorUtil {
// Forcefully mark open loaded scenes dirty and save them.
[MenuItem ("File/Force ... | using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using System.Linq;
namespace YesAndEditor {
// Static class packed to the brim with helpful Unity editor utilities.
public static class YesAndEditorUtil {
// Forcefully mark open loaded scenes dirty and save them.
[MenuItem ("File/Force ... | Attach SetEditorOnly function to GameObjects rather than MonoBehaviors | Attach SetEditorOnly function to GameObjects rather than MonoBehaviors
| C# | apache-2.0 | YesAndGames/YesAndEngine |
7989dc49b6c40c5164a16acbedb23b477c6d1046 | Nodejs/Product/ProjectWizard/NpmWizardExtension.cs | Nodejs/Product/ProjectWizard/NpmWizardExtension.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.VisualStudio.TemplateWizard;
namespace Microsoft.NodejsTools.ProjectWizard
{
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.VisualStudio.TemplateWizard;
namespace Microsoft.NodejsTools.Pro... | Create node_modules/@types after project creation | Create node_modules/@types after project creation
(cherry picked from commit 0be5a02f59e1aa93293352eefe9178160167855f)
| C# | apache-2.0 | paulvanbrenk/nodejstools,kant2002/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejstools,Micros... |
df01ae544c28da88e18146f0f8126194f388bddc | src/Salesforce.VisualStudio.Services/ConnectedService/SalesforceConnectedServiceProvider.cs | src/Salesforce.VisualStudio.Services/ConnectedService/SalesforceConnectedServiceProvider.cs | using Microsoft.VisualStudio.ConnectedServices;
using System;
using System.ComponentModel.Composition;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace Salesforce.VisualStudio.Services.ConnectedService
{
[Export(typeof(ConnectedServic... | using Microsoft.VisualStudio.ConnectedServices;
using System;
using System.ComponentModel.Composition;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace Salesforce.VisualStudio.Services.ConnectedService
{
[Export(typeof(ConnectedServiceProvider))]
[ExportMeta... | Remove unused field from previous commit | Remove unused field from previous commit
| C# | bsd-3-clause | developerforce/visual-studio-tools |
04d5c90fc4d887100b99a1a6a92a2d5aa20bb849 | 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; } //slider ques... | Comment on custom display option properties | Comment on custom display option properties
| C# | mit | bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3 |
996466763b3a56644db6769f570f595e2b55b99d | src/CSharpViaTest.Collections/30_MapReducePractices/CountNumberOfWordsInMultipleTextFiles.cs | src/CSharpViaTest.Collections/30_MapReducePractices/CountNumberOfWordsInMultipleTextFiles.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[SuperEasy]
public class CountNumberOfWordsInMultipleTextFiles
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[SuperEasy]
public class CountNumberOfWordsInMultipleTextFiles
... | Add comment to count word number. | [liuxia] Add comment to count word number.
| C# | mit | AxeDotNet/AxePractice.CSharpViaTest |
8b88083853a2f937fcb947a8248cf6642721bd14 | src/Nest/Domain/Cat/CatIndicesRecord.cs | src/Nest/Domain/Cat/CatIndicesRecord.cs | using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class CatIndicesRecord : ICatRecord
{
[JsonProperty("docs.count")]
public string DocsCount { get; set; }
[JsonProperty("docs.deleted")]
public string DocsDeleted { get; set; }
[JsonProperty("health")]
public string Health { get; set; }
[J... | using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class CatIndicesRecord : ICatRecord
{
[JsonProperty("docs.count")]
public string DocsCount { get; set; }
[JsonProperty("docs.deleted")]
public string DocsDeleted { get; set; }
[JsonProperty("health")]
public string Health { get; set; }
[J... | Add total memory to cat indices response | Add total memory to cat indices response
Closes #1349
| C# | apache-2.0 | gayancc/elasticsearch-net,starckgates/elasticsearch-net,LeoYao/elasticsearch-net,robertlyson/elasticsearch-net,tkirill/elasticsearch-net,KodrAus/elasticsearch-net,ststeiger/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,geofeedia/elasticsearch-net,cstlaurent/elasticsearch-net,ststeiger/elas... |
df59caf8c188509d40eadf7ed2c8af923294ed38 | src/Client/Rs317.Client.Unity/Platform/RsUnityPlatform.cs | src/Client/Rs317.Client.Unity/Platform/RsUnityPlatform.cs | using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
namespace Rs317.Sharp
{
public static class RsUnityPlatform
{
public static bool isWebGLBuild => true;
public static bool isPlaystationBuild => Application.platform == RuntimePlatform.PS4 || Application.platform == RuntimePla... | using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
namespace Rs317.Sharp
{
public static class RsUnityPlatform
{
public static bool isWebGLBuild => Application.platform == RuntimePlatform.WebGLPlayer;
public static bool isPlaystationBuild => Application.platform == RuntimePla... | Remove forced WebGL test code | Remove forced WebGL test code
| C# | mit | HelloKitty/317refactor |
af59b6f2c2bf21401c39bfaafb54dbbd5a062d50 | Interfaces/Events/ModuleEngineering.cs | Interfaces/Events/ModuleEngineering.cs | namespace DW.ELA.Interfaces.Events
{
using Newtonsoft.Json;
public class ModuleEngineering
{
[JsonProperty("Engineer")]
public string Engineer { get; set; }
[JsonProperty("EngineerID")]
public ulong EngineerId { get; set; }
[JsonProperty("BlueprintID")]
pu... | namespace DW.ELA.Interfaces.Events
{
using Newtonsoft.Json;
public class ModuleEngineering
{
[JsonProperty("Engineer")]
public string Engineer { get; set; }
[JsonProperty("EngineerID")]
public ulong EngineerId { get; set; }
[JsonProperty("BlueprintID")]
pu... | Fix for serialization errors with Loadout events caused by game bug | Fix for serialization errors with Loadout events caused by game bug
| C# | mit | DarkWanderer/DW.Inara.LogUploader |
bca0ce6f764ebed35c5018bf14ada179159c7b8b | ProjectMarkdown/Model/DocumentModel.cs | ProjectMarkdown/Model/DocumentModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Awesomium.Core;
using ProjectMarkdown.Annotations;
namespace ProjectMarkdown.Model
{
public class DocumentModel : INotifyPro... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Awesomium.Core;
using ProjectMarkdown.Annotations;
namespace ProjectMarkdown.Model
{
public class DocumentModel : INotifyPro... | Document model updated as per save document changes. | Document model updated as per save document changes.
| C# | mit | aykanatm/ProjectMarkdown |
71a871d7d1dede52cc9d75b435b7a70b664befc3 | osu.Game/Online/API/Requests/GetUserRecentActivitiesRequest.cs | osu.Game/Online/API/Requests/GetUserRecentActivitiesRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetUserRecentActivitiesRequest... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetUserRecentActivitiesRequest... | Add loved enum on BeatmapApproval | Add loved enum on BeatmapApproval
| C# | mit | UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,EVAST9919/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,peppy/osu |
a20ca0def90118d4d59a01d142b04f3c04349bfd | Lib/Common/File/ShareListingDetails.cs | Lib/Common/File/ShareListingDetails.cs | //-----------------------------------------------------------------------
// <copyright file="ShareListingDetails.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... | //-----------------------------------------------------------------------
// <copyright file="ShareListingDetails.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... | Add Snapshots option to listing shares | Add Snapshots option to listing shares
| C# | apache-2.0 | Azure/azure-storage-net,erezvani1529/azure-storage-net |
497d3fb93163c3c64262a8f5abd9291b506e744b | src/Elders.Multithreading.Scheduler/Properties/AssemblyInfo.cs | src/Elders.Multithreading.Scheduler/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitleAttribute("Elders.Multithreading.Scheduler")]
[assembly: AssemblyDescriptionAttribute("The idea is to create a dedicated threads for a particular work. The WorkPool class does not use the standard .NET thread p... | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitleAttribute("Elders.Multithreading.Scheduler")]
[assembly: AssemblyDescriptionAttribute("The idea is to create a dedicated threads for a particular work. The WorkPool class does not use the standard .NET thread p... | Replace log4net dependency with LibLog | Replace log4net dependency with LibLog
| C# | apache-2.0 | Elders/Multithreading.Scheduler |
3452a625895bf0ec67dfa16fa087e33a9da13d89 | tests/Tgstation.Server.Host.Tests/Core/TestAsyncDelayer.cs | tests/Tgstation.Server.Host.Tests/Core/TestAsyncDelayer.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.Core.Tests
{
[TestClass]
public sealed class TestAsyncDelayer
{
[TestMethod]
public async Task TestDelay()
{
var delayer = new AsyncDelayer();
var star... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.Core.Tests
{
[TestClass]
public sealed class TestAsyncDelayer
{
[TestMethod]
public async Task TestDelay()
{
var delayer = new AsyncDelayer();
var star... | Fix a minor async delayer issue | Fix a minor async delayer issue
| C# | agpl-3.0 | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server |
c8408bdd61049ed02bcf6306a2651cc19daac3ce | crisischeckin/Services/AdminService.cs | crisischeckin/Services/AdminService.cs | using Models;
using Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Services
{
public class AdminService : IAdmin
{
private readonly IDataService dataService;
public AdminService(IDataService se... | using Models;
using Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Services
{
public class AdminService : IAdmin
{
private readonly IDataService dataService;
public AdminService(I... | Add stub method for Getting volunteers by date | Add stub method for Getting volunteers by date
Returns the main method for now.
| C# | apache-2.0 | mjmilan/crisischeckin,andrewhart098/crisischeckin,coridrew/crisischeckin,mheggeseth/crisischeckin,brunck/crisischeckin,mjmilan/crisischeckin,jsucupira/crisischeckin,jplwood/crisischeckin,pooran/crisischeckin,MobileRez/crisischeckin,RyanBetker/crisischeckinUpdates,pottereric/crisischeckin,andrewhart098/crisischeckin,HTB... |
307c8829be41e1f85f5ebb62be34c30625520a32 | src/Workspaces/Core/Portable/TodoComments/TodoCommentOptions.cs | src/Workspaces/Core/Portable/TodoComments/TodoCommentOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeA... | Update nullable annotations in TodoComments folder | Update nullable annotations in TodoComments folder
| C# | mit | KevinRansom/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,stephentoub/roslyn,tannergooding/roslyn,gafter/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,genlu/roslyn,sharwell/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,wvdd007/roslyn,heejaechang/roslyn,brettfo/roslyn,mavasani/roslyn,weltkante/roslyn,aelij/roslyn,CyrusN... |
41e13aef239b02b3407ab9fd0094e767d84147ae | osu.Game/Skinning/LegacySkinDecoder.cs | osu.Game/Skinning/LegacySkinDecoder.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps.Formats;
using System;
using System.Globalization;
namespace osu.Game.Skinning
{
public class LegacySkinDecoder : LegacyDecoder<SkinConfigur... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps.Formats;
using System;
using System.Globalization;
namespace osu.Game.Skinning
{
public class LegacySkinDecoder : LegacyDecoder<SkinConfigura... | Use more standard parsing method | Use more standard parsing method
| C# | mit | EVAST9919/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,peppy/osu,ZLima12/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,johnn... |
05802f073af6b0b715620609c9729ab612b9ad99 | src/modules/Data.EF/AppDbContext.cs | src/modules/Data.EF/AppDbContext.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace core.Extensions.Data
{
public class AppDbContext : DbContext
{
static AppDbContext()
{
}
... | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace core.Extensions.Data
{
public class AppDbContext : DbContext
{
static AppDbContext()
{
}
... | Fix EF sql column type unit | Fix EF sql column type unit
| C# | mit | massimodipaolo/bom-core |
1036270ea6363e9d1c39aa278924c8c7c72dd994 | Src/ReSharperExtensionsShared.Tests/ZoneMarkerAndSetUpFixture.cs | Src/ReSharperExtensionsShared.Tests/ZoneMarkerAndSetUpFixture.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using ReSharperExtensionsShared.Tests;
[assembly: RequiresSTA]
namespace ReS... | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
[assembly: RequiresSTA]
namespace ReSharperExtensionsShared.Tests
{
[Zon... | Move TestEnvironmentSetUpFixture into project root namespace | Move TestEnvironmentSetUpFixture into project root namespace
| C# | mit | ulrichb/ReSharperExtensionsShared |
bb5f37164760088a3b30b617e9f252f5a5f4eeed | src/User32.Tests/User32Facts.cs | src/User32.Tests/User32Facts.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runti... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runti... | Add test for INPUT union | Add test for INPUT union
| C# | mit | AArnott/pinvoke,vbfox/pinvoke,jmelosegui/pinvoke |
c97c6565a94e1728abf4cee5de9a768f8b043a0f | Grades.Tests/UnitTest1.cs | Grades.Tests/UnitTest1.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Grades.Tests
{
[TestClass]
public class GradeBookTests
{
private GradeStatistics _stats;
public GradeBookTests()
{
var book = new GradeBook();
book.AddGrade(90f);
book.AddGrade(100f)... | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Grades.Tests
{
[TestClass]
public class GradeBookTests
{
private GradeStatistics _stats;
public GradeBookTests()
{
var book = new GradeBook();
book.AddGrade(90f);
book.AddGrade(100f)... | Fix typo in CalculatesAverageGrade() test | Fix typo in CalculatesAverageGrade() test
| C# | mit | charlesroper/CSharp-Fundamentals |
49c19abf2be3280ce19747e882a713449123069e | ruibarbo.core/Wpf/Base/WpfWindowBase.cs | ruibarbo.core/Wpf/Base/WpfWindowBase.cs | using ruibarbo.core.ElementFactory;
using ruibarbo.core.Wpf.Invoker;
namespace ruibarbo.core.Wpf.Base
{
public class WpfWindowBase<TNativeElement> : WpfFrameworkElementBase<TNativeElement>
where TNativeElement : System.Windows.Window
{
public WpfWindowBase(ISearchSourceElement searchPar... | using ruibarbo.core.ElementFactory;
using ruibarbo.core.Wpf.Invoker;
namespace ruibarbo.core.Wpf.Base
{
public class WpfWindowBase<TNativeElement> : WpfFrameworkElementBase<TNativeElement>
where TNativeElement : System.Windows.Window
{
public WpfWindowBase(ISearchSourceElement searchPar... | Support for Title on Windows. | Support for Title on Windows.
| C# | apache-2.0 | toroso/ruibarbo |
66adaed39d5046eda675c05ace2a6f8e9a81ea77 | Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/ProjectionPageStaff.cshtml | Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/ProjectionPageStaff.cshtml | @using System.Dynamic;
@using System.Linq;
@using Orchard.ContentManagement;
@using Orchard.Utility.Extensions;
@functions
{
dynamic GetMainPartFromContentItem(ContentItem item)
{
// get the ContentPart that has the same name as the item's ContentType
// so that we can access the item fields.
... | @using System.Dynamic;
@using System.Linq;
@using Orchard.ContentManagement;
@using Orchard.Utility.Extensions;
@functions
{
dynamic GetMainPartFromContentItem(ContentItem item)
{
// get the ContentPart that has the same name as the item's ContentType
// so that we can access the item fields.
... | Tweak the latest news view. | Tweak the latest news view.
| C# | bsd-3-clause | bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes |
ee25f4c0b85fe30f4fb8325ed4b74b1d4d4a74e0 | TodotxtTouch.WindowsPhone/Tasks/TaskFilterFactory.cs | TodotxtTouch.WindowsPhone/Tasks/TaskFilterFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using EZLibrary;
using TodotxtTouch.WindowsPhone.ViewModel;
namespace TodotxtTouch.WindowsPhone.Tasks
{
public class TaskFilterFactory
{
private const char Delimiter = ',';
public static TaskFilter CreateTaskFilterFromString(string filter)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using EZLibrary;
using TodotxtTouch.WindowsPhone.ViewModel;
namespace TodotxtTouch.WindowsPhone.Tasks
{
public class TaskFilterFactory
{
private const char Delimiter = ',';
public static TaskFilter CreateTaskFilterFromString(string filter)
{
... | Fix attempting to filter by project filtered by context instead | Fix attempting to filter by project filtered by context instead
| C# | mit | hartez/TodotxtTouch.WindowsPhone |
2a8c5aa5c5d0cdbb7e981ab438315a578430da98 | osu.Framework.Tests/Audio/DevicelessAudioTest.cs | osu.Framework.Tests/Audio/DevicelessAudioTest.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;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class DevicelessAudioTest : AudioThreadTest
{
public override void... | // 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;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class DevicelessAudioTest : AudioThreadTest
{
public override void... | Fix potential test failure due to not waiting long enough on track start | Fix potential test failure due to not waiting long enough on track start
| C# | mit | peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework |
6cb5fad8e1ca9bf5c90e088c4fe6977a85697626 | GetChanges/Program.cs | GetChanges/Program.cs | using Nito.AsyncEx;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Alteridem.GetChanges
{
class Program
{
static int Main(string[] args)
{
var options = new Options();
if (!CommandLine.Parser.Default.ParseArguments(args, opti... | using Nito.AsyncEx;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Alteridem.GetChanges
{
class Program
{
static int Main(string[] args)
{
var options = new Options();
if (!CommandLine.Parser.Default.ParseArguments(args, opti... | Update Markdown output to match linter now used in NUnit docs | Update Markdown output to match linter now used in NUnit docs | C# | mit | rprouse/GetChanges |
e9bd87545e47af17f8226f3850b906a147217883 | osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Overlays.Mods;
using osu.Game.Screens.Onlin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Overlays.Mods;
using osu.Game.Screens.Onlin... | Fix flaky test in free mod select test scene | Fix flaky test in free mod select test scene
| C# | mit | peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu |
0b4dc816ffad304f7320981e0e155ed3b09c7918 | row.cs | row.cs | using System;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return "I have many cells!";
}
}
}
| using System;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
public string[] Lines() {
... | Join up hardcoded lines in a Row | Join up hardcoded lines in a Row
| C# | unlicense | 12joan/hangman |
96357f83b099c7adf21f89a7c88b49927c57cbc4 | DependencyContext.cs | DependencyContext.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyModel
{
... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyModel
{
... | Fix dependency context bug and add load overload | Fix dependency context bug and add load overload
| C# | mit | rakeshsinghranchi/core-setup,janvorli/core-setup,zamont/core-setup,joperezr/core-setup,ravimeda/core-setup,ramarag/core-setup,MichaelSimons/core-setup,ellismg/core-setup,ellismg/core-setup,janvorli/core-setup,chcosta/core-setup,ramarag/core-setup,joperezr/core-setup,vivmishra/core-setup,cakine/core-setup,steveharter/co... |
54463a6d2977b2fe339585f0bfd6a62e56fbed82 | src/OpenSage.Viewer/UI/Views/GameView.cs | src/OpenSage.Viewer/UI/Views/GameView.cs | using System.Numerics;
using ImGuiNET;
namespace OpenSage.Viewer.UI.Views
{
internal abstract class GameView : AssetView
{
private readonly AssetViewContext _context;
protected GameView(AssetViewContext context)
{
_context = context;
}
public override void... | using System.Numerics;
using ImGuiNET;
namespace OpenSage.Viewer.UI.Views
{
internal abstract class GameView : AssetView
{
private readonly AssetViewContext _context;
protected GameView(AssetViewContext context)
{
_context = context;
}
public override void... | Fix mouse position in game view | Fix mouse position in game view
| C# | mit | feliwir/openSage,feliwir/openSage |
5cb64a993009020afdb6ab842cbb1339e78fa108 | MoneyEntry.ExpensesAPI/Models/TransactionModel.cs | MoneyEntry.ExpensesAPI/Models/TransactionModel.cs | using MoneyEntry.DataAccess.EFCore.Expenses.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MoneyEntry.ExpensesAPI.Models
{
public class TransactionModel
{
public int TransactionId { get; se... | using MoneyEntry.DataAccess.EFCore.Expenses.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MoneyEntry.ExpensesAPI.Models
{
public class TransactionModel
{
public int TransactionId { get; se... | Update model for transaction to not need the person id as it will get set from the jwt later | Update model for transaction to not need the person id as it will get set from the jwt later
| C# | bsd-3-clause | djangojazz/MoneyEntry |
0d5b9862fbee1192ebdbaba6ee88035766d40841 | Oogstplanner.Web/Views/Crop/Index.cshtml | Oogstplanner.Web/Views/Crop/Index.cshtml | @model IEnumerable<Oogstplanner.Models.Crop>
@{
ViewBag.Title = "Gewassen";
}
<div id="top"></div>
<div id="yearCalendar">
<h1>Dit zijn de gewassen in onze database:</h1>
<table class="table table-striped">
<tr>
<th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th>
<th>Opp. per zak</th><... | @model IEnumerable<Crop>
@{
ViewBag.Title = "Gewassen";
}
<div id="top"></div>
<div id="yearCalendar">
<h1>Dit zijn de gewassen in onze database:</h1>
<table class="table table-striped">
<tr>
<th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th>
<th>Opp. per zak</th><th>Prijs per zakje</... | Change model reference with old namespace to new | Change model reference with old namespace to new
| C# | mit | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner |
89e61f740b00fc8b86da52ed75e6edcb122cb84e | Source/WienerLinien.Api/Routing/RoutingUrlBuilder.cs | Source/WienerLinien.Api/Routing/RoutingUrlBuilder.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WienerLinien.Api.Routing
{
public static class RoutingUrlBuilder
{
private const string BaseUrl = "http://www.wienerlinien.at/ogd_routing/XML_TRIP_REQ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WienerLinien.Api.Routing
{
public static class RoutingUrlBuilder
{
private const string BaseUrl = "http://www.wienerlinien.at/ogd_routing/XML_TRIP_REQ... | Fix last bug in parameters | Fix last bug in parameters
| C# | mit | christophwille/viennarealtime,christophwille/viennarealtime |
b039eaa3c86bc0b407c1a1893655c9d53daa0239 | src/Options/GeneralOptionControl.cs | src/Options/GeneralOptionControl.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using NuGet.VisualStudio;
namespace NuGet.Options {
public partial class GeneralOptionControl : UserControl {
private IRecentPackageRepository _recentPackageRepository;
private IProductUpdateSettings _p... | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using NuGet.VisualStudio;
namespace NuGet.Options {
public partial class GeneralOptionControl : UserControl {
private IRecentPackageRepository _recentPackageRepository;
private IProductUpdateSettings _p... | Fix bug: Clearing the cache says "All items have been cleared from the recent packages list." Work items: 986 | Fix bug: Clearing the cache says "All items have been cleared from the recent packages list." Work items: 986
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
234c48495b549d6b1e9ebb9bded7042181463ca9 | GUtils.MVVM/ViewModelBase.cs | GUtils.MVVM/ViewModelBase.cs | using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace GUtils.MVVM
{
/// <summary>
/// Implements a few utility functions for a ViewModel base
/// </summary>
public abstract class ViewModelBase : INotifyPropertyChanged
{
/// <inheritdoc/>
public... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace GUtils.MVVM
{
/// <summary>
/// Implements a few utility functions for a ViewModel base
/// </summary>
public abstract class ViewModelBase : INotifyPropertyChanged
{
... | Fix the possibility of a NullReferenceException | Fix the possibility of a NullReferenceException
| C# | mit | GGG-KILLER/GUtils.NET |
68745ef662f0f27e64bfc9fbbebd12ab9e0ae0d8 | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyProduct("Fixie")]
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyCopyright("Copyright (c) 2013 Patrick Lioi")]
[assembly: AssemblyCompany("Patrick Lioi")... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyProduct("Fixie")]
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyCopyright("Copyright (c) 2013-2014 Patrick Lioi")]
[assembly: AssemblyCompany("Patrick L... | Update copyright year span to include 2014. This change was generated by the build script. | Update copyright year span to include 2014. This change was generated by the build script.
| C# | mit | fixie/fixie,Duohong/fixie,KevM/fixie,EliotJones/fixie,bardoloi/fixie,JakeGinnivan/fixie,bardoloi/fixie |
2a8a679b0d4711c84609760d73cbaffedf20f2bc | Alexa.NET/Response/RequestedPermission.cs | Alexa.NET/Response/RequestedPermission.cs | using System;
namespace Alexa.NET.Response
{
public static class RequestedPermission
{
public const string ReadHouseholdList = "read::alexa:household:list";
public const string WriteHouseholdList = "write::alexa:household:list";
}
}
| using System;
namespace Alexa.NET.Response
{
public static class RequestedPermission
{
public const string ReadHouseholdList = "read::alexa:household:list";
public const string WriteHouseholdList = "write::alexa:household:list";
public const string FullAddress = "read::alexa:device:all... | Add address permission constants for permissions card | Add address permission constants for permissions card
| C# | mit | timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet |
9356298038d7a219af6c1fa2a7140b144c2ef892 | src/git-istage/Program.cs | src/git-istage/Program.cs | using System;
using System.IO;
using System.Linq;
using LibGit2Sharp;
namespace GitIStage
{
internal static class Program
{
private static void Main()
{
var repositoryPath = ResolveRepositoryPath();
if (!Repository.IsValid(repositoryPath))
{
... | using System;
using System.IO;
using System.Linq;
using LibGit2Sharp;
namespace GitIStage
{
internal static class Program
{
private static void Main()
{
var repositoryPath = ResolveRepositoryPath();
if (!Repository.IsValid(repositoryPath))
{
... | Fix probing for git on non-Windows machines | Fix probing for git on non-Windows machines
This fixes #2. It's not perfect, but it seems like a good first stab.
| C# | mit | terrajobst/git-istage,terrajobst/git-istage |
a4f7eb83c7baa4b847600fcca112b219abe71287 | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedParticipants.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedParticipants.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.Graphics;
using osu.Game.Screens.Multi.Components;
using osuTK;
namespace osu.Game.Tests.Visual.Multiplayer
{
public class... | // 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.Graphics;
using osu.Game.Screens.Multi.Components;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Multiplayer
{
pub... | Fix overlined participants test scene not working | Fix overlined participants test scene not working
| C# | mit | ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu |
6d360668db8895f2ae38711d5b19c2f9dffe672d | RxSample/MouseRx2Wpf/MainWindow.xaml.cs | RxSample/MouseRx2Wpf/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... | Implement mouse drag event as IObservable | Implement mouse drag event as IObservable
| C# | mit | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 |
6d0ad74156041f0f74d0b35d31a5b76b25dcb6a7 | ImportExport/SampleImpExp/SampleImpExpCore/SampleImpExpCore.cs | ImportExport/SampleImpExp/SampleImpExpCore/SampleImpExpCore.cs |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Abstractspoon.Tdl.PluginHelpers;
namespace SampleImpExp
{
public class SampleImpExpCore
{
public bool Export(TaskList srcTasks, string sDestFilePath, bool bSilent, Preferences prefs, string sKey)
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Abstractspoon.Tdl.PluginHelpers;
namespace SampleImpExp
{
public class SampleImpExpCore
{
public bool Export(TaskList srcTasks, string sDestFilePath, bool bSilent, Preferences prefs, string sKey)
... | Make sample app more helpful | Make sample app more helpful
| C# | epl-1.0 | abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins |
fcf83c35c8f6199a4077d9bf589c40e4c286ae16 | realm/RealmNet.Shared/Transaction.cs | realm/RealmNet.Shared/Transaction.cs | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace RealmNet
{
public class Transaction : IDisposable
{
private SharedRealmHandle _sharedRealmHandle;
private bool _isOpen;
internal Transaction(SharedRealmHandle sharedRealm... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace RealmNet
{
public class Transaction : IDisposable
{
private SharedRealmHandle _sharedRealmHandle;
private bool _isOpen;
internal Transaction(SharedRealmHandle sharedRealm... | Make transaction roll back per default until we figure out what to do | Make transaction roll back per default until we figure out what to do
| C# | apache-2.0 | Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet |
2e5d3d2bea021f330fd209c053bc09839a53a125 | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/DeliveryModel.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/DeliveryModel.cs | using System;
using System.Text.Json.Serialization;
namespace SFA.DAS.CommitmentsV2.Types
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DeliveryModel : byte
{
Regular = 0,
PortableFlexiJob = 1,
[Obsolete("Use `Regular` instead of `Normal`", true)]
... | using System.Text.Json.Serialization;
namespace SFA.DAS.CommitmentsV2.Types
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DeliveryModel : byte
{
Regular = 0,
PortableFlexiJob = 1,
}
} | Remove obsolete delivery model names | Remove obsolete delivery model names
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
a6cafd3b44f53c14683e2dfbcc4cd86eb0f1d222 | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
// If you change this version, make sure to change Build\build.proj accordingly
[as... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany(".NET Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
// If you change this version, make sure to change Build\build.proj accordingly
[assembly... | Change AssemblyCompany to .NET Foundation | Change AssemblyCompany to .NET Foundation
| C# | apache-2.0 | kali786516/kudu,shibayan/kudu,juvchan/kudu,sitereactor/kudu,projectkudu/kudu,mauricionr/kudu,kali786516/kudu,duncansmart/kudu,duncansmart/kudu,kenegozi/kudu,projectkudu/kudu,juvchan/kudu,puneet-gupta/kudu,YOTOV-LIMITED/kudu,badescuga/kudu,barnyp/kudu,uQr/kudu,puneet-gupta/kudu,bbauya/kudu,projectkudu/kudu,barnyp/kudu,b... |
426a3238a451ab233371a2f886f42da02d18a7a7 | src/ReverseMarkdown/Converters/Br.cs | src/ReverseMarkdown/Converters/Br.cs |
using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Br
: ConverterBase
{
public Br(Converter converter)
: base(converter)
{
this.Converter.Register("br", this);
}
public override string Convert(HtmlNode node)
{
return " " + Environment.NewLine;
}
}
}
|
using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Br
: ConverterBase
{
public Br(Converter converter)
: base(converter)
{
this.Converter.Register("br", this);
}
public override string Convert(HtmlNode node)
{
return Environment.NewLine;
}
}
}
| Remove trailing spaces from <br> | Remove trailing spaces from <br>
| C# | mit | mysticmind/reversemarkdown-net |
f1ce465ac3a73ffe81ac174c9e378c2653e2fd5a | Unit.Tests/MethodRecorder.cs | Unit.Tests/MethodRecorder.cs | using System;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
namespace Unit.Tests
{
/// <summary>
/// Proxy that records method invocations.
/// </summary>
public class MethodRecorder<T> : RealProxy
{
/// <summary>
/// Creates a new interceptor that r... | using System;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
using Utilities.Reflection;
namespace Unit.Tests
{
/// <summary>
/// Proxy that records method invocations.
/// </summary>
public class MethodRecorder<T> : RealProxy
{
/// <summary>
/// Crea... | Use existing extension method to get default value for a type. | Use existing extension method to get default value for a type.
| C# | apache-2.0 | mthamil/PlantUMLStudio,mthamil/PlantUMLStudio |
de6cb9c4d76b8acb2d970ffafa06f54386d73207 | Website/Views/Shared/UserDisplay.cshtml | Website/Views/Shared/UserDisplay.cshtml | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
<span class="welcome"><a href="@Url.LogOn()">Log On</a></span>
<a href="@Url.Action(MVC.Users.Register())" class="register">Register</a>
}
else
{
<span class="welcome"><a href="@Url.Action(MVC.Users.Account())... | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
<span class="welcome">@Html.ActionLink("Log On", "LogOn", "Authentication", new { returnUrl = Request.RequestContext.HttpContext.Request.RawUrl }, null)</span>
<a href="@Url.Action(MVC.Users.Register())" class="register">Register... | Support ReturnUrl to public pages | Support ReturnUrl to public pages
| C# | apache-2.0 | projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,KuduApps/NuGetGallery,JetBrains/ReSharperGallery,skbkontur/NuGetGallery,mtian/SiteExtensionGallery,KuduApps/NuGetGallery,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGal... |
3b8a12b711470f692ba1bf5f1559691f93901227 | elbsms_ui/Program.cs | elbsms_ui/Program.cs | using System;
using System.Windows.Forms;
namespace elbsms_ui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Applicati... | using System;
using System.Windows.Forms;
using elb_utilities.NativeMethods;
namespace elbsms_ui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// set timer resolut... | Set system timer resolution for the sleep call in the wait loop | Set system timer resolution for the sleep call in the wait loop
| C# | mit | eightlittlebits/elbsms |
8fafd041feda8c450cdfa18e632555d3e2583839 | bindings/src/Shapes/Shape.cs | bindings/src/Shapes/Shape.cs | using Urho.Resources;
namespace Urho.Shapes
{
public abstract class Shape : StaticModel
{
Material material;
public override void OnAttachedToNode(Node node)
{
Model = Application.ResourceCache.GetModel(ModelResource);
Color = color;
}
protected abstract string ModelResource { get; }
Color colo... | using Urho.Resources;
namespace Urho.Shapes
{
public abstract class Shape : StaticModel
{
Material material;
public override void OnAttachedToNode(Node node)
{
Model = Application.ResourceCache.GetModel(ModelResource);
Color = color;
}
protected abstract string ModelResource { get; }
Color colo... | Set Magenta as a default color for shapes | Set Magenta as a default color for shapes
| C# | mit | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho |
c49753d19d645b900d0f2f317ea68c7e263bb79a | src/Avalonia.Xaml.Interactions/Custom/ShowPointerPositionBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/ShowPointerPositionBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that displays cursor position on <see cref="InputElement.PointerMoved"/> event for the <see cref="Behavior{T}.AssociatedObject"/> using <see cref="TextBlock.Text... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that displays cursor position on <see cref="InputElement.PointerMoved"/> event for the <see cref="Behavior{T}.AssociatedObject"/> using <see cref="TextBlock.Text... | Add ResolveByName attribute to TargetTextBlock property | Add ResolveByName attribute to TargetTextBlock property
| C# | mit | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors |
985633b7b21d5b1e22af8845879cbcbddb03d7e5 | src/Opten.Umbraco.ListView/Events/TreeEventHandler.cs | src/Opten.Umbraco.ListView/Events/TreeEventHandler.cs | using Opten.Umbraco.ListView.Extensions;
using System;
using System.Linq;
using Umbraco.Core;
using Umbraco.Web.Trees;
namespace ClassLibrary1
{
public class TreeEventHandler : ApplicationEventHandler
{
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext a... | using AutoMapper;
using Opten.Umbraco.ListView.Extensions;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Trees;
namespace ClassLibrary1
{
public class TreeEventHandler : ApplicationEventHandler
{
protected override void Application... | Update ContentItemDisplay mapper to set IsContainer and IsChildOfListView correctly | Update ContentItemDisplay mapper to set IsContainer and IsChildOfListView correctly
| C# | mit | OPTEN/Opten.Umbraco.ListView,OPTEN/Opten.Umbraco.ListView,OPTEN/Opten.Umbraco.ListView |
f345ede698fb8ac51480ff30f7b5a9ecb73eaddf | Moya.Runner/Runners/TimerDecorator.cs | Moya.Runner/Runners/TimerDecorator.cs | namespace Moya.Runner.Runners
{
using System.Diagnostics;
using System.Reflection;
using Models;
using Statistics;
public class TimerDecorator : ITestRunner
{
private readonly IDurationManager duration;
public ITestRunner DecoratedTestRunner { get; set; }
publ... | namespace Moya.Runner.Runners
{
using System.Diagnostics;
using System.Reflection;
using Models;
public class TimerDecorator : ITestRunner
{
public ITestRunner DecoratedTestRunner { get; set; }
public TimerDecorator(ITestRunner testRunner)
{
DecoratedTe... | Remove reference to statistic manager from timerdecorator. | Remove reference to statistic manager from timerdecorator.
| C# | mit | Hammerstad/Moya |
3954345be5c785cf6237096a40b067d1c7e1774b | Foundation/Server/Foundation.Api/Middlewares/DefaultPageMiddleware.cs | Foundation/Server/Foundation.Api/Middlewares/DefaultPageMiddleware.cs | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin;
using Foundation.Api.Contracts;
using Foundation.Core.Contracts;
namespace Foundation.Api.Middlewares
{
public class DefaultPageMiddleware : OwinMiddleware
{
public DefaultPageMiddleware(OwinMiddleware next)
: base... | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin;
using Foundation.Api.Contracts;
using Foundation.Core.Contracts;
namespace Foundation.Api.Middlewares
{
public class DefaultPageMiddleware : OwinMiddleware
{
public DefaultPageMiddleware(OwinMiddleware next)
: base... | Use owinContext.Request.CallCancelled in default page middleware | Use owinContext.Request.CallCancelled in default page middleware
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
e8c98bdc41a03ae22e3a7107f14d01eee8b29919 | Battery-Commander.Web/Models/MilitaryEducationLevel.cs | Battery-Commander.Web/Models/MilitaryEducationLevel.cs | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Web.Models
{
public enum MilitaryEducationLevel : byte
{
Unknown,
[Display(Name = "(AIT) Advanced Individual Training", ShortName = "AIT")]
AIT = 1,
[Display(Name = "(BLC) Basic Leader Course", ShortName ... | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Web.Models
{
public enum MilitaryEducationLevel : byte
{
Unknown,
[Display(Name = "(AIT) Advanced Individual Training", ShortName = "AIT")]
AIT = 1,
[Display(Name = "(BLC) Basic Leader Course", ShortName ... | Add MLC and SMC to education levels | Add MLC and SMC to education levels
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
22afa542a053b6780b555090362a614a2ce37808 | SolidworksAddinFramework/ModelViewManagerExtensions.cs | SolidworksAddinFramework/ModelViewManagerExtensions.cs | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | Add comment that `IModelViewManager::RemoveSectionView` doesn't work and link a forum question | Add comment that `IModelViewManager::RemoveSectionView` doesn't work and link a forum question
| C# | mit | Weingartner/SolidworksAddinFramework |
3735b759e5d58a11d02c772ea672352f12a5ee11 | src/Intercom/Properties/AssemblyInfo.cs | src/Intercom/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Library")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Intercom.Dotnet.Client")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ... | Rename assembly to proper name | Rename assembly to proper name
| C# | apache-2.0 | intercom/intercom-dotnet |
7db230f0f1c6e7e27f0ed080d29a7a91463b75e4 | src/Terrajobst.Cci/MemberExtensions.cs | src/Terrajobst.Cci/MemberExtensions.cs | using Microsoft.Cci;
using Microsoft.Cci.Extensions;
namespace Terrajobst.Cci
{
public static class MemberExtensions
{
public static string GetNamespaceName(this ITypeDefinitionMember member)
{
return member.ContainingTypeDefinition.GetNamespaceName();
}
public sta... | using Microsoft.Cci;
using Microsoft.Cci.Extensions;
namespace Terrajobst.Cci
{
public static class MemberExtensions
{
public static string GetNamespaceName(this IDefinition definition)
{
if (definition is ITypeDefinitionMember member)
return member.ContainingTypeDe... | Define extension method over IDefinition | Define extension method over IDefinition
We can currently only answer those questions for a type member, but not
for types and namespaces.
| C# | mit | terrajobst/platform-compat |
fdcb4a71ad341d38570a56aab76ef573e3815c01 | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | Fix incorrect array pool usage | Fix incorrect array pool usage
| C# | mit | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework |
715d36409d391160f3de72ea1ad76dd41f10ae30 | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | using System.Linq;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Unicorn.Predicates;
namespace Unicorn.Pipelines.UnicornSyncEnd
{
public class SendSerializationCompleteEvent : IUnicornSyncEndProcessor
{
public void ... | using System.Linq;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Sitecore.Jobs;
using Unicorn.Predicates;
namespace Unicorn.Pipelines.UnicornSyncEnd
{
public class SendSerializationCompleteEvent : IUnicornSyncEndProces... | Raise serialization complete async, as it can take like 15 seconds | Raise serialization complete async, as it can take like 15 seconds
| C# | mit | GuitarRich/Unicorn,kamsar/Unicorn,MacDennis76/Unicorn,PetersonDave/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn,MacDennis76/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,kamsar/Unicorn |
5ebeec2373664dc38084c521a41baa0a5833a840 | PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs | PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs | namespace PastaPricer.Tests.Acceptance
{
using NSubstitute;
using NUnit.Framework;
[TestFixture]
public class PastaPricerAcceptanceTests
{
[Test]
public void Should_PublishPastaPriceOnceStartedAndMarketDataIsAvailable()
{
// Mocks instantiation
var p... | namespace PastaPricer.Tests.Acceptance
{
using NSubstitute;
using NUnit.Framework;
[TestFixture]
public class PastaPricerAcceptanceTests
{
[Test]
public void Should_Publish_Pasta_Price_Once_Started_And_MarketData_Is_Available()
{
// Mocks instantiation
... | Rename acceptance test with proper underscores. | Rename acceptance test with proper underscores.
| C# | apache-2.0 | dupdob/Michonne,dupdob/Michonne,dupdob/Michonne |
d4510a9cf24ed3911102811b8650b70b541f497d | LazerTagHostLibrary/LazerTagSerial.cs | LazerTagHostLibrary/LazerTagSerial.cs |
using System;
using System.Collections.Generic;
namespace LazerTagHostLibrary
{
public class LazerTagSerial
{
public LazerTagSerial ()
{
}
static public List<string> GetSerialPorts()
{
List<string> result = new List<string>();
System.IO.Direc... |
using System;
using System.Collections.Generic;
using System.IO.Ports;
namespace LazerTagHostLibrary
{
public class LazerTagSerial
{
public LazerTagSerial ()
{
}
static public List<string> GetSerialPorts()
{
List<string> result = new List<string>();
... | Add enumerated ports to the list of serial ports, this currently causes duplicates but meh. | Add enumerated ports to the list of serial ports, this currently causes duplicates but meh.
| C# | mit | rmcardle/LazerTagHost,afaucher/LazerTagHost,afaucher/LazerTagHost,rmcardle/LazerTagHost |
2a65dfec3eef1179ca84beb40631cef14e2b513a | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | Update OData assembly version to 5.4.0.0 | Update OData assembly version to 5.4.0.0
| C# | mit | chimpinano/WebApi,abkmr/WebApi,abkmr/WebApi,congysu/WebApi,LianwMS/WebApi,lungisam/WebApi,LianwMS/WebApi,scz2011/WebApi,chimpinano/WebApi,lewischeng-ms/WebApi,congysu/WebApi,yonglehou/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,scz2011/WebApi |
ff3b2de8290fa19bb497c158fd6a1c7a86c8fdef | Browsers/Edge.cs | Browsers/Edge.cs | using System;
using System.IO;
using Microsoft.Win32;
namespace FreenetTray.Browsers {
class Edge: Browser {
private static string NTVersionRegistryKey = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion";
public Edge() {
// for this key we want registry redirection enabled, so no regis... | using System;
using System.IO;
using Microsoft.Win32;
namespace FreenetTray.Browsers {
class Edge: Browser {
private static string NTVersionRegistryKey = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion";
public Edge() {
RegistryKey reg = null;
if (Environment.Is64BitOpera... | Check native registry view for Windows version | Check native registry view for Windows version
This fixes Coverity CID 171806
On Windows the CurrentVersion key is only present in the native view
of the registry, so a 32-bit application checking the
windows version on 64-bit Windows needs to check the 64-bit registry
view explicitly.
In practice, the wintray app w... | C# | mit | freenet/wintray,freenet/wintray |
53c2180a58478acd291d0b478f910a12e0c19b19 | Project/Item.cs | Project/Item.cs | using System;
using System.Xml.Linq;
namespace Project {
public abstract class Item: IEquatable<Item>, IConflictableItem {
public abstract override int GetHashCode();
public virtual string Action { get { return GetType().Name; } }
public abstract string Key { get; }
public bool IsResolveOption { ge... | using System;
using System.Xml.Linq;
namespace Project {
public abstract class Item: IEquatable<Item>, IConflictableItem {
public abstract override int GetHashCode();
public virtual string Action { get { return GetType().Name; } }
public abstract string Key { get; }
public bool IsResolveOption { ge... | Improve user question when node conflict is not auto-resolved | Improve user question when node conflict is not auto-resolved
| C# | mit | configit-open-source/csmerge |
3122ab76ce63591560b02bddc24bf91542c49c41 | AudioWorks/src/Extensions/AudioWorks.Extensions.Flac/StreamInfo.cs | AudioWorks/src/Extensions/AudioWorks.Extensions.Flac/StreamInfo.cs | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks 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 Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks 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 Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | Use a fixed size buffer rather than marshalling | Use a fixed size buffer rather than marshalling
| C# | agpl-3.0 | jherby2k/AudioWorks |
cb0270a78ddd001e84d6f605cc8a0f87a32858cc | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | Increase project version number to 0.9.0 | Increase project version number to 0.9.0
| C# | apache-2.0 | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata |
64bb1f381bdbc2647c1883fb386686fe7b0943cd | osu.Game/Localisation/Language.cs | osu.Game/Localisation/Language.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
namespace osu.Game.Localisation
{
public enum Language
{
[Description(@"English")]
en,
[Description(@"日本語")... | // 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.Localisation
{
public enum Language
{
[Description(@"English")]
en,
// TODO: Requires Ar... | Add more languages to settings dropdown | Add more languages to settings dropdown
| C# | mit | UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu |
02ff533829c315d71116bb9c0e74e92e111d7bec | MangaRipper/Helpers/UpdateNotification.cs | MangaRipper/Helpers/UpdateNotification.cs | using System;
using System.Threading.Tasks;
using Octokit;
namespace MangaRipper.Helpers
{
public class UpdateNotification
{
public static async Task<string> GetLatestVersion()
{
var client = new GitHubClient(new ProductHeaderValue("MyAmazingApp"));
var release = await ... | using System;
using System.Threading.Tasks;
using Octokit;
using System.Net;
namespace MangaRipper.Helpers
{
public class UpdateNotification
{
public static async Task<string> GetLatestVersion()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
var cl... | Fix SSL/TLS exception during application startup | Fix SSL/TLS exception during application startup
| C# | mit | GambitKZ/MangaRipper,NguyenDanPhuong/MangaRipper |
e1100d9adfd29a12400b41d9200728cbcac54587 | ProjectTrackercs/PTWin/ProjectSelect.cs | ProjectTrackercs/PTWin/ProjectSelect.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ProjectTracker.Library;
namespace PTWin
{
public partial class ProjectSelect : Form
{
private Guid _projectId;
public Guid ProjectId
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ProjectTracker.Library;
using System.Linq;
namespace PTWin
{
public partial class ProjectSelect : Form
{
private Guid _projectId;
publ... | Use LINQ to sort results. | Use LINQ to sort results.
| C# | mit | BrettJaner/csla,ronnymgm/csla-light,rockfordlhotka/csla,BrettJaner/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,MarimerLLC/csla,JasonBock/csla,JasonBock/csla,jonnybee/csla,jonnybee/csla,JasonBock/csla,ronnymgm/csla-light |
c4b6b6d28a066ae3c951f6cbfb1acdc848c40edb | Examples/Serialization/TraktSerializeAuthorizationExample/Program.cs | Examples/Serialization/TraktSerializeAuthorizationExample/Program.cs | namespace TraktSerializeAuthorizationExample
{
class Program
{
static void Main(string[] args)
{
}
}
}
| namespace TraktSerializeAuthorizationExample
{
using System;
using TraktApiSharp;
using TraktApiSharp.Authentication;
using TraktApiSharp.Enums;
using TraktApiSharp.Services;
class Program
{
private const string CLIENT_ID = "FAKE_CLIENT_ID";
private const string CLIENT_SECR... | Add implementation for authorization serialization example. | Add implementation for authorization serialization example.
| C# | mit | henrikfroehling/TraktApiSharp |
915f35b0c08152a4e48c23eda5b7a815922c3f1c | XmlTransform/Properties/AssemblyInfo.cs | XmlTransform/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: Assemb... | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: Assemb... | Update assembly version to 1.2 to match the version set in Microsoft.Web.Xdt package. | Update assembly version to 1.2 to match the version set in Microsoft.Web.Xdt package.
| C# | apache-2.0 | alluran/xdt,azurelogic/XdtExtended,dolkensp/xdt |
d024b974f583e26159a10ef1aca26ab9e267ce3b | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | Add support on fetching Uri with local filepath like "file:///C:/website/style.css" | Add support on fetching Uri with local filepath like "file:///C:/website/style.css"
| C# | mit | milkshakesoftware/PreMailer.Net |
d455029b61aaa9bae768e4cbbba38632b97fc8b4 | src/System.ComponentModel/tests/ComponentModelBasicTests.cs | src/System.ComponentModel/tests/ComponentModelBasicTests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using Xunit;
namespace Test
{
public class ComponentModelTests
{
[Fact]
public static void TestCompo... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using Xunit;
namespace Test
{
public class ComponentModelTests
{
[Fact]
public static void TestCompo... | Improve test / code coverage of System.ComponentModel | Improve test / code coverage of System.ComponentModel
Trivial fix to improve the coverage of System.ComponentModel, which only contains one concrete type in the form of CancelEventArgs.
| C# | mit | marksmeltzer/corefx,josguil/corefx,billwert/corefx,huanjie/corefx,mazong1123/corefx,BrennanConroy/corefx,rubo/corefx,andyhebear/corefx,jlin177/corefx,akivafr123/corefx,Jiayili1/corefx,jlin177/corefx,the-dwyer/corefx,alexandrnikitin/corefx,kkurni/corefx,Priya91/corefx-1,ptoonen/corefx,cartermp/corefx,chaitrakeshav/coref... |
ec07bf589f653432f9b0b2e0387464f5bb14e9c8 | src/MagicOnion.Server/Extensions/MagicOnionEndpointRouteBuilderExtensions.cs | src/MagicOnion.Server/Extensions/MagicOnionEndpointRouteBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using MagicOnion.Server.Glue;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Routing
{
public static class MagicOnionEn... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using MagicOnion.Server.Glue;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Builder
{
public static class MagicOnionEndpointRouteBuilderExtensions
{
... | Move namespace Microsoft.AspNetCore.Routing -> Microsoft.AspNetCore.Builder | Move namespace Microsoft.AspNetCore.Routing -> Microsoft.AspNetCore.Builder
| C# | mit | neuecc/MagicOnion |
062d755d8ab92064cf22daea6cd5ef487c447d42 | osu.Framework.iOS/GameViewController.cs | osu.Framework.iOS/GameViewController.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using CoreGraphics;
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using CoreGraphics;
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
... | Fix iOS nullref on orientation change | Fix iOS nullref on orientation change
| C# | mit | EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework |
246dd4b163dfdc979ee44ff72e4989c910e07a69 | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IEnumerable<IRequestRuntime> _requestRuntimes;
public MasterRequestRuntime(IServiceProvider serviceProvider)
{
... | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes;
public MasterRequestRuntime(IServiceProvider serviceProvider)
... | Set MasterReqRuntime to discover types | Set MasterReqRuntime to discover types
| C# | mit | pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Gl... |
72c5698f127bd1351de94471b8f531839e6df004 | Jint/Runtime/Descriptors/Specialized/IndexDescriptor.cs | Jint/Runtime/Descriptors/Specialized/IndexDescriptor.cs | using System.Globalization;
using System.Reflection;
using Jint.Native;
namespace Jint.Runtime.Descriptors.Specialized
{
public sealed class IndexDescriptor : PropertyDescriptor
{
private readonly Engine _engine;
private readonly object _key;
private readonly object _item;
... | using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Jint.Native;
namespace Jint.Runtime.Descriptors.Specialized
{
public sealed class IndexDescriptor : PropertyDescriptor
{
private readonly Engine _engine;
private readonly object _key;
... | Fix AmbiguousMatchException in multiple indexers, make getters and setters invocation consistent | Fix AmbiguousMatchException in multiple indexers, make getters and setters invocation consistent
If class has more than 1 public indexers, IndexDescriptor ctor throws
AmbiguousMatchException.
If class has a public getter, and another public setter, its handled
inconsistently i.e. you will read from one property and wr... | C# | bsd-2-clause | sanyaade-iot/jint,reidyd/jint,npenin/jint,Nogrod/jint,sanyaade-iot/jint,ayende/jint,chaquotay/jint,ImagineLearning/Jint,sebastienros/jint,mgentile/jint,chaquotay/jint,npenin/jint,fvaneijk/jint,mgentile/jint,flts/jint,santiagoaguiar/jint,fvaneijk/jint,santiagoaguiar/jint,djMax/jint,flts/jint,tylerjwatson/jint,sebastienr... |
8bceeb0125623e60bde34eeaeacedfca30d44ff7 | src/backend/SO115App.SignalR/Sender/GestioneUtenti/NotificationDeleteUtente.cs | src/backend/SO115App.SignalR/Sender/GestioneUtenti/NotificationDeleteUtente.cs | using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;
using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti;
using System;
using System.Threading.Tasks;
namespace SO1... | using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;
using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti;
using System;
using System.Threading.Tasks;
namespace SO1... | Fix - Notifica cancellazione utente | Fix - Notifica cancellazione utente
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
9d9aa9ccbff506cef5a323769c81881ea8f476ff | osu.Framework/Extensions/TaskExtensions.cs | osu.Framework/Extensions/TaskExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace osu.Framework.Extensions
{
public static class TaskExtensions
{
/// <summar... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace osu.Framework.Extensions
{
public static class TaskExtensions
{
/// <summar... | Add exception for usage of `.Result` within `.ContinueWith` continuations | Add exception for usage of `.Result` within `.ContinueWith` continuations
| C# | mit | ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework |
a0131b8b25a739de25dac928ec76715597ec8e36 | osu.Game/Beatmaps/Beatmap.cs | osu.Game/Beatmaps/Beatmap.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using OpenTK.Graphics;
using osu.Game.Beatmaps.Timing;
using osu.Game.Database;
using osu.Game.Modes.Objects;
namespace osu.Gam... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using OpenTK.Graphics;
using osu.Game.Beatmaps.Timing;
using osu.Game.Database;
using osu.Game.Modes.Objects;
namespace osu.Gam... | Fix slider velocity not being applied. | Fix slider velocity not being applied.
| C# | mit | DrabWeb/osu,DrabWeb/osu,NotKyon/lolisu,peppy/osu,ppy/osu,Nabile-Rahmani/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,theguii/osu,ZLima12/osu,Drezi126/osu,UselessToucan/osu,nyaamara/osu,ppy/osu,DrabWeb/osu,default0/osu,peppy/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,Us... |
6dc8d8e0857b484a118eb7ec3a55fec497f47da7 | src/Serilog/Core/ForContextExtension.cs | src/Serilog/Core/ForContextExtension.cs | using Serilog.Events;
namespace Serilog
{
/// <summary>
/// Extension method 'ForContext' for ILogger.
/// </summary>
public static class ForContextExtension
{
/// <summary>
/// Create a logger that enriches log events with the specified property based on log event level.
/... | using System;
using Serilog.Events;
namespace Serilog
{
/// <summary>
/// Extension method 'ForContext' for ILogger.
/// </summary>
public static class ForContextExtension
{
/// <summary>
/// Create a logger that enriches log events with the specified property based on log event le... | Check if logger is null and throw | Check if logger is null and throw
Part of feedback for #1002
| C# | apache-2.0 | merbla/serilog,CaioProiete/serilog,serilog/serilog,merbla/serilog,serilog/serilog |
65ad52c26cbdee036e616b61263c214abf3b8a27 | JustSaying.TestingFramework/Patiently.cs | JustSaying.TestingFramework/Patiently.cs | using System;
using System.Threading;
using NUnit.Framework;
namespace JustSaying.TestingFramework
{
public static class Patiently
{
public static void VerifyExpectation(Action expression)
{
VerifyExpectation(expression, 5.Seconds());
}
public static v... | using System;
using System.Threading;
using NUnit.Framework;
namespace JustSaying.TestingFramework
{
public static class Patiently
{
public static void VerifyExpectation(Action expression)
{
VerifyExpectation(expression, 5.Seconds());
}
public static v... | Increase the maximum time we wait for long running tests from 5 to 10. | Increase the maximum time we wait for long running tests from 5 to 10.
| C# | apache-2.0 | eric-davis/JustSaying,Intelliflo/JustSaying,Intelliflo/JustSaying |
0a1dd45e446bc35615d019a734047ed662e6fd48 | PdfAutofill/Controllers/PdfController.cs | PdfAutofill/Controllers/PdfController.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using PdfAutofill.Model;
using PdfAutofill.Service;
using PdfAutofill.Service.Impl;
namespace PdfAutofill.Controllers
{
[Route("api/[controller]")]
public class PdfController : Controller
{
private readonly IPdfSe... | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using PdfAutofill.Model;
using PdfAutofill.Service;
using PdfAutofill.Service.Impl;
namespace PdfAutofill.Controllers
{
[Route("api/[controller]")]
public class PdfController : Controller
{
private readonly IPdfService _service = new PdfService();... | Improve responses from pdf controller | Improve responses from pdf controller
| C# | agpl-3.0 | mondeun/PdfAutofill |
d2324786e8555ab44fd368d875cf1a3057be3685 | PowerMode/Settings/ParticlesColorType.cs | PowerMode/Settings/ParticlesColorType.cs | namespace BigEgg.Tools.PowerMode.Settings
{
public enum ParticlesColorType
{
Cursor,
Random,
Fixed
}
}
| namespace BigEgg.Tools.PowerMode.Settings
{
public enum ParticlesColorType
{
Random,
Fixed
}
}
| Remove cursor color type for now | Remove cursor color type for now
| C# | mit | BigEggTools/PowerMode |
0536c5afa0403eacf0499c6be2dff3bf7b21ba41 | dotlessjs.Core/Tree/Quoted.cs | dotlessjs.Core/Tree/Quoted.cs | using dotless.Infrastructure;
namespace dotless.Tree
{
public class Quoted : Node
{
public string Value { get; set; }
public string Contents { get; set; }
public Quoted(string value, string contents)
{
Value = value;
Contents = contents;
}
public override string ToCSS(Env env... | using System.Text.RegularExpressions;
using dotless.Infrastructure;
namespace dotless.Tree
{
public class Quoted : Node
{
public string Value { get; set; }
public string Contents { get; set; }
public Quoted(string value, string contents)
{
Value = value;
Contents = contents;
}
... | Add method to unescape string. | Add method to unescape string.
| C# | apache-2.0 | NickCraver/dotless,r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,modulexcite/dotless,modulexcite/dotless,NickCraver/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,dotless/dotless,modulexcite/dotless,NickCraver/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,NickCraver/dotless,rytmis/... |
e88e32cb0622474a8d49eb3503533428bca2ad67 | osu.Framework/Audio/Callbacks/DataStreamFileProcedures.cs | osu.Framework/Audio/Callbacks/DataStreamFileProcedures.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
#nullable enable
namespace osu.Framework.Audio.Callbacks
{
/// <summary>
/// Implementation of <see cref="IFileProcedures"/> tha... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
#nullable enable
namespace osu.Framework.Audio.Callbacks
{
/// <summary>
/// Implementation of <see cref="IFileProcedures"/> tha... | Revert visibility change and add null check | Revert visibility change and add null check
| C# | mit | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework |
f9976e21e7d38292bb0f63118f11f65c17edef82 | Assets/Tests/Load/LoadTest.cs | Assets/Tests/Load/LoadTest.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LoadTest : MonoBehaviour
{
public void SignInButtonClicked()
{
GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => {
if (success)
{
Debug.Log("Logged In");
}
else
{
Debug.Log("Dismissed");
}
});
}
... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LoadTest : MonoBehaviour
{
public void SignInButtonClicked()
{
GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => {
if (success)
{
GameJolt.UI.Manager.Instance.QueueNotification("Welcome");
}
else
{
GameJ... | Use notification instead of debug to allow testing outside of editor | Use notification instead of debug to allow testing outside of editor
| C# | mit | loicteixeira/gj-unity-api |
387227f3909f34fba142f6814d0464f601d640b4 | GeneratorAPI/IGenerator.cs | GeneratorAPI/IGenerator.cs | namespace GeneratorAPI {
/// <summary>
/// Represents a generic generator which can generate any ammount of elements.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGenerator<out T> : IGenerator {
/// <summary>
/// Generate next element.
/// </... | namespace GeneratorAPI {
/// <summary>
/// Represents a generic generator which can generate any ammount of elements.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGenerator<out T> : IGenerator {
/// <summary>
/// Generate next element.
/// </... | Add comments for none generic generator | Add comments for none generic generator
Former-commit-id: 33025974571043731929fbe9f947010ea503d6a5 | C# | mit | inputfalken/Sharpy |
af6cabdee789ffdffca26e1893bafd6daf695643 | Assets/scripts/entity/Ball.cs | Assets/scripts/entity/Ball.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class Ball : NetworkBehaviour {
private Rigidbody rigidBody = null;
private Vector3 startingPosition = Vector3.zero;
float minimumVelocity = 5;
float startingMinVelocity = ... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class Ball : NetworkBehaviour {
private Rigidbody rigidBody = null;
private Vector3 startingPosition = Vector3.zero;
float minimumVelocity = 5;
float startingMinVelocity = ... | Set velocity and forward vector when resetting ball position | Set velocity and forward vector when resetting ball position
| C# | mit | Double-Fine-Game-Club/pongball |
eb437e7a8857b9d7b7e8cf8875eed715c30cf34c | src/Dialog/PackageManagerUI/SmartOutputConsoleProvider.cs | src/Dialog/PackageManagerUI/SmartOutputConsoleProvider.cs | using NuGet.OutputWindowConsole;
using NuGetConsole;
namespace NuGet.Dialog.PackageManagerUI {
internal class SmartOutputConsoleProvider : IOutputConsoleProvider {
private readonly IOutputConsoleProvider _baseProvider;
private bool _isFirstTime = true;
public SmartOutputConsoleP... | using NuGet.OutputWindowConsole;
using NuGetConsole;
namespace NuGet.Dialog.PackageManagerUI {
internal class SmartOutputConsoleProvider : IOutputConsoleProvider {
private readonly IOutputConsoleProvider _baseProvider;
private bool _isFirstTime = true;
public SmartOutputConsoleP... | Fix the wrong conditional statement. | Fix the wrong conditional statement.
--HG--
branch : 1.1
| C# | apache-2.0 | pratikkagda/nuget,mrward/NuGet.V2,zskullz/nuget,chocolatey/nuget-chocolatey,alluran/node.net,dolkensp/node.net,atheken/nuget,mrward/NuGet.V2,dolkensp/node.net,zskullz/nuget,indsoft/NuGet2,oliver-feng/nuget,rikoe/nuget,akrisiun/NuGet,antiufo/NuGet2,chocolatey/nuget-chocolatey,dolkensp/node.net,mrward/NuGet.V2,OneGet/nug... |
7cb38f774a9f40ec48b52c3ca4a97810aafb4128 | SuperPutty/ToolWindow.Designer.cs | SuperPutty/ToolWindow.Designer.cs | namespace SuperPutty
{
partial class ToolWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | namespace SuperPutty
{
partial class ToolWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | Update b/c of new dockpanel | Update b/c of new dockpanel
git-svn-id: c7824798988443d6e8397993074642516d192594@98 8d6e282c-8220-11de-b77e-d9b456c0130a
| C# | mit | superputty/superputty,alsanchez/SuperPutty |
42a93f448e21e46224f0017db3bcc544316bb9ac | src/CGO.Web/Views/Shared/_Layout.cshtml | src/CGO.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/themes/base/css", "~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
@RenderBody()
@Scripts.R... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/themes/base/css", "~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
@RenderBody()
@Scripts.Ren... | Set the document language to English | Set the document language to English
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
2585e15c389aca4f39887b6d624990efbb2c822d | Slapshot/Slapshot.cs | Slapshot/Slapshot.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Slapshot
{
public partial class Slapshot : Form
{
public Slapshot()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Slapshot
{
public partial class Slapshot : Form
{
private string SaveDirector... | Create object fields for save directory and image type | Create object fields for save directory and image type
| C# | mit | robertgreiner/Slapshot |
a54f570a7666e9697e99b0838472156e3c22a7a5 | src/Firehose.Web/Authors/MattBobke.cs | src/Firehose.Web/Authors/MattBobke.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
public class MattBobke : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Matt";
public string LastName => "Bobke";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
public class MattBobke : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Matt";
public string LastName => "Bobke";
... | Update website URI to root domain | Update website URI to root domain
| C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell |
cfbd1108a7328af5cbc5d532ada4c6a8915d9d2f | WUI/Views/Shared/_Menu.cshtml | WUI/Views/Shared/_Menu.cshtml | <li>@Html.ActionLink("Courses", "Index", "Race")</li>
<li>@Html.ActionLink("Catégories", "Index", "Category")</li>
@if (User.IsInRole("Administrateur"))
{
<li>@Html.ActionLink("Liste des points", "Index", "Point")</li>
<li>@Html.ActionLink("Importer les résultats", "Import", "Resultat")</li>
}
@if (User.IsIn... | <li>@Html.ActionLink("Courses", "Index", "Race")</li>
@if (User.IsInRole("Administrateur"))
{
<li>@Html.ActionLink("Liste des points", "Index", "Point")</li>
<li>@Html.ActionLink("Importer les résultats", "Import", "Resultat")</li>
}
@if (User.IsInRole("Administrateur"))
{
<li>@Html.ActionLink("Type de P... | Remove Category link in menu | Remove Category link in menu
| C# | apache-2.0 | webSportENIProject/webSport,webSportENIProject/webSport |
9bcbf094679c9cab2c266baa3b9b5b4f862fd7da | src/tests/IntegrationTests/SetUpFixture.cs | src/tests/IntegrationTests/SetUpFixture.cs | using System;
using GitHub.Unity;
using NUnit.Framework;
namespace IntegrationTests
{
[SetUpFixture]
public class SetUpFixture
{
[SetUp]
public void Setup()
{
Logging.TracingEnabled = true;
Logging.LogAdapter = new MultipleLogAdapter(
new Fil... | using System;
using GitHub.Unity;
using NUnit.Framework;
namespace IntegrationTests
{
[SetUpFixture]
public class SetUpFixture
{
[SetUp]
public void Setup()
{
Logging.TracingEnabled = true;
Logging.LogAdapter = new MultipleLogAdapter(
new Fil... | Disable ConsoleLogAdapter in test output | Disable ConsoleLogAdapter in test output
| C# | mit | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity |
3cf61dce7b5c66778bcaa9312f73efe1ee83a491 | test/Silverpop.Core.Performance/Program.cs | test/Silverpop.Core.Performance/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Silverpop.Core.Performance
{
internal class Program
{
private static void Main(string[] args)
{
var tagValue = new string(
Enumerable.Repeat("ABC", 1000)
.SelectMany(x =... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Silverpop.Core.Performance
{
internal class Program
{
private static IEnumerable<int> TestRecipientCounts = new List<int>()
{
1000000,
5000000,
};
private static int TestRecipi... | Move hardcoded values into static fields | Move hardcoded values into static fields
- Slightly changes the output, no longer prints
"1 million" and instead prints "1000000", etc.
| C# | mit | billboga/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api,ritterim/silverpop-dotnet-api |
a6482210026a85a1897776dfbf5c41519aa44f77 | Alexa.NET/Request/SupportedInterfaces.cs | Alexa.NET/Request/SupportedInterfaces.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alexa.NET.Request
{
public class SupportedInterfaces
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alexa.NET.Request
{
public static class SupportedInterfaces
{
public const string Display = "Display";
public const string AudioPlayer = "AudioPlayer";
public const string VideoAp... | Add SupportedInterface strings to allow discovery. Including VideoApp for new directive. | Add SupportedInterface strings to allow discovery. Including VideoApp for new directive.
| C# | mit | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.