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 |
|---|---|---|---|---|---|---|---|---|
60f41f2f4ff16b7e2f2f8038b3cdd456aabdbfa7 | Remove "Default" from Destination VNet for migration | hovsepm/azure-sdk-for-net,vladca/azure-sdk-for-net,bgold09/azure-sdk-for-net,nemanja88/azure-sdk-for-net,AuxMon/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,pattipaka/azure-sdk-for-net,AuxMon/azure-sdk-for-net,herveyw/azure-sdk-for-net,dasha91/azure-sdk-for-net,MabOneSdk/azure-sdk-for-net,Mab... | src/ServiceManagement/Compute/ComputeManagement/Generated/Models/DestinationVirtualNetwork.cs | src/ServiceManagement/Compute/ComputeManagement/Generated/Models/DestinationVirtualNetwork.cs | //
// Copyright (c) Microsoft and contributors. 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 requi... | //
// Copyright (c) Microsoft and contributors. 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 requi... | apache-2.0 | C# |
d64589c1f65fbcd4963c1484a10eb978984b5590 | fix copy paste error | aonweb/fluent-http | AonWeb.FluentHttp/Handlers/Caching/CacheContext.cs | AonWeb.FluentHttp/Handlers/Caching/CacheContext.cs | using System;
using System.Collections;
using System.Net.Http;
using System.Threading;
using AonWeb.FluentHttp.Caching;
using AonWeb.FluentHttp.Helpers;
using AonWeb.FluentHttp.Serialization;
namespace AonWeb.FluentHttp.Handlers.Caching
{
public class CacheContext: CacheMetadata, ICacheContext
{
privat... | using System;
using System.Collections;
using System.Net.Http;
using System.Threading;
using AonWeb.FluentHttp.Caching;
using AonWeb.FluentHttp.Helpers;
using AonWeb.FluentHttp.Serialization;
namespace AonWeb.FluentHttp.Handlers.Caching
{
public class CacheContext: CacheMetadata, ICacheContext
{
privat... | mit | C# |
48b3b3b64024641674244028431229db7a44fe20 | Create an instance of Game | 12joan/hangman | hangman.cs | hangman.cs | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
Game game = new Game();
Console.WriteLine("Made a new Game object");
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| unlicense | C# |
e556030c4f53a058dbd54ae35207f9eaa9d63052 | Fix PostgreSQL environment variables | danielgerlag/workflow-core | test/WorkflowCore.Tests.PostgreSQL/DockerSetup.cs | test/WorkflowCore.Tests.PostgreSQL/DockerSetup.cs | using Docker.DotNet;
using Docker.DotNet.Models;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using Docker.Testify;
using Npgsql;
using Xunit;
namespace WorkflowCore.Tests.PostgreSQL
{
public class PostgresDockerSetup : DockerSetu... | using Docker.DotNet;
using Docker.DotNet.Models;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using Docker.Testify;
using Npgsql;
using Xunit;
namespace WorkflowCore.Tests.PostgreSQL
{
public class PostgresDockerSetup : DockerSetu... | mit | C# |
1437354e37bb28677b8493847decfd6984ac0fd1 | fix to brokered message receiver | MassTransit/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit | src/MassTransit.Azure.ServiceBus.Core/Configuration/Configuration/BrokeredMessageReceiverServiceBusEndpointConfiguration.cs | src/MassTransit.Azure.ServiceBus.Core/Configuration/Configuration/BrokeredMessageReceiverServiceBusEndpointConfiguration.cs | namespace MassTransit.Azure.ServiceBus.Core.Configuration
{
using System;
using GreenPipes;
using MassTransit.Configuration;
using MassTransit.Pipeline;
using MassTransit.Pipeline.Filters;
public class BrokeredMessageReceiverServiceBusEndpointConfiguration :
ReceiveEndpointConfigurati... | namespace MassTransit.Azure.ServiceBus.Core.Configuration
{
using System;
using GreenPipes;
using MassTransit.Configuration;
using MassTransit.Pipeline;
using MassTransit.Pipeline.Filters;
public class BrokeredMessageReceiverServiceBusEndpointConfiguration :
ReceiveEndpointConfigurati... | apache-2.0 | C# |
ffceb51152975d6c246126ecb91e3a770681f99e | add unit test for missing optional end date before approval | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/WhenValidatingApprenticeshipViewModel.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/WhenValidatingApprenticeshipViewModel.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetOverlappingApprenticeships;
using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services;
using SFA.DAS.P... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetOverlappingApprenticeships;
using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services;
using SFA.DAS.P... | mit | C# |
7a2d5d9c48f554cca6578c8db8f55b8718350c12 | Fix typo | EamonNerbonne/ExpressionToCode | ExpressionToCodeLib/Internal/StringifiedExpression.cs | ExpressionToCodeLib/Internal/StringifiedExpression.cs | using System;
using System.Diagnostics.Contracts;
using System.Linq.Expressions;
namespace ExpressionToCodeLib.Internal
{
struct StringifiedExpression
{
//a node cannot have children and text. If it has neither, it is considered empty.
public readonly string? Text;
readonly ... | using System;
using System.Diagnostics.Contracts;
using System.Linq.Expressions;
namespace ExpressionToCodeLib.Internal
{
struct StringifiedExpression
{
//a node cannot have children and text. If it has neither, it is considered empty.
public readonly string? Text;
readonly ... | apache-2.0 | C# |
6890ead6469ce1e995f2320f8f3f1de2d698b0a5 | Use AssemblyName to portably obtain version number | cureos/Evil-DICOM | EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs | EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs | using System.Reflection;
namespace EvilDICOM.Core.Helpers
{
public static class Constants
{
public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1";
public static string EVIL_DICOM_IMP_VERSION = new AssemblyName(Assembly.GetCallingAssembly().FullName).Version.ToString();
... | using System.Reflection;
namespace EvilDICOM.Core.Helpers
{
public static class Constants
{
public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1";
public static string EVIL_DICOM_IMP_VERSION = Assembly.GetCallingAssembly().GetName().Version.ToString();
//APPLICATION ... | mit | C# |
9a9f53ddfd76731d76462bdcc287190749667a8e | Remove 0.75 scale from osu! playfield in the editor | 2yangk23/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,naoey/osu,naoey/osu,Nabile-Rahmani/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,naoey/o... | osu.Game.Rulesets.Osu/Edit/OsuEditRulesetContainer.cs | osu.Game.Rulesets.Osu/Edit/OsuEditRulesetContainer.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Cursor;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
using OpenTK;
namespace osu.Game.Rule... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Cursor;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Osu.Edit
... | mit | C# |
68ce2798a187713b27cd93a72b7854857b3b8493 | Remove redundant code | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Base/Addml/Definitions/AddmlInfo.cs | src/Arkivverket.Arkade.Core/Base/Addml/Definitions/AddmlInfo.cs | using System.IO;
using Arkivverket.Arkade.Core.ExternalModels.Addml;
namespace Arkivverket.Arkade.Core.Base.Addml.Definitions
{
public class AddmlInfo
{
public addml Addml { get; }
public FileInfo AddmlFile { get; }
public AddmlInfo(addml addml, FileInfo addmlFile)
{
... | using System.IO;
using Arkivverket.Arkade.Core.ExternalModels.Addml;
using Arkivverket.Arkade.Core.Util;
namespace Arkivverket.Arkade.Core.Base.Addml.Definitions
{
public class AddmlInfo
{
public addml Addml { get; }
public FileInfo AddmlFile { get; }
public AddmlInfo(addml ad... | agpl-3.0 | C# |
a60b61558fcc191d1680dd90a4813ad0864bb6de | add Register.RegisterDomainCache() | jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK | src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/Register.cs | src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/Register.cs | #if NETCOREAPP2_0 || NETCOREAPP2_1
using Microsoft.AspNetCore.Builder;
#endif
namespace Senparc.Weixin.Cache.Redis
{
public static class Register
{
#if NETCOREAPP2_0 || NETCOREAPP2_1
/// <summary>
/// 注册 Senparc.Weixin.Cache.Memcached
/// </summary>
/// <param name="app"></par... | #if !NET45
using Microsoft.AspNetCore.Builder;
namespace Senparc.Weixin.Cache.Redis
{
public static class Register
{
/// <summary>
/// 注册 Senparc.Weixin.Cache.Memcached
/// </summary>
/// <param name="app"></param>
public static IApplicationBuilder UseSenparcWeixinCache... | apache-2.0 | C# |
62a209c6fe78d879c00423b0ace20003ee837c69 | Update name | pysco68/Pysco68.Owin.Logging.NLogAdapter,NLog/NLog.Owin.Logging | NLog.Owin.Logging.Tests/Properties/AssemblyInfo.cs | NLog.Owin.Logging.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | mit | C# |
e449d938f2305cd9ba3550a9f9b94cf4c18d4470 | Remove false positive test | jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/M... | Tests/MatterControl.Tests/MatterControl/ImportSettingsTests.cs | Tests/MatterControl.Tests/MatterControl/ImportSettingsTests.cs | using System.Collections.Generic;
using MatterHackers.Agg;
using MatterHackers.Agg.Platform;
using MatterHackers.MatterControl.SlicerConfiguration;
using MatterHackers.MatterControl.Tests.Automation;
using NUnit.Framework;
namespace MatterControl.Tests.MatterControl
{
[TestFixture, Category("ConfigIni")]
public cla... | using System.Collections.Generic;
using MatterHackers.Agg;
using MatterHackers.Agg.Platform;
using MatterHackers.MatterControl.SlicerConfiguration;
using MatterHackers.MatterControl.Tests.Automation;
using NUnit.Framework;
namespace MatterControl.Tests.MatterControl
{
[TestFixture, Category("ConfigIni")]
public cla... | bsd-2-clause | C# |
548d854723a638dda016c9ef5fdc7837ee11e27f | Clean up redundancy | gustavofrizzo/CreditCardValidator | Src/CreditCardValidator.Net35/CreditCardFactory.cs | Src/CreditCardValidator.Net35/CreditCardFactory.cs | using CreditCardValidator.Helpers;
using System;
using System.Linq;
namespace CreditCardValidator
{
public static class CreditCardFactory
{
private static readonly Random RandomNumber = new Random();
public static string RandomCardNumber(CardIssuer brand, int length = 0)
{
... | using CreditCardValidator.Helpers;
using System;
using System.Linq;
namespace CreditCardValidator
{
public static class CreditCardFactory
{
private static readonly Random RandomNumber = new Random();
public static string RandomCardNumber(CardIssuer brand, int length = 0)
{
... | mit | C# |
abda49dbb604683c3992fbad337b093416859b7a | Rename ResultDto<TResult> to ResultDto<TValue> | vkhorikov/CSharpFunctionalExtensions | CSharpFunctionalExtensions/Result/Dto/ResultDto.cs | CSharpFunctionalExtensions/Result/Dto/ResultDto.cs | #nullable enable
using System.Text.Json.Serialization;
namespace CSharpFunctionalExtensions
{
internal record ResultDto
{
public ResultDto() { }
public ResultDto(string error) => (Error) = (error);
public string? Error { get; init; }
public bool IsSuccess => Error is null;
... | #nullable enable
using System.Text.Json.Serialization;
namespace CSharpFunctionalExtensions
{
internal record ResultDto
{
public ResultDto() { }
public ResultDto(string error) => (Error) = (error);
public string? Error { get; init; }
public bool IsSuccess => Error is null;
... | mit | C# |
5263a2d004251754b2442df8dc766834c56915c0 | Implement a simple executor that just reads the file directly | DanTup/TestAdapters,DanTup/TestAdapters | DanTup.TestAdapters.Xml/XmlExternalTestExecutor.cs | DanTup.TestAdapters.Xml/XmlExternalTestExecutor.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace DanTup.TestAdapters.Xml
{
public class XmlExternalTestExecutor : ExternalTestExecutor
{
static readonly string extensionFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
public override st... | using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace DanTup.TestAdapters.Xml
{
public class XmlExternalTestExecutor : ExternalTestExecutor
{
static readonly string extensionFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
public override string ExtensionFolder {... | mit | C# |
3e248438e45d543d529b441d4e42b74482f04af0 | Add typing state to inspiro command | Nielk1/NadekoBot | NadekoBot.Core/Modules/Searches/InspiroCommands.cs | NadekoBot.Core/Modules/Searches/InspiroCommands.cs | using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
namespace NadekoBot.Modules.Searches
{
public partial class Searches
{
[Group]
public class ... | using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
namespace NadekoBot.Modules.Searches
{
public partial class Searches
{
[Group]
public class ... | mit | C# |
1d4025478ea64b832c18ec90060a51c811ab55f2 | Update Startup.cs | bradwestness/SecretSanta,bradwestness/SecretSanta | SecretSanta/Startup.cs | SecretSanta/Startup.cs | using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SecretSanta.Utilities;
using System;
namespace SecretSanta
{
... | using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SecretSanta.Utilities;
using System;
namespace SecretSanta
{
... | apache-2.0 | C# |
209e1e19f4a0a333158f7dc0d27f34e54f3395c4 | Remove extraneous info in assembly info | PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Wpf/Properties/AssemblyInfo.cs | Source/Eto.Platform.Wpf/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Eto.Platform.Wpf")]
[assembly: AssemblyDescription("")]
[assembly: ThemeInfo (
ResourceDictionaryLocation.SourceAssembly,
ResourceDictionaryLocation.SourceAssembl... | using System.Reflection;
using System.Runtime.CompilerServices;
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.
[asse... | bsd-3-clause | C# |
38f6149a3af7b300df541d774feb3b2d2101b87d | Select first inserted tab in TabControl even before control is loaded | PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto | Source/Eto.Wpf/Forms/Controls/TabControlHandler.cs | Source/Eto.Wpf/Forms/Controls/TabControlHandler.cs | using System;
using swc = System.Windows.Controls;
using swm = System.Windows.Media;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Wpf.Forms.Controls
{
public class TabControlHandler : WpfContainer<swc.TabControl, TabControl, TabControl.ICallback>, TabControl.IHandler
{
bool disableSelectedIndexChanged;
publ... | using System;
using swc = System.Windows.Controls;
using swm = System.Windows.Media;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Wpf.Forms.Controls
{
public class TabControlHandler : WpfContainer<swc.TabControl, TabControl, TabControl.ICallback>, TabControl.IHandler
{
bool disableSelectedIndexChanged;
publ... | bsd-3-clause | C# |
19015bd81eeade7f52a20dbcb2ebe228dbbc11a8 | Add ColorSchemes dictionary to AppPallette for multiple color schemes | sillsdev/hearthis,sillsdev/hearthis,sillsdev/hearthis | src/HearThis/UI/AppPallette.cs | src/HearThis/UI/AppPallette.cs | // --------------------------------------------------------------------------------------------
#region // Copyright (c) 2014, SIL International. All Rights Reserved.
// <copyright from='2011' to='2014' company='SIL International'>
// Copyright (c) 2014, SIL International. All Rights Reserved.
//
// Distributable und... | // --------------------------------------------------------------------------------------------
#region // Copyright (c) 2014, SIL International. All Rights Reserved.
// <copyright from='2011' to='2014' company='SIL International'>
// Copyright (c) 2014, SIL International. All Rights Reserved.
//
// Distributable und... | mit | C# |
d76cf7073db95ff65dd6a0be736a0acd57ad787d | Update MongoClientSessionContext.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/MongoClientSessionContext.cs | TIKSN.Core/Data/Mongo/MongoClientSessionContext.cs | using System;
using LanguageExt;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public class MongoClientSessionContext : IMongoClientSessionStore, IMongoClientSessionProvider
{
private Option<IClientSessionHandle> _clientSessionHandle = Option<IClientSessionHandle>.None;
public Option<ICl... | using System;
using LanguageExt;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public class MongoClientSessionContext : IMongoClientSessionStore, IMongoClientSessionProvider
{
private Option<IClientSessionHandle> _clientSessionHandle = Option<IClientSessionHandle>.None;
public Option<ICl... | mit | C# |
70426a62b6b810e8a6cb2989bdc430693bc5261b | Add async methods to IErrorReporting interface | opcon/Substructio,opcon/Substructio | src/Logging/IErrorReporting.cs | src/Logging/IErrorReporting.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Substructio.Logging
{
public interface IErrorReporting
{
string ReportError(Exception e);
string ReportMessage(string message);
Task<string> ReportErrorAsync(Ex... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Substructio.Logging
{
public interface IErrorReporting
{
string ReportError(Exception e);
string ReportMessage(string message);
}
public class NullErrorReporti... | mit | C# |
089cd3c0926f22bdc7f864e922125438676a52a5 | Use callback arg in Worker.cs | rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rab... | dotnet/Worker/Worker.cs | dotnet/Worker/Worker.cs | using System;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.Text;
using System.Threading;
class Worker
{
public static void Main()
{
var factory = new ConnectionFactory() { HostName = "localhost" };
using(var connection = factory.CreateConnection())
using(var channel... | using System;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.Text;
using System.Threading;
class Worker
{
public static void Main()
{
var factory = new ConnectionFactory() { HostName = "localhost" };
using(var connection = factory.CreateConnection())
using(var channel... | apache-2.0 | C# |
b6fb2b80131890bbb8e6acad15fda2c379e8ee61 | Update Beta channel to ignore CDN | KirillOsenkov/OpenLiveWriter,randrey/OpenLiveWriter,adilmughal/OpenLiveWriter,punker76/OpenLiveWriter,hashhar/OpenLiveWriter,KirillOsenkov/OpenLiveWriter,PeteKersker/OpenLiveWriter,hashhar/OpenLiveWriter,adilmughal/OpenLiveWriter,adilmughal/OpenLiveWriter,randrey/OpenLiveWriter,punker76/OpenLiveWriter,panjkov/OpenLiveW... | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateSettings.cs | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateSettings.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections.Generic;
using System.Text;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.Settings;
namespace OpenLiveWriter.PostEdi... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections.Generic;
using System.Text;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.Settings;
namespace OpenLiveWriter.PostEdi... | mit | C# |
4192ec07800cb62de78b1498004eb64386fcf9e8 | use KSPAssembly | StollD/Kronometer | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Kronometer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Kronometer")]
[assembly: AssemblyCopyright... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Kronometer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Kronometer")]
[assembly: AssemblyCopyright... | mit | C# |
e9a0e097320bcb27dbe11385999550101b88a445 | Hide the Manage Content admin menu item | omidnasri/Orchard,Lombiq/Orchard,Serlead/Orchard,vard0/orchard.tan,Praggie/Orchard,m2cms/Orchard,bigfont/orchard-cms-modules-and-themes,Lombiq/Orchard,oxwanawxo/Orchard,mgrowan/Orchard,SzymonSel/Orchard,sfmskywalker/Orchard,Praggie/Orchard,Dolphinsimon/Orchard,brownjordaninternational/OrchardCMS,NIKASoftwareDevs/Orchar... | src/Orchard.Web/Core/Contents/AdminMenu.cs | src/Orchard.Web/Core/Contents/AdminMenu.cs | using System.Linq;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.Localization;
using Orchard.UI.Navigation;
namespace Orchard.Core.Contents {
public class AdminMenu : INavigationProvider {
private readonly IContentDefinitionManager _contentDefinitionManag... | using System.Linq;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.Localization;
using Orchard.UI.Navigation;
namespace Orchard.Core.Contents {
public class AdminMenu : INavigationProvider {
private readonly IContentDefinitionManager _contentDefinitionManag... | bsd-3-clause | C# |
3f61725b51e573047623a025b0aac2944c6da0e9 | Update VortoValue.cs | mattbrailsford/umbraco-vorto,mattbrailsford/umbraco-vorto,mattbrailsford/umbraco-vorto | src/Our.Umbraco.Vorto/Models/VortoValue.cs | src/Our.Umbraco.Vorto/Models/VortoValue.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Our.Umbraco.Vorto.Models
{
public class VortoValue
{
public VortoValue()
{ }
[JsonProperty("values")]
public IDictionary<string, object> Values { get; set; }
[JsonProperty("dtdGuid")]
public Guid DtdGuid { get; set;... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Our.Umbraco.Vorto.Models
{
public class VortoValue
{
internal VortoValue()
{ }
[JsonProperty("values")]
public IDictionary<string, object> Values { get; set; }
[JsonProperty("dtdGuid")]
public Guid DtdGuid { get; se... | mit | C# |
53bc8789f1774acb96854273fcd33a4523da32ec | Add load of certificate for token service | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/TokenServiceApiClientConfiguration.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/TokenServiceApiClientConfiguration.cs | using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.TokenService.Api.Client;
namespace SFA.DAS.EAS.Domain.Configuration
{
public class TokenServiceApiClientConfiguration : ITokenServiceApiClientConfiguration, IConfiguration
{
pu... | using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.TokenService.Api.Client;
namespace SFA.DAS.EAS.Domain.Configuration
{
public class TokenServiceApiClientConfiguration : ITokenServiceApiClientConfiguration, IConfiguration
{
public string ApiBaseUrl { get; set; }
public string ClientId { get; s... | mit | C# |
9aa6854790840bd058afd47a6b64b9d7e2102772 | Fix Poll | MrRoundRobin/telegram.bot,TelegramBots/telegram.bot | src/Telegram.Bot/Types/Poll.cs | src/Telegram.Bot/Types/Poll.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object contains information about a poll.
/// </summary>
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class Poll
{
//... | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object contains information about a poll.
/// </summary>
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class Poll
{
//... | mit | C# |
4041d4687132d3f32493dddc2b7f26e2d89b623a | Remove old red 1 reference | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/ReportsController.cs | Battery-Commander.Web/Controllers/ReportsController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Models.Reports;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Models.Reports;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]... | mit | C# |
1bd0127755ce75cc9e2ec01300537caa30fb5ca1 | Update test | JetBrains/YouTrackSharp,JetBrains/YouTrackSharp | tests/YouTrackSharp.Tests/Integration/Management/TimeTracking/UpdateTimeTrackingSettingsForProject.cs | tests/YouTrackSharp.Tests/Integration/Management/TimeTracking/UpdateTimeTrackingSettingsForProject.cs | using System.Threading.Tasks;
using Xunit;
using YouTrackSharp.Management;
using YouTrackSharp.Tests.Infrastructure;
namespace YouTrackSharp.Tests.Integration.Management.TimeTracking
{
public partial class TimeTrackingServiceTests
{
public class TimeTrackingManagementServiceTests
{
[Fact]... | using System.Linq;
using System.Threading.Tasks;
using Xunit;
using YouTrackSharp.Management;
using YouTrackSharp.Tests.Infrastructure;
using YouTrackSharp.TimeTracking;
namespace YouTrackSharp.Tests.Integration.TimeTracking
{
public partial class TimeTrackingServiceTests
{
public class TimeTrackingMan... | apache-2.0 | C# |
b6dab9e0c2abc07ca14f4568f133618dcb429dfc | Save image on fail. | JohanLarsson/Gu.Wpf.Adorners | Gu.Wpf.Adorners.UiTests/OverlayWindowTests.cs | Gu.Wpf.Adorners.UiTests/OverlayWindowTests.cs | namespace Gu.Wpf.Adorners.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class OverlayWindowTests
{
private const string WindowName = "OverlayWindow";
[TestCase("No overlay", ".\\Images\\No overlay.png")]
[TestCase("Default visibility", ".\\Images\\Default ... | namespace Gu.Wpf.Adorners.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class OverlayWindowTests
{
private const string WindowName = "OverlayWindow";
[TestCase("No overlay", ".\\Images\\No overlay.png")]
[TestCase("Default visibility", ".\\Images\\Default ... | mit | C# |
adc55722d04330dddd6aa83c3b6e9ad0b356e0ec | add service name to RegistryInformation ctor | lvermeulen/Equalizer | test/Equalizer.Nanophone.Tests/RoundRobinAddressRouterShould.cs | test/Equalizer.Nanophone.Tests/RoundRobinAddressRouterShould.cs | using System;
using System.Collections.Generic;
using Nanophone.Core;
using Xunit;
namespace Equalizer.Nanophone.Tests
{
public class RoundRobinAddressRouterShould
{
[Fact]
public void WrapAround()
{
var oneDotOne = new RegistryInformation("One", "1", 1234, "some version");... | using System;
using System.Collections.Generic;
using Nanophone.Core;
using Xunit;
namespace Equalizer.Nanophone.Tests
{
public class RoundRobinAddressRouterShould
{
[Fact]
public void WrapAround()
{
var oneDotOne = new RegistryInformation("1", 1234, "some version");
... | mit | C# |
044138df8bb96c46a2f345c5bb2d3ace1a804d01 | Set reasonable defaults | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Xgminer/Device/DeviceDescriptor.cs | MultiMiner.Xgminer/Device/DeviceDescriptor.cs | using System;
namespace MultiMiner.Xgminer
{
public class DeviceDescriptor
{
public DeviceKind Kind { get; set; }
public int RelativeIndex { get; set; }
public string Driver { get; set; }
public string Path { get; set; }
public DeviceDescriptor()
{
t... | using System;
namespace MultiMiner.Xgminer
{
public class DeviceDescriptor
{
public DeviceKind Kind { get; set; }
public int RelativeIndex { get; set; }
public string Driver { get; set; }
public string Path { get; set; }
public string Description()
{
... | mit | C# |
69cfbc950de18bf8eb1c7310f5ba4450bfe82923 | Fix AssemblyInfo.cs for Box2D. This fixes referencing Box2D from a PCL where a message saying that version 1.4.0 can not be found. | mono/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp,MSylvia/CocosSharp | PCL/Box2DPCLShared/Properties/AssemblyInfo.cs | PCL/Box2DPCLShared/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 ("Box2D.PCL.Shared")]
[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 ("Box2D.PCL.Shared")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[... | mit | C# |
8b127db53fb01734bb2e0f9f66a87a2c7a1ffabb | Edit Debug.cs | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | apache-2.0 | C# |
d0854228b106da81f474783b2c14c7e1d16a34be | Update ScriptView.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/UI/Avalonia/Dock/Views/ScriptView.cs | src/Core2D/UI/Avalonia/Dock/Views/ScriptView.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 DM = Dock.Model;
namespace Core2D.UI.Avalonia.Dock.Views
{
/// <summary>
/// Script view.
/// </summary>
public class ScriptView : DM.DockBa... | // 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 DM=Dock.Model;
namespace Core2D.UI.Avalonia.Dock.Views
{
/// <summary>
/// Script view.
/// </summary>
public class ScriptView : DM.DockBase... | mit | C# |
88305d029527932a477575a73efa452d00bb7062 | Add member for dispose. | yfakariya/msgpack-rpc-cli,yonglehou/msgpack-rpc-cli | src/MsgPack.Rpc/Rpc/Protocols/ShutdownSource.cs | src/MsgPack.Rpc/Rpc/Protocols/ShutdownSource.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | apache-2.0 | C# |
7729f5998d858f0664481f9d0936b7be313a56f4 | Add HasHeavilyDamagedShip property | amatukaze/HeavenlyWind | src/ViewModels/Sakuno.ING.ViewModels/Homeport/FleetOverviewViewModel.cs | src/ViewModels/Sakuno.ING.ViewModels/Homeport/FleetOverviewViewModel.cs | using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using Sakuno.ING.Game.Models;
using Sakuno.ING.Game.Models.MasterData;
using Sakuno.ING.Shell;
using System;
using System.Linq;
using System.Reactive.Linq;
namespace Sakuno.ING.ViewModels.Homeport
{
public sealed class FleetOverviewViewModel : Reacti... | using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using Sakuno.ING.Game.Models;
using Sakuno.ING.Game.Models.MasterData;
using Sakuno.ING.Shell;
using System;
using System.Linq;
using System.Reactive.Linq;
namespace Sakuno.ING.ViewModels.Homeport
{
public sealed class FleetOverviewViewModel : Reacti... | mit | C# |
83149fe9cc31b43aeb11521888c1b73d2a9c3438 | Tweak FireLock.cs gizmos to no longer create NREs. | fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Doors/FireLock.cs | UnityProject/Assets/Scripts/Doors/FireLock.cs | using UnityEngine;
using UnityEngine.Events;
public class FireLock : InteractableDoor
{
private MetaDataNode metaNode;
public FireAlarm fireAlarm;
public override void TryClose()
{
}
public override void TryOpen(GameObject performer)
{
}
void TriggerAlarm()
{
if (fireAlarm)
{
fireAlarm.SendCloseAl... | using UnityEngine;
using UnityEngine.Events;
public class FireLock : InteractableDoor
{
private MetaDataNode metaNode;
public FireAlarm fireAlarm;
public override void TryClose()
{
}
public override void TryOpen(GameObject performer)
{
}
void TriggerAlarm()
{
if (fireAlarm)
{
fireAlarm.SendCloseAl... | agpl-3.0 | C# |
3097189ba609ea67550f34afedf181f797c000d7 | Copy file to temp folder as long as document is not saved | eggapauli/MyDocs,eggapauli/MyDocs | WindowsStore/Service/FileOpenPickerService.cs | WindowsStore/Service/FileOpenPickerService.cs | using MyDocs.Common.Contract.Service;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Pickers;
namespace MyDocs.WindowsStore.Service
{
public class FileOpenPickerService : IFileOpenPickerServi... | using MyDocs.Common.Contract.Service;
using MyDocs.Common.Model.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Pickers;
namespace MyDocs.WindowsStore.Service
{
public class FileOpenPickerService : IFile... | mit | C# |
d3010db8a779609be7ade67953a4fc8c3ad743e1 | バージョン番号を更新。 | YKSoftware/YKToolkit.Controls | YKToolkit.Controls/Properties/AssemblyInfo.cs | YKToolkit.Controls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | mit | C# |
0532b728ec30fba86398649a1d679a49e549896a | Edit comment. Token is not required. | bcuff/elasticsearch-net-aws | src/Elasticsearch.Net.Aws/Elasticsearch.Net.Aws/AwsSettings.cs | src/Elasticsearch.Net.Aws/Elasticsearch.Net.Aws/AwsSettings.cs | using System;
using System.Linq;
namespace Elasticsearch.Net.Aws
{
/// <summary>
/// Encapsulates
/// </summary>
public class AwsSettings
{
/// <summary>
/// Gets or sets the region. e.g. us-east-1. Required.
/// </summary>
public string Region { get; set; }
... | using System;
using System.Linq;
namespace Elasticsearch.Net.Aws
{
/// <summary>
/// Encapsulates
/// </summary>
public class AwsSettings
{
/// <summary>
/// Gets or sets the region. e.g. us-east-1. Required.
/// </summary>
public string Region { get; set; }
... | apache-2.0 | C# |
71a52f2b81c03fff3c3e6ffa211f83c7f5ec0b83 | Tweak comment | AmadeusW/roslyn,panopticoncentral/roslyn,stephentoub/roslyn,eriawan/roslyn,mgoertz-msft/roslyn,aelij/roslyn,KirillOsenkov/roslyn,AlekseyTs/roslyn,bartdesmet/roslyn,weltkante/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,AmadeusW/roslyn,physhi/roslyn,reaction1989/roslyn,reaction1989/roslyn,diryboy/roslyn,bartdesmet/roslyn,... | src/Features/Core/Portable/FindUsages/ExternalReferenceItem.cs | src/Features/Core/Portable/FindUsages/ExternalReferenceItem.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.CodeAnalysis.FindUsages
{
/// <summary>
/// Information about a symbol's reference that... | // 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.CodeAnalysis.FindUsages
{
/// <summary>
/// Information about a symbol's reference that... | mit | C# |
909a8bf94885749aa8d3410e9fa94b709b5b8c03 | Fix build by adding IsReadOnly implementation | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.InlineReviews/ViewModels/TooltipCommentViewModel.cs | src/GitHub.InlineReviews/ViewModels/TooltipCommentViewModel.cs | using System;
using System.Reactive;
using ReactiveUI;
using GitHub.Models;
namespace GitHub.InlineReviews.ViewModels
{
public class TooltipCommentViewModel : ICommentViewModel
{
internal TooltipCommentViewModel(IAccount user, string body, DateTimeOffset updatedAt)
{
User = user;
... | using System;
using System.Reactive;
using ReactiveUI;
using GitHub.Models;
namespace GitHub.InlineReviews.ViewModels
{
public class TooltipCommentViewModel : ICommentViewModel
{
internal TooltipCommentViewModel(IAccount user, string body, DateTimeOffset updatedAt)
{
User = user;
... | mit | C# |
aee6f0bb4e2a11993e181f32b3d63a65a9be4067 | Make designer work. | susloparovdenis/Avalonia,susloparovdenis/Avalonia,Perspex/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,susloparovdenis/Perspex,OronDF343/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,MrDaedra/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Av... | src/Markup/Perspex.Markup.Xaml/Context/PerspexParserFactory.cs | src/Markup/Perspex.Markup.Xaml/Context/PerspexParserFactory.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using OmniXaml;
using OmniXaml.ObjectAssembler;
using OmniXaml.Parsers.ProtoParser;
using OmniXaml.Parsers.XamlInstructions;
namespace Perspex.Markup.Xaml... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using OmniXaml;
using OmniXaml.ObjectAssembler;
using OmniXaml.Parsers.ProtoParser;
using OmniXaml.Parsers.XamlInstructions;
namespace Perspex.Markup.Xaml... | mit | C# |
5aa3340df54d1bf74769f6d275abeb53010a998b | Add the profiling method. | ttakahari/AdoNetProfiler | src/AdoNetProfiler/AdoNetProfiler/IProfiler.cs | src/AdoNetProfiler/AdoNetProfiler/IProfiler.cs | using System;
using System.Data;
using System.Data.Common;
using System.Threading.Tasks;
namespace AdoNetProfiler
{
/// <summary>
/// The interface that defines methods profiling of database accesses.
/// </summary>
public interface IProfiler
{
/// <summary>
/// Get the profiler is... | using System;
using System.Data;
using System.Data.Common;
using System.Threading.Tasks;
namespace AdoNetProfiler
{
/// <summary>
/// The interface that defines methods profiling of database accesses.
/// </summary>
public interface IProfiler
{
/// <summary>
/// Get the profiler is... | mit | C# |
9f9e44020e079151c2d37926b17ffab23359fea2 | Add EventHubs to sample | Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk | sample/SampleHost/Program.cs | sample/SampleHost/Program.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace SampleHost
{... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace SampleHost
{... | mit | C# |
65b6a6136ba2b4d5f908bf9fdaa42f93f6ba7ea8 | Add note | IRlyDontKnow/FluentValidation,GDoronin/FluentValidation,deluxetiky/FluentValidation,cecilphillip/FluentValidation,ruisebastiao/FluentValidation,glorylee/FluentValidation,regisbsb/FluentValidation,robv8r/FluentValidation,olcayseker/FluentValidation,roend83/FluentValidation,pacificIT/FluentValidation,roend83/FluentValida... | src/FluentValidation/Internal/InstanceCache.cs | src/FluentValidation/Internal/InstanceCache.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | apache-2.0 | C# |
ba53753a1f1d58bf13da9585dcac7ed95155c835 | Update AssemblyInfo for server | twsouthwick/poshgit2 | src/PoshGit2.Server/Properties/AssemblyInfo.cs | src/PoshGit2.Server/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# |
92d4220ffdb51a1cd07f9e9b315228faec4fa1d9 | Fix SqliteVersionProvider's notion of 'now' | canton7/SimpleMigrations,canton7/SimpleMigrations,canton7/Simple.Migrations,canton7/Simple.Migrations | src/SimpleMigrations/VersionProvider/SqliteVersionProvider.cs | src/SimpleMigrations/VersionProvider/SqliteVersionProvider.cs | using System;
namespace SimpleMigrations.VersionProvider
{
/// <summary>
/// Class which can read from / write to a version table in an SQLite database
/// </summary>
public class SqliteVersionProvider : VersionProviderBase
{
/// <summary>
/// Gets or sets the name of the table to ... | using System;
namespace SimpleMigrations.VersionProvider
{
/// <summary>
/// Class which can read from / write to a version table in an SQLite database
/// </summary>
public class SqliteVersionProvider : VersionProviderBase
{
/// <summary>
/// Gets or sets the name of the table to ... | mit | C# |
d0e44d72d19351ef636e45eb3e9246d87686df0e | Remove excess IPageObject<TOwner> generic type constraint from DragAndDropBehaviorAttribute.Execute method | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata/Attributes/Behaviors/DragAndDropBehaviorAttribute.cs | src/Atata/Attributes/Behaviors/DragAndDropBehaviorAttribute.cs | namespace Atata
{
/// <summary>
/// Represents the base behavior class for drag and drop.
/// </summary>
public abstract class DragAndDropBehaviorAttribute : MulticastAttribute
{
public abstract void Execute<TOwner>(IControl<TOwner> component, IControl<TOwner> target)
wh... | namespace Atata
{
/// <summary>
/// Represents the base behavior class for drag and drop.
/// </summary>
public abstract class DragAndDropBehaviorAttribute : MulticastAttribute
{
public abstract void Execute<TOwner>(IControl<TOwner> component, IControl<TOwner> target)
wh... | apache-2.0 | C# |
c63bfeab260ccdc4a5a9a1179846ecc6f6d4c742 | add token validation event to handler | wilcommerce/Wilcommerce.Auth | src/Wilcommerce.Auth/Events/User/Handlers/UserEventHandler.cs | src/Wilcommerce.Auth/Events/User/Handlers/UserEventHandler.cs | using Microsoft.AspNetCore.Http.Authentication;
using System;
using System.Linq;
using Wilcommerce.Auth.Services.Interfaces;
using Wilcommerce.Core.Common.Domain.ReadModels;
using Wilcommerce.Core.Infrastructure;
namespace Wilcommerce.Auth.Events.User.Handlers
{
public class UserEventHandler :
IHandleEve... | using Wilcommerce.Core.Infrastructure;
namespace Wilcommerce.Auth.Events.User.Handlers
{
public class UserEventHandler :
IHandleEvent<UserSignedInEvent>,
IHandleEvent<PasswordRecoveryRequestedEvent>
{
public IEventStore EventStore { get; }
public UserEventHandler(IEventStore ... | mit | C# |
f235dd27e8d146f949418a8d17c11f0870cc4cb6 | Raise Ping timeout for tests slightly | alphonsekurian/corefx,shimingsg/corefx,shmao/corefx,jhendrixMSFT/corefx,JosephTremoulet/corefx,jhendrixMSFT/corefx,tstringer/corefx,vidhya-bv/corefx-sorting,alexperovich/corefx,tijoytom/corefx,ViktorHofer/corefx,parjong/corefx,kkurni/corefx,JosephTremoulet/corefx,cydhaselton/corefx,rubo/corefx,ravimeda/corefx,nchikanov... | src/System.Net.Utilities/tests/FunctionalTests/TestSettings.cs | src/System.Net.Utilities/tests/FunctionalTests/TestSettings.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace System.Net.Utilities.Tests
{
internal static class TestSettings
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace System.Net.Utilities.Tests
{
internal static class TestSettings
{
... | mit | C# |
87b4f9e3f5dcbc78146466ee3a93a51277aee2e3 | remove the FunctionNameHelper | USDXStartups/CalendarHelper | shared/AppSettingsHelper.csx | shared/AppSettingsHelper.csx | #load "LogHelper.csx"
#load "FunctionNameHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
string methodName = "GetAppSettin"; //GetType().FullName;
... | #load "LogHelper.csx"
#load "FunctionNameHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
string methodName = "GetAppSettin"; //GetType().FullName;
... | mit | C# |
6d070d82aaec62b4b03f6ab530c044a71e09c175 | Add comment and make constructor protected internal | DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-fr... | osu.Framework/Input/UserInputManager.cs | osu.Framework/Input/UserInputManager.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 osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges.Events;
using osu.Framework.Platform;
using osuTK;
namespac... | // 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 osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges.Events;
using osu.Framework.Platform;
using osuTK;
namespac... | mit | C# |
ffc1dea980a0dc52a04af1ad1631c2198947681a | Fix bug in Unit test | Seddryck/NBi,Seddryck/NBi | NBi.Testing/Unit/Core/Calculation/PredicateFilterTest.cs | NBi.Testing/Unit/Core/Calculation/PredicateFilterTest.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core;
using NBi.Core.Calculation;
using Moq;
using NBi.Core.Evaluate;
using NBi.Core.ResultSet;
namespace NBi.Testing.Unit.Core.Calculation
{
public class PredicateF... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core;
using NBi.Core.Calculation;
using Moq;
using NBi.Core.Evaluate;
using NBi.Core.ResultSet;
namespace NBi.Testing.Unit.Core.Calculation
{
public class PredicateF... | apache-2.0 | C# |
46b8e9673002dfafeb8ac2457764879865c73227 | remove redundant null check from sessiontracker class | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | src/BugsnagUnity/SessionTracker.cs | src/BugsnagUnity/SessionTracker.cs | using BugsnagUnity.Payload;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("BugsnagUnity.Tests")]
namespace BugsnagUnity
{
public interface ISessionTracker
{
void StartSession();
void StopSession();
bool ResumeSession();
Session CurrentSession { get; }
void AddExcept... | using BugsnagUnity.Payload;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("BugsnagUnity.Tests")]
namespace BugsnagUnity
{
public interface ISessionTracker
{
void StartSession();
void StopSession();
bool ResumeSession();
Session CurrentSession { get; }
void AddExcept... | mit | C# |
99e25b49a51f93e84266ded251322b84601db014 | test fix | gigya/microdot | Gigya.Microdot.Testing.Shared/Service/NonOrleansServiceTester.cs | Gigya.Microdot.Testing.Shared/Service/NonOrleansServiceTester.cs | #region Copyright
// Copyright 2017 Gigya 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
//
// THIS... | #region Copyright
// Copyright 2017 Gigya 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
//
// THIS... | apache-2.0 | C# |
d9929fe2f0fcf9ec92b359d5cb449f9a70663a24 | make properties get-only | jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib | src/D2DLibExport/D2DStrokeStyle.cs | src/D2DLibExport/D2DStrokeStyle.cs | /*
* MIT License
*
* Copyright (c) 2009-2021 Jingwood, unvell.com. All right reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limit... | /*
* MIT License
*
* Copyright (c) 2009-2021 Jingwood, unvell.com. All right reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limit... | mit | C# |
fe887a1b868e1937417f5ec939ee5e387c16e739 | Fix DateTimeUtil | fujiy/FujiyBlog,fujiy/FujiyBlog,fujiy/FujiyBlog | src/FujiyBlog.Core/DateTimeUtil.cs | src/FujiyBlog.Core/DateTimeUtil.cs | using System;
using FujiyBlog.Core.EntityFramework;
namespace FujiyBlog.Core
{
public class DateTimeUtil
{
private readonly SettingRepository settings;
public DateTimeUtil(SettingRepository settings)
{
this.settings = settings;
}
public DateTime ConvertUtc... | using System;
using FujiyBlog.Core.EntityFramework;
namespace FujiyBlog.Core
{
public class DateTimeUtil
{
private readonly SettingRepository settings;
public DateTimeUtil(SettingRepository settings)
{
this.settings = settings;
}
public DateTime ConvertUtc... | mit | C# |
60915c87b209a03ca01a091d95d11093cb58e13e | Add Pentacost Monday to German Holidays | kappy/DateTimeExtensions | DateTimeExtensions/WorkingDays/CultureStrategies/DE_DEHolidayStrategy.cs | DateTimeExtensions/WorkingDays/CultureStrategies/DE_DEHolidayStrategy.cs | #region License
//
// Copyright (c) 2011-2012, João Matos Silva <kappy@acydburne.com.pt>
//
// 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... | #region License
//
// Copyright (c) 2011-2012, João Matos Silva <kappy@acydburne.com.pt>
//
// 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... | apache-2.0 | C# |
a9dae40a37ddc67c2d10c242ab118d356842cc44 | Make sure CADisplayLink's action dispatcher isn't freed too early. Fixes #10315. | mono/maccore | src/CoreAnimation/CALayer.cs | src/CoreAnimation/CALayer.cs | //
// CALayer.cs: support for CALayer
//
// Authors:
// Geoff Norton.
//
// Copyright 2009-2010 Novell, Inc
// Copyright 2011, 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal i... | //
// CALayer.cs: support for CALayer
//
// Authors:
// Geoff Norton.
//
// Copyright 2009-2010 Novell, Inc
// Copyright 2011, 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal i... | apache-2.0 | C# |
503e4ce962392529ffd92eecc5c51a20f5d2496e | Update BaseShapeDragAndDropListBox.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | Core2D.Wpf/Controls/Custom/Lists/BaseShapeDragAndDropListBox.cs | Core2D.Wpf/Controls/Custom/Lists/BaseShapeDragAndDropListBox.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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | // 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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | mit | C# |
4edede28b96ba718d2a7057cfe146e6347937830 | Remove unused items from account manage page (TFA, phone numbers etc.) | diolive/cache,diolive/cache | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Manage/Index.cshtml | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Manage/Index.cshtml | @model IndexVM
@{
ViewData["PageTitle"] = "Manage your account";
}
<h2>@ViewData["PageTitle"].</h2>
<p class="text-success">@ViewData["StatusMessage"]</p>
<div>
<h4>Change your account settings</h4>
<hr />
<dl class="dl-horizontal">
<dt>Password:</dt>
<dd>
@if (Model.HasPa... | @model IndexVM
@{
ViewData["PageTitle"] = "Manage your account";
}
<h2>@ViewData["PageTitle"].</h2>
<p class="text-success">@ViewData["StatusMessage"]</p>
<div>
<h4>Change your account settings</h4>
<hr />
<dl class="dl-horizontal">
<dt>Password:</dt>
<dd>
@if (Model.HasPa... | mit | C# |
febeff9dcdbf18d3b45e3c406709331f196a888f | Add missing file offset registration. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.PE/Debug/SerializedDebugDataEntry.cs | src/AsmResolver.PE/Debug/SerializedDebugDataEntry.cs | using System;
namespace AsmResolver.PE.Debug
{
/// <summary>
/// Provides an implementation of a debug data entry that was stored in a PE file.
/// </summary>
public class SerializedDebugDataEntry : DebugDataEntry
{
private readonly IDebugDataReader _dataReader;
private readonly Deb... | using System;
namespace AsmResolver.PE.Debug
{
/// <summary>
/// Provides an implementation of a debug data entry that was stored in a PE file.
/// </summary>
public class SerializedDebugDataEntry : DebugDataEntry
{
private readonly IDebugDataReader _dataReader;
private readonly Deb... | mit | C# |
40dd16f9aef4f99ba26bfae10536204719996c86 | Update MenuFlyoutPresenter.cs | SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,Super... | src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs | src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs | using System;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Platform;
using Avalonia.Controls.Primitives;
using Avalonia.LogicalTree;
namespace Avalonia.Controls
{
public class MenuFlyoutPresenter : MenuBase
{
public static readonly StyledProperty<CornerRadius> CornerRadiusProperty =
... | using System;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Platform;
using Avalonia.Controls.Primitives;
using Avalonia.LogicalTree;
namespace Avalonia.Controls
{
public class MenuFlyoutPresenter : MenuBase
{
public MenuFlyoutPresenter()
:base(new DefaultMenuInteractionHandl... | mit | C# |
c4aeefdf6433d0f52be4fd5c458ea5b85eea627f | Make TextReaderCustomization implement ICustomization | appharbor/appharbor-cli | src/AppHarbor.Tests/TextReaderCustomization.cs | src/AppHarbor.Tests/TextReaderCustomization.cs | using System;
using Ploeh.AutoFixture;
namespace AppHarbor.Tests
{
public class TextReaderCustomization : ICustomization
{
public void Customize(IFixture fixture)
{
throw new NotImplementedException();
}
}
}
| namespace AppHarbor.Tests
{
public class TextReaderCustomization
{
}
}
| mit | C# |
6150cd62add154d9ac374b211431c636e4096786 | Increment version num. | kingsimmy/DotStatic | DotStatic.Core/Properties/AssemblyInfo.cs | DotStatic.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DotStatic.Core")]
[assembly: AssemblyDesc... | 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("DotStatic.Core")]
[assembly: AssemblyDesc... | cc0-1.0 | C# |
972fbbd5eece7bc13bb6e7852ff42c1722a53a5b | Make sure data files are in order before validating file names | ethanmoffat/EndlessClient | EOLib.Localization/DataFileLoadActions.cs | EOLib.Localization/DataFileLoadActions.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using AutomaticTypeMapper;
using System.IO;
using System.Linq;
namespace EOLib.Localization
{
[MappedType(BaseType = typeof(IDataFileLoadActions))]
public class ... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using AutomaticTypeMapper;
using System.IO;
namespace EOLib.Localization
{
[MappedType(BaseType = typeof(IDataFileLoadActions))]
public class DataFileLoadActions... | mit | C# |
44e6c3c10ea93d63c10c8655c6354ba3fcb9fc2b | Use default build & revision numbers | JoshKeegan/SqlServerHelpers | SqlServerHelpers/Properties/AssemblyInfo.cs | SqlServerHelpers/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("Sq... | 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("Sq... | mit | C# |
1e888cde24c42cfb86badf2216fe8579912317da | Fix CheckPreconditions giving empty service provider | RogueException/Discord.Net,AntiTcb/Discord.Net,Confruggy/Discord.Net | src/Discord.Net.Commands/Info/ParameterInfo.cs | src/Discord.Net.Commands/Info/ParameterInfo.cs | using Discord.Commands.Builders;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace Discord.Commands
{
public class ParameterInfo
{
private readonly TypeReader _reader;
publ... | using Discord.Commands.Builders;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace Discord.Commands
{
public class ParameterInfo
{
private readonly TypeReader _reader;
publ... | mit | C# |
9cecca8cf62ee5b3c84db168a40da7d881fb9574 | Improve error message | Brad-Christie/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager | src/SIM.Core/Common/AbstractInstanceActionCommand.cs | src/SIM.Core/Common/AbstractInstanceActionCommand.cs | namespace SIM.Core.Common
{
using System;
using System.Linq;
using Instances;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
public abstract class AbstractInstanceActionCommand<T> : AbstractCommand<T>
{
[CanBeNull]
public virtual string Name { get; [UsedImplicitly] set; }
prot... | namespace SIM.Core.Common
{
using System;
using System.Linq;
using Instances;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
public abstract class AbstractInstanceActionCommand<T> : AbstractCommand<T>
{
[CanBeNull]
public virtual string Name { get; [UsedImplicitly] set; }
prot... | mit | C# |
1ef430f7a9952f6cdef3f51af10e125f5ba97162 | Update AssemblyInfo.cs | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaServer/OpenModules/ModDBExport/Properties/AssemblyInfo.cs | ScadaServer/OpenModules/ModDBExport/Properties/AssemblyInfo.cs | using Scada.Server.Modules;
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("ModDBExport")... | using Scada.Server.Modules;
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("ModDBExport")... | apache-2.0 | C# |
fd3151b43bda60c6db4b3f04b1e0acc94fe35f6e | Update Program.cs | PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom | samples/AvaloniaDemo/Program.cs | samples/AvaloniaDemo/Program.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 Avalonia;
using System;
using System.Diagnostics;
namespace AvaloniaDemo
{
internal class Program
{
private static void Main(string[] args)
... | // 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 Avalonia;
using Avalonia.Logging.Serilog;
using System;
using System.Diagnostics;
namespace AvaloniaDemo
{
internal class Program
{
private ... | mit | C# |
849d6d66caa958471288ba54b7b4e389a749d870 | Revert "Minor for build..." | Teleopti/Stardust | Node/NodeTest.JobHandlers/WorkerModule.cs | Node/NodeTest.JobHandlers/WorkerModule.cs | using Autofac;
using Stardust.Node.Interfaces;
namespace NodeTest.JobHandlers
{
public class WorkerModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<TestReportProgressJobCode>();
builder.RegisterType<TestReportProgressJobParams>();
builder.RegisterType<Tes... | using Autofac;
using Stardust.Node.Interfaces;
namespace NodeTest.JobHandlers
{
public class WorkerModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<TestReportProgressJobCode>();
builder.RegisterType<TestReportProgressJobParams>();
builder.RegisterType<Test... | mit | C# |
7df03f2519f0c6be0bf3cb08f343f2ddcd6c9898 | Update ezSearchBoostrapper.cs | mattbrailsford/ezSearch,mattbrailsford/ezSearch | Src/Our.Umbraco.ezSearch/Web/UI/App_Code/ezSearchBoostrapper.cs | Src/Our.Umbraco.ezSearch/Web/UI/App_Code/ezSearchBoostrapper.cs | using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using Examine;
using Umbraco.Core;
namespace Our.Umbraco.ezSearch
{
public class ezSearchBoostrapper : IApplicationEventHandler
{
#region Application Event Handlers
public void OnApplicationIn... | using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using Examine;
using Umbraco.Core;
namespace Our.Umbraco.ezSearch
{
public class ezSearchBoostrapper : IApplicationEventHandler
{
#region Application Event Handlers
public void OnApplicationIn... | mit | C# |
3e1c347983f11a930e475d7f8b266c12f176343e | use the same rules for displaying the app title | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows | src/Shimmer.WiXUi/ViewModels/ErrorViewModel.cs | src/Shimmer.WiXUi/ViewModels/ErrorViewModel.cs | using System;
using System.Reactive.Linq;
using NuGet;
using ReactiveUI;
using ReactiveUI.Routing;
using ReactiveUI.Xaml;
using Shimmer.Client.WiXUi;
namespace Shimmer.WiXUi.ViewModels
{
public class ErrorViewModel : ReactiveObject, IErrorViewModel
{
public string UrlPathSegment { get { return "error"... | using System;
using System.Reactive.Linq;
using NuGet;
using ReactiveUI;
using ReactiveUI.Routing;
using ReactiveUI.Xaml;
using Shimmer.Client.WiXUi;
namespace Shimmer.WiXUi.ViewModels
{
public class ErrorViewModel : ReactiveObject, IErrorViewModel
{
public string UrlPathSegment { get { return "error"... | mit | C# |
3f32a264866ed0cb7337a306164b31d6088bee9b | Add the product name and the assembly title custom attributes | oluc/tomboy,rmayr/privatenotes-tomboyaddin,oluc/tomboy,rotty3000/tomboy,MatteoNardi/Tomboy,oluc/tomboy,oluc/tomboy,MatteoNardi/Tomboy,tomboy-notes/tomboy,rmayr/privatenotes-tomboyaddin,oluc/tomboy,MatteoNardi/Tomboy,grepory/tomboy,grepory/tomboy,grepory/tomboy,rotty3000/tomboy,tomboy-notes/tomboy,rotty3000/tomboy,Matte... | Tomboy/Defines.WIN32.cs | Tomboy/Defines.WIN32.cs | using System;
using System.Reflection;
// TODO: Automate this
[assembly: AssemblyInformationalVersion ("1.1.0")]
[assembly: AssemblyProduct("Tomboy")]
[assembly: AssemblyTitle("Tomboy Notes")]
namespace Tomboy {
public class Defines {
public const string VERSION = "1.1.0";
public static readonly string DATADIR ... | using System;
using System.Reflection;
// TODO: Automate this
[assembly: AssemblyInformationalVersion ("1.1.0")]
namespace Tomboy {
public class Defines {
public const string VERSION = "1.1.0";
public static readonly string DATADIR = System.IO.Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location);
... | lgpl-2.1 | C# |
a3946213619cd40723f562e2ffad697822572ed0 | Fix startup | CruelCow/Twitch2Steam | Twitch2Steam/Program.cs | Twitch2Steam/Program.cs | using Sharkbite.Irc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twitch2Steam
{
class Program
{
static void Main(string[] args)
{
LogTester.Test();
using (var steamBot = new SteamBot())
... | using Sharkbite.Irc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twitch2Steam
{
class Program
{
static void Main(string[] args)
{
LogTester.Test();
using (var steamBot = new SteamBot())
... | agpl-3.0 | C# |
bc8f7c165a593afae57bdfb1cf292441039d6490 | Fix typo | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/DataAccess/WebResourceName.cs | CalDavSynchronizer/DataAccess/WebResourceName.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 | C# |
69d547c6cf506b580dfc5cc59f815ff2535e7c07 | Update VaRestPlugin.Build.cs | ufna/VaRest,ufna/VaRest,ufna/VaRest | Source/VaRestPlugin/VaRestPlugin.Build.cs | Source/VaRestPlugin/VaRestPlugin.Build.cs | // Copyright 2014-2018 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaRestPlugin : ModuleRules
{
public VaRestPlugin(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrivateIncludePaths.AddRange(
n... | // Copyright 2014 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaRestPlugin : ModuleRules
{
public VaRestPlugin(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrivateIncludePaths.Ad... | mit | C# |
08d4f380710984a018eb73798df331de02c17ff9 | fix #17 | jden123/JustCli | src/core/JustCli/Outputs/ColoredConsoleOutput.cs | src/core/JustCli/Outputs/ColoredConsoleOutput.cs | using System;
using JustCli.Helpers;
namespace JustCli.Outputs
{
public class ColoredConsoleOutput : IOutput
{
public ColoredConsoleOutput()
{
// TODO: need to think
// Console.OutputEncoding = System.Text.Encoding.Unicode;
}
public void WriteInfo(string m... | using System;
using JustCli.Helpers;
namespace JustCli.Outputs
{
public class ColoredConsoleOutput : IOutput
{
public ColoredConsoleOutput()
{
Console.OutputEncoding = System.Text.Encoding.Unicode;
}
public void WriteInfo(string message)
{
Consol... | mit | C# |
d5075cad7473c33f0f8f7b028458a8ad3c21423c | Fix incorrect test | jaimalchohan/mini-web-deploy,jaimalchohan/mini-web-deploy | src/MiniWebDeploy.Deployer.IntegrationTests/Features/PreInstallation/DeleteSiteTests/AndSiteDoesNotExist.cs | src/MiniWebDeploy.Deployer.IntegrationTests/Features/PreInstallation/DeleteSiteTests/AndSiteDoesNotExist.cs | using System;
using System.Linq;
using Microsoft.Web.Administration;
using MiniWebDeploy.Deployer.Features.Installation;
using MiniWebDeploy.Deployer.Features.Installation.PreInstallation;
using MiniWebDeploy.Deployer.Infrastructure.IIS7Plus;
using NUnit.Framework;
namespace MiniWebDeploy.Deployer.IntegrationTests.Fe... | using System;
using System.Linq;
using Microsoft.Web.Administration;
using MiniWebDeploy.Deployer.Features.Installation;
using MiniWebDeploy.Deployer.Features.Installation.PreInstallation;
using MiniWebDeploy.Deployer.Infrastructure.IIS7Plus;
using NUnit.Framework;
namespace MiniWebDeploy.Deployer.IntegrationTests.Fe... | mit | C# |
1f91242fd461380cdeeaa9248e18136cf2e8eb8e | fix log message | AdamsLair/duality | Test/Editor/InitDualityEditorAttribute.cs | Test/Editor/InitDualityEditorAttribute.cs | using System;
using Duality.Editor.Forms;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
namespace Duality.Editor.Tests
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public class InitDualityEditorAttribute : Attribute, ITestAction
{
private string oldEnvDir = null;
priva... | using System;
using Duality.Editor.Forms;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
namespace Duality.Editor.Tests
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public class InitDualityEditorAttribute : Attribute, ITestAction
{
private string oldEnvDir = null;
priva... | mit | C# |
86c2270b80c35fae1728db98c6f5f2803972ea67 | Disable UInt64 test. | fanoI/Cosmos,fanoI/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,Cyber4/Cosmos,zarlo/Cosmos,Cyber4/Cosmos,trivalik/Cosmos,tgiphil/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,Cyber4/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,Cyber4/Cosmos,Cyber4/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,C... | Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs | Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs | using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.TestRunner;
using Sys = Cosmos.System;
namespace Cosmos.Compiler.Tests.Bcl
{
using Cosmos.Compiler.Tests.Bcl.System;
public class Kernel : Sys.Kernel
{
protected override void BeforeRun()
{
Console... | using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.TestRunner;
using Sys = Cosmos.System;
namespace Cosmos.Compiler.Tests.Bcl
{
using Cosmos.Compiler.Tests.Bcl.System;
public class Kernel : Sys.Kernel
{
protected override void BeforeRun()
{
Console... | bsd-3-clause | C# |
3f16d0bd1a1ab3dd8f3198317a5a7b1a10f73b39 | Simplify test | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2016/Day05Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2016/Day05Tests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016
{
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abs... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016
{
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abs... | apache-2.0 | C# |
397974f8f4365f7d30abd52f3bce61550c274c3c | increment patch version | YellowLineParking/Ylp.GitDb | Appy.GitDb.Local/Properties/AssemblyInfo.cs | Appy.GitDb.Local/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Appy.GitDb.Local")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("AppyParking")]
[assembly: AssemblyProduct("Appy.GitDb.Local")]
[assembly: AssemblyCopyright("Copyright © 2... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Appy.GitDb.Local")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("AppyParking")]
[assembly: AssemblyProduct("Appy.GitDb.Local")]
[assembly: AssemblyCopyright("Copyright © 2... | mit | C# |
17e04b7f823582586ae3c0b8cdc0d5350594c617 | Fix for a compile error in the QuickStart. | oceanho/fluent-nhibernate,oceanho/fluent-nhibernate,narnau/fluent-nhibernate,narnau/fluent-nhibernate,hzhgis/ss,lingxyd/fluent-nhibernate,MiguelMadero/fluent-nhibernate,owerkop/fluent-nhibernate,hzhgis/ss,lingxyd/fluent-nhibernate,bogdan7/nhibernate,bogdan7/nhibernate,MiguelMadero/fluent-nhibernate,HermanSchoenfeld/flu... | src/QuickStart/Domain/Mapping/CatMap.cs | src/QuickStart/Domain/Mapping/CatMap.cs | using System.Xml;
using FluentNHibernate;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.QuickStart.Domain.Mapping
{
public class CatMap : ClassMap<Cat>, IMapGenerator
{
public CatMap()
{
//set up our generator as UUID.HEX
Id(x => x.Id)
... | using System.Xml;
using FluentNHibernate;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.QuickStart.Domain.Mapping
{
public class CatMap : ClassMap<Cat>, IMapGenerator
{
public CatMap()
{
//set up our generator as UUID.HEX
Id(x => x.Id)
... | bsd-3-clause | C# |
3036615a2b8102e6865d83c9e3d3c4d129d495e3 | Set version to 0.1.1. | strayfatty/ShowFeed,strayfatty/ShowFeed | src/ShowFeed/Properties/AssemblyInfo.cs | src/ShowFeed/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("Sh... | 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("Sh... | mit | C# |
b85172177afe0bf5a82fa96f133224c2f474ce94 | Improve page footer on mobile | martincostello/website,martincostello/website,martincostello/website,martincostello/website | src/Website/Views/Shared/_Footer.cshtml | src/Website/Views/Shared/_Footer.cshtml | @model SiteOptions
<hr />
<footer>
<p class="hidden-sm hidden-xs">
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" rel="noopener" target="_blank" title="View site uptime information">
Site Status & U... | @model SiteOptions
<hr />
<footer>
<p>
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" rel="noopener" target="_blank" title="View site uptime information">
Site Status & Uptime
</a>
|... | apache-2.0 | C# |
c7472d654c5130989e3adedec2b452adc5997a9f | 添加注释。 | ltm0203/YoYoCms,ltm0203/YoYoCms,ltm0203/YoYoCms,ltm0203/YoYoCms | src/YoYo.Cms.Application/Dto/FileDto.cs | src/YoYo.Cms.Application/Dto/FileDto.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace YoYo.Cms.Dto
{
/// <summary>
/// 文件dto
/// </summary>
public class FileDto
{
[Required]
public string FileName { get; set; }
[Required]
public string FileType { get; set; }
[Required]
... | using System;
using System.ComponentModel.DataAnnotations;
namespace YoYo.Cms.Dto
{
public class FileDto
{
[Required]
public string FileName { get; set; }
[Required]
public string FileType { get; set; }
[Required]
public string FileToken { get; set; }
... | apache-2.0 | C# |
b0bfbe93616b8127346409f21f9ff41b77147eb6 | Revert "Fix of previous commit" | vigoo/bari,Psychobilly87/bari,vigoo/bari,vigoo/bari,Psychobilly87/bari,Psychobilly87/bari,Psychobilly87/bari,vigoo/bari | src/core/Bari.Core/cs/Generic/LocalFileSystemDirectoryWatcher.cs | src/core/Bari.Core/cs/Generic/LocalFileSystemDirectoryWatcher.cs | using System.IO;
using System;
namespace Bari.Core.Generic
{
public class LocalFileSystemDirectoryWatcher: IFileSystemDirectoryWatcher
{
private readonly FileSystemWatcher watcher;
private readonly string path;
public event EventHandler<FileSystemChangedEventArgs> Changed;
... | using System.IO;
using System;
namespace Bari.Core.Generic
{
public class LocalFileSystemDirectoryWatcher: IFileSystemDirectoryWatcher
{
private readonly FileSystemWatcher watcher;
private readonly string path;
public event EventHandler<FileSystemChangedEventArgs> Changed;
... | apache-2.0 | C# |
101c5d53f86909b4ac6c61c615abc222758e9bc7 | Add test for incrementing with negative number | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi | tests/Okanshi.Tests/CounterTest.cs | tests/Okanshi.Tests/CounterTest.cs | using System.Linq;
using FluentAssertions;
using Xunit;
namespace Okanshi.Test
{
public class CounterTest
{
private readonly Counter counter;
public CounterTest()
{
counter = new Counter(MonitorConfig.Build("Test"));
}
[Fact]
public void Initial_pea... | using System.Linq;
using FluentAssertions;
using Xunit;
namespace Okanshi.Test
{
public class CounterTest
{
private readonly Counter counter;
public CounterTest()
{
counter = new Counter(MonitorConfig.Build("Test"));
}
[Fact]
public void Initial_pea... | mit | C# |
67607467be34965524f8977697f23c565fc5abfd | Update CrmPublisher.cs | DigitalFlow/Xrm-Oss-Interfacing | src/interface/Xrm.Oss.CrmPublisher/CrmPublisher.cs | src/interface/Xrm.Oss.CrmPublisher/CrmPublisher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Xrm.Sdk;
using Xrm.Oss.Interfacing.Domain;
using Xrm.Oss.Interfacing.Domain.Implementations;
namespace Xrm.Oss.CrmPublisher
{
public class CrmPublisher : MarshalBy... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Xrm.Sdk;
using Xrm.Oss.Interfacing.Domain;
using Xrm.Oss.Interfacing.Domain.Implementations;
namespace Xrm.Oss.CrmPublisher
{
public class CrmPublisher : MarshalBy... | mit | C# |
8e6d6c8594a67c673a01d78b5a62a06c5cded789 | remove redundant snippet | WojcikMike/docs.particular.net | samples/logging/hostdefault/Version_6/Sample/EndpointConfig.cs | samples/logging/hostdefault/Version_6/Sample/EndpointConfig.cs | using NServiceBus;
public class EndpointConfig : IConfigureThisEndpoint,
AsA_Server
{
public void Customize(BusConfiguration busConfiguration)
{
busConfiguration.EndpointName("Samples.Logging.HostDefault");
busConfiguration.UseSerialization<JsonSerializer>();
busConfiguration.Enabl... | using NServiceBus;
#region nservicebus-host
public class EndpointConfig : IConfigureThisEndpoint,
AsA_Server
{
public void Customize(BusConfiguration busConfiguration)
{
busConfiguration.EndpointName("Samples.Logging.HostDefault");
busConfiguration.UseSerialization<JsonSerializer>();
... | apache-2.0 | C# |
7004f60666e9655f75093d24342a37d4b3b4f48a | fix lint for quickstart tests | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | bigquery/api/QuickStart/QuickStartTest.cs | bigquery/api/QuickStart/QuickStartTest.cs | /*
* Copyright (c) 2018 Google LLC
*
* 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 i... | /*
* Copyright (c) 2018 Google LLC
*
* 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 i... | apache-2.0 | C# |
969551b1f31617e0e64863c024640c6ee4e6d0c5 | Add BitLink component Documentation Comments (#600) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Links/BitLink.razor.cs | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Links/BitLink.razor.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitLink
{
/// <summary>
/// URL the link points to
/// </summary>
[Parameter] public string? Href { get; set;... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitLink
{
[Parameter] public string? Target { get; set; }
[Parameter] public string? Href { get; set; } = string.Empty;
... | mit | C# |
f15005221194e08807f51194a94b71874f5a951c | Add a namespace reference for System | printerpam/purpleonion,printerpam/purpleonion,neoeinstein/purpleonion | src/Xpdm.PurpleOnion/Program.cs | src/Xpdm.PurpleOnion/Program.cs | using System;
using System.IO;
using System.Security.Cryptography;
using Mono.Security;
using Mono.Security.Cryptography;
namespace Xpdm.PurpleOnion
{
class Program
{
private static void Main()
{
long count = 0;
while (true)
{
RSA pki = RSA.Create();
ASN1 asn = RSAExtensions.ToAsn1Key(pki);
... | using System.IO;
using System.Security.Cryptography;
using Mono.Security;
using Mono.Security.Cryptography;
namespace Xpdm.PurpleOnion
{
class Program
{
private static void Main()
{
long count = 0;
while (true)
{
RSA pki = RSA.Create();
ASN1 asn = RSAExtensions.ToAsn1Key(pki);
byte[] hash = ... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.