commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
ba1a2c1520b3380fe41cfb6870301d42d6bea966
Add Beta to the version
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...
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...
mit
C#
2452f18e6545f4b8ae5c1594eef0b8e3d67e35c3
Add missing file
karolz-ms/diagnostics-eventflow
AirTrafficControl.Web/Fabric/AirTrafficControlWeb.cs
AirTrafficControl.Web/Fabric/AirTrafficControlWeb.cs
using Microsoft.ServiceFabric.Services; using Nancy.TinyIoc; using System.Fabric; namespace AirTrafficControl.Web.Fabric { public class AirTrafficControlWeb : StatelessService { protected override ICommunicationListener CreateCommunicationListener() { var listener = new OwinCommuni...
mit
C#
a4bfabf73b4e10bec58b942b57818833466f1cec
Create Letterboxer.cs
bluescan/letterboxer
Letterboxer.cs
Letterboxer.cs
// LetterBoxer.cs // // A Unity component that you attach to your cameras to allow letter (and pillar) boxing. // You specify min and max aspect ratios for landscape and portrait and it works out the rest. // Also attach to any canvas cameras you are using. Any code that needs the effective screen // resolution or aspe...
isc
C#
58131ac7f3897456c38a3e3f217f802a0b3279e2
Add support for mediapicker3 in mappers.
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
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 { ...
mpl-2.0
C#
f03210a6e1ef8c0d64abe95f185034e794cef36f
change in file names
z3le/UnitsConverter
UnitsConverter/UnitsConverter/LengthsConverter.cs
UnitsConverter/UnitsConverter/LengthsConverter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnitsConverter { /// <summary> /// Lenghts converter class /// </summary> public class LengthsConverter { /// <summary> /// Converts the centimeters to mete...
mit
C#
128d57770df5af66c3ad06795188dc7a7c35ae42
Add missing file
sharpdx/SharpDX,sharpdx/SharpDX,sharpdx/SharpDX
Source/SharpDX.Direct3D12/GraphicsCommandList1.cs
Source/SharpDX.Direct3D12/GraphicsCommandList1.cs
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
mit
C#
38d98d9b526e3aeb29959dcd3079dfa8681de2d9
Implement 'System.Text.UnicodeEncoding'
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
stdlib/system-text/UnicodeEncoding.cs
stdlib/system-text/UnicodeEncoding.cs
namespace System.Text { public class UnicodeEncoding : Encoding { public UnicodeEncoding() : this(false, false) { } public UnicodeEncoding(bool isBigEndian, bool includeBOM) { this.isBigEndian = isBigEndian; this.includeBOM = includeBOM; ...
mit
C#
a2b4df75e045b675366522aac53d1de5c6fb122f
Implement put and get api in binary search tree
cschen1205/cs-algorithms,cschen1205/cs-algorithms
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, ...
mit
C#
4feb6c6cc23f0e0b73caf703f219c4ff2025b07a
Add EllipseGeometry to create ellipse path points
zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui
src/ImGui/Rendering/Geometry/EllipseGeometry.cs
src/ImGui/Rendering/Geometry/EllipseGeometry.cs
using System; using System.Collections.Generic; using System.Text; namespace ImGui.Rendering { internal sealed partial class EllipseGeometry : Geometry { #region Constructors /// <summary> /// /// </summary> public EllipseGeometry() { } /// <su...
agpl-3.0
C#
e6f54e432b4e7ae07b332af85ff9808a9bdba3d6
Create importTxt.cs
Gytaco/RevitAPI,Gytaco/RevitAPI
Macros/CS/ImportExport/importTxt.cs
Macros/CS/ImportExport/importTxt.cs
/* This will import the modified text file from the exportTxt.cs file in this folder and update any comment values that might have been changed. */ //this file requires the following reference using System.IO; public void Ex5_1txt_Import() { //assigns doc to the active document in use - default Document...
mit
C#
901d631aef4c92238081d17a3db595184439a59d
Add the model 'Trilha' to Fatec.Treinamento.Model/ folder
fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos
Fatec.Treinamento.Model/Trilha.cs
Fatec.Treinamento.Model/Trilha.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fatec.Treinamento.Model { public class Trilha { public int Id { get; set; } public string Nome { get; set; } public bool Ativa { get; set; } } }
apache-2.0
C#
59a13656c02dbb4d226ef514fe499ee7ed273d42
add telemetry processor to add role name to AI messages
eShopWorld/devopsflex-telemetry
src/DevOpsFlex.Telemetry/RoleNameSetter.cs
src/DevOpsFlex.Telemetry/RoleNameSetter.cs
using System; using JetBrains.Annotations; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; namespace DevOpsFlex.Telemetry { /// <summary> /// Sets the 'cloud_RoleName' role name attribute on a AI telemetry item /// </summary> /// <remarks>See https://doc...
mit
C#
9c6b25703f378b221f5aad71894044fba113e86f
Use correct element name for admins
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
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, IXmlName { protected Computer computer; protected OS opSystem; public BaseAdministrator(Computer computer, OS opSyst...
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...
mit
C#
cc1a32d1ce40369646ae3300446150bcf9ba6d60
Add Andorra
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Src/Nager.Date/PublicHolidays/AndorraProvider.cs
Src/Nager.Date/PublicHolidays/AndorraProvider.cs
using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class AndorraProvider : CatholicBaseProvider { public override IEnumerable<PublicHoliday> Get(int year) { //Andorra //https://en.wikip...
mit
C#
2f3de86c34c840a1027dd79385c5799e9157e415
Add more docs
bordoley/SQLitePCL.pretty,matrostik/SQLitePCL.pretty
SQLitePCL.pretty.Orm/IndexInfo.cs
SQLitePCL.pretty.Orm/IndexInfo.cs
using System; namespace SQLitePCL.pretty.Orm { public class IndexInfo { public IndexInfo() { } } }
apache-2.0
C#
cc1c2ec0604d1f8207839a2d5ca24f30b271e3a5
Add MoqExtensions for unit testing support
RockFramework/Rock.Encryption
RockLib.Encryption.Tests/MoqExtensions.cs
RockLib.Encryption.Tests/MoqExtensions.cs
using System.Reflection; using Moq.Language; using Moq.Language.Flow; namespace RockLib.Encryption.Tests { public static class MoqExtensions { public delegate void OutAction<TOut>(out TOut outVal); public delegate void OutAction<in T1, TOut>(T1 arg1, out TOut outVal); public static IRe...
mit
C#
8c97b8057979a496f6328cf62214d92b3743e110
Add Q237
txchen/localleet
csharp/Q237_DeleteNodeInALinkedList.cs
csharp/Q237_DeleteNodeInALinkedList.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; // Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. // // Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third nod...
mit
C#
52a621cfa94e033f5fcbbc5b7f2db056a74ed5f7
add button state checker sample
malaybaku/QumarionSamplesForUnity
Scripts/Samples/PdkSample3_ButtonCheck/QumarionButtonChecker.cs
Scripts/Samples/PdkSample3_ButtonCheck/QumarionButtonChecker.cs
using UnityEngine; //ポイント1: Baku.Quma.Low名前空間にもQumarionクラスがあるけど使わないように! using Baku.Quma.Pdk; public class QumarionButtonChecker : MonoBehaviour { //ボタンはデバイスの情報であるのでモデルを介さず状態が取得できる private Qumarion _qumarion; void Start () { //PCに接続中のQUMARIONがあるかどうかチェックし、存在する場合は接続 if(PdkManager.ConnectedDevi...
mit
C#
d5e976610cd52ca340d70003ef11d6d583efd952
add missing quoter class
swalters/fluentmigrator,swalters/fluentmigrator
src/FluentMigrator.Runner/Generators/Oracle/OracleQuoterQuotedIdentifier.cs
src/FluentMigrator.Runner/Generators/Oracle/OracleQuoterQuotedIdentifier.cs
using System; using FluentMigrator.Runner.Generators.Generic; namespace FluentMigrator.Runner.Generators.Oracle { public class OracleQuoterQuotedIdentifier : GenericQuoter { public override string FormatDateTime(DateTime value) { var result = string.Format("to_date({0}{1}{0}, {0}yy...
apache-2.0
C#
f6014d41578d62288a4d1ebb267d3d0311cf4c3b
Add a general game init script
cmilr/Unity2D-Components,jguarShark/Unity2D-Components
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...
mit
C#
87e80a2789de96fbd4513fc4c931486297a1e445
Create Kemija.cs
SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming
Kattis-Solutions/Kemija.cs
Kattis-Solutions/Kemija.cs
using System; using System.Text; using System.Collections; using System.Linq; using System.Collections.Generic; namespace myCSharpTemplate { class MainClass { static string eliminateAt(string x, int num)//eliminates a single substring of a string in a given position { if(num==0){retu...
mit
C#
341287c88c01e3b3cbb3336bd534bc057fbd58a9
Add log manager
Xeeynamo/KingdomHearts
OpenKh.Game/Debugging/Log.cs
OpenKh.Game/Debugging/Log.cs
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Threading.Tasks; namespace OpenKh.Game.Debugging { public static class Log { private const string LogFileName = "openkh.log"; private static Stopwatch _stopwatch = Stopwatch.StartNew(); private sta...
mit
C#
024f3e1a3af9962adc4a1dd6771329cb0b42adf1
Correct experiment version number.
eatskolnikov/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile
Phoebe/ExperimentNumbers.cs
Phoebe/ExperimentNumbers.cs
using System; namespace Toggl.Phoebe { public static class ExperimentNumbers { public const int HomeEmptyState = 75; } }
using System; namespace Toggl.Phoebe { public static class ExperimentNumbers { public const int HomeEmptyState = 1; } }
bsd-3-clause
C#
8369675b65549a853f1e14904392762c9a3cbbd0
Add a lambda command
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
src/InEngine.Core/Commands/Lambda.cs
src/InEngine.Core/Commands/Lambda.cs
using System; namespace InEngine.Core.Commands { public class Lambda : AbstractCommand { public Action Action { get; set; } public override void Run() { Action.Invoke(); } } }
mit
C#
70dec69e136e4aff3e8a771b8ebbdbb29f5708a4
Add tests for F.Filter
farity/farity
Farity.Tests/FilterTests.cs
Farity.Tests/FilterTests.cs
using System.Linq; using Xunit; namespace Farity.Tests { public class FilterTests { [Fact] public void FilterFiltersElementsInTheList() { var expected = new[] {1, 2, 3}; var actual = F.Filter(x => x < 4, new[] {1, 2, 3, 4, 5}); Assert.Equal(expected,...
mit
C#
79d851f859bfba1a9d7ed65ba09ae4ba01b0240d
Create TaskFile class.
jcheng31/todoPad
TodoPad/Models/TaskFile.cs
TodoPad/Models/TaskFile.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TodoPad.Models { class TaskFile { } }
mit
C#
a14bb9544981f13f3c328f1c15cf40495ce850aa
Add Server Side Validation
tempusdigital/Tempus.Utils
Tempus.Extensions/ServerSideValidationException.cs
Tempus.Extensions/ServerSideValidationException.cs
namespace Tempus.Utils { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class ServerSideValidationException : Exception { public ServerSideValidationException() : base() { } public ServerSideValidationException(...
mit
C#
f29d01bdd920eda33a322abab3e397f35619a0e7
Test for issue #1412
MaceWindu/linq2db,linq2db/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,ronnyek/linq2db,MaceWindu/linq2db
Tests/Linq/UserTests/Issue1412Tests.cs
Tests/Linq/UserTests/Issue1412Tests.cs
//--------------------------------------------------------------------------------------------------- // This code was generated by LinqToDB. //--------------------------------------------------------------------------------------------------- using System; using System.Linq; using LinqToDB; using NUnit.Framewor...
mit
C#
8dcdd5910017c8b849dc8426fd25c135ebd1e575
Add Exception.Unwrap extension method
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Utilities/Exception.Unwrap.cs
source/Nuke.Common/Utilities/Exception.Unwrap.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Reflection; namespace Nuke.Common.Utilities { public static class ExceptionExtensions { public static Exception Unwrap(this Exception except...
mit
C#
c57c868720b1d1391c789092b99bfba7ed1e65b2
Add InfoModule
Auxes/Dogey
src/Dogey/Modules/InfoModule.cs
src/Dogey/Modules/InfoModule.cs
using Discord.Commands; using System.Threading.Tasks; namespace Dogey.Modules { [Group("info")] public class InfoModule : ModuleBase<SocketCommandContext> { [Command] public Task BaseAsync() => new HelpModule().HelpAsync(Context, "info"); [Command("summary")] p...
apache-2.0
C#
bf1731523471101ff796cbcaed75650125c98c52
Make OAuth2Setting Files to save Settings
CloudBreadProject/CloudBread-Unity-SDK
Assets/CloudBread/API/OAuth/OAuth2Setting.cs
Assets/CloudBread/API/OAuth/OAuth2Setting.cs
using System; using UnityEngine; namespace CloudBread.OAuth { public class OAuth2Setting : ScriptableObject { static bool _useFacebook; static public string FaceBookRedirectAddress; static bool _useGooglePlay; public static string GooglePlayRedirectAddress; static bool _useKaKao; public static...
mit
C#
d687e3c76136820d3c4b03cdea5a94c31d9f9af2
Add tests for BindableSize
DrabWeb/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/...
osu.Framework.Tests/Bindables/BindableSizeTest.cs
osu.Framework.Tests/Bindables/BindableSizeTest.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using NUnit.Framework; using osu.Framework.Configuration; using System.Drawing; namespace osu.Framework.Tests.Bindables { [TestFixture] public class ...
mit
C#
24427206cce84d4f2a903147123ab917497ac2e4
Add spring unit tests
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia
tests/Avalonia.Base.UnitTests/Animation/SpringTests.cs
tests/Avalonia.Base.UnitTests/Animation/SpringTests.cs
using System; using Avalonia.Animation; using Avalonia.Animation.Easings; using Avalonia.Controls.Shapes; using Avalonia.Media; using Avalonia.Styling; using Xunit; namespace Avalonia.Base.UnitTests.Animation; public class SpringTests { [Theory] [InlineData("1,2 3,4")] public void Can_Parse_Spring_Via_Typ...
mit
C#
b17db0c97839f96fabb61c1033ea819b5c9b447f
Modify to work with new n-level undo behaviors.
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
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(); ...
mit
C#
0e56de7bcedc42f0af2663c8da53b481faf7ccff
Add a static class named "g" to mimick the Tinkerpop API even closer.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq/Gremlin/g.cs
ExRam.Gremlinq/Gremlin/g.cs
using System; using LanguageExt; namespace ExRam.Gremlinq { // ReSharper disable once InconsistentNaming public static class g { // ReSharper disable once UnusedMember.Global // ReSharper disable once RedundantArgumentDefaultValue internal static readonly IGremlinQuery<Unit> _g = Gr...
mit
C#
73cd0946239b28d6e5dd4f8545be0435d29d22a6
Create MultipartFormData_sample.cs
Mr-hai/MultipartFormData,oceanho/MultipartFormData
MultipartFormData_sample.cs
MultipartFormData_sample.cs
using System; using System.IO; using System.Text; using AimaTeam.Http; namespace AimaTeam.Http.Sample { public class MultipartFormData_sample { public void Sample_GetMultipartFormDataBytes() { // param var param_id = new { key = "id", value = 123456 }; var p...
mit
C#
eb6e5b04907bb37650f4c99053b292f9f5051af4
Add basic tests for pipeline
HeadspringLabs/bulk-writer
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 ...
apache-2.0
C#
4e14fca6110a6d1d436f3b6e134d9f03a025d0f5
Add HydrogenSuppressionTest.
kazuyaujihara/NCDK
NCDKTests/Isomorphisms/HydrogenSuppressionTest.cs
NCDKTests/Isomorphisms/HydrogenSuppressionTest.cs
/* * Copyright (C) 2019 The Chemistry Development Kit (CDK) project * * Contact: cdk-devel@lists.sourceforge.net * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version ...
lgpl-2.1
C#
f9f634d084912293e7ef9b70fd79292769eef521
add payment test
invisiblecloud/InvoiceCaptureLib
test/Model/PaymentTest.cs
test/Model/PaymentTest.cs
using InvisibleCollectorLib.Model; using NUnit.Framework; namespace test.Model { [TestFixture] public class PaymentTest { [Test] public void AddLine_Correctness() { var item = new PaymentLine { ReferenceNumber = "1" }; ...
mit
C#
acd5254f51a37ac519e5c70debd0c6c08f02952b
Add test coverage ensuring unique acronyms
peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu
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 { ...
mit
C#
34a62f126b13df96507bf271f9d0c41a96a864e6
Create skeleton TfsHelper.Vs2017Base.cs based on TfsHelper.Vs2012Base.cs
PKRoma/git-tfs,git-tfs/git-tfs
src/GitTfs.VsCommon/TfsHelper.Vs2017Base.cs
src/GitTfs.VsCommon/TfsHelper.Vs2017Base.cs
using System; using System.Linq; using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.Server; using Microsoft.TeamFoundation.VersionControl.Client; using StructureMap; using GitTfs.Core.TfsInterop; using Microsoft.TeamFoundation.Build.Client; namespace GitTfs.VsCommon { public abstract class TfsHe...
apache-2.0
C#
86843ff05fb98e54ff7ff9f5e08285c425dc3ea0
Create AlphaStreamsSlippageModel.cs
jameschch/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,AlexCatarino/Lean,QuantConnect/Lean,JKarathiya/Lean,jameschch/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,JKarathiya/Lean,jameschch/Lean,jameschch/Lean,QuantConnect/Lean,AlexCatarino/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,JKarathiya/Lean...
Common/Orders/Slippage/AlphaStreamsSlippageModel.cs
Common/Orders/Slippage/AlphaStreamsSlippageModel.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
apache-2.0
C#
4b9bc26aa78611ed0cff889876c066513c59cdc1
Debug mode shows full exception string
dsharlet/ComputerAlgebra,dsharlet/LiveSPICE
LiveSPICE/Controls/Log.xaml.cs
LiveSPICE/Controls/Log.xaml.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; 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 Sy...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; 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 Sy...
mit
C#
3a1e0cc43eedcb80b8488cfba155551fb5bdc976
Add UnitsNetException
BrandonLWhite/UnitsNet,anjdreas/UnitsNet,maherkassim/UnitsNet,BoGrevyDynatest/UnitsNet,neutmute/UnitsNet,BrandonLWhite/UnitsNet,Tirael/UnitsNet,anjdreas/UnitsNet,maherkassim/UnitsNet
Src/UnitsNet/UnitsNetException.cs
Src/UnitsNet/UnitsNetException.cs
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/UnitsNet // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, includi...
mit
C#
e701710f78b31180ba72fef2ced5b6082b53def7
add EnvironmentHelper
jwldnr/VisualLinter
VisualLinter/Helpers/EnvironmentHelper.cs
VisualLinter/Helpers/EnvironmentHelper.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace jwldnr.VisualLinter.Helpers { internal static class EnvironmentHelper { internal static string GetVariable(string name) => GetVariableInfo("PATH", EnvironmentVariableTarget.User) .Select(value => ...
mit
C#
c992fe1a411dadcedde163b7326946a6e37b9472
Create RequestService
noelpush/noelpush
NPush/Services/RequestService.cs
NPush/Services/RequestService.cs
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using NLog; namespace NoelPush.Services { public static class RequestService { public static async Task<string> SendRequest(string url, Dictionary<string, string> values) { try ...
mit
C#
10f0056b3a61f8eecfe58b109911360946694aa8
Remove third and fourth digits from version
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,...
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...
apache-2.0
C#
d9eb2bf2c7fa043e959c6ad5787f162694010fce
Add that file
mikkelhm/UnicornWeb,mikkelhm/UnicornWeb
Unicorn.Web.Core/Processes/DiscoProcessor.cs
Unicorn.Web.Core/Processes/DiscoProcessor.cs
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using Microsoft.ServiceBus.Messaging; using Unicorn.Web.Contracts; using Unicorn.Web.Contracts.Messaging.ServiceBus; using Unicorn.Web.Contracts.Models; using Unicorn.Web.Contracts.Processes; u...
mit
C#
80fc2d59ec104fef4ba089cd55d4b55e656ce9a7
Fix to avoid CA1014
y-iihoshi/REIMU_Plugins_V2,y-iihoshi/REIMU_Plugins_V2
Th17Replay/AssemblyInfo.cs
Th17Replay/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //-----------------------...
bsd-2-clause
C#
3d24b75b92489c5628cd977dee8a6f819812d2ad
add login modal
adamwitko/DSC,adamwitko/DSC
TeamSauce/Views/Home/_LoginModal.cshtml
TeamSauce/Views/Home/_LoginModal.cshtml
@model dynamic <div class="modal fade" role="dialog" id="loginmodal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Please log in to Team Sauce</h4> </div> <div id="questions" class="mod...
mit
C#
696f003b128e5fe96b650c9d45629014f282be84
Add tablet information class to ferry information from OTD
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
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. /...
mit
C#
afce5937849093931a3253a10866ef257149264e
add pattern for DataIntegrator
DenisKogutich/qreal,RomanBelkov/qreal,tara-sova/qreal,tara-sova/qreal,tara-sova/qreal,dvvrd/qreal,ZiminGrigory/qreal,DenisKogutich/qreal,qreal/qreal,ZiminGrigory/qreal,danilaml/qreal,Victor-Y-Fadeev/qreal,RomanBelkov/qreal,qreal/qreal,DenisKogutich/qreal,RomanBelkov/qreal,Ashatta/qreal,DenisKogutich/qreal,dvvrd/qreal,A...
plugins/sbt/sbtGenerator/template/DataIntegrator.cs
plugins/sbt/sbtGenerator/template/DataIntegrator.cs
using System; public class @@DataIntegrator@@ { public @@DataIntegrator@@() { } private string query = "@@queryString@@"; public @@ReturnDataObject@@ executeQuery(@@ParameterDataObject@@ dataObject) { return new @@ReturnDataObject@@(); } }
apache-2.0
C#
e016ebd7b675530023391829f99081f3f006bdd8
Address CRs
bgold09/azure-powershell,krkhan/azure-powershell,nemanja88/azure-powershell,jasper-schneider/azure-powershell,juvchan/azure-powershell,PashaPash/azure-powershell,ankurchoubeymsft/azure-powershell,dominiqa/azure-powershell,yoavrubin/azure-powershell,Matt-Westphal/azure-powershell,SarahRogers/azure-powershell,enavro/azur...
src/Common/Commands.Common/ComputeCloudException.cs
src/Common/Commands.Common/ComputeCloudException.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
b3dfe626ae3efda24a8929a50a2c2b25f497f5fc
Add path element factory for selection access
Domysee/Pather.CSharp
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...
mit
C#
465e89e209bbd4c353a01ee03ebe19b7840a2939
Add missing file
paiden/Nett
Source/Nett/TomlBool.cs
Source/Nett/TomlBool.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nett { public sealed class TomlBool : TomlValue<bool> { public TomlBool(bool value) : base(value) { } } }
mit
C#
8d1339c4ea90872ed09dbc683006ea43cb7ad5d0
Add Build and BuildBeautified extension methods to all query builders, so that it's possible to build single queries.
mbinot/PlainElastic.Net,Yegoroff/PlainElastic.Net,yonglehou/PlainElastic.Net,VirtoCommerce/PlainElastic.Net
src/PlainElastic.Net/Builders/IJsonConvertible.cs
src/PlainElastic.Net/Builders/IJsonConvertible.cs
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> ...
namespace PlainElastic.Net.Builders { public interface IJsonConvertible { string ToJson(); } }
mit
C#
019f6e206c2b0da65ca0e32ead5847f346113b8b
add mapi claim types
ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian
src/Obsidian.Application/ManagementAPIClaimsType.cs
src/Obsidian.Application/ManagementAPIClaimsType.cs
using System; using System.Collections.Generic; using System.Text; namespace Obsidian.Application { /// <summary> /// Contains ClaimType string about Management API in Obsidian /// </summary> public static class ManagementAPIClaimsType { private const string _obsidianManagementAPIPrefix = ...
apache-2.0
C#
9c1c337ed03f981063e288a55b1b853a47f268b0
add viewmodel to WorkWindow
pashchuk/Hospital-MVVM-
Hospital/DesktopApp/ViewModel/WorkWindowViewModel.cs
Hospital/DesktopApp/ViewModel/WorkWindowViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DesktopApp.ViewModel { public class WorkWindowViewModel { public string UserName { get; set; } } }
mit
C#
46f76f1053ccb349ed66f289535ac8025fb9f98c
Print pairs with difference k
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
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...
mit
C#
8cc3125fd43c3f23b88b22945e9697f6955cf911
Add tests for Base64 encoding/decoding
NimaAra/Easy.Common
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...
mit
C#
346afc7da6d2bff9d52327d5e19b542b06d5961e
Create DependencyPropertyExtensions.cs
jamesqo/typed-xaml
src/Typed.Xaml.Wpf/DependencyPropertyExtensions.cs
src/Typed.Xaml.Wpf/DependencyPropertyExtensions.cs
using System; using System.Collections.Generic; using System.Windows; namespace Typed.Xaml { public static class DependencyPropertyExtensions { public static DependencyProperty AddOwner<T>(this DependencyProperty property) where T : DependencyObject { return property.Add...
mit
C#
f345b229b79dfcbd2a4e70acb77f38e9c5c0c0c5
Add ParallelForEach List extension method to easily parallelize computations.
acgessler/open3mod,acgessler/open3mod,dayo7116/open3mod,zhukaixy/open3mod,dayo7116/open3mod,zhukaixy/open3mod
open3mod/ParallelForEach.cs
open3mod/ParallelForEach.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Windows.Forms; namespace open3mod { // Adapted from https://github.com/robvolk/Helpers.Net/blob/master/Src/Helpers.Net/ParallelProcessor.cs // // Restricted inputs to a List. We need ...
bsd-3-clause
C#
46253995bb5ac760f20e47bb88a2aeb809d47a76
add AtomicCounterBenchmark
pszemus/grpc,grpc/grpc,stanley-cheung/grpc,stanley-cheung/grpc,muxi/grpc,donnadionne/grpc,jboeuf/grpc,ejona86/grpc,ejona86/grpc,pszemus/grpc,stanley-cheung/grpc,jtattermusch/grpc,ctiller/grpc,vjpai/grpc,ctiller/grpc,jtattermusch/grpc,donnadionne/grpc,jboeuf/grpc,firebase/grpc,ctiller/grpc,vjpai/grpc,muxi/grpc,grpc/grpc...
src/csharp/Grpc.Microbenchmarks/AtomicCounterBenchmark.cs
src/csharp/Grpc.Microbenchmarks/AtomicCounterBenchmark.cs
#region Copyright notice and license // Copyright 2015 gRPC authors. // // 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 req...
apache-2.0
C#
528aaa185be5cba3abe7bbafa1fddc0fdcd65b8d
Create visorImagenes.cs
Beelzenef/GestionMenu
ejemplosClase/wpfing/visorImagenes/visorImagenes.cs
ejemplosClase/wpfing/visorImagenes/visorImagenes.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; ...
mit
C#
ecc7364bfb432e043e2d018614bcd25762d6759b
Add C# implementation of Ceasar Cipher
ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovs...
cryptography/caesar_cipher/csharp/caesar_cipher.cs
cryptography/caesar_cipher/csharp/caesar_cipher.cs
using System; using System.Linq; namespace CaesarCipher { class Program { static char Encrypt(char ch, int shift) { if (!char.IsLetter(ch)) return ch; char offset = char.IsUpper(ch) ? 'A' : 'a'; return (char)((ch + shift - offset) % 26 + offset); } ...
cc0-1.0
C#
f2e77dbac5cc7cd83e9d69bffd3b66b0debe40e6
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)
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
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 { } }
agpl-3.0
C#
a40191f28ad425eaaa5fa94d261856addfe4302e
Update api endpoint
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.Tests/RaygunSettingsTests.cs
Mindscape.Raygun4Net.Tests/RaygunSettingsTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace Mindscape.Raygun4Net.Tests { [TestFixture] public class RaygunSettingsTests { [Test] public void Apikey_EmptyByDefault() { Assert.IsEmpty(RaygunSettings.Settings.ApiKey); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace Mindscape.Raygun4Net.Tests { [TestFixture] public class RaygunSettingsTests { [Test] public void Apikey_EmptyByDefault() { Assert.IsEmpty(RaygunSettings.Settings.ApiKey); ...
mit
C#
1c48cf62b9c81efadf53a3bad98235e18a44eb69
Add missing AssemblyInfo.cs file.
codespecs/daikon-dot-net-front-end,codespecs/daikon-dot-net-front-end,codespecs/daikon-dot-net-front-end,codespecs/daikon-dot-net-front-end
DaikonDotNetFrontEnd/HelloWorld/Properties/AssemblyInfo.cs
DaikonDotNetFrontEnd/HelloWorld/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...
mit
C#
458136dfe779b7daa83bbaf9c76bb0f37d14cc58
Add `BigBlackBox` for skinning testing purposes
peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game/Skinning/Components/BigBlackBox.cs
osu.Game/Skinning/Components/BigBlackBox.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 JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics.Sprites; ...
mit
C#
4044669923858e3f9ec6c76fe85be83597de3828
Create PrefabsPool.cs
drawcode/labs-unity
gameobjects/PrefabsPool.cs
gameobjects/PrefabsPool.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PrefabsPool : MonoBehaviour { public Dictionary<string, GameObject> prefabs; // Only one ObjectPoolManager can exist. We use a singleton pattern to enforce this. private static PrefabsPool _i...
mit
C#
9d91c13358e21f8a46eedde24ba0607ae008f7e7
Add KeyDerivationAlgorithm class
ektrah/nsec
src/Cryptography/KeyDerivationAlgorithm.cs
src/Cryptography/KeyDerivationAlgorithm.cs
using System; using static Interop.Libsodium; namespace NSec.Cryptography { public abstract class KeyDerivationAlgorithm : Algorithm { private readonly bool _usesSalt; internal KeyDerivationAlgorithm( bool usesSalt) { _usesSalt = usesSalt; } pub...
mit
C#
a7d773680605274407fd87f9663ea727ed29fd0c
Add i18nservice abstraction (#770)
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/Services/II18nService.cs
src/Core/Services/II18nService.cs
using Microsoft.Extensions.Localization; namespace Bit.Core.Services { public interface II18nService { LocalizedString GetLocalizedHtmlString(string key); string Translate(string key, params object[] args); string T(string key, params object[] args); } }
agpl-3.0
C#
1c2592a9ff26a2ea5c77f6a85a5d0244bdf82a13
Add ‘UnexpectedCharacterException’
BERef/BibTeXLibrary
BibTeXLibrary/UnexpectedCharacterException.cs
BibTeXLibrary/UnexpectedCharacterException.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BibTeXLibrary { class UnexpectedCharacterException : ApplicationException { #region Private Field /// <summary> /// Customed error message. /// </summar...
mit
C#
4f6e3b41b62b1aecb787f979bd9becf17a993dc0
break out analytics
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Mvc/Views/Shared/_Analytics.cshtml
CRP.Mvc/Views/Shared/_Analytics.cshtml
 <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-652647-51']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.loca...
mit
C#
5658ee84dd2464884eaf8ba08911898cdd745ae7
Fix UpdatedAt typo in MergeRequest model (#32)
Xarlot/NGitLab,Scooletz/NGitLab,Franklin89/NGitLab
NGitLab/NGitLab/Models/MergeRequest.cs
NGitLab/NGitLab/Models/MergeRequest.cs
using System; using System.Runtime.Serialization; namespace NGitLab.Models { [DataContract] public class MergeRequest { public const string Url = "/merge_requests"; [DataMember(Name = "id")] public int Id; [DataMember(Name = "iid")] public int Iid; [Data...
using System; using System.Runtime.Serialization; namespace NGitLab.Models { [DataContract] public class MergeRequest { public const string Url = "/merge_requests"; [DataMember(Name = "id")] public int Id; [DataMember(Name = "iid")] public int Iid; [Data...
mit
C#
fb2a1cc1cc2665747aa7646cd9c6b8f8d4cd9132
Add a switch test to cover Jit codegen.
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...
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) {...
mit
C#
54ede34a9270adfb9ab0bf3e5fa6fc45c7647a25
Add missing file
michael-reichenauer/GitMind
GitMind/Git/GitRepository.cs
GitMind/Git/GitRepository.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using GitMind.Utils; using LibGit2Sharp; namespace GitMind.Git { internal class GitRepository : IDisposable { // string emptyTreeSha = "4b825dc642cb6eb9a060e54bf8d69288fbee4904";; private readonly string workingFolder; priva...
mit
C#
20667771065c054d7acf3c435e5ea2663650001e
Create MultibaseCorrelationServiceOptions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Integration/Correlation/MultibaseCorrelationServiceOptions.cs
TIKSN.Core/Integration/Correlation/MultibaseCorrelationServiceOptions.cs
using Multiformats.Base; namespace TIKSN.Integration.Correlation { public class MultibaseCorrelationServiceOptions { public MultibaseCorrelationServiceOptions() { ByteLength = 16; Encoding = MultibaseEncoding.Base64; } public int ByteLength { get; set; ...
mit
C#
2abfb5dd87fb001eaad8e5498066d6bfbbeccae2
Add CommandClasses sender functions
muhammedikinci/FuzzyCore
FuzzyCore/CommandClasses/ExtensionMethods.cs
FuzzyCore/CommandClasses/ExtensionMethods.cs
using FuzzyCore.Server; using System; using System.Net.Sockets; using System.Text; namespace FuzzyCore.CommandClasses { static class ExtensionMethods { static ConsoleMessage Message = new ConsoleMessage(); public static void SendDataArray(this byte[] Data, Socket Client) { ...
mit
C#
8f90cc182099075a3651d22d1c31b9303aabd6ed
Add test
peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu
osu.Game.Tournament.Tests/Components/TestSceneDateTextBox.cs
osu.Game.Tournament.Tests/Components/TestSceneDateTextBox.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.Game.Tests.Visual; using osu.Game.Tournament.Components; using osuTK; using osuTK.Input; namespace osu.Game.Tournament.Tests.Components ...
mit
C#
b78d2f94508092644efd7540ac82e1b81dcf054a
Add Install checker
henrybauer/AutoAsparagus
AutoAsparagus/ASPInstallChecker.cs
AutoAsparagus/ASPInstallChecker.cs
/** * Originally based on the InstallChecker from the Kethane mod for Kerbal Space Program. * This version is based off taraniselsu's version from https://github.com/Majiir/Kethane/blob/b93b1171ec42b4be6c44b257ad31c7efd7ea1702/Plugin/InstallChecker.cs * * Original is (C) Copyright Majiir. * CC0 Public Domai...
apache-2.0
C#
e91fc6ab442aa4459ea2c77c67af5c2bc443f9e4
Create StudentCreateViewModel
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Models/StudentViewModels/StudentCreateViewModel.cs
src/Open-School-Library/Models/StudentViewModels/StudentCreateViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Open_School_Library.Models.StudentViewModels { public class StudentCreateViewModel { } }
mit
C#
587ed323fc51981047a58d487489943aab39d6ee
Add the NopWriteOp
jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/...
src/Manos/Manos.IO/NopWriteOperation.cs
src/Manos/Manos.IO/NopWriteOperation.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
mit
C#
1f9b27cea086b9fcb6daf1c55305be11753d602e
Exclude spiders from statistics
EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,DejanMilicic/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,n2cms/n2cms,bussemac/n2cms,bussemac/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,n2cms/n2cms,DejanMilicic/n2cms,nimore/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,bussemac/n2c...
src/Mvc/MvcTemplates/N2/Statistics/StatisticsLogger.cs
src/Mvc/MvcTemplates/N2/Statistics/StatisticsLogger.cs
using N2.Engine; using N2.Plugin; using N2.Web; using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; namespace N2.Management.Statistics { [Service] public class StatisticsLogger : IAutoStart { private EventBroker broker; priva...
using N2.Engine; using N2.Plugin; using N2.Web; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace N2.Management.Statistics { [Service] public class StatisticsLogger : IAutoStart { private EventBroker broker; private IWebContext context; private Coll...
lgpl-2.1
C#
9de786bba5ee61a532fded6287437ee2d6637398
Test using a disposed plugin
SeanFeldman/ServiceBus.AttachmentPlugin
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] ...
mit
C#
46f1e2d8841d2333354d3f98812b70ee3072a5dd
add EntityResourceService tests
Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core
test/UnitTests/Services/EntityResourceService_Tests.cs
test/UnitTests/Services/EntityResourceService_Tests.cs
using System; using System.Threading.Tasks; using JsonApiDotNetCore.Builders; using JsonApiDotNetCore.Data; using JsonApiDotNetCore.Services; using JsonApiDotNetCoreExample.Models; using Microsoft.Extensions.Logging; using Moq; using Xunit; namespace UnitTests.Services { public class EntityResourceService_Tests ...
mit
C#
063d390cf2add8f6dcf4dd2c3cf4110a1d2e2ffb
improve Pager component
banban/OhMySearch,banban/OhMySearch,banban/OhMySearch,banban/OhMySearch,banban/OhMySearch
FrontEnd/Search.Core.Windows/ViewComponents/Pager.cs
FrontEnd/Search.Core.Windows/ViewComponents/Pager.cs
using Microsoft.AspNetCore.Mvc; using Search.Core.Windows.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Search.Core.Windows.ViewComponents { public class Pager : ViewComponent { public async Task<IViewComponentResult> InvokeAsync(Mod...
mit
C#
8f34fb5af1315ffa636ef27c289b3dae486ab225
Check if tree is mirror C#
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
LeetCode/simmetric_tree.cs
LeetCode/simmetric_tree.cs
using System; class Node { public Node(int val, Node left, Node right) { Value = val; Left = left; Right = right; } public int Value { get; private set; } public Node Left { get; private set; } public Node Right { get; private set; } } class Program{ static bool IsMirror(Node left, No...
mit
C#
179e982c5f13262911b0c6a580eefab3358803d7
Create kod.cs
mkuciapskiT/prywatnemk
kod.cs
kod.cs
int a = 2;
mit
C#
b9afbc2e2741bbafa6ceba443b489a12d7604bca
Add class accidentally omitted from last commit
sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge
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 { /...
mit
C#
01115b8bbdbf1d55d58f2ac4be80b296ceb94d5a
Add unittest
facebook/yoga,facebook/css-layout,facebook/css-layout,yihuang/css-layout,yihuang/css-layout,rmarinho/yoga,facebook/yoga,yihuang/css-layout,facebook/css-layout,yihuang/css-layout,yihuang/css-layout,facebook/yoga,rmarinho/yoga,rmarinho/yoga,yihuang/css-layout,facebook/css-layout,rmarinho/yoga,facebook/yoga,yihuang/css-la...
tests/csharp/Facebook.CSSLayout/CSSNodeTest.cs
tests/csharp/Facebook.CSSLayout/CSSNodeTest.cs
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using NUni...
mit
C#
06cd6b455e11521716ee59f13eddeab4a51664f3
Add National Legal Code Tests
VahidN/DNTPersianUtils.Core,VahidN/DNTPersianUtils.Core
src/DNTPersianUtils.Core.Tests/NationalLegalCodeUtilsTests.cs
src/DNTPersianUtils.Core.Tests/NationalLegalCodeUtilsTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DNTPersianUtils.Core.Tests { [TestClass] public class NationalLegalCodeUtilsTests { [TestMethod] public void TestIsNumber1() { Assert.AreEqual(true, "00103508290".IsNumber()); } [TestMethod] ...
apache-2.0
C#
9ab54bc50dfebec617ed4622ff0c3fc3987a2a90
add UserModelFactory.cs
Svetlin-Slavchev/Web-Forms-Teamwork,Svetlin-Slavchev/Web-Forms-Teamwork
EBooks/EBooks.Web/Factories/UserModelFactory.cs
EBooks/EBooks.Web/Factories/UserModelFactory.cs
using EBooks.Web.Entities; using EBooks.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EBooks.Web.Factories { public class UserModelFactory { private static EBooksEntities db = new EBooksEntities(); public static List<UserModel> GetA...
mit
C#
d4aaa179b2ca50a62f81d2f3286ee37f5db0b233
Create CapturaTeclas.cs
hvivani/C-Sharp
CapturaTeclas.cs
CapturaTeclas.cs
using System; using System.Diagnostics; using System.Windows.Forms; using System.Runtime.InteropServices; namespace atrapateclas { class Program { private const int WH_KEYBOARD_LL = 13; private const int WM_KEYDOWN = 0x0100; private const int WM_SYSKEYDOWN = 0x0104; private stat...
apache-2.0
C#
e682434fddd050d415675d5cf5b8f09bb4db2862
Fix MFUnc<T,U>
jorik041/dnlib,yck1509/dnlib,Arthur2e5/dnlib,modulexcite/dnlib,ilkerhalil/dnlib,0xd4d/dnlib,picrap/dnlib,ZixiangBoy/dnlib,kiootic/dnlib
dot10/dotNET/Hi/SimpleLazyList.cs
dot10/dotNET/Hi/SimpleLazyList.cs
namespace dot10.dotNET.Hi { delegate U MFunc<T, U>(T t); /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">A <see cref="ICodedToken"/> type</typeparam> class SimpleLazyList<T> where T : class, ICodedToken { T[] elements; bool[] initialized; readonly MFun...
namespace dot10.dotNET.Hi { delegate T MFunc<T, U>(U u); /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">A <see cref="ICodedToken"/> type</typeparam> class SimpleLazyList<T> where T : class, ICodedToken { T[] elements; bool[] initialized; readonly MFun...
mit
C#
6d2ffe3a94ec9edab261682d16887e6dd519c70e
Add basic tests
ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu
osu.Game.Tests/NonVisual/FirstAvailableHitWindowTest.cs
osu.Game.Tests/NonVisual/FirstAvailableHitWindowTest.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.Diagnostics.CodeAnalysis; using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Game.Rule...
mit
C#
b6ae7048d7afc8477e44979958cc1160557bc247
Add scopes class
Aux/NTwitch,Aux/NTwitch
src/Twitch.Net.Rest/Entities/Scopes.cs
src/Twitch.Net.Rest/Entities/Scopes.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Twitch.Rest { public sealed class Scopes { private readonly string _name; private readonly int _value; public static readonly Scopes UserRead = new Scopes(0, "user_read"); ...
mit
C#
3eba79032923340c82fb813cbb05a8f14745f29c
Create NiXeSearch.cs
NiXeTools/NiXeTools
src/NiXeSearch.cs
src/NiXeSearch.cs
Space
mit
C#
22f72b2fc66a8e04b608c633d4f3f25c29ca86b3
Create ExpressionExtensions.cs
drawcode/labs-csharp
extensions/ExpressionExtensions.cs
extensions/ExpressionExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web; public static class ExpressionExtentions { public static Expression<Func<TInput, bool>> CombineWithAndAlso<TInput>(this Expression<Func<TInput, bool>> func1, Expression<Func<TInput, bool>> func2) { ...
mit
C#
7985b496ff86f6f70bbc18388779c904a056cf2c
Create TestMember.cs
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
iam/api/Access/TestMember.cs
iam/api/Access/TestMember.cs
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
apache-2.0
C#