commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
24446f5e2b456e23a312bb82e52cdf407539759e | Update documentation on InvalidSpecificationException | shana/libgit2sharp,xoofx/libgit2sharp,oliver-feng/libgit2sharp,Skybladev2/libgit2sharp,red-gate/libgit2sharp,GeertvanHorrik/libgit2sharp,rcorre/libgit2sharp,mono/libgit2sharp,whoisj/libgit2sharp,jorgeamado/libgit2sharp,libgit2/libgit2sharp,github/libgit2sharp,shana/libgit2sharp,psawey/libgit2sharp,mono/libgit2sharp,dls... | LibGit2Sharp/InvalidSpecificationException.cs | LibGit2Sharp/InvalidSpecificationException.cs | using System;
using System.Runtime.Serialization;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// The exception that is thrown when a provided specification is bad. This
/// can happen if the provided specification is syntactically incorrect, or
/// if the spec refers to an object o... | using System;
using System.Runtime.Serialization;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// The exception that is thrown when the provided specification is syntactically incorrect.
/// </summary>
[Serializable]
public class InvalidSpecificationException : LibGit2SharpExcep... | mit | C# |
163f79af21f01e22bde3338f35e690b4c4a633c6 | Make RemoveConfigCommand public | appharbor/appharbor-cli | src/AppHarbor/Commands/RemoveConfigCommand.cs | src/AppHarbor/Commands/RemoveConfigCommand.cs | using System;
namespace AppHarbor.Commands
{
public class RemoveConfigCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public RemoveConfigCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient ... | using System;
namespace AppHarbor.Commands
{
class RemoveConfigCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public RemoveConfigCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient appharb... | mit | C# |
b0f20a64656c93e885551496deb25f1bccff183a | Make TrayView to a real Tray | mans0954/f-spot,mono/f-spot,Sanva/f-spot,mans0954/f-spot,dkoeb/f-spot,Yetangitu/f-spot,mans0954/f-spot,mono/f-spot,GNOME/f-spot,dkoeb/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,Sanva/f-spot,Sanva/f-spot,mono/f-spot,mans0954/f-spot,GNOME/f-spot,dko... | src/Clients/MainApp/FSpot.Widgets/TrayView.cs | src/Clients/MainApp/FSpot.Widgets/TrayView.cs | /*
* TrayView.cs
*
* Author(s):
* Larry Ewing <lewing@novell.com>
* Mike Gemuende <mike@gemuende.de>
*
* Copyright (C) 2004 Novell, Inc.
* Copyright (C) 2010 Mike Gemuende
*
* This is free software. See COPYING for details.
*/
using Gdk;
using Gtk;
using FSpot.Core;
namespace FSpot.Widgets
{
/// <s... | /*
* TrayView.cs
*
* Author(s):
* Larry Ewing <lewing@novell.com>
*
*
* Copyright (C) 2004 Novell, Inc.
* This is free software. See COPYING for details.
*/
using FSpot.Core;
namespace FSpot.Widgets
{
public class TrayView : IconView {
public TrayView (System.IntPtr raw) : base (raw) {}
public TrayVie... | mit | C# |
f85f10ffd2e2629cd636c64dee7a6850517ed8b4 | Tweak DiscordHttpApiException message | BundledSticksInkorperated/Discore | src/Discore/Http/DiscordHttpApiException.cs | src/Discore/Http/DiscordHttpApiException.cs | using System.Net;
using System.Text;
namespace Discore.Http
{
/// <summary>
/// An exception representing an error sent by the Discord HTTP API.
/// </summary>
public class DiscordHttpApiException : DiscoreException
{
/// <summary>
/// Gets the custom Discord HTTP error code.
... | using System.Net;
using System.Text;
namespace Discore.Http
{
/// <summary>
/// An exception representing an error sent by the Discord HTTP API.
/// </summary>
public class DiscordHttpApiException : DiscoreException
{
/// <summary>
/// Gets the custom Discord HTTP error code.
... | mit | C# |
0dac9420caaa6048a24bcd1ee1301415ba259226 | Fix DataContext/ViewModel property sync. | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.UI.Reactive/Controls/ViewBase.cs | src/GitHub.UI.Reactive/Controls/ViewBase.cs | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Automation.Peers;
using GitHub.ViewModels;
using ReactiveUI;
using System.Reactive.Linq;
namespace GitHub.UI
{
/// <summary>
/// Base class for views.
/// </summary>
public class ViewBase<TInterface, TImplementor> ... | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Automation.Peers;
using GitHub.ViewModels;
using ReactiveUI;
namespace GitHub.UI
{
/// <summary>
/// Base class for views.
/// </summary>
public class ViewBase<TInterface, TImplementor> : UserControl, IViewFor<TInt... | mit | C# |
0c6dbf9bf988ccec1d73257c2363dd0717e672b4 | Fix bad CanBeArrested statement | MoyTW/MTW_AncestorSpirits | Source/MTW_AncestorSpirits/Detouring/GenAI.cs | Source/MTW_AncestorSpirits/Detouring/GenAI.cs | using RimWorld;
using Verse;
using Source = Verse.AI.GenAI;
using System.Reflection;
namespace MTW_AncestorSpirits.Detouring
{
static class GenAI
{
[Detour(typeof(Source), bindingFlags = BindingFlags.Public | BindingFlags.Static)]
public static bool CanBeArrested(this Pawn pawn)
{
... | using RimWorld;
using Verse;
using Source = Verse.AI.GenAI;
using System.Reflection;
namespace MTW_AncestorSpirits.Detouring
{
static class GenAI
{
[Detour(typeof(Source), bindingFlags = BindingFlags.Public | BindingFlags.Static)]
public static bool CanBeArrested(this Pawn pawn)
{
... | mit | C# |
eec96b85498e2f7a33739dd90af2f292389bc67d | Fix Google Suggestion crash on network error | JohnTheGr8/Wox,dstiert/Wox,dstiert/Wox,medoni/Wox,vebin/Wox,yozora-hitagi/Saber,derekforeman/Wox,Megasware128/Wox,jondaniels/Wox,danisein/Wox,shangvven/Wox,kdar/Wox,mika76/Wox,18098924759/Wox,gnowxilef/Wox,Launchify/Launchify,derekforeman/Wox,apprentice3d/Wox,18098924759/Wox,qianlifeng/Wox,18098924759/Wox,gnowxilef/Wox... | Wox.Plugin.System/SuggestionSources/Google.cs | Wox.Plugin.System/SuggestionSources/Google.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Wox.Infrastructure;
using YAMP.Numerics;
namespace Wox.Plugin.System.SuggestionSources
{
public cla... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Wox.Infrastructure;
using YAMP.Numerics;
namespace Wox.Plugin.System.SuggestionSources
{
public cla... | mit | C# |
ef90be72ca02d797f67345db03990fbc18486716 | Optimize ProfilingActionFilter | MiniProfiler/dotnet,MiniProfiler/dotnet | src/MiniProfiler.Mvc/ProfilingActionFilter.cs | src/MiniProfiler.Mvc/ProfilingActionFilter.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
namespace StackExchange.Profiling.Mvc
{
/// <summary>
/// This filter can be applied globally to hook up automatic action profiling
/// </summary>
public class ProfilingActionFilter : ActionFilterAttribute
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace StackExchange.Profiling.Mvc
{
/// <summary>
/// This filter can be applied globally to hook up automatic action profiling
/// </summary>
public class ProfilingActionFilter : ActionFilte... | mit | C# |
7fc565fe0bc7e4cc7d4781ea816b11d2d5cd2220 | Update ILoggingSetup.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Logging/ILoggingSetup.cs | TIKSN.Core/Analytics/Logging/ILoggingSetup.cs | using Microsoft.Extensions.Logging;
namespace TIKSN.Analytics.Logging
{
public interface ILoggingSetup
{
void Setup(ILoggingBuilder loggingBuilder);
}
} | namespace TIKSN.Analytics.Logging
{
public interface ILoggingSetup
{
void Setup();
}
} | mit | C# |
7c62921308632de603e3409f1880784f8cabda1f | Update ReturnScript.cs | textadventures/quest,textadventures/quest,textadventures/quest,textadventures/quest | WorldModel/WorldModel/Scripts/ReturnScript.cs | WorldModel/WorldModel/Scripts/ReturnScript.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TextAdventures.Quest.Functions;
namespace TextAdventures.Quest.Scripts
{
public class ReturnScriptConstructor : ScriptConstructorBase
{
public override string Keyword
{
get { ret... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TextAdventures.Quest.Functions;
namespace TextAdventures.Quest.Scripts
{
public class ReturnScriptConstructor : ScriptConstructorBase
{
public override string Keyword
{
get { ret... | mit | C# |
d7ee5d6774cdd5e42a0f8d23084ab9e53067506b | add custom headers to sendgrid | riganti/infrastructure | src/Infrastructure/Riganti.Utils.Infrastructure.Services.SendGrid/Mailing/SendGridMailSender.cs | src/Infrastructure/Riganti.Utils.Infrastructure.Services.SendGrid/Mailing/SendGridMailSender.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Threading.Tasks;
using Riganti.Utils.Infrastructure.Services.Mailing;
using SendGrid;
namespace Riganti.Utils.Infrastructure.Services.SendGrid.Mailing
{
public class SendGridMailSender : IMailSe... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Threading.Tasks;
using Riganti.Utils.Infrastructure.Services.Mailing;
using SendGrid;
namespace Riganti.Utils.Infrastructure.Services.SendGrid.Mailing
{
public class SendGridMailSender : IMailSe... | apache-2.0 | C# |
e66b65679c5c1e39a5c6531b04a70e3bc98303ee | Add various vector methos | spriest487/spacetrader-utils | UnityExtensions.cs | UnityExtensions.cs | using UnityEngine;
namespace SpaceTrader.Util {
public static class UnityExtensions {
public static Vector2 XY(this Vector3 vector3) {
return new Vector2(vector3.x, vector3.y);
}
public static Vector2 XZ(this Vector3 vector3) {
return new Vector2(vector3.x, vector3... | using UnityEngine;
namespace SpaceTrader.Util {
public static class UnityExtensions {
public static Vector2 XY(this Vector3 vector3) {
return new Vector2(vector3.x, vector3.y);
}
public static Vector2 XZ(this Vector3 vector3) {
return new Vector2(vector3.x, vector3... | mit | C# |
35d57e0cc8bd3c9519ad79fdfddcd37d90658d44 | Convert to auto properties | Yetangitu/f-spot,dkoeb/f-spot,mans0954/f-spot,Sanva/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,mono/f-spot,dkoeb/f-spot,mono/f-spot,Sanva/f-spot,NguyenMatthieu/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,mans0954/f-spot,dkoeb/f-spot,mono/f-spot,Sanva/f-spot,GNOME... | src/Core/FSpot.Core/FSpot.Core/DbItem.cs | src/Core/FSpot.Core/FSpot.Core/DbItem.cs | //
// DbItem.cs
//
// Author:
// Stephane Delcroix <sdelcroix@src.gnome.org>
// Ruben Vermeersch <ruben@savanne.be>
// Stephen Shaw <sshaw@decriptor.com>
//
// Copyright (C) 2008-2010 Novell, Inc.
// Copyright (C) 2008 Stephane Delcroix
// Copyright (C) 2009-2010 Ruben Vermeersch
//
// Permission is hereby grante... | //
// DbItem.cs
//
// Author:
// Stephane Delcroix <sdelcroix@src.gnome.org>
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (C) 2008-2010 Novell, Inc.
// Copyright (C) 2008 Stephane Delcroix
// Copyright (C) 2009-2010 Ruben Vermeersch
//
// Permission is hereby granted, free of charge, to any person obtaini... | mit | C# |
5d963538f10c3d2df30a1de6c1ed829343fdb1c1 | add headers for forwarding | lAnubisl/PostTrack,lAnubisl/PostTrack,lAnubisl/PostTrack | Posttrack.Web/Startup.cs | Posttrack.Web/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Posttrack.BLL;
using Posttrack.BLL.Helpers.Implementations;
using Posttrack.B... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Posttrack.BLL;
using Posttrack.BLL.Helpers.Implementations;
using Posttrack.BLL.Helpers.Interfaces;
using Posttrack.BLL... | apache-2.0 | C# |
096480e2989dea51fade168ee3d7442585710d9c | Add CodeCOmponents to Obs | ADAPT/ADAPT | source/ADAPT/Documents/Obs.cs | source/ADAPT/Documents/Obs.cs | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | epl-1.0 | C# |
4ed6929dd2029265a03638d723e835ddf75bb19e | Add XML cmments | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | src/framework/Constraints/ReusableConstraint.cs | src/framework/Constraints/ReusableConstraint.cs | using System;
namespace NUnit.Framework.Constraints
{
/// <summary>
/// ReusableConstraint wraps a constraint expression after
/// resolving it so that it can be reused consistently.
/// </summary>
public class ReusableConstraint : IResolveConstraint
{
private Constraint constraint;
... | using System;
namespace NUnit.Framework.Constraints
{
public class ReusableConstraint : IResolveConstraint
{
private Constraint constraint;
public ReusableConstraint(IResolveConstraint c)
{
this.constraint = c.Resolve();
}
public static implicit operator R... | mit | C# |
541d90630159b01891fcd34252ac27e4f9c98151 | Add serialize loop handling to prevent crashing for circular loops | lothrop/MvvmCross-Plugins,MatthewSannes/MvvmCross-Plugins,Didux/MvvmCross-Plugins,martijn00/MvvmCross-Plugins | Cirrious/Json/Cirrious.MvvmCross.Plugins.Json/MvxJsonConverter.cs | Cirrious/Json/Cirrious.MvvmCross.Plugins.Json/MvxJsonConverter.cs | // MvxJsonConverter.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
using System.Collections.Ge... | // MvxJsonConverter.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
using System.Collections.Generic;
u... | mit | C# |
02e013512cc528afdf05c07b9a8a08d9f6275e67 | Create an instance of Game | 12joan/hangman | hangman.cs | hangman.cs | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
Game game = new Game();
Console.WriteLine("Made a new Game object");
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| unlicense | C# |
c315c6f7b821a66e8c72593d93d50fdc5c23e810 | Bring up-to-date with method changes | peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework/IO/Stores/TimedExpiryGlyphStore.cs | osu.Framework/IO/Stores/TimedExpiryGlyphStore.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.
// 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.... | // 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.
// 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.... | mit | C# |
737e6a3ea7a54b22bfd0277e17d810cfdd8ce1c3 | Add options to force decline/cancel | Kerbas-ad-astra/CapCom,DMagic1/CapCom | Source/CapComSettings.cs | Source/CapComSettings.cs | #region license
/*The MIT License (MIT)
CapComSettings - Serializable object to store configuration options in an external file
Copyright (c) 2015 DMagic
KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework
Permission is hereby granted, free of charge, to a... | using CapCom.Framework;
using UnityEngine;
namespace CapCom
{
public class CapComSettings : CC_ConfigNodeStorage
{
[Persistent]
public bool stockToolbar = true;
[Persistent]
public bool hideBriefing = false;
[Persistent]
public bool hideNotes = false;
[Persistent]
public bool showDeclineWarning = tr... | mit | C# |
5c6ab75c091acef05db8c67edc4137e80375e7a5 | update nuget package version | lfreneda/AssertProperties | src/AssertProperties/Properties/AssemblyInfo.cs | src/AssertProperties/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("As... | 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("As... | mit | C# |
028f4dad80e8dc4df3fab4b9dfcae4e1ac875c88 | fix api url | LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore | src/EthereumApi/Controllers/ClientController.cs | src/EthereumApi/Controllers/ClientController.cs | using System.Threading.Tasks;
using Core.Exceptions;
using EthereumApi.Models;
using EthereumApiSelfHosted.Models;
using Microsoft.AspNetCore.Mvc;
using Services;
namespace EthereumApi.Controllers
{
[Route("api/client")]
[Produces("application/json")]
public class ClientController : Controller
{
... | using System.Threading.Tasks;
using Core.Exceptions;
using EthereumApi.Models;
using EthereumApiSelfHosted.Models;
using Microsoft.AspNetCore.Mvc;
using Services;
namespace EthereumApi.Controllers
{
[Route("api/client")]
[Produces("application/json")]
public class ClientController : Controller
{
... | mit | C# |
a349292fc2a0e557ceca584d1a078dd35c3f526f | Update Program.cs (#240) | kubernetes-client/csharp,kubernetes-client/csharp | examples/patch/Program.cs | examples/patch/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using k8s;
using k8s.Models;
using Microsoft.AspNetCore.JsonPatch;
namespace patch
{
internal class Program
{
private static void Main(string[] args)
{
var config = KubernetesClientConfiguration.BuildConfigFromConfig... | using System;
using System.Collections.Generic;
using System.Linq;
using k8s;
using k8s.Models;
using Microsoft.AspNetCore.JsonPatch;
namespace patch
{
internal class Program
{
private static void Main(string[] args)
{
var config = KubernetesClientConfiguration.BuildConfigFromConfig... | apache-2.0 | C# |
0a31b399f76c21be99c3c4c7e799b68795e2d4e2 | Revise datatypes for Timestamps and WordConfidence. | watson-developer-cloud/dotnet-standard-sdk,watson-developer-cloud/dotnet-standard-sdk | src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/SpeechRecognitionAlternative.cs | src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/SpeechRecognitionAlternative.cs | /**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | /**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | apache-2.0 | C# |
1394387d4360452de29f154320f0c0555538fbad | Move the backgroundtask runner into Initialize method to follow same practise as SchedulerComponent | robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,ar... | src/Umbraco.Web/Telemetry/TelemetryComponent.cs | src/Umbraco.Web/Telemetry/TelemetryComponent.cs | using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Web.Scheduling;
namespace Umbraco.Web.Telemetry
{
public class TelemetryComponent : IComponent
{
private IProfilingLogger _logger;
private IRuntimeState _runtime;
private BackgroundTaskRunner<IB... | using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Web.Scheduling;
namespace Umbraco.Web.Telemetry
{
public class TelemetryComponent : IComponent
{
private IProfilingLogger _logger;
private IRuntimeState _runtime;
private BackgroundTaskRunner<IB... | mit | C# |
c5054a74589069f6cfe3e1052e93cec3659d7c4b | test commit | YangEricLiu/Pop,YangEricLiu/Pop | src/Web/WebHost/Controllers/ValuesController.cs | src/Web/WebHost/Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebHost.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
//test
public IEnumerable<string> Get()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebHost.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new... | apache-2.0 | C# |
78861202b69e0fbe4455666b850c638f4fab809c | Test change | csim/cream,csim/cream | Cream.Test/ProgramTest.cs | Cream.Test/ProgramTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Fakes;
using Microsoft.QualityTools.Testing.Fakes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cream.Test
{
[TestClass]
public class ProgramTest : TestBase
{
[TestMethod]
public void TestMeth... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Fakes;
using Microsoft.QualityTools.Testing.Fakes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cream.Test
{
[TestClass]
public class ProgramTest : TestBase
{
[TestMethod]
public void TestMeth... | mit | C# |
ed69c034929a3983502d41084595eabc36e87f5f | Fix .NET 3.5 build error | SaladLab/TrackableData,SaladbowlCreative/TrackableData,SaladbowlCreative/TrackableData,SaladLab/TrackableData | core/TrackableData-Json/TrackableContainerTrackerJsonConverter.cs | core/TrackableData-Json/TrackableContainerTrackerJsonConverter.cs | using System;
using System.Reflection;
using Newtonsoft.Json;
namespace TrackableData.Json
{
public class TrackableContainerTrackerJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(IContainerTracker).IsAssignableFrom(objectType);
... | using System;
using System.Reflection;
using Newtonsoft.Json;
namespace TrackableData.Json
{
public class TrackableContainerTrackerJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(IContainerTracker).IsAssignableFrom(objectType);
... | mit | C# |
99aaed45300de73d11d3a2d8f9e81c603f237ce5 | Rename test | kei10in/KipSharp | Kip.Tests/ElementTests.cs | Kip.Tests/ElementTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Xunit;
namespace Kip.Tests
{
public class ElementTests
{
static readonly XName someName1 = "SomeName1";
[Fact]
public void ThrowsExceptionWh... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Xunit;
namespace Kip.Tests
{
public class ElementTests
{
static readonly XName someName1 = "SomeName1";
[Fact]
public void ThrowsExceptionWh... | mit | C# |
502af8048b3da250c6eca684849e2e38cf4f5bf2 | Add comment. | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/Core/Ipc/IpcStreamOverNetworkStream.cs | src/Core/Ipc/IpcStreamOverNetworkStream.cs | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Net.Sockets;
using VsChromium.Core.Ipc.ProtoBuf;
namespace VsChromium.Core.Ipc {
public class IpcStreamOverNetwork... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Net.Sockets;
using VsChromium.Core.Ipc.ProtoBuf;
namespace VsChromium.Core.Ipc {
public class IpcStreamOverNetwork... | bsd-3-clause | C# |
4709129ee821e19309c7fe673b01021b90f71e72 | Update PixelPerfectCamera.cs | UnityCommunity/UnityLibrary | Assets/Scripts/2D/Camera/PixelPerfectCamera.cs | Assets/Scripts/2D/Camera/PixelPerfectCamera.cs | // pixel perfect camera helpers, from old unity 2D tutorial videos
// source: https://www.youtube.com/watch?v=rMCLWt1DuqI
using UnityEngine;
namespace UnityLibrary
{
[ExecuteInEditMode]
public class PixelPerfectCamera : MonoBehaviour
{
public float pixelsToUnits = 100;
Camera cam;
... | using UnityEngine;
// pixel perfect camera helpers, from old unity 2D tutorial videos
[ExecuteInEditMode]
public class PixelPerfectCamera : MonoBehaviour {
public float pixelsToUnits = 100;
void Start ()
{
GetComponent<Camera>().orthographicSize = Screen.height / pixelsToUnits / 2;
}
}
| mit | C# |
64fd1aedddaa860bd25c30efa57382da8db4ef9d | add application insights | ferreirix/restratp | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace restratp
{
public class Program
{
public static void Main(string[] args)
{
var host = ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace restratp
{
public class Program
{
public static void Main(string[] args)
{
var host = ... | mit | C# |
4071939cbe33e7f40d7ff63f79445cfed92a9699 | Use correct table width | 12joan/hangman | Program.cs | Program.cs | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
var game = new Game("HANG THE MAN");
var width = Math.Min(81, Console.WindowWidth);
var spacing = 2;
string titleText = File.ReadAllText("title.txt");
object[] title... | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
var game = new Game("HANG THE MAN");
var width = 50;
var spacing = 2;
string titleText = File.ReadAllText("title.txt");
object[] titleCell = {titleText, Cell.CentreA... | unlicense | C# |
c4656a009611a4b1ea317ece14b7a885a19fcc62 | Update copyright year. | paulyoder/LinqToExcel | src/LinqToExcel/Properties/AssemblyInfo.cs | src/LinqToExcel/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("Lin... | 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("Li... | mit | C# |
1d9f39aadfb07c52c32adf3b057012c33239e383 | Make 'StringHelper' internal. | eealeivan/mixpanel-csharp | src/Mixpanel/Mixpanel/Misc/StringHelper.cs | src/Mixpanel/Mixpanel/Misc/StringHelper.cs |
using System;
using System.Linq;
namespace Mixpanel.Misc
{
internal static class StringHelper
{
public static bool IsNullOrWhiteSpace(this String value)
{
#if NET35
return value == null || value.All(Char.IsWhiteSpace);
#else
return string.IsNullOrWhiteSpace(value);
#en... |
using System;
using System.Linq;
namespace Mixpanel.Misc
{
public static class StringHelper
{
public static bool IsNullOrWhiteSpace(this String value)
{
#if NET35
return value == null || value.All(Char.IsWhiteSpace);
#else
return string.IsNullOrWhiteSpace(value);
#endi... | mit | C# |
ef822b5d34e8a67a6c6ec1774017f7f2eb53296c | Improve performance of FileSystemNameComparer. | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/Server/FileSystemNames/FileSystemNameComparer.cs | src/Server/FileSystemNames/FileSystemNameComparer.cs | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Collections.Generic;
using VsChromium.Core.FileNames;
namespace VsChromium.Server.FileSystemNames {
public class F... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Collections.Generic;
using VsChromium.Core.FileNames;
namespace VsChromium.Server.FileSystemNames {
#if true
publ... | bsd-3-clause | C# |
cfa4fbfdeb7c9eb7c0a77e83d807d873a047e066 | Fix api response success detection (sometimes body contains response, no +OK | danbarua/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket,pragmatrix/NEventSocket | src/NEventSocket/FreeSwitch/ApiResponse.cs | src/NEventSocket/FreeSwitch/ApiResponse.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ApiResponse.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// -------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ApiResponse.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// -------------------------------------------... | mpl-2.0 | C# |
be65d41d9d77c19244c8cc82e286f7562fd0884f | Use elvis operator. | kekekeks/Perspex,kekekeks/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,DavidKarlas/Perspex,ncarrillo/Perspex,AvaloniaUI/Avalonia,danwalmsley/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Supe... | src/Perspex.Diagnostics/ViewModels/DevToolsViewModel.cs | src/Perspex.Diagnostics/ViewModels/DevToolsViewModel.cs | // -----------------------------------------------------------------------
// <copyright file="DevToolsViewModel.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.D... | // -----------------------------------------------------------------------
// <copyright file="DevToolsViewModel.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.D... | mit | C# |
a1849e42c9356cbaba1beca1db249e5bdf491c86 | Fix documentation typo | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/System/IProcessFeatures.cs | src/Tgstation.Server.Host/System/IProcessFeatures.cs | using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.System
{
/// <summary>
/// Abstraction for suspending and resuming processes.
/// </summary>
interface IProcessFeatures
{
/// <summary>
/// Get the name of the user executing a given <paramref name="process"/>.
/// </summ... | using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.System
{
/// <summary>
/// Abstraction for suspending and resuming processes.
/// </summary>
interface IProcessFeatures
{
/// <summary>
/// Get the name of the user executing a given <paramref name="process"/>.
/// </summ... | agpl-3.0 | C# |
06162d7d0ab3723ae847f3e8b3b4f1f25d28104a | exit matcher when cannot register with partitioner | tmichel/thesis | Applications/DMT.Matcher.Module/MatcherModule.cs | Applications/DMT.Matcher.Module/MatcherModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DMT.Matcher.Module.Helper;
using DMT.Matcher.Module.Partition;
namespace DMT.Matcher.Module
{
public class MatcherModule
{
private static readonly NLog.Logger logger = NLog.LogMana... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DMT.Matcher.Module.Helper;
using DMT.Matcher.Module.Partition;
namespace DMT.Matcher.Module
{
public class MatcherModule
{
#region static instance
private static MatcherMo... | mit | C# |
ad88f8bd2897c543e1deb2f0191d4e8f05096416 | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
| mit | C# |
f2b74c6595564547c00672980312d74bd9d31b94 | Set version to 1.2.1 | simplicbe/Simplic.Dlr,simplicbe/Simplic.Dlr | src/Simplic.Dlr/Properties/AssemblyInfo.cs | src/Simplic.Dlr/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
ce001749a82ca66a6e88e33a0f1535f924127c9e | Add order by to standards and frameworks | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Infrastructure/Services/ApprenticeshipInfoService.cs | src/SFA.DAS.Commitments.Infrastructure/Services/ApprenticeshipInfoService.cs | using System.Linq;
using System.Threading.Tasks;
using SFA.DAS.Commitments.Application.Interfaces;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities.TrainingProgramme;
using SFA.DAS.Commitments.Domain.Interfaces;
namespace SFA.DAS.Commitments.Infrastructure.Services
{
public class A... | using System.Linq;
using System.Threading.Tasks;
using SFA.DAS.Commitments.Application.Interfaces;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities.TrainingProgramme;
using SFA.DAS.Commitments.Domain.Interfaces;
namespace SFA.DAS.Commitments.Infrastructure.Services
{
public class A... | mit | C# |
a3c6947082f4528195be354e669b4c764f4f9416 | Remove space | dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,Kevi... | src/Umbraco.Core/PropertyEditors/ValueConverters/EyeDropperValueConverter.cs | src/Umbraco.Core/PropertyEditors/ValueConverters/EyeDropperValueConverter.cs | using System;
using Umbraco.Cms.Core.Models.PublishedContent;
using Umbraco.Extensions;
namespace Umbraco.Cms.Core.PropertyEditors.ValueConverters
{
[DefaultPropertyValueConverter]
public class EyeDropperValueConverter : PropertyValueConverterBase
{
public override bool IsConverter(IPublishedProper... | using System;
using Umbraco.Cms.Core.Models.PublishedContent;
using Umbraco.Extensions;
namespace Umbraco.Cms.Core.PropertyEditors.ValueConverters
{
[DefaultPropertyValueConverter]
public class EyeDropperValueConverter : PropertyValueConverterBase
{
public override bool IsConverter(IPublishedProper... | mit | C# |
649e2017b9fd989e20c33ba43cc6cf95dec7a5a8 | Update Ninject scanning. | ddonahue/MagicBus,ddonahue/MagicBus | MagicBus.Example.Ninject/Program.cs | MagicBus.Example.Ninject/Program.cs | using System;
using Ninject;
using Ninject.Extensions.Conventions;
using Ninject.Planning.Bindings.Resolvers;
namespace MagicBus.Example.Ninject
{
class Program
{
static void Main()
{
var bus = BootstrapBus();
var command = new TestCommand {Number = 42};
bus.Send(command);
var @eve... | using System;
using Ninject;
using Ninject.Extensions.Conventions;
using Ninject.Planning.Bindings.Resolvers;
namespace MagicBus.Example.Ninject
{
class Program
{
static void Main()
{
var bus = BootstrapBus();
var command = new TestCommand {Number = 42};
bus.Send(command);
var @eve... | mit | C# |
a9fc78a1e7e5f6eb0b80d28849b2c0fcbc1ed5d9 | Use new style embed for vimeo links and made it https. | mogulTest1/MogulVerifyIssue5,MogulTestOrg2/JabbrApp,mogulTest1/Project91404,MogulTestOrg2/JabbrApp,ClarkL/1323on17jabbr-,mogulTest1/Project91404,meebey/JabbR,mogulTest1/Project91101,kudutest/FaizJabbr,Org1106/Project13221113,ClarkL/new09,mogulTest1/Project13171106,mogulTest1/Project91009,KuduApps/TestDeploy123,CrankyTR... | JabbR/ContentProviders/VimeoContentProvider.cs | JabbR/ContentProviders/VimeoContentProvider.cs | using System.Collections.Generic;
using System.Text.RegularExpressions;
using JabbR.ContentProviders.Core;
namespace JabbR.ContentProviders
{
public class VimeoContentProvider : EmbedContentProvider
{
private static readonly Regex _vimeoIdRegex = new Regex(@"(\d+)");
protected override Regex ... | using System.Collections.Generic;
using System.Text.RegularExpressions;
using JabbR.ContentProviders.Core;
namespace JabbR.ContentProviders
{
public class VimeoContentProvider : EmbedContentProvider
{
private static readonly Regex _vimeoIdRegex = new Regex(@"(\d+)");
protected override Regex ... | mit | C# |
c9b4fa92f57b6c6023cbedb9c43aa846b1c7b855 | Hide in-game cursor manually in the testbrowser | smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Tournament.Tests/TournamentTestBrowser.cs | osu.Game.Tournament.Tests/TournamentTestBrowser.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.Testing;
using osu.Game.Graphics;
using osu.Game.Graphics.Backgrounds;
namespace osu.Game.Tournament.Tests
{
public class TournamentTestBrowser :... | // 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.Testing;
using osu.Game.Graphics;
using osu.Game.Graphics.Backgrounds;
namespace osu.Game.Tournament.Tests
{
public class TournamentTestBrowser :... | mit | C# |
57d38c5c74c956e36920f43de95a4af9c11a0f9d | Add final newline | EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new | osu.Game/Graphics/Backgrounds/BeatmapBackground.cs | osu.Game/Graphics/Backgrounds/BeatmapBackground.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Textures;
using osu.Game.Beatmaps;
namespace osu.Game.Graphics.Backgrounds
{
public class BeatmapBackgro... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Textures;
using osu.Game.Beatmaps;
namespace osu.Game.Graphics.Backgrounds
{
public class BeatmapBackgro... | mit | C# |
7334d7dce8dfe9b3dd687d591fa91693d868d82e | Update to new account numbers | ermshiperete/TntMPDConverter,ermshiperete/TntMPDConverter | Account.cs | Account.cs | using System;
namespace TntMPDConverter
{
public class Account : State
{
private int m_AccountNo;
public Account(Scanner reader) : base(reader)
{
IsValid = true;
}
public static bool IsAccount(string line)
{
string[] textArray1 = line.Split(new[] { '\t' });
if (textArray1.Length != 4)
{
... | using System;
namespace TntMPDConverter
{
public class Account : State
{
private int m_AccountNo;
public Account(Scanner reader) : base(reader)
{
IsValid = true;
}
public static bool IsAccount(string line)
{
string[] textArray1 = line.Split(new[] { '\t' });
if (textArray1.Length != 4)
{
... | mit | C# |
ad50067fefbb596b6d730221ff3db945bd943994 | revert StringBuilder in HexEncoder | dangershony/NStratis,stratisproject/NStratis,you21979/NBitcoin,lontivero/NBitcoin,HermanSchoenfeld/NBitcoin,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,MetacoSA/NBitcoin,NicolasDorier/NBitcoin,bitcoinbrisbane/NBitcoin,MetacoSA/NBitcoin | NBitcoin/DataEncoders/HexEncoder.cs | NBitcoin/DataEncoders/HexEncoder.cs | using System;
using System.Linq;
using System.Text;
namespace NBitcoin.DataEncoders
{
public class HexEncoder : DataEncoder
{
public bool Space
{
get;
set;
}
private static readonly string[] HexTbl = Enumerable.Range(0, 256).Select(v => v.ToString("x2")).ToArray();
public override ... | using System;
using System.Linq;
using System.Text;
namespace NBitcoin.DataEncoders
{
public class HexEncoder : DataEncoder
{
public bool Space
{
get;
set;
}
private static readonly string[] HexTbl = Enumerable.Range(0, 256).Select(v => v.ToString("x2")).ToArray();
public override ... | mit | C# |
334e5a318ed4b3d988c75f2aaf43c8a38a1f9127 | Simplify code expression error reporting. | otac0n/Pegasus | Pegasus/Compiler/ReportCodeSyntaxIssuesPass.cs | Pegasus/Compiler/ReportCodeSyntaxIssuesPass.cs | // Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace Pegasus.Compiler
{
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis.CSh... | // Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace Pegasus.Compiler
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp;
using Pegasus.Ex... | mit | C# |
f851d9e26e17212d70307a26c1e1ef8a724e37ad | Fix typo, add example | rmandvikar/csharp-extensions,rmandvikar/csharp-extensions | rm.Extensions/Helper.cs | rm.Extensions/Helper.cs | using System;
namespace rm.Extensions
{
/// <summary>
/// Helper class.
/// </summary>
public static class Helper
{
/// <summary>
/// Swaps parameters.
/// </summary>
/// <example>Helper.Swap(ref a, ref b);</example>
public static void Swap<T>(ref T t1, ref T t2)
{
var temp = t1;
t1 = t2;
t2... | using System;
namespace rm.Extensions
{
/// <summary>
/// Helper class.
/// </summary>
public static class Helper
{
/// <summary>
/// Swaps paramters.
/// </summary>
/// <example>Helper.Swap(a, b);</example>
public static void Swap<T>(ref T t1, ref T t2)
{
var temp = t1;
t1 = t2;
t2 = temp;
... | mit | C# |
e96226289324828ac11e48f8d36ca35c1aed16ac | Format code | muntashir/Pingo | Pingo/Classes/ProgressBarUpdater.cs | Pingo/Classes/ProgressBarUpdater.cs | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
using System.Windows.Shell;
namespace Pingo.Classes
{
public class ProgressBarUpdater
{
ProgressBar progressBar;
MainWindow mainWindow;
public ProgressBarUpdater(ProgressBar progre... | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
using System.Windows.Shell;
namespace Pingo.Classes
{
public class ProgressBarUpdater
{
ProgressBar progressBar;
MainWindow mainWindow;
public ProgressBarUpdater(ProgressBar progre... | mit | C# |
e401e4b070625df4d6979536cfbdaba28f88e471 | Bump version to 1.4.0 | CodeAnimal/PreMailer.Net,tobio/PreMailer.Net,rohk/PreMailer.Net,milkshakesoftware/PreMailer.Net,CarterTsai/PreMailer.Net,kendallb/PreMailer.Net | PreMailer.Net/GlobalAssemblyInfo.cs | PreMailer.Net/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AssemblyProduct("PreMailer.Net")]
[assembly: AssemblyCompany("Milkshake Software")]
[assembly: AssemblyCopyright("Copyright © Milkshake Software 2015")]
[assembly: Ass... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AssemblyProduct("PreMailer.Net")]
[assembly: AssemblyCompany("Milkshake Software")]
[assembly: AssemblyCopyright("Copyright © Milkshake Software 2015")]
[assembly: Ass... | mit | C# |
2207d274408162cb9a7e3ae30058d2e79011db68 | Fix a typo | Radnen/spherestudio,Radnen/spherestudio | ClassicSpherePlugin/Plugins/SphereStarter.cs | ClassicSpherePlugin/Plugins/SphereStarter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Sphere.Plugins;
using Sphere.Plugins.Interfaces;
namespace SphereStudio.Vanilla.Plugins
{
class SphereStarter : IStarter... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Sphere.Plugins;
using Sphere.Plugins.Interfaces;
namespace SphereStudio.Vanilla.Plugins
{
class SphereStarter : IStarter... | mit | C# |
3cc96bbcf062c963cbbbae52c695d77fc651920d | bump to 1.12.8 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | agpl-3.0 | C# |
23ea58533cdf99cc1b5c208512a19b7a02b0234b | Add large set remove example. | YuvalItzchakov/aerospike-client-csharp | AerospikeDemo/LargeSet.cs | AerospikeDemo/LargeSet.cs | /*
* Copyright 2012-2014 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the Lice... | /*
* Copyright 2012-2014 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the Lice... | apache-2.0 | C# |
ba1d26864c91cddfbfe9bbd2585a989bd47f5ca1 | add ToInt parse error message | acple/ParsecSharp | ParsecSharp/Parser/Text.Combinator.Extensions.cs | ParsecSharp/Parser/Text.Combinator.Extensions.cs | using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace ParsecSharp
{
public static partial class Text
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Parser<char, string> ToStr(this Parser<char, IEnumerable<char>> parser)
... | using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace ParsecSharp
{
public static partial class Text
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Parser<char, string> ToStr(this Parser<char, IEnumerable<char>> parser)
... | mit | C# |
a637f1b64042c4cdb66eb2d7844be88c82ca29e2 | 修复bug Signed-off-by: virtual <1185513330@qq.com> | cocosip/DotCommon | src/DotCommon/Logging/Log4NetLoggerFactory.cs | src/DotCommon/Logging/Log4NetLoggerFactory.cs | using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Layout;
using log4net.Repository;
using System;
using System.IO;
namespace DotCommon.Logging
{
public class Log4NetLoggerFactory : ILoggerFactory
{
private readonly ILoggerRepository _loggerRepository;
public Log4NetLog... | using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Layout;
using log4net.Repository;
using System;
using System.IO;
using System.Reflection;
namespace DotCommon.Logging
{
public class Log4NetLoggerFactory : ILoggerFactory
{
private readonly ILoggerRepository _loggerRepository;
... | mit | C# |
37f15e57bf94721582f5e72c7b224ef531613c55 | Update assembly version of builder for new nuget | dr-em/BotBuilder,dr-em/BotBuilder,mmatkow/BotBuilder,yakumo/BotBuilder,dr-em/BotBuilder,xiangyan99/BotBuilder,Clairety/ConnectMe,stevengum97/BotBuilder,Clairety/ConnectMe,mmatkow/BotBuilder,mmatkow/BotBuilder,Clairety/ConnectMe,yakumo/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,Clairety/ConnectMe,xiangyan99/Bo... | CSharp/Library/Properties/AssemblyInfo.cs | CSharp/Library/Properties/AssemblyInfo.cs | using System.Resources;
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 assembl... | using System.Resources;
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 assembl... | mit | C# |
2a26a0fb0c4921cfa4451ccab95038b3c9f34fff | Create list of used providers properly. | ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin | Chalmers.ILL/Providers/ProviderService.cs | Chalmers.ILL/Providers/ProviderService.cs | using Chalmers.ILL.Models;
using Examine;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Chalmers.ILL.Extensions;
using Chalmers.ILL.OrderItems;
namespace Chalmers.ILL.Providers
{
public class ProviderService : IProviderService
{
IOrde... | using Chalmers.ILL.Models;
using Examine;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Chalmers.ILL.Extensions;
using Chalmers.ILL.OrderItems;
namespace Chalmers.ILL.Providers
{
public class ProviderService : IProviderService
{
IOrde... | mit | C# |
1882ad55af52dc8695ed0e3d4eecab7c04f9bedc | Use ByRefEvent attribute in content. (#5918) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Atmos/EntitySystems/AtmosExposedSystem.cs | Content.Server/Atmos/EntitySystems/AtmosExposedSystem.cs | using Content.Server.Atmos.Components;
using Content.Server.Temperature.Components;
using Content.Server.Temperature.Systems;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.Atmos.EntitySystems
{
/* doesn't seem to be a use for this at the moment, so it's... | using Content.Server.Atmos.Components;
using Content.Server.Temperature.Components;
using Content.Server.Temperature.Systems;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.Atmos.EntitySystems
{
/* doesn't seem to be a use for this at the moment, so it's... | mit | C# |
d22b4d446449d32c43ecd724873aed3429cfd54e | adjust Tests.CSharp AssemblyInfo | kongo2002/SharpXml | SharpXml.Tests.CSharp/Properties/AssemblyInfo.cs | SharpXml.Tests.CSharp/Properties/AssemblyInfo.cs | // Copyright 2012-2013 Gregor Uhlenheuer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 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("Sh... | apache-2.0 | C# |
607d6d64adf7391c362c7d6bb3f915df85f0019d | implement attack | sapphiredev/mutsuki | Assets/Scripts/MObject.cs | Assets/Scripts/MObject.cs | using UnityEngine;
using Mutsuki;
public class MObject : MonoBehaviour {
public Category category;
public int id;
public Vector3 pos;
private int hp;
private float cooltime;
public Vector3 targetPos;
public enum Status {
Stop,
Move,
}
public Status status;
public void SetUp(NewObjectPacket packet) ... | using UnityEngine;
using Mutsuki;
public class MObject : MonoBehaviour {
public Category category;
public int id;
public Vector3 pos;
private int hp;
private float cooltime;
public Vector3 targetPos;
public enum Status {
Stop,
Move,
}
public Status status;
public void SetUp(NewObjectPacket packet) ... | mit | C# |
67aeb851a72372d4fdff457ce26024e56f8d2669 | Use var instead of full type name | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/NetFields/NetFieldStruct.cs | Scripts/NetFields/NetFieldStruct.cs | using LiteNetLib.Utils;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
namespace LiteNetLibHighLevel
{
public class NetFieldStruct<T> : LiteNetLibNetField<T>
where T : struct
{
public override void Deserialize(NetDa... | using LiteNetLib.Utils;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
namespace LiteNetLibHighLevel
{
public class NetFieldStruct<T> : LiteNetLibNetField<T>
where T : struct
{
public override void Deserialize(NetDa... | mit | C# |
e6bf809bb9f97d1962f826424872bb231c705784 | remove stale debug log | JoeOsborn/SRPGCK,JoeOsborn/SRPGCK | Assets/Editor/SRPGKit/ScriptableObjectUtility.cs | Assets/Editor/SRPGKit/ScriptableObjectUtility.cs | using UnityEngine;
using UnityEditor;
using System.IO;
public static class ScriptableObjectUtility
{
/// <summary>
// This makes it easy to create, name and place unique new ScriptableObject asset files.
/// </summary>
public static T CreateAsset<T>(
string tentativeName=null,
string givenPath=null,
boo... | using UnityEngine;
using UnityEditor;
using System.IO;
public static class ScriptableObjectUtility
{
/// <summary>
// This makes it easy to create, name and place unique new ScriptableObject asset files.
/// </summary>
public static T CreateAsset<T>(
string tentativeName=null,
string givenPath=null,
boo... | lgpl-2.1 | C# |
694d4153d2a99047e138b192cf54660073c73048 | Update version number | loicteixeira/gj-unity-api | Assets/Plugins/GameJolt/Scripts/API/Constants.cs | Assets/Plugins/GameJolt/Scripts/API/Constants.cs | using UnityEngine;
using System.Collections;
namespace GameJolt.API
{
public static class Constants
{
public const string VERSION = "2.0.2";
public const string SETTINGS_ASSET_NAME = "GJAPISettings";
public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset";
public const string SETTINGS... | using UnityEngine;
using System.Collections;
namespace GameJolt.API
{
public static class Constants
{
public const string VERSION = "2.0.1";
public const string SETTINGS_ASSET_NAME = "GJAPISettings";
public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset";
public const string SETTINGS... | mit | C# |
21c559a4a4f8fb014ccf71eaaddbfcd74c9e5a6b | change regional home | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Areas/Regional/Controllers/HomeController.cs | Web/Areas/Regional/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Helpers;
using Cats.Models.Security;
using Cats.Services.Dashboard;
using Cats.Services.EarlyWarning;
namespace Cats.Areas.Regional.Controllers
{
public class HomeController : Controller
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Helpers;
using Cats.Models.Security;
using Cats.Services.Dashboard;
using Cats.Services.EarlyWarning;
namespace Cats.Areas.Regional.Controllers
{
public class HomeController : Controller
{
... | apache-2.0 | C# |
07d97382ce8a2ce728f77ded6f65eef62330cb4b | Add a confirm to revert while wrong operation. | SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library | MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml | MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml | @model IEnumerable<MMLibrarySystem.Models.BorrowRecord>
@{
ViewBag.Title = "Borrowed Books";
}
<table id="bookList">
<tr>
<td>
Book Number
</td>
<td>
Title
</td>
<td>
Borrowed By
</td>
<td>
Borrowed Start ... | @model IEnumerable<MMLibrarySystem.Models.BorrowRecord>
@{
ViewBag.Title = "Borrowed Books";
}
<table id="bookList">
<tr>
<td>
Book Number
</td>
<td>
Title
</td>
<td>
Borrowed By
</td>
<td>
Borrowed Start ... | apache-2.0 | C# |
9ea6a517bd6c0adff3db3988a89abeff5c14db7c | Add extra constructors to OpenIddictContext | openiddict/core,PinpointTownes/openiddict-core,PinpointTownes/core,PinpointTownes/openiddict-core,joshcomley/openiddict-core,openiddict/openiddict-core,openiddict/openiddict-core,belsoft/openiddict-core,ibrmohammed/openiddict-core,vyfster/openiddict-core,ibrmohammed/openiddict-core,PinpointTownes/core,openiddict/openid... | src/OpenIddict.EF/OpenIddictContext.cs | src/OpenIddict.EF/OpenIddictContext.cs | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using Microsoft.AspNetCore.Identity.EntityFramewor... | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using Microsoft.AspNetCore.Identity.EntityFramewor... | apache-2.0 | C# |
d34eba4b99109c6db010c5799a730a1e986f6b65 | Update HttpContextAccessor.cs | jchenga/Orchard,li0803/Orchard,gcsuk/Orchard,xkproject/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,rtpHarry/Orchard,hbulzy/Orchard,JRKelso/Orchard,JRKelso/Orchard,brownjordaninternational/OrchardCMS,Codinlab/Orchard,Dolphinsimon/Orchard,Praggie/Orchard,omidnasri/Orchard,johnnyqian/Orchard,Serlead/Orchard,aaronamm/... | src/Orchard/Mvc/HttpContextAccessor.cs | src/Orchard/Mvc/HttpContextAccessor.cs | using System;
using System.Web;
using Autofac;
namespace Orchard.Mvc {
public class HttpContextAccessor : IHttpContextAccessor {
readonly ILifetimeScope _lifetimeScope;
private HttpContextBase _httpContext;
public HttpContextAccessor(ILifetimeScope lifetimeScope) {
_lifetimeSco... | using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Web;
namespace Orchard.Mvc {
public class HttpContextAccessor : IHttpContextAccessor {
private HttpContextBase _httpContext;
public HttpContextBase Current() {
var httpContext = GetStati... | bsd-3-clause | C# |
78c74d7f38e0b78564e880796c8f738de8b24fee | Set MinimumInteritemSpacing and MinimumLineSpacing on flow layout | iFreedive/monotouch-samples,W3SS/monotouch-samples,nervevau2/monotouch-samples,peteryule/monotouch-samples,a9upam/monotouch-samples,peteryule/monotouch-samples,iFreedive/monotouch-samples,iFreedive/monotouch-samples,kingyond/monotouch-samples,W3SS/monotouch-samples,YOTOV-LIMITED/monotouch-samples,davidrynn/monotouch-sa... | SimpleCollectionView/SimpleCollectionView/AppDelegate.cs | SimpleCollectionView/SimpleCollectionView/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Drawing;
namespace SimpleCollectionView
{
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
// class-level declarations
UIW... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Drawing;
namespace SimpleCollectionView
{
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
// class-level declarations
UIW... | mit | C# |
00734da752daae1cbf0eb9ab2c03805659a1c34d | Enable NRT | jasonmalinowski/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,weltkante/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,diryboy/roslyn,diryboy/roslyn,KevinRansom/roslyn,sharwell/roslyn,KevinRansom/roslyn,shyamnamboodiripad/ros... | src/Analyzers/CSharp/Analyzers/SimplifyInterpolation/CSharpSimplifyInterpolationDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/SimplifyInterpolation/CSharpSimplifyInterpolationDiagnosticAnalyzer.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 Microsoft.CodeAnalysis.CSharp.Analyzers.SimplifyInterpolation;
using Microsoft.CodeAnalysis.CSharp.EmbeddedLa... | // 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.
#nullable disable
using Microsoft.CodeAnalysis.CSharp.Analyzers.SimplifyInterpolation;
using Microsoft.CodeAnalysi... | mit | C# |
62b2c1c6261efd66e092ed1e5c249db5ecfa64c1 | 修改ShakeAround bug | jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WxOpen,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WxOpen,wanddy/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7... | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundJson/GetShakeInfoResultJson.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundJson/GetShakeInfoResultJson.cs | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:GetShakeInfoResultJson.cs
文件功能描述:获取摇周边的设备及用户信息返回结果
创建标识:Senparc - 20150512
----------------------------------------------------------------*/
using System;
using System.Collections.Generic;... | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:GetShakeInfoResultJson.cs
文件功能描述:获取摇周边的设备及用户信息返回结果
创建标识:Senparc - 20150512
----------------------------------------------------------------*/
using System;
using System.Collections.Generic;... | apache-2.0 | C# |
06e335c8ee424628bd54d797d4e288f34e04c8c2 | Add 'received' to the LogType enum | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient/Models/LogType.cs | Source/CakeMail.RestClient/Models/LogType.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace CakeMail.RestClient.Models
{
/// <summary>
/// Enumeration to indicate the type of log
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum LogType
{
/// <summary>
/// Subscribe
/// <... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace CakeMail.RestClient.Models
{
/// <summary>
/// Enumeration to indicate the type of log
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum LogType
{
/// <summary>
/// Subscribe
/// <... | mit | C# |
2b1cfbe2606d6dcb923a2c8501c8a7e0779de58a | Include header in named pipe test | RockFramework/Rock.Messaging | RockLib.Messaging.NamedPipes.Tests/NamedPipesTests.cs | RockLib.Messaging.NamedPipes.Tests/NamedPipesTests.cs | using System.Threading;
using Xunit;
namespace RockLib.Messaging.NamedPipes.Tests
{
public class NamedPipesTests
{
[Fact]
public void NamedPipeMessagesAreSentAndReceived()
{
var waitHandle = new AutoResetEvent(false);
using (var receiver = new NamedPipeReceiver(... | using System.Threading;
using Xunit;
namespace RockLib.Messaging.NamedPipes.Tests
{
public class NamedPipesTests
{
[Fact]
public void NamedPipeMessagesAreSentAndReceived()
{
var waitHandle = new AutoResetEvent(false);
using (var receiver = new NamedPipeReceiver(... | mit | C# |
0d92b4f054e02696fabc43535ccf90b340281991 | Add SMS to list page | mattgwagner/alert-roster | alert-roster.web/Views/Home/Subscriptions.cshtml | alert-roster.web/Views/Home/Subscriptions.cshtml | @model IEnumerable<alert_roster.web.Models.User>
@{
ViewBag.Title = "View Subscriptions";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Create New", "Subscribe")
</p>
@if (TempData["Message"] != null)
{
<div class="alert alert-info">@TempData["Message"]</div>
}
<table class="table">
<tr>
... | @model IEnumerable<alert_roster.web.Models.User>
@{
ViewBag.Title = "View Subscriptions";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Create New", "Subscribe")
</p>
@if (TempData["Message"] != null)
{
<div class="alert alert-info">@TempData["Message"]</div>
}
<table class="table">
<tr>
... | mit | C# |
fc78da04fe8da94c8b586e57cb5c0d3420fdb511 | Update UnitTest1.cs | jlumijarvi/csvobjectparser | CsvObjectTests/UnitTest1.cs | CsvObjectTests/UnitTest1.cs | using System;
using System.IO;
using System.Text.RegularExpressions;
using CsvToObjectLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CsvToObjectTests
{
public class Car
{
public string Brand { get; set; }
public string Model { get; set; }
public DateTime Manufacture... | using System;
using System.IO;
using System.Text.RegularExpressions;
using CsvToObjectLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CsvToObjectTests
{
public class Car
{
public string Brand { get; set; }
public string Model { get; set; }
public DateTime Manufacture... | mit | C# |
5c846551b0370818dcb2d1217b3b4f03dabc2a40 | Allow designer to disable asynchronicity in image loading. (#111) | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Platform.Android/Renderers/FileImageSourceHandler.cs | Xamarin.Forms.Platform.Android/Renderers/FileImageSourceHandler.cs | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Android.Content;
using Android.Graphics;
namespace Xamarin.Forms.Platform.Android
{
public sealed class FileImageSourceHandler : IImageSourceHandler
{
// This is set to true when run under designer context
internal static bool DecodeSyn... | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Android.Content;
using Android.Graphics;
namespace Xamarin.Forms.Platform.Android
{
public sealed class FileImageSourceHandler : IImageSourceHandler
{
public async Task<Bitmap> LoadImageAsync(ImageSource imagesource, Context context, Canc... | mit | C# |
7726d863b4ed1c0d4cea5354eff6bd3348781ceb | Increase button size on Room.Create view | johanhelsing/vaskelista,johanhelsing/vaskelista | Vaskelista/Views/Room/Create.cshtml | Vaskelista/Views/Room/Create.cshtml | @model Vaskelista.Models.Room
@{
ViewBag.Title = "Create";
}
<h2>Legg til nytt rom</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
@Html.ValidationSummary(true)
<div class="form-group">
@Html.LabelFor(model => model.Name, new { ... | @model Vaskelista.Models.Room
@{
ViewBag.Title = "Create";
}
<h2>Legg til nytt rom</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
@Html.ValidationSummary(true)
<div class="form-group">
@Html.LabelFor(model => model.Name, new { ... | mit | C# |
b85f5a147d581f4b031e462d1a15512f5ca872fd | Remove unnecessary interface methods | qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox | Wox.Core/Configuration/IPortable.cs | Wox.Core/Configuration/IPortable.cs |
namespace Wox.Core.Configuration
{
public interface IPortable
{
void RemoveShortcuts();
void RemoveUninstallerEntry();
void CreateShortcuts();
void CreateUninstallerEntry();
void MoveUserDataFolder(string fromLocation, string toLocation);
void VerifyUserDataAfte... |
namespace Wox.Core.Configuration
{
public interface IPortable
{
void EnablePortableMode();
void DisablePortableMode();
void RemoveShortcuts();
void RemoveUninstallerEntry();
void CreateShortcuts();
void CreateUninstallerEntry();
void MoveUserDataFolder(s... | mit | C# |
9b2d7e5bb88f180eb0ec83c00823fdf605f642f4 | update version | dialex/PersonalTroller | TrollerProject/Properties/AssemblyInfo.cs | TrollerProject/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("Ho... | 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("Ho... | mit | C# |
becf4c6dee3b9a0716804a5a441bd59fee0f89cf | Fix app versioning. | matthew-ch-robbins/monodevelop-addin-packager,matthewrdev/monodevelop-addin-packager | MonoDevelopAddinPackager/Properties/AddinInfo.cs | MonoDevelopAddinPackager/Properties/AddinInfo.cs | using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly:Addin (
"MonoDevelopAddinPackager",
Namespace = "MonoDevelopAddinPackager",
Version = "1.1.0"
)]
[assembly:AddinName ("MonoDevelop Addin Packager")]
[assembly:AddinCategory ("IDE extensions")]
[assembly:AddinDescription ("Utility to packag... | using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly:Addin (
"MonoDevelopAddinPackager",
Namespace = "MonoDevelopAddinPackager",
Version = "2.0.0"
)]
[assembly:AddinName ("MonoDevelop Addin Packager")]
[assembly:AddinCategory ("IDE extensions")]
[assembly:AddinDescription ("Utility to packag... | mit | C# |
2a1abfe15c6387412d6562564bd65d5d2d8618f0 | fix test to pass on Windows re #105 | corngood/omnisharp-server,x335/omnisharp-server,svermeulen/omnisharp-server,x335/omnisharp-server,corngood/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,syl20bnr/omnisharp-server | OmniSharp.Tests/Overrides/TestOverrideContext.cs | OmniSharp.Tests/Overrides/TestOverrideContext.cs | using System.Linq;
using NUnit.Framework;
using OmniSharp.Common;
using OmniSharp.Overrides;
using OmniSharp.Parser;
using OmniSharp.Tests.Rename;
namespace OmniSharp.Tests.Overrides
{
[TestFixture]
public class TestOverrideContext
{
[Test]
public void Should_not_offer_already_overridden_me... | using System.Linq;
using NUnit.Framework;
using OmniSharp.Common;
using OmniSharp.Overrides;
using OmniSharp.Parser;
using OmniSharp.Tests.Rename;
namespace OmniSharp.Tests.Overrides
{
[TestFixture]
public class TestOverrideContext
{
[Test]
public void Should_not_offer_already_overridden_me... | mit | C# |
c3486f1c0b2429c394d7583afdd60cbb12754a60 | Update TestPythonException.cs | pythonnet/pythonnet,QuantConnect/pythonnet,pythonnet/pythonnet,QuantConnect/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,yagweb/pythonnet,QuantConnect/pythonnet,yagweb/pythonnet,pythonnet/pythonnet,AlexCatarino/pythonnet | src/embed_tests/TestPythonException.cs | src/embed_tests/TestPythonException.cs | using System;
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class TestPythonException
{
private IntPtr _gs;
[SetUp]
public void SetUp()
{
PythonEngine.Initialize();
_gs = PythonEngine.AcquireLock();
}
... | using System;
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class TestPythonException
{
private IntPtr _gs;
[SetUp]
public void SetUp()
{
PythonEngine.Initialize();
_gs = PythonEngine.AcquireLock();
}
... | mit | C# |
0818dd16defd6545d2eaafd3c7b4bc353743d6e9 | Add Extension Method for serving files | coolya/logv.http | SimpleHttpServerExtensions/ResponseExtensions.cs | SimpleHttpServerExtensions/ResponseExtensions.cs | /*
Copyright 2012 Kolja Dummann <k.dummann@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | /*
Copyright 2012 Kolja Dummann <k.dummann@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | apache-2.0 | C# |
8152ccb2e719471b9617010758aa2aac48e9821b | Add Bob to Contacts page. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
a600c94f2c1a20fb380720d4beb6e19362867f1e | Add unit test for at least one previously mistreated formula | igitur/ClosedXML,ClosedXML/ClosedXML,b0bi79/ClosedXML | ClosedXML_Tests/Excel/Styles/NumberFormatTests.cs | ClosedXML_Tests/Excel/Styles/NumberFormatTests.cs | using ClosedXML.Excel;
using NUnit.Framework;
using System;
using System.Data;
namespace ClosedXML_Tests.Excel
{
public class NumberFormatTests
{
[Test]
public void PreserveCellFormat()
{
using (var wb = new XLWorkbook())
{
var ws = wb.AddWorkshee... | using ClosedXML.Excel;
using NUnit.Framework;
using System;
using System.Data;
namespace ClosedXML_Tests.Excel
{
public class NumberFormatTests
{
[Test]
public void PreserveCellFormat()
{
using (var wb = new XLWorkbook())
{
var ws = wb.AddWorkshee... | mit | C# |
98fa6578726516f01b02c17dc04d5c7f7f685d8e | Add DegreesToRadians to MathUtility | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility/MathUtility.cs | GoldenAnvil.Utility/MathUtility.cs | using System;
namespace GoldenAnvil.Utility
{
public static class MathUtility
{
public const double Sin30 = 0.5;
public const double Sin60 = 0.8660254038;
public const double Cos30 = 0.8660254038;
public const double Cos60 = 0.5;
public static double DegreesToRadians(double degrees) => degrees * Math.PI ... | using System;
namespace GoldenAnvil.Utility
{
public static class MathUtility
{
public const double Sin30 = 0.5;
public const double Sin60 = 0.8660254038;
public const double Cos30 = 0.8660254038;
public const double Cos60 = 0.5;
public static double Clamp(double value, double min, double max)
{
ret... | mit | C# |
63ffbfc934e3e1934548cf363d02045904fe9de2 | fix ref params | mono/maccore | src/Foundation/NSPropertyListSerialization.cs | src/Foundation/NSPropertyListSerialization.cs | //
// NSPropertyListSerialization.cs
//
// Authors:
// Aaron Bockover (abock@xamarin.com)
//
// Copyright 2013 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without rest... | //
// NSPropertyListSerialization.cs
//
// Authors:
// Aaron Bockover (abock@xamarin.com)
//
// Copyright 2013 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without rest... | apache-2.0 | C# |
aef565bf2863e066d8287e61fef8309b6b34eff6 | change state IsDefault to IsInitialState | LagoVista/DeviceAdmin | src/LagoVista.IoT.DeviceAdmin/Models/State.cs | src/LagoVista.IoT.DeviceAdmin/Models/State.cs | using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.IoT.DeviceAdmin.Resources;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.StateMachines, Resources.DeviceLibrar... | using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.IoT.DeviceAdmin.Resources;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.StateMachines, Resources.DeviceLibrar... | mit | C# |
70b40f9585f576db8b1cae3dbfd6f6a34118fc65 | Fix EarTrumpet.Web deps after - to . rename | File-New-Project/EarTrumpet | EarTrumpet.Actions/DataModel/Serialization/App.cs | EarTrumpet.Actions/DataModel/Serialization/App.cs | namespace EarTrumpet.Actions.DataModel.Serialization
{
public class AppRef
{
public static readonly string EveryAppId = "EarTrumpet.EveryApp";
public static readonly string ForegroundAppId = "EarTrumpet.ForegroundApp";
public string Id { get; set; }
public override int GetHash... | using System.Xml.Serialization;
namespace EarTrumpet.Actions.DataModel.Serialization
{
public class AppRef
{
public static readonly string EveryAppId = "EarTrumpet.EveryApp";
public static readonly string ForegroundAppId = "EarTrumpet.ForegroundApp";
public string Id { get; set; }
... | mit | C# |
ff9c4b8b6e0a25c65104e9295fb3e1ac0f15cb15 | Move assembly directive out of namespace | appharbor/ConsolR,appharbor/ConsolR | Hosting/Web/BootStrapper.cs | Hosting/Web/BootStrapper.cs | using System.Web.Routing;
using ConsolR.Hosting.Web;
using SignalR;
[assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")]
namespace ConsolR.Hosting
{
public static class Bootstrapper
{
public static void PreApplicationStart()
{
var routes = RouteTab... | using System.Web.Routing;
using ConsolR.Hosting.Web;
using SignalR;
namespace ConsolR.Hosting
{
[assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")]
public static class Bootstrapper
{
public static void PreApplicationStart()
{
var routes = RouteTa... | mit | C# |
11a5a2a51a1817c33a79ea2068fd2f78c4fc0990 | Fix paging next in service client level methods | sergey-shandar/autorest,amarzavery/AutoRest,fhoring/autorest,brjohnstmsft/autorest,garimakhulbe/autorest,begoldsm/autorest,garimakhulbe/autorest,lmazuel/autorest,jianghaolu/AutoRest,veronicagg/autorest,haocs/autorest,jhendrixMSFT/autorest,veronicagg/autorest,garimakhulbe/autorest,jhancock93/autorest,annatisch/autorest,... | src/generator/AutoRest.Java.Azure/Templates/AzureServiceClientRetrofitTemplate.cshtml | src/generator/AutoRest.Java.Azure/Templates/AzureServiceClientRetrofitTemplate.cshtml | @using System.Linq;
@using AutoRest.Core.ClientModel
@using AutoRest.Core.Utilities
@using AutoRest.Java.Azure.TemplateModels
@inherits AutoRest.Core.Template<AutoRest.Java.Azure.TemplateModels.AzureServiceClientTemplateModel>
/**
* The interface defining all the services for @Model.Name to be
* used by Retrofit to ... | @using System.Linq;
@using AutoRest.Core.ClientModel
@using AutoRest.Core.Utilities
@using AutoRest.Java.Azure.TemplateModels
@inherits AutoRest.Core.Template<AutoRest.Java.Azure.TemplateModels.AzureServiceClientTemplateModel>
/**
* The interface defining all the services for @Model.Name to be
* used by Retrofit to ... | mit | C# |
61bbf348fb11505e20e48d41ec762d76fe1c4961 | Fix DisablePayloadMasking_Property_Get_PNSE_Throws. | ericstj/wcf,dotnet/wcf,dotnet/wcf,dotnet/wcf,MattGal/wcf,imcarolwang/wcf,imcarolwang/wcf,StephenBonikowsky/wcf,ElJerry/wcf,hongdai/wcf,hongdai/wcf,StephenBonikowsky/wcf,mconnew/wcf,ericstj/wcf,mconnew/wcf,KKhurin/wcf,khdang/wcf,iamjasonp/wcf,KKhurin/wcf,imcarolwang/wcf,SajayAntony/wcf,zhenlan/wcf,shmao/wcf,SajayAntony/... | src/System.ServiceModel.Http/tests/Channels/WebSocketTransportSettingsTest.cs | src/System.ServiceModel.Http/tests/Channels/WebSocketTransportSettingsTest.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ServiceModel.Channels;
using Xunit;
public static class WebSocketTransportSettingsTest
{
[Fact]
public static void DisablePayloadMa... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ServiceModel.Channels;
using Xunit;
public static class WebSocketTransportSettingsTest
{
[Fact]
public static void DisablePayloadMa... | mit | C# |
0a2a4669bd1cb8ac88150acd40812906d904d8ce | Use index expression | smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework | osu.Framework.Benchmarks/BenchmarkWeakList.cs | osu.Framework.Benchmarks/BenchmarkWeakList.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using BenchmarkDotNet.Attributes;
using osu.Framework.Lists;
namespace osu.Framework.Benchmarks
{
public class BenchmarkWeakList : BenchmarkTest
... | // 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 BenchmarkDotNet.Attributes;
using osu.Framework.Lists;
namespace osu.Framework.Benchmarks
{
public class BenchmarkWeakList : BenchmarkTest
... | mit | C# |
a21c1fd44c8744303d2b68406d1d4c156b828e07 | Add missing [Test] attribute on test method | edpollitt/Nerdle.AutoConfig | Nerdle.AutoConfig.Tests.Unit/Strategy/StrategyManagerTests/When_creating_a_strategy.cs | Nerdle.AutoConfig.Tests.Unit/Strategy/StrategyManagerTests/When_creating_a_strategy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nerdle.AutoConfig.Strategy;
using NUnit.Framework;
namespace Nerdle.AutoConfig.Tests.Unit.Strategy.StrategyManagerTests
{
[TestFixture]
class When_creating_a_strategy
{
StrategyManager _sut;
[S... | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nerdle.AutoConfig.Strategy;
using NUnit.Framework;
namespace Nerdle.AutoConfig.Tests.Unit.Strategy.StrategyManagerTests
{
[TestFixture]
class When_creating_a_strategy
{
StrategyManager _sut;
[S... | mit | C# |
2663d03dc9cd8f066e32cdda333aa77a407e505b | Fix cherrypick error | weshaggard/cli,borgdylan/dotnet-cli,MichaelSimons/cli,dasMulli/cli,mlorbetske/cli,ravimeda/cli,borgdylan/dotnet-cli,nguerrera/cli,mylibero/cli,borgdylan/dotnet-cli,AbhitejJohn/cli,nguerrera/cli,naamunds/cli,weshaggard/cli,jonsequitur/cli,dasMulli/cli,mlorbetske/cli,AbhitejJohn/cli,harshjain2/cli,harshjain2/cli,johnbeis... | build_projects/dotnet-cli-build/CliDependencyVersions.cs | build_projects/dotnet-cli-build/CliDependencyVersions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class CliDependencyVersions
{
public static readonly string SharedFrameworkVersion = "1.0.0";
public static readonly string SharedHostVersion = "1.0.1"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class CliDependencyVersions
{
public static readonly string SharedFrameworkVersion = "1.0.0";
public static readonly string SharedHostVersion = "1.0.1"... | mit | C# |
e4bef3da2192be6a192fc78b15dc285fbca2c098 | Check initialisation succeeds in unit test | siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,F2Andy/quest,textadventures/quest,F2Andy/quest,siege918/quest,textadventures/quest,siege918/quest,siege918/quest | WorldModelTests/SaveTests.cs | WorldModelTests/SaveTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TextAdventures.Quest;
using Moq;
namespace WorldModelTests
{
[TestClass]
public class SaveTests
{
[TestMethod]
public void RunWalkth... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TextAdventures.Quest;
using Moq;
namespace WorldModelTests
{
[TestClass]
public class SaveTests
{
[TestMethod]
public void RunWalkth... | mit | C# |
f4d1532845fbae60d9b002aa16a6123e72af535d | Remove unused MapTile ctor relying on grid views | MHeasell/Mappy,MHeasell/Mappy | Mappy/Data/MapTile.cs | Mappy/Data/MapTile.cs | namespace Mappy.Data
{
using System.Diagnostics;
using System.Drawing;
using Mappy.Collections;
public class MapTile : IMapTile
{
public const int TileWidth = 32;
public const int TileHeight = 32;
public const int AttrWidth = TileWidth / 2;
public const ... | namespace Mappy.Data
{
using System.Diagnostics;
using System.Drawing;
using Mappy.Collections;
public class MapTile : IMapTile
{
public const int TileWidth = 32;
public const int TileHeight = 32;
public const int AttrWidth = TileWidth / 2;
public const ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.