commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
cd3fe6ad3bfcde360a2b510f68a332671e2e91bc | Remove nameof method usage in Identifiers. | affecto/dotnet-Testing.SpecFlow | Testing.SpecFlow/Identifiers.cs | Testing.SpecFlow/Identifiers.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Affecto.Testing.SpecFlow
{
public class Identifiers
{
private readonly IDictionary<Guid, string> identifiedTexts;
public Identifiers()
{
identifiedTexts = new Dictionary<Guid, string>(... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Affecto.Testing.SpecFlow
{
public class Identifiers
{
private readonly IDictionary<Guid, string> identifiedTexts;
public Identifiers()
{
identifiedTexts = new Dictionary<Guid, string>(... | mit | C# |
3209624048e010515b83d1fa2bf8adaf174614d0 | Add one more mode for dump checkedout files - by checkout date | azarkevich/VssSvnConverter | VssSvnConverter/LinksBuilder.cs | VssSvnConverter/LinksBuilder.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mime;
using SourceSafeTypeLib;
using vcslib;
namespace VssSvnConverter
{
class LinksBuilder
{
public const string DataFileName = "3-state-links.txt";
public const string DataFileUiName = "3-state-links-ui.txt";
... | using System;
using System.Collections.Generic;
using System.Linq;
using SourceSafeTypeLib;
using vcslib;
namespace VssSvnConverter
{
class LinksBuilder
{
public const string DataFileName = "3-state-links.txt";
public const string DataFileUiName = "3-state-links-ui.txt";
public const string DataFileCoName = "... | mit | C# |
d294b431fa9a8ca5f2d9a7260ecec546e22eb586 | Enable Inspector property code vision by default | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Settings/UnitySettings.cs | resharper/resharper-unity/src/Settings/UnitySettings.cs | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Resources.Settings;
namespace JetBrains.ReSharper.Plugins.Unity.Settings
{
[SettingsKey(typeof(CodeEditingSettings), "Unity plugin settings")]
public class UnitySettings
{
[SettingsEntry(true, "If this option is enabled, the Rider Unit... | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Resources.Settings;
namespace JetBrains.ReSharper.Plugins.Unity.Settings
{
[SettingsKey(typeof(CodeEditingSettings), "Unity plugin settings")]
public class UnitySettings
{
[SettingsEntry(true, "If this option is enabled, the Rider Unit... | apache-2.0 | C# |
20315077bff953fa40bb9a7fb21d4c094607dc50 | Fix regression due to starting in Part view without printer selection | unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterC... | Tests/MatterControl.AutomationTests/OptionsTabTests.cs | Tests/MatterControl.AutomationTests/OptionsTabTests.cs | using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), RunInApplicationDomain]
public class ShowTerminalButtonClickedOpensTerminal
{
[Test, Apartment(A... | using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), RunInApplicationDomain]
public class ShowTerminalButtonClickedOpensTerminal
{
[Test, Apartment(A... | bsd-2-clause | C# |
5b868368cd614260fd86176a2445c55ef0a77c34 | Mark IViewFactory as deprecated | ramonesteban78/RockMvvmForms | RockMvvmForms/IViewFactory.cs | RockMvvmForms/IViewFactory.cs | using System;
using Xamarin.Forms;
namespace RockMvvmForms
{
[Obsolete("Use the static class ViewFactory. This interface is no longer available",true)]
public interface IViewFactory
{
void Register<TViewModel, TView>()
where TViewModel : class, IViewModel
where TView : Page;
Page Resolve<TViewModel>(... | using System;
using Xamarin.Forms;
namespace RockMvvmForms
{
public interface IViewFactory
{
void Register<TViewModel, TView>()
where TViewModel : class, IViewModel
where TView : Page;
Page Resolve<TViewModel>(TViewModel viewModel)
where TViewModel : class, IViewModel;
}
}
| mit | C# |
38d9a1f0dd3db50e555b269b20b32fc9c48604c0 | Fix bug where factory name hadn't been udpated | pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Proto... | src/Glimpse.Agent.Connection.Stream/Broker/WebSocketChannelSender.cs | src/Glimpse.Agent.Connection.Stream/Broker/WebSocketChannelSender.cs | using Glimpse.Agent.Connection.Stream.Connection;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class WebSocketChannelSender : IChannelSender
{
private readonly IMessageConverter _messageConverter;
private readonly IStreamHubProxyFactory _streamHubProxyFactory;
... | using Glimpse.Agent.Connection.Stream.Connection;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class WebSocketChannelSender : IChannelSender
{
private readonly IMessageConverter _messageConverter;
private readonly IStreamHubProxyFactory _streamHubProxyFactory;
... | mit | C# |
2c14310619eba5e09baf7878bc7dbefddd25b400 | Change the 'Request' object in the Dispatch system to no longer alter the passed in message. | ariugwu/sharpbox,ariugwu/sharpbox,ariugwu/sharpbox,ariugwu/sharpbox | sharpbox.Dispatch/Model/Request.cs | sharpbox.Dispatch/Model/Request.cs | using System;
namespace sharpbox.Dispatch.Model
{
[Serializable]
public class Request : BasePackage
{
public Request()
{
CreatedDate = DateTime.Now;
}
public int RequestId { get; set; } // @SEE http://stackoverflow.com/questions/11938044/what-are-the-best-pract... | using System;
namespace sharpbox.Dispatch.Model
{
[Serializable]
public class Request : BasePackage
{
public Request()
{
CreatedDate = DateTime.Now;
}
public int RequestId { get; set; } // @SEE http://stackoverflow.com/questions/11938044/what-are-the-best-pract... | mit | C# |
d9194a864a3011cdbd6f42f56cb0c834e2b6a0fd | Fix name of help file | gmartin7/myBloomFork,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDes... | src/BloomExe/HelpLauncher.cs | src/BloomExe/HelpLauncher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Palaso.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.chm"));
}
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Palaso.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.CHM"));
}
p... | mit | C# |
8444821ac3320b0685c506cda0567c648735d815 | use tag to find target panels, instead of panel name | yasokada/unity-150905-dynamicDisplay | Assets/PanelDisplayControl.cs | Assets/PanelDisplayControl.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.3 2015/09/06
* - use Tag for Panel to find target panels, instead of panel name
* v0.2 2015/09/06
* - add sample UI components in each panel
* v0.1 2015/09/05
* - show/hide panels
*/
public class PanelDisplayControl : MonoBehavio... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.2 2015/09/06
* - add sample UI components in each panel
* v0.1 2015/09/05
* - show/hide panels
*/
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
public GameObject PanelGroup;
private Vector2[] o... | mit | C# |
35cd6674f62453170861d6dab2f738fbb66932ba | Fix tiny droplet scale factor | smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu | osu.Game.Rulesets.Catch/Objects/Drawables/DrawableTinyDroplet.cs | osu.Game.Rulesets.Catch/Objects/Drawables/DrawableTinyDroplet.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.
namespace osu.Game.Rulesets.Catch.Objects.Drawables
{
public class DrawableTinyDroplet : DrawableDroplet
{
protected override float ScaleFactor => base.S... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
namespace osu.Game.Rulesets.Catch.Objects.Drawables
{
public class DrawableTinyDroplet : DrawableDroplet
{
public Drawab... | mit | C# |
b73651c6b6ffcef16981fe35e31a9c052414a2c5 | support whitespace | BarryThePenguin/Squirrel.Windows,markwal/Squirrel.Windows,JonMartinTx/AS400Report,flagbug/Squirrel.Windows,1gurucoder/Squirrel.Windows,sickboy/Squirrel.Windows,sickboy/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,cguedel/Squirrel.Windows,flagbug/Squirrel.Windows,ChaseFlorell/Squirrel.Windows,vaginessa/Squirrel.Wind... | src/Squirrel/AssemblyExtensions.cs | src/Squirrel/AssemblyExtensions.cs | using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Squirrel
{
public static class AssemblyExtensions
{
public static void Restart(this Assembly assembly, string[] arguments = null)
{
ProcessStart(assembly, assembly.Location, arguments);
}
... | using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Squirrel
{
public static class AssemblyExtensions
{
public static void Restart(this Assembly assembly, string[] arguments = null)
{
ProcessStart(assembly, assembly.Location, arguments);
}
... | mit | C# |
f73f822d1076765b396ed4804f4785efaf51b2e1 | Backup name fixed. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | src/Squidex/Areas/Api/Controllers/Backups/BackupContentController.cs | src/Squidex/Areas/Api/Controllers/Backups/BackupContentController.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
0d2faef1f966185bb76be8bd0ce9eb360fe0624d | Fix ordering of fluent API in SC-daemon so mempool loads on startup (#1902) | fassadlr/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/Stratis... | src/Stratis.StratisSmartContractsD/Program.cs | src/Stratis.StratisSmartContractsD/Program.cs | using System;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.Networks;
using NBitcoin.Protocol;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.Api;
using Stratis.Bitcoin.Features.BlockStore;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitco... | using System;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.Networks;
using NBitcoin.Protocol;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.Api;
using Stratis.Bitcoin.Features.BlockStore;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitco... | mit | C# |
081b8ba7342654d7d7459a74030c9aadd1ec2ec1 | fix important bug | dethi/troma | src/Game/Arrow/Arrow/Game.cs | src/Game/Arrow/Arrow/Game.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft... | mit | C# |
a859a7b1441cd64b4fd6fe831877f1612943e50b | fix added class | StrubT/StrubTUtilities | StrubTUtilities/SimpleTree.cs | StrubTUtilities/SimpleTree.cs | using System;
using System.Collections.Generic;
namespace StrubT {
public interface IReadOnlyTree<out T> {
string Name { get; }
IReadOnlyCollection<IReadOnlyTreeNode<T>> RootNodes { get; }
}
public interface IReadOnlyTreeNode<out T> {
string Label { get; }
T Value { get; }
IReadOnlyCollection<IRea... | using System;
using System.Collections.Generic;
namespace StrubT {
public interface IReadOnlyTree<out T> {
string Name { get; }
IReadOnlyCollection<IReadOnlyTreeNode<T>> RootNodes { get; }
}
public interface IReadOnlyTreeNode<out T> {
string Label { get; }
T Value { get; }
IReadOnlyCollection<IRea... | mit | C# |
9435f1255e42f62eb6c904b74521d204dc3559e3 | Tidy up Start() function comment | Nilihum/fungus,lealeelu/Fungus,snozbot/fungus,kdoore/Fungus,FungusGames/Fungus,RonanPearce/Fungus,tapiralec/Fungus,inarizushi/Fungus | Assets/Fungus/Scripts/View.cs | Assets/Fungus/Scripts/View.cs | using UnityEngine;
using System.Collections;
namespace Fungus
{
// Defines a camera view point.
// The position and rotation are specified using the game object's transform, so this class
// only specifies the ortographic view size.
[ExecuteInEditMode]
public class View : MonoBehaviour
{
public float viewSize... | using UnityEngine;
using System.Collections;
namespace Fungus
{
// Defines a camera view point.
// The position and rotation are specified using the game object's transform, so this class
// only specifies the ortographic view size.
[ExecuteInEditMode]
public class View : MonoBehaviour
{
public float viewSize... | mit | C# |
242be37073ede3ebbd522d0f353b443af5f6fa0f | remove unused using | LiberisLabs/CompaniesHouse.NET,kevbite/CompaniesHouse.NET | src/LiberisLabs.CompaniesHouse/CompaniesHouseCompanyFilingHistoryClient.cs | src/LiberisLabs.CompaniesHouse/CompaniesHouseCompanyFilingHistoryClient.cs | using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using LiberisLabs.CompaniesHouse.Response.CompanyFiling;
using LiberisLabs.CompaniesHouse.UriBuilders;
namespace LiberisLabs.CompaniesHouse
{
public class CompaniesHouseCompanyFilingHistoryClient : ICompaniesHouseCompanyFilingHistoryClien... | using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using LiberisLabs.CompaniesHouse.Response.CompanyFiling;
using LiberisLabs.CompaniesHouse.Response.CompanyProfile;
using LiberisLabs.CompaniesHouse.UriBuilders;
namespace LiberisLabs.CompaniesHouse
{
public class CompaniesHouseCompanyFili... | mit | C# |
7ae19dc6634b01ea654b156e006bd246219bcd16 | set width/height to 0 | yasokada/unity-150905-dynamicDisplay | Assets/PanelDisplayControl.cs | Assets/PanelDisplayControl.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.1 2015/09/05
* - show/hide panels
*/
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
public GameObject PanelGroup;
private Vector2[] orgSize;
void Start() {
orgSize = new Vector2[4];
int idx=0;... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.1 2015/09/05
* - show/hide panels
*/
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
public GameObject PanelGroup;
private Vector2[] orgSize;
void Start() {
orgSize = new Vector2[4];
int idx=0;... | mit | C# |
fa0830b44fb8ddfa3d712e3381f04bf6490469e2 | Update player XP | jamioflan/LD38 | Assets/Scripts/HUD_Manager.cs | Assets/Scripts/HUD_Manager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD_Manager : MonoBehaviour
{
// The names of the GUI objects we're editing
public string amountXPElementName;
public string playerHealthElementName;
public string equippedWeaponIconElemen... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD_Manager : MonoBehaviour
{
// The names of the GUI objects we're editing
public string amountXPElementName;
public string playerHealthElementName;
public string equippedWeaponIconElemen... | mit | C# |
c6d4e0dac5fb2607b1d06d8ae5a4529398f79d41 | use the right root. | KirillOsenkov/roslyn,eriawan/roslyn,srivatsn/roslyn,wvdd007/roslyn,physhi/roslyn,orthoxerox/roslyn,agocke/roslyn,wvdd007/roslyn,orthoxerox/roslyn,tvand7093/roslyn,nguerrera/roslyn,weltkante/roslyn,kelltrick/roslyn,stephentoub/roslyn,jmarolf/roslyn,MattWindsor91/roslyn,amcasey/roslyn,TyOverby/roslyn,dotnet/roslyn,jcouv/... | src/Workspaces/Core/Portable/CodeFixes/SyntaxEditorBasedCodeFixProvider.cs | src/Workspaces/Core/Portable/CodeFixes/SyntaxEditorBasedCodeFixProvider.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.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editing;
using Roslyn.Utilities;
name... | // 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.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editing;
using Roslyn.Utilities;
name... | mit | C# |
cc5b9a85275a283e450c787192f8a286415842e3 | 增强对取值的处理。 :fu: | Zongsoft/Zongsoft.CoreLibrary | src/Data/ConditionalRange.cs | src/Data/ConditionalRange.cs | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2016 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.CoreLibrary.
*
* Zongsoft.CoreLibrary is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*... | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2016 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.CoreLibrary.
*
* Zongsoft.CoreLibrary is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*... | lgpl-2.1 | C# |
c1ec20a1e08bc528aa60a5c6207bb59cdf53f59a | Check if argument in projection provider attribute is a valid type | ircnelson/enjoy.cqrs,ircnelson/enjoy.cqrs | src/EnjoyCQRS/Attributes/ProjectionProviderAttribute.cs | src/EnjoyCQRS/Attributes/ProjectionProviderAttribute.cs | using System;
using System.Reflection;
using EnjoyCQRS.EventSource.Projections;
namespace EnjoyCQRS.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ProjectionProviderAttribute : Attribute
{
public Type Provider { get; }
public ProjectionProviderAtt... | using System;
namespace EnjoyCQRS.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ProjectionProviderAttribute : Attribute
{
public Type Provider { get; }
public ProjectionProviderAttribute(Type provider)
{
Provider = provider;
... | mit | C# |
d8a5dc86774929a9db383ad77a51de038e008b01 | Fix bug。 | tangxuehua/equeue,geffzhang/equeue,geffzhang/equeue,tangxuehua/equeue,Aaron-Liu/equeue,Aaron-Liu/equeue,tangxuehua/equeue | src/Samples/QuickStart/QuickStart.BrokerServer/Program.cs | src/Samples/QuickStart/QuickStart.BrokerServer/Program.cs | using System;
using System.Configuration;
using ECommon.Configurations;
using EQueue.Broker;
using EQueue.Configurations;
using ECommonConfiguration = ECommon.Configurations.Configuration;
namespace QuickStart.BrokerServer
{
class Program
{
static void Main(string[] args)
{
Initial... | using System;
using System.Configuration;
using ECommon.Configurations;
using EQueue.Broker;
using EQueue.Configurations;
using ECommonConfiguration = ECommon.Configurations.Configuration;
namespace QuickStart.BrokerServer
{
class Program
{
static void Main(string[] args)
{
Initial... | mit | C# |
1158e7051d7a28edd15040aa50d4a097bec52b2e | fix type compile bug | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Models/Api/Response/ProfileOrganizationResponseModel.cs | src/Core/Models/Api/Response/ProfileOrganizationResponseModel.cs | using Bit.Core.Enums;
using Bit.Core.Models.Data;
namespace Bit.Core.Models.Api
{
public class ProfileOrganizationResponseModel : ResponseModel
{
public ProfileOrganizationResponseModel(OrganizationUserOrganizationDetails organization)
: base("profileOrganization")
{
Id... | using Bit.Core.Enums;
using Bit.Core.Models.Data;
namespace Bit.Core.Models.Api
{
public class ProfileOrganizationResponseModel : ResponseModel
{
public ProfileOrganizationResponseModel(OrganizationUserOrganizationDetails organization)
: base("profileOrganization")
{
Id... | agpl-3.0 | C# |
a4927637feda932bc6e26b9a613645cda628bf17 | Remove changes done to unrelated unit test | mysticmind/marten,ericgreenmix/marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,mysticmind/marten,mdissel/Marten,mdissel/Marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten,JasperFx/Marten,ericgreenmix/marten | src/Marten.Testing/duplicate_fields_in_table_and_upsert_Tests.cs | src/Marten.Testing/duplicate_fields_in_table_and_upsert_Tests.cs | using Baseline;
using Marten.Schema;
using Marten.Services;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing
{
public class duplicate_fields_in_table_and_upsert_Tests : IntegratedFixture
{
[Fact]
public void end_to_end()
{
theStore.Stora... | using Baseline;
using Marten.Schema;
using Marten.Services;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing
{
public class duplicate_fields_in_table_and_upsert_Tests : IntegratedFixture
{
[Fact]
public void end_to_end()
{
theStore.Stora... | mit | C# |
e58a648bd01cf71dc3304bb4a0713252a0ed9dd3 | Add Microsoft.Win32.Registry serialization | twsouthwick/corefx,ravimeda/corefx,billwert/corefx,Petermarcu/corefx,nbarbettini/corefx,rjxby/corefx,the-dwyer/corefx,krk/corefx,rahku/corefx,BrennanConroy/corefx,jlin177/corefx,ravimeda/corefx,dotnet-bot/corefx,nbarbettini/corefx,axelheer/corefx,weltkante/corefx,parjong/corefx,Ermiar/corefx,seanshpark/corefx,jlin177/c... | src/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryHive.cs | src/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryHive.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Microsoft.Win32
{
/**
* Registry hive values. Useful only for GetRemoteBaseKey
... | // 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.Win32
{
/**
* Registry hive values. Useful only for GetRemoteBaseKey
*/
#if REGIS... | mit | C# |
d8dc79b78bc6848695d95b948ed6d946a34a7f8d | Fix polly sync/async policy Get issue | BrighterCommand/Darker | src/Paramore.Darker.Policies/RetryableQueryDecorator.cs | src/Paramore.Darker.Policies/RetryableQueryDecorator.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Paramore.Darker.Exceptions;
using Paramore.Darker.Policies.Logging;
using Polly;
using Polly.Registry;
namespace Paramore.Darker.Policies
{
public class RetryableQueryDecorator<TQuery, TResult> : IQueryHandlerDecorator<TQuery, TResult>
... | using System;
using System.Threading;
using System.Threading.Tasks;
using Paramore.Darker.Exceptions;
using Paramore.Darker.Policies.Logging;
using Polly;
using Polly.Registry;
namespace Paramore.Darker.Policies
{
public class RetryableQueryDecorator<TQuery, TResult> : IQueryHandlerDecorator<TQuery, TResult>
... | mit | C# |
1417790bfbe5dcf43e0738ecae34ee421c68cd1e | Clean code | aloisdg/Doccou,aloisdg/CountPages,saidmarouf/Doccou | CountPages/MainWindow.xaml.cs | CountPages/MainWindow.xaml.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows;
using iTextSharp.text.pdf;
using Microsoft.Office.Interop.Word;
using Application = Microsoft.Office.Interop.Word.Application;
using Window = System.Windows.Window;
namespace CountPages
{
/// <summary>
/// Interaction l... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
usi... | mit | C# |
09dd21c598e54ce7ae3c8d4fe1452aecaa148bb0 | Work around 0.11 beta breaking the Version and LocalVersion fields | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/ApiClient/ItemStartedEvent.cs | src/SyncTrayzor/SyncThing/ApiClient/ItemStartedEvent.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.ApiClient
{
public class ItemStartedEventDetails
{
[JsonProperty("Name")]
public string Name { get; set; }
[JsonPr... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.ApiClient
{
public class ItemStartedEventDetails
{
[JsonProperty("Name")]
public string Name { get; set; }
[JsonPr... | mit | C# |
a038fc6a6134e6c0c971fd165d82213acb98f5aa | Change to 3 digit version | travelrepublic/TravelRepublic.DnsClient | src/TravelRepublic.DnsClient/Properties/AssemblyInfo.cs | src/TravelRepublic.DnsClient/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("Tr... | 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("Tr... | bsd-3-clause | C# |
af825511fa6eab81f8a1128e1ae94b4d349b935f | Fix more race conditions between tests | HeadhunterXamd/VisualStudio,github/VisualStudio,github/VisualStudio,github/VisualStudio,luizbon/VisualStudio | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | using System;
using GitHub.Api;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.VisualStudio;
using NSubstitute;
using Xunit;
public class SimpleApiClientFactoryTests
{
public class TheCreateMethod
{
[Fact]
public void CreatesNewInstanceOfSimpleApiClient()
{
co... | using System;
using GitHub.Api;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.VisualStudio;
using NSubstitute;
using Xunit;
public class SimpleApiClientFactoryTests
{
public class TheCreateMethod
{
[Fact]
public void CreatesNewInstanceOfSimpleApiClient()
{
va... | mit | C# |
00999300f015a38a0a07bab84fd89e7d8cde97a1 | Fix claim failed bug | joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Views/Shared/_ListOperationsDropdown.cshtml | Joinrpg/Views/Shared/_ListOperationsDropdown.cshtml | @if (ViewBag.HideOperations == true)
{
return;
}
<div class="btn-group" style="padding: 1em">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Операции <span class="caret"></span>
</button>
<ul class="dropdown-menu... | @if (ViewBag.HideOperations == true)
{
return;
}
<div class="btn-group" style="padding: 1em">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Операции <span class="caret"></span>
</button>
<ul class="dropdown-menu... | mit | C# |
84cebcdc1d49c04c1060fa779b4872b2f208c233 | Change controller action to debug Kudu issue https://github.com/projectkudu/kudu/issues/1567 | ShamsulAmry/Malaysia-GST-Checker | Amry.Gst.Web/Controllers/HomeController.cs | Amry.Gst.Web/Controllers/HomeController.cs | using System.Web.Mvc;
using Amry.Gst.Properties;
using WebMarkupMin.Mvc.ActionFilters;
namespace Amry.Gst.Web.Controllers
{
public class HomeController : Controller
{
const int OneYear = 31536000;
[Route, MinifyHtml]
public ActionResult Index()
{
return View();
... | using System.Web.Mvc;
using Amry.Gst.Properties;
using WebMarkupMin.Mvc.ActionFilters;
namespace Amry.Gst.Web.Controllers
{
public class HomeController : Controller
{
const int OneYear = 31536000;
[Route, MinifyHtml]
public ActionResult Index()
{
return View();
... | mit | C# |
34f19c3b700b2eb058c29c25bce65a629f867c06 | Update WalletWasabi/Services/Terminate/TerminateService.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/Terminate/TerminateService.cs | WalletWasabi/Services/Terminate/TerminateService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private readonly Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInPr... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | mit | C# |
4e87c9ae7266a306ae0dac984ad78828ae089c2d | Update SeasonConverter for the 2018 season (#522) | JanOuborny/RiotSharp,BenFradet/RiotSharp,Oucema90/RiotSharp | RiotSharp/Endpoints/MatchEndpoint/Enums/Converters/SeasonConverter.cs | RiotSharp/Endpoints/MatchEndpoint/Enums/Converters/SeasonConverter.cs | using System;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace RiotSharp.Endpoints.MatchEndpoint.Enums.Converters
{
class SeasonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(string).GetTypeInfo().Is... | using System;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace RiotSharp.Endpoints.MatchEndpoint.Enums.Converters
{
class SeasonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(string).GetTypeInfo().Is... | mit | C# |
113fa59ed5964e6a72989d9859dc7bc391f849cb | Update Model | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/Standard.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/Standard.cs | using System;
using System.Collections.Generic;
namespace SFA.DAS.CommitmentsV2.Models
{
public class Standard
{
public string StandardUId { get; set; }
public int LarsCode { get; set; }
public string IFateReferenceNumber { get; set; }
public string Title { get; set; }
p... | using System;
using System.Collections.Generic;
namespace SFA.DAS.CommitmentsV2.Models
{
public class Standard
{
public string StandardUId { get; set; }
public int LarsCode { get; set; }
public string IFateReferenceNumber { get; set; }
public string Title { get; set; }
p... | mit | C# |
42a6bc1d6dfdde06f17901eb6b5668070b660737 | switch enum memory space | jefking/King.Service | King.Service/Data/Enums.cs | King.Service/Data/Enums.cs | namespace King.Service.Data
{
/// <summary>
/// Queue Priority
/// </summary>
/// <remarks>
/// This shapes
/// - Timing Strategy
/// - Concurrency
/// - Cost
/// - Throughput
/// Default = Low
/// </remarks>
public enum QueuePriority : byte
{
Low = 0,
... | namespace King.Service.Data
{
/// <summary>
/// Queue Priority
/// </summary>
/// <remarks>
/// This shapes
/// - Timing Strategy
/// - Concurrency
/// - Cost
/// - Throughput
/// Default = Low
/// </remarks>
public enum QueuePriority
{
Low = 0,
Mediu... | mit | C# |
da8cdf2158244021de3d58a6a65e84bd6fc9f5b3 | Update package version. | mfilippov/DbSeedGenerator | DbSeedGenerator/Properties/AssemblyInfo.cs | DbSeedGenerator/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DbSeedGenerator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Sky@Net")]
[assembly: AssemblyProduct("DbSeedGenerator")]
[assembly: AssemblyCopyright("Copyright © Mikhail F... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DbSeedGenerator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Sky@Net")]
[assembly: AssemblyProduct("DbSeedGenerator")]
[assembly: AssemblyCopyright("Copyright © Mikhail F... | bsd-2-clause | C# |
292851d11d63f53e4c371614a454a12dd465e38d | Make the PreviewWorkspace optional for DisposableToolTip | KirillOsenkov/roslyn,diryboy/roslyn,abock/roslyn,genlu/roslyn,agocke/roslyn,stephentoub/roslyn,bartdesmet/roslyn,wvdd007/roslyn,aelij/roslyn,eriawan/roslyn,KevinRansom/roslyn,tmat/roslyn,VSadov/roslyn,brettfo/roslyn,heejaechang/roslyn,aelij/roslyn,DustinCampbell/roslyn,AlekseyTs/roslyn,davkean/roslyn,abock/roslyn,jason... | src/EditorFeatures/Core.Wpf/QuickInfo/DisposableToolTip.cs | src/EditorFeatures/Core.Wpf/QuickInfo/DisposableToolTip.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.Diagnostics;
using System.Threading;
using System.Windows.Controls;
using Microsoft.CodeAnalysis.Editor.Shared.Preview;
namespace... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Controls;
using Microsoft.CodeAnalysis.Editor.Shared.Preview;
namespace... | mit | C# |
9910749ee24c0c163c9a5c346ff9951648139c57 | Replace default script methods with Update & FixedUpdate methods | compumike08/Roll-a-Ball | Assets/Scripts/PlayerController.cs | Assets/Scripts/PlayerController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
// Update is called before rendering a frame
void Update ()
{
}
// FixedUpdate is called just before performing any physics calculations
void FixedUpdate ()
{
}
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| mit | C# |
4d73c5062891460d51f56b2252db1285405fd3ef | Edit AdvancingText to use TextMesh Pro | NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/UI/AdvancingText.cs | Assets/Scripts/UI/AdvancingText.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using TMPro;
public class AdvancingText : MonoBehaviour
{
private const string richTextPrefix = "<color=#00000000>";
private const string richTextSuffix = "</color>";
[Serial... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
public class AdvancingText : MonoBehaviour
{
private const string richTextPrefix = "<color=#00000000>";
private const string richTextSuffix = "</color>";
[SerializeField]
... | mit | C# |
c9f38dfc9a8a26876b9e2b2e989f4ec0cdad89c7 | Set default result count of a recipe to 1 | kmclarnon/FactorioModBuilder | FactorioModBuilder/Models/ProjectItems/Prototype/Recipe.cs | FactorioModBuilder/Models/ProjectItems/Prototype/Recipe.cs | using FactorioModBuilder.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactorioModBuilder.Models.ProjectItems.Prototype
{
public class Recipe : TreeItem<Recipe>
{
public bool Enabled { get; set; }
publ... | using FactorioModBuilder.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactorioModBuilder.Models.ProjectItems.Prototype
{
public class Recipe : TreeItem<Recipe>
{
public bool Enabled { get; set; }
publ... | mit | C# |
1c66cbe9bf24d85480adcf67b357137028d30999 | Update DriverInfo.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO.Gdal/DriverInfo.cs | src/RasterIO.Gdal/DriverInfo.cs | // Contributors:
// James Domingo, Green Code LLC
using System;
using OSGeo.GDAL;
namespace Landis.SpatialModeling.CoreServices
{
public class DriverInfo
{
private string shortName;
private string longName;
private bool hasCreate;
private bool hasCreateCopy;
public s... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
5e34014f73ddff8a256e9792c2a452cee7e446f7 | Update AssemblyInfo.cs | Sitefinity-SDK/Sitefinity.Authentication,Sitefinity-SDK/Sitefinity.Authentication,Sitefinity-SDK/Sitefinity.Authentication | MVCImplicitFlow/Properties/AssemblyInfo.cs | MVCImplicitFlow/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("MVC... | 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("MVC... | mit | C# |
310f2dcefc2f82ba13831e00f1a55410cedaccbc | Add constractor to Logger | eternnoir/NLogging | src/NLogging/Logger.cs | src/NLogging/Logger.cs | namespace NLogging
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Logger
{
private string loggerName;
public string LoggerName
{
get
{
retur... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NLogging
{
class Logger
{
}
}
| mit | C# |
4e6d5ccccaf82d0f9f25226e307f59ff57f9b544 | Update Program.cs #3 | tvert/GitTest1 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code amended in GitHub
// Code amended #2 in GitHub
// Code amend... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code amended in GitHub
// Code amended #2 in GitHub
}
}
}
| mit | C# |
a47ae74d13d8441a06aa35b36777c545f273c023 | Update Program.cs | miladinoviczeljko/GitTest1 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code was edited in GitHub
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code was added in GitHub
}
}
}
| mit | C# |
3985661d31a22085dec776317d7f67d706151a34 | move namespace | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer | Core/Utility/PackageIdValidator.cs | Core/Utility/PackageIdValidator.cs | using System;
using System.Globalization;
using System.Text.RegularExpressions;
using NuGet.Resources;
using NuGetPackageExplorer.Types;
namespace NuGet
{
public static class PackageIdValidator
{
public const int MaxPackageIdLength = 100;
private static readonly Regex _idRegex = new... | using System;
using System.Globalization;
using System.Text.RegularExpressions;
using NuGet.Resources;
using NuGet.Utility;
namespace NuGet
{
public static class PackageIdValidator
{
public const int MaxPackageIdLength = 100;
private static readonly Regex _idRegex = new Regex(@"^\w+... | mit | C# |
21ff2a24618e0cd441c55fd52bc04cad7f2cccea | Update AssemblyInfo.cs | Seuntjie900/DiceBot | DiceBot/Properties/AssemblyInfo.cs | DiceBot/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
e2fa37dd9c90a8c818a123207efa4a8d08d60dc6 | Change the assembly file version the same as assembly version, as Gendarme suggested | aegif/chemistry-dotcmis,OpenDataSpace/chemistry-dotcmis | DotCMIS/Properties/AssemblyInfo.cs | DotCMIS/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
c2d4802dd869754ebda15914d52011000b9437ea | Update Assembly properties to version 2.0 | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Spartan322/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Spartan322/Hacknet-Pathfinder | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("HacknetPathfinder")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("HacknetPathfinder")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[... | mit | C# |
17c0afc3745771ba1b152e48dc580e1ad9d52ba1 | Bump to 2.8.1 | dreadnought-friends/support-tool | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// 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("Dreadnought Communi... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// 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("Dreadnought Communi... | mit | C# |
6e2d64de08a44ff2870cb9e258f497d7b7255e61 | Tweak to keep ReSharper happy | taylorjg/FsCheckUtils | FsCheckUtils/GenExtensions.cs | FsCheckUtils/GenExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using FsCheck;
using FsCheck.Fluent;
namespace FsCheckUtils
{
public static class GenExtensions
{
public static Gen<List<T>> Pick<T>(int n, IReadOnlyCollection<T> l)
{
if (n < 0 || n > l.Count) throw new ArgumentOut... | using System;
using System.Collections.Generic;
using System.Linq;
using FsCheck;
using FsCheck.Fluent;
namespace FsCheckUtils
{
public static class GenExtensions
{
public static Gen<List<T>> Pick<T>(int n, IReadOnlyCollection<T> l)
{
if (n < 0 || n > l.Count) throw new ArgumentOut... | mit | C# |
210a47145891c88f04409a046309aa63046da488 | Add Filter(name,value) constructor | carbon/Amazon | src/Amazon.Ec2/Actions/Filter.cs | src/Amazon.Ec2/Actions/Filter.cs | using System;
namespace Amazon.Ec2
{
public readonly struct Filter
{
public Filter(string name, string value)
{
Name = name ?? throw new ArgumentNullException(nameof(name));
Value = value ?? throw new ArgumentNullException(nameof(value));
}
... | using System;
namespace Amazon.Ec2
{
public readonly struct Filter
{
public Filter(string name, string value)
{
Name = name ?? throw new ArgumentNullException(nameof(name));
Value = value ?? throw new ArgumentNullException(nameof(value));
}
... | mit | C# |
ed397b865dae569b1555acd25f16513885899ae2 | Update src/SFA.DAS.EAS.Portal.UnitTests/Application/Adapters/CohortAdapterTests.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal.UnitTests/Application/Adapters/CohortAdapterTests.cs | src/SFA.DAS.EAS.Portal.UnitTests/Application/Adapters/CohortAdapterTests.cs | using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Messages.Events;
using SFA.DAS.EAS.Portal.Application.Adapters;
using FluentAssertions;
using System;
using SFA.DAS.EAS.Portal.UnitTests.Builders;
namespace SFA.DAS.EAS.Portal.UnitTests.Application.Adapters
{
[Parallelizable]
[TestFixture]
public class Co... | using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Messages.Events;
using SFA.DAS.EAS.Portal.Application.Adapters;
using FluentAssertions;
using System;
using SFA.DAS.EAS.Portal.UnitTests.Builders;
namespace SFA.DAS.EAS.Portal.UnitTests.Application.Adapters
{
[Parallelizable]
[TestFixture]
public class Co... | mit | C# |
f8f9cf3b394d2c0039ed0d69e2c3a9c1e3f905bb | Add test trace output to webforms page | codevlabs/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,rho24/Glimpse,sorenhl/Glimpse,flcdrg/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,codevlabs/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,Glimpse/Glimpse,elkingtonmcb/Gli... | source/Glimpse.WebForms.WingTip.Sample/Default.aspx.cs | source/Glimpse.WebForms.WingTip.Sample/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 WingtipToys
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
HttpContext.Current.Trace... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WingtipToys
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
private void Page... | apache-2.0 | C# |
57d35df0b22e64a250a0a8e8f101a641b9723357 | add comment for Points | Zutatensuppe/DiabloInterface,Zutatensuppe/DiabloInterface | src/D2Reader/Models/SkillInfo.cs | src/D2Reader/Models/SkillInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zutatensuppe.D2Reader.Models
{
public class SkillInfo
{
public uint Id = 0;
// hard points put into the skill (skills from items not included)
public int Points... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zutatensuppe.D2Reader.Models
{
public class SkillInfo
{
public uint Id = 0;
public int Points = 0; // points invested
public override bool Equals(object obj)
... | mit | C# |
9280a78a61ed60dbba16ac3620d8b4d6e5703df2 | Update version from 1.0.0.1 to 2.0.0.0 | open-pay/openpay-dotnet | Openpay/Properties/AssemblyInfo.cs | Openpay/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("Op... | 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("Op... | apache-2.0 | C# |
814998f076cbdc2d81995d527ee655afa8880a78 | Fix a bug in array extension | jbatonnet/shared | Utilities/Extensions/Array.cs | Utilities/Extensions/Array.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System
{
public static class ArrayExtension
{
public static int IndexOf<T>(this T[] me, T item)
{
for (int i = 0; i < me.Length; i++)
if (me[i]?.Equals(item) == true)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System
{
public static class ArrayExtension
{
public static int IndexOf<T>(this T[] me, T item)
{
for (int i = 0; i < me.Length; i++)
if (me[i].Equals(item))
... | mit | C# |
c943c5b87fc0f22b66b4b9172a4e0ef5a5c575f5 | Simplify usage of the solver | bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET | SketchSolveC#/Parameter.cs | SketchSolveC#/Parameter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SketchSolve
{
public class Parameter
{
public double Value = 0;
public double Max = 1000;
public double Min = -1000;
// true if the parameter is free to... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SketchSolve
{
public class Parameter
{
public double Value = 0;
// true if the parameter is free to be adjusted by the
// solver
public bool free;
... | bsd-3-clause | C# |
c6963ff79f173a53a444e040431121656275a9cf | Revert "Revert "Adding assembly info attributes back to AssemblyInfo to see if patching will work."" | autofac/Autofac.Wcf,caioproiete/Autofac.Wcf | src/Autofac.Integration.Wcf/Properties/AssemblyInfo.cs | src/Autofac.Integration.Wcf/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Wcf")]
[assembly: InternalsVisibleTo("Autofac.Integration.Wcf.Test, PublicKey=002400000480000094000000060200000024000052534131000400... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Wcf")]
[assembly: InternalsVisibleTo("Autofac.Integration.Wcf.Test, PublicKey=002400000480000094000000060200000024000052534131000400... | mit | C# |
e53308e3c92cd9638f3dab04ceaf616e08271032 | Implement IEnumerable<PoEStashTab> for PoEStash | jcmoyer/Yeena | Yeena/PathOfExile/PoEStash.cs | Yeena/PathOfExile/PoEStash.cs | // Copyright 2013 J.C. Moyer
//
// 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 agreed to ... | // Copyright 2013 J.C. Moyer
//
// 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 agreed to ... | apache-2.0 | C# |
a67f6c2872195aef8326de789c73a37e8b888689 | Fix test for CI | clement911/ShopifySharp,addsb/ShopifySharp,nozzlegear/ShopifySharp | ShopifySharp.Tests/Policy_Tests.cs | ShopifySharp.Tests/Policy_Tests.cs | using System.Linq;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;
namespace ShopifySharp.Tests
{
[Trait("Category", "Policy")]
public class Policy_Tests
{
private PolicyService _Service => new PolicyService(Utils.MyShopifyUrl, Utils.Ac... | using System.Linq;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;
namespace ShopifySharp.Tests
{
[Trait("Category", "Policy")]
public class Policy_Tests
{
private PolicyService _Service => new PolicyService(Utils.MyShopifyUrl, Utils.Ac... | mit | C# |
90bc1f352a5075b047fd66daea1513165a5953e4 | Fix Back Ground Img | BlackthornYugen/SoundScape | SoundScape/SoundScape/HighScore.cs | SoundScape/SoundScape/HighScore.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SoundScape
{
/// <summary>
/// This is a game component that implements IUpdateable.
/// </summary>
public class HighScore : InfoScene
{
int _score;
public int Score
{
get { return... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SoundScape
{
/// <summary>
/// This is a game component that implements IUpdateable.
/// </summary>
public class HighScore : InfoScene
{
int _score;
public int Score
{
get { return... | apache-2.0 | C# |
09f65f227d7fbb7948a28648e8865d7a726f8a39 | use the new | kusl/Tree | VisualTree/TreeLibrary/BinarySearchTree.cs | VisualTree/TreeLibrary/BinarySearchTree.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TreeLibrary
{
public sealed class BinarySearchTree
{
public BinarySearchTreeNode Root { get; set; }
public int Count { get; private set; }
public BinarySearchTr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TreeLibrary
{
public sealed class BinarySearchTree
{
public BinarySearchTreeNode Root { get; set; }
public BinarySearchTree()
{
Root = null;
... | agpl-3.0 | C# |
e8696d62bc1d475a40db45725e2003894ff9881e | Fix wrong Vector3 to SerializablePosition convertion | Trojaner25/Rocket-Safezone,Trojaner25/Rocket-Regions | Model/SerializablePosition.cs | Model/SerializablePosition.cs | using System;
using System.Xml.Serialization;
using UnityEngine;
namespace Safezone.Model
{
[Serializable]
[XmlType(TypeName = "Position")]
public class SerializablePosition
{
public SerializablePosition()
{
X = 0;
Y = 0;
}
public SerializablePo... | using System;
using System.Xml.Serialization;
using UnityEngine;
namespace Safezone.Model
{
[Serializable]
[XmlType(TypeName = "Position")]
public class SerializablePosition
{
public SerializablePosition()
{
X = 0;
Y = 0;
}
public SerializablePo... | agpl-3.0 | C# |
056d204866b9d6366e51ef1e5ee00b4895ef71ea | Add missing Attachment attributes. | Jaykul/SlackAPI,vampireneo/SlackAPI,Inumedia/SlackAPI | Attachment.cs | Attachment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
//See: https://api.slack.com/docs/attachments
public class Attachment
{
public string fallback;
public string color;
public string pretext;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class Attachment
{
public string Pretext;
public string text;
public string fallback;
public string color;
public Field[] fiel... | mit | C# |
b9a03df88b3d9795fda55090417601df392dcfd0 | Put in placeholders instead of a real username and password. | LeisureLink/Property-Feed-Samples | C#/Program.cs | C#/Program.cs | using System.Xml;
using PropertyFeedSampleApp.PropertyFeed;
namespace PropertyFeedSampleApp
{
class Program
{
static void Main(string[] args)
{
//You should have been provided values for the following
const string userName = "YOUR_USER_NAME";
const string pa... | using System.Xml;
using PropertyFeedSampleApp.PropertyFeed;
namespace PropertyFeedSampleApp
{
class Program
{
static void Main(string[] args)
{
const string userName = "VACATION11";
const string password = "f33der1!";
using (var client = new DataReceiverSer... | mit | C# |
203b8b22b90216a26a02ae69294d52a41a248711 | Adjust tests | ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.cs | osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Mania.Difficulty;
using osu.Game.Rulesets.M... | // 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Mania.Difficulty;
using osu.Game.Rulesets.M... | mit | C# |
356f5dceef8e898dc592b8630b82b1bfda3eecfa | Add more test case | peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu | osu.Game.Tests/Localisation/BeatmapMetadataRomanisationTest.cs | osu.Game.Tests/Localisation/BeatmapMetadataRomanisationTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
namespace osu.Game.Tests.Localisation
{
[TestFixture]
public class BeatmapMetadataRomanisationTest
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
namespace osu.Game.Tests.Localisation
{
[TestFixture]
public class BeatmapMetadataRomanisationTest
{
... | mit | C# |
9175a7bc72a3a0155a4138d9bf02689a15b525c2 | fix for GA | autumn009/TanoCSharpSamples | Chap37/LambdaImprovements/LambdaImprovements/Program.cs | Chap37/LambdaImprovements/LambdaImprovements/Program.cs | using System;
var lambda1 = () => new B();
var lambda2 = A () => new B();
Console.WriteLine(lambda1.GetType().FullName);
Console.WriteLine(lambda2.GetType().FullName);
class A { }
class B : A { } | var lambda1 = () => new B();
var lambda2 = A () => new B();
Console.WriteLine(lambda1.GetType().FullName);
Console.WriteLine(lambda2.GetType().FullName);
class A { }
class B : A { } | mit | C# |
b591a5d18e451998443da90bd8bb6a2071b2da7c | fix cors config | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Demo/NakedObjects.Rest.App.Demo/App_Start/CorsConfig.cs | Demo/NakedObjects.Rest.App.Demo/App_Start/CorsConfig.cs | using System.Web.Http;
using Thinktecture.IdentityModel.Http.Cors.WebApi;
public class CorsConfig {
public static void RegisterCors(HttpConfiguration httpConfig) {
var corsConfig = new WebApiCorsConfiguration();
// this adds the CorsMessageHandler to the HttpConfiguration’s
// MessageHan... | using System.Web.Http;
using Thinktecture.IdentityModel.Http.Cors.WebApi;
public class CorsConfig {
public static void RegisterCors(HttpConfiguration httpConfig) {
var corsConfig = new WebApiCorsConfiguration();
// this adds the CorsMessageHandler to the HttpConfiguration’s
// MessageHan... | apache-2.0 | C# |
0f85cec02864600353699cdcd672df3ac416a09f | add Benchmark attribute to Callback.FakeItEasy() | stevedesmond-ca/BenchmarkMockNet | Callback.cs | Callback.cs | using BenchmarkDotNet.Attributes;
using FakeItEasy;
using Moq;
using NSubstitute;
namespace BenchmarkMockNet
{
public class Callback : IMockingBenchmark
{
[Benchmark(Baseline = true)]
public void Stub()
{
var stub = new ThingStub();
stub.Do();
}
... | using BenchmarkDotNet.Attributes;
using FakeItEasy;
using Moq;
using NSubstitute;
namespace BenchmarkMockNet
{
public class Callback : IMockingBenchmark
{
[Benchmark(Baseline = true)]
public void Stub()
{
var stub = new ThingStub();
stub.Do();
}
... | mit | C# |
cdcd4b634fbbd2bbcd96f0b1f89ece5b5d148663 | Fix Dev15 build | MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhip... | src/Package/Impl/ProjectSystem/Commands/CopyItemPathCommand.cs | src/Package/Impl/ProjectSystem/Commands/CopyItemPathCommand.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Microsoft.Common.Core;
using Microsoft... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Microsoft.Common.Core;
using Microsoft... | mit | C# |
9b4268ea0316e697a3c5b8aae93770ea5219982b | Add error handling for auth response | dylanplecki/BasicOidcAuthentication,dylanplecki/KeycloakOwinAuthentication,joelnet/KeycloakOwinAuthentication | src/Owin.Security.Keycloak/Models/AuthorizationResponse.cs | src/Owin.Security.Keycloak/Models/AuthorizationResponse.cs | using System;
using System.Collections.Specialized;
using System.Web;
using Microsoft.IdentityModel.Protocols;
namespace Owin.Security.Keycloak.Models
{
internal class AuthorizationResponse : OidcBaseResponse
{
public string Code { get; private set; }
public string State { get; private set; }
... | using System.Collections.Specialized;
using System.Web;
using Microsoft.IdentityModel.Protocols;
namespace Owin.Security.Keycloak.Models
{
internal class AuthorizationResponse : OidcBaseResponse
{
public string Code { get; private set; }
public string State { get; private set; }
publi... | mit | C# |
fc78413fecbf35524c29a971e19400ea63a2568a | Hide .sln file from project tree | AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhi... | src/Package/Impl/ProjectSystem/RMsBuildFileSystemFilter.cs | src/Package/Impl/ProjectSystem/RMsBuildFileSystemFilter.cs | using System;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.IO;
namespace Microsoft.VisualStudio.R.Package.ProjectSystem
{
internal sealed class RMsBuildFileSystemFilter : IMsBuildFileSystemFilter
{
public bool IsFileAllowed(string relativePath, FileAttributes a... | using System;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.IO;
namespace Microsoft.VisualStudio.R.Package.ProjectSystem
{
internal sealed class RMsBuildFileSystemFilter : IMsBuildFileSystemFilter
{
public bool IsFileAllowed(string relativePath, FileAttributes a... | mit | C# |
ee6f3527993d497e50b3136d80b9d5707358a12e | Fix infinite loop when retrying a failing build number | Abc-Arbitrage/zerio | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | mit | C# |
e96efa927d9bedb0c93d3366c37bc1848e3ed75f | Implement a few dependency properties for AppView | jamesqo/Sirloin | src/Sirloin/AppView.xaml.cs | src/Sirloin/AppView.xaml.cs | using Sirloin.Helpers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitive... | using Sirloin.Helpers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitive... | bsd-2-clause | C# |
101b4ea5f9872c046d2b12198102a0b892f9e66d | Update SqlDbSafeManager.cs | dbsafe/dbsafe | SqlDbSafe/SqlDbSafeManager.cs | SqlDbSafe/SqlDbSafeManager.cs | using DbSafe;
using System;
using System.Configuration;
namespace SqlDbSafe
{
public class SqlDbSafeManager : DbSafeManager<SqlDatabaseClient>
{
private readonly SqlDatabaseClient _databaseClient = new SqlDatabaseClient();
public static SqlDbSafeManager Initialize(DbSafeManagerConfig config, ... | using DbSafe;
using System;
using System.Configuration;
namespace SqlDbSafe
{
public class SqlDbSafeManager : DbSafeManager<SqlDatabaseClient>
{
private readonly SqlDatabaseClient _databaseClient = new SqlDatabaseClient();
public static SqlDbSafeManager Initialize(DbSafeManagerConfig config, ... | mit | C# |
06a78d9729a17f119c18f455b9a1a3e30342e8e8 | fix taiko tests | ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Rulesets.Taiko.Mods;
using os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Rulesets.Taiko.Mods;
using os... | mit | C# |
2c19197bd4dd6381022c699c256374e093c37f15 | remove Pipe's Close() method | lontivero/Open.HttpProxy | Open.HttpProxy/Pipe.cs | Open.HttpProxy/Pipe.cs | using System.IO;
using System.Threading.Tasks;
namespace Open.HttpProxy
{
internal class Pipe
{
public Stream Stream { get; }
public HttpStreamReader Reader { get; }
public HttpStreamWriter Writer { get; }
public Pipe(Stream stream)
{
stream.ReadTimeout = 10 * 1000;
stream.WriteTimeout = 10 * 1000;
... | using System.IO;
using System.Threading.Tasks;
namespace Open.HttpProxy
{
internal class Pipe
{
public Stream Stream { get; }
public HttpStreamReader Reader { get; }
public HttpStreamWriter Writer { get; }
public Pipe(Stream stream)
{
Stream = stream;
Reader = new HttpStreamReader(new BufferedStream... | mit | C# |
58d934af2a9e13ade955adb3fa2cb4cc3d3c0048 | Fix improper container configuration for service locator | LeCantaloop/OctoHook,kzu/OctoHook | Web/ContainerConfiguration.cs | Web/ContainerConfiguration.cs | namespace OctoHook
{
using Autofac;
using Autofac.Extras.CommonServiceLocator;
using Autofac.Integration.WebApi;
using Microsoft.Practices.ServiceLocation;
using OctoHook.CommonComposition;
using Octokit;
using Octokit.Internal;
using System.Configuration;
using System.Reflection;
using System.Web;
using Sy... | namespace OctoHook
{
using Autofac;
using Autofac.Extras.CommonServiceLocator;
using Autofac.Integration.WebApi;
using Microsoft.Practices.ServiceLocation;
using OctoHook.CommonComposition;
using Octokit;
using Octokit.Internal;
using System.Configuration;
using System.Reflection;
using System.Web;
using Sy... | apache-2.0 | C# |
b1721c4d6e551d77e37478b056c5ec07481044e5 | Add seed | toshetoo/TaskManagerMVC,toshetoo/TaskManagerMVC,toshetoo/TaskManagerMVC,toshetoo/TaskManagerMVC | TaskManagerMVC/TaskManagerMVC.Data/Migrations/Configuration.cs | TaskManagerMVC/TaskManagerMVC.Data/Migrations/Configuration.cs | namespace TaskManagerMVC.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<TaskManagerMVC.Data.TaskManagerContext>
{
public Configuration()
{
... | namespace TaskManagerMVC.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<TaskManagerMVC.Data.TaskManagerContext>
{
public Configuration()
{
... | mit | C# |
99f486e42b19b853db2989eb2e98229d58eec0de | Fix exception in inital mapping if event subject or summary is null | aluxnimm/outlookcaldavsynchronizer,DoCode/Outlook-CalDav-Synchronizer | CalDavSynchronizer/Implementation/OutlookCalDavInitialEntityMatcher.cs | CalDavSynchronizer/Implementation/OutlookCalDavInitialEntityMatcher.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Founda... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Founda... | agpl-3.0 | C# |
636137bd5e38acaaa79d55eda028d509eb78c2f3 | add some code | Maskln/CSharp-Part-1 | 5.Conditional-Statements/09.PlayWithIntDoubleAndString/Program.cs | 5.Conditional-Statements/09.PlayWithIntDoubleAndString/Program.cs | /*Problem 9. Play with Int, Double and String
Write a program that, depending on the user’s choice, inputs an int, double or string variable.
If the variable is int or double, the program increases it by one.
If the variable is a string, the program appends * at the end.
Print the result at the console. Use switch st... | /*Problem 9. Play with Int, Double and String
Write a program that, depending on the user’s choice, inputs an int, double or string variable.
If the variable is int or double, the program increases it by one.
If the variable is a string, the program appends * at the end.
Print the result at the console. Use switch st... | mit | C# |
df770a3b77eae957b582fb0f8a259769bfb246a4 | Update ResourceRef.cs | paulhayes/UnityResourceReference | Scripts/ResourceRef.cs | Scripts/ResourceRef.cs | using UnityEngine;
using System.Collections;
[System.Serializable]
public class ResourceRef : ScriptableObject
{
public string path;
public string GUID;
private Object cache;
public T Get<T>() where T : Object
{
//Debug.Log("Runtime -> Loading Path:"+path+" GUID:"+GUID);
if (cache == null)
{
... | using UnityEngine;
using System.Collections;
[System.Serializable]
public class ResourceRef : ScriptableObject
{
public string path;
public string GUID;
public T Get<T>() where T : Object
{
//Debug.Log("Runtime -> Loading Path:"+path+" GUID:"+GUID);
return (T)Resources.Load(path,typeof(T));
}
public ... | mit | C# |
1f3caf0aacfce3f72c3dc06550a773c9401f0178 | update quotations | AccountGo/accountgo,AccountGo/accountgo,AccountGo/accountgo,AccountGo/accountgo | src/AccountGoWeb/Views/Quotations/Quotations.cshtml | src/AccountGoWeb/Views/Quotations/Quotations.cshtml | @model string
<div>
<a href="~/quotations/addsalesquotation" class="btn">
<i class="fa fa-plus"></i>
New Quotation
</a>
<a href="~/quotations/salesquotationpdo" id="linkViewQuotation" class="btn inactiveLink">
<i class="fa fa-edit"></i>
View
</a>
<a href="" id="link... | @model string
<div>
<a href="~/quotations/addsalesquotation" class="btn">
<i class="fa fa-plus"></i>
New Quotation
</a>
<a href="~/quotations/salesquotationpdo" id="linkViewQuotation" class="btn inactiveLink">
<i class="fa fa-edit"></i>
View
</a>
<a href="" id="link... | mit | C# |
4ba125c396881fb16f0ed85e6035fac7ac0c6466 | Verify exception message when application is not configured | appharbor/appharbor-cli | src/AppHarbor.Tests/ApplicationConfigurationTest.cs | src/AppHarbor.Tests/ApplicationConfigurationTest.cs | using System.IO;
using System.Text;
using Moq;
using Xunit;
namespace AppHarbor.Tests
{
public class ApplicationConfigurationTest
{
public static string ConfigurationFile = Path.GetFullPath(".appharbor");
[Fact]
public void ShouldReturnApplicationIdIfConfigurationFileExists()
{
var fileSystem = new Mock... | using System.IO;
using System.Text;
using Moq;
using Xunit;
namespace AppHarbor.Tests
{
public class ApplicationConfigurationTest
{
public static string ConfigurationFile = Path.GetFullPath(".appharbor");
[Fact]
public void ShouldReturnApplicationIdIfConfigurationFileExists()
{
var fileSystem = new Mock... | mit | C# |
db16f0020e96bde153ce802cbdf99cd9df0f86f7 | Make ctor internal | meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework | src/Meziantou.Framework.WPF/DispatcherExtensions.cs | src/Meziantou.Framework.WPF/DispatcherExtensions.cs | using System.Runtime.CompilerServices;
using System.Windows.Threading;
namespace Meziantou.Framework.WPF;
public static class DispatcherExtensions
{
// https://medium.com/@kevingosse/switching-back-to-the-ui-thread-in-wpf-uwp-in-modern-c-5dc1cc8efa5e
public static SwitchToUiAwaitable SwitchToDispatcherThread(... | using System.Runtime.CompilerServices;
using System.Windows.Threading;
namespace Meziantou.Framework.WPF;
public static class DispatcherExtensions
{
// https://medium.com/@kevingosse/switching-back-to-the-ui-thread-in-wpf-uwp-in-modern-c-5dc1cc8efa5e
public static SwitchToUiAwaitable SwitchToDispatcherThread(... | mit | C# |
d73a3cba495d40dbf57d826d32d9086a583ae411 | Modify AssemblyFileVersion to allow build system to increment. | conniey/icu-dotnet,sillsdev/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,ermshiperete/icu-dotnet,conniey/icu-dotnet | source/icu.net/Properties/AssemblyInfo.cs | source/icu.net/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("icu.... | 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("icu.... | mit | C# |
eb66d160d2b4e08a7af9e6088f02a8098e6ea9e7 | Fix System.Tests.Perf_String.Contains (#21575) | billwert/corefx,DnlHarvey/corefx,wtgodbe/corefx,shimingsg/corefx,MaggieTsang/corefx,mazong1123/corefx,mmitche/corefx,zhenlan/corefx,wtgodbe/corefx,fgreinacher/corefx,fgreinacher/corefx,billwert/corefx,billwert/corefx,shimingsg/corefx,seanshpark/corefx,wtgodbe/corefx,ptoonen/corefx,seanshpark/corefx,axelheer/corefx,parj... | src/System.Runtime/tests/Performance/Perf.String.netcoreapp.cs | src/System.Runtime/tests/Performance/Perf.String.netcoreapp.cs | using System.Collections.Generic;
using Microsoft.Xunit.Performance;
using Xunit;
namespace System.Tests
{
public partial class Perf_String
{
private static readonly object[] s_testStringSizes = new object[]
{
10, 100, 1000
};
public static IEnumerable<object[]> Co... | using System.Collections.Generic;
using Microsoft.Xunit.Performance;
using Xunit;
namespace System.Tests
{
public partial class Perf_String
{
public static IEnumerable<object[]> ContainsStringComparisonArgs => Permutations(s_compareOptions, TestStringSizes());
[Benchmark]
[MemberData(... | mit | C# |
3cb2fee274cd72aa17c959f6e63d30934af5e805 | Add missing license header | out-of-pixel/HoloToolkit-Unity,paseb/HoloToolkit-Unity,dbastienMS/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,willcong/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity | Assets/HoloToolkit-Tests/Utilities/Editor/EditorUtils.cs | Assets/HoloToolkit-Tests/Utilities/Editor/EditorUtils.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
public static class EditorUtils
{
/// <summary>
/// Deletes all objects in the scene
... | using UnityEngine;
namespace HoloToolkit.Unity
{
public static class EditorUtils
{
/// <summary>
/// Deletes all objects in the scene
/// </summary>
public static void ClearScene()
{
foreach (var gameObject in Object.FindObjectsOfType<GameObject>())
... | mit | C# |
c83a2943ba4ccc63ffe7d9820ffcf470cd41881b | Add CommentModerator role | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/Models/UserRole.cs | src/AtomicChessPuzzles/Models/UserRole.cs | using System;
namespace AtomicChessPuzzles.Models
{
[Flags]
public enum UserRole
{
None = 0,
PuzzleReviewer = 1,
PuzzleEditor = 2,
CommentModerator = 4,
UserModerator = 8,
Admin = 16
}
}
| using System;
namespace AtomicChessPuzzles.Models
{
[Flags]
public enum UserRole
{
None = 0,
PuzzleReviewer = 1,
PuzzleEditor = 2,
UserModerator = 4,
Admin = 8
}
}
| agpl-3.0 | C# |
6fdf44d03bd622fb12d9301767aeb0791235a190 | Add synthesis scaling coefficient to iSTFT | protyposis/Aurio,protyposis/Aurio | Aurio/Aurio/Features/InverseSTFT.cs | Aurio/Aurio/Features/InverseSTFT.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aurio.Streams;
namespace Aurio.Features {
/// <summary>
/// Inverse Short-Time Fourier Tranformation.
/// Takes a number of raw FFT frames and converts them to a continuous audio stream by using the overlap-add met... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aurio.Streams;
namespace Aurio.Features {
/// <summary>
/// Inverse Short-Time Fourier Tranformation.
/// Takes a number of raw FFT frames and converts them to a continuous audio stream by using the overlap-add met... | agpl-3.0 | C# |
2c82b15f668a62550131c462fcf6fa68e2010acf | Move method down. | alastairs/BobTheBuilder,fffej/BobTheBuilder | BobTheBuilder/DynamicBuilderBase.cs | BobTheBuilder/DynamicBuilderBase.cs | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public abstract class DynamicBuilderBase<T> : DynamicObject, IDynamicBuilder<T> where T : class
{
protected internal readonly IArgumentStore argumentStore;
protected DynamicBuilderBase(IArgumentStore argumentStore)
{
... | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public abstract class DynamicBuilderBase<T> : DynamicObject, IDynamicBuilder<T> where T : class
{
protected internal readonly IArgumentStore argumentStore;
protected DynamicBuilderBase(IArgumentStore argumentStore)
{
... | apache-2.0 | C# |
a2a83745049de4bd9adb9ca9e94fc3559d8ab1ad | Update EditableItem.axaml.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Controls/EditableItem.axaml.cs | src/Core2D/Controls/EditableItem.axaml.cs | #nullable enable
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Data;
namespace Core2D.Controls;
public class EditableItem : TemplatedControl
{
public static readonly StyledProperty<ContextMenu?> TextContextMenuProperty =
AvaloniaProperty.Register<EditableItem... | #nullable enable
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Data;
namespace Core2D.Controls;
public class EditableItem : TemplatedControl
{
public static readonly StyledProperty<ContextMenu?> TextContextMenuProperty =
AvaloniaProperty.Register<EditableItem... | mit | C# |
e9ca43098c3dbdaa45e5f4171e20162379366d62 | Update WpfBrushCache.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Wpf/Renderers/WpfBrushCache.cs | src/Draw2D.Wpf/Renderers/WpfBrushCache.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Windows.Media;
using Draw2D.Core.Style;
namespace Draw2D.Wpf.Renderers
{
public struct WpfBrushCache : IDisposable
{
pu... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Windows.Media;
using Draw2D.Core.Style;
namespace Draw2D.Wpf.Renderers
{
public struct WpfBrushCache : IDisposable
{
public readonly ... | mit | C# |
f202e8b47a3a8930c6fbbc4a2ea33732e3362a9c | Update BuildValuesForDirective | GaProgMan/OwaspHeaders.Core | src/Extensions/StringBuilderExtentions.cs | src/Extensions/StringBuilderExtentions.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OwaspHeaders.Core.Extensions
{
public static class StringBuilderExtentions
{
/// <summary>
/// Used to build the concatenated string value for the given values
/// </summary>
/// <param name="string... | using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OwaspHeaders.Core.Extensions
{
public static class StringBuilderExtentions
{
/// <summary>
/// Used to build the concatenated string value for the given values
/// </summary>
/// <param name="string... | mit | C# |
83cccf3c4396789c1420c4eb82474b34f88e4501 | Allow PublishingModelTests to run on dev machines (just not on TeamCity) | sillsdev/hearthis,sillsdev/hearthis,sillsdev/hearthis | src/HearThisTests/PublishingModelTests.cs | src/HearThisTests/PublishingModelTests.cs | using System;
using System.IO;
using HearThis.Publishing;
using NUnit.Framework;
using Palaso.Progress;
namespace HearThisTests
{
[TestFixture]
public class PublishingModelTests
{
[Test]
// At one point this test was ignored because it failed on the (TeamCity) server.
// I (JohnT) changed it to this category ... | using System;
using System.IO;
using HearThis.Publishing;
using NUnit.Framework;
using Palaso.Progress;
namespace HearThisTests
{
[TestFixture]
public class PublishingModelTests
{
[Test, Ignore("Failing on server")]
public void Publish_PublishRootPathHasOneNewDirectory_DirectoryCreated()
{
LineRecordingRe... | mit | C# |
a2a2f0007ca3a6b74bb8b6af1832c6ec6abc47af | Initialise list | FireCube-/HarvesterBot | TexasHoldEm/Trainer.cs | TexasHoldEm/Trainer.cs | using System;
using System.Collections.Generic;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Trainer {
private int popSize;
private List<Gene<double>> pop;
private int currentGene = 0;
private int generation = 1;
private const double crossoverSplit = 0.5;
public Trainer(int po... | using System;
using System.Collections.Generic;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Trainer {
private int popSize;
private List<Gene<double>> pop;
private int currentGene = 0;
private int generation = 1;
private const double crossoverSplit = 0.5;
public Trainer(int po... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.