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 |
|---|---|---|---|---|---|---|---|---|
f75a6adee23778ee4fef731b68d61a9150e35bd4 | add check for url segments legth | darrelmiller/ApiRouter | src/TreeRoute/TreeRouteData.cs | src/TreeRoute/TreeRouteData.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Web.Http.Routing;
namespace Tavis
{
public class TreeRouteData : IHttpRouteData
{
private readonly Uri _requestUri;
private string[] _Segments;
private int _Positio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Web.Http.Routing;
namespace Tavis
{
public class TreeRouteData : IHttpRouteData
{
private readonly Uri _requestUri;
private string[] _Segments;
private int _Positio... | apache-2.0 | C# |
96f4e6678b27348180d86723c52a58c51431f367 | switch build verbosity to quiet | adamralph/liteguard,adamralph/liteguard | targets/Program.cs | targets/Program.cs | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", "bu... | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", "bu... | mit | C# |
c6a4a204caa40e37e96cfd66a16fd98741d7ab91 | Fix filling all organization data in acceptance tests. | City-of-Helsinki/organisaatiorekisteri,City-of-Helsinki/organisaatiorekisteri,City-of-Helsinki/organisaatiorekisteri,City-of-Helsinki/organisaatiorekisteri | Source/OrganizationRegister.AcceptanceTests/Features/Organization/DeletingOrganizationSteps.cs | Source/OrganizationRegister.AcceptanceTests/Features/Organization/DeletingOrganizationSteps.cs | using System;
using System.Collections.Generic;
using OrganizationRegister.AcceptanceTests.Infrastructure;
using OrganizationRegister.Common;
using TechTalk.SpecFlow;
namespace OrganizationRegister.AcceptanceTests.Features.Organization
{
[Binding]
[Scope(Feature = "DeletingOrganization")]
internal sealed ... | using System;
using System.Collections.Generic;
using OrganizationRegister.AcceptanceTests.Infrastructure;
using OrganizationRegister.Common;
using TechTalk.SpecFlow;
namespace OrganizationRegister.AcceptanceTests.Features.Organization
{
[Binding]
[Scope(Feature = "DeletingOrganization")]
internal sealed ... | mit | C# |
54f1118be4a4f7e01043343659b39fe38afdfc53 | upgrade BuildBanana to include standalone builds | degrand1/Always-Banana,degrand1/Always-Banana,degrand1/Always-Banana | Assets/Editor/BuildBanana.cs | Assets/Editor/BuildBanana.cs | using UnityEngine;
using UnityEditor;
public static class BuildBanana {
static string[] GetAllScenePaths() {
string[] scenes = new string[EditorBuildSettings.scenes.Length];
for(int i = 0; i < scenes.Length; i++) {
scenes[i] = EditorBuildSettings.scenes[i].path;
}
return scenes;
}
[MenuItem("BuildBanana... | using UnityEngine;
using UnityEditor;
public static class BuildBanana {
[MenuItem("BuildBanana/Deploy")]
static void Deploy() {
string[] scenes = new string[EditorBuildSettings.scenes.Length];
for(int i = 0; i < scenes.Length; i++)
{
scenes[i] = EditorBuildSettings.scenes[i].path;
}
EditorUserBuildSetti... | mit | C# |
f7049c22acd1054e3b7c919635ad93b36316198e | Add a newline to Mac OS X output | xp-runners/cert | src/xp.cert/commands/Update_MacOSX.cs | src/xp.cert/commands/Update_MacOSX.cs | using System;
using System.IO;
using System.Diagnostics;
using Xp.Cert;
namespace Xp.Cert.Commands
{
public partial class Update : Command
{
const string SECURITY_EXECUTABLE = "/usr/bin/security";
const string SECURITY_ARGUMENTS = "find-certificate -a -p";
const string SECURITY_KEYCHAI... | using System;
using System.IO;
using System.Diagnostics;
using Xp.Cert;
namespace Xp.Cert.Commands
{
public partial class Update : Command
{
const string SECURITY_EXECUTABLE = "/usr/bin/security";
const string SECURITY_ARGUMENTS = "find-certificate -a -p";
const string SECURITY_KEYCHAI... | bsd-3-clause | C# |
fc6ac2361e056306d5236996d22fc30719a2315b | Fix Typo (#1044) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Authentication.Abstractions/AuthenticationToken.cs | src/Microsoft.AspNetCore.Authentication.Abstractions/AuthenticationToken.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.
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// Name/Value representing a token.
/// </summary>
public class Authenti... | // 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.
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// Name/Value representing an token.
/// </summary>
public class Authent... | apache-2.0 | C# |
68b9f3f07460846ab613c3d1c35f41ed5194de9f | Revert last commit | fullstack101/SuggestionSystem,fullstack101/SuggestionSystem,fullstack101/SuggestionSystem,fullstack101/SuggestionSystem | Source/SuggestionSystem/Web/SuggestionSystem.Web.DataTransferModels/Suggestion/SuggestionResponseModel.cs | Source/SuggestionSystem/Web/SuggestionSystem.Web.DataTransferModels/Suggestion/SuggestionResponseModel.cs | namespace SuggestionSystem.Web.DataTransferModels.Suggestion
{
using System;
using AutoMapper;
using Infrastructure.Mappings;
using Data.Models;
using System.Linq;
public class SuggestionResponseModel : IMapFrom<Suggestion>, IHaveCustomMappings
{
public int Id { get; set; }
... | namespace SuggestionSystem.Web.DataTransferModels.Suggestion
{
using System;
using AutoMapper;
using Infrastructure.Mappings;
using Data.Models;
using System.Linq;
public class SuggestionResponseModel : IMapFrom<Suggestion>, IHaveCustomMappings
{
public int Id { get; set; }
... | mit | C# |
f44dc6a5e5a6baeef7c84d51f65945938f213432 | Check if _engine is null before calling start() | RockyTV/Duality.IronPython | CorePlugin/ScriptExecutor.cs | CorePlugin/ScriptExecutor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using Duality.Editor;
namespace RockyTV.... | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using Duality.Editor;
namespace RockyTV.... | mit | C# |
fa24e71f5ac911d773cac89a00c06621acb08526 | Fix a bug | mt830813/IOCFactory | PM.IOCFactory/Model/Imp/RegistContextReader/UnityMappingFileReader/UnityModel/UnityType.cs | PM.IOCFactory/Model/Imp/RegistContextReader/UnityMappingFileReader/UnityModel/UnityType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace IOCFactory.Model.Imp.RegistContextReader.UnityMappingFileReader.UnityModel
{
[XmlRoot(ElementName = "register", Namespace = "")]
public class Unit... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace IOCFactory.Model.Imp.RegistContextReader.UnityMappingFileReader.UnityModel
{
[XmlRoot(ElementName = "register", Namespace = "")]
public class Unit... | mit | C# |
95edef816b37cbd0c4332e68fd71f725c1d91b85 | Update ExchangeRateRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRateRepository.cs | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRateRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ExchangeRateRepository : EntityQueryRep... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ExchangeRateRepository : EntityQueryRep... | mit | C# |
e825981013308958053138bbfc9dd1c5b7ca2567 | Fix date deserialization | DinoV/azure-sdk-tools,antonba/azure-sdk-tools,alpon/azure-sdk-tools,hyonholee/azure-sdk-tools-1,akromm/azure-sdk-tools,johnkors/azure-sdk-tools,hyonholee/azure-sdk-tools-1,antonba/azure-sdk-tools,antonba/azure-sdk-tools,markcowl/azure-sdk-tools,hyonholee/azure-sdk-tools-1,antonba/azure-sdk-tools,markcowl/azure-sdk-tool... | WindowsAzurePowershell/src/Management.WebSites/Services/DeploymentEntities/DeployResult.cs | WindowsAzurePowershell/src/Management.WebSites/Services/DeploymentEntities/DeployResult.cs | // ----------------------------------------------------------------------------------
//
// Copyright 2011 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://ww... | // ----------------------------------------------------------------------------------
//
// Copyright 2011 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://ww... | apache-2.0 | C# |
9e7cccdf0da5c9921fe8a47647142ecaba234555 | Increase black hole pull power | iridinite/shiftdrive | Client/BlackHole.cs | Client/BlackHole.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="NamedObject"/> representing a gravitational singularity.
/// </summary>
internal sealed class BlackHole : NamedObject {
public BlackHole() {
... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="NamedObject"/> representing a gravitational singularity.
/// </summary>
internal sealed class BlackHole : NamedObject {
public BlackHole() {
... | bsd-3-clause | C# |
a67e007c01fcf41610b29949886c3c1625582577 | Fix SendChatMessageToClientModification. | DeathCradle/Open-Terraria-API,DeathCradle/Open-Terraria-API | OTAPI.Modifications/OTAPI.Modifications.Net.NetworkText/Modifications/SendChatMessageToClientModification.cs | OTAPI.Modifications/OTAPI.Modifications.Net.NetworkText/Modifications/SendChatMessageToClientModification.cs | using Microsoft.Xna.Framework;
using OTAPI.Patcher.Engine.Extensions;
using OTAPI.Patcher.Engine.Modification;
using System.Collections.Generic;
namespace OTAPI.Modifications.NetworkText.Modifications
{
public class SendChatMessageToClientModification : ModificationBase
{
public override IEnumerable<string> Assem... | using Microsoft.Xna.Framework;
using OTAPI.Patcher.Engine.Extensions;
using OTAPI.Patcher.Engine.Modification;
using System.Collections.Generic;
namespace OTAPI.Modifications.NetworkText.Modifications
{
public class SendChatMessageToClientModification : ModificationBase
{
public override IEnumerable<string> Assem... | mit | C# |
71c856282bdec06c9879c0ac23187a9172ff3c8a | Format change to match other methods; | Redth/AndHUD,Redth/AndHUD,skela/AndHUD | AndHUD/XHUD.cs | AndHUD/XHUD.cs | using System;
using Android.App;
using AndroidHUD;
namespace XHUD
{
public enum MaskType
{
// None = 1,
Clear,
Black,
// Gradient
}
public static class HUD
{
public static Activity MyActivity;
public static void Show(string message, int progress = -1, MaskType maskType = MaskType.Black)
{
AndHU... | using System;
using Android.App;
using AndroidHUD;
namespace XHUD
{
public enum MaskType
{
// None = 1,
Clear,
Black,
// Gradient
}
public static class HUD
{
public static Activity MyActivity;
public static void Show(string message, int progress = -1, MaskType maskType = MaskType.Black)
{
AndHU... | apache-2.0 | C# |
f33a7747e4f732be04098613b07d2bd2620d2e2c | Use assert. | swaroop-sridhar/roslyn,physhi/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,jcouv/roslyn,brettfo/roslyn,physhi/roslyn,agocke/roslyn,weltkante/roslyn,mavasani/roslyn,gafter/roslyn,jasonmalinowski/roslyn,DustinCampbell/roslyn,mavasani/roslyn,abock/roslyn,diryboy/roslyn,AmadeusW/roslyn,physhi/roslyn,DustinCampbell/rosly... | src/Features/Core/Portable/EmbeddedLanguages/AbstractEmbeddedLanguageDiagnosticAnalyzer.cs | src/Features/Core/Portable/EmbeddedLanguages/AbstractEmbeddedLanguageDiagnosticAnalyzer.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.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAn... | // 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.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAn... | mit | C# |
8775c11c3beee520e1f757ab8452a7c3286803b3 | Add unit test for ActionEqualsDetail. | mmsaffari/elmah-mvc,fhchina/elmah-mvc,jmptrader/elmah-mvc,alexbeletsky/elmah-mvc | src/Tests/ElmahResultTests.cs | src/Tests/ElmahResultTests.cs | namespace Elmah.Mvc.Tests
{
using System.Collections.Specialized;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Moq;
using Xunit;
public class ElmahResultTests
{
[Fact]
public void ElmahResult_ExecuteResult_ControllerContextIsNull()
{
... | namespace Elmah.Mvc.Tests
{
using System.Web;
using System.Web.Mvc;
using Moq;
using Xunit;
public class ElmahResultTests
{
[Fact]
public void ElmahResult_ExecuteResult_ControllerContextIsNull()
{
// Arrange
ControllerContext controllerContext =... | apache-2.0 | C# |
f0f39f28ed4f90ead018171d15a5da9504899a86 | Delete an unused property (#100) | ForNeVeR/wpf-math | src/WpfMath/Atoms/NullAtom.cs | src/WpfMath/Atoms/NullAtom.cs | using WpfMath.Boxes;
namespace WpfMath.Atoms
{
internal class NullAtom : Atom
{
public NullAtom(SourceSpan source = null, TexAtomType type = TexAtomType.Ordinary) : base(source, type)
{
}
protected override Box CreateBoxCore(TexEnvironment environment) => new StrutBox... | using WpfMath.Boxes;
namespace WpfMath.Atoms
{
internal class NullAtom : Atom
{
public NullAtom(SourceSpan source = null, TexAtomType type = TexAtomType.Ordinary) : base(source, type)
{
}
public static Box NullBox =>new StrutBox(0, 0, 0, 0);
protected over... | mit | C# |
fa18cbc837d55c71c5df41afdad1766346a0cada | Check if packet is not null before trying to send. | BahNahNah/SyncIO | SyncIO/Server/SyncIOConnectedClient.cs | SyncIO/Server/SyncIOConnectedClient.cs | using SyncIO.Transport;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace SyncIO.Server {
/// <summary>
/// A client that is connected to a SyncIOServer
/// Used from receving/sending fro... | using SyncIO.Transport;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace SyncIO.Server {
/// <summary>
/// A client that is connected to a SyncIOServer
/// Used from receving/sending fro... | mpl-2.0 | C# |
bb9c29e7df50471ea0858afeb55ca1acb96eb16a | Remove unnecessary casts. | CaptainHayashi/roslyn,sharadagrawal/Roslyn,dpoeschl/roslyn,SeriaWei/roslyn,ljw1004/roslyn,stephentoub/roslyn,dotnet/roslyn,jeffanders/roslyn,VSadov/roslyn,weltkante/roslyn,brettfo/roslyn,rgani/roslyn,vcsjones/roslyn,MichalStrehovsky/roslyn,gafter/roslyn,OmarTawfik/roslyn,basoundr/roslyn,bkoelman/roslyn,panopticoncentra... | src/EditorFeatures/CSharpTest/Diagnostics/AbstractCSharpDiagnosticProviderBasedUserDiagnosticTest.cs | src/EditorFeatures/CSharpTest/Diagnostics/AbstractCSharpDiagnosticProviderBasedUserDiagnosticTest.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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Editor.UnitTests.Diagnostics;
using Microsoft.CodeAnalysis.Ed... | // 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Editor.UnitTests.Diagnostics;
using Microsoft.CodeAnalysis.Ed... | apache-2.0 | C# |
fef6322dca5fbe1d859c86b0042fe15a131f27d4 | Test on serialising nulls | AnthonySteele/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Unit.Tests/Requests/Serializing/FormUrlEncodedPayloadSerializerTests.cs | src/SevenDigital.Api.Wrapper.Unit.Tests/Requests/Serializing/FormUrlEncodedPayloadSerializerTests.cs | using System.Collections.Generic;
using NUnit.Framework;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Wrapper.Requests.Serializing;
namespace SevenDigital.Api.Wrapper.Unit.Tests.Requests.Serializing
{
public class DataWithIntValues
{
public string Name { get; set; }
public List<int> V... | using System.Collections.Generic;
using NUnit.Framework;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Wrapper.Requests.Serializing;
namespace SevenDigital.Api.Wrapper.Unit.Tests.Requests.Serializing
{
public class DataWithIntValues
{
public string Name { get; set; }
public List<int> V... | mit | C# |
9fbd33bba4d9c135d089eb208a93faa1a6919699 | Improve envdte solution property | mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement.EnvDTE/SolutionProperty.cs | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement.EnvDTE/SolutionProperty.cs | //
// SolutionProperty.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2012-2014 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without rest... | //
// SolutionProperty.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2012-2014 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without rest... | mit | C# |
7e601113b32a37763b22586f44da8382034ef390 | convert operationalinsights short running tests | devigned/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershel... | src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/QueryTests.cs | src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/QueryTests.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# |
0eddb457e693e6a307553583c99d31b1593bb367 | Disable CodeCov flag | louisfischer/Cake.MsDeploy | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Ca... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Ca... | mit | C# |
0c52ffefe7d8fccd1f1c0b75b703be525e2dfdb6 | Add filter property to most played movies request. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostPlayedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostPlayedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostPlayedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostPl... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostPlayedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostPlayedMovie>, Trak... | mit | C# |
9dd6615cd4b6016b0633111a0d550ca5c32ddcd8 | Update task match pattern to support symbols and numbers in task names (to fix #37) | agc93/Cake.VisualStudio,agc93/Cake.VisualStudio | src/TaskRunner/TaskParser.cs | src/TaskRunner/TaskParser.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;
using System.Linq;
using System.Text.RegularExpressions;
using Cake... | // 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;
using System.Linq;
using System.Text.RegularExpressions;
using Cake... | mit | C# |
15c610aa449d34ef21e5faebdf566c91779e921e | Remove windows test runner | yufeih/Nine.Application,studio-nine/Nine.Application | test/Windows/MainWindow.xaml.cs | test/Windows/MainWindow.xaml.cs | namespace Nine.Application.Windows.Test
{
using System.Windows;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}
| namespace Nine.Application.Windows.Test
{
using System.Windows;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
Loaded += async (a, b) =>
{
var test = new AppUITest();
await test.co... | mit | C# |
3808f88308865f21ed8c0b00b2462ea8bc2fb272 | Fix assembly rerefence | michael-reichenauer/Dependinator | Dependinator/ModelViewing/ModelHandling/Private/ModelParsing/Private/AssemblyFileParsing/Private/AssemblyModuleParser.cs | Dependinator/ModelViewing/ModelHandling/Private/ModelParsing/Private/AssemblyFileParsing/Private/AssemblyModuleParser.cs | using System;
using System.Linq;
using System.Reflection;
using Dependinator.ModelViewing.ModelHandling.Core;
using Mono.Cecil;
using Mono.Collections.Generic;
namespace Dependinator.ModelViewing.ModelHandling.Private.ModelParsing.Private.AssemblyFileParsing.Private
{
internal class AssemblyModuleParser
{
private... | using System;
using System.Linq;
using System.Reflection;
using Dependinator.ModelViewing.ModelHandling.Core;
using Mono.Cecil;
using Mono.Collections.Generic;
namespace Dependinator.ModelViewing.ModelHandling.Private.ModelParsing.Private.AssemblyFileParsing.Private
{
internal class AssemblyModuleParser
{
private... | mit | C# |
d81b7aa51783bc32ca88a9da76da4ad354ebd1a7 | Handle query and fragment. | jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web | src/Dolstagis.Web/Lifecycle/ResultProcessor.cs | src/Dolstagis.Web/Lifecycle/ResultProcessor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dolstagis.Web.Http;
namespace Dolstagis.Web.Lifecycle
{
public abstract class ResultProcessor<T> : IResultProcessor where T: ResultBase
{
public bool CanProcess(object d... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dolstagis.Web.Http;
namespace Dolstagis.Web.Lifecycle
{
public abstract class ResultProcessor<T> : IResultProcessor where T: ResultBase
{
public bool CanProcess(object d... | mit | C# |
f6a80f7fa2bf0032403af8d9fad3290d667c9625 | increment version | liteguard/liteguard,liteguard/liteguard,adamralph/liteguard,adamralph/liteguard | src/LiteGuard/Properties/CommonAssemblyInfo.cs | src/LiteGuard/Properties/CommonAssemblyInfo.cs | // Copyright (c) 2013 Adam Ralph.
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("LiteGuard")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("LiteGuard contributors")]
[assembly: AssemblyCopyright("... | // Copyright (c) 2013 Adam Ralph.
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("LiteGuard")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("LiteGuard contributors")]
[assembly: AssemblyCopyright("... | mit | C# |
77962d8015df5ab2d981eca18e8643767e59bd32 | Add TODO | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania | src/StatisticsRomania/StatisticsRomania/App.cs | src/StatisticsRomania/StatisticsRomania/App.cs | using SQLite.Net.Async;
using StatisticsRomania.Views;
using Xamarin.Forms;
namespace StatisticsRomania
{
// TODO: new functionalities:
// - export data
// - fix issues on rotating
// - forecast: https://azure.microsoft.com/en-us/documentation/articles/machine-learning-what-is-machine-learning/
... | using SQLite.Net.Async;
using StatisticsRomania.Views;
using Xamarin.Forms;
namespace StatisticsRomania
{
// TODO: new functionalities:
// - export data
// - fix issues on rotating
// - forecast: https://azure.microsoft.com/en-us/documentation/articles/machine-learning-what-is-machine-learning/
... | mit | C# |
d608d1e9a6ae00d160cb0e8f3dac7b14bf662f83 | Remove normalizing from WorkerAudio (now in PreviewListModel) | ChangSpivey/SubtitleMemorize | WorkerAudio.cs | WorkerAudio.cs | // Copyright (C) 2016 Chang Spivey
//
// This program 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; either version 3 of the License, or
// (at your option) any later version.
//
// This program is dist... | // Copyright (C) 2016 Chang Spivey
//
// This program 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; either version 3 of the License, or
// (at your option) any later version.
//
// This program is dist... | agpl-3.0 | C# |
d2f858163a998fa127a3500e142ce855209e6760 | Fix unit test (#770) | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Web.UnitTests/Validators/ApprenticeshipCreateOrEdit/ApprenticeshipValidationTestBase.cs | src/SFA.DAS.EmployerApprenticeshipsService.Web.UnitTests/Validators/ApprenticeshipCreateOrEdit/ApprenticeshipValidationTestBase.cs | using System;
using Moq;
using NUnit.Framework;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.EAS.Infrastructure.Services;
using SFA.DAS.EAS.Web.Validators;
using SFA.DAS.EAS.Web.Validators.Messages;
using SFA.DAS.EAS.Web.ViewModels;
namespace SFA.DAS.EAS.Web.UnitTests.Validators.ApprenticeshipCreateOrEdit
{
... | using System;
using Moq;
using NUnit.Framework;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.EAS.Infrastructure.Services;
using SFA.DAS.EAS.Web.Validators;
using SFA.DAS.EAS.Web.Validators.Messages;
using SFA.DAS.EAS.Web.ViewModels;
namespace SFA.DAS.EAS.Web.UnitTests.Validators.ApprenticeshipCreateOrEdit
{
... | mit | C# |
eb7ac0906e7147a501aaa68552ed0d99d2782754 | Update logger | newchild/LegendaryClient-1,semtize/LegendaryClient | LCLog/WriteToLog.cs | LCLog/WriteToLog.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCLog
{
/// <summary>
/// Worlds most basic logger for LegendaryClient
/// </summary>
public class WriteToLog
{
/// <summary>
/// Where to ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCLog
{
/// <summary>
/// Worlds most basic logger for LegendaryClient
/// </summary>
public class WriteToLog
{
/// <summary>
/// Where to ... | bsd-2-clause | C# |
05ef9cc9aae82fb42c51ecb37a8b41475eee3986 | update user | MichelleLunoza/DOS-exec-CSharp | VRemover/Program.cs | VRemover/Program.cs | /*
* Created by SharpDevelop.
* User: MichelleLunoza
* Date: 12/12/2016
* Time: 8:12 PM
*
*/
using System;
using System.Diagnostics;
namespace VRemover
{
class Program
{
public static void Main(string[] args)
{
Process cmd = new Process();
cmd.StartInfo.FileName = "cmd.exe";
cmd.StartInfo.WindowS... | /*
* Created by SharpDevelop.
* User: Chaelgutierrez
* Date: 12/12/2016
* Time: 8:12 PM
*
*/
using System;
using System.Diagnostics;
namespace VRemover
{
class Program
{
public static void Main(string[] args)
{
Process cmd = new Process();
cmd.StartInfo.FileName = "cmd.exe";
cmd.StartInfo.WindowS... | apache-2.0 | C# |
6dc3e66c930518c72889319a5c618a23148c51a3 | Include combo information when determining ordering if available | smoogipooo/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu | osu.Game/Screens/Edit/Compose/Components/HitObjectOrderedSelectionContainer.cs | osu.Game/Screens/Edit/Compose/Components/HitObjectOrderedSelectionContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects;
nam... | mit | C# |
6ec048ac4b19a64743bc175752611496c29d1aa2 | Tweak collision detection a little more | scottlerch/EventHorizonRider,scottlerch/EventHorizonRider | EventHorizonRider.Core/Ring.cs | EventHorizonRider.Core/Ring.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace EventHorizonRider.Core
{
internal class Ring
{
public float GapAngle;
public float Radius;
public Texture2D Texture;
public Vector2 Origin;
public float GapSize;
publ... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace EventHorizonRider.Core
{
internal class Ring
{
public float GapAngle;
public float Radius;
public Texture2D Texture;
public Vector2 Origin;
public float GapSize;
publ... | apache-2.0 | C# |
6feab27b3c8331b5a664f9c9112c5a83d1d1c14c | Clean up UnionCompletionItemComparer | krishnarajbb/roslyn,a-ctor/roslyn,CyrusNajmabadi/roslyn,VSadov/roslyn,abock/roslyn,pdelvo/roslyn,kienct89/roslyn,srivatsn/roslyn,sharwell/roslyn,rgani/roslyn,nemec/roslyn,mseamari/Stuff,KevinRansom/roslyn,diryboy/roslyn,panopticoncentral/roslyn,amcasey/roslyn,CyrusNajmabadi/roslyn,aanshibudhiraja/Roslyn,danielcweber/ro... | src/Features/Core/Portable/Completion/Providers/UnionCompletionItemComparer.cs | src/Features/Core/Portable/Completion/Providers/UnionCompletionItemComparer.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.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Completion.Providers
{
internal class UnionCompletionItemComp... | // 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.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Completion.Providers
{
internal abstract partial class Abstra... | mit | C# |
4ee11873e52013b066bd655283a4f79f6b7f43e9 | Update CommonPart-Date.Edit.cshtml (#1897) | xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Or... | src/OrchardCore.Modules/OrchardCore.Contents/Views/CommonPart-Date.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Contents/Views/CommonPart-Date.Edit.cshtml | @using OrchardCore.Contents.ViewModels;
@model DateEditorViewModel
<fieldset class="form-group" asp-validation-class-for="LocalDateTime">
<div class="row col-md-6 col-lg-3">
<label asp-for="LocalDateTime">@T["Created"] <span asp-validation-for="LocalDateTime"></span></label>
<input asp-for="LocalDa... | @using OrchardCore.Contents.ViewModels;
@model DateEditorViewModel
<fieldset class="form-group" asp-validation-class-for="CreatedUtc">
<div class="row col-md-6 col-lg-3">
<label asp-for="CreatedUtc">@T["Created"] <span asp-validation-for="CreatedUtc"></span></label>
<input asp-for="CreatedUtc" clas... | bsd-3-clause | C# |
5eddb02287d42b2be9da3cddabe4885cf90c8e09 | Fix incorrect namespace | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Services/PowerShell/Console/ColorConfiguration.cs | src/PowerShellEditorServices/Services/PowerShell/Console/ColorConfiguration.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Console
{
internal class ColorConfiguration
{
public ConsoleColor ForegroundColor { get; set; }
public ConsoleColor BackgroundColor { get; set; }
publi... | using System;
using System.Collections.Generic;
using System.Text;
namespace PowerShellEditorServices.Services.PowerShell.Console
{
internal class ColorConfiguration
{
public ConsoleColor ForegroundColor { get; set; }
public ConsoleColor BackgroundColor { get; set; }
public ConsoleCo... | mit | C# |
97f08b710cd2fd42f8a37497f1b6f0227d3c0048 | update version comment | yasokada/unity-150908-udpTimeGraph | Assets/AppInfo.cs | Assets/AppInfo.cs | using UnityEngine;
using System.Collections;
/* v0.6 2015/09/12
* - move several functions to MyPanelUtils.cs
* v0.5 2015/09/11
* - display ymin and ymax on the left of the panel (graphScale)
* v0.4 2015/09/10
* - can handle set,yrange command
*/
namespace NS_appInfo // NS stands for NameSpace
{
public... | using UnityEngine;
using System.Collections;
/*
* v0.5 2015/09/11
* - display ymin and ymax on the left of the panel (graphScale)
* v0.4 2015/09/10
* - can handle set,yrange command
*/
namespace NS_appInfo // NS stands for NameSpace
{
public static class AppInfo
{
public const string Version = "v0.5";
... | mit | C# |
b1b10c6e081753d6674f7de2cc7c486d526b219c | Add warning for asset path in build path. | Chaser324/unity-build | Editor/Build/Settings/UI/BasicSettingsDrawer.cs | Editor/Build/Settings/UI/BasicSettingsDrawer.cs | using System.IO;
using UnityEditor;
using UnityEngine;
namespace SuperSystems.UnityBuild
{
[CustomPropertyDrawer(typeof(BasicSettings))]
public class BasicSettingsDrawer : PropertyDrawer
{
private string lastBuildPath = string.Empty;
public override void OnGUI(Rect position, SerializedProperty property, GUI... | using System.IO;
using UnityEditor;
using UnityEngine;
namespace SuperSystems.UnityBuild
{
[CustomPropertyDrawer(typeof(BasicSettings))]
public class BasicSettingsDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
EditorGUI.BeginProper... | mit | C# |
9bc78c92d2cf4d71a8f2581d35e91e908c9a9be2 | Fix #3 | farity/farity | Farity/Increment.cs | Farity/Increment.cs | using System;
namespace Farity
{
public static partial class F
{
public static T Increment<T>(T value)
where T : struct,
IComparable,
IComparable<T>,
IConvertible,
IEquatable<T>,
IFormattable => Add((T) Convert.ChangeType(1, typeo... | using System;
namespace Farity
{
public static partial class F
{
public static T Increment<T>(T value)
where T : struct,
IComparable,
IComparable<T>,
IConvertible,
IEquatable<T>,
IFormattable => Add((T) (object) 1, value);
}
} | mit | C# |
6e9e923abba8a8d96452c731b490c20048037a24 | Add BooleanToVisibility, IsEqual, and IsEqualToVisbility converters | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility.Windows/CommonConverters.cs | GoldenAnvil.Utility.Windows/CommonConverters.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace GoldenAnvil.Utility.Windows
{
public static class CommonConverters
{
public static readonly IValueConverter BooleanNot = new BooleanNotConverter();
public static readonly IValueConverter BooleanToVisibility = n... | using System;
using System.Globalization;
using System.Windows.Data;
namespace GoldenAnvil.Utility.Windows
{
public static class CommonConverters
{
public static readonly IValueConverter BooleanNot = new BooleanNotConverter();
private sealed class BooleanNotConverter : IValueConverter
{
public object Conv... | mit | C# |
5e1984cf247f4faa788a00c9f2858d79afcea5ae | Revert "Catching exception in Vertex.ToString()" | yishn/GTPWrapper | GTPWrapper/DataTypes/Vertex.cs | GTPWrapper/DataTypes/Vertex.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper.DataTypes {
/// <summary>
/// Represents a Go board coordinate.
/// </summary>
public struct Vertex {
/// <summary>
/// The letters in a vertex strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper.DataTypes {
/// <summary>
/// Represents a Go board coordinate.
/// </summary>
public struct Vertex {
/// <summary>
/// The letters in a vertex strin... | mit | C# |
64f5388aeccaef84417f48083ac9bc22b65dd1f4 | Update CollisionInfo.cs | HiddenMonk/Unity3DCustomCharacterControllerCapsuleCollisionDetection | Assets/CapsuleCharacterCollision/CCCollision/Collision/Structs/CollisionInfo.cs | Assets/CapsuleCharacterCollision/CCCollision/Collision/Structs/CollisionInfo.cs | using System;
using UnityEngine;
namespace CapsuleCharacterCollisionDetection
{
public struct CollisionInfo
{
public Vector3 safeMoveDirection;
public Vector3 velocity;
public bool hasCollided;
public bool hasFailed;
public int attempts;
}
}
| using System;
using UnityEngine;
namespace CapsuleCharacterCollisionDetection
{
public struct CollisionInfo
{
public Vector3 safeMoveDirection;
public Vector3 velocity;
public bool hasCollided;
public int attempts;
}
} | mit | C# |
62c7ab7d5053e8571af9d2c4fb929726d1b58e68 | Remove un-needed ctor and other methods | VolatileMindsLLC/openvas-sharp | OpenVASManager.cs | OpenVASManager.cs | using System;
using System.Xml;
using System.Xml.Linq;
namespace openvassharp
{
public class OpenVASManager : IDisposable
{
private OpenVASSession _session;
public OpenVASManager(OpenVASSession session)
{
if (session != null)
_session = session;
}
public XDocument GetVersion() {
return _session... | using System;
using System.Xml;
using System.Xml.Linq;
namespace openvassharp
{
public class OpenVASManager : IDisposable
{
private OpenVASSession _session;
public OpenVASManager ()
{
_session = null;
}
public OpenVASManager(OpenVASSession session)
{
if (session != null)
_session = session;
... | bsd-3-clause | C# |
4e3e09d4188722777d36a7859911cf0b10b00b85 | Add test for authorization requirement in TraktUserUnfollowUserRequest | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserUnfollowUserRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserUnfollowUserRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Delete;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Requests;
[TestClass]
... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Delete;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
[TestClass]
public class TraktUserUnfollow... | mit | C# |
cf86df200a43383f84dbfe9bd6e1f128edc05e04 | Add async HTTPS test | nopara73/DotNetTor | src/DotNetTor.Tests/AsyncTests.cs | src/DotNetTor.Tests/AsyncTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using DotNetTor.SocksPort;
using DotNetTor.SocksPort.Net;
using Xunit;
namespace DotNetTor.Tests
{
// For proper configuraion see https://github.com/nopara73/DotNetTor
public class AsyncTests
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using DotNetTor.SocksPort;
using DotNetTor.SocksPort.Net;
using Xunit;
namespace DotNetTor.Tests
{
// For proper configuraion see https://github.com/nopara73/DotNetTor
public class AsyncTests
{
... | mit | C# |
bc11b838cd1abd3064fd0565ca6fd3143670f001 | Remove calls to GetTypeInfo() now that they are no longer necessary for our minimum netcoreapp version of 2.0. | fixie/fixie | src/Fixie/ReflectionExtensions.cs | src/Fixie/ReflectionExtensions.cs | namespace Fixie
{
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
public static class ReflectionExtensions
{
public static string TypeName(this object o)
{
return o?.GetType().FullName;
}
public stati... | namespace Fixie
{
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
public static class ReflectionExtensions
{
public static string TypeName(this object o)
{
return o?.GetType().FullName;
}
public stati... | mit | C# |
a716481f945bce7800e3e7d24504d1709f82af0e | Fix take until exception error. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | mit | C# |
3479d1ff9c4cb49433cf64a601aa2d3f1caad2ce | Update version to 1.1 | mganss/AhoCorasick | AhoCorasick/Properties/AssemblyInfo.cs | AhoCorasick/Properties/AssemblyInfo.cs | using System.Resources;
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.
[asse... | using System.Resources;
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.
[asse... | mit | C# |
a7efc1c81a3d8c92522f67dc3b03ab60c6440236 | Undo changes to IStorageSession | PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core | core/Piranha/IStorageSession.cs | core/Piranha/IStorageSession.cs | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using System.IO;
using System.Threading.Tasks;
using Piranha.Models;
... | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using System.IO;
using System.Threading.Tasks;
using Piranha.Models;
namespa... | mit | C# |
c4183bf0736e2083cf65ed7d69a329a4335b0ebe | Add PermissionChecker for Identity registration. | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Identity/IdentityRegistrar.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Identity/IdentityRegistrar.cs | using AbpCompanyName.AbpProjectName.Authorization;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.Editions;
using AbpCompanyName.AbpProjectName.MultiTenancy;
using Microsoft.AspNetCore.Identity;
using Microsoft.Exten... | using AbpCompanyName.AbpProjectName.Authorization;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.Editions;
using AbpCompanyName.AbpProjectName.MultiTenancy;
using Microsoft.AspNetCore.Identity;
using Microsoft.Exten... | mit | C# |
f7e11873472235822e5136daa5994cfdda692156 | Use newline when writing to stdout. | kcummings/kgrep,kcummings/kgrep | src/WriteStdout.cs | src/WriteStdout.cs | using System;
namespace kgrep {
public class WriteStdout : IHandleOutput {
public void Write(string line) {
Console.WriteLine(line);
}
public string Close() {
return "";
}
}
}
| using System;
namespace kgrep {
public class WriteStdout : IHandleOutput {
public void Write(string line) {
if (line.EndsWith("\n"))
Console.Write(line);
else
Console.Write(line);
}
public string Close() {
... | mit | C# |
456b3f434204ad55cd31ce09d9b3fab7218ed858 | Rename HasSamePropertyValuesAs to SamePropertyValuesAs. | DavidLievrouw/Utils | src/Utils.ForTesting/NUnit/Has.cs | src/Utils.ForTesting/NUnit/Has.cs | using System;
using System.Collections.Generic;
using NUnit.Framework.Constraints;
namespace DavidLievrouw.Utils.ForTesting.NUnit {
public static class Has {
public static IResolveConstraint SamePropertyValuesAs(object expected) {
return new SamePropertyValuesConstraint(expected);
}
public static... | using System;
using System.Collections.Generic;
using NUnit.Framework.Constraints;
namespace DavidLievrouw.Utils.ForTesting.NUnit {
public static class Has {
public static IResolveConstraint HasSamePropertyValuesAs(object expected) {
return new SamePropertyValuesConstraint(expected);
}
public sta... | mit | C# |
01e210ea154b100abc5ba441777daa5a7c8bc864 | Send Sub60FinishedMapLoadCommand on Spawning (even though lobby doesn't need) | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Engine/Initializables/AreaTeleportOnLocalPlayerSpawnedEventListener.cs | src/Booma.Proxy.Client.Unity.Ship/Engine/Initializables/AreaTeleportOnLocalPlayerSpawnedEventListener.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.Pioneer2)]
[SceneTypeCreate(GameSceneType.LobbyDefault)]
public sealed class AreaTeleportOnLocalPlayerSpawnedEventListener : Base... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.Pioneer2)]
[SceneTypeCreate(GameSceneType.LobbyDefault)]
public sealed class AreaTeleportOnLocalPlayerSpawnedEventListener : Base... | agpl-3.0 | C# |
ae612852f4bfa2d013e9f3426e48255577399c4a | Update ArgumentAttribute.cs | primo-ppcg/BF-Crunch | src/argparse/ArgumentAttribute.cs | src/argparse/ArgumentAttribute.cs | using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using ppcg.text;
namespace ppcg.argparse {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class ArgumentAttribute : Attribute {
public str... | using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using ppcg.text;
namespace ppcg.argparse {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class ArgumentAttribute : Attribute {
public st... | mit | C# |
5d92cbd9a65676cadb5c1f234f50c13b77f7b3cf | Return a single value in procedure return message | LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC | RestRPC.Framework/Messages/Outputs/WebReturn.cs | RestRPC.Framework/Messages/Outputs/WebReturn.cs | using Newtonsoft.Json;
using RestRPC.Framework.Messages.Inputs;
namespace RestRPC.Framework.Messages.Outputs
{
/// <summary>
/// This message is sent to server as a response to a request
/// </summary>
class WebReturn : WebOutput
{
const char HEADER_RETURN = 'r';
[JsonConstructor]... | using Newtonsoft.Json;
using RestRPC.Framework.Messages.Inputs;
namespace RestRPC.Framework.Messages.Outputs
{
/// <summary>
/// This message is sent to server as a response to a request
/// </summary>
class WebReturn : WebOutput
{
const char HEADER_RETURN = 'r';
[JsonConstructor]... | mit | C# |
57896d5af5ae62645ef73d6ccee135f0c3334dd7 | Fix ReflectionService for setting overriden properties. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/Execution/ReflectionService.cs | source/Nuke.Core/Execution/ReflectionService.cs | // Copyright Matthias Koch 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using Nuke.Core.Utilities.Collections;
namespace Nuke.Core.Execution
{
internal static class ReflectionService
{
pu... | // Copyright Matthias Koch 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using Nuke.Core.Utilities.Collections;
namespace Nuke.Core.Execution
{
internal static class ReflectionService
{
pu... | mit | C# |
79c02cb023c4a2788184f90293ee4b35ea9c0ea9 | add filtering mode to LargeTextureStore | EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Textures/LargeTextureStore.cs | osu.Framework/Graphics/Textures/LargeTextureStore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using osu.Framework.IO.Stores;
using osuTK.Graphics.ES30;
using osu.Framework.Graphics... | // 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.Diagnostics;
using System.Threading;
using osu.Framework.IO.Stores;
using osuTK.Graphics.ES30;
using osu.Framework.Graphics... | mit | C# |
8c608aa8786cf17c6e9776e6a389a0a14daa7483 | Add MVC routes and DI | Zyrio/ictus,Zyrio/ictus | src/Yio/Startup.cs | src/Yio/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.De... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.De... | mit | C# |
25078e816c5fa233a69a163e728f6f2b6a2b32f6 | Remove obsolete comment. | JasonGT/NorthwindTraders,JasonGT/NorthwindTraders,JasonGT/NorthwindTraders,JasonGT/NorthwindTraders | Src/Application/Customers/Commands/DeleteCustomer/DeleteCustomerCommandHandler.cs | Src/Application/Customers/Commands/DeleteCustomer/DeleteCustomerCommandHandler.cs | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Northwind.Application.Common.Exceptions;
using Northwind.Application.Common.Interfaces;
using Northwind.Domain.Entities;
namespace Northwind.Application.Customers.Commands.DeleteCustomer
{
public class DeleteCustomerComm... | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Northwind.Application.Common.Exceptions;
using Northwind.Application.Common.Interfaces;
using Northwind.Domain.Entities;
namespace Northwind.Application.Customers.Commands.DeleteCustomer
{
public class DeleteCustomerComm... | mit | C# |
e5f67eff28d4f132e23234459f4360ce6b7917e6 | Enable XamlC | JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps | XFGoogleMapSample/XFGoogleMapSample/App.xaml.cs | XFGoogleMapSample/XFGoogleMapSample/App.xaml.cs | using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace XFGoogleMapSample
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new NavigationPage(new MainPage());
... | using Xamarin.Forms;
namespace XFGoogleMapSample
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new NavigationPage(new MainPage());
}
protected override void OnStart()
{
// Handle when yo... | mit | C# |
bf3bf7d48b68b0a459b43abfbacc052764625dee | Fix Themes build error. | JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop | src/Tests/WInterop.Tests/Theming/ThemesTests.cs | src/Tests/WInterop.Tests/Theming/ThemesTests.cs | // Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using WInterop.Windows;
using Xunit;
namespace WindowsTests
{
public class ThemesTests
{
[Fact]
public unsafe vo... | // Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using WInterop.Windows;
using Xunit;
namespace WindowsTests
{
public class ThemesTests
{
[Fact]
public unsafe vo... | mit | C# |
45b2b9ffe4ffa65342d19266386a4bdb81c8d4ce | Fix Merge Schede Contatto | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSchedeNue/MergeSchedeNue/MergeSchedeNueCommandHandler.cs | src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSchedeNue/MergeSchedeNue/MergeSchedeNueCommandHandler.cs | //-----------------------------------------------------------------------
// <copyright file="SetSchedaGestitaCommandHandler.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | //-----------------------------------------------------------------------
// <copyright file="SetSchedaGestitaCommandHandler.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | agpl-3.0 | C# |
d752c11837cbff987d9e3b993645fa208f40e5a1 | Add directives to reprompt object | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet | Alexa.NET/Response/Reprompt.cs | Alexa.NET/Response/Reprompt.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class Reprompt
{
public Reprompt()
{
}
public Reprompt(string text)
{
OutputSpeech = new PlainTextOutputSpeech {Text = text};
}
public Reprompt(S... | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class Reprompt
{
public Reprompt()
{
}
public Reprompt(string text)
{
OutputSpeech = new PlainTextOutputSpeech {Text = text};
}
public Reprompt(Ssml.Speech speech)
{
... | mit | C# |
67c7ed181072c1a252995036f7864ae608b36206 | Fix propertyGroup.ParentId migration | bjarnef/Umbraco-CMS,kasperhhk/Umbraco-CMS,umbraco/Umbraco-CMS,TimoPerplex/Umbraco-CMS,robertjf/Umbraco-CMS,gkonings/Umbraco-CMS,rasmusfjord/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,gkonings/Umbraco-CMS,rasmuseeg/Umbraco-CMS,arknu/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,rasmu... | src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenFourZero/RemoveParentIdPropertyTypeGroupColumn.cs | src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenFourZero/RemoveParentIdPropertyTypeGroupColumn.cs | using System.Linq;
using Umbraco.Core.Configuration;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence.SqlSyntax;
namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSevenFourZero
{
[Migration("7.4.0", 3, GlobalSettings.UmbracoMigrationName)]
public class RemoveParentIdPropertyTypeGro... | using System.Linq;
using Umbraco.Core.Configuration;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence.SqlSyntax;
namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSevenFourZero
{
[Migration("7.4.0", 3, GlobalSettings.UmbracoMigrationName)]
public class RemoveParentIdPropertyTypeGro... | mit | C# |
acd35503153d794a0eca93e4cb0440afc8f1c5b7 | fix typo | Syntronian/Flowplane-Extensions,Syntronian/Flowplane-Extensions,Syntronian/Flowplane-Extensions | source/FlowplaneExtensions/Views/Podio/Header.cshtml | source/FlowplaneExtensions/Views/Podio/Header.cshtml | <h4><img src="@System.Web.HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)@Url.Content("~//Content/img/ext-podio.png")" />
Podio</h4>
| <h4><img src="@System.Web.HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)@Url.Content("~//Content/fp/img/ext-podio.png")" />
Podio</h4>
| mit | C# |
ac9833664a9da24ecbc697a2f67fdf62f0ced178 | build 7.1.24.0 | agileharbor/channelAdvisorAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | bsd-3-clause | C# |
1f3d63ad2db5e1b556eca5fd60247c1c7172cbb8 | Test commit | reflectsoftware/Plato.NET | src/Plato.TestHarness/Program.cs | src/Plato.TestHarness/Program.cs | namespace Plato.TestHarness
{
class Program
{
static void Main(string[] args)
{
Cache.CachePlaygorund.RunAsync().Wait();
//RedisTest.RedisPlayground.RunAsync().Wait();
// Mapper.MapperPlayground.RunAsync().Wait();
// RMQ.RMQPlayground.RunAsync().... | namespace Plato.TestHarness
{
class Program
{
static void Main(string[] args)
{
Cache.CachePlaygorund.RunAsync().Wait();
//RedisTest.RedisPlayground.RunAsync().Wait();
// Mapper.MapperPlayground.RunAsync().Wait();
// RMQ.RMQPlayground.RunAsync().W... | apache-2.0 | C# |
645615f9730ab5d27f1759ea1f095b1963cc16bf | Add support for optional list of keys to limit view queries | stacybird/CS510CouchDB,stacybird/CS510CouchDB,stacybird/CS510CouchDB | CouchTrafficClient/QueryBase.cs | CouchTrafficClient/QueryBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Dynamic;
namespace CouchTrafficClient
{
class QueryException : Exception
{
}
class QueryBase
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Dynamic;
namespace CouchTrafficClient
{
class QueryException : Exception
{
}
class QueryBase
{
... | apache-2.0 | C# |
c718cada1d1e289ccf7c9da72ad4fc40b9f5cf2d | Add back the missing main method | rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rab... | dotnet/RPCClient/RPCClient.cs | dotnet/RPCClient/RPCClient.cs | using System;
using System.Collections.Concurrent;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
public class RpcClient
{
private readonly IConnection connection;
private readonly IModel channel;
private readonly string replyQueueName;
private readonly EventingBasicConsumer co... | using System;
using System.Collections.Concurrent;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
public class RpcClient
{
private readonly IConnection connection;
private readonly IModel channel;
private readonly string replyQueueName;
private readonly EventingBasicConsumer co... | apache-2.0 | C# |
e0573b84d71703af51fe5d5c3c9ea1aab8d6bf08 | Fix cache key typo | saturn72/saturn72 | src/Core/Saturn72.Core.Impl/SystemSharedCacheKeys.cs | src/Core/Saturn72.Core.Impl/SystemSharedCacheKeys.cs | namespace Saturn72.Core.Services.Impl
{
public sealed class SystemSharedCacheKeys
{
public const string UserCacheKey = "saturn72.user-{0}";
internal const string UserRolesUserCacheKey = "saturn72.user-{0}.userroles";
internal const string AllUserCacheKey = "saturn72.all-users";
}
} | namespace Saturn72.Core.Services.Impl
{
public sealed class SystemSharedCacheKeys
{
public const string UserCacheKey = "saturn72.User-{0}";
internal const string UserRolesUserCacheKey = "saturn72.user-{0}.userroles";
internal const string AllUserCacheKey = "saturn72.all-users";
}
} | mit | C# |
58d471a20ea1aa645a66dbcafaad5287cc932d0d | Remove unneeded property carry over for jsonwritter | Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototyp... | src/Glimpse.Common/Broker/DefaultMessageConverter.cs | src/Glimpse.Common/Broker/DefaultMessageConverter.cs | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.IO;
using System.Text;
namespace Glimpse
{
public class DefaultMessageConverter : IMessageConverter
{
private readonly JsonSerializer _jsonSerializer;
public DefaultMessageConverter(JsonSerializer jsonSerializer)
... | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.IO;
using System.Text;
namespace Glimpse
{
public class DefaultMessageConverter : IMessageConverter
{
private readonly JsonSerializer _jsonSerializer;
public DefaultMessageConverter(JsonSerializer jsonSerializer)
... | mit | C# |
f7744aec46e1531dc6bcd06c73bb588e653efbe2 | Add dummy generation | Spreads/Spreads | src/Spreads.Extensions/Generation/SeriesGenerator.cs | src/Spreads.Extensions/Generation/SeriesGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Spreads;
using Spreads.Collections;
namespace Spreads.Generation {
public static class SeriesGenerator {
public static Series<DateTime, double> DummySeries(int length,
Da... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Spreads;
using Spreads.Collections;
namespace Spreads.Generation {
public static class SeriesGenerator {
public static Series<DateTime, double> GenerateDummyTimeSeries(int length,
... | mpl-2.0 | C# |
b588ad305f8b8722eacd66f44db4da198cb23023 | fix AdditionalPluginsInstaller | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | unity/JetBrains.Rider.Unity.Editor/EditorPlugin/AdditionalPluginsInstaller.cs | unity/JetBrains.Rider.Unity.Editor/EditorPlugin/AdditionalPluginsInstaller.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using JetBrains.Util.Logging;
namespace JetBrains.Rider.Unity.Editor
{
public static class AdditionalPluginsInstaller
{
private static readonly ILog ourLogger = Log.GetLog("AdditionalPluginsInstaller");
private const string B... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using JetBrains.Util.Logging;
namespace JetBrains.Rider.Unity.Editor
{
public static class AdditionalPluginsInstaller
{
private static readonly ILog ourLogger = Log.GetLog("AdditionalPluginsInstaller");
private const string F... | apache-2.0 | C# |
9f18d4d91341d93b4a4cbf2159936ec0a5a228a4 | fix test for JJ | Xeeynamo/KingdomHearts | OpenKh.Tests/kh2/JiminyTests.cs | OpenKh.Tests/kh2/JiminyTests.cs | using OpenKh.Common;
using System.IO;
using System.Linq;
using Xunit;
namespace OpenKh.Tests.kh2
{
public class JiminyTests
{
public class CharTests
{
[Fact]
public void CheckForLength() => File.OpenRead("kh2/res/char.jimidata").Using(stream =>
{
... | using OpenKh.Common;
using System.IO;
using System.Linq;
using Xunit;
namespace OpenKh.Tests.kh2
{
public class JiminyTests
{
public class CharTests
{
[Fact]
public void CheckForLength() => File.OpenRead("kh2/res/char.jimidata").Using(stream =>
{
... | mit | C# |
386818b87093aef876ff37077d7594d0238d77b2 | Enable GTK theming on Mono. | yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,polyethene/IronAHK | Scripting/Script/Application.cs | Scripting/Script/Application.cs | using System;
using System.Windows.Forms;
namespace IronAHK.Scripting
{
partial class Script
{
public static void Init()
{
if (Environment.OSVersion.Platform == PlatformID.Unix)
Environment.SetEnvironmentVariable("MONO_VISUAL_STYLES", "gtkplus");
Applic... | using System.Windows.Forms;
namespace IronAHK.Scripting
{
partial class Script
{
public static void Init()
{
Application.EnableVisualStyles();
}
public static void Run()
{
Application.Run();
}
}
}
| bsd-2-clause | C# |
ad72ed5cdfd3567c6dbf21f9e7ec597fd45b1cf7 | Update ZoomWithMouse.cs | UnityCommunity/UnityLibrary | Scripts/Camera/ZoomWithMouse.cs | Scripts/Camera/ZoomWithMouse.cs | using UnityEngine;
// Zoom forward and backward with mousewheel, Attach this script to camera
public class ZoomWithMouse : MonoBehaviour
{
public float zoomSpeed = 20;
void Update()
{
var mouseScroll = Input.GetAxis("Mouse ScrollWheel");
if (mouseScroll!=0)
{
transfo... | using UnityEngine;
// Zoom forward and backward with mousewheel, Attach this script to camera
public class ZoomWithMouse : MonoBehaviour
{
public float zoomSpeed = 20;
void Update()
{
var mouseScroll = Input.GetAxis("Mouse ScrollWheel");
if (mouseScroll!=0)
{
transfo... | mit | C# |
adbd554ee6a9f72d0bafaaffca7659263b0eb62c | Update Form1.Designer.cs | rjvallett/URDF-Converter | URDFConverter/Form1.Designer.cs | URDFConverter/Form1.Designer.cs | /*
* Copyright (c) 2017 Richard Vallett
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | namespace URDFConverter
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | mit | C# |
701499ea33f691e59a5260b6c898c09677846625 | Add 2 GoTo overloaded methods receiving URL to UITest | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata | src/Atata/UITest.cs | src/Atata/UITest.cs | using OpenQA.Selenium.Remote;
using System.Threading;
namespace Atata
{
public class UITest
{
protected RemoteWebDriver NativeDriver { get; set; }
protected ILogManager Logger { get; set; }
protected PageObjectContext PageObjectContext { get; private set; }
protected T GoTo<T>... | using OpenQA.Selenium.Remote;
using System.Threading;
namespace Atata
{
public class UITest
{
protected RemoteWebDriver NativeDriver { get; set; }
protected ILogManager Logger { get; set; }
protected PageObjectContext PageObjectContext { get; private set; }
protected T GoTo<T>... | apache-2.0 | C# |
7cdc79fbeaef2029c6f23588414f80f52bf17fe4 | Fix analysis disabling | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/UnityCallGraphSuppressor.cs | resharper/resharper-unity/src/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/UnityCallGraphSuppressor.cs | using JetBrains.Application.Settings;
using JetBrains.Platform.RdFramework.Util;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.DataContext;
using JetBrains.ReSharper.Daemon.CallGraph;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Settings;
namespace JetBrain... | using JetBrains.Platform.RdFramework.Util;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CallGraph;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.PerformanceCriticalCodeAnalysis
{
[SolutionComponent]
public class UnityCal... | apache-2.0 | C# |
c7cb8e732e0af4de03573d44e7e9dccebdd4a4fc | Fix piping | ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azur... | src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewDataMigrationSqlServerSqlDbMiSelectedDB.cs | src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewDataMigrationSqlServerSqlDbMiSelectedDB.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NewDataMigrationSqlServerSqlDbMiSelectedDB.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// </copyright>
// ------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NewDataMigrationSqlServerSqlDbMiSelectedDB.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// </copyright>
// ------------------------------------------------... | apache-2.0 | C# |
120dbd358e2e075f82a4aa0baf61bf42c7418d84 | Bump version to 8.11.0 | bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
54ea5b5eefa896a91df29f32f693b7873c3fbf35 | Fix a bug with parsing. | phamhathanh/scheme-net,phamhathanh/scheme | src/Storage/Atom.cs | src/Storage/Atom.cs | using System;
namespace Scheme.Storage
{
internal abstract class Atom : Object
{
public static Atom Parse(string input)
{
double number;
bool isNumber = Double.TryParse(input, out number);
if (isNumber)
return new Number(number);
... | using System;
namespace Scheme.Storage
{
internal abstract class Atom : Object
{
public static Atom Parse(string input)
{
double number;
bool isNumber = Double.TryParse(input, out number);
if (isNumber)
return new Number(number);
... | apache-2.0 | C# |
93307aa8f9ffa5b3202685962f81769aea084ae8 | update comment | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/OpenGLObjects/Camera/SatelliteManipulater.cs | CSharpGL/OpenGLObjects/Camera/SatelliteManipulater.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CSharpGL
{
/// <summary>
/// Rotates a camera on a sphere, whose center is camera's Target.... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CSharpGL
{
/// <summary>
/// 用鼠标旋转模型。
/// </summary>
public class SatelliteManipula... | mit | C# |
0295b68306e3b339d8fe1f069d539b529790c201 | Fix a typo in keyboard's BreathingType | CoraleStudios/Colore,WolfspiritM/Colore | Corale.Colore/Razer/Keyboard/Effects/BreathingType.cs | Corale.Colore/Razer/Keyboard/Effects/BreathingType.cs | // ---------------------------------------------------------------------------------------
// <copyright file="BreathingType.cs" company="Corale">
// Copyright © 2015-2016 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this softw... | // ---------------------------------------------------------------------------------------
// <copyright file="BreathingType.cs" company="Corale">
// Copyright © 2015-2016 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this softw... | mit | C# |
1fd4b2eafc022f2c16c3aff708f20b5ae9e79947 | Ajuste StudentValidator | taschetto/tf | Examiner/Examiner/Business/Models/StudentValidator.cs | Examiner/Examiner/Business/Models/StudentValidator.cs | namespace Examiner.Business.Models
{
using System;
class StudentValidator
{
private static StudentValidator _validator = null;
public static StudentValidator GetValidator()
{
if (_validator == null)
{
_validator = new StudentValidator();
... | namespace Examiner.Business.Models
{
using System;
class StudentValidator
{
private static StudentValidator _validator = null;
public static StudentValidator GetValidator()
{
if (_validator == null)
{
_validator = new StudentValidator();
... | mit | C# |
cfd5bad21fd1df057886930df373e10bf869b12c | Remove empty line | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs | WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs | using ReactiveUI;
using System;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private bool _isSelected;
private bool _isExpanded;
private string _... | using ReactiveUI;
using System;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private bool _isSelected;
private bool _isExpanded;
private string ... | mit | C# |
a3a0e41ce790936e56374057ab319e96f294a41a | support picking specific algorithm implementation | darrenkopp/murmurhash-net | MurmurHash/MurmurHash.cs | MurmurHash/MurmurHash.cs | /// Copyright 2012 Darren Kopp
///
/// 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 agre... | /// Copyright 2012 Darren Kopp
///
/// 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 agre... | apache-2.0 | C# |
61136b9c6212e7b62dd68d4a814d0e1c08f17a55 | Swap PrintDiagnosticToConsole order for code readability | Deadpikle/NetSparkle,Deadpikle/NetSparkle | NetSparkle/SparkleLog.cs | NetSparkle/SparkleLog.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkle
{
/// <summary>
/// A simple class to handle log information for NetSparkle
/// </summary>
public class SparkleLog
{
/// <summa... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkle
{
/// <summary>
/// A simple class to handle log information for NetSparkle
/// </summary>
public class SparkleLog
{
/// <summa... | mit | C# |
085caf5bed86c6c9175b9d3ead568000c410ca72 | switch to top level statements | adamralph/xbehave.net | targets/Program.cs | targets/Program.cs | using static Bullseye.Targets;
using static SimpleExec.Command;
Target("build", () => RunAsync("dotnet", $"build --configuration Release --nologo --verbosity quiet"));
Target(
"pack",
DependsOn("build"),
ForEach("Xbehave.Core.nuspec", "Xbehave.nuspec"),
async nuspec => await RunAsync(
... | using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("build", () => RunAsync("dotnet", $"build --configuration Release --nologo --verbosity quiet"));
T... | mit | C# |
7889710398abd363c58322ce86292e0e9fc0ae29 | Add xml doc comments. | JeevanJames/ConsoleFx | src/Prompter/ValidationResult.cs | src/Prompter/ValidationResult.cs | #region --- License & Copyright Notice ---
/*
ConsoleFx CLI Library Suite
Copyright 2015-2019 Jeevan James
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/LICENS... | #region --- License & Copyright Notice ---
/*
ConsoleFx CLI Library Suite
Copyright 2015-2019 Jeevan James
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/LICENS... | apache-2.0 | C# |
0fcb45837a2eea78235153410cf2be9c11e55354 | bump version | ParticularLabs/SetStartupProjects | src/SetStartupProjects/AssemblyInfo.cs | src/SetStartupProjects/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SetStartupProjects")]
[assembly: AssemblyProduct("SetStartupProjects")]
[assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")]
[assembly: AssemblyVersion("1.3.2")]
[assembly: AssemblyFileVersion("1.3.2")]
[assembly: Intern... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SetStartupProjects")]
[assembly: AssemblyProduct("SetStartupProjects")]
[assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")]
[assembly: AssemblyVersion("1.3.1")]
[assembly: AssemblyFileVersion("1.3.1")]
[assembly: Intern... | mit | C# |
3198f7155d6b92d10c2152cb9316d559d23086f7 | Make method private | AAPT/jean0226case1322,M-Zuber/JabbR,18098924759/JabbR,ajayanandgit/JabbR,fuzeman/vox,borisyankov/JabbR,lukehoban/JabbR,meebey/JabbR,lukehoban/JabbR,yadyn/JabbR,CrankyTRex/JabbRMirror,LookLikeAPro/JabbR,timgranstrom/JabbR,mzdv/JabbR,borisyankov/JabbR,borisyankov/JabbR,JabbR/JabbR,AAPT/jean0226case1322,e10/JabbR,fuzeman/... | JabbR/Nancy/NancyExtensions.cs | JabbR/Nancy/NancyExtensions.cs | using System;
using JabbR.Infrastructure;
using JabbR.Models;
using JabbR.Services;
using Nancy;
using Nancy.Cookies;
namespace JabbR.Nancy
{
public static class NancyExtensions
{
public static Response CompleteLogin(this NancyModule module,
IAuthentication... | using System;
using JabbR.Infrastructure;
using JabbR.Models;
using JabbR.Services;
using Nancy;
using Nancy.Cookies;
namespace JabbR.Nancy
{
public static class NancyExtensions
{
public static Response CompleteLogin(this NancyModule module,
IAuthentication... | mit | C# |
73265fb9b698c1718a8ec3313f35c33b86b686bc | Fix Quotes sample wrt new registrar spotting a bug [#18344] | sakthivelnagarajan/monotouch-samples,robinlaide/monotouch-samples,robinlaide/monotouch-samples,labdogg1003/monotouch-samples,labdogg1003/monotouch-samples,hongnguyenpro/monotouch-samples,nervevau2/monotouch-samples,peteryule/monotouch-samples,iFreedive/monotouch-samples,albertoms/monotouch-samples,peteryule/monotouch-s... | Quotes/MasterViewController.cs | Quotes/MasterViewController.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using System.Text.RegularExpressions;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace Quotes
{
public class MasterViewController : UI... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using System.Text.RegularExpressions;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace Quotes
{
public class MasterViewController : UI... | mit | C# |
ea6ebfce213ef185e5a0b2c6014cf68008bdf928 | Add back sosunixdocs for now. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Packager/Tools.cs | WalletWasabi.Packager/Tools.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace WalletWasabi.Packager
{
public static class Tools
{
public static void ClearSha512Tags(string pathToSearch)
{
var files = Directory.GetFiles(pathToSearch, "*.deps.json"); //https://natemcmaster.com/blog/2017/12/21/n... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace WalletWasabi.Packager
{
public static class Tools
{
public static void ClearSha512Tags(string pathToSearch)
{
var files = Directory.GetFiles(pathToSearch, "*.deps.json"); //https://natemcmaster.com/blog/2017/12/21/n... | mit | C# |
804ab9e3cf5aca05abc2cb8f9990ef06fd8d8640 | Handle null export values | jehy/unBand,nachmore/unBand | src/unBand/CloudHelpers/CSVExporter.cs | src/unBand/CloudHelpers/CSVExporter.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unBand.CloudHelpers
{
public class CSVExporter : CloudDataExporter
{
public override string DefaultExt { get { return ".csv"; } }
public override void... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unBand.CloudHelpers
{
public class CSVExporter : CloudDataExporter
{
public override string DefaultExt { get { return ".csv"; } }
public override void... | mit | C# |
340bdc5b68712ff2c5fa133cce3c721597d09623 | Test on library vm events and public properties. | MonkAlex/MangaReader | Tests/Tests.Entities/Library/Update.cs | Tests/Tests.Entities/Library/Update.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using MangaReader.Core.Manga;
using MangaReader.Core.NHibernate;
using MangaReader.Core.Services;
using MangaReader.Core.Services.Config;
using NUnit.Framework;
using SortDescription = MangaRea... | using System;
using System.ComponentModel;
using MangaReader.Core.Manga;
using MangaReader.Core.NHibernate;
using MangaReader.Core.Services;
using MangaReader.Core.Services.Config;
using NUnit.Framework;
using SortDescription = MangaReader.Core.Services.Config.SortDescription;
namespace Tests.Entities.Library
{
[Te... | mit | C# |
d856256f67e35027793c87abb32f345d2263da27 | change to cshtml | chulk90/NorthStar,chulk90/NorthStar,chulk90/NorthStar,chulk90/NorthStar,chulk90/NorthStar | makecall.cshtml | makecall.cshtml | @{
/* Set our AccountSid and AuthToken */
string AccountSid = "AC554454875ef2761dfd97bf9f4d438baa";
string AuthToken = "c2af4f4d0f28090ead35c5b0b4fc8a16";
/* Outgoing Caller ID you have previously validated with Twilio */
string from = "3106272485";
/* Number you wish to call */
string... | @{
/* Set our AccountSid and AuthToken */
string AccountSid = "AXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
string AuthToken = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY";
/* Outgoing Caller ID you have previously validated with Twilio */
string from = "NNNNNNNNNN";
/* Number you wish to call */
string... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.