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 |
|---|---|---|---|---|---|---|---|---|
7280f77a02621decb74bd0c08e84cc79de2ad35e | Trim whitespace | UselessToucan/osu,peppy/osu-new,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,Frontear/osuKyzer,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,johnneijzen/osu,naoey/osu,... | osu.Game/Beatmaps/BeatmapSetOnlineInfo.cs | osu.Game/Beatmaps/BeatmapSetOnlineInfo.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
namespace osu.Game.Beatmaps
{
/// <summary>
/// Beatmap set info retrieved for previewing locally without having the set downloaded.
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
namespace osu.Game.Beatmaps
{
/// <summary>
/// Beatmap set info retrieved for previewing locally without having the set downloaded.
... | mit | C# |
43adae3d9799f966e267a142ed5e0f877d4f6002 | Change OnDeserialized to OnDeserializing | yas-mnkornym/TaihaToolkit | source/TaihaToolkit.Core/NotificationObjectWithPropertyBag.cs | source/TaihaToolkit.Core/NotificationObjectWithPropertyBag.cs | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace Studiotaiha.Toolkit
{
[DataContract]
public class NotificationObjectWithPropertyBag : NotificationObject
{
[IgnoreDataMember]
protected IDictionary<string, object> PropertyBag { ... | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace Studiotaiha.Toolkit
{
[DataContract]
public class NotificationObjectWithPropertyBag : NotificationObject
{
[IgnoreDataMember]
protected IDictionary<string, object> PropertyBag { ... | mit | C# |
cafd23313af54a0951be322fca2296a7291bfcab | Validate collider type in NearInteractionGrabbable (#5211) | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit.Services/InputSystem/NearInteractionGrabbable.cs | Assets/MixedRealityToolkit.Services/InputSystem/NearInteractionGrabbable.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Add a NearInteractionGrabbable component to any GameObject that has a c... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Add a NearInteractionGrabbable component to any GameObject that has a c... | mit | C# |
600d0798678a35880f512fb6162e23170f3a88ab | Remove contract count check for protobuf | modulexcite/lokad-cqrs | Framework/Lokad.Cqrs.Azure/Core.Serialization/DataSerializerWithProtoBuf.cs | Framework/Lokad.Cqrs.Azure/Core.Serialization/DataSerializerWithProtoBuf.cs | #region (c) 2010-2011 Lokad CQRS - New BSD License
// Copyright (c) Lokad SAS 2010-2011 (http://www.lokad.com)
// This code is released as Open Source under the terms of the New BSD Licence
// Homepage: http://lokad.github.com/lokad-cqrs/
#endregion
using System;
using System.Collections.Generic;
using ProtoBuf.Me... | #region (c) 2010-2011 Lokad CQRS - New BSD License
// Copyright (c) Lokad SAS 2010-2011 (http://www.lokad.com)
// This code is released as Open Source under the terms of the New BSD Licence
// Homepage: http://lokad.github.com/lokad-cqrs/
#endregion
using System;
using System.Collections.Generic;
using ProtoBuf.Me... | bsd-3-clause | C# |
0824a3c637fa8510144fae3b8c63f3c27e043ca5 | fix OperationException | yezorat/BtrieveWrapper,yezorat/BtrieveWrapper,gomafutofu/BtrieveWrapper,gomafutofu/BtrieveWrapper | BtrieveWrapper/OperationException.cs | BtrieveWrapper/OperationException.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Text;
using System.Xml.Serialization;
namespace BtrieveWrapper
{
[Serializable]
public class OperationException : Exception
{
stat... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Text;
using System.Xml.Serialization;
namespace BtrieveWrapper
{
[Serializable]
public class OperationException : Exception
{
stat... | mit | C# |
8820260648cad4c4db6c994e96a53461f32cbf9e | Comment realign | connellw/Firestorm | src/Firestorm.Endpoints.Formatting/Json/JsonCreationConverter.cs | src/Firestorm.Endpoints.Formatting/Json/JsonCreationConverter.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Firestorm.Endpoints.Formatting.Json
{
/// <remarks>
/// Taken from http://stackoverflow.com/a/12641541/369247 and abstracted to <see cref="JsonGenericReadOnlyConverterBase{T}"/>.
/// </remarks>
public abstract class JsonCreation... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Firestorm.Endpoints.Formatting.Json
{
/// <remarks>
/// Taken from http://stackoverflow.com/a/12641541/369247 and abstracted to <see cref="JsonGenericReadOnlyConverterBase{T}"/>.
/// </remarks>
public abstract class JsonCreation... | mit | C# |
a1dd141d265c26f3f3095c6a66b06054d9a0a71f | tweak in logic | justinlhudson/Impromptu | C#/Impromptu/Utilities/Extensions.cs | C#/Impromptu/Utilities/Extensions.cs | using System;
using System.Linq;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Impromptu.Utilities
{
public static class Extensions
{
#region Public Static Methods
/// <summary>
/// Change type cast
/// </summary>
/// <param name="ite... | using System;
using System.Linq;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Impromptu.Utilities
{
public static class Extensions
{
#region Public Static Methods
/// <summary>
/// Change type cast
/// </summary>
/// <param name="ite... | mit | C# |
9fe0a40b6300528b1606837998be070966791de1 | Update src/Umbraco.Web.Common/AspNetCore/AspNetCoreBackOfficeInfo.cs | marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,daw... | src/Umbraco.Web.Common/AspNetCore/AspNetCoreBackOfficeInfo.cs | src/Umbraco.Web.Common/AspNetCore/AspNetCoreBackOfficeInfo.cs | using Microsoft.Extensions.Options;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.Routing;
using static Umbraco.Cms.Core.Constants;
namespace Umbraco.Cms.Web.Common.AspNetCore
{
public class AspNetCoreBackOfficeInfo : IBackOfficeInfo
... | using Microsoft.Extensions.Options;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.Routing;
using static Umbraco.Cms.Core.Constants;
namespace Umbraco.Cms.Web.Common.AspNetCore
{
public class AspNetCoreBackOfficeInfo : IBackOfficeInfo
... | mit | C# |
13f921e7630c05f0f62b69882d6d1c5587a06f37 | Remove unnecessary whitespace. | boumenot/Grobid.NET | src/Grobid.PdfToXml/TokenBlock.cs | src/Grobid.PdfToXml/TokenBlock.cs | using System;
using System.Linq;
using iTextSharp.text;
namespace Grobid.PdfToXml
{
public class TokenBlock
{
public static readonly TokenBlock Empty = new TokenBlock { IsEmpty = true };
public int Angle { get; set; }
public float Base { get; set; }
public Rectan... | using System;
using System.Linq;
using iTextSharp.text;
namespace Grobid.PdfToXml
{
public class TokenBlock
{
public static readonly TokenBlock Empty = new TokenBlock { IsEmpty = true };
public int Angle { get; set; }
public float Base { get; set; }
publi... | apache-2.0 | C# |
35918d8fff5efe69069497fa31d2c574d6217bac | Remove private qualifier on version regexes | hammerandchisel/Squirrel.Windows,jochenvangasse/Squirrel.Windows,hammerandchisel/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,NeilSorensen/Squirrel.Windows,bowencode/Squirrel.Windows,akrisiun/Squirrel.Windows,jochenvangasse/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,hammerandchisel/Squirrel.Windows,sickboy/Sq... | src/Squirrel/ReleaseExtensions.cs | src/Squirrel/ReleaseExtensions.cs | using NuGet;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Squirrel
{
public static class VersionExtensions
{
static readonly Regex _suffixRegex = new Regex(@"(-full|-delta)?\.nupkg$", RegexOptions... | using NuGet;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Squirrel
{
public static class VersionExtensions
{
private static readonly Regex _suffixRegex = new Regex(@"(-full|-delta)?\.nupkg$", Rege... | mit | C# |
7802cd236eae7f8495584f006a83d163b7ebda55 | Use settings in configuration file for EntryFolder | ollejacobsen/corebrowser,ollejacobsen/corebrowser | src/CoreBrowser/Startup.cs | src/CoreBrowser/Startup.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using CoreBrowser.Services;
namespace CoreBrowser
{
public class Startup
{
private IHostingEnvironment _hostingEnv;
... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using CoreBrowser.Services;
namespace CoreBrowser
{
public class Startup
{
private IHostingEnvironment _hostingEnv;
... | mit | C# |
96997bdf26a5301db908b349557d6f5065b545e4 | Add some ConfigureAwaits | Kingloo/GB-Live | src/Gui/MainWindow.xaml.cs | src/Gui/MainWindow.xaml.cs | using System.Globalization;
using System.Windows;
using System.Windows.Input;
using System.Windows.Markup;
using GBLive.Common;
namespace GBLive.Gui
{
public partial class MainWindow : Window
{
private readonly ILog _logger;
private readonly IMainWindowViewModel viewModel;
public MainWindow(ILog logger, IMai... | using System.Globalization;
using System.Windows;
using System.Windows.Input;
using System.Windows.Markup;
using GBLive.Common;
namespace GBLive.Gui
{
public partial class MainWindow : Window
{
private readonly ILog _logger;
private readonly IMainWindowViewModel viewModel;
public MainWindow(ILog logger, IMai... | unlicense | C# |
f709cfcf873a28a914fbac66d566daf5d0786ed1 | Use AppContext.BaseDirectory for application path | karolberezicki/EasySnippets | EasySnippets/Utils/StartUpManager.cs | EasySnippets/Utils/StartUpManager.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.Win32;
namespace EasySnippets.Utils
{
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "Windows only app")]
public class StartUpManager
{
public static void A... | using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.Win32;
namespace EasySnippets.Utils
{
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "Windows only app")]
public class StartUpManager
{
public static void A... | mit | C# |
f0e3176bc8f6709270b9393ca88f710433ad6a71 | Add develop branch | prinzo/Attack-Of-The-Fines-TA15,prinzo/Attack-Of-The-Fines-TA15,prinzo/Attack-Of-The-Fines-TA15 | FineBot/FineBot.BotRunner/Program.cs | FineBot/FineBot.BotRunner/Program.cs | using System;
using System.Configuration;
using Castle.Windsor;
using FineBot.BotRunner.DI;
using FineBot.BotRunner.Responders.Interfaces;
using MargieBot;
namespace FineBot.BotRunner
{
public class Program
{
private static IWindsorContainer container;
static void Main(string[] args)
... | using System;
using System.Configuration;
using Castle.Windsor;
using FineBot.API.UsersApi;
using FineBot.BotRunner.DI;
using FineBot.BotRunner.Responders.Interfaces;
using MargieBot;
using MargieBot.Responders;
namespace FineBot.BotRunner
{
public class Program
{
private static IWindsorContainer cont... | mit | C# |
7e0f9829bc2bca4fbc00528924f2ec6c9ccde02d | build fix. | flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | Flubu.Tests/Context/TargetFluentInterfaceTests.cs | Flubu.Tests/Context/TargetFluentInterfaceTests.cs | using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.Context.FluentInterface.TaskExtensions;
using FlubuCore.Infrastructure;
using FlubuCore.Targeting;
using Moq;
using Xunit;
namespace Flubu.Tests.Context
{
public class TargetFluent... | using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.Context.FluentInterface.TaskExtensions;
using FlubuCore.Targeting;
using Moq;
using Xunit;
namespace Flubu.Tests.Context
{
public class TargetFluentInterfaceTests
{
pri... | bsd-2-clause | C# |
4c0a8d65b48d2a4ed1dad3742d3f531c511659fe | Fix incorrect null check in ResponseInfo.cs for iOS. | googleads/googleads-mobile-unity,googleads/googleads-mobile-unity | source/plugin/Assets/GoogleMobileAds/Platforms/iOS/ResponseInfoClient.cs | source/plugin/Assets/GoogleMobileAds/Platforms/iOS/ResponseInfoClient.cs | #if UNITY_IOS
// Copyright (C) 2020 Google, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | #if UNITY_IOS
// Copyright (C) 2020 Google, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | apache-2.0 | C# |
1d0cc99110cc5e0e7e8c06f2d0ef93db0b182ffe | Remove http from the value attribute. | SonOfSam/JabbR,clarktestkudu1029/test08jabbr,mogultest2/Project13171210,mogulTest1/Project13231113,meebey/JabbR,mogultest2/Project13231008,mogulTest1/Project13231205,clarktestkudu1029/test08jabbr,fuzeman/vox,ClarkL/1317on17jabbr,mogulTest1/ProjectfoIssue6,mogulTest1/Project91409,mogulTest1/Project13231205,ClarkL/1323on... | JabbR/ContentProviders/MixcloudContentProvider.cs | JabbR/ContentProviders/MixcloudContentProvider.cs | using System;
using System.Collections.Generic;
using JabbR.ContentProviders.Core;
namespace JabbR.ContentProviders
{
public class MixcloudContentProvider : EmbedContentProvider
{
public override string MediaFormatString
{
get
{
return "<object width=\"10... | using System;
using System.Collections.Generic;
using JabbR.ContentProviders.Core;
namespace JabbR.ContentProviders
{
public class MixcloudContentProvider : EmbedContentProvider
{
public override string MediaFormatString
{
get
{
return "<object width=\"10... | mit | C# |
68f6d8fc8d61f47a981532b7ba559affcfccdd0b | Test for #1315: Ensure it works multiple inheritance levels deep. | autofac/Autofac | test/Autofac.Specification.Test/Registration/OpenGenericTests.cs | test/Autofac.Specification.Test/Registration/OpenGenericTests.cs | // Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Autofac.Test.Scenarios.Graph1.GenericConstraints;
namespace Autofac.Specification.Test.Registration;
public class OpenGenericTests
{
private interface IImpleme... | // Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Autofac.Test.Scenarios.Graph1.GenericConstraints;
namespace Autofac.Specification.Test.Registration;
public class OpenGenericTests
{
private interface IImpleme... | mit | C# |
b34dd3b8121d0c702e6595602decc9a6e6b43118 | Remove options order test cases | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNet.Mvc.FunctionalTests/DefaultOrderTest.cs | test/Microsoft.AspNet.Mvc.FunctionalTests/DefaultOrderTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Mvc.ActionConstraints;
using Micros... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Mvc.ActionConstraints;
using Micros... | apache-2.0 | C# |
50b015d9fcffc94f95535bbe6f28ae82da7f92d3 | test cases | jefking/King.A-Trak | King.ATrak.Test/ContentTypesTests.cs | King.ATrak.Test/ContentTypesTests.cs | namespace King.ATrak.Test
{
using King.ATrak;
using NUnit.Framework;
using System;
[TestFixture]
public class ContentTypesTests
{
[Test]
[ExpectedException(typeof(ArgumentException))]
public void ContentTypeFilePathInvalid()
{
ContentTypes.ContentTyp... | namespace King.ATrak.Test
{
using King.ATrak;
using NUnit.Framework;
using System;
[TestFixture]
public class ContentTypesTests
{
[Test]
[ExpectedException(typeof(ArgumentException))]
public void ContentTypeFilePathInvalid()
{
ContentTypes.ContentTyp... | mit | C# |
2626ab41c3e38b775896c652c59f7b4b0ee335d4 | Add implicit braces for clarity | smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu | osu.Game/Screens/Play/ComboEffects.cs | osu.Game/Screens/Play/ComboEffects.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Audio;
using osu.Game.Configuration;
using osu.Game... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Audio;
using osu.Game.Configuration;
using osu.Game... | mit | C# |
5ad540c5bc4138b7991693faba8587bed5fd66c6 | Update CreateObjectAction.cs | UnityTechnologies/PlaygroundProject,UnityTechnologies/PlaygroundProject | PlaygroundProject/Assets/Scripts/Conditions/Actions/CreateObjectAction.cs | PlaygroundProject/Assets/Scripts/Conditions/Actions/CreateObjectAction.cs | using UnityEngine;
using System.Collections;
[AddComponentMenu("Playground/Actions/Create Object")]
public class CreateObjectAction : Action
{
public GameObject prefabToCreate;
public Vector2 newPosition;
public bool relative;
void Update ()
{
if (relative)
{
newPosition = transform.localPosition;
}
}... | using UnityEngine;
using System.Collections;
[AddComponentMenu("Playground/Actions/Create Object")]
public class CreateObjectAction : Action
{
public GameObject prefabToCreate;
public Vector3 newPosition;
// Moves the gameObject instantly to a custom position
public override bool ExecuteAction(GameObject dataO... | mit | C# |
6a8d2a1857750c622d3a165fad48532e5a0c0107 | make service helper public allowing validation that health services have been registered in extension packages | AppMetrics/Health,AppMetrics/Health | src/App.Metrics.Health/DependencyInjection/Internal/HealthServicesHelper.cs | src/App.Metrics.Health/DependencyInjection/Internal/HealthServicesHelper.cs | // <copyright file="HealthServicesHelper.cs" company="Allan Hardy">
// Copyright (c) Allan Hardy. All rights reserved.
// </copyright>
using System;
using System.Diagnostics.CodeAnalysis;
namespace App.Metrics.Health.DependencyInjection.Internal
{
[ExcludeFromCodeCoverage]
public static class HealthServicesH... | // <copyright file="HealthServicesHelper.cs" company="Allan Hardy">
// Copyright (c) Allan Hardy. All rights reserved.
// </copyright>
using System;
using System.Diagnostics.CodeAnalysis;
namespace App.Metrics.Health.DependencyInjection.Internal
{
[ExcludeFromCodeCoverage]
internal static class HealthService... | apache-2.0 | C# |
b0a758253f03cf67ce5f9682ff6f3a3c9625d010 | add of db connection | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Providers/EmailAlertProvider.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Providers/EmailAlertProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Appleseed.Base.Alerts.Model;
using System.Data;
namespace Appleseed.Base.Alerts.Providers
{
class EmailAlertProvider : IAlert
{
static IDbConnection db = new SqlConnection(Configur... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Appleseed.Base.Alerts.Model;
namespace Appleseed.Base.Alerts.Providers
{
class EmailAlertProvider : IAlert
{
}
}
| apache-2.0 | C# |
7efda0c014b34f46f4e83d19ae312d12a027655b | Update Program.cs | miladinoviczeljko/GitTest1 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code was edited in GitHub
// Code was added in VS
// Code to cal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code was edited in GitHub
// Code was added in VS
// Code to cal... | mit | C# |
c904bd123b209ad5b42f48f3a4ef33616b387734 | Remove [Flags] from RegistryKeyPermissionCheck (#31998) | ericstj/corefx,wtgodbe/corefx,ptoonen/corefx,ViktorHofer/corefx,ViktorHofer/corefx,mmitche/corefx,shimingsg/corefx,Jiayili1/corefx,wtgodbe/corefx,Jiayili1/corefx,ViktorHofer/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx,BrennanConroy/corefx,ptoonen/corefx,BrennanConroy/corefx,wtgodbe/corefx,shimingsg/corefx,ptoon... | src/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryKeyPermissionCheck.cs | src/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryKeyPermissionCheck.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Microsoft.Win32
{
#if REGISTRY_ASSEMBLY
public
#else
internal
#endif
enum Regi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Microsoft.Win32
{
[Flags]
#if REGISTRY_ASSEMBLY
public
#else
internal
#endif
... | mit | C# |
2f01aa3d97a356ae896f660591af9f2a9d51cc14 | Fix minor issue | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerTeam/Index.cshtml | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerTeam/Index.cshtml | @model SFA.DAS.EmployerApprenticeshipsService.Web.OrchestratorResponse<SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account.Account>
<h1 class="heading-xlarge" id="company-Name">@Model.Data.Name</h1>
<div class="grid-row">
<div class="column-two-thirds">
<div style="max-width: 90%">
<div class=... | @model SFA.DAS.EmployerApprenticeshipsService.Web.OrchestratorResponse<SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account.Account>
<h1 class="heading-xlarge" id="company-Name">@Model.Data.Name</h1>
<div class="grid-row">
<div class="column-two-thirds">
<div style="max-width: 90%">
<div class=... | mit | C# |
2b8610447a0c739ebee33cd3d4a94d12e0aed53c | Simplify expressino | weltkante/roslyn,bartdesmet/roslyn,KirillOsenkov/roslyn,dotnet/roslyn,davkean/roslyn,weltkante/roslyn,jmarolf/roslyn,diryboy/roslyn,gafter/roslyn,gafter/roslyn,genlu/roslyn,wvdd007/roslyn,ErikSchierboom/roslyn,panopticoncentral/roslyn,KirillOsenkov/roslyn,tmat/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,tannergooding/rosl... | src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationFieldInfo.cs | src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationFieldInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGe... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGe... | mit | C# |
312a036743b8e65231ce729cecd1e2493295b507 | Move StringExtensions to the Eco.Extensions namespace. | lukyad/Eco | Eco/Extensions/StringExtensions.cs | Eco/Extensions/StringExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Eco.Extensions
{
public static class StringExtensions
{
public static string[] SplitAndTrim(this string str)
{
return SplitAndTrim(str, ',');
}
public static string[] Sp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Eco
{
public static class StringExtensions
{
public static string[] SplitAndTrim(this string str)
{
return SplitAndTrim(str, ',');
}
public static string[] SplitAndTrim(... | apache-2.0 | C# |
0d814317ae1b285c955d9a8878614c7181b9bbd3 | Remove confirmation for exit with no verification | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator/Program.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator/Program.cs | using System;
using Abp;
using Abp.Collections.Extensions;
using Abp.Dependency;
using Castle.Facilities.Logging;
using Abp.Castle.Logging.Log4Net;
namespace AbpCompanyName.AbpProjectName.Migrator
{
public class Program
{
private static bool _skipConnVerification = false;
public static void M... | using System;
using Abp;
using Abp.Collections.Extensions;
using Abp.Dependency;
using Castle.Facilities.Logging;
using Abp.Castle.Logging.Log4Net;
namespace AbpCompanyName.AbpProjectName.Migrator
{
public class Program
{
private static bool _skipConnVerification = false;
public static void M... | mit | C# |
535044e4f4a1d42380b88e53aafdbccedba5113c | Add private setters so deserializing on integration event handler works as expected. | dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/... | src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Address.cs | src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Address.cs | using Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork;
using System;
using System.Collections.Generic;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
{
public class Address : ValueObject
{
public String Street { get; private set; }
p... | using Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork;
using System;
using System.Collections.Generic;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
{
public class Address : ValueObject
{
public String Street { get; }
public String ... | mit | C# |
ce78938a1abc866fcf72539d81dcd2b67af8c104 | Check for metrics route in HttpContext. | alhardy/AppMetrics,alhardy/AppMetrics | src/App.Metrics.Extensions.Middleware/Extensions/HttpContextExtensions.cs | src/App.Metrics.Extensions.Middleware/Extensions/HttpContextExtensions.cs | // <copyright file="HttpContextExtensions.cs" company="Allan Hardy">
// Copyright (c) Allan Hardy. All rights reserved.
// </copyright>
using System;
using System.Linq;
using System.Net;
// ReSharper disable CheckNamespace
namespace Microsoft.AspNetCore.Http
{
// ReSharper restore CheckNamespace
internal st... | // <copyright file="HttpContextExtensions.cs" company="Allan Hardy">
// Copyright (c) Allan Hardy. All rights reserved.
// </copyright>
using System;
using System.Linq;
using System.Net;
// ReSharper disable CheckNamespace
namespace Microsoft.AspNetCore.Http
{
// ReSharper restore CheckNamespace
internal st... | apache-2.0 | C# |
fd77ac2577b57ddc22aca743d409d4900a675e25 | Update Program.cs (#197) | nanoframework/nf-Visual-Studio-extension | source/CSharp.BlankApplication/Program.cs | source/CSharp.BlankApplication/Program.cs | using System;
using System.Threading;
using System.Diagnostics;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
while (!Debugger.IsAttached) { Thread.Sleep(100); } // Wait for debugger (only needed for debugging session)
Console.Write... | using System;
using System.Threading;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
Thread.Sleep(1000); // Temporary dirty fix to enable correct debugging session
// Insert your code below this line
// The main() method has to end w... | mit | C# |
6fde4b84fe546d20196c316e46b19f1e641e1e18 | Update ContactsSample for MfA 4.2 | xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,moljac/Xamarin.Mobile,nexussays/Xamarin.Mobile,xamarin/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile | MonoDroid/Samples/ContactsSample/MainActivity.cs | MonoDroid/Samples/ContactsSample/MainActivity.cs | using System;
using System.Text;
using Android.App;
using Android.Content;
using Android.Database;
using Android.Net;
using Android.OS;
using Android.Provider;
using Android.Widget;
using Xamarin.Contacts;
using System.Linq;
using System.Collections.Generic;
namespace ContactsSample
{
[Activity(Label = "ContactsSamp... | using System;
using System.Text;
using Android.App;
using Android.Content;
using Android.Database;
using Android.Net;
using Android.OS;
using Android.Provider;
using Android.Widget;
using Xamarin.Contacts;
using System.Linq;
using System.Collections.Generic;
namespace ContactsSample
{
[Activity(Label = "ContactsSamp... | apache-2.0 | C# |
7f40b9320987c1e4c33ea9da8f974e254955ea4c | Use git repository url variable rather than duplicating logic | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfiguration.cs | src/AppHarbor/ApplicationConfiguration.cs | using System;
using System.IO;
using System.Linq;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration : IApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGit... | using System;
using System.IO;
using System.Linq;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration : IApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGit... | mit | C# |
4b0bbe1653c4a1d0a7fab41b36b1ba06c7c8cd2e | Make ApplicationConfiguration#SetupApplication virtual | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfiguration.cs | src/AppHarbor/ApplicationConfiguration.cs | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecutor)
{
_fileSystem = file... | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecutor)
{
_fileSystem = file... | mit | C# |
580697b25db7da2f1d251f666101287f4910fb30 | Make DrawingPresenter obsolete. | jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,SuperJMN/Avalonia,Perspex/Perspex,Avalonia... | src/Avalonia.Controls/DrawingPresenter.cs | src/Avalonia.Controls/DrawingPresenter.cs | using System;
using Avalonia.Controls.Shapes;
using Avalonia.Media;
using Avalonia.Metadata;
namespace Avalonia.Controls
{
[Obsolete("Use Image control with DrawingImage source")]
public class DrawingPresenter : Control
{
static DrawingPresenter()
{
AffectsMeasure<DrawingPresen... | using Avalonia.Controls.Shapes;
using Avalonia.Media;
using Avalonia.Metadata;
namespace Avalonia.Controls
{
public class DrawingPresenter : Control
{
static DrawingPresenter()
{
AffectsMeasure<DrawingPresenter>(DrawingProperty);
AffectsRender<DrawingPresenter>(DrawingP... | mit | C# |
e6618495a7d3389f4a21284027a71945b271e70f | Set assembly properties to Version 0.1 and filled assembly company and description | renber/SecondaryTaskbarClock | SecondaryTaskbarClock/Properties/AssemblyInfo.cs | SecondaryTaskbarClock/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | mit | C# |
056922ce53d90ef1c563caf741c5a6de04c8b57b | Update the version number in Woopsa C# assembly to 1.2 | fabien-chevalley/Woopsa,fabien-chevalley/Woopsa,woopsa-protocol/Woopsa,fabien-chevalley/Woopsa,fabien-chevalley/Woopsa,woopsa-protocol/Woopsa,woopsa-protocol/Woopsa,woopsa-protocol/Woopsa,fabien-chevalley/Woopsa,woopsa-protocol/Woopsa,fabien-chevalley/Woopsa,woopsa-protocol/Woopsa | Sources/DotNet/Woopsa/Properties/AssemblyInfo.cs | Sources/DotNet/Woopsa/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
fdc37c881062cb091c344913419e43d8d4aa37d8 | Update LastHit | ThytHY0001/ProjectThy | ThyLastHit/ThyLastHit/Properties/AssemblyInfo.cs | ThyLastHit/ThyLastHit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
2868eb8d69bc41d56fc2807e72cde383557ab061 | Add about change | SteveLasker/AspNetCoreMultiProject,SteveLasker/AspNetCoreMultiProject | Web/Views/Home/About.cshtml | Web/Views/Home/About.cshtml | @{
ViewData["Title"] = "About";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>
<h3>Host Information</h3>
<b>HostName:</b> @ViewData["HOSTNAME"]<br />
<b>OS Architecture:</b> @ViewData["OSARCHITECTURE"]<br />
<b>OS Description:</b> @ViewData["OSDESCRIPTION"]<br />
<b>Process Architecture:</b> @ViewData... | @{
ViewData["Title"] = "About";
}
<h2>@ViewData["Title"].</h2>
<h3>@ViewData["Message"]</h3>
<p>Use this area to provide additional information.</p>
| mit | C# |
8d06ca80adc87515a58c48e2caa0012e3a14d52e | Update Android designer file auto generated by mono | bbqchickenrobot/oxyplot,shoelzer/oxyplot,objorke/oxyplot,H2ONaCl/oxyplot,DotNetDoctor/oxyplot,mattleibow/oxyplot,objorke/oxyplot,oxyplot/oxyplot,lynxkor/oxyplot,Jofta/oxyplot,H2ONaCl/oxyplot,DotNetDoctor/oxyplot,shoelzer/oxyplot,svendu/oxyplot,Mitch-Connor/oxyplot,Rustemt/oxyplot,NilesDavis/oxyplot,H2ONaCl/oxyplot,oleg... | Source/Examples/XamarinAndroid/ExampleBrowser/Resources/Resource.Designer.cs | Source/Examples/XamarinAndroid/ExampleBrowser/Resources/Resource.Designer.cs | #pragma warning disable 1591
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.17020
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code ... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is reg... | mit | C# |
d9498bcd797fdb6c4161001f689524c388013909 | add class | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/Semantic/EmailBanner.cshtml | src/StockportWebapp/Views/stockportgov/Shared/Semantic/EmailBanner.cshtml | @using StockportWebapp.ViewModels
@model EmailBannerViewModel
<section class="banner">
<div class="hide-on-tablet hide-on-mobile">
<span class="si-envelope-open" aria-hidden="true"></span>
</div>
<div class="email-alert">
<h2 class="h3">@Model.EmailAlertsText</h2>
<form method="pos... | @using StockportWebapp.ViewModels
@model EmailBannerViewModel
<section class="banner">
<div class="hide-on-tablet hide-on-mobile">
<span class="si-envelope-open" aria-hidden="true"></span>
</div>
<div>
<h2 class="h3">@Model.EmailAlertsText</h2>
<form method="get" role="form" action... | mit | C# |
aad7584c36ac5fabf14aecadd2a18d76d946ba8f | update version | HouseBreaker/Shameless | Shameless/Properties/AssemblyInfo.cs | Shameless/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("Shameless")]
[assembly: AssemblyDescripti... | 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("Shameless")]
[assembly: AssemblyDescripti... | mit | C# |
76cefe43ae72254b4bc43e5232f2cb114f535c6e | Fix bundling and minification | kriasoft/AngularJS-SPA-Template,rucila/AngularJS-SPA-Template,rucila/AngularJS-SPA-Template,dalfriedrice/AngularJS-SPA-Template,kriasoft/AngularJS-SPA-Template,dankahle/MyApp,dalfriedrice/AngularJS-SPA-Template,hitesh97/AngularJS-SPA-Template,dankahle/MyApp,hitesh97/AngularJS-SPA-Template,REALTOBIZ/AngularJS-SPA-Templa... | Source/Web/App_Start/BundleConfig.cs | Source/Web/App_Start/BundleConfig.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
// Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
// Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------------... | mit | C# |
3164ff4b553ca2a3d8ef388bad90cced5e808c8f | Add RedirectType and ResponseLimit to collectors | bcemmett/SurveyMonkeyApi-v3 | SurveyMonkey/Containers/Collector.cs | SurveyMonkey/Containers/Collector.cs | using System;
using Newtonsoft.Json;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Collector : IPageableContainer
{
[JsonConverter(typeof(TolerantJsonConverter))]
public enum StatusType
{
New,
Open,
... | using System;
using Newtonsoft.Json;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Collector : IPageableContainer
{
[JsonConverter(typeof(TolerantJsonConverter))]
public enum StatusType
{
New,
Open,
... | mit | C# |
825dd7fbce376cc534ea03849fa3495ebd32248b | rename new content type name namespace to match original one for type forwarding | nguerrera/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,KirillOsenkov/roslyn,swaroop-sridhar/roslyn,mavasani/roslyn,davkean/roslyn,nguerrera/roslyn,brettfo/roslyn,panopticoncentral/roslyn,sharwell/roslyn,VSadov/roslyn,physhi/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,KevinRansom/roslyn,dotnet/roslyn,wvdd007/roslyn,Mi... | src/EditorFeatures/Text/ContentTypeNames.cs | src/EditorFeatures/Text/ContentTypeNames.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor
{
internal static class ContentTypeNames
{
public const string CSharpContentType = "CSharp";
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor.Text
{
internal static class ContentTypeNames
{
public const string CSharpContentType = "CSharp";
... | mit | C# |
f54c97d6cb24dbb11583a622e91f8396c4ca5b76 | Update Program.cs | DelKatey/vig.sq.crypt.gui | VigenereSquareCryptor_GUI/Program.cs | VigenereSquareCryptor_GUI/Program.cs | using System;
using System.Windows.Forms;
namespace VigenereSquareCryptor_GUI
{
/// <summary>
/// Class with program entry point.
/// </summary>
internal sealed class Program
{
/// <summary>
/// Program entry point.
/// </summary>
[STAThread]
private static void Main(string[] args)
{
Application.En... | /*
* Created by SharpDevelop.
* User: delkatey
* Date: 20/11/2015
* Time: 9:19 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
namespace VigenereSquareCryptor_GUI
{
/// <summary>
/// Class with program entry point.
/// </summ... | mit | C# |
18514ca02a99ae40ecee7bf3c6d04837d070c658 | update to work with taxonomies | smeehan82/Hermes,smeehan82/Hermes,smeehan82/Hermes | src/Hermes/DataAccess/DataContextBuilder.cs | src/Hermes/DataAccess/DataContextBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hermes.DataAccess
{
public class DataContextBuilder
{
public IList<Type> RegisteredModelTypes { get; } = new List<Type>();
public void RegisterModel<T>() where T : IContent
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hermes.DataAccess
{
public class DataContextBuilder
{
public IList<Type> RegisteredModelTypes { get; } = new List<Type>();
public void RegisterModel<T>() where T : IContent
{
... | mit | C# |
e7504218ca99e1ddf5cbe832e8df4eea9ef12aa8 | Resolve #13 | bcanseco/magnanibot | src/Magnanibot.Discord/Modules/Translate.cs | src/Magnanibot.Discord/Modules/Translate.cs | using System.Threading.Tasks;
using CommonBotLibrary.Services;
using CommonBotLibrary.Services.Models;
using Discord;
using Discord.Commands;
using Magnanibot.Extensions;
namespace Magnanibot.Modules
{
[Group(nameof(Translate)), Alias("trans")]
[Summary("Translates text to another language.")]
public clas... | using System.Threading.Tasks;
using CommonBotLibrary.Services;
using CommonBotLibrary.Services.Models;
using Discord;
using Discord.Commands;
using Magnanibot.Extensions;
namespace Magnanibot.Modules
{
[Group(nameof(Translate)), Alias("trans")]
[Summary("Translates text to another language.")]
public clas... | mit | C# |
071b9831b6b6e959a77a8f4c24d8b5b53e1e294d | remove ask a question link | jbubriski/MassivelyDapperSimpleData,jbubriski/MassivelyDapperSimpleData | src/StackUnderToe/Views/Shared/_Menu.cshtml | src/StackUnderToe/Views/Shared/_Menu.cshtml | @model System.String
<ul class="nav nav-list" data-spy="affix" data-offset-top="40">
<li class="nav-header">Questions</li>
<li>@Html.ActionLink("New Unanswered Questions", "", "Questions")</li>
<li class="nav-header">Users</li>
<li>@Html.ActionLink("Newest Users", "", "Users")</li>
<li>@Html.Action... | @model System.String
<ul class="nav nav-list" data-spy="affix" data-offset-top="40">
<li class="nav-header">Questions</li>
<li>@Html.ActionLink("New Unanswered Questions", "", "Questions")</li>
<li>@Html.ActionLink("Ask a Question", "new", "Questions")</li>
<li class="nav-header">Users</li>
<li>@Ht... | mit | C# |
7a66d360f043b179f5c80d86ef9daeeff579f2be | add transform parse | wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,grokys/... | src/Avalonia.Visuals/Media/Transform.cs | src/Avalonia.Visuals/Media/Transform.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Animation;
using Avalonia.Animation.Animators;
using Avalonia.VisualTree;
namespace Avalonia.Media
{
/// <summary>
/... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Animation;
using Avalonia.Animation.Animators;
using Avalonia.VisualTree;
namespace Avalonia.Media
{
/// <summary>
/... | mit | C# |
709c8bf4defb741b1e81a08d7a55fec8aa252c29 | Use cancellationToken whenever possible | hurricanepkt/DropboxRestAPI,saguiitay/DropboxRestAPI | src/DropboxRestAPI/LargeFileUploader.cs | src/DropboxRestAPI/LargeFileUploader.cs | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using DropboxRestAPI.Models.Core;
namespace DropboxRestAPI
{
public class LargeFileUploader
{
public static long BufferSize = 4 * 1024 * 1024;
private readonly Client _client;
private readonly Stream ... | using System;
using System.IO;
using System.Threading.Tasks;
using DropboxRestAPI.Models.Core;
namespace DropboxRestAPI
{
public class LargeFileUploader
{
public static long BufferSize = 4 * 1024 * 1024;
private readonly Client _client;
private readonly Stream _dataSource;
pu... | mit | C# |
84bc88c8885487a2e722e34fcd194b37f556456e | Correct #Name #2 | darbio/cap-net,TeamnetGroup/cap-net | src/CAPNet.Tests/ValidatorTests/PolygonCoordinatePairsFirstLastValidatorTests.cs | src/CAPNet.Tests/ValidatorTests/PolygonCoordinatePairsFirstLastValidatorTests.cs | using CAPNet.Models;
using System.Linq;
using Xunit;
namespace CAPNet
{
public class PolygonCoordinatePairsFirstLastValidatorTests
{
[Fact]
public void PolygonWithFirstCoordinatePairDifferentFromLastCoordinatePairIsInvalid()
{
var polygon = new Polygon("38.47,-120.14 38.34,... | using CAPNet.Models;
using System.Linq;
using Xunit;
namespace CAPNet
{
public class PolygonCoordinatePairsFirstLastValidatorTests
{
[Fact]
public void PolygonWithFirstCoordinatePairDifferentFromLastCoordinatePairIsInvalid()
{
var polygon = new Polygon("38.47,-120.14 38.34,... | mit | C# |
7bf796bd5cc98604f18af4cc562f3aad94a0cf05 | Test edge cases | bbrandt/FizzBuzzInc | src/UnitTests/FizzBuzzGeneratorTests.cs | src/UnitTests/FizzBuzzGeneratorTests.cs | using System;
using System.Linq;
using FizzBuzz;
using FluentAssertions;
using NUnit.Framework;
namespace UnitTests
{
[TestFixture]
public class FizzBuzzGeneratorTests
{
[Test]
public void GetNumbers_should_return_buzz_when_5()
{
var fizzBuzzGenerator = new FizzBuzzGener... | using System.Linq;
using FizzBuzz;
using FluentAssertions;
using NUnit.Framework;
namespace UnitTests
{
[TestFixture]
public class FizzBuzzGeneratorTests
{
[Test]
public void GetNumbers_should_return_buzz_when_5()
{
var fizzBuzzGenerator = new FizzBuzzGenerator();
... | apache-2.0 | C# |
64edbf27a2c2c5957c478e8839b52b3c44cce026 | Update file version to 3.2.1.0 | amay077/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2019";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2019";
public const string... | mit | C# |
3dc1787d7f119e6d2cbf02ae903e008c53071cd2 | ADD VERIFIER | ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins | stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestReceiverHtmlSelector.cs | stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestReceiverHtmlSelector.cs | using FluentAssertions;
using Stankins.File;
using Stankins.HTML;
using Stankins.Interfaces;
using StankinsObjects;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xbehave;
using Xunit;
using static System.Environment;
namespace StankinsTestXUnit
... | using FluentAssertions;
using Stankins.File;
using Stankins.HTML;
using Stankins.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xbehave;
using Xunit;
using static System.Environment;
namespace StankinsTestXUnit
{
[Trait("ReceiverH... | mit | C# |
e7ba86c13c348be0b671dd052fd9a3a351fdc487 | Remove obsolete field set. | adamfur/NEventStore,gael-ltd/NEventStore,paritoshmmmec/NEventStore,NEventStore/NEventStore,chris-evans/NEventStore,nerdamigo/NEventStore,AGiorgetti/NEventStore,D3-LucaPiombino/NEventStore,jamiegaines/NEventStore,deltatre-webplu/NEventStore,marcoaoteixeira/NEventStore | src/tests/EventStore.Persistence.MongoPersistence.Tests/AcceptanceTests/PersistenceEngineFixture.cs | src/tests/EventStore.Persistence.MongoPersistence.Tests/AcceptanceTests/PersistenceEngineFixture.cs | using EventStore.Persistence.MongoPersistence.Tests;
namespace EventStore.Persistence.AcceptanceTests
{
public partial class PersistenceEngineFixture
{
public PersistenceEngineFixture()
{
this.createPersistence = () =>
new AcceptanceTestMongoPersistenceFac... | using EventStore.Persistence.MongoPersistence.Tests;
namespace EventStore.Persistence.AcceptanceTests
{
public partial class PersistenceEngineFixture
{
public PersistenceEngineFixture()
{
this.createPersistence = () =>
new AcceptanceTestMongoPersistenceFac... | mit | C# |
6e8e4611e8896357c17cf5ee6d45db5d71e9439f | Increase the rebuild timebox to 24 hours | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/Projections/Versioning/VersionRequestTimebox.cs | src/Elders.Cronus/Projections/Versioning/VersionRequestTimebox.cs | using System;
using System.Runtime.Serialization;
namespace Elders.Cronus.Projections.Versioning
{
/// <summary>
/// Specifies a time frame when a projection rebuild starts and when it expires
/// </summary>
[DataContract(Name = "4c8d4c59-cc5a-40f8-9b08-14fcc57f51a9")]
public class VersionRequestT... | using System;
using System.Runtime.Serialization;
namespace Elders.Cronus.Projections.Versioning
{
/// <summary>
/// Specifies a time frame when a projection rebuild starts and when it expires
/// </summary>
[DataContract(Name = "4c8d4c59-cc5a-40f8-9b08-14fcc57f51a9")]
public class VersionRequestT... | apache-2.0 | C# |
00ac030dbdef9f145432583739419fa05b1ea601 | Fix test | andrew-polk/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/B... | src/BloomTests/web/ReadersApiTests.cs | src/BloomTests/web/ReadersApiTests.cs | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bloom.Edit;
using Bloom.Api;
using Bloom.Collection;
using NUnit.Framework;
namespace BloomTests.web
{
[TestFixture]
public class ReadersApiTests
{
private EnhancedImage... | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bloom.Edit;
using Bloom.Api;
using NUnit.Framework;
namespace BloomTests.web
{
[TestFixture]
public class ReadersApiTests
{
private EnhancedImageServer _server;
[SetUp... | mit | C# |
430da258baa86efd966381fcf71f26998e5b94e2 | Allow CreateBundles task Source property to be relative to current directory | honestegg/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,BluewireTechnologies/cassette | src/Cassette.MSBuild/CreateBundles.cs | src/Cassette.MSBuild/CreateBundles.cs | using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Cassette.MSBuild
{
[Serializable]
[LoadInSeparateAppDomain]
public class CreateBundles : AppDomainIsolatedTask
{
/// <summary>
/// The root directory of the web applic... | using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Cassette.MSBuild
{
[Serializable]
[LoadInSeparateAppDomain]
public class CreateBundles : AppDomainIsolatedTask
{
/// <summary>
/// The root directory of the web applic... | mit | C# |
24757cb69e2b1458e59270b280d5200fcaeaa45b | Remove SpecsFor from TypingIndicator | noobot/SlackConnector | src/SlackConnector.Tests.Unit/SlackConnectionTests/TypingIndicatorTests.cs | src/SlackConnector.Tests.Unit/SlackConnectionTests/TypingIndicatorTests.cs | using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SlackConnector.Connections.Sockets;
using SlackConnector.Connections.Sockets.Messages.Outbound;
using SlackConnector.Models;
namespace SlackConnector.Tests.Unit.SlackConnectionTests
{
internal class TypingIndicatorTests
{
[Test, Aut... | using NUnit.Framework;
using Should;
using SlackConnector.Connections.Sockets.Messages.Outbound;
using SlackConnector.Models;
using SlackConnector.Tests.Unit.Stubs;
using SpecsFor;
namespace SlackConnector.Tests.Unit.SlackConnectionTests
{
public static class TypingIndicatorTests
{
internal class give... | mit | C# |
c0ce971a6fdc3d8f806ee16aaa84479bbd50c184 | Fix null ref when opening Manage Packages dialog when no solution open | mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement/ManagePackagesHandler2.cs | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement/ManagePackagesHandler2.cs | //
// ManagePackagesHandler.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 rest... | //
// ManagePackagesHandler.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 rest... | mit | C# |
cfa1c600910cb40cffcc71bbb72db392ad7d25f3 | Fix list to use new deviceId | MatkovIvan/azure-mobile-apps-net-client,Azure/azure-mobile-apps-net-client,Azure/azure-mobile-apps-net-client,Azure/azure-mobile-apps-net-client,MatkovIvan/azure-mobile-apps-net-client,MatkovIvan/azure-mobile-apps-net-client | src/Microsoft.WindowsAzure.MobileServices.WindowsStore/Push/PushHttpClient.cs | src/Microsoft.WindowsAzure.MobileServices.WindowsStore/Push/PushHttpClient.cs | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System;
using System.Net.Http;
using Newtonsoft.Json.Linq;
namespace Microsoft.WindowsAzure.MobileServices
{
using Sys... | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System;
using System.Net.Http;
using Newtonsoft.Json.Linq;
namespace Microsoft.WindowsAzure.MobileServices
{
using Sys... | apache-2.0 | C# |
783bf7ac16a46cb02c568a174765292deca0eaa1 | Add test case to enumerate all states and inspect state vector layout | isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp | Models/SelfOrganizingPillProduction/Analysis/ModelCheckingTests.cs | Models/SelfOrganizingPillProduction/Analysis/ModelCheckingTests.cs | using NUnit.Framework;
using SafetySharp.Analysis;
using SafetySharp.Modeling;
using SafetySharp.CaseStudies.SelfOrganizingPillProduction.Modeling;
using static SafetySharp.Analysis.Operators;
namespace SafetySharp.CaseStudies.SelfOrganizingPillProduction.Analysis
{
public class ModelCheckingTests
{
[... | using NUnit.Framework;
using SafetySharp.Analysis;
using SafetySharp.Modeling;
using SafetySharp.CaseStudies.SelfOrganizingPillProduction.Modeling;
using static SafetySharp.Analysis.Operators;
namespace SafetySharp.CaseStudies.SelfOrganizingPillProduction.Analysis
{
public class ModelCheckingTests
{
[... | mit | C# |
12ece15edb12b354c3b8b208321405160bf1acd8 | Update FBXExporter assembly info | songjiahong/revitapisamples | 1.6.FBXExporter/Properties/AssemblyInfo.cs | 1.6.FBXExporter/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("FBX... | 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("FBX... | mit | C# |
4c553a598045f9a5d87e3a07e53183cb910ca8cc | fix Upgrade_20211119_TimeZoneManagerToClock | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20211119_TimeZoneManagerToClock.cs | Signum.Upgrade/Upgrades/Upgrade_20211119_TimeZoneManagerToClock.cs | namespace Signum.Upgrade.Upgrades;
class Upgrade_20211119_ClockToClock : CodeUpgradeBase
{
public override string Description => "Rename TimeZoneManager -> Clock";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFile("*.cs", file =>
{
file.Replace("TimeZoneM... | namespace Signum.Upgrade.Upgrades;
class Upgrade_20211119_ClockToClock : CodeUpgradeBase
{
public override string Description => "Rename TimeZoneManager -> Clock";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFile("*.cs", new[] { uctx.AbsolutePath(""), uctx.AbsolutePath("Fra... | mit | C# |
58deb3eb2a3bf07ca63fa116e57e1d296431c0fe | tweak to make tests pass | Brightspace/D2L.Security.OAuth2 | test/D2L.Security.OAuth2.UnitTests/TestUtilities/Mocks/AccessTokenValidatorMock.cs | test/D2L.Security.OAuth2.UnitTests/TestUtilities/Mocks/AccessTokenValidatorMock.cs | using System;
using D2L.Security.OAuth2.Validation.AccessTokens;
using D2L.Security.OAuth2.Validation.Exceptions;
using Moq;
using NUnit.Framework;
namespace D2L.Security.OAuth2.TestUtilities.Mocks {
public static class AccessTokenValidatorMock {
public static Mock<IAccessTokenValidator> Create(
string... | using System;
using D2L.Security.OAuth2.Validation.AccessTokens;
using D2L.Security.OAuth2.Validation.Exceptions;
using Moq;
using NUnit.Framework;
namespace D2L.Security.OAuth2.TestUtilities.Mocks {
public static class AccessTokenValidatorMock {
public static Mock<IAccessTokenValidator> Create(
string... | apache-2.0 | C# |
ab68d6056522280d4f4276426d460dbe93cd2501 | Add comments in ButtonRoom.cs to explain behaviour. | Nilihum/fungus,tapiralec/Fungus,snozbot/fungus,kdoore/Fungus,RonanPearce/Fungus,inarizushi/Fungus,FungusGames/Fungus,lealeelu/Fungus | Assets/FungusExample/Scripts/ButtonRoom.cs | Assets/FungusExample/Scripts/ButtonRoom.cs | using UnityEngine;
using System.Collections;
using Fungus;
public class ButtonRoom : Room
{
public Room menuRoom;
public AudioClip effectClip;
public SpriteRenderer homeSprite;
public SpriteRenderer musicSprite;
public SpriteRenderer questionSprite;
void OnEnter()
{
// Normal button, always visible
Ad... | using UnityEngine;
using System.Collections;
using Fungus;
public class ButtonRoom : Room
{
public Room menuRoom;
public AudioClip effectClip;
public SpriteRenderer homeSprite;
public SpriteRenderer musicSprite;
public SpriteRenderer questionSprite;
void OnEnter()
{
// Normal button, always visible
Ad... | mit | C# |
530dfba4a2cfb4620bc39453c83d6f5a75840e4e | rename IMediaFile.Path to Extension | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.ExpenseServices.Azure.Shared/AzureFileUploadService.cs | client/BlueMonkey/BlueMonkey.ExpenseServices.Azure.Shared/AzureFileUploadService.cs | using BlueMonkey.MediaServices;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Threading.Tasks;
namespace BlueMonkey.ExpenseServices.Azure
{
public class AzureFileUploadService : IFileUploadService
{
private static readonly string ContainerN... | using BlueMonkey.MediaServices;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.IO;
using System.Threading.Tasks;
namespace BlueMonkey.ExpenseServices.Azure
{
public class AzureFileUploadService : IFileUploadService
{
private static readonly ... | mit | C# |
db5eada48afb00b284a48e9aea3c8afcb5ef7dbd | Check encoding for export-msipatchxml cmdlet tests | SamB/psmsi,SamB/psmsi,jkorell/psmsi,heaths/psmsi,heaths/psmsi,jkorell/psmsi | src/Microsoft.Tools.WindowsInstaller.PowerShell.Test/PowerShell/Commands/ExportPatchXmlCommandTests.cs | src/Microsoft.Tools.WindowsInstaller.PowerShell.Test/PowerShell/Commands/ExportPatchXmlCommandTests.cs | // Copyright (C) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
using Microsoft.VisualStu... | // Copyright (C) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
using Microsoft.VisualStu... | mit | C# |
bbe0f22d3319c9eb2341330b46c1ce091a1fff94 | test cases | jefking/King.Mapper | King.Mapper.Tests/Data/IDataReaderTests.cs | King.Mapper.Tests/Data/IDataReaderTests.cs | namespace King.Mapper.Tests.Data
{
using King.Mapper.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Data;
[TestClass]
public class IDataReaderTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void Lo... | namespace King.Mapper.Tests.Data
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Data;
using King.Mapper.Data;
[TestClass]
public class IDataReaderTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void Lo... | mit | C# |
d817b2a2c3c999167ed10071ad0fd75fceeb327d | Fix small bug | kw90/SantasSledge | Santa/MetaHeuristics/SimulatedAnnealing.cs | Santa/MetaHeuristics/SimulatedAnnealing.cs | using System;
using System.Collections.Generic;
using Common;
using FirstSolution.Algos;
namespace MetaHeuristics
{
public class SimulatedAnnealing : ISolver
{
double _temperature;
Random random = new Random();
double _coolingRate;
public SimulatedAnnealing(double temperature, double coolingRate)
{
th... | using System;
using System.Collections.Generic;
using Common;
using FirstSolution.Algos;
namespace MetaHeuristics
{
public class SimulatedAnnealing : ISolver
{
double _temperature;
Random random = new Random();
double _coolingRate;
public SimulatedAnnealing(double temperature, double coolingRate)
{
th... | mit | C# |
be3d841e576a83354476c905b51882159daba5cc | Fix mono compilation error | k-t/SharpHaven | SharpHaven.Common/Resources/ResourceRef.cs | SharpHaven.Common/Resources/ResourceRef.cs | using System;
namespace SharpHaven.Resources
{
public struct ResourceRef
{
public ResourceRef(string name, ushort version)
{
if (name == null)
throw new ArgumentNullException(nameof(name));
this.Name = name;
this.Version = version;
}
public string Name { get; }
public ushort Version { get;... | using System;
namespace SharpHaven.Resources
{
public struct ResourceRef
{
public ResourceRef(string name, ushort version)
{
if (name == null)
throw new ArgumentNullException(nameof(name));
Name = name;
Version = version;
}
public string Name { get; }
public ushort Version { get; }
publ... | mit | C# |
fb59c07847df00f9ca0e452b79374e9a2fca1845 | Fix failed test | amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis | UnitTests/ManagedClient/IrbisRecordTest.cs | UnitTests/ManagedClient/IrbisRecordTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.Runtime;
using ManagedClient;
namespace UnitTests.ManagedClient
{
[TestClass]
public class IrbisRecordTest
{
[TestMethod]
public void TestIrbisRecordConstruction()
{
IrbisRecord record = new Ir... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.Runtime;
using ManagedClient;
namespace UnitTests.ManagedClient
{
[TestClass]
public class IrbisRecordTest
{
[TestMethod]
public void TestIrbisRecordConstruction()
{
IrbisRecord record = new Ir... | mit | C# |
8c5a526b2af9299ec126b34586c9c632e8c88853 | update file | SiddharthChatrolaMs/azure-sdk-for-net,peshen/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,atpham256/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,nathannfan/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,peshen/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,mihymel/azure... | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/ExpressRouteServiceProvider.cs | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/ExpressRouteServiceProvider.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | apache-2.0 | C# |
8f169f27814342c68672fdf4c58d26049338cb91 | Use invariant culture | genlu/roslyn,brettfo/roslyn,reaction1989/roslyn,tannergooding/roslyn,dotnet/roslyn,heejaechang/roslyn,mgoertz-msft/roslyn,agocke/roslyn,mavasani/roslyn,KirillOsenkov/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,abock/roslyn,AmadeusW/roslyn,dotnet/roslyn,nguerrera/roslyn,genlu/roslyn,eriawan/roslyn,diryboy/roslyn,CyrusNa... | src/Features/CSharp/Portable/ConvertSwitchStatementToExpression/ConvertSwitchStatementToExpressionDiagnosticAnalyzer.cs | src/Features/CSharp/Portable/ConvertSwitchStatementToExpression/ConvertSwitchStatementToExpressionDiagnosticAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CShar... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Co... | mit | C# |
6e214001a1815f4f725b0453b97d1fc7eec1b09e | Extend the ParsePhoto example to also show the image size | Clancey/taglib-sharp,Clancey/taglib-sharp,archrival/taglib-sharp,CamargoR/taglib-sharp,archrival/taglib-sharp,hwahrmann/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,mono/taglib-sharp,punker76/taglib-sharp,punker76/taglib-sharp,hwahrmann/taglib-sharp | examples/ParsePhoto.cs | examples/ParsePhoto.cs | using System;
public class ParsePhotoApp
{
public static void Main (string [] args)
{
if(args.Length == 0) {
Console.Error.WriteLine("USAGE: mono ParsePhoto.exe PATH [...]");
return;
}
foreach (string path in args)
ParsePhoto (path);
}
static void ParsePhoto (string p... | using System;
public class ParsePhotoApp
{
public static void Main (string [] args)
{
if(args.Length == 0) {
Console.Error.WriteLine("USAGE: mono ParsePhoto.exe PATH [...]");
return;
}
foreach (string path in args)
ParsePhoto (path);
}
static void ParsePhoto (string p... | lgpl-2.1 | C# |
0f2fa5b4f214e80760bd3f8dca9a89ac8c2b07f0 | Bump version to 0.30.3 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
d103888f8851367d6fc319f0db01ddf8495d89bc | Bump version to 1.2.2 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | mit | C# |
de43e6af166eb4ef6855c0426dec5b72005b5c39 | Update DataRegistry.cs | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/DependencyResolution/DataRegistry.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2/DependencyResolution/DataRegistry.cs | using System;
using SFA.DAS.CommitmentsV2.Data;
using System.Data.Common;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.Data.SqlClient;
using StructureMap;
using SFA.DAS.CommitmentsV2.Configuration;
using SFA.DAS.Configuration;
namespace SFA.DAS.CommitmentsV2.DependencyResolution
{
public clas... | using System;
using SFA.DAS.CommitmentsV2.Data;
using System.Data.Common;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.Data.SqlClient;
using StructureMap;
using SFA.DAS.CommitmentsV2.Configuration;
using SFA.DAS.Configuration;
namespace SFA.DAS.CommitmentsV2.DependencyResolution
{
public clas... | mit | C# |
0d2ab5648433f75cf4a34772e8bd1c02d9b247a7 | optimize code | jiangzhhhh/slua,luzexi/slua-3rd,soulgame/slua,haolly/slua_source_note,shrimpz/slua,shrimpz/slua,Roland0511/slua,yaukeywang/slua,jiangzhhhh/slua,Roland0511/slua,jiangzhhhh/slua,pangweiwei/slua,soulgame/slua,Roland0511/slua,luzexi/slua-3rd-lib,haolly/slua_source_note,soulgame/slua,yaukeywang/slua,luzexi/slua-3rd-lib,luze... | Assets/Plugins/Slua_Managed/Lua3rdDLL.cs | Assets/Plugins/Slua_Managed/Lua3rdDLL.cs | using System.Collections.Generic;
using LuaInterface;
using System;
using System.Linq;
using System.Reflection;
namespace SLua{
public static class Lua3rdDLL{
static Dictionary<string, LuaCSFunction> DLLRegFuncs = new Dictionary<string, LuaCSFunction>();
static Lua3rdDLL(){
// LuaSocketDLL.Reg(DL... | using System.Collections.Generic;
using LuaInterface;
using System;
using System.Linq;
using System.Reflection;
namespace SLua{
public static class Lua3rdDLL{
static Dictionary<string, LuaCSFunction> DLLRegFuncs = new Dictionary<string, LuaCSFunction>();
static Lua3rdDLL(){
// LuaSocketDLL.Reg(DL... | mit | C# |
e7eb41c2e1e3c74dd2f4dd9a3767b16f1a080a9a | Disable sockets perf tests on OSX | parjong/corefx,JosephTremoulet/corefx,stephenmichaelf/corefx,nbarbettini/corefx,tijoytom/corefx,marksmeltzer/corefx,rjxby/corefx,tijoytom/corefx,mazong1123/corefx,BrennanConroy/corefx,MaggieTsang/corefx,rahku/corefx,gkhanna79/corefx,YoupHulsebos/corefx,the-dwyer/corefx,elijah6/corefx,krk/corefx,jlin177/corefx,JosephTre... | src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.cs | src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Net.Sockets.Tests;
using System.Net.Test.Common;
using Xunit;
using Xunit.Abstractions;
namespace Sys... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Net.Sockets.Tests;
using System.Net.Test.Common;
using Xunit;
using Xunit.Abstractions;
namespace Sys... | mit | C# |
2709b6ff4ce2e58a4b037a127e317e8136cd4b96 | Fix WeightedRoundRobin not updated when MemberStatus has changed. | tomliversidge/protoactor-dotnet,AsynkronIT/protoactor-dotnet,masteryee/protoactor-dotnet,masteryee/protoactor-dotnet,tomliversidge/protoactor-dotnet | src/MemberStrategies/WeightedMemberStrategy/WeightedMemberStrategy.cs | src/MemberStrategies/WeightedMemberStrategy/WeightedMemberStrategy.cs | // -----------------------------------------------------------------------
// <copyright file="WeightedMemberStrategy.cs" company="Asynkron HB">
// Copyright (C) 2015-2017 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.... | // -----------------------------------------------------------------------
// <copyright file="WeightedMemberStrategy.cs" company="Asynkron HB">
// Copyright (C) 2015-2017 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.... | apache-2.0 | C# |
d02e2a9c9b69a868f6b4c4fc499f760abfde0a40 | Fix saving filter rules | sboulema/CodeNav,sboulema/CodeNav | CodeNav.Shared/Helpers/SettingsHelper.cs | CodeNav.Shared/Helpers/SettingsHelper.cs | using CodeNav.Models;
using Newtonsoft.Json;
using System;
using System.Collections.ObjectModel;
namespace CodeNav.Helpers
{
public static class SettingsHelper
{
private static bool? _useXmlComments;
public static bool UseXMLComments
{
get
{
if (... | using CodeNav.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace CodeNav.Helpers
{
public static class SettingsHelper
{
private static bool? _useXmlComments;
public static bool UseXMLComments
{
get
... | mit | C# |
42d4892f5d836e11079688291f5446f7b5057b53 | Update iOSLinearAccelerationProbe.cs | predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus | Sensus.iOS.Shared/Probes/Movement/iOSLinearAccelerationProbe.cs | Sensus.iOS.Shared/Probes/Movement/iOSLinearAccelerationProbe.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using CoreMotion;
using Foundation;
using Plugin.Permissions.Abstractions;
using Sensus.Probes.Movement;
namespace Sensus.iOS.Probes.Movement
{
class iOSLinearAccelerationProbe : LinearAccelerationProbe
{
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using CoreMotion;
using Foundation;
using Plugin.Permissions.Abstractions;
using Sensus.Probes.Movement;
namespace Sensus.iOS.Probes.Movement
{
class iOSLinearAccelerationProbe : LinearAccelerationProbe
{
... | apache-2.0 | C# |
7e18ac9c05ebc63de15a6e5dbc3692e1ca5568a6 | add two more ex to excluded by default | PFalkowski/ErrorHandling | ErrorHandling/ExceptionHandlingFilter.cs | ErrorHandling/ExceptionHandlingFilter.cs | using System;
using System.Collections.Generic;
using System.Threading;
namespace ErrorHandling
{
public class ExceptionHandlingFilter : IExceptionHandlingPolicy
{
private readonly IExceptionHandlingPolicy _wrappedPolicy;
/// <summary>
/// Add your unhandlable / filtered out exception... | using System;
using System.Collections.Generic;
namespace ErrorHandling
{
public class ExceptionHandlingFilter : IExceptionHandlingPolicy
{
private readonly IExceptionHandlingPolicy _wrappedPolicy;
/// <summary>
/// Add your unhandlable / filtered out exception types to this HashSet
... | mit | C# |
c9593d485a11e9d0d1e4b5db284ddfdb8da6938a | Update version to 5.0.0 | Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview | Eve-O-Preview/Properties/AssemblyInfo.cs | Eve-O-Preview/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | mit | C# |
739a72195ebb68868f4c53099593701513e2d9c0 | Update Dispatcher documentation | Vtek/Bartender | src/Bartender/Dispatcher.cs | src/Bartender/Dispatcher.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bartender
{
/// <summary>
/// Dispatcher.
/// </summary>
public class Dispatcher : IQueryDispatcher, IAsyncQueryDispatcher
{
/// <summary>
/// Dependency container.
/// </summary>
... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bartender
{
/// <summary>
/// Dispatcher.
/// </summary>
public class Dispatcher : IQueryDispatcher, IAsyncQueryDispatcher
{
/// <summary>
/// Dependency container.
/// </summary>
... | mit | C# |
87bf5c575990c0a9515d931e9699b686cd01ae53 | Fix insights id. | bordoley/FacebookPagesApp | FacebookPagesApp/FacebookPagesApplication.cs | FacebookPagesApp/FacebookPagesApplication.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using RxApp;
using Android.App;
using Android.Runtime;
using Microsoft.FSharp.Core;
using Xamarin;
namespace FacebookPagesApp
{
[Application]
public sealed class FacebookPagesApplic... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using RxApp;
using Android.App;
using Android.Runtime;
using Microsoft.FSharp.Core;
using Xamarin;
namespace FacebookPagesApp
{
[Application]
public sealed class FacebookPagesApplic... | mit | C# |
07e9faa9d55f658cfc8a333f31f0cd37920eaaec | Fix BlockHelper for speed and concurrency | chraft/c-raft | Chraft/World/Blocks/BlockHelper.cs | Chraft/World/Blocks/BlockHelper.cs | #region C#raft License
// This file is part of C#raft. Copyright C#raft Team
//
// C#raft is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any... | #region C#raft License
// This file is part of C#raft. Copyright C#raft Team
//
// C#raft is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any... | agpl-3.0 | C# |
fb74e096feacb78a1964deb6a0dcb67910f669e3 | Add BlobStream.CreateStream() method | modulexcite/dnlib,kiootic/dnlib,ilkerhalil/dnlib,picrap/dnlib,ZixiangBoy/dnlib,jorik041/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,yck1509/dnlib | src/DotNet/MD/BlobStream.cs | src/DotNet/MD/BlobStream.cs | using dot10.IO;
namespace dot10.DotNet.MD {
/// <summary>
/// Represents the #Blob stream
/// </summary>
public class BlobStream : DotNetStream {
static readonly byte[] noData = new byte[0];
/// <inheritdoc/>
public BlobStream() {
}
/// <inheritdoc/>
public BlobStream(IImageStream imageStream, Strea... | using dot10.IO;
namespace dot10.DotNet.MD {
/// <summary>
/// Represents the #Blob stream
/// </summary>
public class BlobStream : DotNetStream {
static readonly byte[] noData = new byte[0];
/// <inheritdoc/>
public BlobStream() {
}
/// <inheritdoc/>
public BlobStream(IImageStream imageStream, Strea... | mit | C# |
bee730200792b96d9d95e340779d340fbfdd600e | Update `PcscExcetpion` class. Assign the value of `Error` in constructor. Remove unused constructors. | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscException.cs | src/PcscDotNet/PcscException.cs | using System;
using System.ComponentModel;
namespace PcscDotNet
{
public delegate void PcscExceptionHandler(PcscException error);
public sealed class PcscException : Win32Exception
{
public SCardError Error { get; private set; }
public bool ThrowIt { get; set; } = true;
public Pc... | using System;
using System.ComponentModel;
namespace PcscDotNet
{
public delegate void PcscExceptionHandler(PcscException error);
public sealed class PcscException : Win32Exception
{
public SCardError Error => (SCardError)NativeErrorCode;
public bool ThrowIt { get; set; } = true;
... | mit | C# |
dbffac2877efec923ede0512da1e4a696e81c011 | Replace literals in order of key length, e.g. most-specific first. | brendanjbaker/StraightSQL | src/StraightSql/CommandPreparer.cs | src/StraightSql/CommandPreparer.cs | namespace StraightSql
{
using Npgsql;
using System;
using System.Linq;
public class CommandPreparer
: ICommandPreparer
{
public void Prepare(NpgsqlCommand npgsqlCommand, IQuery query)
{
if (npgsqlCommand == null)
throw new ArgumentNullException(nameof(npgsqlCommand));
i... | namespace StraightSql
{
using Npgsql;
using System;
public class CommandPreparer
: ICommandPreparer
{
public void Prepare(NpgsqlCommand npgsqlCommand, IQuery query)
{
if (npgsqlCommand == null)
throw new ArgumentNullException(nameof(npgsqlCommand));
if (query == null)
throw new ... | mit | C# |
31a91ec8a04fbdcfee699e373b3be2fc3847401f | Fix FormatIdentity bug | fluentmigrator/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator | src/FluentMigrator.Runner.SQLite/Generators/SQLite/SQLiteColumn.cs | src/FluentMigrator.Runner.SQLite/Generators/SQLite/SQLiteColumn.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using FluentMigrator.Model;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.SQLite
{
// ReSharper disable once InconsistentNaming
internal class SQLiteColumn : ColumnBase
{
... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using FluentMigrator.Model;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.SQLite
{
// ReSharper disable once InconsistentNaming
internal class SQLiteColumn : ColumnBase
{
... | apache-2.0 | C# |
a0bbd7f19962d41fd835210ad0f9ccc9af1264c9 | stabilize test | adamabdelhamed/PowerArgs,adamabdelhamed/PowerArgs | PowerArgsTestCore/ConsoleApp/TextBoxTests.cs | PowerArgsTestCore/ConsoleApp/TextBoxTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PowerArgs.Cli;
using PowerArgs;
using System.Threading;
namespace ArgsTests.CLI.Controls
{
[TestClass]
[TestCategory(Categories.ConsoleApp)]
public class TextBoxTests
{
public TestContext TestContext { get; set; }
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PowerArgs.Cli;
using PowerArgs;
using System.Threading;
namespace ArgsTests.CLI.Controls
{
[TestClass]
[TestCategory(Categories.ConsoleApp)]
public class TextBoxTests
{
public TestContext TestContext { get; set; }
... | mit | C# |
1de58c0dda5037befc166fe41d727efcdfe65275 | Make ID atomic | KodamaSakuno/Library | Sakuno.SystemInterop/TaskDialogButtonBase.cs | Sakuno.SystemInterop/TaskDialogButtonBase.cs | using System.Threading;
namespace Sakuno.SystemInterop
{
public abstract class TaskDialogButtonBase
{
static int r_IDForNextButton = 19;
public int ID { get; }
public string Text { get; }
public bool IsDefault { get; set; }
protected TaskDialogButtonBase(string rpTe... | namespace Sakuno.SystemInterop
{
public abstract class TaskDialogButtonBase
{
static int r_IDForNextButton = 19;
public int ID { get; }
public string Text { get; }
public bool IsDefault { get; set; }
protected TaskDialogButtonBase(string rpText)
{
... | mit | C# |
063fd2c99ddda6b7c0ea171ca4263d6cc2b5b287 | Refactor UnaryOperation base definition | ajlopez/TensorSharp | Src/TensorSharp/Operations/UnaryOperation.cs | Src/TensorSharp/Operations/UnaryOperation.cs | namespace TensorSharp.Operations
{
using TensorSharp.Nodes;
public abstract class UnaryOperation<T, R> : BaseNode<R>
{
private INode<T> node;
public UnaryOperation(INode<T> node)
{
this.node = node;
}
public override int Rank { get { retur... | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TensorSharp.Nodes;
public abstract class UnaryOperation<T> : BaseNode<T>
{
private INode<T> node;
public UnaryOperation(INode<T> node)... | mit | C# |
9bfb22098fd6f4e4874db9248a437e22505a5ab9 | add description and format for errorcode | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework/SysExceptions/SysException.cs | Src/iFramework/SysExceptions/SysException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using IFramework.Infrastructure;
using System.ComponentModel;
namespace IFramework.SysExceptions
{
public class ErrorCodeDictionary
{
private static D... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using IFramework.Infrastructure;
namespace IFramework.SysExceptions
{
public class ErrorCodeDictionary
{
private static Dictionary<object, string> err... | mit | C# |
20d6e98a06fd51fbc3011fac538b748cd136f2f3 | Update Draw-Line.csx | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | scripts/Draw-Line.csx | scripts/Draw-Line.csx | // Draw Line
#r "Core2D"
using Core2D.Editor;
using Core2D.Editor.Input;
Editor.OnToolLine();
var p0 = new InputArgs(30, 30, ModifierFlags.None);
Editor.CurrentTool.LeftDown(p0);
Editor.CurrentTool.LeftUp(p0);
var p1 = new InputArgs(300, 30, ModifierFlags.None);
Editor.CurrentTool.LeftDown(p1);
Editor.CurrentTool.... | // Draw Line
#r "Core2D.Editor"
using Core2D.Editor;
using Core2D.Editor.Input;
Editor.OnToolLine();
var p0 = new InputArgs(30, 30, ModifierFlags.None);
Editor.LeftDown(p0);
Editor.LeftUp(p0);
var p1 = new InputArgs(300, 30, ModifierFlags.None);
Editor.LeftDown(p1);
Editor.LeftUp(p1); | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.