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 |
|---|---|---|---|---|---|---|---|---|---|
0f722fd074176cc07eee76ce49039fee7cb57956 | HUD/UpdateHUDLives.cs | HUD/UpdateHUDLives.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using DG.Tweening;
using Matcha.Game.Tweens;
public class UpdateHUDLives : BaseBehaviour
{
public Sprite threeLives;
public Sprite twoLives;
public Sprite oneLife;
private Image lives;
private float timeToFade = 2f;
void Start()
{
lives = g... | Rename UpdateHUD lives to DisplayLives. | Rename UpdateHUD lives to DisplayLives.
| C# | mit | cmilr/Unity2D-Components,jguarShark/Unity2D-Components | |
7249355b4c828ac5ca573c98e81b34f213dd5c71 | Tests/SadConsole.Tests/CellSurface.Basics.cs | Tests/SadConsole.Tests/CellSurface.Basics.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SadRogue.Primitives;
namespace SadConsole.Tests
{
public partial class CellSurface
{
[TestMethod]
public void Glyph_SetForeground()
{
var surface1 = new SadConsole.CellSurface(20, 20);
surface1.FillWithRa... | Add more tests for surface | Add more tests for surface
| C# | mit | Thraka/SadConsole | |
092958dfe6298fcd8177f3947b5e89dc6bd59297 | qed/Functions/CreateRavenStore.cs | qed/Functions/CreateRavenStore.cs | using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
namespace qed
{
public static partial class Functions
{
public static IDocumentStore GetRavenStore()
{
var ravenStore = GetConfiguration<IDocumentStore>(Constants.Configuration.RavenStoreKey);
... | using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
namespace qed
{
public static partial class Functions
{
public static IDocumentStore GetRavenStore()
{
var ravenStore = GetConfiguration<IDocumentStore>(Constants.Configuration.RavenStoreKey);
... | Set default db for existing raven instances | Set default db for existing raven instances
| C# | mit | Haacked/qed,half-ogre/qed |
36e71860f946f417f9a46cdfc7d788a07e833e28 | Samples/TypeCompilationOrderTesting.cs | Samples/TypeCompilationOrderTesting.cs | using System;
using System.Collections.Generic;
using System.Text;
using VCSFramework;
namespace Samples
{
public static class Foo
{
[AlwaysInline]
public static void Run()
{
}
}
// TODO - This is not supported yet.
public static class TypeCompilationOrderTesting
{
private static byte TestByte;
... | Add sample to illustrate lack of ordering of type compilation, for a future branch. | Add sample to illustrate lack of ordering of type compilation, for a future branch.
| C# | mit | Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600 | |
1777a6d24abffb933105e6fdd148368a4c841d50 | osu.Game/Tests/FlakyTestAttribute.cs | osu.Game/Tests/FlakyTestAttribute.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retr... | Add attribute to retry flaky tests on normal CI runs | Add attribute to retry flaky tests on normal CI runs
| C# | mit | ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | |
168328b93d4e2b87163cf925f9e3d6bf2c09322f | NBitcoin/Protocol/Payloads/CompactFilterPayload.cs | NBitcoin/Protocol/Payloads/CompactFilterPayload.cs | using System;
using System.Collections.Generic;
namespace NBitcoin.Protocol
{
/// <summary>
/// Represents the p2p message payload used for sharing a block's compact filter.
/// </summary>
[Payload("cfilter")]
public class CompactFilterPayload : Payload
{
private byte _FilterType = (byte)FilterType.Basic;
pr... | Add new bip 157 p2p message cfilter | Add new bip 157 p2p message cfilter
cfilter is sent in response to getcfilters, one for each block in the
requested range.
| C# | mit | MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin | |
62ce049a1a88dbaaf40f26368b330589ab8650e8 | NBi.Core/Members/PredefinedMembers.cs | NBi.Core/Members/PredefinedMembers.cs | using System;
using System.Linq;
using System.Xml.Serialization;
namespace NBi.Core.Members
{
public enum PredefinedMembers
{
[XmlEnum(Name = "weekdays")]
DaysOfWeek = 1,
[XmlEnum(Name = "months")]
MonthsOfYear = 2
}
}
| Define enumeration for supported list of predefined members | Define enumeration for supported list of predefined members
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi | |
4b858ded0dc48184cd7ac93eae6bde948b07cd13 | OpenKh.Kh2/RawBitmap.cs | OpenKh.Kh2/RawBitmap.cs | using System;
using System.Drawing;
using System.IO;
using OpenKh.Imaging;
namespace OpenKh.Kh2
{
public class RawBitmap : IImageRead
{
private const int PaletteCount = 256;
private const int BitsPerColor = 32;
private readonly byte[] _data;
private readonly byte[] _clut;
... | Add support for 8 bit raw bitmap | Add support for 8 bit raw bitmap
| C# | mit | Xeeynamo/KingdomHearts | |
fe66764a16f2777634e9aff96abd966439d8d526 | Pinta/gtk-gui/Pinta.ProgressDialog.cs | Pinta/gtk-gui/Pinta.ProgressDialog.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | Add needed generated file for Live Preview. | Add needed generated file for Live Preview.
| C# | mit | Fenex/Pinta,jakeclawson/Pinta,jakeclawson/Pinta,xxgreg/Pinta,Mailaender/Pinta,Mailaender/Pinta,PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta,Fenex/Pinta | |
5f067172b41e243aa79d8d25bac024b551212ce6 | osu.Game/Models/RealmSkin.cs | osu.Game/Models/RealmSkin.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.Collections.Generic;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Framework.Testing;
using osu.Game.Database;
using osu.Game.Exte... | Add model class for realm skin | Add model class for realm skin
| C# | mit | ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | |
465ebb15bb76029ec944f71dc29ab57f787019df | ExpressionToCodeLib/ExpressionAssertions.cs | ExpressionToCodeLib/ExpressionAssertions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace ExpressionToCodeLib
{
/// <summary>
/// Intended to be used as a static import; i.e. via "using static ExpressionToCodeLib.ExpressionAssertions;"
/// </summary>
public static... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace ExpressionToCodeLib
{
/// <summary>
/// Intended to be used as a static import; i.e. via "using static ExpressionToCodeLib.ExpressionAssertions;"
/// </summary>
public static... | Use name that doesn't clash with unit-testing classes | Use name that doesn't clash with unit-testing classes
| C# | apache-2.0 | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode |
a45ecc6513d094bb4364bc53f696ff09e050dff0 | A2BBIdentityServer/Controllers/MeController.cs | A2BBIdentityServer/Controllers/MeController.cs | using A2BBCommon;
using A2BBCommon.Models;
using A2BBIdentityServer.DTO;
using A2BBIdentityServer.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
usi... | Add a controller for authorized user s.t. they can retrieve their info and update password. | Add a controller for authorized user s.t. they can retrieve their info and update password.
| C# | apache-2.0 | marcuson/A2BBServer,marcuson/A2BBServer,marcuson/A2BBServer | |
f2e70ecd5d546c82f41c301fc941f51a7f712a0a | Lidgren.Network/Encryption/NetAESEncryption.cs | Lidgren.Network/Encryption/NetAESEncryption.cs | using System;
using System.IO;
using System.Security.Cryptography;
namespace Lidgren.Network
{
public class NetAESEncryption : NetCryptoProviderBase
{
public NetAESEncryption(NetPeer peer)
: base(peer, new AesCryptoServiceProvider())
{
}
public NetAESEncryption(NetPeer peer, string key)
... | using System;
using System.IO;
using System.Security.Cryptography;
namespace Lidgren.Network
{
public class NetAESEncryption : NetCryptoProviderBase
{
public NetAESEncryption(NetPeer peer)
#if UNITY_WEBPLAYER
: base(peer, new RijndaelManaged())
#else
: base(peer, new AesCryptoServiceProvider())
... | Fix workaround for the Unity Web Player. | Fix workaround for the Unity Web Player.
It pass the unit tests.
This fix can have the problem described here:
- http://stackoverflow.com/questions/957388/why-are-rijndaelmanaged-and-aescryptoserviceprovider-returning-different-results/4863924#4863924
| C# | mit | PowerOfCode/lidgren-network-gen3,SacWebDeveloper/lidgren-network-gen3,RainsSoft/lidgren-network-gen3,dragutux/lidgren-network-gen3,jbruening/lidgren-network-gen3,forestrf/lidgren-network-gen3,lidgren/lidgren-network-gen3 |
5cc7cddcbe7d21bd5683f9606a3dc2556487d33a | Imas-Cinderella-ApEvent.cshtml | Imas-Cinderella-ApEvent.cshtml | @using System.Text
@using CsQuery
@RadioWhip.Feedify(
"http://columbia.jp/idolmaster/cinderellaapevent/",
"THE IDOLM@STER CINDERELLA GIRLS ANIMATION PROJECTシリーズCD発売記念イベント",
(content, cq) =>
{
return cq["#newsContent h3"]
.Select(x => x.Cq())
.Select(x =>
{
... | Add THE IDOLM@STER CINDERELLA GIRLS ANIMATION PROJECTシリーズCD発売記念イベント | Add THE IDOLM@STER CINDERELLA GIRLS ANIMATION PROJECTシリーズCD発売記念イベント
| C# | mit | mayuki/RadioWhip | |
66754e199066363c079cbfa84a34aafe70a5d1c5 | Colore/ColoreException.cs | Colore/ColoreException.cs | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and ... | Add custom project exception type. | Add custom project exception type.
| C# | mit | CoraleStudios/Colore,danpierce1/Colore,Sharparam/Colore,WolfspiritM/Colore | |
06ed350a3862a247c04abb30a38723a1956f76b1 | src/ElasticSearch.Client/Domain/Hit/MultiHit.cs | src/ElasticSearch.Client/Domain/Hit/MultiHit.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace ElasticSearch.Client
{
[JsonObject]
public class MultiHit<T> where T : class
{
[JsonProperty("docs")]
public IEnumerable<Hit<T>> Hits { get; internal set; }
}
}
| Add missing file for 0188bf6b. | Add missing file for 0188bf6b.
| C# | apache-2.0 | KodrAus/elasticsearch-net,faisal00813/elasticsearch-net,abibell/elasticsearch-net,cstlaurent/elasticsearch-net,azubanov/elasticsearch-net,tkirill/elasticsearch-net,CSGOpenSource/elasticsearch-net,geofeedia/elasticsearch-net,Grastveit/NEST,DavidSSL/elasticsearch-net,starckgates/elasticsearch-net,wawrzyn/elasticsearch-ne... | |
5dda3d7ccaead4dee757c92a33c3eaa33acc14dd | src/ZobShop.Web/App_Start/NinjectModules/MvpNinjectModule.cs | src/ZobShop.Web/App_Start/NinjectModules/MvpNinjectModule.cs | using System;
using System.Linq;
using Ninject;
using Ninject.Activation;
using Ninject.Modules;
using Ninject.Parameters;
using WebFormsMvp;
namespace ZobShop.Web.App_Start.NinjectModules
{
public class MvpNinjectModule : NinjectModule
{
private const string ViewConstructorArgumentName = "view";
... | Add ninject module for mvp | Add ninject module for mvp
| C# | mit | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop | |
01397e03d77906555d0e8e35a71d7f4b53f806d6 | adaptive-arp-impl-win/adaptive-arp-impl-win/Util/TimeUtils.cs | adaptive-arp-impl-win/adaptive-arp-impl-win/Util/TimeUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Adaptive.Arp.Impl.Util
{
public class TimeUtils
{
private static readonly DateTime Jan1st1970 = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
private TimeUtils(... | Revert "Revert "Privide equivalent to System.currentTimeMillis()"" | Revert "Revert "Privide equivalent to System.currentTimeMillis()""
This reverts commit b8eb1cafff8cce827460b4aad68a0fbb6a35cd8a.
| C# | apache-2.0 | AdaptiveMe/adaptive-arp-windows | |
40d0700fa514da9d4df1abd78fbe3a74a053d985 | osu.Game/Rulesets/Objects/PathControlPoint.cs | osu.Game/Rulesets/Objects/PathControlPoint.cs | using System;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Objects.Types;
using osuTK;
namespace osu.Game.Rulesets.Objects
{
public class PathControlPoint : IEquatable<PathControlPoint>
{
public readonly Bindable<Vector2> Position = new Bindable<Vector2>();
public readonly Bindable<P... | Add structure for path control points | Add structure for path control points
| C# | mit | UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,peppy/osu-new,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu | |
9756a835c039d87b137b5743a0253c6aca78646d | src/Firehose.Web/Authors/VictorSilva.cs | src/Firehose.Web/Authors/VictorSilva.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class VictorSilva : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Victor";
p... | Add new Author: Victor Silva | Add new Author: Victor Silva | C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | |
ca2b8aac6fcba22da400e66dd782eb1b58898647 | osu.Framework.Tests/Visual/Sprites/TestSceneTexturedTriangle.cs | osu.Framework.Tests/Visual/Sprites/TestSceneTexturedTriangle.cs | using osu.Framework.Allocation;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using System;
using System.Collections.Generic;
using osuTK;
namespace osu.Framework.Tests.Visual.Sprites
{
public class TestSceneTexturedTriangle : FrameworkTestScene
{
... | Add a test scene for textured triangles | Add a test scene for textured triangles
| C# | mit | ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework | |
cf2340cafb8b7ce964935a410f3bd3af49041458 | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeRoomManager.cs | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeRoomManager.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.Diagnostics;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Logging;
using osu.Game.Online.Multiplayer;
usin... | Add a realtime room manager | Add a realtime room manager
| C# | mit | ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu | |
a4f4985628ff0ad42669305a1eea8d5c5064b9c7 | ExpressionToCodeLib/Properties/AssemblyInfo.cs | ExpressionToCodeLib/Properties/AssemblyInfo.cs | /* DOESN'T WORK YET!
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assemb... | /* DOESN'T WORK YET!
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assemb... | Remove info that's now elsewhere. | Remove info that's now elsewhere.
| C# | apache-2.0 | EamonNerbonne/ExpressionToCode,asd-and-Rizzo/ExpressionToCode |
9d6fba3403c38b5d50c73b0abc6940fb99cbb992 | ExpressionToCodeLib/Properties/AssemblyInfo.cs | ExpressionToCodeLib/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ExpressionToCodeLib")]
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assembly... | Allow test assembly to access internals | Allow test assembly to access internals
| C# | apache-2.0 | EamonNerbonne/ExpressionToCode,asd-and-Rizzo/ExpressionToCode |
cd2a17697d80baa9dea211c66604c7d32035473a | src/PowerShellEditorServices/Utility/Extensions.cs | src/PowerShellEditorServices/Utility/Extensions.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;
namespace Microsoft.PowerShell.EditorServices.Utility
{
internal static class ObjectExtensions
{
/// <summary>
/// Extensi... | //
// 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.Linq;
using System.Collections.Generic;
using System.Management.Automation.Language;
namespace Microsoft.PowerShell.EditorServices.Ut... | Implement extension method get max array element | Implement extension method get max array element
| C# | mit | PowerShell/PowerShellEditorServices |
063020a554bcb2f35a8acaef47180d7f3800fc18 | test/Sleet.Integration.Tests/LocalFeedTests.cs | test/Sleet.Integration.Tests/LocalFeedTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NuGet.Test.Helpers;
using Sleet.Test;
using Xunit;
namespace Sleet.Integration.Test
{
public class LocalFeedTests
{
[Fact]
public async Task LocalFeed_... | Add integration test for relative path | Add integration test for relative path
| C# | mit | emgarten/Sleet,emgarten/Sleet | |
6d825403c3b680672ff5579ae8105c142f9f1092 | osu.Framework.Tests/Audio/AudioComponentTest.cs | osu.Framework.Tests/Audio/AudioComponentTest.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.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Audio;
using osu.Framework.IO.Stores;
using osu.Framework.Threading;
namespace osu.Framework.Tes... | Add basic VirtualTrack retrieval test | Add basic VirtualTrack retrieval test
Audio tests will be expanded on going forward. | C# | mit | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | |
6abdcde9296ced0a067b16bbc2910975e281c702 | resharper/resharper-unity/src/Json/ZoneMarker.cs | resharper/resharper-unity/src/Json/ZoneMarker.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.Psi.JavaScript;
namespace JetBrains.ReSharper.Plugins.Unity.Json
{
[ZoneMarker]
public class ZoneMarker : IRequire<ILanguageJavaScriptZone>
{
}
} | Add JS zone requirement to asmdef namespace | Add JS zone requirement to asmdef namespace
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | |
ba1a2c1520b3380fe41cfb6870301d42d6bea966 | src/Umbraco.Core/Configuration/UmbracoVersion.cs | src/Umbraco.Core/Configuration/UmbracoVersion.cs | using System;
using System.Reflection;
namespace Umbraco.Core.Configuration
{
public class UmbracoVersion
{
private static readonly Version Version = new Version(6, 0, 0);
/// <summary>
/// Gets the current version of Umbraco.
/// Version class with the specified maj... | using System;
using System.Reflection;
namespace Umbraco.Core.Configuration
{
public class UmbracoVersion
{
private static readonly Version Version = new Version(6, 0, 0);
/// <summary>
/// Gets the current version of Umbraco.
/// Version class with the specified maj... | Add Beta to the version | Add Beta to the version
| C# | mit | timothyleerussell/Umbraco-CMS,iahdevelop/Umbraco-CMS,romanlytvyn/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,gregoriusxu/Umbraco-CMS,Tronhus/Umbraco-CMS,bjarnef/Umbraco-CMS,VDBBjorn/Umbraco-CMS,TimoPerplex/Umbraco-CMS,timothyleerussell/Umbraco-CMS,aaronpowell/Umbraco-CMS,christopherbauer/Umbraco-CMS,umbraco/Umbraco-CMS,neilg... |
58131ac7f3897456c38a3e3f217f802a0b3279e2 | uSync.Core/Mapping/Mappers/MediaPicker3Mapper.cs | uSync.Core/Mapping/Mappers/MediaPicker3Mapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Services;
using Umbraco.Extensions;
using uSync.Core.Dependency;
using static Umbraco.Cms.Core.Constants;
namespace uSync.Core.Mapping.Mappers
{
... | Add support for mediapicker3 in mappers. | Add support for mediapicker3 in mappers.
| C# | mpl-2.0 | KevinJump/uSync,KevinJump/uSync,KevinJump/uSync | |
a2b4df75e045b675366522aac53d1de5c6fb122f | Algorithms/DataStructures/TreeMap/BinarySearchTree.cs | Algorithms/DataStructures/TreeMap/BinarySearchTree.cs | using System;
using System.Collections.Generic;
namespace Algorithms.DataStructures.TreeMap
{
internal class Node<K, V> where K : IComparable<K>
{
internal K key;
internal V value;
internal Node<K, V> left;
internal Node<K, V> right;
}
public class BinarySearchTree<K, ... | Implement put and get api in binary search tree | Implement put and get api in binary search tree
| C# | mit | cschen1205/cs-algorithms,cschen1205/cs-algorithms | |
9c6b25703f378b221f5aad71894044fba113e86f | PathfinderAPI/Administrator/BaseAdministrator.cs | PathfinderAPI/Administrator/BaseAdministrator.cs | using System.Xml.Linq;
using Hacknet;
using Pathfinder.Util;
using Pathfinder.Util.XML;
namespace Pathfinder.Administrator;
public abstract class BaseAdministrator : Hacknet.Administrator
{
protected Computer computer;
protected OS opSystem;
public BaseAdministrator(Computer computer, OS opSystem) : base... | using System.Xml.Linq;
using Hacknet;
using Pathfinder.Util;
using Pathfinder.Util.XML;
namespace Pathfinder.Administrator;
public abstract class BaseAdministrator : Hacknet.Administrator, IXmlName
{
protected Computer computer;
protected OS opSystem;
public BaseAdministrator(Computer computer, OS opSyst... | Use correct element name for admins | Use correct element name for admins
| C# | mit | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder |
f6014d41578d62288a4d1ebb267d3d0311cf4c3b | Game/GameInit.cs | Game/GameInit.cs | using DG.Tweening;
using Matcha.Unity;
public class GameInit : BaseBehaviour
{
void Start()
{
// initialize DOTween before first use.
DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(2000, 2000);
DOTween.showUnityEditorReport = false;
DOTween.defaultAutoKill = false;
// seed Rand with current se... | Add a general game init script | Add a general game init script
Needed a single place to initialize various game-wide systems, and
particularly to schedul a call to GC right after all caching is done.
| C# | mit | cmilr/Unity2D-Components,jguarShark/Unity2D-Components | |
b17db0c97839f96fabb61c1033ea819b5c9b447f | cslatest/Csla.Test/LazyLoad/AParent.cs | cslatest/Csla.Test/LazyLoad/AParent.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Csla.Test.LazyLoad
{
[Serializable]
public class AParent : Csla.BusinessBase<AParent>
{
private Guid _id;
public Guid Id
{
get { return _id; }
set
{
_id = value;
PropertyHasChanged();
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Csla.Test.LazyLoad
{
[Serializable]
public class AParent : Csla.BusinessBase<AParent>
{
private Guid _id;
public Guid Id
{
get { return _id; }
set
{
_id = value;
PropertyHasChanged();
... | Modify to work with new n-level undo behaviors. | Modify to work with new n-level undo behaviors.
| C# | mit | rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,BrettJaner/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,ronnymgm/csla-light,jonnybee/csla,jonnybee/csla,JasonBock/csla,BrettJaner/csla |
eb6e5b04907bb37650f4c99053b292f9f5051af4 | src/BulkWriter.Tests/Pipeline/EtlPipelineTests.cs | src/BulkWriter.Tests/Pipeline/EtlPipelineTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using BulkWriter.Pipeline;
using Xunit;
namespace BulkWriter.Tests.Pipeline
{
public class EtlPipelineTests
{
private readonly string _connectionString = TestHelpers.ConnectionString;
public class PipelineTestsMyTestClass
... | Add basic tests for pipeline | Add basic tests for pipeline
| C# | apache-2.0 | HeadspringLabs/bulk-writer | |
acd5254f51a37ac519e5c70debd0c6c08f02952b | osu.Game.Tests/Visual/Gameplay/TestSceneNoConflictingModAcronyms.cs | osu.Game.Tests/Visual/Gameplay/TestSceneNoConflictingModAcronyms.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual.Gameplay
{
... | Add test coverage ensuring unique acronyms | Add test coverage ensuring unique acronyms
| C# | mit | peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | |
10f0056b3a61f8eecfe58b109911360946694aa8 | Common/Properties/SharedAssemblyInfo.cs | Common/Properties/SharedAssemblyInfo.cs | using System.Reflection;
// common assembly attributes
[assembly: AssemblyDescription("Lean Engine is an open-source, plataform agnostic C# and Python algorithmic trading engine. " +
"Allows strategy research, backtesting and live trading with Equities, FX, CFD, Crypto, Options and Futu... | using System.Reflection;
// common assembly attributes
[assembly: AssemblyDescription("Lean Engine is an open-source, plataform agnostic C# and Python algorithmic trading engine. " +
"Allows strategy research, backtesting and live trading with Equities, FX, CFD, Crypto, Options and Futu... | Remove third and fourth digits from version | Remove third and fourth digits from version
The patch specifier in the semver compliant version will be managed via
the qc cd process in order to enable users to match the version they use
in the browser with a specific version from nuget.
| C# | apache-2.0 | AlexCatarino/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,Jay-Jay-D/LeanSTP,AlexCatarino/Lean,Jay-Jay-D/LeanSTP,QuantConnect/Lean,AnshulYADAV007/Lean,jameschch/Lean,AnshulYADAV007/Lean,JKarathiya/Lean,AlexCatarino/Lean,jameschch/Lean,StefanoRaggi/Lean,JKarathiya/Lean,QuantConnect/Lean,JKarathiya/Lean,Jay-Jay-D/LeanSTP,... |
696f003b128e5fe96b650c9d45629014f282be84 | osu.Framework/Input/Handlers/Tablet/TabletInfo.cs | osu.Framework/Input/Handlers/Tablet/TabletInfo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK;
namespace osu.Framework.Input.Handlers.Tablet
{
/// <summary>
/// A class that carries the information we care about from the tablet provider.
/... | Add tablet information class to ferry information from OTD | Add tablet information class to ferry information from OTD
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | |
b3dfe626ae3efda24a8929a50a2c2b25f497f5fc | src/Pather.CSharp/PathElements/SelectionFactory.cs | src/Pather.CSharp/PathElements/SelectionFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class SelectionFactory : IPathElementFactory
{
private const string selectionIndicator = "[]";
public IPathElemen... | Add path element factory for selection access | Add path element factory for selection access
| C# | mit | Domysee/Pather.CSharp | |
8d1339c4ea90872ed09dbc683006ea43cb7ad5d0 | src/PlainElastic.Net/Builders/IJsonConvertible.cs | src/PlainElastic.Net/Builders/IJsonConvertible.cs | namespace PlainElastic.Net.Builders
{
public interface IJsonConvertible
{
string ToJson();
}
} | namespace PlainElastic.Net.Builders
{
public interface IJsonConvertible
{
string ToJson();
}
}
namespace PlainElastic.Net {
using PlainElastic.Net.Utils;
public static class JsonConvertibleExtensions
{
/// <summary>
/// Builds JSON query.
/// </summary>
... | Add Build and BuildBeautified extension methods to all query builders, so that it's possible to build single queries. | Add Build and BuildBeautified extension methods to all query builders, so that it's possible to build single queries.
| C# | mit | mbinot/PlainElastic.Net,Yegoroff/PlainElastic.Net,yonglehou/PlainElastic.Net,VirtoCommerce/PlainElastic.Net |
46f76f1053ccb349ed66f289535ac8025fb9f98c | ProgrammingPraxis/sum_k.cs | ProgrammingPraxis/sum_k.cs | // http://careercup.com/question?id=5727804001878016
//
// Given a sorted array of positive integers and a positive value
// return all pairs which differ by k.
using System;
using System.Collections.Generic;
using System.Linq;
static class Program
{
static IEnumerable<Tuple<int, int>> Pairs(this int[] array, int... | Print pairs with difference k | Print pairs with difference k
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | |
8cc3125fd43c3f23b88b22945e9697f6955cf911 | Easy.Common.Tests.Unit/BaseEncoding/Base64Tests.cs | Easy.Common.Tests.Unit/BaseEncoding/Base64Tests.cs | namespace Easy.Common.Tests.Unit.BaseEncoding
{
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class Base64Tests
{
[TestCase]
public void When_encoding() => Base64.Encode(new byte[] {1, 15, 30, 40, 0, 13, 10, 43}).ShouldBe("AQ8eKAANCis");
[TestCase]
pu... | Add tests for Base64 encoding/decoding | Add tests for Base64 encoding/decoding
| C# | mit | NimaAra/Easy.Common | |
f2e77dbac5cc7cd83e9d69bffd3b66b0debe40e6 | src/backend/SO115App.Models/Servizi/Infrastruttura/GestioneSoccorso/IGetRichiesteAssistenza.cs | src/backend/SO115App.Models/Servizi/Infrastruttura/GestioneSoccorso/IGetRichiesteAssistenza.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso
{
interface IGetRichiesteAssistenza
{
}
}
| Fix - Corretto bug notifica delete chiamata in corso Add - Gestito GeneratoreCodiciRichieste nel Fake Json Chg - TitoTerreno modificato in List Chg - Stato modificato in String (Era int) | Fix - Corretto bug notifica delete chiamata in corso
Add - Gestito GeneratoreCodiciRichieste nel Fake Json
Chg - TitoTerreno modificato in List
Chg - Stato modificato in String (Era int)
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | |
fb2a1cc1cc2665747aa7646cd9c6b8f8d4cd9132 | tests/src/JIT/CodeGenBringUpTests/Switch.cs | tests/src/JIT/CodeGenBringUpTests/Switch.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;
class SwitchTest
{
const int Pass = 100;
const int Fail = -1;
public static int Main()
{
int sum =0;
for(int i=2; i < 5; i++) {
switch(i) {... | Add a switch test to cover Jit codegen. | Add a switch test to cover Jit codegen.
This is a test case to cover switch expansion in Reader.
| C# | mit | Alcaro/coreclr,dasMulli/coreclr,JonHanna/coreclr,ruben-ayrapetyan/coreclr,Godin/coreclr,AlfredoMS/coreclr,SpotLabsNET/coreclr,KrzysztofCwalina/coreclr,martinwoodward/coreclr,stormleoxia/coreclr,MCGPPeters/coreclr,manu-silicon/coreclr,david-mitchell/coreclr,ytechie/coreclr,fernando-rodriguez/coreclr,lzcj4/coreclr,cshung... | |
9de786bba5ee61a532fded6287437ee2d6637398 | src/ServiceBus.AttachmentPlugin.Tests/When_reusing_plugin.cs | src/ServiceBus.AttachmentPlugin.Tests/When_reusing_plugin.cs | namespace ServiceBus.AttachmentPlugin.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.ServiceBus.Core;
using Xunit;
public class When_reusing_plugin
{
[Fact]
... | Test using a disposed plugin | Test using a disposed plugin
| C# | mit | SeanFeldman/ServiceBus.AttachmentPlugin | |
b9afbc2e2741bbafa6ceba443b489a12d7604bca | src/LfMerge.Core/MongoConnector/PseudoPhp.cs | src/LfMerge.Core/MongoConnector/PseudoPhp.cs | // Copyright (c) 2017 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
namespace LfMerge.Core.MongoConnector
{
/// Reimplementations of some PHP functions that turn out to be useful in the MongoConnector class
public static class PseudoPhp
{
/... | Add class accidentally omitted from last commit | Add class accidentally omitted from last commit
| C# | mit | sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge | |
746f28c8487d05b697db217f0a66849c16132396 | osu.Game.Tournament.Tests/Components/TestSceneSongBar.cs | osu.Game.Tournament.Tests/Components/TestSceneSongBar.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.Beatmaps.Legacy;
using osu.Game.Tests.Visual;
using osu.Game.Tournament.Components;
namespace osu.Gam... | Add test scene for song bar component | Add test scene for song bar component
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | |
1b7f774a63a46c908048928cb57bcf57fa2714aa | osu.Framework.Benchmarks/BenchmarkStreamExtensions.cs | osu.Framework.Benchmarks/BenchmarkStreamExtensions.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;
using BenchmarkDotNet.Attributes;
using osu.Framework.Extensions;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public c... | Add benchmark for stream extensions | Add benchmark for stream extensions
| C# | mit | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework | |
397f3b966967424807c8e523adc1732b67dee8c7 | LibGit2Sharp.Tests/TestHelpers/SelfCleaningDirectory.cs | LibGit2Sharp.Tests/TestHelpers/SelfCleaningDirectory.cs | using System;
using System.IO;
namespace LibGit2Sharp.Tests.TestHelpers
{
public class SelfCleaningDirectory : IDisposable
{
public SelfCleaningDirectory() : this(BuildTempPath())
{
}
public SelfCleaningDirectory(string path)
{
if (Directory.Exists(path))
... | using System;
using System.IO;
namespace LibGit2Sharp.Tests.TestHelpers
{
public class SelfCleaningDirectory : IDisposable
{
public SelfCleaningDirectory() : this(BuildTempPath())
{
}
public SelfCleaningDirectory(string path)
{
if (Directory.Exists(path))
... | Fix error message formatting in a test helper | Fix error message formatting in a test helper
| C# | mit | oliver-feng/libgit2sharp,AArnott/libgit2sharp,vivekpradhanC/libgit2sharp,red-gate/libgit2sharp,nulltoken/libgit2sharp,red-gate/libgit2sharp,OidaTiftla/libgit2sharp,psawey/libgit2sharp,mono/libgit2sharp,vivekpradhanC/libgit2sharp,github/libgit2sharp,jorgeamado/libgit2sharp,vorou/libgit2sharp,github/libgit2sharp,OidaTift... |
118f98adf9e4e6b9d3a2130d88451914eb7dc504 | Samples/Mapsui.Samples.Common/Maps/WmtsMichellinSample.cs | Samples/Mapsui.Samples.Common/Maps/WmtsMichellinSample.cs | using System.Linq;
using System.Net.Http;
using BruTile.Wmts;
using Mapsui.Layers;
using Mapsui.UI;
namespace Mapsui.Samples.Common.Maps
{
public class WmtsMichelinSample : ISample
{
public string Name => "5 WMTS Michelin";
public string Category => "Data";
public void Setup(IMapContr... | Add add Michelin wmts sample | Add add Michelin wmts sample
| C# | mit | pauldendulk/Mapsui,charlenni/Mapsui,charlenni/Mapsui | |
604cb08fdbd305fc2afea10deb081874651129f2 | LeetCode/remote/remove_duplicates_from_sorted_array_II.cs | LeetCode/remote/remove_duplicates_from_sorted_array_II.cs | // https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/
//
// Follow up for "Remove Duplicates":
// What if duplicates are allowed at most twice?
//
// For example,
// Given sorted array nums = [1,1,1,2,2,3],
//
// Your function should return length = 5,
// with the first five elements of ... | Remove duplicates from sorted array II | Remove duplicates from sorted array II
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | |
c8dfe386b9e739c756210f0b800a3d21e461c27b | Rusty/Core/Gui/Dialogs/IComplexDialoge.cs | Rusty/Core/Gui/Dialogs/IComplexDialoge.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace IronAHK.Rusty
{
interface IComplexDialoge
{
string MainText { get; set; }
string Subtext { get; set; }
string Title { get; set; }
#region Form
//DialogResult ShowDialog();
void Show()... | Define common Complex dialog interface | Define common Complex dialog interface
| C# | bsd-2-clause | michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,yatsek/IronAHK,polyethene/IronAHK | |
0f83b66cdabb1aad42d7f9d1c205b38089d7b2c2 | osu.Game.Tests/OnlinePlay/StatefulMultiplayerClientTest.cs | osu.Game.Tests/OnlinePlay/StatefulMultiplayerClientTest.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.Testing;
using osu.Game.Tests.Visual.Multiplayer;
using osu.Game.Users;
namespace osu.Game.Tests.OnlinePlay
{
[HeadlessTes... | Add separate test for stateful multiplayer client | Add separate test for stateful multiplayer client
| C# | mit | ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu | |
39b5460699e153568f845e7cda620fd4e3565f4f | SCPI.Tests/Commands_Tests.cs | SCPI.Tests/Commands_Tests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace SCPI.Tests
{
public class Commands_Tests
{
[Fact]
public void HasSupportedCommands()
{
// Arrange
var commands = new Commands();
// Act
... | Implement tests for Commands interface, tests include lazy loading and "not supported command" -test. | Implement tests for Commands interface, tests include lazy loading and "not supported command" -test.
| C# | mit | tparviainen/oscilloscope | |
b6617125bacb49f66172fed7100886c90640dce9 | MyShop/Views/HomePage.xaml.cs | MyShop/Views/HomePage.xaml.cs | using MyShop.Views.Tablet;
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace MyShop
{
public partial class HomePage : ContentPage
{
public HomePage ()
{
InitializeComponent ();
Xamarin.Insights.Track ("Home");
BindingContext = new HomeViewModel (this);
ButtonFindStore.C... | using MyShop.Views.Tablet;
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace MyShop
{
public partial class HomePage : ContentPage
{
public HomePage ()
{
InitializeComponent ();
Xamarin.Insights.Track ("Home");
BindingContext = new HomeViewModel (this);
ButtonFindStore.C... | Add back in tablet flow from home page. | Add back in tablet flow from home page.
| C# | mit | jamesmontemagno/MyShoppe,fabianwilliams/MyShoppe,carlosviana/MyShoppe,usmanm77/MyShoppe |
7ffab38728014fffdeedbc9906258f693c26167a | osu.Game.Tests/Editing/TransactionalCommitComponentTest.cs | osu.Game.Tests/Editing/TransactionalCommitComponentTest.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 NUnit.Framework;
using osu.Game.Screens.Edit;
namespace osu.Game.Tests.Editing
{
[TestFixture]
public class TransactionalCommitComponentTest
... | Add test coverage of TransactionalCommitComponent | Add test coverage of TransactionalCommitComponent
| C# | mit | ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,smoogipooo/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu | |
ecf919d5a75e6e790f2ff4b975159957e039617e | source/AspNet5/src/IdentityServer/Startup.cs | source/AspNet5/src/IdentityServer/Startup.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.DependencyInjection;
using IdentityServer3.Core.Configuration;
using IdentityServer.Configuration;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Extensions.PlatformAbstractions;
using Microsoft.Extensions.... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.DependencyInjection;
using IdentityServer3.Core.Configuration;
using IdentityServer.Configuration;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Extensions.PlatformAbstractions;
using Microsoft.Extensions.... | Fix using portable directory separator character | Fix using portable directory separator character
| C# | apache-2.0 | feanz/Thinktecture.IdentityServer3.Samples,geffzhang/Thinktecture.IdentityServer.v3.Samples,IdentityServer/IdentityServer3.Samples,feanz/Thinktecture.IdentityServer3.Samples,codehedgehog/IdentityServer3.Samples,codehedgehog/IdentityServer3.Samples,IdentityServer/IdentityServer3.Samples,geffzhang/Thinktecture.IdentitySe... |
9eca42200a4bcadf327818b90c6a5e674591e058 | src/Migration/IMigration.cs | src/Migration/IMigration.cs | using System.Threading.Tasks;
namespace RapidCore.Migration
{
/// <summary>
/// Defines a migration
/// </summary>
public interface IMigration
{
/// <summary>
/// Code that is run when upgrading the environment
/// </summary>
Task UpgradeAsync(IMigrationContext cont... | Add interface for a migration | Add interface for a migration
| C# | mit | rapidcore/rapidcore,rapidcore/rapidcore | |
50ff66c79f3f8dc4c2576fc3190ed4ac8a950e77 | source/Glimpse.Core2/Framework/GlimpseMetadata.cs | source/Glimpse.Core2/Framework/GlimpseMetadata.cs | using System;
using System.Collections.Generic;
namespace Glimpse.Core2.Framework
{
public class GlimpseMetadata
{
public GlimpseMetadata()
{
plugins = new Dictionary<string, PluginMetadata>();
}
public string version{ get; set; }
public IDictionary<string,P... | using System;
using System.Collections.Generic;
namespace Glimpse.Core2.Framework
{
public class GlimpseMetadata
{
public GlimpseMetadata()
{
plugins = new Dictionary<string, PluginMetadata>();
//TODO: this is really bad... Nik needs to work on how we want to do this. V... | Update the l\paths in the server side of the resource | Update the l\paths in the server side of the resource
| C# | apache-2.0 | SusanaL/Glimpse,sorenhl/Glimpse,sorenhl/Glimpse,sorenhl/Glimpse,Glimpse/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,Glimpse/Glimpse,rho24/Glimpse,rho24/Glimpse,codevlabs/Glimpse,SusanaL/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,flcdrg/Glimpse,elkingtonmcb/Glimpse,paynecrl97/Glimpse,SusanaL/Glimpse,dudzon/Glimpse,p... |
1236ece06cf9c1020722c0fb3287ba807a211565 | src/NHibernate/Type/CultureInfoType.cs | src/NHibernate/Type/CultureInfoType.cs | using System;
using System.Data;
using System.Globalization;
namespace NHibernate.Type {
/// <summary>
/// CultureInfoType.
/// </summary>
public class CultureInfoType : ImmutableType, ILiteralType {
public override object Get(IDataReader rs, string name) {
string str = (string) NHibernate.String.Get(rs, na... | Use this instead of LocaleType | Use this instead of LocaleType
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@57
| C# | lgpl-2.1 | lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,ngbrown/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,ManufacturingIntelligen... | |
4607624e11f72110d71a7654f8823bc67504a881 | Sample/DemoHeadersFooters.cs | Sample/DemoHeadersFooters.cs | using System;
using System.Drawing;
using System.Linq;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
namespace Sample
{
public partial class AppDelegate
{
public void DemoHeadersFooters ()
{
var section = new Section () {
HeaderView = new UIImageView (UIImage.FromFile ("caltemplate.png")),
FooterVi... | Add support for UIViews in section headers and footers. | Add support for UIViews in section headers and footers.
Document the LINQ-style of creating dialogs
| C# | mit | danmiser/MonoTouch.Dialog,hisystems/MonoTouch.Dialog,Milan1992/MonoTouch.Dialog,migueldeicaza/MonoTouch.Dialog,jstedfast/MonoTouch.Dialog,ClusterReplyBUS/MonoTouch.Dialog,benoitjadinon/MonoTouch.Dialog,newky2k/MonoTouch.Dialog | |
71712440449ea590234a097307e00c28a0af183d | src/Orchard.Web/Modules/Orchard.Tags/Views/Parts/TagCloud.cshtml | src/Orchard.Web/Modules/Orchard.Tags/Views/Parts/TagCloud.cshtml | @using Orchard.Tags.Models
<ul class="tag-cloud">
@foreach (TagCount tagCount in Model.TagCounts) {
<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">
@Html.ActionLink(tagCount.TagName, "Search", "Home", new {
area = "Orchard.Tags",
tagName = tagCount.TagName
... | @using Orchard.Tags.Models
<ul class="tag-cloud">
@if (((IEnumerable<object>)Model.TagCounts).Any()) {
foreach (TagCount tagCount in Model.TagCounts) {
<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">
@Html.ActionLink(tagCount.TagName, "Search", "Home", new {
... | Add Orchard.Tags.TagsCloud "no data" message | Add Orchard.Tags.TagsCloud "no data" message
Fixes #7170 | C# | bsd-3-clause | Codinlab/Orchard,jimasp/Orchard,aaronamm/Orchard,LaserSrl/Orchard,AdvantageCS/Orchard,Codinlab/Orchard,gcsuk/Orchard,Dolphinsimon/Orchard,tobydodds/folklife,fassetar/Orchard,fassetar/Orchard,yersans/Orchard,grapto/Orchard.CloudBust,li0803/Orchard,tobydodds/folklife,Fogolan/OrchardForWork,ehe888/Orchard,ehe888/Orchard,y... |
fcc9a6c2438c5efb1933ff710fc6a9aa35142f17 | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("The Git Development Community")]
[assembly: AssemblyCopyright("Copyright © 2009 The GitSharp Team")]
[assembly: ComVisible(false)]
#if DEBUG
[assembly: AssemblyConfiguration("Deb... | Fix the solution not building after a fresh clone. | Fix the solution not building after a fresh clone.
When someone clones the repository and wants to compile the
master branch (up to the latest commit fed9535519a1a918ed6734001b7f5c3a83dd8a10),
the solution will not compile because of a missing SharedAssemblyInfo.cs
This file was deleted in commit e5dfc7643a22e997cb99... | C# | lgpl-2.1 | henon/GitSharp,henon/GitSharp | |
f6c4e35776b52da7d4e7ca7c82920f9e24f079b4 | SkyEditor.Core/Utilities/ProgressReportToken.cs | SkyEditor.Core/Utilities/ProgressReportToken.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SkyEditor.Core.Utilities
{
/// <summary>
/// A basic implementation of <see cref="IReportProgress"/> that can be used to relay progress reporting when a function's parent class cannot implement this interface.
/// </summary>
... | Add class to relay progress reporting For use whenever directly implementing IReportProgress is impossible | Add class to relay progress reporting
For use whenever directly implementing IReportProgress is impossible
| C# | mit | evandixon/SkyEditor.Core | |
779ae1ba0bfbfaaaac8bc22083644492d839c370 | osu.Framework/Graphics/Shapes/Circle.cs | osu.Framework/Graphics/Shapes/Circle.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graphics.S... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graphics.S... | Remove colour properties and rely on parent | Remove colour properties and rely on parent
| C# | mit | DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,naoey/osu-framework,ppy/osu-framework,naoey/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/os... |
a779c38fea4fdf92715e3cf27ddb58ebf54c656b | software/SignControl/SignControl/TargetTestBoard.cs | software/SignControl/SignControl/TargetTestBoard.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SignTestInterface;
using winusbdotnet;
namespace SignControl
{
class TargetTestBoard : ISignTarget
{
public TargetTestBoard()
{
TestBoard... | Add missing new test board target class | Add missing new test board target class
| C# | mit | sgstair/ledsign,sgstair/ledsign,sgstair/ledsign | |
cb9e5ec100f1032e7152e34e3961f5b0d69a54b6 | tests/tests/classes/tests/LabelTestNew/LabelFNTColorAndOpacity.cs | tests/tests/classes/tests/LabelTestNew/LabelFNTColorAndOpacity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class LabelFNTColorAndOpacity : AtlasDemoNew
{
float m_time;
CCLabel label1, label2, label3;
public LabelFNTColorAndOpacity()
{
m_time = 0;
... | Add new tests for Unified Label | Add new tests for Unified Label
See issue https://github.com/mono/CocosSharp/issues/37
| C# | mit | MSylvia/CocosSharp,zmaruo/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,TukekeSoft/CocosSharp,mono/CocosSharp | |
9ee59d23f91627b514a2afb95dfd95a41e37cee7 | tests/IgnoreTest.cs | tests/IgnoreTest.cs | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using SQLite.Net.Attributes;
#if __WIN32__
using SQLitePlatformTest = SQLite.Net.Platform.Win32.SQLitePlatformWin32;
#elif WINDOWS_PHONE
using SQLitePlatformTest = SQLite.Net.Platform.WindowsPhone8.SQLitePlatformWP8;
#elif __WINRT__
using SQL... | Add test for Ignore attribute | Add test for Ignore attribute
| C# | mit | caseydedore/SQLite.Net-PCL,fernandovm/SQLite.Net-PCL,igrali/SQLite.Net-PCL,mattleibow/SQLite.Net-PCL,oysteinkrog/SQLite.Net-PCL,kreuzhofer/SQLite.Net-PCL,TiendaNube/SQLite.Net-PCL,igrali/SQLite.Net-PCL,molinch/SQLite.Net-PCL | |
b9dab535a695fcfa87f7d2a4aae61546b038cf74 | sample/mango-project/Docs.cs | sample/mango-project/Docs.cs |
using Mango;
using Mango.Templates.Minge;
namespace MangoProject {
public class Docs : MangoModule {
public static void GettingStarted (MangoContext context)
{
}
public static void Api (MangoContext context)
{
}
}
}
| Add a docs module to the sample project. | Add a docs module to the sample project.
| C# | mit | jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/man... | |
4232a8b86413a5f32a91017103eaad8b7358f3dd | how2/sensehat_ex.cs | how2/sensehat_ex.cs | using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace DemoSenseHat
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summar... | Add example source code for Sense Hat connecting to Azure IoT Hub. | Add example source code for Sense Hat connecting to Azure IoT Hub.
Signed-off-by: Teerachai Laothong <d1c72b84026585eb55406833a23a9a05825e74a1@outlook.com>
| C# | mit | digitalthailand/course-iot-ml-dl | |
7f418782e0a4f564a12ca737d0141850843bed3a | ExpressionToCodeLib/PAssert.cs | ExpressionToCodeLib/PAssert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
namespace ExpressionToCodeLib {
public static class PAssert {
public static void IsTrue(Expression<Func<bool>> assertion) {
That(assertion,"PAssert.IsTrue failed for:");
}
public s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
namespace ExpressionToCodeLib {
public static class PAssert {
public static void IsTrue(Expression<Func<bool>> assertion) {
That(assertion,"PAssert.IsTrue failed for:");
}
public s... | Use two newlines in exception message to better match Power Assert.NET | Use two newlines in exception message to better match Power Assert.NET
| C# | apache-2.0 | EamonNerbonne/ExpressionToCode,asd-and-Rizzo/ExpressionToCode |
33b4b00eb19bc6f7ecdf84db58724f02842feab2 | src/csmacnz.Coveralls/CoverageFileBuilder.cs | src/csmacnz.Coveralls/CoverageFileBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace csmacnz.Coveralls
{
public class CoverageFileBuilder
{
private readonly string _filePath;
private readonly Dictionary<int,int> _coverage = new Dictionary<int, int>();
public CoverageFileBuilder(string filePat... | using System;
using System.Collections.Generic;
using System.Linq;
namespace csmacnz.Coveralls
{
public class CoverageFileBuilder
{
private readonly string _filePath;
private readonly Dictionary<int,int> _coverage = new Dictionary<int, int>();
public CoverageFileBuilder(string filePat... | Fix off by one error. | Fix off by one error.
| C# | mit | VPashkov/coveralls.net,csMACnz/coveralls.net |
30dae5bf1c1188139fb683e235b15b16af5e83ec | osu.Game.Rulesets.Mania.Tests/Mods/TestSceneManiaModConstantSpeed.cs | osu.Game.Rulesets.Mania.Tests/Mods/TestSceneManiaModConstantSpeed.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.Allocation;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mania.Mods;
using osu.Game.Rulesets.Mania.O... | Add test to make sure the algorithm is passed down in time | Add test to make sure the algorithm is passed down in time
| C# | mit | ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu | |
b0454c5b4393adc406ee7a526869332ebbdc7062 | apis/Google.Datastore.V1/Google.Datastore.V1/DatastoreClientPartial.cs | apis/Google.Datastore.V1/Google.Datastore.V1/DatastoreClientPartial.cs | // Copyright 2016, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | Add google-cloud-resource-prefix header for Datastore calls | Add google-cloud-resource-prefix header for Datastore calls
Fixes #341.
| C# | apache-2.0 | jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,benwulfe/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet... | |
5f9c378e743683700be5e3157682bfa18700678e | tools/Google.Cloud.Tools.ReleaseManager/ShowExternalDependenciesCommand.cs | tools/Google.Cloud.Tools.ReleaseManager/ShowExternalDependenciesCommand.cs | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Add tool to display all external dependencies, with versions | tools: Add tool to display all external dependencies, with versions
This makes it easier to check that everything is up-to-date
| C# | apache-2.0 | googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet | |
4770a64709e529479c69ad7a4ae024a9801f2fe0 | osu.Game.Tests/Visual/Gameplay/TestSceneSkinEditorComponentsList.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSkinEditorComponentsList.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.Diagnostics;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Gr... | Add proof of concept components list | Add proof of concept components list
| C# | mit | ppy/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu | |
64fa0f0deea7b03a7c8b4e7af60b34901b0d9a9a | tests/src/JIT/CodeGenBringUpTests/StaticValueField.cs | tests/src/JIT/CodeGenBringUpTests/StaticValueField.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;
struct TestValue
{
public int a;
public short b;
public long c;
}
// This test stores a primitive (no-GC fields) value type to a static field
//... | Test case for store (no-GC) value type to static field | Test case for store (no-GC) value type to static field
| C# | mit | Djuffin/coreclr,qiudesong/coreclr,sagood/coreclr,AlfredoMS/coreclr,wateret/coreclr,geertdoornbos/coreclr,Alcaro/coreclr,krytarowski/coreclr,fffej/coreclr,hseok-oh/coreclr,blackdwarf/coreclr,ZhichengZhu/coreclr,sergey-raevskiy/coreclr,swgillespie/coreclr,stormleoxia/coreclr,cshung/coreclr,richardlford/coreclr,James-Ko/c... | |
82f7c55b3a337de78108b2458996e19179e68b6e | stdlib/Math.cs | stdlib/Math.cs | namespace System
{
/// <summary>
/// Defines common mathematical functions and operations.
/// </summary>
public static class Math
{
public const double PI = 3.14159265358979;
}
} | Define a math class in the standard library | Define a math class in the standard library
| C# | mit | jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm | |
abad4c6b9f0d6220f4c1d0bcff2ce27463003951 | src/CompetitionPlatform/Models/FeedbackViewModel.cs | src/CompetitionPlatform/Models/FeedbackViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using CompetitionPlatform.Data.AzureRepositories.Users;
namespace CompetitionPlatform.Models
{
public class FeedbackViewModel : IUserFeedbackData
{
public string Email { get; set; }
[Required]
... | Add models for User feedback. | Add models for User feedback.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | |
424ef590de8841b57652cb7681246b1826c58b4b | src/Graph.RBAC/Graph.RBAC/Properties/AssemblyInfo.cs | src/Graph.RBAC/Graph.RBAC/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | //
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | Change assembly version to 1.9.0.0 | Change assembly version to 1.9.0.0
| C# | apache-2.0 | oburlacu/azure-sdk-for-net,hovsepm/azure-sdk-for-net,oburlacu/azure-sdk-for-net,shuagarw/azure-sdk-for-net,dasha91/azure-sdk-for-net,Nilambari/azure-sdk-for-net,juvchan/azure-sdk-for-net,gubookgu/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,felixcho-msft/azure-sdk-for-net,pomortaz/azure-sdk-for-net,nemanja88/azure-sdk-... |
09d50ea27ecbda0bd9e60f0a5dbaf399ba00e03d | src/ZobShop.ModelViewPresenter/Product/Details/RateProduct/RateProductEventArgs.cs | src/ZobShop.ModelViewPresenter/Product/Details/RateProduct/RateProductEventArgs.cs | using System;
namespace ZobShop.ModelViewPresenter.Product.Details.RateProduct
{
public class RateProductEventArgs : EventArgs
{
public RateProductEventArgs(int rating, string content, int productId, string authorId)
{
this.Rating = rating;
this.Content = content;
... | Add event args for product rating | Add event args for product rating
| C# | mit | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop | |
ff774510037c6c8908a590623260e59c8617075f | slang/Compilation/CompilationRoot.cs | slang/Compilation/CompilationRoot.cs | using System.Collections.Generic;
namespace slang.Compilation
{
public class CompilationRoot
{
public CompilationRoot (CompilationMetadata metadata)
{
CompilationUnits = new List<CompilationUnit> ();
Metadata = metadata;
}
public List<CompilationUnit> C... | Add a compilation root as a container for individual compilation units created by parsing each file. | Add a compilation root as a container for individual compilation units created by parsing each file.
| C# | mit | jagrem/slang,jagrem/slang,jagrem/slang | |
85ec916af3258496b2edea5ca525981076a2dde3 | tests/Avalonia.Input.UnitTests/KeyboardDeviceTests.cs | tests/Avalonia.Input.UnitTests/KeyboardDeviceTests.cs | using Avalonia.Input.Raw;
using Avalonia.Interactivity;
using Moq;
using Xunit;
namespace Avalonia.Input.UnitTests
{
public class KeyboardDeviceTests
{
[Fact]
public void Keypresses_Should_Be_Sent_To_Root_If_No_Focused_Element()
{
var target = new KeyboardDevice();
... | Add some tests for KeyboardDevice. | Add some tests for KeyboardDevice.
Including failing tests for #3127.
| C# | mit | jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,akrisiun/Persp... | |
5f36af416fa1d5260f7c2ff63ce70e2a8c1a2d9b | PackageExplorer/MefServices/NativeLibraryFileViewer.cs | PackageExplorer/MefServices/NativeLibraryFileViewer.cs | using System.Collections.Generic;
using System.Windows.Controls;
using NuGetPackageExplorer.Types;
namespace PackageExplorer
{
[PackageContentViewerMetadata(100, ".so", ".dylib")]
internal class NativeLibraryFileViewer : IPackageContentViewer
{
public object GetView(IPackageContent selectedFile, I... | Add empty viewer for .so and .dylib files | Add empty viewer for .so and .dylib files
| C# | mit | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | |
ba4020c1bfe6c167cbe9b0c333240c57803ccdd0 | src/SJP.Schematic.Lint/Rules/InvalidViewDefinitionRule.cs | src/SJP.Schematic.Lint/Rules/InvalidViewDefinitionRule.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Dapper;
using SJP.Schematic.Core;
namespace SJP.Schematic.Lint.Rules
{
public class InvalidViewDefinitionRule : Rule
{
public InvalidViewDefinitionRule(IDbConnection connection, RuleLevel level)
: b... | Add a lint rule that checks for correctness of view definitions. | Add a lint rule that checks for correctness of view definitions.
| C# | mit | sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic,sjp/Schematic | |
38638042514acf581d5c0e630a46c1a6abe83134 | LiteDB.Tests/Query/Where_Tests.cs | LiteDB.Tests/Query/Where_Tests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Text.RegularExpressions;
using LiteDB.Engine;
namespace LiteDB.Tests.... | Add some query unit test | Add some query unit test
| C# | mit | mbdavid/LiteDB | |
174a5b471570dac2109deab3c9eda0b9c24c65e2 | LmpClient/Harmony/ShipConstruct_LoadShip.cs | LmpClient/Harmony/ShipConstruct_LoadShip.cs | using Harmony;
using LmpCommon.Enums;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to always assign a persistentID and NEVER use the persistent id of the .craft file
/// </summary>
[HarmonyPatch(typeof(ShipConstruct))]
[HarmonyPatch("LoadS... | Fix the issues with the persistentId and vessels dissapearing, etc | Fix the issues with the persistentId and vessels dissapearing, etc
| C# | mit | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer | |
838511acef47ca0305d72b1732ca9ece729c75b3 | Engine/Vector.cs | Engine/Vector.cs | namespace Engine
{
public class Vector
{
public readonly int _x;
public readonly int _y;
public Vector(int x, int y)
{
_x = x;
_y = y;
}
}
}
| Make movement better, still not the best | Make movement better, still not the best
| C# | mit | sheix/GameEngine,sheix/GameEngine,sheix/GameEngine | |
4348bf9a1d258bc541a754c26bee07e864281062 | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Interfaces/ITraktHttpRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Interfaces/ITraktHttpRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Interfaces
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Net.Http;
using TraktApiSharp.Experimental.Requests.Interfaces;
[TestClass]
public class ITraktHttpRequestTests
{... | Add tests for ITraktHttpRequest interface. | Add tests for ITraktHttpRequest interface.
| C# | mit | henrikfroehling/TraktApiSharp | |
2f26728cdb6a28235a9e15c9e1acd0296938fb05 | osu.Game.Tests/Visual/Editing/TestSceneEditorSamplePlayback.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorSamplePlayback.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.Audio;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu... | Add test coverage of editor sample playback | Add test coverage of editor sample playback
| C# | mit | UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu | |
b742e3f23914e3480e8a2813e3135192b9f7ca3d | dotnet/Util/SharePoint/trunk/I/Properties/AssemblyInfo.cs | dotnet/Util/SharePoint/trunk/I/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | Copy of other project to get started. | Copy of other project to get started. | C# | apache-2.0 | jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandockx/ppwcode... | |
bba34b73abe6ba63119defa7822a674f07bf392f | src/Web/WebMonolithic/eShopWeb/Views/Catalog/_pagination.cshtml | src/Web/WebMonolithic/eShopWeb/Views/Catalog/_pagination.cshtml | @model eShopWeb.ViewModels.PaginationInfo
<div class="esh-pager">
<div class="container">
<article class="esh-pager-wrapper row">
<nav>
<a class="esh-pager-item esh-pager-item--navigable @Model.Previous"
id="Previous"
href="@Url.Actio... | @model eShopWeb.ViewModels.PaginationInfo
<div class="esh-pager">
<div class="container">
<article class="esh-pager-wrapper row">
<nav>
<a class="esh-pager-item esh-pager-item--navigable @Model.Previous"
id="Previous"
... | Add use of tag-helpers instead of razor elements. Remove useless displayfor. | Add use of tag-helpers instead of razor elements. Remove useless displayfor.
| C# | mit | TypeW/eShopOnContainers,BillWagner/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,TypeW/eShopOnContainers,TypeW/eShopOnContainers,TypeW/eShopOnContainers,andrelmp/eShopOnContainers,andrelmp/e... |
14f75e80f186e063c8134c1cbe9b9ce4a953fecf | src/SFA.DAS.EmployerAccounts.UnitTests/Commands/ReportTrainingProvider/WhenReportingATrainingProvider.cs | src/SFA.DAS.EmployerAccounts.UnitTests/Commands/ReportTrainingProvider/WhenReportingATrainingProvider.cs | using MediatR;
using Moq;
using NServiceBus;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Commands.ReportTrainingProvider;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Notifications.Messages.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
... | Add Unit Test for Report Training Provider Command Handler | Add Unit Test for Report Training Provider Command Handler
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | |
112096768b2107645ec0cafcad8bd9a8893c18ac | osu.Game.Tests/Mods/MultiModIncompatibilityTest.cs | osu.Game.Tests/Mods/MultiModIncompatibilityTest.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Catch;
using osu.Game.Rulesets.... | Add test checking incompatibility of multi mods | Add test checking incompatibility of multi mods
| C# | mit | ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu | |
cb1da2b6cc6edd1b9e0b30b4c8cc40ca5573b4d4 | tests/Examples/ExportImport.cs | tests/Examples/ExportImport.cs | using System;
using NSec.Cryptography;
using System.Collections.Generic;
using Xunit;
namespace NSec.Tests.Examples
{
public static class ExportImport
{
[Fact]
public static void ExportImportNSecPrivateKey()
{
// fake System.IO.File
var File = new Dictionary<stri... | Add example for storing a private key in a file | Add example for storing a private key in a file
| C# | mit | ektrah/nsec | |
44dd9a57a8718da214ea801b35b9aca941518cc1 | osu.Game.Rulesets.Taiko.Tests/HitObjectApplicationTestScene.cs | osu.Game.Rulesets.Taiko.Tests/HitObjectApplicationTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Ga... | Add abstract hit object application test scene | Add abstract hit object application test scene
| C# | mit | peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu | |
38d9750c2b799a9c88eb924858c98728a0f74b0f | HighligtSelectionCMPs.cs | HighligtSelectionCMPs.cs | //ASynchronous template
//-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 01.03.2016
// Autor support@easylogix.de
// www.pcb-investigator.com
// SDK online reference http://www.pcb-investigator.com/sites/default/files/documen... | Change color of components to highlight them. | Change color of components to highlight them.
This script for PCB-Investigator saves the current selection and change the color of this objects each second to generate a blink effect. | C# | bsd-3-clause | sts-CAD-Software/PCB-Investigator-Scripts | |
a9094f59f93f7824f03e14abfa5e5c03015b2b4a | src/AppKit/NSToolbarItem.cs | src/AppKit/NSToolbarItem.cs | //
// NSToolbarItem.cs: Support for the NSToolbarItem class
//
// Author:
// Johan Hammar
//
using System;
using MonoMac.ObjCRuntime;
using MonoMac.Foundation;
namespace MonoMac.AppKit {
public partial class NSToolbarItem {
public event EventHandler Activated {
add {
Target = ActionDispatcher.SetupActi... | Add NStoolbarItem.cs which now supports an Activated event | Add NStoolbarItem.cs which now supports an Activated event
| C# | apache-2.0 | PlayScriptRedux/monomac,dlech/monomac | |
e6b89481a47740a83801adb6e6c09bdae7c85b0f | Print/PrintSizeMode.cs | Print/PrintSizeMode.cs | namespace Patagames.Pdf.Net.Controls.WinForms
{
/// <summary>
/// Represents the scaling options of the page for printing
/// </summary>
public enum PrintSizeMode
{
/// <summary>
/// Fit page
/// </summary>
Fit,
/// <summary>
/// Actual size
... | Fix missing files for release 3.7.4.2704 | Fix missing files for release 3.7.4.2704
| C# | mit | Patagames/Pdf.WinForms | |
600ec8f84aee5662a986387ebfadac4c33bb9675 | src/Glimpse.Agent.Common/Framework/DefaultMessageAgentBus.cs | src/Glimpse.Agent.Common/Framework/DefaultMessageAgentBus.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
namespace Glimpse.Agent
{
public class DefaultMessageAgentBus : IMessageAgentBus
{
private readonly ISubject<IMessage> _subject;
// TODO: Review if we care abo... | Add base implementation for agent bus | Add base implementation for agent bus
| C# | mit | pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Proto... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.