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 |
|---|---|---|---|---|---|---|---|---|
ae6093ba483c135a04ce3b5ac5f1d07820eb5765 | Fix Upgrade | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20201123_Typescript41.cs | Signum.Upgrade/Upgrades/Upgrade_20201123_Typescript41.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20201123_Typescript41 : CodeUpgradeBase
{
public overri... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20201123_Typescript41 : CodeUpgradeBase
{
public override string De... | mit | C# |
d20fda003bfe731784592b73e8b3f722ecd2c2ae | remove redundant code | adamralph/xbehave.net,modulexcite/xbehave.net,xbehave/xbehave.net,mvalipour/xbehave.net,modulexcite/xbehave.net,hitesh97/xbehave.net,hitesh97/xbehave.net,mvalipour/xbehave.net | src/Xbehave.2.Execution/Shims/ExceptionExtensions.cs | src/Xbehave.2.Execution/Shims/ExceptionExtensions.cs | // <copyright file="ExceptionExtensions.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave.Execution.Shims
{
using System;
using System.Reflection;
internal static class ExceptionExtensions
{
pub... | // <copyright file="ExceptionExtensions.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave.Execution.Shims
{
using System;
using System.Reflection;
using System.Runtime.ExceptionServices;
internal static ... | mit | C# |
dd1fccbe5ac603c6ba46dc0bd47aeceff5f5dcfb | fix unit tests warnings | asbjornu/GitVersion,GitTools/GitVersion,GitTools/GitVersion,asbjornu/GitVersion | src/GitVersion.MsBuild.Tests/Helpers/MsBuildExeFixture.cs | src/GitVersion.MsBuild.Tests/Helpers/MsBuildExeFixture.cs | using Buildalyzer;
using Buildalyzer.Environment;
using GitTools.Testing;
using GitVersion.Core.Tests;
using GitVersion.Core.Tests.Helpers;
using GitVersion.Helpers;
#if NET48
using GitVersion.Extensions;
#endif
using Microsoft.Build.Framework;
using Microsoft.Build.Logging;
using Microsoft.Build.Utilities.ProjectCre... | using Buildalyzer;
using Buildalyzer.Environment;
using GitTools.Testing;
using GitVersion.Core.Tests;
using GitVersion.Core.Tests.Helpers;
using GitVersion.Helpers;
#if NET48
using GitVersion.Extensions;
#endif
using Microsoft.Build.Framework;
using Microsoft.Build.Logging;
using Microsoft.Build.Utilities.ProjectCre... | mit | C# |
e39b08e4f1f12198e3ffa6601978c81cab922fc7 | Bump version for release | Icy0ne/clilauncher,evem8/clilauncher | EVEm8.CliLauncher/Properties/AssemblyInfo.cs | EVEm8.CliLauncher/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("EV... | 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("EV... | mit | C# |
ecd331f4c8e8734b175148794e6cfb5dfc712cc8 | Fix variable name. | fixie/fixie,Duohong/fixie,JakeGinnivan/fixie,KevM/fixie,bardoloi/fixie,EliotJones/fixie,bardoloi/fixie | src/Fixie.Console/Program.cs | src/Fixie.Console/Program.cs | using System;
using System.Linq;
using System.Reflection;
namespace Fixie.Console
{
using Console = System.Console;
class Program
{
const int FatalError = -1;
static int Main(string[] args)
{
try
{
if (args.Length != 1)
{
... | using System;
using System.Linq;
using System.Reflection;
namespace Fixie.Console
{
using Console = System.Console;
class Program
{
const int FatalError = -1;
static int Main(string[] args)
{
try
{
if (args.Length != 1)
{
... | mit | C# |
5d443db0230fcf379a72f1ada55bc4d0d5caa8dd | Handle resize | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/Forms/IosSurfaceRenderer.cs | Bindings/Forms/IosSurfaceRenderer.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Urho.Forms;
using System.Runtime.InteropServices;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using UIKit;
[assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))]
namespace Urho.Forms
{
public class IosS... | using System;
using System.Threading;
using System.Threading.Tasks;
using Urho.Forms;
using System.Runtime.InteropServices;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using UIKit;
[assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))]
namespace Urho.Forms
{
public class IosS... | mit | C# |
2d62706010629bc22fe38aa33ba4a1dd0a50ae79 | Set the standard message. | cdman/continuous-integration-demo,cdman/continuous-integration-demo,cdman/continuous-integration-demo | CDDemo/Controllers/HomeController.cs | CDDemo/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CDDemo.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "Hello World!";
return View();
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CDDemo.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC ... | apache-2.0 | C# |
2269b17c0ec1783eab1a42710e87db7f863771f3 | Modify main program to work with port again | Zyrio/ictus,Zyrio/ictus | src/Yio/Program.cs | src/Yio/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Yio.Utilities;
namespace Yio
{
public c... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Yio.Utilities;
namespace Yio
{
public c... | mit | C# |
0b7ca1af9d7c8abe8d6d91c4f4ead083699f9fb6 | Allow both the Login() and the Logout() methods in the AuthController te be overridden | hanssens/ravendb.identity | Source/Hanssens.Net.Identity.RavenDb/Controllers/AuthController.cs | Source/Hanssens.Net.Identity.RavenDb/Controllers/AuthController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Hanssens.Net.Identity.RavenDb.Models;
using WebMatrix.WebData;
namespace Hanssens.Net.Identity.RavenDb.Controllers
{
/// The AuthController is responsible for logging in ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Hanssens.Net.Identity.RavenDb.Models;
using WebMatrix.WebData;
namespace Hanssens.Net.Identity.RavenDb.Controllers
{
/// The AuthController is responsible for logging in ... | mit | C# |
b1ba534d787cda26b61f2a3d2386c6612fcf637f | Add content to OK. | bigfont/webapi-cors | CORS/Controllers/ValuesController.cs | CORS/Controllers/ValuesController.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | mit | C# |
5342e870a6241d5337fd33410b9b6813e3ae383e | Add null checks and vigorous tests to PauseManager | plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Stage/PauseManager.cs | Assets/Scripts/Stage/PauseManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PauseManager : MonoBehaviour
{
public UnityEvent onPause, onUnPause;
[SerializeField]
private bool enableVigorousTesting;
//Whitelisted items won't be affected by pause
public AudioSource[] aud... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PauseManager : MonoBehaviour
{
public UnityEvent onPause, onUnPause;
//Whitelisted items won't be affected by pause
public AudioSource[] audioSourceWhitelist;
public MonoBehaviour[] scriptWhiteli... | mit | C# |
87db663123d9cce14d6f5d4f4b1b11efc5a282cc | Return masterpage file object | artokai/PnP-PowerShell,Oaden/PnP-PowerShell,OfficeDev/PnP-PowerShell,pschaeflein/PnP-PowerShell,PieterVeenstra/PnP-PowerShell,iiunknown/PnP-PowerShell,kilasuit/PnP-PowerShell,larray/PowerShell,Segelfeldt/PnP-PowerShell | Commands/Publishing/AddMasterPage.cs | Commands/Publishing/AddMasterPage.cs | using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
namespace OfficeDevPnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Add, "SPOMasterPage")]
[CmdletHelp("Adds a Masterpage",
Category = CmdletHelpCategory.Publishing)]
[CmdletExam... | using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
namespace OfficeDevPnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Add, "SPOMasterPage")]
[CmdletHelp("Adds a Masterpage",
Category = CmdletHelpCategory.Publishing)]
[CmdletExam... | mit | C# |
af4a273aeea37461c35bcc6b02b4b082304d4ed8 | Fix targeting | rsdn/CodeJam | CodeJam.Main/DisposableExtensions.cs | CodeJam.Main/DisposableExtensions.cs | using System;
using System.Collections.Generic;
#if TARGETS_NET || LESSTHAN_NETSTANDARD21 || LESSTHAN_NETCOREAPP30
#else
using System.Threading.Tasks;
#endif
using CodeJam.Internal;
using JetBrains.Annotations;
namespace CodeJam
{
/// <summary>The <see cref="IDisposable"/> extensions.</summary>
[PublicAPI]
publi... | using System;
using System.Collections.Generic;
#if (TARGETS_NETSTANDARD && !LESSTHAN_NETSTANDARD21) || (TARGETS_NETCOREAPP && !LESSTHAN_NETCOREAPP30)
using System.Threading.Tasks;
#endif
using CodeJam.Internal;
using JetBrains.Annotations;
namespace CodeJam
{
/// <summary>The <see cref="IDisposable"/> extensions.... | mit | C# |
aa0e1e41965c3b51fb6a59ce0f8776705fe1cfae | Bump version. | evgeny-myasishchev/mvc-respond-to | RespondTo/Properties/AssemblyInfo.cs | RespondTo/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# |
8b9738875e7494b8b3a9d2ee3eb825b50e82629a | Make fax test working | ringcentral/ringcentral-csharp | RingCentral.Test.Real/MessageTest.cs | RingCentral.Test.Real/MessageTest.cs | using Newtonsoft.Json;
using NUnit.Framework;
using RingCentral.Http;
using System.Collections.Generic;
namespace RingCentral.Test.Real
{
[TestFixture]
class MessageTest : BaseTest
{
[Test]
public void SMS()
{
var subject = "hello world";
var requestBody = n... | using Newtonsoft.Json;
using NUnit.Framework;
using RingCentral.Http;
using System.Collections.Generic;
namespace RingCentral.Test.Real
{
[TestFixture]
class MessageTest : BaseTest
{
[Test]
public void SMS()
{
var subject = "hello world";
var requestBody = n... | mit | C# |
5108c25fd2bec05e809cf5dff9ddbabd1e262756 | Use IOwinContext in to pass Request.CallCancelled to repository | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.cs | Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.cs | using Bit.Signalr;
using Bit.Signalr.Implementations;
using BitChangeSetManager.DataAccess.Contracts;
using BitChangeSetManager.Model;
using Microsoft.Owin;
using System;
using System.Threading.Tasks;
namespace BitChangeSetManager.Api.Implementations
{
public class BitChangeSetManagerAppMessageHubEvents : Default... | using Bit.Signalr;
using Bit.Signalr.Implementations;
using BitChangeSetManager.DataAccess;
using BitChangeSetManager.Model;
using System;
using System.Threading;
using System.Threading.Tasks;
using Bit.Data.Contracts;
using BitChangeSetManager.DataAccess.Contracts;
namespace BitChangeSetManager.Api.Implementations
{... | mit | C# |
3d60906aae3969eb77d40053ae802b5271963585 | Fix removal of code block space indent for pre with parent div | mysticmind/reversemarkdown-net | src/ReverseMarkdown/Converters/Div.cs | src/ReverseMarkdown/Converters/Div.cs | using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Div : ConverterBase
{
public Div(Converter converter) : base(converter)
{
Converter.Register("div", this);
}
public override string Convert(HtmlNode node)
{
... | using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Div : ConverterBase
{
public Div(Converter converter) : base(converter)
{
Converter.Register("div", this);
}
public override string Convert(HtmlNode node)
{
... | mit | C# |
30c8d49ab7588ff55d8674517896c0e04b4d9f04 | load all entries for now | redmanmale/ReverseGeocoder | GeoSharp/ReverseGeoCode.cs | GeoSharp/ReverseGeoCode.cs | using GeoSharp.KDTree;
using System.Collections.Generic;
using System.IO;
//All the geocoding data can be gotten from: http://download.geonames.org/export/dump/
namespace GeoSharp
{
/*
* Hmmm, might be nice to get in a simple version that does country->regoin/province->district/municipality/prefecture
*... | using GeoSharp.KDTree;
using System.Collections.Generic;
using System.IO;
//All the geocoding data can be gotten from: http://download.geonames.org/export/dump/
namespace GeoSharp
{
/*
* Hmmm, might be nice to get in a simple version that does country->regoin/province->district/municipality/prefecture
*... | mit | C# |
a2c5365bb6971b4da2ce21df137bc7ba413247c8 | fix compilation for latest Rider sources | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | src/resharper-unity/Psi/Resolve/UnityEventFunctionReferenceProviderFactory.cs | src/resharper-unity/Psi/Resolve/UnityEventFunctionReferenceProviderFactory.cs | using System;
using JetBrains.DataFlow;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Caches;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.Resolve;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.Psi.Resolve
{
[ReferenceProviderFactory]
pub... | using System;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.Resolve;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.Psi.Resolve
{
[ReferenceProviderFactory]
public class UnityEventFunctionReferenceProviderFactory : IReferenc... | apache-2.0 | C# |
4044aa81eb2f81f442a9243e24b4604ad1c178b3 | Support src property | jcmoyer/Yeena | Yeena/PathOfExile/PoEStashTabInfo.cs | Yeena/PathOfExile/PoEStashTabInfo.cs | // Copyright 2013 J.C. Moyer
//
// 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 or agreed to ... | // Copyright 2013 J.C. Moyer
//
// 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 or agreed to ... | apache-2.0 | C# |
05252900105993663ed3c073eec15f70539f1598 | Add Position and Size properties to Rectanclei | rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary | CSharpGameLibrary/Math/Rectanglei.cs | CSharpGameLibrary/Math/Rectanglei.cs | using System;
using System.Numerics;
namespace CSGL.Math {
public struct Rectanglei {
public int X { get; set; }
public int Y { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public Rectanglei(int x, int y, int width, int height) {
X... | using System;
using System.Numerics;
namespace CSGL.Math {
public struct Rectanglei {
public int X { get; set; }
public int Y { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public Rectanglei(int x, int y, int width, int height) {
X... | mit | C# |
4add1727b7458b9e36584fafdb753793c41ee447 | Fix hitsounds not updating immediately after switching skins | ppy/osu,peppy/osu,ZLima12/osu,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,2y... | osu.Game/Skinning/SkinnableSound.cs | osu.Game/Skinning/SkinnableSound.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu... | mit | C# |
69e62b3289b1012bf9ef0d2f28467db0980cbde6 | fix IsValid | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter/Highlightings/AsyncWaitHighlighting.cs | AsyncConverter/Highlightings/AsyncWaitHighlighting.cs | using AsyncConverter.Highlightings;
using AsyncConverter.Settings;
using JetBrains.Annotations;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
[assembly: RegisterConfi... | using AsyncConverter.Highlightings;
using AsyncConverter.Settings;
using JetBrains.Annotations;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
[assembly: RegisterConfi... | mit | C# |
8b4fca2888da6b3a27ba71ecb1870a5d1d4b6d48 | Fix bug: When using MailChimpManager Memmbers AddOrUpdateAsync method with a non empty List<MarketingPermissionText>() e.g List<MarketingPermissionText>() {MarketingPermissionText.Email, MarketingPermissionText.CustomizedOnlineAdvertising} the library errors with The given key was not present in the dictionary. (#418) | brandonseydel/MailChimp.Net | MailChimp.Net/Models/MarketingPermissionText.cs | MailChimp.Net/Models/MarketingPermissionText.cs | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace MailChimp.Net.Models
{
public enum MarketingPermissionText
{
Email,
DirectMail,
CustomizedOnlineAdvertising
}
public static class MarketingPermissionTextHelpers
... | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace MailChimp.Net.Models
{
public enum MarketingPermissionText
{
Email,
DirectMail,
CustomizedOnlineAdvertising
}
public static class MarketingPermissionTextHelpers
... | mit | C# |
f93da423566c71304226196d3c2f3049aca68bba | Add Ascending bool to QueryOrder | GNOME/hyena,dufoli/hyena,dufoli/hyena,arfbtwn/hyena,arfbtwn/hyena,GNOME/hyena | Hyena/Hyena.Query/QueryOrder.cs | Hyena/Hyena.Query/QueryOrder.cs | //
// QueryOrder.cs
//
// Authors:
// Gabriel Burt <gburt@novell.com>
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to ... | //
// QueryOrder.cs
//
// Authors:
// Gabriel Burt <gburt@novell.com>
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to ... | mit | C# |
70f0b72a330370da7f8b2b2f521a21296812f4eb | Update BoolToVisibilityConverter.cs (#93) | randigtroja/Flashback | Flashback.Uwp/Converters/BoolToVisibilityConverter.cs | Flashback.Uwp/Converters/BoolToVisibilityConverter.cs | using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace FlashbackUwp.Converters
{
public class BoolToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
var flag = fals... | using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace FlashbackUwp.Converters
{
public class BoolToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
var flag = fal... | mit | C# |
33a99eead3e7b12cb54f5e8c6ed2b6df941f081e | Update DriverFactory.cs | ThebeRising/myTestGit | Implementation/DriverFactory.cs | Implementation/DriverFactory.cs | using System;
using Gauge.CSharp.Lib.Attribute;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.ChromeDriver;
namespace Gauge.Example.Implementation
{
public class DriverFactory
{
public static IWebDriver Driver { get; private set; }
[Befo... | using System;
using Gauge.CSharp.Lib.Attribute;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
namespace Gauge.Example.Implementation
{
public class DriverFactory
{
public static IWebDriver Driver { get; private set; }
[BeforeSuite]
public void Setup()... | apache-2.0 | C# |
c7a1553fdfea4bab68065614a65bd4bc20ac6395 | Move some common test setup code into the test class constructor | jasonmalinowski/directoryhash | DirectoryHashTests/RecomputeTests.cs | DirectoryHashTests/RecomputeTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace DirectoryHash.Tests
{
public class RecomputeTests : IDisposable
{
private readonly TemporaryDirectory temporaryDirectory = new TemporaryDirectory();
void ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace DirectoryHash.Tests
{
public class RecomputeTests
{
[Fact]
public void RecomputeOnEmptyDirectory()
{
using (var temporaryDirectory = ne... | mit | C# |
621968c1fe8ed34c8d8fb39261897fe5138872de | Fix signature | cwensley/maccore,jorik041/maccore,mono/maccore | src/ObjCRuntime/NSStringMarshal.cs | src/ObjCRuntime/NSStringMarshal.cs | using System.Runtime.InteropServices;
using System;
using MonoMac.Foundation;
namespace MonoMac.ObjCRuntime {
[StructLayout (LayoutKind.Sequential)]
public unsafe struct NSStringStruct {
public IntPtr ClassPtr;
public int Flags;
public char *UnicodePtr;
public int Length;
// The class pointer that we pic... | using System.Runtime.InteropServices;
using System;
using MonoMac.Foundation;
namespace MonoMac.ObjCRuntime {
public unsafe struct NSStringStruct {
public IntPtr ClassPtr;
public int Flags;
public char *UnicodePtr;
public int Length;
// The class pointer that we picked at runtime
public readonly static ... | apache-2.0 | C# |
2d41ab4f5093b353bed66d2e12d75ad93c4cbc5d | fix json1 | askeip/tasks | JsonConversion/JsonConverter.cs | JsonConversion/JsonConverter.cs | using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace JsonConversion
{
public class JsonConverter : IJsonConverter
{
public string Convert(string json)
{
var warehouseV2 = JsonConvert.DeserializeObject<WarehouseV2>(json);
var product... | using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace JsonConversion
{
public class JsonConverter : IJsonConverter
{
public string Convert(string json)
{
var warehouseV2 = JsonConvert.DeserializeObject<WarehouseV2>(json);
var product... | mit | C# |
efa7e5cb7d8b22f73e3bbf44b12d92faa3c45c01 | Adjust radius. | Nabile-Rahmani/osu,Drezi126/osu,tacchinotacchi/osu,ppy/osu,ZLima12/osu,RedNesto/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu-new,johnneijzen/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,nyaamara/osu,smoogipoo/osu,smoogip... | osu.Game.Modes.Taiko/Objects/TaikoHitObject.cs | osu.Game.Modes.Taiko/Objects/TaikoHitObject.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.Game.Beatmaps.Timing;
using osu.Game.Database;
using osu.Game.Modes.Objects;
namespace osu.Game.Modes.Taiko.Objects
{
public abstract class Taik... | // 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.Game.Beatmaps.Timing;
using osu.Game.Database;
using osu.Game.Modes.Objects;
namespace osu.Game.Modes.Taiko.Objects
{
public abstract class Taik... | mit | C# |
5a76ed4000075aecd01fa0c3583709d6d34f811c | Fix LegacyFilesystemReader Filenames property. | UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,2yangk23/osu,naoey/osu,Nabile-Rahmani/osu,smoogipooo/osu,peppy/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,Frontear/osuKyzer,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,n... | osu.Game/Beatmaps/IO/LegacyFilesystemReader.cs | osu.Game/Beatmaps/IO/LegacyFilesystemReader.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.IO.File;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace osu.Game.Beatmaps.IO
{
/// <summary>
//... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace osu.Game.Beatmaps.IO
{
/// <summary>
/// Reads an extracted legacy be... | mit | C# |
6ea0cc91554faff24d5c540c8c5bfebef0c14f74 | Throw on unexpected data | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | MYCroes.ATCommands/ATCommand.cs | MYCroes.ATCommands/ATCommand.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace MYCroes.ATCommands
{
public class ATCommand
{
private const string AT_OK = "OK";
private const string AT_ERROR = "ERROR";
public string Command { get; }
public IEnumer... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace MYCroes.ATCommands
{
public class ATCommand
{
private const string AT_OK = "OK";
private const string AT_ERROR = "ERROR";
public string Command { get; }
public IEnumer... | mit | C# |
208de3dd1aa5f0de33c44bc024dc5122eb455208 | Fix ProjectN build breaks (#3859) | gregkalapos/corert,yizhang82/corert,gregkalapos/corert,shrah/corert,yizhang82/corert,krytarowski/corert,yizhang82/corert,shrah/corert,krytarowski/corert,krytarowski/corert,gregkalapos/corert,shrah/corert,krytarowski/corert,shrah/corert,yizhang82/corert,gregkalapos/corert | src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs | src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.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;
using Internal.Runtime.Augments;
using Internal.NativeFormat;
using Internal.Runtime.TypeLoader;
usin... | // 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;
using Internal.Runtime.Augments;
using Internal.NativeFormat;
using Internal.Runtime.TypeLoader;
usin... | mit | C# |
75bb1aaab1080ae765407de45443d12b00900eb0 | Update IMongoDatabaseProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/IMongoDatabaseProvider.cs | TIKSN.Core/Data/Mongo/IMongoDatabaseProvider.cs | using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoDatabaseProvider
{
IMongoDatabase GetDatabase();
}
}
| using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoDatabaseProvider
{
IMongoDatabase GetDatabase();
}
} | mit | C# |
860fc40a2f9c81b0cac39b9678cd44a82e19cc70 | Update InternetConnectivityState.cs | tiksn/TIKSN-Framework | TIKSN.Core/Network/InternetConnectivityState.cs | TIKSN.Core/Network/InternetConnectivityState.cs | using System;
using System.Collections.Generic;
namespace TIKSN.Network
{
public class InternetConnectivityState : IEqualityComparer<InternetConnectivityState>,
IEquatable<InternetConnectivityState>
{
public InternetConnectivityState(bool isInternetAvailable, bool isWiFiAvailable,
... | using System;
using System.Collections.Generic;
namespace TIKSN.Network
{
public class InternetConnectivityState : IEqualityComparer<InternetConnectivityState>, IEquatable<InternetConnectivityState>
{
public InternetConnectivityState(bool isInternetAvailable, bool isWiFiAvailable, bool isCellularNetwo... | mit | C# |
d47605b6dd738ab47b1124822baf4e5da44c900f | Add doc comment | heejaechang/roslyn,jaredpar/roslyn,KevinRansom/roslyn,Shiney/roslyn,CyrusNajmabadi/roslyn,michalhosala/roslyn,AnthonyDGreen/roslyn,jaredpar/roslyn,leppie/roslyn,nguerrera/roslyn,swaroop-sridhar/roslyn,tannergooding/roslyn,Pvlerick/roslyn,tvand7093/roslyn,mavasani/roslyn,MatthieuMEZIL/roslyn,robinsedlaczek/roslyn,bkoelm... | src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Presentation/ICompletionSetFactory.cs | src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Presentation/ICompletionSetFactory.cs | using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Presentation
{
/// <summary>
/// We have two implementations of ICompletionSet that are specific to different VS versions
/// because the newer one li... | using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.Completion.Presentation
{
internal interface ICompletionSetFactory
{
ICompletionSet CreateCompletionSet(
CompletionPresenterSession completionPre... | mit | C# |
5f0e1bdf77261b84238a8ca84a79052a213c97d9 | Test we can commit gain | TheTalkingDev/Kata.Solved.GildedRose.CSharp,dtro-devuk/Kata.Solved.GildedRose.CSharp | src/Kata.GildedRose.CSharp.Unit.Tests/Factories/UpdateStockItemStrategy/UpdateItemStrategyFactory.cs | src/Kata.GildedRose.CSharp.Unit.Tests/Factories/UpdateStockItemStrategy/UpdateItemStrategyFactory.cs | using Kata.GildedRose.CSharp.Domain;
namespace Kata.GildedRose.CSharp.Unit.Tests.Factories.UpdateStockItemStrategy
{
public class UpdateItemStrategyFactory : IUpdateItemStrategyFactory
{
public IStockItemUpdateStrategy Create(Item stockItem)
{
switch (item.Name)
{
... | using Kata.GildedRose.CSharp.Domain;
namespace Kata.GildedRose.CSharp.Unit.Tests.Factories.UpdateStockItemStrategy
{
public class UpdateItemStrategyFactory : IUpdateItemStrategyFactory
{
public IStockItemUpdateStrategy Create(Item stockItem)
{
return new AgedBrieUpdateStrategy();
... | mit | C# |
7d55cf4d9f63fc60fdef50038ea5839b17083fd7 | change AttributeTargets for FromServiceAttribute | AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework | src/AspectCore.Lite/Abstractions/Injections/FromServiceAttribute.cs | src/AspectCore.Lite/Abstractions/Injections/FromServiceAttribute.cs | using System;
namespace AspectCore.Lite.Abstractions
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
public sealed class FromServiceAttribute : Attribute
{
}
}
| using System;
namespace AspectCore.Lite.Abstractions
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class FromServiceAttribute : Attribute
{
}
}
| mit | C# |
00323530371f586fe86153d7fe82018e4add2e4a | modify checksignature.cs | JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WxOpen,JeffreySu/WxOpen,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,w... | Senparc.Weixin.MP/Senparc.Weixin.MP/CheckSignature.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/CheckSignature.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Web.Security;
namespace Senparc.Weixin.MP
{
public class CheckSignature
{
public static readonly string Token = "weixin";//必须和公众平台的token设置一致,或在方法中指定
/// <summary>
/// 检查签名是否正确
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Web.Security;
namespace Senparc.Weixin.MP
{
public class CheckSignature
{
public static readonly string Token = "weixin";//必须和公众平台的token设置一致,或在方法中指定
public static bool Check(string signature, s... | apache-2.0 | C# |
3a0cf3126f46517137a73f48abdccf4d6c9cddbf | Update ICosmosTableRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/CosmosTable/ICosmosTableRepository.cs | TIKSN.Core/Data/CosmosTable/ICosmosTableRepository.cs | using Microsoft.Azure.Cosmos.Table;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.CosmosTable
{
public interface ICosmosTableRepository<T> where T : ITableEntity
{
Task AddAsync(T entity, CancellationToken cancellationToken);
Task AddOrMergeAsync(T entity, Cancell... | using Microsoft.Azure.Cosmos.Table;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.CosmosTable
{
public interface IAzureTableStorageRepository<T> where T : ITableEntity
{
Task AddAsync(T entity, CancellationToken cancellationToken);
Task AddOrMergeAsync(T entity, C... | mit | C# |
bc5a7c8d5a92b165ab97596fe42a9fd63e21b31b | remove temp feature not implemented (the Not operator will be implemented later in another way) | rhwy/nlist | NList.Core/NList.Core/ForElements.cs | NList.Core/NList.Core/ForElements.cs | // The MIT License (MIT)
//
// Copyright (c) 2014 Rui Carvalho
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | // The MIT License (MIT)
//
// Copyright (c) 2014 Rui Carvalho
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | mit | C# |
6b113188777d342e3925fadf07378ba76fd0da4c | include .net maui | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
if (item == null)
return false;
var hasXamari... | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
if (item == null)
return false;
var hasXamari... | mit | C# |
98b6ddd105268ad3ab5d32904ae359db42183f1d | Add missing title attribute | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Views/Shared/_SignInPartial.cshtml | src/LondonTravel.Site/Views/Shared/_SignInPartial.cshtml | @inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager
@{
string displayName = User.GetDisplayName();
string avatarUrl = User.GetAvatarUrl(Url.CdnContent("avatar.png", Options));
}
@if (SignInManager.IsSignedIn(User))
{
<form asp-route="@SiteRoutes.SignOut" method="post" class=... | @inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager
@{
string displayName = User.GetDisplayName();
string avatarUrl = User.GetAvatarUrl(Url.CdnContent("avatar.png", Options));
}
@if (SignInManager.IsSignedIn(User))
{
<form asp-route="@SiteRoutes.SignOut" method="post" class=... | apache-2.0 | C# |
bd9ece58e61fd808e8f579b1817a287126f27b1f | Add DebuggerStepThrough attribute to SystemClock.AddCycles | eightlittlebits/elbsms | elbsms_core/SystemClock.cs | elbsms_core/SystemClock.cs | using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace elbsms_core
{
class SystemClock
{
public ulong Timestamp;
[DebuggerStepThrough]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void AddCycles(uint cycleCount)
{
Timestamp... | using System.Runtime.CompilerServices;
namespace elbsms_core
{
class SystemClock
{
public ulong Timestamp;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void AddCycles(uint cycleCount)
{
Timestamp += cycleCount;
}
}
}
| mit | C# |
f2ce788454abb0200cb49afebe67600e9133228e | Revert "Included call to base.WarmUp()." | KodrAus/Nimbus,NimbusAPI/Nimbus,NimbusAPI/Nimbus,KodrAus/Nimbus,KodrAus/Nimbus | src/Extensions/Nimbus.Transports.InProcess/MessageSendersAndReceivers/InProcessQueueReceiver.cs | src/Extensions/Nimbus.Transports.InProcess/MessageSendersAndReceivers/InProcessQueueReceiver.cs | using System.Threading;
using System.Threading.Tasks;
using Nimbus.ConcurrentCollections;
using Nimbus.Configuration.Settings;
using Nimbus.Infrastructure;
using Nimbus.Infrastructure.MessageSendersAndReceivers;
using Nimbus.Transports.InProcess.QueueManagement;
namespace Nimbus.Transports.InProcess.MessageSendersAndR... | using System.Threading;
using System.Threading.Tasks;
using Nimbus.ConcurrentCollections;
using Nimbus.Configuration.Settings;
using Nimbus.Infrastructure;
using Nimbus.Infrastructure.MessageSendersAndReceivers;
using Nimbus.Transports.InProcess.QueueManagement;
namespace Nimbus.Transports.InProcess.MessageSendersAndR... | mit | C# |
da3a53993409d2e3d843d4778516fb03e5cfa1c0 | Fix dispatch guard for Resolving | Miruken-DotNet/Miruken | Source/Miruken/Callback/Resolving.cs | Source/Miruken/Callback/Resolving.cs | namespace Miruken.Callback
{
using System;
using System.Diagnostics;
using Policy;
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public class Resolving : Inquiry, IInferCallback
{
private readonly object _callback;
private bool _handled;
public Resolving(ob... | namespace Miruken.Callback
{
using System;
using System.Diagnostics;
using Policy;
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public class Resolving : Inquiry, IInferCallback
{
private readonly object _callback;
private bool _handled;
public Resolving(ob... | mit | C# |
aa76e63ccd64c9f22bfdc8082674a31bd7f9ab8a | Fix the xunitdiscoverertests | OpenCoverUI/OpenCover.UI,MelleKoning/OpenCover.UI | OpenCover.UI.TestDiscoverer.Tests/XUnit/XUnitDiscovererTests.cs | OpenCover.UI.TestDiscoverer.Tests/XUnit/XUnitDiscovererTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using OpenCover.UI.Model.Test;
using OpenCover.UI.TestDiscoverer.TestResources.xUnit;
namespace OpenCover.UI.TestDiscoverer.Tests.XUnit
{
[Ignore]
[TestFixture]
class ... | using System;
using NUnit.Framework;
using OpenCover.UI.TestDiscoverer.TestResources.Xunit;
//using OpenCover.UI.TestDiscoverer.TestResources.Xunit;
namespace OpenCover.UI.TestDiscoverer.Tests.XUnit
{
public class XUnitDiscovererTests: DiscovererTestsBase
{
[TestCase(typeof(RegularFacts), "Regul... | mit | C# |
63050990df0f3e8cd18d46641b11b2e62357cc43 | Add MeetingId to ConsultationParticipantRequest | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/ConsultationParticipantResponse.cs | SnapMD.VirtualCare.ApiModels/ConsultationParticipantResponse.cs | using System;
namespace SnapMD.VirtualCare.ApiModels
{
public class ConsultationParticipantResponse: ConsultationParticipantRequest
{
public Guid PersonId { get; set; }
/// <summary>
/// The id of consultation meeting (chat)
/// </summary>
public Guid? MeetingI... | using System;
namespace SnapMD.VirtualCare.ApiModels
{
public class ConsultationParticipantResponse: ConsultationParticipantRequest
{
public Guid PersonId { get; set; }
}
}
| apache-2.0 | C# |
7313c26a660bc0de717837911fc23f5770c7c313 | Fix WinUI demo null ref exception after cancelling file picker. | helix-toolkit/helix-toolkit,holance/helix-toolkit | Source/Examples/WinUI/ModelViewer/Services/FilePickerService.cs | Source/Examples/WinUI/ModelViewer/Services/FilePickerService.cs | using System;
using System.Threading.Tasks;
using Microsoft.UI.Xaml;
using Windows.Storage.Pickers;
namespace ModelViewer.Services;
public sealed class FilePickerService
{
public async Task<string> StartFilePicker(string filters)
{
var tokens = filters.Split(';', StringSplitOptions.TrimEntries | Stri... | using System;
using System.Threading.Tasks;
using Microsoft.UI.Xaml;
using Windows.Storage.Pickers;
namespace ModelViewer.Services;
public sealed class FilePickerService
{
public async Task<string> StartFilePicker(string filters)
{
var tokens = filters.Split(';', StringSplitOptions.TrimEntries | Stri... | mit | C# |
dbaa16288caf2dd4576aff773d25d2a293dfcf9f | Disable CanSubmitToSILJiraAutomatedTestProject test on Linux | StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,JohnThomson/... | src/BloomTests/ProblemReporterDialogTests.cs | src/BloomTests/ProblemReporterDialogTests.cs | // Copyright (c) 2014-2015 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Reflection;
using NUnit.Framework;
using Bloom.MiscUI;
namespace BloomTests
{
[TestFixture]
[Category("RequiresUI")]
public class ProblemReporterDialogTest... | // Copyright (c) 2014-2015 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Reflection;
using NUnit.Framework;
using Bloom.MiscUI;
namespace BloomTests
{
[TestFixture]
[Category("RequiresUI")]
public class ProblemReporterDialogTest... | mit | C# |
d4ec648e5483f90a94fb995645ce6d8dfdc1cb2b | update version. | tangxuehua/equeue,geffzhang/equeue,Aaron-Liu/equeue,Aaron-Liu/equeue,tangxuehua/equeue,tangxuehua/equeue,geffzhang/equeue | src/EQueue/Properties/AssemblyInfo.cs | src/EQueue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | mit | C# |
b16ca059ca594f07c5df8b59e308767428aa9bdc | Add filters added via FluentMvc before filters added via attributes. | stormid/FluentMvc,stormid/FluentMvc,stormid/FluentMvc,stormid/FluentMvc | src/FluentMvc/ActionFilterRegistry.cs | src/FluentMvc/ActionFilterRegistry.cs | namespace FluentMvc
{
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Configuration;
public class ActionFilterRegistry : AbstractRegistry<ActionFilterRegistryItem, ActionFilterSelector>, IActionFilterRegistry
{
private IFluentMvcObjectFactory ob... | namespace FluentMvc
{
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Configuration;
public class ActionFilterRegistry : AbstractRegistry<ActionFilterRegistryItem, ActionFilterSelector>, IActionFilterRegistry
{
private IFluentMvcObjectFactory ob... | apache-2.0 | C# |
fea3540e4849d48e8f66bd3bc6e79a8cedf1bc8d | upgrade tu version 2.0.0 | hossmi/qtfk | QTFK.Core/Properties/AssemblyInfo.cs | QTFK.Core/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("QT... | 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("QT... | mit | C# |
651b8a3435fc8789a3f2b3c36d426b37eea2f642 | Add test case for deserialization of recipients as msisdns array | messagebird/csharp-rest-api | Tests/UnitTests/MessageBirdUnitTests/Resources/MessagesTests.cs | Tests/UnitTests/MessageBirdUnitTests/Resources/MessagesTests.cs | using MessageBird.Objects;
using MessageBird.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MessageBirdTests.Resources
{
[TestClass()]
public class MessagesTests
{
[TestMethod()]
public void DeserializeAndSerializ... | using MessageBird.Objects;
using MessageBird.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MessageBirdTests.Resources
{
[TestClass()]
public class MessagesTests
{
[TestMethod()]
public void DeserializeAndSerializ... | isc | C# |
0fe656b943c4579dbb04db0ff99f119fbd4ddaf6 | fix test | coe-google-apps-support/Mailman,coe-google-apps-support/Mailman,coe-google-apps-support/Mailman | src/Mailman.Tests/MockEmailService.cs | src/Mailman.Tests/MockEmailService.cs | using Mailman.Services;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Mailman.Tests
{
public class MockEmailService : IEmailService
{
public MockEmailService()
{
SentEmails = new List<Email>();
}
public I... | using Mailman.Services;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Mailman.Tests
{
public class MockEmailService : IEmailService
{
public MockEmailService()
{
SentEmails = new List<Email>();
}
public I... | mit | C# |
35bc61492fdb85cdab02c1940a8bbf963e9c26c9 | Improve the correctness of ParserQueryTest's Next parser by acknowledging that there may not be a next character to consume, while also ensuring that when the return type of Peek changes to ReadOnlySpan<char> this parser will not need further attention. | plioi/parsley | src/Parsley.Tests/ParserQueryTests.cs | src/Parsley.Tests/ParserQueryTests.cs | using System.Globalization;
namespace Parsley.Tests;
class ParserQueryTests
{
static readonly Parser<char> Next = input =>
{
var next = input.Peek(1);
if (next.Length == 1)
{
char c = next[0];
input.Advance(1);
return new Parsed<char>(c, input.Pos... | using System.Globalization;
namespace Parsley.Tests;
class ParserQueryTests
{
static readonly Parser<string> Next = input =>
{
var next = input.Peek(1);
input.Advance(1);
return new Parsed<string>(next, input.Position);
};
public void CanBuildParserWhichSimulatesSuccessfulPar... | mit | C# |
41b0df1f0e226934b9b787f6e6f1853e2d0ab259 | Document PoESocketedItem | jcmoyer/Yeena | Yeena/PathOfExile/PoESocketedItem.cs | Yeena/PathOfExile/PoESocketedItem.cs | // Copyright 2013 J.C. Moyer
//
// 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 or agreed to ... | // Copyright 2013 J.C. Moyer
//
// 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 or agreed to ... | apache-2.0 | C# |
dc28483aac56be90eb9007ac54541b44bc39c03c | Remove unnecessary doc comment | AArnott/pinvoke,vbfox/pinvoke | src/User32/User32+SendMessageTimeoutFlags.cs | src/User32/User32+SendMessageTimeoutFlags.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
{
/// <content>
/// Contains the <see cref="SendMessageTimeoutFlags"... | // 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
{
/// <content>
/// Contains the <see cref="SendMessageTimeoutFlags"... | mit | C# |
729f6c54b3d4ada26becf767925391b45ad03a88 | test path fix | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter.Tests/QuickFixes/ReturnNullToTaskAvailabilityTests.cs | AsyncConverter.Tests/QuickFixes/ReturnNullToTaskAvailabilityTests.cs | using System.IO;
using System.Linq;
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace AsyncConverter.Tests.QuickFixes
{
[TestFixture]
[TestNetFramework4]
public class ReturnNullToTaskAvailabilityTests : QuickFixAvailabilit... | using System.IO;
using System.Linq;
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace AsyncConverter.Tests.QuickFixes
{
[TestFixture]
[TestNetFramework4]
public class ReturnNullToTaskAvailabilityTests : QuickFixAvailabilit... | mit | C# |
98e34eb97a5757dfab529d1d7610d012bab65868 | Fix #12, show posts with no category | tylerlrhodes/bagombo,tylerlrhodes/bagombo,tylerlrhodes/bagombo | src/Bagombo.Data/Query/EFCoreQueryHandlers/GetAllPostsByCategoryViewModelEFQH.cs | src/Bagombo.Data/Query/EFCoreQueryHandlers/GetAllPostsByCategoryViewModelEFQH.cs | using Bagombo.Data.Query.Queries;
using Bagombo.EFCore;
using Bagombo.Models;
using Bagombo.Models.ViewModels.Home;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bagombo.Data.Query.EFCoreQueryHandlers
... | using Bagombo.Data.Query.Queries;
using Bagombo.EFCore;
using Bagombo.Models.ViewModels.Home;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bagombo.Data.Query.EFCoreQueryHandlers
{
public class GetAl... | mit | C# |
b12e1e05d32d72f96f846a68ab8f0ba689294497 | move unknownhost name to constant | Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore | src/Microsoft.ApplicationInsights.AspNetCore/Extensions/HttpRequestExtensions.cs | src/Microsoft.ApplicationInsights.AspNetCore/Extensions/HttpRequestExtensions.cs | namespace Microsoft.ApplicationInsights.AspNetCore.Extensions
{
using System;
using System.Text;
using Microsoft.AspNetCore.Http;
/// <summary>
/// Set of extension methods for Microsoft.AspNetCore.Http.HttpRequest
/// </summary>
public static class HttpRequestExtensions
{
pri... | namespace Microsoft.ApplicationInsights.AspNetCore.Extensions
{
using System;
using System.Text;
using Microsoft.AspNetCore.Http;
/// <summary>
/// Set of extension methods for Microsoft.AspNetCore.Http.HttpRequest
/// </summary>
public static class HttpRequestExtensions
{
/// ... | mit | C# |
89c5294c367c3688011f936cc486f2f8a1410954 | Format suggestions | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/TransactionDetails/Models/InOutInfoTuple.cs | WalletWasabi.Gui/Controls/TransactionDetails/Models/InOutInfoTuple.cs | using System;
namespace WalletWasabi.Gui.Controls.TransactionDetails.Models
{
public readonly struct InOutInfoTuple : IEquatable<InOutInfoTuple>
{
public InOutInfoTuple(AddressAmountTuple input, AddressAmountTuple output)
{
Input = input;
Output = output;
}
public AddressAmountTuple Input { get; }
p... | using System;
namespace WalletWasabi.Gui.Controls.TransactionDetails.Models
{
public readonly struct InOutInfoTuple : IEquatable<InOutInfoTuple>
{
public InOutInfoTuple(AddressAmountTuple input, AddressAmountTuple output)
{
Input = input;
Output = output;
}
public AddressAmountTuple Input { get; }
p... | mit | C# |
dbc522aedea4e0cf3e5b36b07e4e5f04d36f4b0c | Remove weird using | UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | mit | C# |
448023430c5bccc546ec76cbd036df1d1482e960 | Make sealed | mgoertz-msft/roslyn,ErikSchierboom/roslyn,ErikSchierboom/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,genlu/roslyn,physhi/roslyn,tmat/roslyn,gafter/roslyn,bartdesmet/roslyn,jmarolf/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,diryboy/roslyn,diryboy/roslyn,brettfo/roslyn,weltkante/ro... | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeIncrementalAnalyzerProvider.cs | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeIncrementalAnalyzerProvider.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.
#nullable enable
using Microsoft.CodeAnalysis.SolutionCrawler;
namespace Microsoft.CodeAnalysis.Remote
{
/// ... | // 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 enable
using Microsoft.CodeAnalysis.SolutionCrawler;
namespace Microsoft.CodeAnalysis.Remote
{
/// ... | mit | C# |
16c698677a08d1fe1ea0ab0af52f3619775ffb43 | add distinct data containers to confirmmigrationstatus | stankovski/azure-powershell,dulems/azure-powershell,stankovski/azure-powershell,naveedaz/azure-powershell,nemanja88/azure-powershell,dominiqa/azure-powershell,jianghaolu/azure-powershell,zhencui/azure-powershell,pomortaz/azure-powershell,haocs/azure-powershell,jasper-schneider/azure-powershell,dulems/azure-powershell,a... | src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ConfirmAzureStorSimpleLegacyVolumeContainerStatus.cs | src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ConfirmAzureStorSimpleLegacyVolumeContainerStatus.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
4c199104c5ba44c8e914f793c230e29287b5b403 | Update aspnetcore mvc plaintext (#5038) | zloster/FrameworkBenchmarks,stefanocasazza/FrameworkBenchmarks,jamming/FrameworkBenchmarks,RockinRoel/FrameworkBenchmarks,greenlaw110/FrameworkBenchmarks,jamming/FrameworkBenchmarks,greenlaw110/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,zloster/FrameworkBenchmarks,sagenschneider/Frame... | frameworks/CSharp/aspnetcore/Benchmarks/Controllers/HomeController.cs | frameworks/CSharp/aspnetcore/Benchmarks/Controllers/HomeController.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.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Benchmarks.Controllers
{
... | // 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.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Benchmarks.Controllers
{
... | bsd-3-clause | C# |
e406793eea3364f904fc02e2c260d24c3ddfde06 | Fix generic parameter | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/test/src/Unity.Tests/Unity/CSharp/Intentions/QuickFixes/PreferAddressByIdToGraphicsParamsQuickFixTests.cs | resharper/resharper-unity/test/src/Unity.Tests/Unity/CSharp/Intentions/QuickFixes/PreferAddressByIdToGraphicsParamsQuickFixTests.cs | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Plugins.Tests.Unity.CSharp.Daemon.Stages.Analysis;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.QuickFixes;
using NUnit.Framework;
namespace JetBrains.R... | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Plugins.Tests.Unity.CSharp.Daemon.Stages.Analysis;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.QuickFixes;
using NUnit.Framework;
namespace JetBrains.R... | apache-2.0 | C# |
9536c324fa3853bfeff8c29b54d3258ad1998509 | Rename aborted -> fired | ppy/osu,johnneijzen/osu,naoey/osu,smoogipoo/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,johnneijzen/osu,naoey/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,smoogi... | osu.Game.Tests/Visual/TestCaseHoldToConfirmOverlay.cs | osu.Game.Tests/Visual/TestCaseHoldToConfirmOverlay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Screens.Menu;
namespace osu.Game.Tests.Vi... | // 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 System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Screens.Menu;
namespace osu.Game.Tests.Vi... | mit | C# |
3eead65a2b4b4ec85bcbc4dccd91ddf665d4cb3a | Test commit | ravi-msi/practicegit,ravi-msi/practicegit,ravi-msi/practicegit | PracticeGit/PracticeGit/Views/Home/Index.cshtml | PracticeGit/PracticeGit/Views/Home/Index.cshtml | <div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<div class="row">
<div class="col-... | <div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<div class="row">
<div class="col-... | mit | C# |
56260d6a0d35c9afba1dfe2f6e41c0dffa42f332 | Fix embedded native widgets | mminns/xwt,mono/xwt,mminns/xwt,antmicro/xwt,iainx/xwt,lytico/xwt,cra0zy/xwt,akrisiun/xwt,hwthomas/xwt,residuum/xwt,directhex/xwt,hamekoz/xwt,TheBrainTech/xwt,steffenWi/xwt | Xwt.Gtk/Xwt.GtkBackend/EmbeddedWidgetBackend.cs | Xwt.Gtk/Xwt.GtkBackend/EmbeddedWidgetBackend.cs | //
// EmbeddedWidgetBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 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 res... | //
// EmbeddedWidgetBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 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 res... | mit | C# |
42b237804ead35744c8da0a194c241b67c372adf | Update CrossSheetReference.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/CrossSheetReference.cs | main/Smartsheet/Api/Models/CrossSheetReference.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | apache-2.0 | C# |
2f9a52c0a24b2a7ccf27ee1f31a9019a25976699 | fix brushesmaplist | VitalickS/BrightSharp.Toolkit,VitalickS/BrightSharp.Toolkit | BrightSharp.Ui.Tests/BrushesMapList.cs | BrightSharp.Ui.Tests/BrushesMapList.cs | using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace BrightSharp.Ui.Tests
{
public class BrushesMapList : Dictionary<string, object>
{
public BrushesMapList() {
var dic = Application.Current.Resources.MergedDictionaries.FirstOrDef... | using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace BrightSharp.Ui.Tests
{
public class BrushesMapList : Dictionary<string, object>
{
public BrushesMapList() {
var dic = Application.Current.Resources.MergedDictionaries.First();
... | mit | C# |
c07f3f25af5ace2d0896c493ad786ca787465b8e | fix description | CIMEL/CIMEL,baikangwang/Aeronet | CIMEL.Chart/Properties/AssemblyInfo.cs | CIMEL.Chart/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | apache-2.0 | C# |
a93bea94ccb2d688a3ef95520c39362579dca8de | Fix flaky test | alexvictoor/BrowserLog,alexvictoor/BrowserLog,alexvictoor/BrowserLog | BrowserLog.Tests/TinyServer/LineParserTest.cs | BrowserLog.Tests/TinyServer/LineParserTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using BrowserLog.TinyServer;
using NFluent;
using NUnit.Framework;
namespace BrowserLog.TinyServer
{
public class LineParserTest
{
[Test]
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using BrowserLog.TinyServer;
using NFluent;
using NUnit.Framework;
namespace BrowserLog.TinyServer
{
public class LineParserTest
{
[Test]
... | apache-2.0 | C# |
5da12d03dfb7beff4fa844c2729ae42711b6d154 | Update version | karpach/debug-attach-manager | DebugAttachHistory/Properties/AssemblyInfo.cs | DebugAttachHistory/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
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;
using System.Reflection;
using System.Resources;
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... | apache-2.0 | C# |
08fe9fec45a5dfec8a63cff7f55d5b0401ce583c | use all concordion:commands as lower case | ShaKaRee/concordion-net,concordion/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net | Concordion/Internal/CommandRegistry.cs | Concordion/Internal/CommandRegistry.cs | // Copyright 2009 Jeffrey Cameron
//
// 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 or ag... | // Copyright 2009 Jeffrey Cameron
//
// 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 or ag... | apache-2.0 | C# |
8f12fb6867a6efa436aa5b8b6c24ecb9776558f7 | Update test to make sure this is working | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib.Tests/ExecutionCommon/LocalBashHelpersTest.cs | LINQToTTree/LINQToTTreeLib.Tests/ExecutionCommon/LocalBashHelpersTest.cs | using LINQToTTreeLib.ExecutionCommon;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LINQToTTreeLib.Tests.ExecutionCommon
{
/// <summary>
/// Check to see if we can do basic ROOT ... | using LINQToTTreeLib.ExecutionCommon;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LINQToTTreeLib.Tests.ExecutionCommon
{
/// <summary>
/// Check to see if we can do basic ROOT ... | lgpl-2.1 | C# |
6bb37f20522f23a0c0b851e9db9ecf2d419418f3 | Add IsEmpty IEnumerable<T> extension method | smarkets/IronSmarkets | IronSmarkets/Extensions/IEnumerable.cs | IronSmarkets/Extensions/IEnumerable.cs | // Copyright (c) 2011 Smarkets Limited
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merge, pu... | // Copyright (c) 2011 Smarkets Limited
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merge, pu... | mit | C# |
97ce36ac7ffc97fca64ebdbbc9a0ce16a2fe11c7 | Update StopTranscriptCmdlet.cs summary comment (#15349) | PaulHigin/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell... | src/Microsoft.PowerShell.ConsoleHost/host/msh/StopTranscriptCmdlet.cs | src/Microsoft.PowerShell.ConsoleHost/host/msh/StopTranscriptCmdlet.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Management.Automation;
using System.Management.Automation.Internal;
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// Implements the stop-transcript cmdlet.
/// </summary>
[Cmdlet(VerbsLifec... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Management.Automation;
using System.Management.Automation.Internal;
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// Implements the stop-transcript cmdlet.
/// </summary>
[Cmdlet(VerbsLifec... | mit | C# |
5ccdd2b203512f9a6cb00947546b5474bfcd46a2 | Mask the osu! beatsnap grid | NeoAdonis/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,ppy/osu,2yangk23/osu,peppy/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu | osu.Game.Rulesets.Osu/Edit/OsuDistanceSnapGrid.cs | osu.Game.Rulesets.Osu/Edit/OsuDistanceSnapGrid.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Screens.Edit.Compose.Components;
namespace osu.Game.R... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Screens.Edit.Compose.Components;
namespace osu.Game.R... | mit | C# |
9822a092c4f11c46f8e185d029772eb5ef71d934 | Add localization for enum | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Overlays/Comments/CommentReportReason.cs | osu.Game/Overlays/Comments/CommentReportReason.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.Resources.Localisation.Web;
namespace osu.Game.Overlays.Comments
{
public enum CommentReportReason
{
[Lo... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Overlays.Comments
{
public enum CommentReportReason
{
Insults,
Spam,
UnwantedContent,
Nonsense,
Other
... | mit | C# |
974feee6a8827c2c115a2c066a7e0bf689e7c75c | Add version and copyright info | frabert/SharpPhysFS | SharpPhysFS/Properties/AssemblyInfo.cs | SharpPhysFS/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("Sh... | 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... | mit | C# |
21a906e9a4aa85a8406dd366252e2e59f83e2aa1 | Remove cancellation token | martincostello/api,martincostello/api,martincostello/api | src/API/Program.cs | src/API/Program.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | mit | C# |
fa61a112aac3891c19f1f720c9a9018a1c3677aa | Remove redundant parenthesis | luizbon/VisualStudio,github/VisualStudio,github/VisualStudio,github/VisualStudio,HeadhunterXamd/VisualStudio | src/GitHub.App/Caches/CacheIndex.cs | src/GitHub.App/Caches/CacheIndex.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reactive.Linq;
using Akavache;
using NullGuard;
namespace GitHub.Caches
{
public class CacheIndex
{
public static CacheIndex Create(string key)
{
return new CacheIndex { IndexKey = key };
... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reactive.Linq;
using Akavache;
using NullGuard;
namespace GitHub.Caches
{
public class CacheIndex
{
public static CacheIndex Create(string key)
{
return new CacheIndex() { IndexKey = key };
... | mit | C# |
80d9f0ac6bc46bee5e41f837ee23fd975782e49f | Add all reference in imported override directive | apexrichard/ConfuserEx,arpitpanwar/ConfuserEx,AgileJoshua/ConfuserEx,modulexcite/ConfuserEx,fretelweb/ConfuserEx,yeaicc/ConfuserEx,KKKas/ConfuserEx,Desolath/ConfuserEx3,jbeshir/ConfuserEx,manojdjoshi/ConfuserEx,engdata/ConfuserEx,timnboys/ConfuserEx,Desolath/Confuserex,Immortal-/ConfuserEx,farmaair/ConfuserEx | Confuser.Renamer/References/OverrideDirectiveReference.cs | Confuser.Renamer/References/OverrideDirectiveReference.cs | using System;
using System.Linq;
using Confuser.Core;
using dnlib.DotNet;
namespace Confuser.Renamer.References {
internal class OverrideDirectiveReference : INameReference<MethodDef> {
readonly VTableSlot baseSlot;
readonly VTableSlot thisSlot;
public OverrideDirectiveReference(VTableSlot thisSlot, VTableSlo... | using System;
using System.Linq;
using Confuser.Core;
using dnlib.DotNet;
namespace Confuser.Renamer.References {
internal class OverrideDirectiveReference : INameReference<MethodDef> {
readonly VTableSlot baseSlot;
readonly VTableSlot thisSlot;
public OverrideDirectiveReference(VTableSlot thisSlot, VTableSlo... | mit | C# |
46dacd8eddc1356e3096816c07361b8c6c567d3d | Update AssemblyFileVersion for Microsoft.Rest.ClientRuntime.Azure.Authentication (#12937) | AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,stankovski/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,ayeletshpi... | sdk/mgmtcommon/Auth/Az.Auth/Az.Authentication/Properties/AssemblyInfo.cs | sdk/mgmtcommon/Auth/Az.Auth/Az.Authentication/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTi... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTi... | mit | C# |
0024edb10802ef4fc752d47ae23893fa3749f5a7 | add missing model: NuGetPackagesExtendedNuGetPackageSymbols | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/NuGetPackagesExtendedNuGetPackageSymbols.cs | src/ProGet.Net/Native/Models/NuGetPackagesExtendedNuGetPackageSymbols.cs | using System.Collections.Generic;
// ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class NuGetPackagesExtendedNuGetPackageSymbols
{
public List<NuGetPackageExtended> NuGetPackages_Extended { get; set; }
public List<NuGetPackageSymbols> NuGetPackageSymbols { ... | namespace ProGet.Net.Native.Models
{
public class NuGetPackagesExtendedNuGetPackageSymbols
{
}
}
| mit | C# |
872c0b84af6c6f9ef317ce9ed1d337899c855e63 | Fix error | 12joan/hangman | row.cs | row.cs | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
... | unlicense | C# |
d38ea6467564b15b192c43a6adaaf089ce8dfb4c | Throw exitCode non zero exception | jeremytammik/RevitLookup | Build/Build.Installer.cs | Build/Build.Installer.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using Nuke.Common;
partial class Build
{
Target CreateInstaller => _ => _
.TriggeredBy(Compile)
.Produces(ArtifactsDirectory / "*.msi")
.E... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using Nuke.Common;
partial class Build
{
Target CreateInstaller => _ => _
.TriggeredBy(Compile)
.Produces(ArtifactsDirectory / "*.msi")
.E... | mit | C# |
83656d838835349b2ac4751a036b2cc0f19b160a | Remove unnecessary properties | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs | using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Walle... | using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Walle... | mit | C# |
02a60fc4d35bfb6cf728afcba84afd91f3d91af3 | Update mvx init for android | aritchie/userdialogs | src/Acr.MvvmCross.Plugins.UserDialogs.Droid/Plugin.cs | src/Acr.MvvmCross.Plugins.UserDialogs.Droid/Plugin.cs | using System;
using Cirrious.CrossCore;
using Cirrious.CrossCore.Droid.Platform;
using Cirrious.CrossCore.Plugins;
using Acr.UserDialogs;
namespace Acr.MvvmCross.Plugins.UserDialogs.Droid {
public class Plugin : IMvxPlugin {
public void Load() {
Acr.UserDialogs.UserDialogs.Instance = new App... | using System;
using Cirrious.CrossCore;
using Cirrious.CrossCore.Droid.Platform;
using Cirrious.CrossCore.Plugins;
using Acr.UserDialogs;
namespace Acr.MvvmCross.Plugins.UserDialogs.Droid {
public class Plugin : IMvxPlugin {
public void Load() {
Mvx.CallbackWhenRegistered<IMvxAndroidCurrentT... | mit | C# |
09449c679f8eb0f676665f6bd17d6219613151d8 | Add DokanOptions comments as summary | TrabacchinLuigi/dokan-dotnet,magol/dokan-dotnet,dokan-dev/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,viciousviper/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet | DokanNet/DokanOptions.cs | DokanNet/DokanOptions.cs | using System;
namespace DokanNet
{
/// <summary>
/// Dokan mount options used to describe dokan device behaviour.
/// </summary>
[Flags]
public enum DokanOptions : long
{
/// <summary>Enable ouput debug message</summary>
DebugMode = 1,
/// <summary>Enable ouput debug m... | using System;
namespace DokanNet
{
[Flags]
public enum DokanOptions : long
{
DebugMode = 1, // ouput debug message
StderrOutput = 2, // ouput debug message to stderr
AltStream = 4, // use alternate stream
WriteProtection = 8, // mount drive as write-protected.
Netwo... | mit | C# |
b46c985e9d974c587f1638bc5e738e04a8a631a8 | Update namespace | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Common/Maps/Special/KeepWithinExtentSample.cs | Samples/Mapsui.Samples.Common/Maps/Special/KeepWithinExtentSample.cs | using Mapsui.Projection;
using Mapsui.UI;
using Mapsui.Utilities;
namespace Mapsui.Samples.Common.Maps.Special
{
public class KeepWithinExtentSample : ISample
{
public string Name => "Keep Within Extent";
public string Category => "Special";
public void Setup(IMapControl mapControl)
... | using Mapsui.Projection;
using Mapsui.UI;
using Mapsui.Utilities;
namespace Mapsui.Samples.Common.Maps
{
public class KeepWithinExtentSample : ISample
{
public string Name => "Keep Within Extent";
public string Category => "Special";
public void Setup(IMapControl mapControl)
{... | mit | C# |
d6113889d26ec7d1bdef2b9a3dbc3a8183dd7c8e | remove unnecessary using | Kingloo/Pingy | src/Gui/MainWindow.xaml.cs | src/Gui/MainWindow.xaml.cs | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Pingy.Model;
namespace Pingy.Gui
{
public partial class MainWindow : Window
{
private readonly MainWindowViewModel vm = null;
public MainWindow(MainWindowViewModel viewModel)
{
... | using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Pingy.Model;
namespace Pingy.Gui
{
public partial class MainWindow : Window
{
private readonly MainWindowViewModel vm = null;
public MainWindow(MainWindowViewModel vi... | unlicense | C# |
bd13ed4afaa2f08b418f2f9ea234f73d2f2f71a6 | Revert "Remove unnecessary condition from RemoveMember.cs" | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | iam/api/Access/RemoveMember.cs | iam/api/Access/RemoveMember.cs | // Copyright 2019 Google Inc.
//
// 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 or agreed to in ... | // Copyright 2019 Google Inc.
//
// 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 or agreed to in ... | apache-2.0 | C# |
6294473783195c226ecb43f812a6817c87395aeb | Make `InvocationShape` deconstructible | Moq/moq4,ocoanet/moq4 | src/Moq/InvocationShape.cs | src/Moq/InvocationShape.cs | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Moq
{
/// <summary>
/// Describes the ... | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Moq
{
/// <summary>
/// Describes the ... | bsd-3-clause | C# |
ac3cfdf330d617c43b50fabe498c504acbf5d30e | Add GetProject, GetSolutionFolder, SolutionFolders, and Projects to SolutionFolder | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/ProjectModel/SolutionFolder.cs | source/Nuke.Common/ProjectModel/SolutionFolder.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.ProjectModel
{
[PublicAPI]
public class SolutionFolder : ... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.ProjectModel
{
[PublicAPI]
public class SolutionFolder : ... | mit | C# |
474e48d8a6dfdcbcad9755e39c0e5c34b72be9c9 | Fix out of range bug in sequence task. | marcotmp/BehaviorTree | Assets/Scripts/BehaviorTree/Composites/Sequence.cs | Assets/Scripts/BehaviorTree/Composites/Sequence.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sequence : CompositeTask {
private int taskIndex = 0;
public Sequence(string name) : base(name) { }
override public ReturnCode Update()
{
var returnCode = tasks[taskIndex].Update();
if (retur... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sequence : CompositeTask {
private int taskIndex = 0;
public Sequence(string name) : base(name) { }
override public ReturnCode Update()
{
var returnCode = tasks[taskIndex].Update();
if (retur... | unlicense | C# |
81d994abeda12ff1e0ddf635c77363f82ae96b4f | Change ChatMessageNotification's LabelText | smoogipoo/osu,peppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Overlays/Settings/Sections/Online/AlertsAndPrivacySettings.cs | osu.Game/Overlays/Settings/Sections/Online/AlertsAndPrivacySettings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Online
{
public class Aler... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Online
{
public class Aler... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.