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 |
|---|---|---|---|---|---|---|---|---|
c2069c2c8d9ba222c1c7710760c1a9e02aab83f9 | write log file to appdata folder along with everything else | ArsenShnurkov/BitSharp | BitSharp.Node/LoggingModule.cs | BitSharp.Node/LoggingModule.cs | using Ninject;
using Ninject.Modules;
using NLog;
using NLog.Config;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Node
{
public class LoggingModule : NinjectModule
{
private rea... | using Ninject;
using Ninject.Modules;
using NLog;
using NLog.Config;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Node
{
public class LoggingModule : NinjectModule
{
private rea... | unlicense | C# |
89013e65ca66f6e1c1180e7ecbc290acbf64c884 | Add upload property to file | contentful/contentful.net | Contentful.Core/Models/File.cs | Contentful.Core/Models/File.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents information about the actual binary file of an <see cref="Asset"/>.
/// </summary>
public class File
{
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents information about the actual binary file of an <see cref="Asset"/>.
/// </summary>
public class File
{
/// <summary>
/// ... | mit | C# |
83a6d455333df58d338e2561e0633212fae1969d | make Entity and Lite nullable | signumsoftware/framework,signumsoftware/framework | Signum.React.Extensions/Word/WordController.cs | Signum.React.Extensions/Word/WordController.cs | using System.ComponentModel.DataAnnotations;
using Signum.React.Facades;
using Signum.Entities.Word;
using Signum.Engine.Word;
using Signum.React.Files;
using Microsoft.AspNetCore.Mvc;
using Signum.React.Filters;
namespace Signum.React.Word;
[ValidateModelFilter]
public class WordController : ControllerBas... | using System.ComponentModel.DataAnnotations;
using Signum.React.Facades;
using Signum.Entities.Word;
using Signum.Engine.Word;
using Signum.React.Files;
using Microsoft.AspNetCore.Mvc;
using Signum.React.Filters;
namespace Signum.React.Word;
[ValidateModelFilter]
public class WordController : ControllerBas... | mit | C# |
d656967d1277489f5874abf42d99fd9b167d267d | fix end date bug again and again | PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer | StandUpTimer.Web/Views/Statistics/Index.cshtml | StandUpTimer.Web/Views/Statistics/Index.cshtml | @model StandUpTimer.Web.Statistic.StatisticModel
@{
ViewBag.Title = "Statistics";
}
@section styles
{
@Styles.Render("~/Content/Statistics.css")
}
<h2>Statistics</h2>
<div id="gantt" style="width: 100%; height: 400px"></div>
@section scripts
{
@Scripts.Render("~/bundles/d3")
<script>
func... | @model StandUpTimer.Web.Statistic.StatisticModel
@{
ViewBag.Title = "Statistics";
}
@section styles
{
@Styles.Render("~/Content/Statistics.css")
}
<h2>Statistics</h2>
<div id="gantt" style="width: 100%; height: 400px"></div>
@section scripts
{
@Scripts.Render("~/bundles/d3")
<script>
func... | mit | C# |
fcae543017ed76b489ea8311ceda2142d4ecc295 | Add docs | mavasani/roslyn,dotnet/roslyn,mgoertz-msft/roslyn,physhi/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,AmadeusW/roslyn,physhi/roslyn,eriawan/roslyn,sharwell/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,bartdesmet/roslyn,tmat/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,Amadeus... | src/Features/Core/Portable/NavigateTo/NavigateToSearchResultComparer.cs | src/Features/Core/Portable/NavigateTo/NavigateToSearchResultComparer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.NavigateTo
{
/// <s... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.NavigateTo
{
/// <s... | mit | C# |
93b4168d52e09564fc2adc47e8d5557039955d97 | Remove unused import | MHeasell/Mappy,MHeasell/Mappy | Mappy/Models/IMapSelectionModel.cs | Mappy/Models/IMapSelectionModel.cs | namespace Mappy.Models
{
using System.ComponentModel;
public interface IMapSelectionModel : INotifyPropertyChanged
{
bool HasSelection { get; }
int? SelectedFeature { get; }
int? SelectedTile { get; }
int? SelectedStartPosition { get; }
void Select... | namespace Mappy.Models
{
using System.ComponentModel;
using Mappy.Data;
public interface IMapSelectionModel : INotifyPropertyChanged
{
bool HasSelection { get; }
int? SelectedFeature { get; }
int? SelectedTile { get; }
int? SelectedStartPosition { get;... | mit | C# |
dfd793cfa2fe851c89f8eb86599d3f42f2fc7603 | Revert "Try fix cookie" | gyrosworkshop/Wukong,gyrosworkshop/Wukong | Wukong/Options/AzureOpenIdConnectionOptions.cs | Wukong/Options/AzureOpenIdConnectionOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Builder;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
namespace Wukong.Optio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Builder;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
namespace Wukong.Optio... | mit | C# |
a8bc7ba612402cca7b5db6687510b2315a3d383f | Change btn class for delete button (#24002) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/PersonalData.cshtml | src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/PersonalData.cshtml | @page
@model PersonalDataModel
@{
ViewData["Title"] = "Personal Data";
ViewData["ActivePage"] = ManageNavPages.PersonalData;
}
<h4>@ViewData["Title"]</h4>
<div class="row">
<div class="col-md-6">
<p>Your account contains personal data that you have given us. This page allows you to download or de... | @page
@model PersonalDataModel
@{
ViewData["Title"] = "Personal Data";
ViewData["ActivePage"] = ManageNavPages.PersonalData;
}
<h4>@ViewData["Title"]</h4>
<div class="row">
<div class="col-md-6">
<p>Your account contains personal data that you have given us. This page allows you to download or de... | apache-2.0 | C# |
7bf6009482519641901ab1eb0eda76ce0086f891 | Update copyright year | PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta | Pinta/Dialogs/AboutPintaTabPage.cs | Pinta/Dialogs/AboutPintaTabPage.cs | // AboutPintaTabPage.cs
//
// Author:
// Viktoria Dudka (viktoriad@remobjects.com)
//
// Copyright (c) 2009 RemObjects Software
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without... | // AboutPintaTabPage.cs
//
// Author:
// Viktoria Dudka (viktoriad@remobjects.com)
//
// Copyright (c) 2009 RemObjects Software
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without... | mit | C# |
fe287acab0aca7d0409c2db538bcc027adbeee04 | allow transition to self | Pondidum/Finite,Pondidum/Finite | Sample.Common/States/NewRequest.cs | Sample.Common/States/NewRequest.cs | using Finite;
namespace Sample.Common.States
{
public class NewRequest : State<CreditRequest>
{
public NewRequest()
{
LinkTo<NewRequest>(); //explicitly allow samestate transitioning
LinkTo<AwaitingManagerApproval>(request => request.Justification.Trim() != "" && request.Amount > 0);
LinkTo<Abandoned>(... | using Finite;
namespace Sample.Common.States
{
public class NewRequest : State<CreditRequest>
{
public NewRequest()
{
LinkTo<AwaitingManagerApproval>(request => request.Justification.Trim() != "" && request.Amount > 0);
LinkTo<Abandoned>();
}
}
}
| lgpl-2.1 | C# |
29fad9234a637a24e77d1c6ac56d7c711e0a3f11 | Update TSA.cs | mwaltman/TextSplit | TextSplit/TSA.cs | TextSplit/TSA.cs | using System;
using System.Windows.Forms;
namespace TextSplit
{
// The window showing information about TextSplit
public partial class TextSplitAbout : Form
{
public TextSplitAbout() {
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e) {
... | using System;
using System.Windows.Forms;
namespace TextSplit
{
public partial class TextSplitAbout : Form
{
public TextSplitAbout() {
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e) {
this.Close();
}
}
}
| cc0-1.0 | C# |
c1a75ff5a40ce754feb84a1aea1575ed3da71935 | Adjust version information. | beppler/trayleds | TrayLeds/Properties/AssemblyInfo.cs | TrayLeds/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TrayLeds")]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TrayLeds")]
[assembly: AssemblyDescription... | mit | C# |
794ecf79da33db5362000fa512da8a52075549f7 | fix version into AssemblyInfo | gandarez/ssms-wakatime | WakaTime/Properties/AssemblyInfo.cs | WakaTime/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an a... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an a... | bsd-3-clause | C# |
a1b99d12abdb0ca8289342a6adc66a1f96c44a71 | Add `Guard.NotNull()` to `BitcoinStore` | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Stores/BitcoinStore.cs | WalletWasabi/Stores/BitcoinStore.cs | using System.Threading.Tasks;
using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Blockchain.Mempool;
using WalletWasabi.Blockchain.P2p;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Stores
{
/// <summary>
/// The purpose of this class... | using System.Threading.Tasks;
using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Blockchain.Mempool;
using WalletWasabi.Blockchain.P2p;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Logging;
namespace WalletWasabi.Stores
{
/// <summary>
/// The purpose of this class is to safely and performant... | mit | C# |
79237181a4f0638e16676e9dc332eb297a0dae95 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.8 | AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
35ef68ab10cdef5274b9280a62f5d7c966c9cdff | Update build.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | XPlat/OfficeUIFabric/iOS/build.cake | XPlat/OfficeUIFabric/iOS/build.cake |
var TARGET = Argument ("t", Argument ("target", "Default"));
var PODFILE_VERSION = "0.2.13";
var NUGET_VERSION = PODFILE_VERSION + "-pre1";
Task ("externals")
.WithCriteria (!DirectoryExists ("./externals/OfficeUIFabric.framework"))
.Does (() =>
{
EnsureDirectoryExists ("./externals");
// Download and build De... |
var TARGET = Argument ("t", Argument ("target", "Default"));
var PODFILE_VERSION = "0.2.13-pre1";
var NUGET_VERSION = PODFILE_VERSION;
Task ("externals")
.WithCriteria (!DirectoryExists ("./externals/OfficeUIFabric.framework"))
.Does (() =>
{
EnsureDirectoryExists ("./externals");
// Download and build Depende... | mit | C# |
db751a7da04b5d6c094815c0ba16a293c371ab07 | Fix typo | ChristopherHackett/VisualStudio,mariotristan/VisualStudio,GuilhermeSa/VisualStudio,luizbon/VisualStudio,bbqchickenrobot/VisualStudio,Dr0idKing/VisualStudio,naveensrinivasan/VisualStudio,github/VisualStudio,YOTOV-LIMITED/VisualStudio,modulexcite/VisualStudio,yovannyr/VisualStudio,SaarCohen/VisualStudio,github/VisualStud... | src/GitHub.VisualStudio/Base/TeamExplorerItemBase.cs | src/GitHub.VisualStudio/Base/TeamExplorerItemBase.cs | using NullGuard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitHub.VisualStudio.Base
{
abstract class TeamExplorerItemBase : TeamExplorerBase, INotifyPropertySource
{
bool isEnabled;
public bool IsEnabled
... | using NullGuard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitHub.VisualStudio.Base
{
abstract class TeamExplorerItemBase : TeamExplorerBase, INotifyPropertySource
{
bool isEnabled;
public bool IsEnabled
... | mit | C# |
2d4206480837751e3ebb10d91bcecbc4af2c73c5 | add dispose method in baseModelRepo | VladTsiukin/AirlineTicketOffice | AirlineTicketOffice.Repository/Repositories/BaseModelRepository.cs | AirlineTicketOffice.Repository/Repositories/BaseModelRepository.cs | using AirlineTicketOffice.Data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace AirlineTicketOffice.Repository.Repositories
{
public class BaseModelRepository<TEntity> where TE... | using AirlineTicketOffice.Data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace AirlineTicketOffice.Repository.Repositories
{
public class BaseModelRepository<TEntity> where TE... | mit | C# |
4e3ea0a2b5e3b98435822788af14bac9534c95ef | Use same namespace for serializers | davetimmins/ArcGIS.PCL,davetimmins/ArcGIS.PCL | ArcGIS.ServiceModel.Serializers.JsonDotNet/JsonDotNetSerializer.cs | ArcGIS.ServiceModel.Serializers.JsonDotNet/JsonDotNetSerializer.cs | using System;
using System.Collections.Generic;
using ArcGIS.ServiceModel;
using ArcGIS.ServiceModel.Operation;
namespace ArcGIS.ServiceModel.Serializers
{
public class JsonDotNetSerializer : ISerializer
{
static ISerializer _serializer = null;
public static void Init()
{
... | using System;
using System.Collections.Generic;
using ArcGIS.ServiceModel;
using ArcGIS.ServiceModel.Operation;
namespace ArcGIS.Test
{
public class JsonDotNetSerializer : ISerializer
{
static ISerializer _serializer = null;
public static void Init()
{
_serializer = new Js... | mit | C# |
6b0d1c090f86128510ac9d92e6f326d968013327 | Update Hecarim.cs | metaphorce/leaguesharp | MetaSmite/Champions/Hecarim.cs | MetaSmite/Champions/Hecarim.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Hecarim
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spe... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Hecarim
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spe... | mit | C# |
6b6a764523c298ac3de087896d074023f8639dc6 | Add NativeErrorCode. Fixes #17 | mj1856/SimpleImpersonation | SimpleImpersonation/ImpersonationException.cs | SimpleImpersonation/ImpersonationException.cs | using System;
using System.ComponentModel;
namespace SimpleImpersonation
{
/// <summary>
/// Exception thrown when impersonation fails.
/// </summary>
/// <remarks>
/// Inherits from <see cref="ApplicationException"/> for backwards compatibility reasons.
/// </remarks>
public class Imperso... | using System;
using System.ComponentModel;
namespace SimpleImpersonation
{
/// <summary>
/// Exception thrown when impersonation fails.
/// </summary>
/// <remarks>
/// Inherits from <see cref="ApplicationException"/> for backwards compatibility reasons.
/// </remarks>
public class Imperso... | mit | C# |
2bca081a679d12696dc16f4a74376631ceac69ba | Add force solve handler to Memory | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/MemoryComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/MemoryComponentSolver.cs | using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.Rules;
public class MemoryComponentSolver : ComponentSolver
{
public MemoryComponentSolver(BombCommander bombCommander, MemoryComponent bombComponent) :
base(bombCommander, bombComponent)
{
_buttons = bombComponent.Buttons;... | using System.Collections;
public class MemoryComponentSolver : ComponentSolver
{
public MemoryComponentSolver(BombCommander bombCommander, MemoryComponent bombComponent) :
base(bombCommander, bombComponent)
{
_buttons = bombComponent.Buttons;
modInfo = ComponentSolverFactory.GetModuleInfo("Memor... | mit | C# |
0d528ff8893e3ef28b8902979071be88dccbfee0 | Check if zip input path exists. | Chaser324/unity-build-actions | UnityBuild-ZipFile/Editor/ZipFileOperation.cs | UnityBuild-ZipFile/Editor/ZipFileOperation.cs | using Ionic.Zip;
using System;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace SuperSystems.UnityBuild
{
public class ZipFileOperation : BuildAction, IPreBuildAction, IPreBuildPerPlatformAction, IPostBuildAction, IPostBuildPerPlatformAction
{
public string inputPath = "$BUILDPATH";
public st... | using Ionic.Zip;
using System;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace SuperSystems.UnityBuild
{
public class ZipFileOperation : BuildAction, IPreBuildAction, IPreBuildPerPlatformAction, IPostBuildAction, IPostBuildPerPlatformAction
{
public string inputPath = "$BUILDPATH";
public st... | mit | C# |
73393ca52a0d3b0a4ed09d0da96e08a8d39f88af | Use correct casing on public static field. | QuickenLoans/XSerializer,rlyczynski/XSerializer | XSerializer/Encryption/EncryptionMechanism.cs | XSerializer/Encryption/EncryptionMechanism.cs | namespace XSerializer.Encryption
{
/// <summary>
/// Provides a mechanism for an application to specify an instance of
/// <see cref="IEncryptionMechanism"/> to be used by XSerializer when
/// encrypting or decrypting data.
/// </summary>
public static class EncryptionMechanism
{
//... | namespace XSerializer.Encryption
{
/// <summary>
/// Provides a mechanism for an application to specify an instance of
/// <see cref="IEncryptionMechanism"/> to be used by XSerializer when
/// encrypting or decrypting data.
/// </summary>
public static class EncryptionMechanism
{
//... | mit | C# |
443b6a0cd6726f59e313bca7f4141820159db0cd | Switch to 2.4.1 version | jwollen/SharpDX,Ixonos-USA/SharpDX,dazerdude/SharpDX,Ixonos-USA/SharpDX,weltkante/SharpDX,andrewst/SharpDX,PavelBrokhman/SharpDX,PavelBrokhman/SharpDX,manu-silicon/SharpDX,VirusFree/SharpDX,shoelzer/SharpDX,shoelzer/SharpDX,sharpdx/SharpDX,RobyDX/SharpDX,manu-silicon/SharpDX,jwollen/SharpDX,RobyDX/SharpDX,andrewst/Shar... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... | mit | C# |
30e1f6399d51ee346cc2c32929e53fcbb8a698be | use ASP.NET consistently | IBM-Bluemix/asp.net5-cloudant,IBM-Bluemix/asp.net5-cloudant | src/dotnetCloudantWebstarter/Views/Home/Index.cshtml | src/dotnetCloudantWebstarter/Views/Home/Index.cshtml | <!DOCTYPE html>
<html>
<head>
<title>ASP.NET Core Cloudant Starter Application</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="apple-m... | <!DOCTYPE html>
<html>
<head>
<title>ASP.NET Core Cloudant Starter Application</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="apple-m... | apache-2.0 | C# |
5d450018c36ddcba3d5f4db0903aaf9b7e52615c | Rename some more nested classes | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/UserInterface/BasicDirectorySelectorBreadcrumbDisplay.cs | osu.Framework/Graphics/UserInterface/BasicDirectorySelectorBreadcrumbDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Framework.Graphics.UserInterface
{
public class Bas... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Framework.Graphics.UserInterface
{
public class Bas... | mit | C# |
a2b018e8ab206cbfae6a7288f345404fe23414d7 | Comment and fix on namespace | mrvux/kgp | src/KGP.Core/Curves/ThresholdLinearCurve.cs | src/KGP.Core/Curves/ThresholdLinearCurve.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGP
{
/// <summary>
/// Linear threshold curve, clamp while absolute value is within threshold
/// </summary>
public class ThresholdLinearCurve : ICurve
{
private f... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGP.Curves
{
public class ThresholdLinearCurve : ICurve
{
private float threshold;
public float Threshold
{
get { return this.threshold; }
... | mit | C# |
ae0136ab460a704d72b3ae28e5d299cd4287a13e | Fix NullReferenceException | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server | src/Tgstation.Server.Client/ServerClient.cs | src/Tgstation.Server.Client/ServerClient.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client
{
/// <inheritdoc />
sealed class ServerClient : IServerClient
{
/// <inheritdoc />
public Uri Url => apiClient.Url;
/// <inheritdoc />
publi... | using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client
{
/// <inheritdoc />
sealed class ServerClient : IServerClient
{
/// <inheritdoc />
public Uri Url => apiClient.Url;
/// <inheritdoc />
publi... | agpl-3.0 | C# |
c57297fb49f1cc48285235dfc1cba4b75efdda9a | change ErrorMessage | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Source/ReactiveProperty.Portable-NET45+WINRT+WP8/UIDispatcherScheduler.cs | Source/ReactiveProperty.Portable-NET45+WINRT+WP8/UIDispatcherScheduler.cs | using System;
using System.Reactive.Concurrency;
using System.Threading;
namespace Reactive.Bindings
{
/// <summary>
/// <para>If call Schedule on UIThread then schedule immediately else dispatch BeginInvoke.</para>
/// <para>UIDIspatcherScheduler is created when access to UIDispatcher.Default fir... | using System;
using System.Reactive.Concurrency;
using System.Threading;
namespace Reactive.Bindings
{
/// <summary>
/// <para>If call Schedule on UIThread then schedule immediately else dispatch BeginInvoke.</para>
/// <para>UIDIspatcherScheduler is created when access to UIDispatcher.Default fir... | mit | C# |
4b47a44ff71d6dc1daddc36318d501a9d968bb0b | Modify behavior to avoid exception in design mode | emoacht/SnowyImageCopy | Source/SnowyImageCopy/Views/Behaviors/FrameworkElementLanguageBehavior.cs | Source/SnowyImageCopy/Views/Behaviors/FrameworkElementLanguageBehavior.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Markup;
using Microsoft.Xaml.Behaviors;
namespace SnowyImageCopy.Views.Behaviors
{
/// <sum... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Markup;
using Microsoft.Xaml.Behaviors;
namespace SnowyImageCopy.Views.Behaviors
{
/// <sum... | mit | C# |
21dbd501284a38f71584e8dae113653ee111e245 | Fix build | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/GameObjects/EntitySystems/Body/Surgery/SurgeryToolSystem.cs | Content.Server/GameObjects/EntitySystems/Body/Surgery/SurgeryToolSystem.cs | using System.Collections.Generic;
using Content.Server.GameObjects.Components.Body.Surgery;
using Content.Server.GameObjects.Components.Body.Surgery.Messages;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
using Content.Shared.GameTicking;
using Content.Sh... | using System.Collections.Generic;
using Content.Server.GameObjects.Components.Body.Surgery;
using Content.Server.GameObjects.Components.Body.Surgery.Messages;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.GameTicking;
using Content.Shared.Utility;
using JetBrains.Annotations;
using Robust.Shared... | mit | C# |
9ea499649bfa8247100594f28c5a692d2c73b13e | Fix invalid assembly name might be copied to clipboard | Zvirja/ReSharperHelpers | code/AlexPovar.ReSharperHelpers/ContextActions/CopyFullClassNameAction.cs | code/AlexPovar.ReSharperHelpers/ContextActions/CopyFullClassNameAction.cs | using System;
using JetBrains.Annotations;
using JetBrains.Application.Progress;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.ContextActions;
using JetBrains.ReSharper.Feature.Services.CSharp.Analyses.Bulbs;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using Jet... | using System;
using JetBrains.Annotations;
using JetBrains.Application.Progress;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.ContextActions;
using JetBrains.ReSharper.Feature.Services.CSharp.Analyses.Bulbs;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using Jet... | mit | C# |
6d9dfe780fb3760158197ebb263797dc3699f126 | Add quotes and length of JSON packets being sent. | kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX | Server/Dup.cs | Server/Dup.cs | namespace Server
{
using System;
using System.IO;
using System.Text;
internal partial class Program
{
class Dup : Stream
{
string _name;
private Dup() { }
public Dup(string name) { _name = name; }
public override bool CanRead { get... | namespace Server
{
using System;
using System.IO;
using System.Text;
internal partial class Program
{
class Dup : Stream
{
string _name;
private Dup() { }
public Dup(string name) { _name = name; }
public override bool CanRead { get... | mit | C# |
6a48272e234de3792984310833416c51c1b71920 | Update documentation now that we can point to a concrete method | dotnet/roslyn,cston/roslyn,VSadov/roslyn,brettfo/roslyn,reaction1989/roslyn,physhi/roslyn,diryboy/roslyn,dpoeschl/roslyn,panopticoncentral/roslyn,swaroop-sridhar/roslyn,xasx/roslyn,VSadov/roslyn,AlekseyTs/roslyn,eriawan/roslyn,jamesqo/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,MichalStrehovsky/roslyn,wvdd007/ro... | src/VisualStudio/Core/Def/Implementation/CodeModel/ICodeModelInstanceFactory.cs | src/VisualStudio/Core/Def/Implementation/CodeModel/ICodeModelInstanceFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel
{
interface ICodeModelInstanceFactory
{
/// <summary>
/// Requests the project system to create a <see ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel
{
interface ICodeModelInstanceFactory
{
/// <summary>
/// Requests the project system to create a <see ... | mit | C# |
fe1c33a55b9c78f9729e30cbd973ab0022cbde6d | Test case renamed to be more accurate | spektrumgeeks/Spk.Common | test/Spk.Common.Tests.Helpers/Service/ServiceResultTests.cs | test/Spk.Common.Tests.Helpers/Service/ServiceResultTests.cs | using System;
using Shouldly;
using Spk.Common.Helpers.Service;
using Xunit;
namespace Spk.Common.Tests.Helpers.Service
{
public class ServiceResultTests
{
[Theory]
[InlineData("test")]
[InlineData("")]
[InlineData(null)]
public void Success_ShouldBeTrue_WhenDataIsSet(st... | using System;
using Shouldly;
using Spk.Common.Helpers.Service;
using Xunit;
namespace Spk.Common.Tests.Helpers.Service
{
public class ServiceResultTests
{
[Theory]
[InlineData("test")]
[InlineData("")]
[InlineData(null)]
public void SetData_SuccessShouldBeTrue(string va... | mit | C# |
2686057fe3886e755f70eda5afae2253e80677b7 | Remove unused usings and make the target class internal | AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/DataLakeStore/Commands.DataLakeStore/DataPlaneModels/AdlsLoggerTarget.cs | src/ResourceManager/DataLakeStore/Commands.DataLakeStore/DataPlaneModels/AdlsLoggerTarget.cs | using System.Collections.Concurrent;
using NLog;
using NLog.Targets;
namespace Microsoft.Azure.Commands.DataLakeStore.Models
{
/// <summary>
/// NLog is used by the ADLS dataplane sdk to log debug messages. We can create a custom target
/// which basically queues the debug data to the ConcurrentQueue for ... | using System.Collections.Concurrent;
using System.IO;
using NLog;
using NLog.Config;
using NLog.Targets;
namespace Microsoft.Azure.Commands.DataLakeStore.Models
{
/// <summary>
/// NLog is used by the ADLS dataplane sdk to log debug messages. We can create a custom target
/// which basically queues the de... | apache-2.0 | C# |
d90f21e140bea785d07fd33c8ef1af126c16a16b | Reword mod documentation | peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Rulesets/Mods/IMod.cs | osu.Game/Rulesets/Mods/IMod.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Rulesets.Mods
{
public interface IMod : IEquatable<IMod>
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Rulesets.Mods
{
public interface IMod : IEquatable<IMod>
{
/// <summary>
... | mit | C# |
4df5d6ea5c49552836d9058fc616647ec120da53 | Disable es-US for now | MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure | src/GRA/Culture.cs | src/GRA/Culture.cs | using System.Globalization;
namespace GRA
{
public static class Culture
{
//public const string
public const string EnglishUS = "en-US";
public const string EspanolUS = "es-US";
public const string DefaultName = EnglishUS;
public static readonly CultureInfo DefaultCul... | using System.Globalization;
namespace GRA
{
public static class Culture
{
//public const string
public const string EnglishUS = "en-US";
public const string EspanolUS = "es-US";
public const string DefaultName = EnglishUS;
public static readonly CultureInfo DefaultCul... | mit | C# |
808456f9cd617094a8f49f05409ca818b6b1d74c | Update ConfigReader.cs | AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader | src/wp8/ConfigReader.cs | src/wp8/ConfigReader.cs | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | mit | C# |
e6f77f1726360e00cf9af387337f1e50516be07e | Fix testcase name | karolz-ms/diagnostics-eventflow | test/Microsoft.Diagnostics.EventFlow.Core.Tests/FilterParsing/HasNoPropertyEvaluatorTests.cs | test/Microsoft.Diagnostics.EventFlow.Core.Tests/FilterParsing/HasNoPropertyEvaluatorTests.cs | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using Microsoft.Diagnostics... | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using Microsoft.Diagnostics... | mit | C# |
231ac8a3484ea39a7a43f095f2b3059322bea875 | Fix IJSStreamReference API Param (#34847) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/JSInterop/Microsoft.JSInterop/src/Implementation/JSStreamReference.cs | src/JSInterop/Microsoft.JSInterop/src/Implementation/JSStreamReference.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.JSInterop.Implementation
{
/// <summary>
/// Implements functionalit... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.JSInterop.Implementation
{
/// <summary>
/// Implements functionalit... | apache-2.0 | C# |
b69ece3d72ffed1ad88c6fec45d0b9d7dbf6da9a | Remove leftover xmldoc from old API. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.PE/Win32Resources/SerializedResourceData.cs | src/AsmResolver.PE/Win32Resources/SerializedResourceData.cs | // AsmResolver - Executable file format inspection library
// Copyright (C) 2016-2019 Washi
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the License, o... | // AsmResolver - Executable file format inspection library
// Copyright (C) 2016-2019 Washi
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the License, o... | mit | C# |
7f024dceb9344236fcbccf5c9c30dbafe944de56 | Optimize method TextWriterAnnouncer.Heading; [+] Added a new constructor TextWriterAnnouncer with action parameter for more flexibility in the established runners; | fluentmigrator/fluentmigrator,MetSystem/fluentmigrator,ManfredLange/fluentmigrator,lahma/fluentmigrator,lahma/fluentmigrator,KaraokeStu/fluentmigrator,daniellee/fluentmigrator,istaheev/fluentmigrator,mstancombe/fluentmig,wolfascu/fluentmigrator,dealproc/fluentmigrator,modulexcite/fluentmigrator,istaheev/fluentmigrator,... | src/FluentMigrator.Runner/Announcers/TextWriterAnnouncer.cs | src/FluentMigrator.Runner/Announcers/TextWriterAnnouncer.cs | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | apache-2.0 | C# |
cb91786ea97f82299847556dc9149378ec882900 | Return the given RemindOn date | schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api | Schedules.API/Tasks/Sending/PostRemindersEmailSend.cs | Schedules.API/Tasks/Sending/PostRemindersEmailSend.cs | using Simpler;
using System;
using Schedules.API.Models;
using Schedules.API.Tasks.Reminders;
namespace Schedules.API.Tasks.Sending
{
public class PostRemindersEmailSend : InOutTask<PostRemindersEmailSend.Input, PostRemindersEmailSend.Output>
{
public class Input
{
public Send Send { get; set; }
... | using Simpler;
using System;
using Schedules.API.Models;
using Schedules.API.Tasks.Reminders;
namespace Schedules.API.Tasks.Sending
{
public class PostRemindersEmailSend : InOutTask<PostRemindersEmailSend.Input, PostRemindersEmailSend.Output>
{
public class Input
{
public Send Send { get; set; }
... | mit | C# |
c3f054c0967c9ae7bd4174dd05829d13f307fdad | remove unnecessary code. | diryboy/roslyn,physhi/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,reaction1989/roslyn,tmat/roslyn,VSadov/roslyn,VSadov/roslyn,jmarolf/roslyn,brettfo/roslyn,reaction1989/roslyn,agocke/roslyn,heejaechang/roslyn,gafter/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,dpoeschl/roslyn,ErikSchierboom/roslyn,mgoertz-msft/ros... | src/EditorFeatures/Core/Shared/Utilities/ProgressTrackerAdapter.cs | src/EditorFeatures/Core/Shared/Utilities/ProgressTrackerAdapter.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.Threading;
using Microsoft.CodeAnalysis.Shared.Utilities;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.CodeAnalysi... | // 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.Threading;
using Microsoft.CodeAnalysis.Shared.Utilities;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.CodeAnalysi... | mit | C# |
49fd4ced6369a5631b167a4014a23b924e2197af | Update ApiConventionNameMatchBehavior.cs (#17829) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchBehavior.cs | src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchBehavior.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.
namespace Microsoft.AspNetCore.Mvc.ApiExplorer
{
/// <summary>
/// The behavior for matching the name of a convention parameter or method.
... | // 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.
namespace Microsoft.AspNetCore.Mvc.ApiExplorer
{
/// <summary>
/// The behavior for matching the name of a convention parameter or method.
... | apache-2.0 | C# |
44ca6b3e1970c1ae31fffe0b96ab9736cb2c9610 | Fix DocumentFormattingParams request type | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/Formatting.cs | src/PowerShellEditorServices.Protocol/LanguageServer/Formatting.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Docu... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Docu... | mit | C# |
de573a5816252f89e2e766de81033102cb57799b | Fix FindsVersionInDynamicRepo test | asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,GitTools/GitVersion | src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/TaggedCommitVersionStrategy.cs | src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/TaggedCommitVersionStrategy.cs | using GitVersion.Common;
using GitVersion.Model.Configuration;
namespace GitVersion.VersionCalculation;
/// <summary>
/// Version is extracted from all tags on the branch which are valid, and not newer than the current commit.
/// BaseVersionSource is the tag's commit.
/// Increments if the tag is not the current com... | using GitVersion.Common;
using GitVersion.Model.Configuration;
namespace GitVersion.VersionCalculation;
/// <summary>
/// Version is extracted from all tags on the branch which are valid, and not newer than the current commit.
/// BaseVersionSource is the tag's commit.
/// Increments if the tag is not the current com... | mit | C# |
94d966ea2bd949a0b6f5b4a04237858052bf125e | Fix compile error in TestComponent.cs | Algorithman/klawr,enlight/klawr,enlight/klawr,Algorithman/klawr,enlight/klawr,Algorithman/klawr | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestComponent.cs | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestComponent.cs | using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed;
using Klawr.ClrHost.Managed.SafeHandles;
namespace Klawr.UnrealEngine
{
public class TestComponent : UKlawrScriptComponent
{
public TestComponent(long instanceID, UObjectHandle nativeComponent)
: base(instanceID, nativeComponent)... | using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed;
using Klawr.ClrHost.Managed.SafeHandles;
namespace Klawr.UnrealEngine
{
public class TestComponent : UKlawrScriptComponent
{
public TestComponent(long instanceID, UObjectHandle nativeComponent)
: base(instanceID, nativeComponent)... | mit | C# |
9fb7f3de90575e30f9139bdaa2fe4b43757676c2 | Fix auto sizing of NumericUpDown Gtk2: NumericUpDown now has a default width of 120 | PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Gtk/Forms/Controls/NumericUpDownHandler.cs | Source/Eto.Gtk/Forms/Controls/NumericUpDownHandler.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.GtkSharp.Forms.Controls
{
public class NumericUpDownHandler : GtkControl<Gtk.SpinButton, NumericUpDown, NumericUpDown.ICallback>, NumericUpDown.IHandler
{
class EtoSpinButton : Gtk.SpinButton
{
public EtoSpinButton()
: base(double.MinValue, d... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.GtkSharp.Forms.Controls
{
public class NumericUpDownHandler : GtkControl<Gtk.SpinButton, NumericUpDown, NumericUpDown.ICallback>, NumericUpDown.IHandler
{
public NumericUpDownHandler()
{
Control = new Gtk.SpinButton(double.MinValue, double.MaxVal... | bsd-3-clause | C# |
09a4aad17f47093a3dcf9a97cfffbe077e167ab0 | Fix warning for template query usage in tests | CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net | src/Tests/QueryDsl/Specialized/Template/TemplateQueryUsageTests.cs | src/Tests/QueryDsl/Specialized/Template/TemplateQueryUsageTests.cs | using System.Collections.Generic;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
namespace Tests.QueryDsl.Specialized.Template
{
public class TemplateUsageTests : QueryDslUsageTestsBase
{
public TemplateUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
priv... | using System.Collections.Generic;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
namespace Tests.QueryDsl.Specialized.Template
{
public class TemplateUsageTests : QueryDslUsageTestsBase
{
public TemplateUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
priv... | apache-2.0 | C# |
e0676f5aba3aee85616cdca3226595dc4c3d94c9 | fix #161 | micdenny/radical,RadicalFx/radical | src/net40/Radical.Windows.Presentation/Regions/SwitchingElementsRegion.cs | src/net40/Radical.Windows.Presentation/Regions/SwitchingElementsRegion.cs | using System;
using System.Windows;
using Topics.Radical.Windows.Presentation.ComponentModel;
namespace Topics.Radical.Windows.Presentation.Regions
{
/// <summary>
/// A base abstract implementation for the <see cref="ISwitchingElementsRegion"/>.
/// </summary>
/// <typeparam name="T"></typeparam>
public abstrac... | using System;
using System.Windows;
using Topics.Radical.Windows.Presentation.ComponentModel;
namespace Topics.Radical.Windows.Presentation.Regions
{
/// <summary>
/// A base abstract implementation for the <see cref="ISwitchingElementsRegion"/>.
/// </summary>
/// <typeparam name="T"></typeparam>
public abstrac... | mit | C# |
7b63937bbd8b8663a1a71ffc94aa8e8a4752fcdc | Disable build warning regarding unused private variable; this exists on purpose to test serialization behaviour on private fields | rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla | Source/Csla.Generators/cs/Csla.Generators.CSharp.TestObjects/PersonPOCO.cs | Source/Csla.Generators/cs/Csla.Generators.CSharp.TestObjects/PersonPOCO.cs | //-----------------------------------------------------------------------
// <copyright file="PersonPOCO.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Complex class that can be used for testing serialization behaviour</... | //-----------------------------------------------------------------------
// <copyright file="PersonPOCO.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Complex class that can be used for testing serialization behaviour</... | mit | C# |
acfa4d478fa7ad5015fed8d6ff473e100c8f1f23 | Store ContentId against the LinkedResource | smolyakoff/essential-templating,smolyakoff/essential-templating,petedavis/essential-templating | src/Essential.Templating.Razor.Email/Helpers/ResourceTemplateHelperExtensions.cs | src/Essential.Templating.Razor.Email/Helpers/ResourceTemplateHelperExtensions.cs | using System;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Net.Mail;
using System.Net.Mime;
using RazorEngine.Text;
namespace Essential.Templating.Razor.Email.Helpers
{
public static class ResourceTemplateHelperExtensions
{
public static IEncodedString Link(this Resourc... | using System;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Net.Mail;
using System.Net.Mime;
using RazorEngine.Text;
namespace Essential.Templating.Razor.Email.Helpers
{
public static class ResourceTemplateHelperExtensions
{
public static IEncodedString Link(this Resourc... | mit | C# |
5ff40be5a5a78f1faf29e98c35331993c933bb78 | Fix artifacts publishing | olsh/todoist-net | build.cake | build.cake | #tool "nuget:?package=OpenCover"
#addin "Cake.Incubator"
var target = Argument("target", "Default");
var extensionsVersion = Argument("version", "1.1.5");
var buildConfiguration = "Release";
var projectName = "Todoist.Net";
var testProjectName = "Todoist.Net.Tests";
var projectFolder = string.Format("./src/{0}/", pr... | #tool "nuget:?package=OpenCover"
#addin "Cake.Incubator"
var target = Argument("target", "Default");
var extensionsVersion = Argument("version", "1.1.4");
var buildConfiguration = "Release";
var projectName = "Todoist.Net";
var testProjectName = "Todoist.Net.Tests";
var projectFolder = string.Format("./src/{0}/", pr... | mit | C# |
0b3a47f55214a4fc7611d31f025a570bb4d835e8 | Update assembly info | masahikomori/timeSignal | timeSignal/Properties/AssemblyInfo.cs | timeSignal/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("timeSignal")]
[assembly: AssemblyDescription("Time signal notification")]
[assembly: AssemblyConfigura... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("timeSignal")]
[assembly: AssemblyDescription("Time signal notification")]
[assembly: AssemblyConfigura... | mit | C# |
88ab8c719b7c29883bd2321e53f14b8be9180a3f | Add NFW to help track down issue. | mavasani/roslyn,yeaicc/roslyn,orthoxerox/roslyn,ErikSchierboom/roslyn,bkoelman/roslyn,mattscheffer/roslyn,jmarolf/roslyn,amcasey/roslyn,khyperia/roslyn,paulvanbrenk/roslyn,sharwell/roslyn,jeffanders/roslyn,VSadov/roslyn,tmat/roslyn,jmarolf/roslyn,gafter/roslyn,jeffanders/roslyn,bartdesmet/roslyn,heejaechang/roslyn,bkoe... | src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs | src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.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.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Text;
using Mic... | // 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.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.OL... | mit | C# |
9b19050fafde5ebe051f7b2daa478805644552e1 | Update with slider body changes | peppy/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,smoogipoo/osu,naoey/osu,naoey/osu,UselessToucan/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,DrabWeb/osu,naoey/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,... | osu.Game.Rulesets.Osu/Edit/Masks/SliderMasks/Components/SliderBodyPiece.cs | osu.Game.Rulesets.Osu/Edit/Masks/SliderMasks/Components/SliderBodyPiece.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Object... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Object... | mit | C# |
3df96240588a37fb4bee3412655be622944f1959 | Add note about long retry delay | rasmus/EventFlow | Source/EventFlow.MsSql/MsSqlConfiguration.cs | Source/EventFlow.MsSql/MsSqlConfiguration.cs | // The MIT License (MIT)
//
// Copyright (c) 2015-2017 Rasmus Mikkelsen
// Copyright (c) 2015-2017 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | // The MIT License (MIT)
//
// Copyright (c) 2015-2017 Rasmus Mikkelsen
// Copyright (c) 2015-2017 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | mit | C# |
5ca53008874b0cc6c0784143acd1daf2528f26fc | load animation at control loading | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Controls/DungeonInfoControl.xaml.cs | TCC.Core/Controls/DungeonInfoControl.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animatio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animatio... | mit | C# |
9e333292515610a718c7a05529c9a3835eec2012 | Fix failing test on machine using en-GB (#41534) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Security/samples/CustomPolicyProvider/Controllers/AccountController.cs | src/Security/samples/CustomPolicyProvider/Controllers/AccountController.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Globalization;
using System.Security.Claims;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
namespace CustomPolicyProvider.Controllers;
pu... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc... | apache-2.0 | C# |
f8e340b51a30c906f496363e898ef8c6d16116a9 | Fix for issue #34 where a flag was missing from project context | modesttree/Zenject,modesttree/Zenject,modesttree/Zenject | UnityProject/Assets/Plugins/Zenject/Source/Editor/Editors/ProjectContextEditor.cs | UnityProject/Assets/Plugins/Zenject/Source/Editor/Editors/ProjectContextEditor.cs | #if !ODIN_INSPECTOR
using UnityEditor;
namespace Zenject
{
[CustomEditor(typeof(ProjectContext))]
[NoReflectionBaking]
public class ProjectContextEditor : ContextEditor
{
SerializedProperty _settingsProperty;
SerializedProperty _editorReflectionBakingCoverageModeProperty;
Seria... | #if !ODIN_INSPECTOR
using UnityEditor;
namespace Zenject
{
[CustomEditor(typeof(ProjectContext))]
[NoReflectionBaking]
public class ProjectContextEditor : ContextEditor
{
SerializedProperty _settingsProperty;
SerializedProperty _editorReflectionBakingCoverageModeProperty;
Seria... | mit | C# |
6ae581f2ea3677bd241c24c40bbc753014c3ec70 | Exclude _full_text_ from default IndexSchema | cris-almodovar/expando-db,cris-almodovar/expando-db,cris-almodovar/postit-db,cris-almodovar/postit-db,cris-almodovar/postit-db,cris-almodovar/expando-db | ExpandoDB/Search/IndexSchema.cs | ExpandoDB/Search/IndexSchema.cs | using ExpandoDB.Search;
using System;
using System.Collections.Concurrent;
using System.Diagnostics.Contracts;
namespace ExpandoDB
{
/// <summary>
/// Represents the set of indexed fields for a ContentCollection.
/// </summary>
public class IndexSchema
{
public string Name { get; set; }
... | using ExpandoDB.Search;
using System;
using System.Collections.Concurrent;
using System.Diagnostics.Contracts;
namespace ExpandoDB
{
/// <summary>
/// Represents the set of indexed fields for a ContentCollection.
/// </summary>
public class IndexSchema
{
public string Name { get; set; }
... | apache-2.0 | C# |
4dd238ceed9d77a7d31d111c0ff237271f81634d | Insert for palindrome - DP | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | GeeksForGeeks/min_insertions.cs | GeeksForGeeks/min_insertions.cs | // http://www.geeksforgeeks.org/dynamic-programming-set-28-minimum-insertions-to-form-a-palindrome/
//
// Given a string, find the minimum number of characters to be inserted to convert it to palindrome.
using System;
static class Program
{
static int Palind(this String s)
{
if (String.IsNullOrEmpty... | // http://www.geeksforgeeks.org/dynamic-programming-set-28-minimum-insertions-to-form-a-palindrome/
//
// Given a string, find the minimum number of characters to be inserted to convert it to palindrome.
using System;
static class Program
{
static int Palind(this String s)
{
if (String.IsNullOrEmpty... | mit | C# |
a62bb9bf4ff44149c3e2d780e7ee7e6fb6e256d4 | Build and publish nuget package | bfriesen/Rock.StaticDependencyInjection,RockFramework/Rock.StaticDependencyInjection | src/Properties/AssemblyInfo.cs | src/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("Ro... | 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("Ro... | mit | C# |
1236ecc481c1170cd04164f7dddc9b5576067211 | Fix inverted conditional | peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.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.Input;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Tests.Visual.Testing
{
public ... | // 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.Input;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Tests.Visual.Testing
{
public ... | mit | C# |
fefc6112f3454b623bef093825619db28170403c | Update RuleUpdater.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/RuleUpdater.cs | ProcessBlockUtil/RuleUpdater.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 ... | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 ... | apache-2.0 | C# |
2bd0b91e16e0e7e02d41cc0494f6e8cc669f8a6c | Add reply mode and a shortcut for getting admins | mattgwagner/alert-roster | AlertRoster.Web/Models/Group.cs | AlertRoster.Web/Models/Group.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AlertRoster.Web.Models
{
public class Group
{
[Key]
public int Id { get; private set; }
[Required, StringLength(25)]
public String DisplayName { get; set; ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AlertRoster.Web.Models
{
public class Group
{
[Key]
public int Id { get; private set; }
[Required, StringLength(25)]
public String DisplayName { get; set; }
[StringL... | mit | C# |
2f722097f5d5d8e900854fec50e391f5a051ad20 | Use binary settings storage | Mpstark/articulate,BrunoBrux/ArticulateDVS | Articulate/Settings/Settings.cs | Articulate/Settings/Settings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Diagnostics;
using System.Threading;
using System.Runtime.Serialization.Formatters.Binary;
namespace Articulate
{
public enum ListenMode
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Diagnostics;
using System.Threading;
namespace Articulate
{
public enum ListenMode
{
Continuous = 0,
PushToTalk = 1,
PushToArm = 2,... | mit | C# |
e5a70afded82050012e6349b9d204ff5b5d5d9c3 | fix difference between input and expected output | maca88/AsyncGenerator | Source/AsyncGenerator.Tests/ExceptionHandling/Input/DoNotPropagateOperationCanceledException.cs | Source/AsyncGenerator.Tests/ExceptionHandling/Input/DoNotPropagateOperationCanceledException.cs | using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using AsyncGenerator.TestCases;
namespace AsyncGenerator.Tests.ExceptionHandling.Input
{
public class DoNotPropagateOperationCanceledException
{
public void MethodThatCatchesTargetInvocationException()
... | using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using AsyncGenerator.TestCases;
namespace AsyncGenerator.Tests.ExceptionHandling.Input
{
public class DoNotPropagateOperationCanceledException
{
public void MethodThatCatchesTargetInvocationException()
... | mit | C# |
36600524b285d7d128d8e2ed4e4f5246f32202c2 | Revert code. | abock/roslyn,reaction1989/roslyn,mmitche/roslyn,DustinCampbell/roslyn,agocke/roslyn,DustinCampbell/roslyn,AmadeusW/roslyn,genlu/roslyn,tannergooding/roslyn,mattscheffer/roslyn,CyrusNajmabadi/roslyn,davkean/roslyn,jcouv/roslyn,DustinCampbell/roslyn,abock/roslyn,AlekseyTs/roslyn,tmat/roslyn,eriawan/roslyn,orthoxerox/rosl... | src/Features/Core/Portable/Completion/Providers/AbstractCrefCompletionProvider.cs | src/Features/Core/Portable/Completion/Providers/AbstractCrefCompletionProvider.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.Options;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
namespace 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.Options;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAnal... | mit | C# |
5b8203f7f68e2d37f20c4162b8b2aec0e00386a7 | tweak Swagger info | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Api/DependencyInjection/Extensions/ConfigureServicesCollection.cs | src/FilterLists.Api/DependencyInjection/Extensions/ConfigureServicesCollection.cs | using System.IO;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using Swashbuckle.AspNetCore.Swagger;
namespace FilterLists.Api.DependencyInjection.Extensions
{
public static class ConfigureServices... | using System.IO;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using Swashbuckle.AspNetCore.Swagger;
namespace FilterLists.Api.DependencyInjection.Extensions
{
public static class ConfigureServices... | mit | C# |
ca76af95c584797ede0930034c6892a6c252174d | Add back argument check for TypeForwardedFromAttribute (#16680) | ruben-ayrapetyan/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,mmitche/coreclr,mmitche/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,mmitche/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,m... | src/mscorlib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs | src/mscorlib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.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.
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | A... | // 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.
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | A... | mit | C# |
160a8a04e74fd7ba6ba221eed8665e81aef3fd51 | Remove unnecessary external methods | OpenCGSS/DereTore,hozuki/DereTore,hozuki/DereTore,OpenCGSS/DereTore,hozuki/DereTore,OpenCGSS/DereTore | Interop/DereTore.Interop.OS/NativeMethods.cs | Interop/DereTore.Interop.OS/NativeMethods.cs | using System.Runtime.InteropServices;
namespace DereTore.Interop.OS {
public static class NativeMethods {
[DllImport("winmm.dll")]
public static extern uint timeBeginPeriod(uint uMilliseconds);
[DllImport("winmm.dll")]
public static extern uint timeEndPeriod(uint uMilliseconds);
... | using System;
using System.Runtime.InteropServices;
namespace DereTore.Interop.OS {
public static class NativeMethods {
public const string DWMAPI_LIB = "dwmapi.dll";
public const string DwmGetColorizationParameters_FUNC = "#127";
public const int DwmGetColorizationParameters_ORD = 127;
... | mit | C# |
42803e0b7ab927f1aad67c6e4e126be486c5ec54 | Remove parent param from obsoletes (#3848) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/CodeGeneration/ApiGenerator/Configuration/Overrides/GlobalOverrides.cs | src/CodeGeneration/ApiGenerator/Configuration/Overrides/GlobalOverrides.cs | using System.Collections.Generic;
namespace ApiGenerator.Configuration.Overrides
{
public class GlobalOverrides : EndpointOverridesBase
{
public IDictionary<string, Dictionary<string, string>> ObsoleteEnumMembers { get; set; } = new Dictionary<string, Dictionary<string, string>>
{
{
"NodesStatsIndexMetric... | using System.Collections.Generic;
namespace ApiGenerator.Configuration.Overrides
{
public class GlobalOverrides : EndpointOverridesBase
{
public IDictionary<string, Dictionary<string, string>> ObsoleteEnumMembers { get; set; } = new Dictionary<string, Dictionary<string, string>>
{
{
"NodesStatsIndexMetric... | apache-2.0 | C# |
24f4acf40d96e2dfd7193ed68e5077466f628e36 | Fix typos | macro187/produce | produce/Modules/NuGetModule.cs | produce/Modules/NuGetModule.cs | using System.Linq;
using MacroDiagnostics;
using MacroExceptions;
using MacroGuards;
namespace
produce
{
public class
NuGetModule : Module
{
public override void
Attach(ProduceRepository repository, Graph graph)
{
Guard.NotNull(repository, nameof(repository));
Guard.NotNull(graph, nam... | using System.Linq;
using MacroDiagnostics;
using MacroExceptions;
using MacroGuards;
namespace
produce
{
public class
NuGetModule : Module
{
public override void
Attach(ProduceRepository repository, Graph graph)
{
Guard.NotNull(repository, nameof(repository));
Guard.NotNull(graph, nam... | mit | C# |
15eb51623c368873d0be4a91afc7b7d725e9f305 | 添加20131029更新的高级接口:语音识别 | JeffreySu/WxOpen,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WxOpen,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMP... | Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/RequestMessageVoice.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/RequestMessageVoice.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.MP.Entities
{
public class RequestMessageVoice : RequestMessageBase,IRequestMessageBase
{
public override RequestMsgType MsgType
{
get { return RequestMsgType.V... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.MP.Entities
{
public class RequestMessageVoice : RequestMessageBase,IRequestMessageBase
{
public override RequestMsgType MsgType
{
get { return RequestMsgType.Voice; }
... | apache-2.0 | C# |
217199ad54d8a8000e0fecfdfb59f921be610d8f | remove redundant `this` qualifier. | alastairs/BobTheBuilder,fffej/BobTheBuilder | BobTheBuilder/Builder.cs | BobTheBuilder/Builder.cs | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public class DynamicBuilder : DynamicObject
{
private readonly Type _destinationType;
private object property;
internal DynamicBuilder(Type destinationType)
{
if (destinationType == null)
{
... | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public class DynamicBuilder : DynamicObject
{
private readonly Type _destinationType;
private object property;
internal DynamicBuilder(Type destinationType)
{
if (destinationType == null)
{
... | apache-2.0 | C# |
a4a850a1bfa70243e90a8beea4723020a666b40a | remove whitespace | IUMDPI/IUMediaHelperApps | Packager/Models/FileModels/ExcelFileModel.cs | Packager/Models/FileModels/ExcelFileModel.cs | using System.Linq;
namespace Packager.Models.FileModels
{
public class ExcelFileModel:AbstractFileModel
{
public ExcelFileModel()
{
}
public ExcelFileModel(string path) : base(path)
{
}
public override string ToFileName()
{
var part... | using System.Linq;
namespace Packager.Models.FileModels
{
public class ExcelFileModel:AbstractFileModel
{
public ExcelFileModel()
{
}
public ExcelFileModel(string path) : base(path)
{
}
public override string ToFileName()
{
var part... | apache-2.0 | C# |
65592d4ca5becb3e69479be6c4b0711d5ba6d819 | Add link to source | jeremycook/PickupMailViewer,jeremycook/PickupMailViewer | PickupMailViewer/Views/Shared/_Layout.cshtml | PickupMailViewer/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/themes/base/css")
@Scripts.Render("~/bundles/modernizr")
<meta name="descript... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/themes/base/css")
@Scripts.Render("~/bundles/modernizr")
<meta name="descript... | mit | C# |
0c30c80b826d85e13158c70cffe7b837b23d2feb | Fix for native extension method name (not Android!) | martijn00/MvvmCross-Plugins,MatthewSannes/MvvmCross-Plugins,Didux/MvvmCross-Plugins,lothrop/MvvmCross-Plugins | Cirrious/Color/Cirrious.MvvmCross.Plugins.Color.Touch/MvxColorExtensions.cs | Cirrious/Color/Cirrious.MvvmCross.Plugins.Color.Touch/MvxColorExtensions.cs | // MvxColorExtensions.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using Cirrious.CrossCore.UI;
using MonoTouch.UI... | // MvxColorExtensions.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using Cirrious.CrossCore.UI;
using MonoTouch.UI... | mit | C# |
385b51ffe5aed0a634cddd812ade5281901efa8a | remove test code | ballance/Ballance.CryptoCurrency | CryptoConsole/Program.cs | CryptoConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CryptoConsole
{
class Program
{
static void Main(string[] args)
{
var bitThing = new Ballance.Crypto.Bitcoin();
... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CryptoConsole
{
class Program
{
static void Main(string[] args)
{
var bitThing = new Ballance.Crypto.Bitcoin();
... | mit | C# |
625d2696844fdd3838a1528f70e6c0e2268088c1 | Update user info on opportunity. | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/OpportunityDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/OpportunityDto.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
[DataContract]
public class OpportunityDto
{
[DataMember]
public Guid OpportunityGuid {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
[DataContract]
public class OpportunityDto
{
[DataMember]
public Guid OpportunityGuid {... | mit | C# |
d32c698e03e3321ae9bd18d8e71b9cd0fe2f2f38 | Make Named Parameter PerMapConfigGeneratorSet public | yunseong/incubator-reef,dkm2110/Microsoft-cisl,swlsw/incubator-reef,motus/reef,zerg-junior/incubator-reef,zerg-junior/incubator-reef,anupam128/reef,dougmsft/reef,DifferentSC/incubator-reef,tcNickolas/incubator-reef,tcNickolas/reef,dongjoon-hyun/incubator-reef,shulmanb/reef,dkm2110/veyor,markusweimer/incubator-reef,dafr... | lang/cs/Org.Apache.REEF.IMRU/API/PerMapConfigGeneratorSet.cs | lang/cs/Org.Apache.REEF.IMRU/API/PerMapConfigGeneratorSet.cs | #region LICENSE
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "... | #region LICENSE
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "... | apache-2.0 | C# |
072b2931264ea73af9ee56dc97189d132a9c9c5e | Fix Build | dk307/HSPI_RemoteHelper | Devices/FeedbackValue.cs | Devices/FeedbackValue.cs | using NullGuard;
namespace Hspi.Devices
{
[NullGuard(ValidationFlags.Arguments | ValidationFlags.NonPublic)]
internal class FeedbackValue
{
public FeedbackValue(DeviceFeedback feedback, object value)
{
Value = value;
Feedback = feedback;
}
public De... | using NullGuard;
namespace Hspi.Devices
{
[NullGuard(ValidationFlags.Arguments | ValidationFlags.NonPublic)]
internal struct FeedbackValue
{
public FeedbackValue(DeviceFeedback feedback, object value)
{
Value = value;
Feedback = feedback;
}
public D... | mit | C# |
ab1a0575c7e92f94e15cbdf5c35aa41f5d5f70ae | Add IDocumentsManager interface | LightPaper/Infrastructure | Contracts/DocumentInterfaces.cs | Contracts/DocumentInterfaces.cs | #region Using
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Threading.Tasks;
#endregion
namespace LightPaper.Infrastructure.Contracts
{
public interface IDocumentUpdateListener
{
bool Listen(IDocument document, string s... | #region usings
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
#endregion
namespace LightPaper.Infrastructure.Contracts
{
public interface IDocumentUpdateListener
{
bool Listen(IDocument document, string sourceText = null);
}
publi... | mit | C# |
28f37c6d5ad1306e35b1f0048df7e565e1dd713c | Add unit tests around the DlxLib events | taylorjg/DlxLib | DlxLibTests/DlxLibEventTests.cs | DlxLibTests/DlxLibEventTests.cs | using DlxLib;
using NUnit.Framework;
namespace DlxLibTests
{
[TestFixture]
internal class DlxLibEventTests
{
[Test]
public void StartedEventFires()
{
var matrix = new bool[0, 0];
var dlx = new Dlx();
var startedEventHasBeenRaised = false;
... | using NUnit.Framework;
namespace DlxLibTests
{
[TestFixture]
internal class DlxLibEventTests
{
[Test]
public void StartedEventFires()
{
}
[Test]
public void FinishedEventFires()
{
}
[Test]
public void CancelledEventFires()
... | mit | C# |
0293f284a924566279200a35af98ad98518eb81c | Add CanPerformInPlayAction to IPersistentCard | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Generic/Interfaces/IPersistentCard.cs | Assets/Scripts/HarryPotterUnity/Cards/Generic/Interfaces/IPersistentCard.cs | namespace HarryPotterUnity.Cards.Generic.Interfaces
{
public interface IPersistentCard {
void OnInPlayBeforeTurnAction();
void OnInPlayAfterTurnAction();
bool CanPerformInPlayAction();
void OnSelectedAction();
void OnEnterInPlayAction();
void OnExitInPlayAction()... | namespace HarryPotterUnity.Cards.Generic.Interfaces
{
public interface IPersistentCard {
void OnInPlayBeforeTurnAction();
void OnInPlayAfterTurnAction();
void OnSelectedAction(); //Might not need this
void OnEnterInPlayAction();
void OnExitInPlayAction();
}
}
| mit | C# |
34acc18ae420cc1839a778b27f76c8c6558cf642 | Change Assembly version | RaynaldM/asp.net-mvc-helpers | aspnet-mvc-helpers/Properties/AssemblyInfo.cs | aspnet-mvc-helpers/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | mit | C# |
3a4da6b86795c22cabe94028a75f99875574d3a4 | use same code style | peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Localisation/NamedOverlayComponentStrings.cs | osu.Game/Localisation/NamedOverlayComponentStrings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Localisation
{
public static class NamedOverlayComponentStrings
{... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Localisation
{
public static class NamedOverlayComponentStrings
{... | mit | C# |
ecc2adc1ad450136cf8432f8a4f2ba3af13a522d | update for 0.7 of nuget package publish. | activescott/libmspack4n,activescott/libmspack4n,activescott/libmspack4n,activescott/libmspack4n,activescott/libmspack4n | libmspack4n/Properties/AssemblyInfo.cs | libmspack4n/Properties/AssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | lgpl-2.1 | C# |
5cd66fc02c125632878eaaab9113edaca963f90e | Change match syntax | DnDGen/RollGen,Lirusaito/RollGen,DnDGen/RollGen,Lirusaito/RollGen | Domain/RandomDice.cs | Domain/RandomDice.cs | using Albatross.Expression;
using System;
namespace RollGen.Domain
{
public class RandomDice : Dice
{
private readonly Random random;
public RandomDice(Random random)
{
this.random = random;
}
public override PartialRoll Roll(int quantity = 1)
{
... | using Albatross.Expression;
using System;
namespace RollGen.Domain
{
public class RandomDice : Dice
{
private readonly Random random;
public RandomDice(Random random)
{
this.random = random;
}
public override PartialRoll Roll(int quantity = 1)
{
... | mit | C# |
548f3afbc48a99c89f6422eaeaf57685159453dd | fix netcore type resolution | Fody/Janitor | Janitor.Fody/ReferenceFinder.cs | Janitor.Fody/ReferenceFinder.cs | using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
public partial class ModuleWeaver
{
public void FindCoreReferences()
{
var types = new List<TypeDefinition>();
AddAssemblyIfExists("mscorlib", types);
AddAssemblyIfExists("System.Runtime", types);
AddAssembl... | using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
public partial class ModuleWeaver
{
public void FindCoreReferences()
{
var types = new List<TypeDefinition>();
AddAssemblyIfExists("mscorlib", types);
AddAssemblyIfExists("System.Runtime", types);
AddAssembl... | mit | C# |
1164283bd2e36b9ca8086aa1388c277ec0ba5bb5 | Fix unit test | quartz-software/kephas,quartz-software/kephas | src/Tests/Kephas.Messaging.Tests/DefaultMessageHandlerRegistryTest.cs | src/Tests/Kephas.Messaging.Tests/DefaultMessageHandlerRegistryTest.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DefaultMessageHandlerRegistryTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DefaultMessageHandlerRegistryTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE ... | mit | C# |
4ccc2a0391c86618f784c2906a8cc07581a1dc35 | Add expected exception documentation | yonglehou/SDammann.WebApi.Versioning,lovewitty/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,lovewitty/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,lovewitty/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,yonglehou/SDammann.WebApi.Versio... | src/SDammann.WebApi.Versioning/Request/IRequestControllerIdentificationDetector.cs | src/SDammann.WebApi.Versioning/Request/IRequestControllerIdentificationDetector.cs | namespace SDammann.WebApi.Versioning.Request {
using System.Net.Http;
/// <summary>
/// Defines the interface for classes which detect controller name and version from requests
/// </summary>
public interface IRequestControllerIdentificationDetector
{
/// <summary>
/// Gets a n... | namespace SDammann.WebApi.Versioning.Request {
using System.Net.Http;
/// <summary>
/// Defines the interface for classes which detect controller name and version from requests
/// </summary>
public interface IRequestControllerIdentificationDetector
{
/// <summary>
/// Gets a n... | apache-2.0 | C# |
b1b6febbd65eca16c13eb053c7913d98f5045397 | Fix bitcoin bug | Aprogiena/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,fassadlr/Stratis... | src/Stratis.Bitcoin.Features.Consensus/Rules/CommonRules/CheckDifficultyPowRule.cs | src/Stratis.Bitcoin.Features.Consensus/Rules/CommonRules/CheckDifficultyPowRule.cs | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Consensus.Rules;
namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules
{
/// <summary>
/// Calculate the difficulty for a POW network and check that it is correct.
/// </summary>
[Header... | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Consensus.Rules;
namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules
{
/// <summary>
/// Calculate the difficulty for a POW network and check that it is correct.
/// </summary>
[Header... | mit | C# |
88e2c1a99f0c38bc4115869e1ad6f4304aa2f1d1 | Add docs | dotnet/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,brettfo/roslyn,sharwell/roslyn,physhi/roslyn,bartdesmet/roslyn,gafter/roslyn,genlu/roslyn,wvdd007/roslyn,stephentoub/roslyn,jmarolf/roslyn,gafter/roslyn,CyrusNajmabadi/roslyn,heejaechang/roslyn,heejaechang/roslyn,weltkante/roslyn,genlu/roslyn,eriawan/roslyn,genlu/ro... | src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.UnrootedSymbolSet.cs | src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.UnrootedSymbolSet.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis
{
internal partial cl... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis
{
internal partial cl... | mit | C# |
3f2e52542e2cc904c8e7a0602aa3cdad1c6fd95f | Fix - Cancellazione Chiamate In Corso al logout | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/Marker/DeleteChiamataInCorsoByIdUtente.cs | src/backend/SO115App.Persistence.MongoDB/Marker/DeleteChiamataInCorsoByIdUtente.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Marker;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti;
using SO115App.Models.Servizi.Infrastruttura.Marker;
namespace SO115App.Persistence.MongoDB.Marker
{
public class DeleteChiamataInCorsoByIdUtente : IDeleteChiamataInCo... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Marker;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti;
using SO115App.Models.Servizi.Infrastruttura.Marker;
namespace SO115App.Persistence.MongoDB.Marker
{
public class DeleteChiamataInCorsoByIdUtente : IDeleteChiamataInCo... | agpl-3.0 | C# |
0db0c9eabab5101d9f4433e4f954ea669dab10f4 | Update CompositeAssemblyStringLocalizerTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Localization/CompositeAssemblyStringLocalizerTests.cs | TIKSN.UnitTests.Shared/Localization/CompositeAssemblyStringLocalizerTests.cs | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using Serilog;
using TIKSN.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Localization.Tests
{
public cl... | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using TIKSN.DependencyInjection.Tests;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Localization.Tests
{
public class Compo... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.