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 |
|---|---|---|---|---|---|---|---|---|---|
d8218b088f4a7c00ae42f552266215571686eee7 | Src/WorkoutWotch.UI.Android/AndroidCompositionRoot.cs | Src/WorkoutWotch.UI.Android/AndroidCompositionRoot.cs | namespace WorkoutWotch.UI.Android
{
using Services.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Audio;
using WorkoutWotch.Services.Contracts.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Speech;
using WorkoutWotch.Services.Android.Audio;
using WorkoutWotch.Services.Android.... | namespace WorkoutWotch.UI.Android
{
using Services.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Audio;
using WorkoutWotch.Services.Contracts.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Speech;
using WorkoutWotch.Services.Android.Audio;
using WorkoutWotch.Services.Android.... | Use canned document service by default. | Use canned document service by default.
| C# | mit | kentcb/WorkoutWotch |
e49f618c3f0e829f0f70397e74e816e4099e39b5 | src/AppHarbor/Commands/LoginCommand.cs | src/AppHarbor/Commands/LoginCommand.cs | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private readonly AccessTokenFetcher _accessTokenFetcher;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCommand(AccessTokenFetcher accessTokenFetcher, EnvironmentVariableConfi... | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private const string TokenEnvironmentVariable = "AppHarborToken";
private readonly AccessTokenFetcher _accessTokenFetcher;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCom... | Move TokenEnvironmentVariable to constant string | Move TokenEnvironmentVariable to constant string
| C# | mit | appharbor/appharbor-cli |
cac6410763ddd6dde3cd5a52a539d2563f6f6e79 | editor/Resources/scripttemplate.csx | editor/Resources/scripttemplate.csx | using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Collections.Generic;
namespace StorybrewScripts
{
... | using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Collections.Generic;
using System.Linq;
namespace S... | Add a reference to System.Linq to the script template. | Add a reference to System.Linq to the script template.
| C# | mit | Damnae/storybrew |
9c7b0f240a7faa6b77e70eb1aa8bb5ab8010b4ef | src/Arkivverket.Arkade.Test/Core/TestSuiteTest.cs | src/Arkivverket.Arkade.Test/Core/TestSuiteTest.cs | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class TestSuiteTest
{
[Fact]
public void ShouldReturnOneError()
{
var testSuite = new TestSuite();
var testRun = n... | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class TestSuiteTest
{
private readonly TestResult _testResultWithError = new TestResult(ResultType.Error, new Location(""), "feil");
private readon... | Add more tests to TestSuite | Add more tests to TestSuite
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
71e1eac9ab00b70ee0c86e9c329111a6a7e1de9e | Oxide.Ext.Rust/Libraries/Rust.cs | Oxide.Ext.Rust/Libraries/Rust.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Oxide.Core.Libraries;
using Oxide.Core.Plugins;
namespace Oxide.Rust.Libraries
{
/// <summary>
/// A library containing utility shortcut functions for rust
/// </summary>
public class Rust : Library
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using Oxide.Core.Libraries;
using Oxide.Core.Plugins;
namespace Oxide.Rust.Libraries
{
/// <summary>
/// A library containing utility shortcut functions for rust
/// </summary>
public class Rust : Library
{
/// <summary>
... | Add UserIDFromDeployedItem and UserIDsFromBuildingPrivilege - Courtesy of @strykes aka Reneb | Add UserIDFromDeployedItem and UserIDsFromBuildingPrivilege
- Courtesy of @strykes aka Reneb
| C# | mit | MSylvia/Oxide,bawNg/Oxide,Nogrod/Oxide-2,Visagalis/Oxide,Nogrod/Oxide-2,MSylvia/Oxide,LaserHydra/Oxide,LaserHydra/Oxide,Visagalis/Oxide,bawNg/Oxide,ApocDev/Oxide,ApocDev/Oxide |
7bf177ad8ff871939906cc93a4737183276bc8f6 | Assets/Scripts/UI/CanvasWidthScalePresenter.cs | Assets/Scripts/UI/CanvasWidthScalePresenter.cs | using UniRx;
using UnityEngine;
using UnityEngine.UI;
public class CanvasWidthScalePresenter : MonoBehaviour
{
[SerializeField]
CanvasEvents canvasEvents;
[SerializeField]
Slider canvasWidthScaleController;
NotesEditorModel model;
void Awake()
{
model = NotesEditorModel.Instance;... | using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class CanvasWidthScalePresenter : MonoBehaviour
{
[SerializeField]
CanvasEvents canvasEvents;
[SerializeField]
Slider canvasWidthScaleController;
NotesEditorModel model;
void Awake()
{
model = Note... | Add shortcut of canvas width scaling by up/down arrow key | Add shortcut of canvas width scaling by up/down arrow key
| C# | mit | setchi/NotesEditor,setchi/NoteEditor |
77e07e9b091448ce7540471f27a15d6b3af718de | Assets/Scripts/Block.cs | Assets/Scripts/Block.cs | using UnityEngine;
namespace Tetris
{
public class Block : MonoBehaviour
{
public Color Color
{
get { return _spriteRenderer.color; }
set { _spriteRenderer.color = value; }
}
private SpriteRenderer _spriteRenderer;
private void Awake()
{... | using UnityEngine;
namespace Tetris
{
public class Block : MonoBehaviour
{
public bool IsSolid = true;
public Color Color
{
get { return _spriteRenderer.color; }
set { _spriteRenderer.color = value; }
}
private SpriteRenderer _spriteRend... | Add IsSolid property for block | Add IsSolid property for block
| C# | mit | lupidan/Tetris |
636fb96d013861c0cdc2e272f18b7467877e7cc9 | src/SqlStreamStore/Infrastructure/EnsureThatExtensions.cs | src/SqlStreamStore/Infrastructure/EnsureThatExtensions.cs | namespace SqlStreamStore.Infrastructure
{
using SqlStreamStore.Imports.Ensure.That;
internal static class EnsureThatExtensions
{
internal static Param<string> DoesNotStartWith(this Param<string> param, string s)
{
if (!Ensure.IsActive)
{
return param... | namespace SqlStreamStore.Infrastructure
{
using SqlStreamStore.Imports.Ensure.That;
internal static class EnsureThatExtensions
{
internal static Param<string> DoesNotStartWith(this Param<string> param, string s)
{
if (!Ensure.IsActive)
{
return param... | Add space for readability in the exception messages. | Add space for readability in the exception messages. | C# | mit | SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore |
ca08fce5b7438401f42623da86acae90c0ee09ea | Perspex.Themes.Default/GridSplitterStyle.cs | Perspex.Themes.Default/GridSplitterStyle.cs | // -----------------------------------------------------------------------
// <copyright file="GridSplitterStyle.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.T... | // -----------------------------------------------------------------------
// <copyright file="GridSplitterStyle.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.T... | Work around problem in casting int to double. | Work around problem in casting int to double.
Issue #49.
| C# | mit | SuperJMN/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,OronDF343/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,OronDF343/Avalonia,jkoritzinsky/Avalonia,kekekeks/Perspex,wieslawsoltes/Perspex,bbqchickenrobot/Perspex,Aval... |
b6b050d5e9662155924c3dfa5c41a22a7fbeb1cd | osu.Game/Storyboards/StoryboardSample.cs | osu.Game/Storyboards/StoryboardSample.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.Graphics;
using osu.Game.Audio;
using osu.Game.Storyboards.Drawables;
namespace osu.Game.Storyboards
{
public ... | // 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.Graphics;
using osu.Game.Audio;
using osu.Game.Storyboards.Drawables;
namespace osu.Game.Storyboards
{
public ... | Add sample path to the lookup names | Add sample path to the lookup names
| C# | mit | ZLima12/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,ppy/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smo... |
b2f2c5b0272b1ba9779a8ff32cdd869422579f7b | test/csharp/Program.cs | test/csharp/Program.cs | using System;
using System.IO;
namespace test
{
class Program
{
static void Main(string[] args)
{
var path = args[0];
// var json = File.ReadAllText(path);
// var qt = QuickType.TopLevel.FromJson(json);
}
}
}
| using System;
using System.IO;
namespace test
{
class Program
{
static void Main(string[] args)
{
var path = args[0];
var json = File.ReadAllText(path);
var qt = QuickType.TopLevel.FromJson(json);
}
}
}
| Revert "Only test that the program compiles until we can parse top-level arrays" | Revert "Only test that the program compiles until we can parse top-level arrays"
This reverts commit a05f5e757403570bfbe73e1deddabd34b2c046ae.
Original commit cc15f492ca0e6a6c6f2d41c387001c834ef45ce4
| C# | apache-2.0 | quicktype/quicktype,quicktype/quicktype,quicktype/quicktype,quicktype/quicktype,quicktype/quicktype |
a4877382ca62b09d421836f123955567c73f6988 | LibSlyBroadcast/Properties/AssemblyInfo.cs | LibSlyBroadcast/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("LibSlyBroadcast")]
[assembly: AssemblyProduct("LibSlyBroadcast")]
[assembly: AssemblyCopyright("Copyright © ACAXLabs 2016")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("LibSlyBroadcast")]
[assembly: AssemblyProduct("LibSlyBroadcast")]
[assembly: AssemblyCopyright("Copyright © ACAExpress.com, Inc 2016")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileV... | Change AssemblyCopyright from ACAXLabs to ACAExpress | Change AssemblyCopyright from ACAXLabs to ACAExpress
| C# | mit | acaxlabs/LibSlyBroadcast |
b135bc94325d223bf717de3a7a5e008b32802b9d | LogicalShift.Reason/BasicUnification.cs | LogicalShift.Reason/BasicUnification.cs | using LogicalShift.Reason.Api;
using LogicalShift.Reason.Unification;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LogicalShift.Reason
{
/// <summary>
/// Helper methods for performing unification
/// </summary>
public static class BasicUnification
{
/// <su... | using LogicalShift.Reason.Api;
using LogicalShift.Reason.Unification;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LogicalShift.Reason
{
/// <summary>
/// Helper methods for performing unification
/// </summary>
public static class BasicUnification
{
/// <su... | Return the values of variables in the program as well as variables in the query | Return the values of variables in the program as well as variables in the query
| C# | apache-2.0 | Logicalshift/Reason |
02fd4bf452f13a929bbe81301ae8f0cdd5c801ef | Anlab.Mvc/Views/Shared/_LoginPartial.cshtml | Anlab.Mvc/Views/Shared/_LoginPartial.cshtml | @using Anlab.Core.Domain
@using Microsoft.AspNetCore.Http
@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
@if (User.Identity.IsAuthenticated)
{
var user = await UserManager.GetUserAsync(User);
<form class="flexer" asp-area="" asp-controller="Account" asp-action="Logout" metho... | @using Anlab.Core.Domain
@using Microsoft.AspNetCore.Http
@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
@if (User.Identity.IsAuthenticated)
{
var user = await UserManager.GetUserAsync(User);
<form class="flexer" asp-area="" asp-controller="Account" asp-action="Logout" method... | Make the login button more noticeable | Make the login button more noticeable
| C# | mit | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab |
9404096a28c49a2c9370d6dd2d07a893d86f82df | 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 osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Screens.Ranking.Expanded;
namespace osu.Game.Tests.Visual.... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Screens.Ranking.Expanded;
namespace osu.Game.Tests.Visual.... | Update tests to match new constructor | Update tests to match new constructor
| C# | mit | NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu |
c25c626caeee72bf43823e7eff35ad457dab0435 | Assets/FileChooser.cs | Assets/FileChooser.cs | using UnityEngine;
using System.Collections;
public class FileChooser : MonoBehaviour {
FileBrowser fb = new FileBrowser();
void OnGUI(){
fb.searchPattern = "*.xml";
FileLoaderXML fl = new FileLoaderXML();
if(fb.draw()){
if(fb.outputFile == null){
Debug.Log("Cancel hit");
}else{
Debug.Log("... | using UnityEngine;
using System.Collections;
public class FileChooser : MonoBehaviour {
FileBrowser fb = new FileBrowser();
FileLoaderXML fl = new FileLoaderXML();
// Use this for initialization
void Start () {
fb.searchPattern = "*.xml";
}
void OnGUI(){
if (fb.draw()) {
if (fb.outputFile == null){
... | Make open file also work at runtime | Make open file also work at runtime
the file chooser didn't return the absolute path in runtime (?)
| C# | mit | accu-rate/SumoVizUnity,accu-rate/SumoVizUnity |
04974714bc392db74873a2711a376159bc98d5db | Client/WeaponMount.cs | Client/WeaponMount.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// Represents the maximum weapon size that a mount can hold.
/// </summary>
internal enum MountSize {
Small = 1,
Medium = 2,
Large = 3
... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// Represents the maximum weapon size that a mount can hold.
/// </summary>
internal enum MountSize {
Small = 1,
Medium = 2,
Large = 3
... | Divide weapon arc by half | Divide weapon arc by half
Because WeaponMount.arc is added to either side of the bearing, the
total arc would be 2x arc value. Halving the property in the Lua script
fixes this problem.
| C# | bsd-3-clause | iridinite/shiftdrive |
3f070e20ba49dbca8f6f80f9d1167c7d09f7e0b1 | src/GitVersionCore/VersionFilters/ShaVersionFilter.cs | src/GitVersionCore/VersionFilters/ShaVersionFilter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using GitVersion.VersionCalculation.BaseVersionCalculators;
namespace GitVersion.VersionFilters
{
public class ShaVersionFilter : IVersionFilter
{
private readonly IEnumerable<string> shas;
public ShaVersionFilter(IEnumerable<... | using System;
using System.Collections.Generic;
using System.Linq;
using GitVersion.VersionCalculation.BaseVersionCalculators;
namespace GitVersion.VersionFilters
{
public class ShaVersionFilter : IVersionFilter
{
private readonly IEnumerable<string> shas;
public ShaVersionFilter(IEnumerable<... | Print the sha which was excluded from version calculation | Print the sha which was excluded from version calculation
| C# | mit | dazinator/GitVersion,GitTools/GitVersion,dpurge/GitVersion,JakeGinnivan/GitVersion,asbjornu/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,onovotny/GitVersion,ParticularLabs/GitVersion,JakeGinnivan/GitVersion,gep13/GitVersion,JakeGinnivan/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,onovotny/GitVersion,a... |
d965d8f20494dc1d20e78087f8ea2903bd0b9efc | GTPWrapper/GTPWrapper.cs | GTPWrapper/GTPWrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper {
public class GTPWrapper {
public GTPWrapper() {
}
public string Command(string input) {
return "";
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper {
public class GTPWrapper {
public GTPWrapper() {
}
public string Command(string input) {
return "=";
}
}
}
| Test commit from Visual Studio | Test commit from Visual Studio
| C# | mit | yishn/GTPWrapper |
d80fe92ea6664d63e14e973b4e18e37868ba0567 | IronFoundry.Container/ContainerHostDependencyHelper.cs | IronFoundry.Container/ContainerHostDependencyHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace IronFoundry.Container
{
public class ContainerHostDependencyHelper
{
const string ContainerHostAssemblyName = "IronFoundry.Container.Host";
readonly Assembly containerHostAss... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace IronFoundry.Container
{
public class ContainerHostDependencyHelper
{
const string ContainerHostAssemblyName = "IronFoundry.Container.Host";
readonly Assembly containerHostAss... | Remove unnecessary check for SharpZipLib dll. | Remove unnecessary check for SharpZipLib dll.
| C# | apache-2.0 | cloudfoundry/IronFrame,cloudfoundry-incubator/if_warden,cloudfoundry-incubator/IronFrame,stefanschneider/IronFrame,cloudfoundry-incubator/if_warden,stefanschneider/IronFrame,cloudfoundry/IronFrame,cloudfoundry-incubator/IronFrame |
ba1c9bc8e47919a3d901675a4de37fb8287a932b | src/SuperSocket.Channel/UdpPipeChannel.cs | src/SuperSocket.Channel/UdpPipeChannel.cs | using System;
using System.Buffers;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using SuperSocket.ProtoBase;
namespace SuperSocket.Channel
{
public class UdpPipeChannel<TPackageInfo> : VirtualChannel<TPackageInfo>, IChannelWithSessionIdentifier
{
pr... | using System;
using System.Buffers;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using SuperSocket.ProtoBase;
namespace SuperSocket.Channel
{
public class UdpPipeChannel<TPackageInfo> : VirtualChannel<TPackageInfo>, IChannelWithSessionIdentifier
{
pr... | Set RemoteEndPoint for UDP connections | Set RemoteEndPoint for UDP connections
| C# | apache-2.0 | kerryjiang/SuperSocket,kerryjiang/SuperSocket |
4be4cfc564c7d381ce6bceaa64716bd3e2304111 | WinFormsUI/Docking/DockPanel.Appearance.cs | WinFormsUI/Docking/DockPanel.Appearance.cs | using System;
namespace WeifenLuo.WinFormsUI.Docking
{
using System.ComponentModel;
public partial class DockPanel
{
private DockPanelSkin m_dockPanelSkin = VS2005Theme.CreateVisualStudio2005();
[LocalizedCategory("Category_Docking")]
[LocalizedDescription("DockPanel_DockPanelSkin... | using System;
namespace WeifenLuo.WinFormsUI.Docking
{
using System.ComponentModel;
public partial class DockPanel
{
private DockPanelSkin m_dockPanelSkin = VS2005Theme.CreateVisualStudio2005();
[LocalizedCategory("Category_Docking")]
[LocalizedDescription("DockPanel_DockPanelSkin... | Set Browsable to false to hide DockPanel.Skin property. | Set Browsable to false to hide DockPanel.Skin property.
| C# | mit | RadarNyan/dockpanelsuite,angelapper/dockpanelsuite,compborg/dockpanelsuite,Romout/dockpanelsuite,transistor1/dockpanelsuite,dockpanelsuite/dockpanelsuite,shintadono/dockpanelsuite,joelbyren/dockpanelsuite,xo-energy/dockpanelsuite |
f7d4f3be06f0cb451af656eca806dcfc03c5cf2c | Mazzimo/Controllers/HomeController.cs | Mazzimo/Controllers/HomeController.cs | using Mazzimo.Models;
using Mazzimo.Repositories;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mazzimo.Controllers
{
public class HomeController : Controller
{
IPostRepository _postRepo;
IResumeRepos... | using Mazzimo.Models;
using Mazzimo.Repositories;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mazzimo.Controllers
{
public class HomeController : Controller
{
IPostRepository _postRepo;
IResumeRepos... | Remove Cache From Print Version | Remove Cache From Print Version
| C# | cc0-1.0 | mazzimo/blog,mazzimo/blog |
cc324ee74f42ec89aeec3066f8b7095f9a16c512 | MetroLog.Shared.WinRT/GlobalCrashHandler.cs | MetroLog.Shared.WinRT/GlobalCrashHandler.cs | extern alias pcl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace MetroLog
{
public static class GlobalCrashHandler
{
public static void Configure()
{
Application.Current.Unhandled... | extern alias pcl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace MetroLog
{
public static class GlobalCrashHandler
{
public static void Configure()
{
Application.Current.Unhandled... | Call correct overload of log.FatalAsync | Call correct overload of log.FatalAsync
The method was previously hitting `FatalSync(string message, params object[] args)` and thereby throwing away the exception object as it wasn't referenced in the message. The change ensures that `FatalSync(string message, Exception ex)` is hit and the exception information is lo... | C# | mit | mbrit/MetroLog,thomasgalliker/MetroLog,thomasgalliker/MetroLog,mbrit/MetroLog,onovotny/MetroLog,onovotny/MetroLog,mbrit/MetroLog,onovotny/MetroLog,thomasgalliker/MetroLog |
a9bc5be4cbe75893ba1248e79eaa012e2274f284 | src/ConvNetSharp.Tests/ConvLayerTests.cs | src/ConvNetSharp.Tests/ConvLayerTests.cs | using NUnit.Framework;
namespace ConvNetSharp.Tests
{
[TestFixture]
public class ConvLayerTests
{
[Test]
public void GradientWrtInputCheck()
{
const int inputWidth = 10;
const int inputHeight = 10;
const int inputDepth = 2;
// Create... | using NUnit.Framework;
namespace ConvNetSharp.Tests
{
[TestFixture]
public class ConvLayerTests
{
[Test]
public void GradientWrtInputCheck()
{
const int inputWidth = 30;
const int inputHeight = 30;
const int inputDepth = 2;
// Create... | Make convlayer tests more complete | Make convlayer tests more complete
| C# | mit | hiperz/ConvNetSharp,cbovar/ConvNetSharp |
3a45b388996980a72e2d8ae518dd59d6cbe5e05c | osu.Framework/Threading/SchedulerSynchronizationContext.cs | osu.Framework/Threading/SchedulerSynchronizationContext.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts all continuatiuons to a sch... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts all continuatiuons to a sch... | Fix insane oversight in `SynchronizationContext` implementation | Fix insane oversight in `SynchronizationContext` implementation
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework |
e1cd71b4809e02b6b631204f9259fa0e11d32f6e | R7.HelpDesk/AdminSettings.ascx.designer.cs | R7.HelpDesk/AdminSettings.ascx.designer.cs | using System;
using System.Web.UI.WebControls;
namespace R7.HelpDesk
{
public partial class AdminSettings
{
protected Panel pnlAdminSettings;
protected Panel pnlAdministratorRole;
protected Panel pnlUploFilesPath;
protected Panel pnlTagsAdmin;
protected Panel pnlRoles;
protected Button btnA... | using System;
using System.Web.UI.WebControls;
namespace R7.HelpDesk
{
public partial class AdminSettings
{
protected Panel pnlAdminSettings;
protected Panel pnlAdministratorRole;
protected Panel pnlUploFilesPath;
protected Panel pnlTagsAdmin;
protected Panel pnlRoles;
protected Button btnA... | Fix wrong type for linkbuttons | Fix wrong type for linkbuttons | C# | mit | roman-yagodin/R7.HelpDesk,roman-yagodin/R7.HelpDesk |
f3d75dd862cd6f85604990537dc908cfa1936e8a | src/CodeBreaker.WebApp/Storage/ScoreStore.cs | src/CodeBreaker.WebApp/Storage/ScoreStore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CodeBreaker.Core;
using CodeBreaker.Core.Storage;
using Microsoft.EntityFrameworkCore;
namespace CodeBreaker.WebApp.Storage
{
public class ScoreStore : IScoreStore
{
private readonly CodeBreakerDbCont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CodeBreaker.Core;
using CodeBreaker.Core.Storage;
using Microsoft.EntityFrameworkCore;
namespace CodeBreaker.WebApp.Storage
{
public class ScoreStore : IScoreStore
{
private readonly CodeBreakerDbCont... | Fix bug with slow loading high scores | Fix bug with slow loading high scores
| C# | mit | vlesierse/codebreaker,vlesierse/codebreaker,vlesierse/codebreaker |
251930ce5ff97dbe21db6478086abd44fad2168a | src/HttpMock.Integration.Tests/PortHelper.cs | src/HttpMock.Integration.Tests/PortHelper.cs | using System;
using System.Linq;
using System.Net.NetworkInformation;
namespace HttpMock.Integration.Tests
{
internal static class PortHelper
{
internal static int FindLocalAvailablePortForTesting()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
var activeTcpConne... | using System;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
namespace HttpMock.Integration.Tests
{
internal static class PortHelper
{
internal static int FindLocalAvailablePortForTesting()
{
const int minPort = 1024;
var random = new Random();
var maxPort... | Check for active connections in each iteration | Check for active connections in each iteration
Check for listeners too
| C# | mit | oschwald/HttpMock,mattolenik/HttpMock,hibri/HttpMock,zhdusurfin/HttpMock |
024768d7ebb4c1ecf1bd6397a0a364965f2f9d0a | ZocMon/ZocMon/ZocMonLib/Framework/StorageCommandsSupport.cs | ZocMon/ZocMon/ZocMonLib/Framework/StorageCommandsSupport.cs | using System.Data;
using System.Linq;
namespace ZocMonLib
{
public class StorageCommandsSupport : IStorageCommandsSupport
{
public string SelectCurrentReduceStatus(IDbConnection conn)
{
var result = DatabaseSqlHelper.CreateListWithConnection<bool>(conn, StorageCommandsSqlServerQuery... | using System.Data;
using System.Linq;
namespace ZocMonLib
{
public class StorageCommandsSupport : IStorageCommandsSupport
{
public string SelectCurrentReduceStatus(IDbConnection conn)
{
const string sql = @"SELECT TOP(1) IsReducing FROM Settings";
var result = DatabaseS... | Switch over support commands from using the query class | Switch over support commands from using the query class
| C# | apache-2.0 | modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon |
f0fb4220b5cfc0656466f2ed9f551d0365fd9105 | src/NodaTime/Annotations/MutableAttribute.cs | src/NodaTime/Annotations/MutableAttribute.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Annotations
{
/// <summary>
/// Indicates that a type is immutable. Some members of this type
/// a... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Annotations
{
/// <summary>
/// Indicates that a type is mutable. Some members of this type
/// allow state ... | Fix documentation confusion in a similar way to r3a00fecf9d42. | Fix documentation confusion in a similar way to r3a00fecf9d42.
| C# | apache-2.0 | zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,nodatime/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,malcolmr/nodatime,jskeet/nodatime |
74f778fc02d0fae4abcf45fde7fae9ab22ef0c37 | src/Services/Defaults/PlatformService.cs | src/Services/Defaults/PlatformService.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Wangkanai.Detection.Extensions;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Services
{
public class PlatformService : IPlatformService
{
... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Wangkanai.Detection.Extensions;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Services
{
public class PlatformService : IPlatformService
{
... | Add all operating system in the platform resolver | Add all operating system in the platform resolver
| C# | apache-2.0 | wangkanai/Detection |
24fe669b40716f00b5d527e17f4aa3d0cf652db9 | testpackages/CopyTest1/dev/CopyTest1.cs | testpackages/CopyTest1/dev/CopyTest1.cs | // Automatically generated by Opus v0.50
namespace CopyTest1
{
class CopySingleFileTest : FileUtilities.CopyFile
{
public CopySingleFileTest()
{
this.SetRelativePath(this, "data", "testfile.txt");
this.UpdateOptions += delegate(Opus.Core.IModule module, Opus.Core.... | // Automatically generated by Opus v0.50
namespace CopyTest1
{
class CopySingleFileTest : FileUtilities.CopyFile
{
public CopySingleFileTest()
{
this.SetRelativePath(this, "data", "testfile.txt");
this.UpdateOptions += delegate(Opus.Core.IModule module, Opus.Core.... | Simplify fetching the temporary path | [050copyfiles] Simplify fetching the temporary path
| C# | bsd-3-clause | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation |
8b3156b2b2915b3fb3cc0d1d4624ab267d0ff6af | Eve-O-Preview/Properties/AssemblyInfo.cs | Eve-O-Preview/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | Set app version to 3.0.0 | Set app version to 3.0.0
| C# | mit | Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview |
b9e652d39f6e14d998e119828fe931153c7cabf9 | Diskordia.Columbus.Bots/BotsExtensions.cs | Diskordia.Columbus.Bots/BotsExtensions.cs | using System;
using Diskordia.Columbus.Bots.FareDeals;
using Diskordia.Columbus.Bots.FareDeals.SingaporeAirlines;
using Diskordia.Columbus.Common;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Diskordia.Columbus.Bots
{
public static class BotsExtensions
{
publ... | using System;
using Diskordia.Columbus.Bots.FareDeals;
using Diskordia.Columbus.Bots.FareDeals.SingaporeAirlines;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Diskordia.Columbus.Bots
{
public static class BotsExtensions
{
public static IServiceCollection AddF... | Fix the not registered fare deal options. | fix(SingaporeAirlinesBot): Fix the not registered fare deal options.
| C# | mit | lehmamic/columbus,lehmamic/columbus |
71f76986ffd89c07a9c6ec81671b3f5c401cda6f | FibCSharp/Program.cs | FibCSharp/Program.cs | using System;
using System.Linq;
namespace FibCSharp
{
class Program
{
static void Main(string[] args)
{
var max = 50;
Enumerable.Range(0, int.MaxValue)
.Select(Fib)
.TakeWhile(x => x <= max)
.ToList()
.For... | using System;
using System.Linq;
namespace FibCSharp
{
class Program
{
static void Main(string[] args)
{
var max = 50;
Enumerable.Range(0, int.MaxValue)
.Select(Fib)
.TakeWhile(x => x <= max)
.ToList()
.For... | Throw Exception if arg < 0 using Throw Expression | Throw Exception if arg < 0 using Throw Expression
| C# | unlicense | treymack/fibonacci |
7d5e791c27f1bc4b00afa6778f046a9e7e7cf1d8 | T4TS.Tests/Output/ModuleOutputAppenderTests.cs | T4TS.Tests/Output/ModuleOutputAppenderTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T4TS.Tests
{
[TestClass]
public class ModuleOutputAppenderTests
{
[TestMethod]
public void ModuleOutputAppenderR... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T4TS.Tests
{
[TestClass]
public class ModuleOutputAppenderTests
{
[TestMethod]
public void TypescriptVersion083Y... | Split ModuleOutput tests to separate asserts | Split ModuleOutput tests to separate asserts
| C# | apache-2.0 | cskeppstedt/t4ts,AkosLukacs/t4ts,cskeppstedt/t4ts,AkosLukacs/t4ts,dolly22/t4ts,dolly22/t4ts,bazubii/t4ts,bazubii/t4ts |
8d43421ff3cd30d6ffca3aa01aa8863294f29d3c | source/Assets/Scripts/Loader.cs | source/Assets/Scripts/Loader.cs | using UnityEngine;
using System.Reflection;
[assembly: AssemblyVersion("0.5.0.*")]
public class Loader : MonoBehaviour
{
/// <summary>
/// DebugUI prefab to instantiate.
/// </summary>
[SerializeField]
private GameObject _debugUI;
/// <summary>
/// ModalDialog prefab to insta... | using UnityEngine;
using System.Reflection;
[assembly: AssemblyVersion("0.5.1.*")]
public class Loader : MonoBehaviour
{
/// <summary>
/// DebugUI prefab to instantiate.
/// </summary>
[SerializeField]
private GameObject _debugUI;
/// <summary>
/// ModalDialog prefab to insta... | Change version up to 0.5.1 | Change version up to 0.5.1
| C# | unknown | matiasbeckerle/breakout,matiasbeckerle/perspektiva,matiasbeckerle/arkanoid |
8d8befc95779e0d4fae946151b73fb6a1a36fc12 | osu.Framework.iOS/GameViewController.cs | osu.Framework.iOS/GameViewController.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 CoreGraphics;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
{
public override bool PrefersStatus... | // 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 CoreGraphics;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
{
public override bool PrefersStatus... | Handle iOS memory alerts and free any memory we can | Handle iOS memory alerts and free any memory we can
| C# | mit | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework |
f4a8d0032b5663474acc5784762672a43a9f1dec | source/Nuke.Common/Execution/HandleHelpRequestsAttribute.cs | source/Nuke.Common/Execution/HandleHelpRequestsAttribute.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nuke.Common.Execution
{
internal class HandleHelpRequestsAttribute : BuildExtensionAttributeBase, IOnB... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nuke.Common.Execution
{
internal class HandleHelpRequestsAttribute : BuildExtensionAttributeBase, IOnB... | Fix help text to use Debug output | Fix help text to use Debug output
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
90d69c121625ddc69e88b5a232e7c4f6afa51076 | osu.Game/Scoring/LegacyDatabasedScore.cs | osu.Game/Scoring/LegacyDatabasedScore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.IO.Stores;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Scoring.Legacy;
namespace osu.Game.Scori... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.IO.Stores;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Scoring.Legacy;
namespace osu.Game.Scori... | Allow legacy score to be constructed even if replay file is missing | Allow legacy score to be constructed even if replay file is missing
| C# | mit | peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu |
be8eb25136821ced46de5796c1a961266e3b3979 | src/Okanshi.Dashboard/DashboardModule.cs | src/Okanshi.Dashboard/DashboardModule.cs | using Nancy;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public class DashboardModule : NancyModule
{
private readonly IGetHealthChecks _getHealthChecks;
public DashboardModule(IConfiguration configuration, IGetMetrics getMetrics, IGetHealthChecks getHealthChecks)
{
_getHealthChecks = ge... | using Nancy;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public class DashboardModule : NancyModule
{
private readonly IGetHealthChecks _getHealthChecks;
public DashboardModule(IConfiguration configuration, IGetMetrics getMetrics, IGetHealthChecks getHealthChecks)
{
_getHealthChecks = ge... | Add endpoint to get all instances | Add endpoint to get all instances
| C# | mit | mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard |
12f792d1c0740ccd5e0334dc1d9740b776f83fb2 | src/Polly.Net35/Utilities/SystemClock.cs | src/Polly.Net35/Utilities/SystemClock.cs | using System;
using System.Threading;
#if PORTABLE
using System.Threading.Tasks;
#endif
namespace Polly.Utilities
{
/// <summary>
/// Time related delegates used to improve testability of the code
/// </summary>
public static class SystemClock
{
/// <summary>
/// Allows the settin... | using System;
using System.Threading;
namespace Polly.Utilities
{
/// <summary>
/// Time related delegates used to improve testability of the code
/// </summary>
public static class SystemClock
{
#if !PORTABLE
/// <summary>
/// Allows the setting of a custom Thread.Sleep implementa... | Fix PCL implementation of Reset | Fix PCL implementation of Reset
| C# | bsd-3-clause | yonglehou/Polly,cicorias/Polly,manastalukdar/Polly,mauricedb/Polly,czerwonkabartosz/Polly,joelhulen/Polly,alphaleonis/Polly,michael-wolfenden/Polly |
8dd7c85762e9d5d9b64de77ee6686ce98dbf42b7 | src/SpaFallback/SpaFallbackException.cs | src/SpaFallback/SpaFallbackException.cs | using System;
using System.Text;
using Microsoft.AspNetCore.Http;
namespace Hellang.Middleware.SpaFallback
{
public class SpaFallbackException : Exception
{
private const string Fallback = nameof(SpaFallbackExtensions.UseSpaFallback);
private const string StaticFiles = "UseStaticFiles";
... | using System;
using System.Text;
using Microsoft.AspNetCore.Http;
namespace Hellang.Middleware.SpaFallback
{
public class SpaFallbackException : Exception
{
private const string Fallback = nameof(SpaFallbackExtensions.UseSpaFallback);
private const string StaticFiles = "UseStaticFiles";
... | Add Path property to exception | Add Path property to exception
| C# | mit | khellang/Middleware,khellang/Middleware |
d14dca7bbb20ceb58bf63dfde0de556f82cbccd6 | src/Views/App/Dashboard/Overview.cshtml | src/Views/App/Dashboard/Overview.cshtml | @*
* Copyright (c) gestaoaju.com.br - All rights reserved.
* Licensed under MIT (https://github.com/gestaoaju/commerce/blob/master/LICENSE).
*@
@{ Layout = "~/Views/Shared/_AppLayout.cshtml"; }
@section scripts
{
<script type="text/javascript" src="/js/overview.min.js" asp-append-version="true"></script>
}
<d... | @*
* Copyright (c) gestaoaju.com.br - All rights reserved.
* Licensed under MIT (https://github.com/gestaoaju/commerce/blob/master/LICENSE).
*@
@{ Layout = "~/Views/Shared/_AppLayout.cshtml"; }
@section scripts
{
<script type="text/javascript" src="/js/overview.min.js" asp-append-version="true"></script>
}
<d... | Remove forced height for testing | Remove forced height for testing
| C# | mit | gestaoaju/commerce,gestaoaju/commerce |
f49196712021ad8dd440dae824efe0a3961c9e48 | TraktorPlaylistExporter.Web/Views/Shared/_Layout.cshtml | TraktorPlaylistExporter.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="container body-content">
... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="container body-content">
... | Add google analytics tracking code. | Add google analytics tracking code.
| C# | mit | ivanz/TraktorPlaylistExporter |
e6030a8b7cc225f2b4efb2243d85e35768388b8d | src/Logos.Git/Properties/AssemblyInfo.cs | src/Logos.Git/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Logos.Git")]
[assembly: AssemblyDescription("Utility code for working with local git repos and the GitHub web API.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Logos Bible Software")]
[assemb... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Logos.Git")]
[assembly: AssemblyDescription("Utility code for working with local git repos and the GitHub web API.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Logos Bible Software")]
[assemb... | Update Logos.Git version (for new dependencies). | Update Logos.Git version (for new dependencies).
| C# | mit | LogosBible/LogosGit |
133721888b52153dc563ed35c76bc105c8f96cf7 | src/test/Test.FAKECore/TeamCitySpecs.cs | src/test/Test.FAKECore/TeamCitySpecs.cs | using System.Collections.Generic;
using System.Linq;
using Fake;
using Machine.Specifications;
namespace Test.FAKECore
{
public class when_encapsuting_strings
{
It should_encapsulate_without_special_chars =
() => TeamCityHelper.EncapsulateSpecialChars("Total 47, Failures 1, NotRun 0, Incon... | using System.Collections.Generic;
using System.Linq;
using Fake;
using Machine.Specifications;
namespace Test.FAKECore
{
public class when_encapsuting_strings
{
It should_encapsulate_without_special_chars =
() => TeamCityHelper.EncapsulateSpecialChars("Total 47, Failures 1, NotRun 0, Incon... | Correct test for TeamCity status | Correct test for TeamCity status
The accepted content in the test would not be recognised by teamcity as a failure. | C# | apache-2.0 | beeker/FAKE,MiloszKrajewski/FAKE,beeker/FAKE,beeker/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,beeker/FAKE |
cc4df1b890198175155550b00cd123e557861394 | input/docs/index.cshtml | input/docs/index.cshtml | ---
Title: Documentation
---
<p>
We gladly accept your contributions. If there is something that you would like to add then you can edit the content directly on GitHub.
</p>
@foreach(IDocument child in Model.DocumentList(Keys.Children).OrderBy(x => x.Get<int>(DocsKeys.Order, 1000)))
{
<h1>@(child.String(Keys.T... | ---
Title: Documentation
---
<div class="alert alert-info">
<p>
We gladly accept your contributions. If there is something that you would like to add then you can edit the content directly on GitHub.
</p>
</div>
@foreach(IDocument child in Model.DocumentList(Keys.Children).OrderBy(x => x.Get<int>(Docs... | Format contribution info as annotation | Format contribution info as annotation
| C# | mit | cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website |
09caaa3a900a1d7299b47425340874b4f59c6a5a | tests/Bugsnag.Unity.Tests/TestConfiguration.cs | tests/Bugsnag.Unity.Tests/TestConfiguration.cs | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Bugsnag.Unity.Tests
{
public class TestConfiguration : IConfiguration
{
public TimeSpan MaximumLogsTimePeriod { get; set; }
public Dictionary<LogType, int> MaximumTypePerTimePeriod { get; set; }
public TimeSpan UniqueLogsTi... | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Bugsnag.Unity.Tests
{
public class TestConfiguration : IConfiguration
{
public TimeSpan MaximumLogsTimePeriod { get; set; } = TimeSpan.FromSeconds(1);
public Dictionary<LogType, int> MaximumTypePerTimePeriod { get; set; }
p... | Add required defaults for tests | Add required defaults for tests
| C# | mit | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity |
8adcb812bad78aa2dbc89837315dffe11ff4f867 | Plugins/FileTypes/WordDoc/WordDocExporter.cs | Plugins/FileTypes/WordDoc/WordDocExporter.cs | #region
using System;
using System.Drawing;
using Novacode;
using Tabster.Data;
using Tabster.Data.Processing;
#endregion
namespace WordDoc
{
public class WordDocExporter : ITablatureFileExporter
{
public WordDocExporter()
{
FileType = new FileType("Microsoft Offi... | #region
using System;
using System.Drawing;
using Novacode;
using Tabster.Data;
using Tabster.Data.Processing;
#endregion
namespace WordDoc
{
public class WordDocExporter : ITablatureFileExporter
{
public WordDocExporter()
{
FileType = new FileType("Microsoft Offi... | Use Generic monospace font family for DOCX | Use Generic monospace font family for DOCX
| C# | apache-2.0 | GetTabster/Tabster |
d28c3ccb95dbfdcec634ca77f8cd475d4fed9ed0 | CIV/Program.cs | CIV/Program.cs | using System;
using CIV.Formats;
using static System.Console;
namespace CIV
{
[Flags]
enum ExitCodes : int
{
Success = 0,
FileNotFound = 1,
ParsingFailed = 2,
VerificationFailed = 4
}
class Program
{
static void Main(string[] args)
{
try
... | using System;
using System.Diagnostics;
using CIV.Formats;
using static System.Console;
namespace CIV
{
[Flags]
enum ExitCodes : int
{
Success = 0,
FileNotFound = 1,
ParsingFailed = 2,
VerificationFailed = 4
}
class Program
{
static void Main(string[] args)
{
... | Add time measurement in Main, fix output | Add time measurement in Main, fix output
| C# | mit | lou1306/CIV,lou1306/CIV |
3871168e09ef6c5366087cb3a686e03373793860 | Graph/IGraph.cs | Graph/IGraph.cs | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Represents a graph.
/// </summary>
/// <typeparam name="V">The vertex type.</typeparam>
/// <typeparam name="E">The edge type.</typeparam>
public interface IGraph<V, E> : IEquatable<IGraph<V, E>> where E: IEdge... | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Represents a graph.
/// </summary>
/// <typeparam name="V">The vertex type.</typeparam>
/// <typeparam name="E">The edge type.</typeparam>
public interface IGraph<V, E> : IEquatable<IGraph<V, E>> where E: IEdge... | Remove publicly exposed Vertices property | Remove publicly exposed Vertices property
| C# | apache-2.0 | DasAllFolks/SharpGraphs |
6d6a5efc24b98f4a009c6f7838a6c8cb0511eb6e | CkanDotNet.Web/Views/Shared/_ResultsMode.cshtml | CkanDotNet.Web/Views/Shared/_ResultsMode.cshtml | @using CkanDotNet.Api.Model
@using CkanDotNet.Web.Models
@using CkanDotNet.Web.Models.Helpers
@using System.Collections.Specialized
@model PackageSearchResultsModel
@{
var routeValues = RouteHelper.RouteFromParameters(Html.ViewContext);
// Remove the page number from the route values since we are doing client-side
/... | @using CkanDotNet.Api.Model
@using CkanDotNet.Web.Models
@using CkanDotNet.Web.Models.Helpers
@using System.Collections.Specialized
@model PackageSearchResultsModel
@{
var routeValues = RouteHelper.RouteFromParameters(Html.ViewContext);
// Remove the page number from the route values since we are doing client-side
/... | Add Google Analytics tracking for changing results mode | Add Google Analytics tracking for changing results mode
| C# | apache-2.0 | opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API |
8c6c9b8f02b3142c8f247b900c1e59b7d759d9ab | Raccoon/Core/Components/Alarm.cs | Raccoon/Core/Components/Alarm.cs | namespace Raccoon.Components {
public class Alarm : Component {
public Alarm(uint interval, System.Action action) {
NextActivationTimer = Interval = interval;
Action = action;
}
public System.Action Action { get; set; }
public uint Timer { get; priva... | namespace Raccoon.Components {
public class Alarm : Component {
public Alarm(uint interval, System.Action action) {
NextActivationTimer = Interval = interval;
Action = action;
}
public System.Action Action { get; set; }
public uint Timer { get; priva... | Fix to alarm not triggering correctly | Fix to alarm not triggering correctly
| C# | mit | lucas-miranda/Raccoon |
dc890999a0aed4c8b7073093245a5990b946c36b | SlackAPI/RPCMessages/AccessTokenResponse.cs | SlackAPI/RPCMessages/AccessTokenResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
[RequestPath("oauth.access")]
public class AccessTokenResponse : Response
{
public string access_token;
public string scope;
public string team_n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
[RequestPath("oauth.access")]
public class AccessTokenResponse : Response
{
public string access_token;
public string scope;
public string team_n... | Revert "Added incoming_webhook to Access Token Response" | Revert "Added incoming_webhook to Access Token Response"
This reverts commit c7606ad7fc541bab1eff431628e5b58fbac7181c.
| C# | mit | Inumedia/SlackAPI |
ec78a81aa0dc6820380b7ec22a93a75b152be7c5 | Mastodot/Utils/JsonConverters/ErrorThrowJsonConverter.cs | Mastodot/Utils/JsonConverters/ErrorThrowJsonConverter.cs | using System;
using Mastodot.Entities;
using Mastodot.Exceptions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Mastodot.Utils.JsonConverters
{
internal class ErrorThrowJsonConverter<T> : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return true;... | using System;
using Mastodot.Entities;
using Mastodot.Exceptions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Mastodot.Utils.JsonConverters
{
internal class ErrorThrowJsonConverter<T> : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return true;... | Fix Error entity not contain RawJson | Fix Error entity not contain RawJson
| C# | mit | yamachu/Mastodot |
08f3a68d97b41c13a27197dde0bfb8c4736be317 | samples/SimplePerfTests/FormattingTests.cs | samples/SimplePerfTests/FormattingTests.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.Collections.Generic;
using System.Linq;
using Microsoft.Xunit.Performance;
using Xunit;
namespace SimplePerfTests
{
public class Document
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Xunit.Performance;
using Xunit;
namespace SimplePerfTests
{
pub... | Add a test for IterateAsync | Add a test for IterateAsync
| C# | mit | Microsoft/xunit-performance,ianhays/xunit-performance,Microsoft/xunit-performance,ericeil/xunit-performance,mmitche/xunit-performance,visia/xunit-performance,pharring/xunit-performance |
4b975ca10d34211f6555ff0e98b49c99f23981cb | osu.Game.Tests/Visual/Settings/TestSceneSettingsPanel.cs | osu.Game.Tests/Visual/Settings/TestSceneSettingsPanel.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.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual.Settings
{
... | // 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.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Overlays;
namespace osu.Game... | Add better test coverage of `SettingsPanel` | Add better test coverage of `SettingsPanel`
| C# | mit | smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu |
6b4af66597a323efe5679e9b1c2ae2f6a6a9bce4 | src/Glimpse.Agent.Web/Framework/IIgnoredRequestPolicy.cs | src/Glimpse.Agent.Web/Framework/IIgnoredRequestPolicy.cs | using System;
namespace Glimpse.Agent.Web
{
public class IIgnoredRequestPolicy
{
}
} | using System;
namespace Glimpse.Agent.Web
{
public interface IIgnoredRequestPolicy
{
bool ShouldIgnore(IContext context);
}
} | Update interface for ignored request policy | Update interface for ignored request policy
| C# | mit | peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Gli... |
06534f0798326400a99f9eeefaa7a1249ffb0fbb | PixelPet/CLI/Commands/ClearTilesetCmd.cs | PixelPet/CLI/Commands/ClearTilesetCmd.cs | using LibPixelPet;
using System;
namespace PixelPet.CLI.Commands {
internal class ClearTilesetCmd : CliCommand {
public ClearTilesetCmd()
: base("Clear-Tileset") { }
public override void Run(Workbench workbench, ILogger logger) {
int w = 8;
int h = 8;
workbench.Tileset = new Tileset(w, h);
logg... | using LibPixelPet;
using System;
namespace PixelPet.CLI.Commands {
internal class ClearTilesetCmd : CliCommand {
public ClearTilesetCmd()
: base("Clear-Tileset",
new Parameter("tile-size", "s", false, new ParameterValue("width", "8"), new ParameterValue("height", "8"))
) { }
public override void Run(W... | Allow tile size to be changed from 8x8 using Clear-Tileset --tile-size. | Allow tile size to be changed from 8x8 using Clear-Tileset --tile-size.
| C# | mit | Prof9/PixelPet |
9695d53b0e332e5420a22a0be2eed87693ca3e5f | Tests/UnitTests/ContextExtensionTests.cs | Tests/UnitTests/ContextExtensionTests.cs | using System;
using Microsoft.BizTalk.Message.Interop;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Winterdom.BizTalk.PipelineTesting;
namespace BizTalkComponents.Utils.Tests.UnitTests
{
[TestClass]
public class ContextExtensionTests
{
private IBaseMessage _testMessage;
[Test... | using System;
using Microsoft.BizTalk.Message.Interop;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Winterdom.BizTalk.PipelineTesting;
namespace BizTalkComponents.Utils.Tests.UnitTests
{
[TestClass]
public class ContextExtensionTests
{
private IBaseMessage _testMessage;
[Test... | Test case for calling try read with null values | Test case for calling try read with null values
| C# | mit | BizTalkComponents/Utils |
668254b659c7ceb2dc0ca57599903cb470cc2337 | Quamotion.TurboJpegWrapper/TJException.cs | Quamotion.TurboJpegWrapper/TJException.cs | // <copyright file="TJException.cs" company="Autonomic Systems, Quamotion">
// Copyright (c) Autonomic Systems. All rights reserved.
// Copyright (c) Quamotion. All rights reserved.
// </copyright>
using System;
namespace TurboJpegWrapper
{
// ReSharper disable once InconsistentNaming
/// <summar... | // <copyright file="TJException.cs" company="Autonomic Systems, Quamotion">
// Copyright (c) Autonomic Systems. All rights reserved.
// Copyright (c) Quamotion. All rights reserved.
// </copyright>
using System;
namespace TurboJpegWrapper
{
// ReSharper disable once InconsistentNaming
/// <summar... | Put constructor initializers on their own line | SA1128: Put constructor initializers on their own line
| C# | mit | qmfrederik/AS.TurboJpegWrapper,qmfrederik/AS.TurboJpegWrapper |
f493f77a1e3f47c21f3bc907e9d59af6a8a35156 | src/MobileKidsIdApp/MobileKidsIdApp/ViewModels/BasicDetails.cs | src/MobileKidsIdApp/MobileKidsIdApp/ViewModels/BasicDetails.cs | using MobileKidsIdApp.Services;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using MobileKidsIdApp.Models;
namespace MobileKidsIdApp.ViewModels
{
public class BasicDetails : ViewModelBase<Models.ChildDetails>
{
private ContactInfo _contact;
public ICommand Ch... | using MobileKidsIdApp.Services;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using MobileKidsIdApp.Models;
namespace MobileKidsIdApp.ViewModels
{
public class BasicDetails : ViewModelBase<Models.ChildDetails>
{
private ContactInfo _contact;
public ICommand Ch... | Make sure the model isn't lost when navigating to/from the contact picker | Make sure the model isn't lost when navigating to/from the contact picker
| C# | apache-2.0 | HTBox/MobileKidsIdApp,bseebacher/MobileKidsIdApp,rockfordlhotka/MobileKidsIdApp,HTBox/MobileKidsIdApp,bseebacher/MobileKidsIdApp,bseebacher/MobileKidsIdApp,rockfordlhotka/MobileKidsIdApp,bseebacher/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp |
6b2416feb0934de94d446ab0bc82b50b486015d4 | Views/Shared/_Layout.cshtml | Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<title>@ViewData["Title"]</title>
<link rel="icon" type="image/png" href="favicon.png">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="~/style.css"/>
</head>
<body>
<div class="container">... | <!DOCTYPE html>
<html>
<head>
<title>@ViewData["Title"]</title>
<link rel="icon" type="image/png" href="favicon.png">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="~/style.css"/>
</head>
<body>
<div class="container">... | Update copyright year in template | Update copyright year in template
The year of first publication was removed as per #69 it's not necessary.
Closes #69.
| C# | mit | codingteam/codingteam.org.ru,codingteam/codingteam.org.ru |
4e12a2734ccf28dae236d6c78385e79d69bf32d7 | 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... | Remove ignore attribute from now fixed test scene | Remove ignore attribute from now fixed test scene
| C# | mit | smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu |
71156c6e8818fbefecac4ee2d31724df1bbcfe45 | JemlemlacuLemjakarbabo/Program.cs | JemlemlacuLemjakarbabo/Program.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
namespace JemlemlacuLemjakarbabo
{
class Program
{
static void Main(string[] args)
{
CheckHResult(UnsafeNativeMethods.WICCodec.CreateImagingFactory(UnsafeNativeMethods.WICCodec.WINCODEC_SDK_VERSION,
... | using System;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
namespace JemlemlacuLemjakarbabo
{
class Program
{
static void Main(string[] args)
{
CheckHResult(UnsafeNativeMethods.WICCodec.CreateImagingFactory(UnsafeNativeMethods.WICCodec.W... | Fix create BitmapDecoder with async file stream. | Fix create BitmapDecoder with async file stream.
[BitmapDecoder.Create does not handle FileStream with FileOptions.Asynchronous · Issue #4355 · dotnet/wpf](https://github.com/dotnet/wpf/issues/4355 )
| C# | mit | lindexi/lindexi_gd,lindexi/lindexi_gd,lindexi/lindexi_gd,lindexi/lindexi_gd,lindexi/lindexi_gd |
026c4601330a594c9c368629254c27e750a5c68a | src/ITCO.SboAddon.Framework/Extensions/UserQueryExtensions.cs | src/ITCO.SboAddon.Framework/Extensions/UserQueryExtensions.cs |
using System.Linq;
using ITCO.SboAddon.Framework.Helpers;
using SAPbobsCOM;
namespace ITCO.SboAddon.Framework.Extensions
{
public static class UserQueryExtensions
{
public static string GetOrCreateUserQuery(this Company company, string userQueryName, string userQueryDefaultQuery)
{
... |
using System.Linq;
using System.Text.RegularExpressions;
using ITCO.SboAddon.Framework.Helpers;
using SAPbobsCOM;
namespace ITCO.SboAddon.Framework.Extensions
{
public static class UserQueryExtensions
{
/// <summary>
/// Get or create User Query
/// </summary>
/// <param name=... | Add formatToSqlParams param to GetOrCreateUserQuery | Add formatToSqlParams param to GetOrCreateUserQuery
| C# | mit | ITCompaniet/ITCO-SBO-Addon-Framework |
7052fb7d67fab67fd4a804e3b655eec934612ff9 | Ribbon/RibbonController.cs | Ribbon/RibbonController.cs | using System.Runtime.InteropServices;
using System.Windows.Forms;
using ExcelDna.Integration.CustomUI;
namespace Ribbon
{
[ComVisible(true)]
public class RibbonController : ExcelRibbon
{
public override string GetCustomUI(string RibbonID)
{
return @"
<customUI xmlns='http... | using System.Runtime.InteropServices;
using System.Windows.Forms;
using ExcelDna.Integration.CustomUI;
namespace Ribbon
{
[ComVisible(true)]
public class RibbonController : ExcelRibbon
{
public override string GetCustomUI(string RibbonID)
{
return @"
<customUI xmlns='http... | Remove extra loadImage callback until we discuss it | Ribbon: Remove extra loadImage callback until we discuss it | C# | mit | Excel-DNA/Samples |
e16ad05054860a33ae3b45e69e57462e2d0ff04c | Src/ClojSharp.Core.Tests/EvaluateTests.cs | Src/ClojSharp.Core.Tests/EvaluateTests.cs | namespace ClojSharp.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class EvaluateTests
{
private Machine mac... | namespace ClojSharp.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class EvaluateTests
{
private Machine mac... | Test Refactor, consolidate Evaluate Add tests | Test Refactor, consolidate Evaluate Add tests
| C# | mit | ajlopez/ClojSharp |
886aa87099ffe762ab692a54e18cf81f3b4c270e | plugins/OsuMemoryEventSource/LiveToken.cs | plugins/OsuMemoryEventSource/LiveToken.cs | using System;
using System.Diagnostics;
using StreamCompanionTypes.DataTypes;
using StreamCompanionTypes.Enums;
namespace OsuMemoryEventSource
{
public class LiveToken
{
public IToken Token { get; set; }
public Func<object> Updater;
public bool IsLazy { get; set; }
protected Laz... | using System;
using System.Diagnostics;
using StreamCompanionTypes.DataTypes;
using StreamCompanionTypes.Enums;
namespace OsuMemoryEventSource
{
public class LiveToken
{
public IToken Token { get; set; }
public Func<object> Updater;
public bool IsLazy { get; set; }
protected Laz... | Reset live tokens value when it can not be saved | Fix: Reset live tokens value when it can not be saved
aka. clear token values after finishing play/exiting results screen
| C# | mit | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion |
e32316ca8586d9d0e3c734b523d877d7ec1ef5f9 | product/dropkick/Settings/SettingsParser.cs | product/dropkick/Settings/SettingsParser.cs | // Copyright 2007-2010 The Apache Software Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless req... | // Copyright 2007-2010 The Apache Software Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless req... | Enable overriding of settings via command line arguments in the formats: /SettingName=value /SettingName:value | Enable overriding of settings via command line arguments in the formats:
/SettingName=value
/SettingName:value
| C# | apache-2.0 | chucknorris/dropkick,chucknorris/dropkick,chucknorris/dropkick,chucknorris/dropkick |
27f4dc9a39ff6ec733ec215f4a3abbd8e210168b | src/Arango/Arango.ConsoleTests/Program.cs | src/Arango/Arango.ConsoleTests/Program.cs | using System;
using System.Collections.Generic;
using Arango.Client;
using Arango.fastJSON;
namespace Arango.ConsoleTests
{
class Program
{
public static void Main(string[] args)
{
var performance = new Performance();
//performance.TestSimpleSe... | using System;
using System.Collections.Generic;
using Arango.Client;
using Arango.fastJSON;
namespace Arango.ConsoleTests
{
class Program
{
public static void Main(string[] args)
{
//PerformanceTests();
Console.Write("Press any key to continue ... | Put performance test into separate method in console. | Put performance test into separate method in console.
| C# | mit | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET |
cbdd7cd0a0fe01b2b4f8bfeaad6a9d25bd2a9306 | windows/Source/Main.WindowsRuntime/Services/AppRatingService.cs | windows/Source/Main.WindowsRuntime/Services/AppRatingService.cs | // Copyright (c) PocketCampus.Org 2014-15
// See LICENSE file for more details
// File author: Solal Pirelli
using System;
using Windows.ApplicationModel;
using Windows.System;
namespace PocketCampus.Main.Services
{
public sealed class AppRatingService : IAppRatingService
{
public async v... | // Copyright (c) PocketCampus.Org 2014-15
// See LICENSE file for more details
// File author: Solal Pirelli
using System;
using Windows.System;
namespace PocketCampus.Main.Services
{
public sealed class AppRatingService : IAppRatingService
{
private const string AppId = "28f8300e-8a84-4e3... | Fix "rate app" button in the about page. | [main.wp] Fix "rate app" button in the about page.
| C# | bsd-3-clause | ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus |
a838942c23a7f289d8fbe9e38eb2f2e1b3818c04 | Battery-Commander.Web/Views/SUTA/Edit.cshtml | Battery-Commander.Web/Views/SUTA/Edit.cshtml | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | Make the SUTA edit text form bigger | Make the SUTA edit text form bigger
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
0aefe648c083c48c2c95c58fa015720d7df10771 | Components/Log/LogTags.cs | Components/Log/LogTags.cs | using UnityEngine;
using System.Collections;
namespace UDBase.Components.Log {
public class LogTags {
public const int Common = 1;
public const int UI = 2;
string[] _names = new string[]{"Common", "UI"};
public virtual string GetName(int index) {
switch( index ) {
case Common: {
return "Co... | using UnityEngine;
using System.Collections;
namespace UDBase.Components.Log {
public class LogTags {
public const int Common = 1;
public const int UI = 2;
public const int Scene = 3;
string[] _names = new string[]{"Common", "UI", "Scene"};
public virtual string GetName(int index) {
switch( index... | Add tag for Scene logs; Code alignment; | Add tag for Scene logs; Code alignment;
| C# | mit | KonH/UDBase |
1ab7879785a20b51db43c671d6250f614dbcdeef | Nowin/IpIsLocalChecker.cs | Nowin/IpIsLocalChecker.cs | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace Nowin
{
public class IpIsLocalChecker : IIpIsLocalChecker
{
readonly Dictionary<IPAddress, bool> _dict;
public IpIsLocalChecker()
{
var host = Dns.GetHostEntry(Dns.Get... | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace Nowin
{
public class IpIsLocalChecker : IIpIsLocalChecker
{
readonly Dictionary<IPAddress, bool> _dict;
public IpIsLocalChecker()
{
var host = Dns.GetHostEntry(Dns.Get... | Fix of LocalChecker sometimes loopback could be already part of dictionary throwing exception on duplicate add. | Fix of LocalChecker sometimes loopback could be already part of dictionary throwing exception on duplicate add.
| C# | mit | pysco68/Nowin,et1975/Nowin,modulexcite/Nowin,lstefano71/Nowin,lstefano71/Nowin,pysco68/Nowin,Bobris/Nowin,et1975/Nowin,pysco68/Nowin,modulexcite/Nowin,modulexcite/Nowin,et1975/Nowin,Bobris/Nowin,Bobris/Nowin,lstefano71/Nowin |
dd86edc964a9859debd654b1bdb90f693fdd5dee | src/FubuMVC.NLog/NLogListener.cs | src/FubuMVC.NLog/NLogListener.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using FubuCore;
using FubuCore.Descriptions;
using FubuCore.Logging;
using FubuCore.Util;
using NLog;
using Logger = NLog.Logger;
namespace FubuMVC.NLog
{
public class NLogListener : ILogListener
{
private readonly... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using FubuCore;
using FubuCore.Descriptions;
using FubuCore.Logging;
using FubuCore.Util;
using NLog;
using Logger = NLog.Logger;
namespace FubuMVC.NLog
{
public class NLogListener : ILogListener
{
private readonly... | Change logger type for NLog error messages to be based on exception if possible | Change logger type for NLog error messages to be based on exception if possible
| C# | apache-2.0 | DarthFubuMVC/FubuMVC.Loggers,DarthFubuMVC/FubuMVC.Loggers |
0d15bb776645c8b5182da08a9a1d68258bae0c5c | Moya.Runner/Factories/TestRunnerFactory.cs | Moya.Runner/Factories/TestRunnerFactory.cs | namespace Moya.Runner.Factories
{
using System;
using System.Collections.Generic;
using Attributes;
using Exceptions;
using Extensions;
using Moya.Utility;
using Runners;
public class TestRunnerFactory : ITestRunnerFactory
{
private readonly IDictionary<Type, Type> attribut... | namespace Moya.Runner.Factories
{
using System;
using System.Collections.Generic;
using Attributes;
using Exceptions;
using Extensions;
using Moya.Utility;
using Runners;
public class TestRunnerFactory : ITestRunnerFactory
{
private readonly IDictionary<Type, Type> attribut... | Add warmup attribute to test runner factory | Add warmup attribute to test runner factory
| C# | mit | Hammerstad/Moya |
2f32c4d4d1d4edb62a167746e7203d481773edff | osu.Game/Screens/Select/MatchSongSelect.cs | osu.Game/Screens/Select/MatchSongSelect.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 System;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi;
namespace osu.Game.Screens.Select
{
public class MatchSongSelect : SongSelect, IMult... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using Humanizer;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi;
namespace osu.Game.Screens.Select
{
public class MatchSongSelect : ... | Fix title of match song select | Fix title of match song select
| C# | mit | johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,ZLima12/osu... |
1c4a3c584a76fb9ecbf7b56d6d62850fcc89b88d | osu.Game/Online/API/Requests/GetUserRequest.cs | osu.Game/Online/API/Requests/GetUserRequest.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.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | // 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.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | Use correct lookup type to ensure username based lookups always prefer username | Use correct lookup type to ensure username based lookups always prefer username
| C# | mit | ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu |
69bc3ef98c4d3e664560f14257caf5f4856cc743 | Src/AutoFixture/OmitOnRecursionBehavior.cs | Src/AutoFixture/OmitOnRecursionBehavior.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixture
{
/// <summary>
/// Decorates an <see cref="ISpecimenBuilder" /> with a
/// <see cref="OmitOnRecursionGuard" />.
/// </summary>
public class... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixture
{
/// <summary>
/// Decorates an <see cref="ISpecimenBuilder" /> with a
/// <see cref="RecursionGuard" />.
/// </summary>
public class OmitO... | Replace two xml comment instances of 'OmitOnRecursionGuard' with 'RecursionGuard' | Replace two xml comment instances of 'OmitOnRecursionGuard' with 'RecursionGuard'
The use of OmitOnRecursionGuard class seems to have been replaced with the combined use of RecursionGuard and OmitOnRecursionHandler. The class level xml comments for the OmitOnRecursionBehavior class, as well as its Transform method are... | C# | mit | yuva2achieve/AutoFixture,sean-gilliam/AutoFixture,yuva2achieve/AutoFixture,adamchester/AutoFixture,sbrockway/AutoFixture,mrinaldi/AutoFixture,sergeyshushlyapin/AutoFixture,olegsych/AutoFixture,sbrockway/AutoFixture,olegsych/AutoFixture,amarant/AutoFixture,hackle/AutoFixture,zvirja/AutoFixture,StevenJiang2015/AutoFixtur... |
b5f5a7ac1581292af4c6a196aed093338de8661b | DanTup.DartAnalysis/Commands/ServerVersion.cs | DanTup.DartAnalysis/Commands/ServerVersion.cs | using System;
using System.Threading.Tasks;
namespace DanTup.DartAnalysis
{
class VersionRequest : Request<Response<VersionResponse>>
{
public string method = "server.getVersion";
}
class VersionResponse
{
public string version = null;
}
public static class VersionRequestImplementation
{
public static ... | using System;
using System.Threading.Tasks;
namespace DanTup.DartAnalysis
{
class ServerVersionRequest : Request<Response<ServerVersionResponse>>
{
public string method = "server.getVersion";
}
class ServerVersionResponse
{
public string version = null;
}
public static class ServerVersionRequestImplementa... | Rename some classes to better match the service API. | Rename some classes to better match the service API.
| C# | mit | DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS |
f640d04b29a9c71e47cbd063f27fee08f72d34e7 | LiteDB.Tests/Database/ShrinkDatabaseTest.cs | LiteDB.Tests/Database/ShrinkDatabaseTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
public class LargeDoc
{
public ObjectId Id { get; set; }
p... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
public class LargeDoc
{
public ObjectId Id { get; set; }
p... | Fix unit test for 2 pages initial data | Fix unit test for 2 pages initial data
| C# | mit | 89sos98/LiteDB,falahati/LiteDB,masterdidoo/LiteDB,mbdavid/LiteDB,masterdidoo/LiteDB,RytisLT/LiteDB,falahati/LiteDB,RytisLT/LiteDB,89sos98/LiteDB |
c1e98f9360d3fc4ee6fd1e2333c4fbca2696c59a | src/Microsoft.Fx.Portability/IObjectCache.cs | src/Microsoft.Fx.Portability/IObjectCache.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.Threading.Tasks;
namespace Microsoft.Fx.Portability
{
public interface IObjectCache<TObject> : IDisposable
{
TObject Value ... | // 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.Threading.Tasks;
namespace Microsoft.Fx.Portability
{
public interface IObjectCache : IDisposable
{
Task UpdateAsync();
... | Add a non-generic object cache | Add a non-generic object cache
| C# | mit | Microsoft/dotnet-apiport,twsouthwick/dotnet-apiport,conniey/dotnet-apiport,JJVertical/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,mjrousos/dotnet-apiport,conniey/dotnet-apiport,twsouthwick/dotnet-apiport,JJVertical/dotnet-apiport,Microsoft/dotnet-apiport |
abf9e85f3f0e7eaa318c18b9b0d768a63707aa2f | Assets/PlayerMovement.cs | Assets/PlayerMovement.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float movementSpeed = 1.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
var x = Input.GetAxis("Horizontal... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float movementSpeed = 1.0f;
private bool isMovementLocked = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update (... | Add Mouse Look Tracking to player character | Add Mouse Look Tracking to player character
| C# | cc0-1.0 | JasonMiletta/LDJam-39---Out-of-Power |
5ca67fdbfed31b6f553e49f4ec22431104606951 | WalletWasabi/WebClients/SmartBit/SmartBitExchangeRateProvider.cs | WalletWasabi/WebClients/SmartBit/SmartBitExchangeRateProvider.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
namespace WalletWasabi.WebClients.SmartBit
{
public class SmartBitExchangeRateProvider : IExchangeRateProvider
{
private SmartBitClient _clie... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
namespace WalletWasabi.WebClients.SmartBit
{
public class SmartBitExchangeRateProvider : IExchangeRateProvider
{
private SmartBitClient Clien... | Use property instead of member | [skip ci] Use property instead of member
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
3ec1baf5937f3c7b23d2c6a47a30f5b64ce09048 | osu.Framework/Audio/Track/TrackVirtual.cs | osu.Framework/Audio/Track/TrackVirtual.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Audio.Track
{
public class TrackVirtual : Track
{
private readonly StopwatchClock... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Audio.Track
{
public class TrackVirtual : Track
{
private readonly StopwatchClock... | Make virtual tracks reeeeeeeaaally long | Make virtual tracks reeeeeeeaaally long
| C# | mit | peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,naoey/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,naoey/osu-framew... |
43ea42f2aa6d1719c18e1650e5335a81dc34e4c5 | src/Adaptive.ReactiveTrader.Client/UI/SpotTiles/PriceFormatter.cs | src/Adaptive.ReactiveTrader.Client/UI/SpotTiles/PriceFormatter.cs | namespace Adaptive.ReactiveTrader.Client.UI.SpotTiles
{
public static class PriceFormatter
{
public static FormattedPrice GetFormattedPrice(decimal rate, int precision, int pipsPosition)
{
var rateAsString = rate.ToString("0." + new string('0', precision));
var dotIndex... | using System.Globalization;
namespace Adaptive.ReactiveTrader.Client.UI.SpotTiles
{
public static class PriceFormatter
{
public static FormattedPrice GetFormattedPrice(decimal rate, int precision, int pipsPosition)
{
var rateAsString = rate.ToString("0." + new string('0', precision... | Fix number format for locales that don't use . as decimal mark | Fix number format for locales that don't use . as decimal mark
| C# | apache-2.0 | HalidCisse/ReactiveTrader,akrisiun/ReactiveTrader,mrClapham/ReactiveTrader,abbasmhd/ReactiveTrader,mrClapham/ReactiveTrader,akrisiun/ReactiveTrader,mrClapham/ReactiveTrader,rikoe/ReactiveTrader,HalidCisse/ReactiveTrader,LeeCampbell/ReactiveTrader,rikoe/ReactiveTrader,AdaptiveConsulting/ReactiveTrader,LeeCampbell/Reacti... |
73173a4d859a165420e6f8c3d445bfb9417f97b1 | GitMind/Common/JUmpListService.cs | GitMind/Common/JUmpListService.cs | using System.Windows;
using System.Windows.Shell;
using GitMind.ApplicationHandling.SettingsHandling;
namespace GitMind.Common
{
public class JumpListService
{
private static readonly int MaxTitleLength = 25;
public void Add(string workingFolder)
{
JumpList jumpList = JumpList.GetJumpList(Application.Cu... | using System.IO;
using System.Windows;
using System.Windows.Shell;
using GitMind.ApplicationHandling.SettingsHandling;
namespace GitMind.Common
{
public class JumpListService
{
private static readonly int MaxTitleLength = 25;
public void Add(string workingFolder)
{
JumpList jumpList = JumpList.GetJumpLi... | Make taskbar jump list show last part of path (folder name) | Make taskbar jump list show last part of path (folder name)
| C# | mit | michael-reichenauer/GitMind |
1b53b5c93869a88e0b6892e9b7ff7775c7bd28c0 | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | @inherits UmbracoViewPage<BlockListModel>
@using ContentModels = Umbraco.Web.PublishedModels;
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) { continue... | @inherits UmbracoViewPage<BlockListModel>
@using ContentModels = Umbraco.Web.PublishedModels;
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) { continue... | Use the .Data propertry as opposed to GetData in this PartialView | Use the .Data propertry as opposed to GetData in this PartialView
| C# | mit | umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,bjarnef/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,madsoulswe/Umbraco-CMS,madsoulswe/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcem... |
6701104726a908f64d3d229165de41055aa4ecc5 | Source/Web/InfinysBreakfastOrders.Web/Views/Orders/NewOrder.cshtml | Source/Web/InfinysBreakfastOrders.Web/Views/Orders/NewOrder.cshtml | @model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel
@{
ViewBag.Title = "Post New Order";
}
<h1>@ViewBag.Title</h1>
@using (Html.BeginForm("NewOrder", "Orders", FormMethod.Post))
{
<div class="row">
@Html.LabelFor(model => model.OrderDate)
@Html.TextBoxFor(model => model.Order... | @model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel
@{
ViewBag.Title = "Post New Order";
}
<h1>@ViewBag.Title</h1>
@using (Html.BeginForm("NewOrder", "Orders", FormMethod.Post))
{
<div class="row">
@Html.LabelFor(model => model.OrderDate)
@Html.TextBoxFor(model => model.Order... | Fix date in date pickuper | Fix date in date pickuper
| C# | mit | g-stoyanov/InfinysBreakfastOrders,g-stoyanov/InfinysBreakfastOrders |
4d3efc520a51b33621994263af0ab8cdd8638086 | WuzlStats/Views/Player/TeamPlayerStats.cshtml | WuzlStats/Views/Player/TeamPlayerStats.cshtml | @model WuzlStats.ViewModels.Player.TeamPlayerStats
<div class="panel panel-default">
<div class="panel-heading">Teams</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-4">
<label>Games played:</label>
</div>
<div class="col-sm-8"><... | @model WuzlStats.ViewModels.Player.TeamPlayerStats
<div class="panel panel-default">
<div class="panel-heading">Teams</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-4">
<label>Games played:</label>
</div>
<div class="col-sm-8"><... | Fix whitespace in team player stats view. | Fix whitespace in team player stats view.
| C# | apache-2.0 | afuersch/Wuzlstats-2014,saxx/Wuzlstats-2014,afuersch/Wuzlstats-2014,saxx/Wuzlstats-2014 |
c465232b20fb70ee7d56b45040020ca39ffdfa19 | TropoCSharp/TropoJSON.cs | TropoCSharp/TropoJSON.cs | using System.Web;
using Newtonsoft.Json;
using System;
namespace TropoCSharp.Tropo
{
/// <summary>
/// A utility class to render a Tropo object as JSON.
/// </summary>
public static class TropoJSONExtensions
{
public static void RenderJSON(this Tropo tropo, HttpResponse response)
{... | using System.Web;
using Newtonsoft.Json;
using System;
namespace TropoCSharp.Tropo
{
/// <summary>
/// A utility class to render a Tropo object as JSON.
/// </summary>
public static class TropoJSONExtensions
{
public static void RenderJSON(this Tropo tropo, HttpResponse response)
{... | Make a tag V15.8.0 2017-05-22 | Make a tag V15.8.0 2017-05-22
| C# | mit | tropo/tropo-webapi-csharp,tropo/tropo-webapi-csharp |
dfb7d789037aa45fea13513f3a6d30a3cfae8a59 | osu.Game/Tests/CleanRunHeadlessGameHost.cs | osu.Game/Tests/CleanRunHeadlessGameHost.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.Platform;
namespace osu.Game.Tests
{
/// <summary>
/// A headless host which cleans up before running (removing any remnants from a previous... | // 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.Platform;
namespace osu.Game.Tests
{
/// <summary>
/// A headless host which cleans up before running (removing any remnants from a previous... | Fix remaining game host regressions | Fix remaining game host regressions
| C# | mit | UselessToucan/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,peppy/osu,DrabWeb/osu,peppy/osu-new,ppy/osu,DrabWeb/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,D... |
de50d5d971d806047729eda24837ea5a2146b428 | CefSharp.Owin.Example.Wpf/App.xaml.cs | CefSharp.Owin.Example.Wpf/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Owin.Builder;
using Owin;
namespace CefSharp.Owin.Example.Wpf
{
//Shorthand for Owin pipeline func
using AppFunc = Func<IDictionary<string, object>, Task>;
/// <summary>
/// Interaction... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Owin.Builder;
using Owin;
namespace CefSharp.Owin.Example.Wpf
{
//Shorthand for Owin pipeline func
using AppFunc = Func<IDictionary<string, object>, Task>;
/// <summary>
/// Interaction... | Switch to the Build<AppFunc> extension method - nicer syntax | Switch to the Build<AppFunc> extension method - nicer syntax
| C# | mit | amaitland/CefSharp.Owin,amaitland/CefSharp.Owin |
8077fd2f94aaec2e12a51d6844c0095314b13e1b | LibGit2Sharp/Core/GitErrorCategory.cs | LibGit2Sharp/Core/GitErrorCategory.cs | namespace LibGit2Sharp.Core
{
internal enum GitErrorCategory
{
Unknown = -1,
NoMemory,
Os,
Invalid,
Reference,
Zlib,
Repository,
Config,
Regex,
Odb,
Index,
Object,
Net,
Tag,
Tree,
Inde... | namespace LibGit2Sharp.Core
{
internal enum GitErrorCategory
{
Unknown = -1,
None,
NoMemory,
Os,
Invalid,
Reference,
Zlib,
Repository,
Config,
Regex,
Odb,
Index,
Object,
Net,
Tag,
Tree... | Update error categories to match libgit2 | Update error categories to match libgit2
| C# | mit | GeertvanHorrik/libgit2sharp,rcorre/libgit2sharp,xoofx/libgit2sharp,Zoxive/libgit2sharp,mono/libgit2sharp,AMSadek/libgit2sharp,AArnott/libgit2sharp,PKRoma/libgit2sharp,github/libgit2sharp,psawey/libgit2sharp,GeertvanHorrik/libgit2sharp,github/libgit2sharp,OidaTiftla/libgit2sharp,sushihangover/libgit2sharp,jeffhostetler/... |
6d6975ca3a61f10c53a0c01bb56947804b44ff17 | Battery-Commander.Tests/FiscalYearTests.cs | Battery-Commander.Tests/FiscalYearTests.cs | using BatteryCommander.Web.Models;
using System;
using System.Collections.Generic;
using Xunit;
namespace BatteryCommander.Tests
{
public class FiscalYearTests
{
[Fact]
public void Check_FY_2017_Start()
{
}
}
} | using BatteryCommander.Web.Models;
using System;
using System.Collections.Generic;
using Xunit;
using BatteryCommander.Web.Services;
namespace BatteryCommander.Tests
{
public class FiscalYearTests
{
[Fact]
public void Check_FY_2017_Start()
{
Assert.Equal(new DateTime(2016,... | Add tests for FY handling | Add tests for FY handling
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
de7dd29d791304fe588ae1f297ecff8e128168c4 | osu.Game/Overlays/BeatmapListing/SortCriteria.cs | osu.Game/Overlays/BeatmapListing/SortCriteria.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapListing
{
public enum SortCriteria... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapListing
{
public enum SortCriteria... | Add "Nominations" and "Updated" sorting criteria in beatmap listing | Add "Nominations" and "Updated" sorting criteria in beatmap listing
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu |
2ae479fbd1742ac91a93c34d080cc9db2cd8872c | osu.Framework/Graphics/UserInterface/Tab/TabDropDownMenu.cs | osu.Framework/Graphics/UserInterface/Tab/TabDropDownMenu.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
// TODO: Hide header when no items in dropdown
namespace osu.Framework.Graphics.UserInterface.Tab
{
public abstract class TabDropDownMenu<T> : DropD... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Linq;
namespace osu.Framework.Graphics.UserInterface.Tab
{
public abstract class TabDropDownMenu<T> : DropDownMenu<T>
{
... | Hide TabControl's dropdown's header when no items are inside the dropdown. | Hide TabControl's dropdown's header when no items are inside the dropdown.
| C# | mit | EVAST9919/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,naoey/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,paparony03/osu-framework,default0/osu-framewor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.