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 |
|---|---|---|---|---|---|---|---|---|
a0dc86d2935df0889ce4ff44d305cbe6289e0be3 | Correct broken test - wrong exception | NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue | MVVM.HTML.Core/Binding/Mapping/IJavascriptObjectFactory_CreateEnum_extesion.cs | MVVM.HTML.Core/Binding/Mapping/IJavascriptObjectFactory_CreateEnum_extesion.cs | using MVVM.HTML.Core.V8JavascriptObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVVM.HTML.Core.Infra;
using MVVM.HTML.Core.Exceptions;
namespace MVVM.HTML.Core.Binding
{
public static class IJavascriptObjectFactory_CreateEnum_exte... | using MVVM.HTML.Core.V8JavascriptObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVVM.HTML.Core.Infra;
using MVVM.HTML.Core.Exceptions;
namespace MVVM.HTML.Core.Binding
{
public static class IJavascriptObjectFactory_CreateEnum_exte... | mit | C# |
faa820b839d9671514caa8e263e064fcc229d427 | Add comments regarding what to pay attention to when finding the word following a/an. | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | apache-2.0 | C# |
4ab6a74fad05b712c49f289931b0cb8674dc4edb | remove assembly version change | ayeletshpigelman/azure-sdk-for-net,jamestao/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,hyonholee/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,jamestao/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,markcowl/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-ne... | src/SDKs/ManagementGroups/Management.ManagementGroups/Properties/AssemblyInfo.cs | src/SDKs/ManagementGroups/Management.ManagementGroups/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[as... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[as... | mit | C# |
4ad776bfde4c88da610e388c4394a836af444772 | Make slider circle masks not handle mouse input at all | ZLima12/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,DrabWeb/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,ppy/osu,johnneijzen/osu,Nabile-Rahmani/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,smo... | osu.Game.Rulesets.Osu/Edit/Layers/Selection/Overlays/SliderCircleMask.cs | osu.Game.Rulesets.Osu/Edit/Layers/Selection/Overlays/SliderCircleMask.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
us... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Game.Graphics;
using... | mit | C# |
ef9418af908500491ec469abf8f04e9868888c46 | Simplify check | jmarolf/roslyn,sharwell/roslyn,AmadeusW/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,aelij/roslyn,heejaechang/roslyn,panopticoncentral/roslyn,tmat/roslyn,physhi/roslyn,genlu/roslyn,tmat/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,panopticoncentral/roslyn,jmarolf/roslyn,physhi/r... | src/VisualStudio/IntegrationTest/TestUtilities/Common/Comparison.cs | src/VisualStudio/IntegrationTest/TestUtilities/Common/Comparison.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;
using System.Collections.Generic;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.Common
... | // 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;
using System.Collections.Generic;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.Common
... | mit | C# |
578f65725b6f93e3efcb60990fe51390ca43b319 | Trim search strings in deskapp. | ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | mit | C# |
7fd1d60b72deca6327f9718a6babbd35a52bb853 | Remove invalid annotations. | AdaptiveMe/adaptive-arp-api,AdaptiveMe/adaptive-arp-api | adaptive-arp-api-csharp/Adaptive.Arp.Api/Adaptive/Arp/Api/InvalidPathException.cs | adaptive-arp-api-csharp/Adaptive.Arp.Api/Adaptive/Arp/Api/InvalidPathException.cs | /*
* =| ADAPTIVE RUNTIME PLATFORM |=======================================================================================
*
* (C) Copyright 2013-2014 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in com... | /*
* =| ADAPTIVE RUNTIME PLATFORM |=======================================================================================
*
* (C) Copyright 2013-2014 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in com... | apache-2.0 | C# |
2f30ca7875822dc8769b7a4c360aee1a95649cab | Implement IMessageHandlerFactory #452 | mpostol/OPC-UA-OOI | Networking/DataRepository/AzureGatewayUnitTest/PartDataManagementSetupUnitTest.cs | Networking/DataRepository/AzureGatewayUnitTest/PartDataManagementSetupUnitTest.cs | //___________________________________________________________________________________
//
// Copyright (C) 2020, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... | //___________________________________________________________________________________
//
// Copyright (C) 2020, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... | mit | C# |
eb8bc920498a26b2e229f640a87352cf6f651688 | Update ConsumerDispatcher.cs | chinaboard/EasyNetQ,maverix/EasyNetQ,sanjaysingh/EasyNetQ,Pliner/EasyNetQ,micdenny/EasyNetQ,blackcow02/EasyNetQ,mleenhardt/EasyNetQ,fpommerening/EasyNetQ,Pliner/EasyNetQ,zidad/EasyNetQ,sanjaysingh/EasyNetQ,chinaboard/EasyNetQ,ar7z1/EasyNetQ,scratch-net/EasyNetQ,scratch-net/EasyNetQ,GeckoInformasjonssystemerAS/EasyNetQ,... | Source/EasyNetQ/Consumer/ConsumerDispatcher.cs | Source/EasyNetQ/Consumer/ConsumerDispatcher.cs | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace EasyNetQ.Consumer
{
public class ConsumerDispatcher : IConsumerDispatcher
{
private readonly Thread dispatchThread;
private readonly BlockingCollection<Action> queue;
private bool disposed;
pu... | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace EasyNetQ.Consumer
{
public class ConsumerDispatcher : IConsumerDispatcher
{
private readonly Thread dispatchThread;
private readonly BlockingCollection<Action> queue;
private bool disposed;
pu... | mit | C# |
4cb7d3cd6640ccedf421a3207288de7221292570 | bump to 1.15.6 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | agpl-3.0 | C# |
b6a8b9585fe9b4ebe8c210e5ee0a8ddd9ba37174 | fix failing exception test in Mono | activelylazy/TestFirst.Net,activelylazy/TestFirst.Net,TestFirstNet/TestFirst.Net,TestFirstNet/TestFirst.Net | TestFirst.Net.Tests/Matcher/AnExceptionTest.cs | TestFirst.Net.Tests/Matcher/AnExceptionTest.cs | using System;
using NUnit.Framework;
using TestFirst.Net.Matcher;
namespace TestFirst.Net.Test.Matcher
{
[TestFixture]
public class AnExceptionTest:BaseMatcherTest
{
[Test]
public void MessageMatchTest()
{
AssertPasses(new MyException("MyMessage"), AnException.With().Me... | using System;
using NUnit.Framework;
using TestFirst.Net.Matcher;
namespace TestFirst.Net.Test.Matcher
{
[TestFixture]
public class AnExceptionTest:BaseMatcherTest
{
[Test]
public void MessageMatchTest()
{
AssertPasses(new MyException("MyMessage"), AnException.With().Me... | bsd-2-clause | C# |
2c3fa4cf8d208f2f8c230664f75fd934cd936335 | Remove unused function | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Extensions/TextReaderExtensions.cs | WalletWasabi/Extensions/TextReaderExtensions.cs | using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
public static class TextReaderExtensions
{
// Reads a line. If CRLF is false a line is defined as a sequence of characters followed by
// a carriage return ('\r'), a line feed ('\n'), or a carriage return
// immediat... | using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
public static class TextReaderExtensions
{
// Reads a line. If CRLF is false a line is defined as a sequence of characters followed by
// a carriage return ('\r'), a line feed ('\n'), or a carriage return
// immedia... | mit | C# |
3ab7555e98497b7beb3b81efd13affa61d1cc64a | remove commented out code | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.Common/Authentication/Forms/FormsAuth.cs | WebAPI.Common/Authentication/Forms/FormsAuth.cs | using System.Web.Security;
namespace WebAPI.Common.Authentication.Forms
{
/// <summary>
/// Forms auth wrapper for testing purposes
/// </summary>
public class FormsAuth : IFormsAuthentication
{
public void SignIn(string id)
{
FormsAuthentication.SetAuthCookie(id, tr... | using System.Web.Security;
namespace WebAPI.Common.Authentication.Forms
{
/// <summary>
/// Forms auth wrapper for testing purposes
/// </summary>
public class FormsAuth : IFormsAuthentication
{
public void SignIn(string id)
{
// var ct = request.GetOwinContext();
// ... | mit | C# |
eed1a82c94b2244ea6b2c8668355f4aac75d1fb2 | Update Version | yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,stankovski/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,jamestao/azure-sdk-for-net,jamestao/azure-sdk-for-net,jackmagic313/azure-sdk-for... | src/AzureStack/Admin/FabricAdmin/Fabric.Admin/Properties/AssemblyInfo.cs | src/AzureStack/Admin/FabricAdmin/Fabric.Admin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Azure Stack Fabric Admin Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Stack Fabric Admin Res... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Azure Stack Fabric Admin Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Stack Fabric Admin Res... | mit | C# |
9ee059aee4a7905251d6a5c26568740c4d07317f | Add IsSupported property | wcoder/Xamarin.Plugin.DeviceOrientation | src/DeviceOrientation/Plugin.DeviceOrientation/CrossDeviceOrientation.cs | src/DeviceOrientation/Plugin.DeviceOrientation/CrossDeviceOrientation.cs | using System;
using System.Threading;
using Plugin.DeviceOrientation.Abstractions;
namespace Plugin.DeviceOrientation
{
/// <summary>
/// Cross platform DeviceOrientation implemenations
/// </summary>
public class CrossDeviceOrientation
{
private static readonly Lazy<IDeviceOrientation... | using System;
using System.Threading;
using Plugin.DeviceOrientation.Abstractions;
namespace Plugin.DeviceOrientation
{
/// <summary>
/// Cross platform DeviceOrientation implemenations
/// </summary>
public class CrossDeviceOrientation
{
private static readonly Lazy<IDeviceOrientation... | mit | C# |
d1ec9610e2f1e84ce57cad11e243579cf07894b2 | bump AssemblyVersion | jvalladolid/recurly-client-net,cgerrior/recurly-client-net | Library/Properties/AssemblyInfo.cs | Library/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("Re... | 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("Re... | mit | C# |
f2d50e0d5aa1336253980ecd413afddc287f5d20 | Fix SQLite migration | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Database/Migrations/20200511162912_SLRemoveSoftColumns.cs | src/Tgstation.Server.Host/Database/Migrations/20200511162912_SLRemoveSoftColumns.cs | using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace Tgstation.Server.Host.Database.Migrations
{
/// <summary>
/// Removes various defunct columns for SQLite.
/// </summary>
public partial class SLRemoveSoftColumns : Migration
{
const string MigratedColumns = "Id,AllowWebClient,SecurityLevel... | using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace Tgstation.Server.Host.Database.Migrations
{
/// <summary>
/// Removes various defunct columns for SQLite.
/// </summary>
public partial class SLRemoveSoftColumns : Migration
{
const string MigratedColumns = "AllowWebClient,SecurityLevel,Pr... | agpl-3.0 | C# |
0443594a1cd097e3ebb89b2aa7d50b508aeecf36 | bump compat version | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Api/DependencyInjection/Extensions/ConfigureServicesCollection.cs | src/FilterLists.Api/DependencyInjection/Extensions/ConfigureServicesCollection.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace FilterLists.Api.DependencyInjection.Extensions
{
public static class ConfigureServicesCollection
{
public static void Ad... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace FilterLists.Api.DependencyInjection.Extensions
{
public static class ConfigureServicesCollection
{
public static void Ad... | mit | C# |
1a9b98f145eb8ebd67a73712e05259871f5e2707 | Fix after update_project_dependencies.sh | vkuskov/Entitas-CSharp,sschmid/Entitas-CSharp,sschmid/Entitas-CSharp,vkuskov/Entitas-CSharp | Entitas.Unity/Assets/Entitas/Unity/VisualDebugging/Editor/EntitasStats.cs | Entitas.Unity/Assets/Entitas/Unity/VisualDebugging/Editor/EntitasStats.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Entitas.CodeGenerator;
using UnityEditor;
using UnityEngine;
namespace Entitas.Unity.VisualDebugging {
public static class EntitasStats {
[MenuItem("Entitas/Log Stats", false, 200)]
public static voi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Entitas.CodeGenerator;
using UnityEditor;
using UnityEngine;
namespace Entitas.Unity.VisualDebugging {
public static class EntitasStats {
[MenuItem("Entitas/Log Stats", false, 200)]
public static voi... | mit | C# |
70faeb006263405f2f153702d45973c7520c4f04 | Revert commented out ConvertDoc line | NightOwl888/lucenenet,jeme/lucenenet,sisve/lucenenet,jeme/lucenenet,apache/lucenenet,NightOwl888/lucenenet,apache/lucenenet,jeme/lucenenet,NightOwl888/lucenenet,jeme/lucenenet,apache/lucenenet,apache/lucenenet,sisve/lucenenet,NightOwl888/lucenenet | src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs | src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JavaDocToMarkdownConverter
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional inform... | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JavaDocToMarkdownConverter
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional inform... | apache-2.0 | C# |
315ec40ec9c16ac08e5eb64991f4ee2801c9fc3c | Disable the VMDynamicTests temporarily to pass CIT | pankajsn/azure-powershell,devigned/azure-powershell,yantang-msft/azure-powershell,arcadiahlyy/azure-powershell,TaraMeyer/azure-powershell,juvchan/azure-powershell,ClogenyTechnologies/azure-powershell,jasper-schneider/azure-powershell,naveedaz/azure-powershell,pankajsn/azure-powershell,krkhan/azure-powershell,Matt-Westp... | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VMDynamicTests.cs | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VMDynamicTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
f6910bd0cba9378ef30209cc067a75f49e295b9c | Set correct State Property | ppittle/pMixins,ppittle/pMixins,ppittle/pMixins | pMixins.CodeGenerator/Pipelines/GenerateCodeBehind/Pipelines/TargetLevelCodeGenerator/Steps/CreateTypeDeclarations/CreateTargetCodeBehindTypeDeclaration.cs | pMixins.CodeGenerator/Pipelines/GenerateCodeBehind/Pipelines/TargetLevelCodeGenerator/Steps/CreateTypeDeclarations/CreateTargetCodeBehindTypeDeclaration.cs | //-----------------------------------------------------------------------
// <copyright file="CreateTargetCodeBehindTypeDeclaration.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author>Philip Pittle</author>
// <date>Wednesday, July 23, 2014 11:34:24 AM</date>
// Licensed under the A... | //-----------------------------------------------------------------------
// <copyright file="CreateTargetCodeBehindTypeDeclaration.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author>Philip Pittle</author>
// <date>Wednesday, July 23, 2014 11:34:24 AM</date>
// Licensed under the A... | apache-2.0 | C# |
f49deb28121c718207bbc9b92acf4fdb8103012c | fix InternalsVisibleTo | f7753/ignite,samaitra/ignite,ptupitsyn/ignite,kromulan/ignite,kromulan/ignite,VladimirErshov/ignite,f7753/ignite,SomeFire/ignite,StalkXT/ignite,mcherkasov/ignite,vsisko/incubator-ignite,pperalta/ignite,SomeFire/ignite,vladisav/ignite,NSAmelchev/ignite,DoudTechData/ignite,vadopolski/ignite,ilantukh/ignite,nizhikov/ignit... | modules/platform/src/main/dotnet/Apache.Ignite.Core/Properties/AssemblyInfo.cs | modules/platform/src/main/dotnet/Apache.Ignite.Core/Properties/AssemblyInfo.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ma... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ma... | apache-2.0 | C# |
0c109bccb952da85ca117a2cff1e40a3e68f3434 | Update Milestone.cs | tiksn/TIKSN-Framework | TIKSN.Core/Versioning/Milestone.cs | TIKSN.Core/Versioning/Milestone.cs | namespace TIKSN.Versioning
{
public enum Milestone
{
// Unstable
Alpha = 1,
Beta = 2,
ReleaseCandidate = 3,
// Stable
Release = 4,
}
} | namespace TIKSN.Versioning
{
public enum Milestone
{
// Unstable
Alpha = 1,
Beta = 2,
ReleaseCandidate = 3,
// Stable
Release = 4,
}
} | mit | C# |
99cf57aebc1179c75b17310db7470f48f438051f | add of get solr alert method to interface | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
RootSolrObject GetSearchAlertViaSolr(string query);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
}
}
| apache-2.0 | C# |
6ad35e0c4daf168034d60733ddb9063f06ec2724 | Document PoEItemSocket | jcmoyer/Yeena | Yeena/PathOfExile/PoEItemSocket.cs | Yeena/PathOfExile/PoEItemSocket.cs | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | apache-2.0 | C# |
60925e0e2d3f6e1f69f1c60b211530b8e7066a0d | Refactor code | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AuthStatusField.cs | WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AuthStatusField.cs | using WalletWasabi.Tor.Socks5.Models.Bases;
namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class AuthStatusField : OctetSerializableBase
{
public AuthStatusField(byte value)
{
ByteValue = value;
}
public static AuthStatusField Success = new AuthStatusField(0x00);
public bool IsSu... | using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class AuthStatusField : OctetSerializableBase
{
public AuthStatusField(byte value)
{
ByteValue = value;
}
public AuthStatusField(int value)
{
ByteValue = (byte... | mit | C# |
ff1670fcd991d21f3388027e9b370e4df4441b89 | Add function/algorithm for sorting raw player data | JoshuaBrockschmidt/blockland_script_playerarchiver | client.cs | client.cs | $PLYRARCH::directory = "Add-Ons/Script_PlayerArchiver";
exec($PLYRARCH::directory @ "/config.cs");
if (!exec($PLYRARCH::directory @ "/init.cs"))
{
return false;
}
exec($PLYRARCH::directory @ "/packages.cs");
ActivatePackage(PLYRARCH_package);
function PLYRARCH_addPlayer(%bl_id, %name)
{
%file = new FileObject();
... | $PLYRARCH::directory = "Add-Ons/Script_PlayerArchiver";
exec($PLYRARCH::directory @ "/config.cs");
if (!exec($PLYRARCH::directory @ "/init.cs"))
{
return false;
}
exec($PLYRARCH::directory @ "/packages.cs");
ActivatePackage(PLYRARCH_package);
function PLYRARCH_addPlayer(%bl_id, %name)
{
%file = new FileObject();
... | unlicense | C# |
3ef21195791fe03c4a2e584aeab2e570f2885562 | revert bad tabify. | rfjaquez/RptToXml,ajryan/RptToXml | RptToXml/Program.cs | RptToXml/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace RptToXml
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: RptToXml.exe <RPT filename | wildcard> [outputfilename]");... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace RptToXml
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: RptToXml.exe <RPT filename | wildcard> [outputfilename]... | mit | C# |
db7906acef8549b480580ff3283788647f8e6e58 | add Blend() | TakeAsh/cs-3DGraphics | 3DGraphics/ColorExtensionMethods.cs | 3DGraphics/ColorExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
namespace _3DGraphics {
public static class ColorExtensionMethods {
/// <summary>
/// Blends the specified colors together.
/// </summary>
/// <param nam... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
namespace _3DGraphics {
public static class ColorExtensionMethods {
/// <summary>
/// Blends the specified colors together.
/// </summary>
/// <param nam... | mit | C# |
4ea970b6581c6e3816bbc42086def6dc35466e18 | fix async test | SimonCropp/Newtonsoft.Json.Encryption | Tests/AsyncUsage.cs | Tests/AsyncUsage.cs | using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Encryption;
using NUnit.Framework;
[TestFixture]
public class AsyncUsage
{
[Test]
public async Task Works()
{
var target = new ClassWithString
{
Property = "Foo"
};
using (var factory = ... | using System.Threading.Tasks;
using NUnit.Framework;
[TestFixture]
public class AsyncUsage
{
[Test]
public async Task Works()
{
var target = new SimpleUsage.ClassWithString
{
Property = "Foo"
};
var result = await RoundTrip.RunAsync(target);
Assert.AreEq... | mit | C# |
ff1f9c9db84d0f21ca4ea294e4ba1f5abe2323e0 | remove check | eriawan/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,weltkante/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,physhi/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,eriawan/ro... | src/Workspaces/Core/Portable/Storage/SQLite/v2/SQLitePersistentStorageService.cs | src/Workspaces/Core/Portable/Storage/SQLite/v2/SQLitePersistentStorageService.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;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.H... | // 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;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.H... | mit | C# |
356cf91f6f4614d27fc02518d3660946996da7cf | Make VoicePlayer not use the same clip twice | plrusek/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Stage/VoicePlayer.cs | Assets/Scripts/Stage/VoicePlayer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VoicePlayer : MonoBehaviour
{
[SerializeField]
private AudioSource voiceSource;
private List<AudioClip> victoryClips, lossClips;
private bool soundQueued, victory;
private AudioClip lastClip;
public enum VoiceSet
{
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VoicePlayer : MonoBehaviour
{
[SerializeField]
private AudioSource voiceSource;
private List<AudioClip> victoryClips, lossClips;
private bool soundQueued, victory;
public enum VoiceSet
{
None,
Nitori
}
void Sta... | mit | C# |
1942c8672a2efe4b831d6619fe1c37a2fd3d617a | Disable item click command on header item. | royd/MvvmCross-Prototype | Common.Droid/Views/HeaderAdapter.cs | Common.Droid/Views/HeaderAdapter.cs | using Android.Content;
using Android.Views;
using MvvmCross.Binding.Droid.BindingContext;
using MvvmCross.Binding.Droid.Views;
namespace Common.Droid.Views
{
public class HeaderAdapter : MvxAdapter
{
public HeaderAdapter(Context context)
: this(context, MvxAndroidBindingContextHelpers.Current())
{
}
pub... | using Android.Content;
using Android.Views;
using MvvmCross.Binding.Droid.BindingContext;
using MvvmCross.Binding.Droid.Views;
namespace Common.Droid.Views
{
public class HeaderAdapter : MvxAdapter
{
public HeaderAdapter(Context context)
: this(context, MvxAndroidBindingContextHelpers.Current())
{
}
pub... | mit | C# |
42530aa12b81d1d4a375026afde9d3bc7679bd15 | Fix documentation | sms1991/i18n,VladMukhitdinovLic/i18n | src/i18n/Abstract/ITextLocalizer.cs | src/i18n/Abstract/ITextLocalizer.cs | namespace i18n
{
using System.Collections.Concurrent;
/// <summary>
/// Defines a service for retrieving localized text from a data source.
/// </summary>
public interface ITextLocalizer
{
/// <summary>
/// Obtains dictionary of language tags (key = langtag string, value = Lan... | namespace i18n
{
using System.Collections.Concurrent;
/// <summary>
/// Defines a service for retrieving localized text from a data source.
/// </summary>
public interface ITextLocalizer
{
/// <summary>
/// Obtains collection of language tags describing the set of Po-valid lan... | mit | C# |
f9c1d396509a3ec60e5ed5c5036f5386666fb6f6 | Increase version. | fish55/emcaster,simpsojo/emcaster,fish55/emcaster,simpsojo/emcaster,fish55/emcaster,simpsojo/emcaster | Emcaster/Properties/AssemblyInfo.cs | Emcaster/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("Emcaster")]
[assembly : AssemblyDes... | 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("Emcaster")]
[assembly : AssemblyDes... | bsd-3-clause | C# |
b66e5e59fb13e8da5ae6bc7f63c0fd29b771f8e8 | Remove Application insights | PeterOrneholm/session-aspnetcore,PeterOrneholm/session-aspnetcore | AspNetCore/MyWebappCore/Program.cs | AspNetCore/MyWebappCore/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace MyWebappCore
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
... | using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace MyWebappCore
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
... | mit | C# |
ca0781736c9f20a275aad819d08951f6646f794d | clone object | MasDevProject/CSharp.Common | MasDev.Common/Core/MasDev.Common.Core/Source/Extension/ObjectExtensions.cs | MasDev.Common/Core/MasDev.Common.Core/Source/Extension/ObjectExtensions.cs | using System;
using AutoMapper;
namespace MasDev.Extensions
{
public static class ObjectExtensions
{
public static bool IsSameClass (this object obj, object obj2)
{
if (obj2 == null)
return false;
return obj.GetType () == obj2.GetType ();
}
public static TKey Safety<TKey, TS... | using System;
namespace MasDev.Extensions
{
public static class ObjectExtensions
{
public static bool IsSameClass (this object obj, object obj2)
{
if (obj2 == null)
return false;
return obj.GetType () == obj2.GetType ();
}
public static TKey Safety<TKey, TSource> (this TSourc... | mit | C# |
7e93b6681428d83f010568e07e738c272fced48f | remove unnecessary using | dkackman/DynamicRestProxy,dkackman/DynamicRestProxy | XUnitTests/Tests.cs | XUnitTests/Tests.cs | using System.Threading.Tasks;
using DynamicRestProxy.PortableHttpClient;
using Xunit;
namespace CrossPlatformTests
{
public class CoreTests
{
[Fact]
public async Task SimpleGet()
{
using (dynamic google = new DynamicRestClient("https://www.googleapis.com/"))
... | using System;
using System.Threading.Tasks;
using DynamicRestProxy.PortableHttpClient;
using Xunit;
namespace CrossPlatformTests
{
public class CoreTests
{
[Fact]
public async Task SimpleGet()
{
using (dynamic google = new DynamicRestClient("https://www.googleapis.com... | apache-2.0 | C# |
e967978cb9ca1b4fcec128a2348b665f888da8e4 | Reorganize InterfaceImplementationAnalyzerTests | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | test/DotvvmAcademy.Validation.CSharp.Tests/InterfaceImplementationAnalyzerTests.cs | test/DotvvmAcademy.Validation.CSharp.Tests/InterfaceImplementationAnalyzerTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace DotvvmAcademy.Validation.CSharp.Tests
{
[TestClass]
public class InterfaceImplementationAnalyzerTests : AnalyzerTestBase
{
public const string Sample = @"
public interfac... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text;
using System.Threading.Tasks;
namespace DotvvmAcademy.Validation.CSharp.Tests
{
[TestClass]
public class InterfaceImplementationAnalyzerTests : AnalyzerTes... | apache-2.0 | C# |
a3528fcd17245db77e9f626f9025cffe70a48829 | Fix wrong project being used when ProjectName set for Get-Package | mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/ConsoleHostSolutionManager.cs | src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/ConsoleHostSolutionManager.cs | //
// ConsoleHostSolutionManager.cs
//
// Author:
// Matt Ward <matt.ward@microsoft.com>
//
// Copyright (c) 2019 Microsoft
//
// 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 withou... | //
// ConsoleHostSolutionManager.cs
//
// Author:
// Matt Ward <matt.ward@microsoft.com>
//
// Copyright (c) 2019 Microsoft
//
// 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 withou... | mit | C# |
d699606d9c969cb02091d45a4c6de20bdb19b141 | order and remove usings | StefanBertels/language-ext,StanJav/language-ext,louthy/language-ext | Samples/Contoso/Contoso.Application/Departments/Commands/CreateDepartmentHandler.cs | Samples/Contoso/Contoso.Application/Departments/Commands/CreateDepartmentHandler.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Contoso.Core;
using Contoso.Core.Domain;
using Contoso.Core.Interfaces.Repositories;
using LanguageExt;
using MediatR;
using static Contoso.Validators;
using static LanguageExt.Prelude;
namespace Contoso.Application.Departments.Commands
{
p... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Contoso.Core;
using Contoso.Core.Interfaces.Repositories;
using LanguageExt;
using static LanguageExt.Prelude;
using MediatR;
using static Contoso.Validators;
using Contoso.Core.Domain;
names... | mit | C# |
d0f23a2cffbbf9864f41739cc6dec21c19f87a4a | Clean up NetCore PBKDF2 provider. (#31391) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/DataProtection/Cryptography.KeyDerivation/src/PBKDF2/NetCorePbkdf2Provider.cs | src/DataProtection/Cryptography.KeyDerivation/src/PBKDF2/NetCorePbkdf2Provider.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.
#if NETCOREAPP
using System;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
namespace Microsoft.AspNetCore.Cryptograp... | // 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.
#if NETCOREAPP
using System;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
namespace Microsoft.AspNetCore.Cryptograp... | apache-2.0 | C# |
3df4d8bf42f0c881861f76be6ff69f762ff09587 | Remove unnecessary helpers. | sharwell/roslyn,physhi/roslyn,mgoertz-msft/roslyn,abock/roslyn,genlu/roslyn,paulvanbrenk/roslyn,jamesqo/roslyn,brettfo/roslyn,davkean/roslyn,swaroop-sridhar/roslyn,jmarolf/roslyn,paulvanbrenk/roslyn,heejaechang/roslyn,jcouv/roslyn,mavasani/roslyn,physhi/roslyn,mgoertz-msft/roslyn,AlekseyTs/roslyn,aelij/roslyn,DustinCam... | src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/RegexHelpers.cs | src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/RegexHelpers.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.Text.RegularExpressions;
using Microsoft.CodeAnalysis.EmbeddedLanguages.Common;
using Microsoft.CodeAnalysis... | // 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.Text.RegularExpressions;
using Microsoft.CodeAnalysis.EmbeddedLanguages.Common;
using Microsoft.CodeAnalysis... | mit | C# |
f4280edcd46e340f76810c3964f881f740ce6bb1 | Stop textbox from beeping on Enter | tenthbit/10b.net | 10bClient/10bClient/Main.cs | 10bClient/10bClient/Main.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net.Security;
using System.Threading;
using Newtonsoft.Json;
namespace _10bClient
{
public p... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net.Security;
using System.Threading;
using Newtonsoft.Json;
namespace _10bClient
{
public p... | bsd-3-clause | C# |
31ab42bf30806cd479170958ea4643f1c7e1a71f | Reset and refocus text input on send. | tenthbit/10b.net | 10bClient/10bClient/Main.cs | 10bClient/10bClient/Main.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net.Security;
using System.Threading;
using Newtonsoft.Json;
namespace _10bClient
{
public p... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net.Security;
using System.Threading;
using Newtonsoft.Json;
namespace _10bClient
{
public p... | bsd-3-clause | C# |
e00d4834946bf2baf1d2be2bc9f07b6670eb9aa9 | bump version | lontivero/NBitcoin,MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,stratisproject/NStratis | NBitcoin/Properties/AssemblyInfo.cs | NBitcoin/Properties/AssemblyInfo.cs | using System;
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.
[assem... | using System;
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.
[assem... | mit | C# |
84f1f8d0cd99c0fe282c1fd29d59e97e6f121fb1 | make constants explicitly private | NickStrupat/Equality | Equality/AutoPropertyExtensions.cs | Equality/AutoPropertyExtensions.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
namespace Equality {
public static class AutoPropertyExtensions {
private const String Prefix = "<";
private const String Suffix = ">k__BackingField";
private static String GetBackingFieldName(S... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
namespace Equality {
public static class AutoPropertyExtensions {
const String Prefix = "<";
const String Suffix = ">k__BackingField";
private static String GetBackingFieldName(String propertyNa... | mit | C# |
7e903b78619a8d61925f5a63ad26b0e7c9f49d96 | Refactor settings | jamesmontemagno/SettingsPlugin,jamesmontemagno/SettingsPlugin,maltegoetz/SettingsPlugin,maltegoetz/SettingsPlugin | samples/SettingsSample/SettingsSample/Helpers/Settings.cs | samples/SettingsSample/SettingsSample/Helpers/Settings.cs | // Helpers/Settings.cs
using Plugin.Settings;
using Plugin.Settings.Abstractions;
namespace SettingsSample.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with getters
/// a... | // Helpers/Settings.cs
using Plugin.Settings;
using Plugin.Settings.Abstractions;
namespace SettingsSample.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with getters
/// a... | mit | C# |
31948285fc564eb4d71f9f345f69f72970f7c5d5 | Include Förlorad and Förlorad? in disk page. | ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | mit | C# |
15a8737273bb7e9eab55871b0381d0af7b78b785 | Make color morse "Do the Right Thing" | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/ColorMorseComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/ColorMorseComponentSolver.cs | using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
public class ColorMorseComponentSolver : ComponentSolver
{
public ColorMorseComponentSolver(BombCommander bombCommander, BombComponent bombComponent) :
base(bombCommander, bombComponent)
{
_butto... | using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
public class ColorMorseComponentSolver : ComponentSolver
{
public ColorMorseComponentSolver(BombCommander bombCommander, BombComponent bombComponent) :
base(bombCommander, bombComponent)
{
_butto... | mit | C# |
b645ae60f14f08061f1f0cf75398c15570eaabc3 | Mark CustomHeaderOptions as obsolete. It was used by the old DefaultCustomHeaderPolicyProvider. | andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders | src/NetEscapades.AspNetCore.SecurityHeaders/Infrastructure/CustomHeaderOptions.cs | src/NetEscapades.AspNetCore.SecurityHeaders/Infrastructure/CustomHeaderOptions.cs | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// Provides programmatic configuration for Security Headers.
/// </summary>
[Obsolete("This class is unused since v0.5.0, and will be re... | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// Provides programmatic configuration for Security Headers.
/// </summary>
public class CustomHeaderOptions
{
private strin... | mit | C# |
21292ccdb7ede3096f5440e1e83a84a69f7f944a | Update IQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/IQueryRepository.cs | TIKSN.Core/Data/IQueryRepository.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public interface IQueryRepository<TEntity, TIdentity>
where TEntity : IEntity<TIdentity>
where TIdentity : IEquatable<TIdentity>
{
Task<TEntity> GetAsync(TIdenti... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public interface IQueryRepository<TEntity, TIdentity>
where TEntity : IEntity<TIdentity>
where TIdentity : IEquatable<TIdentity>
{
Task<TEntity> GetAsync(TIdentity id, CancellationToken cancellat... | mit | C# |
e4843611c917708f35ac49c43caca0a869ddfcc4 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.9 | AdamsLair/winforms,windygu/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/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 mit einer Assembly verknüpft sind.
[assembly: A... | 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 mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
8e21901d2aef98b3114e6764bbe06b18518e43f6 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.4 | AdamsLair/winforms,windygu/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/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 mit einer Assembly verknüpft sind.
[assembly: A... | 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 mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
6974e78e5295048d862cca4faef660bb10fe00f9 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.2 | AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/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 mit einer Assembly verknüpft sind.
[assembly: A... | 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 mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
7c5c773cd56e4c3c2d82a5d7f2e7a9c941362868 | Add Admin Attribute (#3124) | xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchar... | src/OrchardCore.Modules/OrchardCore.Deployment/Controllers/ExportFileController.cs | src/OrchardCore.Modules/OrchardCore.Deployment/Controllers/ExportFileController.cs | using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using OrchardCore.Deployment.Core.Mvc;
using OrchardCore.Deployment.Core.Services;
using OrchardCore.Deployment.Services;
using OrchardCore.Mvc.Utilities;
using OrchardCo... | using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using OrchardCore.Deployment.Core.Mvc;
using OrchardCore.Deployment.Core.Services;
using OrchardCore.Deployment.Services;
using OrchardCore.Mvc.Utilities;
using YesSql;
... | bsd-3-clause | C# |
eaefc4271e0b75f39ee53db95ef83c11ff64df85 | create Immediate window on ImmediateWindow_InProc.GetText() | reaction1989/roslyn,AmadeusW/roslyn,tmat/roslyn,agocke/roslyn,wvdd007/roslyn,Hosch250/roslyn,bkoelman/roslyn,diryboy/roslyn,davkean/roslyn,DustinCampbell/roslyn,panopticoncentral/roslyn,genlu/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,CyrusNajmabadi/roslyn,AlekseyTs/roslyn,AlekseyTs/roslyn,davkean/roslyn,nguerrera/r... | src/VisualStudio/IntegrationTest/TestUtilities/InProcess/ImmediateWindow_InProc.cs | src/VisualStudio/IntegrationTest/TestUtilities/InProcess/ImmediateWindow_InProc.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.TextManager.Interop;
namespace Mi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.TextManager.Interop;
namespace Mi... | mit | C# |
d73c0ca65949fa2bff7f8fb4602a350ac8048856 | Remove unused methods from `IModelImporter` | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Database/IModelImporter.cs | osu.Game/Database/IModelImporter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.Collections.Generic;
using System.Threading.Tasks;
using osu.Game.Overlays.Notifications;
namespace osu.Game.Database
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using osu.Game.IO.Archives;
using osu.Game.Overlays.Notifications;
#nullable enab... | mit | C# |
91c44252199e6bd550b025374383c744fae4c074 | Update index.cshtml | Aleksandrovskaya/apmathclouddif | site/index.cshtml | site/index.cshtml | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double x1 = 0;
double x2 = 0;
double x3 = 0;
... | @{
var txt = DateTime.Now;
}
<html>
<body>
<p>The dateTime is @txt</p>
</body>
</html>
| mit | C# |
8b60fd990707f05af20a135b30085e1190c66b48 | correct the signature of the RegisterPointerLeave js extension method of the BitSwiper #2950 (#2951) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/BlazorUI/Bit.BlazorUI/Components/Swiper/BitSwiperJsRuntimeExtension.cs | src/BlazorUI/Bit.BlazorUI/Components/Swiper/BitSwiperJsRuntimeExtension.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.BlazorUI;
using Microsoft.AspNetCore.Components;
namespace Microsoft.JSInterop;
internal static class BitSwiperJsRuntimeExtension
{
internal static async Task<SwiperDimensions> GetDimensions(this IJSRuntime jSRuntime, ElementReference root... | using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.BlazorUI;
using Microsoft.AspNetCore.Components;
namespace Microsoft.JSInterop;
internal static class BitSwiperJsRuntimeExtension
{
internal static async Task<SwiperDimensions> GetDimensions(this IJSRuntime jSRuntime, ElementReference root... | mit | C# |
45d26917134e8bcc1462ad32f8d4b785a5e3b78b | Update CroppingWMFFileWhileConvertingtoPNG.cs | aspose-imaging/Aspose.Imaging-for-.NET,asposeimaging/Aspose_Imaging_NET | Examples/CSharp/ModifyingAndConvertingImages/CroppingWMFFileWhileConvertingtoPNG.cs | Examples/CSharp/ModifyingAndConvertingImages/CroppingWMFFileWhileConvertingtoPNG.cs | using Aspose.Imaging;
using Aspose.Imaging.Examples.CSharp;
using Aspose.Imaging.ImageOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.ModifyingAndConvertingImages
{
class CroppingWMFFileWhileConvertingtoPNG
{
public static voi... | using Aspose.Imaging;
using Aspose.Imaging.Examples.CSharp;
using Aspose.Imaging.ImageOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.ModifyingAndConvertingImages
{
class CroppingWMFFileWhileConvertingtoPNG
{
public static voi... | mit | C# |
b9a8b1d62908b2770d35f5fc5c1fed9c9de47f2f | Make OrchardCore.Resources module always enabled (#11452) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Resources/Manifest.cs | src/OrchardCore.Modules/OrchardCore.Resources/Manifest.cs | using OrchardCore.Modules.Manifest;
[assembly: Module(
Name = "Resources",
Author = ManifestConstants.OrchardCoreTeam,
Website = ManifestConstants.OrchardCoreWebsite,
Version = ManifestConstants.OrchardCoreVersion,
Description = "The Resources module allows you to declare scripts and stylesheets.",... | using OrchardCore.Modules.Manifest;
[assembly: Module(
Name = "Resources",
Author = ManifestConstants.OrchardCoreTeam,
Website = ManifestConstants.OrchardCoreWebsite,
Version = ManifestConstants.OrchardCoreVersion,
Description = "The Resources module allows you to declare scripts and stylesheets.",... | bsd-3-clause | C# |
ad258fed020af6945af85509b6c808e974eaebac | Reformat code | JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla | Samples/ProjectTracker/ProjectTracker.Ui.Xamarin/ProjectTracker.Ui.Xamarin/App.xaml.cs | Samples/ProjectTracker/ProjectTracker.Ui.Xamarin/ProjectTracker.Ui.Xamarin/App.xaml.cs | using Csla.Configuration;
using ProjectTracker.Library;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace ProjectTracker.Ui.Xamarin
{
public partial class App : Application
{
public static Page RootPage { get; priva... | using Csla.Configuration;
using ProjectTracker.Library;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace ProjectTracker.Ui.Xamarin
{
public partial class App : Application
{
public static Page RootPage { get; priva... | mit | C# |
6e0a9df9ebe471d02d46005597814fd0225ea0fb | Fix resource casing. Fixes #3166. | haithemaraissia/monotouch-samples,kingyond/monotouch-samples,markradacz/monotouch-samples,labdogg1003/monotouch-samples,andypaul/monotouch-samples,a9upam/monotouch-samples,davidrynn/monotouch-samples,nelzomal/monotouch-samples,nervevau2/monotouch-samples,peteryule/monotouch-samples,sakthivelnagarajan/monotouch-samples,... | Touch/Screens/iPhone/GestureRecognizers/CustomCheckmarkGestureRecognizer_iPhone.xib.cs | Touch/Screens/iPhone/GestureRecognizers/CustomCheckmarkGestureRecognizer_iPhone.xib.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Example_Touch.Code;
using MonoTouch.ObjCRuntime;
namespace Example_Touch.Screens.iPhone.GestureRecognizers
{
public partial class CustomCheckmarkGestureRecognizer_iPhone : UIViewController
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Example_Touch.Code;
using MonoTouch.ObjCRuntime;
namespace Example_Touch.Screens.iPhone.GestureRecognizers
{
public partial class CustomCheckmarkGestureRecognizer_iPhone : UIViewController
{
... | mit | C# |
ac93262a55d052439beead105bd51c44229eed30 | Add LisResult to model. | andyfmiller/LtiSamples,andyfmiller/LtiSamples,andyfmiller/LtiSamples | SimpleLti/Models/Outcomes2Model.cs | SimpleLti/Models/Outcomes2Model.cs | using LtiLibrary.Core.Outcomes.v2;
namespace SimpleLti.Models
{
public class Outcomes2Model
{
public string ConsumerKey { get; set; }
public string ConsumerSecret { get; set; }
public string ContextId { get; set; }
public LineItem LineItem { get; set; }
public string Li... | using LtiLibrary.Core.Outcomes.v2;
namespace SimpleLti.Models
{
public class Outcomes2Model
{
public string ConsumerKey { get; set; }
public string ConsumerSecret { get; set; }
public string ContextId { get; set; }
public LineItem LineItem { get; set; }
public string Li... | apache-2.0 | C# |
f8e331d8119694e1d5f1661fcb706507cd16eb90 | Fix for misformatted bracing | PietroProperties/holms.platformclient.net | csharp/HOLMS.Platform/HOLMS.Platform/Types/Extensions/Folio/TaxedReservationQuote.cs | csharp/HOLMS.Platform/HOLMS.Platform/Types/Extensions/Folio/TaxedReservationQuote.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HOLMS.Types.Folio {
public partial class TaxedReservationQuote {
public Primitive.MonetaryAmount NetPrice {
get {
var total = PretaxLodgingPriceSubtotal.ToDD + PretaxIncidentalPriceS... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HOLMS.Types.Folio
{
public partial class TaxedReservationQuote
{
public Primitive.MonetaryAmount NetPrice {
get {
var total = PretaxLodgingPriceSubtotal.ToDD + PretaxIncidentalPr... | mit | C# |
81e12aaff1d8671f1e7709afa3183458eaa79673 | Fix namespace of the AmbiguousImplementationException (#22291) | poizan42/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,mmitche/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,krk/corecl... | src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs | src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.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.Globalization;
using System.Runtime.Serialization;
namespace System.Runtime
{
[Serializable]
p... | // 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;
using System.Globalization;
namespace System.Runtime.Serialization
{
[Serializable]
p... | mit | C# |
0fa2adedbe66fbc9e4f128b1d74b1a45023d2605 | Improve comment | DaveSenn/Extend | .Src/Extend/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].AnyAndNotNull.cs | .Src/Extend/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].AnyAndNotNull.cs | #region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="IEnumerable{T}" />.
/// </summary>
// ReSharper disable once InconsistentNaming
... | #region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="IEnumerable{T}" />.
/// </summary>
// ReSharper disable once InconsistentNaming
... | mit | C# |
d5128785b12119055858d89ffd19acb17abd9c37 | refactor XmlIO | TeamBrookvale/UnityXmlLevels | Assets/XmlScripts/XmlIO.cs | Assets/XmlScripts/XmlIO.cs | using System.Xml;
using System.Xml.Serialization;
using System.IO;
using UnityEngine; // necessary for TextAsset
public static class XmlIO
{
public static void SaveXml<T> (this object deserializedXml, string path) where T : class
{
using(var stream = new FileStream(path, FileMode.Create))
{
var s = new XmlSer... | using System.Xml;
using System.Xml.Serialization;
using System.IO;
using UnityEngine; // necessary for TextAsset
public static class XmlIO
{
public static void SaveXml<T> (this object deserializedXml, string path) where T : class
{
using(var stream = new FileStream(path, FileMode.Create))
{
var s = new XmlSer... | mit | C# |
aab8fea441243aed50e023c15890c1eec7c57fce | Remove LoadLibrary | wvdd007/roslyn,tmat/roslyn,physhi/roslyn,sharwell/roslyn,tmat/roslyn,mavasani/roslyn,physhi/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,eriawan/roslyn,mgoertz-msft/roslyn,KevinRansom/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,diryboy/roslyn,dotnet/... | src/Workspaces/Core/Portable/Storage/SQLite/AbstractSQLitePersistentStorageService.cs | src/Workspaces/Core/Portable/Storage/SQLite/AbstractSQLitePersistentStorageService.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;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis.Host;
using Micro... | // 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;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis.Host;
using Micro... | mit | C# |
7d435758cd720ebcceaa4db7ae1aa27afd9bf68e | sort categoryposts by publish date, fix #37 | tylerlrhodes/bagombo,tylerlrhodes/bagombo,tylerlrhodes/bagombo | src/Bagombo.Data/Query/EFCoreQueryHandlers/GetCategoryPostsByCategoryViewModelEFQH.cs | src/Bagombo.Data/Query/EFCoreQueryHandlers/GetCategoryPostsByCategoryViewModelEFQH.cs | using Bagombo.Data.Query.Queries;
using Bagombo.EFCore;
using Bagombo.Models;
using Bagombo.Models.ViewModels.Home;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bagombo.Data.Query.EFCoreQueryHandlers
{
public class Ge... | using Bagombo.Data.Query.Queries;
using Bagombo.EFCore;
using Bagombo.Models;
using Bagombo.Models.ViewModels.Home;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bagombo.Data.Query.EFCoreQueryHandlers
{
public class Ge... | mit | C# |
2fd9eb32f9f053207f0a693783ba357bd73e3462 | validate the response body | Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore | test/JsonApiDotNetCoreExampleTests/Acceptance/Extensibility/NoEntityFrameworkTests.cs | test/JsonApiDotNetCoreExampleTests/Acceptance/Extensibility/NoEntityFrameworkTests.cs | using JsonApiDotNetCore.Serialization;
using Xunit;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using NoEntityFrameworkExample;
using System.Net.Http;
using JsonApiDotNetCoreExampleTests.Helpers.Extensions;
using NoEntityFrameworkExample.Models;
using System.Threading.Tasks;
using System.Ne... | using JsonApiDotNetCore.Serialization;
using Xunit;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using NoEntityFrameworkExample;
using System.Net.Http;
using JsonApiDotNetCoreExampleTests.Helpers.Extensions;
using NoEntityFrameworkExample.Models;
using System.Threading.Tasks;
using System.Ne... | mit | C# |
e0ed8278851d1606d485ca92787c6a300c545d23 | tweak di config | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs | src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs | using AutoMapper;
using FilterLists.Data;
using FilterLists.Services.FilterList;
using FilterLists.Services.Seed;
using FilterLists.Services.Snapshot;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInje... | using AutoMapper;
using FilterLists.Data;
using FilterLists.Services.FilterList;
using FilterLists.Services.Seed;
using FilterLists.Services.Snapshot;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInje... | mit | C# |
d38d8824e4c9a75d608ebd8e534d3481e3cc1ec0 | Update IQueryablePageListExtensions.cs | Arch/UnitOfWork | src/Microsoft.EntityFrameworkCore.UnitOfWork/PagedList/IQueryablePageListExtensions.cs | src/Microsoft.EntityFrameworkCore.UnitOfWork/PagedList/IQueryablePageListExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.EntityFrameworkCore
{
public static class IQueryablePageListExtensions
{
/// <summary>
/// Converts the specified source to <see cref="IPagedList{T}"/> by the specified <paramre... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.EntityFrameworkCore
{
public static class IQueryablePageListExtensions
{
/// <summary>
/// Converts the specified source to <see cref="IPagedList{T}"/> by the specified <paramre... | mit | C# |
0e1dd2bfb5f2a346caf66aad8bccf0a69caac760 | Add test for inline images | mwilliamson/java-mammoth | dotnet/Mammoth.Tests/DocumentConverterTests.cs | dotnet/Mammoth.Tests/DocumentConverterTests.cs | using Xunit;
using System.IO;
using Xunit.Sdk;
using System;
namespace Mammoth.Tests {
public class DocumentConverterTests {
[Fact]
public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() {
assertSuccessfulConversion(
ConvertToHtml("single-paragraph.docx"),
"<p>Walking on imported ... | using Xunit;
using System.IO;
using Xunit.Sdk;
using System;
namespace Mammoth.Tests {
public class DocumentConverterTests {
[Fact]
public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() {
assertSuccessfulConversion(
ConvertToHtml("single-paragraph.docx"),
"<p>Walking on imported ... | bsd-2-clause | C# |
5369d837cabae299bd8c4893c952dcc515e60336 | Define private method Game#LetterWasGuessed | 12joan/hangman | game.cs | game.cs | using System;
using System.Collections.Generic;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
}
public string ShownWord() {
return Word;
}
priva... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
}
public string ShownWord() {
return Word;
}
}
}
| unlicense | C# |
9a125b7b126e4689274d9c97e69df8531d6108a9 | Initialize TextInfo's m_textInfoName in stubbed out globalization | YongseopKim/coreclr,qiudesong/coreclr,Godin/coreclr,AlfredoMS/coreclr,Djuffin/coreclr,yeaicc/coreclr,gitchomik/coreclr,manu-silicon/coreclr,ramarag/coreclr,sjsinju/coreclr,schellap/coreclr,poizan42/coreclr,fffej/coreclr,vinnyrom/coreclr,mokchhya/coreclr,rartemev/coreclr,schellap/coreclr,naamunds/coreclr,gitchomik/corec... | src/mscorlib/corefx/System/Globalization/TextInfo.Unix.cs | src/mscorlib/corefx/System/Globalization/TextInfo.Unix.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace System.Globalization
{
public partial class TextInfo
{
////////////////////////////////... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace System.Globalization
{
public partial class TextInfo
{
////////////////////////////////... | mit | C# |
e20cd57cb782126cf3cfe803c8a4dbaa1a5a34fa | fix derp overflow bug | 0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload | PenguinUpload/src/PenguinUpload/Configuration/PenguinUploadConfiguration.cs | PenguinUpload/src/PenguinUpload/Configuration/PenguinUploadConfiguration.cs | using System;
using Newtonsoft.Json;
namespace PenguinUpload.Configuration
{
public class PenguinUploadConfiguration
{
[JsonProperty("uploadDirectory")]
public string FileUploadDirectory { get; set; } = "data/uploads";
[JsonProperty("registerEnabled")]
public bool Registration... | using System;
using Newtonsoft.Json;
namespace PenguinUpload.Configuration
{
public class PenguinUploadConfiguration
{
[JsonProperty("uploadDirectory")]
public string FileUploadDirectory { get; set; } = "data/uploads";
[JsonProperty("registerEnabled")]
public bool Registration... | apache-2.0 | C# |
1f7c0b4b1b0d2086c14212a43704032b4881b3f6 | set virtual properties | Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp | SalaryCalculator/SalaryCalculatorWeb/Models/HomeViewModels/InfoViewModel.cs | SalaryCalculator/SalaryCalculatorWeb/Models/HomeViewModels/InfoViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SalaryCalculatorWeb.Models.HomeViewModels
{
public class InfoViewModel
{
public virtual int TotalRegisteredUsers { get; set; }
public virtual int TotalPaychecks { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SalaryCalculatorWeb.Models.HomeViewModels
{
public class InfoViewModel
{
public int TotalRegisteredUsers { get; set; }
public int TotalPaychecks { get; set; }
public int TotalRemunerationBi... | mit | C# |
93badce5734c811e39c387559f2c93f970ea581a | remove unused code | iordan93/TeamPompeii,iordan93/TeamPompeii,iordan93/TeamPompeii | PompeiiSquare/PompeiiSquare.Server/Views/Home/Index.cshtml | PompeiiSquare/PompeiiSquare.Server/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1 class="text-center">PompeiiSquare</h1>
<p class="text-center">Find the best places to eat, drink, shop, or visit in any city in the world.</p>
<div class="text-center">
<a href="#" class="btn btn-default"><span class="glyphicon glyp... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1 class="text-center">PompeiiSquare</h1>
<p class="text-center">Find the best places to eat, drink, shop, or visit in any city in the world.</p>
@*<div class="bs-glyphicons">
<ul class="bs-glyphicons-list text-center">
<... | mit | C# |
a8581148008b29da2703598ade9494c2bf6296a3 | Allow TAE to bring down message thread | RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast | RightpointLabs.Pourcast.Repourter/HttpMessageWriterBase.cs | RightpointLabs.Pourcast.Repourter/HttpMessageWriterBase.cs | using System;
using System.Threading;
using Microsoft.SPOT;
namespace RightpointLabs.Pourcast.Repourter
{
public abstract class HttpMessageWriterBase : IHttpMessageWriter
{
public void SendStartAsync(int tapId)
{
Debug.Print("Queing: start " + tapId);
_queue.Add(new Mess... | using System;
using System.Threading;
using Microsoft.SPOT;
namespace RightpointLabs.Pourcast.Repourter
{
public abstract class HttpMessageWriterBase : IHttpMessageWriter
{
public void SendStartAsync(int tapId)
{
Debug.Print("Queing: start " + tapId);
_queue.Add(new Mess... | mit | C# |
b35b055bf61d85f8c7177e2c7c2b79cca7fcc0e4 | Test issue #8 | unvell/ReoGrid,unvell/ReoGrid | DemoWPF/TestWindow.xaml.cs | DemoWPF/TestWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | mit | C# |
e4247d96727c3c019480bdfa7b618dee36ebfa36 | test had failed when was run with dotcover continuous testing, because it add own type to assembly | riganti/infrastructure | src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/CoreNamespacesTests.cs | src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/CoreNamespacesTests.cs |
using System.Linq;
using Xunit;
namespace Riganti.Utils.Infrastructure.Core.Tests
{
public class CoreNamespacesTests
{
/// <summary>
/// If this test fail you have to correct the name space.
/// If you are using Resharper you should set NamespaceProvider to false in folder properties... |
using System.Linq;
using Xunit;
namespace Riganti.Utils.Infrastructure.Core.Tests
{
public class CoreNamespacesTests
{
/// <summary>
/// If this test fail you have to correct the name space.
/// If you are using Resharper you should set NamespaceProvider to false in folder properties... | apache-2.0 | C# |
190ad666ee38e5df9e596a25088dd7f7f72d1b11 | Fix handling empty values collection | cezarypiatek/VanillaTransformer | Src/VanillaTransformer.Core/ValuesProviders/XmlInlineConfigurationValuesProvider.cs | Src/VanillaTransformer.Core/ValuesProviders/XmlInlineConfigurationValuesProvider.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using VanillaTransformer.Core.Utility;
namespace VanillaTransformer.Core.ValuesProviders
{
public class XmlInlineConfigurationValuesProvider:IValuesProvider
{
private readonly XElement inlineValues;
p... | using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using VanillaTransformer.Core.Utility;
namespace VanillaTransformer.Core.ValuesProviders
{
public class XmlInlineConfigurationValuesProvider:IValuesProvider
{
private readonly XElement inlineValues;
p... | mit | C# |
b55d0de92a5d184eacc290c2fa25177d30733b8e | Update SimpleXmlBondDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/SimpleXmlBondDeserializer.cs | TIKSN.Core/Serialization/Bond/SimpleXmlBondDeserializer.cs | using Bond.Protocols;
using System.IO;
using System.Xml;
namespace TIKSN.Serialization.Bond
{
public class SimpleXmlBondDeserializer : DeserializerBase<string>
{
protected override T DeserializeInternal<T>(string serial)
{
var reader = new SimpleXmlReader(XmlReader.Create(new Strin... | using Bond.Protocols;
using System.IO;
using System.Xml;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class SimpleXmlBondDeserializer : DeserializerBase<string>
{
public SimpleXmlBondDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
... | mit | C# |
49e7e214782e9f1ce1843fe32d0870858b91c83f | Fix broken build | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Models/TransferFundedListItemViewModel.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web/Models/TransferFundedListItemViewModel.cs | using SFA.DAS.Commitments.Api.Types;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Models
{
public sealed class TransferFundedListItemViewModel
{
public string HashedCommitmentId { get; set; }
public string ReceivingEmployerName { get; set; }
public TransferApprovalStatus? Statu... | using SFA.DAS.Commitments.Api.Types;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Models
{
public sealed class TransferFundedListItemViewModel
{
public string HashedCommitmentId { get; set; }
public string ReceivingEmployerName { get; set; }
public TransferApprovalStatus Status... | mit | C# |
4bb99c1c72ba9d817554e8ed5f9e9e253c09287d | Use thread context parameter for document highlight. | mgoertz-msft/roslyn,physhi/roslyn,jasonmalinowski/roslyn,davkean/roslyn,abock/roslyn,stephentoub/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,brettfo/roslyn,diryboy/roslyn,sharwell/roslyn,aelij/roslyn,eriawan/roslyn,AmadeusW/roslyn,shyamnamboodiripad/... | src/Features/LanguageServer/Protocol/Handler/Highlights/DocumentHighlightHandler.cs | src/Features/LanguageServer/Protocol/Handler/Highlights/DocumentHighlightHandler.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Mi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Mic... | mit | C# |
9934c63487cd8f939d28904fe0eab9163c55bf78 | Remove unnecessary using that's breaking CI build | shyamnamboodiripad/roslyn,physhi/roslyn,KevinRansom/roslyn,brettfo/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,heejaechang/roslyn,heejaechang/roslyn,mavasani/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,davkean/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,jmarolf/roslyn,sharwell/roslyn,wvdd007/roslyn... | src/Features/LanguageServer/Protocol/Handler/References/FindAllReferencesHandler.cs | src/Features/LanguageServer/Protocol/Handler/References/FindAllReferencesHandler.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.
#nullable enable
using System;
using System.Composition;
using System.Diagnostics;
using System.Threading;
using S... | // 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.
#nullable enable
using System;
using System.Composition;
using System.Diagnostics;
using System.Threading;
using S... | mit | C# |
1387496f4e475df912bdde58c830e15fb3e02a3b | Update IntegrationTestSourceGenerator.cs | AmadeusW/roslyn,aelij/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,ErikSchierboom/roslyn,panopticoncentral/roslyn,ErikSchierboom/roslyn,aelij/roslyn,AlekseyTs/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,brettfo/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,aelij/roslyn,AmadeusW/roslyn,mavasani/ro... | src/VisualStudio/IntegrationTest/IntegrationTests/IntegrationTestSourceGenerator.cs | src/VisualStudio/IntegrationTest/IntegrationTests/IntegrationTestSourceGenerator.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.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace Roslyn.VisualStudio.... | // 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.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace Roslyn.VisualStudio.... | mit | C# |
3c7b48d70e7d85744b61140aa927c814d88340ca | Use DateTime.UnixEpoch field instead of custom version | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs | Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// DateTime converter that handles the JSON read for deserialization might use an epoch time.
/// </summary>
public class DateTimeConverter : Jso... | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// DateTime converter that handles the JSON read for deserialization might use an epoch time.
/// </summary>
public class DateTimeConverter : Jso... | apache-2.0 | C# |
4cbc8e8d22ab71fe3662ef10645d0ea4480ca162 | Remove leftover Inject in one of base handlers | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Handlers/ContextExtendedMessageHandler.cs | src/Booma.Proxy.Client.Unity.Ship/Handlers/ContextExtendedMessageHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using SceneJect.Common;
namespace Booma.Proxy
{
/// <summary>
/// A <see cref="GameMessageHandler{TPayloadType}"/> for payloads that are <see cref="IMessageContext... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using SceneJect.Common;
namespace Booma.Proxy
{
/// <summary>
/// A <see cref="GameMessageHandler{TPayloadType}"/> for payloads that are <see cref="IMessageContext... | agpl-3.0 | C# |
775e97809f4e92a76db39294f0b1eb0de349ac43 | add CastImageFilter to support output writing | richardbeare/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,richardbeare... | Examples/SimpleGaussian.cs | Examples/SimpleGaussian.cs | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | apache-2.0 | C# |
8fff1626df21140dd00493fb77a4156efaee76a7 | make beautiful colors beautiful | salfab/chromamboo,duvaneljulien/chromamboo | src/Chromamboo/Providers/Presentation/RazerChromaGitNotificationPresentationProvider.cs | src/Chromamboo/Providers/Presentation/RazerChromaGitNotificationPresentationProvider.cs | using System;
using System.Diagnostics;
using Corale.Colore.Core;
using Corale.Colore.Razer.Keyboard;
using LibGit2Sharp;
namespace Chromamboo.Providers.Presentation
{
public class RazerChromaGitNotificationPresentationProvider : IGitNotificationPresentationProvider
{
public void UpdateGitNotification... | using System;
using System.Diagnostics;
using Corale.Colore.Core;
using Corale.Colore.Razer.Keyboard;
using LibGit2Sharp;
namespace Chromamboo.Providers.Presentation
{
public class RazerChromaGitNotificationPresentationProvider : IGitNotificationPresentationProvider
{
public void UpdateGitNotification... | mit | C# |
2a7c3d261dba6af03fc5113959ad8b566f225c6a | Fix -s argument in ApplicationOptions | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/src/ApplicationOptions.cs | bindings/src/ApplicationOptions.cs | using System.Text;
namespace Urho
{
public class ApplicationOptions
{
// see http://urho3d.github.io/documentation/1.4/_running.html (Command line options)
public int Width { get; set; } = 0;
public int Height { get; set; } = 0;
public bool WindowedMode { get; set; } = true;
public bool ResizableWindow {... | using System.Text;
namespace Urho
{
public class ApplicationOptions
{
// see http://urho3d.github.io/documentation/1.4/_running.html (Command line options)
public int Width { get; set; } = 0;
public int Height { get; set; } = 0;
public bool WindowedMode { get; set; } = true;
public bool ResizableWindow {... | mit | C# |
22395c15f8b823a51a34b14dbf68e0068003f34d | Fix warning | enexure/Enexure.Fire,enexure/Enexure.Fire | src/Enexure.Fire/Conversion/StringExtensions.cs | src/Enexure.Fire/Conversion/StringExtensions.cs | using System;
using System.Globalization;
using System.Reflection;
using Enexure.Fire.Reflection;
namespace Enexure.Fire.Conversion
{
public static class StringExtensions
{
/// <summary>Converts string to specifiec type</summary>
/// <typeparam name="T">Type to convert to</typeparam>
/// <param name="value">c... | using System;
using System.Globalization;
using System.Reflection;
using Enexure.Fire.Reflection;
namespace Enexure.Fire.Conversion
{
public static class StringExtensions
{
/// <summary>Converts string to specifiec type</summary>
/// <typeparam name="T">Type to convert to</typeparam>
/// <param name="value">c... | mit | C# |
5c4dd6d58472fd512920397523006a7827bc27e3 | Update Program.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/Program.cs | src/Draw2D/Program.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Logging.Serilog;
using Draw2D.Views;
namespace Draw2D
{
class Program
{
[STA... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Logging.Serilog;
using Draw2D.Views;
namespace Draw2D
{
class Program
{
[STA... | mit | C# |
e8f6a9adc02935444d147e99d4fe00e80d7ae948 | Use test configuration repo by default. | LogosBible/Leeroy | src/Leeroy/Service.cs | src/Leeroy/Service.cs | using System;
using System.Net;
using System.Reflection;
using System.ServiceProcess;
using System.Threading;
using System.Threading.Tasks;
using Common.Logging;
using Leeroy.Properties;
namespace Leeroy
{
public partial class Service : ServiceBase
{
public Service()
{
InitializeComponent();
Log.InfoForma... | using System;
using System.Net;
using System.Reflection;
using System.ServiceProcess;
using System.Threading;
using System.Threading.Tasks;
using Common.Logging;
using Leeroy.Properties;
namespace Leeroy
{
public partial class Service : ServiceBase
{
public Service()
{
InitializeComponent();
Log.InfoForma... | mit | C# |
3fc49df0f16ab0b9ba5c61622b9e186233dd22d2 | Fix devconsole MSBuild discovery | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Host/MSBuild/Discovery/Providers/DevConsoleInstanceProvider.cs | src/OmniSharp.Host/MSBuild/Discovery/Providers/DevConsoleInstanceProvider.cs | using System;
using System.Collections.Immutable;
using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.Utilities;
namespace OmniSharp.MSBuild.Discovery.Providers
{
internal class DevConsoleInstanceProvider : MSBuildInstanceProvider
{
public DevConsoleInstanceProvider(ILoggerFactory log... | using System;
using System.Collections.Immutable;
using Microsoft.Extensions.Logging;
using OmniSharp.Utilities;
namespace OmniSharp.MSBuild.Discovery.Providers
{
internal class DevConsoleInstanceProvider : MSBuildInstanceProvider
{
public DevConsoleInstanceProvider(ILoggerFactory loggerFactory)
... | mit | C# |
7629796429c3a9ca32e7cae1e72f17497eeab519 | Fix locking on FileContentDefinitionStore by making it a singleton (#5078) | petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Or... | src/OrchardCore/OrchardCore.ContentManagement/ServiceCollectionExtensions.cs | src/OrchardCore/OrchardCore.ContentManagement/ServiceCollectionExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OrchardCore.ContentManagement.Cache;
using OrchardCore.ContentManagement.Handlers;
using OrchardCore.ContentManagement.Metadata;
using OrchardCore.ContentManagement.Records;
using OrchardCore.Data.Migration;... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OrchardCore.ContentManagement.Cache;
using OrchardCore.ContentManagement.Handlers;
using OrchardCore.ContentManagement.Metadata;
using OrchardCore.ContentManagement.Records;
using OrchardCore.Data.Migration;... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.