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 |
|---|---|---|---|---|---|---|---|---|
596f9f77e063f47285b819fa887c1691f1bdefb2 | update survey view | lderache/LeTruck,lderache/LeTruck,lderache/LeTruck | src/mvc5/TheTruck.Web/Views/Surveys/Create.cshtml | src/mvc5/TheTruck.Web/Views/Surveys/Create.cshtml | @model TheTruck.Entities.Survey
@{
ViewBag.Title = "Create";
}
<h3>You are almost done !</h3>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Please provide us the following information to provide the best service to you. This is needed only for your ... | @model TheTruck.Entities.Survey
@{
ViewBag.Title = "Create";
}
<h3>You are almost done !</h3>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Please provide us the following informations to provide the best service to you. This is needed only for your... | mit | C# |
84b844c77a68418b0bc7a2854af48007a3f3c4f7 | Bump version to 0.1.2.1 | Lochnair/MCServer-World-Converter | MCServer-World-Converter/Properties/AssemblyInfo.cs | MCServer-World-Converter/Properties/AssemblyInfo.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Nils Andreas Svee
*
* 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
* t... | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Nils Andreas Svee
*
* 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
* t... | mit | C# |
6a21c9ecc3336ef9d216d1096e459993832857dc | Fix route link | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Units/List.cshtml | Battery-Commander.Web/Views/Units/List.cshtml | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<t... | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<t... | mit | C# |
488f818fabe59fc923b57e047694840ad025c3c1 | Switch remaining test back to NUnit | Redth/Cake.Xamarin.Build | Cake.Xamarin.Build.Tests/DownloadFileTests.cs | Cake.Xamarin.Build.Tests/DownloadFileTests.cs | using System;
using Cake.Core.IO;
using Cake.Xamarin.Build;
using NUnit.Framework;
namespace Cake.Xamarin.Build.Tests.Fakes
{
public class DownloadFileTests : TestFixtureBase
{
[Test]
public void Download_FacebookSDK ()
{
var url = "https://origincache.facebook.com/developers/res... | using Xunit;
using System;
using Cake.Core.IO;
using Cake.Xamarin.Build;
namespace Cake.Xamarin.Build.Tests.Fakes
{
public class DownloadFileTests : TestFixtureBase
{
[Fact]
public void Download_FacebookSDK ()
{
var url = "https://origincache.facebook.com/developers/resources/?id... | mit | C# |
60b3720f6f1e8aaa9a8119f661737d573ceb03b7 | Add missing Xml comments to NodeWrapper. | ayoung/Nancy,MetSystem/Nancy,charleypeng/Nancy,jeff-pang/Nancy,hitesh97/Nancy,felipeleusin/Nancy,blairconrad/Nancy,EliotJones/NancyTest,tareq-s/Nancy,blairconrad/Nancy,damianh/Nancy,AIexandr/Nancy,asbjornu/Nancy,Novakov/Nancy,tareq-s/Nancy,asbjornu/Nancy,dbolkensteyn/Nancy,albertjan/Nancy,sloncho/Nancy,fly19890211/Nanc... | src/Nancy.Testing/NodeWrapper.cs | src/Nancy.Testing/NodeWrapper.cs | namespace Nancy.Testing
{
using CsQuery.Implementation;
/// <summary>
/// Simple wrapper around a <see cref="DomElement"/>.
/// </summary>
public class NodeWrapper
{
private readonly DomElement element;
/// <summary>
/// Initializes a new instance of the <se... | namespace Nancy.Testing
{
using CsQuery.Implementation;
/// <summary>
/// Simple wrapper around a <see cref="DomElement"/>.
/// </summary>
public class NodeWrapper
{
private readonly DomElement element;
/// <summary>
/// Initializes a new instance of the <se... | mit | C# |
e3981cad4ad2587e72e342c4854ad4fe349c33dc | Fix code to discount reward value over time | wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample | environment/Assets/Scripts/CrossMazeTask1.cs | environment/Assets/Scripts/CrossMazeTask1.cs | using UnityEngine;
public class CrossMazeTask1 : Task {
float rewardValue = 2.0F;
public override string Name() { return "Cross Maze Task 1"; }
public override void Initialize(int success, int failure) {
// 仕様「S地点は3ヶ所あり、ランダムにスタート地点が決定する」を実現する
int phase = (int)(Random.value * 3);
... | using UnityEngine;
public class CrossMazeTask1 : Task {
public override string Name() { return "Cross Maze Task 1"; }
public override void Initialize(int success, int failure) {
// 仕様「S地点は3ヶ所あり、ランダムにスタート地点が決定する」を実現する
int phase = (int)(Random.value * 3);
float x = 0.0f;
float y = 1.12f;
float z = 0.5f;
... | apache-2.0 | C# |
7c168a33b18fba9b263510eb469b067c44c76873 | Fix PlainTextFormat to emit an implicit paragraph around the content (required by WPF) | akrisiun/xwt,antmicro/xwt,hamekoz/xwt,iainx/xwt,steffenWi/xwt,sevoku/xwt,lytico/xwt,residuum/xwt,mminns/xwt,mminns/xwt,hwthomas/xwt,mono/xwt,TheBrainTech/xwt,cra0zy/xwt,directhex/xwt | Xwt/Xwt.Formats/PlainTextFormat.cs | Xwt/Xwt.Formats/PlainTextFormat.cs | using System;
using System.IO;
using Xwt.Backends;
namespace Xwt.Formats
{
public class PlainTextFormat : TextFormat
{
public override void Parse (Stream input, IRichTextBuffer buffer)
{
using (var reader = new StreamReader (input)) {
buffer.EmitStartParagraph (0);
buffer.EmitText (reader.ReadToEnd (... | using System;
using System.IO;
using Xwt.Backends;
namespace Xwt.Formats
{
public class PlainTextFormat : TextFormat
{
public override void Parse (Stream input, IRichTextBuffer buffer)
{
using (var reader = new StreamReader (input))
buffer.EmitText (reader.ReadToEnd (), RichTextInlineStyle.Normal);
}
... | mit | C# |
f5fc8cde4cc6e65d58e67f0c1a92a51577d5d53d | Update NetworkConnectivityServiceBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Network/NetworkConnectivityServiceBase.cs | TIKSN.Core/Network/NetworkConnectivityServiceBase.cs | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace TIKSN.Network
{
public abstract class NetworkConnectivityServiceBase : INetworkConnectivityService, IDisposable
{
private readonly Subject<InternetConnectivityState> manualChecks;
protected IObservable<InternetC... | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace TIKSN.Network
{
public abstract class NetworkConnectivityServiceBase : INetworkConnectivityService
{
private readonly Subject<InternetConnectivityState> manualChecks;
protected IObservable<InternetConnectivitySt... | mit | C# |
2c17dfdac2a08c275e117dc7853ece04d54142c9 | Disable NetworkPlayer extensions in WebGL | mminer/unity-extensions | NetworkPlayerExtensions.cs | NetworkPlayerExtensions.cs | #if !UNITY_WEBGL
using UnityEngine;
namespace Extensions
{
/// <summary>
/// Extension methods for UnityEngine.NetworkPlayer.
/// </summary>
public static class NetworkPlayerExtensions
{
/// <summary>
/// Gets the numeric index of the network player.
/// </summary>
... | using UnityEngine;
namespace Extensions
{
/// <summary>
/// Extension methods for UnityEngine.NetworkPlayer.
/// </summary>
public static class NetworkPlayerExtensions
{
/// <summary>
/// Gets the numeric index of the network player.
/// </summary>
/// <param name="n... | mit | C# |
339a1d4543643e00ee6967c1830be1dda73895f1 | Simplify firefox title with version selector. | rosolko/WebDriverManager.Net | WebDriverManager/DriverConfigs/Impl/FirefoxConfig.cs | WebDriverManager/DriverConfigs/Impl/FirefoxConfig.cs | using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class FirefoxConfig : IDriverConfig
{
public virtual string GetName()
{
... | using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class FirefoxConfig : IDriverConfig
{
public virtual string GetName()
{
... | mit | C# |
04b1fa58ec77ace5a861d1d4f8591ba1789f710e | Update AssemblyInfo.cs | bjolfr/JuggleFest | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("Juggle")]
[assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("Yodle")]
[assembly... | mit | C# |
64be04805d436b22753a7498a2a5b0ecadc762f8 | Prepare 1.8.12 release | dasgarner/xibo-dotnetclient,xibosignage/xibo-dotnetclient | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | agpl-3.0 | C# |
b0ec7aa8dca5a9d43080aa7eee2f9ac3f1b698f3 | change version to 0.8.0 | McSherry/Zener | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | bsd-3-clause | C# |
e95af48f0bf2ba55f42207ac3d955925e6148b94 | Update version | kichristensen/InfluxDB.WriteOnly | InfluxDB.WriteOnly/Properties/AssemblyInfo.cs | InfluxDB.WriteOnly/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("InfluxDB.WriteOnly")]
[assembly: Assembly... | 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("InfluxDB.WriteOnly")]
[assembly: Assembly... | mit | C# |
0eec6f79d91661f6ae785d68f9e4ef1461567e76 | Bump version to 0.3.6 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
dafb4d38f04c9849a6a1d409361871bffda7d3b7 | Fix documentation typo (#9740) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Http/Http.Abstractions/src/Routing/Endpoint.cs | src/Http/Http.Abstractions/src/Routing/Endpoint.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.Http
{
/// <summary>
/// Represents a logical endpoint in an application.
/// </summary>
public class En... | // 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.Http
{
/// <summary>
/// Respresents a logical endpoint in an application.
/// </summary>
public class E... | apache-2.0 | C# |
39005ba288f68b9fde8801195b6672d9d9379346 | Fix typo in NullValue property (thanks @lukapor) | CSGOpenSource/elasticsearch-net,jonyadamit/elasticsearch-net,RossLieberman/NEST,KodrAus/elasticsearch-net,CSGOpenSource/elasticsearch-net,RossLieberman/NEST,jonyadamit/elasticsearch-net,adam-mccoy/elasticsearch-net,jonyadamit/elasticsearch-net,CSGOpenSource/elasticsearch-net,KodrAus/elasticsearch-net,TheFireCookie/elas... | src/Nest/Mapping/AttributeBased/StringAttribute.cs | src/Nest/Mapping/AttributeBased/StringAttribute.cs | using Newtonsoft.Json;
using System;
namespace Nest
{
public class StringAttribute : ElasticsearchPropertyAttribute, IStringProperty
{
IStringProperty Self => this;
FieldIndexOption? IStringProperty.Index { get; set; }
TermVectorOption? IStringProperty.TermVector { get; set; }
double? IStringPr... | using Newtonsoft.Json;
using System;
namespace Nest
{
public class StringAttribute : ElasticsearchPropertyAttribute, IStringProperty
{
IStringProperty Self => this;
FieldIndexOption? IStringProperty.Index { get; set; }
TermVectorOption? IStringProperty.TermVector { get; set; }
double? IStringPr... | apache-2.0 | C# |
3dd844bf377a643c7f3d4b83bea75adb6840d0dd | remove appcenter logs | ScienceSoft-Inc/XamarinDiscountsApp | SCNDISC.XamarinSE/ScnDiscounts/ScnDiscounts/App.cs | SCNDISC.XamarinSE/ScnDiscounts/ScnDiscounts/App.cs | using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using ScnDiscounts.Helpers;
using ScnDiscounts.Models;
using ScnDiscounts.Views;
using ScnDiscounts.Views.Styles;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
using Xamarin.Forms.Xaml;
... | using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using ScnDiscounts.Helpers;
using ScnDiscounts.Models;
using ScnDiscounts.Views;
using ScnDiscounts.Views.Styles;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
using Xamarin.Forms.Xaml;
... | mit | C# |
f85b2dd146aeb53532e4173c871ca4c0a9db08c7 | Fix syntax error | jasonmalinowski/roslyn,mavasani/roslyn,bartdesmet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmali... | src/Workspaces/Core/Portable/Diagnostics/WorkspaceAnalyzerOptions.cs | src/Workspaces/Core/Portable/Diagnostics/WorkspaceAnalyzerOptions.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 disable
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using ... | mit | C# |
b58291bc0d2f48749ebe301460659ee17bfe4b9e | Make NRefactory6Host public so MonoDevelop can localise diagnostics | icsharpcode/RefactoringEssentials,icsharpcode/RefactoringEssentials | RefactoringEssentials/Util/NRefactory6Host.cs | RefactoringEssentials/Util/NRefactory6Host.cs | using System;
namespace RefactoringEssentials
{
/// <summary>
/// Needs to be implemented from IDE/host side.
/// </summary>
public static class NRefactory6Host
{
public static Func<string, string> GetLocalizedString = s => s;
public static Func<string, string> GetHelpLinkForDiagnos... | using System;
namespace RefactoringEssentials
{
/// <summary>
/// Needs to be implemented from IDE/host side.
/// </summary>
#if NR6
public
#endif
static class NRefactory6Host
{
public static Func<string, string> GetLocalizedString = s => s;
public static Func<string, string> GetHe... | mit | C# |
7a50fb873de6d9e235359de4136b2fe4a003e6f1 | Add missing XML comment | JasonBock/csla,jonnybee/csla,ronnymgm/csla-light,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,JasonBock/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,jonnybee/csla,rockfordlhotka/csla | Source/Csla.Shared/Security/PrincipalCache.cs | Source/Csla.Shared/Security/PrincipalCache.cs | //-----------------------------------------------------------------------
// <copyright file="PrincipalCache.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>Provides a cache for a limited number of</summary>
//... | //-----------------------------------------------------------------------
// <copyright file="PrincipalCache.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>Provides a cache for a limited number of</summary>
//... | mit | C# |
cdf44d4dce367d6dc160311986dbb3a8ebe2c806 | Add check if data is null | edwardinubuntu/Roguelike2D | Assets/Scripts/Wall.cs | Assets/Scripts/Wall.cs | using UnityEngine;
using System.Collections;
public class Wall : MonoBehaviour {
public Sprite dmgSprite;
public int hp = 4;
public AudioClip chopSound1;
public AudioClip chopSound2;
//hit points for the wall.
private SpriteRenderer spriteRenderer; //Store a component reference to the attached SpriteR... | using UnityEngine;
using System.Collections;
public class Wall : MonoBehaviour {
public Sprite dmgSprite;
public int hp = 4;
public AudioClip chopSound1;
public AudioClip chopSound2;
//hit points for the wall.
private SpriteRenderer spriteRenderer; //Store a component reference to the attached SpriteR... | mit | C# |
a1c42b856838c92395b52ce24ece67ae17efe4d0 | update version comment | yasokada/unity-150920-rs232cEcho | Assets/echoServerCS.cs | Assets/echoServerCS.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Threading; // for Thread
using System.IO.Ports; // for RS-232C
using NS_MyRs232cUtil;
/*
* v0.1 2015/09/22
* - can echo back
*/
public class echoServerCS : MonoBehaviour {
private static bool doStart = false;
private static bo... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Threading; // for Thread
using System.IO.Ports; // for RS-232C
using NS_MyRs232cUtil;
public class echoServerCS : MonoBehaviour {
private static bool doStart = false;
private static bool doStop = false;
private Thread rcvThr;
publ... | mit | C# |
b7be6b3b14697fc20e651bb27befa39e701f9633 | Update KnownFoldersConfiguration.cs | tiksn/TIKSN-Framework | TIKSN.Core/FileSystem/KnownFoldersConfiguration.cs | TIKSN.Core/FileSystem/KnownFoldersConfiguration.cs | using System;
using System.Reflection;
namespace TIKSN.FileSystem
{
public class KnownFoldersConfiguration
{
public KnownFoldersConfiguration(Assembly mainAssembly, KnownFolderVersionConsideration versionConsideration)
{
this.MainAssembly = mainAssembly ?? throw new ArgumentNullExc... | using System;
using System.Reflection;
namespace TIKSN.FileSystem
{
public class KnownFoldersConfiguration
{
public KnownFoldersConfiguration(Assembly mainAssembly, KnownFolderVersionConsideration versionConsideration)
{
MainAssembly = mainAssembly ?? throw new ArgumentNullExceptio... | mit | C# |
843ddb3d83e69019c55e9f187fdd5a0ee4d2a950 | Implement IParser on named arguments builder. | alastairs/BobTheBuilder,fffej/BobTheBuilder | BobTheBuilder/Syntax/NamedArgumentsDynamicBuilder.cs | BobTheBuilder/Syntax/NamedArgumentsDynamicBuilder.cs | using System;
using System.Dynamic;
using System.Linq;
using BobTheBuilder.ArgumentStore;
namespace BobTheBuilder.Syntax
{
public class NamedArgumentsDynamicBuilder<T> : DynamicBuilderBase<T>, IParser where T : class
{
private readonly IDynamicBuilder<T> wrappedBuilder;
internal Name... | using System;
using System.Dynamic;
using System.Linq;
using BobTheBuilder.ArgumentStore;
namespace BobTheBuilder.Syntax
{
public class NamedArgumentsDynamicBuilder<T> : DynamicBuilderBase<T> where T : class
{
private readonly IDynamicBuilder<T> wrappedBuilder;
internal NamedArgument... | apache-2.0 | C# |
f52127c60d6cdf929e2b8bcf118132f2b8d80664 | Fix S2of5 checksum | bbarnhill/barcodelib,barnhill/barcodelib,barnhill/barcodelib | BarcodeStandard/Symbologies/Standard2of5.cs | BarcodeStandard/Symbologies/Standard2of5.cs | using System;
namespace BarcodeLib.Symbologies
{
/// <summary>
/// Standard 2 of 5 encoding
/// Written by: Brad Barnhill
/// </summary>
class Standard2of5 : BarcodeCommon, IBarcode
{
private readonly string[] S25_Code = { "10101110111010", "11101010101110", "10111010101110", "1110111... | using System;
namespace BarcodeLib.Symbologies
{
/// <summary>
/// Standard 2 of 5 encoding
/// Written by: Brad Barnhill
/// </summary>
class Standard2of5 : BarcodeCommon, IBarcode
{
private readonly string[] S25_Code = { "10101110111010", "11101010101110", "10111010101110", "1110111... | apache-2.0 | C# |
aa96b075d9c24f88ffad2cd219f75bab0e1ac0d3 | Fix implementation of UpdateContent. | modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS | DanTup.DartVS.Vsix/DartFileChangeTracker.cs | DanTup.DartVS.Vsix/DartFileChangeTracker.cs | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using DanTup.DartAnalysis;
using DanTup.DartAnalysis.Json;
using EnvDTE;
namespace DanTup.DartVS
{
public class DartFileChangeTracker
{
DTE dte;
DartAnalysisService analysisService;
TextEditorEvents textEditorEvents;
Subject<Document... | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using DanTup.DartAnalysis;
using DanTup.DartAnalysis.Json;
using EnvDTE;
namespace DanTup.DartVS
{
public class DartFileChangeTracker
{
DTE dte;
DartAnalysisService analysisService;
TextEditorEvents textEditorEvents;
Subject<Document... | mit | C# |
6a682ebeba48bc8e329a29608ee0b17f0fccc7f3 | fix nullref | stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky | EyeInTheSky.Web/Services/NancyUserMapper.cs | EyeInTheSky.Web/Services/NancyUserMapper.cs | namespace EyeInTheSky.Web.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using EyeInTheSky.Services.Interfaces;
using EyeInTheSky.Web.Misc;
using Nancy;
using Nancy.Authentication.Forms;
using Nancy.Security;
public class NancyUserMapper : IUserMapper
... | namespace EyeInTheSky.Web.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using EyeInTheSky.Services.Interfaces;
using EyeInTheSky.Web.Misc;
using Nancy;
using Nancy.Authentication.Forms;
using Nancy.Security;
public class NancyUserMapper : IUserMapper
... | mit | C# |
b532827bca94df3c367ccb0bdf1bda0f8491dd59 | Increase version number before publishing | fredatgithub/GitAutoUpdate | GitAutoUpdateGUI/Properties/AssemblyInfo.cs | GitAutoUpdateGUI/Properties/AssemblyInfo.cs | using System.Reflection;
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: AssemblyTitle("GitAutoUpdateGUI")]
[assembly:... | using System.Reflection;
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: AssemblyTitle("GitAutoUpdateGUI")]
[assembly:... | mit | C# |
7c53d63fa79d0a691d9bb8a27d375f879c7b53b9 | Add required DI services in AddCsla | rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla | Source/Csla/Configuration/ConfigurationExtensions.cs | Source/Csla/Configuration/ConfigurationExtensions.cs | #if NETSTANDARD2_0 || NET5_0 || NET6_0
//-----------------------------------------------------------------------
// <copyright file="ConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extens... | #if NETSTANDARD2_0 || NET5_0 || NET6_0
//-----------------------------------------------------------------------
// <copyright file="ConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extens... | mit | C# |
b83faf8c6cd9d1caa35e93cee21ede1a3bbbe389 | Disable running tests parallel (#38) | DanGould/NTumbleBit,NTumbleBit/NTumbleBit | NTumbleBit.Tests/Properties/AssemblyInfo.cs | NTumbleBit.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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: Assem... | 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: AssemblyConfigurat... | mit | C# |
ad8a7bf04afcc60fc0cd9c9377a1f5d4400ee900 | Reorder tests | jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,benwulfe/google-cloud-dotnet,jskeet/gcloud-dotnet,iantalarico/google-cloud-dotnet,iantalarico/google-cloud-dotnet,benw... | adhoc/Google.Cloud.MetadataTesting/Program.cs | adhoc/Google.Cloud.MetadataTesting/Program.cs | // Copyright 2017, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | // Copyright 2017, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | apache-2.0 | C# |
1112c0e82a513d013db0345c28ede757c102e15d | Clean up and document DokanError. | magol/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,jimmsta/dokan-dotnet,viciousviper/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet | DokanNet/DokanError.cs | DokanNet/DokanError.cs | namespace DokanNet
{
public enum DokanError
{
/// <summary>
/// The operation completed successfully.
/// </summary>
Success = 0,
/// <summary>
/// Incorrect function.
/// </summary>
Error = -1,
/// <summary>
/// The system cannot find the file specified.
/// </summary>
FileNotFound = -2,... | namespace DokanNet
{
public enum DokanError : int
{
// From WinError.h -> http://msdn.microsoft.com/en-us/library/ms819773.aspx
ErrorFileNotFound = -2, // MessageText: The system cannot find the file specified.
ErrorPathNotFound = -3, // MessageText: The system cannot find the path spec... | mit | C# |
2122c2c93b3e50aff7fba5a0beec8c9b2ce6befc | Implement SetUp method | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem.Tests/Models/ContactTest.cs | StressMeasurementSystem.Tests/Models/ContactTest.cs | using NUnit.Framework;
using StressMeasurementSystem.Models;
using System.Collections.Generic;
namespace StressMeasurementSystem.Tests.Models
{
[TestFixture]
public class ContactTest
{
#region Fields
private Contact _contact;
private Contact.NameInfo _name;
private Contact... | using NUnit.Framework;
namespace StressMeasurementSystem.Tests.Models
{
[TestFixture]
public class ContactTest
{
[SetUp]
public void SetUp()
{
//TODO: Implement
}
[Test]
public void Test1()
{
Assert.True(true);
}
... | apache-2.0 | C# |
51dcc62c41aab36390f5f4d93883e0457549f189 | Fix missing argument | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.ViewModel.Tests/MainPageViewModelTest.cs | client/BlueMonkey/BlueMonkey.ViewModel.Tests/MainPageViewModelTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.ViewModels;
using Moq;
using Prism.Navigation;
using Prism.Services;
using Xunit;
namespace BlueMonkey.ViewModel.Tests
{
public class MainPageViewModelTest
{
[Fact]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.ViewModels;
using Moq;
using Prism.Navigation;
using Xunit;
namespace BlueMonkey.ViewModel.Tests
{
public class MainPageViewModelTest
{
[Fact]
public void Naviga... | mit | C# |
03a40d0302b701aeb2682ea2c32861be5124afc6 | Fix possible exceptions in Reflection helper. | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Helpers/ReflectionHelper.cs | TwitchPlaysAssembly/Src/Helpers/ReflectionHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public static class ReflectionHelper
{
public static Type FindType(string fullName)
{
return AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetSafeTypes()).FirstOrDefault(t => t.FullName != null && t... | using System;
using System.Linq;
public static class ReflectionHelper
{
public static Type FindType(string fullName)
{
return AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetTypes()).FirstOrDefault(t => t.FullName.Equals(fullName));
}
public static Type FindType(string fullName, ... | mit | C# |
5b439371f7a0efc153f25547a0a8e53ed574db9f | remove bst | kusl/Tree | VisualTree/TreeConsole/Program.cs | VisualTree/TreeConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TreeLibrary;
namespace TreeConsole
{
class Program
{
static readonly int numberOfNumbers = 100000;
static void Main(string[] args)
{
int[] inputArray = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TreeLibrary;
namespace TreeConsole
{
class Program
{
static readonly int numberOfNumbers = 1000;
static void Main(string[] args)
{
int[] inputArray = ne... | agpl-3.0 | C# |
beb9f4f0c0dcdb4e8ffd24c16db7104c86c13caf | fix typo | mperdeck/jsnlog | jsnlog/Infrastructure/HostingHelpers.cs | jsnlog/Infrastructure/HostingHelpers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JSNLog.Infrastructure
{
public class HostingHelpers
{
public static string VirtualToAbsolutePath(string virtualPath)
{
#if NET452
return System.Web.VirtualPathUtility.ToAbsolu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JSNLog.Infrastructure
{
public class HostingHelpers
{
public static string VirtualToAbsolutePath(string virtualPath)
{
#if NET452
return System.Web.VirtualPathUtility.ToAbsolu... | mit | C# |
8b558bca16e24c446e539ac3721be79fe029c4e0 | Add public property | bartlomiejwolk/AnimationPathAnimator | APAnimatorComponent/Editor/SceneTool.cs | APAnimatorComponent/Editor/SceneTool.cs | using UnityEditor;
namespace ATP.AnimationPathAnimator.APAnimatorComponent {
public static class SceneTool {
private static Tool lastTool = Tool.None;
public static Tool LastTool {
get { return lastTool; }
set { lastTool = value; }
}
public static void Re... | using UnityEditor;
namespace ATP.AnimationPathAnimator.APAnimatorComponent {
public static class SceneTool {
public static Tool LastTool = Tool.None;
public static void RememberCurrentTool() {
// Remember active scene tool.
if (Tools.current != Tool.None) {
... | mit | C# |
3bfea85c2acdd35129c76ba08ac0cb02f6ceed3d | Improve logging test result for TeamCity #9 - remove hardcoded exception | cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium | Src/MvcPages/BrowserCamera/BrowserCamera.cs | Src/MvcPages/BrowserCamera/BrowserCamera.cs | using System;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Remote;
using Tellurium.MvcPages.BrowserCamera.Lens;
using Tellurium.MvcPages.SeleniumUtils;
using Tellurium.MvcPages.Utils;
namespace Tellurium.MvcPages.BrowserCamera
{
/// <summary>
/// Responsible for taking screenshots of the page
... | using System;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Remote;
using Tellurium.MvcPages.BrowserCamera.Lens;
using Tellurium.MvcPages.SeleniumUtils;
using Tellurium.MvcPages.Utils;
namespace Tellurium.MvcPages.BrowserCamera
{
/// <summary>
/// Responsible for taking screenshots of the page
... | mit | C# |
32f6b2ebff5b0adbf6682eff91871cbeb9046cae | Bump version to 1.8 | hudl/Mjolnir,courtneyklatt/Mjolnir | Hudl.Mjolnir/Properties/AssemblyInfo.cs | Hudl.Mjolnir/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("Hu... | 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("Hu... | apache-2.0 | C# |
7015527efabae60eff9226177f1496ee79b9c919 | remove usings | primas23/UniversityCoursesRegistrationSystem,primas23/UniversityCoursesRegistrationSystem,primas23/UniversityCoursesRegistrationSystem | UCRS.Data.Models/Course.cs | UCRS.Data.Models/Course.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using UCRS.Common;
namespace UCRS.Data.Models
{
public class Course : BaseModel
{
/// <summary>
/// Initializes a new instance of the <see cref="Course"/> class.
/// </summary>
public Course()
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using UCRS.Common;
namespace UCRS.Data.Models
{
public class Course : BaseModel
{
/// <summary>
/// Initializes a new instance of the <see cref="Course"/> class.
... | mit | C# |
69207a6bb357cc2e801361bcbeffda5803cfa330 | Improve Filter documentation | ethomson/libgit2sharp,jorgeamado/libgit2sharp,mono/libgit2sharp,jorgeamado/libgit2sharp,rcorre/libgit2sharp,AMSadek/libgit2sharp,libgit2/libgit2sharp,vorou/libgit2sharp,GeertvanHorrik/libgit2sharp,red-gate/libgit2sharp,Skybladev2/libgit2sharp,OidaTiftla/libgit2sharp,GeertvanHorrik/libgit2sharp,AArnott/libgit2sharp,AArn... | LibGit2Sharp/Filter.cs | LibGit2Sharp/Filter.cs | namespace LibGit2Sharp
{
/// <summary>
/// Criterias used to filter out and order the commits of the repository when querying its history.
/// </summary>
public class Filter
{
/// <summary>
/// Initializes a new instance of <see cref = "Filter" />.
/// </summary>
... | namespace LibGit2Sharp
{
/// <summary>
/// Criterias used to filter out and order the commits of the repository when querying its history.
/// </summary>
public class Filter
{
/// <summary>
/// Initializes a new instance of <see cref = "Filter" />.
/// </summary>
... | mit | C# |
eaa6a59bd4c23daef2e808a6ae36fe35ca0b8158 | Reset TestAny | samwa/loconomics,samwa/loconomics,loconomics/loconomics,loconomics/loconomics,samwa/loconomics,loconomics/loconomics,loconomics/loconomics,samwa/loconomics | web/Tests/TestAny.cshtml | web/Tests/TestAny.cshtml | @* Placeholder testing area
*@
@{
//LcHelpers.TestArea();
Layout = "_TestLayout.cshtml";
DateTime start = DateTime.Now;
dynamic data;
try {
data = null;
}
catch (Exception ex) {
data = ex;
}
}
@(data)
PROCESS DURATION: @((DateTime.Now - start).ToString())
| @* Placeholder testing area
*@
@{
//LcHelpers.TestArea();
Layout = "_TestLayout.cshtml";
DateTime start = DateTime.Now;
dynamic data;
var r = "";
try {
foreach(var a in LcCalendar.BulkImport()) {
if (a != null) {
r += "<br/>" + a.Message + "::" + a... | mpl-2.0 | C# |
2d7174d99cc6e24b30f3266a32cd86fe9c735c34 | Add padding to song select | UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu-new,UselessToucan/osu | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeMatchSongSelect.cs | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeMatchSongSelect.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Screens;
using osu.Game.Online.Multiplayer;
using o... | mit | C# |
65b06633701647b772f24c660d74797ab5cfe306 | bump to version 1.3 | Terradue/DotNetTep,Terradue/DotNetTep | Terradue.Tep/Properties/AssemblyInfo.cs | Terradue.Tep/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xrefit... | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.2.80
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xre... | agpl-3.0 | C# |
a336aa40926cffb8e077b219c7de71efe1c315d6 | Add Update Method to TwitterAdapter and Format | SolidNerd/TwitterMonkey | TwitterMonkey.Android/TwitterAdapter.cs | TwitterMonkey.Android/TwitterAdapter.cs | using System.Collections.Generic;
using Android.App;
using Android.Widget;
using TwitterMonkey.Portable.Twitter;
using Android.Views;
using Squareup.Picasso;
namespace TwitterMonkey {
public class TwitterAdapter : BaseAdapter<Tweet> {
private List<Tweet> tweets;
private Activity context;
public Twitte... | using System.Collections.Generic;
using Android.App;
using Android.Widget;
using TwitterMonkey.Portable.Twitter;
using Android.Views;
using Squareup.Picasso;
namespace TwitterMonkey {
public class TwitterAdapter : BaseAdapter<Tweet> {
private List<Tweet> tweets;
private Activity context;
public Twitter... | mit | C# |
23d627511ee151100160112d9d73aa13f6bf5eeb | Allow optionals in converter | CoditEU/Mjolnir,GlennColpaert/Mjolnir,msjonathan/Mjolnir | src/BizTalk.Extended.Core/Utilities/ContextPropertyValueConverter.cs | src/BizTalk.Extended.Core/Utilities/ContextPropertyValueConverter.cs | using BizTalk.Extended.Core.Guards;
using Microsoft.XLANGs.BaseTypes;
using System;
namespace BizTalk.Extended.Core.Utilities
{
public class ContextPropertySerializer
{
/// <summary>
/// Serializes the value so it can be used in the message context.
/// </summary>
/// <typepara... | using BizTalk.Extended.Core.Guards;
using Microsoft.XLANGs.BaseTypes;
using System;
namespace BizTalk.Extended.Core.Utilities
{
public class ContextPropertySerializer
{
/// <summary>
/// Serializes the value so it can be used in the message context.
/// </summary>
/// <typepara... | mit | C# |
c3ab365170e79f36a47393acbd82b42b5dd224a8 | Make catchpoint properties settable | mono/debugger-libs,mono/debugger-libs,Unity-Technologies/debugger-libs,Unity-Technologies/debugger-libs | Mono.Debugging/Mono.Debugging.Client/Catchpoint.cs | Mono.Debugging/Mono.Debugging.Client/Catchpoint.cs | // Catchpoint.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.com)
//
// 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 wi... | // Catchpoint.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.com)
//
// 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 wi... | mit | C# |
183489aa83d1a7109a23262556e2a96ad78bf242 | edit an existing job | vgrigoriu/ZeroToHeroHR,vgrigoriu/ZeroToHeroHR | src/Hermes/WebApi/Controllers/JobsController.cs | src/Hermes/WebApi/Controllers/JobsController.cs | using DatabaseAccessLayer;
using Entities;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
namespace WebApi.Controllers
{
public class JobsController : ApiController
{
public IHttpActionResult Get()
{
using (var db = new HRContext())
{
... | using DatabaseAccessLayer;
using Entities;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
namespace WebApi.Controllers
{
public class JobsController : ApiController
{
public IHttpActionResult Get()
{
using (var db = new HRContext())
{
... | mit | C# |
1fa78aba1e9c5f1b25d2450900fcdbef169be781 | Fix broken whitespace. | tpetricek/FSharp.Formatting,theprash/FSharp.Formatting,mktange/FSharp.Formatting,mktange/FSharp.Formatting,theprash/FSharp.Formatting,mktange/FSharp.Formatting,mktange/FSharp.Formatting,tpetricek/FSharp.Formatting,mktange/FSharp.Formatting,theprash/FSharp.Formatting,theprash/FSharp.Formatting,tpetricek/FSharp.Formattin... | misc/templates/reference/part-members.cshtml | misc/templates/reference/part-members.cshtml | @if (Enumerable.Count(Model.Members) > 0) {
<h3>@Model.Header</h3>
<table class="table table-bordered member-list">
<thead>
<tr><td>@Model.TableHeader</td><td>Description</td></tr>
</thead>
<tbody>
@foreach (var it in Model.Members)
{
<tr>
<td class="member-name">
@... | @if (Enumerable.Count(Model.Members) > 0) {
<h3>@Model.Header</h3>
<table class="table table-bordered member-list">
<thead>
<tr><td>@Model.TableHeader</td><td>Description</td></tr>
</thead>
<tbody>
@foreach (var it in Model.Members)
{
<tr>
<td class="member-name">
@... | apache-2.0 | C# |
3688dd3d56d43b42c29e0552e0016cdceb3fe32a | Add required IFileSystem interface members | appharbor/appharbor-cli | src/AppHarbor/IFileSystem.cs | src/AppHarbor/IFileSystem.cs | using System.IO;
namespace AppHarbor
{
public interface IFileSystem
{
void Delete(string path);
Stream OpenRead(string path);
Stream OpenWrite(string path);
}
}
| namespace AppHarbor
{
public interface IFileSystem
{
}
}
| mit | C# |
02a97032ed9e148e9da9ff76d5fa8beae990b855 | fix example | jpush/jmessage-api-csharp-client | example/CrossExamples/CrossRemoveBlacklistExample.cs | example/CrossExamples/CrossRemoveBlacklistExample.cs | using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using jmessage.util;
using jmessage.common;
using System.Diagnostics;
using Newtonsoft.Json;
using jmessage.message;
using jmessage.group;
using jmessage.cross;
using jmessage;
namespace example.CrossExample... | using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using jmessage.util;
using jmessage.common;
using System.Diagnostics;
using Newtonsoft.Json;
using jmessage.message;
using jmessage.group;
using jmessage.cross;
using jmessage;
namespace example.CrossExample... | mit | C# |
27787019281be124cbd86eaa4a7d4eff3d2903d7 | Make NCryptIsKeyHandle public | vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke | src/NCrypt.Desktop/NCrypt.cs | src/NCrypt.Desktop/NCrypt.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <cont... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <cont... | mit | C# |
7f4e3645f268b2949b2cc540e7823e9610006edd | Update ConfigureServicesBuilder exception message #502 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Hosting/Internal/ConfigureServicesBuilder.cs | src/Microsoft.AspNetCore.Hosting/Internal/ConfigureServicesBuilder.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Hosting.Intern... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Hosting.Intern... | apache-2.0 | C# |
0e3fd8e2eaa1e8ad338d06243fb81afa8bec763f | Add comment. | a-ctor/roslyn,cston/roslyn,KirillOsenkov/roslyn,tmeschter/roslyn,swaroop-sridhar/roslyn,tannergooding/roslyn,AmadeusW/roslyn,KevinH-MS/roslyn,jamesqo/roslyn,akrisiun/roslyn,KevinRansom/roslyn,lorcanmooney/roslyn,jmarolf/roslyn,bkoelman/roslyn,nguerrera/roslyn,MattWindsor91/roslyn,panopticoncentral/roslyn,eriawan/roslyn... | src/Workspaces/Core/Desktop/SymbolSearch/ISymbolSearchUpdateEngine.cs | src/Workspaces/Core/Desktop/SymbolSearch/ISymbolSearchUpdateEngine.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
/// <summary>
/// Se... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal interface ISymb... | apache-2.0 | C# |
db969486a97af532f7db10cfe0e06909632ecb4c | Update slack webhook url | SharpeRAD/Cake.AWS.S3 | build/scripts/message.cake | build/scripts/message.cake | ///////////////////////////////////////////////////////////////////////////////
// MESSAGE
///////////////////////////////////////////////////////////////////////////////
Task("Slack")
.WithCriteria(() => !isPullRequest)
.Does(() =>
{
// Resolve the API key.
var webHookUrl = EnvironmentVariable("SLACK_... | ///////////////////////////////////////////////////////////////////////////////
// MESSAGE
///////////////////////////////////////////////////////////////////////////////
Task("Slack")
.WithCriteria(() => !isPullRequest)
.Does(() =>
{
// Resolve the API key.
var token = EnvironmentVariable("SLACK_TOKEN... | mit | C# |
f3c377e258092080c4733cffd44b9c4e40ccb9ce | Reorganize code | rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/BufferView.cs | CSGL.Vulkan/BufferView.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class BufferViewCreateInfo {
public Buffer buffer;
public VkFormat format;
public ulong offset;
public ulong range;
}
public class BufferView : INative<VkBufferView>, IDisposable {
bool ... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class BufferViewCreateInfo {
public Buffer buffer;
public VkFormat format;
public ulong offset;
public ulong range;
}
public class BufferView : INative<VkBufferView>, IDisposable {
bool ... | mit | C# |
93dd9fa264f1c0db68840803f208e7cb9bc97d3b | Remove unused variable | paparony03/osu-framework,paparony03/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,naoey/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,NeoAdonis/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,Nabile-Rahmani/osu-framework,peppy/osu-fr... | osu.Framework/Graphics/Sprites/SpriteDrawNode.cs | osu.Framework/Graphics/Sprites/SpriteDrawNode.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Primitives;
using osu.Framework.Graphics.Shaders;
using osu.Framework.Graphics.Textures;
using OpenTK.Graphics.ES20;
using... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Primitives;
using osu.Framework.Graphics.Shaders;
using osu.Framework.Graphics.Textures;
using OpenTK.Graphics.ES20;
using... | mit | C# |
6ba1bab54d15428a4c70994c38aabf528c420673 | Remove Create factory method | TukekeSoft/CocosSharp,TukekeSoft/CocosSharp,mono/CocosSharp,netonjm/CocosSharp,MSylvia/CocosSharp,haithemaraissia/CocosSharp,mono/cocos2d-xna,zmaruo/CocosSharp,hig-ag/CocosSharp,hig-ag/CocosSharp,MSylvia/CocosSharp,mono/cocos2d-xna,mono/CocosSharp,haithemaraissia/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp | cocos2d/actions/action/CCAction.cs | cocos2d/actions/action/CCAction.cs |
namespace cocos2d
{
public enum ActionTag
{
//! Default tag
kCCActionTagInvalid = -1,
}
public class CCAction : ICopyable
{
protected int m_nTag;
protected CCNode m_pOriginalTarget;
protected CCNode m_pTarget;
public CCAction()
{
... |
namespace cocos2d
{
public enum ActionTag
{
//! Default tag
kCCActionTagInvalid = -1,
}
public class CCAction : ICopyable
{
protected int m_nTag;
protected CCNode m_pOriginalTarget;
protected CCNode m_pTarget;
public CCAction()
{
... | mit | C# |
4224ccf47155773611d2dfd99b0be586c0dd2eaf | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepo... |
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepository()
{
do... | mit | C# |
c4cd430c6ac4c52efd6f5c4e779d8b60bbc6655a | test success | polybioz/hello-world | HelloWorld/Tests/UnitTest1.cs | HelloWorld/Tests/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
[TestMethod]
public void TestMethod2()
{
Assert.IsTrue(true);
}
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
[TestMethod]
public void TestMethod2()
{
Assert.IsTrue(false);
}
... | mit | C# |
c24ad75427ba212386c4aac08e16abe686ce8dad | return back custom cursor | rustamserg/mogate | mogate/GameMogate.cs | mogate/GameMogate.cs | #region Using Statements
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Input;
#endregion
namespace mogate
{
/// <summary>
/// This is the main type for your game
/// </summary>
public class ... | #region Using Statements
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Input;
#endregion
namespace mogate
{
/// <summary>
/// This is the main type for your game
/// </summary>
public class ... | mit | C# |
93a95f54190ba094b464c158c8316630ab4d2962 | add distortion model for T265 fisheye image | IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense | wrappers/csharp/Intel.RealSense/Types/Enums/Distortion.cs | wrappers/csharp/Intel.RealSense/Types/Enums/Distortion.cs | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.
namespace Intel.RealSense
{
/// <summary>
/// Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
/// </summary>
public enum Distortion
{
... | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.
namespace Intel.RealSense
{
/// <summary>
/// Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
/// </summary>
public enum Distortion
{
... | apache-2.0 | C# |
048bb7801b843468d97d2ea7ab60ecee2b3142bc | Fix broken claims and characters filter | leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs | JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
public IEnumerable<ClaimProblem> GetProblems(Project project, Claim claim)
{
if (claim.... | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
public IEnumerable<ClaimProblem> GetProblems(Project project, Claim claim)
{
if (claim.... | mit | C# |
65ce648261538604cd5e82e6267f39dce4bfe470 | Fix test, we have a custom Exception now that is public. | dignite/AppSettingsByConvention | AppSettingsByConventionTests/WhenAnalyzingExportedTypes.cs | AppSettingsByConventionTests/WhenAnalyzingExportedTypes.cs | using System.Linq;
using AppSettingsByConvention;
using FluentAssertions;
using NUnit.Framework;
namespace AppSettingsByConventionTests
{
[TestFixture]
public class WhenAnalyzingExportedTypes
{
[Test]
public void ShouldMatchWhitelist()
{
var whiteList = new []
... | using AppSettingsByConvention;
using FluentAssertions;
using NUnit.Framework;
namespace AppSettingsByConventionTests
{
[TestFixture]
public class WhenAnalyzingExportedTypes
{
[Test]
public void ShouldMatchWhitelist()
{
var whiteList = new []
{
... | mit | C# |
850c6e959b26a9e55511c103ba051a0b51f136c0 | Add single argument description | CrOrc/Cr.ArgParse | src/Cr.ArgParse/Argument.cs | src/Cr.ArgParse/Argument.cs | using System.Collections.Generic;
namespace Cr.ArgParse
{
/// <summary>
/// Single argument description
/// </summary>
public class Argument
{
/// <summary>
/// strings to identify argument. Empty for positional arguments
/// </summary>
public IList<stri... | namespace Cr.ArgParse
{
public class Argument
{
}
} | mit | C# |
4b34319e5c0ea4ab111467291dedde559e0369b7 | Increase pulling modified speed (#10049) | 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.Shared/Pulling/Components/SharedPullerComponent.cs | Content.Shared/Pulling/Components/SharedPullerComponent.cs | namespace Content.Shared.Pulling.Components
{
[RegisterComponent]
[Access(typeof(SharedPullingStateManagementSystem))]
public sealed class SharedPullerComponent : Component
{
// Before changing how this is updated, please see SharedPullerSystem.RefreshMovementSpeed
public float WalkSpee... | namespace Content.Shared.Pulling.Components
{
[RegisterComponent]
[Access(typeof(SharedPullingStateManagementSystem))]
public sealed class SharedPullerComponent : Component
{
// Before changing how this is updated, please see SharedPullerSystem.RefreshMovementSpeed
public float WalkSpee... | mit | C# |
202a6b85a920f1f86fc6c13c760dce1a61a2df70 | refactor to use "AutoFixture" | Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Tests/PhotoArtSystem.Tests.UnitTests/Services/PhotocourseTests/GetById_Should.cs | PhotoArtSystem/Tests/PhotoArtSystem.Tests.UnitTests/Services/PhotocourseTests/GetById_Should.cs | namespace PhotoArtSystem.Tests.UnitTests.Services.PhotocourseTests
{
using System;
using Moq;
using NUnit.Framework;
using PhotoArtSystem.Data.Common.EfDbContexts;
using PhotoArtSystem.Data.Common.Repositories;
using PhotoArtSystem.Data.Models;
using PhotoArtSystem.Services.Photocourse;
... | namespace PhotoArtSystem.Tests.UnitTests.Services.PhotocourseTests
{
using Moq;
using NUnit.Framework;
using PhotoArtSystem.Data.Common.EfDbContexts;
using PhotoArtSystem.Data.Common.Repositories;
using PhotoArtSystem.Data.Models;
using PhotoArtSystem.Services.Photocourse;
[TestFixture]
... | mit | C# |
407ed1f7f32ace3f007e81146a7f330bf2a173bd | Test that Generate function isn't invoked unnecessarily | fsateler/MoreLINQ,morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ | MoreLinq.Test/GenerateTest.cs | MoreLinq.Test/GenerateTest.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
41aa962950b96b3303788a7d1afbac5760288437 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
0d29c1651990b4f3f24a706643441edf27a6f33e | Change TerminalLog description | jonathanvdc/Pixie,jonathanvdc/Pixie | Pixie.Terminal/TerminalLog.cs | Pixie.Terminal/TerminalLog.cs | using System;
using System.Threading;
using Pixie.Terminal.Devices;
using Pixie.Terminal.Render;
namespace Pixie.Terminal
{
/// <summary>
/// A log implementation that logs messages to a terminal.
/// </summary>
public sealed class TerminalLog : ILog
{
/// <summary>
/// Creates a te... | using System;
using System.Threading;
using Pixie.Terminal.Devices;
using Pixie.Terminal.Render;
namespace Pixie.Terminal
{
/// <summary>
/// A log implement that logs messages to standard output.
/// </summary>
public sealed class TerminalLog : ILog
{
/// <summary>
/// Creates a te... | mit | C# |
4b0f6b68e2fd3d3e2799bd178a084403077ddb82 | Rename cast method and parameterize test. | jagrem/msg | Msg.Core.Specs/Transport/Common/PortNumberSpecs.cs | Msg.Core.Specs/Transport/Common/PortNumberSpecs.cs | using NUnit.Framework;
using Msg.Core.Transport.Common;
using System;
using FluentAssertions;
namespace Msg.Core.Specs.Transport.Common
{
[TestFixture]
public class PortNumberSpecs
{
static PortNumber CastIntToPortNumber (int value)
{
return (PortNumber)value;
}
... | using NUnit.Framework;
using Msg.Core.Transport.Common;
using System;
using FluentAssertions;
namespace Msg.Core.Specs.Transport.Common
{
[TestFixture]
public class PortNumberSpecs
{
static PortNumber CastTo (int value)
{
return (PortNumber)value;
}
[Test]
... | apache-2.0 | C# |
c79ceadd3f031f6c8dfe2f88c8c309aaefb0cdb1 | Fix bug in SFML mouse wheel | Thraka/SadConsole | SadConsole.Host.SFML/Mouse.cs | SadConsole.Host.SFML/Mouse.cs | using System;
using SFML.Graphics;
using SFML.Window;
using Point = SadRogue.Primitives.Point;
using SFMLMouse = SFML.Window.Mouse;
namespace SadConsole.Host
{
public class Mouse : SadConsole.Input.IMouseState
{
private int _mouseWheelValue;
private RenderWindow _window;
public Mouse(... | using System;
using SFML.Graphics;
using SFML.Window;
using Point = SadRogue.Primitives.Point;
using SFMLMouse = SFML.Window.Mouse;
namespace SadConsole.Host
{
public class Mouse : SadConsole.Input.IMouseState
{
private int _mouseWheelValue;
private RenderWindow _window;
public Mouse(... | mit | C# |
635279f8116800cb4789a3bbe718ca385e7b3b9f | Revert "Commit 1" | bl0rq/ExampleCode | Source/App/ViewModel/Start.cs | Source/App/ViewModel/Start.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace App.ViewModel
{
public class Start : BandSox.Utility.UI.ViewModel.Base
{
public Start ( )
{
Next = new BandSox.Utility.UI.NavigationCommand<Star... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace App.ViewModel
{
public class Start : BandSox.Utility.UI.ViewModel.Base
{
public Start ( )
{
/* something */
Next = new BandSox.Util... | unlicense | C# |
1eb330911cbae95d898e5f4ed9ce7adb6e75f218 | Bump to v0.4.0 | dancol90/mi-360 | Source/mi-360/Properties/AssemblyInfo.cs | Source/mi-360/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | bsd-3-clause | C# |
62bf733343dbb82cd8c9e3b4bb5f3da21e73be71 | Update src/Tools/BuildValidator/FileNameEqualityComparer.cs | AmadeusW/roslyn,tmat/roslyn,physhi/roslyn,shyamnamboodiripad/roslyn,tannergooding/roslyn,gafter/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,stephentoub/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,mgoertz-msft/roslyn,sharwell/roslyn,diryboy/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,heejaecha... | src/Tools/BuildValidator/FileNameEqualityComparer.cs | src/Tools/BuildValidator/FileNameEqualityComparer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
namespace BuildValidator
{
internal sealed 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.
using System;
using System.Collections.Generic;
using System.IO;
namespace BuildValidator
{
internal class Fil... | mit | C# |
a650ca4caaa4bef618851ff61bdde79821271fba | Update test logger to lock before messages (#29104) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Middleware/Diagnostics.EntityFrameworkCore/test/FunctionalTests/Helpers/TestLoggerProvider.cs | src/Middleware/Diagnostics.EntityFrameworkCore/test/FunctionalTests/Helpers/TestLoggerProvider.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Func... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Func... | apache-2.0 | C# |
26dd7bea85b2739ac018ecd90059f8c64108f8db | Fix using directive | aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata | AbpODataDemo-Core-vNext/aspnet-core/src/AbpODataDemo.Web.Host/Startup/AbpODataDemoWebHostModule.cs | AbpODataDemo-Core-vNext/aspnet-core/src/AbpODataDemo.Web.Host/Startup/AbpODataDemoWebHostModule.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Abp.Configuration.Startup;
using Abp.Modules;
using Abp.Reflection.Extensions;
using AbpODataDemo.Configuration;
using AbpODataDemo.Web.Host.ResultWrapping;
namespace AbpODataDemo.Web.Host.Startup
{
[DependsOn(
typeof(AbpOD... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Abp.Configuration.Startup;
using Abp.Modules;
using Abp.Reflection.Extensions;
using AbpODataDemo.Configuration;
using AbpODataDemo.ResultWrapping;
namespace AbpODataDemo.Web.Host.Startup
{
[DependsOn(
typeof(AbpODataDemoWe... | mit | C# |
d6353c698f2aadd3272ce34b81a1b530fb7283bc | update for next release | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/mi... | src/ADAL.Common/CommonAssemblyInfo.cs | src/ADAL.Common/CommonAssemblyInfo.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | mit | C# |
3b7e044da49c27beb650146b7f20571459b2e2bf | Make `ScheduledDelegateWithData` internal | peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Threading/ScheduledDelegateWithData.cs | osu.Framework/Threading/ScheduledDelegateWithData.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;
namespace osu.Framework.Threading
{
internal class ScheduledDelegateWithData<T> : ScheduledDelegate
{
public new readonly Action<T> Task;
... | // 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;
namespace osu.Framework.Threading
{
public class ScheduledDelegateWithData<T> : ScheduledDelegate
{
public new readonly Action<T> Task;
... | mit | C# |
8402fb1490c32a920a2b3ae9a0df122a563560de | Move to const and add some xmldoc for future visitors | 2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,ppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu | osu.Game.Rulesets.Osu/Edit/DrawableOsuEditRuleset.cs | osu.Game.Rulesets.Osu/Edit/DrawableOsuEditRuleset.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.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.... | // 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.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.... | mit | C# |
d534f7c58879fd3cbfaad592150ea17f621de38e | Add missing ComparisonBuilder methods to CompareSyntax | jamesfoster/DeepEqual | src/DeepEqual/Syntax/CompareSyntax.cs | src/DeepEqual/Syntax/CompareSyntax.cs | namespace DeepEqual.Syntax
{
using System;
using System.Diagnostics.Contracts;
using System.Linq.Expressions;
public class CompareSyntax<TActual, TExpected>
{
public TActual Actual { get; set; }
public TExpected Expected { get; set; }
protected ComparisonBuilder Builder { get; set; }
public CompareSyn... | namespace DeepEqual.Syntax
{
using System;
using System.Diagnostics.Contracts;
using System.Linq.Expressions;
public class CompareSyntax<TActual, TExpected>
{
public TActual Actual { get; set; }
public TExpected Expected { get; set; }
protected ComparisonBuilder Builder { get; set; }
public CompareSyn... | mit | C# |
abcc2895601790ff630625f67b271f821d2fb54f | Add attributes to IsExternalInit in the Compiler | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Compiler/IsExternalInit.cs | src/DotVVM.Compiler/IsExternalInit.cs | #if !NET5_0_OR_GREATER
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace System.Runtime.CompilerServices
{
[DebuggerNonUserCode]
[ExcludeFromCodeCoverage]
internal static class IsExternalInit {}
}
#endif
| #if !NET5_0_OR_GREATER
namespace System.Runtime.CompilerServices
{
internal static class IsExternalInit {}
}
#endif
| apache-2.0 | C# |
7ba2d60fd2d7cf87cb58d282507dc0ac565714cd | fix minor issues | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ThomasLee.cs | src/Firehose.Web/Authors/ThomasLee.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ThomasLee : IAmAMicrosoftMVP
{
public string FirstName => "Thomas";
public string LastName... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ThomasLEe : IAmAMicrosoftMVP
{
public string FirstName => "Thomas";
public string LastName... | mit | C# |
07b426d31a0bf05b837690fa85dc64a18fb50cf0 | Add condition for checking disableplanetxamarin keywork and to Prohibit publishing to on planetxamarin (#282) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/VulcanLee.cs | src/Firehose.Web/Authors/VulcanLee.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class VulcanLee : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Vulcan";
public string LastName => "Lee... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class VulcanLee : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Vulcan";
public string LastName => "Lee... | mit | C# |
16b2722e52fe9d829a18efd107fd4c3573f114a7 | Format registration a bit better | zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,p... | src/Glimpse.Common/GlimpseServices.cs | src/Glimpse.Common/GlimpseServices.cs | using Glimpse;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
using System;
using System.Reflection;
namespace Glimpse
{
public class GlimpseServices
{
public sta... | using Glimpse;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServices
{
public static IEnumerable<IServiceDescriptor> Get... | mit | C# |
1717d7defb7e74f0eeac421bebecc3115b1c44da | Implement importing of scores into ScoreManager | ppy/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,naoey/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,DrabWeb/osu,smoogipooo/osu,ZLima12/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,Use... | osu.Game/Scoring/ScoreManager.cs | osu.Game/Scoring/ScoreManager.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Platform;
usin... | // 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.Platform;
using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.IO.Archives;
using osu.Game.Rulesets;
namespace osu.Game.Scoring
{
pu... | mit | C# |
1f288157f491bafd470388c47f65e43c896ff008 | change `GetUserScoresRequest` to return `SoloScoreInfo` instead of `APIScore` | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Online/API/Requests/GetUserScoresRequest.cs | osu.Game/Online/API/Requests/GetUserScoresRequest.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.
#nullable disable
using System.Collections.Generic;
using osu.Framework.IO.Network;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets;
namespace os... | // 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.
#nullable disable
using System.Collections.Generic;
using osu.Framework.IO.Network;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets;
namespace os... | mit | C# |
abb333299bcddd0ecb5f2b4fe1aed1073f118063 | Document base class | peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu | osu.Game/Rulesets/Difficulty/DifficultyAttributes.cs | osu.Game/Rulesets/Difficulty/DifficultyAttributes.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.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
namespace osu.Game.... | // 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.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
namespace osu.Game.... | mit | C# |
3d584207b32ab3dd8c973918efd8ebd5e9016a7d | add tests for OAuthController | codeimpossible/proggr,codeimpossible/proggr | src/Proggr.Tests/Controllers/OAuthControllerTests.cs | src/Proggr.Tests/Controllers/OAuthControllerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Proggr.Controllers;
using Xunit;
using Moq;
using Proggr.OAuth;
using System.Web.Mvc;
using Proggr.Configuration;
using Simple.Data.Mocking;
using Simple.Data;
namespace Proggr.Tests.Controllers {... | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using Proggr.Controllers;
//using Xunit;
//using Moq;
//using Proggr.OAuth;
//namespace Proggr.Tests.Controllers
//{
// public class OAuthControllerTests
// {
// OauthController... | bsd-3-clause | C# |
94398ca08fe60c9fd13617f50fb8163237a6f177 | Update Index.cshtml | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Home/Index.cshtml | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Home/Index.cshtml | @using SFA.DAS.ProviderUrlHelper
@{
ViewBag.Title = "Manage apprenticeships on behalf of employers";
ViewBag.PageId = "home-page";
ViewBag.HideNavBar = true;
}
@if (DateTime.UtcNow < new DateTime(2018,10,22,8,0,0))
{
<div class="info-summary" tabindex="-1">
<h3 class="heading-medium">Scheduled... | @using SFA.DAS.ProviderUrlHelper
@{
ViewBag.Title = "Add and update apprentice records as a training provider";
ViewBag.PageId = "home-page";
ViewBag.HideNavBar = true;
}
@if (DateTime.UtcNow < new DateTime(2018,10,22,8,0,0))
{
<div class="info-summary" tabindex="-1">
<h3 class="heading-medium... | mit | C# |
692a017a32f88d9399950a81045b53ce6ce2f0fc | Throw an PatternUsageException when static test fixture is detected (issue 737) | mterwoord/mbunit-v3,ajayanandgit/mbunit-v3,mterwoord/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,mterwoord/mbunit-v3,ajayanandgit/mbunit-v3,ajayanandgit/mbunit-v3,ajayanandgit/mbunit-v3,ajayanandgit/mbunit-v3,Gallio/mbunit-v3,mterwoord/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,Gallio/mbunit-v3,xJom/mbunit-v3,mterwoord/mb... | src/MbUnit/MbUnit/Framework/TestFixtureAttribute.cs | src/MbUnit/MbUnit/Framework/TestFixtureAttribute.cs | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | apache-2.0 | C# |
7737594214568e8ae5d7a55d0305ce1735270d5a | Add support for int[] as qualifiers and parameters | enkafan/commandline-parser,terrajobst/commandline-parser | src/System.CommandLine/CommandLineSyntax.Definers.cs | src/System.CommandLine/CommandLineSyntax.Definers.cs | using System;
using System.Globalization;
namespace System
{
public partial class CommandLineSyntax
{
private static readonly Func<string, string> StringParser = v => v;
private static readonly Func<string, bool> BooleanParser = v => bool.Parse(v);
private static readonly Func<string, i... | using System;
namespace System
{
public partial class CommandLineSyntax
{
private static readonly Func<string, string> StringParser = v => v;
private static readonly Func<string, bool> BooleanParser = v => bool.Parse(v);
private static readonly Func<string, int> Int32Parser = v => int.P... | mit | C# |
3f3da52619eb66f012c18083067d1cba3248e136 | Fix concert edit form submission URL. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Views/Concerts/_ConcertEditForm.cshtml | src/CGO.Web/Views/Concerts/_ConcertEditForm.cshtml | @model CGO.Web.ViewModels.ConcertViewModel
@{ Html.EnableClientValidation(); }
@using (Html.BeginForm())
{
@Html.ValidationSummary(false, "Oh dear, the violas made a boo-boo. Please go back and fix the following mistakes:")
<fieldset>
<legend>Concert details</legend>
<h2>Basic Detail... | @model CGO.Web.ViewModels.ConcertViewModel
@{ Html.EnableClientValidation(); }
@using (Html.BeginForm("Create", "Concerts", FormMethod.Post, new { id = "CreateConcert" }))
{
@Html.ValidationSummary(false, "Oh dear, the violas made a boo-boo. Please go back and fix the following mistakes:")
<fieldset>
... | mit | C# |
d6c8ad4d8a045a67110aa932d7d068852edab53f | Update BoundsRectangle.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/Bounds/Shapes/BoundsRectangle.cs | src/Core2D/Editor/Bounds/Shapes/BoundsRectangle.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds.Shapes
{
public class BoundsRectangle : IBo... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds.Shapes
{
public class BoundsRectangle : IBo... | mit | C# |
4cb11d4217ee3b4cbfbd9e6e2b7ea75ae87fa7b0 | Update PointDecorator.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/ViewModels/Decorators/PointDecorator.cs | src/Draw2D/ViewModels/Decorators/PointDecorator.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.Serialization;
namespace Draw2D.ViewModels.Decorators
{
[DataContract(IsReference = true)]
public class PointDecorator : CommonDecora... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.Serialization;
namespace Draw2D.ViewModels.Decorators
{
[DataContract(IsReference = true)]
public class PointDecorator : CommonDecora... | mit | C# |
9dc5dc1f56d9d0798cf66af3d578d9e124c6dc5f | Use Task.Delay instead of manually creating a task from the wait handle | mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs | src/MR.AspNetCore.Jobs/Server/ProcessingContext.cs | src/MR.AspNetCore.Jobs/Server/ProcessingContext.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace MR.AspNetCore.Jobs.Server
{
public class ProcessingContext : IDisposable
{
private IServiceScope _scope;
private ProcessingContext(ProcessingContext other)
{
Provider = other.Provi... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace MR.AspNetCore.Jobs.Server
{
public class ProcessingContext : IDisposable
{
private IServiceScope _scope;
private ProcessingContext(ProcessingContext other)
{
Provider = other.Provi... | mit | C# |
2b8337a37c1870acdf62810305d7d915154ad035 | Check the state before fetching the thread id | lggomez/corefx,destinyclown/corefx,the-dwyer/corefx,Alcaro/corefx,tijoytom/corefx,dotnet-bot/corefx,tstringer/corefx,huanjie/corefx,seanshpark/corefx,benjamin-bader/corefx,ericstj/corefx,andyhebear/corefx,zhenlan/corefx,akivafr123/corefx,uhaciogullari/corefx,elijah6/corefx,s0ne0me/corefx,shmao/corefx,anjumrizwi/corefx,... | src/System.IO.FileSystem/src/System/IO/Iterator.cs | src/System.IO.FileSystem/src/System/IO/Iterator.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
namespace System.IO
{
// Abstract Iterator, borrowed from Linq. Used in anticipation of n... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
namespace System.IO
{
// Abstract Iterator, borrowed from Linq. Used in anticipation of n... | mit | C# |
9dc1eab6ae702550a6c3c8a9c5734183816a870f | Improve code readability of FooterButtonRandom OnPressed | smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Screens/Select/FooterButtonRandom.cs | osu.Game/Screens/Select/FooterButtonRandom.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.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Game.Graphics;
using osu.Game.Input.Bindings;
namespace osu.Gam... | // 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.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Game.Graphics;
using osu.Game.Input.Bindings;
namespace osu.Gam... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.