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 |
|---|---|---|---|---|---|---|---|---|
5c2be27ae32abe5ed174d84ab4cb4c33febb3f82 | Remove unneeded usings | andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,Step... | src/BloomExe/CollectionTab/BloomLibraryLinkVerification.cs | src/BloomExe/CollectionTab/BloomLibraryLinkVerification.cs | using System;
using System.Drawing;
using System.Windows.Forms;
using L10NSharp;
namespace Bloom.CollectionTab
{
public partial class BloomLibraryLinkVerification : Form
{
public BloomLibraryLinkVerification()
{
InitializeComponent();
}
private void Initialize()
{
// Set localized caption
Text =... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using L10NSharp;
namespace Bloom.CollectionTab
{
public partial class BloomLibraryLinkVerifi... | mit | C# |
82fda81707a7c746185b294a1f73b9f7e1f4ace1 | Update the formatting analyzer to IDE0054 | jasonmalinowski/roslyn,AmadeusW/roslyn,DustinCampbell/roslyn,heejaechang/roslyn,reaction1989/roslyn,AlekseyTs/roslyn,nguerrera/roslyn,physhi/roslyn,jmarolf/roslyn,agocke/roslyn,jasonmalinowski/roslyn,DustinCampbell/roslyn,abock/roslyn,xasx/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,abock/roslyn,physhi/roslyn,CyrusNa... | src/CodeStyle/Core/CodeFixes/AbstractFormattingAnalyzer.cs | src/CodeStyle/Core/CodeFixes/AbstractFormattingAnalyzer.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.IO;
using System.Reflection;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal ... | // 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Mic... | mit | C# |
950d58f6de8d68fb5c9503e191cc1217e22126c4 | Improve FDO->Mongo unit test even further | sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge | src/LfMerge.Tests/Actions/UpdateFdoFromMongoActionTests.cs | src/LfMerge.Tests/Actions/UpdateFdoFromMongoActionTests.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using Autofac;
using LfMerge.Actions;
using LfMerge.LanguageForge.Model;
using LfMerge.MongoConnector;
using LfMerge.Tests;
using MongoDB.Bson;
using MongoDB.Driver;
using Moq;
using Newtonso... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using Autofac;
using LfMerge.Actions;
using LfMerge.LanguageForge.Model;
using LfMerge.MongoConnector;
using LfMerge.Tests;
using MongoDB.Bson;
using MongoDB.Driver;
using Moq;
using Newtonso... | mit | C# |
fb1c232eb576a4923273d318a30d9742cc03fabf | Apply date formatting | simonray/ContosoUniversity.vNext,simonray/ContosoUniversity.vNext | src/ContosoUniversity.Website/ViewModels/EnrollmentDateGroup.cs | src/ContosoUniversity.Website/ViewModels/EnrollmentDateGroup.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace ContosoUniversity.ViewModels
{
public class EnrollmentDateGroup
{
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
public DateTime? EnrollmentDate { get; set... | using System;
using System.ComponentModel.DataAnnotations;
namespace ContosoUniversity.ViewModels
{
public class EnrollmentDateGroup
{
[DataType(DataType.Date)]
public DateTime? EnrollmentDate { get; set; }
public int StudentCount { get; set; }
}
} | mit | C# |
4f638ad744dd0cd58d8e26fbb7f3bc1f06e089aa | Fix correct dialog | fredatgithub/Matrix | TheMatrixHasYou/FormMain.cs | TheMatrixHasYou/FormMain.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace TheMatrixHasYou
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
private readonly string[] _texte = {"Wake up Neo....", "The Matrix has you....", "Follow the white rabbit....", "Kn... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace TheMatrixHasYou
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
private readonly string[] _texte = {"Knock knock Neo..","Wake up Neo....", "The Matrix has you....", "Follow the wh... | mit | C# |
d14fda084b65bc276dcab8b6eb96a2a786a0ca2d | Fix newlines in the first run experience message | harshjain2/cli,dasMulli/cli,MichaelSimons/cli,johnbeisner/cli,naamunds/cli,ravimeda/cli,jonsequitur/cli,naamunds/cli,naamunds/cli,svick/cli,MichaelSimons/cli,EdwardBlair/cli,weshaggard/cli,naamunds/cli,blackdwarf/cli,nguerrera/cli,Faizan2304/cli,weshaggard/cli,blackdwarf/cli,livarcocc/cli-1,weshaggard/cli,weshaggard/cl... | src/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs | src/Microsoft.DotNet.Configurer/DotnetFirstTimeUseConfigurer.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.Extensions.EnvironmentAbstractions;
namespace Microsoft.DotNet.Configurer
{
... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.Extensions.EnvironmentAbstractions;
namespace Microsoft.DotNet.Configurer
{
... | mit | C# |
dd17fb4f844e280907598162de914fb75bf8e8da | Refactor message passing method. | nealterrell/NetrunnerOBS | Prototype/NetrunnerCardImageSourceFactory.cs | Prototype/NetrunnerCardImageSourceFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CLROBS;
using System.Windows;
namespace NetrunnerOBS {
/// <summary>
/// Factory registered with the OBS API so OBS can create our source object
/// when needed.
/// </summary>
public class N... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CLROBS;
using System.Windows;
namespace NetrunnerOBS {
/// <summary>
/// Factory registered with the OBS API so OBS can create our source object
/// when needed.
/// </summary>
public class N... | mit | C# |
ed7ce31aba08686c87569c39d9657683824e6291 | change service return value | RopeLEAP/rope,RopeLEAP/rope,RopeLEAP/rope | RopeWebApp2/Controllers/RopeApiController.cs | RopeWebApp2/Controllers/RopeApiController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using RopeTest;
using RopeWebApp2.Services;
using RopeWebApp2.Models;
namespace RopeWebApp2.Controllers
{
public class RopeApiController : ApiController
{
public HttpRespo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using RopeTest;
using RopeWebApp2.Services;
using RopeWebApp2.Models;
namespace RopeWebApp2.Controllers
{
public class RopeApiController : ApiController
{
public HttpRespo... | mit | C# |
9561ce6223cf98a93a5832a486b0f6fe4e7059a6 | Fix broken db connection | schlos/denver-schedules-api,schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api | Schedules.API/Repositories/RepositoryBase.cs | Schedules.API/Repositories/RepositoryBase.cs | using System;
using System.Configuration;
using System.Data.Common;
using Npgsql;
namespace Schedules.API.Repositories
{
public class RepositoryBase: IDisposable
{
private const string providerKey = "GEOSPATIAL-PROVIDER-NAME";
private const string connectionKey = "GEOSPATIAL-CONNECTION-STRING";
public... | using System;
using System.Configuration;
using System.Data.Common;
using Npgsql;
namespace Schedules.API.Repositories
{
public class RepositoryBase: IDisposable
{
private const string connectionName = "geospatial";
public DbConnection connection;
public RepositoryBase ()
{
connection = Get... | mit | C# |
dc23e29d137a1c27b89c3953ba402c065cb88904 | Fix Typo in Unix Lock/Unlock PAL | kyulee1/coreclr,alexperovich/coreclr,jamesqo/coreclr,sjsinju/coreclr,tijoytom/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,cydhaselton/coreclr,yeaicc/coreclr,cshung/coreclr,hseok-oh/coreclr,ragmani/coreclr,krk/coreclr,mskvortsov/coreclr,neurospeech/coreclr,botaberg/coreclr,botaberg/coreclr,krytarowski/coreclr,ragm... | src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Fcntl.cs | src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Fcntl.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.Runtime.InteropServices;
internal static partial class Interop
{
internal static par... | // 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.Runtime.InteropServices;
internal static partial class Interop
{
internal static par... | mit | C# |
80d557570b9c4558b981c8fe6eb13afce08e00dd | Fix StyleCop warning SA1015 (closing generic brace spacing) | shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,erics... | src/Common/src/CoreLib/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs | src/Common/src/CoreLib/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.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.
#pragma warning disable IDE0060 // unused parameters
using System.Runtime.CompilerServices;
namespace System.Runtim... | // 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.
#pragma warning disable IDE0060 // unused parameters
using System.Runtime.CompilerServices;
namespace System.Runtim... | mit | C# |
54a03946a6b8573fb6ef7e8b8718c4df10683b59 | Remove {Os,Data}VolumeEncryptionSettingsText | zhencui/azure-powershell,zhencui/azure-powershell,AzureAutomationTeam/azure-powershell,yoavrubin/azure-powershell,atpham256/azure-powershell,yantang-msft/azure-powershell,Matt-Westphal/azure-powershell,krkhan/azure-powershell,krkhan/azure-powershell,nemanja88/azure-powershell,jtlibing/azure-powershell,arcadiahlyy/azure... | src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.cs | src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.cs | using Microsoft.Azure.Management.Compute.Models;
using Newtonsoft.Json;
namespace Microsoft.Azure.Commands.Compute.Models
{
enum EncryptionStatus
{
Encrypted,
NotEncrypted,
Unknown
}
class AzureDiskEncryptionStatusContext
{
public EncryptionStatus OsVolumeEncrypted... | using Microsoft.Azure.Management.Compute.Models;
using Newtonsoft.Json;
namespace Microsoft.Azure.Commands.Compute.Models
{
enum EncryptionStatus
{
Encrypted,
NotEncrypted,
Unknown
}
class AzureDiskEncryptionStatusContext
{
public EncryptionStatus OsVolumeEncrypted... | apache-2.0 | C# |
523c0b1ca27649fd3411715d4bad18a80a98458b | simplify name | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Audio/MusicPlayer.cs | TwitchPlaysAssembly/Src/Audio/MusicPlayer.cs | using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MusicPlayer : MonoBehaviour
{
private static Dictionary<string, MusicPlayer> _musicPlayers = new Dictionary<string, MusicPlayer>();
public AudioSource startInterruptSound = null;
public AudioSource music... | using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MusicPlayer : MonoBehaviour
{
private static Dictionary<string, MusicPlayer> _musicPlayers = new Dictionary<string, MusicPlayer>();
public AudioSource startInterruptSound = null;
public AudioSource music... | mit | C# |
3916ea80a23fe913145dd7ed8dc0f7695ceef9cd | Remove some debug spew. | mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/mano... | src/Manos/Manos.Collections/ByteBuffer.cs | src/Manos/Manos.Collections/ByteBuffer.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.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 without restriction, including
// without limitation the rights to use,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.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 without restriction, including
// without limitation the rights to use,... | mit | C# |
7a687f920986dcc867470934014fca618f72e9de | adjust textarea length should not more than 100 | hatelove/MyMvcHomework,hatelove/MyMvcHomework,hatelove/MyMvcHomework | MyMoney/MyMoney/Models/ViewModels/AccountingViewModel.cs | MyMoney/MyMoney/Models/ViewModels/AccountingViewModel.cs | using MyMoney.Models.CustomValidationAttributes;
using MyMoney.Models.Enums;
using System;
using System.ComponentModel.DataAnnotations;
namespace MyMoney.Models.ViewModels
{
public class AccountingViewModel
{
[Display(Name = "金額")]
[DisplayFormat(DataFormatString = "{0:N0}")]
[Range(0,... | using MyMoney.Models.CustomValidationAttributes;
using MyMoney.Models.Enums;
using System;
using System.ComponentModel.DataAnnotations;
namespace MyMoney.Models.ViewModels
{
public class AccountingViewModel
{
[Display(Name = "金額")]
[DisplayFormat(DataFormatString = "{0:N0}")]
[Range(0,... | mit | C# |
79c05c804db5749bfb58433960939a13059d8e0d | Improve SA1407 and SA1408 fix all provider | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1407SA1408FixAllProvider.cs | StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1407SA1408FixAllProvider.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.MaintainabilityRules
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Micro... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.MaintainabilityRules
{
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft... | mit | C# |
74225c5e0d7d5f8f61303ff8398c6c9f2ff71c48 | Add variable types | missionpinball/unity-bcp-server | Assets/BCP/Scripts/PlayMaker/GetBCPMachineVariableChange.cs | Assets/BCP/Scripts/PlayMaker/GetBCPMachineVariableChange.cs | using UnityEngine;
using System;
using HutongGames.PlayMaker;
using TooltipAttribute = HutongGames.PlayMaker.TooltipAttribute;
using BCP.SimpleJSON;
/// <summary>
/// Custom PlayMaker action for MPF that sends an Event when an MPF 'machine_variable' command is received
/// (when the machine variable changes).
/// </s... | using UnityEngine;
using System;
using HutongGames.PlayMaker;
using TooltipAttribute = HutongGames.PlayMaker.TooltipAttribute;
/// <summary>
/// Custom PlayMaker action for MPF that sends an Event when an MPF 'machine_variable' command is received
/// (when the machine variable changes).
/// </summary>
[ActionCategor... | mit | C# |
6c47efb2a0197f0772049b1f94359beee8867fc3 | Update version number | yas-mnkornym/TaihaToolkit | source/TaihaToolkit.Core/Properties/AssemblyInfo.cs | source/TaihaToolkit.Core/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TaihaToolkit.Core")]
[assembly: AssemblyDescription("大破してすまない")]
[assembly: As... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TaihaToolkit.Core")]
[assembly: AssemblyDescription("大破してすまない")]
[assembly: As... | mit | C# |
949cca9405acb7cd99a06508a244facffe0c0f75 | Improve Local Toast notifier | Odonno/Modern-GitHub | GitHub/GitHub.Services/Concrete/LocalNotificationService.cs | GitHub/GitHub.Services/Concrete/LocalNotificationService.cs | using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
using GitHub.Services.Abstract;
namespace GitHub.Services.Concrete
{
public class LocalNotificationService : ILocalNotificationService
{
public void SendNotification(string title, string content)
{
// Send any notification... | using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
using GitHub.Services.Abstract;
namespace GitHub.Services.Concrete
{
public class LocalNotificationService : ILocalNotificationService
{
public void SendNotification(string title, string content)
{
// Send any notification... | apache-2.0 | C# |
9de047cfebbaacce21f6371033514b14150773da | Fix usings | BrutalCode/NLog,snakefoot/NLog,littlesmilelove/NLog,AndreGleichner/NLog,tohosnet/NLog,bjornbouetsmith/NLog,bryjamus/NLog,ie-zero/NLog,kevindaub/NLog,tetrodoxin/NLog,hubo0831/NLog,bjornbouetsmith/NLog,luigiberrettini/NLog,luigiberrettini/NLog,littlesmilelove/NLog,MoaidHathot/NLog,UgurAldanmaz/NLog,bhaeussermann/NLog,ie-... | src/NLog/Internal/StringBuilderExt.cs | src/NLog/Internal/StringBuilderExt.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLog.Config;
namespace NLog.Internal
{
/// <summary>
/// Helpers for <see cref="StringBuilder"/>, which is used in e.g. layout renderers.
/// </summary>
internal static class StringBuilderExt
{
/// ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog.Config;
namespace NLog.Internal
{
/// <summary>
/// Helpers for <see cref="StringBuilder"/>, which is used in e.g. layout renderers.
/// </summary>
internal static class Strin... | bsd-3-clause | C# |
649ebe5866a5ae6b1fe18e62995ab7a6d02bbe30 | Test query by id | VictorNicollet/SocialToolBox | SocialToolBox.Core.Tests/Entity/Web/EntityPage/view_page.cs | SocialToolBox.Core.Tests/Entity/Web/EntityPage/view_page.cs | using NUnit.Framework;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Mocks.Entity;
using SocialToolBox.Core.Present;
using SocialToolBox.Core.Web.Response;
namespace SocialToolBox.Core.Tests.Entity.Web.EntityPage
{
[TestFixture]
public class view_page : MockFixture
{
[Test]
p... | using NUnit.Framework;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Present;
using SocialToolBox.Core.Web.Response;
namespace SocialToolBox.Core.Tests.Entity.Web.EntityPage
{
[TestFixture]
public class view_page : MockFixture
{
[Test]
public void get_empty()
{
... | mit | C# |
c12e0bd48fad29cbe3595bae3eb1f6b51f9f90c8 | Use LINQ Work Item #1799 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Metadata/ChildPropertyCollection.cs | trunk/Solutions/CslaGenFork/Metadata/ChildPropertyCollection.cs | using System.Collections.Generic;
using System.Linq;
namespace CslaGenerator.Metadata
{
public class ChildPropertyCollection : List<ChildProperty>
{
public ChildProperty Find(string name)
{
if (name == string.Empty)
return null;
/*foreach (va... | using System.Collections.Generic;
namespace CslaGenerator.Metadata
{
public class ChildPropertyCollection : List<ChildProperty>
{
public ChildProperty Find(string name)
{
foreach (var c in this)
{
if (c.Name.Equals(name))
re... | mit | C# |
ad4f5e45bb7d48694c752a90d7ddf464ef4c8600 | add jobid validation | mzrimsek/resume-site-api | Web/Models/JobProjectModels/AddUpdateJobProjectViewModel.cs | Web/Models/JobProjectModels/AddUpdateJobProjectViewModel.cs | using System.ComponentModel.DataAnnotations;
namespace Web.Models.JobProjectModels
{
public class AddUpdateJobProjectViewModel
{
[Required]
[Range(1, double.PositiveInfinity, ErrorMessage = "Invalid Job ID")]
public int JobId { get; set; }
[Required]
public string Name {... | using System.ComponentModel.DataAnnotations;
namespace Web.Models.JobProjectModels
{
public class AddUpdateJobProjectViewModel
{
[Required]
public int JobId { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string Description { get; set;... | mit | C# |
3c901984bd33638411e3a53bb0219f5674185bf4 | Allow redirectUrl and custom layout on home page | brondavies/wwwplatform.net,brondavies/wwwplatform.net,brondavies/wwwplatform.net | src/web/Controllers/HomeController.cs | src/web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using wwwplatform.Extensions;
using wwwplatform.Models;
namespace wwwplatform.Controllers
{
public class HomeController : BaseController
{
public ActionResult Index()
{
var pa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using wwwplatform.Extensions;
using wwwplatform.Models;
namespace wwwplatform.Controllers
{
public class HomeController : BaseController
{
public ActionResult Index()
{
var pa... | apache-2.0 | C# |
a92e361164334b6faa3669c34a8e14e2fb7aa39d | Remove Test1Async | Asesjix/Zammad-Client | test/Zammad.Client.Tests/UnitTest1.cs | test/Zammad.Client.Tests/UnitTest1.cs | using System;
using System.Threading.Tasks;
using Xunit;
namespace Zammad.Client.Tests
{
public class UnitTest1
{
[Fact]
public async Task Test1Async()
{
}
}
}
| using System;
using System.Threading.Tasks;
using Xunit;
namespace Zammad.Client.Tests
{
public class UnitTest1
{
[Fact]
public async Task Test1Async()
{
var account = ZammadAccount.CreateTokenAccount("http", "zammad-soft", "vatTlijkbmZYcIYQ1qhw8t6FIENwclwXYKQKPah34GKlolMb5e... | apache-2.0 | C# |
7cb73eb73575bb36110de3653652b798247167f5 | Replace the caching queue in the GlobalSongCache with a much simpler and more resource-friendly semaphore | flagbug/Espera,punker76/Espera | Espera/Espera.Core/Management/GlobalSongCache.cs | Espera/Espera.Core/Management/GlobalSongCache.cs | using Rareform.Validation;
using System.Threading;
using System.Threading.Tasks;
namespace Espera.Core.Management
{
internal sealed class GlobalSongCacheQueue
{
private static GlobalSongCacheQueue instance;
private readonly SemaphoreSlim countblock;
private GlobalSongCacheQueue()
... | using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Rareform.Validation;
namespace Espera.Core.Management
{
internal sealed class GlobalSongCacheQueue
{
private static GlobalSongCacheQueue instance;
private readonly ConcurrentQueue<Song> cachingQueu... | mit | C# |
07d3afef35f6ec477d8ab5868012e745ba14db4f | Update SplitPanes.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Worksheets/Display/SplitPanes.cs | Examples/CSharp/Worksheets/Display/SplitPanes.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class SplitPanes
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetD... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class SplitPanes
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection... | mit | C# |
3fb3e51c45ad1b4bce96d5cf4eff778b93a03e8b | add test for Solve() | wwylele/Picrosser | test/SolverTest.cs | test/SolverTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Picrosser;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace PicrosserTest {
[TestClass]
public class SolverTest {
[TestMethod]
public void TestSolveBySearching() {
Question questio... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Picrosser;
using System.Collections.Generic;
using System.Linq;
namespace PicrosserTest {
[TestClass]
public class SolverTest {
[TestMethod]
public void TestSolveBySearching() {
Question question = new Question(... | mit | C# |
f561312ea936d5dd8e85567ab803a16c36e3ff73 | Clarify comment about MSBuildLoadContext test | mono/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,cdmihai/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,cdmihai/msbuild,rainersigwald/msbuild,mono/msbuild,cdmihai/msbuild,AndyGerlicher/msbuild,AndyGerlicher/msbuild,cdmihai/msbuild,mono/msbuild,sean-gilliam/msbuild,r... | src/MSBuild.UnitTests/ValidateAssemblyLoadContext.cs | src/MSBuild.UnitTests/ValidateAssemblyLoadContext.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if FEATURE_ASSEMBLYLOADCONTEXT
using Microsoft.Build.Framework;
using Microsoft.Build.Shared;
using Microsoft.Build.Utilities;
using System.Runtime.Loader;
namespac... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if FEATURE_ASSEMBLYLOADCONTEXT
using Microsoft.Build.Framework;
using Microsoft.Build.Shared;
using Microsoft.Build.Utilities;
using System.Runtime.Loader;
namespac... | mit | C# |
ffbd0804f023ecb353e86c859730807d81c8d3dc | make naming in assembly more consistant hassymbol's' | mono/debugger-libs,mono/debugger-libs | Mono.Debugging/Mono.Debugging.Client/Assembly.cs | Mono.Debugging/Mono.Debugging.Client/Assembly.cs | //
// Assembly.cs
//
// Author:
// Jonathan Chang <t-jochang@microsoft.com>
//
// Copyright (c) 2022
//
// 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, includin... | //
// Assembly.cs
//
// Author:
// Jonathan Chang <t-jochang@microsoft.com>
//
// Copyright (c) 2022
//
// 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, includin... | mit | C# |
a621f74a8b36d18b6a464c7c8edec98311bd3044 | Fix DocAsUpsert test: id was not specified | robertlyson/elasticsearch-net,tkirill/elasticsearch-net,abibell/elasticsearch-net,RossLieberman/NEST,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,wawrzyn/elasticsearch-net,tkirill/elasticsearch-net,SeanKilleen/elasticsearch-net,LeoYao/elasticsearch-net,DavidSSL/elasticsearch-net,geofeedia/elasticsearch-net... | src/Tests/Nest.Tests.Integration/Core/UpdateTests.cs | src/Tests/Nest.Tests.Integration/Core/UpdateTests.cs | using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Core
{
[TestFixture]
public class UpdateIntegrationTests : IntegrationTests
{
[Test]
public void TestUpdate()
{
var project = this._client.Source<ElasticsearchProject>(s => s.Id(1));
Assert.NotNull(project);
As... | using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Core
{
[TestFixture]
public class UpdateIntegrationTests : IntegrationTests
{
[Test]
public void TestUpdate()
{
var project = this._client.Source<ElasticsearchProject>(s => s.Id(1));
Assert.NotNull(project);
As... | apache-2.0 | C# |
2d2122137f88bc606a8d744637e07bc6addaa4e6 | Handle null id for Cars/Details action | aromdee04/tdd-carfuel,aromdee04/tdd-carfuel,aromdee04/tdd-carfuel | CarFuel/Controllers/CarsController.cs | CarFuel/Controllers/CarsController.cs | using CarFuel.Models;
using CarFuel.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using CarFuel.DataAccess;
using System.Net;
namespace CarFuel.Controllers
{
public class CarsController : Controller
{
... | using CarFuel.Models;
using CarFuel.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using CarFuel.DataAccess;
namespace CarFuel.Controllers
{
public class CarsController : Controller
{
//private stati... | mit | C# |
aecfd114000c3f9978ea31d4aedd81bdb23c4a9b | Fix typos in Interactivity enum. | Alan-Lun/git-p3 | Cli-CredentialHelper/Interactivity.cs | Cli-CredentialHelper/Interactivity.cs | namespace Microsoft.TeamFoundation.CredentialHelper
{
/// <summary>
/// Level of interactivity allowed and enabled.
/// </summary>
internal enum Interactivity
{
/// <summary>
/// Present an interactive logon prompt when necessary, otherwise use cached credentials
/// </summa... | namespace Microsoft.TeamFoundation.CredentialHelper
{
/// <summary>
/// Level of interactivity allowed and enabled.
/// </summary>
internal enum Interactivity
{
/// <summary>
/// Present an interactive logon prompt when necissary, otherwise used cached credentials
/// </summ... | mit | C# |
32c5cab5ad4ce7043d3c27cded2929775794d528 | Make AliasMatcher implement IAliasMatcher | appharbor/appharbor-cli | src/AppHarbor/AliasMatcher.cs | src/AppHarbor/AliasMatcher.cs | using System;
namespace AppHarbor
{
public class AliasMatcher : IAliasMatcher
{
public Type GetMatchedType(string commandArgument)
{
throw new NotImplementedException();
}
}
}
| namespace AppHarbor
{
public class AliasMatcher
{
}
}
| mit | C# |
e76eb1641a28232570398124ee7b9a9b8f38d134 | Address review comment. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/extractor/Semmle.Extraction/Symbol.cs | csharp/extractor/Semmle.Extraction/Symbol.cs | namespace Semmle.Extraction
{
/// <summary>
/// An abstract symbol, which encapsulates a data type (such as a C# symbol).
/// </summary>
/// <typeparam name="Initializer">The type of the symbol.</typeparam>
public abstract class CachedEntity<Initializer> : ICachedEntity
{
public CachedEn... | namespace Semmle.Extraction
{
/// <summary>
/// An abstract symbol, which encapsulates a data type (such as a C# symbol).
/// </summary>
/// <typeparam name="Initializer">The type of the symbol.</typeparam>
public abstract class CachedEntity<Initializer> : ICachedEntity
{
public CachedEn... | mit | C# |
8f4b3131d9faff844bf4ea128aacbb53f5e076b0 | remove Test from test names | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs | ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class CreateTaskTests : AssertionHelper
{
[Test]
public void DescriptionAndNoDueDate()
{
var ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class CreateTaskTests : AssertionHelper
{
[Test]
public void TestDescriptionAndNoDueDate()
{
... | apache-2.0 | C# |
b63b71ab30e897c4a7d5064829cdb3c8688fd144 | Add a test that actually validates if keys are set as expected. | keenlabs/keen-sdk-net | Keen.NetStandard.Test/ProjectSettingsProviderTest.cs | Keen.NetStandard.Test/ProjectSettingsProviderTest.cs | using System;
using NUnit.Framework;
namespace Keen.NetStandard.Tests
{
[TestFixture]
class ProjectSettingsProviderTest
{
[Test]
public void Settings_DefaultInputs_Success()
{
Assert.DoesNotThrow(() => new ProjectSettingsProvider("X", null));
}
[Test]
... | using System;
using NUnit.Framework;
namespace Keen.NetStandard.Tests
{
[TestFixture]
class ProjectSettingsProviderTest
{
[Test]
public void Settings_DefaultInputs_Success()
{
Assert.DoesNotThrow(() => new ProjectSettingsProvider("X", null));
}
[Test]
... | mit | C# |
157f42d16f4632a85ca96b1c07dc3b1c0c99b16c | Update ObjectFillerTest.cs | blmeyers/ObjectFiller.NET,DoubleLinePartners/ObjectFiller.NET,Tynamix/ObjectFiller.NET,HerrLoesch/ObjectFiller.NET | ObjectFiller.Test/ObjectFillerTest.cs | ObjectFiller.Test/ObjectFillerTest.cs | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.Person;
using Tynamix.ObjectFiller;
namespace ObjectFiller.Test
{
[TestClass]
public class ObjectFillerTest
{
[TestMethod]
public void TestFillPerson()
... | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.Person;
using Tynamix.ObjectFiller;
namespace ObjectFiller.Test
{
[TestClass]
public class ObjectFillerTest
{
[TestMethod]
public void TestFillPerson()
... | mit | C# |
f160904f2088478c6eff12769a3ae2963ce6e4ee | Add integration test for same. | marek-vysoky/box-windows-sdk-v2,box/box-windows-sdk-v2,iLovebooks100per/box-windows-sdk-v2,varungu/box-windows-sdk-v2,JogyBlack/box-windows-sdk-v2,themanfrommsu/Box1 | Box.V2.Test.Integration/BoxUsersManagerTestIntegration.cs | Box.V2.Test.Integration/BoxUsersManagerTestIntegration.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Box.V2.Models;
using System.Threading.Tasks;
namespace Box.V2.Test.Integration
{
[TestClass]
public class BoxUsersManagerTestIntegration : BoxResourceManagerTestIntegration
{
[TestMethod]
public asy... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Box.V2.Models;
using System.Threading.Tasks;
namespace Box.V2.Test.Integration
{
[TestClass]
public class BoxUsersManagerTestIntegration : BoxResourceManagerTestIntegration
{
[TestMethod]
public async Task UsersInform... | apache-2.0 | C# |
bf85f4affb1eca46513b17dd2442b40df78cce32 | Fix editor crashing when loading a beatmap for an unsupported ruleset | peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,2yangk23/osu,ppy/osu,EVAST9919/osu | osu.Game/Screens/Edit/Compose/ComposeScreen.cs | osu.Game/Screens/Edit/Compose/ComposeScreen.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components.Timeline;
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 osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components.Timeline;
using osu.Ga... | mit | C# |
8da499fb0fc1b1e0febcac88cccda792707a5da6 | Add proper test coverage | peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game.Tests/Visual/Online/TestSceneExternalLinkButton.cs | osu.Game.Tests/Visual/Online/TestSceneExternalLinkButton.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 osu.Framework.Graphics;
using osu.Game.Graphics.Cursor;
using osu.Game.Graphics.UserInterface;
using osuTK;
namespace osu.Game.Tests.Visual.Onl... | // 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 osu.Game.Graphics.UserInterface;
using osuTK;
namespace osu.Game.Tests.Visual.Online
{
public class TestSceneExternalLinkButton : OsuTestSc... | mit | C# |
c2bdce80c9da0fab181b6b87b4a0eb3da8c65d51 | Use FFXIResourceManager.GetAreaName() instead of relying on the special behaviour of FFXIResourceManager.GetResourceString(). | graspee/polutils,Vicrelant/polutils,graspee/polutils,Vicrelant/polutils | PlayOnline.FFXI.Utils.StrangeApparatus/MainWindow.cs | PlayOnline.FFXI.Utils.StrangeApparatus/MainWindow.cs | // $Id$
// Copyright 2004-2010 Tim Van Holder
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | // $Id$
// Copyright 2004-2010 Tim Van Holder
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | apache-2.0 | C# |
e37b34c96a246190e7d413f168ae7610bced7155 | add extension method | aritchie/bluetoothle,aritchie/bluetoothle | Plugin.BluetoothLE.Abstractions/Extensions_Device.cs | Plugin.BluetoothLE.Abstractions/Extensions_Device.cs | using System;
using System.Reactive.Linq;
namespace Plugin.BluetoothLE
{
public static partial class Extensions
{
public static IObservable<IGattCharacteristic> GetKnownCharacteristics(this IDevice device, Guid serviceUuid, params Guid[] characteristicIds)
=> device
.GetKn... | using System;
using System.Reactive.Linq;
namespace Plugin.BluetoothLE
{
public static partial class Extensions
{
public static IObservable<IGattCharacteristic> WhenAnyCharacteristicDiscovered(this IDevice device)
{
return device.WhenServiceDiscovered().SelectMany(x => x.WhenChara... | mit | C# |
cee79d0c3aa9fb23c0df65d905dc81411355870e | remove buffer clear | ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,etishor/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metric... | Src/Metrics/Reporters/StringReport.cs | Src/Metrics/Reporters/StringReport.cs | using System;
using System.Text;
using System.Threading;
using Metrics.MetricData;
namespace Metrics.Reporters
{
public class StringReport : HumanReadableReport
{
public static string RenderMetrics(MetricsData metricsData, Func<HealthStatus> healthStatus)
{
var report = new StringR... | using System;
using System.Text;
using System.Threading;
using Metrics.MetricData;
namespace Metrics.Reporters
{
public class StringReport : HumanReadableReport
{
public static string RenderMetrics(MetricsData metricsData, Func<HealthStatus> healthStatus)
{
var report = new StringR... | apache-2.0 | C# |
93dbfd14826a4eec1f2c30a5f72d588da4f6420a | Make Master/Detail sample not rely on WPF magic | canton7/Stylet,canton7/Stylet | Samples/Stylet.Samples.MasterDetail/EmployeeModel.cs | Samples/Stylet.Samples.MasterDetail/EmployeeModel.cs | using System;
namespace Stylet.Samples.MasterDetail
{
public class EmployeeModel : PropertyChangedBase
{
private string _name;
public string Name
{
get { return this._name; }
set { this.SetAndNotify(ref this._name, value); }
}
}
}
| using System;
namespace Stylet.Samples.MasterDetail
{
public class EmployeeModel
{
public string Name { get; set; }
}
}
| mit | C# |
65c80434d83b500e46aad3c66e34a099c1445cc6 | Update demo | sunkaixuan/SqlSugar | Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Config.cs | Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Config.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
/// <summary>
/// Setting up the database name does not require you to create the database
/// 设置好数据库名不需要你去手动建库
/// </summary>
public class Config
{
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
/// <summary>
/// Setting up the database name does not require you to create the database
/// 设置好数据库名不需要你去手动建库
/// </summary>
public class Config
{
/... | apache-2.0 | C# |
e59ad9a5971adc1cb16c81af04cb8f0829193631 | expand to container | darrenkopp/SassyStudio | SassyStudio.2012/Intellisense/CompletionContextBuilder.cs | SassyStudio.2012/Intellisense/CompletionContextBuilder.cs | using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using SassyStudio.Compiler.Parsing;
using SassyStudio.Editor;
namespace SassyStudio.Intellisense
{
interface ICompletionContextBuilder
{
SassCompletionContext Create(ITrackingSpan span, SassEd... | using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using SassyStudio.Compiler.Parsing;
using SassyStudio.Editor;
namespace SassyStudio.Intellisense
{
interface ICompletionContextBuilder
{
SassCompletionContext Create(ITrackingSpan span, SassEd... | mit | C# |
ca08a19c409e4a454a0d6a66d7ce57d2ea845228 | Rename mod to modIcon | NeoAdonis/osu,ppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu | osu.Game.Tournament/Components/TournamentModDisplay.cs | osu.Game.Tournament/Components/TournamentModDisplay.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.... | mit | C# |
a2b4f05ebe311527ec77351c293f5a111e5535a7 | add border radius and shadow | UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Overlays/Changelog/ChangelogSupporterPromo.cs | osu.Game/Overlays/Changelog/ChangelogSupporterPromo.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.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects;
using osu.Fr... | // 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.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.G... | mit | C# |
2274b90d8248420495387cb24e611fdfff3e0422 | delete active class | alisonvogel12/personalsite,alisonvogel12/personalsite | AlisonVogel.Web/Views/Shared/NavBar.cshtml | AlisonVogel.Web/Views/Shared/NavBar.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery... | mit | C# |
a1298834b991576f4dbd9b5fcd330deca8233724 | Update EthGetUncleByBlockNumberAndIndex.cs | Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum | src/Nethereum.RPC/Eth/Uncles/EthGetUncleByBlockNumberAndIndex.cs | src/Nethereum.RPC/Eth/Uncles/EthGetUncleByBlockNumberAndIndex.cs | using System.Threading.Tasks;
using EdjCase.JsonRpc.Core;
using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.RPC.Eth.Uncles
{
/// <Summary>
/// eth_getUncleCountByBlockHash
/// Returns the number of uncles in a block from a block matching... | using System.Threading.Tasks;
using EdjCase.JsonRpc.Core;
using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.RPC.Eth.Uncles
{
/// <Summary>
/// eth_getUncleCountByBlockHash
/// Returns the number of uncles in a block from a block matching... | mit | C# |
82d5a1338e32d32fcd7cc48f2fc95b628520bea0 | Use preprocessor check for editor mode to fix build failure | mysticfall/Alensia | Assets/Alensia/Demo/Controller/MainMenu.cs | Assets/Alensia/Demo/Controller/MainMenu.cs | using Alensia.Core.UI;
using UniRx;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Alensia.Demo.Controller
{
public class MainMenu : Box
{
protected readonly CompositeDisposable Observers;
public MainMenu(IUIManager manager) : base(
new BoxLayout(BoxLayout.... | using Alensia.Core.UI;
using UniRx;
using UnityEditor;
using UnityEngine;
namespace Alensia.Demo.Controller
{
public class MainMenu : Box
{
protected readonly CompositeDisposable Observers;
public MainMenu(IUIManager manager) : base(
new BoxLayout(BoxLayout.BoxOrientation.Vertical)... | apache-2.0 | C# |
e6c57e24bb0b5eccbfbb8c1187c7f9e9b101eb50 | use tenant id as the value for facility owner field | dzimchuk/book-fast,dzimchuk/book-fast,dzimchuk/book-fast | src/BookFast/Infrastructure/SecurityContextProvider.cs | src/BookFast/Infrastructure/SecurityContextProvider.cs | using System.Security.Claims;
using BookFast.Business;
namespace BookFast.Infrastructure
{
internal class SecurityContextProvider : ISecurityContext, ISecurityContextAcceptor
{
private const string TenantIdClaimType = "book-fast-tenant-id";
public ClaimsPrincipal Principal { get; set; }
... | using System.Security.Claims;
using BookFast.Business;
namespace BookFast.Infrastructure
{
internal class SecurityContextProvider : ISecurityContext, ISecurityContextAcceptor
{
public ClaimsPrincipal Principal { get; set; }
public string GetCurrentUser()
{
if (Principal ==... | mit | C# |
a224d820de1f5dfbd8cbaba378cb59b6510d0d7c | Set version to 2.0 | enkol/IS24RestApi,mganss/IS24RestApi | IS24RestApi/Properties/AssemblyInfo.cs | IS24RestApi/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("IS... | 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("IS... | apache-2.0 | C# |
b02b1b3345a7d0c67a6c37faea9f548c94379671 | Remove unused import in Startup | amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre | src/TeamCityTheatre.Web/Startup.cs | src/TeamCityTheatre.Web/Startup.cs | using System;
using System.Reflection;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using TeamCityTheatre... | using System;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using TeamCityTheatre.Core;
using TeamCityThea... | mit | C# |
6a3ca717c9dbaa8e50d877f73cc268b0285223f6 | Test git credentials | SimoPrG/Web-Services-and-Cloud-Homework,SimoPrG/Web-Services-and-Cloud-Homework,SimoPrG/Web-Services-and-Cloud-Homework | ConsumingWebServices/NewsClient/Program.cs | ConsumingWebServices/NewsClient/Program.cs | // Write a console application, which searches for news articles by given a query string and a count
// of articles to retrieve. The application should ask the user for input and print the Titles and
// URLs of the articles. For news articles search, use the Feedzilla API and use one of WebClient,
// HttpWebRequest or... | // Write a console application, which searches for news articles by given a query string and a count
// of articles to retrieve. The application should ask the user for input and print the Titles and
// URLs of the articles. For news articles search, use the Feedzilla API and use one of WebClient,
// HttpWebRequest or... | mit | C# |
612d17066fc99ceecf207c73b1a1a0ba1e8503e2 | Add assembly description. | Bitmapped/UmbCanonicalUrlRedirect,Bitmapped/UmbCanonicalUrlRedirect,Bitmapped/UmbCanonicalUrlRedirect | src/UmbCanonicalUrlRedirect/Properties/AssemblyInfo.cs | src/UmbCanonicalUrlRedirect/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
b7d6d1352ccfee1d9e5e140174ec5fe2dfc76df5 | Update AssemblyInfo | paulcbetts/LinqToAwait | LinqToAwait/Properties/AssemblyInfo.cs | LinqToAwait/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("Li... | 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("Li... | mit | C# |
2d1b668eae3fe54b31eab14908196575e9195e5e | Handle case where no facts are published. | Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net | DancingGoat/Controllers/AboutController.cs | DancingGoat/Controllers/AboutController.cs | using System.Threading.Tasks;
using System.Web.Mvc;
using DancingGoat.Models;
using System.Collections.Generic;
using KenticoCloud.Delivery;
namespace DancingGoat.Controllers
{
public class AboutController : ControllerBase
{
public async Task<ActionResult> Index()
{
var response = a... | using System.Threading.Tasks;
using System.Web.Mvc;
using DancingGoat.Models;
using System.Collections.Generic;
namespace DancingGoat.Controllers
{
public class AboutController : ControllerBase
{
public async Task<ActionResult> Index()
{
var response = await client.GetItemAsync<Abo... | mit | C# |
6c0358ef91e6b7c248a0610a88bbe997bfbe6acf | use PostgreSQLConnection not MSSQLConnection | n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | bsd-3-clause | C# |
82b9d6eee5d7ff5bf318764ccef3c8d77cac5c2e | Set Version Numer for 3.0.3.1 | baynezy/SiteWarmer | SiteWarmer/SiteWarmer.Core/Properties/AssemblyInfo.cs | SiteWarmer/SiteWarmer.Core/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("SiteWarmer.Core")]
[assembly: AssemblyDes... | 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("SiteWarmer.Core")]
[assembly: AssemblyDes... | apache-2.0 | C# |
6ea3f263b542a64ef051a22ae064f5c7e97ea4a2 | Fix random name generation and slightly refactor it. | krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fom... | UnityProject/Assets/Scripts/Managers/StringManager.cs | UnityProject/Assets/Scripts/Managers/StringManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StringManager : MonoBehaviour
{
private static StringManager stringManager;
public static StringManager Instance
{
get
{
if (stringManager == null)
{
stringManager = FindObjectOfType<StringManager>();
}
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text.RegularExpressions;
public class StringManager : MonoBehaviour
{
private static StringManager stringManager;
public static StringManager Instance
{
get
{
if (stringManager == null)
{
stringManager = FindO... | agpl-3.0 | C# |
0db12621e1b887e7487e169ca7baa897372b2f42 | fix MacOs build where the default affinity is 0 or we can't read it for some reason.. | PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet... | tests/BenchmarkDotNet.Tests/CharacteristicPresenterTests.cs | tests/BenchmarkDotNet.Tests/CharacteristicPresenterTests.cs | using System;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Portability;
using BenchmarkDotNet.Running;
using Xunit;
namespace BenchmarkDotNet.Tests
{
publi... | using System;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using Xunit;
namespace BenchmarkDotNet.Tests
{
public class CharacteristicPresenterTest... | mit | C# |
7097496fe16f013e9f6ea38becf1fe45ae887bdf | Update _Layout.cshtml | jbubriski/npoi-mvc-sample-app | NpoiSample/Views/Shared/_Layout.cshtml | NpoiSample/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 - NPOI Sample App</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet"... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="styl... | mit | C# |
d80a5162eddecaf17368e730e98832084c46e452 | Make template more consistent | theprash/FSharp.Formatting,tpetricek/FSharp.Formatting,tpetricek/FSharp.Formatting,theprash/FSharp.Formatting,mktange/FSharp.Formatting,tpetricek/FSharp.Formatting,mktange/FSharp.Formatting,tpetricek/FSharp.Formatting,mktange/FSharp.Formatting,mktange/FSharp.Formatting,theprash/FSharp.Formatting,tpetricek/FSharp.Format... | 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# |
d3e388f33849442a4ae58dbd016000c0e22a1ba9 | fix line ending and indenting. | fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzi... | src/NHibernate.Test/DebugConnectionProvider.cs | src/NHibernate.Test/DebugConnectionProvider.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using NHibernate.Connection;
namespace NHibernate.Test
{
/// <summary>
/// This connection provider keeps a list of all open connections,
/// it is used when testing to check that tests clean up after themselves.
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using NHibernate.Connection;
namespace NHibernate.Test
{
/// <summary>
/// This connection provider keeps a list of all open connections,
/// it is used when testing to check that tests clean up after themselves.
/// </s... | lgpl-2.1 | C# |
d491df361068a16b4b1ac9d99b320376d571dba9 | Add TODO | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania | src/StatisticsRomania/StatisticsRomania/App.cs | src/StatisticsRomania/StatisticsRomania/App.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StatisticsRomania.Views;
using Xamarin.Forms;
using SQLite.Net.Async;
namespace StatisticsRomania
{
// TODO: new functionalities:
// - export data
// - fix issues on rotating
// - forecast: https://azure.mic... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StatisticsRomania.Views;
using Xamarin.Forms;
using SQLite.Net.Async;
namespace StatisticsRomania
{
// TODO: new functionalities:
// - export data
// - fix issues on rotating
public class App : Application
... | mit | C# |
dcd16b6f56b60a0dec8eb964c3d51c82918b7c8b | Make way for future improvements | pabloengine/pablo | Pablo/Graphics/BaseTypes/StrokeType.cs | Pablo/Graphics/BaseTypes/StrokeType.cs | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | mpl-2.0 | C# |
de59a61f9a4df32019e1af50b7c070a78e702a28 | Update GenericHostBuilderExtensions.cs (#26386) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/DefaultBuilder/src/GenericHostBuilderExtensions.cs | src/DefaultBuilder/src/GenericHostBuilderExtensions.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.AspNetCore.Hosting;
using Microsoft.AspNetCore;
namespace Microsoft.Extensions.Hosting
{
/// <summary>
/// Extens... | using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore;
namespace Microsoft.Extensions.Hosting
{
/// <summary>
/// Extension methods for configuring the IWebHostBuilder.
/// </summary>
public static class GenericHostBuilderExtensions
{
/// <summary>
/// Initial... | apache-2.0 | C# |
58df33e73815de838bb98161dc7a60c8005fe3d6 | Set Default-LogLevel to Debug since Trace isn't really logged onto the console. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Providers.WebSocket/QueryLoggingOptions.cs | ExRam.Gremlinq.Providers.WebSocket/QueryLoggingOptions.cs | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace ExRam.Gremlinq.Providers.WebSocket
{
public readonly struct QueryLoggingOptions
{
public static readonly QueryLoggingOptions Default = new QueryLoggingOptions(LogLevel.Debug, QueryLoggingVerbosity.QueryOnly, Formatting.None);
... | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace ExRam.Gremlinq.Providers.WebSocket
{
public readonly struct QueryLoggingOptions
{
public static readonly QueryLoggingOptions Default = new QueryLoggingOptions(LogLevel.Trace, QueryLoggingVerbosity.QueryOnly, Formatting.None);
... | mit | C# |
b841dc19248fb2602792afc532148103bcf64255 | Handle running on GCP transparently | jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,BenJenkinson/nodatime | src/NodaTime.Web/Providers/GoogleCredentialProvider.cs | src/NodaTime.Web/Providers/GoogleCredentialProvider.cs | // Copyright 2016 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Google.Apis.Auth.OAuth2;
using Microsoft.Azure.KeyVault;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Clients.ActiveDirec... | // Copyright 2016 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Google.Apis.Auth.OAuth2;
using Microsoft.Azure.KeyVault;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Clients.ActiveDirec... | apache-2.0 | C# |
ce6cc4264027b543793490cade64b621c12e5f11 | fix doc error | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit/Utilities/Editor/FileUtilities.cs | Assets/MixedRealityToolkit/Utilities/Editor/FileUtilities.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.IO;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
/// <summary>
/// A set of utilities for ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.IO;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
/// <summary>
/// A set of utilities for ... | mit | C# |
c511a67e7a4553ce2128864454a2dea5cf865aca | Fix tournament POST not wrapping return value in an object. | Jaecen/Peregrine,Jaecen/Peregrine,Jaecen/Peregrine | src/Peregrine.Web/Controllers/TournamentsController.cs | src/Peregrine.Web/Controllers/TournamentsController.cs | using System;
using System.Linq;
using System.Web.Http;
using Peregrine.Data;
namespace Peregrine.Web.Controllers
{
[RoutePrefix("api/tournaments")]
public class TournamentsController : ApiController
{
[Route]
public IHttpActionResult Get()
{
using(var dataContext = new DataContext())
{
... | using System;
using System.Linq;
using System.Web.Http;
using Peregrine.Data;
namespace Peregrine.Web.Controllers
{
[RoutePrefix("api/tournaments")]
public class TournamentsController : ApiController
{
[Route]
public IHttpActionResult Get()
{
using(var dataContext = new DataContext())
{
... | mit | C# |
6a2483a60ec253c85a5375a2a26bb06c4a6c1d11 | configure await + comments | undergroundwires/SafeOrbit | src/SafeOrbit/Infrastructure/Extensions/TaskContext.cs | src/SafeOrbit/Infrastructure/Extensions/TaskContext.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace SafeOrbit.Extensions
{
public static class TaskContext
{
/// <summary>
/// Executes an async Task<T> method which has a T return type synchronously
/// </summary>
/// <typeparam name="T">R... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace SafeOrbit.Extensions
{
public static class TaskContext
{
[DebuggerHidden]
public static T RunSync<T>(this Func<Task<T>> func)
=> func == null ? throw new ArgumentNullException(nameof(func)) :
... | mit | C# |
15f1153658d89af7098cb838899311492ff8da7c | Update Console Program with a Condition - Update GetRoleMessage | penblade/Training.CSharpWorkshop | Training.CSharpWorkshop/Program.cs | Training.CSharpWorkshop/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class Program
{
public static void Main(string[] args)
{
Process();
}
public static void Process()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class Program
{
public static void Main(string[] args)
{
Process();
}
public static void Process()
... | mit | C# |
26eae84d179dbe175a876bc91d8a2018244b7d7d | Update the TryGetJointPose docs to accurately describe the set of inputs it can take. | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs | Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.Input
{
public static class HandJointUtils
{
/// <summary>
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.Input
{
public static class HandJointUtils
{
/// <summary>
... | mit | C# |
0d51b4f26823c870ac09c298fa499f68156766f3 | add action link to pc/si code allocation | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Areas/Logistics/Views/DispatchAllocation/Index.cshtml | Web/Areas/Logistics/Views/DispatchAllocation/Index.cshtml | @using Kendo.Mvc.UI
@using LanguageHelpers.Localization
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
<fieldset>
<legend>
@Translator.Translate("Dispatch allocation")
</legend>
</fieldset>
@section LeftBar{
@Html.Partial("_AllocationLeftBar")
}
@{
... | @using Kendo.Mvc.UI
@using LanguageHelpers.Localization
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
<fieldset>
<legend>
@Translator.Translate("Dispatch allocation")
</legend>
</fieldset>
@section LeftBar{
@Html.Partial("_AllocationLeftBar")
}
@{
... | apache-2.0 | C# |
942981956e6324508347d981008ab9b8359ca3a8 | Update version | MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | mit | C# |
6b7cb46ddaf9518e9f876535a86f385ed0db1a26 | Add null hit windows | UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu | osu.Game.Rulesets.Osu/Objects/SpinnerTick.cs | osu.Game.Rulesets.Osu/Objects/SpinnerTick.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Audio;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Object... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Audio;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Osu.Judgements;
namespace osu.Game.Rulesets.Osu.Objects
{
public class SpinnerTick ... | mit | C# |
47781b053ee1e0c7ee5a8c6bbc37a75b23d70d77 | Fix file system test failure (#735) | mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,conniey/dotnet-apiport,conniey/dotnet-apiport | tests/ApiPort/ApiPortVS.Tests/ApiPortVSPackageTests.cs | tests/ApiPort/ApiPortVS.Tests/ApiPortVSPackageTests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ApiPortVS.Analyze;
using Microsoft.Fx.Portability.Reporting;
using NSubstitute;
using System.IO;
using Xunit;
namespace ApiPortVS.Tests
{
public class ApiPo... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ApiPortVS.Analyze;
using ApiPortVS.Contracts;
using Microsoft.Fx.Portability.Reporting;
using NSubstitute;
using System.IO;
using System.Threading.Tasks;
using X... | mit | C# |
79cba6895750f6eec1fee7da55c5313d5e1050fe | Allow Selction via Move Adorner | icsharpcode/WpfDesigner,leocereus/WpfDesigner | WpfDesign.Designer/Project/Controls/PanelMoveAdorner.cs | WpfDesign.Designer/Project/Controls/PanelMoveAdorner.cs | // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... | // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... | mit | C# |
08c9ddf97b957762f9fceb321e5fd9e7c619c465 | Add GridContainerContent.ContentChanged event | peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Containers/GridContainerContent.cs | osu.Framework/Graphics/Containers/GridContainerContent.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.Graphics.Containers
{
public class GridContainerContent
{
public event Action ContentChanged;
public Grid... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Graphics.Containers
{
public class GridContainerContent
{
public GridContainerContent(Drawable[][] drawables)
{
... | mit | C# |
fbd7177e8d843d78934c36223d3616b8f3183219 | Update IPricingStrategy.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/IPricingStrategy.cs | TIKSN.Core/Finance/IPricingStrategy.cs | namespace TIKSN.Finance
{
public interface IPricingStrategy
{
decimal EstimateMarketPrice(decimal basePrice);
Money EstimateMarketPrice(Money basePrice);
}
}
| namespace TIKSN.Finance
{
public interface IPricingStrategy
{
decimal EstimateMarketPrice(decimal basePrice);
Money EstimateMarketPrice(Money basePrice);
}
} | mit | C# |
9b25dde0a76e8ede17efb742c4941a9d20d6bae5 | Test many to many modelling. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM.Tests/ManyToManyTests.cs | Silk.Data.SQL.ORM.Tests/ManyToManyTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Silk.Data.SQL.ORM.Modelling;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Silk.Data.SQL.ORM.Tests
{
[TestClass]
public class ManyToManyTests
{
private EntityModel<PocoWithManyRelationships> _conventionDrivenModel... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Silk.Data.SQL.ORM.Modelling;
using System;
using System.Collections.Generic;
namespace Silk.Data.SQL.ORM.Tests
{
[TestClass]
public class ManyToManyTests
{
private EntityModel<PocoWithManyRelationships> _conventionDrivenModel =
TestDb.Create... | mit | C# |
e4b4d1d94a129f9e86284f60a0f957e41c4bcc46 | Move call to UseFluentActions before UseMvc in hello world sample project | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions | samples/HelloWorld/Startup.cs | samples/HelloWorld/Startup.cs | using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddFluentActions();
... | using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddFluentActions();
... | mit | C# |
6dc0f3b720e78f5f965ee2e5211e5a39c3788657 | Load fonts over https if using https | johanhelsing/vaskelista,johanhelsing/vaskelista | Vaskelista/Views/Shared/_Layout.cshtml | Vaskelista/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Vaskelista</title>
@Styles.Render("~/Content/css")
@Mvc.RazorTools.Bundl... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Vaskelista</title>
@Styles.Render("~/Content/css")
@Mvc.RazorTools.Bundl... | mit | C# |
aa083036575e435ffb6406a778c06d822c3a6270 | Build and publish nuget package | rlyczynski/XSerializer,QuickenLoans/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
a12bbcc4b4cddf7e3377c49c9712a9c4843c53ab | use appropriate check method | aloisdeniel/Mvvmicro | Sources/Mvvmicro/Dependencies/Container.cs | Sources/Mvvmicro/Dependencies/Container.cs | namespace Mvvmicro
{
using System;
using System.Collections.Generic;
public class Container : IContainer
{
#region Default
private static Lazy<IContainer> instance = new Lazy<IContainer>(() => new Container());
/// <summary>
/// Gets the default container.
///... | namespace Mvvmicro
{
using System;
using System.Collections.Generic;
public class Container : IContainer
{
#region Default
private static Lazy<IContainer> instance = new Lazy<IContainer>(() => new Container());
/// <summary>
/// Gets the default container.
///... | mit | C# |
9bfd599892678c090408c021f7a6a213536b562d | Remove a superfluous 'unsafe' | Tragetaschen/DbusCore | src/Dbus/UnixFdStream.cs | src/Dbus/UnixFdStream.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Dbus
{
internal class UnixFdStream : Stream
{
private readonly SafeHandle safeHandle;
private readonly SocketOperations socketOperations;
public UnixFdStream(SafeHandle safeHandle, SocketOperations socketOp... | using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Dbus
{
internal class UnixFdStream : Stream
{
private readonly SafeHandle safeHandle;
private readonly SocketOperations socketOperations;
public UnixFdStream(SafeHandle safeHandle, SocketOperations socketOp... | mit | C# |
fd128b5c7b9ec16219a2720fb43e4b790377c8c4 | Implement Lookup, Define API | yanhkim/mime.net | Mime.cs | Mime.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace mime.net
{
public static class Mime
{
private static Dictionary<string, string> types = new Dictionary<string, string>();
private static bool loaded;
public s... | using System;
using System.Collections.Generic;
using System.Text;
namespace mime.net
{
public static class Mime
{
public static string Lookup(string path) {
throw new NotImplementedException();
}
}
}
| mit | C# |
5b1b12a85fead60c4f5ef874cf78d2492f718225 | fix completion bug. | hecomi/uREPL | Assets/uREPL/Scripts/GuiParts/CompletionItem.cs | Assets/uREPL/Scripts/GuiParts/CompletionItem.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
using System.Linq;
namespace uREPL
{
public class CompletionItem : MonoBehaviour
{
public Text markText;
public Text completionText;
public Image colorIndicator;
public Color32 hasDescriptionColor = new Color32(200, 30, 70, 255);
public... | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
using System.Linq;
namespace uREPL
{
public class CompletionItem : MonoBehaviour
{
public Text markText;
public Text completionText;
public Image colorIndicator;
public Color32 hasDescriptionColor = new Color32(200, 30, 70, 255);
public... | mit | C# |
7d4c5999f663cccc47f84211d7ac58bf838c1bbc | Add description in test case. | NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,2yangk23/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,Frontear/osuKyzer,smoogipoo/osu,DrabWeb/osu,ppy/osu,naoey/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,ZLima12/osu,Nabile-Rahmani/osu,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,smoogipooo/osu,... | osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs | osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Fra... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Fra... | mit | C# |
6f7c7ea4384744673e02298a75b20897ebfcabe2 | change Addin name to better reflect intention with NUnit attribute "RequiredAddin" | concordion/concordion-net,ShaKaRee/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net | Concordion.Integration.NUnit/Addin/SuiteBuilderAddin.cs | Concordion.Integration.NUnit/Addin/SuiteBuilderAddin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using NUnit.Core;
using NUnit.Core.Extensibility;
namespace Concordion.Integration.NUnit.Addin
{
[NUnitAddin(Name = "ConcordionNUnitAddin", Description = "Runs Concordion Tests with NUnit", Type = Extens... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using NUnit.Core;
using NUnit.Core.Extensibility;
namespace Concordion.Integration.NUnit.Addin
{
[NUnitAddin(Name = "Concordion Test Runner", Description = "Runs Concordion Tests with NUnit", Type = Exte... | apache-2.0 | C# |
7a6a3d40b24350e799fe23050115069dccd3df49 | Add ReleaseInternal method. Change Release method. Rearrange logic of Dispose method. Return current object instance from Validate method. | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscContext.cs | src/PcscDotNet/PcscContext.cs | using System;
namespace PcscDotNet
{
public class PcscContext : IDisposable
{
private SCardContext _handle;
private readonly Pcsc _pcsc;
private readonly IPcscProvider _provider;
public bool IsDisposed { get; private set; } = false;
public bool IsEstablished => _hand... | using System;
namespace PcscDotNet
{
public class PcscContext : IDisposable
{
private SCardContext _handle;
private readonly Pcsc _pcsc;
private readonly IPcscProvider _provider;
public bool IsDisposed { get; private set; } = false;
public bool IsEstablished => _hand... | mit | C# |
8ef74ec4ffaefc89c15d1c02ea323daf3739d749 | allow selected row background color to be overriden. | grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,wieslaw... | src/Avalonia.DataGrid.Themes.Default/DefaultTheme.xaml.cs | src/Avalonia.DataGrid.Themes.Default/DefaultTheme.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Styling;
namespace Avalonia.DataGrid.Themes.Default
{
public class DefaultTheme : Styles
{
public DefaultTheme()
{
this.InitializeComponent();
}
private void InitializeComponent()
... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Styling;
namespace Avalonia.Themes.DataGrid.Default
{
public class DefaultTheme : Styles
{
public DefaultTheme()
{
this.InitializeComponent();
}
private void InitializeComponent()
... | mit | C# |
f892bce7ca41a4679e6d8052017e687d83c26432 | Rollback now uses the changes field of the change collection instead of traverse flat. | georghinkel/NMF,NMFCode/NMF | Models/Models/NMFTransaction.cs | Models/Models/NMFTransaction.cs | using System;
using System.Linq;
using System.Transactions;
using NMF.Expressions;
using NMF.Models.Evolution;
using NMF.Models.Repository;
namespace NMF.Models
{
class NMFTransaction : IDisposable
{
private bool _committed;
private readonly ExecutionEngine _engine = ExecutionEngine.Current;
... | using System;
using System.Linq;
using System.Transactions;
using NMF.Expressions;
using NMF.Models.Evolution;
using NMF.Models.Repository;
namespace NMF.Models
{
class NMFTransaction : IDisposable
{
private bool _committed;
private readonly ExecutionEngine _engine = ExecutionEngine.Current;
... | bsd-3-clause | C# |
bbc6ce27f2d75cb53e741b645e32ca781bddf48d | Update ShapeStateTypeConverter.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Serializer.Xaml/Converters/ShapeStateTypeConverter.cs | src/Serializer.Xaml/Converters/ShapeStateTypeConverter.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.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#endif
using Core2D.Shape;
using Portable.Xaml.ComponentModel;
namespace... | // 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.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Shape;
nam... | mit | C# |
82dc912cdaa038c0172279986e2c77caca63cadf | Update GetAllEquipmentItemsQuery.cs | NinjaVault/NinjaHive,NinjaVault/NinjaHive | NinjaHive.Contract/Queries/GetAllEquipmentItemsQuery.cs | NinjaHive.Contract/Queries/GetAllEquipmentItemsQuery.cs | using NinjaHive.Contract.DTOs;
using NinjaHive.Core;
namespace NinjaHive.Contract.Queries
{
public class GetAllEquipmentItemsQuery : IQuery<EquipmentItem[]>
{
}
}
| using NinjaHive.Contract.DTOs;
using NinjaHive.Core;
namespace NinjaHive.Contract.Queries
{
public class GetAllEquipmentItemsQuery : IQuery<EquipmentItem[]>
{
}
}
| apache-2.0 | C# |
1fc0e2a766367b46798d01cec3e6da9f26173c99 | Add attribute usage limitation on RouteInheritAttribute. | lijunle/Nancy.AttributeRouting,lijunle/Nancy.AttributeRouting | Nancy.AttributeRouting/RouteInheritAttribute.cs | Nancy.AttributeRouting/RouteInheritAttribute.cs | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// <see cref="RouteInheritAttribute"/> indicates a type inherit another type's routing
/// information, including routing prefix, view prefix and before hooks.
/// </summary>
[AttributeUsage(AttributeT... | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// <see cref="RouteInheritAttribute"/> indicates a type inherit another type's routing
/// information, including routing prefix, view prefix and before hooks.
/// </summary>
public class RouteInheritA... | mit | C# |
0bfa1e8009fd1897d307bb7aab66b277355b7d1a | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.