commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
737033ca69d94c0b7fbc5554e06a461489fa54ea | modules/platforms/dotnet/Apache.Ignite.Core.Tests.TestDll/TestExtensions.cs | modules/platforms/dotnet/Apache.Ignite.Core.Tests.TestDll/TestExtensions.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Fix code coverage - exclude remote-only class | .NET: Fix code coverage - exclude remote-only class
| C# | apache-2.0 | nizhikov/ignite,SharplEr/ignite,SomeFire/ignite,SomeFire/ignite,nizhikov/ignite,ptupitsyn/ignite,voipp/ignite,NSAmelchev/ignite,samaitra/ignite,sk0x50/ignite,andrey-kuznetsov/ignite,andrey-kuznetsov/ignite,sk0x50/ignite,BiryukovVA/ignite,WilliamDo/ignite,dream-x/ignite,WilliamDo/ignite,shroman/ignite,daradurvs/ignite,S... |
9478cd97486e0e1a2ff1759161b29d53ec3c2014 | Samples/Core.CrossDomainImages/Core.CrossDomainImagesWeb/Pages/Default.aspx.cs | Samples/Core.CrossDomainImages/Core.CrossDomainImagesWeb/Pages/Default.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Core.CrossDomainImagesWeb
{
public partial class Default : System.Web.UI.Page
{
protected void Page_PreInit(object sender, EventArgs e)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Core.CrossDomainImagesWeb
{
public partial class Default : System.Web.UI.Page
{
protected void Page_PreInit(object sender, EventArgs e)
{
... | Revert "added try catch, test commit" | Revert "added try catch, test commit"
This reverts commit f19532d23cb74beb6bba8128bb7d9d544972c761.
| C# | mit | JBeerens/PnP,erwinvanhunen/PnP,hildabarbara/PnP,OneBitSoftware/PnP,JonathanHuss/PnP,baldswede/PnP,bstenberg64/PnP,edrohler/PnP,r0ddney/PnP,vman/PnP,yagoto/PnP,narval32/Shp,IDTimlin/PnP,IvanTheBearable/PnP,rgueldenpfennig/PnP,OzMakka/PnP,rgueldenpfennig/PnP,erwinvanhunen/PnP,timothydonato/PnP,grazies/PnP,Rick-Kirkham/Pn... |
6c77bd836c938d089fc88e7f63516aa45ad07938 | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Dialog_OutOfProc.cs | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Dialog_OutOfProc.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess
{
public class Dialog_OutOfProc : OutOfPro... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess
{
public class Dialog_OutOfProc : OutOfPro... | Apply hang mitigating timeout in VerifyOpen and VerifyClosed | Apply hang mitigating timeout in VerifyOpen and VerifyClosed
| C# | mit | diryboy/roslyn,jmarolf/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,heejaechang/roslyn,tmat/roslyn,mavasani/roslyn,reaction1989/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,wvdd007/roslyn,mgoertz-msft/roslyn,CyrusNajmabadi/roslyn,brettfo/roslyn,brettfo/roslyn,phys... |
b75a5b778e0d22206dd17f0afce694825b39214f | osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerHistoryList.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerHistoryList.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.Framework.Graphics.Containers;
using osu.Game.Online.Rooms;
using osuTK;
nam... | // 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.Framework.Graphics.Containers;
using osu.Game.Online.Rooms;
using osuTK;
nam... | Update history list to also sort by gameplay order | Update history list to also sort by gameplay order
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
25ce87ab14dfe450ccda34131e2bf8e12c024055 | src/NHibernate/Impl/BatchingBatcher.cs | src/NHibernate/Impl/BatchingBatcher.cs | using System;
using System.Data;
using NHibernate.Engine;
namespace NHibernate.Impl
{
/// <summary>
/// Summary description for BatchingBatcher.
/// </summary>
internal class BatchingBatcher : BatcherImpl
{
private int batchSize;
private int[] expectedRowCounts;
/// <summary>
///
/// </summary>
/// ... | using System;
using System.Data;
using NHibernate.Engine;
namespace NHibernate.Impl
{
/// <summary>
/// Summary description for BatchingBatcher.
/// </summary>
internal class BatchingBatcher : BatcherImpl
{
//private int batchSize;
private int[] expectedRowCounts;
/// <summary>
///
/// </summary>
//... | Comment out batchSize for now as not used | Comment out batchSize for now as not used
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@1312
| C# | lgpl-2.1 | hazzik/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-cor... |
8fd7cd51e275e2733f3c0741f55e02ed2de9c0d3 | samples/MvcSample.Web/Home2Controller.cs | samples/MvcSample.Web/Home2Controller.cs | using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using MvcSample.Web.Models;
namespace MvcSample.Web.RandomNameSpace
{
public class Home2Controller
{
private User _user = new User() { Name = "User Name", Address = "Home Address" };
[Activate]
public HttpResponse Response
... | using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using MvcSample.Web.Models;
namespace MvcSample.Web.RandomNameSpace
{
public class Home2Controller
{
private User _user = new User() { Name = "User Name", Address = "Home Address" };
[Activate]
publi... | Fix the sample to await when writing directly to the output stream in a controller. | Fix the sample to await when writing directly to the output stream in a controller.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
544b2cced2425ec985511195647a116ae69962e7 | src/Tests/Framework/ManagedElasticsearch/Tasks/ValidationTasks/ValidatePluginsTask.cs | src/Tests/Framework/ManagedElasticsearch/Tasks/ValidationTasks/ValidatePluginsTask.cs | using System;
using System.Linq;
using Nest;
using Tests.Framework.ManagedElasticsearch.Nodes;
using Tests.Framework.ManagedElasticsearch.Plugins;
namespace Tests.Framework.ManagedElasticsearch.Tasks.ValidationTasks
{
public class ValidatePluginsTask : NodeValidationTaskBase
{
public override void Validate(IElasti... | using System;
using System.Linq;
using Nest;
using Tests.Document.Multiple.UpdateByQuery;
using Tests.Framework.ManagedElasticsearch.Nodes;
using Tests.Framework.ManagedElasticsearch.Plugins;
namespace Tests.Framework.ManagedElasticsearch.Tasks.ValidationTasks
{
public class ValidatePluginsTask : NodeValidationTaskBa... | Validate existence of x-pack-core for 6.2.4+ | Validate existence of x-pack-core for 6.2.4+
This commit asserts that for integration tests running against 6.2.4+, plugin validation
checks for x-pack-core as opposed to x-pack; x-pack plugin was split out into separate
plugin names
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
1cdef5fa110f6d6a8af11673d68414e964b07787 | P2E.DataObjects/ApplicationInformation.cs | P2E.DataObjects/ApplicationInformation.cs | using System.Reflection;
using P2E.Interfaces.DataObjects;
namespace P2E.DataObjects
{
public class ApplicationInformation : IApplicationInformation
{
public string Name { get; }
public string Version { get; }
public ApplicationInformation()
{
Name = Assembly.GetEn... | using System.Reflection;
using P2E.Interfaces.DataObjects;
namespace P2E.DataObjects
{
public class ApplicationInformation : IApplicationInformation
{
public string Name => Assembly.GetEntryAssembly().GetName().Name;
public string Version => Assembly.GetEntryAssembly().GetName().Version.ToStri... | Rewrite with expression bodies properties syntax. | Rewrite with expression bodies properties syntax.
| C# | bsd-2-clause | SludgeVohaul/P2EApp |
b0aa226e442f2d2e6d306c5e16165e293acdb5d2 | Source/BitDiffer.Common/Misc/Constants.cs | Source/BitDiffer.Common/Misc/Constants.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace BitDiffer.Common.Misc
{
public class Constants
{
public const string ProductName = "BitDiffer";
public const string ProductSubTitle = "Assembly Comparison Tool";
public const string HelpUrl = "https://github.com/grennis/bitdiffe... | using System;
using System.Collections.Generic;
using System.Text;
namespace BitDiffer.Common.Misc
{
public class Constants
{
public const string ProductName = "BitDiffer";
public const string ProductSubTitle = "Assembly Comparison Tool";
public const string HelpUrl = "https://github.com/bitdiffer/bitdi... | Use correct URL for help | Use correct URL for help
Clicking on Help in the menu currently opens an old URL which displays the message "This repository has been deleted". | C# | mit | grennis/bitdiffer |
1eec57c803e70099c09d63149a6b85e3cc65e822 | SurveyMonkey/Properties/AssemblyInfo.cs | SurveyMonkey/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("Su... | 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("Su... | Bump assembly info for 1.3.0 release | Bump assembly info for 1.3.0 release
| C# | mit | NellyHaglund/SurveyMonkeyApi,bcemmett/SurveyMonkeyApi |
13e267b2b40454afa9902e2c2627a2230d2a4edf | src/ZobShop.Services/ProductRatingService.cs | src/ZobShop.Services/ProductRatingService.cs | using ZobShop.Data.Contracts;
using ZobShop.Factories;
using ZobShop.Models;
using ZobShop.Services.Contracts;
namespace ZobShop.Services
{
public class ProductRatingService : IProductRatingService
{
private readonly IRepository<User> userRepository;
private readonly IRepository<ProductRating>... | using System;
using ZobShop.Data.Contracts;
using ZobShop.Factories;
using ZobShop.Models;
using ZobShop.Services.Contracts;
namespace ZobShop.Services
{
public class ProductRatingService : IProductRatingService
{
private readonly IRepository<User> userRepository;
private readonly IRepository<... | Add checks in product rating service | Add checks in product rating service
| C# | mit | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop |
65097865ac4fb4fd6c9056b9e1d035631b245e7d | GUI/Types/ParticleRenderer/INumberProvider.cs | GUI/Types/ParticleRenderer/INumberProvider.cs | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer
{
public interface INumberProvider
{
double NextNumber();
}
public class LiteralNumberProvider : INumberProvider
{
private readonly double value;
public LiteralNumberProvider(double... | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer
{
public interface INumberProvider
{
double NextNumber();
}
public class LiteralNumberProvider : INumberProvider
{
private readonly double value;
public LiteralNumberProvider(double... | Support all particle num providers with m_flLiteralValue | Support all particle num providers with m_flLiteralValue
| C# | mit | SteamDatabase/ValveResourceFormat |
4196b9af5adbe25e37081778f5768504a475b161 | LINQToTTreeHelpers/LINQToTreeHelpers/Utils.cs | LINQToTTreeHelpers/LINQToTreeHelpers/Utils.cs |
namespace LINQToTreeHelpers
{
public static class Utils
{
/// <summary>
/// Write out an object. Eventually, with ROOTNET improvements this will work better and perahps
/// won't be needed!
/// </summary>
/// <param name="obj"></param>
/// <param name=... |
namespace LINQToTreeHelpers
{
public static class Utils
{
/// <summary>
/// Write out an object. Eventually, with ROOTNET improvements this will work better and perahps
/// won't be needed!
/// </summary>
/// <param name="obj"></param>
/// <param name=... | Improve translation when removing strings from names! | Improve translation when removing strings from names!
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
0564e4186b6a9091d6ac5ab9e028cd022f8b3bab | DesktopWidgets/Widgets/Search/ViewModel.cs | DesktopWidgets/Widgets/Search/ViewModel.cs | using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using DesktopWidgets.Classes;
using DesktopWidgets.Helpers;
using DesktopWidgets.ViewModelBase;
using GalaSoft.MvvmLight.Command;
namespace DesktopWidgets.Widgets.Search
{
public class ViewModel : WidgetViewModelBase
{
private... | using System.Diagnostics;
using System.Windows.Input;
using DesktopWidgets.Classes;
using DesktopWidgets.Helpers;
using DesktopWidgets.ViewModelBase;
using GalaSoft.MvvmLight.Command;
namespace DesktopWidgets.Widgets.Search
{
public class ViewModel : WidgetViewModelBase
{
private string _searchText;
... | Remove "Search" widget base URL warning | Remove "Search" widget base URL warning
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
d7a0fc94bfc7d60febe02fcafe3fc6ff0d7b9de5 | main/Smartsheet/Api/Models/ObjectExclusion.cs | main/Smartsheet/Api/Models/ObjectExclusion.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// 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
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// 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
//
// ... | Make sure NONEXISTENT_CELLS is serialized into nonexistentCells | Make sure NONEXISTENT_CELLS is serialized into nonexistentCells
| C# | apache-2.0 | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk |
ed9ce8b7fe509527ded528a6ae6b0fc07f7b2d33 | src/FilterLists.Agent/Entities/ListInfo.cs | src/FilterLists.Agent/Entities/ListInfo.cs | using System;
namespace FilterLists.Agent.Entities
{
public class ListInfo
{
public int Id { get; }
public Uri ViewUrl { get; }
}
} | using System;
namespace FilterLists.Agent.Entities
{
public class ListInfo
{
public int Id { get; private set; }
public Uri ViewUrl { get; private set; }
}
} | Revert "remove unused private setters" | Revert "remove unused private setters"
This reverts commit 0f6940904667a1a24c9605fe7a827d67a0d79905.
| C# | mit | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists |
deeeaafda20ebd00d845c9f3e34148a74b006fc9 | Assets/Scripts/Bullet.cs | Assets/Scripts/Bullet.cs | using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
public int bulletSpeed = 715;
void Start () {
GetComponent<Rigidbody>().AddRelativeForce(Vector3.forward * bulletSpeed);
}
}
| using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
public int bulletSpeed = 715;
void Start() {
GetComponent<Rigidbody>().AddRelativeForce(Vector3.forward * bulletSpeed);
}
void OnTriggerEnter(Collider other) {
Destroy(gameObject);
}
}
| Destroy bullets on trigger event | Destroy bullets on trigger event
| C# | mit | ne1ro/desperation |
2dbb04350d85c3c7e37f26e003820e8fdfea847e | Assets/Scripts/Menu/Dropdowns/DropdownLanguageFontUpdater.cs | Assets/Scripts/Menu/Dropdowns/DropdownLanguageFontUpdater.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropdownLanguageFontUpdater : MonoBehaviour
{
[SerializeField]
private Text textComponent;
void Start ()
{
Font overrideFont = LocalizationManager.instance.getAllLanguages()[transfor... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropdownLanguageFontUpdater : MonoBehaviour
{
[SerializeField]
private Text textComponent;
void Start ()
{
var language = LocalizationManager.instance.getAllLanguages()[transform.Get... | Apply force unbold to dropdown options | Apply force unbold to dropdown options
| C# | mit | NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare |
bb5eb966254a46e090077837a9d48408e8dcbb77 | src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewManfiest.cs | src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewManfiest.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.IO;
using System.Reflection;
using System.Runtime.Loader;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
namespace Micros... | // 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.IO;
using System.Reflection;
using System.Runtime.Loader;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
namespace Micros... | Load the precompilation type from the loaded assembly | Load the precompilation type from the loaded assembly
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
6ab190e83fb651864cb64b656ec80678270348f6 | src/Tests/Nest.Tests.Unit/ObjectInitializer/Index/IndexRequestTests.cs | src/Tests/Nest.Tests.Unit/ObjectInitializer/Index/IndexRequestTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.ObjectInitializer.Index
{
[TestFixture]
public class IndexReq... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.ObjectInitializer.Index
{
[TestFixture]
public class IndexReq... | Remove empty method checked in by mistake | Remove empty method checked in by mistake
| C# | apache-2.0 | tkirill/elasticsearch-net,cstlaurent/elasticsearch-net,DavidSSL/elasticsearch-net,faisal00813/elasticsearch-net,gayancc/elasticsearch-net,azubanov/elasticsearch-net,amyzheng424/elasticsearch-net,robertlyson/elasticsearch-net,geofeedia/elasticsearch-net,adam-mccoy/elasticsearch-net,abibell/elasticsearch-net,starckgates/... |
3d340e133fee63b068a6e9f31c907f815bd453f6 | src/PPWCode.Vernacular.NHibernate.I.Tests/DictionariesAndLists/Mappers/PlaneMapper.cs | src/PPWCode.Vernacular.NHibernate.I.Tests/DictionariesAndLists/Mappers/PlaneMapper.cs | // Copyright 2017 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright 2017 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | Fix wrong mapping for Translation, should be mapped as a property instead of Component | Fix wrong mapping for Translation, should be mapped as a property instead of Component
| C# | apache-2.0 | peopleware/net-ppwcode-vernacular-nhibernate |
5ef8e26ebe894322c8aaba026051c3bba5ab15f7 | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.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 System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Tests.Visual.Ga... | Fix check not accounting for mods not existing in certain rulesets | Fix check not accounting for mods not existing in certain rulesets
Also check all instances, rather than first.
| C# | mit | peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu |
004d0d2ee5b8d53d4118af997dea99211a3b3f12 | WindowsAzurePowershell/src/Management.Test/Tests/Utilities/PowerShellTest.cs | WindowsAzurePowershell/src/Management.Test/Tests/Utilities/PowerShellTest.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | Enable debug by default in scenario tests | Enable debug by default in scenario tests
| C# | apache-2.0 | akromm/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,Madhukarc/azure-sdk-tools,akromm/azure-sdk-tools,DinoV/azure-sdk-tools,antonba/azure-sdk-tools,akromm/azure-sdk-tools,johnkors/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,anton... |
ed49166c861ed369d2981aaf83b4b56e3f0306a5 | templates/log_rss.cs | templates/log_rss.cs | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | Fix category of revision log RSS feeds. | Fix category of revision log RSS feeds.
git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@2261 af82e41b-90c4-0310-8c96-b1721e28e2e2
| C# | bsd-3-clause | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac |
36f1427645c1ae2563e4864a87cf837c1ba6163e | src/SFA.DAS.EAS.Account.Api.Types/EmployerAgreementStatus.cs | src/SFA.DAS.EAS.Account.Api.Types/EmployerAgreementStatus.cs | using System.ComponentModel;
namespace SFA.DAS.EAS.Account.Api.Types
{
public enum EmployerAgreementStatus
{
[Description("Not signed")]
Pending = 1,
[Description("Signed")]
Signed = 2,
[Description("Expired")]
Expired = 3,
[Description("Super... | using System.ComponentModel;
namespace SFA.DAS.EAS.Account.Api.Types
{
public enum EmployerAgreementStatus
{
[Description("Not signed")]
Pending = 1,
[Description("Signed")]
Signed = 2,
[Description("Expired")]
Expired = 3,
[Description("Super... | Update spelling mistake in api types | Update spelling mistake in api types | C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
2491cfa0e048432aa392689f08cdc959fb3568e7 | Countdown/Views/ScrollTo.cs | Countdown/Views/ScrollTo.cs | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
namespace Countdown.Views
{
internal class ScrollTo
{
public static void SetItem(UIElement element, object value)
{
element.SetValue(ItemProperty, value);
}
public st... | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
namespace Countdown.Views
{
internal class ScrollTo
{
public static void SetItem(UIElement element, object value)
{
element.SetValue(ItemProperty, value);
}
public st... | Add a list focus call | Add a list focus call
If the item is important enough to scroll it into view then its container should also get focus.
| C# | unlicense | DHancock/Countdown |
699929a3ec5f32f4ae3b5574cc201cb62de5766d | Battery-Commander.Web/Models/EvaluationListViewModel.cs | Battery-Commander.Web/Models/EvaluationListViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class EvaluationListViewModel
{
public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>();
[Display(Na... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class EvaluationListViewModel
{
public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>();
[Display(Na... | Make sure to take into account completed when looking at ALL | Make sure to take into account completed when looking at ALL
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
d3106439f167a65c9e5f8a02c6f45bb4319e8dd8 | Code/Luval.Orm/SqlServerLanguageProvider.cs | Code/Luval.Orm/SqlServerLanguageProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Luval.Common;
namespace Luval.Orm
{
public class SqlServerLanguageProvider : AnsiSqlLanguageProvider
{
public SqlServerLanguageProvider() : this(DbConfiguration.Get<ISqlExpressionP... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Luval.Common;
namespace Luval.Orm
{
public class SqlServerLanguageProvider : AnsiSqlLanguageProvider
{
public SqlServerLanguageProvider() : this(DbConfiguration.Get<ISqlExpressionP... | Fix bug in the Sql Server implementation | Fix bug in the Sql Server implementation
| C# | apache-2.0 | marinoscar/Luval |
53c5a4d11753d729808c0b72bffb98ec15fd1896 | MitternachtWeb/Views/GuildList/Index.cshtml | MitternachtWeb/Views/GuildList/Index.cshtml | @model IEnumerable<Discord.WebSocket.SocketGuild>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayName("GuildId")
</th>
<th>
@Html.DisplayName("GuildName")
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach(var guild in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => gui... | @model IEnumerable<Discord.WebSocket.SocketGuild>
<div class="list-group">
@foreach(var guild in Model) {
<a class="list-group-item list-group-item-action" asp-area="Guild" asp-controller="Stats" asp-action="Index" asp-route-guildId="@guild.Id">@guild.Name</a>
}
</div> | Use list-group instead of a table. | Use list-group instead of a table.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
2039e8bec03b4fd2717e7ff55bf2ab1618e6421d | SnittListan/IoC/WindsorControllerFactory.cs | SnittListan/IoC/WindsorControllerFactory.cs | using System;
using System.Web.Mvc;
using System.Web.Routing;
using Castle.MicroKernel;
namespace SnittListan.IoC
{
public class WindsorControllerFactory : DefaultControllerFactory
{
private readonly IKernel kernel;
public WindsorControllerFactory(IKernel kernel)
{
this.kernel = kernel;
}
... | using System;
using System.Web.Mvc;
using System.Web.Routing;
using Castle.MicroKernel;
using System.Web;
namespace SnittListan.IoC
{
public class WindsorControllerFactory : DefaultControllerFactory
{
private readonly IKernel kernel;
public WindsorControllerFactory(IKernel kernel)
{
this.ker... | Throw HttpException when trying to resolve unknown controller | Throw HttpException when trying to resolve unknown controller
| C# | mit | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan |
41c12fd0bece51c67648ca23158de200efcf04a0 | src/PeNet/Parser/PKCS7Parser.cs | src/PeNet/Parser/PKCS7Parser.cs | using System.Security.Cryptography.X509Certificates;
using PeNet.Structures;
namespace PeNet.Parser
{
internal class PKCS7Parser : SafeParser<X509Certificate2>
{
private readonly WIN_CERTIFICATE _winCertificate;
internal PKCS7Parser(WIN_CERTIFICATE winCertificate)
: base(null, 0)
... | using System.Security.Cryptography.X509Certificates;
using PeNet.Structures;
namespace PeNet.Parser
{
internal class PKCS7Parser : SafeParser<X509Certificate2>
{
private readonly WIN_CERTIFICATE _winCertificate;
internal PKCS7Parser(WIN_CERTIFICATE winCertificate)
: base(null, 0)
... | Use collection of certificates to parse pkcs7 | Use collection of certificates to parse pkcs7
| C# | apache-2.0 | secana/PeNet |
4060313ebecc09b4ebd5f69751738b780cc26ad7 | src/ScriptEngine/CSharpScriptEngine.cs | src/ScriptEngine/CSharpScriptEngine.cs | using System;
using Microsoft.CodeAnalysis.Scripting;
using Microsoft.CodeAnalysis.CSharp.Scripting;
namespace ScriptSharp.ScriptEngine
{
public class CSharpScriptEngine
{
private static ScriptState<object> scriptState = null;
public static object Execute(string code)
{
... | using System;
using Microsoft.CodeAnalysis.Scripting;
using Microsoft.CodeAnalysis.CSharp.Scripting;
namespace ScriptSharp.ScriptEngine
{
public class CSharpScriptEngine
{
private static ScriptState<object> scriptState = null;
public static object Execute(string code)
{
... | Change return type of script engine | Change return type of script engine
| C# | mit | chribben/ScriptSharp,chribben/ScriptSharp,chribben/ScriptSharp |
f0d28e48335c102ce626fae6b6d76e6188881276 | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | using Starcounter;
using System;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(long officeObjectNo)
{
throw new NotImplementedException();
}
}
}
| using RealEstateAgencyFranchise.Database;
using Starcounter;
using System.Linq;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(ulong officeObjectNo)
{
return Db.Scope(() =>
{
var offices = Db.SQL<Offic... | Implement getting data for office details | Implement getting data for office details
| C# | mit | aregaz/starcounterdemo,aregaz/starcounterdemo |
839a484fb2be4f6614431cc96ac76cc279e27897 | Criteo.Profiling.Tracing/Utils/TimeUtils.cs | Criteo.Profiling.Tracing/Utils/TimeUtils.cs | using System;
namespace Criteo.Profiling.Tracing.Utils
{
internal static class TimeUtils
{
private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static DateTime UtcNow
{
get
{
return HighResolution... | using System;
namespace Criteo.Profiling.Tracing.Utils
{
public static class TimeUtils
{
private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static DateTime UtcNow
{
get
{
return HighResolutionDa... | Change time utils visibility from internal to public | Change time utils visibility from internal to public
Change-Id: Ifc984cd613e3daeea243467392652c5efd9ba34b
| C# | apache-2.0 | criteo/zipkin4net,criteo/zipkin4net |
d709378465e578547a2044cd7be41884991914fa | src/SharpGraphEditor.Graph.Core/Algorithms/DepthFirstSearchAlgorithm.cs | src/SharpGraphEditor.Graph.Core/Algorithms/DepthFirstSearchAlgorithm.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpGraphEditor.Graph.Core.Elements;
namespace SharpGraphEditor.Graph.Core.Algorithms
{
public class DepthFirstSearchAlgorithm : IAlgorithm
{
public string Name => "Depth first search";
public string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpGraphEditor.Graph.Core.Elements;
namespace SharpGraphEditor.Graph.Core.Algorithms
{
public class DepthFirstSearchAlgorithm : IAlgorithm
{
public string Name => "Depth first search";
public string... | Fix bug with DFS when some vertices painted in gray twice | Fix bug with DFS when some vertices painted in gray twice
| C# | apache-2.0 | AceSkiffer/SharpGraphEditor |
cc4a0afdf4196dd9f4d99d1a93aaa7c3ee414795 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.AggregateService")]
[assembly: AssemblyDescription("Autofac Aggregate Service Module")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.AggregateService")]
[assembly: ComVisible(false)] | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Extras.AggregateService |
c86d06b7f5048a04ae7ebcec0f350dcc2ff4bf29 | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/HttpClientWrapper.cs | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/HttpClientWrapper.cs | using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Ser... | using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Ser... | Change httpclientwrapper to return the content as string async. | Change httpclientwrapper to return the content as string async.
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
10f88b7b04a037f9fe9acbf59ecec7a48b04b2af | AsterNET.ARI/Middleware/Default/Command.cs | AsterNET.ARI/Middleware/Default/Command.cs | using System;
using RestSharp;
using Newtonsoft.Json;
using RestSharp.Portable;
using RestSharp.Portable.Authenticators;
using RestSharp.Portable.HttpClient;
namespace AsterNET.ARI.Middleware.Default
{
public class Command : IRestCommand
{
internal RestClient Client;
internal RestRequest Reques... | using System;
using RestSharp.Portable;
using RestSharp.Portable.Authenticators;
using RestSharp.Portable.HttpClient;
namespace AsterNET.ARI.Middleware.Default
{
public class Command : IRestCommand
{
internal RestClient Client;
internal RestRequest Request;
public Command(StasisEndpoin... | Fix bug with double serialization | Fix bug with double serialization
| C# | mit | seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI |
9c8d3c3acd73cd6867f0f2238a127f44aaf645c2 | Assets/EasyButtons/ScriptableObjectExample.cs | Assets/EasyButtons/ScriptableObjectExample.cs | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
using Object = UnityEngine.Object;
[CreateAssetMenu(fileName = "Example.asset", menuName = "New Example ScriptableObject")]
public class ScriptableObjectExample : Scriptab... | using UnityEngine;
[CreateAssetMenu(fileName = "Example.asset", menuName = "New Example ScriptableObject")]
public class ScriptableObjectExample : ScriptableObject
{
[EasyButtons.Button]
public void SayHello()
{
Debug.Log("Hello");
}
}
| Remove unnecessary usings in example script | Remove unnecessary usings in example script
| C# | mit | madsbangh/EasyButtons |
06b366fd3d54740bf143b7c8781a8bb7e22d6c3e | ExpressionToCodeTest/ValueTupleTests.cs | ExpressionToCodeTest/ValueTupleTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest {
public class ValueTupleTests {
[Fact]
public void ExpressionCompil... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest {
public class ValueTupleTests {
[Fact]
public void ExpressionWithVa... | Rearrange test to better self-document what currently works and what does not. | Rearrange test to better self-document what currently works and what does not.
| C# | apache-2.0 | EamonNerbonne/ExpressionToCode |
5cb6963940662f61982dbc43457303b70471b45e | osu.Game.Rulesets.Osu/Objects/Spinner.cs | osu.Game.Rulesets.Osu/Objects/Spinner.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 osu.Game.Rulesets.Objects.Types;
using osu.Game.Database;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{
public cl... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Database;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{
public cl... | Make spinners easier for now | Make spinners easier for now
The underlying spin counting doesn't match stabnle, so they have been near impossible to complete until now. | C# | mit | NeoAdonis/osu,NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,tacchinotacchi/osu,ZLima12/osu,peppy/osu,ppy/osu,Frontear/osuKyzer,2yangk23/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,Damnae/osu,johnneijzen/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,DrabWeb/osu,EVAST9919/os... |
9fc6b8fcf5497f8cfc76bedcd2542c26b7d82e8c | src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Editor/DefaultVisualStudioCompletionBroker.cs | src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Editor/DefaultVisualStudioCompletionBroker.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.VisualStudio.Editor.Razor;
using Microsoft.VisualStudio.Text.Editor;
using MonoDevelop.Ide.CodeCompletion;
namespace Mic... | // 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.VisualStudio.Editor.Razor;
using Microsoft.VisualStudio.Text.Editor;
using MonoDevelop.Ide.CodeCompletion;
namespace Mic... | Clean up mac completion broker. | Clean up mac completion broker.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
6d7cfc8ed290c07f574bb22c0777d9e3d7f0201f | Contentful.Core/Models/Management/EditorInterfaceControl.cs | Contentful.Core/Models/Management/EditorInterfaceControl.cs | using Contentful.Core.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
[JsonConverter(typeof(EditorInterfaceControlJsonConverter))]
public class EditorInterfaceControl
{
public string FieldId { ge... | using Contentful.Core.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
[JsonConverter(typeof(EditorInterfaceControlJsonConverter))]
public class EditorInterfaceControl
{
public string FieldId { ge... | Add null handling for editorinterface settings | Add null handling for editorinterface settings
| C# | mit | contentful/contentful.net |
4d9e526bcb0d691dd3622551068deb0ca4b9e54c | src/Core/CoreLib/Properties/AssemblyInfo.cs | src/Core/CoreLib/Properties/AssemblyInfo.cs | // AssemblyInfo.cs
// Script#/Libraries/CoreLib
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("mscorlib")]
[assembly: AssemblyDescription("Script# Core Assembly")]
[a... | // AssemblyInfo.cs
// Script#/Libraries/CoreLib
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("mscorlib")]
[assembly: AssemblyDescription("Script# Core Assembly")]
[a... | Update mscorlib assembly name to match eventual module name | Update mscorlib assembly name to match eventual module name
| C# | apache-2.0 | nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp |
be06a4df2fed4527290daa7248a90f72c40f0b20 | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.cs | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in ... | Remove binding redirects for missing assemblies | Remove binding redirects for missing assemblies
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
57019b872ad395b02dce6c37b65bce5c0308c584 | src/Atata.Tests/AtataContextBuilderTests.cs | src/Atata.Tests/AtataContextBuilderTests.cs | using System;
using NUnit.Framework;
namespace Atata.Tests
{
public class AtataContextBuilderTests : UITestFixtureBase
{
[Test]
public void AtataContextBuilder_Build_WithoutDriver()
{
InvalidOperationException exception = Assert.Throws<InvalidOperationException>(() =>
... | using System;
using NUnit.Framework;
namespace Atata.Tests
{
public class AtataContextBuilderTests : UITestFixtureBase
{
[Test]
public void AtataContextBuilder_Build_WithoutDriver()
{
InvalidOperationException exception = Assert.Throws<InvalidOperationException>(() =>
... | Add AtataContextBuilder_OnBuilding and AtataContextBuilder_OnBuilding_WithoutDriver tests | Add AtataContextBuilder_OnBuilding and AtataContextBuilder_OnBuilding_WithoutDriver tests
| C# | apache-2.0 | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata |
f4f7fac189cb0f6b9d70e9d9b022173667b31f76 | src/Microsoft.AspNet.Identity.EntityFramework/IdentityEntityFrameworkServices.cs | src/Microsoft.AspNet.Identity.EntityFramework/IdentityEntityFrameworkServices.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.AspNet.Identity.EntityFramework;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
... | // 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.AspNet.Identity.EntityFramework;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
... | Remove extra config param that's not used | Remove extra config param that's not used
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
17e0105c2cff5b17aefd5f9b52c1dd29d6b9482c | osu.Game/Screens/Edit/Setup/LabelledTextBoxWithPopover.cs | osu.Game/Screens/Edit/Setup/LabelledTextBoxWithPopover.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.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.UserInterface;
using osu.Fra... | // 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.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.UserInterface;
using osu.Fra... | Fix interaction with popover when textbox is disabled | Fix interaction with popover when textbox is disabled
| C# | mit | peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu |
2fb4a3b3d722594f095c64e84bbe0f19aa7ccd2b | Core/ELFinder.Connector/Drivers/FileSystem/Extensions/FIleSystemInfoExtensions.cs | Core/ELFinder.Connector/Drivers/FileSystem/Extensions/FIleSystemInfoExtensions.cs | using System.IO;
using System.Linq;
namespace ELFinder.Connector.Drivers.FileSystem.Extensions
{
/// <summary>
/// File system info extensions
/// </summary>
public static class FIleSystemInfoExtensions
{
#region Extension methods
/// <summary>
/// Get visible files in d... | using System.IO;
using System.Linq;
namespace ELFinder.Connector.Drivers.FileSystem.Extensions
{
/// <summary>
/// File system info extensions
/// </summary>
public static class FIleSystemInfoExtensions
{
#region Extension methods
/// <summary>
/// Get visible files in d... | Fix Unable to connect to backend on access denied | Fix Unable to connect to backend on access denied
| C# | bsd-3-clause | linguanostra/ELFinder.Connector.NET,linguanostra/ELFinder.Connector.NET |
ed981afc8bb238255a14bded84bdf4eca9bffa10 | Cirrious/PhoneCall/Cirrious.MvvmCross.Plugins.PhoneCall.WindowsStore/MvxPhoneCallTask.cs | Cirrious/PhoneCall/Cirrious.MvvmCross.Plugins.PhoneCall.WindowsStore/MvxPhoneCallTask.cs | // MvxPhoneCallTask.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
using Windows.System;
namespace Ci... | // MvxPhoneCallTask.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
using Windows.System;
namespace Ci... | Use the tel uri in windows store for phone calls | Use the tel uri in windows store for phone calls
This is handled by Skype but not Skype specific (RFC3966). | C# | mit | MatthewSannes/MvvmCross-Plugins,martijn00/MvvmCross-Plugins,lothrop/MvvmCross-Plugins,Didux/MvvmCross-Plugins |
9c82fb4058c18e573c68cc4de86f94778adf1479 | src/HealthNet.AspNetCore/HealthNetMiddlewareExtensions.cs | src/HealthNet.AspNetCore/HealthNetMiddlewareExtensions.cs | using System;
using System.Linq;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HealthNet.AspNetCore
{
public static class HealthNetMiddlewareExtensions
{
private static readonly Type VersionProviderType = typeof(IVersionProvider);
private static readonly Typ... | using System;
using System.Linq;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HealthNet.AspNetCore
{
public static class HealthNetMiddlewareExtensions
{
private static readonly Type VersionProviderType = typeof(IVersionProvider);
private static readonly Typ... | Allow option to prevent system checkers from being auto registered | Allow option to prevent system checkers from being auto registered
| C# | apache-2.0 | bronumski/HealthNet,bronumski/HealthNet,bronumski/HealthNet |
18daceaa1c05781f8db843034ca7769c507f5938 | test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs | test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs | using Newtonsoft.Json;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class ReplyMarkupSerializationTests
{
[Theory(DisplayName = "Should serialize request poll keyboard button")]
[InlineData(null)]
[InlineData("regular")]
... | using Newtonsoft.Json;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class ReplyMarkupSerializationTests
{
[Theory(DisplayName = "Should serialize request poll keyboard button")]
[InlineData(null)]
[InlineData("regular")]
... | Change string formatting due to appveyor failing | Change string formatting due to appveyor failing
| C# | mit | MrRoundRobin/telegram.bot,TelegramBots/telegram.bot |
c42caaa1017d8727a6f71d74fd24d0e4237e47e2 | Halforbit.DataStores/FileStores/LocalStorage/Attributes/RootPathAttribute.cs | Halforbit.DataStores/FileStores/LocalStorage/Attributes/RootPathAttribute.cs | using Halforbit.DataStores.FileStores.Implementation;
using Halforbit.DataStores.FileStores.LocalStorage.Implementation;
using Halforbit.Facets.Attributes;
using System;
namespace HalfOrbit.DataStores.FileStores.LocalStorage.Attributes
{
public class RootPathAttribute : FacetParameterAttribute
{
... | using Halforbit.DataStores.FileStores.Implementation;
using Halforbit.DataStores.FileStores.LocalStorage.Implementation;
using Halforbit.Facets.Attributes;
using System;
namespace Halforbit.DataStores.FileStores.LocalStorage.Attributes
{
public class RootPathAttribute : FacetParameterAttribute
{
... | Fix a small, old typo | Fix a small, old typo
| C# | mit | halforbit/data-stores |
68912c257276199a48cab8eaf77dad4f771c2030 | Platform/Platform.Data.Core/Sequences/SequencesOptions.cs | Platform/Platform.Data.Core/Sequences/SequencesOptions.cs | using System;
using Platform.Data.Core.Pairs;
namespace Platform.Data.Core.Sequences
{
public struct SequencesOptions // TODO: To use type parameter <TLink> the ILinks<TLink> must contain GetConstants function.
{
public ulong SequenceMarkerLink;
public bool UseCascadeUpdate;
public boo... | using System;
using Platform.Data.Core.Pairs;
namespace Platform.Data.Core.Sequences
{
public struct SequencesOptions // TODO: To use type parameter <TLink> the ILinks<TLink> must contain GetConstants function.
{
public ulong SequenceMarkerLink;
public bool UseCascadeUpdate;
public boo... | Create Sequence Marker only if it is used. | Create Sequence Marker only if it is used.
| C# | unlicense | linksplatform/Crawler,linksplatform/Crawler,linksplatform/Crawler |
13aafc96b177038568ad353f51f514cf43024af9 | core/VerificationProviderException.cs | core/VerificationProviderException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mios.Payment {
[Serializable]
public class VerificationProviderException : Exception {
public VerificationProviderException() { }
public VerificationProviderException(string me... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mios.Payment {
[Serializable]
public class VerificationProviderException : Exception {
public string ResponseContent {
get { return Data["Response"] as string; }
set { Dat... | Add property for response content, mapped to Data collection. | Add property for response content, mapped to Data collection.
| C# | bsd-2-clause | mios-fi/mios.payment |
6fd839223e5569367916c5176e65476abbcb442b | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/BlockbustersComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/BlockbustersComponentSolver.cs | using System.Collections;
using System.Linq;
using System.Text.RegularExpressions;
public class BlockbustersComponentSolver : ComponentSolver
{
public BlockbustersComponentSolver(TwitchModule module) :
base(module)
{
selectables = Module.BombComponent.GetComponent<KMSelectable>().Children;
ModInfo = Component... | using System.Collections;
using System.Linq;
using System.Text.RegularExpressions;
public class BlockbustersComponentSolver : ComponentSolver
{
public BlockbustersComponentSolver(TwitchModule module) :
base(module)
{
selectables = Module.BombComponent.GetComponent<KMSelectable>().Children;
ModInfo = Component... | Fix Blockbusters not accepting uppercase input | Fix Blockbusters not accepting uppercase input
| C# | mit | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays |
2378d926e8e265ffecc3320869849c7554eda4dd | build/TestAssemblyInfo.cs | build/TestAssemblyInfo.cs |
using Xunit;
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)]
|
using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Xml.Linq;
using Xunit;
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)]
// Register test framework for assembly fixture
[assembly: TestFramework("Xunit.NetCore.Extensions.XunitTestFrameworkW... | Set DOTNET_HOST_PATH so Roslyn tasks will use the right host | Set DOTNET_HOST_PATH so Roslyn tasks will use the right host
| C# | mit | Microsoft/msbuild,mono/msbuild,mono/msbuild,AndyGerlicher/msbuild,cdmihai/msbuild,rainersigwald/msbuild,mono/msbuild,AndyGerlicher/msbuild,jeffkl/msbuild,chipitsine/msbuild,sean-gilliam/msbuild,cdmihai/msbuild,sean-gilliam/msbuild,chipitsine/msbuild,jeffkl/msbuild,cdmihai/msbuild,Microsoft/msbuild,chipitsine/msbuild,ch... |
ad684ec651cf819802cfa3f30d89a95bd87751cf | Source/Lib/TraktApiSharp/Utils/Json.cs | Source/Lib/TraktApiSharp/Utils/Json.cs | namespace TraktApiSharp.Utils
{
using Newtonsoft.Json;
using System.Threading.Tasks;
internal static class Json
{
internal static readonly JsonSerializerSettings DEFAULT_JSON_SETTINGS
= new JsonSerializerSettings
{
Formatting = Formatting.None,
... | namespace TraktApiSharp.Utils
{
using Newtonsoft.Json;
internal static class Json
{
internal static readonly JsonSerializerSettings DEFAULT_JSON_SETTINGS
= new JsonSerializerSettings
{
Formatting = Formatting.None,
NullValueHandling = NullVal... | Remove async helper methods for json serialization. | Remove async helper methods for json serialization.
| C# | mit | henrikfroehling/TraktApiSharp |
746244df5da515243866d03167c8986ecb72cac7 | ExampleClients/dotnet/UDIR.PAS2.Example.Client/UDIR.PAS2.OAuth.Client/AuthorizationServer.cs | ExampleClients/dotnet/UDIR.PAS2.Example.Client/UDIR.PAS2.OAuth.Client/AuthorizationServer.cs | using System;
namespace UDIR.PAS2.OAuth.Client
{
internal class AuthorizationServer
{
public AuthorizationServer(Uri baseAddress)
{
BaseAddress = baseAddress;
TokenEndpoint = new Uri(baseAddress, "/connect/token").ToString();
}
public AuthorizationServer(string baseAddress) : this(new Uri(baseAddress... | using System;
namespace UDIR.PAS2.OAuth.Client
{
internal class AuthorizationServer
{
public AuthorizationServer(Uri baseAddress)
{
BaseAddress = baseAddress;
TokenEndpoint = new Uri(baseAddress, "/connect/token").ToString();
}
public AuthorizationServer(string baseAddress) : this(new Uri(baseAddress... | Use private accessor for property | Use private accessor for property
| C# | apache-2.0 | Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public |
88d98a47fdedb091e14c9f63c0c25bf4b52975f8 | M101DotNet/Program.cs | M101DotNet/Program.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MongoDB.Driver;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using Newtonsoft.Json;
namespace M101DotNet
{
public class Program
{
public static void Main(string[] args)
{
MainAsync(args).... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MongoDB.Driver;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.IO;
namespace M101DotNet
{
public class Program
{
public static void Main(string[] args)
{
MainAsync(args).... | Use builtin MongoDB Bson serialization | Use builtin MongoDB Bson serialization
| C# | mit | peterblazejewicz/m101DotNet-vNext,peterblazejewicz/m101DotNet-vNext |
42b071bb9d18bcf13ccd41ac6dd3a768720b08a6 | Mono.Debugger.Cli/Commands/ThreadsCommand.cs | Mono.Debugger.Cli/Commands/ThreadsCommand.cs | using System.Collections.Generic;
using Mono.Debugger.Cli.Debugging;
using Mono.Debugger.Cli.Logging;
namespace Mono.Debugger.Cli.Commands
{
public sealed class ThreadsCommand : ICommand
{
public string Name
{
get { return "Threads"; }
}
public string Description
... | using System.Collections.Generic;
using Mono.Debugger.Cli.Debugging;
using Mono.Debugger.Cli.Logging;
namespace Mono.Debugger.Cli.Commands
{
public sealed class ThreadsCommand : ICommand
{
public string Name
{
get { return "Threads"; }
}
public string Description
... | Add a little more info to the thread listing. | Add a little more info to the thread listing.
| C# | mit | GunioRobot/sdb-cli,GunioRobot/sdb-cli |
daf90e6bcf30df4fa1caee7500650d7b4944a77e | src/Assent/Reporters/DiffPrograms/BeyondCompareDiffProgram.cs | src/Assent/Reporters/DiffPrograms/BeyondCompareDiffProgram.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class BeyondCompareDiffProgram : DiffProgramBase
{
static BeyondCompareDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class BeyondCompareDiffProgram : DiffProgramBase
{
static BeyondCompareDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
... | Add OSX default install location for BeyondCompare. | Add OSX default install location for BeyondCompare.
| C# | mit | droyad/Assent |
54d0880efb9db929d89ba15b601d5be41e333029 | elbsms_console/Program.cs | elbsms_console/Program.cs | using System;
using elbsms_core;
namespace elbsms_console
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("Usage: elbsms_console <path to rom>");
return;
}
string romP... | using System;
using System.Diagnostics;
using elbsms_core;
namespace elbsms_console
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("Usage: elbsms_console <path to rom>");
return;
... | Add some simple runtime stats while implementing the Z80 core | Add some simple runtime stats while implementing the Z80 core
| C# | mit | eightlittlebits/elbsms |
d071230bcfa9d18fe24be6137f3afc0a50485040 | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyProduct("SqlStreamStore")]
[assembly: AssemblyCopyright("Copyright Damian Hickey & Contributors 2015 - 2016")]
[assembly: AssemblyVersion("0.2.0.0")]
[assembly: AssemblyFileVersion("0.2.0.0")]
| using System.Reflection;
[assembly: AssemblyProduct("SqlStreamStore")]
[assembly: AssemblyCopyright("Copyright Damian Hickey & Contributors 2015 - 2016")]
[assembly: AssemblyVersion("0.1.1.0")]
[assembly: AssemblyFileVersion("0.1.1.0")]
| Make the next release version 0.1.1 (bug fixes) | Make the next release version 0.1.1 (bug fixes)
| C# | mit | SQLStreamStore/SQLStreamStore,damianh/SqlStreamStore,damianh/Cedar.EventStore,danbarua/Cedar.EventStore,SQLStreamStore/SQLStreamStore |
f3d68c0ea9173c43514e072d4df0680a7d76da7e | Program.cs | Program.cs | namespace Cash_Flow_Projection
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLe... | namespace Cash_Flow_Projection
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLe... | Move Seq 'Compact' flag, default | Move Seq 'Compact' flag, default | C# | mit | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection |
a0cdd62579f89432e3e36e55b8e9b3aa19399044 | Program.cs | Program.cs | using ARSoft.Tools.Net.Dns;
using System;
using System.Net;
using System.Net.Sockets;
namespace DNSRootServerResolver
{
public class Program
{
public static void Main(string[] args)
{
using (var server = new DnsServer(IPAddress.Any, 25, 25, DnsServerHandler))
{
... | using ARSoft.Tools.Net.Dns;
using System;
using System.Net;
using System.Net.Sockets;
namespace DNSRootServerResolver
{
public class Program
{
public static void Main(string[] args)
{
using (var server = new DnsServer(IPAddress.Any, 25, 25, DnsServerHandler))
{
... | Add mx handling and not implemented if non supported type request | Add mx handling and not implemented if non supported type request
| C# | mit | fiinix00/DNSRootServerResolver |
c8853406afb9e79d5cf14919db0f2ca25557c0cd | Assets/MixedRealityToolkit.SDK/Features/Input/Handlers/TouchHandler.cs | Assets/MixedRealityToolkit.SDK/Features/Input/Handlers/TouchHandler.cs | using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TouchHandler : MonoBehaviour, IMixedRealityTouchHandler
{
#region Event handlers
public TouchEvent OnTouchStarted = new TouchEvent()... | using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
public class TouchHandler : MonoBehaviour, IMixedRealityTouchHandler
{
#region Event han... | Add missing namespace to resolve asset retargeting failures | Add missing namespace to resolve asset retargeting failures
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
9703304537027e9feed29e6515be098c57c660b5 | Test/Hatfield.EnviroData.DataAcquisition.ESDAT.Test/Converters/ESDATDataConverterTest.cs | Test/Hatfield.EnviroData.DataAcquisition.ESDAT.Test/Converters/ESDATDataConverterTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Test.Converters
{
class ESDATDataConverterTest
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Moq;
using Hatfield.EnviroData.Core;
using Hatfield.EnviroData.DataAcquisition.ESDAT;
using Hatfield.EnviroData.DataAcquisition.ESDAT.Converters;
namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Test.... | Implement ESDATModel test for OSM2.Actions | Implement ESDATModel test for OSM2.Actions
| C# | mpl-2.0 | kgarsuta/Hatfield.EnviroData.DataAcquisition,gvassas/Hatfield.EnviroData.DataAcquisition,HatfieldConsultants/Hatfield.EnviroData.DataAcquisition |
a77df68909defb3bf62223d7bb8187b160cd9642 | Bonobo.Git.Server/Security/ADRepositoryPermissionService.cs | Bonobo.Git.Server/Security/ADRepositoryPermissionService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Bonobo.Git.Server.Data;
using Bonobo.Git.Server.Models;
using Microsoft.Practices.Unity;
namespace Bonobo.Git.Server.Security
{
public class ADRepositoryPermissionService : IRepositoryPermissionService
{
[Depe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Bonobo.Git.Server.Data;
using Bonobo.Git.Server.Models;
using Microsoft.Practices.Unity;
namespace Bonobo.Git.Server.Security
{
public class ADRepositoryPermissionService : IRepositoryPermissionService
{
[Depe... | Fix repository permission checks. Yes, that was stupid. | Fix repository permission checks. Yes, that was stupid.
| C# | mit | Webmine/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,Acute-sales-ltd/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,larshg/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Server,crowar/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,RedX2501/Bonobo... |
3778250fa467246b1ba031e5f73d253437b2e893 | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | Fix test to use the appropriate config | Fix test to use the appropriate config
| C# | apache-2.0 | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode |
416a43f0b155cc8d6bd885428cde90d6b0e26a1a | windows/TweetDuck/Updates/UpdateInstaller.cs | windows/TweetDuck/Updates/UpdateInstaller.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
using TweetDuck.Configuration;
using TweetLib.Core;
using TweetLib.Utils.Static;
namespace TweetDuck.Updates {
sealed class UpdateInstaller {
private string Path { get; }
public UpdateInstaller(string path) {
this.Path = path;
}
public... | using System;
using System.ComponentModel;
using System.Diagnostics;
using TweetDuck.Configuration;
using TweetLib.Core;
using TweetLib.Utils.Static;
namespace TweetDuck.Updates {
sealed class UpdateInstaller {
private string Path { get; }
public UpdateInstaller(string path) {
this.Path = path;
}
public... | Fix update installer not running as administrator due to breaking change in .NET | Fix update installer not running as administrator due to breaking change in .NET
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
a141186aaad99ffd0017505da0298040efcda794 | src/Hqub.Lastfm/Configure.cs | src/Hqub.Lastfm/Configure.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hqub.Lastfm
{
public static class Configure
{
/// <summary>
/// Set value delay between requests.
/// </summary>
public static int Delay { get; set; }
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hqub.Lastfm
{
public static class Configure
{
static Configure()
{
Delay = 1000;
}
/// <summary>
/// Set value delay between requests.
... | Set default delay value = 1000 | Set default delay value = 1000
| C# | mit | avatar29A/Last.fm |
9f23080cf8df6d2e74d7ee695b6b40dc1055fa63 | src/Stripe.net/Services/SubscriptionItems/SubscriptionItemPriceDataRecurringOptions.cs | src/Stripe.net/Services/SubscriptionItems/SubscriptionItemPriceDataRecurringOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemPriceDataRecurringOptions : INestedOptions
{
/// <summary>
/// Specifies a usage aggregation strategy for prices where <see cref="UsageType"/> is
/// <c>metered</c>. Allowed values a... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemPriceDataRecurringOptions : INestedOptions
{
/// <summary>
/// he frequency at which a subscription is billed. One of <c>day</c>, <c>week</c>,
/// <c>month</c> or <c>year</c>... | Fix parameters supported in `Recurring` for `PriceData` across the API | Fix parameters supported in `Recurring` for `PriceData` across the API
| C# | apache-2.0 | stripe/stripe-dotnet |
215547f59924683e378da334f0445e2697728e49 | src/VisualStudio/Core/Def/ExternalAccess/VSTypeScript/Api/IVsTypeScriptRemoteLanguageServiceWorkspace.cs | src/VisualStudio/Core/Def/ExternalAccess/VSTypeScript/Api/IVsTypeScriptRemoteLanguageServiceWorkspace.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.VisualStudio.LanguageServices.ExternalAccess.VSTypeScript.Api
{
interface IVsTypeScriptRemo... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis;
namespace Microsoft.VisualStudio.LanguageServices.ExternalAccess.VSTypeScript.Api
{
... | Add usage comment to interface | Add usage comment to interface
| C# | mit | heejaechang/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,dotnet/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,genlu/roslyn,panopticoncentral/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,tannergooding/roslyn,dotnet/roslyn,bartdesmet/roslyn,ErikSchierboom/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,mgoert... |
a9f06a179dbf97d90d18909668ba6064c0957e29 | resharper/resharper-unity/src/Rider/UnityRiderUnitTestCoverageAvailabilityChecker.cs | resharper/resharper-unity/src/Rider/UnityRiderUnitTestCoverageAvailabilityChecker.cs | using JetBrains.Application;
using JetBrains.Application.Components;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features;
using JetBrains.ReSharper.Host.Features.UnitTesting;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.UnitTestF... | using System;
using JetBrains.Application;
using JetBrains.Application.Components;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features;
using JetBrains.ReSharper.Host.Features.UnitTesting;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSha... | Disable tests coverage for unsupported Unity versions | Disable tests coverage for unsupported Unity versions
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
2c1944fea1a3cb8f3cf3572cd662e3e186ef42f8 | Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/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("Appleseed.UrlRewriting")]
[assembly: Asse... | 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("Appleseed.UrlRewriting")]
[assembly: Asse... | Update Version : 1.7.171.0 URL Changes + Fix User Manager Delete | Update Version : 1.7.171.0
URL Changes + Fix User Manager Delete
| C# | apache-2.0 | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal |
a0076396ddd9434494cc8984352a9fecd03e06c6 | Source/Lib/TraktApiSharp/Objects/Get/People/TraktPersonImages.cs | Source/Lib/TraktApiSharp/Objects/Get/People/TraktPersonImages.cs | namespace TraktApiSharp.Objects.Get.People
{
using Basic;
using Newtonsoft.Json;
public class TraktPersonImages
{
[JsonProperty(PropertyName = "headshot")]
public TraktImageSet Headshot { get; set; }
[JsonProperty(PropertyName = "fanart")]
public TraktImageSet FanArt {... | namespace TraktApiSharp.Objects.Get.People
{
using Basic;
using Newtonsoft.Json;
/// <summary>A collection of images and image sets for a Trakt person.</summary>
public class TraktPersonImages
{
/// <summary>Gets or sets the headshot image set.</summary>
[JsonProperty(PropertyName ... | Add documentation for person images. | Add documentation for person images.
| C# | mit | henrikfroehling/TraktApiSharp |
5c0dda3cf7baffd92a83dfc76b2991562149fbd8 | Libs/Hopac.Core/Util/Condition.cs | Libs/Hopac.Core/Util/Condition.cs | // Copyright (C) by Housemarque, Inc.
namespace Hopac.Core {
using System.Threading;
/// <summary>Provides a low overhead, single shot waitable event.</summary>
internal static class Condition {
internal static bool warned;
internal static void Pulse(object o, ref int v) {
var w = v;
if (w ... | // Copyright (C) by Housemarque, Inc.
namespace Hopac.Core {
using System.Threading;
/// <summary>Provides a low overhead, single shot waitable event.</summary>
internal static class Condition {
internal static bool warned;
internal static void Pulse(object o, ref int v) {
var w = v;
if (w ... | Add stack to deadlock warning (and fix typo) | Add stack to deadlock warning (and fix typo)
| C# | mit | Hopac/Hopac,Hopac/Hopac |
aeb703bd200594260fea97e35a5e59291770e951 | src/Microsoft.DocAsCode.MarkdownLite/Basic/BlockTokens/MarkdownParagraphBlockToken.cs | src/Microsoft.DocAsCode.MarkdownLite/Basic/BlockTokens/MarkdownParagraphBlockToken.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdownLite
{
public class MarkdownParagraphBlockToken : IMarkdownToken, IMarkdownRewritable<MarkdownParagraphBlockToken>
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdownLite
{
public class MarkdownParagraphBlockToken : IMarkdownToken, IMarkdownRewritable<MarkdownParagraphBlockToken>
{
... | Fix bug in Paragraph rewriter | Fix bug in Paragraph rewriter
| C# | mit | DuncanmaMSFT/docfx,LordZoltan/docfx,928PJY/docfx,sergey-vershinin/docfx,dotnet/docfx,dotnet/docfx,hellosnow/docfx,928PJY/docfx,pascalberger/docfx,hellosnow/docfx,hellosnow/docfx,928PJY/docfx,LordZoltan/docfx,LordZoltan/docfx,sergey-vershinin/docfx,DuncanmaMSFT/docfx,superyyrrzz/docfx,pascalberger/docfx,pascalberger/doc... |
82580726c2b9d69b8fc83b0a10325425ccdad647 | MitternachtWeb/Program.cs | MitternachtWeb/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task Main(string[] args) {
Mitte... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System;
using System.IO;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task... | Make content root path independent of working directory. | Make content root path independent of working directory.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
80d0f4de2bee09f237703223a89065631d5736fc | SteamAccountSwitcher/TrayIconHelper.cs | SteamAccountSwitcher/TrayIconHelper.cs | using System;
using System.Windows;
using System.Windows.Media.Imaging;
using Hardcodet.Wpf.TaskbarNotification;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
internal class TrayIconHelper
{
public static void ShowRunningInTrayBalloon()
{
ShowTrayBalloon(
... | using System;
using System.Windows;
using System.Windows.Media.Imaging;
using Hardcodet.Wpf.TaskbarNotification;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
internal class TrayIconHelper
{
public static void ShowRunningInTrayBalloon()
{
ShowTrayBalloon(
... | Fix tray icon double click not activating switcher window | Fix tray icon double click not activating switcher window
| C# | mit | danielchalmers/SteamAccountSwitcher |
df852498319580168b47fc9dad8cf19156aef290 | BasicSample/ExcelMediaConsole/Program.cs | BasicSample/ExcelMediaConsole/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace ExcelMediaConsole
{
class Program
{
static void Main(string[] args)
{
var excelFilePath = "Book1.xlsx";
var outputDirPath = "Media";
D... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace ExcelMediaConsole
{
class Program
{
static void Main(string[] args)
{
var excelFilePath = "Book1.xlsx";
var outputDirPath = "Media";
D... | Add method to extract and zip | Add method to extract and zip
| C# | mit | sakapon/Samples-2013 |
c743a80d05aa2de9123bbb9f46ee1cf5b9175d63 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Web")]
[assembly: AssemblyDescription("Autofac ASP.NET Integration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Web, PublicKey=0024000... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Web")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Web, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261... | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Web |
8af2c173e5b9efd6cdcf59f8ba5908c20e0de079 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Commons;
[assembly: AssemblyTitle("TickTack")]
[assembly: AssemblyDescription("Delayed reminder!")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rafael Teixeira")]
[assembly: AssemblyProduc... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Commons;
[assembly: AssemblyTitle("TickTack")]
[assembly: AssemblyDescription("Delayed reminder!")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rafael Teixeira")]
[assembly: AssemblyProduc... | Drop alpha status, it is a 1.0.0 release as is | Drop alpha status, it is a 1.0.0 release as is
| C# | mit | monoman/TickTack |
464d053e8ffdb4dcd54da2d7db22cd3fc969531b | sln/Pagination.Release/ReleaseActions/Tag.cs | sln/Pagination.Release/ReleaseActions/Tag.cs | namespace Pagination.ReleaseActions {
class Tag : ReleaseAction {
public override void Work() {
var tag = Context.Version.StagedVersion;
Process("git", "commit", "-a", "-m", $"\"(Auto-)Commit version '{tag}'.\"");
Process("git", "tag", "-a", tag, "-m", $"\"(Auto-)Tag ver... | namespace Pagination.ReleaseActions {
class Tag : ReleaseAction {
public override void Work() {
var tag = Context.Version.StagedVersion;
Process("git", "status");
Process("git", "commit", "-a", "-m", $"\"(Auto-)Commit version '{tag}'.\"");
Process("git", "pus... | Add git commands to tool. | Add git commands to tool.
| C# | mit | kyourek/Pagination,kyourek/Pagination,kyourek/Pagination |
2ccc81ccc0ca7406d21e6283c60a77f5849bf681 | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneHoldNote.cs | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneHoldNote.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 NUnit.Framework;
using osu.Framework.Bindables;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
usin... | // 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 NUnit.Framework;
using osu.Framework.Bindables;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu... | Add test case for fading hold note | Add test case for fading hold note
| C# | mit | peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu |
19eb6fad7fca29af8f163ace52ba95e70383f542 | osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs | osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTickJudgement : ManiaJudgement
{
public override boo... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTickJudgement : ManiaJudgement
{
protected override ... | Make hold note ticks affect combo score rather than bonus | Make hold note ticks affect combo score rather than bonus
| C# | mit | ppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu |
6cadca8b518b68b3e95490285c58a32a23ecc368 | Snowflake.Events/SnowflakeEventSource.cs | Snowflake.Events/SnowflakeEventSource.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snowflake.Events
{
public partial class SnowflakeEventSource
{
public static SnowflakeEventSource SnowflakeEventSource;
SnowflakeEventSource()
{
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snowflake.Events
{
public partial class SnowflakeEventSource
{
public static SnowflakeEventSource EventSource;
SnowflakeEventSource()
{
}
public... | Fix a syntax error causing typo | EventSource: Fix a syntax error causing typo
| C# | mpl-2.0 | RonnChyran/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake |
85b1213ba85d309627ec27c96bcfe552deb3958b | src/Glimpse.Agent.Connection.Stream/Broker/RemoteStreamMessagePublisher.cs | src/Glimpse.Agent.Connection.Stream/Broker/RemoteStreamMessagePublisher.cs | using System;
namespace Glimpse.Agent
{
public class RemoteStreamMessagePublisher : BaseMessagePublisher
{
public override void PublishMessage(IMessage message)
{
var newMessage = ConvertMessage(message);
// TODO: Use SignalR to publish message
}
}
} | using Glimpse.Agent.Connection.Stream.Connection;
using System;
namespace Glimpse.Agent
{
public class RemoteStreamMessagePublisher : BaseMessagePublisher
{
private readonly IStreamProxy _messagePublisherHub;
public RemoteStreamMessagePublisher(IStreamProxy messagePublisherHub)
{
... | Switch stream publisher over to use new proxy | Switch stream publisher over to use new proxy
| C# | mit | Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glim... |
8ab09a414c2a1afd1fd974bd4d937822f3c2f74a | src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/DispatchWrapperTests.cs | src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/DispatchWrapperTests.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 Xunit;
namespace System.Runtime.InteropServices.Tests
{
#pragma warning disable 0618 // DispatchWrapper is ma... | // 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 Xunit;
namespace System.Runtime.InteropServices.Tests
{
#pragma warning disable 0618 // DispatchWrapper is ma... | Unify DispatchWrapper behavior for null | Unify DispatchWrapper behavior for null
| C# | mit | ViktorHofer/corefx,ptoonen/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,ericstj/corefx,shimingsg/corefx,ptoonen/corefx,shimingsg/corefx,BrennanConroy/corefx,BrennanConroy/corefx,ViktorHofer/corefx,ptoonen/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,B... |
0ae272b75b0a9a47b860a9e8a713be2638733fee | src/MobileApps/MyDriving/MyDriving.Utils/Helpers/DistanceUtils.cs | src/MobileApps/MyDriving/MyDriving.Utils/Helpers/DistanceUtils.cs | using System;
using static System.Math;
namespace MyDriving.Utils
{
public static class DistanceUtils
{
/// <summary>
/// Calculates the distance in miles
/// </summary>
/// <returns>The distance.</returns>
/// <param name="latitudeStart">Latitude start.</param>
... | using System;
using static System.Math;
namespace MyDriving.Utils
{
public static class DistanceUtils
{
/// <summary>
/// Calculates the distance in miles
/// </summary>
/// <returns>The distance.</returns>
/// <param name="latitudeStart">Latitude start.</param>
... | Fix for NAN on Distance Calculations | Fix for NAN on Distance Calculations
| C# | mit | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving |
2d66723115a02260925cbd48c4e4ff5c819a82f2 | src/BloomExe/WebLibraryIntegration/OverwriteWarningDialog.cs | src/BloomExe/WebLibraryIntegration/OverwriteWarningDialog.cs | using System.Windows.Forms;
namespace Bloom.WebLibraryIntegration
{
public partial class OverwriteWarningDialog : Form
{
public OverwriteWarningDialog()
{
InitializeComponent();
}
}
}
| using System.Windows.Forms;
namespace Bloom.WebLibraryIntegration
{
public partial class OverwriteWarningDialog : Form
{
public OverwriteWarningDialog()
{
InitializeComponent();
}
protected override void OnLoad(System.EventArgs e)
{
base.OnLoad(e);
// Fix a display glitch on Linux with the Mono ... | Fix a dialog display glitch on Linux (20190725) | Fix a dialog display glitch on Linux (20190725)
| C# | mit | StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/Bloom... |
87def4a1fe1af32d8263be86e408e5071fa56bb0 | src/StudentFollowingSystem/Controllers/StudentsController.cs | src/StudentFollowingSystem/Controllers/StudentsController.cs | using System.Collections.Generic;
using System.Web.Mvc;
using AutoMapper;
using StudentFollowingSystem.Data.Repositories;
using StudentFollowingSystem.Filters;
using StudentFollowingSystem.Models;
using StudentFollowingSystem.ViewModels;
using Validatr.Filters;
namespace StudentFollowingSystem.Controllers
{
[Auth... | using System.Collections.Generic;
using System.Web.Helpers;
using System.Web.Mvc;
using AutoMapper;
using StudentFollowingSystem.Data.Repositories;
using StudentFollowingSystem.Filters;
using StudentFollowingSystem.Models;
using StudentFollowingSystem.ViewModels;
namespace StudentFollowingSystem.Controllers
{
[Au... | Test password for new students. | Test password for new students.
| C# | mit | henkmollema/StudentFollowingSystem,henkmollema/StudentFollowingSystem |
f51a8842f0d99765fb4778bd5efbf99d0e0984a6 | apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Snippets/MetricServiceClientSnippets.cs | apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Snippets/MetricServiceClientSnippets.cs | // Copyright 2016 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 applicabl... | // Copyright 2016 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 applicabl... | Fix hand-written Monitoring snippet to use resource names | Fix hand-written Monitoring snippet to use resource names
| C# | apache-2.0 | benwulfe/google-cloud-dotnet,evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,... |
3a4dced46edfba9815692b359ec7500f40724952 | UniProgramGen/Data/Teacher.cs | UniProgramGen/Data/Teacher.cs | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Teacher
{
public Requirements requirements { get; internal set; }
public string name { get; internal set; }
public Teacher(Requirements requirements, string name)
{
this.requirements = re... | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Teacher
{
public Requirements requirements { get; internal set; }
public string name { get; internal set; }
public string Name
{
get { return name; }
}
public Teacher(Req... | Add get method for teacher name | Add get method for teacher name
| C# | bsd-2-clause | victoria92/university-program-generator,victoria92/university-program-generator |
f0528e76b20ca47c37d2bd9a4e4642859851d9f3 | Todo-List/Todo-List/Note.cs | Todo-List/Todo-List/Note.cs | // Note.cs
// <copyright file="Note.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
namespace Todo_List
{
/// <summary>
/// A data representation of a note.
/// </summary>
public class Note
{
/// <summary>
/// Initializes a new inst... | // Note.cs
// <copyright file="Note.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
namespace Todo_List
{
/// <summary>
/// A data representation of a note.
/// </summary>
public class Note
{
/// <summary>
/// Initializes a new inst... | Make styling consistent between files | Make styling consistent between files
| C# | mit | It423/todo-list,wrightg42/todo-list |
bf6d45292915ce18755a84fb1bbd831ed3d5db57 | PalasoUIWindowsForms/Keyboarding/Linux/GlobalCachedInputContext.cs | PalasoUIWindowsForms/Keyboarding/Linux/GlobalCachedInputContext.cs | #if __MonoCS__
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using IBusDotNet;
using NDesk.DBus;
namespace Palaso.UI.WindowsForms.Keyboarding.Linux
{
/// <summary>
/// a global cache used only to reduce traffic with ibus via dbus.
/// </summary>
internal static class GlobalCachedInp... | #if __MonoCS__
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using IBusDotNet;
using NDesk.DBus;
namespace Palaso.UI.WindowsForms.Keyboarding.Linux
{
/// <summary>
/// a global cache used only to reduce traffic with ibus via dbus.
/// </summary>
internal static class GlobalCachedInp... | Fix bug when deactivating ibus keyboards Setting the Keyboard to null in GlobalInputContext.Clear prevented the IbusKeyboardAdaptor.SetIMEKeyboard method from disabling the keyboard. | Fix bug when deactivating ibus keyboards
Setting the Keyboard to null in GlobalInputContext.Clear prevented
the IbusKeyboardAdaptor.SetIMEKeyboard method from disabling the
keyboard.
Change-Id: I738e73741852d368a028d6d7c5abd759cad8e32d
---
PalasoUIWindowsForms/Keyboarding/Linux/GlobalCachedInputContext.cs | 1 -
1 fi... | C# | mit | tombogle/libpalaso,andrew-polk/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,marksvc/libpalaso,darcywong00/libpalaso,hatton/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,ddaspit/libpalaso,dd... |
55c28220d900a04bc6aefb9ffc0b0790ee994ba8 | Dx.Runtime/DefaultObjectWithTypeSerializer.cs | Dx.Runtime/DefaultObjectWithTypeSerializer.cs | using System;
using System.IO;
using System.Runtime.Serialization;
using ProtoBuf;
using ProtoBuf.Meta;
namespace Dx.Runtime
{
public class DefaultObjectWithTypeSerializer : IObjectWithTypeSerializer
{
private readonly ILocalNode m_LocalNode;
public DefaultObjectWithTypeSerializer(ILocalNode ... | using System;
using System.IO;
using System.Runtime.Serialization;
using ProtoBuf;
using ProtoBuf.Meta;
namespace Dx.Runtime
{
public class DefaultObjectWithTypeSerializer : IObjectWithTypeSerializer
{
private readonly ILocalNode m_LocalNode;
public DefaultObjectWithTypeSerializer(ILocalNode ... | Remove old serialization check that is no longer required | Remove old serialization check that is no longer required
The serialization system explicitly uses SkipConstructor, so we don't need to
pass in an object created with FormatterServices into the Deserialize method.
This causes an exception when the type is a byte array (and it probably also
occurs for other arrays as w... | C# | mit | hach-que/Dx |
e2e7e73835634df4ad8229b116742ad1366ae2ff | TheCollection.Domain/Contracts/Repository/ILinqSearchRepository.cs | TheCollection.Domain/Contracts/Repository/ILinqSearchRepository.cs | namespace TheCollection.Domain.Contracts.Repository {
using System.Collections.Generic;
using System.Threading.Tasks;
public interface ILinqSearchRepository<T> where T : class {
Task<IEnumerable<T>> SearchItemsAsync(System.Linq.Expressions.Expression<System.Func<T, bool>> predicate = null, int page... | namespace TheCollection.Domain.Contracts.Repository {
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
public interface ILinqSearchRepository<T> where T : class {
Task<IEnumerable<T>> SearchItemsAsync(Expression<Func<T, bool>> pred... | Clean code with using instead of fixed namespaces | Clean code with using instead of fixed namespaces
| C# | apache-2.0 | projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection |
447b6b8e0f6842032ad1bdcf5b92127edee7358c | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | Simplify logic in user profile validation | Simplify logic in user profile validation
| C# | mit | mikesigs/allReady,mikesigs/allReady,mikesigs/allReady,mikesigs/allReady |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.