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 |
|---|---|---|---|---|---|---|---|---|
00b82a215d30ceedb464360443eafb12a3a3a3a5 | fix unit tests. | SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky... | tests/Avalonia.Controls.UnitTests/WindowingPlatformMock.cs | tests/Avalonia.Controls.UnitTests/WindowingPlatformMock.cs | using System;
using Moq;
using Avalonia.Platform;
namespace Avalonia.Controls.UnitTests
{
public class WindowingPlatformMock : IWindowingPlatform
{
private readonly Func<IWindowImpl> _windowImpl;
private readonly Func<IPopupImpl> _popupImpl;
public WindowingPlatformMock(Func<IWindowImp... | using System;
using Moq;
using Avalonia.Platform;
namespace Avalonia.Controls.UnitTests
{
public class WindowingPlatformMock : IWindowingPlatform
{
private readonly Func<IWindowImpl> _windowImpl;
private readonly Func<IPopupImpl> _popupImpl;
public WindowingPlatformMock(Func<IWindowImp... | mit | C# |
f52417298076dadb6238801be9861b872b3e4b65 | Fix unit test build | helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------------------... | mit | C# |
32b3ea70b966e4087d70d72f1306f55b4fa8b264 | Fix both covers showing if cover is not fully opaque | peppy/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu | osu.Game/Beatmaps/Drawables/UpdateableBeatmapSetCover.cs | osu.Game/Beatmaps/Drawables/UpdateableBeatmapSetCover.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
namespace osu.Game.Be... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
namespace osu.Game.Be... | mit | C# |
0ebd217236e3248e9837c70ca365522cf69a78be | Update AddingPictures.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,ma... | Examples/CSharp/DrawingObjects/Pictures/AddingPictures.cs | Examples/CSharp/DrawingObjects/Pictures/AddingPictures.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Pictures
{
public class AddingPictures
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.U... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Pictures
{
public class AddingPictures
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.R... | mit | C# |
9ee1d141ebf2fcfb9417a1d2d03f9435d4c88d21 | fix build error | ObjectivityBSS/Test.Automation,ObjectivityLtd/Test.Automation | Objectivity.Test.Automation.Tests.PageObjects/PageObjects/TheInternet/BasicAuthPage.cs | Objectivity.Test.Automation.Tests.PageObjects/PageObjects/TheInternet/BasicAuthPage.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
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
... | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
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
... | mit | C# |
f2e9d40f9672ad4cc610f4f23c71beb8a423735c | Make the factory available. | adz21c/miles | Miles.MassTransit.Unity/UnityCompensateActivityFactory.cs | Miles.MassTransit.Unity/UnityCompensateActivityFactory.cs | using GreenPipes;
using MassTransit;
using MassTransit.Courier;
using MassTransit.Courier.Hosts;
using MassTransit.Logging;
using MassTransit.Util;
using Microsoft.Practices.Unity;
using System;
using System.Threading.Tasks;
namespace Miles.MassTransit.Unity
{
public class UnityCompensateActivityFactory<TActivity... | using GreenPipes;
using MassTransit;
using MassTransit.Courier;
using MassTransit.Courier.Hosts;
using MassTransit.Logging;
using MassTransit.Util;
using Microsoft.Practices.Unity;
using System;
using System.Threading.Tasks;
namespace Miles.MassTransit.Unity
{
class UnityCompensateActivityFactory<TActivity, TLog>... | apache-2.0 | C# |
f90cb2a0096658d42933281e19d79d51f37a204a | add walletname property. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs | using Avalonia.Input;
using ReactiveUI;
using WalletWasabi.Gui.Validation;
namespace WalletWasabi.Fluent.ViewModels
{
public class AddWalletPageViewModel : NavBarItemViewModel
{
private string _walletName = "";
public AddWalletPageViewModel(IScreen screen) : base(screen)
{
Title = "Add Wallet";
}
publ... | using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels
{
public class AddWalletPageViewModel : NavBarItemViewModel
{
public AddWalletPageViewModel(IScreen screen) : base(screen)
{
Title = "Add Wallet";
}
public override string IconName => "add_circle_regular";
}
}
| mit | C# |
078dc05c3dcc72deb880bbfbf71a865f74936a4b | Fix delete Index #449 (#450) | xkproject/Orchard2,yiji/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,petedavis/Orchard2,xkproject/Orchard2,jtkech/Orchard2,yiji/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,lukaskabrt/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkp... | src/Orchard.Cms.Web/Modules/Lucene/Views/Admin/Index.cshtml | src/Orchard.Cms.Web/Modules/Lucene/Views/Admin/Index.cshtml | @model AdminIndexViewModel
<h1>@RenderTitleSegments(T["Indexes"])</h1>
<nav class="admin-toolbar">
<div class="nav navbar-nav">
<a asp-route-action="Create" class="btn btn-primary" role="button">@T["Add Index"]</a>
</div>
</nav>
<form asp-action="Index"> @* the form is nessecary to generate and anti... | @model AdminIndexViewModel
<h1>@RenderTitleSegments(T["Indexes"])</h1>
<nav class="admin-toolbar">
<div class="nav navbar-nav">
<a asp-route-action="Create" class="btn btn-primary" role="button">@T["Add Index"]</a>
</div>
</nav>
<form asp-action="Index"> @* the form is nessecary to generate and anti... | bsd-3-clause | C# |
1f4bea817f68f6dd8e1d1b600ad9e591dc22547c | Fix typo in Asp.Net 4.5 Sample app (Simple4) | SteelToeOSS/Configuration,SteelToeOSS/Configuration,SteelToeOSS/Configuration | samples/Simple4/Simple4/Views/Home/ConfigServerSettings.cshtml | samples/Simple4/Simple4/Views/Home/ConfigServerSettings.cshtml | @{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag.FailFast</h4>
<h4>spring:cloud:config:name = @ViewBag.N... | @{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag,FailFast</h4>
<h4>spring:cloud:config:name = @ViewBag.N... | apache-2.0 | C# |
aed69634f2a1e3c7b223af7bd7871ed109a8e2de | Introduce Null Argument check if context is null on RequestIgnorerManager | peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Gli... | src/Glimpse.Agent.Web/Framework/DefaultRequestIgnorerManager.cs | src/Glimpse.Agent.Web/Framework/DefaultRequestIgnorerManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttpContex... | using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttpContextAccessor http... | mit | C# |
0b2da4747b652a180f320851e13f420c16f67e3e | Make HelpCommand implement ICommand | appharbor/appharbor-cli | src/AppHarbor/HelpCommand.cs | src/AppHarbor/HelpCommand.cs | using System;
namespace AppHarbor
{
public class HelpCommand : ICommand
{
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| namespace AppHarbor
{
public class HelpCommand
{
}
}
| mit | C# |
c72822227ee1cffe535370708c7d66813bc8f217 | Fix AutomapHelper to only return assemblies decorated with IgnitionAutomapAttribute | sitecoreignition/Ignition.Foundation | Ignition.Foundation.Core/Automap/IgnitionAutomapHelper.cs | Ignition.Foundation.Core/Automap/IgnitionAutomapHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ignition.Foundation.Core.Automap
{
public static class IgnitionAutomapHelper
{
public static IEnumerable<Assembly> GetAutomappedAssemblies()
{
var automappedAssemblies = Assembly.GetExecutingAssembl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ignition.Foundation.Core.Automap
{
public static class IgnitionAutomapHelper
{
public static IEnumerable<Assembly> GetAutomappedAssemblies()
{
var automappedAssemblies = Assembly.GetExecutingAssembl... | mit | C# |
1662ac057c60789674ee699976d4c6b2e82ad725 | Make internal property non-public. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/MySql.Data.MySqlClient/MySqlBatchCommand.cs | src/MySqlConnector/MySql.Data.MySqlClient/MySqlBatchCommand.cs | using System.Data;
using MySqlConnector.Core;
namespace MySql.Data.MySqlClient
{
public sealed class MySqlBatchCommand : IMySqlCommand
{
public MySqlBatchCommand()
: this(null)
{
}
public MySqlBatchCommand(string? commandText)
{
CommandText = commandText;
CommandType = CommandType.Text;
}
pu... | using System.Data;
using MySqlConnector.Core;
namespace MySql.Data.MySqlClient
{
public sealed class MySqlBatchCommand : IMySqlCommand
{
public MySqlBatchCommand()
: this(null)
{
}
public MySqlBatchCommand(string? commandText)
{
CommandText = commandText;
CommandType = CommandType.Text;
}
pu... | mit | C# |
0519330b59b8dcc536a4f8f4f31d4043aa48f5fe | Update CompositeTraceTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/CompositeTraceTelemeter.cs | TIKSN.Core/Analytics/Telemetry/CompositeTraceTelemeter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using TIKSN.Configuration;
namespace TIKSN.Analytics.Telemetry
{
public class CompositeTraceTelemeter : ITraceTelemeter
{
private readonly IPartialConfiguration<CommonTelemetryOptions> commonConfigur... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using TIKSN.Configuration;
namespace TIKSN.Analytics.Telemetry
{
public class CompositeTraceTelemeter : ITraceTelemeter
{
private readonly IPartialConfiguration<CommonTelemetryOptions> commonConfigur... | mit | C# |
98329e42a2ee62ab2586007d4eba6dc98b355840 | undo filtering non-Uri which doesn't work right | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Agent/Infrastructure/Repositories/UrlRepository.cs | src/FilterLists.Agent/Infrastructure/Repositories/UrlRepository.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using FilterLists.Agent.Core.Interfaces;
using FilterLists.Agent.Features.Urls.Models.DataFileUrls;
using FilterLists.Agent.Infrastructure.Clients;
using RestSharp;
namespace FilterLists.Agent... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using FilterLists.Agent.Core.Interfaces;
using FilterLists.Agent.Features.Urls.Models.DataFileUrls;
using FilterLists.Agent.Infrastructure.Clients;
using RestSharp;
namespace FilterLists.Agent... | mit | C# |
87fd77708be4f25275aa42bb3e13690f2f5d64fd | Fix delay bug on resetting | Curdflappers/UltimateTicTacToe | Assets/Resources/Scripts/game/controller/GameController.cs | Assets/Resources/Scripts/game/controller/GameController.cs | using UnityEngine;
public class GameController : MonoBehaviour
{
GlobalGame game;
public float previewTime, previewTimer, confirmTime, confirmTimer;
public GlobalGame Game
{
get { return game; }
set { game = value; }
}
public void Confirm()
{
game.Confirm();
}... | using UnityEngine;
public class GameController : MonoBehaviour
{
GlobalGame game;
public float previewTime, previewTimer, confirmTime, confirmTimer;
public GlobalGame Game
{
get { return game; }
set { game = value; }
}
public void Confirm()
{
game.Confirm();
}... | mit | C# |
8527b470e810059d36fccf6979ef6582e09d5e77 | Add comments, better error handling to new class. | andyfmiller/LtiLibrary | LtiLibrary.AspNet/Outcomes/v1/ImsxXmlMediaTypeModelBinder.cs | LtiLibrary.AspNet/Outcomes/v1/ImsxXmlMediaTypeModelBinder.cs | using LtiLibrary.Core.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace LtiLibrary.AspNet.Outcomes.v1
{
/// <summary>
/// Use this ModelBinder to deserialize imsx_POXEnvelopeRequest XML. For example,... | using System;
using System.Threading.Tasks;
using System.Xml.Serialization;
using LtiLibrary.Core.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System.IO;
namespace LtiLibrary.AspNet.Outcomes.v1
{
public class ImsxXmlMediaTypeModelBinder : IModelBinder
{
private static readonly XmlSe... | apache-2.0 | C# |
c8ac4dbe21d5354032b8afda9e59ced7a212a620 | Reduce contention on pointless lock | HelloKitty/317refactor | src/Rs317.Client.OpenTK/Rendering/OpenTKImageProducer.cs | src/Rs317.Client.OpenTK/Rendering/OpenTKImageProducer.cs | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.CompilerServices;
namespace Rs317.Sharp
{
public sealed class OpenTKImageProducer : BaseRsImageProducer<OpenTKRsGraphicsContext>, IOpenTKImageRenderable
{
private Bitmap image { get; }
private FasterPixel FasterPixel { get; }... | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.CompilerServices;
namespace Rs317.Sharp
{
public sealed class OpenTKImageProducer : BaseRsImageProducer<OpenTKRsGraphicsContext>, IOpenTKImageRenderable
{
private Bitmap image { get; }
private FasterPixel FasterPixel { get; }... | mit | C# |
c67093ab9732fba87441c7d95eccebb7ac90637c | Add error message. | VSadov/roslyn,reaction1989/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,sharwell/roslyn,mgoertz-msft/roslyn,ErikSchierboom/roslyn,KirillOsenkov/roslyn,KirillOsenkov/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,xasx/roslyn,MichalStrehovsky/roslyn,tmeschter/roslyn,sharwell/roslyn,jmarolf/roslyn,CyrusNajmabadi/roslyn,K... | src/Workspaces/Core/Portable/VirtualChars/VirtualChar.cs | src/Workspaces/Core/Portable/VirtualChars/VirtualChar.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.VirtualChars
{
/// <summary>
/// The Regex parser wants to work ov... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.VirtualChars
{
/// <summary>
/// The Regex parser wants to work ov... | mit | C# |
286c0a3920bf0a4609d52b0aaa00cf64e5a05bb3 | Update hash. | msbahrul/EventStore,ianbattersby/EventStore,ianbattersby/EventStore,msbahrul/EventStore,msbahrul/EventStore,msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,ianbattersby/EventStore | src/EventStore/EventStore.Common/Version/Version.cs | src/EventStore/EventStore.Common/Version/Version.cs | namespace EventStore.Common.Version
{
public static class EventStoreVersion
{
public const string Version = "1.0.0";
public const string Hashtag = "1c7b48c6fb1c115213239e16ac3844735ec5a88e";
public const string Branch = "master";
}
}
| namespace EventStore.Common.Version
{
public static class EventStoreVersion
{
public const string Version = "1.0.0";
public const string Hashtag = "06262f4c06d380e9a446002ec88f46c90a928403";
public const string Branch = "master";
}
}
| bsd-3-clause | C# |
dcbd015aefabc3e0da81b94500574c141bd44aa2 | Add missing company attributes | intercom/intercom-dotnet | src/Intercom/Data/Company.cs | src/Intercom/Data/Company.cs | using System;
using Intercom.Core;
using System.Collections.Generic;
namespace Intercom.Data
{
public class Company : Model
{
public bool? remove { set; get; }
public string name { get; set; }
public Plan plan { get; set; }
public string company_id { get; set; }
public ... | using System;
using Intercom.Core;
using System.Collections.Generic;
namespace Intercom.Data
{
public class Company : Model
{
public bool? remove { set; get; }
public string name { get; set; }
public Plan plan { get; set; }
public string company_id { get; set; }
public ... | apache-2.0 | C# |
de88433a3a3a0009cea53e421fdaa575aad98cae | Use more appropriate exception (can also never happen - JSON.NET uses the CanWrite property). | lloydjatkinson/Lloyd.AzureMailGateway | src/Lloyd.AzureMailGateway.Core/JsonConverters/AddressConverter.cs | src/Lloyd.AzureMailGateway.Core/JsonConverters/AddressConverter.cs | using System;
using Lloyd.AzureMailGateway.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Lloyd.AzureMailGateway.Core.JsonConverters
{
public class AddressConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => (objectType == typeof(Address));
pub... | using System;
using Lloyd.AzureMailGateway.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Lloyd.AzureMailGateway.Core.JsonConverters
{
public class AddressConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => (objectType == typeof(Address));
pub... | mit | C# |
a84700a2008def8d2853af9a2ba3d76222e63ce0 | Update Salesforce Provider ID | developerforce/visual-studio-tools | src/Salesforce.VisualStudio.Services/ConnectedService/Constants.cs | src/Salesforce.VisualStudio.Services/ConnectedService/Constants.cs | namespace Salesforce.VisualStudio.Services.ConnectedService
{
/// <summary>
/// Miscellaneous constants that are used across the Salesforce connected service implementation.
/// </summary>
internal static class Constants
{
public const string ConfigKey_ConsumerKey = "ConsumerKey";
p... | namespace Salesforce.VisualStudio.Services.ConnectedService
{
/// <summary>
/// Miscellaneous constants that are used across the Salesforce connected service implementation.
/// </summary>
internal static class Constants
{
public const string ConfigKey_ConsumerKey = "ConsumerKey";
p... | bsd-3-clause | C# |
2fd5657eeb4eb06dfa8ea8c7a0220d71d4c9e62c | Update SDK version number | NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity | ncmb_unity/Assets/NCMB/CommonConstant.cs | ncmb_unity/Assets/NCMB/CommonConstant.cs | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by... | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by... | apache-2.0 | C# |
86674e60a5ea03f1c1a40ca2b999ffdc1b7b2a16 | Fix service tests | tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server | tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs | tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
namespace Tgstation.Server.Host.Service.Tests
{
/// <summary>
/// Tests for <see cref=... | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
namespace Tgstation.Server.Host.Service.Tests
{
/// <summary>
/// Tests for <see cref=... | agpl-3.0 | C# |
365e8555268b55182b5ec2fcd8d4c6708ecf8472 | update anchor tags in home page | iordan93/TeamPompeii,iordan93/TeamPompeii,iordan93/TeamPompeii | PompeiiSquare/PompeiiSquare.Server/Views/Home/Index.cshtml | PompeiiSquare/PompeiiSquare.Server/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1 class="text-center">PompeiiSquare</h1>
<p class="text-center">Find the best places to eat, drink, shop, or visit in any city in the world.</p>
<div class="text-center">
<input name="looking-for" class="form-control input-lg" type="t... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1 class="text-center">PompeiiSquare</h1>
<p class="text-center">Find the best places to eat, drink, shop, or visit in any city in the world.</p>
<div class="text-center">
<input name="looking-for" class="form-control input-lg" type="t... | mit | C# |
3af94dfc36e1b9f353fe835f8f60553872cf5caa | Add SvgRect ctor from SvgNumber. | mntone/SvgForXaml | Mntone.SvgForXaml/Mntone.SvgForXaml.Shared/Primitives/SvgRect.cs | Mntone.SvgForXaml/Mntone.SvgForXaml.Shared/Primitives/SvgRect.cs | using System;
using System.Linq;
namespace Mntone.SvgForXaml.Primitives
{
[System.Diagnostics.DebuggerDisplay("Point = ({this.X}, {this.Y}), Size = {this.Width}x{this.Height}")]
public struct SvgRect : IEquatable<SvgRect>
{
internal SvgRect(float x, float y, float width, float height)
{
this.X = x;
this.... | using System;
using System.Linq;
namespace Mntone.SvgForXaml.Primitives
{
[System.Diagnostics.DebuggerDisplay("Point = ({this.X}, {this.Y}), Size = {this.Width}x{this.Height}")]
public struct SvgRect : IEquatable<SvgRect>
{
internal SvgRect(float x, float y, float width, float height)
{
this.X = x;
this.... | mit | C# |
955287b42b5aa8b6b78826f3402fbede02b8e54a | Fix display glitches. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Views/Shared/_OpenIdLoginBox.cshtml | src/CGO.Web/Views/Shared/_OpenIdLoginBox.cshtml | @using (Html.BeginForm("Authenticate", "User", routeValues: new { ReturnUrl = Request.QueryString["ReturnUrl"] }, method: FormMethod.Post, htmlAttributes: new { id = "openid_form" }))
{
<div id="openIdLogin" class="modal hide fade" style="width: 600px">
<div class="modal-header">
<button type="... | @using (Html.BeginForm("Authenticate", "User", routeValues: new { ReturnUrl = Request.QueryString["ReturnUrl"] }, method: FormMethod.Post, htmlAttributes: new { id = "openid_form" }))
{
<div id="openIdLogin" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close"... | mit | C# |
ba8cff6a2c8d25ed665e897139409e0e00da71c8 | Use explicit visibility. | EzyWebwerkstaden/NHibernate.Caches.Redis,TheCloudlessSky/NHibernate.Caches.Redis | src/NHibernate.Caches.Redis/ObjectExtensions.cs | src/NHibernate.Caches.Redis/ObjectExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NHibernate.Caches.Redis
{
internal static class ObjectExtensions
{
public static T ThrowIfNull<T>(this T source)
where T : class
{
if (source == null) throw new ArgumentNullE... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NHibernate.Caches.Redis
{
static class ObjectExtensions
{
public static T ThrowIfNull<T>(this T source)
where T : class
{
if (source == null) throw new ArgumentNullException(... | mit | C# |
5e5989e7d7b7e41f92e832f0ed09777df7299887 | increment version | naymore/influxdb-lineprotocolwriter | Source/Rs.InfluxDb.LineProtocolWriter/Properties/AssemblyInfo.cs | Source/Rs.InfluxDb.LineProtocolWriter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Rs... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Rs... | apache-2.0 | C# |
6384838517825da4448c71384cfffd98ef0167af | Add BindCollectionChanged to IBindableList interface | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Bindables/IBindableList.cs | osu.Framework/Bindables/IBindableList.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 System.Collections.Specialized;
namespace osu.Framework.Bindables
{
/// <summary>
/// An readonly interface which can be... | // 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.Collections.Specialized;
namespace osu.Framework.Bindables
{
/// <summary>
/// An readonly interface which can be... | mit | C# |
fa004377c4a4ec5a58211dbdf837c1d205e1aa04 | Add a rotating box for indication of a good game template state | EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework | template-game/TemplateGame.Game/TemplateGameGame.cs | template-game/TemplateGame.Game/TemplateGameGame.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
using osuTK.Graphics;
namespace TemplateGame.Game
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
namespace TemplateGame.Game
{
public class TemplateGameGame : osu.Framework.Game
{
[BackgroundDependencyLoader]
... | mit | C# |
fd8f2c5e8d806f95e3c6b3084f11565ff40e69ad | Fix the subscription drop script | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/ScriptBuilder/Writers/SubscriptionWriter.cs | src/ScriptBuilder/Writers/SubscriptionWriter.cs | using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
using ... | using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
using ... | mit | C# |
c91df5de3e4b29292107e0b9920a39f8fb9a108f | Initialize Options.GeneratorKinds to a default value because of tests. | mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpepp... | binder/Options.cs | binder/Options.cs | using System.Collections.Generic;
using CppSharp;
using CppSharp.Generators;
namespace Embeddinator
{
public class Options : DriverOptions
{
/// <summary>
/// The list of generators that will be targeted.
/// </summary>
public IEnumerable<GeneratorKind> GeneratorKinds = new List... | using System.Collections.Generic;
using CppSharp;
using CppSharp.Generators;
namespace Embeddinator
{
public class Options : DriverOptions
{
/// <summary>
/// The list of generators that will be targeted.
/// </summary>
public IEnumerable<GeneratorKind> GeneratorKinds;
... | mit | C# |
38a17a02d1462d70294cc177c055f65aa7dd994c | Update HmacSigningCredentials.cs | cleftheris/IdentityModel | source/IdentityModel.Net45/Tokens/HmacSigningCredentials.cs | source/IdentityModel.Net45/Tokens/HmacSigningCredentials.cs | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | apache-2.0 | C# |
fd23f07cd9c48601f97c9556b58d53be2686d423 | Make sure we receive a meaningful response | dirkrombauts/AppVeyor-Light | AppVeyorServices.IntegrationTests/AppVeyorGatewayTests.cs | AppVeyorServices.IntegrationTests/AppVeyorGatewayTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using NUnit.Framework;
namespace AppVeyorServices.IntegrationTests
{
[TestFixture]
public class AppVeyorGatewayTests
{
[Test]
public void GetProjects_Always_... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using NUnit.Framework;
namespace AppVeyorServices.IntegrationTests
{
[TestFixture]
public class AppVeyorGatewayTests
{
[Test]
public void GetProjects_Always_... | mit | C# |
34fb112a7e93b5f659cc5b0303eee5f61ee2bc6b | Update title for NuGet name | techniq/Autofac.Integration.SharePoint | Autofac.Integration.SharePoint/Properties/AssemblyInfo.cs | Autofac.Integration.SharePoint/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Autofac SharePoint Integration")]
[assem... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Autofac.Integration.SharePoint")]
[assem... | mit | C# |
dc0174e658c523b7a4699f2fb03b74bf2d123013 | Add a blank line test | avinashbhujan/ASPVariables | ASPVariables/ASPVariables/SessionResultsPage.aspx.cs | ASPVariables/ASPVariables/SessionResultsPage.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ASPVariables
{
public partial class SessionResultsPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ASPVariables
{
public partial class SessionResultsPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | apache-2.0 | C# |
96a33bec80d4af39b80f4ca38ddb0daf493eb2c8 | test for validation | jacobpovar/MassTransit,SanSYS/MassTransit,jacobpovar/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit | src/MassTransit.Tests/Configuration/When_configuration_fails.cs | src/MassTransit.Tests/Configuration/When_configuration_fails.cs | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | apache-2.0 | C# |
d8be77743f94889891a44db9f975dc0c11ed25bb | Fix jet. | maximveksler/DrunkenAirplaneMechanik,maximveksler/DrunkenAirplaneMechanik,maximveksler/DrunkenAirplaneMechanik | Assets/Scripts/Components/Jet.cs | Assets/Scripts/Components/Jet.cs | using UnityEngine;
using System.Collections;
public class Jet : AirplaneComponent {
public float thrustFactor = 10000.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
protected override void SimUpdate () {
if (Input.GetKey(KeyCode.W))
{
Bounds combinedBounds ... | using UnityEngine;
using System.Collections;
public class Jet : AirplaneComponent {
public float thrustFactor = 10000.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
protected override void SimUpdate () {
if (Input.GetKeyDown(KeyCode.W))
{
Bounds combinedBou... | mit | C# |
2a7e2c2617c6d11308297e7db9e6c07b7d2b361d | Tweak log download endpoint? | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
// Add/Rem... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
// Add/Rem... | mit | C# |
f715c7863fc890a739993c32de7ef3b4807ede80 | remove unrequired role from breadcrumb ul | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/Breadcrumb.cshtml | src/StockportWebapp/Views/stockportgov/Shared/Breadcrumb.cshtml | @model IEnumerable<StockportWebapp.Models.Crumb>
<nav aria-label="Breadcrumb">
<div class="breadcrumb-container">
<div class="grid-container grid-100">
<ul class="breadcrumb">
<li>@Html.ActionLink("Home", "Index", "Home")</li>
@{string title = ViewBag.Title != nu... | @model IEnumerable<StockportWebapp.Models.Crumb>
<nav aria-label="Breadcrumb">
<div class="breadcrumb-container">
<div class="grid-container grid-100">
<ul class="breadcrumb" role="navigation">
<li>@Html.ActionLink("Home", "Index", "Home")</li>
@{string title = V... | mit | C# |
31c87887a0a7657270351f3c1014b5471b568c27 | Add comments for F.False | farity/farity | Farity/False.cs | Farity/False.cs | namespace Farity
{
public static partial class F
{
/// <summary>
/// A function that takes any arguments and returns false.
/// </summary>
/// <param name="args">Any arguments passed to the function.</param>
/// <returns>false</returns>
public static bool False(p... | namespace Farity
{
public static partial class F
{
public static bool False(params object[] args) => false;
}
} | mit | C# |
5e9f387cd6dfe329d23ba9058baaac4484e3d832 | fix hotkey ofr paste | kommanderapp/kmd-uwp | kmd.Core/Explorer/Commands/PasteToCurrentFolderCommand.cs | kmd.Core/Explorer/Commands/PasteToCurrentFolderCommand.cs | using kmd.Core.Explorer.Commands.Configuration;
using kmd.Core.Services.Contracts;
using kmd.Core.Hotkeys;
using kmd.Storage.Extensions;
using System;
using Windows.Storage;
using Windows.System;
using kmd.Core.Command;
using kmd.Core.Explorer.Contracts;
namespace kmd.Core.Explorer.Commands
{
[ExplorerCommand(mod... | using kmd.Core.Explorer.Commands.Configuration;
using kmd.Core.Services.Contracts;
using kmd.Core.Hotkeys;
using kmd.Storage.Extensions;
using System;
using Windows.Storage;
using Windows.System;
using kmd.Core.Command;
using kmd.Core.Explorer.Contracts;
namespace kmd.Core.Explorer.Commands
{
[ExplorerCommand(mod... | apache-2.0 | C# |
41965151625062fd611cd765e5e8d63a0f217343 | Fix region | domtheluck/yellowjacket,domtheluck/yellowjacket,domtheluck/yellowjacket,domtheluck/yellowjacket | YellowJacket/Test/YellowJacket.Dashboard.Test/TestBase.cs | YellowJacket/Test/YellowJacket.Dashboard.Test/TestBase.cs | // ***********************************************************************
// Copyright (c) 2017 Dominik Lachance
//
// 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, i... | // ***********************************************************************
// Copyright (c) 2017 Dominik Lachance
//
// 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, i... | mit | C# |
515e6ee9bffffd1194b01e02224025bf6d7202f6 | Fix CoreCLR issues in Org.Apache.REEF.Client | jwang98052/incubator-reef,dongjoon-hyun/incubator-reef,apache/incubator-reef,shravanmn/reef,shravanmn/reef,apache/incubator-reef,dongjoon-hyun/incubator-reef,jwang98052/reef,apache/reef,apache/reef,apache/incubator-reef,jwang98052/incubator-reef,dongjoon-hyun/incubator-reef,apache/reef,jwang98052/reef,apache/incubator-... | lang/cs/Org.Apache.REEF.Client/YARN/RESTClient/HttpClient.cs | lang/cs/Org.Apache.REEF.Client/YARN/RESTClient/HttpClient.cs | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | apache-2.0 | C# |
93402d493816565aff1289cc3f5b6473cd5b600a | Fix data object reference. | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | XamarinApp/MyTrips/MyTrips.DataObjects/IOTHubData.cs | XamarinApp/MyTrips/MyTrips.DataObjects/IOTHubData.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace MyTrips.DataObjects
{
public class IOTHubData : BaseDataObject
{
public string Blob;
}
}
| using Microsoft.Azure.Mobile.Server;
using System;
using System.Collections.Generic;
using System.Text;
namespace MyTrips.DataObjects
{
public class IOTHubData : EntityData
{
public string Blob;
}
}
| mit | C# |
018a2640fb2c4013b8de0f0c7a4c42a32534c13a | fix build error | NServiceKit/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,timba/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,ZocD... | tests/ServiceStack.WebHost.Endpoints.Tests/WsdlMetadataTests.cs | tests/ServiceStack.WebHost.Endpoints.Tests/WsdlMetadataTests.cs | using NUnit.Framework;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Metadata;
using ServiceStack.WebHost.Endpoints.Tests.Support;
using ServiceStack.WebHost.Endpoints.Tests.Support.Operations;
namespace ServiceStack.WebHost.Endpoints.Tests
{
[TestFixture]
public class WsdlMetadataTests : Meta... | using NUnit.Framework;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Metadata;
using ServiceStack.WebHost.Endpoints.Tests.Support;
using ServiceStack.WebHost.Endpoints.Tests.Support.Operations;
namespace ServiceStack.WebHost.Endpoints.Tests
{
[TestFixture]
public class WsdlMetadataTests : Meta... | bsd-3-clause | C# |
4d035afcc6f93d808c28f4ebec36b26be2f1aee5 | Add setting to bypass front-to-back | ppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,johnneijzen/osu,ppy/osu,2yangk23/o... | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
public class ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
public class ... | mit | C# |
dc701e88811e16e5567656e2dc86916fc515d494 | Update OrmLiteTestBase.cs | NServiceKit/NServiceKit.OrmLite,NServiceKit/NServiceKit.OrmLite | tests/ServiceStack.OrmLite.FirebirdTests/OrmLiteTestBase.cs | tests/ServiceStack.OrmLite.FirebirdTests/OrmLiteTestBase.cs | using System;
using System.IO;
using System.Configuration;
using NUnit.Framework;
using ServiceStack.Common.Utils;
using ServiceStack.Logging;
using ServiceStack.Logging.Support.Logging;
using ServiceStack.OrmLite.Firebird;
namespace ServiceStack.OrmLite.FirebirdTests
{
public class OrmLiteTestBase
{
protected v... | using System;
using System.IO;
using System.Configuration;
using NUnit.Framework;
using ServiceStack.Common.Utils;
using ServiceStack.Logging;
using ServiceStack.Logging.Support.Logging;
using ServiceStack.OrmLite.Firebird;
namespace ServiceStack.OrmLite.FirebirdTests
{
public class OrmLiteTestBase
{
protected v... | bsd-3-clause | C# |
6559cb27bd18fd177ddf6def6629db3f87a04611 | Fix test | rosolko/WebDriverManager.Net | IntegrationTests/VersionTests.cs | IntegrationTests/VersionTests.cs | using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using WebDriverManager.DriverConfigs;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
namespace IntegrationTests
{
public class VersionData : IEnumerable<object[]>
{
private readonly List<object[]... | using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using WebDriverManager.DriverConfigs;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
namespace IntegrationTests
{
public class VersionData : IEnumerable<object[]>
{
private readonly List<object[]... | mit | C# |
e67b56be72428cace9db4766e2b16ad828c9f8b2 | Improve ShortVersionParser.TryParseMajorMinor() test coverage | pascalberger/GitVersion,JakeGinnivan/GitVersion,DanielRose/GitVersion,pascalberger/GitVersion,distantcam/GitVersion,GeertvanHorrik/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,alexhardwicke/GitVersion,GeertvanHorrik/GitVersion,asbjornu/GitVersion,gep13/GitVersion,ParticularLabs/GitVersion,Kantis/GitVersion,er... | Tests/ShortVersionParserTests.cs | Tests/ShortVersionParserTests.cs | using GitFlowVersion;
using NUnit.Framework;
[TestFixture]
public class ShortVersionParserTests
{
[Test]
public void Major_minor_patch()
{
int minor;
int major;
int patch;
ShortVersionParser.Parse("1.2.3", out major,out minor,out patch);
Assert.AreEqual(1, major);
... | using GitFlowVersion;
using NUnit.Framework;
[TestFixture]
public class ShortVersionParserTests
{
[Test]
public void Major_minor_patch()
{
int minor;
int major;
int patch;
ShortVersionParser.Parse("1.2.3", out major,out minor,out patch);
Assert.AreEqual(1, major);
... | mit | C# |
bdba7733ee62f7462c42967946836b4f1c288f37 | Update GroupMember.cs | vknet/vk,vknet/vk | VkNet/Model/Group/GroupMember.cs | VkNet/Model/Group/GroupMember.cs | using System;
using VkNet.Utils;
namespace VkNet.Model
{
/// <summary>
/// Информация о сообществе (группе).
/// См. описание http://vk.com/dev/fields_groups
/// </summary>
[Serializable]
public class GroupMember
{
#region Методы
/// <summary>
/// Десериализовать из Json.
/// </summary>
/// <param nam... | using System;
using VkNet.Utils;
namespace VkNet.Model
{
/// <summary>
/// Информация о сообществе (группе).
/// См. описание http://vk.com/dev/fields_groups
/// </summary>
[Serializable]
public class GroupMember
{
#region Методы
/// <summary>
/// Десериализовать из Json.
/// </summary>
/// <param na... | mit | C# |
89f6486a1cfa8689c88119ae94fa439c17d777ef | Update cookie name. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex/Config/Authentication/AuthenticationServices.cs | backend/src/Squidex/Config/Authentication/AuthenticationServices.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
1418297958047ecd6b5a821dfecab8f22a2767ca | Update QuoteRepository.cs | shikhir-arora/NadekoBot,powered-by-moe/MikuBot,PravEF/EFNadekoBot,Midnight-Myth/Mitternacht-NEW,ShadowNoire/NadekoBot,Youngsie1997/NadekoBot,Midnight-Myth/Mitternacht-NEW,miraai/NadekoBot,Nielk1/NadekoBot,gfrewqpoiu/NadekoBot,WoodenGlaze/NadekoBot,Midnight-Myth/Mitternacht-NEW,halitalf/NadekoMods,ScarletKuro/NadekoBot,... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | mit | C# |
97efcd3c05dc77b3a8817f397059752356a1ef5b | set tile to empty by default | UpBeet/dungeon-generator | Assets/Scripts/TileController.cs | Assets/Scripts/TileController.cs | using UnityEngine;
/// <summary>
/// Tile definition, logic passed between client and server.
/// </summary>
public class Tile {
/// <summary>
/// The X coordinate.
/// </summary>
public int X { get; private set; }
/// <summary>
/// The Y coordinate.
/// </summary>
public int Y { get; private set; }
/// <... | using UnityEngine;
/// <summary>
/// Tile definition, logic passed between client and server.
/// </summary>
public class Tile {
/// <summary>
/// The X coordinate.
/// </summary>
public int X { get; private set; }
/// <summary>
/// The Y coordinate.
/// </summary>
public int Y { get; private set; }
/// <... | mit | C# |
7835e95eb0316ea1bbc34d9f4f9ba5defaec4cb2 | Update 1.19 | maikonfarias/runshadow,maikonfarias/runshadow | client/Assets/Scripts/Config.cs | client/Assets/Scripts/Config.cs | using UnityEngine;
using System.Collections;
public static class Config
{
public static string Version
{
get { return "1.19"; }
}
public static float ScoreMultiplier
{
get { return 2.7f; }
}
public static string ServerSecrectKey
{
get { return "YOUR-SECRET-KEY"; }
}
}
| using UnityEngine;
using System.Collections;
public static class Config
{
public static string Version
{
get { return "1.18"; }
}
public static float ScoreMultiplier
{
get { return 2.5f; }
}
public static string ServerSecrectKey
{
get { return "YOUR-SECRET-KEY"; }
}
}
| bsd-3-clause | C# |
a86194963d939b8a3db20e828a6c89cc4841390b | Update summary to clarify when Initialize runs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Core/Interfaces/Services/IMixedRealityService.cs | Assets/MRTK/Core/Interfaces/Services/IMixedRealityService.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// Generic interface for all Mixed Reality Services
/// </summary>
public interface IMixedRealityService : IDisposable
{
/// <summary>
... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// Generic interface for all Mixed Reality Services
/// </summary>
public interface IMixedRealityService : IDisposable
{
/// <summary>
... | mit | C# |
e988c15b19471a11ef941589e9a0243ec8737349 | Update SettingHeightOfRow.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,ma... | Examples/CSharp/RowsColumns/HeightAndWidth/SettingHeightOfRow.cs | Examples/CSharp/RowsColumns/HeightAndWidth/SettingHeightOfRow.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingHeightOfRow
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exa... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingHeightOfRow
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | mit | C# |
5dc0dfb5addafcd51f9438f8512b54f92457993e | Update src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs | abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner... | src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs | src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs | using System;
using Umbraco.Core;
using Microsoft.AspNetCore.Routing;
using System.Reflection;
using Umbraco.Web.Common.Install;
namespace Umbraco.Extensions
{
public static class LinkGeneratorExtensions
{
/// <summary>
/// Return the back office url if the back office is installed
///... | using System;
using Umbraco.Core;
using Microsoft.AspNetCore.Routing;
using System.Reflection;
using Umbraco.Web.Common.Install;
namespace Umbraco.Extensions
{
public static class LinkGeneratorExtensions
{
/// <summary>
/// Return the back office url if the back office is installed
///... | mit | C# |
56e0ae18b8bf394d9f223ddb69f01bb70e6f03fa | Include aggregate name in routing key | AntoineGa/EventFlow,liemqv/EventFlow,rasmus/EventFlow | Source/EventFlow.RabbitMQ/Integrations/RabbitMqMessageFactory.cs | Source/EventFlow.RabbitMQ/Integrations/RabbitMqMessageFactory.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | mit | C# |
c9f2fd67f748b405cb13aae7746261e5ad34ab63 | comment out debug for moment | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Spa2/NakedObjects.Spa.Selenium.Test/helpers/SafeWebDriverWait.cs | Spa2/NakedObjects.Spa.Selenium.Test/helpers/SafeWebDriverWait.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | apache-2.0 | C# |
8788b17825959def4353ff37fa47576dea59c769 | change color order for Win32 | LayoutFarm/PixelFarm | src/PixelFarm/PixelFarm.CpuBlit/05_PixelProcessing/CO.cs | src/PixelFarm/PixelFarm.CpuBlit/05_PixelProcessing/CO.cs | //BSD, 2014-present, WinterDev
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// C# Port port by: Lars Brubaker
// larsbrubaker@gmail.com
// Copyright (C) 2007... | //BSD, 2014-present, WinterDev
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// C# Port port by: Lars Brubaker
// larsbrubaker@gmail.com
// Copyright (C) 2007... | bsd-2-clause | C# |
064c93509961ea4735eeeaec54fa5ddd479b086b | Fix broken build. | Bartmax/Foundatio,vebin/Foundatio,exceptionless/Foundatio,FoundatioFx/Foundatio,wgraham17/Foundatio | src/Core/Messaging/IMessageSubscriber.cs | src/Core/Messaging/IMessageSubscriber.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Foundatio.Messaging {
public interface IMessageSubscriber {
void Subscribe<T>(Action<T> handler) where T : class;
}
public interface IMessageSubscriber2 {
void Subscribe<T>(Func<T, CancellationToken, Task> handl... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Foundatio.Messaging {
public interface IMessageSubscriber {
void Subscribe<T>(Action<T> handler) where T : class;
}
public interface IMessageSubscriber2 {
void Subscribe<T>(Func<T, CancellationToken, Task> handl... | apache-2.0 | C# |
c2a2ce4a3b77ca8c02c00ef7a3d3a5f5310e035a | Update my feed URL: I've moved to GitHub pages (#675) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/DamianMehers.cs | src/Firehose.Web/Authors/DamianMehers.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DamianMehers : IAmACommunityMember
{
public string FirstName => "Damian";
public string LastName => "Mehers";
public string ShortBioOrTagLine => "Independent ... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DamianMehers : IAmACommunityMember
{
public string FirstName => "Damian";
public string LastName => "Mehers";
public string ShortBioOrTagLine => "Independent ... | mit | C# |
3c46a8f3078dc9021da3ef012a655a2888b662f8 | repair searching encounters by a serviceProvider chain criteria | furore-fhir/spark,furore-fhir/spark,furore-fhir/spark | src/Spark.Engine/Model/SparkModelInfo.cs | src/Spark.Engine/Model/SparkModelInfo.cs | using System;
using Hl7.Fhir.Model;
using System.Collections.Generic;
using System.Linq;
using static Hl7.Fhir.Model.ModelInfo;
namespace Spark.Engine.Model
{
public static class SparkModelInfo
{
public static List<SearchParamDefinition> SparkSearchParameters = ModelInfo.SearchParameters.Union(
... | using Hl7.Fhir.Model;
using System.Collections.Generic;
using System.Linq;
using static Hl7.Fhir.Model.ModelInfo;
namespace Spark.Engine.Model
{
public static class SparkModelInfo
{
public static List<SearchParamDefinition> SparkSearchParameters = ModelInfo.SearchParameters.Union(
new List... | bsd-3-clause | C# |
e438bdb733049e40f2ef690610c20a884a845b40 | Test to be proper async. Dave to make the test pass | texred/WhatsMyRun | Testing/WhatsMyRun.Services.Tests/WorkoutDataProviderTest.cs | Testing/WhatsMyRun.Services.Tests/WorkoutDataProviderTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhatsMyRun.Services.DataRequestor;
using Moq;
using WhatsMyRun.Services.DataProviders.Workouts;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace WhatsMyRun.Tests
{
[TestClass]
public class WorkoutDataProvi... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhatsMyRun.Services.DataRequestor;
using Moq;
using WhatsMyRun.Services.DataProviders.Workouts;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace WhatsMyRun.Tests
{
[TestClass]
public class WorkoutDataProvi... | mit | C# |
b4daaac67802724b8bdebaee3f9fa2d5ec1dde7d | Return Journal entries latest first | charlesj/Apollo,charlesj/Apollo,charlesj/Apollo,charlesj/Apollo,charlesj/Apollo | server/Apollo/Data/IJournalDataService.cs | server/Apollo/Data/IJournalDataService.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Data.ResultModels;
using Dapper;
namespace Apollo.Data
{
public interface IJournalDataService
{
Task<IReadOnlyList<JournalEntry>> GetAllJournalEntries();
Task CreateJournalEntry(JournalEntry entry);... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Data.ResultModels;
using Dapper;
namespace Apollo.Data
{
public interface IJournalDataService
{
Task<IReadOnlyList<JournalEntry>> GetAllJournalEntries();
Task CreateJournalEntry(JournalEntry entry);... | mit | C# |
cb239a36e04ff788a49b1df8644b32ac3a3e6644 | Improve GetDefault method | evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx | HermaFx.Foundation/RuntimeExtensions/TypeExtensions.cs | HermaFx.Foundation/RuntimeExtensions/TypeExtensions.cs | using System;
using System.Reflection;
using System.Collections.Concurrent;
namespace HermaFx
{
public static class TypeExtension
{
//A thread-safe way to hold default instances created at run-time
private static ConcurrentDictionary<Type, object> typeDefaults = new ConcurrentDictionary<Type, object>();
// C... | using System;
using System.Reflection;
using System.Collections.Concurrent;
namespace HermaFx
{
public static class TypeExtension
{
//a thread-safe way to hold default instances created at run-time
private static ConcurrentDictionary<Type, object> typeDefaults = new ConcurrentDictionary<Type, object>();
// E... | mit | C# |
ba5b717fc0f70f426b7146d0d164673e715f7f2c | Add xmldoc warning against use of FramesPerSecond | ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework/Timing/IFrameBasedClock.cs | osu.Framework/Timing/IFrameBasedClock.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for keeping a... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for keeping a... | mit | C# |
2babb7ecb0b122555a339809ce158b748f0e3295 | Fix CI | ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Configuration;
using osu.Game.Graphics;
using osu.Game.Rulesets.Judgemen... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Configuration;
using osu.Game.Graphics;
using osu.Game.Rulesets.Judgemen... | mit | C# |
e0361ffe91b546716cdf7dce0e783eeee7b2b619 | Add organization to XML Docs (#488) | auth0/auth0.net,auth0/auth0.net | src/Auth0.AuthenticationApi/Tokens/IdTokenRequirements.cs | src/Auth0.AuthenticationApi/Tokens/IdTokenRequirements.cs | using System;
namespace Auth0.AuthenticationApi.Tokens
{
/// <summary>
/// Identity token validation requirements for use with <see cref="IdTokenClaimValidator"/>.
/// </summary>
internal class IdTokenRequirements
{
/// <summary>
/// Required algorithm the token must be signed usin... | using System;
namespace Auth0.AuthenticationApi.Tokens
{
/// <summary>
/// Identity token validation requirements for use with <see cref="IdTokenClaimValidator"/>.
/// </summary>
internal class IdTokenRequirements
{
/// <summary>
/// Required algorithm the token must be signed usin... | mit | C# |
0e721f3a135d8fe4df813ee59cf3a4d1e9b49228 | Replace field by access to base class | terrajobst/nquery-vnext | NQuery.Language/Syntax/ExpressionSelectColumnSyntax.cs | NQuery.Language/Syntax/ExpressionSelectColumnSyntax.cs | using System;
using System.Collections.Generic;
namespace NQuery.Language
{
public sealed class ExpressionSelectColumnSyntax : SelectColumnSyntax
{
private readonly ExpressionSyntax _expression;
private readonly AliasSyntax _alias;
public ExpressionSelectColumnSyntax(ExpressionSyntax e... | using System;
using System.Collections.Generic;
namespace NQuery.Language
{
public sealed class ExpressionSelectColumnSyntax : SelectColumnSyntax
{
private readonly ExpressionSyntax _expression;
private readonly AliasSyntax _alias;
private readonly SyntaxToken? _commaToken;
pub... | mit | C# |
691590ab6a55a8dc91b551b21f045a6261658212 | Change null check | pauldendulk/Mapsui,charlenni/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Common/Maps/Navigation/KeepCenterInMapSample.cs | Samples/Mapsui.Samples.Common/Maps/Navigation/KeepCenterInMapSample.cs | using Mapsui.Layers.Tiling;
using Mapsui.Projections;
using Mapsui.UI;
namespace Mapsui.Samples.Common.Maps.Navigation
{
public class KeepCenterInMapSample : ISample
{
public string Name => "Keep Center In Map";
public string Category => "Navigation";
public void Setup(IMapControl map... | using Mapsui.Layers.Tiling;
using Mapsui.Projections;
using Mapsui.UI;
using Mapsui.Utilities;
namespace Mapsui.Samples.Common.Maps.Navigation
{
public class KeepCenterInMapSample : ISample
{
public string Name => "Keep Center In Map";
public string Category => "Navigation";
public vo... | mit | C# |
b9f8cad4b490c583f8d218fd0e1957d7b5ad74a2 | Increment Android version | Benrnz/CorporateBsGenerator | Droid/Properties/AssemblyInfo.cs | Droid/Properties/AssemblyInfo.cs | using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("CorporateBsGenerator.Droid")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("... | using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("CorporateBsGenerator.Droid")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("... | mit | C# |
f9fd0772bbe5993d45b81e1db2bb5371e27c5770 | Support for ReDoc | domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore | src/Swashbuckle.AspNetCore.ReDoc/ReDocBuilderExtensions.cs | src/Swashbuckle.AspNetCore.ReDoc/ReDocBuilderExtensions.cs | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Swashbuckle.AspNetCore.ReDoc;
namespace Microsoft.AspNetCore.Builder
{
public static class ReDocBuilderExtensions
{
public static IApplicationBuilder UseReDoc(
this IApplicationBuilder a... | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Swashbuckle.AspNetCore.ReDoc;
namespace Microsoft.AspNetCore.Builder
{
public static class ReDocBuilderExtensions
{
public static IApplicationBuilder UseReDoc(
this IApplicationBuilder a... | mit | C# |
8baa66b8f398841607bb042f5eb9d2d9a68ce61b | Fix for Issue 12262 | KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,arkn... | src/Umbraco.Web.UI/Views/Partials/grid/editors/base.cshtml | src/Umbraco.Web.UI/Views/Partials/grid/editors/base.cshtml | @model dynamic
@try
{
string editor = EditorView(Model);
<text>@await Html.PartialAsync(editor, Model as object)</text>
}
catch (Exception ex)
{
<pre>@ex.ToString()</pre>
}
@functions{
public static string EditorView(dynamic contentItem)
{
string view = contentItem.editor.render != null ?... | @model dynamic
@try
{
string editor = EditorView(Model);
<text>@await Html.PartialAsync(editor, Model as object)</text>
}
catch (Exception ex)
{
<pre>@ex.ToString()</pre>
}
@functions{
public static string EditorView(dynamic contentItem)
{
string view = contentItem.editor.render != null ?... | mit | C# |
23bb3334962a5a0fa1f93785438ce0fa3153cb35 | Remove unused import. | Bloomcredit/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET | src/Renci.SshNet.Silverlight/Session.SilverlightShared.cs | src/Renci.SshNet.Silverlight/Session.SilverlightShared.cs | namespace Renci.SshNet
{
public partial class Session
{
/// <summary>
/// Gets a value indicating whether the socket is connected.
/// </summary>
/// <param name="isConnected"><c>true</c> if the socket is connected; otherwise, <c>false</c></param>
partial void IsSocketCo... | using System.Linq;
namespace Renci.SshNet
{
public partial class Session
{
/// <summary>
/// Gets a value indicating whether the socket is connected.
/// </summary>
/// <param name="isConnected"><c>true</c> if the socket is connected; otherwise, <c>false</c></param>
par... | mit | C# |
e1a23a560083ac09878fdf848d6e07bb4041f3af | simplify checkmarkvisibility behavior. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Behaviors/CheckMarkVisibilityBehavior.cs | WalletWasabi.Fluent/Behaviors/CheckMarkVisibilityBehavior.cs | using Avalonia;
using Avalonia.Controls;
using ReactiveUI;
using System;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia.Xaml.Interactivity;
namespace WalletWasabi.Fluent.Behaviors
{
public class CheckMarkVisibilityBehavior : Behavior<PathIcon>
{
public static r... | using Avalonia;
using Avalonia.Controls;
using ReactiveUI;
using System;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia.Input;
namespace WalletWasabi.Fluent.Behaviors
{
public class CheckMarkVisibilityBehavior : DisposingBehavior<PathIcon>
{
public static reado... | mit | C# |
aca9289d89df4c0984a0416ad689cff0ddff6f16 | Use SkinnableSprite for approach circle | UselessToucan/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,2yangk23/osu,ZLima12/osu,EVA... | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ApproachCircle.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ApproachCircle.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Textures;
using osu.Game.Skinning;
n... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics... | mit | C# |
77e0d7ed8e3ecc799387c5d2096183ca5269ff88 | Fix formatting | NeoAdonis/osu,naoey/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,peppy/osu,UselessToucan/osu,naoey/osu,johnnei... | osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs | osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public overr... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public overr... | mit | C# |
4433397951c9aff3cce3b60bae43a50d57b5485d | Improve Cards.GetFromDbfId performance | HearthSim/HearthDb | HearthDb/Cards.cs | HearthDb/Cards.cs | #region
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Serialization;
using HearthDb.CardDefs;
using HearthDb.Enums;
#endregion
namespace HearthDb
{
public static class Cards
{
public static readonly Dictionary<string, Card> All = ne... | #region
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Serialization;
using HearthDb.CardDefs;
using HearthDb.Enums;
#endregion
namespace HearthDb
{
public static class Cards
{
public static readonly Dictionary<string, Card> All = ne... | mit | C# |
0cd39b009b5224f08f2647d4d7d6433d3373d218 | Add unit tests | lecaillon/Evolve | test/Evolve.Test/Extensions/DbConnectionExtensionsTest.cs | test/Evolve.Test/Extensions/DbConnectionExtensionsTest.cs | using System.Data;
using Evolve.Extensions;
using Microsoft.Data.Sqlite;
using Xunit;
using System.Collections.Generic;
namespace Evolve.Test.Extensions
{
public class DbConnectionExtensionsTest
{
[Fact(DisplayName = "QueryForLong works")]
public void QueryForLong_works()
{
... | using System.Data;
using Evolve.Extensions;
using Microsoft.Data.Sqlite;
using Xunit;
namespace Evolve.Test.Extensions
{
public class DbConnectionExtensionsTest
{
[Fact(DisplayName = "QueryForLong works")]
public void QueryForLong_works()
{
using (var connection = new Sqlit... | mit | C# |
316efe379635c16e464fa03405b788da610b51b3 | Refactor TaskAssertions.BeFaulted | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/FluentSample/source/FluentSample.Core/TaskAssertions.cs | projects/FluentSample/source/FluentSample.Core/TaskAssertions.cs | //-----------------------------------------------------------------------
// <copyright file="TaskAssertions.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace FluentSample
{
using Syst... | //-----------------------------------------------------------------------
// <copyright file="TaskAssertions.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace FluentSample
{
using Syst... | unlicense | C# |
a2ef55b89045e37d2e57b4e7cc0f8fc61ec5bbb0 | Update Home/Index.cshtml | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/Views/Home/Index.cshtml | Gamedalf/Views/Home/Index.cshtml | @model HomeViewModel
@Html.Partial("_GamesList", @Model.Games)
<hr />
<div class="row">
<div class="col-md-8">
<h2>Care for some change?</h2>
<p>
Do you have a <strong>good</strong> game? Want to <strong>share it</strong> with the community or <strong>make some profit</stro... | @model HomeViewModel
@Html.Partial("_GamesList", @Model.Games)
<hr />
<div class="row">
<div class="col-md-8">
<h2>Care for some change?</h2>
<p>
Do you have a <strong>good</strong> game? Want to <strong>share it</strong> with the community or <strong>make some profit</stro... | mit | C# |
e3d8db99901c62dd7a298bbef90a9a64e4852c51 | Update TJobStateClient.cs | GuidanceAutomation/SchedulingClients | CSharp/SchedulingClients.Test/TJobStateClient.cs | CSharp/SchedulingClients.Test/TJobStateClient.cs | using BaseClients;
using NUnit.Framework;
using SchedulingClients.JobStateServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchedulingClients.Test
{
[TestFixture]
public class TJobStateClient : AbstractClientTest
... | using BaseClients;
using NUnit.Framework;
using SchedulingClients.JobStateServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchedulingClients.Test
{
[TestFixture]
[Category("JobState")]
public class TJobStateClie... | mit | C# |
ca2194a0bc8335b4de13b396e9915e7ae9a8f5b1 | fix S_SPAWN_PROJECTILE | neowutran/OpcodeSearcher | DamageMeter.Core/Heuristic/S_SPAWN_PROJECTILE.cs | DamageMeter.Core/Heuristic/S_SPAWN_PROJECTILE.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tera.Game.Messages;
namespace DamageMeter.Heuristic
{
public class S_SPAWN_PROJECTILE : AbstractPacketHeuristic
{
public static S_SPAWN_PROJECTILE Instance => _instance ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tera.Game.Messages;
namespace DamageMeter.Heuristic
{
public class S_SPAWN_PROJECTILE : AbstractPacketHeuristic
{
public static S_SPAWN_PROJECTILE Instance => _instance ... | mit | C# |
a12b7e5832c37658bb1eb5c417463910e83448a9 | Use expression body | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | using Splat;
namespace WalletWasabi.Gui.CrashReport.ViewModels
{
public class CrashReportWindowViewModel
{
public CrashReportWindowViewModel()
{
var global = Locator.Current.GetService<Global>();
CrashReporter = global.CrashReporter;
}
private CrashReporter CrashReporter { get; }
public int MinWidth... | using Splat;
namespace WalletWasabi.Gui.CrashReport.ViewModels
{
public class CrashReportWindowViewModel
{
public CrashReportWindowViewModel()
{
var global = Locator.Current.GetService<Global>();
CrashReporter = global.CrashReporter;
}
private CrashReporter CrashReporter { get; }
public int MinWidth... | mit | C# |
eea10f500dae50a51d00e8f6ac40755a92a34d7c | update nuget | weitaolee/Orleans.EventSourcing | Orleans.EventSourcing/Properties/AssemblyInfo.cs | Orleans.EventSourcing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Orleans.EventSourcing")]
[assembly: AssemblyDescription("Orleans Event-Sourcing Libary")]
[assembly: AssemblyConfiguration("")]
... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Orleans.EventSourcing")]
[assembly: AssemblyDescription("Orleans Event-Sourcing Libary")]
[assembly: AssemblyConfiguration("")]
... | mit | C# |
63c06b0487fb24a75be23a55c9367907d8fc900f | Update demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Demo/Demo8_Saveable.cs | Src/Asp.Net/SqlServerTest/Demo/Demo8_Saveable.cs | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Demo8_Saveable
{
public static void Init()
{
Console.WriteLine("");
Console.WriteLine("#### Saveable Sta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Demo8_Saveable
{
public static void Init()
{
}
}
}
| apache-2.0 | C# |
37f97d3ac189ea12c57c8db10aaa1b4f0e9f7029 | write out the sent commands | SexyFishHorse/IrcClient4Net | IrcClient4Net/TwitchIrcClient.cs | IrcClient4Net/TwitchIrcClient.cs | namespace SexyFishHorse.Irc.Client
{
using System;
using System.IO;
using System.Net.Sockets;
using SexyFishHorse.Irc.Client.Configuration;
public class TwitchIrcClient : ITwitchIrcClient
{
private readonly IConfiguration configuration;
private TcpClient client;
priva... | namespace SexyFishHorse.Irc.Client
{
using System.IO;
using System.Net.Sockets;
using SexyFishHorse.Irc.Client.Configuration;
public class TwitchIrcClient : ITwitchIrcClient
{
private readonly IConfiguration configuration;
private TcpClient client;
private StreamReader in... | mit | C# |
cc9f96a6d3a97f70a7bc6a26279895cc5f46935c | Update CopyMoveRequest.cs | DotNetDevs/Synology,Ar3sDevelopment/Synology,DotNetDevs/Synology | Synology.FileStation/CopyMove/CopyMoveRequest.cs | Synology.FileStation/CopyMove/CopyMoveRequest.cs | using Synology.Classes;
using Synology.FileStation.CopyMove.Parameters;
using Synology.FileStation.CopyMove.Results;
using Synology.Parameters;
namespace Synology.FileStation.CopyMove
{
/// <summary>
/// Copy / Move operations from the Synology API
/// This is a non-blocking API. You need to start to copy/... | using Synology.Classes;
using Synology.FileStation.CopyMove.Parameters;
using Synology.FileStation.CopyMove.Results;
using Synology.Parameters;
namespace Synology.FileStation.CopyMove
{
/// <summary>
/// Copy / Move operations from the Synology API
/// This is a non-blocking API. You need to start to copy/... | apache-2.0 | C# |
0125e67677740a885fbb3af3a2a09570e3fd17c8 | Use port 80 by default for containerizer | cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,cloudfoundry/garden-windows,cloudfoundry/garden-windows,stefanschneider/garden-windows,stefanschneider/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,cloudfoundry-incubator/garden-windows | Containerizer/Program.cs | Containerizer/Program.cs | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string[] arg... | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string[] arg... | apache-2.0 | C# |
1bb98e113a2f7c41aaf377bc9a761446f2002db6 | fix it | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Areas/Regional/Controllers/HomeController.cs | Web/Areas/Regional/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Helpers;
using Cats.Models.Security;
using Cats.Services.Dashboard;
using Cats.Services.EarlyWarning;
namespace Cats.Areas.Regional.Controllers
{
public class HomeController : Controller
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Helpers;
using Cats.Models.Security;
using Cats.Services.Dashboard;
using Cats.Services.EarlyWarning;
namespace Cats.Areas.Regional.Controllers
{
public class HomeController : Controller
{
... | apache-2.0 | C# |
ed0752a5f12d29de2ec0e57e7cd9ae25ee0ef729 | Update test assumptions | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Tests/Visual/Navigation/TestSceneEditDefaultSkin.cs | osu.Game.Tests/Visual/Navigation/TestSceneEditDefaultSkin.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.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Overlays.Settings.Sections;
using... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Overlays.Settings.Sections;
using... | mit | C# |
982066dfdfe2bf2356ff1d7acfc5c0827d0894cd | Convert to method group | 2yangk23/osu,johnneijzen/osu,ppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu... | osu.Game/Screens/Multi/Match/Components/MatchBeatmapPanel.cs | osu.Game/Screens/Multi/Match/Components/MatchBeatmapPanel.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Direct;
using osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Direct;
using osu.Ga... | mit | C# |
264987b9428c5f11fc4e6475f3a6bf96f43ee6e7 | Allow passing specific settings to .Register() | NickCraver/StackExchange.Exceptional,NickCraver/StackExchange.Exceptional | src/StackExchange.Exceptional.Shared/Notifiers/IErrorNotifier.cs | src/StackExchange.Exceptional.Shared/Notifiers/IErrorNotifier.cs | namespace StackExchange.Exceptional.Notifiers
{
/// <summary>
/// Represents a notifier, something that takes an exception that was just logged and notifies someone or something else.
/// </summary>
public interface IErrorNotifier
{
/// <summary>
/// Whether this notifier is enabled... | namespace StackExchange.Exceptional.Notifiers
{
/// <summary>
/// Represents a notifier, something that takes an exception that was just logged and notifies someone or something else.
/// </summary>
public interface IErrorNotifier
{
/// <summary>
/// Whether this notifier is enabled... | apache-2.0 | C# |
ad5b50cf56394377f844cc0f3dfa6581e5374942 | add style for a textbox | LayoutFarm/PixelFarm | src/Tests/Test_BasicPixelFarm/Demo2/2.2_Demo_MultilineTextBox.cs | src/Tests/Test_BasicPixelFarm/Demo2/2.2_Demo_MultilineTextBox.cs | //Apache2, 2014-2018, WinterDev
using LayoutFarm.CustomWidgets;
namespace LayoutFarm
{
[DemoNote("2.2 MultiLineTextBox")]
class Demo_MultiLineTextBox : DemoBase
{
protected override void OnStartDemo(SampleViewport viewport)
{
var textbox1 = new LayoutFarm.CustomWidgets.TextBox(... | //Apache2, 2014-2018, WinterDev
using LayoutFarm.CustomWidgets;
namespace LayoutFarm
{
[DemoNote("2.2 MultiLineTextBox")]
class Demo_MultiLineTextBox : DemoBase
{
protected override void OnStartDemo(SampleViewport viewport)
{
var textbox1 = new LayoutFarm.CustomWidgets.TextBox(... | bsd-2-clause | C# |
e54f80754a56664ce2155921380a6a26ec4049a0 | fix TypedInterceptorFactory | AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions | src/AspectCore.Abstractions/Interceptors/TypedInterceptorFactory.cs | src/AspectCore.Abstractions/Interceptors/TypedInterceptorFactory.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace AspectCore.Abstractions
{
public class TypedInterceptorFactory : IInterceptorFactory
{
private static readonly Predicate<MethodInfo>[] EmptyPredicates = new Predicate<MethodInfo>[0];
private static readonly obje... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace AspectCore.Abstractions
{
public class TypedInterceptorFactory : IInterceptorFactory
{
private static readonly Predicate<MethodInfo>[] Empty = new Predicate<MethodInfo>[0];
private readonly ICollection<Predicat... | mit | C# |
08382e5bf554381a327e215b191d901ab4b16663 | Fix SolidColorBrushAnimator NRE | AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,... | src/Avalonia.Visuals/Animation/Animators/SolidColorBrushAnimator.cs | src/Avalonia.Visuals/Animation/Animators/SolidColorBrushAnimator.cs | using System;
using Avalonia.Data;
using Avalonia.Media;
using Avalonia.Media.Immutable;
namespace Avalonia.Animation.Animators
{
/// <summary>
/// Animator that handles <see cref="SolidColorBrush"/> values.
/// </summary>
public class ISolidColorBrushAnimator : Animator<ISolidColorBrush>
{
... | using System;
using Avalonia.Data;
using Avalonia.Media;
using Avalonia.Media.Immutable;
namespace Avalonia.Animation.Animators
{
/// <summary>
/// Animator that handles <see cref="SolidColorBrush"/> values.
/// </summary>
public class ISolidColorBrushAnimator : Animator<ISolidColorBrush>
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.