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 |
|---|---|---|---|---|---|---|---|---|
a53da81800327b4d09fb98729acd6f72997f6799 | fix the filtering | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
var hasPowerShellCategory = false;
var hasPowerShellKeywords =... | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
var hasXamarinCategory = false;
var hasXamarinKeywords = false... | mit | C# |
4503596cc478345f10a60528fa6b118d27d6e9f1 | Make PR status visible when GitSccProvider is loaded | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.InlineReviews/PullRequestStatusPackage.cs | src/GitHub.InlineReviews/PullRequestStatusPackage.cs | using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.ComponentModelHost;
using GitHub.VisualStudio;
using GitHub.InlineReviews.Services;
namespace GitHub.InlineReviews
{
[PackageRegistration(UseManagedResourcesOnly = true)]
[Guid(Guids.PullReques... | using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.ComponentModelHost;
using GitHub.VisualStudio;
using GitHub.InlineReviews.Services;
namespace GitHub.InlineReviews
{
[PackageRegistration(UseManagedResou... | mit | C# |
b1a2aa29d870c9f370ab100d206b26e8d124c5eb | Fix FuncMultiValueConverter. | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,susloparovdenis/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,punker76/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,OronDF343/Avalonia,SuperJMN/A... | src/Markup/Perspex.Markup/FuncMultiValueConverter.cs | src/Markup/Perspex.Markup/FuncMultiValueConverter.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 System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Perspex.Markup
{
/// <summary>
/// A gen... | // 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 System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Perspex.Markup
{
/// <summary>
/// A gen... | mit | C# |
e53010ec8c86be50fd4addc23577e89f702c63b7 | remove json serialization for fastlogger | fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script | src/WebJobs.Script.WebHost/Diagnostics/FastLogger.cs | src/WebJobs.Script.WebHost/Diagnostics/FastLogger.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;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host.Loggers;
using Microsoft.Azure.WebJobs.Logging;
using Microsoft.... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host.Loggers;
using Microsoft.Azure.WebJobs.Logging;
using Microsoft.... | mit | C# |
b6b697441c140c4a4ba05b21f5701cc6a67dfbd3 | Change to correct using namespace for ServiceBrokerListener | Siliconrob/ServiceBrokerListener,dyatchenko/ServiceBrokerListener,dyatchenko/ServiceBrokerListener,dyatchenko/ServiceBrokerListener,Siliconrob/ServiceBrokerListener | ServiceBrokerListener/ServiceBrokerListener.Tablelistener.Core/Program.cs | ServiceBrokerListener/ServiceBrokerListener.Tablelistener.Core/Program.cs | using CommandLine;
using ServiceBrokerListener.Domain;
using System;
using System.Diagnostics;
using System.Threading;
namespace ServiceBrokerListener.TableListener.Core
{
public class Program
{
public static void Main(string[] args)
{
var options = new Options();
var result = Parser.Default.P... | using CommandLine;
using ServiceBrokerListener.Domain.Core;
using System;
using System.Diagnostics;
using System.Threading;
namespace ServiceBrokerListener.TableListener.Core
{
public class Program
{
public static void Main(string[] args)
{
var options = new Options();
var result = Parser.Defa... | mit | C# |
9d243eb6d5c0849fd266a4c6f9b64f4aa03f7f01 | Add unit tests for enum sync history action type read and write. | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Enums/TraktSyncHistoryActionTypeTests.cs | Source/Tests/TraktApiSharp.Tests/Enums/TraktSyncHistoryActionTypeTests.cs | namespace TraktApiSharp.Tests.Enums
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using TraktApiSharp.Enums;
[TestClass]
public class TraktSyncHistoryActionTypeTests
{
class TestObject
{
[JsonConverter(typeo... | namespace TraktApiSharp.Tests.Enums
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Enums;
[TestClass]
public class TraktSyncHistoryActionTypeTests
{
[TestMethod]
public void TestTraktSyncHistoryActionTypeHasMembers()
{
... | mit | C# |
f1649585bbe4fd4bc92742d1e4acf4d5da05c315 | remove doc links that still point at wrong location | IBM-Bluemix/asp.net5-cloudant,IBM-Bluemix/asp.net5-cloudant | src/dotnetCloudantWebstarter/Views/Home/Index.cshtml | src/dotnetCloudantWebstarter/Views/Home/Index.cshtml | <!DOCTYPE html>
<html>
<head>
<title>ASP.NET 5 Cloudant Starter Application</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="apple-mobi... | <!DOCTYPE html>
<html>
<head>
<title>ASP.NET 5 Cloudant Starter Application</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<meta name="apple-mobi... | apache-2.0 | C# |
291894ae0be718cea30474413e874d230aa484a8 | Use Interlocked instead of CountdownEvent. | rubenv/tripod,rubenv/tripod | src/Core/Tripod.Core/Tripod.Tasks/RefCountCancellableTask.cs | src/Core/Tripod.Core/Tripod.Tasks/RefCountCancellableTask.cs | //
// RefCountCancellableTask.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (c) 2010 Ruben Vermeersch
//
// 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 with... | //
// RefCountCancellableTask.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (c) 2010 Ruben Vermeersch
//
// 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 with... | mit | C# |
5bfbf2e3d930f417cea6fc4004c93ede44619ea6 | Fix a bug | CodeComb/Localization,CodeComb/Localization | src/CodeComb.AspNet.Localization/CookieRequestCultureProvider.cs | src/CodeComb.AspNet.Localization/CookieRequestCultureProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
namespace CodeComb.AspNet.Localization
{
public class CookieRequestCultureProvider : IRequestCultureProvider
{
public HttpContext HttpContext { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
namespace CodeComb.AspNet.Localization
{
public class CookieRequestCultureProvider : IRequestCultureProvider
{
public HttpContext HttpContext { get; set; }
... | apache-2.0 | C# |
fd43f902f3292a74d11a292446de0646cd8c80d1 | clean up | ramzzzay/CoolShop,ramzzzay/CoolShop,ramzzzay/CoolShop | CoolShop/Infrastructure/NinjectControllerFactory.cs | CoolShop/Infrastructure/NinjectControllerFactory.cs | using System;
using System.Web.Mvc;
using System.Web.Routing;
using Ninject;
namespace CoolShop.Infrastructure
{
public class NinjectControllerFactory : DefaultControllerFactory
{
private readonly IKernel ninjectKernel;
public NinjectControllerFactory()
{
// создание конте... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Ninject;
namespace CoolShop.Infrastructure
{
public class NinjectControllerFactory : DefaultControllerFactory
{
private readonly IKernel ninjectKernel;
pu... | apache-2.0 | C# |
7fbe4829196d7f131a4bb5e9a6d8263b25eda8a4 | Revert "https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue" | JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,hfloyd/Umbraco-CMS,hfloyd/Umbraco-CMS,abryukhov/... | src/Umbraco.ModelsBuilder.Embedded/PublishedElementExtensions.cs | src/Umbraco.ModelsBuilder.Embedded/PublishedElementExtensions.cs | using System;
using System.Linq.Expressions;
using System.Reflection;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.ModelsBuilder;
using Umbraco.ModelsBuilder.Embedded;
// same namespace as original Umbraco.Web PublishedElementExtensions
// ReSharper disable once CheckNamespace
namespace Umbraco.Web
{
... | using System;
using System.Linq.Expressions;
using System.Reflection;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.ModelsBuilder;
using Umbraco.ModelsBuilder.Embedded;
// same namespace as original Umbraco.Web PublishedElementExtensions
// ReSharper disable once CheckNamespace
namespace Umbraco.Web
{
... | mit | C# |
d2867d7135f99843691c5c62d9985a834b2a97e6 | fix tests | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Rest/NakedObjects.Rest.Test.Data/WithAttachments.cs | Rest/NakedObjects.Rest.Test.Data/WithAttachments.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requ... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requ... | apache-2.0 | C# |
109ce470b52504a836f016ed1a2fdb395d647266 | Update ProcessExtensions.cs | Kittyfisto/SharpRemote,Kittyfisto/SharpRemote,Kittyfisto/SharpRemote | SharpRemote.Windows/Extensions/ProcessExtensions.cs | SharpRemote.Windows/Extensions/ProcessExtensions.cs | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SharpRemote.Extensions
{
internal static class ProcessExtensions
{
public static bool TryKill(int pid)
{
IntPtr handle = IntPtr.Zero;
try
{
handle = NativeMethods.OpenProcess(ProcessAccessFlags.Terminate,
... | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SharpRemote.Extensions
{
internal static class ProcessExtensions
{
public static bool TryKill(int pid)
{
IntPtr handle = IntPtr.Zero;
try
{
handle = NativeMethods.OpenProcess(ProcessAccessFlags.Terminate,
... | mit | C# |
2233036127ac68bf29350999e645a1f9650bd781 | Improve output of data integrity tests to include all failing values | sillsdev/Glyssen,sillsdev/Glyssen | ControlDataIntegrityTests/CharacterDetailDataTests.cs | ControlDataIntegrityTests/CharacterDetailDataTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ProtoScript.Character;
using ProtoScript.Properties;
namespace ControlDataIntegrityTests
{
[TestFixture]
public class CharacterDetailDataTests
{
[Test]
public void DataIntegrity_NoDuplicateLines()... | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using ProtoScript.Character;
using ProtoScript.Properties;
namespace ControlDataIntegrityTests
{
[TestFixture]
public class CharacterDetailDataTests
{
[Test]
public void DataIntegrity_NoDuplicateLines()
{
string[] al... | mit | C# |
8afb096e575767b5070ee619b8df34f1bcc8d8c6 | Remove throw from TryGetOption | physhi/roslyn,jmarolf/roslyn,shyamnamboodiripad/roslyn,tmat/roslyn,genlu/roslyn,jasonmalinowski/roslyn,physhi/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,reaction1989/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,eriawan/roslyn,eriawan/roslyn,jmarolf/roslyn,brettfo/roslyn,sharwell/roslyn,tannergooding/roslyn,Aleksey... | src/Workspaces/Core/Portable/CodeStyle/AnalyzerConfigOptionsExtensions.cs | src/Workspaces/Core/Portable/CodeStyle/AnalyzerConfigOptionsExtensions.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 Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis
{
internal static class A... | // 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 Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis
{
internal static class A... | mit | C# |
fd75ba28a6b0b2f2f18e10162d5ed616b0836247 | fix the structured data test | merchantwarehouse/syslog4net,akramsaleh/syslog4net,Cayan-LLC/syslog4net,jbeats/syslog4net | src/test/unit/syslog4net.Tests/Converters/StructuredDataConverterTests.cs | src/test/unit/syslog4net.Tests/Converters/StructuredDataConverterTests.cs | using System.IO;
using log4net.Core;
using log4net.Util;
using syslog4net.Converters;
using NUnit.Framework;
namespace syslog4net.Tests.Converters
{
[TestFixture]
public class StrcturedDataConverterTests
{
[Test]
public void ConvertTestNoException()
{
var level = Level.... | using System.IO;
using log4net.Core;
using log4net.Util;
using syslog4net.Converters;
using NUnit.Framework;
namespace syslog4net.Tests.Converters
{
[TestFixture]
public class StrcturedDataConverterTests
{
[Test]
public void ConvertTestNoException()
{
var level = Level.... | apache-2.0 | C# |
dd44d36c55d3a4f385bdd1de663f440750b1e83e | Add reset perstat button | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Statuses/List.cshtml | Battery-Commander.Web/Views/Statuses/List.cshtml | @model BatteryCommander.Web.Controllers.StatusesController.StatusListModel
@{
ViewBag.Title = "Batch Update Statuses";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Rows.Count</span></h1>
</div>
<div class="btn-group">
<button id="reset-perstat">Reset PERSTAT</button>
</div>
... | @model BatteryCommander.Web.Controllers.StatusesController.StatusListModel
@{
ViewBag.Title = "Batch Update Statuses";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Rows.Count</span></h1>
</div>
@using (Html.BeginForm("Save", "Statuses", FormMethod.Post))
{
@Html.AntiForgeryT... | mit | C# |
fcdb42ac5cd34aeb9344719a58144af1ffaecfa8 | Update AbstractBossBehaviour to handle a single HP per pattern. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/AbstractBossBehaviour.cs | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/AbstractBossBehaviour.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace XmasHell.Entities.Bosses
{
public abstract class AbstractBossBehaviour
{
protected Boss Boss;
protected float InitialBehaviourLife;
protected float CurrentBehaviourLife;
protected bool BehaviourEnde... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace XmasHell.Entities.Bosses
{
public abstract class AbstractBossBehaviour
{
protected Boss Boss;
protected AbstractBossBehaviour(Boss boss)
{
Boss = boss;
}
public virtual void St... | mit | C# |
b11309b48dc1acc87550b930d435aaad5e40a5f8 | Use Ticks for EpochTimeExtensions epoch calculations | s093294/Thinktecture.IdentityModel,dandresini/Thinktecture.IdentityModel,hajirazin/Thinktecture.IdentityModel,s093294/Thinktecture.IdentityModel,mreasy232/Thinktecture.IdentityModel,BasLijten/Thinktecture.IdentityModel,IdentityModel/Thinktecture.IdentityModel,BenAtStatement1/EmbeddedAuthorizationServer,mreasy232/Thinkt... | source/Thinktecture.IdentityModel.Client/EpochTimeExtensions.cs | source/Thinktecture.IdentityModel.Client/EpochTimeExtensions.cs | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see LICENSE
*/
using System;
namespace Thinktecture.IdentityModel.Client
{
public static class EpochTimeExtensions
{
/// <summary>
/// Converts the given date value to epoch time.
/// </summary>
public ... | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see LICENSE
*/
using System;
namespace Thinktecture.IdentityModel.Client
{
public static class EpochTimeExtensions
{
/// <summary>
/// Converts the given date value to epoch time.
/// </summary>
public ... | bsd-3-clause | C# |
d5aeda29cd029b2a47d64b7dd4601762b7b3b144 | Fix para test | TheXDS/MCART | src/Tests/CoreTests/Types/Extensions/TimeSpanExtensionsTests.cs | src/Tests/CoreTests/Types/Extensions/TimeSpanExtensionsTests.cs | /*
TimeSpanExtensionsTests.cs
This file is part of Morgan's CLR Advanced Runtime (MCART)
Author(s):
César Andrés Morgan <xds_xps_ivx@hotmail.com>
Copyright © 2011 - 2021 César Andrés Morgan
Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it
and/or modify it under the terms of the ... | /*
TimeSpanExtensionsTests.cs
This file is part of Morgan's CLR Advanced Runtime (MCART)
Author(s):
César Andrés Morgan <xds_xps_ivx@hotmail.com>
Copyright © 2011 - 2021 César Andrés Morgan
Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it
and/or modify it under the terms of the ... | mit | C# |
d730a4474de982d580f1b95c1067f0bb0dab2e9f | Disable BaseHttpServerTests due to poor reliabilty | RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake | Snowflake.Tests/Service/HttpServer/BaseHttpServerTests.cs | Snowflake.Tests/Service/HttpServer/BaseHttpServerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Net;
using System.IO;
using System.Web;
using System.Net;
using Xunit;
namespace Snowflake.Service.HttpServer.Tests
{
/*public*/ class BaseHttpServerTests
{
[Fact]
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Net;
using System.IO;
using System.Web;
using System.Net;
using Xunit;
namespace Snowflake.Service.HttpServer.Tests
{
public class BaseHttpServerTests
{
[Fact]
public v... | mpl-2.0 | C# |
d901e4e2c1cb1a2b0397bb4c67eed8ff6360cdca | Make sure SecureRandom call NBitcoin random | DanGould/NTumbleBit,NTumbleBit/NTumbleBit | NTumbleBit/BouncyCastle/security/SecureRandom.cs | NTumbleBit/BouncyCastle/security/SecureRandom.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTumbleBit.BouncyCastle.Security
{
internal class SecureRandom : Random
{
public SecureRandom()
{
}
public override int Next()
{
throw new NotImplementedExcepti... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTumbleBit.BouncyCastle.Security
{
internal class SecureRandom : Random
{
public SecureRandom()
{
}
internal static byte[] GetNextBytes(SecureRandom random, int p)
{
throw new... | mit | C# |
c6fe9927bd92c6c59ef5dab4cfb10c39e64103e0 | Fix return statement | TheNoobCompany/LevelingQuestsTNB,F0rTh3H0rd3/LevelingQuestsTNB | Profiles/Quester/Scripts/InteractWithHotSpots.cs | Profiles/Quester/Scripts/InteractWithHotSpots.cs | /* Check if there is HotSpots in the objective */
if (questObjective.Hotspots.Count <= 0)
{
/* Objective CSharpScript with script InteractWithHotSpots requires valid "Hotspots" */
Logging.Write("InteractWithHotSpots requires valid 'HotSpots'.");
questObjective.IsObjectiveCompleted = true;
return false;
}
... | /* Check if there is HotSpots in the objective */
if (questObjective.Hotspots.Count <= 0)
{
/* Objective CSharpScript with script InteractWithHotSpots requires valid "Hotspots" */
Logging.Write("InteractWithHotSpots requires valid 'HotSpots'.");
questObjective.IsObjectiveCompleted = true;
return false;
}
... | mit | C# |
f7c6598c8d15ed87e141f698bddb248410f329b2 | Reduce chance of exceptions. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
pr... | using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
pr... | mit | C# |
313c21c9ab7b4008d9d8ec626eb9a4f80ec2b211 | Remove Document Version after upgrading YesSql (#7589) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore/OrchardCore.Data.Abstractions/Documents/Document.cs | src/OrchardCore/OrchardCore.Data.Abstractions/Documents/Document.cs | namespace OrchardCore.Data.Documents
{
public class Document : IDocument
{
/// <summary>
/// The <see cref="IDocument.Identifier"/>.
/// </summary>
public string Identifier { get; set; }
}
}
| namespace OrchardCore.Data.Documents
{
public class Document : IDocument
{
/// <summary>
/// The <see cref="IDocument.Identifier"/>.
/// </summary>
public string Identifier { get; set; }
/// <summary>
/// Only defined to prevent a version missmatch, see https://g... | bsd-3-clause | C# |
28023e1f7832c925c7f13e021fdce4526645c582 | remove names from contact page | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
2fa5b3f9adc961acc5365b661a516a8c1fd0885d | Enable specific events for metrics (#3818) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | src/OpenTelemetry.Instrumentation.AspNetCore/AspNetCoreMetrics.cs | src/OpenTelemetry.Instrumentation.AspNetCore/AspNetCoreMetrics.cs | // <copyright file="AspNetCoreMetrics.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.apac... | // <copyright file="AspNetCoreMetrics.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.apac... | apache-2.0 | C# |
e682ca4fd9a17cf90ac083ec5ff8faf317606b59 | Adjust osu!mania scroll speed defaults to be more sane | UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,smoo... | osu.Game.Rulesets.Mania/Configuration/ManiaRulesetConfigManager.cs | osu.Game.Rulesets.Mania/Configuration/ManiaRulesetConfigManager.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.Ru... | // 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.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.Ru... | mit | C# |
4a7f84772593b7843682d3ecdec980c373ef97e0 | Remove star creation debug printing | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Microgames/SuikaShake/Scripts/SuikaShakeSparkleSpawner.cs | Assets/Microgames/SuikaShake/Scripts/SuikaShakeSparkleSpawner.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SuikaShakeSparkleSpawner : MonoBehaviour
{
[SerializeField]
private float spanwStartTime = .05f;
[SerializeField]
private float spawnFrequency = .25f;
[SerializeField]
private GameObject sparklePrefab;
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SuikaShakeSparkleSpawner : MonoBehaviour
{
[SerializeField]
private float spanwStartTime = .05f;
[SerializeField]
private float spawnFrequency = .25f;
[SerializeField]
private GameObject sparklePrefab;
... | mit | C# |
0afb188cde87ea1975d327653b1a4b791c943d2b | Remove unused using | DrabWeb/osu,naoey/osu,osu-RP/osu-RP,UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,smoogipooo/osu,Drezi126/osu,NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,peppy/osu,Nabile-Rahmani/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,EVAST99... | osu.Desktop.VisualTests/Tests/TestCaseSkipButton.cs | osu.Desktop.VisualTests/Tests/TestCaseSkipButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Testing;
using osu.Game.Screens.Play;
namespace osu.Desktop.VisualTests.Tests
{
internal class TestCaseSkipButton : TestCase
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Testing;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
namespace osu.Desktop.VisualTests.Tests
{
internal class ... | mit | C# |
791bf6bc0197118f44654f754f9a407f4bda5f6b | Make username text italic | smoogipoo/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,peppy/osu | osu.Game/Overlays/Rankings/Tables/UserBasedTable.cs | osu.Game/Overlays/Rankings/Tables/UserBasedTable.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graph... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graph... | mit | C# |
5fbd9b3f7be5a8fc4cbd2b8b2a63fc20d4d7bfd5 | Add "Setter" to PortViewModel property of Ev3ControllerMainViewModel. | CountrySideEngineer/Ev3Controller | dev/src/Ev3Controller/ViewModel/Ev3ControllerMainViewModel.cs | dev/src/Ev3Controller/ViewModel/Ev3ControllerMainViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.ViewModel
{
public class Ev3ControllerMainViewModel : ViewModelBase
{
#region Constructors and the Finalizer
public Ev3ControllerMainViewModel(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.ViewModel
{
public class Ev3ControllerMainViewModel : ViewModelBase
{
#region Constructors and the Finalizer
public Ev3ControllerMainViewModel(... | mit | C# |
4b6d87356caaf1f5802a95e8287c398bd9b8604e | Test fix | tzachshabtay/MonoAGS | Source/Tests/Engine/ComponentsFramework/ComponentBindingTests.cs | Source/Tests/Engine/ComponentsFramework/ComponentBindingTests.cs | using System;
using AGS.API;
using AGS.Engine;
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public class ComponentBindingTests
{
[Test]
public void BindingCalledForExplicitType()
{
AGSEmptyEntity entity = new AGSEmptyEntity("test", Mocks.GetResolver());
... | using System;
using AGS.API;
using AGS.Engine;
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public class ComponentBindingTests
{
[Test]
public void BindingCalledForExplicitType()
{
AGSEmptyEntity entity = new AGSEmptyEntity("test", Mocks.GetResolver());
... | artistic-2.0 | C# |
680bdacedce8361e925ea609bd9c3e45cf6ea377 | Update LabelPlaceEvent.cs | Yonom/BotBits | BotBits/Packages/MessageHandler/Events/Internal/LabelPlaceEvent.cs | BotBits/Packages/MessageHandler/Events/Internal/LabelPlaceEvent.cs | using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when someone places label block.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("lb")]
internal sealed class LabelPlaceEvent : PlayerEvent<LabelPlaceEvent>
{
/// <summary>
/// ... | using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when someone places label block.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("lb")]
internal sealed class LabelPlaceEvent : PlayerEvent<LabelPlaceEvent>
{
/// <summary>
/// ... | mit | C# |
2dd51b32f3526cc8f935483d2975dfc0fc8091ad | Mark 'RaygunMessageReceived' as serializable | OpenMagic/OpenMagic.ErrorTracker.Core,OpenMagic/OpenMagic.ErrorTracker.Core | source/OpenMagic.ErrorTracker.Core/Events/RaygunMessageReceived.cs | source/OpenMagic.ErrorTracker.Core/Events/RaygunMessageReceived.cs | using System;
using Mindscape.Raygun4Net.Messages;
namespace OpenMagic.ErrorTracker.Core.Events
{
[Serializable]
public class RaygunMessageReceived : IEvent
{
public RaygunMessageReceived(string apiKey, RaygunMessage raygunMessage)
{
EventId = Guid.NewGuid();
ApiKey ... | using System;
using Mindscape.Raygun4Net.Messages;
namespace OpenMagic.ErrorTracker.Core.Events
{
public class RaygunMessageReceived : IEvent
{
public RaygunMessageReceived(string apiKey, RaygunMessage raygunMessage)
{
EventId = Guid.NewGuid();
ApiKey = apiKey;
... | mit | C# |
60df5b73bd5da3257c3b06bc2b9113334099b702 | Add contracts | yfakariya/msgpack-rpc-cli,yonglehou/msgpack-rpc-cli | src/MsgPack.Rpc.Server/Rpc/Server/Dispatch/OperationDescription.cs | src/MsgPack.Rpc.Server/Rpc/Server/Dispatch/OperationDescription.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.org... | #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.org... | apache-2.0 | C# |
b57cf5031134718977b06c8a86c7631365e7f6e7 | Improve User Guide | Arcitectus/Sanderling | src/Sanderling/Sanderling.Exe/sample/script/beginners-autopilot.cs | src/Sanderling/Sanderling.Exe/sample/script/beginners-autopilot.cs | /*
This is a warp to 0km auto-pilot, making your travels faster and thus safer by directly warping to gates/stations.
The bot follows the route set in the in-game autopilot and uses the context menu to initiate warp and dock commands.
To use the bot, set the in-game autopilot route before starting the bot.
Make sure... | // This is a warp to 0km auto-pilot, making your travels faster and thus safer by directly warping to gates/stations.
while(true)
{
var Measurement = Sanderling?.MemoryMeasurementParsed?.Value;
var ManeuverType = Measurement?.ShipUi?.Indication?.ManeuverType;
if(ShipManeuverTypeEnum.Warp == ManeuverType ||
Shi... | apache-2.0 | C# |
f06ca9f66788de0a85de392eab07cfe6a070f454 | Add summary descriptions to public extensions. | Cimpress-MCP/dotnet-core-httputils | src/Cimpress.Extensions.Http/HttpResponseMessageExtensions.cs | src/Cimpress.Extensions.Http/HttpResponseMessageExtensions.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Cimpress.Extensions.Http
{
public static class HttpResponseMessageExtensions
{
/// <summary>
/// Logs a message using the injected logger and throws an exception when the status cod... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Cimpress.Extensions.Http
{
public static class HttpResponseMessageExtensions
{
public static async Task LogAndThrowIfNotSuccessStatusCode(this HttpResponseMessage message, ILogger logger)
... | apache-2.0 | C# |
fca30a47a7db80887022a21103ec43ba5bb1bfd2 | Revert changes to assemblyinfo | nrkno/Nrk.HttpRequester | source/Nrk.HttpRequester/Properties/AssemblyInfo.cs | source/Nrk.HttpRequester/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitleAttribute("NRK.HttpRequester")]
[assembly: AssemblyProductAttribute("NRK.HttpRequester")]
[assembly: AssemblyDescriptionAttribute("Library for sending Http Requests, including a fluent interface for creating Ht... | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitleAttribute("NRK.HttpRequester")]
[assembly: AssemblyProductAttribute("NRK.HttpRequester")]
[assembly: AssemblyDescriptionAttribute("Library for sending Http Requests, including a fluent interface for creating Ht... | mit | C# |
81e5d6b08778aa72eb22d8ed67b331a28bd9a1e1 | add some comments for unimplemented class | joeaudette/cloudscribe.SimpleContent,joeaudette/cloudscribe.SimpleContent | src/cloudscribe.Syndication.Web/Controllers/AtomController.cs | src/cloudscribe.Syndication.Web/Controllers/AtomController.cs | // Copyright (c) Source Tree Solutions, LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Author: Joe Audette
// Created: 2016-04-01
// Last Modified: 2016-04-01
//
// TODO: implement?... | // Copyright (c) Source Tree Solutions, LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Author: Joe Audette
// Created: 2016-04-01
// Last Modified: 2016-04-01
//
namespace cloudscr... | apache-2.0 | C# |
95980b370111233b06e3cb282306089af77d7553 | Add merging of Def documents | Elevator89/RimWorld-Subtranslator | Elevator.Subtranslator/Program.cs | Elevator.Subtranslator/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
using System.IO;
using System.Xml.Linq;
namespace Elevator.Subtranslator
{
class Options
{
[Option('d', "defs", Required = true, HelpText = "Definition fol... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
using System.IO;
namespace Elevator.Subtranslator
{
class Options
{
[Option('d', "defs", Required = true, HelpText = "Definition folder location.")]
publ... | apache-2.0 | C# |
eec50c99462d1bdd5f80a99650cec012c5fe23a3 | add default permissions | thedillonb/octokit.net,forki/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,dampir/octokit.net,M-Zuber/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,SmithAndr/octokit.net,brramos/octokit.net,ivandrofly/octokit.net,gabrielweyer/octokit.net,yonglehou/octokit.net,khellang/octokit.net,fffej/octokit.net,hites... | Octokit/Models/Request/NewTeam.cs | Octokit/Models/Request/NewTeam.cs | using Octokit.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public class NewTeam
{
public NewTeam(string name)
{
Name = name;
RepoNames = new Colle... | using Octokit.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public class NewTeam
{
public NewTeam(string name)
{
Name = name;
RepoNames = new Colle... | mit | C# |
f40388f996788348aa62af650b5740dba1ccf899 | clean ups | SEEK-Jobs/pact-net,abhayachauhan/pact-net,SEEK-Jobs/pact-net,SEEK-Jobs/pact-net,mvdbuuse/pact-net,humblelistener/pact-net | PactNet/NancyContextExtensions.cs | PactNet/NancyContextExtensions.cs | using Nancy;
using PactNet.Mocks.MockHttpService.Models;
namespace PactNet
{
public static class NancyContextExtensions
{
const string MockRequest = "MockRequest";
const string MockResponse = "MockResponse";
public static PactProviderServiceRequest GetMockRequest(this NancyC... | using Nancy;
using PactNet.Mocks.MockHttpService.Models;
namespace PactNet
{
public static class NancyContextExtensions
{
public static PactProviderServiceRequest GetMockRequest(this NancyContext context)
{
return context.Items.ContainsKey("MockRequest")
?... | mit | C# |
f5ff41a3b8bb5046d7fec659e64cc5f6cbf2072d | Remove some unused methods. | aloneguid/storage | test/Storage.Net.Tests.Integration/Utils/Utility.cs | test/Storage.Net.Tests.Integration/Utils/Utility.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
namespace Storage.Net.Tests.Integration.Utils
{
public static class Utility
{
public static void ClearTestData(string fileProjectRelativePath)
{
var fileName = fileProject... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
namespace Storage.Net.Tests.Integration.Utils
{
public static class Utility
{
public static string CalculateMd5(byte[] bytes)
{
using (var stream = new MemoryStream(bytes)... | mit | C# |
7dc16a9390b8ef37f1bbc2056ea7fe3977bcfbbd | add unit test for DistributeByHost() | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | tests/FilterLists.Agent.Tests/UriExtensionsTests.cs | tests/FilterLists.Agent.Tests/UriExtensionsTests.cs | using System;
using System.Collections.Generic;
using FilterLists.Agent.Extensions;
using Xunit;
namespace FilterLists.Agent.Tests
{
public class UriExtensionsTests
{
[Fact]
public void IsValidUrl_WithValidUrl_ReturnsTrue()
{
const string uriString = "https://www.google.com... | using System;
using FilterLists.Agent.Extensions;
using Xunit;
namespace FilterLists.Agent.Tests
{
public class UriExtensionsTests
{
[Fact]
public void IsValidUrl_WithValidUrl_ReturnsTrue()
{
const string uriString = "https://www.google.com/";
var uri = new Uri(... | mit | C# |
cf9113522302ab6e4428910e1ff1ae3c8153ff68 | Remove unused code line from DerAsnUtf8StringTests | huysentruitw/pem-utils | tests/DerConverter.Tests/Asn/KnownTypes/DerAsnUtf8StringTests.cs | tests/DerConverter.Tests/Asn/KnownTypes/DerAsnUtf8StringTests.cs | using DerConverter.Asn;
using DerConverter.Asn.KnownTypes;
using NUnit.Framework;
namespace DerConverter.Tests.Asn.KnownTypes
{
[TestFixture]
public class DerAsnUtf8StringTests : Base<DerAsnUtf8String, string>
{
public DerAsnUtf8StringTests() : base(DerAsnIdentifiers.Primitive.Utf8String) { }
... | using DerConverter.Asn;
using DerConverter.Asn.KnownTypes;
using NUnit.Framework;
namespace DerConverter.Tests.Asn.KnownTypes
{
[TestFixture]
public class DerAsnUtf8StringTests : Base<DerAsnUtf8String, string>
{
public DerAsnUtf8StringTests() : base(DerAsnIdentifiers.Primitive.Utf8String) { }
... | apache-2.0 | C# |
7130394de5a8824cd5bc5b7759df40f2a667fc69 | Reduce usage of reflection | punker76/Fluent.Ribbon,fluentribbon/Fluent.Ribbon,fluentribbon/Fluent.Ribbon | Fluent.Ribbon/Automation/Peers/RibbonControlDataAutomationPeer.cs | Fluent.Ribbon/Automation/Peers/RibbonControlDataAutomationPeer.cs | namespace Fluent.Automation.Peers
{
using System.Windows.Automation.Peers;
/// <summary>
/// Automation peer for ribbon control items.
/// </summary>
public class RibbonControlDataAutomationPeer : ItemAutomationPeer
{
/// <summary>
/// Creates a new instance.
/// </summ... | namespace Fluent.Automation.Peers
{
using System.Windows.Automation.Peers;
using Fluent.Extensions;
/// <summary>
/// Automation peer for ribbon control items.
/// </summary>
public class RibbonControlDataAutomationPeer : ItemAutomationPeer
{
/// <summary>
/// Creates a new... | mit | C# |
ba18a98fd4f915f6ffb69db1d8d021b984860909 | Handle Kayak framwork's Invoking event - here we can catch the total number of requests made, as well as do some basic authentication. | sgrassie/csharp-github-api,bmroberts1987/csharp-github-api | csharp-github-api.IntegrationTests/IntegrationTestBase.cs | csharp-github-api.IntegrationTests/IntegrationTestBase.cs | using System;
using System.Linq;
using System.Text;
using Kayak;
using Kayak.Framework;
namespace csharp_github_api.IntegrationTests
{
public abstract class IntegrationTestBase : IDisposable
{
protected readonly KayakServer WebServer = new KayakServer();
protected string BaseUrl = "http://loca... | using System;
using Kayak;
using Kayak.Framework;
namespace csharp_github_api.IntegrationTests
{
public abstract class IntegrationTestBase : IDisposable
{
protected readonly KayakServer WebServer = new KayakServer();
protected string BaseUrl = "http://localhost:8080";
protected Integr... | apache-2.0 | C# |
f8a6258e92571627a36f3c08c9258036d67f6eae | Update IDeviceInfo.cs | labdogg1003/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,tim-hoff/Xamarin.Plugins,monostefan/Xamarin.Plugins | DeviceInfo/DeviceInfo/DeviceInfo.Plugin.Abstractions/IDeviceInfo.cs | DeviceInfo/DeviceInfo/DeviceInfo.Plugin.Abstractions/IDeviceInfo.cs | using System;
/*
* Ported with permission from: Thomasz Cielecki @Cheesebaron
* AppId: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins
*/
//---------------------------------------------------------------------------------
// Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk)
// Licensed under the Apache... | using System;
/*
* Ported with permission from: Thomasz Cielecki @Cheesebaron
* AppId: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins
*/
namespace DeviceInfo.Plugin.Abstractions
{
/// <summary>
/// Interface for DeviceInfo
/// </summary>
public interface IDeviceInfo
{
/// <summary>
/// Ge... | mit | C# |
a76ca511f9ef23868e35f31aaa03743e8d710c25 | Increase timeout for GetNodeVersionTestsAsync. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/BitcoinCore/SerialNodeBuildingTests.cs | WalletWasabi.Tests/UnitTests/BitcoinCore/SerialNodeBuildingTests.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BitcoinCore
{
/// <summary>
/// The test in this collection is time-sensitive, therefore this test collection is run in a special way:
/// Parallel-capable test col... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BitcoinCore
{
/// <summary>
/// The test in this collection is time-sensitive, therefore this test collection is run in a special way:
/// Parallel-capable test col... | mit | C# |
5986a3a7ce1617f97e40f9b6b7baf6dae21d5f83 | Update summaries | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Core/Definitions/Utilities/VolumeType.cs | Assets/MRTK/Core/Definitions/Utilities/VolumeType.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// The possible shapes of bounding volumes for spatial awareness of the user's surroundings.
/// </summary>
public enum VolumeType
{
/// <summary>
... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// todo
/// </summary>
public enum VolumeType
{
/// <summary>
/// No Specified type.
/// </summary>
None = 0,
/// ... | mit | C# |
3249b4ac75e94753861d4d4b18f10ecbf0f769ae | Fix parsing error | Evorlor/Fitachi,Evorlor/Fitachi,Evorlor/Fitachi | Assets/Scripts/AdventureScripts/AdventuringPlayer.cs | Assets/Scripts/AdventureScripts/AdventuringPlayer.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdventuringPlayer : MonoBehaviour {
private int AttackDamage;
private float attackSpeed;
public float weakenPlayerMultiplier = 10.0f;
List<Enemy> enemies = new List<Enemy>();
void Awake()
{
a... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdventuringPlayer : MonoBehaviour {
private int AttackDamage;
private float attackSpeed;
public float weakenPlayerMultiplier = 10.0f;
List<Enemy> enemies = new List<Enemy>();
void Awake()
{
a... | mit | C# |
c540f90e4a8a37138c96e4dc56d13631e7991ce5 | Remove Sample Model | kgiszewski/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,kipusoep/Archetype,imulus/Archetype,kgiszewski/Archetype,imulus/Archetype,kgiszewski/Archetype,kjac/Archetype,tomfulton/Archetype,kipusoep/Archetype,tomfulton/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,tomfulton/Archetype,kjac/Archetype,... | app/Umbraco/Umbraco.Archetype/PropertyConverters/ArchetypeValueConverter.cs | app/Umbraco/Umbraco.Archetype/PropertyConverters/ArchetypeValueConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Models.PublishedContent;
using Archetype.Umbraco.Models;
using Archetype.Umbraco.Extensions;
namespace Archetype.Umbraco.Pro... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Models.PublishedContent;
using Archetype.Umbraco.Models;
using Archetype.Umbraco.Extensions;
namespace Archetype.Umbraco.Pro... | mit | C# |
de57da81802d9653b0eb57f39e600df98502e08c | add method for applying createdOn and modifiedOn on data models | olebg/car-mods-heaven,olebg/car-mods-heaven | CarModsHeaven/CarModsHeaven/CarModsHeaven.Data/SqlDbContext.cs | CarModsHeaven/CarModsHeaven/CarModsHeaven.Data/SqlDbContext.cs | using CarModsHeaven.Data.Models;
using CarModsHeaven.Data.Models.Contracts;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Data.Entity;
using System.Linq;
namespace CarModsHeaven.Data
{
public class SqlDbContext : IdentityDbContext<User>
{
public SqlDbContext()
... | using CarModsHeaven.Data.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity;
namespace CarModsHeaven.Data
{
public class SqlDbContext : IdentityDbContext<User>
{
public SqlDbContext()
: base("LocalConnection", throwIfV1Schema: false)
{
}
... | mit | C# |
5c8e7578d26ae8f05e5438a64fe4ddd0741e0dc1 | fix binary to string serialization | OpenTl/OpenTl.Schema | src/OpenTl.Schema/Serialization/SerializationUtils.cs | src/OpenTl.Schema/Serialization/SerializationUtils.cs | namespace OpenTl.Schema.Serialization
{
using System;
using System.Linq;
using System.Text;
public class SerializationUtils
{
public static byte[] GetBytes(string str)
{
return Encoding.UTF8.GetBytes(str);
}
public static string GetString(byte[] bytes)
... | namespace OpenTl.Schema.Serialization
{
using System.Text;
public class SerializationUtils
{
public static byte[] GetBytes(string str)
{
return Encoding.UTF8.GetBytes(str);
}
public static string GetString(byte[] bytes)
{
return Encoding.UTF... | mit | C# |
c408ab6ba220ba5fac53e69de9d43349c02f127e | Revert " replace duplicate short name, with backward compatibility (#23)" | esskar/Serialize.Linq | src/Serialize.Linq/Nodes/ConditionalExpressionNode.cs | src/Serialize.Linq/Nodes/ConditionalExpressionNode.cs | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Serialize.Linq.Interfaces;
namespace Serialize.Linq.Nodes
{
#region DataContract
#if !SERIALIZE_LINQ_OPTIMIZE_SIZE
[DataContract]
#else
[DataContract(Name = "IF")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
... | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Serialize.Linq.Interfaces;
namespace Serialize.Linq.Nodes
{
#region DataContract
#if !SERIALIZE_LINQ_OPTIMIZE_SIZE
[DataContract]
#else
[DataContract(Name = "IF")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
... | mit | C# |
8b71f642cce900ffd5123956d334f458d93d186d | Remove old logging line. Causes an exception if the directory doesn't exist. | mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights | src/ZBuildLightsUpdater/ZBuildLightsUpdaterService.cs | src/ZBuildLightsUpdater/ZBuildLightsUpdaterService.cs | using System;
using System.Configuration;
using System.Net;
using System.ServiceProcess;
using System.Timers;
using NLog;
namespace ZBuildLightsUpdater
{
public partial class ZBuildLightsUpdaterService : ServiceBase
{
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
pri... | using System;
using System.Configuration;
using System.IO;
using System.Net;
using System.ServiceProcess;
using System.Timers;
using NLog;
namespace ZBuildLightsUpdater
{
public partial class ZBuildLightsUpdaterService : ServiceBase
{
private static readonly Logger Log = LogManager.GetCurrentClassLogg... | mit | C# |
28b8c8c3c9083cfd53e0d8df704b93ddaf82a821 | add FieldNameEvaluationHandler | LayoutFarm/PixelFarm | a_mini/projects/PixelFarm/TypeMirror/SimpleReflectionHelper.cs | a_mini/projects/PixelFarm/TypeMirror/SimpleReflectionHelper.cs | //MIT,2016, WinterDev
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace TypeMirror
{
/// <summary>
/// very base reflection helper
/// </summary>
static class SimpleReflectionHelper
{
public delegate string FieldNameEvaluationHandler(Syst... | //MIT,2016, WinterDev
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace TypeMirror
{
/// <summary>
/// very base reflection helper
/// </summary>
static class SimpleReflectionHelper
{
public static Dictionary<string, T> GetEnumFields<T>()... | bsd-2-clause | C# |
76c990877f592d73f5c665e7a4282828d5edec23 | Update slack integration service | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/Core/Services/Posting/SlackPostingService.cs | src/Core/Services/Posting/SlackPostingService.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Slack.Webhooks;
using Slack.Webhooks.Blocks;
using Slack.Webhooks.Elements;
namespace Core.Services.Posting
{
public class SlackPostingService: IPostingService
{
private readonly ILog... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Slack.Webhooks;
namespace Core.Services.Posting
{
public class SlackPostingService: IPostingService
{
private readonly ILogger<SlackPostingService> _logger;
... | mit | C# |
e740deb9c38f3b742bf5ae165cdcb13e716f6749 | Fix getmentions tests and add missing TestMethod attribute | msft-shahins/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder | CSharp/Tests/Microsoft.Bot.Builder.Tests/ActivityExTests.cs | CSharp/Tests/Microsoft.Bot.Builder.Tests/ActivityExTests.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.Bot.Connector;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace Microsoft.Bot.Builder.Tests
{
[TestClass]
public class ActivityExTests
{
[TestMethod]
public void HasContent_Test()
... | using System.Linq;
using Microsoft.Bot.Connector;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Bot.Builder.Tests
{
[TestClass]
public class ActivityExTests
{
[TestMethod]
public void HasContent_Test()
{
IMessageActivity activity = DialogTestBa... | mit | C# |
4b4ce996c944704d896f2cd5d96d7d47d636e208 | Initialize client timing at first parent tag (#309) | MiniProfiler/dotnet,MiniProfiler/dotnet | src/MiniProfiler.AspNetCore.Mvc/ProfileScriptTagHelper.cs | src/MiniProfiler.AspNetCore.Mvc/ProfileScriptTagHelper.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace StackExchange.Profiling
{
/// <summary>
/// Tag helper to profile script execution in ASP.NET Core views, e.g.
/// <profile-script... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace StackExchange.Profiling
{
/// <summary>
/// Tag helper to profile script execution in ASP.NET Core views, e.g.
/// <profile-script... | mit | C# |
b904ee70863a239ea735eb152a90ecd11d697342 | add missing messages for test cases | NCTUGDC/HearthStone | HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs | HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
public class CardManagerUnitTest
{
[TestMethod]
public void CardManagerI... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
public class CardManagerUnitTest
{
[TestMethod]
public void CardManagerI... | apache-2.0 | C# |
f2e7c309c77f1d4bd09236ebf8681b864a3a1d99 | add loadWhenActivated parameter. | zhongzf/Xamarin.Forms.Platform.Perspex | Xamarin.Forms.Platform.PerspexDesktop/DesktopApplication.cs | Xamarin.Forms.Platform.PerspexDesktop/DesktopApplication.cs | using Perspex;
using Perspex.Controls;
using Perspex.Diagnostics;
using Perspex.Markup.Xaml;
using Perspex.Themes.Default;
using System;
namespace Xamarin.Forms.Platform.PerspexDesktop
{
public class DesktopApplication : Perspex.Application
{
public DesktopApplication()
{
RegisterS... | using Perspex;
using Perspex.Controls;
using Perspex.Diagnostics;
using Perspex.Markup.Xaml;
using Perspex.Themes.Default;
using System;
namespace Xamarin.Forms.Platform.PerspexDesktop
{
public class DesktopApplication : Perspex.Application
{
public DesktopApplication()
{
RegisterS... | mit | C# |
805bbbf78d114d35ce825fbffa745c23878deebb | Bump version number | Killeroo/PowerPing,Killeroo/PowerPing | src/PowerPing/properties/AssemblyInfo.cs | src/PowerPing/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("Po... | 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("Po... | mit | C# |
8496907c2afd3a4977bb3640d8490547445b300e | Send the test output to the listener | mono/guiunit | src/framework/GuiUnit/XmlTestListener.cs | src/framework/GuiUnit/XmlTestListener.cs | using System;
using NUnit.Framework.Api;
using System.Xml.Linq;
using System.IO;
using System.Text;
namespace GuiUnit
{
public class XmlTestListener : ITestListener
{
StringBuilder output = new StringBuilder ();
TextWriter Writer {
get; set;
}
public XmlTestListener (TextWriter writer)
{
Writer = w... | using System;
using NUnit.Framework.Api;
using System.Xml.Linq;
using System.IO;
namespace GuiUnit
{
public class XmlTestListener : ITestListener
{
TextWriter Writer {
get; set;
}
public XmlTestListener (TextWriter writer)
{
Writer = writer;
}
public void TestStarted (ITest test)
{
if (test.... | mit | C# |
7bc7c3b4b30edced8c372a1702857e84fa88af0b | Fix warnings. | JohanLarsson/Gu.Roslyn.Asserts | Gu.Roslyn.Asserts.Tests/MetadataReferences/ReferenceAssemblyTests.cs | Gu.Roslyn.Asserts.Tests/MetadataReferences/ReferenceAssemblyTests.cs | namespace Gu.Roslyn.Asserts.Tests.MetadataReferences
{
using System;
using System.IO;
using Microsoft.CodeAnalysis;
using NUnit.Framework;
public static class ReferenceAssemblyTests
{
[TestCase(typeof(int))]
[TestCase(typeof(System.Diagnostics.Debug))]
public static void... | namespace Gu.Roslyn.Asserts.Tests.MetadataReferences
{
using System;
using System.IO;
using Microsoft.CodeAnalysis;
using NUnit.Framework;
public class ReferenceAssemblyTests
{
[TestCase(typeof(int))]
[TestCase(typeof(System.Diagnostics.Debug))]
public void TryGetAssembl... | mit | C# |
0f9c3d7642d9c9b0df258e350971110baa715581 | Add ranges preflop | DataBaseExam/TexasHold-em-AI | Source/TexasHoldem.AI.RaiseTwoSevenTestPlayer/RaiseTwoSevenPlayer.cs | Source/TexasHoldem.AI.RaiseTwoSevenTestPlayer/RaiseTwoSevenPlayer.cs | namespace TexasHoldem.AI.RaiseTwoSevenTestPlayer
{
using System;
using TexasHoldem.Logic.Players;
using TexasHoldem.Logic.Cards;
using Logic;
public class RaiseTwoSevenPlayer : BasePlayer
{
public override string Name { get; } = "RaiseTwoSeven";
public override PlayerAct... | namespace TexasHoldem.AI.RaiseTwoSevenTestPlayer
{
using System;
using TexasHoldem.Logic.Players;
using TexasHoldem.Logic.Cards;
using Logic;
public class RaiseTwoSevenPlayer : BasePlayer
{
public override string Name { get; } = "RaiseTwoSeven";
public override P... | mit | C# |
712708432fd9b4cf7e52bf4241dd333e0241f239 | use singleton completed task | shokanson/jottoweb,shokanson/jottoweb,shokanson/jottoweb,shokanson/jottoweb | jottoowin/Hokanson.JottoRepository/RepositoryBase.cs | jottoowin/Hokanson.JottoRepository/RepositoryBase.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hokanson.JottoRepository
{
public abstract class RepositoryBase<T> : IRepository<T>
{
protected static readonly ConcurrentDictionary<string, T> Objects = new ... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hokanson.JottoRepository
{
public abstract class RepositoryBase<T> : IRepository<T>
{
protected static readonly ConcurrentDictionary<string, T> Objects = new ... | mit | C# |
fa589179eff862591a78f45fb766329d469e23e3 | Fix so that the screen updates correctly | dipeshc/BTDeploy | src/MonoTorrent.Interface/src/MonoTorrent.Interface/Program.cs | src/MonoTorrent.Interface/src/MonoTorrent.Interface/Program.cs | /*
* $Id: Program.cs 880 2006-08-19 22:50:54Z piotr $
* Copyright (c) 2006 by Piotr Wolny <gildur@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, inclu... | /*
* $Id: Program.cs 880 2006-08-19 22:50:54Z piotr $
* Copyright (c) 2006 by Piotr Wolny <gildur@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, inclu... | mit | C# |
b0712491c8d89d8eb36f10ed2ef7dd82870a9e96 | Update EthGetUncleByBlockHashAndIndex.cs | Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum | src/Nethereum.RPC/Eth/Uncles/EthGetUncleByBlockHashAndIndex.cs | src/Nethereum.RPC/Eth/Uncles/EthGetUncleByBlockHashAndIndex.cs | using System.Threading.Tasks;
using EdjCase.JsonRpc.Core;
using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.RPC.Eth.Uncles
{
/// <Summary>
/// eth_getUncleCountByBlockHash
/// Returns the number of uncles in a block from a block matching... | using System.Threading.Tasks;
using EdjCase.JsonRpc.Core;
using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.RPC.Eth.Uncles
{
/// <Summary>
/// eth_getUncleCountByBlockHash
/// Returns the number of uncles in a block from a block matching... | mit | C# |
50d4cf49a74cb7c3a7a6408cb688f08282bca61b | Change the log level of JwtBearer (#33271) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Security/Authentication/JwtBearer/src/LoggingExtensions.cs | src/Security/Authentication/JwtBearer/src/LoggingExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.Logging
{
internal static class LoggingExtensions
{
private static Action<ILogger, Excepti... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.Logging
{
internal static class LoggingExtensions
{
private static Action<ILogger, Excepti... | apache-2.0 | C# |
f2ba87a1d2a2f66fa423a682a0eb2ef0f7edef9c | Fix placement blueprint test scenes not working | NeoAdonis/osu,peppy/osu-new,ppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,EVAST9919/osu,ZLima12/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,smo... | osu.Game/Tests/Visual/PlacementBlueprintTestScene.cs | osu.Game/Tests/Visual/PlacementBlueprintTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Events;
using ... | // 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;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Rulesets.Edit;
using osu... | mit | C# |
7d56ce63d38433541f12932b2b015d9f6f059615 | Fix test case failures | smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,EVAST9919/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,DrabWeb/osu,ppy/osu,johnneijzen/osu,NeoAdo... | osu.Game/Tests/Visual/RateAdjustedBeatmapTestCase.cs | osu.Game/Tests/Visual/RateAdjustedBeatmapTestCase.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.Tests.Visual
{
/// <summary>
/// Test case which adjusts the beatmap's rate to match any speed adjustments in visual tests.
/// </summary>
... | // 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.Tests.Visual
{
/// <summary>
/// Test case which adjusts the beatmap's rate to match any speed adjustments in visual tests.
/// </summary>
... | mit | C# |
3daee8df54d9b51438463733eabbfcf229ee7ab6 | Bump version to 0.15.3 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | plugin/CactbotEventSource/Properties/AssemblyInfo.cs | plugin/CactbotEventSource/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotEventSource")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotEventSource")]
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotEventSource")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotEventSource")]
[assembly: A... | apache-2.0 | C# |
ca0bea753439ce81ddb5eb86ef32fb6cc369c110 | Rename MaximumCombo to HighestCombo. | peppy/osu-new,EVAST9919/osu,UselessToucan/osu,naoey/osu,NotKyon/lolisu,DrabWeb/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,DrabWeb/osu,johnneijzen/osu,johnneijzen/osu,Drezi126/osu,ppy/osu,peppy/osu,ppy/osu,Frontear/osuKyzer,UselessToucan/osu,nyaamara/osu,RedNesto/osu,tacchinotacchi/osu,... | osu.Game/Modes/ScoreProcesssor.cs | osu.Game/Modes/ScoreProcesssor.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Configuration;
using osu.... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Configuration;
using osu.... | mit | C# |
f1d394ace3de1971f769dd9f4b654a7b8920256a | change CanInherited rule | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite | src/AspectCore.Lite.Abstractions.Resolution/TypeInfoExtensions.cs | src/AspectCore.Lite.Abstractions.Resolution/TypeInfoExtensions.cs | using AspectCore.Lite.Abstractions.Resolution.Generators;
using System;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Abstractions.Resolution
{
public static class TypeInfoExtensions
{
public static bool ValidateAspect(this TypeInfo typeInfo, IAspectValidator aspectValidator)
... | using AspectCore.Lite.Abstractions.Resolution.Generators;
using System;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Abstractions.Resolution
{
public static class TypeInfoExtensions
{
public static bool ValidateAspect(this TypeInfo typeInfo, IAspectValidator aspectValidator)
... | mit | C# |
e397ab9a9b6dd73a7c242518a92e86a65e208cf3 | fix xref map sorted comparer. (#2191) | pascalberger/docfx,dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,pascalberger/docfx,superyyrrzz/docfx,pascalberger/docfx,superyyrrzz/docfx,dotnet/docfx | src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefSpecUidComparer.cs | src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefSpecUidComparer.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System;
using System.Collections.Generic;
using Microsoft.DocAsCode.Plugins;
public sealed class X... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System.Collections.Generic;
using Microsoft.DocAsCode.Plugins;
public sealed class XRefSpecUidComparer... | mit | C# |
5f1abf80a15277af23db9045558e6a66a265fb49 | Allow Device.SetCooperativeLevel to be called | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.DirectSound/Microsoft.DirectX.DirectSound/Device.cs | Microsoft.DirectX.DirectSound/Microsoft.DirectX.DirectSound/Device.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights ... | mit | C# |
756c99f59d805485cf03654640750dd5d381864d | refactor ReservateTheDate() | Borayvor/ReservationSystem,Borayvor/ReservationSystem,Borayvor/ReservationSystem | ReservationSystem/ReservationSystem/Controllers/CalendarController.cs | ReservationSystem/ReservationSystem/Controllers/CalendarController.cs | using System;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ReservationSystem.Common;
using ReservationSystem.Extensions;
using ReservationSystem.Services.Data.Contracts;
using ReservationSystem.ViewComponents;
using ReservationSystem.ViewModels.CalendarViewModels;
... | using System;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ReservationSystem.Common;
using ReservationSystem.Extensions;
using ReservationSystem.Services.Data.Contracts;
using ReservationSystem.ViewComponents;
using ReservationSystem.ViewModels.CalendarViewModels;
... | mit | C# |
132026ea57985119b5d89b4a1bafc0ecb04ac99b | bump version to 1.6 | Sevitec/oneoffixx-connectclient | Windows/src/OneOffixx.ConnectClient.WinApp/Properties/AssemblyInfo.cs | Windows/src/OneOffixx.ConnectClient.WinApp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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 ... | using System.Reflection;
using System.Resources;
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 ... | mit | C# |
8b43b028b2d91bfac0f1b399cb9025aa6de21fa3 | Add AssemblyLoader class | xirqlz/blueprint41 | Blueprint41.Modeller.Schemas/DatastoreModelComparer.cs | Blueprint41.Modeller.Schemas/DatastoreModelComparer.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Blueprint41.Modeller.Schemas
{
public abstract class DatastoreModelComparer
{
public static DatastoreModelComparer Instance { get { return instance.Value; } }
private static Lazy<DatastoreModelComparer> instan... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Blueprint41.Modeller.Schemas
{
public abstract class DatastoreModelComparer
{
public static DatastoreModelComparer Instance { get { return instance.Value; } }
private static Lazy<DatastoreModelComparer> instan... | mit | C# |
ffecfdc70baa26d625a7b6ce78f0e0433d863792 | Add ActionsMenu zone to Widget.SummaryAdmin (#6907) | petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Widgets/Views/Widget.SummaryAdmin.cshtml | src/OrchardCore.Modules/OrchardCore.Widgets/Views/Widget.SummaryAdmin.cshtml | @using OrchardCore.ContentManagement
@{
ContentItem contentItem = Model.ContentItem;
}
<div class="row">
<div class="col-xl-6 col-sm-12 title">
<div class="custom-control custom-checkbox float-left">
<input type="checkbox" class="custom-control-input" value="@contentItem.Id" name="itemIds"... | @using OrchardCore.ContentManagement
@{
ContentItem contentItem = Model.ContentItem;
}
<div class="row">
<div class="col-xl-6 col-sm-12 title">
<div class="custom-control custom-checkbox float-left">
<input type="checkbox" class="custom-control-input" value="@contentItem.Id" name="itemIds"... | bsd-3-clause | C# |
4db1ad01ee32a4985bcf172923e2b352f72ce5a6 | Update IndexModule.cs | LeedsSharp/AppVeyorDemo | src/AppVeyorDemo/AppVeyorDemo/Modules/IndexModule.cs | src/AppVeyorDemo/AppVeyorDemo/Modules/IndexModule.cs | namespace AppVeyorDemo.Modules
{
using System.Configuration;
using AppVeyorDemo.Models;
using Nancy;
public class IndexModule : NancyModule
{
public IndexModule()
{
Get["/"] = parameters =>
{
var model = new IndexViewModel
{
... | namespace AppVeyorDemo.Modules
{
using System.Configuration;
using AppVeyorDemo.Models;
using Nancy;
public class IndexModule : NancyModule
{
public IndexModule()
{
Get["/"] = parameters =>
{
var model = new IndexViewModel
{
... | apache-2.0 | C# |
892d514664eb38274d48f5639ed8864ef0355a62 | Remove unnecessary Pack directive to fix build break | wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,mmitche/corefx,wtgodbe/corefx,mmitche/corefx,mmitche/corefx,shimingsg/corefx,shimingsg/corefx,BrennanConroy/corefx,ericstj/corefx,ptoonen/corefx,wtgodbe/corefx,mmitche/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,mmitche/corefx,ViktorHofer/corefx,wtgodbe/corefx,shim... | src/Common/src/CoreLib/System/Number.NumberBuffer.cs | src/Common/src/CoreLib/System/Number.NumberBuffer.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.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
namespace System
{
internal stat... | // 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.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
namespace System
{
internal stat... | mit | C# |
bbe198bacd69e95b4a8a36bf89b8d2f619a8b864 | fix for paths with whitespace | DevExpress/AjaxControlToolkit,darilek/AjaxControlToolkit,darilek/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit | AjaxControlToolkitVsPackage/AjaxControlToolkitVsPackage.cs | AjaxControlToolkitVsPackage/AjaxControlToolkitVsPackage.cs | using System;
using System.Collections.Generic;
using System.Drawing.Design;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
using System.IO;
namespace AjaxControlToolkitVsPackage {
[PackageRegistration(UseManagedResourcesOnly = true)]
[In... | using System;
using System.Collections.Generic;
using System.Drawing.Design;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
using System.IO;
namespace AjaxControlToolkitVsPackage {
[PackageRegistration(UseManagedResourcesOnly = true)]
[In... | bsd-3-clause | C# |
f9b327b98bc6e5113928a7880583c4543eba6fd7 | test class for new incorrect implementation | kontur-csharper/testing,KotlyarovV/testing,kontur-csharper/testing,kontur-csharper/testing,KotlyarovV/testing | Challenge/Infrastructure/IncorrectImplementations_Tests.cs | Challenge/Infrastructure/IncorrectImplementations_Tests.cs | using System;
using System.Linq;
using NUnit.Framework;
namespace Challenge.Infrastructure
{
[TestFixture]
public class GenerateIncorrectTests
{
[Test]
public void Generate()
{
var impls = ChallengeHelpers.GetIncorrectImplementationTypes();
var code = string.Join(Environment.NewLine,
impls.Selec... | using System;
using System.Linq;
using NUnit.Framework;
namespace Challenge.Infrastructure
{
[TestFixture]
public class GenerateIncorrectTests
{
[Test]
public void Generate()
{
var impls = ChallengeHelpers.GetIncorrectImplementationTypes();
var code = string.Join(Environment.NewLine,
impls.Selec... | mit | C# |
8e289fe4db3e6eca9e02d0f86844ef1ff009498f | Disable TestMachineNameProperty test on OS X | marksmeltzer/corefx,Petermarcu/corefx,jhendrixMSFT/corefx,wtgodbe/corefx,twsouthwick/corefx,mokchhya/corefx,alphonsekurian/corefx,khdang/corefx,stephenmichaelf/corefx,parjong/corefx,pallavit/corefx,jcme/corefx,alexperovich/corefx,elijah6/corefx,twsouthwick/corefx,manu-silicon/corefx,dotnet-bot/corefx,tstringer/corefx,M... | src/System.Runtime.Extensions/tests/System/Environment.MachineName.cs | src/System.Runtime.Extensions/tests/System/Environment.MachineName.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using Xunit;
namespace System.Runtime.Extensions.Tests
{
public class Environment_MachineName
{
[A... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using Xunit;
namespace System.Runtime.Extensions.Tests
{
public class Environment_MachineName
{
[F... | mit | C# |
6134f7a7f13848e3836c4e121ca65f2977d16cff | Update UnityProject/Assets/Scripts/Weapons/Melee/MeleeStun.cs | Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fom... | UnityProject/Assets/Scripts/Weapons/Melee/MeleeStun.cs | UnityProject/Assets/Scripts/Weapons/Melee/MeleeStun.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Adding this to a weapon stuns the target on hit
/// If the weapon has the StunBaton behaviour it only stuns when the baton is active
/// </summary>
public class MeleeStun : Interactable<HandApply>
{
/// <su... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Adding this to a weapon stuns the target on hit
/// If the weapon has the StunBaton behaviour it only stuns when the baton is active
/// </summary>
public class MeleeStun : Interactable<HandApply>
{
/// <su... | agpl-3.0 | C# |
7a34de108cb10ce33fbade1066358414b6c5da81 | rename variables | Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare | Assets/Resources/Microgames/KnifeDodge/Scripts/KnifeDodgeController.cs | Assets/Resources/Microgames/KnifeDodge/Scripts/KnifeDodgeController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeController : MonoBehaviour {
List<GameObject> knifeList;
List<GameObject> knifeTargetsList;
public GameObject knifePrefab;
public GameObject reimuPrefab;
public GameObject knifeTargetPrefab;
public int numKnive... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeController : MonoBehaviour {
List<GameObject> knifeList;
List<GameObject> knifeTargetsList;
public GameObject knifePrefab;
public GameObject reimuPrefab;
public GameObject knifeTargetPrefab;
public int cols = 1... | mit | C# |
7be834d1d4c0b0ab2a804bbc7e54cc78b50aabaf | Update SettingWidthOfAllColumns.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cell... | Examples/CSharp/RowsColumns/HeightAndWidth/SettingWidthOfAllColumns.cs | Examples/CSharp/RowsColumns/HeightAndWidth/SettingWidthOfAllColumns.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingWidthOfAllColumns
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cel... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingWidthOfAllColumns
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDat... | mit | C# |
24cd425d42211dd9784e05370bda9b1bd42f020c | Tweak to one of the demo programs | taylorjg/Monads | DemoPrograms/ReaderHaskellDocsExample1/Program.cs | DemoPrograms/ReaderHaskellDocsExample1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonadLib;
namespace ReaderHaskellDocsExample1
{
using Bindings = IDictionary<string, int>;
internal class Program
{
private static void Main()
{
var sampleBindings = new Dictionary<string, int>
... | using System;
using System.Collections.Generic;
using System.Linq;
using MonadLib;
namespace ReaderHaskellDocsExample1
{
using Bindings = IDictionary<string, int>;
internal class Program
{
private static void Main()
{
var sampleBindings = new Dictionary<string, int>
... | mit | C# |
9df6d35234cdb078c3cd0d7ea182560fa3432c7d | add swagger comments | xstof/BigQuotes | QuoteApi/QuoteApi/Controllers/QuotesController.cs | QuoteApi/QuoteApi/Controllers/QuotesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using QuoteApi.Services;
using QuoteApi.Domain;
namespace QuoteApi.Controllers
{
[Route("api/[controller]")]
public class QuotesController : Controller
{
private readonl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using QuoteApi.Services;
namespace QuoteApi.Controllers
{
[Route("api/[controller]")]
public class QuotesController : Controller
{
private readonly IQuotesService quotes... | mit | C# |
16ecde8b056d6f7fe1e9fdd0042fb0cca094816d | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
ea2e951fddcf4fbe72a2533db8aea038358fab33 | return to first position | rcseacord/CSharpSC,rcseacord/CSharpSC,rcseacord/CSharpSC | CSharpSC/NormB4Validate/ValidateString.cs | CSharpSC/NormB4Validate/ValidateString.cs | // The MIT License (MIT)
//
// Copyright (c) 2017 Robert C. Seacord
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to... | // The MIT License (MIT)
//
// Copyright (c) 2017 Robert C. Seacord
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to... | mit | C# |
c9142f03e8b135e925f9ba4482f3e844a4720e2f | Bump version to 0.7.4 | quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
ebdb93ef885625786fbaae6350c4519e05e922cb | Bump version for 0.3.1 | sqt/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
b9480a096cebbb883a91661ee7019212f0b5c97a | Change assertion | ekincaglar/clarizen | Clarizen.Tests/Steps/Api_ProjectsSteps.cs | Clarizen.Tests/Steps/Api_ProjectsSteps.cs |
using Clarizen.Tests.Context;
using Ekin.Clarizen.Data.Request;
using TechTalk.SpecFlow;
using Xunit;
using System;
using System.Collections.Generic;
using System.Text;
using Ekin.Clarizen;
using Microsoft.Extensions.Configuration;
using System.Linq;
namespace Clarizen.Tests.Steps
{
[Binding]
public class Pr... |
using Clarizen.Tests.Context;
using Ekin.Clarizen.Data.Request;
using TechTalk.SpecFlow;
using Xunit;
using System;
using System.Collections.Generic;
using System.Text;
using Ekin.Clarizen;
using Microsoft.Extensions.Configuration;
using System.Linq;
namespace Clarizen.Tests.Steps
{
[Binding]
public class Pr... | mit | C# |
4d8295f96403514a167af0e969bf3d34d2828fa2 | add GA | cythilya/Dotchi,cythilya/Dotchi,cythilya/Dotchi | Dotchi/Dotchi/Views/Shared/_Layout.cshtml | Dotchi/Dotchi/Views/Shared/_Layout.cshtml | <!doctype html>
@{
ViewBag.Title = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
ViewBag.Description = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
ViewBag.Cover = "";
var currentURL = "http://dotchi.apphb.com" + HttpContext.Current.Request.RawUrl;
}
<html itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="utf-8">
<title>@(Vi... | <!doctype html>
@{
ViewBag.Title = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
ViewBag.Description = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
ViewBag.Cover = "";
var currentURL = "http://dotchi.apphb.com" + HttpContext.Current.Request.RawUrl;
}
<html>
<head>
<meta charset="utf-8">
<title>@(ViewBag.Title)</title>
<meta name="description" c... | mit | C# |
9b504272e41e9e6fadcb315eb732c05c9a458c0b | Make Header a property | UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game/Overlays/Profile/Sections/PaginatedContainerWithHeader.cs | osu.Game/Overlays/Profile/Sections/PaginatedContainerWithHeader.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Users;
namespace osu.Game.Overlays.Profile.Sections
{
public abstract class PaginatedCon... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Game.Users;
namespace osu.Game.Overlays.Profile.Sections
{
public abstract class PaginatedCon... | mit | C# |
db4a585b265416e8cd3d4107a0ef85a5b5e03b8d | Fix running on < iOS 6.0 | PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto | Source/Eto.Platform.iOS/EtoAppDelegate.cs | Source/Eto.Platform.iOS/EtoAppDelegate.cs | using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Eto.Platform.iOS.Forms;
using Eto.Forms;
namespace Eto.Platform.iOS
{
[MonoTouch.Foundation.Register("EtoAppDelegate")]
public class EtoAppDelegate : UIApplicationDelegate
{
public EtoAppDelegate ()
{
}
public override bool FinishedLaun... | using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Eto.Platform.iOS.Forms;
using Eto.Forms;
namespace Eto.Platform.iOS
{
[MonoTouch.Foundation.Register("EtoAppDelegate")]
public class EtoAppDelegate : UIApplicationDelegate
{
public EtoAppDelegate ()
{
}
public override bool WillFinishLa... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.