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 |
|---|---|---|---|---|---|---|---|---|
a7c866d0d206011ec266d26b83bd39f2fabdd188 | Bump version to 2.6.0 | TheOtherTimDuncan/TOTD | SharedAssemblyInfo.cs | SharedAssemblyInfo.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: AssemblyConfigura... | 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: AssemblyConfigura... | mit | C# |
8953da98b00b1af006e8eb1b2c5988ff29ccf7e2 | Increment minor -> 0.6.0 | awseward/Bugsnag.NET,awseward/Bugsnag.NET | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.6.0.0")]
[assembly: AssemblyFileVersion("0.6.0.0")]
[assembly: AssemblyInformationalVersion("0.6.0")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.5.0.0")]
[assembly: AssemblyFileVersion("0.5.0.0")]
[assembly: AssemblyInformationalVersion("0.5.0")]
| mit | C# |
b1288315a1e6fd6a6e6099996970f17b0d8f1faf | Remove unneeded Menu property in the StatusIcon (although, at this point, I think it would have been better to make StatusIcon inherit from Menu, or Xwt.Component, rather than Xwt.Widget, so more work to come after this...) | mono/xwt,TheBrainTech/xwt,mminns/xwt,mminns/xwt,steffenWi/xwt,akrisiun/xwt,residuum/xwt,directhex/xwt,antmicro/xwt,cra0zy/xwt,lytico/xwt,sevoku/xwt,hwthomas/xwt,hamekoz/xwt,iainx/xwt | Xwt/Xwt/StatusIcon.cs | Xwt/Xwt/StatusIcon.cs | //
// StatusIcon.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// 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 wit... | //
// StatusIcon.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// 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 wit... | mit | C# |
1551813f2145a2fc47387c282eca3ec21dec8643 | Clear connection pool so that an actual connection is created always | lynxx131/dotnet.microservice | src/Dotnet.Microservice/Health/Checks/PostgresqlHealthCheck.cs | src/Dotnet.Microservice/Health/Checks/PostgresqlHealthCheck.cs | using System;
using Npgsql;
namespace Dotnet.Microservice.Health.Checks
{
public class PostgresqlHealthCheck
{
/// <summary>
/// Check that a connection can be established to Postgresql and return the server version
/// </summary>
/// <param name="connectionString">An Npgsql co... | using System;
using Npgsql;
namespace Dotnet.Microservice.Health.Checks
{
public class PostgresqlHealthCheck
{
/// <summary>
/// Check that a connection can be established to Postgresql and return the server version
/// </summary>
/// <param name="connectionString">An Npgsql co... | isc | C# |
2ef38d17255b46d86a7e688d86251265eb144669 | Revert "LoginTest is completed" | oleksandrp1/SeleniumTasks | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Chrome.cs | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Chrome.cs | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class Chrome
{
... | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class Chrome
{
... | apache-2.0 | C# |
70a566ca686964dc785468748e83451e7630d77c | Fix WillHurt boolean | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Weapons/Projectiles/Behaviours/ProjectileBounce.cs | UnityProject/Assets/Scripts/Weapons/Projectiles/Behaviours/ProjectileBounce.cs | using System.Linq;
using ScriptableObjects.Gun.HitConditions.Tile;
using UnityEngine;
namespace Weapons.Projectiles.Behaviours
{
public class ProjectileBounce : MonoBehaviour, IOnShoot, IOnHitInteractTile
{
private Bullet bullet;
private Vector2 direction;
private GameObject shooter;
private Gun weapon;
... | using System.Linq;
using ScriptableObjects.Gun.HitConditions.Tile;
using UnityEngine;
namespace Weapons.Projectiles.Behaviours
{
public class ProjectileBounce : MonoBehaviour, IOnShoot, IOnHitInteractTile
{
private Bullet bullet;
private Vector2 direction;
private GameObject shooter;
private Gun weapon;
... | agpl-3.0 | C# |
661a141ae7cdde9072ce1322841c5e6049e471ba | change negotiator | gaochundong/Happer | Happer/Happer.Http/Responses/Negotiation/ResponseNegotiator.cs | Happer/Happer.Http/Responses/Negotiation/ResponseNegotiator.cs | using System;
using System.Reflection;
namespace Happer.Http.Responses
{
public class ResponseNegotiator
{
public ResponseNegotiator()
{
}
public Response NegotiateResponse(dynamic routeResult, Context context)
{
Response response;
if (TryCastRe... | using System;
namespace Happer.Http.Responses
{
public class ResponseNegotiator
{
public ResponseNegotiator()
{
}
public Response NegotiateResponse(dynamic routeResult, Context context)
{
Response response;
if (TryCastResultToResponse(routeResul... | mit | C# |
67e008f0b04702d2b6e7f41bd035067e7bc22690 | Modify AssemblyInfo | yappy/DollsKit,yappy/DollsKit,yappy/DollsKit,yappy/DollsKit,yappy/DollsKit | Shanghai/Properties/AssemblyInfo.cs | Shanghai/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Shanghai")]
[assembly: AssemblyDescription("House management server program")]
[assembly: AssemblyConf... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Shanghai")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assem... | mit | C# |
297efce497397a3ca069fe7d70ff968f880e6ba8 | Use lock for in-memory store | VictorNicollet/SocialToolBox | SocialToolBox.Core.Mocks/Database/Projections/InMemoryStore.cs | SocialToolBox.Core.Mocks/Database/Projections/InMemoryStore.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using SocialToolBox.Core.Async;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Projection;
using SocialToolBox.Core.Database.Serialization;
namespace SocialToolBox.Core.Mocks.Database.Projections
{
/// <summary>
/// An in-me... | using System.Collections.Generic;
using System.Threading.Tasks;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Projection;
using SocialToolBox.Core.Database.Serialization;
namespace SocialToolBox.Core.Mocks.Database.Projections
{
/// <summary>
/// An in-memory implementation of <see cref... | mit | C# |
969fc2b466daa66d452bed47697d4b7fc1a5f293 | enhance CsvHelper | OidaTiftla/LatexScriptWrapper | TemplatingEngine/TemplatingEngine/Engines/Helpers/CsvHelper.cs | TemplatingEngine/TemplatingEngine/Engines/Helpers/CsvHelper.cs | namespace TemplatingEngine.Engines.Helpers {
public class Csv {
public static string Escape(object o) {
return Escape(o.ToString());
}
public static string Escape(string text) {
if (text?.Contains("\"") == true)
return $"\"{text?.Replace("\"", "\"\... | namespace TemplatingEngine.Engines.Helpers {
public class Csv {
public static string Escape(object o) {
return Escape(o.ToString());
}
public static string Escape(string text) {
return $"\"{text?.Replace("\"", "\"\"")?.Replace("\n", " ")}\"";
}
}
} | apache-2.0 | C# |
c0d54988210c9b1faef6adff9cd2df76eb075169 | Add block in different order, WIP | ajlopez/PegSharp | Src/PegSharp/External/BlockChain.cs | Src/PegSharp/External/BlockChain.cs | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
public long Height { get { return blocks.Count; } }
publi... | mit | C# |
8b72417cd137a51c446fa992891cf6e07d6eaee4 | Add block not in order, WIP | ajlopez/PegSharp | Src/PegSharp/External/BlockChain.cs | Src/PegSharp/External/BlockChain.cs | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | mit | C# |
ae30dc1fd0de923884d5d78cd8712a6b6644a977 | 支持枚举类型的转换。 | RabbitTeam/RabbitCloud,RabbitTeam/Rpc | src/Rabbit.Rpc/Convertibles/Implementation/DefaultTypeConvertibleProvider.cs | src/Rabbit.Rpc/Convertibles/Implementation/DefaultTypeConvertibleProvider.cs | using Rabbit.Rpc.Serialization;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Rabbit.Rpc.Convertibles.Implementation
{
/// <summary>
/// 一个默认的类型转换提供程序。
/// </summary>
public class DefaultTypeConvertibleProvider : ITypeConvertibleProvider
{
private reado... | using Rabbit.Rpc.Serialization;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Rabbit.Rpc.Convertibles.Implementation
{
/// <summary>
/// 一个默认的类型转换提供程序。
/// </summary>
public class DefaultTypeConvertibleProvider : ITypeConvertibleProvider
{
private reado... | apache-2.0 | C# |
2b2a56d31562ad423860813fb7c5891dfc008ede | Reduce sleep duration in Wait.Until | Abc-Arbitrage/Zebus | src/Abc.Zebus.Testing/Wait.cs | src/Abc.Zebus.Testing/Wait.cs | using System;
using System.Diagnostics;
using System.Threading;
using Abc.Zebus.Util;
using JetBrains.Annotations;
namespace Abc.Zebus.Testing
{
internal static class Wait
{
public static void Until([InstantHandle] Func<bool> exitCondition, int timeoutInSeconds)
=> Until(exitCondition, tim... | using System;
using System.Diagnostics;
using System.Threading;
using Abc.Zebus.Util;
using JetBrains.Annotations;
namespace Abc.Zebus.Testing
{
internal static class Wait
{
public static void Until([InstantHandle] Func<bool> exitCondition, int timeoutInSeconds)
=> Until(exitCondition, tim... | mit | C# |
ceeeefba9dc9cf18da4f4adf79ae57671c61b6c5 | Bump version to 0.33.0 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
cf8fe8cc571d5a5e9afea7dfe4e0a21529acfe3b | Update FractionDisplay.cs (#200) | verybadcat/CSharpMath | CSharpMath/Display/Displays/FractionDisplay.cs | CSharpMath/Display/Displays/FractionDisplay.cs | using System;
using System.Drawing;
using CSharpMath.Atom;
namespace CSharpMath.Display.Displays {
using FrontEnd;
public class FractionDisplay<TFont, TGlyph> : IDisplay<TFont, TGlyph>
where TFont : IFont<TGlyph> {
private PointF _position;
///<summary>A display representing the numerator of the fracti... | using System;
using System.Drawing;
using CSharpMath.Atom;
namespace CSharpMath.Display.Displays {
using FrontEnd;
public class FractionDisplay<TFont, TGlyph> : IDisplay<TFont, TGlyph>
where TFont : IFont<TGlyph> {
private PointF _position;
///<summary>A display representing the numerator of the fracti... | mit | C# |
5d085ba566249bf61b4fe5635d49752dc7dc7a1b | Remove unused declaration. | justinjstark/Delivered,justinjstark/Verdeler | Verdeler/EndpointDeliveryService.cs | Verdeler/EndpointDeliveryService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Verdeler
{
public abstract class EndpointDeliveryService<TDistributable, TEndpoint>
: IEndpointDeliveryService<TDistributable, TEndpoint>
where TDistributable : Distributable
where TE... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Verdeler
{
public abstract class EndpointDeliveryService<TDistributable, TEndpoint>
: IEndpointDeliveryService<TDistributable, TEndpoint>
where TDistributable : Distributable
where TE... | mit | C# |
1c220fdf29bb00fad25b91a5f657e28854be7bbb | hide apache restart console | mauris/anchor-app | anchor/Drivers/WampServer.cs | anchor/Drivers/WampServer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using IniParser;
using System.Diagnostics;
namespace anchor.Drivers
{
class WampServer : Driver
{
private string rootPath;
private string apacheVersion;
public WampServer(string pat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using IniParser;
using System.Diagnostics;
namespace anchor.Drivers
{
class WampServer : Driver
{
private string rootPath;
private string apacheVersion;
public WampServer(string pat... | bsd-3-clause | C# |
3dce31cbd3f4cb78ceee24dc46c6d288322a0523 | handle version menu changes. | mans0954/f-spot,mono/f-spot,dkoeb/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,mono/f-spot,Sanva/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,mono/f-spot,GNOME/f-spot,GNOME/f-spot,mono/f-spot,mono/f-spot,mans0954/f-spot,dkoeb/f-spot,mono/f-spot,mans0954/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,Sanva/f... | src/InfoOverlay.cs | src/InfoOverlay.cs | /*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
namespace FSpot {
public class InfoItem : InfoBox {
BrowsablePointer item;
public InfoItem (BrowsablePointer item)
{
this.item = item;
item.Changed += HandleIte... | /*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
namespace FSpot {
public class InfoItem : InfoBox {
BrowsablePointer item;
public InfoItem (BrowsablePointer item)
{
this.item = item;
item.Changed += HandleIte... | mit | C# |
63ebafe5ea10e1de7ed310ef12309e9598ae8f20 | Allow to run build even if git repo informations are not available | Abc-Arbitrage/ZeroLog | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | mit | C# |
cb421bf3075bffd78695d59baf713eaf9431d078 | Add display properties for the different group assignments | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Common/Models/Group.cs | BatteryCommander.Common/Models/Group.cs | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Common.Models
{
//public class Group
//{
// [Key]
// [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
// public int Id { get; set; }
// [Required, StringLength(50)]
// public String Name { get; set... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Common.Models
{
//public class Group
//{
// [Key]
// [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
// public ... | mit | C# |
27c917f4e073da6e3b1a14640ee86909ff23f886 | Make internals visible to the test assembly | mattgwagner/CertiPay.ACH,CertiPay/CertiPay.ACH | CertiPay.ACH/Properties/AssemblyInfo.cs | CertiPay.ACH/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("Ce... | 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("Ce... | mit | C# |
2dda055f9c179e7c55724115ff5195bec9e29155 | Add correct CSS class | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml |
@using Microsoft.Ajax.Utilities
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
... |
@using Microsoft.Ajax.Utilities
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
... | mit | C# |
bf298268c9828e0d4300d1fbf7effe398471ca3d | Use th esupplied access mappign instead of looking it up a second time. | tfsaggregator/tfsaggregator-core | Extensions/LocationServiceExtensions.cs | Extensions/LocationServiceExtensions.cs | #if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
{
... | #if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
{
... | apache-2.0 | C# |
647ccc7961ac064e12634caf1701183a6d44eecd | Update StringHelper.cs | jhabjan/Ghostscript.NET | Ghostscript.NET/Helpers/StringHelper.cs | Ghostscript.NET/Helpers/StringHelper.cs | //
// StreamHelper.cs
// This file is part of Ghostscript.NET library
//
// Author: Josip Habjan (habjan@gmail.com, http://www.linkedin.com/in/habjan)
// Copyright (c) 2013-2016 by Josip Habjan. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software... | //
// StreamHelper.cs
// This file is part of Ghostscript.NET library
//
// Author: Josip Habjan (habjan@gmail.com, http://www.linkedin.com/in/habjan)
// Copyright (c) 2013-2016 by Josip Habjan. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software... | agpl-3.0 | C# |
06e1e748ee5c4eb789de8bed412af2e2cf04234d | Add paths to the ICU data file and resource pak for QtWebEngine | markfinal/bam-qt,markfinal/bam-qt,markfinal/bam-qt,markfinal/bam-qt | packages/QtCommon-5.x/bam/Scripts/Modules/QtWebEngineCore.cs | packages/QtCommon-5.x/bam/Scripts/Modules/QtWebEngineCore.cs | #region License
// Copyright (c) 2010-2016, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | #region License
// Copyright (c) 2010-2016, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | bsd-3-clause | C# |
3639fb4c9e5f4e06cfd22740bd415b8cf66def63 | Update EntityComponent.cs | PeteyChan/SimpleECS | SimpleECS/Assets/ECS/EntityComponent.cs | SimpleECS/Assets/ECS/EntityComponent.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SimpleECS.Internal;
/// <summary>
/// C needs to Match the derived component
/// </summary>
public abstract class EntityComponent<C> : EntityComponent where C : EntityComponent<C>
{
ComponentHolder holder = new ComponentHolder(); /... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SimpleECS.Internal;
/// <summary>
/// C needs to Match the derived component
/// </summary>
public abstract class EntityComponent<C> : EntityComponent where C : EntityComponent<C>
{
ComponentHolder holder = new ComponentHolder(); /... | mit | C# |
e00db4199218ce4715b9410f842f2c907549f595 | simplify code. Allow sections to be generalized to display forms, in progress. | l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto | Source/Eto.Test/Eto.Test/SectionList.cs | Source/Eto.Test/Eto.Test/SectionList.cs | using System;
using Eto.Forms;
using System.Collections.Generic;
using System.Linq;
using Eto.Test.Sections.Controls;
using Eto.Test.Sections.Drawing;
using Eto.Test.Sections.Layouts;
namespace Eto.Test
{
public interface ISectionGenerator
{
string Text { get; }
void Show(Navigation navigation, Panel contentCon... | using System;
using Eto.Forms;
using System.Collections.Generic;
using System.Linq;
using Eto.Test.Sections.Controls;
using Eto.Test.Sections.Drawing;
using Eto.Test.Sections.Layouts;
namespace Eto.Test
{
public interface ISectionGenerator
{
string Text { get; }
Control GenerateControl ();
}
public class Se... | bsd-3-clause | C# |
e9a8c67551400f77d41effdbfa7bf8ba1f2c3927 | Modify JsonReporter encoding from default to utf8, | timschlechter/SpecResults | SpecFlow.Reporting.Json/JsonReporter.cs | SpecFlow.Reporting.Json/JsonReporter.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.IO;
using System.Linq;
using System.Text;
namespace SpecFlow.Reporting.Json
{
public class JsonReporter : Reporter
{
public JsonSerializerSettings JsonSerializerSettings { get; set; }
public JsonReporter()
{
... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.IO;
using System.Linq;
using System.Text;
namespace SpecFlow.Reporting.Json
{
public class JsonReporter : Reporter
{
public JsonSerializerSettings JsonSerializerSettings { get; set; }
public JsonReporter()
{
... | mit | C# |
9ec8f2d98e1c7f8a63bf46d26d8aa29806d2e44b | fix db name | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | SqlPersistence.Tests/MySqlConnectionBuilder.cs | SqlPersistence.Tests/MySqlConnectionBuilder.cs | using System;
using MySql.Data.MySqlClient;
static class MySqlConnectionBuilder
{
public static MySqlConnection Build()
{
var password = Environment.GetEnvironmentVariable("MySqlPassword");
if (string.IsNullOrWhiteSpace(password))
{
throw new Exception("Could not extra 'MySq... | using System;
using MySql.Data.MySqlClient;
static class MySqlConnectionBuilder
{
public static MySqlConnection Build()
{
var password = Environment.GetEnvironmentVariable("MySqlPassword");
if (string.IsNullOrWhiteSpace(password))
{
throw new Exception("Could not extra 'MySq... | mit | C# |
4aaffa84a17ab25f5152e421d0a4351d3d22d997 | Fix another typo | FormsCommunityToolkit/FormsCommunityToolkit | Toolkit/Effects/Base/Effects.android.cs | Toolkit/Effects/Base/Effects.android.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Android.Runtime;
using Xamarin.Forms.Platform.Android;
namespace Xamarin.Toolkit.Effects.Droid
{
[Preserve(AllMembers = true)]
public static class Effects
{
#pragma warning disable 414
static List<PlatformEffect> allEffects =... | using System;
using System.Collections.Generic;
using System.Linq;
using Android.Runtime;
using Xamarin.Forms.Platform.Android;
namespace Xamarin.Toolkit.Effects.Droid
{
[Preserve(AllMembers = true)]
public static class Effects
{
#pragma warning disable 414
static List<PlatformEffect> allEffects =... | mit | C# |
13407463f859c5bc8fec38af11ada9890e1bc99f | Update ActionValidationViaFunctionFacet.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | NakedFunctions/NakedFunctions.Reflector/Facet/ActionValidationViaFunctionFacet.cs | NakedFunctions/NakedFunctions.Reflector/Facet/ActionValidationViaFunctionFacet.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... | apache-2.0 | C# |
b85bf3071a6eba3941dcf3ee9f3c401dcd2b97aa | Add comparison operators to Void (#115) | beardgame/utilities | src/Core/Void.cs | src/Core/Void.cs | using System;
namespace Bearded.Utilities
{
public struct Void : IComparable<Void>, IEquatable<Void>
{
// Behold its power http://xkcd.com/1486/
public int CompareTo(Void _) => 0;
public bool Equals(Void _) => true;
public override bool Equals(object obj) => obj is Void;
... | using System;
namespace Bearded.Utilities
{
public struct Void : IComparable<Void>, IEquatable<Void>
{
// Behold its power http://xkcd.com/1486/
public int CompareTo(Void _) => 0;
public bool Equals(Void _) => true;
public override bool Equals(object obj) => obj is Void;
... | mit | C# |
caeb8e0400653b22737cf8c2c6d0d345b3446b27 | Fix with StyleCop | jorik041/Winium.Desktop,zebraxxl/Winium.Desktop,2gis/Winium.Desktop | src/TestApps.Tests/WpfTestApplication.Tests/CommandTests/ClickElementTests.cs | src/TestApps.Tests/WpfTestApplication.Tests/CommandTests/ClickElementTests.cs | namespace WpfTestApplication.Tests.CommandTests
{
#region using
using NUnit.Framework;
using OpenQA.Selenium;
#endregion
[TestFixture]
public class ClickElementTests : BaseForMainWindowTest
{
#region Public Methods and Operators
[Test]
public void ClickButtonWhi... | namespace WpfTestApplication.Tests.CommandTests
{
#region using
using NUnit.Framework;
using OpenQA.Selenium;
#endregion
[TestFixture]
public class ClickElementTests : BaseForMainWindowTest
{
#region Public Methods and Operators
[Test]
public void ClickButtonWhi... | mpl-2.0 | C# |
48f280440c696925653ed36a6794e83f404cf637 | Fix incorrect clearing of room | ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tes... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Multiplayer.M... | mit | C# |
851e7a567183619c4a7b8ea1576dca64f2e2f7f6 | add SafeGetTag<T>() | TakeAsh/cs-WpfUtility | WpfUtility/FrameworkElementExtensionMethods.cs | WpfUtility/FrameworkElementExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using TakeAshUtility;
namespace WpfUtility {
public static class FrameworkElementExtensionMethods {
public static T SafeTryFindResource<T>(
this FrameworkElement element,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using TakeAshUtility;
namespace WpfUtility {
public static class FrameworkElementExtensionMethods {
public static T SafeTryFindResource<T>(
this FrameworkElement element,
... | mit | C# |
fdef32dab28e00e58208cff8dd54c835f2d79f54 | Remove unnecessary expression-type checks (cherry picked from commit 3e2d0c1c2d10dababc02d3502cbfe395367e0d98) | nkreipke/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,... | src/NHibernate/Linq/ExpressionTransformers/RemoveCharToIntConversion.cs | src/NHibernate/Linq/ExpressionTransformers/RemoveCharToIntConversion.cs | using System;
using System.Linq.Expressions;
using Remotion.Linq.Parsing.ExpressionTreeVisitors.Transformation;
namespace NHibernate.Linq.ExpressionTransformers
{
/// <summary>
/// Remove unwanted char-to-int conversions in binary expressions
/// </summary>
/// <remarks>
/// The LINQ expression tree ma... | using System;
using System.Linq.Expressions;
using Remotion.Linq.Parsing.ExpressionTreeVisitors.Transformation;
namespace NHibernate.Linq.ExpressionTransformers
{
/// <summary>
/// Remove unwanted char-to-int conversions in binary expressions
/// </summary>
/// <remarks>
/// The LINQ expression tree ma... | lgpl-2.1 | C# |
3618d43ceaf71436fd7b9574f26fbc24ffec20a4 | Ajuste para o GovDigital | ACBrNet/ACBr.Net.NFSe | src/ACBr.Net.NFSe/Providers/GovDigital/ProviderGovDigital.cs | src/ACBr.Net.NFSe/Providers/GovDigital/ProviderGovDigital.cs | // ***********************************************************************
// Assembly : ACBr.Net.NFSe
// Author : Rafael Dias
// Created : 05-22-2018
//
// Last Modified By : Rafael Dias
// Last Modified On : 07-11-2018
// ********************************************************************... | // ***********************************************************************
// Assembly : ACBr.Net.NFSe
// Author : Rafael Dias
// Created : 05-22-2018
//
// Last Modified By : Rafael Dias
// Last Modified On : 07-11-2018
// ********************************************************************... | mit | C# |
87124d3e39b6aaf85ccb74724acf27d65f847cfe | Simplify Flatten extension (#933) | AntiTcb/Discord.Net,RogueException/Discord.Net | src/Discord.Net.Core/Extensions/AsyncEnumerableExtensions.cs | src/Discord.Net.Core/Extensions/AsyncEnumerableExtensions.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Discord
{
public static class AsyncEnumerableExtensions
{
/// <summary>
/// Flattens the specified pages into one <see cref="IEnumerable{T}"/> asynchronously
/// </summary>
/// <typepara... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Discord
{
public static class AsyncEnumerableExtensions
{
/// <summary>
/// Flattens the specified pages into one <see cref="IEnumerable{T}"/> asynchronously
/// </summa... | mit | C# |
a82ed8c73a6389e681126fdf7b1dc6bbbf438160 | test case[0, 0] | Sylfschiffer/Wonderjam_mimile | Assets/Scripts/TableauCase.cs | Assets/Scripts/TableauCase.cs | using UnityEngine;
using System.Collections;
public enum EtatCase
{
Empty,
Hero,
Enemy,
Obstacle,
HalfObstacle,
Trap
};
public class TableauCase : MonoBehaviour {
public Case[,] tableauCases;
// Use this for initialization
void Start () {
tableauCases = new Case[50, 3];
... | using UnityEngine;
using System.Collections;
public enum EtatCase
{
Empty,
Hero,
Enemy,
Obstacle,
HalfObstacle,
Trap
};
public class TableauCase : MonoBehaviour {
public Case[,] tableauCases;
// Use this for initialization
void Start () {
tableauCases = new Case[50, 3];
}
... | mit | C# |
9f7c44c64ebfb23acd1bb06aa22c5bc39ad5079a | Handle for multiple picked media relations | hfloyd/Umbraco-CMS,madsoulswe/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,leekelleher/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,bjarnef/Umbraco-CMS,abjerner/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abjerner/Umbraco-CMS,tcmorris/Umb... | src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs | src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs | using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a media picker property editor.
/// </summary>
[DataEditor(
Constants.Pr... | using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a media picker property editor.
/// </summary>
[DataEditor(
Constants.Pr... | mit | C# |
3f7a0da049765f01212e983e0d422434d8d97e0c | test master change | csim/cream,csim/cream | Cream.Test/ProgramTest.cs | Cream.Test/ProgramTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Fakes;
using Microsoft.QualityTools.Testing.Fakes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cream.Test
{
[TestClass]
public class ProgramTest : TestBase
{
[TestMethod]
public void TestMeth... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Fakes;
using Microsoft.QualityTools.Testing.Fakes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cream.Test
{
[TestClass]
public class ProgramTest : TestBase
{
[TestMethod]
public void TestMeth... | mit | C# |
97a4816842e7863970adbbdcb1da463aac05ced9 | trim leading and trailing whitespace from rules | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs | src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs | namespace FilterLists.Services.SnapshotService
{
public static class RawRuleLinterExtensions
{
//TODO: resolve issues and/or track dropped rules
public static string LintStringForMySql(this string rule)
{
rule = rule.TrimLeadingAndTrailingWhitespace();
rule = rul... | namespace FilterLists.Services.SnapshotService
{
public static class RawRuleLinterExtensions
{
//TODO: resolve issues and/or track dropped rules
public static string LintStringForMySql(this string rule)
{
rule = rule.TrimSingleBackslashFromEnd();
rule = rule.Drop... | mit | C# |
eab53573cd273d5f9e3ef39641f54a8eb3375a30 | Fix topic response deserialization | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs | src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs | using System.Collections.Generic;
namespace Tgstation.Server.Host.Components.Interop.Topic
{
/// <summary>
/// A response to a topic request.
/// </summary>
sealed class TopicResponse : DMApiResponse
{
/// <summary>
/// The text to reply with as the result of a <see cref="TopicCommandType.ChatCommand"/> requ... | using System.Collections.Generic;
namespace Tgstation.Server.Host.Components.Interop.Topic
{
/// <summary>
/// A response to a topic request.
/// </summary>
sealed class TopicResponse : DMApiResponse
{
/// <summary>
/// The text to reply with as the result of a <see cref="TopicCommandType.ChatCommand"/> requ... | agpl-3.0 | C# |
2c853ea5723c3a68d5eb696e8707973c6530c5df | Update IInteractUsing.cs | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content | Content.Shared/Interfaces/GameObjects/Components/Interaction/IInteractUsing.cs | Content.Shared/Interfaces/GameObjects/Components/Interaction/IInteractUsing.cs | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Map;
namespace Content.Shared.Interfaces.GameObjects.Components
{
/// <summary>
/// This interface gives components behavior when being c... | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Map;
namespace Content.Shared.Interfaces.GameObjects.Components
{
/// <summary>
/// This interface gives components behavior when being c... | mit | C# |
608fa01d29fe6fa0cedb4a0db83a7c10a46a1b18 | Fix null ref (#61342) | weltkante/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,bartdesmet/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mavasani/roslyn,bartdesmet/roslyn,dotnet/roslyn,shyamnamboodiripad/ros... | src/Tools/ExternalAccess/Razor/RazorDocumentExcerptServiceWrapper.cs | src/Tools/ExternalAccess/Razor/RazorDocumentExcerptServiceWrapper.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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.... | // 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.... | mit | C# |
c142036fd0255fa7a43c9722be5b99d1be5bd5ea | Adjust the MapOverView map scale | Esri/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet,Tyshark9/arcgis-runtime-samples-dotnet,AkshayHarshe/arcgis-runtime-samples-dotnet,sharifulgeo/arcgis-runtime-samples-dotnet,Arc3D/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet | src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Mapping/OverviewMap.xaml.cs | src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Mapping/OverviewMap.xaml.cs | using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using System.Linq;
using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category>Mapping</category>
public ... | using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using System.Linq;
using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category>Mapping</category>
public ... | apache-2.0 | C# |
ce3d91d05faf310df66caf3298836f55b41f9304 | fix create new user command info in helper | olebg/Movie-Theater-Project | MovieTheater/MovieTheater.Framework/Core/Commands/Common/DisplayHelpCommand.cs | MovieTheater/MovieTheater.Framework/Core/Commands/Common/DisplayHelpCommand.cs | using MovieTheater.Data.Contracts;
using MovieTheater.Framework.Core.Commands.Abstractions;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Models.Factory.Contracts;
using System.Collections.Generic;
using System.Text;
namespace MovieTheater.Framework.Core.Commands.Common
{
publi... | using MovieTheater.Data.Contracts;
using MovieTheater.Framework.Core.Commands.Abstractions;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Models.Factory.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
n... | mit | C# |
d7fe3eb17044beb5c59f134f27fd2c507f886882 | Fix test | SamDel/ChromeCast-Desktop-Audio-Streamer | Source/ChromeCast.Desktop.AudioStreamer.Test/Streaming/LoopbackRecorderTest.cs | Source/ChromeCast.Desktop.AudioStreamer.Test/Streaming/LoopbackRecorderTest.cs | using System;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ChromeCast.Desktop.AudioStreamer.Streaming;
using NAudio.Wave;
using ChromeCast.Desktop.AudioStreamer.Application;
namespace ChromeCast.Desktop.AudioStreamer.Test.Streaming
{
[TestClass]
public class LoopbackRecor... | using System;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ChromeCast.Desktop.AudioStreamer.Streaming;
using NAudio.Wave;
using ChromeCast.Desktop.AudioStreamer.Application;
namespace ChromeCast.Desktop.AudioStreamer.Test.Streaming
{
[TestClass]
public class LoopbackRecor... | mit | C# |
ce1a72423cb48611239f92a5d46605da13931630 | Update tests | axelheer/corefx,wtgodbe/corefx,Jiayili1/corefx,mmitche/corefx,ViktorHofer/corefx,zhenlan/corefx,ericstj/corefx,wtgodbe/corefx,zhenlan/corefx,ViktorHofer/corefx,ravimeda/corefx,ptoonen/corefx,wtgodbe/corefx,mmitche/corefx,ptoonen/corefx,ericstj/corefx,Jiayili1/corefx,ericstj/corefx,ViktorHofer/corefx,ravimeda/corefx,mmi... | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.cs | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.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 Xunit;
namespace System.Reflection.Tests
{
public static class ReflectionTypeLoadException... | // 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 Xunit;
namespace System.Reflection.Tests
{
public static class ReflectionTypeLoadException... | mit | C# |
0319177c5c10b8eff6f71f202005a676731b3c3b | Fix pixels poking out of the top edge of editor setup screen | ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Screens/Edit/Setup/SetupScreen.cs | osu.Game/Screens/Edit/Setup/SetupScreen.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.Graphics.Containers;
namespace osu.Game.Screens.Edit.Setup
{
public class SetupScreen :... | // 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.Graphics.Containers;
namespace osu.Game.Screens.Edit.Setup
{
public class SetupScreen :... | mit | C# |
6d4fc75b28a5d2cd2c1bc5510b7ed6acdb2b53d9 | Bump version to 14.0.0.29933 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
f77f4bd4b2d5e44c28ce27a838d64134783614e8 | Move MitternachtBot instance to a static variable. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Program.cs | MitternachtWeb/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task Main(string[] args) {
MitternachtBot = new MitternachtBot(0, 0);
a... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static async Task Main(string[] args) {
await new MitternachtBot(0, 0).RunAsync(args);
await CreateHostBuilder(args).Build().Run... | mit | C# |
e20b683ef14c50a37ddccc58e0cfaf43efbc8f66 | implement AssertionFactory property. | jwChung/Experimentalism,jwChung/Experimentalism | test/Experiment.IdiomsUnitTest/GuardClauseAssertionTestCasesTest.cs | test/Experiment.IdiomsUnitTest/GuardClauseAssertionTestCasesTest.cs | using System;
using System.Linq;
using Ploeh.Albedo.Refraction;
using Xunit;
namespace Jwc.Experiment.Idioms
{
public class GuardClauseAssertionTestCasesTest
{
[Fact]
public void SutIsIdiomaticTestCases()
{
var sut = new GuardClauseAssertionTestCases(GetType());
... | using System;
using System.Linq;
using Ploeh.Albedo.Refraction;
using Xunit;
namespace Jwc.Experiment.Idioms
{
public class GuardClauseAssertionTestCasesTest
{
[Fact]
public void SutIsIdiomaticTestCases()
{
var sut = new GuardClauseAssertionTestCases(GetType());
... | mit | C# |
e39088739044674aa3c03ed1eb2d2baea95e2c79 | Add CanPerformAction condition to bluebottle broom | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Quidditch/Items/BluebottleBroom.cs | Assets/Scripts/HarryPotterUnity/Cards/Quidditch/Items/BluebottleBroom.cs | using HarryPotterUnity.Cards.BasicBehavior;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Quidditch.Items
{
[UsedImplicitly]
public class BluebottleBroom : ItemLessonProvider
{
public override void OnSelectedAction()
{
var card = Player.Discard.GetHealableCards(... | using HarryPotterUnity.Cards.BasicBehavior;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Quidditch.Items
{
[UsedImplicitly]
public class BluebottleBroom : ItemLessonProvider
{
public override void OnSelectedAction()
{
var card = Player.Discard.GetHealableCards(... | mit | C# |
318a43f433f156f0cc1ed3e95b65e2c4066cab5a | Test fixture uses incrementing ports to avoid conflicts | connellw/Firestorm | tests/Firestorm.Tests.Examples.Football/Tests/FootballTestFixture.cs | tests/Firestorm.Tests.Examples.Football/Tests/FootballTestFixture.cs | using System;
using System.IO;
using System.Net.Http;
using Firestorm.Tests.Examples.Football.Web;
using Microsoft.AspNetCore.Hosting;
namespace Firestorm.Tests.Examples.Football.Tests
{
public class FootballTestFixture : IDisposable
{
private static int _startPort = 3000;
private readonly IWe... | using System;
using System.IO;
using System.Net.Http;
using Firestorm.Tests.Examples.Football.Web;
using Microsoft.AspNetCore.Hosting;
namespace Firestorm.Tests.Examples.Football.Tests
{
public class FootballTestFixture : IDisposable
{
private readonly IWebHost _host;
public HttpClient HttpCli... | mit | C# |
bb1e3f1821625515c2ee3fb59ec67889506150ce | disable for runtimes < 3.5 | boo/boo-lang,boo/boo-lang,boo/boo-lang,boo/boo-lang,boo/boo-lang,boo/boo-lang,boo/boo-lang | tests/BooCompiler.Tests/ClrExtensionsIntegrationTestFixture.cs | tests/BooCompiler.Tests/ClrExtensionsIntegrationTestFixture.cs | namespace BooCompiler.Tests
{
using NUnit.Framework;
[TestFixture]
public class ClrextensionsIntegrationTestFixture : AbstractCompilerTestCase
{
[Test]
public void clrextensions_1()
{
if (System.Environment.Version < new System.Version(3, 5)) return;
RunCompilerTestCase(@"clrextensions-1.boo");
}
... | namespace BooCompiler.Tests
{
using NUnit.Framework;
[TestFixture]
public class ClrextensionsIntegrationTestFixture : AbstractCompilerTestCase
{
[Test]
public void clrextensions_1()
{
RunCompilerTestCase(@"clrextensions-1.boo");
}
override protected string GetRelativeTestCasesPath()
{
retur... | bsd-3-clause | C# |
97ddd00055376d892d96e5df32bef960376b34d1 | Update the SqliteAnchorStateBuilder unit tests | openchain/openchain | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | // Copyright 2015 Coinprism, 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 agree... | // Copyright 2015 Coinprism, 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 agree... | apache-2.0 | C# |
f89769fd1a6aefb9d6b8dd111ccf2087eed5007d | Make return type of classifications handler object to avoid issues with dynamic usage on internal types. | panopticoncentral/roslyn,ErikSchierboom/roslyn,ErikSchierboom/roslyn,stephentoub/roslyn,davkean/roslyn,eriawan/roslyn,bartdesmet/roslyn,tmat/roslyn,weltkante/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,gafter/roslyn,mavasani/roslyn,mgoertz-msft/roslyn,genlu/roslyn,reaction1989/roslyn,diryboy/roslyn,physhi/rosly... | src/VisualStudio/LiveShare/Impl/ClassificationsHandler.cs | src/VisualStudio/LiveShare/Impl/ClassificationsHandler.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 System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using ... | // 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using ... | mit | C# |
ec996f57f43e123e213bee242c0691190e9fb277 | Implement CalculateGameResult service complete. | tlaothong/xdailysoccer,tlaothong/xdailysoccer,tlaothong/xdailysoccer,tlaothong/xdailysoccer | src/DailySoccerSolution/DailySoccerAppService/Controllers/MatchesController.cs | src/DailySoccerSolution/DailySoccerAppService/Controllers/MatchesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using DailySoccer.Shared.Models;
using DailySoccer.Shared.Facades;
namespace DailySoccerAppService.Controllers
{
public class MatchesController : ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using DailySoccer.Shared.Models;
using DailySoccer.Shared.Facades;
namespace DailySoccerAppService.Controllers
{
public class MatchesController : ... | mit | C# |
07e975a0ed5d7d8bd3f5cd83d54d1d59a12d7e62 | Return a shared contract resolver | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonSerializerSettingsProvider.cs | src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonSerializerSettingsProvider.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 Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
/// Helper class whic... | // 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 Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
/// Helper class whic... | apache-2.0 | C# |
51208d8f47ef1f9783435153e5876a66e5cb3a9d | Allow more to be configured | dennisroche/TopShelf.Owin | TopShelf.Owin/WebAppConfigurator.cs | TopShelf.Owin/WebAppConfigurator.cs | using Microsoft.Owin.Hosting;
using Owin;
using System;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Dependencies;
using Topshelf.Logging;
namespace TopShelf.Owin
{
public class WebAppConfigurator
{
protected IDisposable WebApplication;
protected readonly LogWriter ... | using Microsoft.Owin.Hosting;
using Owin;
using System;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Dependencies;
using Topshelf.Logging;
namespace TopShelf.Owin
{
public class WebAppConfigurator
{
protected IDisposable WebApplication;
protected readonly LogWriter ... | mit | C# |
c3ad47f3a9a76e71240a64779ba587c834c6eb61 | Add IoHelpers.EnsureContainingDirectoryExists(FilePath); | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Io/IoManager.cs | WalletWasabi/Io/IoManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
namespace WalletWasabi.Io
{
public class IoManager
{
public string FilePath { get; }
public string FileName { get; }
public s... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
namespace WalletWasabi.Io
{
public class IoManager
{
public string FilePath { get; }
public string FileName { get; }
public s... | mit | C# |
fd0bd93f5897d3e4d2151d0d1657bc4821132e94 | Allow TypeName to be used as Dictionary key | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/CommonAbstractions/Infer/TypeName/TypeNameFormatter.cs | src/Nest/CommonAbstractions/Infer/TypeName/TypeNameFormatter.cs | using Utf8Json;
namespace Nest
{
internal class TypeNameFormatter : IJsonFormatter<TypeName>, IObjectPropertyNameFormatter<TypeName>
{
public TypeName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
TypeName typeNam... | using Utf8Json;
namespace Nest
{
internal class TypeNameFormatter : IJsonFormatter<TypeName>
{
public TypeName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
TypeName typeName = reader.ReadString();
return type... | apache-2.0 | C# |
95f1a7ced36659223ff91a04e971823b2519b368 | Test for #6 | kamsar/Rainbow | src/Rainbow.Tests/Formatting/FieldFormatters/XmlFieldFormatterTests.cs | src/Rainbow.Tests/Formatting/FieldFormatters/XmlFieldFormatterTests.cs | using Xunit;
using Rainbow.Formatting.FieldFormatters;
namespace Rainbow.Tests.Formatting.FieldFormatters
{
public class XmlFieldFormatterTests
{
private const string SourceValueExpectation = "<r xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><d id=\"{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}\" l=\"{0DAC6578-BC11-4B4... | using Xunit;
using Rainbow.Formatting.FieldFormatters;
namespace Rainbow.Tests.Formatting.FieldFormatters
{
public class XmlFieldFormatterTests
{
private const string SourceValueExpectation = "<r xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><d id=\"{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}\" l=\"{0DAC6578-BC11-4B4... | mit | C# |
8966249a47e5dac21e838c4c425bc1d8e252d90a | Add missing trailing slash | fandrei/CiapiLatencyCollector,fandrei/CiapiLatencyCollector | Shared/AppSettingsBase.cs | Shared/AppSettingsBase.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace CiapiLatencyCollector
{
public class AppSettingsBase
{
public AppSettingsBase()
{
ConfigBaseUrl = "http://config.metrics.labs.cityindex.com";
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace CiapiLatencyCollector
{
public class AppSettingsBase
{
public AppSettingsBase()
{
ConfigBaseUrl = "http://config.metrics.labs.cityindex.com";
}
... | apache-2.0 | C# |
39116f9b2f8ed2d3c76a57b8226b264ac556df6e | Fix file location for build server | Fody/JetBrainsAnnotations | Tests/IntegrationTests.cs | Tests/IntegrationTests.cs | namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly string _targetFolder = AppDomain.CurrentD... | namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly Assembly _assembly;
public Integ... | mit | C# |
6cbd478bbf2c0c7a350a2c3c20072306774fdcc7 | fix code smells | arsouza/Aritter,arsouza/Aritter,aritters/Ritter | tests/Application.Seedwork.Tests/Services/AppService_CreateTransactionScope.cs | tests/Application.Seedwork.Tests/Services/AppService_CreateTransactionScope.cs | using System;
using System.Transactions;
using FluentAssertions;
using Ritter.Application.Services;
using Xunit;
namespace Ritter.Application.Tests.Services
{
public class AppService_CreateTransactionScope
{
[Fact]
public void CreateTransactionScopeSuccessfully()
{
Func<bool... | using System;
using System.Transactions;
using FluentAssertions;
using Ritter.Application.Services;
using Xunit;
namespace Ritter.Application.Tests.Services
{
public class AppService_CreateTransactionScope
{
[Fact]
public void CreateTransactionScopeSuccessfully()
{
Func<bool... | mit | C# |
483f2f842ad40a9b9a8d8cd24e40cb7315194ba9 | Remove unused fields | grapto/Orchard.CloudBust,planetClaire/Orchard-LETS,hbulzy/Orchard,harmony7/Orchard,sfmskywalker/Orchard,jagraz/Orchard,xkproject/Orchard,tobydodds/folklife,patricmutwiri/Orchard,Anton-Am/Orchard,fassetar/Orchard,grapto/Orchard.CloudBust,spraiin/Orchard,harmony7/Orchard,Sylapse/Orchard.HttpAuthSample,arminkarimi/Orchard... | src/Orchard.Web/Modules/Futures.Modules.Packaging/Commands/PackagingCommands.cs | src/Orchard.Web/Modules/Futures.Modules.Packaging/Commands/PackagingCommands.cs | using System;
using System.IO;
using System.Net;
using Orchard.Commands;
using Orchard.Packaging;
namespace Futures.Modules.Packaging.Commands {
public class PackagingCommands : DefaultOrchardCommandHandler {
private readonly IPackageManager _packageManager;
public PackagingCommands(IPac... | using System;
using System.IO;
using System.Net;
using Orchard.Commands;
using Orchard.Environment.Extensions;
using Orchard.Packaging;
namespace Futures.Modules.Packaging.Commands {
public class PackagingCommands : DefaultOrchardCommandHandler {
private readonly IExtensionManager _extensionManage... | bsd-3-clause | C# |
a8f7a0e0288873fa2b72ebaab54581616331c419 | Fix id | stripe/stripe-dotnet | src/StripeTests/Entities/Identity/VerificationReports/VerificationReportTest.cs | src/StripeTests/Entities/Identity/VerificationReports/VerificationReportTest.cs | namespace StripeTests.Identity
{
using Newtonsoft.Json;
using Stripe.Identity;
using Xunit;
public class VerificationReportTest : BaseStripeTest
{
public VerificationReportTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
... | namespace StripeTests.Identity
{
using Newtonsoft.Json;
using Stripe.Identity;
using Xunit;
public class VerificationReportTest : BaseStripeTest
{
public VerificationReportTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
... | apache-2.0 | C# |
5229192a030f779b2f69d238e31d015e961afaa4 | Build fix #2 | blattodephobia/BG_Composers,blattodephobia/BG_Composers | BGC.Web/Areas/Administration/Controllers/AccountController.cs | BGC.Web/Areas/Administration/Controllers/AccountController.cs | using BGC.Core;
using BGC.Utilities;
using BGC.Web.Areas.Administration.ViewModels;
using BGC.Web.Areas.Administration.ViewModels.Permissions;
using CodeShield;
using Microsoft.AspNet.Identity;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
us... | using BGC.Core;
using BGC.Utilities;
using BGC.Web.Areas.Administration.ViewModels;
using BGC.Web.Areas.Administration.ViewModels.Permissions;
using CodeShield;
using Microsoft.AspNet.Identity;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
us... | mit | C# |
63fce60a77f51523a08b5eb1812d4f9dc7d30028 | Put query parameter in request content instead of using URI parameter | pootzko/InfluxData.Net | InfluxData.Net.InfluxDb/RequestClients/InfluxDbRequestClient.cs | InfluxData.Net.InfluxDb/RequestClients/InfluxDbRequestClient.cs | using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using InfluxData.Net.Common.Infrastructure;
using InfluxData.Net.Common.RequestClients;
using InfluxData.Net.InfluxDb.Constants;
using InfluxData.Net.InfluxDb.Formatters;
using InfluxData.Net.InfluxDb.Infrastructure;
using InfluxData.Net.InfluxDb.... | using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using InfluxData.Net.Common.Infrastructure;
using InfluxData.Net.Common.RequestClients;
using InfluxData.Net.InfluxDb.Constants;
using InfluxData.Net.InfluxDb.Formatters;
using InfluxData.Net.InfluxDb.Infrastructure;
using InfluxData.Net.InfluxDb.... | mit | C# |
c8fb129cfb36e216f87bb00270f1a6934f7df855 | Update FindingCellsContainingStringValueOrNumber.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/As... | Examples/CSharp/Data/Handling/Find/FindingCellsContainingStringValueOrNumber.cs | Examples/CSharp/Data/Handling/Find/FindingCellsContainingStringValueOrNumber.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.Find
{
public class FindingCellsContainingStringValueOrNumber
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
stri... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.Find
{
public class FindingCellsContainingStringValueOrNumber
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cell... | mit | C# |
83312d619eaeff68e625f6e68affb4acbd11ca0b | Update Build.cs | urbas/bud | SystemTests/testProjects/InterProjectDependencies/.bud/Build.cs | SystemTests/testProjects/InterProjectDependencies/.bud/Build.cs | using Bud;
using Bud.Plugins.CSharp;
using Bud.Plugins.Dependencies;
using System.IO;
using System;
public class Build : IBuild {
public Settings GetSettings(string baseDir) {
var projectA = CSharp.LibraryProject("A", Path.Combine(baseDir, "A"));
var projectB = CSharp.Project("B", Path.Combine(baseDir, "B"))... | using Bud;
using Bud.Plugins.CSharp;
using Bud.Plugins.Dependencies;
using System.IO;
using System;
public class Testek {
public string GetMessage() {
return "This is Sparta!";
}
}
public class Build : IBuild {
public Settings GetSettings(string baseDir) {
var projectA = CSharp.LibraryProject("A", Path.... | mit | C# |
9e7cb7c373daa4cca6a8ed287cbff47d7cffa781 | Fix appharbor build due to nameof() in HttpCtxProvider | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Authentication/Providers/HttpContextAuthenticationProvider.cs | PhotoLife/PhotoLife.Authentication/Providers/HttpContextAuthenticationProvider.cs | using System;
using PhotoLife.Authentication.ApplicationManagers;
using PhotoLife.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using PhotoLife.Providers.Contracts;
namespace PhotoLife.Authentication.Providers
{
public class HttpContextAuthenticationProvider : IAuthenticationProvi... | using System;
using PhotoLife.Authentication.ApplicationManagers;
using PhotoLife.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using PhotoLife.Providers.Contracts;
namespace PhotoLife.Authentication.Providers
{
public class HttpContextAuthenticationProvider : IAuthenticationProvi... | mit | C# |
6dfde0d707e92266c8bd978f73dea2ac7c45e9c6 | Remove completed TODO. | TTExtensions/MouseClickSimulator | TTMouseclickSimulator/Core/ToontownRewritten/Actions/Fishing/FishingSpotFlavor.cs | TTMouseclickSimulator/Core/ToontownRewritten/Actions/Fishing/FishingSpotFlavor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions.Fishing
{
public class FishingSpotFlavor
{
public Coordinates Scan1 { get; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions.Fishing
{
public class FishingSpotFlavor
{
public Coordinates Scan1 { get; }
... | mit | C# |
f6ca4223516e48b42c22b611d7708a9328516081 | Fix missing assy description | miiCard/api-wrappers-dotnet,miiCard/api-wrappers-dotnet,miiCard/api-wrappers-dotnet | src/miiCard.Consumers.Service.Claims/Properties/AssemblyInfo.cs | src/miiCard.Consumers.Service.Claims/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("mi... | 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("mi... | bsd-3-clause | C# |
396d9522dd3967b2ed3fbc58a8f60987b3beb3e8 | delete changed to close | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ITaskNotificationService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ITaskNotificationService.cs | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ITaskNotificationCallback))]
public interface ITaskNotificationService : IQuartz... | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ITaskNotificationCallback))]
public interface ITaskNotificationService : IQuartz... | mit | C# |
444d30e54bebd2dd46bd33b0e155696687d27c6f | Fix improper Task creation. Use a TaskCompletionSource<T> whenever you need to return the result of a synchronous action. | WebApiContrib/WebApiContrib.IoC.Unity,WebApiContrib/WebApiContrib.Formatting.Razor,WebApiContrib/WebAPIContrib,WebApiContrib/WebApiContrib.IoC.StructureMap,WebApiContrib/WebApiContrib.IoC.Autofac,WebApiContrib/WebApiContrib.IoC.CastleWindsor,jcalder/WebApiContrib.IoC.StructureMap,WebApiContrib/WebApiContrib.Formatting.... | samples/WebApi.Conneg.Web/SimpleHandler.cs | samples/WebApi.Conneg.Web/SimpleHandler.cs | using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace WebApi.Conneg.Web
{
public class SimpleHandler : DelegatingHandler
{
private readonly IFormatterSelector _formatterSelector;
p... | using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace WebApi.Conneg.Web
{
public class SimpleHandler : DelegatingHandler
{
private readonly IFormatterSelector _formatterSelector;
p... | mit | C# |
992b23c01186945754c341d57e93184deab5ed0e | fix AddIdentityDomain<TIdentityDomain> to make sure a single instance is used by scope. add AddDomain<TDomain> | geeklearningio/gl-dotnet-domain | src/GeekLearning.Domain.AspnetCore/Configuration/AspnetCoreExtensions.cs | src/GeekLearning.Domain.AspnetCore/Configuration/AspnetCoreExtensions.cs | namespace GeekLearning.Domain.AspnetCore
{
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
public static class AspnetCoreExtensions
{
public static IMvcBuilder AddDomain(this IMvcBuilder mvcBuilder)
{
mvcBuilder.Add... | namespace GeekLearning.Domain.AspnetCore
{
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
public static class AspnetCoreExtensions
{
public static IMvcBuilder AddDomain(this IMvcBuilder mvcBuilder)
{
mvcBuilder.Add... | mit | C# |
3a205642d77ecf3b99f58f93acd48d973e030e2b | Use factories to register extensions (so they can be replaced since calling GetService on some container implementations prevent further registrations) | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/Extensions/ServiceContainerExtensions.cs | src/Takenet.MessagingHub.Client/Extensions/ServiceContainerExtensions.cs | using System;
using Takenet.MessagingHub.Client.Extensions.AttendanceForwarding;
using Takenet.MessagingHub.Client.Extensions.Broadcast;
using Takenet.MessagingHub.Client.Extensions.Bucket;
using Takenet.MessagingHub.Client.Extensions.Contacts;
using Takenet.MessagingHub.Client.Extensions.Delegation;
using Takenet.Mes... | using Takenet.MessagingHub.Client.Extensions.AttendanceForwarding;
using Takenet.MessagingHub.Client.Extensions.Broadcast;
using Takenet.MessagingHub.Client.Extensions.Bucket;
using Takenet.MessagingHub.Client.Extensions.Contacts;
using Takenet.MessagingHub.Client.Extensions.Delegation;
using Takenet.MessagingHub.Clie... | apache-2.0 | C# |
c671ddc2ea7165af7eb40731c3dbed64762a5dde | Update EventStoreSessionInstaller.cs | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | Snittlistan.Web/Infrastructure/Installers/EventStoreSessionInstaller.cs | Snittlistan.Web/Infrastructure/Installers/EventStoreSessionInstaller.cs | using System;
using Castle.Core;
using Castle.MicroKernel;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using EventStoreLite;
using Raven.Client;
namespace Snittlistan.Web.Infrastructure.Installers
{
public class EventStoreSessionInstal... | using System;
using Castle.Core;
using Castle.MicroKernel;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using EventStoreLite;
using Raven.Client;
namespace Snittlistan.Web.Infrastructure.Installers
{
public class EventStoreSessionInstal... | mit | C# |
2e1b56e1dc17256f81332a39ae79b39b2410e753 | Update Home Controller to send message - and log it | calebjenkins/Talks.CodeToDiFor,calebjenkins/Talks.CodeToDiFor,calebjenkins/Talks.CodeToDiFor | Talks.CodeToDiFor.Solution/Talks.C2DF.Web/Controllers/HomeController.cs | Talks.CodeToDiFor.Solution/Talks.C2DF.Web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Talks.C2DF.BetterApp.Lib.Logging;
using Talks.C2DF.Interfaces;
namespace Talks.C2DF.Web.Controllers
{
public class HomeController: Controller
{
ISendingMicroApp sendingApp;
IAppLogger _logger;
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Talks.C2DF.Interfaces;
namespace Talks.C2DF.Web.Controllers
{
public class HomeController: Controller
{
//ICostCalculator calculator;
//public HomeController(ICostCalculator calculator)
//{
// th... | mit | C# |
e274e1046e233979ef68149df4d6498fdadf573a | Fix lurking wife mode on transaction id in details | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTabViewModel
{
public TransactionInfoTabViewModel(TransactionDetailsViewModel transaction) : base("")
{
... | mit | C# |
c96bc6012d42264b2e82733b945718322bb44400 | Fix breaking change in SDK | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-yaml/test/src/UnityTestsSpecificYamlFileExtensionMapping.cs | resharper/resharper-yaml/test/src/UnityTestsSpecificYamlFileExtensionMapping.cs | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests
{
[ShellComponent]
public class UnityTestsSpecificYamlFi... | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.DataFlow;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests
{
[ShellComponent]
public clas... | apache-2.0 | C# |
f78cba2688e5b0f7240535992cd537ed4e9863a1 | Remove redundant call to GetType() | chrisowhite/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,Ide... | src/IdentityServer4/Configuration/IdentityServerApplicationBuilderExtensions.cs | src/IdentityServer4/Configuration/IdentityServerApplicationBuilderExtensions.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Hosting;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using Microsoft.Extensions.Logging;
using System... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Hosting;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using Microsoft.Extensions.Logging;
using System... | apache-2.0 | C# |
6048b0a74c6e98549fb382b75284ab0bf0f46f8c | Add support for lazy ordinal P/invoke imports | gregkalapos/corert,botaberg/corert,sandreenko/corert,krytarowski/corert,krytarowski/corert,krytarowski/corert,sandreenko/corert,krytarowski/corert,tijoytom/corert,gregkalapos/corert,yizhang82/corert,tijoytom/corert,gregkalapos/corert,shrah/corert,yizhang82/corert,tijoytom/corert,tijoytom/corert,yizhang82/corert,botaber... | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/PInvokeMethodFixupNode.cs | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/PInvokeMethodFixupNode.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.Text;
namespace ILCompiler.DependencyAnalysis
{
/// <summary>
/// Represents... | // 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 Internal.Text;
namespace ILCompiler.DependencyAnalysis
{
/// <summary>
/// Represents a single PInvo... | mit | C# |
aef485e8e14d6b7cba12c562a54da9864deeaf84 | Update Download_ALL_videos.cs | Ziggeo/ZiggeoCSharpSDK,Ziggeo/ZiggeoCSharpSDK | demos/Ziggeo_Download_All_videos.cs | demos/Ziggeo_Download_All_videos.cs | using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace Delete_all_videos
{
public class Delete_All_Videos
{
public static void Main(string[] args)
{
Ziggeo ziggeo = ne... | using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace Download_All_Videos
{
public class Download_All_Videos
{
public static void Main(string[] args)
{
Ziggeo ziggeo = n... | apache-2.0 | C# |
e656fc6542973ea5a51c47cb179e18783bbb718d | Change name of tests | MindTouch/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,meebey/ServiceStack,timba/NServiceKit,ZocDoc/ServiceStack,meebey/ServiceStack,NServiceKit/... | tests/ServiceStack.WebHost.IntegrationTests/Tests/HelloWorldServiceClientTests.cs | tests/ServiceStack.WebHost.IntegrationTests/Tests/HelloWorldServiceClientTests.cs | using System;
using System.Collections;
using System.Threading;
using NUnit.Framework;
using ServiceStack.Service;
using ServiceStack.ServiceClient.Web;
using ServiceStack.WebHost.IntegrationTests.Services;
namespace ServiceStack.WebHost.IntegrationTests.Tests
{
[TestFixture]
public class HelloWorldServi... | using System;
using System.Collections;
using System.Threading;
using NUnit.Framework;
using ServiceStack.Service;
using ServiceStack.ServiceClient.Web;
using ServiceStack.WebHost.IntegrationTests.Services;
namespace ServiceStack.WebHost.IntegrationTests.Tests
{
[TestFixture]
public class HelloWorldServi... | bsd-3-clause | C# |
e8c1857013e7c6cdfc4e6ff8f6dc2771508bb0e8 | Make MerchantTerminal class public | cgatno/GlobalGatewaye4Wrapper | GlobalGatewaye4RESTWrapper/GlobalGatewaye4RESTWrapper/MerchantTerminal.cs | GlobalGatewaye4RESTWrapper/GlobalGatewaye4RESTWrapper/MerchantTerminal.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace GlobalGatewaye4RESTWrapper
{
public class MerchantTerminal
{
private readonly string mGatewayID;
private readonly ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace GlobalGatewaye4RESTWrapper
{
class MerchantTerminal
{
private readonly string mGatewayID;
private readonly string ... | mit | C# |
11841bee503ebc027afd45a4fb9d628a60f36df8 | Implement `Apply` action | maximegelinas-cegepsth/GEC-strawberry-sass,maximegelinas-cegepsth/GEC-strawberry-sass | StrawberrySass/src/StrawberrySass/UI/Home/App/About/AboutComponent.cshtml | StrawberrySass/src/StrawberrySass/UI/Home/App/About/AboutComponent.cshtml | <h1>À propos</h1>
<!-- == Description == -->
<section class="row">
<div class="col-xs-12">
<h2>Développer avec passion</h2>
<p>Strawberry est développer par une équipe passionnée qui ont à cœur la rigueur code et le travail bien fait.</p>
</div>
</section>
<!-- == Contributors == -->
<sect... | <!-- == Description == -->
<section class="row">
<div class="col-xs-12">
<h2>Développer avec passion</h2>
<p>Strawberry est développer par une équipe passionnée qui ont à cœur la rigueur code et le travail bien fait.</p>
</div>
</section>
<!-- == Contributors == -->
<section class="row cent... | mit | C# |
8412c7e8a1e30326d0df9cc045ab6795225d0551 | Remove outdated owin.CallCompleted from Encapsulate. | eocampo/KatanaProject301,evicertia/Katana,evicertia/Katana,evicertia/Katana,HongJunRen/katanaproject,julianpaulozzi/katanaproject,PxAndy/Katana,monkeysquare/katana,tomi85/Microsoft.Owin,HongJunRen/katanaproject,eocampo/KatanaProject301,julianpaulozzi/katanaproject,HongJunRen/katanaproject,eocampo/KatanaProject301,evice... | src/Katana.Engine/Utilities/Encapsulate.cs | src/Katana.Engine/Utilities/Encapsulate.cs | // <copyright file="Encapsulate.cs" company="Katana contributors">
// Copyright 2011-2012 Katana contributors
// </copyright>
//
// 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
//
// ... | // <copyright file="Encapsulate.cs" company="Katana contributors">
// Copyright 2011-2012 Katana contributors
// </copyright>
//
// 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# |
bc054e88766e15138fa2cfe6cf334cf1cc9ea8c8 | Simplify finding tokens | occar421/MyAnalyzerSamples | PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer.cs | PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer.cs | using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace AnalyzerTests
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
class PublicFieldAnalyzer : DiagnosticA... | using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace AnalyzerTests
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
class PublicFieldAnalyzer : DiagnosticA... | mit | C# |
dabe7692535b77655e1e5348231e88d2a58b2317 | Tidy up a couple of tests | mmitche/roslyn,diryboy/roslyn,bkoelman/roslyn,srivatsn/roslyn,managed-commons/roslyn,oocx/roslyn,gafter/roslyn,jamesqo/roslyn,tmat/roslyn,lorcanmooney/roslyn,MattWindsor91/roslyn,brettfo/roslyn,Pvlerick/roslyn,dpoeschl/roslyn,khyperia/roslyn,jcouv/roslyn,davkean/roslyn,robinsedlaczek/roslyn,danielcweber/roslyn,thomasle... | src/Workspaces/CoreTest/FormattingTests.cs | src/Workspaces/CoreTest/FormattingTests.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.Formatting;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
using CS = Microsoft.CodeAnal... | // 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.Formatting;
using Roslyn.Test.Utilities;
using Xunit;
using CS = Microsoft.CodeAnalysis.CSharp;
using VB = Microsoft.CodeAnalysi... | mit | C# |
b6c3656c30d4f8a50dee35fd912ff85befc739de | Update GetWarningsForFontSubstitution.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,ma... | Examples/CSharp/Articles/GetWarningsForFontSubstitution.cs | Examples/CSharp/Articles/GetWarningsForFontSubstitution.cs | using System.IO;
using Aspose.Cells;
using System.Diagnostics;
namespace Aspose.Cells.Examples.Articles
{
//ExStart:1
public class GetWarningsForFontSubstitution : IWarningCallback
{
public void Warning(WarningInfo info)
{
if (info.WarningType == WarningType.FontSubstitution)
... | using System.IO;
using Aspose.Cells;
using System.Diagnostics;
namespace Aspose.Cells.Examples.Articles
{
public class GetWarningsForFontSubstitution : IWarningCallback
{
public void Warning(WarningInfo info)
{
if (info.WarningType == WarningType.FontSubstitution)
{
... | mit | C# |
65c33e0e66154e6c92a68332e17a94081038eb6c | 修正 messageMode 参数数值实现。 | Ivony/TableGames | WebHost/GameHostController.cs | WebHost/GameHostController.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 Ivony.TableGame.WebHost
{
public class GameHostController : ApiController
{
[HttpGet]
public object Game( string ... | 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 Ivony.TableGame.WebHost
{
public class GameHostController : ApiController
{
[HttpGet]
public object Game( string ... | apache-2.0 | C# |
f5f465a878673cfa1a49242fddf745023078c447 | Fix exception handling so that the response passed to the exception is a js object if the response content type is application/json | x335/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs | WootzJs.Web/XmlHttpRequest.cs | WootzJs.Web/XmlHttpRequest.cs | using System;
using System.Runtime.WootzJs;
namespace WootzJs.Web
{
[Js(Name = "XMLHttpRequest", Export = false)]
public class XmlHttpRequest
{
[Js(Name = "response")]
public extern JsObject Response { get; }
[Js(Name = "responseText")]
public extern string ResponseText { ... | using System;
using System.Runtime.WootzJs;
namespace WootzJs.Web
{
[Js(Name = "XMLHttpRequest", Export = false)]
public class XmlHttpRequest
{
[Js(Name = "response")]
public extern JsObject Response { get; }
[Js(Name = "responseText")]
public extern string ResponseText { ... | mit | C# |
899d5d95efd9b4735506d6cf73d5eff340f9946f | Work around incomatibility in SGMiner 4.0 with the CGMiner RPC API | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Xgminer.Api/Parsers/VersionInformationParser.cs | MultiMiner.Xgminer.Api/Parsers/VersionInformationParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace MultiMiner.Xgminer.Api.Parsers
{
class VersionInformationParser : ResponseTextParser
{
public static void ParseTextForVersionInformation(string text, MultiMiner.Xgminer.Api.Data.VersionInformation versionInformation)
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace MultiMiner.Xgminer.Api.Parsers
{
class VersionInformationParser : ResponseTextParser
{
public static void ParseTextForVersionInformation(string text, MultiMiner.Xgminer.Api.Data.VersionInformation versionInformation)
... | mit | C# |
8e3845b2ca9438dbc65279547afdfdf1d07e92fe | resolve comments | lewischeng-ms/WebApi,lewischeng-ms/WebApi | OData/src/System.Web.OData/OData/ODataUriResolverSetttings.cs | OData/src/System.Web.OData/OData/ODataUriResolverSetttings.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.OData.Core.UriParser;
using Microsoft.OData.Core.UriParser.Metadata;
using Microsoft.OData.Edm;
namespace System.Web.OData
{
internal clas... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.OData.Core.UriParser;
using Microsoft.OData.Core.UriParser.Metadata;
using Microsoft.OData.Edm;
namespace System.Web.OData
{
internal clas... | mit | C# |
5fc1db02c7bd5ed776dd1eb3d64775ff8f589cd9 | change data model to string[][] for Timestamps andd WordConfidence | watson-developer-cloud/dotnet-standard-sdk,watson-developer-cloud/dotnet-standard-sdk | src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/SpeechRecognitionAlternative.cs | src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/SpeechRecognitionAlternative.cs | /**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | /**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.