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 |
|---|---|---|---|---|---|---|---|---|
563221e8d94a6059620aa964e7aec586f250bc66 | fix issue with deserailizing subnav link json object | rocky0904/mozu-dotnet-toolkit,Mozu/mozu-dotnet-toolkit | Mozu.Api.ToolKit/Converters/EnumLowerCaseConverter.cs | Mozu.Api.ToolKit/Converters/EnumLowerCaseConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mozu.Api.ToolKit.Handlers;
using Newtonsoft.Json;
namespace Mozu.Api.ToolKit.Converters
{
public class EnumLowerCaseConverter : JsonConverter
{
public override void WriteJson(JsonW... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mozu.Api.ToolKit.Handlers;
using Newtonsoft.Json;
namespace Mozu.Api.ToolKit.Converters
{
public class EnumLowerCaseConverter : JsonConverter
{
public override void WriteJson(JsonW... | mit | C# |
44a9f132ce280be8ae3d15344df49886e676575a | Update DeviceInfoImplementation.cs | tim-hoff/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,monostefan/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,labdogg1003/Xamarin.Plugins | DeviceInfo/DeviceInfo/DeviceInfo.Plugin.WindowsPhone8/DeviceInfoImplementation.cs | DeviceInfo/DeviceInfo/DeviceInfo.Plugin.WindowsPhone8/DeviceInfoImplementation.cs | /*
* 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 License, Versio... | using DeviceInfo.Plugin.Abstractions;
using Microsoft.Phone.Info;
using System;
namespace DeviceInfo.Plugin
{
/// <summary>
/// Implementation for DeviceInfo
/// </summary>
public class DeviceInfoImplementation : IDeviceInfo
{
public string GenerateAppId(bool usingPhoneId = false, string prefix = null, ... | mit | C# |
ed388a75e5f4aa7502d9a084c27fb95c0aa67c8a | Update StandardComparisonGeneratorsFactory.cs | Dalet/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,zoton2/LiveSplit,Fluzzarn/LiveSplit,chloe747/LiveSplit,stoye/LiveSplit,zoton2/LiveSplit,zoton2/LiveSplit,chloe747/LiveSplit,PackSciences/LiveSplit,Seldszar/LiveSplit,Dalet/LiveSplit,Seldszar/LiveSplit,ROMaster2/LiveSplit,Glurmo/LiveSplit,Dalet/Liv... | LiveSplit/LiveSplit.Core/Model/Comparisons/StandardComparisonGeneratorsFactory.cs | LiveSplit/LiveSplit.Core/Model/Comparisons/StandardComparisonGeneratorsFactory.cs | using System.Collections.Generic;
namespace LiveSplit.Model.Comparisons
{
public class StandardComparisonGeneratorsFactory : IComparisonGeneratorsFactory
{
static StandardComparisonGeneratorsFactory()
{
CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.Comp... | using System.Collections.Generic;
namespace LiveSplit.Model.Comparisons
{
public class StandardComparisonGeneratorsFactory : IComparisonGeneratorsFactory
{
static StandardComparisonGeneratorsFactory()
{
CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.Com... | mit | C# |
2ce39d40632e0fd77f99681760cce22fcb594f31 | Load repositories for organization | christophwille/wpaghapp | Source/WpaGhApp/ViewModels/Org/OrgViewModel.cs | Source/WpaGhApp/ViewModels/Org/OrgViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using Newtonsoft.Json;
using WpaGhApp.Common;
using WpaGhApp.Services;
using WpaGhApp.ViewModels.Main;
namespace WpaGhApp.ViewModels.Org
{
public class OrgViewModel : Conductor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using Newtonsoft.Json;
using WpaGhApp.Common;
using WpaGhApp.Services;
namespace WpaGhApp.ViewModels.Org
{
public class OrgViewModel : Conductor<IScreen>.Collection.OneActive, ... | mit | C# |
77b408979786bdc9576b65502109b7357973073f | Update NumberPrime.cs | JohnsonMauro/C-sharp,JohnsonMauro/C-sharp | refatoracao-c#-para-funcional/NumberPrime.cs | refatoracao-c#-para-funcional/NumberPrime.cs | using System;
using System.Linq;
namespace cSharpToFunctional
{
class NumberPrime
{
static void Main(string[] args)
{
bool IsPrime(int number)
{
return Enumerable.Range(1, number).Count(x => number % x == 0) == 2;
}
Console.WriteLine(IsPrime(1));
Conso... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cSharpToFunctional
{
class NumberPrime
{
static void Main(string[] args)
{
//int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };
//int oddNumbers = numbers.C... | mit | C# |
10eec3a9af4a4d6ba69e27d3160a86d417a826de | Cover StreamVersion with tests | ar3cka/Journalist | test/Journalist.EventStore.UnitTests/StreamVersionTests.cs | test/Journalist.EventStore.UnitTests/StreamVersionTests.cs | using Journalist.EventStore.Events;
using Journalist.EventStore.UnitTests.Infrastructure.TestData;
using Xunit;
namespace Journalist.EventStore.UnitTests
{
public class StreamVersionTests
{
[Fact]
public void Parse_ForZero_ReturnsUnknownVersion()
{
var version = StreamVersi... | using Journalist.EventStore.Events;
using Xunit;
namespace Journalist.EventStore.UnitTests
{
public class StreamVersionTests
{
[Fact]
public void Parse_ForZero_ReturnsUnknownVersion()
{
var version = StreamVersion.Parse("0");
Assert.Equal(StreamVersion.Unknown,... | apache-2.0 | C# |
eb5bda8d65cc0d1fd8fbcd9680185344a0e38076 | fix build | rflechner/LinqToSalesforce,rflechner/LinqToSalesforce,rflechner/LinqToSalesforce | tests/LinqToSalesforce.CsharpTests/TranslationTests.cs | tests/LinqToSalesforce.CsharpTests/TranslationTests.cs | using System;
using System.Linq;
using Newtonsoft.Json;
using NUnit.Framework;
namespace LinqToSalesforce.CsharpTests
{
[TestFixture]
public class TranslationTests
{
[Test]
public void WhenSelectBirthAsBornDateAndIdCustomerWhereFirstnameIsPopoAndBirthGreatherOrEqualThan02Feb1985OrderByDate_... | using System;
using System.Linq;
using Newtonsoft.Json;
using NUnit.Framework;
namespace LinqToSalesforce.CsharpTests
{
[TestFixture]
public class TranslationTests
{
[Test]
public void WhenSelectBirthAsBornDateAndIdCustomerWhereFirstnameIsPopoAndBirthGreatherOrEqualThan02Feb1985OrderByDate_... | unlicense | C# |
5b0b95b1900e9a9d6b4f4183e81d62235056a076 | refactor pettable script | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation | UnityProject/Assets/Scripts/Player/Pettable.cs | UnityProject/Assets/Scripts/Player/Pettable.cs | using UnityEngine;
/// <summary>
/// Allows an object to be pet by a player. Shameless copy of Huggable.cs
/// </summary>
public class Pettable : MonoBehaviour, ICheckedInteractable<HandApply>
{
public bool WillInteract( HandApply interaction, NetworkSide side )
{
var NPCHealth = interaction.TargetObject.GetCompo... | using UnityEngine;
/// <summary>
/// Allows an object to be pet by a player. Shameless copy of Huggable.cs
/// </summary>
public class Pettable : MonoBehaviour, ICheckedInteractable<PositionalHandApply>
{
public bool WillInteract( PositionalHandApply interaction, NetworkSide side )
{
var targetNPCHealth = interac... | agpl-3.0 | C# |
3a27e1bb35cc8f9ed1d3b6e6cfbcd341f9e42d93 | Change text on Index page | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Index.cshtml | ZirMed.TrainingSandbox/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET - ZirMed Training Sandbox</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn mo... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET - ZirMed Training Sandbox</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn mo... | mit | C# |
2e02b359fb1443ee8fa1d3d8647586d4e8e93774 | Bump Build | tsebring/ArkSavegameToolkitNet | ArkSavegameToolkitNet.Domain/Properties/AssemblyInfo.cs | ArkSavegameToolkitNet.Domain/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("AR... | 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("AR... | mit | C# |
c7dff8a2a0be7e69f18235acad6157ca2c3d9a21 | Remove expression type (not supported in unity) | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs | Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs | using System.Collections.Generic;
using HarryPotterUnity.Cards.Interfaces;
using JetBrains.Annotations;
using UnityEngine;
namespace HarryPotterUnity.Cards.Generic
{
[UsedImplicitly]
public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Char... | using System.Collections.Generic;
using HarryPotterUnity.Cards.Interfaces;
using JetBrains.Annotations;
using UnityEngine;
namespace HarryPotterUnity.Cards.Generic
{
[UsedImplicitly]
public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Char... | mit | C# |
ae7d2a22d23b5626b761e7d118da8487085aa2ee | Create Card and Deck | Olorin71/RetreatCode,Olorin71/RetreatCode | c#/TexasHoldEmSolution/TexasHoldEmTest/UnitTest1.cs | c#/TexasHoldEmSolution/TexasHoldEmTest/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Diagnostics;
namespace TexasHoldEmTest
{
public enum CardSuit
{
Spade= 1, Heart = 2, Club = 3 , Diamond = 4
}
public enum CardValue
{
A = 14, K = 13, Q = 12, J = 11, Te... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TexasHoldEmTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| mit | C# |
b3b85c5dae9fb7cc0632573b3ecdaf0f8c6f6e9a | Update test | sakapon/Bellona.Analysis | Bellona/UnitTest/Analysis/Clustering/ClusteringModelTest.cs | Bellona/UnitTest/Analysis/Clustering/ClusteringModelTest.cs | using System;
using System.Drawing;
using System.Linq;
using Bellona.Analysis.Clustering;
using Bellona.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest.Analysis.Clustering
{
[TestClass]
public class ClusteringModelTest
{
[TestMethod]
public void Te... | using System;
using System.Drawing;
using System.Linq;
using Bellona.Analysis.Clustering;
using Bellona.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest.Analysis.Clustering
{
[TestClass]
public class ClusteringModelTest
{
[TestMethod]
public void Te... | mit | C# |
9c495a8aabd6b4ee7fe8c15f03632a7adeb95a2b | Use faster polling for handling dashboard buttons. | gibwar/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,Azure/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,brendank... | src/Microsoft.Azure.Jobs.Host/Queues/Listeners/HostMessageListenerFactory.cs | src/Microsoft.Azure.Jobs.Host/Queues/Listeners/HostMessageListenerFactory.cs | using System;
using Microsoft.Azure.Jobs.Host.Bindings;
using Microsoft.Azure.Jobs.Host.Executors;
using Microsoft.Azure.Jobs.Host.Indexers;
using Microsoft.Azure.Jobs.Host.Listeners;
using Microsoft.Azure.Jobs.Host.Loggers;
using Microsoft.WindowsAzure.Storage.Queue;
namespace Microsoft.Azure.Jobs.Host.Queues.Listen... | using Microsoft.Azure.Jobs.Host.Bindings;
using Microsoft.Azure.Jobs.Host.Executors;
using Microsoft.Azure.Jobs.Host.Indexers;
using Microsoft.Azure.Jobs.Host.Listeners;
using Microsoft.Azure.Jobs.Host.Loggers;
using Microsoft.WindowsAzure.Storage.Queue;
namespace Microsoft.Azure.Jobs.Host.Queues.Listeners
{
inte... | mit | C# |
7e91ef21c984c74a9ebfb12a4a6ae8f21aebd32a | Update ColorsAndBackground.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.... | Examples/CSharp/Formatting/ColorsAndBackground.cs | Examples/CSharp/Formatting/ColorsAndBackground.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting
{
public class ColorsAndBackground
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Ce... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting
{
public class ColorsAndBackground
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDa... | mit | C# |
dcc716659de67fa9538f8d6af37ab502d8992dfe | Fix expression | falahati/LiteDB,mbdavid/LiteDB,89sos98/LiteDB,89sos98/LiteDB,falahati/LiteDB | LiteDB/Document/Expression/Functions/Aggregate.cs | LiteDB/Document/Expression/Functions/Aggregate.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace LiteDB
{
public partial class BsonExpression
{
public static IEnumerable<BsonValue> COUNT(IEnumerable<BsonValue> values)
{
yield ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace LiteDB
{
public partial class BsonExpression
{
public static IEnumerable<BsonValue> COUNT(IEnumerable<BsonValue> values)
{
yield ... | mit | C# |
cfaa64006f708a89fa7a05e1f16765a4f693163b | Send data back to client. | joshuadeleon/typingclassifier,joshuadeleon/typingclassifier,joshuadeleon/typingclassifier | ML.TypingClassifier/Controllers/SinkController.cs | ML.TypingClassifier/Controllers/SinkController.cs | using ML.TypingClassifier.Models;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ML.TypingClassifier.Controllers
{
[RoutePrefix("sink")]
public class SinkController : ... | using ML.TypingClassifier.Models;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ML.TypingClassifier.Controllers
{
[RoutePrefix("sink")]
public class SinkController : ... | mit | C# |
9513897c45a07b8feea66b613e350e40d64c1c69 | Add very basic REST methods for todomvc using in-memory list | gregmac/NServiceMVC.Examples.Todomvc,gregmac/NServiceMVC.Examples.Todomvc | NServiceMVC.Examples.Todomvc/Controllers/TodosController.cs | NServiceMVC.Examples.Todomvc/Controllers/TodosController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NServiceMVC;
using AttributeRouting;
using System.ComponentModel;
namespace NServiceMVC.Examples.Todomvc.Controllers
{
public class TodosController : ServiceController
{
private static IList<Models.Todo> Todos; // in-m... | using System;
using System.Collections.Generic;
using System.Linq;
using NServiceMVC;
using AttributeRouting;
namespace NServiceMVC.Examples.Todomvc.Controllers
{
public class TodosController : ServiceController
{
[GET("todos")]
public IEnumerable<Models.Todo> Index()
{
... | mit | C# |
09943c68bb3c3a1688790e1f52790568e95e9d9a | fix wrong guid on seed data | tthiatma/Owpini | Owpini.EntityFramework/SeedData/OwpiniDbContextExtension.cs | Owpini.EntityFramework/SeedData/OwpiniDbContextExtension.cs | using Owpini.Core.Business;
using System;
using System.Collections.Generic;
namespace Owpini.EntityFramework.SeedData
{
public static class OwpiniDbContextExtension
{
public static void EnsureSeedDataForContext(this OwpiniDbContext context)
{
context.Businesses.RemoveRange(context.... | using Owpini.Core.Business;
using System;
using System.Collections.Generic;
namespace Owpini.EntityFramework.SeedData
{
public static class OwpiniDbContextExtension
{
public static void EnsureSeedDataForContext(this OwpiniDbContext context)
{
context.Businesses.RemoveRange(context.... | apache-2.0 | C# |
a4df58f2668a04ed62d0a559452de8db966702cc | Add error checking for GL context acquire | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Platform/SDL2/SDL2GraphicsBackend.cs | osu.Framework/Platform/SDL2/SDL2GraphicsBackend.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using SDL2;
namespace osu.Framework.Platform.SDL2
{
/// <summary>
/// Implementation of <see cref="PassthroughGraphicsBackend"/> that uses SDL's Op... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using SDL2;
namespace osu.Framework.Platform.SDL2
{
/// <summary>
/// Implementation of <see cref="PassthroughGraphicsBackend"/> that uses SDL's Op... | mit | C# |
65797b1e31bf4b6c7a546869260ac1a2d2cfd931 | Implement ESDATConverter class | kgarsuta/Hatfield.EnviroData.DataAcquisition,gvassas/Hatfield.EnviroData.DataAcquisition,HatfieldConsultants/Hatfield.EnviroData.DataAcquisition | Source/hatfield.envirodata.dataacquisition.esdat/Converters/ESDATConverter.cs | Source/hatfield.envirodata.dataacquisition.esdat/Converters/ESDATConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hatfield.EnviroData.Core;
namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Converters
{
public class ESDATConverter
{
private IDbContext _dbContext;
public ESDATConverter(IDbContext dbContext)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hatfield.EnviroData.Core;
namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Converters
{
public class ESDATConverter
{
private IDbContext _dbContext;
public ESDATConvert... | mpl-2.0 | C# |
0cfc9f1d3a7badeabbdc186cea0fa758ccf2420c | Add missing verbs. | mrward/Pash,WimObiwan/Pash,sburnicki/Pash,ForNeVeR/Pash,mrward/Pash,WimObiwan/Pash,Jaykul/Pash,ForNeVeR/Pash,sillvan/Pash,ForNeVeR/Pash,ForNeVeR/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,mrward/Pash,Jaykul/Pash,sburnicki/Pash,sillvan/Pash,sburnicki/Pash,WimObiwan/Pash,sburnicki/Pash,mrward/Pash,Jaykul/Pash,Jaykul/P... | Source/System.Management/Automation/VerbsLifecycle.cs | Source/System.Management/Automation/VerbsLifecycle.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
namespace System.Management.Automation
{
/// <summary>
/// Verbs dealing with a process or system's lifecycle.
/// </summary>
public static class VerbsLifecycle
{
public const string Approve = "... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
namespace System.Management.Automation
{
/// <summary>
/// Verbs dealing with a process or system's lifecycle.
/// </summary>
public static class VerbsLifecycle
{
public const string Disable = "... | bsd-3-clause | C# |
b0a6294427171e2e948bd206897623e0cfbf04f8 | remove EntityTypes property. | dreign/ComBoost,dreign/ComBoost | Wodsoft.ComBoost/Data/Entity/IEntityContextBuilder.cs | Wodsoft.ComBoost/Data/Entity/IEntityContextBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Data.Entity
{
/// <summary>
/// Entity context builder.
/// </summary>
public interface IEntityContextBuilder : IDisposable
{
/// <summary>
/// Get entity context.
/// </s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Data.Entity
{
/// <summary>
/// Entity context builder.
/// </summary>
public interface IEntityContextBuilder : IDisposable
{
/// <summary>
/// Get support entity types array.
... | mit | C# |
0570b59faded301b1be0e05ba5c44fce7740529e | Make class internal. | MatthewKing/DeviceId | src/DeviceId/Internal/MacAddressFormatter.cs | src/DeviceId/Internal/MacAddressFormatter.cs | using System.Linq;
namespace DeviceId.Internal;
/// <summary>
/// Provides functionality to format MAC addresses.
/// </summary>
internal static class MacAddressFormatter
{
/// <summary>
/// Formats the specified MAC address.
/// </summary>
/// <param name="input">The MAC address to format.</param>
... | using System.Linq;
namespace DeviceId.Internal;
/// <summary>
/// Provides functionality to format MAC addresses.
/// </summary>
public static class MacAddressFormatter
{
/// <summary>
/// Formats the specified MAC address.
/// </summary>
/// <param name="input">The MAC address to format.</param>
... | mit | C# |
1a54c063ff6899312e221bfeba9cf07256286dce | Make GetColorFromKind virtual | mrahhal/Konsola | src/Konsola.Net40/Parser/IConsole.Default.cs | src/Konsola.Net40/Parser/IConsole.Default.cs | using System;
using System.IO;
namespace Konsola.Parser
{
/// <summary>
/// An <see cref="IConsole"/> implementation that writes to system console.
/// </summary>
public class DefaultConsole : IConsole
{
private readonly object _sync = new object();
public DefaultConsole()
{
}
public void Write(Write... | using System;
using System.IO;
namespace Konsola.Parser
{
/// <summary>
/// An IConsole implementation that writes to system console.
/// </summary>
public class DefaultConsole : IConsole
{
private readonly object _sync = new object();
public DefaultConsole()
{
}
public void Write(WriteKind kind, str... | mit | C# |
ef7575ae526f2e28efcc31e7d89d19a5c400ac11 | Update CrossSheetReferenceStatus.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/CrossSheetReferenceStatus.cs | main/Smartsheet/Api/Models/CrossSheetReferenceStatus.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
6e8ad11f792579d725643993b43f5c9139784a35 | Add tracks for Twitter crawler | dmitrypetukhov/evangelism,dmitrypetukhov/evangelism,dmitrypetukhov/evangelism,dmitrypetukhov/evangelism | TwitterCrawlerDemo/source/Twitter.Streaming.Listner/Configurations/TwitterListnerConfiguration.cs | TwitterCrawlerDemo/source/Twitter.Streaming.Listner/Configurations/TwitterListnerConfiguration.cs | using System.Collections.Generic;
namespace Twitter.Streaming.Configurations
{
public interface ITwitterListnerConfiguration
{
ITwitterCredential Credentials { get; }
IEnumerable<string> Tracks { get; }
IEnumerable<int> Languages { get; }
}
public class TwitterListnerConfigu... | using System.Collections.Generic;
namespace Twitter.Streaming.Configurations
{
public interface ITwitterListnerConfiguration
{
ITwitterCredential Credentials { get; }
IEnumerable<string> Tracks { get; }
IEnumerable<int> Languages { get; }
}
public class TwitterListnerConfigu... | mit | C# |
3196a84629aca6c7214cb3f403d645f8a9bb775c | Update CoreXamlSchemaContext.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Serializer.Xaml/CoreXamlSchemaContext.cs | src/Serializer.Xaml/CoreXamlSchemaContext.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Portable.Xaml;
using Portable.Xaml.ComponentModel;
using System;
using System.Collections.Generic;
namespace Serializer.Xaml
{
internal class CoreXamlSc... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Portable.Xaml;
using Portable.Xaml.ComponentModel;
using System;
using System.Collections.Generic;
namespace Serializer.Xaml
{
internal class CoreXamlSc... | mit | C# |
8d265fa25a8176ca0abe799cd002c3c43a70b53f | Add missing password field | andrewhart098/crisischeckin,MobileRez/crisischeckin,mjmilan/crisischeckin,coridrew/crisischeckin,mheggeseth/crisischeckin,jplwood/crisischeckin,MobileRez/crisischeckin,mheggeseth/crisischeckin,brunck/crisischeckin,djjlewis/crisischeckin,mjmilan/crisischeckin,lloydfaulkner/crisischeckin,andrewhart098/crisischeckin,jplwo... | crisischeckin/crisicheckinweb/Views/Account/Register.cshtml | crisischeckin/crisicheckinweb/Views/Account/Register.cshtml | @model crisicheckinweb.ViewModels.RegisterModel
@{
ViewBag.Title = "Create new account...";
}
<h1>@ViewBag.Title.</h1>
<div class="col-lg-6 col-sm-12 col-xs-12 col-md-6">
@using (Html.BeginForm())
{
<div class="form-group">
@Html.AntiForgeryToken()
@Html.ValidationSummary()
</d... | @model crisicheckinweb.ViewModels.RegisterModel
@{
ViewBag.Title = "Create new account...";
}
<h1>@ViewBag.Title.</h1>
<div class="col-lg-6 col-sm-12 col-xs-12 col-md-6">
@using (Html.BeginForm())
{
<div class="form-group">
@Html.AntiForgeryToken()
@Html.ValidationSummary()
</d... | apache-2.0 | C# |
8f1c1da543cc0bdbfafe6c6cfbed86c4068a1163 | 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# |
69d32d35d659c512ff37265bb394cefb5a98cd10 | 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# |
0542f62c29f2a8e99ddfcdb241e07c613ba39e06 | bump assembly version to 0.5.5 | baughj/hybrasylserver,baughj/hybrasylserver,baughj/hybrasylserver,hybrasyl/server,hybrasyl/server,hybrasyl/server | hybrasyl/Properties/AssemblyInfo.cs | hybrasyl/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Log4Net configuration
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log4Net.config", Watch = true)]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to m... | using System.Reflection;
using System.Runtime.InteropServices;
// Log4Net configuration
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log4Net.config", Watch = true)]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to m... | agpl-3.0 | C# |
db535b1f4cbb09485a5a66078eee40d8b4b65bdd | adjust model | CtripHackthon/TravelOnline,CtripHackthon/TravelOnline,CtripHackthon/TravelOnline | TravelOnline/TravelService.Model/ServiceModel/GetTravelDiariesListRequest.cs | TravelOnline/TravelService.Model/ServiceModel/GetTravelDiariesListRequest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelService.Model.ServiceModel
{
public class GetTravelDiariesListRequest
{
public long userId { get; set; }
public DateTime startTime { get; set; }
public D... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelService.Model.ServiceModel
{
public class GetTravelDiariesListRequest
{
public DateTime startTime { get; set; }
public DateTime endTime { get; set; }
pu... | apache-2.0 | C# |
4aa83eb55186e829145862a985eca337645d5a4c | Use the fully qualified name when searching for complete declarations. | genuinelucifer/CppSharp,u255436/CppSharp,imazen/CppSharp,imazen/CppSharp,u255436/CppSharp,zillemarco/CppSharp,inordertotest/CppSharp,SonyaSa/CppSharp,mohtamohit/CppSharp,xistoso/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,Samana/CppSharp,mono/CppSharp,Samana/CppSharp,nalkaro/CppSharp,ktopouzi/CppSharp,xistoso/Cpp... | src/Generator/Passes/ResolveIncompleteDeclsPass.cs | src/Generator/Passes/ResolveIncompleteDeclsPass.cs | using System;
using CppSharp.Types;
namespace CppSharp.Passes
{
public class ResolveIncompleteDeclsPass : TranslationUnitPass
{
public ResolveIncompleteDeclsPass()
{
}
public override bool VisitClassDecl(Class @class)
{
if (@class.Ignore)
re... | using System;
using CppSharp.Types;
namespace CppSharp.Passes
{
public class ResolveIncompleteDeclsPass : TranslationUnitPass
{
public ResolveIncompleteDeclsPass()
{
}
public override bool VisitClassDecl(Class @class)
{
if (@class.Ignore)
re... | mit | C# |
c8e83b459346ef9bfe314c7a1e7fa5e8f51e13a2 | Rename list of Transactions to OpenOrder classe | Gatecoin/api-gatecoin-dotnet,Gatecoin/API_client_csharp,Gatecoin/api-gatecoin-dotnet | Model/OpenOrder.cs | Model/OpenOrder.cs | using ServiceStack.ServiceInterface.ServiceModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GatecoinServiceInterface.Model;
namespace GatecoinServiceInterface.Model{
[Serializable]
public class OpenOrder
{
public System.String Code {get; s... | using ServiceStack.ServiceInterface.ServiceModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GatecoinServiceInterface.Model;
namespace GatecoinServiceInterface.Model{
[Serializable]
public class OpenOrder
{
public System.String Code {get; s... | mit | C# |
e08e099df7933f83cd2228e80a255295e44bdc4c | Add comment about checking for PowerShell DLL loaded. | zacbrown/hiddentreasure-etw-demo | hiddentreasure-etw-demo/PowerShellImageLoad.cs | hiddentreasure-etw-demo/PowerShellImageLoad.cs | using System;
using System.Diagnostics;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellImageLoad
{
public static UserTrace CreateTrace()
{
// Unfortunately, this detection won't work for
// processes that *already* have System... | using System;
using System.Diagnostics;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellImageLoad
{
public static UserTrace CreateTrace()
{
var filter = new EventFilter(Filter
.EventIdIs(5)
.And(UnicodeStrin... | mit | C# |
e504a4238a0ab75a7f88084a90fe1567e4151499 | Change log level from warning to information | MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/Validation/NotSupportedResouceOwnerCredentialValidator.cs | src/IdentityServer4/Validation/NotSupportedResouceOwnerCredentialValidator.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
using IdentityServer4.Models;
namespace IdentityServer4.Validation
{
//... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
using IdentityServer4.Models;
namespace IdentityServer4.Validation
{
//... | apache-2.0 | C# |
81be87db6afa9afdfb5123af1c8fa7a478cea9f8 | Fix eventing issue | ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azur... | src/ResourceManager/Automation/Commands.Automation/Common/RequestSettings.cs | src/ResourceManager/Automation/Commands.Automation/Common/RequestSettings.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
26b0501ea21c0244c956313c2fc1ea781b2af7b5 | trim additional whitespace from token | 3ventic/Streams | Streams/Program.cs | Streams/Program.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
namespace Streams
{
class Program
{
private static Bot bot = new Bot();
static void Main(string[] args)
{
// Ensure data directory exists and is writeable
if (!Directory.Exi... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
namespace Streams
{
class Program
{
private static Bot bot = new Bot();
static void Main(string[] args)
{
// Ensure data directory exists and is writeable
if (!Directory.Exi... | mit | C# |
14d175badae678109af15318f6cbd574e2eca7ef | use convention based attr | Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core | src/Examples/JsonApiDotNetCoreExample/Models/Article.cs | src/Examples/JsonApiDotNetCoreExample/Models/Article.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using JsonApiDotNetCore.Models;
namespace JsonApiDotNetCoreExample.Models
{
public class Article : Identifiable
{
[Attr("name")]
public string Name { get; set; }
[HasOne("author")]
public Auth... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using JsonApiDotNetCore.Models;
namespace JsonApiDotNetCoreExample.Models
{
public class Article : Identifiable
{
[Attr("name")]
public string Name { get; set; }
[HasOne("author")]
public Auth... | mit | C# |
c4ad0b59c717e496754ae0d15f5d4d187d24dc4c | Update If_element_is_zero_replace_entire_row_and_column.cs | amithegde/AlgorithmsAndDataStructures | src/If_element_is_zero_replace_entire_row_and_column.cs | src/If_element_is_zero_replace_entire_row_and_column.cs | void Main()
{
var arr = new int[,] {
{ 1, 2, 3, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 0, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 2, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 1, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 6, 0, 9, 8 }
};
arr.Dump();
ReplaceRowsAndCo... | void Main()
{
var arr = new int[,] {
{ 1, 2, 3, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 0, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 2, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 1, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 6, 7, 9, 8 },
{ 1, 2, 3, 4, 5, 6, 0, 9, 8 }
};
arr.Dump();
ReplaceRowAndCol... | mit | C# |
1d90241044218c20e7a3e006ca165b584243292d | Change parameter type of several methods from ISessionFactoryImplementor to ISessionFactory | gliljas/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-... | src/NHibernate/Context/ManagedWebSessionContext.cs | src/NHibernate/Context/ManagedWebSessionContext.cs | using System;
using System.Collections;
using System.Web;
using NHibernate.Engine;
namespace NHibernate.Context
{
public class ManagedWebSessionContext : ICurrentSessionContext
{
private const string SessionFactoryMapKey = "NHibernate.Context.ManagedWebSessionContext.SessionFactoryMapKey";
private read... | using System;
using System.Collections;
using System.Web;
using NHibernate.Engine;
namespace NHibernate.Context
{
public class ManagedWebSessionContext : ICurrentSessionContext
{
private const string SessionFactoryMapKey = "NHibernate.Context.ManagedWebSessionContext.SessionFactoryMapKey";
private read... | lgpl-2.1 | C# |
2749f0aedb2355dbf6ef2f0d8f9800e2d3b87211 | Write back name to bound field, if it empty and name is not fixes #966 | joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Services.Impl/FieldDefaultValueGenerator.cs | JoinRpg.Services.Impl/FieldDefaultValueGenerator.cs | using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Domain.CharacterFields;
using JoinRpg.PluginHost.Interfaces;
namespace JoinRpg.Services.Impl
{
[UsedImplicitly]
internal class FieldDefaultValueGenerator : IFieldDefaultValueGenerator
{
public FieldDefaultValueGenerator(IPluginFact... | using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Domain.CharacterFields;
using JoinRpg.PluginHost.Interfaces;
namespace JoinRpg.Services.Impl
{
[UsedImplicitly]
internal class FieldDefaultValueGenerator : IFieldDefaultValueGenerator
{
public FieldDefaultValueGenerator(IPluginFactory plugi... | mit | C# |
9ab6e8391b77d15b967a37ac188de335519d0bc3 | Increment Assembly Version | Blue0500/JoshuaKearney.FileSystem | JoshuaKearney.FileSystem/Properties/AssemblyInfo.cs | JoshuaKearney.FileSystem/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[asse... | using System.Reflection;
using System.Resources;
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.
[asse... | mit | C# |
00a1e8e8332a312d5675fe9c1a24f151749275a8 | Add UseBusinessPortal to OrgUserOrgDetails. (#894) | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Models/Data/OrganizationUserOrganizationDetails.cs | src/Core/Models/Data/OrganizationUserOrganizationDetails.cs | using System;
namespace Bit.Core.Models.Data
{
public class OrganizationUserOrganizationDetails
{
public Guid OrganizationId { get; set; }
public Guid? UserId { get; set; }
public string Name { get; set; }
public bool UsePolicies { get; set; }
public bool UseSso { get; ... | using System;
namespace Bit.Core.Models.Data
{
public class OrganizationUserOrganizationDetails
{
public Guid OrganizationId { get; set; }
public Guid? UserId { get; set; }
public string Name { get; set; }
public bool UsePolicies { get; set; }
public bool UseSso { get; ... | agpl-3.0 | C# |
dcb3e19ae718dc930aaf8abb7d17277374971caa | Update Program.cs | natintosh/Numerical-Methods | NumericalMethods/GuassSeidel/GuassSeidel/Program.cs | NumericalMethods/GuassSeidel/GuassSeidel/Program.cs | using System;
namespace GuassSeidel
{
class LinearAlgebraicEquation: NumericalMethods
{
public static void Main()
{
Double[,] linearEquation = new Double[,]{
{ 25, 5, 1, 106.8 },
{ 64, 8, 1, 177.2 },
{ 144, 12, 1, 292.2 } }
;
Double[][] matrix = new Double[][]{
... | using System;
namespace GuassSeidel
{
class LinearAlgebraicEquation: NumericalMethods
{
public static void Main()
{
Double[,] linearEquation = new Double[,]{
{ 25, 2, 1, 4 },
{ 81, -4, -2, 2 },
{ 144, 3, 5, 1 }
};
Double[][] matrix = new Double[][]{
n... | mit | C# |
06d3374de291c932166dbcfa8680561065576cfb | Fix NRE when DisplayText is null (#9926) | stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Extensions/ContentOrchardHelperExtensions.cs | src/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Extensions/ContentOrchardHelperExtensions.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.ContentManagement;
using OrchardCore.DisplayManagement;
n... | using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore... | bsd-3-clause | C# |
70daf45701e2f289af588b845484b49f5db3d65a | Fix unit link for vehicles | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Units/List.cshtml | Battery-Commander.Web/Views/Units/List.cshtml | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<t... | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<t... | mit | C# |
ea66ce5f67c850ec1ddcc91f955739ade6c82e82 | Remove nl for style check passing | ZLima12/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-fram... | osu.Framework.Android/AndroidGameView.cs | osu.Framework.Android/AndroidGameView.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using Android.Content;
using Android.Runtime;
using Android.Util;
using osuTK.Graphics;
namespace osu.Framework.Android
{
public abstract c... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using Android.Content;
using Android.Runtime;
using Android.Util;
using osuTK.Graphics;
namespace osu.Framework.Android
{
public abstract c... | mit | C# |
6ed39766e182e6d53c40abefc57c8ba31d1dfd4f | fix abnormalities window VM | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/ViewModels/BuffBarWindowViewModel.cs | TCC.Core/ViewModels/BuffBarWindowViewModel.cs | using System.Windows;
using System.Windows.Threading;
using TCC.Data;
using TCC.Data.Pc;
namespace TCC.ViewModels
{
public class BuffBarWindowViewModel : TccWindowViewModel
{
//private static BuffBarWindowViewModel _instance;
//public static BuffBarWindowViewModel Instance => _instance ?? (_in... | using System.Windows;
using System.Windows.Threading;
using TCC.Data;
using TCC.Data.Pc;
namespace TCC.ViewModels
{
public class BuffBarWindowViewModel : TccWindowViewModel
{
private static BuffBarWindowViewModel _instance;
public static BuffBarWindowViewModel Instance => _instance ?? (_instan... | mit | C# |
921b96c52ae72f02c23d9444e43d0da777bc1c93 | Fix delegate marshalling thunk determinism (#4848) | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/Common/src/TypeSystem/IL/Stubs/DelegateMarshallingMethodThunk.Sorting.cs | src/Common/src/TypeSystem/IL/Stubs/DelegateMarshallingMethodThunk.Sorting.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 Internal.TypeSystem;
namespace Internal.IL.Stubs
{
// Functionality related to deterministic ordering of ... | // 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 Internal.TypeSystem;
namespace Internal.IL.Stubs
{
// Functionality related to deterministic ordering of ... | mit | C# |
8db89204128e577f79bdfb8452f8dbdee020382a | Add constructors to WebHost settings. | themotleyfool/NuGet.Lucene,Stift/NuGet.Lucene,googol/NuGet.Lucene | source/NuGet.Lucene.Web/NuGetWebApiWebHostSettings.cs | source/NuGet.Lucene.Web/NuGetWebApiWebHostSettings.cs | using System.Collections.Specialized;
using System.IO;
using System.Web.Hosting;
namespace NuGet.Lucene.Web
{
public class NuGetWebApiWebHostSettings : NuGetWebApiSettings
{
public NuGetWebApiWebHostSettings(string prefix) : base(prefix)
{
}
public NuGetWebApiWebHostSettings(s... | using System.IO;
using System.Web.Hosting;
namespace NuGet.Lucene.Web
{
public class NuGetWebApiWebHostSettings : NuGetWebApiSettings
{
protected override string MapPathFromAppSetting(string key, string defaultValue)
{
var path = base.GetAppSetting(key, defaultValue);
i... | apache-2.0 | C# |
e372e355efba030da6866f61fad35abca462cd6d | Reorder overrides in SoloPlayer to better follow chronological request order | NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu | osu.Game/Screens/Play/SoloPlayer.cs | osu.Game/Screens/Play/SoloPlayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Online.Solo;
using osu.Game.Scoring;
namespace osu.Game.Sc... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Online.Solo;
using osu.Game.Scoring;
namespace osu.Game.Sc... | mit | C# |
06857d8e80b3ec6153c535ca7a11f85c7587a049 | Make ChargeTransferData.Amount nullable | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Entities/Charges/ChargeTransferData.cs | src/Stripe.net/Entities/Charges/ChargeTransferData.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargeTransferData : StripeEntity
{
[JsonProperty("amount")]
public long? Amount { get; set; }
#region Expandable Destination (Account)
[JsonIgnore]
public string DestinationId {... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargeTransferData : StripeEntity
{
[JsonProperty("amount")]
public long Amount { get; set; }
#region Expandable Destination (Account)
[JsonIgnore]
public string DestinationId { ... | apache-2.0 | C# |
0972c7a3e4b6f660c950b3149ee083c2dfde4eb2 | Fix incorrect statistic name | ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework/Statistics/DotNetRuntimeListener.cs | osu.Framework/Statistics/DotNetRuntimeListener.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.Diagnostics.Tracing;
namespace osu.Framework.Statistics
{
// https://medium.com/criteo-labs/c-in-process-clr-event-listeners-with-net-core-2-2-ef4075c14... | // 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.Diagnostics.Tracing;
namespace osu.Framework.Statistics
{
// https://medium.com/criteo-labs/c-in-process-clr-event-listeners-with-net-core-2-2-ef4075c14... | mit | C# |
1be82ad24452af7f537784a85c1df21a2efae440 | Update ChristianHoejsager.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ChristianHoejsager.cs | src/Firehose.Web/Authors/ChristianHoejsager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ChristianHoejsager : IAmACommunityMember
{
public string FirstName => "Christian";
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ChristianHoejsager : IAmACommunityMember
{
public string FirstName => "Christian";
public ... | mit | C# |
544522cf8c6217fd30ea5a3935128324648668b7 | Support binding as the parameter value | KodamaSakuno/Library | Sakuno.UserInterface/Commands/InvokeMethodExtension.cs | Sakuno.UserInterface/Commands/InvokeMethodExtension.cs | using Sakuno.UserInterface.ObjectOperations;
using System;
using System.Windows.Data;
using System.Windows.Markup;
namespace Sakuno.UserInterface.Commands
{
public class InvokeMethodExtension : MarkupExtension
{
string r_Method;
object r_Parameter;
public InvokeMethodExtension(string... | using Sakuno.UserInterface.ObjectOperations;
using System;
using System.Windows.Markup;
namespace Sakuno.UserInterface.Commands
{
public class InvokeMethodExtension : MarkupExtension
{
string r_Method;
object r_Parameter;
public InvokeMethodExtension(string rpMethod) : this(rpMethod,... | mit | C# |
f8b790b5c1a2da5fa7f6a96863c02e5f1d2fd1fc | correct the link to docs | simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce | src/SimplCommerce.WebHost/Themes/SampleTheme/Modules/SimplCommerce.Module.Core/Views/Home/Index.cshtml | src/SimplCommerce.WebHost/Themes/SampleTheme/Modules/SimplCommerce.Module.Core/Views/Home/Index.cshtml | @model SimplCommerce.Module.Core.ViewModels.HomeViewModel
@{
ViewData["Title"] = "Home Page";
}
@await Html.PartialAsync("_WidgetInstances", Model.WidgetInstances.Where(x => x.WidgetZoneId == WidgetZoneIds.HomeFeatured))
<div>
<h2 class="page-header">Sample Theme</h2>
<p>It's very easy to find and instal... | @model SimplCommerce.Module.Core.ViewModels.HomeViewModel
@{
ViewData["Title"] = "Home Page";
}
@await Html.PartialAsync("_WidgetInstances", Model.WidgetInstances.Where(x => x.WidgetZoneId == WidgetZoneIds.HomeFeatured))
<div>
<h2 class="page-header">Sample Theme</h2>
<p>It's very easy to find and instal... | apache-2.0 | C# |
396d79e0d2700e5515fef6022052cf054316713b | Update Lightning.cs | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Advanced/Sorcerer/Lightning.cs | trunk/DefaultCombat/Routines/Advanced/Sorcerer/Lightning.cs | // Copyright (C) 2011-2015 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Lightning : RotationBase
{
public override string Name
{
get ... | // Copyright (C) 2011-2015 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Lightning : RotationBase
{
public override string Name
{
get... | apache-2.0 | C# |
4149150accb5aa126479d4b3595971f9e8fcb50e | Resolve Parser ambiguity | johnbeisner/cli,harshjain2/cli,ravimeda/cli,ravimeda/cli,johnbeisner/cli,blackdwarf/cli,ravimeda/cli,Faizan2304/cli,livarcocc/cli-1,svick/cli,EdwardBlair/cli,EdwardBlair/cli,dasMulli/cli,Faizan2304/cli,dasMulli/cli,blackdwarf/cli,johnbeisner/cli,blackdwarf/cli,harshjain2/cli,blackdwarf/cli,harshjain2/cli,livarcocc/cli-... | src/dotnet/commands/dotnet-pack/PackCommand.cs | src/dotnet/commands/dotnet-pack/PackCommand.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.MSBuild... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.MSBuild... | mit | C# |
3fbc7ea6a4bfb12438ddbcbe01e24d3035bc486f | Make button toggle state accessible. | ryanwang/LeapMotionCoreAssets,Amarcolina/LeapMotionCoreAssets | Assets/LeapMotion/Widgets/Scripts/Button/ButtonToggleBase.cs | Assets/LeapMotion/Widgets/Scripts/Button/ButtonToggleBase.cs | using UnityEngine;
using System.Collections;
namespace LMWidgets
{
public abstract class ButtonToggleBase : ButtonBase, BinaryInteractionHandler<bool>, IDataBoundWidget<ButtonToggleBase, bool> {
protected DataBinderToggle m_dataBinder;
protected bool m_toggleState = true;
public abstract void ButtonTu... | using UnityEngine;
using System.Collections;
namespace LMWidgets
{
public abstract class ButtonToggleBase : ButtonBase, BinaryInteractionHandler<bool>, IDataBoundWidget<ButtonToggleBase, bool> {
protected DataBinderToggle m_dataBinder;
protected bool m_toggleState = true;
public abstract void ButtonTu... | apache-2.0 | C# |
8d58cbf234ba482d4d994f5060e2be20d4b419ea | Add auth endpoint to API | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/API/UsersController.cs | Battery-Commander.Web/Controllers/API/UsersController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Tex... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using System.Net;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
public class UsersController : ApiController
{
private rea... | mit | C# |
8fcbddc23be1caff41f59f17b90624171fa8e43e | Update ClaimsHelper.AddClaimsToIdentity to infer the claim value type from the JSON token type (#1002) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Authentication.OpenIdConnect/Utility/ClaimsHelper.cs | src/Microsoft.AspNetCore.Authentication.OpenIdConnect/Utility/ClaimsHelper.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.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Authentication.OpenIdC... | // 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.Security.Claims;
using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
{
internal static class Clai... | apache-2.0 | C# |
a289422c6cf034a84d78dc448d61297bc9065217 | Update Zcash to Fundingstream | coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore | src/Miningcore/Blockchain/Equihash/DaemonResponses/GetBlockSubsidyResponse.cs | src/Miningcore/Blockchain/Equihash/DaemonResponses/GetBlockSubsidyResponse.cs | /*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation ... | /*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation ... | mit | C# |
3a00a308980512a3a15410c8f25d6c7d0e2cdd60 | Fix for NH3641 | RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,livioc/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate... | src/NHibernate/Linq/ReWriters/AddJoinsReWriter.cs | src/NHibernate/Linq/ReWriters/AddJoinsReWriter.cs | using System.Linq;
using NHibernate.Engine;
using NHibernate.Linq.Visitors;
using Remotion.Linq;
using Remotion.Linq.Clauses;
namespace NHibernate.Linq.ReWriters
{
internal interface IIsEntityDecider
{
bool IsEntity(System.Type type);
bool IsIdentifier(System.Type type, string propertyName);
}
p... | using NHibernate.Linq.Visitors;
using Remotion.Linq;
using Remotion.Linq.Clauses;
namespace NHibernate.Linq.ReWriters
{
internal interface IIsEntityDecider
{
bool IsEntity(System.Type type);
bool IsIdentifier(System.Type type, string propertyName);
}
public class AddJoinsReWriter : QueryModelVisit... | lgpl-2.1 | C# |
1da23f984cdc8becfb1a6f21811f8c9c5af734cd | Add url short format uniqueness | jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener | src/UrlShortenerApi/Repositories/UrlRepository.cs | src/UrlShortenerApi/Repositories/UrlRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using UrlShortenerApi.Data;
using UrlShortenerApi.Models;
namespace UrlShortenerApi.Repositories
{
public class UrlRepository : IUrlRepository
{
ApplicationDbContext _context;
public UrlRepository(ApplicationDbContext context)
... | using System;
using System.Collections.Generic;
using System.Linq;
using UrlShortenerApi.Data;
using UrlShortenerApi.Models;
namespace UrlShortenerApi.Repositories
{
public class UrlRepository : IUrlRepository
{
ApplicationDbContext _context;
public UrlRepository(ApplicationDbContext context)
... | agpl-3.0 | C# |
970569303ddc7b24ef59fab360afc646da64f911 | fix memoryissue throttler | jeroenverh/teamleader-dotnet | src/TeamleaderDotNet/Common/Throttler.cs | src/TeamleaderDotNet/Common/Throttler.cs | using System;
using System.Threading.Tasks;
namespace TeamleaderDotNet.Common
{
public static class Throttler
{
private static DateTime s_timeOfFirstCall;
private static int s_currentNumberOfCalls;
// according to the teamleader documentation only 5 request per 25 seconds are ... | using System;
using System.Threading.Tasks;
namespace TeamleaderDotNet.Common
{
public static class Throttler
{
private static DateTime s_timeOfFirstCall;
private static int s_currentNumberOfCalls;
// according to the teamleader documentation only 5 request per 25 seconds are ... | mit | C# |
9075819f7a3c1b433d90f629027fb68a1a259d7d | Correct formatting of BytesToHuman | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Utils/FormatUtils.cs | src/SyncTrayzor/Utils/FormatUtils.cs | using SyncTrayzor.Properties.Strings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.Utils
{
public static class FormatUtils
{
private static readonly string[] sizes = { "B", "KB", "MB", "GB" };
public ... | using SyncTrayzor.Properties.Strings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.Utils
{
public static class FormatUtils
{
private static readonly string[] sizes = { "B", "KB", "MB", "GB" };
public ... | mit | C# |
59dd10b36fe5c210dcb1b7e852e0c96e66668b49 | Add docs, use ternary operator | twilio/twilio-csharp | src/Twilio/Converters/Serializers.cs | src/Twilio/Converters/Serializers.cs | using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Twilio.Converters
{
/// <summary>
/// Serialization methods for various datatypes before making requests to the API
/// </summary>
public class Serializers
{
/// <summary>
/// Produce a json string from inpu... | using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Twilio.Converters
{
/// <summary>
/// Serialization methods for various datatypes before making requests to the API
/// </summary>
public class Serializers
{
/// <summary>
/// Produce a json string from inpu... | mit | C# |
40b52d4af51ac33f76700ae2e954fb59ff45c81a | Comment update. | RevoluPowered/UsefulUnityTools | UsefulUnityTools/Assets/Modules/Damage/DeathExplosion.cs | UsefulUnityTools/Assets/Modules/Damage/DeathExplosion.cs | using UnityEngine;
using System.Collections;
/// <summary>
/// On object death spawn an explosion effect.
/// </summary>
[RequireComponent(typeof(DamageBase))]
public class DeathExplosion : MonoBehaviour {
/// <summary>
/// The explosion effect prefab.
/// </summary>
public GameObject mExplosionEffec... | using UnityEngine;
using System.Collections;
/// <summary>
/// On object death spawn an explosion effect.
/// </summary>
[RequireComponent(typeof(DamageBase))]
public class DeathExplosion : MonoBehaviour {
/// <summary>
/// The explosion effect prefab.
/// </summary>
public GameObject mExplosionEffec... | mit | C# |
79335ddf5c2a744a53d8692770333063fad630f6 | バージョン番号更新。 | YKSoftware/YKToolkit.Controls | YKToolkit.Controls/Properties/AssemblyInfo.cs | YKToolkit.Controls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | mit | C# |
b08505a014e4c5f886691ecf36f71400063cc44f | adjust country service | AzureDay/2016-WebSite,AzureDay/2016-WebSite | TeamSpark.AzureDay.WebSite.App/Service/CountryService.cs | TeamSpark.AzureDay.WebSite.App/Service/CountryService.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using TeamSpark.AzureDay.WebSite.App.Entity;
using TeamSpark.AzureDay.WebSite.Data;
namespace TeamSpark.AzureDay.WebSite.App.Service
{
public sealed class CountryService
{
public async Task<List<Country>> GetCount... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using TeamSpark.AzureDay.WebSite.App.Entity;
using TeamSpark.AzureDay.WebSite.Data;
namespace TeamSpark.AzureDay.WebSite.App.Service
{
public sealed class CountryService
{
public async Task<List<Country>> GetCount... | mit | C# |
4e58a6d6cef7e2f323a7263c22533b3e94abbc79 | Update RecordTests.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | tests/Core2D.UnitTests/Data/RecordTests.cs | tests/Core2D.UnitTests/Data/RecordTests.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using Core2D.Data;
namespace Core2D.UnitTests
{
public class RecordTests
{
[Fact]
[Trait("Core2D.Data", "Database")]
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using Core2D.Data;
namespace Core2D.UnitTests
{
public class RecordTests
{
[Fact]
[Trait("Core2D.Data", "Database")]
... | mit | C# |
17193ce55972b1f27c5e32c94805a48cc8c80ab4 | Fix the CollisionCircle to use the transform of the linked entity to have the world position of its center. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell/Physics/Collision/CollisionCircle.cs | Xmas-Hell/Xmas-Hell/Physics/Collision/CollisionCircle.cs | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.Shapes;
namespace Xmas_Hell.Physics.Collision
{
public class CollisionCircle : CollisionElement
{
public float Radius;
private Vector2 _relativePosition;
public CollisionCircle... | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.Shapes;
namespace Xmas_Hell.Physics.Collision
{
public class CollisionCircle : CollisionElement
{
public float Radius;
private Vector2 _relativePosition;
public CollisionCircle... | mit | C# |
f881c3b90994f659cb91cf2757c729977704e8be | Add debug info for failed import. | apsdsm/datahelpers | Assets/Vendor/DataHelpers/Editor/ValidationRunner.cs | Assets/Vendor/DataHelpers/Editor/ValidationRunner.cs |
using System.Collections.Generic;
using DataHelpers.Contracts;
namespace DataHelpers {
/// <summary>
/// Base class validator. All validators should be derived from this class.
/// </summary>
public class ValidationRunner {
/// <summary>
/// Check to see if the current v... |
using System.Collections.Generic;
using DataHelpers.Contracts;
namespace DataHelpers {
/// <summary>
/// Base class validator. All validators should be derived from this class.
/// </summary>
public class ValidationRunner {
/// <summary>
/// Check to see if the current valida... | mit | C# |
b1b9eb46289883beb22d77056ad72a9baa390f5f | Update UsingCellIndexInCellsCollection.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/Data/Handling/AccessingCells/UsingCellIndexInCellsCollection.cs | Examples/CSharp/Data/Handling/AccessingCells/UsingCellIndexInCellsCollection.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.AccessingCells
{
public class UsingCellIndexInCellsCollection
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string d... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.AccessingCells
{
public class UsingCellIndexInCellsCollection
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cell... | mit | C# |
4ce0fcc0ef9a6982cd2cf4c5cf8973b3d03644fb | Update SlurredMod.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Resources/ScriptableObjects/Speech/CustomMods/SlurredMod.cs | UnityProject/Assets/Resources/ScriptableObjects/Speech/CustomMods/SlurredMod.cs | using System.Text.RegularExpressions;
using System.Collections.Generic;
using UnityEngine;
using AdminTools;
[CreateAssetMenu(fileName = "CustomSpeechModifierCode", menuName = "ScriptableObjects/SpeechModifiers/SlurredSpeech")]
public class SlurredMod : CustomSpeechModifier
{
public int drunkSpeechTime;
public Mind... | using System.Text.RegularExpressions;
using System.Collections.Generic;
using UnityEngine;
using AdminTools;
[CreateAssetMenu(fileName = "CustomSpeechModifierCode", menuName = "ScriptableObjects/SpeechModifiers/SlurredSpeech")]
public class SlurredMod : CustomSpeechModifier
{
public int drunkSpeechTime;
public Mind... | agpl-3.0 | C# |
069ad35fe49ea5b96a45ba2929be9eb7535d5399 | Fix test model | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.Tests/Model/FakeRaygunClient.cs | Mindscape.Raygun4Net.Tests/Model/FakeRaygunClient.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;
using Mindscape.Raygun4Net.Messages;
namespace Mindscape.Raygun4Net.Tests
{
public class FakeRaygunClient : RaygunClient
{
public FakeRaygunCl... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;
using Mindscape.Raygun4Net.Messages;
namespace Mindscape.Raygun4Net.Tests
{
public class FakeRaygunClient : RaygunClient
{
public FakeRaygunCl... | mit | C# |
cbc1d605f9216a665053f0e88f9e91af7528ab55 | Add integer matrices, WIP | ajlopez/TensorSharp | Src/TensorSharp.Tests/Operations/AddIntegerOperationTests.cs | Src/TensorSharp.Tests/Operations/AddIntegerOperationTests.cs | namespace TensorSharp.Tests.Operations
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TensorSharp.Operations;
[TestClass]
public class AddIntegerOperationTests
{
[TestMethod]
public void AddSingleValues()
{
... | namespace TensorSharp.Tests.Operations
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TensorSharp.Operations;
[TestClass]
public class AddIntegerOperationTests
{
[TestMethod]
public void AddSingleValues()
{
... | mit | C# |
0ee5d4f4e2d88e60af55b02cee202e9d087f4c66 | Update XML doc | 0xd4d/dnlib | src/DotNet/ModuleCreationOptions.cs | src/DotNet/ModuleCreationOptions.cs | // dnlib: See LICENSE.txt for more info
using dnlib.IO;
using dnlib.DotNet.Pdb;
using dnlib.DotNet.Pdb.Symbols;
namespace dnlib.DotNet {
/// <summary>
/// <see cref="ModuleDefMD"/> creation options
/// </summary>
public sealed class ModuleCreationOptions {
internal static readonly ModuleCreationOptions Default... | // dnlib: See LICENSE.txt for more info
using dnlib.IO;
using dnlib.DotNet.Pdb;
using dnlib.DotNet.Pdb.Symbols;
namespace dnlib.DotNet {
/// <summary>
/// <see cref="ModuleDefMD"/> creation options
/// </summary>
public sealed class ModuleCreationOptions {
internal static readonly ModuleCreationOptions Default... | mit | C# |
aebf82f11d73902731c8272b21730ff590746d56 | Edit District.cs (This is one option, I'm sure there's better way to do this) | iwelina-popova/Blackcurrant-team | MonopolyGame/MonopolyGame/Model/Classes/District.cs | MonopolyGame/MonopolyGame/Model/Classes/District.cs | namespace MonopolyGame.Model.Classes
{
using System;
using System.Linq;
using System.Collections.Generic;
public class District
{
public List<StreetTile> LoadDistrict(List<StreetTile> streets, StreetTile currentStreet)
{
List<StreetTile> district = new List<StreetTile>(... | namespace MonopolyGame.Model.Classes
{
using System;
using System.Linq;
using System.Collections.Generic;
public class District
{
public List<StreetTile> LoadDistrict(List<StreetTile> streets, StreetTile currentStreet)
{
List<StreetTile> district = new List<StreetTile>(... | mit | C# |
bbe617c8ee51331fd71551d40235963247031216 | Remove old TODO: removing duplicates from overridable members | svermeulen/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,mispencer/OmniSharpServer,OmniSharp/omnisharp-server,corngood/omnisharp-server | OmniSharp/AutoComplete/Overrides/OverrideContext.cs | OmniSharp/AutoComplete/Overrides/OverrideContext.cs | using System.Collections.Generic;
using System.Linq;
using ICSharpCode.NRefactory.TypeSystem;
using OmniSharp.AutoComplete;
using OmniSharp.AutoComplete.Overrides;
using OmniSharp.Common;
using OmniSharp.Parser;
namespace Omnisharp.AutoComplete.Overrides {
/// <summary>
/// Represents a context where some b... | using System.Collections.Generic;
using System.Linq;
using ICSharpCode.NRefactory.TypeSystem;
using OmniSharp.AutoComplete;
using OmniSharp.AutoComplete.Overrides;
using OmniSharp.Common;
using OmniSharp.Parser;
namespace Omnisharp.AutoComplete.Overrides {
/// <summary>
/// Represents a context where some b... | mit | C# |
f6611e5095cfc29d0c8e9dbcdab009db7b1de2db | switch to configurable env link | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<div class="das-panel das-panel--featured">
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<div class="das-panel das-panel--featured">
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | mit | C# |
0e1d1c5a15af17929b1dbe950de86c8f4968f1ef | Fix a Bug where Merging Sections causes Problems | CryZe/GekkoAssembler | GekkoAssembler.Common/Optimizers/WriteDataOptimizer.cs | GekkoAssembler.Common/Optimizers/WriteDataOptimizer.cs | using System.Linq;
using GekkoAssembler.IntermediateRepresentation;
namespace GekkoAssembler.Optimizers
{
public class WriteDataOptimizer : IOptimizer
{
public IRCodeBlock Optimize(IRCodeBlock block)
{
var units = block.Units;
var replaced = true;
while (re... | using System.Linq;
using GekkoAssembler.IntermediateRepresentation;
namespace GekkoAssembler.Optimizers
{
public class WriteDataOptimizer : IOptimizer
{
public IRCodeBlock Optimize(IRCodeBlock block)
{
var units = block.Units;
var replaced = true;
while (re... | mit | C# |
f14d38fbb938c1f6ec2be13580ea9f055c714772 | Update CompositeStringLocalizer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Localization/CompositeStringLocalizer.cs | TIKSN.Core/Localization/CompositeStringLocalizer.cs | using Microsoft.Extensions.Localization;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace TIKSN.Localization
{
public class CompositeStringLocalizer : IStringLocalizer
{
public CompositeStringLocalizer(IEnumerable<IStringLocalizer> localizers)
... | using Microsoft.Extensions.Localization;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace TIKSN.Localization
{
public class CompositeStringLocalizer : IStringLocalizer
{
public CompositeStringLocalizer(IEnumerable<IStringLocalizer> localizers)
... | mit | C# |
4c8cd035b3a20c3449bd69f44605f83cf2b24e31 | Fix test failure. | oliver-feng/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,Azure/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,Azure/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,oliver-f... | test/Microsoft.WindowsAzure.Jobs.Host.UnitTests/Protocols/HostMessageTests.cs | test/Microsoft.WindowsAzure.Jobs.Host.UnitTests/Protocols/HostMessageTests.cs | using System;
using Microsoft.WindowsAzure.Jobs.Host.Protocols;
using Newtonsoft.Json;
using Xunit;
namespace Microsoft.WindowsAzure.Jobs.Host.UnitTests.Protocols
{
public class HostMessageTests
{
[Fact]
public void JsonConvert_Roundtrips()
{
// Arrange
HostMess... | using System;
using Microsoft.WindowsAzure.Jobs.Host.Protocols;
using Newtonsoft.Json;
using Xunit;
namespace Microsoft.WindowsAzure.Jobs.Host.UnitTests.Protocols
{
public class HostMessageTests
{
[Fact]
public void JsonConvert_Roundtrips()
{
// Arrange
HostMess... | mit | C# |
60b53c1b6eceb6d072e5db57dcf96a4f551de8da | update footer | lderache/LeTruck,lderache/LeTruck,lderache/LeTruck | src/mvc5/TheTruck.Web/Views/Shared/_Layout.cshtml | src/mvc5/TheTruck.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Le Truck</title>
<link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:400,700" rel="stylesheet">
@Styles.Render("~/Content/css")
... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Le Truck</title>
<link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:400,700" rel="stylesheet">
@Styles.Render("~/Content/css")
... | mit | C# |
db5092a36c93f0a42e61af80f5f36922f5412857 | Update CaptainsMessListener.cs | hengineer/CaptainsMess | Assets/CaptainsMess/CaptainsMessListener.cs | Assets/CaptainsMess/CaptainsMessListener.cs | using UnityEngine;
using UnityEngine.Networking;
using System.Collections.Generic;
public class CaptainsMessListener : MonoBehaviour
{
[HideInInspector]
public CaptainsMess mess;
public void Awake()
{
mess = FindObjectOfType(typeof(CaptainsMess)) as CaptainsMess;
}
public virtual void OnStartConnecting()
{... | using UnityEngine;
using UnityEngine.Networking;
using System.Collections.Generic;
public class CaptainsMessListener : MonoBehaviour
{
public CaptainsMess mess;
public void Awake()
{
mess = FindObjectOfType(typeof(CaptainsMess)) as CaptainsMess;
}
public virtual void OnStartConnecting()
{
// Override
}
... | mit | C# |
0ee463f51c2d5df2596fdb86de3797a9e50b3752 | Fix Google Fonts link in /views/index.cshtml | kriasoft/AspNet-Server-Template,kriasoft/aspnet-starter-kit,jmptrader/AspNet-Server-Template,koistya/aspnet-starter-kit,hcngo/craft-exercise-intuit,koistya/aspnet-starter-kit,kriasoft/aspnet-starter-kit,hcngo/craft-exercise-intuit,jmptrader/AspNet-Server-Template | server/Views/Home/Index.cshtml | server/Views/Home/Index.cshtml | <!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>ASP.NET Core Starter Kit</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http... | <!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>ASP.NET Core Starter Kit</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http... | mit | C# |
1858623c96f9dd2b082cd554b77f8c11c246161e | Remove commented code. | sshnet/SSH.NET,miniter/SSH.NET,Bloomcredit/SSH.NET,GenericHero/SSH.NET | Renci.SshClient/Renci.SshNet/Channels/ServerChannel.cs | Renci.SshClient/Renci.SshNet/Channels/ServerChannel.cs | using Renci.SshNet.Messages.Connection;
namespace Renci.SshNet.Channels
{
internal abstract class ServerChannel : Channel
{
internal void Initialize(Session session, uint localWindowSize, uint localPacketSize, uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize)
{
... | using System;
using Renci.SshNet.Messages.Connection;
namespace Renci.SshNet.Channels
{
internal abstract class ServerChannel : Channel
{
internal void Initialize(Session session, uint localWindowSize, uint localPacketSize, uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize)... | mit | C# |
ad4708177641df6e298742aeec411477f2a7d535 | Fix for 'use pattern matching' issue. | autofac/Autofac | src/Autofac/Core/ComponentRegistrationExtensions.cs | src/Autofac/Core/ComponentRegistrationExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Autofac.Core.Lifetime;
namespace Autofac.Core
{
/// <summary>
/// Extension methods for <see cref="IComponentRegistration"/>.
/// </summary>
public static class ComponentRegistrationExtensions
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using Autofac.Core.Lifetime;
namespace Autofac.Core
{
/// <summary>
/// Extension methods for <see cref="IComponentRegistration"/>.
/// </summary>
public static class ComponentRegistrationExtensions
{
/// <summary>
... | mit | C# |
10550efbdf94d057c39abe9eb9d9f879a3d04eab | Update version to 0.0.5 | superkarn/RatanaLibrary | src/RatanaLibrary.Common/Properties/AssemblyInfo.cs | src/RatanaLibrary.Common/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("Ra... | 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("Ra... | apache-2.0 | C# |
edf4e91fc3df8936edfd7c3b6202783f96f7f3e4 | Improve performance of StringBuilderCache.Local() | christophano/markdig,lunet-io/markdig | src/Textamina.Markdig/Helpers/StringBuilderCache.cs | src/Textamina.Markdig/Helpers/StringBuilderCache.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Textamina.Markdig.Helpers
{
public class StringBuilderCache
{
/// <summary>
/// A StringBuilder that can be used locally in a method body only.
/// </summary>
[ThreadStatic]
private static read... | using System;
using System.Collections.Generic;
using System.Text;
namespace Textamina.Markdig.Helpers
{
public class StringBuilderCache
{
/// <summary>
/// A StringBuilder that can be used locally in a method body only.
/// </summary>
[ThreadStatic]
private static read... | bsd-2-clause | C# |
711a8a48c20167c28f129aecffc34cc5e009c1c7 | Clean up PollItem. | jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq | src/proj/ZeroMQ/Interop/PollItem.cs | src/proj/ZeroMQ/Interop/PollItem.cs | namespace ZeroMQ.Interop
{
using System;
using System.Runtime.InteropServices;
[Flags]
internal enum PollEvent
{
// ZMQ_POLLIN
In = 0x1,
// ZMQ_POLLOUT
Out = 0x2,
// ZMQ_POLLERR
Error = 0x4
}
[StructLayout(LayoutKind.Sequ... | namespace ZeroMQ.Interop
{
using System;
using System.Runtime.InteropServices;
[Flags]
internal enum PollEvent
{
PollIn = 0x1,
PollOut = 0x2,
PollErr = 0x4
}
[StructLayout(LayoutKind.Sequential)]
internal struct PollItem
{
// ReSharp... | apache-2.0 | C# |
d2864cf3c8ce326023ca7f6733704da3fc05a5f5 | Fix tests | Sunnyline2/FilmWeb-API | FilmWebAPI/FilmWebAPI.Tests/FilmWebTests.cs | FilmWebAPI/FilmWebAPI.Tests/FilmWebTests.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace FilmWebAPI.Tests
{
public class FilmWebTests
{
private readonly FilmWeb _filmWeb;
public FilmWebTests()
{
_filmWeb = new FilmWeb();
... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Xunit;
namespace FilmWebAPI.Tests
{
public class FilmWebTests
{
private readonly FilmWeb _filmWeb;
public FilmWebTests()
{
_filmWeb = new FilmWeb();
}
[Fact]
public async Ta... | mit | C# |
fb1da608f88989ad9eaf00c97f5318cb005dbd4b | add failing tests for point parsing | AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,g... | tests/Avalonia.Markup.Xaml.UnitTests/Converters/PointsListTypeConverterTests.cs | tests/Avalonia.Markup.Xaml.UnitTests/Converters/PointsListTypeConverterTests.cs | using System.Collections.Generic;
using Avalonia.Controls.Shapes;
using Avalonia.Markup.Xaml.Converters;
using Xunit;
namespace Avalonia.Markup.Xaml.UnitTests.Converters
{
public class PointsListTypeConverterTests
{
[Theory]
[InlineData("1,2 3,4")]
[InlineData("1 2 3 4")]
[Inlin... | using System.Collections.Generic;
using Avalonia.Controls.Shapes;
using Avalonia.Markup.Xaml.Converters;
using Xunit;
namespace Avalonia.Markup.Xaml.UnitTests.Converters
{
public class PointsListTypeConverterTests
{
[Theory]
[InlineData("1,2 3,4")]
[InlineData("1 2 3 4")]
[Inlin... | mit | C# |
0aecf820ad250dfd70c64458e603b099903396f1 | remove duplicated comment | palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent | DataTableWriter/Connection/IDbConnectionInfo.cs | DataTableWriter/Connection/IDbConnectionInfo.cs | namespace DataTableWriter.Connection
{
/// <summary>
/// Describes the information required to connect to a remote database.
/// </summary>
public interface IDbConnectionInfo
{
string DatabaseName { get; set; }
string Password { get; set; }
int? Port { get; set; }
st... | namespace DataTableWriter.Connection
{
/// <summary>
/// Describes the information required to connect to a remote database.
/// </summary>
public interface IDbConnectionInfo
{
string DatabaseName { get; set; }
string Password { get; set; }
// gyulalaszlo: the nullability of... | mit | C# |
d05d1bd1b1b3186b66a40329cc77fd87b83f21aa | Remove enforcing HTTPS | neuecc/MagicOnion | samples/JwtAuthentication/JwtAuthApp.Server/Startup.cs | samples/JwtAuthentication/JwtAuthApp.Server/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JwtAuthApp.Server.Authentication;
using LitJWT;
using LitJWT.Algorithms;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Configura... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JwtAuthApp.Server.Authentication;
using LitJWT;
using LitJWT.Algorithms;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Configura... | mit | C# |
ec591a262c92d86ef47da9700275052bf5ae61e6 | Fix activation function invoking | A1essandro/NeuralNetworkConstructor | NeuralNetworkConstructor/Network/Node/Neuron.cs | NeuralNetworkConstructor/Network/Node/Neuron.cs | using System.Collections.Generic;
using System.Linq;
using NeuralNetworkConstructor.Network.Node.ActivationFunction;
using NeuralNetworkConstructor.Network.Node.Synapse;
using System;
using NeuralNetworkConstructor.Common;
namespace NeuralNetworkConstructor.Network.Node
{
public class Neuron : INode, IRefreshable... | using System.Collections.Generic;
using System.Linq;
using NeuralNetworkConstructor.Network.Node.ActivationFunction;
using NeuralNetworkConstructor.Network.Node.Synapse;
using System;
using NeuralNetworkConstructor.Common;
namespace NeuralNetworkConstructor.Network.Node
{
public class Neuron : INode, IRefreshable... | mit | C# |
265bba1a886db2e988bbed5a502597128badda1b | Add test coverage of event handling | NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Editing/TestSceneBlueprintSelectBox.cs | osu.Game.Tests/Visual/Editing/TestSceneBlueprintSelectBox.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Events;
using osu.Game.Screens.Edit.Compose.Components;
using osuTK;
nam... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.Edit.Compose.Components;
using osuTK;
namespace osu.Game.Tests.Visual.Editi... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.