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 |
|---|---|---|---|---|---|---|---|---|
90b12c8cbb79e7fb9702f669e00d75628cba2543 | Add a default Logger implementation for AbpMemoryCacheManager | verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ilyhacker/aspnetboilerplate,zclmoon/aspnetboilerplate,virtualcca/aspnetboilerplate,Nongzhsh/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,andmattia/aspnetboilerplate,Nongzhsh/aspnetboilerplate,zclmoon/aspnetboilerplate,virtualcca/a... | src/Abp/Runtime/Caching/Memory/AbpMemoryCacheManager.cs | src/Abp/Runtime/Caching/Memory/AbpMemoryCacheManager.cs | using Abp.Dependency;
using Abp.Runtime.Caching.Configuration;
using Castle.Core.Logging;
namespace Abp.Runtime.Caching.Memory
{
/// <summary>
/// Implements <see cref="ICacheManager"/> to work with MemoryCache.
/// </summary>
public class AbpMemoryCacheManager : CacheManagerBase
{
public ... | using Abp.Dependency;
using Abp.Runtime.Caching.Configuration;
using Castle.Core.Logging;
namespace Abp.Runtime.Caching.Memory
{
/// <summary>
/// Implements <see cref="ICacheManager"/> to work with MemoryCache.
/// </summary>
public class AbpMemoryCacheManager : CacheManagerBase
{
public ... | mit | C# |
34e33c828661546f7ccd9c9ed42b62efc4844158 | Update version | mruhul/Bolt.Validation,mruhul/Bolt.Validation | Src/Bolt.Validation/Properties/AssemblyInfo.cs | Src/Bolt.Validation/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("Bo... | 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("Bo... | apache-2.0 | C# |
cb693e5b49b2717d4583c23f2c5016c6f6ef3803 | fix typo | MicrosoftDX/botFramework-proactiveMessages,MicrosoftDX/botFramework-proactiveMessages,MicrosoftDX/botFramework-proactiveMessages | csharp/simpleSendMessage/Controllers/CustomWebAPIController.cs | csharp/simpleSendMessage/Controllers/CustomWebAPIController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace simpleSendMessage.Controllers
{
//This controller exists just to prove that we can trigger that proactive conversation even f... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace simpleSendMessage.Controllers
{
//This controller exists just to prove that we can trigger that proactive conversation even f... | mit | C# |
5554d0f781991dcde29111debc7cdf1f278072f5 | change google tokens data format | CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity | Assets/Scripts/CloudBread/AzureAuthentication.cs | Assets/Scripts/CloudBread/AzureAuthentication.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class AzureAuthentication : MonoBehaviour {
public class AuthenticationToken
{
}
public class FacebookGoogleAuthenticationToken : AuthenticationToken
{
public string access_token;
}
public class GoogleAuth... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class AzureAuthentication : MonoBehaviour {
public class AuthenticationToken
{
}
public class FacebookGoogleAuthenticationToken : AuthenticationToken
{
public string access_token;
}
public class MicrosoftAu... | mit | C# |
5fc9c739148cfda076bc01a6c36d4fe7f6e6c85f | Fix link to users list | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/Views/Shared/_Layout.cshtml | BatteryCommander.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Battery Commander</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Battery Commander</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse... | mit | C# |
07c43304a267a5592d42f32b567f16d53267dab4 | reorder usings | ChrisHel/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,hal-ler/omnisharp-roslyn,nabychan/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,sriramgd/omnisharp-roslyn,hach-que/omnisharp-roslyn,haled/omnisharp-roslyn,haled/omnisharp-roslyn,hitesh97/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,xdegtyarev/omnisharp-rosly... | tests/OmniSharp.Tests/Fakes/FakeOmniSharpEnvironment.cs | tests/OmniSharp.Tests/Fakes/FakeOmniSharpEnvironment.cs | using Microsoft.Framework.Logging;
using OmniSharp.Services;
namespace OmniSharp.Tests
{
public class FakeEnvironment : IOmnisharpEnvironment
{
public LogLevel TraceType { get; }
public int Port { get; }
public int HostPID { get; }
public string Path { get { return "."; } }
... | using OmniSharp.Services;
using Microsoft.Framework.Logging;
namespace OmniSharp.Tests
{
public class FakeEnvironment : IOmnisharpEnvironment
{
public LogLevel TraceType { get; }
public int Port { get; }
public int HostPID { get; }
public string Path { get { return "."; } }
... | mit | C# |
7038aa4d4ff595907da7a06f1636578b773628b5 | Change version number. | jonnybee/csla,jonnybee/csla,ronnymgm/csla-light,rockfordlhotka/csla,JasonBock/csla,JasonBock/csla,BrettJaner/csla,rockfordlhotka/csla,rockfordlhotka/csla,ronnymgm/csla-light,MarimerLLC/csla,ronnymgm/csla-light,BrettJaner/csla,BrettJaner/csla,jonnybee/csla,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla | cslacs/Csla/Properties/AssemblyInfo.cs | cslacs/Csla/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("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("CS... | mit | C# |
3f506696b12abe534787451446fd06480ae9ea18 | Rename TdfConvert.ToInt to ToInt32 | MHeasell/Mappy,MHeasell/Mappy | Mappy/TdfConvert.cs | Mappy/TdfConvert.cs | namespace Mappy
{
using System;
public static class TdfConvert
{
public static string ToString(int i)
{
return Convert.ToString(i);
}
public static string ToString(bool b)
{
return b ? "1" : "0";
}
public sta... | namespace Mappy
{
using System;
public static class TdfConvert
{
public static string ToString(int i)
{
return Convert.ToString(i);
}
public static string ToString(bool b)
{
return b ? "1" : "0";
}
public sta... | mit | C# |
ae7d8da40d9cced3c7de564f449f6b37c709eb57 | Fix typo | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets | guides/voice/gather-dtmf-tones-guide/gather-example-step-1/example.5.x.cs | guides/voice/gather-dtmf-tones-guide/gather-example-step-1/example.5.x.cs | // In Package Manager, run:
// Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor
using System.Web.Mvc;
using Twilio.AspNet.Mvc;
using Twilio.AspNet.Common;
using Twilio.TwiML;
using System;
public class VoiceController : TwilioController
{
[HttpPost]
public TwiMLResult Index(VoiceRequest request)
{... | // In Package Manager, run:
// Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor
using System.Web.Mvc;
using Twilio.AspNet.Mvc;
using Twilio.AspNet.Common;
using Twilio.TwiML;
using System;
public class VoiceController : TwilioController
{
[HttpPost]
public TiwMLResult Index(VoiceRequest request)
{... | mit | C# |
a4a2e29b88a024585fb0aad31a1ba6c0fe772ac0 | Increment patch -> 0.1.1 | awseward/restivus | AssemblyInfo.sln.cs | AssemblyInfo.sln.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("0.1.1.0")]
[assembly: AssemblyFileVers... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyFileVers... | mit | C# |
50a4c522b8ab9be94436deb13d8976e4d7e245d0 | Update Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | aspose-email/Aspose.Email-for-.NET,asposeemail/Aspose_Email_NET | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | mit | C# |
e00688242066263de4297576022f4c7d77e2eb56 | Increment build number | emoacht/SnowyImageCopy | Source/SnowyImageCopy/Properties/AssemblyInfo.cs | Source/SnowyImageCopy/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
0c79fa3300c3776dbdd17f549f2088aa493012fd | Revert "Add Bruce Wayne to contact 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# |
7994581ebaabac78d7132b45e821256623d651c1 | Hide the form in the taskbar | DanH91/vuwall-motion,VuWall/VuWall-Motion | vuwall-motion/vuwall-motion/TransparentForm.cs | vuwall-motion/vuwall-motion/TransparentForm.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
ShowInTaskbar = false;
}
private void Transp... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
}
private void TransparentForm_Load(object sender, Event... | mit | C# |
969f304b62042127fce8be0e777d84f2f22be5bd | Fix whitespace. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Global.asax.cs | src/CGO.Web/Global.asax.cs | using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json.Serialization;
namespace CGO.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
p... | using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json.Serialization;
namespace CGO.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
public c... | mit | C# |
1d07d3012a7d72150b8d5aeb63a20fa501b177d5 | Update dns_client.cs | damianrusinek/classes-pas,damianrusinek/classes-pas,damianrusinek/classes-pas,damianrusinek/classes-pas,damianrusinek/classes-pas,damianrusinek/classes-pas | dns_client/dns_client.cs | dns_client/dns_client.cs | using System;
using System.Linq;
using System.Net;
using static System.Net.Dns;
namespace DnsClient
{
class Program
{
static void Main(string[] args)
{
// c# 7.0 tinkering, use this version of input error handling if you want
if (args.Length != 1)
{
... | using System;
using System.Linq;
using System.Net;
using static System.Net.Dns;
namespace DnsClient
{
class Program
{
static void Main(string[] args)
{
// c# 7.0 tinkering, use this version of input error handling if you want
//string hostname = args.Length == 1
... | mit | C# |
75fbbea599f3883af6c58b31dbd44f8658392a65 | allow translatable menu items for extensions | nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,dkoeb/f-spot,dkoeb/f-spot,mono/f-spot,Sanva/f-spot,GNOME/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,GNOME/f-spot,mono/f-spot,Sanva/f-spot,GNOME/f-spot,mono/f-spot,mans0954/f-spot,Yeta... | src/Extensions/MenuNode.cs | src/Extensions/MenuNode.cs | /*
* MenuNode.cs
*
* Author(s):
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details
*
*/
using System;
using Mono.Addins;
using Mono.Unix;
namespace FSpot.Extensions
{
[ExtensionNode ("Menu")]
[ExtensionNodeChild (typeof (MenuItemNode))]
[ExtensionNodeChild (typ... | /*
* MenuNode.cs
*
* Author(s):
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details
*
*/
using System;
using Mono.Addins;
using Mono.Unix;
namespace FSpot.Extensions
{
[ExtensionNode ("Menu")]
[ExtensionNodeChild (typeof (MenuItemNode))]
[ExtensionNodeChild (typ... | mit | C# |
b5b8c9779154d0e674174c498dab75058f07a4c8 | Bump version to v1.1.0.30 | TDaphneB/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net,MatthewSteeples/XeroAPI.Net | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XeroApi")]
[assembly: AssemblyDesc... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XeroApi")]
[assembly: AssemblyDesc... | mit | C# |
51edd8827772898e6e5ece224e4507cdeb182dac | Add back fade | ppy/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,peppy/osu,2yangk23/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.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 osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Component... | // 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 osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components;
using osu.Game.Rulesets.Osu... | mit | C# |
d7a2eb669b243996c44193d3af3311ac854a56a1 | Rename method. | scott-fleischman/algorithms-csharp | tests/Algorithms.Sort.Tests/LinearSearchTests.cs | tests/Algorithms.Sort.Tests/LinearSearchTests.cs | using NUnit.Framework;
namespace Algorithms.Sort.Tests
{
[TestFixture]
public class LinearSearchTests
{
[TestCase(4, new[] { 1, 2, 3, 4 }, 3)]
[TestCase(5, new[] { 1, 2, 3, 4 }, null)]
[TestCase(0, new[] { 1, 2, 3, 4 }, null)]
[TestCase(1, new[] { 1, 2, 3, 4, 1 }, 0)]
public void Test(int valu... | using NUnit.Framework;
namespace Algorithms.Sort.Tests
{
[TestFixture]
public class LinearSearchTests
{
[TestCase(4, new[] { 1, 2, 3, 4 }, 3)]
[TestCase(5, new[] { 1, 2, 3, 4 }, null)]
[TestCase(0, new[] { 1, 2, 3, 4 }, null)]
[TestCase(1, new[] { 1, 2, 3, 4, 1 }, 0)]
public void TestNull(int ... | mit | C# |
591c5312593f19ca0be8d59e233cdadb78d6a9b3 | Add "+" to attributes to fetch since ApacheDS doesn't return all on * and AD doesn't return anything on + | dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard | src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs | src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs | namespace Novell.Directory.Ldap
{
/// <summary>
/// Extension Methods for <see cref="ILdapConnection"/> to
/// avoid bloating that interface.
/// </summary>
public static class LdapConnectionExtensionMethods
{
/// <summary>
/// Get some common Attributes from the Root DSE.
... | namespace Novell.Directory.Ldap
{
/// <summary>
/// Extension Methods for <see cref="ILdapConnection"/> to
/// avoid bloating that interface.
/// </summary>
public static class LdapConnectionExtensionMethods
{
/// <summary>
/// Get some common Attributes from the Root DSE.
... | mit | C# |
b1fa5e514f89b6c7f526bac2bf6258ed3ec33dcb | Add using | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | XamarinApp/MyTrips/MyTrips.UWP/Views/GetStarted5.xaml.cs | XamarinApp/MyTrips/MyTrips.UWP/Views/GetStarted5.xaml.cs | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using MyTrips.Utils;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace MyTrips.UWP.Views
{
/// <summary>
/// An empty page that can be used on its own or navigated to wit... | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace MyTrips.UWP.Views
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// ... | mit | C# |
ffba435d7e6f4faae82070dd13d8a65d70f70bc9 | update samples | dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap | samples/Sample.Kafka.SqlServer/Controllers/ValuesController.cs | samples/Sample.Kafka.SqlServer/Controllers/ValuesController.cs | using System;
using System.Data.SqlClient;
using Dapper;
using DotNetCore.CAP;
using Microsoft.AspNetCore.Mvc;
namespace Sample.Kafka.SqlServer.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private readonly ICapPublisher _capBus;
public ValuesContr... | using System;
using System.Data.SqlClient;
using Dapper;
using DotNetCore.CAP;
using Microsoft.AspNetCore.Mvc;
namespace Sample.Kafka.SqlServer.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private readonly ICapPublisher _capBus;
public ValuesContr... | mit | C# |
63a5a1d02aa9bdf8dfc0c6111146c6f75fc6e20b | Update the 'name' field description | lukyad/Eco | Eco/Elements/variable.cs | Eco/Elements/variable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eco
{
/// <summary>
/// Eco configuration library supports string varibales.
/// You can enable variables in your configuration file by adding 'public variable[] variables;'
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eco
{
/// <summary>
/// Eco configuration library supports string varibales.
/// You can enable variables in your configuration file by adding 'public variable[] variables;'
/... | apache-2.0 | C# |
47cbe632ea38685ac8604c150d85cf0b3c68aeb3 | Update FibonacciNums.cs | NayaIT/CSharp,NayaIT/CSharp-part-1 | ConsoleInAndOut/FibonacciNumbers/FibonacciNums.cs | ConsoleInAndOut/FibonacciNumbers/FibonacciNums.cs | /*10. Fibonacci Numbers
Description
Write a program that reads a number N and prints on the console the first N members of the Fibonacci sequence (at a single line, separated by comma and space - ", ") : 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, ….
Input
On the only line you will receive the number N
Output... | /*10. Fibonacci Numbers
Description
Write a program that reads a number N and prints on the console the first N members of the Fibonacci sequence (at a single line, separated by comma and space - ", ") : 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, ….
Input
On the only line you will receive the number N
Output... | mit | C# |
2e99c1aef0e741180b95c6ceca86ed6c37c787ed | Convert _cards to auto-property | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Game/Discard.cs | Assets/Scripts/HarryPotterUnity/Game/Discard.cs | using System.Collections.Generic;
using Assets.Scripts.HarryPotterUnity.Cards;
using Assets.Scripts.HarryPotterUnity.Utils;
using UnityEngine;
namespace Assets.Scripts.HarryPotterUnity.Game
{
public class Discard : MonoBehaviour {
public List<GenericCard> Cards { get; private set; } //TODO: Does this nee... | using System.Collections.Generic;
using Assets.Scripts.HarryPotterUnity.Cards;
using Assets.Scripts.HarryPotterUnity.Utils;
using UnityEngine;
namespace Assets.Scripts.HarryPotterUnity.Game
{
public class Discard : MonoBehaviour {
private List<GenericCard> _cards; //TODO: Does this need to be private?
... | mit | C# |
7528a5fa1bd0a072cae97185bec05d54fcac11ad | Deal with case of removing a Subscription that has been previously removed (06624d) | AdaptiveConsulting/Aeron.NET,AdaptiveConsulting/Aeron.NET | src/Adaptive.Aeron/ActiveSubscriptions.cs | src/Adaptive.Aeron/ActiveSubscriptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Adaptive.Aeron
{
internal class ActiveSubscriptions : IDisposable
{
private readonly Dictionary<int, List<Subscription>> _subscriptionsByStreamIdMap = new Dictionary<int, List<Subscription>>();
public void ForEach(in... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Adaptive.Aeron
{
internal class ActiveSubscriptions : IDisposable
{
private readonly Dictionary<int, List<Subscription>> _subscriptionsByStreamIdMap = new Dictionary<int, List<Subscription>>();
public void ForEach(in... | apache-2.0 | C# |
b434cbd0158b6c5ceac0da13192fa20ec2ebcb96 | Update QueryableExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/QueryableExtensions.cs | src/QueryableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains static methods for working with queryables.
/// </summary>
public static class QueryableExtensions
{
/// <summary>
/// Returns a single value from the specified <paramref name="quer... | using System;
using System.Collections.Generic;
using System.Linq;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains static methods for working with queryables.
/// </summary>
public static class QueryableExtensions
{
/// <summary>
/// Returns a single value from the specified <paramref name="quer... | apache-2.0 | C# |
5186bc0ddc984171a5d2b0def0fd3a4d567cff0e | Remove Comments. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Project/VotingBarsPartial.cshtml | src/CompetitionPlatform/Views/Project/VotingBarsPartial.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectVoteViewModel
@{
var totalVotes = Model.VotesFor + Model.VotesAgainst;
var forPercent = 0;
var againstPercent = 0;
if (totalVotes != 0)
{
forPercent = Model.VotesFor * 100 / totalVotes;
againstPercent = Model.VotesAgainst *... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectVoteViewModel
@{
var totalVotes = Model.VotesFor + Model.VotesAgainst;
var forPercent = 0;
var againstPercent = 0;
if (totalVotes != 0)
{
forPercent = Model.VotesFor * 100 / totalVotes;
againstPercent = Model.VotesAgainst *... | mit | C# |
020d29f7bb2476bd93ed61fee6650c75a072434c | Update PowerShellLoggerProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/PowerShell/PowerShellLoggerProvider.cs | TIKSN.Core/PowerShell/PowerShellLoggerProvider.cs | using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace TIKSN.PowerShell
{
public class PowerShellLoggerProvider : ILoggerProvider
{
private readonly ICurrentCommandProvider _currentCommandProvider;
private readonly C... | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Concurrent;
namespace TIKSN.PowerShell
{
public class PowerShellLoggerProvider : ILoggerProvider
{
private readonly ICurrentCommandProvider _currentCommandProvider;
private readonly C... | mit | C# |
c7938fa59f3ba26481d1565a452a7403067d79eb | Remove some playing stuff. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | HelloCoreClrApp.Test/GetHelloWorldActionTest.cs | HelloCoreClrApp.Test/GetHelloWorldActionTest.cs | using Xunit;
namespace HelloWorldApp
{
public class GetHelloWorldActionTest
{
[Fact]
public void ExecuteTest()
{
var sut = new GetHelloWorldAction();
var result = sut.Execute("World");
Assert.Equal("Hello World!", result.Name);
}
}
} | using Xunit;
namespace HelloWorldApp
{
public class GetHelloWorldActionTest
{
[Fact]
public void ExecuteTest()
{
var sut = new GetHelloWorldAction();
var result = sut.Execute("World");
Assert.Equal("Hello World!", result.Name);
}
... | mit | C# |
ab00d4d0f771e9d7bb665f26068b7f6f469c8e7b | Update ModelConfig.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/ModelConfig.cs | Test/AdventureWorksFunctionalModel/ModelConfig.cs | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Entity;
namespace AW
{
public static class ModelConfig
{
//IsAbstract && IsSealed defines a static class. Not really necessary here, just extra safety check.
public st... | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using NakedFramework;
using System.Data.Entity;
namespace AW
{
public static class ModelConfig
{
//IsAbstract && IsSealed defines a static class. Not really necessary here, just extra safety ch... | apache-2.0 | C# |
9dd8a31c0438f8d23cbf1c31c17e8c3b9f2b3920 | use markdown editor | scheshan/DotNetBlog,scheshan/DotNetBlog | src/DotNetBlog.Web/Views/Home/Page.cshtml | src/DotNetBlog.Web/Views/Home/Page.cshtml | @model DotNetBlog.Core.Model.Page.PageModel
@inject ClientManager clientManager
<div id="page" class="page-global">
<h2 class="page-global-title">@Model.Title</h2>
<div>
<markdown content="@Model.Content"></markdown>
</div>
<div id="admin" condition="@clientManager.IsLogin">
<a asp-act... | @model DotNetBlog.Core.Model.Page.PageModel
@inject ClientManager clientManager
<div id="page" class="page-global">
<h2 class="page-global-title">@Model.Title</h2>
<div>
@Html.Raw(Model.Content)
</div>
<div id="admin" condition="@clientManager.IsLogin">
<a asp-action="Index" asp-contro... | apache-2.0 | C# |
31b5119c647a27d86eb4966f65455a47e39bfc60 | fix build of VSIX | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.cs | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.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 Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in t... | // 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 Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in t... | apache-2.0 | C# |
a9fb79bda5f9283ec7d09d8d32d96d7a5cb6b6df | Add methods | fredatgithub/UsefulFunctions | CodeGeneration/CodeFile.cs | CodeGeneration/CodeFile.cs | using System;
using System.Collections.Generic;
namespace CodeGeneration
{
internal class CodeFile
{
private List<string> ListOfUsing;
private Dictionary<string, string> usingRequired;
private string carriageReturn = Environment.NewLine;
private const string usingToken = "using";
private const... | using System;
using System.Collections.Generic;
namespace CodeGeneration
{
internal class CodeFile
{
private List<string> ListOfUsing;
private Dictionary<string, string> usingRequired;
private string carriageReturn = Environment.NewLine;
private const string usingToken = "using";
private const... | mit | C# |
bde8286ecbc9fc93c9b329b21e83eef0be0be702 | add iequatable for neurongene | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/Genes/NeuronGene.cs | NeuralNetwork/NeuralNetwork/Genes/NeuronGene.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork.Genes
{
public class NeuronGene : IEquatable<NeuronGene>
{
public SomaGene Soma;
public AxonGene Axon;
#region Equality Members
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork.Genes
{
public class NeuronGene
{
public SomaGene Soma;
public AxonGene Axon;
}
}
| mit | C# |
a2722d6f01c836f9479c2b056e93c3a9d1c1b9f7 | Update AddWorkbookScopedNamedRange.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells... | Examples/CSharp/Articles/WorkbookScopedNamedRanges/AddWorkbookScopedNamedRange.cs | Examples/CSharp/Articles/WorkbookScopedNamedRanges/AddWorkbookScopedNamedRange.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.WorkbookScopedNamedRanges
{
public class AddWorkbookScopedNamedRange
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.WorkbookScopedNamedRanges
{
public class AddWorkbookScopedNamedRange
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataD... | mit | C# |
c2efa9ff2ee676c899f566c495a40513a147cb98 | fix deadlock, rework command system | uwx/DSharpPlus,uwx/DSharpPlus | DSharpPlus/AssemblyInfo.cs | DSharpPlus/AssemblyInfo.cs | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Sharpbott")]
[assembly: InternalsVisibleTo("Sharpbott.MSTest")] | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Sharpbott.MSTest")] | mit | C# |
0d3a492a18537a872c8793c2e28cf570a05bb645 | replace obsolete deviceidiom | charlenni/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Maui.MapView/App.xaml.cs | Samples/Mapsui.Samples.Maui.MapView/App.xaml.cs | using System;
using System.Diagnostics;
using Mapsui.Logging;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Devices;
using Application = Microsoft.Maui.Controls.Application;
using LogLevel = Mapsui.Logging.LogLevel;
namespace Mapsui.Samples.Maui
{
public partial class App : Application
{
public ... | using System;
using System.Diagnostics;
using Mapsui.Logging;
using Microsoft.Maui.Controls;
using Application = Microsoft.Maui.Controls.Application;
namespace Mapsui.Samples.Maui
{
public partial class App : Application
{
public App()
{
InitializeComponent();
Logger.L... | mit | C# |
a6e16413ca4b3cf72a6c40a5859a975250f3ad95 | Update MongoUnitOfWorkFactory.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/MongoUnitOfWorkFactory.cs | TIKSN.Core/Data/Mongo/MongoUnitOfWorkFactory.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace TIKSN.Data.Mongo
{
public class MongoUnitOfWorkFactory : IMongoUnitOfWorkFactory
{
private readonly IMongoClientProvider _mongoClientProvider;
private readonly IService... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public class MongoUnitOfWorkFactory : IMongoUnitOfWorkFactory
{
private readonly IMongoClientProvider _mongoClientProvider;
pri... | mit | C# |
9e784481feef0293f708d6dc62695c3564d32ef4 | Hide clip item list on click | kixx/clipm | ClipM/ClipListForm.cs | ClipM/ClipListForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ClipM
{
public partial class ClipListForm : Form
{
private BindingOrderedSet<... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ClipM
{
public partial class ClipListForm : Form
{
private BindingOrderedSet<... | apache-2.0 | C# |
c52f490d9e007293e1b261e1f4bfc0b4c6bfbe52 | bump version | 0x53A/PropertyChanged,Fody/PropertyChanged,user1568891/PropertyChanged | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyVersion("1.40.0.0")]
[assembly: AssemblyFileVersion("1.40.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyVersion("1.39.0.0")]
[assembly: AssemblyFileVersion("1.39.0.0")]
| mit | C# |
96aec5c72dfc36b8914866368009235a29cfac66 | Add roles to MembershipUserIdentity.Claims | kentcb/BrightstarDB,dharmatech/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,kentcb/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,BrightstarDB/BrightstarDB,dharmatech/BrightstarDB,kentcb/BrightstarDB,dharmatech/BrightstarDB,kentcb/BrightstarDB,BrightstarDB/BrightstarDB,dharmatech/Brigh... | src/core/BrightstarDB.Server.AspNet/Authentication/MembershipUserIdentity.cs | src/core/BrightstarDB.Server.AspNet/Authentication/MembershipUserIdentity.cs | using System;
using System.Collections.Generic;
using System.Web.Security;
using Nancy.Security;
namespace BrightstarDB.Server.AspNet.Authentication
{
public class MembershipUserIdentity : IUserIdentity
{
private readonly MembershipUser _user;
private readonly string[] _roles;
public... | using System;
using System.Collections.Generic;
using System.Web.Security;
using Nancy.Security;
namespace BrightstarDB.Server.AspNet.Authentication
{
public class MembershipUserIdentity : IUserIdentity
{
private readonly MembershipUser _user;
public MembershipUserIdentity(MembershipUser user)... | mit | C# |
98db7f534ca4988a5a63e57f191ac4994ee9e3f6 | Update PartialConfigurationFluentValidatorBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Configuration/Validator/PartialConfigurationFluentValidatorBase.cs | TIKSN.Core/Configuration/Validator/PartialConfigurationFluentValidatorBase.cs | using FluentValidation;
namespace TIKSN.Configuration.Validator
{
public abstract class PartialConfigurationFluentValidatorBase<T> : AbstractValidator<T>,
IPartialConfigurationValidator<T>
{
public void ValidateConfiguration(T instance)
{
try
{
t... | using FluentValidation;
namespace TIKSN.Configuration.Validator
{
public abstract class PartialConfigurationFluentValidatorBase<T> : AbstractValidator<T>, IPartialConfigurationValidator<T>
{
public void ValidateConfiguration(T instance)
{
try
{
this.Vali... | mit | C# |
2c308b37ee671baec40b2f9c7e78987aeb6751e4 | remove comments for obsoleted code | ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate | src/Abp.AspNetCore/AspNetCore/Configuration/IAbpAspNetCoreConfiguration.cs | src/Abp.AspNetCore/AspNetCore/Configuration/IAbpAspNetCoreConfiguration.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Abp.AspNetCore.Mvc.Results.Caching;
using Abp.Domain.Uow;
using Abp.Web.Models;
using Microsoft.AspNetCore.Routing;
namespace Abp.AspNetCore.Configuration
{
public interface IAbpAspNetCoreConfiguration
{
WrapResultAttribute... | using System;
using System.Collections.Generic;
using System.Reflection;
using Abp.AspNetCore.Mvc.Results.Caching;
using Abp.Domain.Uow;
using Abp.Web.Models;
using Microsoft.AspNetCore.Routing;
namespace Abp.AspNetCore.Configuration
{
public interface IAbpAspNetCoreConfiguration
{
WrapResultAttribute... | mit | C# |
eb8f01e2854b6e535c0affcbb9a51cd079b7e72f | Fix Test Method Attribute | imcarolwang/wcf,dotnet/wcf,mconnew/wcf,StephenBonikowsky/wcf,dotnet/wcf,mconnew/wcf,imcarolwang/wcf,mconnew/wcf,dotnet/wcf,StephenBonikowsky/wcf,imcarolwang/wcf | src/System.ServiceModel.Security/tests/ServiceModel/SecurityKeyTypeTest.cs | src/System.ServiceModel.Security/tests/ServiceModel/SecurityKeyTypeTest.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.IdentityModel.Tokens;
using Infrastructure.Common;
using Xunit;
public static class SecurityKeyTypeT... | // 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.IdentityModel.Tokens;
using Infrastructure.Common;
using Xunit;
public static class SecurityKeyTypeT... | mit | C# |
902d608f3b8837728eac5bc3171a56e82cafd268 | Update DynamicFileInfo.cs | dotnet/roslyn,gafter/roslyn,wvdd007/roslyn,AlekseyTs/roslyn,sharwell/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,brettfo/roslyn,davkean/roslyn,jasonmalinowski/roslyn,abock/roslyn,abock/roslyn,heejaechang/roslyn,dotnet/roslyn,eriawan/roslyn,genlu/roslyn,ErikSchierboom/roslyn,jasonmalinowski/... | src/Workspaces/Core/Portable/Workspace/Host/SourceFiles/DynamicFileInfo.cs | src/Workspaces/Core/Portable/Workspace/Host/SourceFiles/DynamicFileInfo.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Host
{
/// <summary>
/// provides info on the given file
///
/// this will be used to provide dynamic cont... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Host
{
/// <summary>
/// provides info on the given file
///
/// this will be used to provide dynamic cont... | mit | C# |
677c02a897ce2480c09f0331948c46a219c3f92a | fix compile | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Daemon/Stages/Highlightings/AbstractUnityGutterMark.cs | resharper/resharper-unity/src/CSharp/Daemon/Stages/Highlightings/AbstractUnityGutterMark.cs | using System.Collections.Generic;
using JetBrains.Application.UI.Controls.BulbMenu.Anchors;
using JetBrains.Application.UI.Controls.BulbMenu.Items;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors;
using JetBrains.ReSharper.Res... | using System.Collections.Generic;
using JetBrains.Application.UI.Controls.BulbMenu.Anchors;
using JetBrains.Application.UI.Controls.BulbMenu.Items;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors;
using JetBrains.ReSharper.Res... | apache-2.0 | C# |
28239c4a513ded1dfcc5c9a4845c171ef35b70e1 | Fix to allow plugin to start up disabled as default | qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox | Wox.Infrastructure/UserSettings/PluginSettings.cs | Wox.Infrastructure/UserSettings/PluginSettings.cs | using System.Collections.Generic;
using Wox.Plugin;
namespace Wox.Infrastructure.UserSettings
{
public class PluginsSettings : BaseModel
{
public string PythonDirectory { get; set; }
public Dictionary<string, Plugin> Plugins { get; set; } = new Dictionary<string, Plugin>();
public voi... | using System.Collections.Generic;
using Wox.Plugin;
namespace Wox.Infrastructure.UserSettings
{
public class PluginsSettings : BaseModel
{
public string PythonDirectory { get; set; }
public Dictionary<string, Plugin> Plugins { get; set; } = new Dictionary<string, Plugin>();
public voi... | mit | C# |
8066ddecdeb8a01d5f9a9bc30bf46d4ae4ed90bb | Bump version. | FacilityApi/Facility | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("0.4.0.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("0.3.0.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
1d832a62eecc306869f58b2d68ab0c7ba707c003 | Add OrderingDomainException when the order doesn't exist with id orderId | productinfo/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnCon... | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using Ordering.Domain.Exceptions;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Servi... | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure.Reposi... | mit | C# |
ce2e26c04f1f926560f49bd0d2388b64e0dfb747 | build fix | thefex/Xamarin.FileExplorer | Xamarin.iOS.FileExplorer/Xamarin.iOS.FileExplorer/ViewControllers/DirectoryViewController.cs | Xamarin.iOS.FileExplorer/Xamarin.iOS.FileExplorer/ViewControllers/DirectoryViewController.cs | using System;
using Foundation;
using UIKit;
using Xamarin.iOS.FileExplorer.Data;
using Xamarin.iOS.FileExplorer.PresentationController;
using Xamarin.iOS.FileExplorer.ViewModels;
namespace Xamarin.iOS.FileExplorer.ViewControllers
{
public class DirectoryViewController : UIViewController, IUISearchBarDelegate
{
pr... | using System;
using Foundation;
using UIKit;
using Xamarin.iOS.FileExplorer.Data;
using Xamarin.iOS.FileExplorer.PresentationController;
using Xamarin.iOS.FileExplorer.ViewModels;
namespace Xamarin.iOS.FileExplorer.ViewControllers
{
public class DirectoryViewController : UIViewController, IUISearchBarDelegate, IDirec... | mit | C# |
1d2b532b0828992c09cfa621599c503db09e307f | Use exponential backoff for Google Contact Api | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Implementation/GoogleContacts/GoogleApiOperationExecutor.cs | CalDavSynchronizer/Implementation/GoogleContacts/GoogleApiOperationExecutor.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 | C# |
7f555e74c207aac102a5bda8ed6d8c0b2c860e1f | Update Nothing.cs | gregoryyoung/nothing | Unit/Nothing.cs | Unit/Nothing.cs | namespace Unit
{
/// <summary>
/// This class should be used instead of void for return types.
/// </summary>
public class Nothing
{
public static readonly Nothing Instance = new Nothing();
private Nothing() { }
public override string ToString() => "Nothing";
}
}
| namespace Unit
{
/// <summary>
/// This class should be used instead of void for return types.
/// </summary>
public class Nothing
{
public static readonly Nothing Instance = new Nothing();
private Nothing() { }
public override string ToString()
{
retur... | unlicense | C# |
d4151f302570c9c2ea2cd3e6d143cb99cdd24efe | Check if tree is mirror. Improved logics. | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | LeetCode/simmetric_tree.cs | LeetCode/simmetric_tree.cs | using System;
class Node {
public Node(int val, Node left, Node right) {
Value = val; Left = left; Right = right;
}
public int Value { get; private set; }
public Node Left { get; private set; }
public Node Right { get; private set; }
}
class Program{
static bool IsMirror(Node left, No... | using System;
class Node {
public Node(int val, Node left, Node right) {
Value = val; Left = left; Right = right;
}
public int Value { get; private set; }
public Node Left { get; private set; }
public Node Right { get; private set; }
}
class Program{
static bool IsMirror(Node left, No... | mit | C# |
aadf03632772779c244d92c631de58c1a37e4f8b | Fix Startup | amweiss/WeatherLink | src/WeatherLink/Startup.cs | src/WeatherLink/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.PlatformAbstractions;
using Swashbuckle.Swagger.Model;
using System.IO;
using WeatherLink.Model... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.PlatformAbstractions;
using Swashbuckle.Swagger.Model;
using System.IO;
using WeatherLink.Model... | mit | C# |
aa672cd59d284c7a757ccfa2327f50df0fd306fd | Update test for possible sizes | verybadcat/CSharpMath | CSharpMath.Xaml.Tests.NuGet/Test.cs | CSharpMath.Xaml.Tests.NuGet/Test.cs | namespace CSharpMath.Xaml.Tests.NuGet {
using Avalonia;
using SkiaSharp;
using Forms;
public class Program {
static string File(string platform, [System.Runtime.CompilerServices.CallerFilePath] string thisDir = "") =>
System.IO.Path.Combine(thisDir, "..", $"Test.{platform}.png");
[Xunit.Fa... | namespace CSharpMath.Xaml.Tests.NuGet {
using Avalonia;
using SkiaSharp;
using Forms;
public class Program {
static string File(string platform, [System.Runtime.CompilerServices.CallerFilePath] string thisDir = "") =>
System.IO.Path.Combine(thisDir, "..", $"Test.{platform}.png");
[Xunit.Fact]... | mit | C# |
a0e0ec88569487b34c8aa367b68674236d497c6f | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.3.0.6")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.3.0.5")] | mit | C# |
d465fd8c12e72c332ae713e6243bb7d508657b5b | use httpContext variable in GetComputerName method | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate | src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs | src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs | using System;
using Abp.Auditing;
using Castle.Core.Logging;
using Microsoft.AspNetCore.Http;
using Abp.Extensions;
using System.Net;
namespace Abp.AspNetCore.Mvc.Auditing
{
public class HttpContextClientInfoProvider : IClientInfoProvider
{
public string BrowserInfo => GetBrowserInfo();
publi... | using System;
using Abp.Auditing;
using Castle.Core.Logging;
using Microsoft.AspNetCore.Http;
using Abp.Extensions;
using System.Net;
namespace Abp.AspNetCore.Mvc.Auditing
{
public class HttpContextClientInfoProvider : IClientInfoProvider
{
public string BrowserInfo => GetBrowserInfo();
publi... | mit | C# |
85a789c2e8dc81486a176bf0aabab2c4b609b60a | update MethodInfoExtensions | AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/Lite | src/AspectCore.Lite/Extensions/MethodInfoExtensions.cs | src/AspectCore.Lite/Extensions/MethodInfoExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace AspectCore.Lite.Extensions
{
internal static class MethodInfoExtensions
{
internal static bool IsAsync(this MethodInfo methodInfo)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace AspectCore.Lite.Extensions
{
internal static class MethodInfoExtensions
{
internal static bool IsAsync(this MethodInfo methodInfo)
... | mit | C# |
22dbd96913a82ac1ad3a3859574d855b4d6786e1 | Update FileFinder.cs | SimonCropp/CaptureSnippets | src/CaptureSnippetsSimple/Shared/Reading/FileFinder.cs | src/CaptureSnippetsSimple/Shared/Reading/FileFinder.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using CaptureSnippets;
class FileFinder
{
DirectoryFilter directoryFilter;
FileFilter fileFilter;
public FileFinder(DirectoryFilter directoryFilter, FileFilter fileFilter)
{
this.directoryFilter = directoryFilter;
t... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using CaptureSnippets;
class FileFinder
{
DirectoryFilter directoryFilter;
FileFilter fileFilter;
public FileFinder(DirectoryFilter directoryFilter, FileFilter fileFilter)
{
this.directoryFilter = directoryFilter;
t... | mit | C# |
ee1112c86afd4f8742b0d048a2f4ee9ca39298ac | Change password view | jorgebay/nearforums,jorgebay/nearforums,jorgebay/nearforums | solution/NearForums.Web.Output/Views/FormsAuthentication/ChangePassword.cshtml | solution/NearForums.Web.Output/Views/FormsAuthentication/ChangePassword.cshtml | @{
ViewBag.Title = "Change Password";
}
@section Head{
<script src= "@Url.Content("~/Scripts/jquery-1.3.2.js")" type="text/javascript"></script>
}
<ul class="path floatContainer">
<li class="first">@Html.ActionLink("Forums", "List", "Forums")</li>
</ul>
<h1>@ViewBag.Title</h1>
@Html.ValidationSummar... | @{
ViewBag.Title = "ChangePassword";
}
@section Head{
<script src= "@Url.Content("~/Scripts/jquery-1.3.2.js")" type="text/javascript"></script>
}
<ul class="path floatContainer">
<li class="first">@Html.ActionLink("Forums", "List", "Forums")</li>
</ul>
<h2>
Change Password</h2>
<p>
Use ... | mit | C# |
7517ccea386d06b33f1fe9ca1432ba1b18c93f3a | Fix TestOptionSet | mgoertz-msft/roslyn,jmarolf/roslyn,KevinRansom/roslyn,jmarolf/roslyn,brettfo/roslyn,stephentoub/roslyn,diryboy/roslyn,genlu/roslyn,genlu/roslyn,weltkante/roslyn,tmat/roslyn,sharwell/roslyn,physhi/roslyn,bartdesmet/roslyn,tannergooding/roslyn,AlekseyTs/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,wvdd007/roslyn,eriawan/... | src/VisualStudio/Core/Test.Next/Mocks/TestOptionSet.cs | src/VisualStudio/Core/Test.Next/Mocks/TestOptionSet.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.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Options;
using R... | // 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.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Options;
using R... | mit | C# |
c935dbae44fd1f4f80faf03a8322b7502ccc0e31 | Revert the hard coded name check for SBD incremental analyzer as unit test team has moved to IUnitTestingIncrementalAnalyzer | stephentoub/roslyn,aelij/roslyn,aelij/roslyn,physhi/roslyn,agocke/roslyn,gafter/roslyn,heejaechang/roslyn,wvdd007/roslyn,jmarolf/roslyn,diryboy/roslyn,weltkante/roslyn,panopticoncentral/roslyn,KevinRansom/roslyn,stephentoub/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,mavasani/roslyn,panopticoncentral/roslyn,shyamnamboo... | src/Workspaces/Core/Portable/SolutionCrawler/IIncrementalAnalyzerExtensions.cs | src/Workspaces/Core/Portable/SolutionCrawler/IIncrementalAnalyzerExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ExternalAccess.UnitTesting;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
intern... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ExternalAccess.UnitTesting;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
intern... | mit | C# |
635b283d05d1df14588259da6b6a1ae05a9d4639 | Update Messages to correct location | ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer | FTAnalyser/SharedAssemblyVersion.cs | FTAnalyser/SharedAssemblyVersion.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | apache-2.0 | C# |
75718ab6e412e48f928fabc774822596cbf7cd9d | Fix TrimStringBinder for .NET 4.0 | Soul-Master/higgs,Soul-Master/higgs,Soul-Master/higgs,Soul-Master/higgs | Higgs.Web.Net40/TrimStringBinder.cs | Higgs.Web.Net40/TrimStringBinder.cs | using System.Web.Mvc;
namespace Higgs.Web
{
public class TrimModelBinder : DefaultModelBinder
{
protected override void SetProperty(ControllerContext controllerContext,
ModelBindingContext bindingContext,
System.ComponentModel.PropertyDescriptor propertyDescriptor, object value)
... | using System.Web.Mvc;
namespace Higgs.Web
{
public class TrimStringBinder : IModelBinder
{
public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
{
var valueResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);
... | mit | C# |
bb032508bd0c6802b53bd8c50617f0791ea9bd19 | Add comment explaining why we use scale | ppy/osu,Drezi126/osu,smoogipooo/osu,ZLima12/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,naoey/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,ppy/osu,DrabWeb/osu,naoey/osu,Frontear/osuKyzer,johnneijzen/osu,UselessToucan... | osu.Game/Graphics/Containers/ConstrainedIconContainer.cs | osu.Game/Graphics/Containers/ConstrainedIconContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
namespace osu.Game.Graphics.Containers
{
/// <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;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
namespace osu.Game.Graphics.Containers
{
/// <summary>... | mit | C# |
65112348041cffc6df4c625c65c914bc03a669f7 | Fix catch spinners not being allowed for conversion | peppy/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,ZLima12/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,ppy/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,DrabWeb/... | osu.Game/Rulesets/Objects/Legacy/Catch/ConvertSpinner.cs | osu.Game/Rulesets/Objects/Legacy/Catch/ConvertSpinner.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.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Objects.Legacy.Catch
{
/// <summary>
/// Legacy osu!catch Spinner-type, used for parsing Beat... | // 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.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Objects.Legacy.Catch
{
/// <summary>
/// Legacy osu!catch Spinner-type, used for parsing Beat... | mit | C# |
6da44987714f1351034008bfaa43beb4fe9e16df | Update test | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 | MonadSample/MonadConsole/Program.cs | MonadSample/MonadConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonadConsole
{
class Program
{
static void Main(string[] args)
{
MonadTest();
MaybeTest();
FlowTest();
}
static voi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonadConsole
{
class Program
{
static void Main(string[] args)
{
MonadTest();
MaybeTest();
FlowTest();
}
static voi... | mit | C# |
f1950173abbdb07f7f777d76c696be0a7589989c | Fix this | CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos | source/Cosmos.Core_Asm/GCImplementation/GetPointerAsm.cs | source/Cosmos.Core_Asm/GCImplementation/GetPointerAsm.cs | using XSharp.Assembler;
using IL2CPU.API;
using XSharp;
using CPUx86 = XSharp.Assembler.x86;
using static XSharp.XSRegisters;
namespace Cosmos.Core_Asm.GCImplementation
{
class GetPointerAsm : AssemblerMethod
{
public override void AssembleNew(Assembler aAssembler, object aMethodInfo)
{
... | using XSharp.Assembler;
using IL2CPU.API;
using XSharp;
using CPUx86 = XSharp.Assembler.x86;
namespace Cosmos.Core_Asm.GCImplementation
{
class GetPointerAsm : AssemblerMethod
{
public override void AssembleNew(Assembler aAssembler, object aMethodInfo)
{
// we get the object as an... | bsd-3-clause | C# |
070bba8ad4dfae6dc0a0e1df438592960365c35e | Add event name in localization\n\nCommit migrated from https://github.com/dotnet/extensions/commit/d2b1ad3d233a0750647ed2c73343a293f08c5709 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Localization/Localization/src/Internal/ResourceManagerStringLocalizerLoggerExtensions.cs | src/Localization/Localization/src/Internal/ResourceManagerStringLocalizerLoggerExtensions.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;
using System.Globalization;
using Microsoft.Extensions.Logging;
namespace Microsoft.Extensions.Localization.Internal
{
internal st... | // 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;
using System.Globalization;
using Microsoft.Extensions.Logging;
namespace Microsoft.Extensions.Localization.Internal
{
internal st... | apache-2.0 | C# |
59a72d599e80e3351e298d6a4c90c5b4b5cd780d | Fix GroupBrandingContentfulFactory | smbc-digital/iag-contentapi | src/StockportContentApi/ContentfulFactories/GroupFactories/GroupBrandingContentfulFactory.cs | src/StockportContentApi/ContentfulFactories/GroupFactories/GroupBrandingContentfulFactory.cs | using Microsoft.AspNetCore.Http;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
using StockportContentApi.Utils;
namespace StockportContentApi.ContentfulFactories.GroupFactories
{
public class GroupBrandingContentfulFactory : IContentfulFactory<ContentfulGroupBranding, GroupBranding>... | using Microsoft.AspNetCore.Http;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
using StockportContentApi.Utils;
namespace StockportContentApi.ContentfulFactories.GroupFactories
{
public class GroupBrandingContentfulFactory : IContentfulFactory<ContentfulGroupBranding, GroupBranding>... | mit | C# |
bdf8cf2ee9d9bf3df2cc33c2c717e9db1638e2f7 | Fix text of error message | KpdApps/KpdApps.Common.MsCrm2015 | PluginState.cs | PluginState.cs | using System;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public class PluginState
{
public virtual IServiceProvider Provider { get; private set; }
private IPluginExecutionContext _context;
public virtual IPluginExecutionContext Context => _context ?? (_context = (IPluginExecutionContext)Pr... | using System;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public class PluginState
{
public virtual IServiceProvider Provider { get; private set; }
private IPluginExecutionContext _context;
public virtual IPluginExecutionContext Context => _context ?? (_context = (IPluginExecutionContext)Pr... | mit | C# |
e53d9631443c3cf278244e463ba1e6b41394b842 | Bump version number. | adz21c/miles | VersionInfo.cs | VersionInfo.cs | using System.Reflection;
// 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: AssemblyCompany("Adam Burton")]
[assembly: AssemblyProduct("Miles")]
[assembly: AssemblyCopyri... | using System.Reflection;
// 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: AssemblyCompany("Adam Burton")]
[assembly: AssemblyProduct("Miles")]
[assembly: AssemblyCopyri... | apache-2.0 | C# |
992408e0e67668d6a68ffd08c40412d529ee3a70 | Bump version | adz21c/miles | VersionInfo.cs | VersionInfo.cs | using System.Reflection;
// 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: AssemblyCompany("Adam Burton")]
[assembly: AssemblyProduct("Miles")]
[assembly: AssemblyCopyri... | using System.Reflection;
// 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: AssemblyCompany("Adam Burton")]
[assembly: AssemblyProduct("Miles")]
[assembly: AssemblyCopyri... | apache-2.0 | C# |
b02b3c61c4c8cfe85a77644e4bada62a67c562fd | change the version | shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
bbb6cbc9d74fe39f00fd71d2a3c110636c086318 | Use nameof expression | markembling/MarkEmbling.Utils,markembling/MarkEmbling.Utilities | src/MarkEmbling.Utils/Extensions/EnumerableExtensions.cs | src/MarkEmbling.Utils/Extensions/EnumerableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace MarkEmbling.Utils.Extensions {
public static class EnumerableExtensions {
/// <summary>
/// Return a shuffled version of an IEnumerable collection
///
/// This method internally buffers source using ToLis... | using System;
using System.Collections.Generic;
using System.Linq;
namespace MarkEmbling.Utils.Extensions {
public static class EnumerableExtensions {
/// <summary>
/// Return a shuffled version of an IEnumerable collection
///
/// This method internally buffers source using ToLis... | mit | C# |
f4da788893e1df3bcada5fb778efba9cd57ee761 | add a ToString to the Status to see more when an exception throws | PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer | StandUpTimer.Web.Contract/Status.cs | StandUpTimer.Web.Contract/Status.cs | namespace StandUpTimer.Web.Contract
{
public class Status
{
public const string DateTimeFormat = "yyyy, M, d, H, m, s, 0";
public string DateTime { get; set; }
public DeskState DeskState { get; set; }
public override string ToString()
{
return DeskState.ToSt... | namespace StandUpTimer.Web.Contract
{
public class Status
{
public const string DateTimeFormat = "yyyy, M, d, H, m, s, 0";
public string DateTime { get; set; }
public DeskState DeskState { get; set; }
}
} | mit | C# |
2c942fc110950f7522c47e3cdf6d92cfef29d9fb | Rewrite AddPhoneNumber form markup | peterblazejewicz/aspnet-5-bootstrap-4,peterblazejewicz/aspnet-5-bootstrap-4 | WebApplication/Views/Manage/AddPhoneNumber.cshtml | WebApplication/Views/Manage/AddPhoneNumber.cshtml | @model AddPhoneNumberViewModel
@{
ViewData["Title"] = "Add Phone Number";
}
<h2>@ViewData["Title"].</h2>
<form asp-controller="Manage" asp-action="AddPhoneNumber" method="post" role="form">
<h4>Add a phone number.</h4>
<hr />
<div asp-validation-summary="ValidationSummary.All" class="text-dang... | @model AddPhoneNumberViewModel
@{
ViewData["Title"] = "Add Phone Number";
}
<h2>@ViewData["Title"].</h2>
<form asp-controller="Manage" asp-action="AddPhoneNumber" method="post" role="form">
<h4>Add a phone number.</h4>
<hr />
<div asp-validation-summary="ValidationSummary.All" class="text-dang... | mit | C# |
220e532ba681d2afafc1b7e0d2237e8d0c37efbd | Correct edge version and url selector | rosolko/WebDriverManager.Net | WebDriverManager/DriverConfigs/Impl/EdgeConfig.cs | WebDriverManager/DriverConfigs/Impl/EdgeConfig.cs | using System.Linq;
using System.Net;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class EdgeConfig : IDriverConfig
{
public virtual string GetName()
{
return "Edge";
}
public virtual string GetUrl32()
... | using System.Linq;
using System.Net;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class EdgeConfig : IDriverConfig
{
public virtual string GetName()
{
return "Edge";
}
public virtual string GetUrl32()
... | mit | C# |
c97fe1afe797d56a800295151078e979828a02f7 | fix unit test by ignoring unmapped destination members | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Mappings/AccountMappings.cs | src/SFA.DAS.EmployerAccounts/Mappings/AccountMappings.cs | using AutoMapper;
using SFA.DAS.Authorization;
using SFA.DAS.EmployerAccounts.Api.Types;
using SFA.DAS.EmployerAccounts.Dtos;
using SFA.DAS.EmployerAccounts.Models.Account;
namespace SFA.DAS.EmployerAccounts.Mappings
{
public class AccountMappings : Profile
{
public AccountMappings()
{
... | using AutoMapper;
using SFA.DAS.Authorization;
using SFA.DAS.EmployerAccounts.Api.Types;
using SFA.DAS.EmployerAccounts.Dtos;
using SFA.DAS.EmployerAccounts.Models.Account;
namespace SFA.DAS.EmployerAccounts.Mappings
{
public class AccountMappings : Profile
{
public AccountMappings()
{
... | mit | C# |
924008367834b550a99a0d613a722137a32fd4b6 | Increment version | ibrahimbensalah/Xania.AspNet,ibrahimbensalah/Xania.AspNet,ibrahimbensalah/Xania.AspNet | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Xania.AspNet.Simulator")]
[assembly: Asse... | 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("Xa... | mit | C# |
fa857ff2f36e9dec034a74a9552cbd4b300ddabb | Update copyright and version | hartez/PneumaticTube | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PneumaticTube")]
[assembly: AssemblyDesc... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PneumaticTube")]
[assembly: AssemblyDesc... | mit | C# |
c0d84aa54d6639a73bdcc7ba3125220d24f20af8 | Update AssemblyInfo | GuildMasterInfinite/VulkanInfo-GUI | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("VulkanInfo GUI")]
[assembly: AssemblyDescription("Small program to obtain information from the Vulkan Runtime.")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]... | 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# |
974e05b91ec0178cf42758d974588898195b29b3 | Update AssemblyInfo.cs | gandarez/visualstudio-wakatime,crushjz/visualstudio-wakatime,CodeCavePro/visualstudio-wakatime,iwhp/visualstudio-wakatime,pritianka/VS,wakatime/visualstudio-wakatime,CodeCavePro/wakatime-sharp,lydonchandra/visualstudio-wakatime | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
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 ... | using System;
using System.Reflection;
using System.Resources;
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 ... | bsd-3-clause | C# |
292e7ceb273f3c6e6590ded3c7ca6e2497eb1e03 | make replay mode a command-line option | Screenary/Screenary | Server/Main.cs | Server/Main.cs | using System;
using Screenary;
using System.IO;
using System.Text;
using System.Threading;
namespace Screenary.Server
{
class MainClass
{
public static string replayFile;
public static bool replayMode = false;
public static string WorkingDirectory;
public static void Main(string[] args)
{
WorkingDire... | using System;
using Screenary;
using System.IO;
using System.Text;
using System.Threading;
namespace Screenary.Server
{
class MainClass
{
public static string WorkingDirectory;
public static void Main(string[] args)
{
WorkingDirectory = Directory.GetCurrentDirectory();
if (!WorkingDirectory.EndsWi... | apache-2.0 | C# |
1eb5afcc719e0145bf1dbbd62669413fd80e2d61 | 删除 IJsonIgnoreNull 接口 | mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK | src/Senparc.Weixin/Senparc.Weixin/Entities/EntityBase.cs | src/Senparc.Weixin/Senparc.Weixin/Entities/EntityBase.cs | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | apache-2.0 | C# |
acd00e291f304cd225f81afd5e8db57c5a88849c | Fix the comment | punker76/Espera,flagbug/Espera | Espera/Espera.Core/Management/LibraryFileWriter.cs | Espera/Espera.Core/Management/LibraryFileWriter.cs | using Rareform.Validation;
using System;
using System.Collections.Generic;
using System.IO;
namespace Espera.Core.Management
{
public class LibraryFileWriter : ILibraryWriter
{
private readonly string targetPath;
public LibraryFileWriter(string targetPath)
{
if (targetPath... | using Rareform.Validation;
using System;
using System.Collections.Generic;
using System.IO;
namespace Espera.Core.Management
{
public class LibraryFileWriter : ILibraryWriter
{
private readonly string targetPath;
public LibraryFileWriter(string targetPath)
{
if (targetPath... | mit | C# |
c20f393cd60ececcf01210b6ac27d5b24d885822 | Fix the dock action | AshRolls/GalaxyGen | GalaxyGen/Engine/Ai/Goap/Actions/GoapDockAction.cs | GalaxyGen/Engine/Ai/Goap/Actions/GoapDockAction.cs | using GalaxyGen.Engine.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GalaxyGen.Engine.Ai.Goap.Actions
{
public class GoapDockAction : GoapAction
{
private bool _docked = false;
private bool _requestSen... | using GalaxyGen.Engine.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GalaxyGen.Engine.Ai.Goap.Actions
{
public class GoapDockAction : GoapAction
{
private bool _docked = false;
private bool _requestSen... | mit | C# |
a53e4e3df3532ea9e60db600d590d1c5f94c204f | change assembly info | Efimster/HelperExtensionsLibrary | HelperExtensionsLibrary/Properties/AssemblyInfo.cs | HelperExtensionsLibrary/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("He... | 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("He... | mit | C# |
10343e4ae684a7336367aa5b5fbc51082dfbf539 | Bump v1.0.17 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | apache-2.0 | C# |
767d54049e642360cb214872cf3ce54124a9a79a | Simplify attribute specification | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/CryptoGuards.cs | WalletWasabi/Crypto/CryptoGuards.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Crypto
{
public static class CryptoGuard
{
[DebuggerStepThrough]
public static GroupElement NotInfinity(string parameterName, GroupElement groupElement)
=> grou... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Crypto
{
public static class CryptoGuard
{
[DebuggerStepThroughAttribute]
public static GroupElement NotInfinity(string parameterName, GroupElement groupElement)
... | mit | C# |
b02a62ec5c66e226d0dd31467ddecd435e28bd61 | Undo httpclient helper refactor | Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2 | SoraBot/SoraBot.Services/Utils/HttpClientHelper.cs | SoraBot/SoraBot.Services/Utils/HttpClientHelper.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace SoraBot.Services.Utils
{
public class HttpClientHelper : IDisposable
{
public HttpClient HttpClient { get; private set; }
public HttpClientHelper()
{
this.HttpClient = new... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace SoraBot.Services.Utils
{
public class HttpClientHelper : IDisposable
{
public HttpClient HttpClient { get; private set; }
public HttpClientHelper()
{
this.HttpClient = new... | agpl-3.0 | C# |
b1324394b63f699315457abc7d33d1129fddf609 | Remove unused y field from VineGenerator | cooperra/ld34-beanstalkers-extreme | Assets/Scripts/Beanstalk/VineGenerator.cs | Assets/Scripts/Beanstalk/VineGenerator.cs | using UnityEngine;
using System.Collections;
public class VineGenerator : MainBehaviour {
public Transform VinePoint;
public float Rate = .25f;
public float DownwardSpeed = -5.0f;
private LineRenderer _line;
private float _lastCreated = 0.0f;
private int _points = 0;
void Start(){
_line = GetComponent<Lin... | using UnityEngine;
using System.Collections;
public class VineGenerator : MainBehaviour {
public Transform VinePoint;
public float Rate = .25f;
public float DownwardSpeed = -5.0f;
private LineRenderer _line;
private float _lastCreated = 0.0f;
private int _points = 0;
private float y = 0;
void Start(){
_l... | mit | C# |
f2149aa353c09989c14a74912093944c2188f46b | Update Note.cs | CarmelSoftware/MVCDataRepositoryXML | Models/Note.cs | Models/Note.cs | public class Note
{
public int ID { get; set; }
public string To { get; set; }
public string From { get; set; }
public string Heading { get; set; }
public string Body { get; set; }
}
| /// Note.cs
| mit | C# |
dc8d989ee9d552eee671ddbc30859195962afeaa | add test for IPNetwork | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | test/WeihanLi.Common.Test/HelpersTest/NetHelperTest.cs | test/WeihanLi.Common.Test/HelpersTest/NetHelperTest.cs | using System.Net;
using WeihanLi.Common.Helpers;
using Xunit;
namespace WeihanLi.Common.Test.HelpersTest
{
public class NetHelperTest
{
[Theory]
[InlineData("10.0.0.135", true)]
[InlineData("192.168.0.185", true)]
[InlineData("172.16.0.125", true)]
[InlineData("172.105.... | using WeihanLi.Common.Helpers;
using Xunit;
namespace WeihanLi.Common.Test.HelpersTest
{
public class NetHelperTest
{
[Theory]
[InlineData("10.0.0.135", true)]
[InlineData("192.168.0.185", true)]
[InlineData("172.16.0.125", true)]
[InlineData("172.105.192.135", false)]
... | mit | C# |
e252bb3848361e96e9d1d92183aa41e7c263a6e1 | remove async from return value | octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype | src/csharp/join-meeting.cs | src/csharp/join-meeting.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.Sharing;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Ex... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.Sharing;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Ex... | mit | C# |
c772fba11024c2da9aca100531cfa11f52fee53c | Remove dependency on threading. | bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow | AspNetCoreServerSentEvents/Program.cs | AspNetCoreServerSentEvents/Program.cs | using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace ServerSentEventSample
{
public class Program
{
public void ConfigureServices(I... | using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace ServerSentEventSample
{
public class Program
{
public ... | mit | C# |
f684a3d9e31391731f4f6f9c4d3ae014b8576505 | Fix issue in NamedPipeServerStream.GetImpersonationUserName() (#37676) | krk/coreclr,poizan42/coreclr,krk/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,cshung/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/c... | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.cs | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.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.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal partial class Inter... | // 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.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal partial class Inter... | mit | C# |
ea9cb0e3c89582dc6ec06496ef27418b26fa2167 | Disable unwanted lazy loading during query execution | azabluda/InfoCarrier.Core | Query/Internal/InfoCarrierQueryContext.cs | Query/Internal/InfoCarrierQueryContext.cs | namespace InfoCarrier.Core.Client.Query.Internal
{
using System;
using Common;
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
public cl... | namespace InfoCarrier.Core.Client.Query.Internal
{
using System;
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
public class InfoCarrierQue... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.