commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
bd5d9df346f9e9432fb1da8e9b8228013e48dd17 | src/CSharpViaTest.Collections/30_MapReducePractices/CountNumberOfWordsInMultipleTextFiles.cs | src/CSharpViaTest.Collections/30_MapReducePractices/CountNumberOfWordsInMultipleTextFiles.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[SuperEasy]
public class CountNumberOfWordsInMultipleTextFiles
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[Medium]
public class CountNumberOfWordsInMultipleTextFiles
{
... | Change count word to medium level. | [liuxia] Change count word to medium level.
| C# | mit | AxeDotNet/AxePractice.CSharpViaTest |
e04226ac88201f95e3064a57927e93b9468b31dd | IvionWebSoft/WebResources/WebResource.cs | IvionWebSoft/WebResources/WebResource.cs | using System;
namespace IvionWebSoft
{
public abstract class WebResource
{
public Uri Location { get; private set; }
public bool Success { get; private set; }
public Exception Exception { get; private set; }
public WebResource(Uri uri)
{
if (uri == null)
... | using System;
using System.Net;
namespace IvionWebSoft
{
public abstract class WebResource
{
public Uri Location { get; private set; }
public bool Success { get; private set; }
public Exception Exception { get; private set; }
public WebResource(Uri uri)
{
... | Add way to get HTTP error code | IvionWebSoft: Add way to get HTTP error code
Extend WebResource base class so that all subclasses (and their users)
have a way to get at the potential HTTP error code.
| C# | bsd-2-clause | IvionSauce/MeidoBot |
66457fd1b561ca0f8e6c8528468fdbffb6fa096a | SettingsAPISample/Models/ARMListEntry.cs | SettingsAPISample/Models/ARMListEntry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
namespace SettingsAPISample.Models
{
public class ARMListEntry<T> where T : INamedObject
{
public static ARMListEntry<T> Create(IEnumerable<T> objects, HttpRequestMessage request)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
namespace SettingsAPISample.Models
{
public class ARMListEntry<T> where T : INamedObject
{
public static ARMListEntry<T> Create(IEnumerable<T> objects, HttpRequestMessage request)
{
... | Use linq to simplify enumeration | Use linq to simplify enumeration
| C# | apache-2.0 | davidebbo-test/SettingsAPISampleSiteExtension,davidebbo-test/SettingsAPISampleSiteExtension |
be132c95d8b0b09b7d044e00a8aea579c6e06f96 | CustomErrorSignal/Properties/AssemblyInfo.cs | CustomErrorSignal/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("El... | 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("El... | Align with Nuget Package Version 1.0.7 | Align with Nuget Package Version 1.0.7 | C# | apache-2.0 | dhont/Custom-ErrorSignal-Elmah |
ca772b60b183e33d0c42896f5340088c5f3206b8 | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | Use regular test steps rather than one-time set up and scheduling | Use regular test steps rather than one-time set up and scheduling
| C# | mit | peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,ppy/osu |
49bec2c021da6c3ac97f6ecac0422d4d7d8512a4 | BSolutions.Brecons/BSolutions.Brecons.Core/Enumerations/HttpVerb.cs | BSolutions.Brecons/BSolutions.Brecons.Core/Enumerations/HttpVerb.cs | //-----------------------------------------------------------------------
// <copyright file="HttpVerb.cs" company="Bremus Solutions">
// Copyright (c) Bremus Solutions. All rights reserved.
// </copyright>
// <author>Timm Bremus</author>
// <license>
// Licensed to the Apache Software Foundation(ASF) under o... | //-----------------------------------------------------------------------
// <copyright file="HttpVerb.cs" company="Bremus Solutions">
// Copyright (c) Bremus Solutions. All rights reserved.
// </copyright>
// <author>Timm Bremus</author>
// <license>
// Licensed to the Apache Software Foundation(ASF) under o... | Correct names for http verbs | Correct names for http verbs
| C# | apache-2.0 | brecons/brecons-tag-helper |
9234e3f7a2d68266111a0c2447c695da07e24b90 | src/PowerShellEditorServices.Protocol/DebugAdapter/Scope.cs | src/PowerShellEditorServices.Protocol/DebugAdapter/Scope.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
{
public class Scope
{
/// <summary>
/// Gets or sets the name of the ... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
{
public class Scope
{
/// <summary>
/// Gets or sets the name of the ... | Mark the "Auto" variable scope as not expensive | Mark the "Auto" variable scope as not expensive
This change causes the "Auto" variable scope to be marked as not
'expensive' in the VS Code debug protocol so that it is always expanded by
default in VS Code's debug client UI.
| C# | mit | PowerShell/PowerShellEditorServices |
62e59c8826035b0e53cc0ff825e8efd2345c2cac | src/NetIRC/Messages/NoticeMessage.cs | src/NetIRC/Messages/NoticeMessage.cs | using System.Collections.Generic;
namespace NetIRC.Messages
{
public class NoticeMessage : IRCMessage, IServerMessage, IClientMessage
{
public string From { get; }
public string Target { get; }
public string Message { get; }
public NoticeMessage(ParsedIRCMessage parsedMessage)... | using System.Collections.Generic;
namespace NetIRC.Messages
{
public class NoticeMessage : IRCMessage, IServerMessage, IClientMessage
{
public string From { get; }
public string Target { get; }
public string Message { get; }
public NoticeMessage(ParsedIRCMessage parsedMessage)... | Add property to identity a Channel Notice | Add property to identity a Channel Notice
| C# | mit | Fredi/NetIRC |
dec4ecb21269acc76acbbe69b901112964cee779 | AnimationPathCurvesDebug.cs | AnimationPathCurvesDebug.cs | using UnityEngine;
using System.Collections;
using ATP.AnimationPathTools;
[ExecuteInEditMode]
public class AnimationPathCurvesDebug : MonoBehaviour {
private AnimationPathAnimator animator;
[Header("Rotation curves")]
public AnimationCurve curveX;
public AnimationCurve curveY;
public AnimationCu... | using UnityEngine;
using System.Collections;
using ATP.AnimationPathTools;
[ExecuteInEditMode]
public class AnimationPathCurvesDebug : MonoBehaviour {
private AnimationPathAnimator animator;
private AnimationPath animationPath;
[Header("Animation Path")]
public AnimationCurve pathCurveX;
public ... | Add animation path curves to the debug component | Add animation path curves to the debug component
| C# | mit | bartlomiejwolk/AnimationPathAnimator |
8bf8a0d8d5d7eb6886a1072c85a880bffa9306e2 | AssemblyInfo.cs | AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | Make the monitor tool build again | Make the monitor tool build again
| C# | mit | tmds/Tmds.DBus |
08a876df866fed64428d22cbccbba989c8b13421 | Navigation/AdminMenu.cs | Navigation/AdminMenu.cs | using Orchard.Localization;
using Orchard.UI.Navigation;
using OShop.Permissions;
namespace OShop.PayPal.Navigation {
public class AdminMenu : INavigationProvider {
public Localizer T { get; set; }
public AdminMenu() {
T = NullLocalizer.Instance;
}
public string MenuN... | using Orchard.Localization;
using Orchard.UI.Navigation;
using OShop.Permissions;
namespace OShop.PayPal.Navigation {
public class AdminMenu : INavigationProvider {
public Localizer T { get; set; }
public AdminMenu() {
T = NullLocalizer.Instance;
}
public string MenuN... | Move Settings tab just after OfflinePayment settings | Move Settings tab just after OfflinePayment settings
| C# | mit | OShop/OShop.PayPal,OShop/OShop.PayPal |
af04f9904a1be45992c876fa7ffdd8db5c37f681 | CollAction/ValidationAttributes/MaxImageDimensionsAttribute.cs | CollAction/ValidationAttributes/MaxImageDimensionsAttribute.cs | using ImageSharp;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
namespace CollAction.ValidationAttributes
{
public class MaxImageDimensionsAttribute : ValidationAttribute
{
private reado... | using ImageSharp;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
namespace CollAction.ValidationAttributes
{
public class MaxImageDimensionsAttribute : ValidationAttribute
{
private reado... | Check if image is supported before uploading in the validation tag | Check if image is supported before uploading in the validation tag
| C# | agpl-3.0 | stewartmatheson/CollAction,stewartmatheson/CollAction,stewartmatheson/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,stewartmatheson/CollAction,CollActionteam/CollAction,CollActionteam/CollAction |
b9e364220ec74dcaf46159cc9a550b9070c9da98 | TokenServer/src/Main.cs | TokenServer/src/Main.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace UKahoot {
class MainClass {
public static string[] Hosts = {
"tokenserver.ukahoot.it"
};
public static int Port = 5556;
public static TokenServer ts;
public static void Main(string[] args) {
ts = new TokenServer(Hosts, Port)... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace UKahoot {
class MainClass {
public static string[] Hosts = {
"tokenserver.ukahoot.it",
"http://tokenserver.ukahoot.it",
"https://tokenserver.ukahoot.it",
"http://www.tokenserver.ukahoot.it",
"https://www.tokenserver.ukahoot... | Add more hosts to tokenserver | Add more hosts to tokenserver
| C# | mit | ukahoot/ukahoot,ukahoot/ukahoot,ukahoot/ukahoot,ukahoot/ukahoot,ukahoot/ukahoot.github.io,ukahoot/ukahoot.github.io,ukahoot/ukahoot.github.io |
4e460b3bf73cfdc723cfff5dae78900e2911c73a | FogOptions/LoadingExtension.cs | FogOptions/LoadingExtension.cs | using ICities;
namespace FogOptions
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnLevelLoaded(LoadMode mode)
{
base.OnLevelLoaded(mode);
if (mode == LoadMode.LoadMap || mode == LoadMode.NewMap)
{
return;
... | using ICities;
namespace FogOptions
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnLevelLoaded(LoadMode mode)
{
base.OnLevelLoaded(mode);
FogController.Initialize();
}
public override void OnLevelUnloading()
{
... | Disable fog and clouds in all game modes | Disable fog and clouds in all game modes
| C# | mit | earalov/Skylines-FogOptions |
4a475911666b538689b382e28d95564010b93858 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | jango2015/Autofac.Extras.DynamicProxy,autofac/Autofac.Extras.DynamicProxy |
659f52e89bcdcb92de1ebba90548b713c399dc1b | MathSample/RandomWalkConsole/Program.cs | MathSample/RandomWalkConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace RandomWalkConsole
{
class Program
{
static void Main(string[] args)
{
var unfinished = Enumerable.Range(0, 1000)
.Select(_ => Walk2())
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using static System.Console;
using static System.Math;
namespace RandomWalkConsole
{
class Program
{
const int Trials = 1 * 1000;
const int MaxSteps = 100 * 1000 * 1000;
const int ... | Implement random walk for 3D | Implement random walk for 3D
| C# | mit | sakapon/Samples-2016,sakapon/Samples-2016 |
c315c8690b723a0dc7040ade60ccd5d414977276 | osu.Game/Modes/Objects/Types/LegacyHitObjectType.cs | osu.Game/Modes/Objects/Types/LegacyHitObjectType.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
namespace osu.Game.Modes.Objects.Types
{
[Flags]
public enum HitObjectType
{
Circle = 1 << 0,
Slider = 1 << 1,
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
namespace osu.Game.Modes.Objects.Types
{
[Flags]
public enum HitObjectType
{
Circle = 1 << 0,
Slider = 1 << 1,
... | Fix incorrect hit object type. | Fix incorrect hit object type.
| C# | mit | DrabWeb/osu,peppy/osu-new,ZLima12/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,peppy/osu,tacchinotacchi/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,nyaamara/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,naoey/osu,ppy/osu,smoogipooo/os... |
dd279f55bd9ec763a85e0388eaed40b44f57b187 | src/FluentMigrator.Tests/Unit/AutoReversingMigrationTests.cs | src/FluentMigrator.Tests/Unit/AutoReversingMigrationTests.cs | using NUnit.Framework;
using FluentMigrator.Infrastructure;
namespace FluentMigrator.Tests.Unit
{
using System.Collections.ObjectModel;
using System.Linq;
using FluentMigrator.Expressions;
using Moq;
[TestFixture]
public class AutoReversingMigrationTests
{
private Mock<IMigrationCo... | using NUnit.Framework;
using FluentMigrator.Infrastructure;
namespace FluentMigrator.Tests.Unit
{
using System.Collections.ObjectModel;
using System.Linq;
using FluentMigrator.Expressions;
using Moq;
[TestFixture]
public class AutoReversingMigrationTests
{
private Mock<IMigrationCo... | Add a test to confirm down migrations are run in reverse order of up migrations | Add a test to confirm down migrations are run in reverse order of up migrations
| C# | apache-2.0 | itn3000/fluentmigrator,FabioNascimento/fluentmigrator,fluentmigrator/fluentmigrator,eloekset/fluentmigrator,spaccabit/fluentmigrator,itn3000/fluentmigrator,igitur/fluentmigrator,amroel/fluentmigrator,schambers/fluentmigrator,schambers/fluentmigrator,FabioNascimento/fluentmigrator,lcharlebois/fluentmigrator,lcharlebois/... |
604e8a87c59420a3d315ea9a13046238bebba626 | PixelPet/CLI/Commands/PadPalettesCmd.cs | PixelPet/CLI/Commands/PadPalettesCmd.cs | using LibPixelPet;
using System;
namespace PixelPet.CLI.Commands {
internal class PadPalettesCmd : CliCommand {
public PadPalettesCmd()
: base("Pad-Palettes",
new Parameter(true, new ParameterValue("width", "0"))
) { }
public override void Run(Workbench workbench, ILogger logger) {
int width = Find... | using LibPixelPet;
using System;
namespace PixelPet.CLI.Commands {
internal class PadPalettesCmd : CliCommand {
public PadPalettesCmd()
: base("Pad-Palettes",
new Parameter(true, new ParameterValue("width", "0"))
) { }
public override void Run(Workbench workbench, ILogger logger) {
int width = Find... | Change Pad-Palettes behavior to be more like the old version. | Change Pad-Palettes behavior to be more like the old version.
| C# | mit | Prof9/PixelPet |
50312544f0173436ec756233ab4f5502762c9696 | DynThings.Data.Repositories/Core/UnitOfWork.cs | DynThings.Data.Repositories/Core/UnitOfWork.cs | /////////////////////////////////////////////////////////////////
// Created by : Caesar Moussalli //
// TimeStamp : 31-1-2016 //
// Content : Associate Repositories to the Unit of Work //
// Notes : Send DB context to repositories to redu... | /////////////////////////////////////////////////////////////////
// Created by : Caesar Moussalli //
// TimeStamp : 31-1-2016 //
// Content : Associate Repositories to the Unit of Work //
// Notes : Send DB context to repositories to redu... | Add LocationViewTypes repo to unit of work | Add LocationViewTypes repo to unit of work
| C# | mit | cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings |
62cef3471a796ce1c56f492e08ac093a9129da32 | WalletWasabi/Helpers/PasswordConsole.cs | WalletWasabi/Helpers/PasswordConsole.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.Helpers
{
public static class PasswordConsole
{
/// <summary>
/// Gets the console password.
/// </summary>
public static string ReadPassword()
{
var sb = new StringBuilder();
while (true)
{
ConsoleKeyInf... | using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.Helpers
{
public static class PasswordConsole
{
/// <summary>
/// Gets the console password.
/// </summary>
public static string ReadPassword()
{
try
{
var sb = new StringBuilder();
while (true)
{
... | Make sure daemon password console works on Windows 7 | Make sure daemon password console works on Windows 7
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
a6512aa238c7ff896924ca7574a9ddbee0b0bc70 | Source/Pash.Microsoft.PowerShell.Commands.Utility/WriteHostCommand.cs | Source/Pash.Microsoft.PowerShell.Commands.Utility/WriteHostCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;
using Extensions.String;
namespace Microsoft.PowerShell.Commands.Utility
{
[Cmdlet("Write", "Host")]
public sealed class WriteHostCommand : ConsoleColorCmdlet
{
[Parameter(Posi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;
using Extensions.String;
using System.Collections;
namespace Microsoft.PowerShell.Commands.Utility
{
[Cmdlet("Write", "Host")]
public sealed class WriteHostCommand : ConsoleColorCmdlet
... | Remove never-run code in WriteHost. | Remove never-run code in WriteHost.
This code triggers a compile warning (which is treated as an error) when using MonoDevelop.
The condition is bogus - an object can never satisfy `is Enumerable` because `Enumerable` is a `static class`. So it will always be false. I probably intended to write `is IEnumerable` here,... | C# | bsd-3-clause | sillvan/Pash,mrward/Pash,Jaykul/Pash,JayBazuzi/Pash,sillvan/Pash,ForNeVeR/Pash,Jaykul/Pash,mrward/Pash,JayBazuzi/Pash,WimObiwan/Pash,ForNeVeR/Pash,ForNeVeR/Pash,JayBazuzi/Pash,WimObiwan/Pash,sillvan/Pash,mrward/Pash,Jaykul/Pash,WimObiwan/Pash,Jaykul/Pash,mrward/Pash,sburnicki/Pash,sburnicki/Pash,sburnicki/Pash,JayBazuz... |
adffd695cb79fc4d0a30aa6648f41afc49486182 | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostCollectedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostCollectedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostCollectedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostCollectedMovie>... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostCollectedRequest : TraktGetRequest<TraktPaginationListResult<TraktMos... | Add filter property to most collected movies request. | Add filter property to most collected movies request.
| C# | mit | henrikfroehling/TraktApiSharp |
38b5b373556ee1c20073d8861a7b34cb2ee6da7b | Programs/examples/TestClient/Commands/Appearance/WearCommand.cs | Programs/examples/TestClient/Commands/Appearance/WearCommand.cs | using System;
using OpenMetaverse;
namespace OpenMetaverse.TestClient
{
public class WearCommand : Command
{
public WearCommand(TestClient testClient)
{
Client = testClient;
Name = "wear";
Description = "Wear an outfit folder from inventory. Usage: wear [outf... | using System;
using System.Collections.Generic;
using OpenMetaverse;
namespace OpenMetaverse.TestClient
{
public class WearCommand : Command
{
public WearCommand(TestClient testClient)
{
Client = testClient;
Name = "wear";
Description = "Wear an outfit folder... | Update wear command to work with the new appearance maanger. | Update wear command to work with the new appearance maanger.
git-svn-id: e915c4f8b2ea2a6e63cbe989b51c0994a698cc26@3158 52acb1d6-8a22-11de-b505-999d5b087335
| C# | bsd-3-clause | tectronics/libopenmetaverse,tectronics/libopenmetaverse,logicmoo/libopenmetaverse,logicmoo/libopenmetaverse,tectronics/libopenmetaverse,radegastdev/libopenmetaverse,tectronics/libopenmetaverse,logicmoo/libopenmetaverse,radegastdev/libopenmetaverse,logicmoo/libopenmetaverse,logicmoo/libopenmetaverse,logicmoo/libopenmeta... |
77b3189141afb4e61f9c87321eb51c44d03fcf6c | Web/Areas/Admin/Views/Shared/EditorTemplates/RoomsPicker.cshtml | Web/Areas/Admin/Views/Shared/EditorTemplates/RoomsPicker.cshtml | @model string[]
@Html.DropDownList("[]", new SelectListItem[0])
<script type="text/javascript">
$(function () {
$.ajax({
url: '@Url.Action("Rooms", "Select")',
method: 'post',
success: function(data) {
$("#@Html.IdForModel()__")
.sele... | @model string[]
@Html.DropDownList("[]", new SelectListItem[0], new { multiple="multiple" })
<script type="text/javascript">
$(function () {
$.ajax({
url: '@Url.Action("Rooms", "Select")',
method: 'post',
success: function(data) {
$("#@Html.IdForModel()_... | Make rooms multi-select for devices (and clearable) | Make rooms multi-select for devices (and clearable)
| C# | mit | RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room |
07e1a26bcd9280ca60581c692d5d77fc4e59e8c9 | src/Glimpse.Common/Broker/BaseMessage.cs | src/Glimpse.Common/Broker/BaseMessage.cs | using System;
namespace Glimpse
{
public class BaseMessage : IMessage
{
public BaseMessage()
{
Id = new Guid();
Time = new DateTime();
}
public Guid Id { get; }
public DateTime Time { get; }
}
} | using System;
namespace Glimpse
{
public class BaseMessage : IMessage
{
public BaseMessage()
{
Id = Guid.NewGuid();
Time = DateTime.Now;
}
public Guid Id { get; }
public DateTime Time { get; }
}
} | Add correct guid/date generation for messages | Add correct guid/date generation for messages
| C# | mit | peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Pro... |
6dd72adef8353781adc655b601002bf719afb000 | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | using System;
using System.Net.Http;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
public RemoteHttpMessagePublisher()
{
... | using System;
using System.Net.Http;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
public RemoteHttpMessagePublisher()
{
... | Remove unused code & add comment | Remove unused code & add comment
| C# | mit | zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,p... |
cd8acfb82b29447bd038fe8cceedc0820b6f50a8 | Source/AirQualityInfo.WP/Services/LocationService.cs | Source/AirQualityInfo.WP/Services/LocationService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Windows.Devices.Geolocation;
using AirQualityInfo.DataClient.Models;
using AirQualityInfo.DataClient.Services;
namespace AirQualityInfo.WP.Services
{
// http://msdn.micro... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Windows.Devices.Geolocation;
using AirQualityInfo.DataClient.Models;
using AirQualityInfo.DataClient.Services;
namespace AirQualityInfo.WP.Services
{
// http://msdn.micro... | Set Geolocator to accuracy of 500m, 5min age and 10 second timeout | Set Geolocator to accuracy of 500m, 5min age and 10 second timeout
| C# | mit | christophwille/winrt-aqi |
0cc6a76c17f6f5e9c0b36a747bfa349369f4e82c | osu.Game/Database/LegacyBeatmapImporter.cs | osu.Game/Database/LegacyBeatmapImporter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Stores;
using osu.Framework.Platform;
using osu.Game.Beatmaps;
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.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Stores;
using osu.Framework.Platform;
using osu.Game.Beatmaps;
using osu.Ga... | Fix crash with legacy import from incomplete installs | Fix crash with legacy import from incomplete installs
| C# | mit | ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu |
60f41f2f4ff16b7e2f2f8038b3cdd456aabdbfa7 | src/ServiceManagement/Compute/ComputeManagement/Generated/Models/DestinationVirtualNetwork.cs | src/ServiceManagement/Compute/ComputeManagement/Generated/Models/DestinationVirtualNetwork.cs | //
// Copyright (c) Microsoft and contributors. 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 requi... | //
// Copyright (c) Microsoft and contributors. 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 requi... | Remove "Default" from Destination VNet for migration | Remove "Default" from Destination VNet for migration
| C# | apache-2.0 | hovsepm/azure-sdk-for-net,vladca/azure-sdk-for-net,bgold09/azure-sdk-for-net,nemanja88/azure-sdk-for-net,AuxMon/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,pattipaka/azure-sdk-for-net,AuxMon/azure-sdk-for-net,herveyw/azure-sdk-for-net,dasha91/azure-sdk-for-net,MabOneSdk/azure-sdk-for-net,Mab... |
48b3b3b64024641674244028431229db7a44fe20 | hangman.cs | hangman.cs | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
Game game = new Game();
Console.WriteLine("Made a new Game object");
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| Create an instance of Game | Create an instance of Game
| C# | unlicense | 12joan/hangman |
6890ead6469ce1e995f2320f8f3f1de2d698b0a5 | EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs | EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs | using System.Reflection;
namespace EvilDICOM.Core.Helpers
{
public static class Constants
{
public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1";
public static string EVIL_DICOM_IMP_VERSION = Assembly.GetCallingAssembly().GetName().Version.ToString();
//APPLICATION ... | using System.Reflection;
namespace EvilDICOM.Core.Helpers
{
public static class Constants
{
public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1";
public static string EVIL_DICOM_IMP_VERSION = new AssemblyName(Assembly.GetCallingAssembly().FullName).Version.ToString();
... | Use AssemblyName to portably obtain version number | Use AssemblyName to portably obtain version number
| C# | mit | cureos/Evil-DICOM |
9a9f53ddfd76731d76462bdcc287190749667a8e | osu.Game.Rulesets.Osu/Edit/OsuEditRulesetContainer.cs | osu.Game.Rulesets.Osu/Edit/OsuEditRulesetContainer.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.Framework.Graphics.Cursor;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Osu.Edit
... | // 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.Framework.Graphics.Cursor;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
using OpenTK;
namespace osu.Game.Rule... | Remove 0.75 scale from osu! playfield in the editor | Remove 0.75 scale from osu! playfield in the editor
| C# | mit | 2yangk23/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,naoey/osu,naoey/osu,Nabile-Rahmani/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,naoey/o... |
5263a2d004251754b2442df8dc766834c56915c0 | DanTup.TestAdapters.Xml/XmlExternalTestExecutor.cs | DanTup.TestAdapters.Xml/XmlExternalTestExecutor.cs | using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace DanTup.TestAdapters.Xml
{
public class XmlExternalTestExecutor : ExternalTestExecutor
{
static readonly string extensionFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
public override string ExtensionFolder {... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace DanTup.TestAdapters.Xml
{
public class XmlExternalTestExecutor : ExternalTestExecutor
{
static readonly string extensionFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
public override st... | Implement a simple executor that just reads the file directly | Implement a simple executor that just reads the file directly
| C# | mit | DanTup/TestAdapters,DanTup/TestAdapters |
3e248438e45d543d529b441d4e42b74482f04af0 | NadekoBot.Core/Modules/Searches/InspiroCommands.cs | NadekoBot.Core/Modules/Searches/InspiroCommands.cs | using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
namespace NadekoBot.Modules.Searches
{
public partial class Searches
{
[Group]
public class ... | using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
namespace NadekoBot.Modules.Searches
{
public partial class Searches
{
[Group]
public class ... | Add typing state to inspiro command | Add typing state to inspiro command
| C# | mit | Nielk1/NadekoBot |
209e1e19f4a0a333158f7dc0d27f34e54f3395c4 | Source/Eto.Platform.Wpf/Properties/AssemblyInfo.cs | Source/Eto.Platform.Wpf/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 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.
[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Eto.Platform.Wpf")]
[assembly: AssemblyDescription("")]
[assembly: ThemeInfo (
ResourceDictionaryLocation.SourceAssembly,
ResourceDictionaryLocation.SourceAssembl... | Remove extraneous info in assembly info | Wpf: Remove extraneous info in assembly info
| C# | bsd-3-clause | PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1 |
e9a0e097320bcb27dbe11385999550101b88a445 | src/Orchard.Web/Core/Contents/AdminMenu.cs | src/Orchard.Web/Core/Contents/AdminMenu.cs | using System.Linq;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.Localization;
using Orchard.UI.Navigation;
namespace Orchard.Core.Contents {
public class AdminMenu : INavigationProvider {
private readonly IContentDefinitionManager _contentDefinitionManag... | using System.Linq;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.Localization;
using Orchard.UI.Navigation;
namespace Orchard.Core.Contents {
public class AdminMenu : INavigationProvider {
private readonly IContentDefinitionManager _contentDefinitionManag... | Hide the Manage Content admin menu item | Hide the Manage Content admin menu item
--HG--
branch : dev
| C# | bsd-3-clause | omidnasri/Orchard,Lombiq/Orchard,Serlead/Orchard,vard0/orchard.tan,Praggie/Orchard,m2cms/Orchard,bigfont/orchard-cms-modules-and-themes,Lombiq/Orchard,oxwanawxo/Orchard,mgrowan/Orchard,SzymonSel/Orchard,sfmskywalker/Orchard,Praggie/Orchard,Dolphinsimon/Orchard,brownjordaninternational/OrchardCMS,NIKASoftwareDevs/Orchar... |
53bc8789f1774acb96854273fcd33a4523da32ec | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/TokenServiceApiClientConfiguration.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/TokenServiceApiClientConfiguration.cs | using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.TokenService.Api.Client;
namespace SFA.DAS.EAS.Domain.Configuration
{
public class TokenServiceApiClientConfiguration : ITokenServiceApiClientConfiguration, IConfiguration
{
public string ApiBaseUrl { get; set; }
public string ClientId { get; s... | using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.TokenService.Api.Client;
namespace SFA.DAS.EAS.Domain.Configuration
{
public class TokenServiceApiClientConfiguration : ITokenServiceApiClientConfiguration, IConfiguration
{
pu... | Add load of certificate for token service | Add load of certificate for token service
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
4041d4687132d3f32493dddc2b7f26e2d89b623a | Battery-Commander.Web/Controllers/ReportsController.cs | Battery-Commander.Web/Controllers/ReportsController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Models.Reports;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Models.Reports;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]... | Remove old red 1 reference | Remove old red 1 reference
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
3097189ba609ea67550f34afedf181f797c000d7 | WindowsStore/Service/FileOpenPickerService.cs | WindowsStore/Service/FileOpenPickerService.cs | using MyDocs.Common.Contract.Service;
using MyDocs.Common.Model.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Pickers;
namespace MyDocs.WindowsStore.Service
{
public class FileOpenPickerService : IFile... | using MyDocs.Common.Contract.Service;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Pickers;
namespace MyDocs.WindowsStore.Service
{
public class FileOpenPickerService : IFileOpenPickerServi... | Copy file to temp folder as long as document is not saved | Copy file to temp folder as long as document is not saved
| C# | mit | eggapauli/MyDocs,eggapauli/MyDocs |
0532b728ec30fba86398649a1d679a49e549896a | src/Elasticsearch.Net.Aws/Elasticsearch.Net.Aws/AwsSettings.cs | src/Elasticsearch.Net.Aws/Elasticsearch.Net.Aws/AwsSettings.cs | using System;
using System.Linq;
namespace Elasticsearch.Net.Aws
{
/// <summary>
/// Encapsulates
/// </summary>
public class AwsSettings
{
/// <summary>
/// Gets or sets the region. e.g. us-east-1. Required.
/// </summary>
public string Region { get; set; }
... | using System;
using System.Linq;
namespace Elasticsearch.Net.Aws
{
/// <summary>
/// Encapsulates
/// </summary>
public class AwsSettings
{
/// <summary>
/// Gets or sets the region. e.g. us-east-1. Required.
/// </summary>
public string Region { get; set; }
... | Edit comment. Token is not required. | Edit comment. Token is not required.
| C# | apache-2.0 | bcuff/elasticsearch-net-aws |
909a8bf94885749aa8d3410e9fa94b709b5b8c03 | src/GitHub.InlineReviews/ViewModels/TooltipCommentViewModel.cs | src/GitHub.InlineReviews/ViewModels/TooltipCommentViewModel.cs | using System;
using System.Reactive;
using ReactiveUI;
using GitHub.Models;
namespace GitHub.InlineReviews.ViewModels
{
public class TooltipCommentViewModel : ICommentViewModel
{
internal TooltipCommentViewModel(IAccount user, string body, DateTimeOffset updatedAt)
{
User = user;
... | using System;
using System.Reactive;
using ReactiveUI;
using GitHub.Models;
namespace GitHub.InlineReviews.ViewModels
{
public class TooltipCommentViewModel : ICommentViewModel
{
internal TooltipCommentViewModel(IAccount user, string body, DateTimeOffset updatedAt)
{
User = user;
... | Fix build by adding IsReadOnly implementation | Fix build by adding IsReadOnly implementation
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio |
f235dd27e8d146f949418a8d17c11f0870cc4cb6 | src/System.Net.Utilities/tests/FunctionalTests/TestSettings.cs | src/System.Net.Utilities/tests/FunctionalTests/TestSettings.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace System.Net.Utilities.Tests
{
internal static class TestSettings
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace System.Net.Utilities.Tests
{
internal static class TestSettings
{
... | Raise Ping timeout for tests slightly | Raise Ping timeout for tests slightly
The Linux implementation is timing out more than expected in these tests, because the default timeout value for them is very low, actually the minimum timeout for the ping utility. The ping utility code path is being taken in the CI runs because of the lack of permissions. Interes... | C# | mit | alphonsekurian/corefx,shimingsg/corefx,shmao/corefx,jhendrixMSFT/corefx,JosephTremoulet/corefx,jhendrixMSFT/corefx,tstringer/corefx,vidhya-bv/corefx-sorting,alexperovich/corefx,tijoytom/corefx,ViktorHofer/corefx,parjong/corefx,kkurni/corefx,JosephTremoulet/corefx,cydhaselton/corefx,rubo/corefx,ravimeda/corefx,nchikanov... |
6d070d82aaec62b4b03f6ab530c044a71e09c175 | osu.Framework/Input/UserInputManager.cs | osu.Framework/Input/UserInputManager.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges.Events;
using osu.Framework.Platform;
using osuTK;
namespac... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges.Events;
using osu.Framework.Platform;
using osuTK;
namespac... | Add comment and make constructor protected internal | Add comment and make constructor protected internal
| C# | mit | DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-fr... |
febeff9dcdbf18d3b45e3c406709331f196a888f | src/AsmResolver.PE/Debug/SerializedDebugDataEntry.cs | src/AsmResolver.PE/Debug/SerializedDebugDataEntry.cs | using System;
namespace AsmResolver.PE.Debug
{
/// <summary>
/// Provides an implementation of a debug data entry that was stored in a PE file.
/// </summary>
public class SerializedDebugDataEntry : DebugDataEntry
{
private readonly IDebugDataReader _dataReader;
private readonly Deb... | using System;
namespace AsmResolver.PE.Debug
{
/// <summary>
/// Provides an implementation of a debug data entry that was stored in a PE file.
/// </summary>
public class SerializedDebugDataEntry : DebugDataEntry
{
private readonly IDebugDataReader _dataReader;
private readonly Deb... | Add missing file offset registration. | Add missing file offset registration.
| C# | mit | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver |
44e6c3c10ea93d63c10c8655c6354ba3fcb9fc2b | SqlServerHelpers/Properties/AssemblyInfo.cs | SqlServerHelpers/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("Sq... | 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("Sq... | Use default build & revision numbers | Use default build & revision numbers
| C# | mit | JoshKeegan/SqlServerHelpers |
3f32a264866ed0cb7337a306164b31d6088bee9b | Tomboy/Defines.WIN32.cs | Tomboy/Defines.WIN32.cs | using System;
using System.Reflection;
// TODO: Automate this
[assembly: AssemblyInformationalVersion ("1.1.0")]
namespace Tomboy {
public class Defines {
public const string VERSION = "1.1.0";
public static readonly string DATADIR = System.IO.Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location);
... | using System;
using System.Reflection;
// TODO: Automate this
[assembly: AssemblyInformationalVersion ("1.1.0")]
[assembly: AssemblyProduct("Tomboy")]
[assembly: AssemblyTitle("Tomboy Notes")]
namespace Tomboy {
public class Defines {
public const string VERSION = "1.1.0";
public static readonly string DATADIR ... | Add the product name and the assembly title custom attributes | Add the product name and the assembly title custom attributes
https://bugzilla.gnome.org/show_bug.cgi?id=585297
| C# | lgpl-2.1 | oluc/tomboy,rmayr/privatenotes-tomboyaddin,oluc/tomboy,rotty3000/tomboy,MatteoNardi/Tomboy,oluc/tomboy,oluc/tomboy,MatteoNardi/Tomboy,tomboy-notes/tomboy,rmayr/privatenotes-tomboyaddin,oluc/tomboy,MatteoNardi/Tomboy,grepory/tomboy,grepory/tomboy,grepory/tomboy,rotty3000/tomboy,tomboy-notes/tomboy,rotty3000/tomboy,Matte... |
5661120f575479382d18e6284964dda136df73c8 | SampleSpecs/Bug/grandparents_run_first.cs | SampleSpecs/Bug/grandparents_run_first.cs | using System.Collections.Generic;
using NSpec;
namespace SampleSpecs.Bug
{
class grandparents_run_first : nspec
{
List<int> ints = null;
void describe_NSpec() //describe RSpec do
{
before = () => ints = new List<int>(); ... | using System.Collections.Generic;
using NSpec;
namespace SampleSpecs.Bug
{
class grandparents_run_first : nspec
{
List<int> ints = null;
void describe_NSpec() //describe RSpec do
{
before = () => ints = new List<int>... | Align side-by-side comments in SampleSpecs.Bug test | Align side-by-side comments in SampleSpecs.Bug test
| C# | mit | mattflo/NSpec,nspectator/NSpectator,mattflo/NSpec,nspec/NSpec,BennieCopeland/NSpec,nspectator/NSpectator,nspec/NSpec,mattflo/NSpec,mattflo/NSpec,BennieCopeland/NSpec |
17e04b7f823582586ae3c0b8cdc0d5350594c617 | src/QuickStart/Domain/Mapping/CatMap.cs | src/QuickStart/Domain/Mapping/CatMap.cs | using System.Xml;
using FluentNHibernate;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.QuickStart.Domain.Mapping
{
public class CatMap : ClassMap<Cat>, IMapGenerator
{
public CatMap()
{
//set up our generator as UUID.HEX
Id(x => x.Id)
... | using System.Xml;
using FluentNHibernate;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.QuickStart.Domain.Mapping
{
public class CatMap : ClassMap<Cat>, IMapGenerator
{
public CatMap()
{
//set up our generator as UUID.HEX
Id(x => x.Id)
... | Fix for a compile error in the QuickStart. | Fix for a compile error in the QuickStart.
git-svn-id: a161142445158cf41e00e2afdd70bb78aded5464@286 48f0ce17-cc52-0410-af8c-857c09b6549b
| C# | bsd-3-clause | oceanho/fluent-nhibernate,oceanho/fluent-nhibernate,narnau/fluent-nhibernate,narnau/fluent-nhibernate,hzhgis/ss,lingxyd/fluent-nhibernate,MiguelMadero/fluent-nhibernate,owerkop/fluent-nhibernate,hzhgis/ss,lingxyd/fluent-nhibernate,bogdan7/nhibernate,bogdan7/nhibernate,MiguelMadero/fluent-nhibernate,HermanSchoenfeld/flu... |
b0bfbe93616b8127346409f21f9ff41b77147eb6 | src/core/Bari.Core/cs/Generic/LocalFileSystemDirectoryWatcher.cs | src/core/Bari.Core/cs/Generic/LocalFileSystemDirectoryWatcher.cs | using System.IO;
using System;
namespace Bari.Core.Generic
{
public class LocalFileSystemDirectoryWatcher: IFileSystemDirectoryWatcher
{
private readonly FileSystemWatcher watcher;
private readonly string path;
public event EventHandler<FileSystemChangedEventArgs> Changed;
... | using System.IO;
using System;
namespace Bari.Core.Generic
{
public class LocalFileSystemDirectoryWatcher: IFileSystemDirectoryWatcher
{
private readonly FileSystemWatcher watcher;
private readonly string path;
public event EventHandler<FileSystemChangedEventArgs> Changed;
... | Revert "Fix of previous commit" | Revert "Fix of previous commit"
This reverts commit 0577394e161a7ee52f543ba1a948331f1d080e80.
| C# | apache-2.0 | vigoo/bari,Psychobilly87/bari,vigoo/bari,vigoo/bari,Psychobilly87/bari,Psychobilly87/bari,Psychobilly87/bari,vigoo/bari |
101c5d53f86909b4ac6c61c615abc222758e9bc7 | tests/Okanshi.Tests/CounterTest.cs | tests/Okanshi.Tests/CounterTest.cs | using System.Linq;
using FluentAssertions;
using Xunit;
namespace Okanshi.Test
{
public class CounterTest
{
private readonly Counter counter;
public CounterTest()
{
counter = new Counter(MonitorConfig.Build("Test"));
}
[Fact]
public void Initial_pea... | using System.Linq;
using FluentAssertions;
using Xunit;
namespace Okanshi.Test
{
public class CounterTest
{
private readonly Counter counter;
public CounterTest()
{
counter = new Counter(MonitorConfig.Build("Test"));
}
[Fact]
public void Initial_pea... | Add test for incrementing with negative number | Add test for incrementing with negative number
It is now possible to increment with negative numbers, but no tests for
this existed
Signed-off-by: Kim Christensen <aa8e4f65ee1f7dee724d3c54a33e387cc279d580@gmail.com>
| C# | mit | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi |
f15005221194e08807f51194a94b71874f5a951c | src/Xpdm.PurpleOnion/Program.cs | src/Xpdm.PurpleOnion/Program.cs | using System.IO;
using System.Security.Cryptography;
using Mono.Security;
using Mono.Security.Cryptography;
namespace Xpdm.PurpleOnion
{
class Program
{
private static void Main()
{
long count = 0;
while (true)
{
RSA pki = RSA.Create();
ASN1 asn = RSAExtensions.ToAsn1Key(pki);
byte[] hash = ... | using System;
using System.IO;
using System.Security.Cryptography;
using Mono.Security;
using Mono.Security.Cryptography;
namespace Xpdm.PurpleOnion
{
class Program
{
private static void Main()
{
long count = 0;
while (true)
{
RSA pki = RSA.Create();
ASN1 asn = RSAExtensions.ToAsn1Key(pki);
... | Add a namespace reference for System | Add a namespace reference for System
| C# | bsd-3-clause | printerpam/purpleonion,printerpam/purpleonion,neoeinstein/purpleonion |
076fcec3dff504fbab201aa82094b7f994a50e03 | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
usin... | Revert "Remove ignore attribute from now fixed test scene" | Revert "Remove ignore attribute from now fixed test scene"
This reverts commit 4e12a2734ccf28dae236d6c78385e79d69bf32d7.
| C# | mit | NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu |
0567e160855be007132536bf15dd44ec137ec8be | Opserver/Controllers/DashboardController.cs | Opserver/Controllers/DashboardController.cs | using System.ComponentModel;
using System.Linq;
using System.Web.Mvc;
using StackExchange.Opserver.Data.Dashboard;
using StackExchange.Opserver.Helpers;
using StackExchange.Opserver.Models;
using StackExchange.Opserver.Views.Dashboard;
namespace StackExchange.Opserver.Controllers
{
public partial class DashboardC... | using System.ComponentModel;
using System.Linq;
using System.Web.Mvc;
using StackExchange.Opserver.Data.Dashboard;
using StackExchange.Opserver.Helpers;
using StackExchange.Opserver.Models;
using StackExchange.Opserver.Views.Dashboard;
namespace StackExchange.Opserver.Controllers
{
public partial class DashboardC... | Allow Dashboard.ExcludePatternRegex to be null | Allow Dashboard.ExcludePatternRegex to be null
| C# | mit | agrath/Opserver,agrath/Opserver |
c2be8df58c5a5cf960ba534c108728406bd8f18d | PSql.Core/_Commands/DisconnectSqlCommand.cs | PSql.Core/_Commands/DisconnectSqlCommand.cs | using System.Data.SqlClient;
using System.Management.Automation;
namespace PSql
{
[Cmdlet(VerbsCommunications.Disconnect, "Sql")]
public class DisconnectSqlCommand : Cmdlet
{
// -Connection
[Alias("c", "cn")]
[Parameter(Position = 0, ValueFromPipeline = true, ValueFromRemainingArgu... | using System.Data.SqlClient;
using System.Management.Automation;
namespace PSql
{
[Cmdlet(VerbsCommunications.Disconnect, "Sql")]
public class DisconnectSqlCommand : Cmdlet
{
// -Connection
[Alias("c", "cn")]
[Parameter(Position = 0, ValueFromPipeline = true, ValueFromRemainingArgu... | Fix NRE if null array. | Fix NRE if null array.
| C# | isc | sharpjs/PSql,sharpjs/PSql |
f53f2dbd58a831ca1f17f10c8f49f58c6f1ba51c | src/TwentyTwenty.Mvc/Extensions/ApplicationBuilderExtensions.cs | src/TwentyTwenty.Mvc/Extensions/ApplicationBuilderExtensions.cs | using System;
using Microsoft.AspNetCore.Hosting;
using TwentyTwenty.Mvc;
using TwentyTwenty.Mvc.ErrorHandling;
using TwentyTwenty.Mvc.HealthCheck;
using TwentyTwenty.Mvc.ReadOnlyMode;
namespace Microsoft.AspNetCore.Builder
{
public static class ErrorHandling
{
public static void UseErrorHandling(this ... | using System;
using Microsoft.AspNetCore.Hosting;
using TwentyTwenty.Mvc;
using TwentyTwenty.Mvc.ErrorHandling;
using TwentyTwenty.Mvc.HealthCheck;
using TwentyTwenty.Mvc.ReadOnlyMode;
using TwentyTwenty.Mvc.Version;
namespace Microsoft.AspNetCore.Builder
{
public static class ErrorHandling
{
public st... | Add extension method for using version header middleware. | Add extension method for using version header middleware.
| C# | apache-2.0 | 2020IP/TwentyTwenty.Mvc |
6ff0b44481b3e78d820abe44f07efd36daeda2aa | src/assembly-info/System.Management.Automation.assembly-info.cs | src/assembly-info/System.Management.Automation.assembly-info.cs | using System.Runtime.CompilerServices;
using System.Reflection;
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")]
[assembly:InternalsVisibleTo("Microsoft.PowerSh... | using System.Runtime.CompilerServices;
using System.Reflection;
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")]
[assembly:InternalsVisibleTo("Microsoft.PowerSh... | Change SMA assembly info for DNX xUnit runner | Change SMA assembly info for DNX xUnit runner
| C# | mit | daxian-dbw/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,bingbing8/PowerShell,kmosher/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,kmosher/PowerShell,daxian-dbw/PowerShell,kmosher/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,PaulHigin/PowerShell,bingbing8/PowerShell,PaulHigi... |
55ff66dfb45446d84dc063b17de577b02242b4a8 | src/Stranne.VasttrafikNET/Extensions/DateTimeOffsetExtension.cs | src/Stranne.VasttrafikNET/Extensions/DateTimeOffsetExtension.cs | using System;
namespace Stranne.VasttrafikNET.Extensions
{
internal static class DateTimeOffsetExtension
{
private const string TimeZoneName = "W. Europe Standard Time";
public static TimeSpan GetVasttrafikTimeOffset(this DateTimeOffset dateTimeOffset)
{
return T... | using System;
using System.Runtime.InteropServices;
namespace Stranne.VasttrafikNET.Extensions
{
internal static class DateTimeOffsetExtension
{
public static TimeSpan GetVasttrafikTimeOffset(this DateTimeOffset dateTimeOffset)
{
return TimeZoneInfo.FindSystemTimeZoneById(... | Fix time zone name on non windows platforms | Fix time zone name on non windows platforms
| C# | mit | stranne/Vasttrafik.NET,stranne/Vasttrafik.NET |
2d3cc5fd17adf2ebd36cabec2f8f08d20b3eac6a | Messaging/Plugin.Messaging.Android/PhoneCallTask.cs | Messaging/Plugin.Messaging.Android/PhoneCallTask.cs | using System;
using Android.Content;
using Android.Telephony;
using Uri = Android.Net.Uri;
namespace Plugin.Messaging
{
internal class PhoneCallTask : IPhoneCallTask
{
public PhoneCallTask()
{
}
#region IPhoneCallTask Members
public bool CanMakePhoneCall
{
... | using System;
using Android.Content;
using Android.Telephony;
using Uri = Android.Net.Uri;
namespace Plugin.Messaging
{
internal class PhoneCallTask : IPhoneCallTask
{
public PhoneCallTask()
{
}
#region IPhoneCallTask Members
public bool CanMakePhoneCall
{
... | Check if a phone call is possible on Andriod | Check if a phone call is possible on Andriod
| C# | mit | cjlotz/Xamarin.Plugins,cjlotz/Xamarin.Plugins,BSVN/Xamarin.Plugins,BSVN/Xamarin.Plugins |
7767358b63101d1436534d8fa67db9dbf7ebfe9d | CK.AspNet.Auth/CKAspNetAuthHttpContextExtensions.cs | CK.AspNet.Auth/CKAspNetAuthHttpContextExtensions.cs | using CK.AspNet.Auth;
using CK.Auth;
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// Exposes <see cref="WebFrontAuthenticate"/> extension method on <see cref="HttpContext"/>.
/// </summary>
static public class CKAspNetAuthHttpCo... | using CK.AspNet.Auth;
using CK.Auth;
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// Exposes <see cref="WebFrontAuthenticate"/> extension method on <see cref="HttpContext"/>.
/// </summary>
static public class CKAspNetAuthHttpCo... | Fix bad key in Context.Items. | Fix bad key in Context.Items.
| C# | mit | Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth |
a97a5919612ef7ba3c8dac3863d6c8f5ba0389c1 | BoozeHoundCloud/Models/Core/Account.cs | BoozeHoundCloud/Models/Core/Account.cs | using System.ComponentModel.DataAnnotations;
namespace BoozeHoundCloud.Models.Core
{
public class Account
{
//-------------------------------------------------------------------------
public const int NameMaxLength = 64;
//-------------------------------------------------------------------------
... | using System.ComponentModel.DataAnnotations;
namespace BoozeHoundCloud.Models.Core
{
public class Account
{
//-------------------------------------------------------------------------
public const int NameMaxLength = 64;
//-------------------------------------------------------------------------
... | Fix for entity not loading from db. | Fix for entity not loading from db.
| C# | mit | grae22/BoozeHoundCloud,grae22/BoozeHoundCloud,grae22/BoozeHoundCloud |
b5a48a4538d176a2c7bfc1f49afb1f0899f90b95 | JabbR/Middleware/AuthorizationHandler.cs | JabbR/Middleware/AuthorizationHandler.cs | using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using JabbR.Infrastructure;
using JabbR.Services;
namespace JabbR.Middleware
{
using AppFunc = Func<IDictionary<string, object>, Task>;
public class AuthorizationHandler
{
private readonly ... | using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using JabbR.Infrastructure;
using JabbR.Services;
namespace JabbR.Middleware
{
using AppFunc = Func<IDictionary<string, object>, Task>;
public class AuthorizationHandler
{
private readonly ... | Create a new claims principal everytime if jabbr authenticated. | Create a new claims principal everytime if jabbr authenticated.
| C# | mit | mzdv/JabbR,meebey/JabbR,e10/JabbR,timgranstrom/JabbR,M-Zuber/JabbR,LookLikeAPro/JabbR,lukehoban/JabbR,CrankyTRex/JabbRMirror,ajayanandgit/JabbR,CrankyTRex/JabbRMirror,M-Zuber/JabbR,borisyankov/JabbR,lukehoban/JabbR,timgranstrom/JabbR,meebey/JabbR,fuzeman/vox,mzdv/JabbR,SonOfSam/JabbR,e10/JabbR,JabbR/JabbR,LookLikeAPro/... |
e405f2fa53122110f0ad4aa2a992ffda5f9dd30e | Assets/FishOFury/FistForceApply.cs | Assets/FishOFury/FistForceApply.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FistForceApply : MonoBehaviour {
public static float forceAmount = 10000000f;
public forceField forceField;
public GameObject movingParentObj;
public Vector3 oldPosition;
void Start(){
oldPosition = (movingParentObj.tr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FistForceApply : MonoBehaviour {
public static float forceAmount = 10000000f;
void OnCollisionEnter(Collision col)
{
if (col.gameObject.tag == "Fish") {
Debug.Log ("COLLIDED - "+col.gameObject.name);
col.rigidbody.... | Remove forcefield from fist movement | Remove forcefield from fist movement
PT
| C# | mit | Abyssiren/Abyssiren |
3c513373bebaa32fb64018e95f168975bdd84e75 | Roguelike/Roguelike/Render/Renderer.cs | Roguelike/Roguelike/Render/Renderer.cs | using BearLib;
using Roguelike.Entities;
using Roguelike.World;
using System.Collections.Generic;
namespace Roguelike.Render
{
public abstract class Renderer : IRenderer
{
public const int MapLayer = 0;
public const int EntityLayer = 5;
public abstract void RenderEntities(IEnumerable<... | using BearLib;
using Roguelike.Entities;
using Roguelike.World;
using System.Collections.Generic;
namespace Roguelike.Render
{
public abstract class Renderer : IRenderer
{
public const int MapLayer = 0;
public const int EntityLayer = 10;
public abstract void RenderEntities(IEnumerable... | Adjust default entity rendering layer. | Adjust default entity rendering layer.
| C# | mit | pjk21/roguelikedev-does-the-complete-roguelike-tutorial |
272343c3ad83f0cd55d30a63ebf4e2134f8b6677 | src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserServiceExtensions.cs | src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserServiceExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Extension methods for adding directory browser services.
... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Extension methods for adding directory browser services.
... | Return IServiceCollection from AddDirectoryBrowser extension methods | Return IServiceCollection from AddDirectoryBrowser extension methods
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
e574c4dcbd2bfcc5a49dd8033318125b45b46e30 | Source/SharpDX/DisposeBase.cs | Source/SharpDX/DisposeBase.cs | using System;
namespace SharpDX
{
/// <summary>
/// Base class for a <see cref="IDisposable"/> class.
/// </summary>
public abstract class DisposeBase : IDisposable
{
/// <summary>
/// Releases unmanaged resources and performs other cleanup operations before the
/// <see cre... | using System;
namespace SharpDX
{
/// <summary>
/// Base class for a <see cref="IDisposable"/> class.
/// </summary>
public abstract class DisposeBase : IDisposable
{
protected bool IsDisposed;
/// <summary>
/// Releases unmanaged resources and performs other cleanup operat... | Add IsDisposed safeguard to Dispose method | [Core] Add IsDisposed safeguard to Dispose method
| C# | mit | VirusFree/SharpDX,TigerKO/SharpDX,manu-silicon/SharpDX,dazerdude/SharpDX,shoelzer/SharpDX,jwollen/SharpDX,TechPriest/SharpDX,VirusFree/SharpDX,shoelzer/SharpDX,sharpdx/SharpDX,PavelBrokhman/SharpDX,fmarrabal/SharpDX,dazerdude/SharpDX,manu-silicon/SharpDX,wyrover/SharpDX,Ixonos-USA/SharpDX,VirusFree/SharpDX,shoelzer/Sha... |
1f49e9721072c0cd6e250ae28a31d3f6da30ee44 | src/LondonTravel.Site/Views/_ViewImports.cshtml | src/LondonTravel.Site/Views/_ViewImports.cshtml | @using System.Globalization
@using Microsoft.Extensions.Configuration
@using MartinCostello.LondonTravel.Site
@using MartinCostello.LondonTravel.Site.Extensions
@using MartinCostello.LondonTravel.Site.Models
@using MartinCostello.LondonTravel.Site.Options
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@addTagH... | @using System.Globalization
@using Microsoft.Extensions.Configuration
@using MartinCostello.LondonTravel.Site
@using MartinCostello.LondonTravel.Site.Extensions
@using MartinCostello.LondonTravel.Site.Identity
@using MartinCostello.LondonTravel.Site.Models
@using MartinCostello.LondonTravel.Site.Options
@addTagHelper ... | Add Identity namespace to view imports | Add Identity namespace to view imports
Add the Identity namespace to the view imports.
| C# | apache-2.0 | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site |
5bdc1a64f3a4489ffc73232035bc1a2035f6bc13 | MuffinFramework.Tests/MuffinClientTests.cs | MuffinFramework.Tests/MuffinClientTests.cs | using System;
using System.ComponentModel.Composition.Hosting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MuffinFramework.Tests
{
[TestClass]
public class MuffinClientTests
{
[TestMethod]
public void DoubleStartTest()
{
// arrange
InvalidO... | using System;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MuffinFramework.Tests
{
[TestClass]
public class MuffinClientTests
{
[TestMethod]
public void ... | Add tests for constructors of MuffinClient | Add tests for constructors of MuffinClient
| C# | mit | Yonom/MuffinFramework |
e8adfffe2fdd2608cf098c15135bb2411d13114e | NFleetSDK/Data/VehicleDataSet.cs | NFleetSDK/Data/VehicleDataSet.cs | using System.Collections.Generic;
namespace NFleet.Data
{
public class VehicleDataSet : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.vehicleset";
public static string MIMEVersion = "2.0";
int IVersioned.VersionNumber { get; set; }
pub... | using System.Collections.Generic;
namespace NFleet.Data
{
public class VehicleDataSet : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.vehicleset";
public static string MIMEVersion = "2.2";
int IVersioned.VersionNumber { get; set; }
pub... | Update vehicle data set mime type version to 2.2 | Update vehicle data set mime type version to 2.2
| C# | mit | nfleet/.net-sdk |
d96288273b828cc7dc4a28b423ee7439c441c4cf | src/Modules/Owin/Saturn72.Module.Owin/OwinModule.cs | src/Modules/Owin/Saturn72.Module.Owin/OwinModule.cs | #region
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin.Hosting;
using Owin;
using Saturn72.Core;
using Saturn72.Core.Configuration;
using Saturn72.Core.Extensibility;
using Saturn72.Extensions;
#endregion
namespace Saturn72.Module.Owin
{
public... | #region
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin.Hosting;
using Owin;
using Saturn72.Core;
using Saturn72.Core.Configuration;
using Saturn72.Core.Extensibility;
using Saturn72.Extensions;
#endregion
namespace Saturn72.Module.Owin
{
public... | Add cinsole coloring for server URL | Add cinsole coloring for server URL
| C# | mit | saturn72/saturn72 |
1d3dbd0e7aa3883bff9449fc753fe72786705815 | tests/Nether.Web.IntegrationTests/SwaggerTests.cs | tests/Nether.Web.IntegrationTests/SwaggerTests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Nethe... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Nethe... | Use configured base url for swagger test | Use configured base url for swagger test
| C# | mit | oliviak/nether,vflorusso/nether,brentstineman/nether,vflorusso/nether,stuartleeks/nether,ankodu/nether,stuartleeks/nether,vflorusso/nether,brentstineman/nether,ankodu/nether,vflorusso/nether,brentstineman/nether,navalev/nether,stuartleeks/nether,MicrosoftDX/nether,brentstineman/nether,navalev/nether,brentstineman/nethe... |
ef7ab12b40c92c87c5cf2db5a57585efeec7466f | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tes... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tests.V... | Fix `MultiplayerMatchFooter` test crash due to missing `PopoverContainer` | Fix `MultiplayerMatchFooter` test crash due to missing `PopoverContainer`
Clicking the countdown button would crash. I did consider removing the
test altogether but maybe it'll be useful in the future?
| C# | mit | NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu |
f62e3da1f950cee0fb356257783d3b672c684754 | src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs | src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Documents;
using System.Windows.Media.Media3D;
using Common.Logging;
using NCmdLiner.SolutionCreator.Library.Common;
namespace NCmdLiner.SolutionCreator.Library.Services
{
public class FolderResolver : IFolderResolver
{... | using System.IO;
using System.Linq;
using Common.Logging;
namespace NCmdLiner.SolutionCreator.Library.Services
{
public class FolderResolver : IFolderResolver
{
private readonly ITextResolver _textResolver;
private readonly IFileResolver _fileResolver;
private readonly ILog _logger;
... | Exclude git specific files from beeing resolved. | Exclude git specific files from beeing resolved.
| C# | bsd-3-clause | trondr/NCmdLiner.SolutionCreator,trondr/NCmdLiner.SolutionCreator |
af185ff4392ef2d2ecf76e87dce6a8542d58f769 | src/DeploymentCockpit.Data/UnitOfWorkFactory.cs | src/DeploymentCockpit.Data/UnitOfWorkFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Interfaces;
namespace DeploymentCockpit.Data
{
public class UnitOfWorkFactory : IUnitOfWorkFactory
{
public IUnitOfWork Create()
{
return new ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Interfaces;
namespace DeploymentCockpit.Data
{
public class UnitOfWorkFactory : IUnitOfWorkFactory
{
public IUnitOfWork Create()
{
var ctx = n... | Disable Entity Framework Lazy Loading | Disable Entity Framework Lazy Loading
| C# | apache-2.0 | anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit |
95a5b96640f7c9a9187603c8d466fc3c18d73711 | Assembly-CSharp/Memoria/Configuration/Structure/GraphicsSection.cs | Assembly-CSharp/Memoria/Configuration/Structure/GraphicsSection.cs | using System;
using Memoria.Prime.Ini;
namespace Memoria
{
public sealed partial class Configuration
{
private sealed class GraphicsSection : IniSection
{
public readonly IniValue<Int32> BattleFPS;
public readonly IniValue<Int32> MovieFPS;
public readonly Ini... | using System;
using Memoria.Prime.Ini;
namespace Memoria
{
public sealed partial class Configuration
{
private sealed class GraphicsSection : IniSection
{
public readonly IniValue<Int32> BattleFPS;
public readonly IniValue<Int32> MovieFPS;
public readonly Ini... | Set default tile size to 32. Change it via config. | Set default tile size to 32. Change it via config.
Default tile size is 32. If you need to change it do that via Memoria.ini | C# | mit | Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria |
f00afb838fce999a8e77ddc3efa0b6e06f946604 | Digirati.IIIF/Model/Types/ImageApi/ImageService.cs | Digirati.IIIF/Model/Types/ImageApi/ImageService.cs | using Digirati.IIIF.Model.JsonLD;
using Digirati.IIIF.Serialisation;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model.Types.ImageApi
{
// Also known as an "info.json"
public class ImageService : JSONLDBase, IImageService, IHasService
{
// Allow additional context
//public override dyna... | using Digirati.IIIF.Model.JsonLD;
using Digirati.IIIF.Serialisation;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model.Types.ImageApi
{
// Also known as an "info.json"
public class ImageService : JSONLDBase, IImageService, IHasService
{
// Allow additional context
//public override dyna... | Revert "Height and width should be optional according to the spec." | Revert "Height and width should be optional according to the spec."
This reverts commit e19253c1157f95920ec6f7ff2ad49bc4aca1bac1.
| C# | mit | Riksarkivet/iiif-model |
7c84af027512af980a41efdfc2b2ae87eafbc767 | HotChocolateyLib/Administrative/AdministrativeCommanderProvider.cs | HotChocolateyLib/Administrative/AdministrativeCommanderProvider.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading;
namespace HotChocolatey.Administrative
{
public class AdministrativeCommanderProvider
{
private Process administrativeProcess;
public AdministrativeCommander Create(Action<string> outputL... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading;
namespace HotChocolatey.Administrative
{
public class AdministrativeCommanderProvider
{
private Process administrativeProcess;
public AdministrativeCommander Create(Action<string> outputL... | Fix crash when starting administrative by typo in filename | Fix crash when starting administrative by typo in filename
| C# | mit | denxorz/HotChocolatey |
ab175ffbab37822d7cc2c875048d5ef7e1aa7012 | Code/Lantea/Lantea.Common/Properties/AssemblyInfo.cs | Code/Lantea/Lantea.Common/Properties/AssemblyInfo.cs | // -----------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Zack Loveless">
// Copyright (c) Zack Loveless. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------
using System.Refl... | // -----------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Zack Loveless">
// Copyright (c) Zack Loveless. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------
using System.Refl... | Add AssemblyFileVersion attribute to assembly | Add AssemblyFileVersion attribute to assembly
| C# | mit | Genesis2001/Lantea |
153d2e3a90e35ea643dd44605d4352b33ab4cb74 | SolidworksAddinFramework/ModelViewManagerExtensions.cs | SolidworksAddinFramework/ModelViewManagerExtensions.cs | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
private static readonly ISubject<SectionViewData> _CreateSectionViewObser... | Add observable that fires when a section view is about to be created | Add observable that fires when a section view is about to be created
| C# | mit | Weingartner/SolidworksAddinFramework |
6aa544d151b0087e804e4b0e938e8d7166369847 | OdeToFood/OdeToFood/Controllers/CuisineController.cs | OdeToFood/OdeToFood/Controllers/CuisineController.cs |
using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Without HTTP verbs, invoking search is ambiguous. (Note that the
// MVC framework finds the request ambiguous even though R#
// reports that t... |
using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Using HTTP verbs allows the framework to resolve the ambiguity.
[HttpPost]
public ActionResult Search(string name = "french")
{
... | Resolve ambiguity by using HTTP verbs. | Resolve ambiguity by using HTTP verbs.
| C# | isc | mrwizard82d1/building_mvc4,mrwizard82d1/building_mvc4 |
67ef1c40e64ca935a5f4b9ee666b72cb15da9182 | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : APIRequest<APIBeatm... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
#nullable enable
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : A... | Allow API beatmap requests using interface type | Allow API beatmap requests using interface type
| C# | mit | smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu |
b417797d6a999ee34a671d716772379002764ab6 | ValveResourceFormat/Resource/Enums/BlockType.cs | ValveResourceFormat/Resource/Enums/BlockType.cs | using System;
namespace ValveResourceFormat
{
public enum BlockType
{
#pragma warning disable 1591
RERL = 1,
REDI,
NTRO,
DATA,
VBIB,
VXVS,
SNAP,
#pragma warning restore 1591
}
}
| using System;
namespace ValveResourceFormat
{
public enum BlockType
{
#pragma warning disable 1591
RERL = 1,
REDI,
NTRO,
DATA,
VBIB,
VXVS,
SNAP,
CTRL,
MDAT,
MBUF,
ANIM,
ASEQ,
AGRP,
PHYS,
#pragma warn... | Add new block types to the enum | Add new block types to the enum
| C# | mit | SteamDatabase/ValveResourceFormat |
c0c52e5338a28c0e6466886d9b0327d089de4ac2 | DesktopWidgets/Widgets/LatencyMonitor/Metadata.cs | DesktopWidgets/Widgets/LatencyMonitor/Metadata.cs | namespace DesktopWidgets.Widgets.LatencyMonitor
{
public static class Metadata
{
public const string FriendlyName = "Latency Monitor";
}
} | namespace DesktopWidgets.Widgets.LatencyMonitor
{
public static class Metadata
{
public const string FriendlyName = "Network Monitor";
}
} | Rename "Latency Monitor" widget to "Network Monitor" | Rename "Latency Monitor" widget to "Network Monitor"
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
3b60ebda5483357f1d01f73fbfa24c623931182f | Trunk/GameEngine/Effects/ShortTermEffect.cs | Trunk/GameEngine/Effects/ShortTermEffect.cs | using System;
using System.Xml;
using Magecrawl.GameEngine.Effects.EffectResults;
namespace Magecrawl.GameEngine.Effects
{
internal class ShortTermEffect : StatusEffect
{
public ShortTermEffect()
{
CTLeft = 0;
m_effectResult = null;
}
publi... | using System;
using System.Xml;
using Magecrawl.GameEngine.Effects.EffectResults;
namespace Magecrawl.GameEngine.Effects
{
internal class ShortTermEffect : StatusEffect
{
public ShortTermEffect()
{
CTLeft = 0;
m_effectResult = null;
}
publi... | Fix poison and short term effects that weren't working due to missing call to effectResult on DecreaseCT. | Fix poison and short term effects that weren't working due to missing call to effectResult on DecreaseCT.
| C# | bsd-2-clause | jeongroseok/magecrawl,AndrewBaker/magecrawl |
a12b44a65bdf9cdcffd6789f312b3c0bd0c515ff | src/CompetitionPlatform/Models/IdentityModels.cs | src/CompetitionPlatform/Models/IdentityModels.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Models
{
public class AuthenticateModel
{
public string FullName { get; set; }
public string Password { get; set; }
}
public class CompetitionPlatformUser
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Models
{
public class AuthenticateModel
{
public string FullName { get; set; }
public string Password { get; set; }
}
public class CompetitionPlatformUser
... | Add Documents property to the user model. | Add Documents property to the user model.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
dc92a4fbe095fdbbf1832c009af93542e345b7a5 | src/VimeoDotNet.Tests/Settings/SettingsLoader.cs | src/VimeoDotNet.Tests/Settings/SettingsLoader.cs | using System;
using System.IO;
using Newtonsoft.Json;
namespace VimeoDotNet.Tests.Settings
{
internal class SettingsLoader
{
private const string SETTINGS_FILE = "vimeoSettings.json";
public static VimeoApiTestSettings LoadSettings()
{
if (!File.Exists(SETTINGS_FILE))
... | using System;
using System.IO;
using Newtonsoft.Json;
namespace VimeoDotNet.Tests.Settings
{
internal class SettingsLoader
{
private const string SETTINGS_FILE = "vimeoSettings.json";
public static VimeoApiTestSettings LoadSettings()
{
if (!File.Exists(SETTINGS_FILE))
... | Add test settings loading from enviroment for appVeyor. | Add test settings loading from enviroment for appVeyor.
| C# | mit | needham-develop/vimeo-dot-net,mohibsheth/vimeo-dot-net,mfilippov/vimeo-dot-net |
192707be663aa997574a30a7a8b416a523dd7bbf | src/Txt.ABNF/Core/OCTET/Octet.cs | src/Txt.ABNF/Core/OCTET/Octet.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Octet.cs" company="Steven Liekens">
// The MIT License (MIT)
// </copyright>
// <summary>
//
// </summary>
// ----------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Octet.cs" company="Steven Liekens">
// The MIT License (MIT)
// </copyright>
// <summary>
//
// </summary>
// ----------------------------------------------------------------... | Use Substitution character instead of question mark | Use Substitution character instead of question mark
| C# | mit | StevenLiekens/Txt,StevenLiekens/TextFx |
901f524773c85155a9a41df833a37fe8284cbc92 | LiveSplit/LiveSplit.Core/Model/Comparisons/LastCompletedRunComparisonGenerator.cs | LiveSplit/LiveSplit.Core/Model/Comparisons/LastCompletedRunComparisonGenerator.cs | using LiveSplit.Options;
using System;
using System.Linq;
namespace LiveSplit.Model.Comparisons
{
public class LastCompletedRunComparisonGenerator : IComparisonGenerator
{
public IRun Run { get; set; }
public const string ComparisonName = "Last Completed Run";
public const string Short... | using LiveSplit.Options;
using System;
using System.Linq;
namespace LiveSplit.Model.Comparisons
{
public class LastCompletedRunComparisonGenerator : IComparisonGenerator
{
public IRun Run { get; set; }
public const string ComparisonName = "Last Completed Run";
public const string Short... | Simplify finding the last completed attempt | Simplify finding the last completed attempt
| C# | mit | Glurmo/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,Glurmo/LiveSplit,LiveSplit/LiveSplit,ROMaster2/LiveSplit,kugelrund/LiveSplit,Glurmo/LiveSplit,ROMaster2/LiveSplit |
b01c4e3c5b25a719899d3bea37bfa26338f3d184 | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | Update file ver to 3.0.2.0 | Update file ver to 3.0.2.0
| C# | mit | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps |
c4b6a16122fce6b442047f9a51cbbb2ab8d00d7f | src/Orchard.Web/Modules/Orchard.DevTools/Controllers/HomeController.cs | src/Orchard.Web/Modules/Orchard.DevTools/Controllers/HomeController.cs | using System.Web.Mvc;
using Orchard.DevTools.Models;
using Orchard.Localization;
using Orchard.Mvc.ViewModels;
using Orchard.Themes;
using Orchard.UI.Notify;
namespace Orchard.DevTools.Controllers {
[Themed]
public class HomeController : Controller {
private readonly INotifier _notifier;
... | using System.Web.Mvc;
using Orchard.DevTools.Models;
using Orchard.Localization;
using Orchard.Mvc.ViewModels;
using Orchard.Themes;
using Orchard.UI.Notify;
using Orchard.UI.Admin;
namespace Orchard.DevTools.Controllers {
[Themed]
[Admin]
public class HomeController : Controller {
priv... | Make the devtools controller Admin | Make the devtools controller Admin
--HG--
branch : dev
| C# | bsd-3-clause | neTp9c/Orchard,omidnasri/Orchard,Praggie/Orchard,caoxk/orchard,stormleoxia/Orchard,vairam-svs/Orchard,bigfont/orchard-continuous-integration-demo,li0803/Orchard,stormleoxia/Orchard,yonglehou/Orchard,dburriss/Orchard,kgacova/Orchard,tobydodds/folklife,aaronamm/Orchard,dburriss/Orchard,sebastienros/msc,caoxk/orchard,dmit... |
757b8edf1ef49885df63588b248a74b477bdb892 | CefSharp.MinimalExample.Wpf/App.xaml.cs | CefSharp.MinimalExample.Wpf/App.xaml.cs | using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
Cef.Initialize(new CefSettings(), shutdownOnProcessExit: tru... | using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
var settings = new CefSettings();
settings.Enabl... | Enable internal PDF viewer in WPF project | Enable internal PDF viewer in WPF project
| C# | mit | cefsharp/CefSharp.MinimalExample |
2ec5f9a260f9952a0d7fd3bb99c84c79aba2d857 | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionTest.cs | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionTest.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Data.SqlClient.Tests
{
public class SqlConnectionBasicTests
{
[Fac... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Data.SqlClient.Tests
{
public class SqlConnectionBasicTests
{
[Fac... | Disable SQL test for nano | Disable SQL test for nano
| C# | mit | parjong/corefx,fgreinacher/corefx,Jiayili1/corefx,krk/corefx,axelheer/corefx,gkhanna79/corefx,dhoehna/corefx,cydhaselton/corefx,MaggieTsang/corefx,tijoytom/corefx,tijoytom/corefx,shimingsg/corefx,seanshpark/corefx,parjong/corefx,ptoonen/corefx,mazong1123/corefx,jlin177/corefx,stone-li/corefx,elijah6/corefx,Ermiar/coref... |
adf6dd07c2642cb5d6edc94c3f3636da5108c62c | RxSample/MouseRx2Wpf/EventsExtension.cs | RxSample/MouseRx2Wpf/EventsExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace MouseRx2Wpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
public IObservable<IObser... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace MouseRx2Wpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
public IObservable<IObse... | Add property to report deltas | Add property to report deltas
| C# | mit | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 |
f4c82b8841cffa5233293c0160a845eb930d25ca | DotNetRu.Clients.UI/BasePages/BasePage.cs | DotNetRu.Clients.UI/BasePages/BasePage.cs | namespace DotNetRu.Clients.UI.Pages
{
using System;
using DotNetRu.Clients.Portable.Interfaces;
using DotNetRu.Clients.Portable.Model;
using Xamarin.Forms;
public abstract class BasePage : ContentPage, IProvidePageInfo
{
private DateTime appeared;
public abstract AppPage Pag... | using System.Diagnostics;
namespace DotNetRu.Clients.UI.Pages
{
using System;
using DotNetRu.Clients.Portable.Interfaces;
using DotNetRu.Clients.Portable.Model;
using Xamarin.Forms;
public abstract class BasePage : ContentPage, IProvidePageInfo
{
private Stopwatch appeared;
... | Add fix: use StopWatch instead of DateTime | Add fix: use StopWatch instead of DateTime
| C# | mit | DotNetRu/App,DotNetRu/App |
bf7f72620dc66c48313817d52f957e054be55996 | Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs | Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Storage;
using Audiotica.Core.Extensions;
using Audiotica.Core.Windows.Helpers;
using Audiotica.Database.Services.Interfaces;
using Audiotica.Windows.Services.Interfaces;
using Autofac;
namespace Audiotica.Windows.AppEngine.Bootstrppers
... | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Storage;
using Audiotica.Core.Extensions;
using Audiotica.Core.Windows.Helpers;
using Audiotica.Database.Services.Interfaces;
using Audiotica.Windows.Services.Interfaces;
using Autofac;
namespace Audiotica.Windows.AppEngine.Bootstrppers
... | Refactor artwork clean up code | Refactor artwork clean up code
| C# | apache-2.0 | zumicts/Audiotica |
998ca05a0cf144bb30a8b7f7605369e35cac45e5 | osu.Game.Tests/Visual/Menus/TestSceneDisclaimer.cs | osu.Game.Tests/Visual/Menus/TestSceneDisclaimer.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.Game.Screens.Menu;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Menus
{
public class TestSceneDisclaimer : ScreenT... | // 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.Game.Screens.Menu;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Menus
{
public class TestSceneDisclaimer : ScreenT... | Fix disclaimer test scene supporter toggle | Fix disclaimer test scene supporter toggle
| C# | mit | UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,peppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu |
222f197afcf9c880c442e4239ba31e53b4aa06ed | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper()
{
_routeHandler = new MvcRouteHandler();
}
protected Route GenerateRoute(string path, string controller, string action, string[] h... | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper()
{
_routeHandler = new MvcRouteHandler();
}
protected Route GenerateRoute(string path, string controller, string action, string[] h... | Use route handler defined for instance | Use route handler defined for instance
| C# | mit | stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing |
ef1889dc8e2cd8e550bec743a3b02675866ff682 | src/Cassette.UnitTests/Less/LessCompiler.cs | src/Cassette.UnitTests/Less/LessCompiler.cs | using Should;
using Xunit;
namespace Cassette.Less
{
public class LessCompiler_Compile
{
[Fact]
public void Compile_converts_LESS_into_CSS()
{
var compiler = new LessCompiler(_ => @"@color: #4d926f; #header { color: @color; }");
var css = compiler.Com... | using Should;
using Xunit;
namespace Cassette.Less
{
public class LessCompiler_Compile
{
[Fact]
public void Compile_converts_LESS_into_CSS()
{
var compiler = new LessCompiler(_ => @"@color: #4d926f; #header { color: @color; }");
var css = compiler.Com... | Fix Less compiler unit tests to expect filename in error messages. | Fix Less compiler unit tests to expect filename in error messages.
| C# | mit | andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette |
fdeaaf8e4eb1f19cd53cfabc8c1dc09334009b67 | NBi.Core/Transformation/Transformer/Native/UtcToLocal.cs | NBi.Core/Transformation/Transformer/Native/UtcToLocal.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer.Native
{
class UtcToLocal : INativeTransformation
{
public string TimeZoneLabel { get; }
public UtcToLocal(string timeZoneLabel)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer.Native
{
class UtcToLocal : INativeTransformation
{
public string TimeZoneLabel { get; }
public UtcToLocal(string timeZoneLabel)
... | Improve error message when utc-to-local doesn't receive a dateTime | Improve error message when utc-to-local doesn't receive a dateTime
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
cd0d2af68431c3116cd44e60f9fa43d473cb2256 | EarTrumpet/Services/UserSystemPreferencesService.cs | EarTrumpet/Services/UserSystemPreferencesService.cs | using Microsoft.Win32;
namespace EarTrumpet.Services
{
public static class UserSystemPreferencesService
{
public static bool IsTransparencyEnabled
{
get
{
using (var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64))
... | using Microsoft.Win32;
namespace EarTrumpet.Services
{
public static class UserSystemPreferencesService
{
public static bool IsTransparencyEnabled
{
get
{
using (var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64))
... | Add light theme setting support | Add light theme setting support
| C# | mit | File-New-Project/EarTrumpet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.