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
b4f6a8bafbb1fb1fa1f6de97eaf49e700e6e8dd2
Make the FpsDisplay adjust width as necessary (with a delay on size reduction to avoid flicker).
RedNesto/osu-framework,naoey/osu-framework,paparony03/osu-framework,peppy/osu-framework,default0/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-framework,RedNesto/osu-framework,smoogipooo/osu-framework,NeoAdonis/osu-framework,DrabWeb/osu-framework,Z...
osu.Framework/Graphics/Performance/FpsDisplay.cs
osu.Framework/Graphics/Performance/FpsDisplay.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Transf...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.MathUtils; using osu.Framewor...
mit
C#
d8a5e9ac64f530559d9e83659cfbe7fc526a12e9
Change directory watcher settings "Max Size" default
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/DirectoryWatcherSettings.cs
DesktopWidgets/Classes/DirectoryWatcherSettings.cs
using System; using System.Collections.Generic; using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] [DisplayName("Directory Watcher Settings")] public class DirectoryWatcherSettings { [DisplayName("Watch Folder Pat...
using System; using System.Collections.Generic; using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] [DisplayName("Directory Watcher Settings")] public class DirectoryWatcherSettings { [DisplayName("Watch Folder Pat...
apache-2.0
C#
2235d8cc240c1c06a0fcba38a7f57688a4c2df93
update with UniRx
RyotaMurohoshi/unity_snippets
unity/Assets/Examples/TextAnimationCancelRx/TextAnimationCancelRx.cs
unity/Assets/Examples/TextAnimationCancelRx/TextAnimationCancelRx.cs
using UnityEngine; using UnityEngine.UI; using DG.Tweening; using System.Collections; using System; using UniRx; public class TextAnimationCancelRx : MonoBehaviour { [SerializeField] Button button; [SerializeField] Text text; Tweener tweener; IEnumerator Start() { var textString...
using UnityEngine; using UnityEngine.UI; using DG.Tweening; using System.Collections; public class TextAnimationCancelRx : MonoBehaviour { [SerializeField] Button button; [SerializeField] Text text; Tweener tweener; IEnumerator Start() { var textString = text.text; butt...
mit
C#
2e41e1b7caa7a2bd407b426f170af95ada9906a2
Make the gifs more accurate.
mmbot/mmbot.scripts
scripts/Images/Giphy.csx
scripts/Images/Giphy.csx
/** * <description> * Interfaces with the Giphy API * </description> * * <configuration> * MMBOT_GIPHY_APIKEY * </configuration> * * <commands> * mmbot gif me &lt;query&gt; - Returns an animated gif matching the requested search term. * </commands> * * <notes> * Ported from https://github.com/github/h...
/** * <description> * Interfaces with the Giphy API * </description> * * <configuration> * MMBOT_GIPHY_APIKEY * </configuration> * * <commands> * mmbot gif me &lt;query&gt; - Returns an animated gif matching the requested search term. * </commands> * * <notes> * Ported from https://github.com/github/h...
apache-2.0
C#
a82bee1447339d02605b89e05c6b31bad048394e
Update RegisterCardTests.cs
JudoPay/DotNetSDK
JudoPayDotNetIntegrationTests/RegisterCardTests.cs
JudoPayDotNetIntegrationTests/RegisterCardTests.cs
using System; using System.Threading.Tasks; using JudoPayDotNet.Models; using NUnit.Framework; namespace JudoPayDotNetIntegrationTests { [TestFixture] public class RegisterCardTest : IntegrationTestsBase { [Test] public async Task RegisterCard() { var registerCardMode...
using System; using System.Threading.Tasks; using JudoPayDotNet.Models; using NUnit.Framework; namespace JudoPayDotNetIntegrationTests { [TestFixture] public class RegisterCardTest : IntegrationTestsBase { [Test] public async Task RegisterCard() { var registerCardMode...
mit
C#
7316b7ff8c7ecf9d3ab790497e423bc42c9d2e82
Fix lifecycle
dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,Cyr...
src/Features/LanguageServer/Protocol/Handler/ServerLifetime/LspServiceLifeCycleManager.cs
src/Features/LanguageServer/Protocol/Handler/ServerLifetime/LspServiceLifeCycleManager.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.CommonLanguageServerProtocol.Fr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Microsoft.CommonLanguageServerProtocol.Framework; using...
mit
C#
ab1719ed630cd07a3ccb1e1c3a6db0e3b5d6f13b
Add null check in RedirectUrlActivity
MatkovIvan/azure-mobile-apps-net-client,MatkovIvan/azure-mobile-apps-net-client,MatkovIvan/azure-mobile-apps-net-client,Azure/azure-mobile-apps-net-client,Azure/azure-mobile-apps-net-client,Azure/azure-mobile-apps-net-client
src/Microsoft.Azure.Mobile.Client/Platforms/android/Authentication/RedirectUrlActivity.cs
src/Microsoft.Azure.Mobile.Client/Platforms/android/Authentication/RedirectUrlActivity.cs
using System; using Android.App; using Android.Content; using Android.OS; namespace Microsoft.WindowsAzure.MobileServices { [Activity(Name = "com.microsoft.windowsazure.mobileservices.authentication.RedirectUrlActivity")] public class RedirectUrlActivity : Activity { protected override void OnCrea...
using System; using Android.App; using Android.Content; using Android.OS; namespace Microsoft.WindowsAzure.MobileServices { [Activity(Name = "com.microsoft.windowsazure.mobileservices.authentication.RedirectUrlActivity")] public class RedirectUrlActivity : Activity { protected override void OnCrea...
apache-2.0
C#
723255807bb2c85b83e2ab88ee1a5b870e009c69
modify Demo
jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXin...
src/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Controllers/FilterTestController.cs
src/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Controllers/FilterTestController.cs
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:FilterTestController.cs 文件功能描述:演示Senparc.Weixin.MP.MvcExtension.WeixinInternalRequestAttribute 创建标识:Senparc - 20150312 ----------------------------------------------------------------*/ usi...
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:FilterTestController.cs 文件功能描述:演示Senparc.Weixin.MP.MvcExtension.WeixinInternalRequestAttribute 创建标识:Senparc - 20150312 ----------------------------------------------------------------*/ usi...
apache-2.0
C#
51e960bb50986317ea1163876c259678cfa92579
Fix flag
weltkante/roslyn,wvdd007/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,physhi/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,physhi/roslyn,diryboy/roslyn,eriawan/roslyn,wvdd007/roslyn,dotnet/roslyn,eriawan/rosl...
src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesCascadeDirection.cs
src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesCascadeDirection.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; namespace Microsoft.CodeAnalysis.FindSymbols { [Flags] internal enum FindReferencesCascadeDi...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; namespace Microsoft.CodeAnalysis.FindSymbols { [Flags] internal enum FindReferencesCascadeDi...
mit
C#
29d7477ff0744d07055e2dbb2c8b3e7ccb0042e1
Remove the outter try/catch in BuildRaygunClient
hungweng/MarkerMetro.Unity.WinShared,cedw032/MarkerMetro.Unity.WinShared,hungweng/MarkerMetro.Unity.WinShared,MarkerMetro/MarkerMetro.Unity.WinShared,Kezeali/MarkerMetro.Unity.WinShared
WindowsSolutionUniversal/UnityProject/UnityProject.Shared/Logging/RaygunExceptionLogger.cs
WindowsSolutionUniversal/UnityProject/UnityProject.Shared/Logging/RaygunExceptionLogger.cs
using System; using System.Diagnostics; using Mindscape.Raygun4Net; using MarkerMetro.Unity.WinIntegration.Logging; using MarkerMetro.Unity.WinIntegration; namespace UnityProject.Logging { /// <summary> /// Implementation of IExceptionLogger for Raygun Exception Logger. /// </summary> public sealed ...
using System; using System.Diagnostics; using Mindscape.Raygun4Net; using MarkerMetro.Unity.WinIntegration.Logging; using MarkerMetro.Unity.WinIntegration; namespace UnityProject.Logging { /// <summary> /// Implementation of IExceptionLogger for Raygun Exception Logger. /// </summary> public sealed ...
mit
C#
d0a47afe659e2149a245e4cac8fb2f97878ffe1b
comment added
osoykan/Samples,osoykan/Samples
DependencyInjectionCourse/DependencyInjectionCourse/DependencyInjectionCourse.Tests/OrderService_Tests_6_With_Chill.cs
DependencyInjectionCourse/DependencyInjectionCourse/DependencyInjectionCourse.Tests/OrderService_Tests_6_With_Chill.cs
using Chill; using DependencyInjectionCourse.Cache; using DependencyInjectionCourse.ExternalDependencies; using DependencyInjectionCourse.Order; using FluentAssertions; using NSubstitute; using Xunit; namespace DependencyInjectionCourse.Tests { /// <summary> /// This is another Container based approac...
using Chill; using DependencyInjectionCourse.Cache; using DependencyInjectionCourse.ExternalDependencies; using DependencyInjectionCourse.Order; using FluentAssertions; using NSubstitute; using Xunit; namespace DependencyInjectionCourse.Tests { /// <summary> /// Uses https://github.com/Erwinvandervalk...
mit
C#
05f6fedc9b81491def72b578972b4a5442bd2556
Fix website warnings.
KirillOsenkov/RoslynQuoter,KirillOsenkov/RoslynQuoter,KirillOsenkov/RoslynQuoter
src/Quoter.Web/Startup.cs
src/Quoter.Web/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft...
apache-2.0
C#
cbb5345aec45d191c80467fb40752eab2970e728
Update AppSettingAttribute.cs
drwill/mash
AppSettings/AppSettings/AppSettingAttribute.cs
AppSettings/AppSettings/AppSettingAttribute.cs
using System; namespace Mash.AppSettings { /// <summary> /// A code attribute for decorating a settings class' properties /// </summary> /// <remarks> /// As a convenience to avoid decorating each property, you may choose to attribute the class which will opt in all class public properties...
using System; namespace Mash.AppSettings { /// <summary> /// A code attribute for decorating a settings class' properties /// </summary> /// <remarks> /// As a convenience to avoid decorating each property, you may choose to attribte the class which will opt in all class public properties....
mit
C#
30e75f1b47ea63d1bba3d2295df6a8a6e3dc20e5
Add TODO regarding use of styling in VM
Misza13/StarsReloaded
StarsReloaded.Client.ViewModel/Fragments/CollapsiblePanelViewModel.cs
StarsReloaded.Client.ViewModel/Fragments/CollapsiblePanelViewModel.cs
namespace StarsReloaded.Client.ViewModel.Fragments { using System.Windows; using GalaSoft.MvvmLight.Command; using StarsReloaded.Client.ViewModel.Attributes; public class CollapsiblePanelViewModel : BaseViewModel { private bool isExpanded; private string header; public ...
namespace StarsReloaded.Client.ViewModel.Fragments { using System.Windows; using GalaSoft.MvvmLight.Command; using StarsReloaded.Client.ViewModel.Attributes; public class CollapsiblePanelViewModel : BaseViewModel { private bool isExpanded; private string header; public ...
mit
C#
e156bcdcae175f46a5c78fb9eb7c4ed5d0dbf5d0
Remove unnecessary (and broken) requiresDebounce check
NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu
osu.Game/Graphics/UserInterface/HoverSounds.cs
osu.Game/Graphics/UserInterface/HoverSounds.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.ComponentModel; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Framew...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.ComponentModel; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Framew...
mit
C#
2ea7a7ac0871427617340ec1e5f0a03afb317e4b
Add assembly
elyen3824/myfinanalysis-data
data-provider/run.csx
data-provider/run.csx
#r "System.Web.Http" using System.Net; using System.Net.Http; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("C# HTTP trigger function processed a request."); // parse query parameter string name = req.GetQueryNameValueP...
using System; using System.Net; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("C# HTTP trigger function processed a request."); // parse query parameter string name = req.GetQueryNameValuePairs() .FirstOrDefault(...
mit
C#
377e21b46df5817228f3a6e3bea45f5b301ca127
add test to be fixed
myget/PackageSourceDiscovery,myget/PackageSourceDiscovery
src/Extension/NuGet.PackageSourceDiscovery.Extension.Tests/Commands/DiscoverCommandTest.cs
src/Extension/NuGet.PackageSourceDiscovery.Extension.Tests/Commands/DiscoverCommandTest.cs
using System; using Moq; using Xunit; using Xunit.Extensions; namespace NuGet.Test.Commands { public class DiscoverCommandTest { [Theory] [InlineData(new object[] { null })] [InlineData(new object[] { "" })] public void CommandThrowsIfUrlIsNullOrEmpty(string url) { ...
using Moq; using Xunit.Extensions; namespace NuGet.Test.Commands { public class DiscoverCommandTest { [Theory] [InlineData(new object[] { null })] [InlineData(new object[] { "" })] public void CommandThrowsIfUrlIsNullOrEmpty(string url) { // Arrange ...
apache-2.0
C#
352a7af7b37cfa761d1ff84b616255a6e3af973e
Implement CR feedback
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCopTester/Statistic.cs
StyleCop.Analyzers/StyleCopTester/Statistic.cs
namespace StyleCopTester { internal struct Statistic { public Statistic(int numberOfNodes, int numberOfTokens, int numberOfTrivia) { this.NumberofNodes = numberOfNodes; this.NumberOfTokens = numberOfTokens; this.NumberOfTrivia = numberOfTrivia; } ...
namespace StyleCopTester { internal struct Statistic { public Statistic(int numberOf1, int numberOf2, int numberOf3) { this.NumberofNodes = numberOf1; this.NumberOfTokens = numberOf2; this.NumberOfTrivia = numberOf3; } public int NumberofNode...
mit
C#
da8a35b3b657ac41d6698052769734bd335389c8
Update MergeConflict.cs
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/MergeConflict.cs
src/Firehose.Web/Authors/MergeConflict.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MergeConflict : IAmACommunityMember, IAmAPodcast { public string FirstName => "Merge"; public string LastName => "Conflict"; public string StateOrRegion => "...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MergeConflict : IAmACommunityMember, IAmAPodcast { public string FirstName => "Merge"; public string LastName => "Conflict"; public string StateOrRegion => "...
mit
C#
e7af4131a63292e1b559d50cee613092f6b5c267
Add null check to Commit
gep13/GitVersion,gep13/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,GitTools/GitVersion
src/GitVersion.LibGit2Sharp/Git/Commit.cs
src/GitVersion.LibGit2Sharp/Git/Commit.cs
using GitVersion.Extensions; using GitVersion.Helpers; namespace GitVersion; internal sealed class Commit : GitObject, ICommit { private static readonly LambdaEqualityHelper<ICommit> equalityHelper = new(x => x.Id); private static readonly LambdaKeyComparer<ICommit, string> comparerHelper = new(x => x.Sha); ...
using GitVersion.Helpers; namespace GitVersion; internal sealed class Commit : GitObject, ICommit { private static readonly LambdaEqualityHelper<ICommit> equalityHelper = new(x => x.Id); private static readonly LambdaKeyComparer<ICommit, string> comparerHelper = new(x => x.Sha); private readonly LibGit2S...
mit
C#
638b3d91610dd3cf548f859ee704f9963aa5bc3f
Add statistics storage to realm model
ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game/Scoring/ScoreInfo.cs
osu.Game/Scoring/ScoreInfo.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.Testing; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.Models; using osu.Game.Rule...
// 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.Testing; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.Models; using osu.Game.Rule...
mit
C#
4681d1cd8cb7810edf2e865a0a7206eb17026fe0
Check receiver has at least email property
jbinder/dragon,aduggleby/dragon,aduggleby/dragon,jbinder/dragon,jbinder/dragon,aduggleby/dragon
proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs
proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dragon.Mail.Interfaces; namespace Dragon.Mail.Impl { public class DefaultReceiverMapper : IReceiverMapper { public void Map(dynamic receiver, Models.Mail mail...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dragon.Mail.Interfaces; namespace Dragon.Mail.Impl { public class DefaultReceiverMapper : IReceiverMapper { public void Map(dynamic receiver, Models.Mail mail...
mit
C#
4e290498699b31c06a2cbb2c8852a5fb0fbfe8c7
use 'using' pattern for GValue
mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp
sources/custom/Object.cs
sources/custom/Object.cs
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any ...
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any ...
agpl-3.0
C#
7c2e5879f0e1b9c724cb04ece25da23adac6c099
check application count on key deletaion
s093294/Thinktecture.AuthorizationServer,yfann/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,yfann/AuthorizationServer,IdentityModel/AuthorizationServer,IdentityModel/AuthorizationServer
source/WebHost/Areas/Admin/Api/KeysController.cs
source/WebHost/Areas/Admin/Api/KeysController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Thinktecture.AuthorizationServer.Interfaces; using Thinktecture.AuthorizationServer.Models; using Thinktecture.AuthorizationServer.WebHost.Areas.Admin.Models; namespace Thinktecture...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Thinktecture.AuthorizationServer.Interfaces; using Thinktecture.AuthorizationServer.Models; using Thinktecture.AuthorizationServer.WebHost.Areas.Admin.Models; namespace Thinktecture...
bsd-3-clause
C#
69fce79682fe6b2174a3ff7f46534ee9339abefb
Update IUIComponentExtensions
atata-framework/atata-kendoui,atata-framework/atata-kendoui
src/Atata.KendoUI/Extensions/IUIComponentExtensions.cs
src/Atata.KendoUI/Extensions/IUIComponentExtensions.cs
using System; using OpenQA.Selenium; namespace Atata.KendoUI { internal static class IUIComponentExtensions { internal static TOwner WaitForCssTransitionEnd<TOwner>(this IUIComponent<TOwner> component, string transitionName, RetryOptions waitingOptions, SearchOptions searchOptions = null) ...
using System; using OpenQA.Selenium; namespace Atata.KendoUI { internal static class IUIComponentExtensions { internal static void WaitForCssTransitionEnd<TOwner>(this IUIComponent<TOwner> component, string transitionName, RetryOptions waitingOptions) where TOwner : PageObject<TOwner> ...
apache-2.0
C#
22c0eebfb9c094377b9af3e3d2d44601379b5a4a
Change field property to a list of field ids --Signed-off-by Kathleen Oneal <onealkathleena@johndeere.com>
ADAPT/ADAPT,tarakreddy/ADAPT
source/ADAPT/ReferenceLayers/ReferenceLayer.cs
source/ADAPT/ReferenceLayers/ReferenceLayer.cs
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0...
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0...
epl-1.0
C#
6201c2b0f387f86003c9b3a8c7bb4eb055692fa3
Fix ControlListScopeLocator
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/ScopeSearch/ControlListScopeLocator.cs
src/Atata/ScopeSearch/ControlListScopeLocator.cs
using System; using System.Collections.Generic; using System.Linq; using OpenQA.Selenium; namespace Atata { public class ControlListScopeLocator : IScopeLocator { private readonly Func<SearchOptions, IEnumerable<IWebElement>> predicate; public ControlListScopeLocator(Func<SearchOptions...
using System; using System.Collections.Generic; using System.Linq; using OpenQA.Selenium; namespace Atata { public class ControlListScopeLocator : IScopeLocator { private readonly Func<SearchOptions, IEnumerable<IWebElement>> predicate; public ControlListScopeLocator(Func<SearchOptions...
apache-2.0
C#
ef42e9350d0fd9fe983fb15d025e3384b52e4c9c
Add doc comment for NonVirtualizingLayoutContext.
SuperJMN/Avalonia,jkoritzinsky/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/...
src/Avalonia.Layout/NonVirtualizingLayoutContext.cs
src/Avalonia.Layout/NonVirtualizingLayoutContext.cs
// This source file is adapted from the WinUI project. // (https://github.com/microsoft/microsoft-ui-xaml) // // Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. namespace Avalonia.Layout { /// <summary> /// Represents the base class for layout context types that do not sup...
// This source file is adapted from the WinUI project. // (https://github.com/microsoft/microsoft-ui-xaml) // // Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. namespace Avalonia.Layout { public abstract class NonVirtualizingLayoutContext : LayoutContext { } }
mit
C#
e3d5a59ce4c7c1e5e7e4dca611df786ebfe41fc5
remove . named directories
sillyotter/UPNPDlnaServer,sillyotter/UPNPDlnaServer
src/MediaServer/Media/Nodes/FilesystemFolderNode.cs
src/MediaServer/Media/Nodes/FilesystemFolderNode.cs
using System; using System.IO; using System.Linq; using System.Net; using System.Xml.Linq; namespace MediaServer.Media.Nodes { public class FilesystemFolderNode : FolderNode { private readonly string _location; private volatile bool _hasBeenScanned; private readonly FileSystemWatcher _watcher; public File...
using System; using System.IO; using System.Linq; using System.Net; using System.Xml.Linq; namespace MediaServer.Media.Nodes { public class FilesystemFolderNode : FolderNode { private readonly string _location; private volatile bool _hasBeenScanned; private readonly FileSystemWatcher _watcher; public File...
mit
C#
edb94c9d7f785491f7b396db466d55464addb644
add converter namespace to XmlnsDefinition
charri/Font-Awesome-WPF,punker76/Font-Awesome-WPF
src/FontAwesome.WPF/Properties/AssemblyInfo.cs
src/FontAwesome.WPF/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; [assembly: AssemblyTitle("Font Awesome WPF")] [assembly: AssemblyDescription("Wpf components for the iconic font and CSS toolkit Font-Awesome")] [assembly: AssemblyConfiguration("")] [as...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; [assembly: AssemblyTitle("Font Awesome WPF")] [assembly: AssemblyDescription("Wpf components for the iconic font and CSS toolkit Font-Awesome")] [assembly: AssemblyConfiguration("")] [as...
mit
C#
27d0ca8d8795a20d623221aaf9bed11ca2e71c94
Add extra extension method for getting URI
zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimps...
src/Glimpse.Web.Common/Context/HttpRequestExtension.cs
src/Glimpse.Web.Common/Context/HttpRequestExtension.cs
using System; namespace Glimpse.Web { public static class HttpRequestExtension { public static string Uri(this IHttpRequest request) { return $"{request.Scheme}://{request.Host}{request.PathBase}{request.Path}{request.QueryString}"; } public static string UriAbsolu...
using System; namespace Glimpse.Web { public static class HttpRequestExtension { public static string Uri(this IHttpRequest request) { return $"{request.Scheme}://{request.Host}{request.PathBase}{request.Path}{request.QueryString}"; } } }
mit
C#
495d30ddf4957f53fc2073ccb732c5b8eab6af7a
Support ver 1.33.3.0
vocho/yokkagrep2editor
NoEditor.cs
NoEditor.cs
// for https://web.archive.org/web/20150909075454/http://download.forest.impress.co.jp/pub/library/n/noeditor/10421/NEditSet_1-33-3-0.zip using System; using System.Diagnostics; using System.Collections.Generic; using System.Linq; // Any() => Count > 0 using System.Reflection; [assembly: AssemblyCompany("Yo...
// for http://wayback.archive.org/web/20060118044437/http://download.forest.impress.co.jp/pub/win/n/noeditor/NEditSet_1-24-2-0.lzh using System; using System.Diagnostics; using System.Collections.Generic; using System.Linq; // Any() => Count > 0 class dummyexe { public static void Main(string[] args) ...
mit
C#
5d8195e1f6d816873a6fa32321f54c2030d2ebcd
call existing loader implementations
OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
src/OmniSharp.Abstractions/Services/IAssemblyLoader.cs
src/OmniSharp.Abstractions/Services/IAssemblyLoader.cs
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace OmniSharp.Services { public interface IAssemblyLoader { Assembly Load(AssemblyName name); IReadOnlyList<Assembly> LoadAllFrom(string folderPath); Assembly LoadFrom(string assemblyPath)...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace OmniSharp.Services { public interface IAssemblyLoader { Assembly Load(AssemblyName name); IReadOnlyList<Assembly> LoadAllFrom(string folderPath); Assembly LoadFrom(string assemblyPath)...
mit
C#
3513d504d8d97661f7bd39cea509a2b87978b233
Initialize tilting curve
bartlomiejwolk/AnimationPathAnimator
PathData.cs
PathData.cs
using UnityEngine; using System.Collections; namespace ATP.AnimationPathTools { public class PathData : ScriptableObject { [SerializeField] private AnimationPath animatedObjectPath; [SerializeField] private AnimationPath rotationPath; [SerializeField] private AnimationCurve easeCurve; [SerializeFi...
using UnityEngine; using System.Collections; namespace ATP.AnimationPathTools { public class PathData : ScriptableObject { [SerializeField] private AnimationPath animatedObjectPath; [SerializeField] private AnimationPath rotationPath; [SerializeField] private AnimationCurve easeCurve; [SerializeFi...
mit
C#
03ff695a674787c99ee80a84c3421d2c8ed6c4c0
Use Dotnet core VSTest
EVAST9919/osu,johnneijzen/osu,peppy/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,ppy/osu,peppy/osu,peppy/osu-new,naoey/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,naoey/osu,DrabWeb/osu,DrabWeb/osu,sm...
build.cake
build.cake
#addin "nuget:?package=CodeFileSanity&version=0.0.21" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ///////////////////////////////////////////...
#addin "nuget:?package=CodeFileSanity&version=0.0.21" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ///////////////////////////////////////////...
mit
C#
90f8c218612d2bcf34f2fe3dc8efea8cfd845b60
Add sample program
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/ProcessSample/source/ProcessSample.App/Program.cs
projects/ProcessSample/source/ProcessSample.App/Program.cs
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace ProcessSample { using Sy...
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace ProcessSample { using Sy...
unlicense
C#
d2b6eaf52614b006ad597ca96ff36e738649b5b6
Enable test in CI
martincostello/project-euler
src/ProjectEuler.Tests/Puzzles/Puzzle024Tests.cs
src/ProjectEuler.Tests/Puzzles/Puzzle024Tests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using Xunit; /// <summary> /// A class containing tests for the <see cref="Puzzle02...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using Xunit; /// <summary> /// A class containing tests for the <see cref="Puzzle02...
apache-2.0
C#
e44c9730fcd1238b1ff77d9c9398b803558a7fdc
Add LoginAttempt event
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Syncthing/ApiClient/EventType.cs
src/SyncTrayzor/Syncthing/ApiClient/EventType.cs
using Newtonsoft.Json; namespace SyncTrayzor.Syncthing.ApiClient { [JsonConverter(typeof(DefaultingStringEnumConverter))] public enum EventType { Unknown, Starting, StartupComplete, Ping, DeviceDiscovered, DeviceConnected, DeviceDisconnected, ...
using Newtonsoft.Json; namespace SyncTrayzor.Syncthing.ApiClient { [JsonConverter(typeof(DefaultingStringEnumConverter))] public enum EventType { Unknown, Starting, StartupComplete, Ping, DeviceDiscovered, DeviceConnected, DeviceDisconnected, ...
mit
C#
c70aad2f581f72eb4a58afbd2397b78612020c17
add value3
surlakew/TravisWebApp,surlakew/TravisWebApp
src/TravisWebApp/Controllers/ValuesController.cs
src/TravisWebApp/Controllers/ValuesController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; namespace TravisWebApp.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { // GET: api/values [HttpGet] publi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; namespace TravisWebApp.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { // GET: api/values [HttpGet] publi...
apache-2.0
C#
fb3c6762fb874804a7872bd836d225e1ebff03dd
Update copyright year
terrajobst/nquery,terrajobst/nquery
Src/CommonAssemblyInfo.cs
Src/CommonAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly : AssemblyCopyright("Copyright 2005 - 2012 by Immo Landwerth")] [assembly : AssemblyCompany("NQuery")] [assembly : AssemblyProduct("NQuery")] [assembly : CLSCompliant(false)] [assembly : ComVisible(false)] [assembly: A...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly : AssemblyCopyright("Copyright 2005 - 2009 by Immo Landwerth")] [assembly : AssemblyCompany("NQuery")] [assembly : AssemblyProduct("NQuery")] [assembly : CLSCompliant(false)] [assembly : ComVisible(false)] [assembly: A...
mit
C#
92c79f530be2c908467896ab3d4534c64ee0d9b5
Add tests for enum reading
roman-kozachenko/MsgPack.Light,progaudi/MsgPack.Light
tests/msgpack.light.tests/Reader/Enums.cs
tests/msgpack.light.tests/Reader/Enums.cs
using Shouldly; using Xunit; namespace ProGaudi.MsgPack.Light.Tests.Reader { public class Enums { [Theory, ClassData(typeof(EnumValuesProvider<DefaultEnum>))] public void ReadEnum(DefaultEnum enumValue) { var bytes = MsgPackSerializer.Serialize((int)enumValue); ...
namespace ProGaudi.MsgPack.Light.Tests.Reader { public class Enums { } }
mit
C#
7cfd8a38868b54b518de17d10705642b89efb4bc
Bump assemblies version number from 1.0 to 1.0.1
duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,HSAR/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,jabbera/sonar-msbuild-runner,dbolkensteyn/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,SonarSource-VisualSt...
AssemblyInfo.Shared.cs
AssemblyInfo.Shared.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
mit
C#
ceeb7d18ee7611fdefbe8cf8b3a78c2d55ef9410
Update EquipmentItemModel.cs
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.Contract/Models/EquipmentItemModel.cs
NinjaHive.Contract/Models/EquipmentItemModel.cs
using NinjaHive.Components.Enums; namespace NinjaHive.Contract.Models { public class EquipmentItemModel: GameItemModel { public EquipmentItemModel() { this.Durability = 0; this.BodySlot = BodySlot.Head; this.NumberOfSlots = 1; } public int D...
using NinjaHive.Components.Enums; namespace NinjaHive.Contract.Models { public class EquipmentItemModel: GameItemModel { public EquipmentItemModel() { this.Durability = 0; this.BodySlot = BodySlot.Head; this.NumberOfSlots = 1; } public int D...
apache-2.0
C#
353ecd05c6cc79f188a6eb0aadef3efe70b9c7ca
fix default value
BigBabay/AsyncConverter,BigBabay/AsyncConverter
AsyncConverter/Settings/AsyncConverterSettings.cs
AsyncConverter/Settings/AsyncConverterSettings.cs
using JetBrains.Application.Settings; using JetBrains.ReSharper.Resources.Settings; namespace AsyncConverter.Settings { [SettingsKey(typeof(CodeInspectionSettings), "Settings for AsyncConverter plugin.")] public class AsyncConverterSettings { [SettingsEntry(true, "Suggest adding 'Async' suffix to ...
using JetBrains.Application.Settings; using JetBrains.ReSharper.Resources.Settings; namespace AsyncConverter.Settings { [SettingsKey(typeof(CodeInspectionSettings), "Settings for AsyncConverter plugin.")] public class AsyncConverterSettings { [SettingsEntry(false, "Suggest adding 'Async' suffix to...
mit
C#
1904c2043f64988b44f65133f8ff97b59be4b47c
fix jsonparse liquid filter to supports arrays (#6499)
stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2
src/OrchardCore.Modules/OrchardCore.Liquid/Filters/JsonParseFilter.cs
src/OrchardCore.Modules/OrchardCore.Liquid/Filters/JsonParseFilter.cs
using System.Threading.Tasks; using Fluid; using Fluid.Values; using Newtonsoft.Json.Linq; namespace OrchardCore.Liquid.Filters { public class JsonParseFilter : ILiquidFilter { public ValueTask<FluidValue> ProcessAsync(FluidValue input, FilterArguments arguments, TemplateContext context) { ...
using System.Threading.Tasks; using Fluid; using Fluid.Values; using Newtonsoft.Json.Linq; namespace OrchardCore.Liquid.Filters { public class JsonParseFilter : ILiquidFilter { public ValueTask<FluidValue> ProcessAsync(FluidValue input, FilterArguments arguments, TemplateContext context) { ...
bsd-3-clause
C#
300c9aa25815b2c713a33f93e04a4eea77c8abbe
fix test
KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,bjarnef/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,kgiszewski/Umbraco-CMS,aadfPT/Umbraco-CMS,tcmorris/Umbraco-CMS,arknu/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,la...
src/Umbraco.Tests/Cache/CacheRefresherTests.cs
src/Umbraco.Tests/Cache/CacheRefresherTests.cs
using System; using NUnit.Framework; using Umbraco.Core.Sync; using umbraco.presentation.webservices; namespace Umbraco.Tests.Cache { [TestFixture] public class CacheRefresherTests { [TestCase("", "123456", "testmachine", true)] //empty hash will continue [TestCase("2e6deefea4444a69dbd15a01...
using System; using NUnit.Framework; using Umbraco.Core.Sync; using umbraco.presentation.webservices; namespace Umbraco.Tests.Cache { [TestFixture] public class CacheRefresherTests { [TestCase("", "123456", "testmachine", true)] //empty hash will continue [TestCase("fffffff28449cf33", "1234...
mit
C#
ab901d70b39fb2016278c046b5e95f41388c6a3a
rename metric
pbering/SitecorePrometheusMetrics
src/SitecorePrometheusMetrics.Core/Events.cs
src/SitecorePrometheusMetrics.Core/Events.cs
using System; using System.Collections.Generic; using System.Linq; using Sitecore.Events; using Sitecore.Publishing; namespace SitecorePrometheusMetrics.Core { public class Events { private readonly string _countName; private readonly string _durationName; public Events() { ...
using System; using System.Collections.Generic; using System.Linq; using Sitecore.Events; using Sitecore.Publishing; namespace SitecorePrometheusMetrics.Core { public class Events { private readonly string _countName; private readonly string _durationName; public Events() { ...
mit
C#
4354c2112d4a1ab2ec79f59fd4842c845cf9e896
Make id setter private
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
RightpointLabs.Pourcast.Domain/Models/Entity.cs
RightpointLabs.Pourcast.Domain/Models/Entity.cs
namespace RightpointLabs.Pourcast.Domain.Models { public abstract class Entity { protected Entity(string id) { Id = id; } protected internal Entity() { } public string Id { get; private set; } } }
namespace RightpointLabs.Pourcast.Domain.Models { public abstract class Entity { protected Entity(string id) { Id = id; } protected internal Entity() { } public string Id { get; set; } } }
mit
C#
0584fceda7bfc60364b5f15ba98aeb5dffbc070f
update type
hybrasyl/server,baughj/hybrasylserver,baughj/hybrasylserver,hybrasyl/server,baughj/hybrasylserver,hybrasyl/server
hybrasyl/Plugins/Message.cs
hybrasyl/Plugins/Message.cs
using System; using System.Collections.Generic; using System.Text; namespace Hybrasyl.Plugins { // TODO: interface public class Message { public string Sender = string.Empty; public string Recipient = string.Empty; public Xml.MessageType Type { get; set; } public string Tex...
using System; using System.Collections.Generic; using System.Text; namespace Hybrasyl.Plugins { // TODO: interface public class Message { public string Sender = string.Empty; public string Recipient = string.Empty; public MessageType Type { get; set; } public string Text = ...
agpl-3.0
C#
e6dac64783cbdf90f0cf388cde10702f4dc6854e
Remove the extra slash that causes /try/ to be interpreted as / in context.Request.Path
fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,proj...
SimpleWAWS/Authentication/GoogleAuthProvider.cs
SimpleWAWS/Authentication/GoogleAuthProvider.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Web; namespace SimpleWAWS.Authentication { public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider { public override stri...
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Web; namespace SimpleWAWS.Authentication { public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider { public override stri...
apache-2.0
C#
1fdb8ca37acc5c5567244279154b81efc6ec785d
Fix auto-generated lisence header
DrabWeb/osu,johnneijzen/osu,peppy/osu,naoey/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,naoey/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,ppy/osu,NeoAdonis/o...
osu.Game/Tests/Visual/TestCasePlayerBase.cs
osu.Game/Tests/Visual/TestCasePlayerBase.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Tests.Visual { public class TestCasePlayerBase : ScreenTestCase { protected override void Update() { base.Update()...
// Copyright (c) 2007-2019 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Tests.Visual { public class TestCasePlayerBase : ScreenTestCase { protected override void Update() { base.Update()...
mit
C#
e743d01710c6ba7570b4b57a3e84e881f6249a15
Update MandrillMessageEventType.cs
feinoujc/Mandrill.net
src/Mandrill.net/Model/WebHook/MandrillMessageEventType.cs
src/Mandrill.net/Model/WebHook/MandrillMessageEventType.cs
using System.Runtime.Serialization; namespace Mandrill.Model { public enum MandrillMessageEventType { Send, Deferral, HardBounce, SoftBounce, Open, Click, Spam, Unsub, Reject, Delivered } }
using System.Runtime.Serialization; namespace Mandrill.Model { public enum MandrillMessageEventType { Send, Deferral, HardBounce, SoftBounce, Open, Click, Spam, Unsub, Reject } }
mit
C#
63c2c64f94e5f573231d536dcb2aba11b1fb0db7
Fix TestClient
schulz3000/deepstreamNet,schulz3000/deepstreamNet
src/DeepStreamTestClient/Program.cs
src/DeepStreamTestClient/Program.cs
using System; using System.Threading.Tasks; namespace DeepStreamNet.ConsoleClient { class Program { static void Main(string[] args) { MainAsync(args).GetAwaiter().GetResult(); Console.Read(); } static Task MainAsync(string[] args) {...
using System; using System.Threading.Tasks; namespace DeepStreamNet.ConsoleClient { class Program { static void Main(string[] args) { MainAsync(args).GetAwaiter().GetResult(); Console.Read(); } static Task MainAsync(string[] args) {...
mit
C#
b444923c64a19f598a0a7514e6624379087c3c81
Update AzureNotificationHubs.cs
jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs
src/windows/AzureNotificationHubs/AzureNotificationHubs.cs
src/windows/AzureNotificationHubs/AzureNotificationHubs.cs
using System; using Windows.Networking.PushNotifications; using Microsoft.WindowsAzure.Messaging; using Windows.Foundation; using System.Threading.Tasks; namespace AzureNotificationHubs { public sealed class AzureNotificationHubs { private static TaskCompletionSource<string> completionSource = new Tas...
using System; using Windows.Networking.PushNotifications; using Microsoft.WindowsAzure.Messaging; using Windows.Foundation; using System.Threading.Tasks; using System.IO; using System.Runtime.Serialization.Json; using Windows.UI.Popups; namespace AzureNotificationHubs { public sealed class AzureNotificationHubs ...
mit
C#
32b51470619230ce0d0d8e2971710ba61549094f
Use var instead.
dlemstra/Magick.NET,dlemstra/Magick.NET
tests/Magick.NET.Tests/Profiles/8Bim/EightBimValueTests.cs
tests/Magick.NET.Tests/Profiles/8Bim/EightBimValueTests.cs
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System.Linq; using ImageMagick; using Xunit; namespace Magick.NET.Tests { public class EightBimValueTests { [Fact] public void Test_IEquatable() { var...
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System.Linq; using ImageMagick; using Xunit; namespace Magick.NET.Tests { public class EightBimValueTests { [Fact] public void Test_IEquatable() { var...
apache-2.0
C#
f00f393687000204a46ec4fbd2d4bddf18ad0cc0
Disable failing net461 tests
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
tests/SharpCompress.Test/Zip/ZipWriterTests.cs
tests/SharpCompress.Test/Zip/ZipWriterTests.cs
using SharpCompress.Common; using Xunit; namespace SharpCompress.Test.Zip { public class ZipWriterTests : WriterTests { public ZipWriterTests() : base(ArchiveType.Zip) { } #if !NET461 // Failing on net461 [Fact] public void Zip_Deflate_Write() ...
using SharpCompress.Common; using Xunit; namespace SharpCompress.Test.Zip { public class ZipWriterTests : WriterTests { public ZipWriterTests() : base(ArchiveType.Zip) { } // Failing on net461 [Fact] public void Zip_Deflate_Write() { ...
mit
C#
1d82315e39f6f415473e6a08e64068b106ad93a6
Handle Marquee start / stop via event
AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,Livven/AngleSharp,Livven/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp...
AngleSharp/DOM/Html/Objects/HTMLMarqueeElement.cs
AngleSharp/DOM/Html/Objects/HTMLMarqueeElement.cs
namespace AngleSharp.DOM.Html { using AngleSharp.Attributes; using System; /// <summary> /// Represents the HTML marquee element. /// </summary> [DomHistorical] sealed class HTMLMarqueeElement : HTMLElement { #region ctor internal HTMLMarqueeElement() : bas...
namespace AngleSharp.DOM.Html { using AngleSharp.Attributes; using System; /// <summary> /// Represents the HTML marquee element. /// </summary> [DomHistorical] sealed class HTMLMarqueeElement : HTMLElement { #region ctor internal HTMLMarqueeElement() : bas...
mit
C#
b5908ff54db5618660e0c64e31d2bae3494ffac0
Migrate preferences from older assembly versions at launch
freenet/wintray,freenet/wintray
Program.cs
Program.cs
using System; using System.Windows.Forms; namespace FreenetTray { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { // migrate settings from older config files for prev...
using System; using System.Windows.Forms; namespace FreenetTray { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { FNLog.Initialize(); Application.EnableVi...
mit
C#
4cc4450ed743d2b6c8464fe419904ab9662f49bf
Remove pause at end (left in accidentally)
jordanwallwork/upver
Program.cs
Program.cs
using System; namespace UpVer { class Program { static void Main(string[] args) { try { var settings = new Settings(args); var updater = new VersionUpdater(settings); var changes = updater.Process(); if (...
using System; namespace UpVer { class Program { static void Main(string[] args) { try { var settings = new Settings(args); var updater = new VersionUpdater(settings); var changes = updater.Process(); if (...
mit
C#
13adfe7c2bb578deb79d3a04bff190238c22bce0
Add bootstrap and jquery using bower package management.
ottoetc/OttoMail,ottoetc/OttoMail,ottoetc/OttoMail
OttoMail/src/OttoMail/Views/Shared/_Layout.cshtml
OttoMail/src/OttoMail/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewBag.Title</title> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="~/css/styles.css" /> </head> <b...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> <link rel="stylesheet" type="text/css" href="~/css/styles.css" /> </head> <body> <div> @RenderBody() </div> </body> </html>
mit
C#
d0d46ecd810d0323cfcd7f7adf26a0192c99b421
add types after initialization if we come across one not already mapped fixes #31
eumario/Nez,Blucky87/Nez,prime31/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez
Nez-PCL/ECS/InternalUtils/ComponentTypeManager.cs
Nez-PCL/ECS/InternalUtils/ComponentTypeManager.cs
using System; using System.Collections.Generic; using System.Reflection; namespace Nez { public static class ComponentTypeManager { private static Dictionary<Type,int> _componentTypesMask = new Dictionary<Type, int>(); public static void initialize() { var currentDomain = typeof( string ).Assembly.GetTy...
using System; using System.Collections.Generic; using System.Reflection; namespace Nez { public static class ComponentTypeManager { private static Dictionary<Type,int> _componentTypesMask = new Dictionary<Type, int>(); public static void initialize() { var currentDomain = typeof( string ).Assembly.GetTy...
mit
C#
d8b2e7937cf696c24dfb4ea905ba35c6ccb6f629
Fix NRE when setting ImageView.Image to null. Fixes #312.
l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1
Source/Eto.Gtk/Forms/Controls/ImageViewHandler.cs
Source/Eto.Gtk/Forms/Controls/ImageViewHandler.cs
using System; using Eto.Forms; using Eto.GtkSharp.Drawing; using Eto.Drawing; namespace Eto.GtkSharp.Forms.Controls { public class ImageViewHandler : GtkControl<Gtk.DrawingArea, ImageView, ImageView.ICallback>, ImageView.IHandler { Image image; bool widthSet; bool heightSet; public ImageViewHandler() { ...
using System; using Eto.Forms; using Eto.GtkSharp.Drawing; using Eto.Drawing; namespace Eto.GtkSharp.Forms.Controls { public class ImageViewHandler : GtkControl<Gtk.DrawingArea, ImageView, ImageView.ICallback>, ImageView.IHandler { Image image; bool widthSet; bool heightSet; public ImageViewHandler() { ...
bsd-3-clause
C#
f238b227d84d4734a595c0c69fd833b46ba5fb61
add test cleanup
DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit
AjaxControlToolkit.Tests/AjaxFileUploadTests.cs
AjaxControlToolkit.Tests/AjaxFileUploadTests.cs
using NUnit.Framework; using System; using System.IO; using System.Web; using System.Web.Hosting; namespace AjaxControlToolkit.Tests { [TestFixture] public class AjaxFileUploadTests { string _tempFolder; [OneTimeSetUp] public void Init() { _tempFolder = AjaxFileUpload.Bui...
using NUnit.Framework; using System; using System.IO; using System.Web; using System.Web.Hosting; namespace AjaxControlToolkit.Tests { [TestFixture] public class AjaxFileUploadTests { [Test] public void NotAllowedFileExtensionIsBlocked() { var request = new WorkerRequest("", "fil...
bsd-3-clause
C#
5140b9af528c6f253fe7d8bced1a97b4425d427d
Fix example
Menvia/farol-unity-app
Assets/scripts/WS/Example_FarolControllerUse.cs
Assets/scripts/WS/Example_FarolControllerUse.cs
using UnityEngine; using System.Collections.Generic; using Farol; using Farol.Models; using System; public class Example_FarolControllerUse : MonoBehaviour { User user; public void onCompleteDeviceL(Device[] s) { if (s.Length > 0) Debug.Log("DEVICES: "+s[0]._id); } public voi...
using UnityEngine; using System.Collections.Generic; using Farol; using Farol.Models; using System; public class Example_FarolControllerUse : MonoBehaviour { User user; public void onCompleteDeviceL(Device[] s) { if (s.Length > 0) Debug.Log("DEVICES: "+s[0]._id); } public voi...
apache-2.0
C#
ad55ef0b884d9ff4d5167866a414c4c34c5872fa
Fix video sizing issues
yadyn/JabbR,yadyn/JabbR,yadyn/JabbR
JabbR/ContentProviders/IFrameContentProvider.cs
JabbR/ContentProviders/IFrameContentProvider.cs
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using JabbR.ContentProviders.Core; namespace JabbR.ContentProviders { public abstract class IFrameContentProvider : EmbedContentProvider { public override string MediaFormatString { get ...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using JabbR.ContentProviders.Core; namespace JabbR.ContentProviders { public abstract class IFrameContentProvider : EmbedContentProvider { public override string MediaFormatString { get ...
mit
C#
a7449380cda7920f23cbb6d2f034ec634dcdba16
Fix osu! slider ticks appearing too late
peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu
osu.Game.Rulesets.Osu/Objects/SliderTick.cs
osu.Game.Rulesets.Osu/Objects/SliderTick.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 osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Osu.Judgements; using osu....
// 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 osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Osu.Judgements; using osu....
mit
C#
7759201bd4a5641555c14c5ac90515a7690a39d1
Add covariance to IAsyncEnumerator<T>
tyrotoxin/AsyncEnumerable
IAsyncEnumerator.cs
IAsyncEnumerator.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace System.Collections.Async { /// <summary> /// Supports a simple asynchronous iteration over a non-generic collection /// </summary> public interface IAsyncEnumerator : IEnumerator, IDisposable { ...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace System.Collections.Async { /// <summary> /// Supports a simple asynchronous iteration over a non-generic collection /// </summary> public interface IAsyncEnumerator : IEnumerator, IDisposable { ...
mit
C#
78c850878486280548694a5641b29bbf59e50a71
Remove unused using directive
smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Ru...
// 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 osu.Framework.Bindables; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Mods...
mit
C#
1f12a7ec2e544afb4bfe265d6921007600dcbb65
Add XML documentation to GetListing
jzebedee/lcapi
LCAPI/LCAPI/Loan.cs
LCAPI/LCAPI/Loan.cs
using System.Threading.Tasks; using LCAPI.JSON; using LCAPI.REST; using LendingClub.Models; namespace LendingClub { public class Loan : ApiBase { public string Url => $"{BaseUrl}/loans"; public Loan(string apiKey) : base(apiKey) { } protected string ListingUrl...
using System.Threading.Tasks; using LCAPI.JSON; using LCAPI.REST; using LendingClub.Models; namespace LendingClub { public class Loan : ApiBase { public string Url => $"{BaseUrl}/loans"; public Loan(string apiKey) : base(apiKey) { } protected string ListingUrl...
agpl-3.0
C#
becc8433b358af286f1191205c6847c25fb7efdf
rebuild pdf
GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp
PDF/src/PDF.Server/Controllers/PDFController.cs
PDF/src/PDF.Server/Controllers/PDFController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using PDF.Models; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Microsoft.Extensions.Logging; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using PDF.Models; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Microsoft.Extensions.Logging; ...
apache-2.0
C#
d2ecdfa9ebd68fc34b1d9c8079a7fe69bf557bcc
Set flag to enable package restore for future versions of nuget.
mauricionr/kudu,shrimpy/kudu,barnyp/kudu,shrimpy/kudu,bbauya/kudu,shibayan/kudu,chrisrpatterson/kudu,chrisrpatterson/kudu,puneet-gupta/kudu,kenegozi/kudu,WeAreMammoth/kudu-obsolete,EricSten-MSFT/kudu,juvchan/kudu,dev-enthusiast/kudu,sitereactor/kudu,puneet-gupta/kudu,juoni/kudu,duncansmart/kudu,mauricionr/kudu,duncansm...
Kudu.Core/Deployment/MsBuildSiteBuilder.cs
Kudu.Core/Deployment/MsBuildSiteBuilder.cs
using System; using System.Linq; using System.Threading.Tasks; using Kudu.Contracts.Tracing; using Kudu.Core.Infrastructure; namespace Kudu.Core.Deployment { public abstract class MsBuildSiteBuilder : ISiteBuilder { private const string NuGetCachePathKey = "NuGetCachePath"; private const strin...
using System; using System.Linq; using System.Threading.Tasks; using Kudu.Contracts.Tracing; using Kudu.Core.Infrastructure; namespace Kudu.Core.Deployment { public abstract class MsBuildSiteBuilder : ISiteBuilder { private const string NuGetCachePathKey = "NuGetCachePath"; private readonly E...
apache-2.0
C#
2553efbdb6e0377e73b552706365e3c42c603f69
Fix build
CatenaLogic/AzureStorageSync
src/AzureStorageSync.Tests/GlobalInitialization.cs
src/AzureStorageSync.Tests/GlobalInitialization.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalInitialization.cs" company="CatenaLogic"> // Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved. // </copyright> // -----------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalInitialization.cs" company="CatenaLogic"> // Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved. // </copyright> // -----------------------------------------------...
mit
C#
86f94b7590daf4ca24ba37f17d30b41df60c9be3
Fix typo.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Http/DefaultConnectionInfo.cs
src/Microsoft.AspNet.Http/DefaultConnectionInfo.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using Micr...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using Micr...
apache-2.0
C#
5c2fb3e43453febce253e83c74f5e78e0659bdcc
Simplify calculation method
peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Screens/Play/HUD/ClicksPerSecond/ClicksPerSecondCalculator.cs
osu.Game/Screens/Play/HUD/ClicksPerSecond/ClicksPerSecondCalculator.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Rulesets.UI; namespace osu.Game.Screens.Play.HUD.ClicksPer...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Rulesets.UI; namespace osu.Game.Screens...
mit
C#
43d0fc8462d232ae456f19bf4ebed369b2b0ea29
update dependency nuget.commandline to v6.3.0
FantasticFiasco/mvvm-dialogs
build/build.cake
build/build.cake
#tool nuget:?package=NuGet.CommandLine&version=6.3.0 #load utils.cake ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Re...
#tool nuget:?package=NuGet.CommandLine&version=6.2.1 #load utils.cake ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Re...
apache-2.0
C#
2459a4d1f3db4785275c3fca13fa3bd39b625bad
Fix compilation error and rookie mistake
agc93/Cake.VisualStudio,agc93/Cake.VisualStudio
build/myget.cake
build/myget.cake
#addin "System.Net.Http" using System.Net.Http; public class MyGetClient : HttpClient { public string ApiKey { get; set; } public Uri FeedUri { get; set; } private Action<string> Log { get; set; } public static MyGetClient GetClient(string uri, string key) { return GetClient(uri, key, s ...
#addin "System.Net.Http" using System.Net.Http; public class MyGetClient : HttpClient { public string ApiKey { get; set; } public Uri FeedUri { get; set; } private Action<string> Log { get; set; } public static MyGetClient GetClient(string uri, string key) { return new MyGetClient ...
mit
C#
f65a8336e0dee1decfe912be38b9ea400b8cef00
Add stream extension methods to find direct source and print hierarchy
protyposis/Aurio,protyposis/Aurio
AudioAlign/AudioAlign.Audio/Streams/StreamExtensions.cs
AudioAlign/AudioAlign.Audio/Streams/StreamExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace AudioAlign.Audio.Streams { public static class StreamExtensions { /// <summary> /// Searches for a stream of a given type in a hierarchy of nested streams. ///...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace AudioAlign.Audio.Streams { public static class StreamExtensions { /// <summary> /// Searches for a stream of a given type in a hierarchy of nested streams. ///...
agpl-3.0
C#
32c7fa7e8a54eb961f7533c6e0c6668df2e36bc7
Add some app extensions
vostok/core
Vostok.Hosting/IVostokHostBuilder_Extensions.cs
Vostok.Hosting/IVostokHostBuilder_Extensions.cs
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Vostok.Hosting.Configuration; namespace Vostok.Hosting { public static class IVostokHostBuilder_Extensions { public static IVostokHostBuilder ConfigureAppConfiguration(this IVostokHostBu...
using System; using Microsoft.Extensions.Configuration; using Vostok.Hosting.Configuration; namespace Vostok.Hosting { public static class IVostokHostBuilder_Extensions { public static IVostokHostBuilder ConfigureAppConfiguration(this IVostokHostBuilder hostBuilder, Action<IConfigurationBuilder> confi...
mit
C#
18a52897179623a3b780c8e919442ed1184203c6
remove unused usings in MainViewModel
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
#nullable enable using NBitcoin; using ReactiveUI; using System.Reactive; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Fluent.ViewModels.Dialog; using Global = WalletWasabi.Gui.Global; namespace WalletWasabi.Fluent.ViewModels { public class MainViewModel : ViewModelBase, IScreen, IDialogHost { private Gl...
#nullable enable using Avalonia.Threading; using NBitcoin; using ReactiveUI; using System.Reactive; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Fluent.ViewModels.Dialog; using Global = WalletWasabi.Gui.Global; namespace WalletWasabi...
mit
C#
3d7b231b331cab6d9b7960cee600afda2b5db758
Modify probe section to accept additional items
emoacht/Monitorian
Source/Monitorian.Core/Views/ProbeSection.xaml.cs
Source/Monitorian.Core/Views/ProbeSection.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
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.Med...
mit
C#
e5178256a158824b887996a89e8ff61f6233d6e5
Add the licence header.
ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Primitives/TriangleTest.cs
osu.Framework.Tests/Primitives/TriangleTest.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.Primitives; using osuTK; using System; using System.Collections; using System.Collections.Generic; using System.Text;...
using NUnit.Framework; using osu.Framework.Graphics.Primitives; using osuTK; using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace osu.Framework.Tests.Primitives { [TestFixture] class TriangleTest { [TestCaseSource(typeof(AreaTestData), nameof(AreaT...
mit
C#
d3b64dd677898ce3a5e1f1eea795a72e55f6dc62
Add method to solver interface to tell it about functions it might see in queries.
symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix
symbooglix/symbooglix/Core/Solver/ISolver.cs
symbooglix/symbooglix/Core/Solver/ISolver.cs
using System; using System.Collections.Generic; namespace symbooglix { public interface ISolver { void SetConstraints(ConstraintManager cm); void SetFunctions(IEnumerable<Microsoft.Boogie.Function> functions); // Given the constraints is the query expression satisfiable // \re...
using System; using System.Collections.Generic; namespace symbooglix { public interface ISolver { void SetConstraints(ConstraintManager cm); // This can be used as a hint to the solver to destroy Constraints created internally in the solver void DropConstraints(); // Given the...
bsd-2-clause
C#
ad0a6f72f588b47cc93dc2fc8ff7f3f6b2e96179
Test getAll method
Sora2455/Sora-s-Nerd-Den,Sora2455/Sora-s-Nerd-Den,Sora2455/Sora-s-Nerd-Den,Sora2455/Sora-s-Nerd-Den
Testing/ConcurrentDictionaryOfCollectionsTests.cs
Testing/ConcurrentDictionaryOfCollectionsTests.cs
using System.Collections.Generic; using System.Linq; using Common.Concurrency; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Testing { [TestClass] public class ConcurrentDictionaryOfCollectionsTests { [TestMethod] public void AddAndGetSingleValues() { Co...
using System; using System.Linq; using Common.Concurrency; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Testing { [TestClass] public class ConcurrentDictionaryOfCollectionsTests { [TestMethod] public void AddAndGetSingleValues() { ConcurrentDictionaryOf...
mit
C#
2eb304668b2f72791a1d3bfb12767218b3a66e56
Check if table exist before creating it in the install
danwhite85/Umbraco.MultipleStartNodes,danwhite85/Umbraco.MultipleStartNodes,danwhite85/Umbraco.MultipleStartNodes
Src/MultipleStartNodes/PackageActions/CreateDatabase.cs
Src/MultipleStartNodes/PackageActions/CreateDatabase.cs
using MultipleStartNodes.Models; using MultipleStartNodes.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using umbraco.cms.businesslogic.packager.standardPackageActions; using umbraco.interfaces; using Umbraco.Core.Loggin...
using MultipleStartNodes.Models; using MultipleStartNodes.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using umbraco.cms.businesslogic.packager.standardPackageActions; using umbraco.interfaces; using Umbraco.Core.Loggin...
mit
C#
18f3dbc04558325086e22e9bada9a70e22df9bc2
update to create output .as folder if it doesn't exist
OHIOhackathon2014/OSU-Hackathon-Sushi-Project
SushiProject/SushiProject/Utilities/ProjectAS3Writer.cs
SushiProject/SushiProject/Utilities/ProjectAS3Writer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SushiProject.Model; using System.IO; namespace SushiProject.Utilities { class ProjectAS3Writer { public string path = "C:/sushigame/"; public ProjectAS3Writer() { } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SushiProject.Model; namespace SushiProject.Utilities { class ProjectAS3Writer { public ProjectAS3Writer() { } public void WriteMain(GameSettings settings) { st...
mit
C#
7366b78a8b1827118e96abf0fd631acb34f9aa17
Update IRestAuthenticationTokenProvider.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/IRestAuthenticationTokenProvider.cs
TIKSN.Core/Web/Rest/IRestAuthenticationTokenProvider.cs
using System.Threading.Tasks; namespace TIKSN.Web.Rest { public interface IRestAuthenticationTokenProvider { Task<string> GetAuthenticationToken(string apiKey); } }
using System; using System.Threading.Tasks; namespace TIKSN.Web.Rest { public interface IRestAuthenticationTokenProvider { Task<string> GetAuthenticationToken(Guid apiKey); } }
mit
C#
4b310ddedf4791df45ace023524dc05d4f5c057b
Swap if statements on LockScreenViewModel
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs
WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs
using System; using ReactiveUI; using System.Reactive.Disposables; using WalletWasabi.Helpers; using System.Reactive.Linq; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.LockScreen { public class LockScreenViewModel : ViewModelBase { private CompositeDisposable Disposables { get; } publi...
using System; using ReactiveUI; using System.Reactive.Disposables; using WalletWasabi.Helpers; using System.Reactive.Linq; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.LockScreen { public class LockScreenViewModel : ViewModelBase { private CompositeDisposable Disposables { get; } publi...
mit
C#
7b11d7674aecbd31e8c15bee1c2715ffd798105e
implement IDataContextProvider on NativeMenuItem
jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,grokys/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritz...
src/Avalonia.Controls/NativeMenuItemBase.cs
src/Avalonia.Controls/NativeMenuItemBase.cs
using System; namespace Avalonia.Controls { public class NativeMenuItemBase : AvaloniaObject, IDataContextProvider { private NativeMenu _parent; internal NativeMenuItemBase() { } public static readonly DirectProperty<NativeMenuItem, NativeMenu> ParentProperty = ...
using System; namespace Avalonia.Controls { public class NativeMenuItemBase : AvaloniaObject { private NativeMenu _parent; internal NativeMenuItemBase() { } public static readonly DirectProperty<NativeMenuItem, NativeMenu> ParentProperty = AvaloniaPropert...
mit
C#
5b1b1253a138afc073e53bdc997e2608c174cd72
Add one day of caching
andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples
adding-caching-to-static-files/src/AddingCaching/Startup.cs
adding-caching-to-static-files/src/AddingCaching/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Net.Http...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Net.Http...
mit
C#
cb61454a4b92238ae2bb3f66a5a2793730f84b34
Fix digit order
tenevdev/boats
Boats2D/Assets/Scripts/UI/Number.cs
Boats2D/Assets/Scripts/UI/Number.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.Scripts.UI { public class Number : MonoBehaviour { public DigitTile digitTile; public int value; public void Start() { int number = this.value,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.Scripts.UI { public class Number : MonoBehaviour { public DigitTile digitTile; public int value; public void Start() { int number = this.value,...
mit
C#
b8e16ab18027f69c1425e457853d07aa787cedf3
Remove unused code from GrammarConverter
sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge
src/LfMerge/DataConverters/GrammarConverter.cs
src/LfMerge/DataConverters/GrammarConverter.cs
// Copyright (c) 2016 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using System.Linq; using SIL.FieldWorks.FDO; using SIL.FieldWorks.Common.COMInterfaces; using LfMerge.LanguageForge.Model; namespace LfMerge.D...
// Copyright (c) 2016 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using System.Linq; using SIL.FieldWorks.FDO; using SIL.FieldWorks.Common.COMInterfaces; using LfMerge.LanguageForge.Model; namespace LfMerge.D...
mit
C#
c69af834749279238fc0d634ed4d4495ed36f3da
Add SettingInfo.GetActiveValueFor method, and rename other helpers.
NFig/NFig
NFig/SettingInfo.cs
NFig/SettingInfo.cs
using System.Collections.Generic; namespace NFig { public class SettingInfo<TTier, TDataCenter> where TTier : struct where TDataCenter : struct { public string Name { get; } public string Description { get; } public IList<SettingValue<TTier, TDataCenter>> Defaults { get...
using System.Collections.Generic; namespace NFig { public class SettingInfo<TTier, TDataCenter> where TTier : struct where TDataCenter : struct { public string Name { get; } public string Description { get; } public IList<SettingValue<TTier, TDataCenter>> Defaults { get...
mit
C#
25133e76bcf122ab63ed494983113315530e8a46
Add property to spec. Fixes #2.
jagrem/msg
src/Msg.Acceptance.Tests/VersionNegotiation.cs
src/Msg.Acceptance.Tests/VersionNegotiation.cs
using NUnit.Framework; using Msg.Infrastructure; using System.Threading.Tasks; using Msg.Domain; using Version = Msg.Domain.Version; namespace Msg.Acceptance.Tests { [TestFixture] public class VersionNegotiation { [Test] [Property("Issue","2")] public async Task Given_a_client_prefers_a_lower_version_than_th...
using NUnit.Framework; using Msg.Infrastructure; using System.Threading.Tasks; using Msg.Domain; using Version = Msg.Domain.Version; namespace Msg.Acceptance.Tests { [TestFixture] public class VersionNegotiation { [Test] public async Task Given_a_client_prefers_a_lower_version_than_the_version_the_server_prefe...
apache-2.0
C#
40abc34d6c1cdf0e5f9b78d5cab719e247b3fc7b
Add Teacher Class to LibraryContext.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Data/LibraryContext.cs
src/Open-School-Library/Data/LibraryContext.cs
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Open_School_Library.Models.DatabaseModels; namespace Open_School_Library.Data { public class LibraryContext : DbContext { public LibraryContext(DbContextOptions<L...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Open_School_Library.Models.DatabaseModels; namespace Open_School_Library.Data { public class LibraryContext : DbContext { public LibraryContext(DbContextOptions<L...
mit
C#
d9ee06c21417567e8bae92243540d7d2d3c3b1a6
Add Student Class to LibraryContext.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Data/LibraryContext.cs
src/Open-School-Library/Data/LibraryContext.cs
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Open_School_Library.Models.DatabaseModels; namespace Open_School_Library.Data { public class LibraryContext : DbContext { public LibraryContext(DbContextOptions<L...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Open_School_Library.Models.DatabaseModels; namespace Open_School_Library.Data { public class LibraryContext : DbContext { public LibraryContext(DbContextOptions<L...
mit
C#
7215250124848933db53fbb2b45cb135c175f786
fix cache extension methods
RPCS3/discord-bot
CompatBot/Utils/Extensions/MemoryCacheExtensions.cs
CompatBot/Utils/Extensions/MemoryCacheExtensions.cs
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Extensions.Caching.Memory; namespace CompatBot.Utils; internal static class MemoryCacheExtensions { public static List<T> GetCacheKeys<T>(this MemoryCache memoryCache) { var stateFi...
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Extensions.Caching.Memory; namespace CompatBot.Utils; internal static class MemoryCacheExtensions { public static List<T> GetCacheKeys<T>(this MemoryCache memoryCache) { var field =...
lgpl-2.1
C#
8065e0e5658fea878c950ba20a515160b850cd2e
add NoBuild to build file
MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var packPath ...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var packPath ...
apache-2.0
C#
475a12aa37a653a272d7299592ee6f7675da60f8
Fix identity provider
ermau/Tempest.Social
Desktop/Tempest.Social/PublicKeyIdentityProvider.cs
Desktop/Tempest.Social/PublicKeyIdentityProvider.cs
// // PublicKeyIdentityProvider.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2012 Eric Maupin // // 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 restrictio...
// // PublicKeyIdentityProvider.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2012 Eric Maupin // // 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 restrictio...
mit
C#
c24672742f71558a2b8da32ef5d9a8e540d5b900
fix tests since timer in TestRegistry is reused
DeonHeyns/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,ntent-ad/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,etishor/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics....
Src/Metrics.Tests/OwinAdapter/OwinExpectedMetrics.cs
Src/Metrics.Tests/OwinAdapter/OwinExpectedMetrics.cs
namespace Metrics.Tests.OwinAdapter { public class OwinExpectedMetrics { public int TimePerRequestMilliseconds { get; private set; } public int ErrorCount { get; private set; } public int RequestCount { get; private set; } // the test registry reuses the same timer instance ...
namespace Metrics.Tests.OwinAdapter { public class OwinExpectedMetrics { public int TimePerRequestMilliseconds { get; private set; } public int ErrorCount { get; private set; } public int RequestCount { get; private set; } public int TimerRateCount { get { return RequestCount; }...
apache-2.0
C#
b5faa344ef5e20187d32ebb84da902725d3da8bf
remove stuff
jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad
Scaffold/Program.cs
Scaffold/Program.cs
using System; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using Microsoft.Data.Entity; namespace Scaffold { public class Program { public static void Main() { using (var db = new blogContext()) { Console.WriteLine("Start...
using System; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using Microsoft.Data.Entity; namespace Scaffold { public class Program { public static void Main() { using (var db = new blogContext()) { Console.WriteLine("Start...
mit
C#