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 |
|---|---|---|---|---|---|---|---|---|---|
80c7675f378fc59cfc3b68f319ca8bb877aeaa35 | Extensions/Oxide.Ext.Lua/Libraries/LuaGlobal.cs | Extensions/Oxide.Ext.Lua/Libraries/LuaGlobal.cs | using Oxide.Core.Libraries;
using Oxide.Core.Logging;
namespace Oxide.Ext.Lua.Libraries
{
/// <summary>
/// A global library containing game-agnostic Lua utilities
/// </summary>
public class LuaGlobal : Library
{
/// <summary>
/// Returns if this library should be loaded into the ... | using Oxide.Core.Libraries;
using Oxide.Core.Logging;
namespace Oxide.Ext.Lua.Libraries
{
/// <summary>
/// A global library containing game-agnostic Lua utilities
/// </summary>
public class LuaGlobal : Library
{
/// <summary>
/// Returns if this library should be loaded into the ... | Fix array out of index issue @neico | [Lua] Fix array out of index issue @neico
| C# | mit | LaserHydra/Oxide,LaserHydra/Oxide,Visagalis/Oxide,Visagalis/Oxide |
15171d957d22459073a3ee0754df81a8e0dbfd66 | DesktopWidgets/Widgets/Search/ViewModel.cs | DesktopWidgets/Widgets/Search/ViewModel.cs | using System.Diagnostics;
using System.Windows.Input;
using DesktopWidgets.Helpers;
using DesktopWidgets.WidgetBase;
using DesktopWidgets.WidgetBase.ViewModel;
using GalaSoft.MvvmLight.Command;
namespace DesktopWidgets.Widgets.Search
{
public class ViewModel : WidgetViewModelBase
{
private string _sea... | using System.Diagnostics;
using System.Windows.Input;
using DesktopWidgets.Helpers;
using DesktopWidgets.WidgetBase;
using DesktopWidgets.WidgetBase.ViewModel;
using GalaSoft.MvvmLight.Command;
namespace DesktopWidgets.Widgets.Search
{
public class ViewModel : WidgetViewModelBase
{
private string _sea... | Call widget "Special Event" on "Search" search | Call widget "Special Event" on "Search" search
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
3e875f1d3987bdf66793775242967bd806b5fa66 | RWXViewer/Models/ObjectPathContext.cs | RWXViewer/Models/ObjectPathContext.cs | using System.Data.Entity;
namespace RWXViewer.Models
{
public class ObjectPathContext : DbContext
{
public ObjectPathContext() : base("ObjectPathContext")
{
}
public DbSet<World> Worlds { get; set; }
public DbSet<ObjectPathItem> ObjectPathItem { get; set; ... | using System.Data.Entity;
namespace RWXViewer.Models
{
public class ObjectPathContext : DbContext
{
public ObjectPathContext() : base("ObjectPathDb")
{
}
public DbSet<World> Worlds { get; set; }
public DbSet<ObjectPathItem> ObjectPathItem { get; set; }
... | Change the Db name for the object context. | Change the Db name for the object context.
| C# | apache-2.0 | Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer |
187c201f9e2af3f570e2f2d0965630381d6e5f84 | src/HtmlLogger/Model/LogCategory.cs | src/HtmlLogger/Model/LogCategory.cs | namespace HtmlLogger.Model
{
public enum LogCategory
{
Info,
Warning,
Error
}
} | namespace HtmlLogger.Model
{
public enum LogCategory
{
Info,
Warning,
Danger
}
} | Rename Error category to Danger | Rename Error category to Danger
| C# | mit | Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger |
cec7251bc3c1c5fb5d32704e144bc55361beae86 | 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) {... | @inherits UmbracoViewPage<BlockListModel>
@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; }
var data = layout.Data;
... | Update default rendering partial view | Update default rendering partial view
| C# | mit | marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimingt... |
39c05d4a591302ceb8bb6ff65c615bf33ea3628d | src/unBand/Telemetry.cs | src/unBand/Telemetry.cs | using Microsoft.ApplicationInsights;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unBand
{
public static class Telemetry
{
public static TelemetryClient Client {get; private set;}
static Telemetry()
{
... | using Microsoft.ApplicationInsights;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unBand
{
public static class Telemetry
{
public static TelemetryClient Client {get; private set;}
static Telemetry()
{
... | Add OS and Version information to telemetry | Add OS and Version information to telemetry
| C# | mit | nachmore/unBand,jehy/unBand |
61c8481d06244ff1259c5c2f0a25d9afcb6d75fd | src/ProGet.Net/PackagePromotion/ProGetClient.cs | src/ProGet.Net/PackagePromotion/ProGetClient.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Flurl.Http;
using ProGet.Net.Common;
using ProGet.Net.PackagePromotion.Models;
// ReSharper disable CheckNamespace
namespace ProGet.Net
{
public partial class ProGetClient
{
private IFlurlClient GetPackagePromotionApiClient(string ... | using System.Collections.Generic;
using System.Threading.Tasks;
using Flurl.Http;
using ProGet.Net.Common;
using ProGet.Net.PackagePromotion.Models;
// ReSharper disable CheckNamespace
namespace ProGet.Net
{
public partial class ProGetClient
{
private IFlurlClient GetPackagePromotionApiClient(string ... | Add X-ApiKey header to promote API. | Add X-ApiKey header to promote API.
| C# | mit | lvermeulen/ProGet.Net |
514f6659fccc6ec5219c3810b3e13eaa81ec9d78 | src/Scrutor/MissingTypeRegistrationException.cs | src/Scrutor/MissingTypeRegistrationException.cs | using System;
using System.Linq;
using System.Reflection;
namespace Scrutor
{
public class MissingTypeRegistrationException : InvalidOperationException
{
public MissingTypeRegistrationException(Type serviceType)
: base($"Could not find any registered services for type '{GetFriendlyName(serv... | using System;
using Microsoft.Extensions.Internal;
namespace Scrutor
{
public class MissingTypeRegistrationException : InvalidOperationException
{
public MissingTypeRegistrationException(Type serviceType)
: base($"Could not find any registered services for type '{TypeNameHelper.GetTypeDispl... | Use TypeNameHelper instead of private method | Use TypeNameHelper instead of private method
| C# | mit | khellang/Scrutor |
fbd8884944da3f1415e101745f7e330604536472 | src/Umbraco.Tests/Routing/LookupByAliasTests.cs | src/Umbraco.Tests/Routing/LookupByAliasTests.cs | using NUnit.Framework;
using Umbraco.Tests.TestHelpers;
using Umbraco.Web.Routing;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.template;
namespace Umbraco.Tests.Routing
{
[TestFixture]
public class LookupByAliasTests : BaseRoutingTest
{
public override void Initialize()
{
base.I... | using NUnit.Framework;
using Umbraco.Tests.TestHelpers;
using Umbraco.Web.Routing;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.template;
namespace Umbraco.Tests.Routing
{
[TestFixture]
public class LookupByAliasTests : BaseRoutingTest
{
public override void Initialize()
{
base.I... | Fix routing tests, we DO need a database for these | Fix routing tests, we DO need a database for these
| C# | mit | Door3Dev/HRI-Umbraco,arknu/Umbraco-CMS,tompipe/Umbraco-CMS,Phosworks/Umbraco-CMS,MicrosoftEdge/Umbraco-CMS,VDBBjorn/Umbraco-CMS,Tronhus/Umbraco-CMS,WebCentrum/Umbraco-CMS,corsjune/Umbraco-CMS,christopherbauer/Umbraco-CMS,ordepdev/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,lars-erik/Umbraco-CMS,lingxyd/Umbraco-CMS,arvaris/HR... |
737b410246af8d989b83a957f6ff0c86e83b0f2d | SupermarketChain/SupermarketChain.Client.Console/Program.cs | SupermarketChain/SupermarketChain.Client.Console/Program.cs | namespace SupermarketChain.Client.Console
{
using System;
using System.Linq;
using SupermarketChain.Data.SqlServer;
using SupermarketChain.Model;
using SupermarketChain.Data.SqlServer.Repositories;
class Program
{
static void Main(string[] args)
{
// Testing Su... | namespace SupermarketChain.Client.Console
{
using System;
using System.Linq;
using SupermarketChain.Data.SqlServer;
using SupermarketChain.Model;
using SupermarketChain.Data.SqlServer.Repositories;
class Program
{
static void Main(string[] args)
{
// Testing Su... | Fix an error with console client test | Fix an error with console client test
| C# | mit | SoftuniTeamBlackOlive/SupermarketChain,SoftuniTeamBlackOlive/SupermarketChain |
cc97fabe906e0ac09361f57243fbc926e02ec2fa | Depends/Progress.cs | Depends/Progress.cs | using System;
using System.Threading;
namespace Depends
{
public delegate void ProgressBarIncrementer();
public class Progress
{
private long _total = 0;
private ProgressBarIncrementer _progBarIncr;
private long _workMultiplier = 1;
public static Progress NOPProgress()
... | using System;
using System.Threading;
namespace Depends
{
public delegate void ProgressBarIncrementer();
public class Progress
{
private bool _cancelled = false;
private long _total = 0;
private ProgressBarIncrementer _progBarIncr;
private long _workMultiplier = 1;
... | Add cancellation field to progress object. | Add cancellation field to progress object.
| C# | bsd-2-clause | dbarowy/Depends |
5d820efbe3aa637d90d635a1fdf42ab5c3da6fd3 | MultiMiner.Win/Extensions/DateTimeExtensions.cs | MultiMiner.Win/Extensions/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
static class DateTimeExtensions
{
public static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateValue = dateTime.ToShortDateString();
... | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
public static class DateTimeExtensions
{
public static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateString = dateTime.ToShortDateString();
... | Fix formatting of dates when the year comes first (JP) | Fix formatting of dates when the year comes first (JP)
| C# | mit | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner |
6af601c022eaa781e284d204f35681c44e4f61d8 | Talagozis.Website/Controllers/BaseController.cs | Talagozis.Website/Controllers/BaseController.cs | using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Talagozis.Website.Controllers
{
public abstract class BaseController : Controller
{
public override void OnActionExecuting(ActionExecutingContext context)
{
this.ViewBag.startTime = Date... | using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Talagozis.Website.Controllers
{
public abstract class BaseController : Controller
{
public override void OnActionExecuting(ActionExecutingContext context)
{
this.ViewBag.startTime = Date... | Fix issue on possible null reference. | Fix issue on possible null reference.
| C# | mit | Talagozis/Talagozis.Website,Talagozis/Talagozis.Website,Talagozis/Talagozis.Website |
a79c651fc72bcbc9583c28c35caab8fe58458792 | Parsley.Test/CharLexer.cs | Parsley.Test/CharLexer.cs | namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: this(new Text(source)) { }
public CharLexer(Text text)
: base(text, new TokenMatcher(typeof(char), @".")) { }
}
} | namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: base(new Text(source), new TokenMatcher(typeof(char), @".")) { }
}
} | Simplify AbstractGrammarSpec by replacing deprecated helper methods with a sample Lexer implementation | Simplify AbstractGrammarSpec by replacing deprecated helper methods with a sample Lexer implementation
| C# | mit | plioi/rook |
e74665e55058c79becda81baa4055d1c78d5ae2b | src/Microsoft.DotNet.Watcher.Core/Internal/Implementation/Project.cs | src/Microsoft.DotNet.Watcher.Core/Internal/Implementation/Project.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.ProjectModel.Graph;
namespace Microsoft.DotNet.Watcher.Co... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.ProjectModel.Graph;
namespace Microsoft.DotNet.Watcher.Co... | Revert "Reacting to CLI breaking change" | Revert "Reacting to CLI breaking change"
This reverts commit 4788506b57c736c7d54f4c05fd2c3b1cbe620a10.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
dd28bfe7baeb95531cc157ea0c065657b0f203a3 | src/Services/Experimentation/Experimentation.Api/Program.cs | src/Services/Experimentation/Experimentation.Api/Program.cs | using System;
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Formatting.Json;
namespace Experimentation.Api
{
public class Program
{
public static void Main(string[] args)
{
var... | using System;
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Formatting.Json;
namespace Experimentation.Api
{
public class Program
{
public static void Main(string[] args)
{
try... | Move set-up and config code into t/c/f block - this will handle 'unhandled exeptions' that hapen outside of the OWIN pipeline. | Move set-up and config code into t/c/f block - this will handle 'unhandled exeptions' that hapen outside of the OWIN pipeline.
| C# | mit | iby-dev/Experimentation-API |
3fd2e23f8993194f0d92c7ab1fb42ee082784421 | PoshGit2/PoshGit2/Cmdlets/DICmdlet.cs | PoshGit2/PoshGit2/Cmdlets/DICmdlet.cs | using Autofac;
using System.Management.Automation;
namespace PoshGit2.Cmdlets
{
public class DICmdlet : Cmdlet
{
protected override void BeginProcessing()
{
base.BeginProcessing();
PoshGit2Container.Instance.InjectUnsetProperties(this);
}
}
}
... | using Autofac;
using System;
using System.Management.Automation;
namespace PoshGit2.Cmdlets
{
public class DICmdlet : PSCmdlet, IDisposable
{
private readonly ILifetimeScope _lifetimeScope;
public DICmdlet()
{
_lifetimeScope = PoshGit2Container.Instance.BeginLi... | Use a lifetime scope for resolution | Use a lifetime scope for resolution
This allows us to use SessionState objects
| C# | mit | twsouthwick/poshgit2 |
2bba10653e1c443ac0a4f3512e833f37dd15307a | PixelPet/Commands/DeserializeTilemapCmd.cs | PixelPet/Commands/DeserializeTilemapCmd.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PixelPet.Commands {
internal class DeserializeTilemapCmd : CliCommand {
public DeserializeTilemapCmd()
: base("Deserialize-Tilemap") { }
public override void Run(Workbench workbench, Cli cli) {
cli.Log("Deseria... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PixelPet.Commands {
internal class DeserializeTilemapCmd : CliCommand {
public DeserializeTilemapCmd()
: base("Deserialize-Tilemap") { }
public override void Run(Workbench workbench, Cli cli) {
cli.Log("Deseria... | Fix loop condition on Deserialize-Tilemap. | Fix loop condition on Deserialize-Tilemap.
| C# | mit | Prof9/PixelPet |
708b0f06febbe3bc32f9603d9ffe34392a1e7b72 | SmartMeter.Business/Translator/TranslatorService.cs | SmartMeter.Business/Translator/TranslatorService.cs | using System;
using System.IO;
using Newtonsoft.Json;
using SmartMeter.Business.Extractor;
using SmartMeter.Business.Interface;
using SmartMeter.Business.Interface.Extractor;
using SmartMeter.Business.Interface.Translator;
namespace SmartMeter.Business.Translator {
public class TranslatorService {
pub... | using System;
using System.IO;
using Newtonsoft.Json;
using SmartMeter.Business.Extractor;
using SmartMeter.Business.Interface;
using SmartMeter.Business.Interface.Extractor;
using SmartMeter.Business.Interface.Translator;
namespace SmartMeter.Business.Translator {
public class TranslatorService {
pub... | Add TODO to remove extracted file after translating it | Add TODO to remove extracted file after translating it
| C# | mit | jeroen-corsius/smart-meter |
59759fa069ab6b849c59afc9e080bab53955b4ab | Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs | Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.Input
{
public static class HandJointUtils
{
/// <summary>
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.Input
{
public static class HandJointUtils
{
/// <summary>
... | Update the TryGetJointPose docs to accurately describe the set of inputs it can take. | Update the TryGetJointPose docs to accurately describe the set of inputs it can take.
These functions only work if you pass in the specific Handedness.Left or Handedness.Right. They should be documented as such.
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity |
bdcf30b5d15df9639ecb607d58019e99f7689d56 | Kooboo.CMS/Kooboo.CMS.ModuleArea/Areas/Empty/ModuleAction.cs | Kooboo.CMS/Kooboo.CMS.ModuleArea/Areas/Empty/ModuleAction.cs | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Sites.Extension.ModuleArea;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Kooboo.CMS.... | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Sites.Extension.ModuleArea;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Kooboo.CMS.... | Update the Empty module template. | Update the Empty module template.
| C# | bsd-3-clause | jtm789/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,Kooboo/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,andyshao/CMS,jtm789/CMS,lingxyd/CMS,andyshao/CMS,Kooboo/CMS,techwareone/Kooboo-CMS,Kooboo/CMS,jtm789/CMS,andyshao/CMS |
188156e4900da193726b4d3797d8298641e8e993 | ExoWeb.UnitTests.Server/ExoWebTest.cs | ExoWeb.UnitTests.Server/ExoWebTest.cs | using ExoWeb;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using ExoWeb.Templates;
using System.IO;
using System.Linq;
namespace ExoWeb.UnitTests.Server
{
/// <summary>
///This is a test class for ExoWebTest and is intended
///to contain all ExoWebTest Unit Te... | using System;
using System.IO;
using System.Linq;
using ExoWeb.Templates.MicrosoftAjax;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExoWeb.UnitTests.Server
{
/// <summary>
///This is a test class for ExoWebTest and is intended
///to contain all ExoWebTest Unit Tests
///</summary>
[TestClass()]
... | Add using for Template class. | Add using for Template class.
| C# | mit | vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb |
5eb94f7e68be77e78b836f194daaa91e6e32d993 | osu.Game/Screens/Loader.cs | osu.Game/Screens/Loader.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Menu;
using OpenTK;
namespace osu.Game.Screens
{
public class Loader... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Menu;
using OpenTK;
using osu.Framework.Screens;
namespace osu.Game.Scree... | Fix loader pushing children screens before it is displayed itself | Fix loader pushing children screens before it is displayed itself
| C# | mit | ZLima12/osu,peppy/osu,Drezi126/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,naoey/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,EVAST9919/osu,Nabile-Rahmani/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,ZLima12/osu,NeoAdon... |
d9ae53f4ed36f6dd9917fda82e9d67b7acbc9fe6 | JustEnoughVi/Properties/AddinInfo.cs | JustEnoughVi/Properties/AddinInfo.cs | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.10"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[a... | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.11"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[a... | Bump dev version to v0.11 | Bump dev version to v0.11
| C# | mit | hifi/monodevelop-justenoughvi,fadookie/monodevelop-justenoughvi |
87db7843a843d3cf7f9ebe7d0e4f8283fa52b39a | DotNet/SocketLabs.OnDemand.Api/Program.cs | DotNet/SocketLabs.OnDemand.Api/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Xml.Linq;
namespace SocketLabs.OnDemand.Api
{
internal class Program
{
private static void Main(string[] args)
{
int accountId = 1000; // YOUR-ACCOUNT-ID
string userName = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Xml.Linq;
namespace SocketLabs.OnDemand.Api
{
internal class Program
{
private static void Main(string[] args)
{
int accountId = 1000; // YOUR-ACCOUNT-ID
string userName = ... | Change of domain name to api.socketlabs.com | Change of domain name to api.socketlabs.com | C# | mit | socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples |
95b132dc2ac39c50cf7f6172b3246d7748873878 | src/Dirtybase.App/Options/Validators/SqlOptionsValidator.cs | src/Dirtybase.App/Options/Validators/SqlOptionsValidator.cs | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
namespace Dirtybase.App.Options.Validators
{
class SqlOptionsValidator : IOptionsValidator
{
public Errors Errors(DirtyOptions options)
{
var errors = new Errors();
if(string.IsNullOrWhiteSpace(... | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
namespace Dirtybase.App.Options.Validators
{
class SqlOptionsValidator : IOptionsValidator
{
public Errors Errors(DirtyOptions options)
{
var errors = new Errors();
if(... | Make Check Connectionstring via builder generic | Refactor: Make Check Connectionstring via builder generic
| C# | mit | SneakyPeet/Dirtybase |
eb7336d193676ec91ba199bb116a728114f0c7a9 | Battery-Commander.Web/Program.cs | Battery-Commander.Web/Program.cs | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | Comment out logging for now? | Comment out logging for now?
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
f564e72d02968047f984277051e82ad49c6b93b7 | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
private const strin... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
priva... | Fix memory leak when using the SDL2 clipboard | Fix memory leak when using the SDL2 clipboard
| C# | mit | DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Dr... |
3e29d1f2dae4d1b2132010f90487aeeefb5b807b | FubarDev.FtpServer.FileSystem.GoogleDrive/BackgroundUpload.cs | FubarDev.FtpServer.FileSystem.GoogleDrive/BackgroundUpload.cs | //-----------------------------------------------------------------------
// <copyright file="BackgroundUpload.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//--------------------------------------------------... | //-----------------------------------------------------------------------
// <copyright file="BackgroundUpload.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//--------------------------------------------------... | Send data always as application/octet-stream | Send data always as application/octet-stream
| C# | mit | FubarDevelopment/FtpServer |
c476557f18d7dbc763ac7eef76630665f8ac9b16 | PrintNodePrinterCapabilities.cs | PrintNodePrinterCapabilities.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace PrintNode.Net
{
public class PrintNodePrinterCapabilities
{
[JsonProperty("bins")]
public IEnumerable<string> Bins { get; set; }
[JsonProperty("collate")]
public bool Collate { get; set; }
... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace PrintNode.Net
{
public class PrintNodePrinterCapabilities
{
[JsonProperty("bins")]
public IEnumerable<string> Bins { get; set; }
[JsonProperty("collate")]
public bool Collate { get; set; }
... | Add handling of null values in the Papers property | Add handling of null values in the Papers property | C# | mit | christianz/printnode-net |
9e07e1b68aa48a482cbfa869f36fed276a15b764 | src/Mockaroo.Core/Serialization/ISerializable.cs | src/Mockaroo.Core/Serialization/ISerializable.cs | using System.IO;
namespace Gigobyte.Mockaroo.Serialization
{
public interface ISerializable
{
Stream Serialize();
void Deserialize(Stream stream);
}
} | using System.IO;
namespace Gigobyte.Mockaroo.Serialization
{
public interface ISerializable
{
Stream Serialize();
void Deserialize(byte[] bytes);
void Deserialize(Stream stream);
}
} | Add new overload to the Deserialize method | Add new overload to the Deserialize method
| C# | mit | Ackara/Mockaroo.NET |
f94a46f6f5420daee4fd9dea21c55a0abf3d325f | src/MonoTorrent.Tests/ConnectionListenerTests.cs | src/MonoTorrent.Tests/ConnectionListenerTests.cs | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using MonoTorrent.Client;
using System.Net;
using System.Net.Sockets;
namespace MonoTorrent.Client.Tests
{
[TestFixture]
public class ConnectionListenerTests
{
private SocketListener listener;
private ... | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using MonoTorrent.Client;
using System.Net;
using System.Net.Sockets;
namespace MonoTorrent.Client.Tests
{
[TestFixture]
public class ConnectionListenerTests
{
//static void Main(string[] args)
//{
... | Update tests to pass with the new API. | Update tests to pass with the new API.
svn path=/trunk/bitsharp/; revision=114142
| C# | mit | dipeshc/BTDeploy |
caaa10c300774a02de895496f65c88f2c793aeef | src/RawRabbit/Context/AdvancedMessageContext.cs | src/RawRabbit/Context/AdvancedMessageContext.cs | using System;
namespace RawRabbit.Context
{
public class AdvancedMessageContext : IAdvancedMessageContext
{
public Guid GlobalRequestId { get; set; }
public Action Nack { get; set; }
}
}
| using System;
namespace RawRabbit.Context
{
public class AdvancedMessageContext : MessageContext, IAdvancedMessageContext
{
public Action Nack { get; set; }
}
}
| Make Advanced context inherit from normal context | Make Advanced context inherit from normal context
| C# | mit | pardahlman/RawRabbit,northspb/RawRabbit |
ea6e3938c039a27d29a13b17404fd8a582b197e7 | osu.Game.Rulesets.Osu/Objects/Spinner.cs | osu.Game.Rulesets.Osu/Objects/Spinner.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{
public cl... | // 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.Beatmaps;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{... | Fix hard crash due to spinner spin requirement being zero | Fix hard crash due to spinner spin requirement being zero
Resolves #2133. | C# | mit | smoogipoo/osu,johnneijzen/osu,Frontear/osuKyzer,2yangk23/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,ppy/osu,naoey/osu,peppy/osu-new,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,naoey/o... |
2ad993f0cc74ff50ab0f25c6b5a3f0ec8be2d394 | src/CodeMash.Notifications/Email/EmailService.cs | src/CodeMash.Notifications/Email/EmailService.cs | using System;
using System.Collections.Generic;
using CodeMash.Interfaces;
namespace CodeMash.Notifications.Email
{
public class EmailService : IEmailService
{
public ICodeMashSettings CodeMashSettings { get; set; }
public bool SendMail(string[] recipients, string templateName, Dictio... | using System;
using System.Collections.Generic;
using CodeMash.Interfaces;
namespace CodeMash.Notifications.Email
{
public class EmailService : IEmailService
{
public ICodeMashSettings CodeMashSettings { get; set; }
public bool SendMail(string[] recipients, string templateName, Dictio... | Check for NullReference - CodeMashSettings. | Check for NullReference - CodeMashSettings.
| C# | mit | codemash-io/CodeMash.Net |
5862250f2dff4a4fb9740a70713a179906b646b7 | NoAdsHere/Services/Penalties/DeleteMessageJob.cs | NoAdsHere/Services/Penalties/DeleteMessageJob.cs | using Quartz;
using System;
using System.Threading.Tasks;
using Discord;
using Microsoft.Extensions.DependencyInjection;
using NLog;
namespace NoAdsHere.Services.Penalties
{
public static class JobQueue
{
private static IScheduler _scheduler;
public static Task Install(IServiceProvider provid... | using Quartz;
using System;
using System.Threading.Tasks;
using Discord;
using Microsoft.Extensions.DependencyInjection;
using NLog;
namespace NoAdsHere.Services.Penalties
{
public static class JobQueue
{
private static IScheduler _scheduler;
public static Task Install(IServiceProvider provid... | Change the QueueTime to an hour again | Change the QueueTime to an hour again
| C# | mit | Nanabell/NoAdsHere |
20df2c6b77d9900fb7a49ff53db2cb4c18b2558e | Core/Theraot/Collections/Specialized/EnumerableFromDelegate.cs | Core/Theraot/Collections/Specialized/EnumerableFromDelegate.cs | // Needed for NET40
using System;
using System.Collections;
using System.Collections.Generic;
using Theraot.Core;
namespace Theraot.Collections.Specialized
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Justification = "By Design")]
public... | // Needed for NET40
using System;
using System.Collections;
using System.Collections.Generic;
using Theraot.Core;
namespace Theraot.Collections.Specialized
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Justification = "By Design")]
public... | Fix for Visual Studio 2008 | Fix for Visual Studio 2008
Visual Studio was unable to infer the generic type arguments
| C# | mit | theraot/Theraot |
fe79090225d58f7b20061399cbccd4ea0234183a | EDDiscovery/EliteDangerous/JournalEvents/JournalFileHeader.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalFileHeader.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
public class JournalFileHeader : JournalEntry
{
public JournalFileHeader(JObject evt ) : base(evt, JournalTypeEnum.FileHeader)
... | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
public class JournalFileHeader : JournalEntry
{
public JournalFileHeader(JObject evt ) : base(evt, JournalTypeEnum.FileHeader)
... | Add Beta property on FleaHeader event | Add Beta property on FleaHeader event
| C# | apache-2.0 | jthorpe4/EDDiscovery,vendolis/EDDiscovery,vendolis/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,jeoffman/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jeoffman/EDDiscovery |
9b9b9aa67042b5519cd0422afcd05bedc1617120 | src/Cielo/ICieloService.cs | src/Cielo/ICieloService.cs | using Cielo.Requests;
using Cielo.Responses;
namespace Cielo
{
public interface ICieloService
{
CreateTransactionResponse CreateTransaction(CreateTransactionRequest request);
CheckTransactionResponse CheckTransaction(CheckTransactionRequest request);
}
} | using Cielo.Requests;
using Cielo.Responses;
namespace Cielo
{
public interface ICieloService
{
CreateTransactionResponse CreateTransaction(CreateTransactionRequest request);
CheckTransactionResponse CheckTransaction(CheckTransactionRequest request);
CancelTransactionResponse CancelTra... | Add method CancelTransaction to service interface | Add method CancelTransaction to service interface
| C# | mit | lfreneda/Cielo |
c9c11e04712edd850d3d4e34e1436d96f28a824f | src/Firehose.Web/Authors/TommyMaynard.cs | src/Firehose.Web/Authors/TommyMaynard.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MikeFRobbins : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Tommy";... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class TommyMaynard : IAmACommunityMember
{
public string FirstName => "Tommy";
public ... | Correct errors in .cs file | Correct errors in .cs file | C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell |
c85552c0090dca7188366b61e6747b7e86a428a7 | AudioController/Assets/Source/AudioController.cs | AudioController/Assets/Source/AudioController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[RequireComponent(typeof(ObjectPool))]
public class AudioController : MonoBehaviour
{
#region Serialized Data
[SerializeField]
private GameObject _defaultPrefab;
#endregion
#region Private fields
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[RequireComponent(typeof(ObjectPool))]
public class AudioController : MonoBehaviour
{
#region Serialized Data
[SerializeField]
private GameObject _defaultPrefab;
#endregion
#region Private fields
... | Add impl method for Play. | Add impl method for Play.
| C# | mit | dimixar/audio-controller-unity |
cbfb94d18ec5c1c8d7e9acada95bcf9cec720f85 | CLR/tSQLt.Client.Net/Gateways/SqlServerGateway.cs | CLR/tSQLt.Client.Net/Gateways/SqlServerGateway.cs | using System;
using System.Data.SqlClient;
namespace tSQLt.Client.Net.Gateways
{
public interface ISqlServerGateway
{
string RunWithXmlResult(string query);
void RunWithNoResult(string query);
}
public class SqlServerGateway : ISqlServerGateway
{
pri... | using System;
using System.Data.SqlClient;
namespace tSQLt.Client.Net.Gateways
{
public interface ISqlServerGateway
{
string RunWithXmlResult(string query);
void RunWithNoResult(string query);
}
public class SqlServerGateway : ISqlServerGateway
{
pri... | Revert "Hack for new version of RunTextWithXmlResults which returns multiple results" | Revert "Hack for new version of RunTextWithXmlResults which returns multiple results"
This reverts commit ec4cab5ca645819b33c2dd8d50098b428fc27fb0.
| C# | apache-2.0 | GoEddie/tSQLt-Clients |
198cd9950d121927e5194939b0b331f1699e8031 | Kudu.TestHarness/ApplicationManagerExtensions.cs | Kudu.TestHarness/ApplicationManagerExtensions.cs | using System;
namespace Kudu.TestHarness
{
public static class ApplicationManagerExtensions
{
public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", string remoteBranchName = "master")
{
GitDeployment... | using System;
namespace Kudu.TestHarness
{
public static class ApplicationManagerExtensions
{
public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", string remoteBranchName = "master")
{
GitDeployment... | Rename client trace to git-push-date. | Rename client trace to git-push-date.
| C# | apache-2.0 | juvchan/kudu,kali786516/kudu,shrimpy/kudu,mauricionr/kudu,kenegozi/kudu,duncansmart/kudu,mauricionr/kudu,puneet-gupta/kudu,puneet-gupta/kudu,YOTOV-LIMITED/kudu,barnyp/kudu,kenegozi/kudu,puneet-gupta/kudu,juoni/kudu,WeAreMammoth/kudu-obsolete,bbauya/kudu,WeAreMammoth/kudu-obsolete,juvchan/kudu,badescuga/kudu,uQr/kudu,Ma... |
6ae778f1bd33c9ce60915eff6522323d0bda0707 | librato4net/AppSettingsLibratoSettings.cs | librato4net/AppSettingsLibratoSettings.cs | using System;
using System.Configuration;
namespace librato4net
{
public class AppSettingsLibratoSettings : ILibratoSettings
{
// ReSharper disable once InconsistentNaming
private static readonly AppSettingsLibratoSettings settings = new AppSettingsLibratoSettings();
private const str... | using System;
using System.Configuration;
namespace librato4net
{
public class AppSettingsLibratoSettings : ILibratoSettings
{
private const string DefaultApiEndPoint = "https://metrics-api.librato.com/v1/";
public AppSettingsLibratoSettings()
{
var _ = Username;
... | Read appSettings on construction to throw early. | Read appSettings on construction to throw early.
| C# | mit | plmwong/librato4net |
4ed14a295df2aeed952332c5084244331abc7b93 | osu.Game.Tests/Visual/UserInterface/TestSceneTwoLayerButton.cs | osu.Game.Tests/Visual/UserInterface/TestSceneTwoLayerButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Tests.Visual.UserInterface
{
[Description("mostly back button")]
public c... | // 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.Extensions.Color4Extensions;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
using osuTK.Graphics;
namespa... | Make TLB test scene test TLB and not back button | Make TLB test scene test TLB and not back button
| C# | mit | 2yangk23/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,ZLima12/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,Useless... |
b97ab7a9375fe5e3331346977f9195dea35ad010 | Source/Eto.Test/Eto.Test.Android/MainActivity.cs | Source/Eto.Test/Eto.Test.Android/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Eto.Forms;
namespace Eto.Test.Android
{
[Activity(Label = "Eto.Test.Android", MainLauncher = true)]
public class MainActivity : Activity
{
public class SimpleApplicati... | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Eto.Forms;
namespace Eto.Test.Android
{
[Activity(Label = "Eto.Test.Android", MainLauncher = true)]
public class MainActivity : Activity
{
public class SimpleApplicatio... | Use dynamic layout for simple app | Android: Use dynamic layout for simple app
| C# | bsd-3-clause | l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto |
886e47755d57a517ffb15c7e39c0a03c66068eb2 | Infusion.Injection.Avalonia/Scripts/ScriptServices.cs | Infusion.Injection.Avalonia/Scripts/ScriptServices.cs | using Infusion.Commands;
using Infusion.LegacyApi.Injection;
using InjectionScript.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infusion.Injection.Avalonia.Scripts
{
public class ScriptServices : IScriptServices
{
private readonly InjectionRu... | using Infusion.Commands;
using Infusion.LegacyApi.Injection;
using InjectionScript.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infusion.Injection.Avalonia.Scripts
{
public class ScriptServices : IScriptServices
{
private readonly InjectionRu... | Fix injection script loading from GUI. | Fix injection script loading from GUI.
| C# | mit | uoinfusion/Infusion |
e7d761bef4ae31e2a9483b781b2cb8975d336c15 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | Introduce OnNext + push result in | Introduce OnNext + push result in
| C# | mit | citizenmatt/ndc-london-2013 |
601d5d96c452b4f4ca40b535aeba721a5aea626c | Knockout.Binding.Sample/MainForm.cs | Knockout.Binding.Sample/MainForm.cs | using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using CefSharp;
using CefSharp.WinForms;
using Knockout.Binding.ExtensionMethods;
namespace Knockout.Binding.Sample
{
public partial class MainForm : Form
{
private readonly We... | using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using CefSharp;
using CefSharp.WinForms;
using Knockout.Binding.ExtensionMethods;
namespace Knockout.Binding.Sample
{
public partial class MainForm : Form
{
private readonly We... | Add a menu to make the dev tools not show up by default | Add a menu to make the dev tools not show up by default
| C# | mit | red-gate/Knockout.Binding |
93f6337cb40314f2450e36bb32dc7db53a36d777 | NuPack.Dialog/GlobalSuppressions.cs | NuPack.Dialog/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in t... | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in t... | Add supression for generated xaml class | Add supression for generated xaml class
--HG--
extra : rebase_source : 4c3bb4f12c4e333546b0eca536616e3bf8c33b7b
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
e2021f9b731f47d3f94b7493d858efd0a8ab3b62 | TeamTracker/SettingsLogin.aspx.cs | TeamTracker/SettingsLogin.aspx.cs | using System;
using System.Data.SqlClient;
using TeamTracker;
public partial class SettingsLogin : System.Web.UI.Page
{
//---------------------------------------------------------------------------
public static readonly string SES_SETTINGS_LOGGED_IN = "SesSettingsLoggedIn";
protected string DbConnectionStrin... | using System;
using System.Data.SqlClient;
using TeamTracker;
public partial class SettingsLogin : System.Web.UI.Page
{
//---------------------------------------------------------------------------
public static readonly string SES_SETTINGS_LOGGED_IN = "SesSettingsLoggedIn";
protected string DbConnectionStrin... | Add default setting it's missing. | Add default setting it's missing.
| C# | mit | grae22/TeamTracker |
99340c79acdeb643ec746c4b9d0a81f9d74e96da | VisualLinter/Tagging/LinterTag.cs | VisualLinter/Tagging/LinterTag.cs | using jwldnr.VisualLinter.Linting;
using Microsoft.VisualStudio.Text.Adornments;
using Microsoft.VisualStudio.Text.Tagging;
namespace jwldnr.VisualLinter.Tagging
{
internal class LinterTag : IErrorTag
{
public string ErrorType { get; }
public object ToolTipContent { get; }
internal L... | using jwldnr.VisualLinter.Linting;
using Microsoft.VisualStudio.Text.Adornments;
using Microsoft.VisualStudio.Text.Tagging;
namespace jwldnr.VisualLinter.Tagging
{
internal class LinterTag : IErrorTag
{
public string ErrorType { get; }
public object ToolTipContent { get; }
internal L... | Set error type depending on severity (squiggle color) | Set error type depending on severity (squiggle color)
| C# | mit | jwldnr/VisualLinter |
5d889c44315b25d41064ceecb2a4b94126c5e9ff | WindowPositions/WindowPosition.cs | WindowPositions/WindowPosition.cs | using LordJZ.WinAPI;
namespace WindowPositions
{
public class WindowPosition
{
public string Title { get; set; }
public string ClassName { get; set; }
public WindowPlacement Placement { get; set; }
public bool Matches(WindowDTO dto)
{
if (this.Title != nu... | using LordJZ.WinAPI;
namespace WindowPositions
{
public class WindowPosition
{
public string Title { get; set; }
public string ClassName { get; set; }
public WindowPlacement Placement { get; set; }
public bool Matches(WindowDTO dto)
{
if (this.Title != nu... | Apply window placement second time to override possible WM_DPICHANGED reaction | Apply window placement second time to override possible WM_DPICHANGED reaction
| C# | mit | LordJZ/WindowPositions |
b9581c5bf570112cd98f8f88e2767bd89cb2d574 | SlackUI/Handlers/BrowserMenuHandler.cs | SlackUI/Handlers/BrowserMenuHandler.cs | #region Copyright © 2014 Ricardo Amaral
/*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
*/
#endregion
using CefSharp;
namespace SlackUI {
internal class BrowserMenuHandler : IMenuHandler {
#region Internal Methods
/*
* Handle... | #region Copyright © 2014 Ricardo Amaral
/*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
*/
#endregion
using CefSharp;
namespace SlackUI {
internal class BrowserMenuHandler : IMenuHandler {
#region Public Methods
/*
* Handler ... | Fix region name and comments | Fix region name and comments
| C# | mit | rfgamaral/SlackUI |
902ed9cbeb087a4c7483517e20eb53d71685c64b | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using Dock.Model;
using ReactiveUI;
using System;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiDocumentTabViewModel : ViewModelBase, IDocumentTabViewModel
{
public WasabiDocumentTabViewModel(string titl... | using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using Dock.Model;
using ReactiveUI;
using System;
using System.Threading.Tasks;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiDocumentTabViewModel : ViewModelBase, IDocumentTabViewModel
{
public WasabiDo... | Add closed property to tab | Add closed property to tab
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
5447cd367f8fae8c226a4db7cc330c0bbda1068a | Swashbuckle.Dummy.Core/Controllers/AnnotatedTypesController.cs | Swashbuckle.Dummy.Core/Controllers/AnnotatedTypesController.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Http;
namespace Swashbuckle.Dummy.Controllers
{
public class AnnotatedTypesController : ApiController
{
public int Create(Payment payment)
{
throw new NotImplementedExcepti... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Http;
using System.Net.Http;
using System.Net;
namespace Swashbuckle.Dummy.Controllers
{
public class AnnotatedTypesController : ApiController
{
public int Create(Payment payment)
{
... | Add sample validation in dummy app | Add sample validation in dummy app
| C# | bsd-3-clause | xMarkos/Swashbuckle,VirtoCommerce/Swashbuckle,martincostello/Swashbuckle,yonglehou/Swashbuckle,jruckert/Swashbuckle,bigtlb/Swashbuckle,gliljas/Swashbuckle,partychen/Swashbuckle,bdhess/Swashbuckle,kredinor/Swashbuckle,tareq-s/Swashbuckle,Cussa/Swashbuckle,replaysMike/Swashbuckle,VirtoCommerce/Swashbuckle,kredinor/Swashb... |
bd0d6eb2f24c6683fae50be19dc0feb1b42c1c99 | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)">Sign in / Register</a... | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)">Sign in</a>
<... | Make it just 'sign in' instead of 'sign in / register' | Make it just 'sign in' instead of 'sign in / register'
| C# | apache-2.0 | JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,skbkontur/NuGetGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,ScottShingler/Nu... |
bf22f1adcb4c5ccec40d389189a593a842481ba2 | src/PowerBridge/Internal/IPowerShellCommandParameterProvider.cs | src/PowerBridge/Internal/IPowerShellCommandParameterProvider.cs | using System;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace PowerBridge.Internal
{
internal interface IPowerShellCommandParameterProvider
{
string[] GetDefaultParameterSetParameterNames(string command);
}
internal cl... | using System;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace PowerBridge.Internal
{
internal interface IPowerShellCommandParameterProvider
{
string[] GetDefaultParameterSetParameterNames(string command);
}
internal cl... | Fix for "PSInvalidOperationException: Nested pipeline should run only from a running pipeline." when using PowerShell v3 | Fix for "PSInvalidOperationException: Nested pipeline should run only from a running pipeline." when using PowerShell v3
| C# | mit | rafd123/PowerBridge |
911507291788745f1fc90f4824455b2698408186 | osu.Game/Tests/FlakyTestAttribute.cs | osu.Game/Tests/FlakyTestAttribute.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 NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retry count unless env... | // 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 NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retry count unless env... | Fix flaky tests not running at all with environment variable set | Fix flaky tests not running at all with environment variable set
| C# | mit | ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu |
a64914b9a54895b1d6e8b2ea280b859aa963dfb5 | LinkedData/Formatters/UriToDynamicUrlFormatter.cs | LinkedData/Formatters/UriToDynamicUrlFormatter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinkedData.Helpers;
using Sitecore.Links;
using VDS.RDF;
namespace LinkedData.Formatters
{
public class UriToDynamicUrlFormatter : ITripleFormatter
{
public Triple FormatTriple(Tri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinkedData.Helpers;
using Sitecore.Links;
using VDS.RDF;
namespace LinkedData.Formatters
{
public class UriToDynamicUrlFormatter : ITripleFormatter
{
public Triple FormatTriple(Tri... | Revert "Fixed formatter which changes Uri to Url which was creating subject as a literal which made it difficult to do do related queries such as the following:" | Revert "Fixed formatter which changes Uri to Url which was creating subject as a literal which made it difficult to do do related queries such as the following:"
SELECT ?p2 ?o2 WHERE { <http://sitecorelinkeddata/sitecore/shell/Leagues/2014/07/01/17/12/La%20Liga> ?p ?o . ?o ?p2 ?o2 .}
| C# | mit | Adamsimsy/Sitecore.LinkedData |
f34b2bfd41afca4bd61a7e7a00fb412f209b7044 | src/WtsApi32.Desktop/WtsApi32+WTS_SESSION_INFO.cs | src/WtsApi32.Desktop/WtsApi32+WTS_SESSION_INFO.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Collections.Generic;
using System.L... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Collections.Generic;
using System.L... | Fix marshalling of Winstation name | Fix marshalling of Winstation name
| C# | mit | vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke |
9e6b38666a117f05b117712870e386273fd77424 | Fukami.Unity3D/Assets/Scripts/Plant/Seed.cs | Fukami.Unity3D/Assets/Scripts/Plant/Seed.cs | using UnityEngine;
using System.Collections;
using Fukami.Helpers;
public class Seed : MonoBehaviour
{
public string Dna;
void Start(){
var dnaAsset = Resources.Load<TextAsset>("dna");
Dna = dnaAsset.text.Replace("\n","*");
}
void OnSeedDnaStringRequested (Wrap<string> dna)
{
dna.Value = Dna;
d... | using UnityEngine;
using System.Collections;
using Fukami.Helpers;
public class Seed : MonoBehaviour
{
public string Dna;
void Start(){
var dnaAsset = Resources.Load<TextAsset>("dna");
Dna = dnaAsset.text.Replace("\r\n","*");
}
void OnSeedDnaStringRequested (Wrap<string> dna)
{
dna.Value = Dna;
... | Fix for Dna parsing: line endings | Fix for Dna parsing: line endings
| C# | mit | homoluden/fukami,homoluden/fukami,homoluden/fukami |
3b680e9463f86243458e278bb22d6d480da62676 | CSharp/Library/Microsoft.Bot.Connector/Properties/AssemblyInfo.cs | CSharp/Library/Microsoft.Bot.Connector/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Microsoft.Bot.Connector")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Microsoft.Bot.Connector")]
[assembly: Ass... | Update assembly info for nuget 3.3 release | Update assembly info for nuget 3.3 release
| C# | mit | stevengum97/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,xiangyan99/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,yakumo/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBu... |
05390cbe26ef9d348411266452b06ffe22ad80b9 | src/Microsoft.Diagnostics.Runtime/src/Debugger/Structs/DebugStackFrameEx.cs | src/Microsoft.Diagnostics.Runtime/src/Debugger/Structs/DebugStackFrameEx.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.InteropServices;
namespace Microsoft.Diagnostics.Runtime.Interop
{
[StructLayout(LayoutKi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.InteropServices;
namespace Microsoft.Diagnostics.Runtime.Interop
{
[StructLayout(LayoutKi... | Fix a problem with 'fixed' variables due to cleanup | Fix a problem with 'fixed' variables due to cleanup
| C# | mit | Microsoft/clrmd,Microsoft/clrmd,cshung/clrmd,cshung/clrmd |
d9be5a2f6840d6b03ed85cad41afbb941c80ccbb | Espera.Network/PushAction.cs | Espera.Network/PushAction.cs | namespace Espera.Network
{
public enum PushAction
{
UpdateAccessPermission = 0,
UpdateCurrentPlaylist = 1,
UpdatePlaybackState = 2,
UpdateRemainingVotes = 3,
UpdateCurrentPlaybackTime = 4
}
} | namespace Espera.Network
{
public enum PushAction
{
UpdateAccessPermission = 0,
UpdateCurrentPlaylist = 1,
UpdatePlaybackState = 2,
UpdateRemainingVotes = 3,
UpdateCurrentPlaybackTime = 4,
UpdateGuestSystemInfo = 5
}
} | Add the guest system info as push action | Add the guest system info as push action
| C# | mit | flagbug/Espera.Network |
9d25dfa7a3085835b88a5e997b4d9d79d4448b66 | PalasoUIWindowsForms.Tests/WritingSystems/Tree/WritingSystemTreeItemTests.cs | PalasoUIWindowsForms.Tests/WritingSystems/Tree/WritingSystemTreeItemTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Palaso.UI.WindowsForms.WritingSystems;
using Palaso.WritingSystems;
namespace PalasoUIWindowsForms.Tests.WritingSystems
{
[TestFixture]
public class WritingSystemTreeItemTests
{
[Test, Ignore("Not... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Palaso.UI.WindowsForms.WritingSystems;
using Palaso.WritingSystems;
namespace PalasoUIWindowsForms.Tests.WritingSystems
{
[TestFixture, Ignore("Not Yet")]
public class WritingSystemTreeItemTests
{
... | Move ignore up to fixture to kick off new full build for windows and mono. | Move ignore up to fixture to kick off new full build for windows and mono.
| C# | mit | sillsdev/libpalaso,darcywong00/libpalaso,chrisvire/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,marksvc/libpalaso,hatton/libpalaso,hatton/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,mark... |
cc365896c520515b2f83081ed022972ffd120d94 | EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs | EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace EvilDICOM.Core.Helpers
{
public static class Constants
{
public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1";
public static string EVIL_DICOM... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace EvilDICOM.Core.Helpers
{
public static class Constants
{
public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1";
public static string EVIL_DICOM... | Use AssemblyName constructor to retrieve assembly version | Use AssemblyName constructor to retrieve assembly version
| C# | mit | cureos/Evil-DICOM |
612b14b79456e2b54f552027dafedc7598884500 | Assets/Scripts/GameMasterController.cs | Assets/Scripts/GameMasterController.cs | using UnityEngine;
using System;
using System.Collections;
using UniRx;
/*
3) Manage players (network: connect/disconnect, game creation, etc.)
*/
public class GameMasterController : MonoBehaviour {
public IntReactiveProperty PlayerOneScore { get; protected set; }
public IntReactiveProperty PlayerTwoScore { get;... | using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
using UniRx;
/*
3) Manage players (network: connect/disconnect, game creation, etc.)
*/
public class GameMasterController : MonoBehaviour {
private int _startTime = 0;
public IntReactiveProperty PlayerOneScore { get; protected set... | Add score displays to GameMaster | Add score displays to GameMaster
| C# | mit | jnissin/Air-Hockey,jnissin/Air-Hockey |
2469c51d7f79530427513ea338adaaa28928d817 | Meridium.EPiServer.Migration/Support/SourcePage.cs | Meridium.EPiServer.Migration/Support/SourcePage.cs | using System.Linq;
using EPiServer.Core;
namespace Meridium.EPiServer.Migration.Support {
public class SourcePage {
public string TypeName { get; set; }
public PropertyDataCollection Properties { get; set; }
public TValue GetValue<TValue>(string propertyName, TValue @default = default(TVal... | using System.Linq;
using EPiServer.Core;
namespace Meridium.EPiServer.Migration.Support {
public class SourcePage {
public string TypeName { get; set; }
public PropertyDataCollection Properties { get; set; }
public TValue GetValue<TValue>(string propertyName, TValue @default = default(TVal... | Handle empty properties on fallback | Handle empty properties on fallback
When a property exists but value is null or empty, the next value is
evaluated.
| C# | mit | meridiumlabs/episerver.migration |
7161c53760d3d4d45a371a08d691c2202e16869b | Trunk/GameEngine/Actors/SprinterMonster.cs | Trunk/GameEngine/Actors/SprinterMonster.cs | using System;
using System.Collections.Generic;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Actors
{
internal class SprinterMonster : Monster
{
public SprinterMonster(string name, Point p, int maxHP, int vision, DiceRoll damage, double defense, double evade, double ctIncreaseModi... | using System;
using System.Collections.Generic;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Actors
{
internal class SprinterMonster : Monster
{
public SprinterMonster(string name, Point p, int maxHP, int vision, DiceRoll damage, double defense, double evade, double ctIncreaseModi... | Fix similar "can see but can't path" crash on sprinters. | Fix similar "can see but can't path" crash on sprinters.
| C# | bsd-2-clause | jeongroseok/magecrawl,AndrewBaker/magecrawl |
69834cbbae0345b9abe00d3a1ef0a0a883379630 | src/Authentication.JwtBearer.Google/JwtBearerOptionsExtensions.cs | src/Authentication.JwtBearer.Google/JwtBearerOptionsExtensions.cs | using System;
using Hellang.Authentication.JwtBearer.Google;
using Microsoft.AspNetCore.Authentication.JwtBearer;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection
{
public static class JwtBearerOptionsExtensions
{
public static JwtBearerOptions UseGoogle(this... | using System;
using Hellang.Authentication.JwtBearer.Google;
using Microsoft.AspNetCore.Authentication.JwtBearer;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection
{
public static class JwtBearerOptionsExtensions
{
public static JwtBearerOptions UseGoo... | Use a different authentication type | Use a different authentication type
| C# | mit | khellang/Middleware,khellang/Middleware |
1552a94fbbe970b7fa08888df6ca8959ffc04650 | CertiPay.Payroll.Common/CalculationType.cs | CertiPay.Payroll.Common/CalculationType.cs | using System.Collections.Generic;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Identifies the method to calculate the result
/// </summary>
public enum CalculationType
{
/// <summary>
/// Deduction is taken as a percentage of the gross pay
/// </summary>
Pe... | using System.Collections.Generic;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Identifies the method to calculate the result
/// </summary>
public enum CalculationType
{
// TODO: We might implement some other calculation methods as needed?
// Percent of Special Earnings: S... | Add comment about other calculation methods | Add comment about other calculation methods
| C# | mit | mattgwagner/CertiPay.Payroll.Common |
763b6ba9441f0f9b98e673a9764d359332f6e484 | AlgorithmsAndDataStructures/AlgorithmsAndDataStructures/Program.cs | AlgorithmsAndDataStructures/AlgorithmsAndDataStructures/Program.cs | using System;
using AlgorithmsAndDataStructures.LinkedList;
namespace AlgorithmsAndDataStructures
{
class Program
{
static void Main(string[] args)
{
// +-----+------+
// | 3 | null +
// +-----+------+
Node first = new Node {Value... | using System;
using AlgorithmsAndDataStructures.LinkedList;
namespace AlgorithmsAndDataStructures
{
class Program
{
static void Main(string[] args)
{
// AT FIRST USE THE .NET FRAMEWORK LINKEDLIST CLASS
System.Collections.Generic.LinkedList<int> list = new System.Collect... | Add the usage of the .net linked list as an example for comparison in the outcomes | Add the usage of the .net linked list as an example for comparison in the outcomes
| C# | mit | mszczepaniak/Algorithms |
dd228cae71b7a48c69f1c61f994278a7541e04f0 | Battery-Commander.Web/Views/ABCP/List.cshtml | Battery-Commander.Web/Views/ABCP/List.cshtml | @model IEnumerable<ABCP>
<h2>ABCP @Html.ActionLink("Add New", "New", "ABCP", null, new { @class = "btn btn-default" })</h2>
<table class="table table-striped">
<thead>
<tr>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var model in Model)
{
<tr>
... | @model IEnumerable<ABCP>
<h2>ABCP @Html.ActionLink("Add New", "New", "ABCP", null, new { @class = "btn btn-default" })</h2>
<table class="table table-striped">
<thead>
<tr>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var model in Model)
{
<tr>
... | Add icon for needs measure | Add icon for needs measure
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
2575a876d21f6ea9ed13efd4a88373e655ff6d5b | WalletWasabi.Gui/ViewModels/ViewModelBase.cs | WalletWasabi.Gui/ViewModels/ViewModelBase.cs | using Newtonsoft.Json;
using ReactiveUI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using WalletWasabi.Gui.ViewModels.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels
{
public class View... | using Newtonsoft.Json;
using ReactiveUI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using WalletWasabi.Gui.ViewModels.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels
{
public class View... | Use yield return instead of allocating new list. | Use yield return instead of allocating new list.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
bedb8025cb38edec0dc20efe2c04e4557293eb72 | osu!StreamCompanion/Code/Modules/MapDataGetters/TcpSocket/TcpSocketSettings.cs | osu!StreamCompanion/Code/Modules/MapDataGetters/TcpSocket/TcpSocketSettings.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Misc;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Tc... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Misc;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Tc... | Fix checkbox change not raising settings update | Fix checkbox change not raising settings update
| C# | mit | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion |
47f44c36c305834ff9c0faed63f702add2f4827e | Games/Unity/Oxide.Game.HideHoldOut/HideHoldOutPlugin.cs | Games/Unity/Oxide.Game.HideHoldOut/HideHoldOutPlugin.cs | using Oxide.Core;
using Oxide.Core.Plugins;
using Oxide.Game.HideHoldOut.Libraries;
namespace Oxide.Plugins
{
public abstract class HideHoldOutPlugin : CSharpPlugin
{
protected Command cmd;
protected HideHoldOut h2o;
public override void SetPluginInfo(string name, string path)
... | using System.Reflection;
using Oxide.Core;
using Oxide.Core.Plugins;
using Oxide.Game.HideHoldOut.Libraries;
namespace Oxide.Plugins
{
public abstract class HideHoldOutPlugin : CSharpPlugin
{
protected Command cmd;
protected HideHoldOut h2o;
public override void SetPluginInfo(string n... | Fix not compiling, missing import | [HideHoldOut] Fix not compiling, missing import
| C# | mit | Nogrod/Oxide-2,Visagalis/Oxide,bawNg/Oxide,LaserHydra/Oxide,bawNg/Oxide,LaserHydra/Oxide,Visagalis/Oxide,Nogrod/Oxide-2 |
907404e2ad44fd67c0572b38af1b7b050325c5bb | Tailor/Options.cs | Tailor/Options.cs | using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tailor
{
public class Options
{
[Option('a', "appDir", DefaultValue = "app", HelpText = "Directory app is placed in")]
public... | using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tailor
{
public class Options
{
[Option('a', "appDir", Required = true, HelpText = "Directory app is placed in")]
public stri... | Make Params required (not default) | Make Params required (not default)
| C# | apache-2.0 | stefanschneider/windows_app_lifecycle,cloudfoundry/windows_app_lifecycle,cloudfoundry-incubator/windows_app_lifecycle |
33ee0db799a3b01444af2fc53aab51fe4a97747e | Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUser.cs | Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUser.cs | namespace TraktApiSharp.Objects.Get.Users
{
using Newtonsoft.Json;
using System;
public class TraktUser
{
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
[JsonProperty(PropertyName = "private")]
public bool? Private { get; set; }
... | namespace TraktApiSharp.Objects.Get.Users
{
using Newtonsoft.Json;
using System;
/// <summary>A Trakt user.</summary>
public class TraktUser
{
/// <summary>Gets or sets the user's username.</summary>
[JsonProperty(PropertyName = "username")]
public string Username { get; se... | Add get best id method for user. | Add get best id method for user.
| C# | mit | henrikfroehling/TraktApiSharp |
ed793c62b7632515d082a63e724b6fa104d4ad1e | src/Ocelog/LogEvent.cs | src/Ocelog/LogEvent.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Ocelog
{
public enum LogLevel
{
Info,
Warn,
Error
}
public class LogEvent
{
private List<string> _tags = new List<string>();
private List<object> _fields= new List<object>();
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Ocelog
{
public enum LogLevel
{
Info,
Warn,
Error
}
public class LogEvent
{
private ConcurrentQueue<string> _tags = new ConcurrentQueue<string>();
... | Make tags and fields more thread safe. | Make tags and fields more thread safe.
| C# | mit | Ocelog/Ocelog |
e0ee2a553375e3ab7460ac3716b280ef577d04eb | osu.Game/Screens/Edit/Setup/RulesetSetupSection.cs | osu.Game/Screens/Edit/Setup/RulesetSetupSection.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.Localisation;
using osu.Game.Rulesets;
namespace osu.Game.Screens.Edit.Setup
{
public abstract class RulesetSetupSection : SetupSection
{
... | // 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.Localisation;
using osu.Game.Rulesets;
namespace osu.Game.Screens.Edit.Setup
{
public abstract class RulesetSetupSection : SetupSection
{
... | Change section title to read better | Change section title to read better
| C# | mit | ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu |
e6db8e3b70a910474a3ad9204de947168081d8a0 | ControlFlow.Test/TryTest.cs | ControlFlow.Test/TryTest.cs | using System;
using Xunit;
namespace ControlFlow.Test
{
public class TryTest
{
[Fact]
public void Fail()
{
throw new Exception();
}
}
}
| using System;
using Xunit;
namespace ControlFlow.Test
{
public class TryTest
{
[Fact]
public void Pass()
{
}
}
}
| Switch failing test to passing tests (AppVeyor now successfully running xunit tests and failing the build on failing test) | Switch failing test to passing tests (AppVeyor now successfully running xunit tests and failing the build on failing test)
| C# | mit | spritely/Redo |
068ca4ee3d4d64830364a8381f82039ac3203dca | lib/Bugsnag.Common/StacktraceLineParser.cs | lib/Bugsnag.Common/StacktraceLineParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Bugsnag.Common
{
public class StacktraceLineParser
{
public string ParseFile(string line)
{
throw new NotImplementedEx... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Bugsnag.Common
{
public class StacktraceLineParser
{
Regex _fileRegex = new Regex("\\) [^ ]+ (.+):");
public string ParseFile(stri... | Implement parser to get tests passing | fix: Implement parser to get tests passing
| C# | mit | awseward/Bugsnag.NET,awseward/Bugsnag.NET |
8f83a8e4c2cf7805f76a1093541042569b3d8f26 | Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs | Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs | using System;
using System.Collections.Generic;
using Xamarin;
namespace Espera.Core.Analytics
{
internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint
{
private bool isInitialized;
public void Dispose()
{
// Xamarin Insights can only be terminated if it has been sta... | using System;
using System.Collections.Generic;
using Xamarin;
namespace Espera.Core.Analytics
{
internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint
{
private bool isInitialized;
public void Dispose()
{
// Xamarin Insights can only be terminated if it has been sta... | Set "isInitialized" to true, or we don't terminate the analytics | Set "isInitialized" to true, or we don't terminate the analytics
| C# | mit | punker76/Espera,flagbug/Espera |
563fcf428a50e46b156cb1597edb473b9aa7922c | src/GameData/GameData.cs | src/GameData/GameData.cs | using PrepareLanding.Presets;
namespace PrepareLanding.GameData
{
public class GameData
{
/// <summary>
/// Holds definitions (see <see cref="Verse.Def"/>) from game.
/// </summary>
public DefData DefData { get; }
/// <summary>
/// Data specific to a si... | using PrepareLanding.Presets;
namespace PrepareLanding.GameData
{
public class GameData
{
/// <summary>
/// Holds definitions (see <see cref="Verse.Def"/>) from game.
/// </summary>
public DefData DefData { get; }
/// <summary>
/// Data specific to a si... | Move the preset manager ctor instanciation to PrepareLanding. | Move the preset manager ctor instanciation to PrepareLanding.
| C# | mit | neitsa/PrepareLanding,neitsa/PrepareLanding |
255e0fdb42b34f936e2d71f45a57ef8422a2ba1c | source/icu.net/Properties/AssemblyInfo.cs | source/icu.net/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("icu.... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("icu.... | Add an explanatory comment about why the AssemblyVersion and AssemblyFileVersion are different. | Add an explanatory comment about why the AssemblyVersion and
AssemblyFileVersion are different.
| C# | mit | conniey/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,conniey/icu-dotnet |
32a09e650a182507705390277865db81b1fcfbd7 | Web.UI.Tests/SimpleSteps.cs | Web.UI.Tests/SimpleSteps.cs | using System;
using TechTalk.SpecFlow;
using Xunit;
namespace Web.UI.Tests
{
[Binding]
public class SimpleSteps
{
private static int MarblesCount;
[Given(@"I have (.*) marbles")]
public void GivenIHaveMarbles(int count)
{
MarblesCount = count;
}
... | using System;
using TechTalk.SpecFlow;
using Xunit;
namespace Web.UI.Tests
{
[Binding]
public class SimpleSteps
{
private static int MarblesCount;
[Given(@"I have (.*) marbles")]
public void GivenIHaveMarbles(int count)
{
MarblesCount = count;
}
... | Throw for negative count of marbles condition | Throw for negative count of marbles condition
| C# | mit | kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium |
4b6d42c7e890bcd797535fc6c5203e4fc70112aa | osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.OnlinePlay;
namespace osu.Game.Tests.Visual.Multiplayer
{
public class TestSce... | // 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.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Overlays.Mods;
using osu.Game.Screens.Onlin... | Add assertion covering free mod selection mod validity filter | Add assertion covering free mod selection mod validity filter
| C# | mit | ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu |
7a51583155a0b58aa8bdb4632b379cc8a612807c | src/Abc.Zebus/Transport/ZmqSocketOptions.cs | src/Abc.Zebus/Transport/ZmqSocketOptions.cs | using System;
using Abc.Zebus.Util;
namespace Abc.Zebus.Transport
{
public class ZmqSocketOptions
{
public ZmqSocketOptions()
{
ReadTimeout = 300.Milliseconds();
SendHighWaterMark = 20000;
SendTimeout = 100.Milliseconds();
SendRetriesBeforeSwitch... | using System;
using Abc.Zebus.Util;
namespace Abc.Zebus.Transport
{
public class ZmqSocketOptions
{
public ZmqSocketOptions()
{
ReadTimeout = 300.Milliseconds();
SendHighWaterMark = 20000;
SendTimeout = 100.Milliseconds();
SendRetriesBeforeSwitch... | Increase default receive high-water mark | Increase default receive high-water mark
| C# | mit | Abc-Arbitrage/Zebus |
7727882ddcf9e510448a569758845c0c2fdd88a0 | DotNext.RockAndRoll.UnitTests/MusicianTestCase.cs | DotNext.RockAndRoll.UnitTests/MusicianTestCase.cs | using Xunit;
using Xunit.Extensions;
namespace DotNext.RockAndRoll.UnitTests
{
public class MusicianTestCase
{
[Theory]
[InlineData("foo", "bar", "foo bar")]
[InlineData("bar", "baz", "bar baz")]
[InlineData("baz", "qux", "baz qux")]
public void FullName_Always_ShouldRe... | using Xunit;
using Xunit.Extensions;
namespace DotNext.RockAndRoll.UnitTests
{
public class MusicianTestCase
{
[Theory]
[InlineData("foo", "bar")]
[InlineData("bar", "baz")]
[InlineData("baz", "qux")]
public void FullName_Always_ShouldReturnConcatenationOfNames(
... | Add some robustness to FullName test | Add some robustness to FullName test
| C# | mit | valmaev/mocks-stubs-rocknroll |
c568427aefa341628490b2470a87ccb26f04bde4 | EntityData/Migrations/MyDbContextConfiguration.cs | EntityData/Migrations/MyDbContextConfiguration.cs | // -----------------------------------------------------------------------
// <copyright file="Configuration.cs" company="">
// Copyright 2014 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.Data.Entity.Migrations;
using System.Linq;... | // -----------------------------------------------------------------------
// <copyright file="Configuration.cs" company="">
// Copyright 2014 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.Data.Entity.Migrations;
using System.Linq;... | Allow automatic migration with data loss for the metadata db. | Allow automatic migration with data loss for the metadata db.
| C# | bsd-3-clause | underwater/qdms,underwater/qdms,qusma/qdms,leo90skk/qdms,Jumaga2015/qdms,KBurov/qdms,leo90skk/qdms,qusma/qdms |
1343e510ecb32e9b888b9dd3ef22b14cd6ef68e0 | ITATools/ITATools/ViewModel/MainWindowViewModel.cs | ITATools/ITATools/ViewModel/MainWindowViewModel.cs | using Calendar_Converter.ViewModel;
using MVVMObjectLibrary;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ITATools.ViewModel
{
public class MainWindowViewModel : ViewM... | using Calendar_Converter.ViewModel;
using MVVMObjectLibrary;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ITATools.ViewModel
{
public class MainWindowViewModel : ViewM... | Revert "Making Adjustments for implementation" | Revert "Making Adjustments for implementation"
This reverts commit 3248bea193474b14277fe439233f4cb898ea8286.
| C# | apache-2.0 | WSUGlobalCampusITAs/ITA_Tools |
855c8cb207f17f963ae57a504458078106399791 | nUpdate.WithoutTAP/UpdateEventArgs/UpdateSearchFinishedEventArgs.cs | nUpdate.WithoutTAP/UpdateEventArgs/UpdateSearchFinishedEventArgs.cs | // Copyright © Dominic Beger 2017
using System;
namespace nUpdate.UpdateEventArgs
{
/// <summary>
/// Provides data for the <see cref="UpdateManager.UpdateSearchFinished" />-event.
/// </summary>
public class UpdateSearchFinishedEventArgs : EventArgs
{
/// <summary>
/// In... | // Copyright © Dominic Beger 2017
using System;
using nUpdate.Updating;
namespace nUpdate.UpdateEventArgs
{
/// <summary>
/// Provides data for the <see cref="UpdateManager.UpdateSearchFinished" />-event.
/// </summary>
public class UpdateSearchFinishedEventArgs : EventArgs
{
/// <sum... | Fix unresolved reference to UpdaetManager in the documentation | Fix unresolved reference to UpdaetManager in the documentation
| C# | mit | ProgTrade/nUpdate,ProgTrade/nUpdate |
5dece914bb51433bdc7e4fc7bdff1c8b92db5ecb | Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs | Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// The purpose of this class is to provide a cached reference to the main camera. Calling Ca... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// The purpose of this class is to provide a cached reference to the main camera. Calling Ca... | Disable resharper suggestions for return | Disable resharper suggestions for return
| C# | mit | HattMarris1/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,paseb/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,willcong/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,ForrestTrepte/HoloToolkit-Unity |
d840a95b8854f0b3b673397a3680475668ed61b4 | DesktopWidgets/Widgets/PictureSlideshow/Settings.cs | DesktopWidgets/Widgets/PictureSlideshow/Settings.cs | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.PictureSlideshow
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 384;
Style.Height = 216;
}
[Category(... | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.PictureSlideshow
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 384;
Style.Height = 216;
}
[Category(... | Change "Slideshow" "Max File Size" option default value | Change "Slideshow" "Max File Size" option default value
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
cadda3f78610f6258e625b89d48bad4544439211 | src/NHibernate/Engine/IMapping.cs | src/NHibernate/Engine/IMapping.cs | using System;
using NHibernate.Type;
namespace NHibernate.Engine {
/// <summary>
/// Defines operations common to "compiled" mappings (ie. <c>SessionFactory</c>) and
/// "uncompiled" mappings (ie <c>Configuration</c> that are used by implementors of <c>IType</c>
/// </summary>
public interface Mapping {
IType G... | using System;
using NHibernate.Type;
namespace NHibernate.Engine {
/// <summary>
/// Defines operations common to "compiled" mappings (ie. <c>SessionFactory</c>) and
/// "uncompiled" mappings (ie <c>Configuration</c> that are used by implementors of <c>IType</c>
/// </summary>
public interface IMapping {
IType ... | Correct class name. Was Mapping | Correct class name. Was Mapping
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@29
| C# | lgpl-2.1 | nkreipke/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhiberna... |
7257e151d4e6d4d4e4e93585961e57dfbe214ae4 | src/StockportWebapp/Views/stockportgov/Shared/SignUpAlerts.cshtml | src/StockportWebapp/Views/stockportgov/Shared/SignUpAlerts.cshtml | <section class="sign-up-alert">
<form action="/subscribe?EmailAlertsTopicId=@ViewData["SignUpAlertsTopicIdTopicId"]" method="POST">
<label for="emailAddress">Sign up to receive our news and email alerts in your inbox</label>
<input type="email" name="emailAddress" id="emailAddress" placeholder="Ent... | <section class="sign-up-alert">
<form action="/subscribe?EmailAlertsTopicId=@ViewData["SignUpAlertsTopicIdTopicId"]" method="POST">
<label for="emailAddress">Sign up to receive our news and email alerts in your inbox</label>
<input type="email" name="emailAddress" id="emailAddress" placeholder="Ent... | Add button-primary-white class to button | feature(SignUpAlert): Add button-primary-white class to button
| C# | mit | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp |
52f144e8ff22edaecc088732fd26b870c3e12008 | MultiMiner.Coinchoose.Api/ApiContext.cs | MultiMiner.Coinchoose.Api/ApiContext.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Coinchoose.Api
{
public static class ApiContext
{
public static List<CoinInformation> GetCoinInformation()
{
WebClient client = new WebClient();
string jso... | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Coinchoose.Api
{
public static class ApiContext
{
public static List<CoinInformation> GetCoinInformation()
{
WebClient client = new WebClient();
const stri... | Add a specific user-agent to CoinChoose.com requests | Add a specific user-agent to CoinChoose.com requests
| C# | mit | IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner |
4fce25801df86acc2443f896e7759138a6f6d3b5 | src/AppHarbor.Tests/TypeNameMatcherTest.cs | src/AppHarbor.Tests/TypeNameMatcherTest.cs | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class TypeNameMatcherTest
{
interface IFoo
{
}
class Foo : IFoo { }
[Fact]
public void ShouldThrowIfInitializedWithUnnasignableType()
{
var exception = Assert.Throws<ArgumentExc... | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class TypeNameMatcherTest
{
interface IFoo
{
}
class Foo : IFoo { }
private static Type FooType = typeof(Foo);
[Fact]
public void ShouldThrowIfInitializedWithUnnasignableType()
... | Move foo type to static member | Move foo type to static member
| C# | mit | appharbor/appharbor-cli |
ee1a65702e5442cafdfd7e8eccff7f7522d0912d | VotingSystem.Web/Views/Polls/All.cshtml | VotingSystem.Web/Views/Polls/All.cshtml | @using Kendo.Mvc.UI
@using VotingSystem.Web.ViewModels.Polls
@model List<PublicActivePollsViewModel>
@{
ViewBag.Title = "All Public Polls";
}
<h1>@ViewBag.Title</h1>
@(Html.Kendo().Grid(Model)
.Name("pollGrid")
.Columns(col =>
{
col.Bound(poll => poll.Id).Hidden();
... | @using Kendo.Mvc.UI
@using VotingSystem.Web.ViewModels.Polls
@model List<PublicActivePollsViewModel>
@{
ViewBag.Title = "All Public Polls";
}
<h1>@ViewBag.Title</h1>
@(Html.Kendo().Grid(Model)
.Name("pollGrid")
.Columns(col =>
{
col.Bound(poll => poll.Id).Hidden();
... | Add link to kendo grid title | Add link to kendo grid title | C# | mit | KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.