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
506754719260c505ef2a5c2b5535988856eda9a1
refactor the Program class
LukeWinikates/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox,LukeWinikates/dotnet-toolbox,LukeWinikates/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox,LukeWinikates/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox
src/dotnet-toolbox.worker/Program.cs
src/dotnet-toolbox.worker/Program.cs
using System; using System.Threading; using StackExchange.Redis; using dotnet_toolbox.worker.PackageCrawler; using dotnet_toolbox.worker.PackageCrawling; using dotnet_toolbox.common.Env; using dotnet_toolbox.common; namespace dotnet_toolbox.worker { public class Program { private ConnectionMultiplexer ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Threading; using StackExchange.Redis; using dotnet_toolbox.worker.PackageCrawler; using dotnet_toolbox.worker.PackageCrawling; using dotnet_toolbox.common.Env; using dotnet_toolbox.common; namespace dotnet_too...
mit
C#
c0c8b36f8d06ff78bd5625f943cc2da1d66576ec
Format trivial problem at bottom-right.
ethankennerly/add-it-up,ethankennerly/add-it-up
Assets/Scripts/Model.cs
Assets/Scripts/Model.cs
using System; // Array using System.Collections.Generic; // List public class Model { public ViewModel view = new ViewModel(); public bool isVerbose = true; private string[] text = new string[]{"Canvas", "Text"}; private string[] digits = new string[]{ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" }; priv...
using System; // Array public class Model { public ViewModel view = new ViewModel(); public bool isVerbose = true; private string[] text = new string[]{"Canvas", "Text"}; private string[] digits = new string[]{ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" }; private string entry = ""; private string page...
mit
C#
60f597dd79fc2dcbf8807361b8dde5fe91d16e2d
Add ControlFlow.Fail shim
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.SourceGenerators/Shims/ControlFlow.cs
source/Nuke.SourceGenerators/Shims/ControlFlow.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using JetBrains.Annotations; namespace Nuke.Common.IO { public static class...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using JetBrains.Annotations; namespace Nuke.Common.IO { public static class...
mit
C#
27382f37dbd086881d8a09e682d31dc7b79a18f2
Fix typo in IGeolocator
jamesmontemagno/GeolocatorPlugin,jamesmontemagno/GeolocatorPlugin
src/Geolocator.Plugin.Abstractions/IGeolocator.cs
src/Geolocator.Plugin.Abstractions/IGeolocator.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Plugin.Geolocator.Abstractions { /// <summary> /// Interface for Geolocator /// </summary> public interface IGeolocator { /// <summary> /// Position error event handler /// </summary> even...
using System; using System.Threading; using System.Threading.Tasks; namespace Plugin.Geolocator.Abstractions { /// <summary> /// Interface for Geolocator /// </summary> public interface IGeolocator { /// <summary> /// Position error event handler /// </summary> even...
mit
C#
87b335250f81dbb26cef0789b3a477116906437c
Add controller to minimal API, #3711
quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag
src/NSwag.Sample.NET60Minimal/Program.cs
src/NSwag.Sample.NET60Minimal/Program.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using System; var builder = WebApplication.CreateBuilder(args); // Optional: Use controllers builder.Services.AddControllers(); builder.Services.AddEndpointsApiExplorer...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System; var builder = WebApplication.CreateBuilder(args); builder.Services.AddEndpointsApiExplorer(); builder.Services.AddOpenApiDocument(settings => { settings.Title = "Minimal API"; set...
mit
C#
4413cd916aa413ca6694b6bb8806579aa017fe00
remove unuse code
xizhe-zhang/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript
src/PhotoGallery/Views/Home/Index.cshtml
src/PhotoGallery/Views/Home/Index.cshtml
@{ ViewBag.Title = "PhotoGallery"; } @section styles { <link href="~/lib/css/jquery.fancybox.css" rel="stylesheet" /> <link href="~/lib/css/alertify.core.css" rel="stylesheet" /> <link href="~/lib/css/alertify.bootstrap.css" rel="stylesheet" /> <link href="~/lib/css/flipclock.css" rel="stylesheet"...
@{ ViewBag.Title = "PhotoGallery"; } @section styles { <link href="~/lib/css/jquery.fancybox.css" rel="stylesheet" /> <link href="~/lib/css/alertify.core.css" rel="stylesheet" /> <link href="~/lib/css/alertify.bootstrap.css" rel="stylesheet" /> <link href="~/lib/css/flipclock.css" rel="stylesheet"...
mit
C#
ea725ccdbe06aefd005bec450eebc1bdee4b90bb
Remove unused using
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Graphics/Util/ConversionExtensions.cs
src/OpenSage.Game/Graphics/Util/ConversionExtensions.cs
using System.Numerics; using OpenSage.Data.Ini; namespace OpenSage.Graphics.Util { public static class ConversionExtensions { public static Vector3 ToVector3(this IniColorRgb value) { return new Vector3(value.R / 255.0f, value.G / 255.0f, value.B / 255.0f); } publi...
using System.Numerics; using OpenSage.Data.Ini; using OpenSage.Mathematics; namespace OpenSage.Graphics.Util { public static class ConversionExtensions { public static Vector3 ToVector3(this IniColorRgb value) { return new Vector3(value.R / 255.0f, value.G / 255.0f, value.B / 255.0...
mit
C#
a37bf0f675f150d6e29b1b91668145931c1641e8
Update CardView.cs
xamarinhq/app-evolve,xamarinhq/app-evolve
src/XamarinEvolve.Clients.UI/Controls/CardView.cs
src/XamarinEvolve.Clients.UI/Controls/CardView.cs
using Xamarin.Forms; namespace XamarinEvolve.Clients.UI { public class CardView : Frame { public CardView() { Padding = 0; if (Device.OS == TargetPlatform.iOS) { HasShadow = false; OutlineColor = Color.Transparent;...
using Xamarin.Forms; namespace XamarinEvolve.Clients.UI { public class CardView : Frame { public CardView() { Padding = 0; if (Device.OS == TargetPlatform.iOS || Device.OS == TargetPlatform.iOS) { HasShadow = false; ...
mit
C#
f303816c20cd7c8da21464bb30c5cd0dbdc12481
Clean up AssemblyWeaver unused using and fields.
FloodProject/flood,FloodProject/flood,FloodProject/flood
src/Tools/EngineWeaver/AssemblyWeaver.cs
src/Tools/EngineWeaver/AssemblyWeaver.cs
using EngineWeaver.Util; using Mono.Cecil; namespace EngineWeaver { public class AssemblyWeaver { private AssemblyDefinition destAssembly; public AssemblyWeaver(string destAssemblyPath) { destAssembly = CecilUtils.GetAssemblyDef(destAssemblyPath); } public...
using EngineWeaver.Util; using Mono.Cecil; using Mono.Cecil.Cil; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace EngineWeaver { public class AssemblyWeaver { private string destAssemblyPath; ...
bsd-2-clause
C#
3e116026cc62479d275324c9836afb15a8c486e5
Make edu levels cacheable
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/entities/EduLevelInfo.cs
R7.University/entities/EduLevelInfo.cs
// // EduLevelInfo.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 // // 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...
// // EduLevelInfo.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 // // 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...
agpl-3.0
C#
02dffaf794bda9f3b1a5c9a4516392f0716ce900
Add JsonRpc version to JsonRequest
KAAndrey/JSON-RPC.NET,Astn/JSON-RPC.NET,Astn/JSON-RPC.NET,Astn/JSON-RPC.NET,KAAndrey/JSON-RPC.NET,KAAndrey/JSON-RPC.NET
Json-Rpc/JsonRequest.cs
Json-Rpc/JsonRequest.cs
using Newtonsoft.Json; namespace AustinHarris.JsonRpc { /// <summary> /// Represents a JsonRpc request /// </summary> [JsonObject(MemberSerialization.OptIn)] public class JsonRequest { public JsonRequest() { } public JsonRequest(string method, object pars, obje...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace AustinHarris.JsonRpc { /// <summary> /// Represents a JsonRpc request /// </summary> [JsonObject(MemberSerialization.OptIn)] public class JsonRequest { public JsonRequ...
mit
C#
fc85a5d1d510304f93edfb1a84625ef446c0c8e6
Add forceStartSpeed slider to MicrogameStage
Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Stage/MicrogameStage.cs
Assets/Scripts/Stage/MicrogameStage.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MicrogameStage : Stage { public static string microgameId; [Header("Override settings for debugging")] [Header("Force Microgame must be changed when played from this scene")] [Header("DO NOT COMMIT CHANGES TO THE...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MicrogameStage : Stage { public static string microgameId; [Header("Override settings for debugging")] [Header("Force Microgame must be changed when played from this scene")] [Header("DO NOT COMMIT CHANGES TO THE...
mit
C#
71c86c1a9752cca2fde2582bb8f1f7d70b8351b0
Clear the context in DrawThread.Cleanup regardless of backend
peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework/Threading/DrawThread.cs
osu.Framework/Threading/DrawThread.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.Statistics; using System; using System.Collections.Generic; using osu.Framework.Development; using osu.Framework.Graphics.OpenGL; using osu.Framework...
// 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.Statistics; using System; using System.Collections.Generic; using osu.Framework.Development; using osu.Framework.Graphics.OpenGL; using osu.Framework...
mit
C#
a1a7ddbb4bf22789aa06aa29ea0514e1ff4b227b
Mark articles_case with NullableStringBooleanFormatter
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Analysis/TokenFilters/ElisionTokenFilter.cs
src/Nest/Analysis/TokenFilters/ElisionTokenFilter.cs
using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { /// <summary> /// A token filter which removes elisions. For example, “l’avion” (the plane) will tokenized as “avion” (plane). /// </summary> public interface IElisionTokenFilter : ITokenFilter { ///...
using System.Collections.Generic; using System.Runtime.Serialization; namespace Nest { /// <summary> /// A token filter which removes elisions. For example, “l’avion” (the plane) will tokenized as “avion” (plane). /// </summary> public interface IElisionTokenFilter : ITokenFilter { /// <summary> /// Accepts ...
apache-2.0
C#
4e6ae71b73337e85a17b8c88b130b98a087e7328
Use standard lifecycle creation
Esri/arcgis-toolkit-dotnet
src/Toolkit.Forms/LayerLegend/LayerLegendRenderer.cs
src/Toolkit.Forms/LayerLegend/LayerLegendRenderer.cs
// /******************************************************************************* // * Copyright 2012-2018 Esri // * // * 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 // * //...
// /******************************************************************************* // * Copyright 2012-2018 Esri // * // * Licensed under the Apache License, Version 2.0 (the "License"); // * you may not use this file except in compliance with the License. // * You may obtain a copy of the License at // * //...
apache-2.0
C#
77460aae03572e0420e55085b13c6aff5292effa
Add GroupManager.TryGetGroup (string)
ermau/Tempest.Social
Desktop/Tempest.Social/GroupManager.cs
Desktop/Tempest.Social/GroupManager.cs
// // GroupManager.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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 ...
// // GroupManager.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2013 Eric Maupin // // 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 ...
mit
C#
aca975a41dac8e2dd967ef30e3c252cb990192f2
Improve and comment AwaitableDisposable API
madelson/DistributedLock
DistributedLock/AwaitableDisposable.cs
DistributedLock/AwaitableDisposable.cs
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Medallion.Threading { /// <summary> /// Non-disposable awaitable wrapper type for <see cref="Task{TResult}"/> where <typeparamref name="TDisposable"/> is /// <s...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Medallion.Threading { public struct AwaitableDisposable<TDisposable> where TDisposable : IDisposable { internal AwaitableDisposable(Task<TDisposable> task) ...
mit
C#
6131704fafe74c16d64ad13560fdef89c6b6b9fa
Call truss and nonlinear cantilever examples from Program.cs.
VasilisMerevis/MSolve,VasilisMerevis/MSolve
ISAAR.MSolve.SamplesConsole/Program.cs
ISAAR.MSolve.SamplesConsole/Program.cs
using ISAAR.MSolve.Analyzers; using ISAAR.MSolve.Logging; using ISAAR.MSolve.Matrices; using ISAAR.MSolve.PreProcessor; using ISAAR.MSolve.Problems; using ISAAR.MSolve.Solvers.Skyline; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ISAAR.MSolve.SamplesConsole { cla...
using ISAAR.MSolve.Analyzers; using ISAAR.MSolve.Logging; using ISAAR.MSolve.Matrices; using ISAAR.MSolve.PreProcessor; using ISAAR.MSolve.Problems; using ISAAR.MSolve.Solvers.Skyline; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ISAAR.MSolve.SamplesConsole { cla...
apache-2.0
C#
0f234af366f2a8da3703bb519d3e68224b9f0252
Add some settings to bugsnag
File-New-Project/EarTrumpet
EarTrumpet/Services/ErrorReportingService.cs
EarTrumpet/Services/ErrorReportingService.cs
using Bugsnag; using Bugsnag.Clients; using EarTrumpet.Extensions; using EarTrumpet.Misc; using System; using System.Diagnostics; using System.IO; using Windows.ApplicationModel; namespace EarTrumpet.Services { class ErrorReportingService { internal static void Initialize() { try ...
using Bugsnag; using Bugsnag.Clients; using EarTrumpet.Extensions; using System; using System.Diagnostics; using System.IO; using Windows.ApplicationModel; namespace EarTrumpet.Services { class ErrorReportingService { internal static void Initialize() { try { #if DEBUG ...
mit
C#
76d2397aa0ff57c20bdb1913f33208df5885ac24
Make obsolete
shyamnamboodiripad/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,KevinRansom/roslyn,eriawan/roslyn,sharwell/roslyn,diryboy/roslyn,eriawan/roslyn,wvdd007/roslyn,dotnet/roslyn,KevinRansom/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,Ama...
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarItem.cs
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarItem.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.Collections.Immutable; using Microsoft.CodeAnalysis.Te...
// 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.Collections.Generic; using System.Collections.Immutable; using Microsoft.CodeAnalysis.Text; using Micr...
mit
C#
d78f08064c80a60858e69e0cf89ba1c7b238d744
Update src/Features/LanguageServer/Protocol/ILspWorkspaceRegistrationService.cs
weltkante/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,sharwell/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,weltkante/roslyn,mavasani/roslyn,dotnet/roslyn,diryboy/roslyn,dotnet/roslyn,diryboy/roslyn,sharwell/roslyn,mav...
src/Features/LanguageServer/Protocol/ILspWorkspaceRegistrationService.cs
src/Features/LanguageServer/Protocol/ILspWorkspaceRegistrationService.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.Collections.Immutable; namespace Microsoft.CodeAnalysis.LanguageServer { /// <summary> /// Al...
// 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.Collections.Immutable; namespace Microsoft.CodeAnalysis.LanguageServer { /// <summary> /// Al...
mit
C#
745d410e9261f38ea94aae2474d62d192a1d750b
Make 'SeaPortZoneClusterConsumption' a power consumer; not supplier.
Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization
src/Mirage.Urbanization/ZoneConsumption/SeaPortZoneClusterConsumption.cs
src/Mirage.Urbanization/ZoneConsumption/SeaPortZoneClusterConsumption.cs
using System; using System.Drawing; using Mirage.Urbanization.ZoneConsumption.Base; using Mirage.Urbanization.ZoneConsumption.Base.Behaviours; namespace Mirage.Urbanization.ZoneConsumption { public class SeaPortZoneClusterConsumption : StaticZoneClusterConsumption { public SeaPortZoneClusterConsumptio...
using System; using System.Drawing; using Mirage.Urbanization.ZoneConsumption.Base; using Mirage.Urbanization.ZoneConsumption.Base.Behaviours; namespace Mirage.Urbanization.ZoneConsumption { public class SeaPortZoneClusterConsumption : StaticZoneClusterConsumption { public SeaPortZoneClusterConsumptio...
mit
C#
d684d09b7775971c6b45562a17c166dcf0fb6a2d
Remove remaining virtual specifiers from the GitCommand
Thulur/GitDataExplorer,Thulur/GitStatisticsAnalyzer
GitStatisticsAnalyzer/Commands/GitCommand.cs
GitStatisticsAnalyzer/Commands/GitCommand.cs
using System; using System.Collections.Generic; using System.Diagnostics; using GitStatisticsAnalyzer.Results; namespace GitStatisticsAnalyzer.Commands { /// <summary> /// Git command class, which encapsulates most of the command creation. /// </summary> class GitCommand<T> : IGitCommand<T>, IGitComm...
using System; using System.Collections.Generic; using System.Diagnostics; using GitStatisticsAnalyzer.Results; namespace GitStatisticsAnalyzer.Commands { /// <summary> /// Git command class, which encapsulates most of the command creation. /// </summary> class GitCommand<T> : IGitCommand<T>, IGitComm...
apache-2.0
C#
8cc7549bf5f9ce2763b2dddd35c4bb6f4da2bd06
fix image for event
PatrykSzwer/FetaProject
FetaProject/FetaProject.iOS/PinImage.cs
FetaProject/FetaProject.iOS/PinImage.cs
using System; using UIKit; namespace FetaProject.iOS { public class PinImage { public string selectImage(string typeOfPin) { string type= ""; int imageCounter=0; string[] arrayOfImage = { "Icons/event.png", "Icons/food.png", ...
using System; using UIKit; namespace FetaProject.iOS { public class PinImage { public string selectImage(string typeOfPin) { string type= ""; int imageCounter=0; string[] arrayOfImage = { "Icons/event.png", "Icons/food.png", ...
apache-2.0
C#
b3f8936f0b8c6ac6b39d4f7bd7b963dfc06a0e6e
Reduce size of test_data for ARM requests to 8MB/2
projectkudu/kudu,projectkudu/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu
Kudu.Contracts/Functions/FunctionTestData.cs
Kudu.Contracts/Functions/FunctionTestData.cs
namespace Kudu.Contracts.Functions { public class FunctionTestData { // ARM has a limit of 8 MB -> 8388608 bytes // divid by 2 to limit the over all size of test data to half of arm requirement to be safe. public const long PackageMaxSizeInBytes = 8388608 / 2; public long Bytes...
namespace Kudu.Contracts.Functions { public class FunctionTestData { // test shows test_data of size 8310000 bytes still delivers as an ARM package // whereas test_data of size 8388608 bytes fails public const long PackageMaxSizeInBytes = 8300000; public long BytesLeftInPackage...
apache-2.0
C#
a066f9e3c3d56b922e1a8cd0bfc28db320143e09
remove reuse flag from benchmark, always reuse
sebastienros/jint,sebastienros/jint
Jint.Benchmark/SingleScriptBenchmark.cs
Jint.Benchmark/SingleScriptBenchmark.cs
using BenchmarkDotNet.Attributes; namespace Jint.Benchmark { [MemoryDiagnoser] public abstract class SingleScriptBenchmark { private Engine sharedJint; #if ENGINE_COMPARISON private Jurassic.ScriptEngine sharedJurassic; private NiL.JS.Core.Context sharedNilJs; #endif prot...
using BenchmarkDotNet.Attributes; namespace Jint.Benchmark { [MemoryDiagnoser] public abstract class SingleScriptBenchmark { private Engine sharedJint; #if ENGINE_COMPARISON private Jurassic.ScriptEngine sharedJurassic; private NiL.JS.Core.Context sharedNilJs; #endif prot...
bsd-2-clause
C#
9afa6581984b4462264cbb7ccb8f045a7e93c04d
Edit namespace
Vtek/Pulsar
Pulsar/Content/ContentLoadException.cs
Pulsar/Content/ContentLoadException.cs
/* License * * The MIT License (MIT) * * Copyright (c) 2014, Sylvain PONTOREAU (pontoreau.sylvain@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, in...
/* License * * The MIT License (MIT) * * Copyright (c) 2014, Sylvain PONTOREAU (pontoreau.sylvain@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, in...
mit
C#
8ad8fe7e8eee2d19421fe22ee6d1088783b902e2
complete dotnet-build invocation test cases
EdwardBlair/cli,Faizan2304/cli,livarcocc/cli-1,ravimeda/cli,harshjain2/cli,johnbeisner/cli,harshjain2/cli,blackdwarf/cli,svick/cli,livarcocc/cli-1,Faizan2304/cli,blackdwarf/cli,harshjain2/cli,ravimeda/cli,johnbeisner/cli,dasMulli/cli,svick/cli,EdwardBlair/cli,dasMulli/cli,dasMulli/cli,Faizan2304/cli,ravimeda/cli,Edward...
test/dotnet-msbuild.Tests/GivenDotnetBuildInvocation.cs
test/dotnet-msbuild.Tests/GivenDotnetBuildInvocation.cs
using Microsoft.DotNet.Tools.Build; using FluentAssertions; using Xunit; namespace Microsoft.DotNet.Cli.MSBuild.Tests { public class GivenDotnetBuildInvocation { [Theory] [InlineData(new string[] { }, @"exec <msbuildpath> /m /v:m /t:Build /clp:Summary")] [InlineData(new string[] { "-o"...
using Microsoft.DotNet.Tools.Build; using FluentAssertions; using Xunit; namespace Microsoft.DotNet.Cli.MSBuild.Tests { public class GivenDotnetBuildInvocation { [Theory] [InlineData(new string[] { }, @"exec <msbuildpath> /m /v:m /t:Build /clp:Summary")] [InlineData(new string[] { "-o"...
mit
C#
7d209a099e3018735ea0c198f2a5b443acd9d8d4
Update GameManager.cs
afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game
Real_Game/Assets/Scripts/GameManager.cs
Real_Game/Assets/Scripts/GameManager.cs
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { // Score based stuff public float highScore = 0f; //Level based stuff public int currentLevel = 0; public int unlockedLevel; // Things that deal with GUI or whatever public Rect stopwatchRect; public Rect stopwatchBox...
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { // Score based stuff public float highScore = 0f; //Level based stuff public int currentLevel = 0; public int unlockedLevel; // Things that deal with GUI or whatever public Rect stopwatchRect; public Rect stopwatchBox...
mit
C#
1896e89911abf7a8d9bc19254b61a9829f15ebaa
Add hardcoded board bool
Zyrio/ictus,Zyrio/ictus
src/Ictus/Data/Models/Tag.cs
src/Ictus/Data/Models/Tag.cs
using System; using System.ComponentModel.DataAnnotations.Schema; namespace Ictus.Data.Models { public class Tag { public Guid Id { get; set; } public string Name { get; set; } public int FileCount { get; set; } [NotMapped] public bool Board { get; set; } = true; } ...
using System; namespace Ictus.Data.Models { public class Tag { public Guid Id { get; set; } public string Name { get; set; } public int FileCount { get; set; } } }
mit
C#
899c5c816ad1bdb2802ece46fdeec4bc81c85c13
update demo
chinaboard/PureCat
PureCat.Demo/Program.cs
PureCat.Demo/Program.cs
using PureCat.Context; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace PureCat.Demo { class Program { static Random _rand = new Random(); static void Main(string[] args) ...
using PureCat.Context; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace PureCat.Demo { class Program { static Random _rand = new Random(); static void Main(string[] args) ...
mit
C#
d8e77e052f3ce794ec44fb335ad87ca8fa78c26c
Fix appveyor update checker
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer
LmpUpdater/Appveyor/AppveyorUpdateChecker.cs
LmpUpdater/Appveyor/AppveyorUpdateChecker.cs
using JsonFx.Json; using JsonFx.Serialization; using JsonFx.Serialization.Resolvers; using LmpGlobal; using LmpUpdater.Appveyor.Contracts; using System; using System.Net; namespace LmpUpdater.Appveyor { public class AppveyorUpdateChecker { private static readonly JsonReader Reader = new JsonReader(new...
using JsonFx.Json; using JsonFx.Serialization; using JsonFx.Serialization.Resolvers; using LmpGlobal; using LmpUpdater.Appveyor.Contracts; using System; using System.Net; namespace LmpUpdater.Appveyor { public class AppveyorUpdateChecker { private static readonly JsonReader Reader = new JsonReader(new...
mit
C#
c3a04f03d3266a8b11c8400db75579cca0e64fe4
Remove XmlArray Attribute
Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone
RegionsConfiguration.cs
RegionsConfiguration.cs
using System.Collections.Generic; using System.Xml.Serialization; using Rocket.API; using RocketRegions.Model; namespace RocketRegions { public class RegionsConfiguration : IRocketPluginConfiguration { public int UpdateFrameCount { get; set; } public List<Region> Regions { get; set; } ...
using System.Collections.Generic; using System.Xml.Serialization; using Rocket.API; using RocketRegions.Model; namespace RocketRegions { public class RegionsConfiguration : IRocketPluginConfiguration { public int UpdateFrameCount { get; set; } public List<Region> Regions { get; set; } ...
agpl-3.0
C#
4843126d529e1dbfab034960b2fdb386585e6f0f
Emphasize the current thread.
GunioRobot/sdb-cli,GunioRobot/sdb-cli
Mono.Debugger.Cli/Commands/ThreadsCommand.cs
Mono.Debugger.Cli/Commands/ThreadsCommand.cs
using System.Collections.Generic; using Mono.Debugger.Cli.Debugging; using Mono.Debugger.Cli.Logging; namespace Mono.Debugger.Cli.Commands { public sealed class ThreadsCommand : ICommand { public string Name { get { return "Threads"; } } public string Description ...
using System.Collections.Generic; using Mono.Debugger.Cli.Debugging; using Mono.Debugger.Cli.Logging; namespace Mono.Debugger.Cli.Commands { public sealed class ThreadsCommand : ICommand { public string Name { get { return "Threads"; } } public string Description ...
mit
C#
ec4571abc577d6c372f32fce156a0d606340facc
Add concurrency handling
peasy/Samples,peasy/Samples,peasy/Samples
Orders.com.DAL.EF/InventoryItemRepository.cs
Orders.com.DAL.EF/InventoryItemRepository.cs
using System; using System.Linq; using System.Threading.Tasks; using Orders.com.DataProxy; using Orders.com.Domain; using System.Data.Entity; using Peasy; using Peasy.Exception; using Orders.com.Extensions; namespace Orders.com.DAL.EF { public class InventoryItemRepository : OrdersDotComRepositoryBase<InventoryIt...
using System; using System.Linq; using System.Threading.Tasks; using Orders.com.DataProxy; using Orders.com.Domain; using System.Data.Entity; namespace Orders.com.DAL.EF { public class InventoryItemRepository : OrdersDotComRepositoryBase<InventoryItem>, IInventoryItemDataProxy { public InventoryItem G...
mit
C#
4440dc1824e2476f1ea20c21bd4df079ac7b2c89
remove commented lines from extensions
dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground
AIPlayground/AIPlayground/Extensions.cs
AIPlayground/AIPlayground/Extensions.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using AIPlayground.Search.Algorithm; using AIPlayground.Search.Problem.State; namespace AIPlayground { public static class Extensions { } }
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using AIPlayground.Search.Algorithm; using AIPlayground.Search.Problem.State; namespace AIPlayground { public static class Extensions { // public sta...
mit
C#
94cbf4ca3a081ece1458fdc0731b2d202778fb5d
Fix outdated message
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/TrayIconHelper.cs
SteamAccountSwitcher/TrayIconHelper.cs
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Hardcodet.Wpf.TaskbarNotification; using SteamAccountSwitcher.Properties; namespace SteamAccountSwitcher { public static class TrayIconHelper { ...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Hardcodet.Wpf.TaskbarNotification; using SteamAccountSwitcher.Properties; namespace SteamAccountSwitcher { public static class TrayIconHelper { ...
mit
C#
854ab03caddfa692084f1169b8958582f4be1b73
enable sensitive data logging during data test to help determine data errors
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
server/tests/FilterLists.Data.Tests/SeedFilterListsDbContextTests.cs
server/tests/FilterLists.Data.Tests/SeedFilterListsDbContextTests.cs
using System.Threading; using Microsoft.EntityFrameworkCore; using Xunit; namespace FilterLists.Data.Tests { public class SeedFilterListsDbContextTests { [Fact] public void Migrate_DoesNotThrowException() { // TODO: replace with Polly or similar to optimize time waste ...
using System.Threading; using Microsoft.EntityFrameworkCore; using Xunit; namespace FilterLists.Data.Tests { public class SeedFilterListsDbContextTests { [Fact] public void Migrate_DoesNotThrowException() { // TODO: replace with Polly or similar to optimize time waste ...
mit
C#
b1d09d0f1c1ae3f4e2abf59937062034688d8ccc
Add new generators in proper location
kugelrund/LiveSplit,stoye/LiveSplit,ROMaster2/LiveSplit,zoton2/LiveSplit,Jiiks/LiveSplit,Fluzzarn/LiveSplit,zoton2/LiveSplit,Glurmo/LiveSplit,stoye/LiveSplit,Glurmo/LiveSplit,Dalet/LiveSplit,kugelrund/LiveSplit,PackSciences/LiveSplit,chloe747/LiveSplit,Dalet/LiveSplit,zoton2/LiveSplit,stoye/LiveSplit,PackSciences/LiveS...
LiveSplit/LiveSplit.View/View/ChooseComparisonsDialog.cs
LiveSplit/LiveSplit.View/View/ChooseComparisonsDialog.cs
using LiveSplit.Model.Comparisons; using LiveSplit.UI; using LiveSplit.UI.Components; using System; using System.Collections.Generic; using System.Windows.Forms; using System.Xml; namespace LiveSplit.View { public partial class ChooseComparisonsDialog : Form { public IDictionary<string, bool> Comparis...
using LiveSplit.Model.Comparisons; using LiveSplit.UI; using LiveSplit.UI.Components; using System; using System.Collections.Generic; using System.Windows.Forms; using System.Xml; namespace LiveSplit.View { public partial class ChooseComparisonsDialog : Form { public IDictionary<string, bool> Comparis...
mit
C#
8c6280152c87c3fbd6a2353af12302b6810935f8
Remove SpecsFor from WebSocketTests
noobot/SlackConnector
src/SlackConnector.Tests.Unit/SlackConnectionTests/WebSocketTests.cs
src/SlackConnector.Tests.Unit/SlackConnectionTests/WebSocketTests.cs
using System; using System.Threading.Tasks; using Moq; using NUnit.Framework; using Should; using SlackConnector.Connections.Sockets; using SlackConnector.Models; namespace SlackConnector.Tests.Unit.SlackConnectionTests { internal class WebSocketTests { [Test, AutoMoqData] public async Task sh...
using System; using System.Collections.Generic; using NUnit.Framework; using Should; using SlackConnector.Connections.Sockets; using SlackConnector.Models; using SpecsFor; namespace SlackConnector.Tests.Unit.SlackConnectionTests { public static class WebSocketTests { internal class when_socket_disconn...
mit
C#
ecd4d9b20c0d4feaf450fdb367f09edbd376659e
Fix rounding error in SphericalMercator for #1212
charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui
Mapsui/Projection/SphericalMercator.cs
Mapsui/Projection/SphericalMercator.cs
using Mapsui.Geometries; using System; namespace Mapsui.Projection { public class SphericalMercator { private const double Radius = 6378137; private const double D2R = Math.PI/180; private const double HalfPi = Math.PI/2; public static Point FromLonLat(double lon, double lat) ...
using Mapsui.Geometries; using System; namespace Mapsui.Projection { public class SphericalMercator { private const double Radius = 6378137; private const double D2R = Math.PI/180; private const double HalfPi = Math.PI/2; public static Point FromLonLat(double lon, double lat) ...
mit
C#
f847bcb37fec183d538daeea9ee112f3eb7ccebe
Test confirm msg
darkoverlordofdata/minimart,darkoverlordofdata/minimart,darkoverlordofdata/minimart
Minimart/Controllers/HomeController.cs
Minimart/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Data; using System.Data.SqlClient; using System.Configuration; using Minimart.Models; namespace Minimart.Controllers { public class HomeController : Controller { private MinimartEnti...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Data; using System.Data.SqlClient; using System.Configuration; using Minimart.Models; namespace Minimart.Controllers { public class HomeController : Controller { private MinimartEnti...
mit
C#
a8832d0f75c9efaee4c4a756c23212e6a8e3512f
Add comment regarding public key of Behaviors.snk
Microsoft/XamlBehaviors,Microsoft/XamlBehaviors,Microsoft/XamlBehaviors
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Properties/AssemblyInfo.cs
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Properties/AssemblyInfo.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.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through...
mit
C#
42686d6d34f7e8427dc4e0f8f2823df1b10a8f52
Remove unused usings
tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server
tests/Tgstation.Server.Host.Tests/Components/Chat/Providers/TestIrcProvider.cs
tests/Tgstation.Server.Host.Tests/Components/Chat/Providers/TestIrcProvider.cs
using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Core; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.System; n...
using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Core; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Ho...
agpl-3.0
C#
a654e6f9353b7bbf0c7b9fc6c3cc9c1135aa37af
Fix comment for MockMessageHandler (did not
DimensionDataCBUSydney/Watt
Watt.Tests/Mocks/MockMessageHandler.cs
Watt.Tests/Mocks/MockMessageHandler.cs
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace DD.Cloud.WebApi.TemplateToolkit.Tests.Mocks { /// <summary> /// Mock <see cref="DelegatingHandler"/> that calls an arbitrary delegate to receive and respond to a message. /// </summary> public sealed class MockMe...
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace DD.Cloud.WebApi.TemplateToolkit.Tests.Mocks { /// <summary> /// Mock <see cref="DelegatingHandler"/> that raises an event to receive and respond to a message. /// </summary> public sealed class MockMessageHandler...
mit
C#
5aeb127a9e7420b11e4ff52866f4c7395812639c
Fix instructions
marcelopetersen/CustomConfigurationSections
Petersen.CustomConfiguration/NestedClassesConfiguration/PlannerSection.cs
Petersen.CustomConfiguration/NestedClassesConfiguration/PlannerSection.cs
using System; using System.Configuration; namespace Petersen.CustomConfiguration.NestedClassesConfiguration { public class PlannerSection : ConfigurationSection { /*/////////////////////////////////////////////////////////////////// // With root element, set ROOT_ELEMENT_NAME="sections" ...
using System; using System.Configuration; namespace Petersen.CustomConfiguration.NestedClassesConfiguration { public class PlannerSection : ConfigurationSection { /*/////////////////////////////////////////////////////////////////// // With no root elements, set ROOT_ELEMENT_NAME="sections...
mit
C#
ac564ff5e0575ce3b191ef9be0983fe6c340fccd
Update DeserializerBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/DeserializerBase.cs
TIKSN.Core/Serialization/DeserializerBase.cs
using System; namespace TIKSN.Serialization { public abstract class DeserializerBase<TSerial> : IDeserializer<TSerial> where TSerial : class { public T Deserialize<T>(TSerial serial) { try { return this.DeserializeInternal<T>(serial); } ...
using System; namespace TIKSN.Serialization { public abstract class DeserializerBase<TSerial> : IDeserializer<TSerial> where TSerial : class { public T Deserialize<T>(TSerial serial) { try { return DeserializeInternal<T>(serial); } ...
mit
C#
5b869594966d9a326eea3bf4cddffe55287b126a
Fix unused variable
MrHant/tiver-fowl.Drivers,MrHant/tiver-fowl.Drivers
Tiver.Fowl.Drivers/Configuration/DriversConfiguration.cs
Tiver.Fowl.Drivers/Configuration/DriversConfiguration.cs
using System.IO; using System.Reflection; namespace Tiver.Fowl.Drivers.Configuration { public class DriversConfiguration { /// <summary> /// Location for binaries to be saved /// Defaults to assembly location /// </summary> public string DownloadLocation { get; set; } =...
using System.IO; using System.Reflection; namespace Tiver.Fowl.Drivers.Configuration { public class DriversConfiguration { private string _downloadLocation; /// <summary> /// Location for binaries to be saved /// Defaults to assembly location /// </summary> pub...
mit
C#
c43f2cdb2886e2bb0603335500cccc0dc3867e30
Change type of MaximumBytesPerSec to long
witoong623/TirkxDownloader,witoong623/TirkxDownloader
Models/Settings/DownloadingSetting.cs
Models/Settings/DownloadingSetting.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using MetroTrilithon.Serialization; namespace TirkxDownloader.Models.Settings { public class DownloadingSetting { public static SerializablePropert...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using MetroTrilithon.Serialization; namespace TirkxDownloader.Models.Settings { public class DownloadingSetting { public static SerializablePropert...
mit
C#
a8702c132d866524c7e631380de3fc27a4ee66ad
Add timeout to decoration etl-run
Seddryck/NBi,Seddryck/NBi
NBi.Xml/Decoration/Command/EtlRunXml.cs
NBi.Xml/Decoration/Command/EtlRunXml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; using NBi.Core.Etl; using NBi.Xml.Items; namespace NBi.Xml.Decoration.Command { public class EtlRunXml : DecorationCommandXml, IEtlRunCommand { [XmlAttribute("server")] public string ...
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; using NBi.Core.Etl; using NBi.Xml.Items; namespace NBi.Xml.Decoration.Command { public class EtlRunXml : DecorationCommandXml, IEtlRunCommand { [XmlAttribute("server")] public string ...
apache-2.0
C#
cbfc0f9dcd7cdf8d7c1ab61144661bb3a84d0478
Make InvokeOnce thread-safe
ivanz/Machine.Specifications.TeamCityParallelRunner,marketinvoice/Machine.Specifications.TeamCityParallelRunner
ParallelMSpecRunner/Utils/InvokeOnce.cs
ParallelMSpecRunner/Utils/InvokeOnce.cs
using System; using System.Threading; namespace ParallelMSpecRunner.Utils { internal class InvokeOnce<T> { private readonly Action<T> _invocation; private int _wasInvoked; private const int TRUE = 1; private const int FALSE = 0; public InvokeOnce(Action<T>...
using System; namespace ParallelMSpecRunner.Utils { internal class InvokeOnce<T> { private readonly Action<T> _invocation; public InvokeOnce(Action<T> invocation) { _invocation = invocation; } public void Invoke(T value) { ...
mit
C#
bdb52a2b25af651a831249d087907f8ffb5640f1
Add cropping options into Generate-Tilemap directly.
Prof9/PixelPet
PixelPet/Commands/GenerateTilemapCmd.cs
PixelPet/Commands/GenerateTilemapCmd.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace PixelPet.Commands { internal class GenerateTilemapCmd : CliCommand { public GenerateTilemapCmd() : base("Generate-Tilemap", ...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace PixelPet.Commands { internal class GenerateTilemapCmd : CliCommand { public GenerateTilemapCmd() : base("Generate-Tilemap", ne...
mit
C#
f526bd2b253ad831231445e45739f27d87ed106e
Fix build error
mattgwagner/alert-roster
alert-roster.web/Models/EmailSender.cs
alert-roster.web/Models/EmailSender.cs
using NLog; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net; using System.Net.Mail; using System.Web; namespace alert_roster.web.Models { public class EmailSender { private static readonly Logger log = LogManager.GetCurrentClassLogger(); ...
using NLog; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net; using System.Net.Mail; using System.Web; namespace alert_roster.web.Models { public class EmailSender { private static readonly Logger log = LogManager.GetCurrentClassLogger(); ...
mit
C#
1a27b333aa6e97443fe8149b1321d2cc347aa47c
fix unit tests
dc0d32/RangePermute
RangePermute.Tests/RangePermuteTests.cs
RangePermute.Tests/RangePermuteTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System.Collections.Generic; using System.Collections; namespace RangePermute.Tests { [TestClass] public class RangePermuteTests { [TestMethod] public void TestSmallRanges() { for ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System.Collections.Generic; using System.Collections; namespace RangePermute.Tests { [TestClass] public class RangePermuteTests { [TestMethod] public void TestSmallRanges() { for ...
mit
C#
efbc09f27fa3bdc370be261e5062cf96879cba86
Build and publish nuget package
RockFramework/Rock.Logging
Rock.Logging/Properties/AssemblyInfo.cs
Rock.Logging/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("Ro...
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("Ro...
mit
C#
c2f0cd1792f2946c2b13d10ad445453b11975595
Add ability to set text halo color.
Smartrak/TileSharp,Smartrak/TileSharp
TileSharp/Symbolizers/TextSymbolizer.cs
TileSharp/Symbolizers/TextSymbolizer.cs
using System.Drawing; namespace TileSharp.Symbolizers { /// <summary> /// https://github.com/mapnik/mapnik/wiki/TextSymbolizer /// </summary> public class TextSymbolizer : Symbolizer { public readonly string LabelAttribute; public readonly PlacementType Placement; public readonly ContentAlignment Alignment...
using System.Drawing; namespace TileSharp.Symbolizers { /// <summary> /// https://github.com/mapnik/mapnik/wiki/TextSymbolizer /// </summary> public class TextSymbolizer : Symbolizer { public readonly string LabelAttribute; public readonly PlacementType Placement; public readonly ContentAlignment Alignment...
bsd-2-clause
C#
f3ff7ba55a85f76d7ae8c041bbd2d56958433dd3
Fix an animation bug with Mice to Snuffboxes
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Spells/Transfigurations/MiceToSnuffboxes.cs
Assets/Scripts/HarryPotterUnity/Cards/Spells/Transfigurations/MiceToSnuffboxes.cs
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Spells.Transfigurations { [UsedImplicitly] public class MiceToSnuffboxes : GenericSpell { public override List<GenericCard> GetValidTargets() { var ...
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Spells.Transfigurations { [UsedImplicitly] public class MiceToSnuffboxes : GenericSpell { public override List<GenericCard> GetValidTargets() { var ...
mit
C#
d4c751bd0b09e8d5771eaabf7a8f0c788b9b57c4
Save feature added for testing.
aykanatm/ProjectMarkdown
ProjectMarkdown/ViewModels/MainWindowViewModel.cs
ProjectMarkdown/ViewModels/MainWindowViewModel.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; using System.Windows.Input; using ProjectMarkdown.Annotations; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using ProjectMarkdown.Annotations; namespace ProjectMarkdown.ViewModels { public class MainWindowViewModel :...
mit
C#
a0d0255b0fd90d7eba06af5d5e26a03a3390deae
Revert "[LinkWith] Renamed NeedsCpp to IsCxx"
jorik041/maccore,mono/maccore,cwensley/maccore
src/ObjCRuntime/LinkWithAttribute.cs
src/ObjCRuntime/LinkWithAttribute.cs
// // Authors: Jeffrey Stedfast // // Copyright 2011 Xamarin Inc. // // 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,...
// // Authors: Jeffrey Stedfast // // Copyright 2011 Xamarin Inc. // // 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,...
apache-2.0
C#
0ea57acb58a3ef5e25433b087e345382f2805a1c
Update SwaggerToCSharpClientGeneratorSettings.cs
quails4Eva/NSwag,NSwag/NSwag,NSwag/NSwag,quails4Eva/NSwag,NSwag/NSwag,RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag
src/NSwag.CodeGeneration.CSharp/SwaggerToCSharpClientGeneratorSettings.cs
src/NSwag.CodeGeneration.CSharp/SwaggerToCSharpClientGeneratorSettings.cs
//----------------------------------------------------------------------- // <copyright file="SwaggerToCSharpClientGeneratorSettings.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Sute...
//----------------------------------------------------------------------- // <copyright file="SwaggerToCSharpClientGeneratorSettings.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Sute...
mit
C#
09cc3f89ed5cd4ba67cf7a527c76c27bf6a3825a
Make sure the decimal field value converter can handle double values when converting
bjarnef/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,NikRimington/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,abje...
src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs
src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs
using System; using System.Globalization; using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Core.PropertyEditors.ValueConverters { [DefaultPropertyValueConverter] public class DecimalValueConverter : PropertyValueConverterBase { public override bool IsConverter(PublishedPropertyType pr...
using System; using System.Globalization; using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Core.PropertyEditors.ValueConverters { [DefaultPropertyValueConverter] public class DecimalValueConverter : PropertyValueConverterBase { public override bool IsConverter(PublishedPropertyType pr...
mit
C#
74dc2b4a1acde8ebf66faac5b7f4657a8c3a4b5e
Use nameof and remove unneeded namespace imports
fgreinacher/corefx,parjong/corefx,jlin177/corefx,rubo/corefx,MaggieTsang/corefx,Petermarcu/corefx,weltkante/corefx,yizhang82/corefx,dotnet-bot/corefx,mmitche/corefx,YoupHulsebos/corefx,weltkante/corefx,tijoytom/corefx,wtgodbe/corefx,nbarbettini/corefx,marksmeltzer/corefx,krk/corefx,ericstj/corefx,gkhanna79/corefx,shimi...
src/System.Diagnostics.TraceSource/src/System/Diagnostics/SwitchLevelAttribute.cs
src/System.Diagnostics.TraceSource/src/System/Diagnostics/SwitchLevelAttribute.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. namespace System.Diagnostics { [AttributeUsage(AttributeTargets.Class)] public sealed class SwitchLevelAttri...
// 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.Reflection; using System.Collections; namespace System.Diagnostics { [AttributeUsage...
mit
C#
a4b69a30492b4ced7dc22b41609e900f5a246868
add auto number for payment.
robertzml/Phoebe
Phoebe.Core/BL/PaymentBusiness.cs
Phoebe.Core/BL/PaymentBusiness.cs
using System; using System.Collections.Generic; using System.Text; namespace Phoebe.Core.BL { using SqlSugar; using Phoebe.Base.Framework; using Phoebe.Core.Entity; using Phoebe.Core.Utility; /// <summary> /// 缴费业务类 /// </summary> public class PaymentBusiness : AbstractBusiness<Pa...
using System; using System.Collections.Generic; using System.Text; namespace Phoebe.Core.BL { using SqlSugar; using Phoebe.Base.Framework; using Phoebe.Core.Entity; using Phoebe.Core.Utility; /// <summary> /// 缴费业务类 /// </summary> public class PaymentBusiness : AbstractBusiness<Pa...
mit
C#
5cd4e025fa2d42ea5c65950301e5a6215228488b
bump the version number for latest changes
Notulp/Pluton,Notulp/Pluton
Pluton/Properties/AssemblyInfo.cs
Pluton/Properties/AssemblyInfo.cs
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Pluton")] [assembly: AssemblyDescription("A server mod for the active branch of the survival sandbox game Rust")] [assembly: AssemblyCon...
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Pluton")] [assembly: AssemblyDescription("A server mod for the active branch of the survival sandbox game Rust")] [assembly: AssemblyCon...
mit
C#
ac33cbd31741fbebe972852dea397d318aec17a6
Clean up code.
enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api
Infopulse.EDemocracy.Data/Repositories/UserDetailRepository.cs
Infopulse.EDemocracy.Data/Repositories/UserDetailRepository.cs
using Infopulse.EDemocracy.Data.Interfaces; using Infopulse.EDemocracy.Model; using System.Data; using System.Data.Entity; using System.Data.SqlClient; using System.Linq; namespace Infopulse.EDemocracy.Data.Repositories { public class UserDetailRepository : IUserDetailRepository { public int GetUserId(string user...
using Infopulse.EDemocracy.Data.Interfaces; using Infopulse.EDemocracy.Model; using System.Data; using System.Data.Entity; using System.Data.SqlClient; using System.Linq; namespace Infopulse.EDemocracy.Data.Repositories { public class UserDetailRepository : IUserDetailRepository { public int GetUserId(string user...
cc0-1.0
C#
17dc787956bf1d2943b25667a37f04acfee3b43c
remove some c.wls
Gankov/gtk-sharp,antoniusriha/gtk-sharp,akrisiun/gtk-sharp,orion75/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,orion75/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,openmedicus/gtk-sharp,antoniusriha/gtk-sharp,orion75/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,orion75/g...
glib/ManagedValue.cs
glib/ManagedValue.cs
// GLib.ManagedValue.cs : Managed types boxer // // Author: Rachel Hestilow <hestilow@ximian.com> // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free S...
// GLib.ManagedValue.cs : Managed types boxer // // Author: Rachel Hestilow <hestilow@ximian.com> // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free S...
lgpl-2.1
C#
34ae0dfb5afa9356fe85f1a831624a5fa56169f3
Implement humanize test localization for current culture.
oceanho/aspnetboilerplate,fengyeju/aspnetboilerplate,virtualcca/aspnetboilerplate,berdankoca/aspnetboilerplate,AlexGeller/aspnetboilerplate,ilyhacker/aspnetboilerplate,fengyeju/aspnetboilerplate,yuzukwok/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,andmattia/aspnetboilerplate,jaq316/aspnetb...
src/Abp/Localization/LocalizationSourceHelper.cs
src/Abp/Localization/LocalizationSourceHelper.cs
using System.Globalization; using Abp.Configuration.Startup; using Abp.Extensions; using Abp.Logging; namespace Abp.Localization { public static class LocalizationSourceHelper { public static string ReturnGivenNameOrThrowException(ILocalizationConfiguration configuration, string sourceName, string nam...
using System.Globalization; using Abp.Configuration.Startup; using Abp.Extensions; using Abp.Logging; namespace Abp.Localization { public static class LocalizationSourceHelper { public static string ReturnGivenNameOrThrowException(ILocalizationConfiguration configuration, string sourceName, string nam...
mit
C#
bee994cb165b41a50f3b023312679a89f564dc13
Correct test project name.
sharpjs/PSql,sharpjs/PSql
PSql.Core/Properties/AssemblyInfo.cs
PSql.Core/Properties/AssemblyInfo.cs
/* Copyright (C) 2019 Jeffrey Sharp Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLA...
/* Copyright (C) 2019 Jeffrey Sharp Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLA...
isc
C#
34fa7f578cb203920e8f3a743390d0a516a8d8d3
update jwt example
plivo/plivo-dotnet,plivo/plivo-dotnet
examples/Jwt.cs
examples/Jwt.cs
using System; using System.Collections.Generic; using Plivo; namespace Plivo { class MainClass { public static void Main(string[] args) { var token0 = new Plivo.AccessToken("MADADADADADADADADADA", "qwerty", "username") .WithOutgoing(true) .WithIncomin...
using System; using System.Collections.Generic; using Plivo; namespace Plivo { class MainClass { public static void Main(string[] args) { var token = new Plivo.AccessToken("MADADADADADADADADADA", "qwerty", "username") .WithOutgoing(true) .WithIncoming...
mit
C#
b8d175459d01ff80fde8b482fb379344167b76d5
Test commit
transsight/testproject,transsight/testproject
src/stress.samples/Program.cs
src/stress.samples/Program.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. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // 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. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using st...
mit
C#
44cf47aeeda4d5fc6839c4b7165db54111e34d10
Add some documentation to the async interfaces
matrostik/SQLitePCL.pretty,bordoley/SQLitePCL.pretty
SQLitePCL.pretty.Async/Interfaces.cs
SQLitePCL.pretty.Async/Interfaces.cs
/* Copyright 2014 David Bordoley 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 in ...
/* Copyright 2014 David Bordoley 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 in ...
apache-2.0
C#
49346a7863541f9a777cf60ddc170145e3b769bc
Update example
Intacct/intacct-sdk-net-examples
CreateCustomObjectExample/MyCustomObjectCreate.cs
CreateCustomObjectExample/MyCustomObjectCreate.cs
/** * Copyright 2017 Intacct 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.apache.org/licenses/LICENSE-2.0 * * or in the "LICENSE" file accomp...
/** * Copyright 2017 Intacct 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.apache.org/licenses/LICENSE-2.0 * * or in the "LICENSE" file accomp...
apache-2.0
C#
1be0973640e8267c9e34c14d9ca1f722f63e6105
create conditional approval from organization used wrong parameter
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Web/Views/ConditionalApproval/ByOrg.cshtml
Purchasing.Web/Views/ConditionalApproval/ByOrg.cshtml
@model System.Linq.IQueryable<Purchasing.Core.Domain.ConditionalApproval> @{ ViewBag.Title = "Conditional Approvals by Organization"; } @section SubNav { <ul class="navigation"> <li>@Html.ActionLink("Back to Organization", "Details", "Organization", new { id = ViewBag.OrganizationId }, new { @class="but...
@model System.Linq.IQueryable<Purchasing.Core.Domain.ConditionalApproval> @{ ViewBag.Title = "Conditional Approvals by Organization"; } @section SubNav { <ul class="navigation"> <li>@Html.ActionLink("Back to Organization", "Details", "Organization", new { id = ViewBag.OrganizationId }, new { @class="but...
mit
C#
7bd4ee2ec0674fb66f2d178648a44bde9841a26a
Include id and title on package version history items.
googol/NuGet.Lucene,themotleyfool/NuGet.Lucene,Stift/NuGet.Lucene
source/NuGet.Lucene.Web/Models/PackageVersionSummary.cs
source/NuGet.Lucene.Web/Models/PackageVersionSummary.cs
using System; using AspNet.WebApi.HtmlMicrodataFormatter; namespace NuGet.Lucene.Web.Models { public class PackageVersionSummary { private readonly string id; private readonly string title; private readonly StrictSemanticVersion version; private readonly DateTimeOffset lastUpdat...
using System; using AspNet.WebApi.HtmlMicrodataFormatter; namespace NuGet.Lucene.Web.Models { public class PackageVersionSummary { private readonly StrictSemanticVersion version; private readonly DateTimeOffset lastUpdated; private readonly int versionDownloadCount; private read...
apache-2.0
C#
51aa900824e696441382c52f2b69e15422dee571
test for pull
ytodorov/AntServices,ytodorov/AntServices,ytodorov/AntServices,ytodorov/AntServices,ytodorov/AntServices,ytodorov/AntServices,ytodorov/AntServices,ytodorov/AntServices
AdvancedNetToolsSolution/UnitTests/TraceRouteTests.cs
AdvancedNetToolsSolution/UnitTests/TraceRouteTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Xunit; namespace UnitTests { public class TraceRouteTests { [Fact] public void GetTraceRouteString() { using (Http...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Xunit; namespace UnitTests { public class TraceRouteTests { [Fact] public void GetTraceRouteString() { using (Http...
apache-2.0
C#
650c2e2eb72927fbb008f8912e7bf1a0efeb5fa1
Remove redundant null check from WindowsUtils
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Utils/WindowsUtils.cs
Core/Utils/WindowsUtils.cs
using System.IO; using System.Linq; using System.Security.AccessControl; using System.Security.Principal; namespace TweetDck.Core.Utils{ static class WindowsUtils{ public static bool CheckFolderPermission(string path, FileSystemRights right){ try{ AuthorizationRuleCollection ru...
using System.IO; using System.Linq; using System.Security.AccessControl; using System.Security.Principal; namespace TweetDck.Core.Utils{ static class WindowsUtils{ public static bool CheckFolderPermission(string path, FileSystemRights right){ try{ AuthorizationRuleCollection ru...
mit
C#
2aea7d564c2153402547f8576e0f88b6e9fae9eb
Change version to 1.2 prior tagging.
iskiselev/moq4,cgourlay/moq4,madcapsoftware/moq4,ramanraghur/moq4,JohanLarsson/moq4,breyed/moq4,HelloKitty/moq4,RobSiklos/moq4,jeremymeng/moq4,ocoanet/moq4,kolomanschaft/moq4,Moq/moq4,AhmedAssaf/moq4,kulkarnisachin07/moq4,LeonidLevin/moq4,chkpnt/moq4,ericschultz/Moq,AhmedAssaf/moq4
Source/Properties/AssemblyInfo.cs
Source/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Moq")] [assembly: AssemblyDescription("Mocking library for .NET 3.5 and C# 3.0, heavily based on Linq")] [assembly: AssemblyCompany("Moq Project")] [assembly: AssemblyProduct("Moq")] [assembly: AssemblyTrademark("")] [as...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Moq")] [assembly: AssemblyDescription("Mocking library for .NET 3.5 and C# 3.0, heavily based on Linq")] [assembly: AssemblyCompany("Moq Project")] [assembly: AssemblyProduct("Moq")] [assembly: AssemblyTrademark("")] [as...
bsd-3-clause
C#
c7eb0b6bead0d73d0534fba2b7e179fedcd24b7f
Create private and public key when saving a new product
dnauck/License.Manager-Light,dnauck/License.Manager-Light,dnauck/License.Manager-Light
src/License.Manager/Client/UserCode/CreateNewProduct.cs
src/License.Manager/Client/UserCode/CreateNewProduct.cs
using System; using System.Linq; using System.IO; using System.IO.IsolatedStorage; using System.Collections.Generic; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Framework.Client; using Microsoft.LightSwitch.Presentation; using Microsoft.LightSwitch.Presentation.Extensions; namespace LightSwitchApplicatio...
using System; using System.Linq; using System.IO; using System.IO.IsolatedStorage; using System.Collections.Generic; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Framework.Client; using Microsoft.LightSwitch.Presentation; using Microsoft.LightSwitch.Presentation.Extensions; namespace LightSwitchApplicatio...
mit
C#
026f2747aea2ede31e2e9634a78e36603452c76e
Remove popups from sharing buttons (attempt #1)
sdl/dxa-web-application-dotnet,sdl/dxa-web-application-dotnet
Site/Areas/Core/Views/Entity/SocialSharing.cshtml
Site/Areas/Core/Views/Entity/SocialSharing.cshtml
@model LinkList<TagLink> @{ int i = 0; var pageUrl = Url.Encode(Request.Url.ToString()); } <div class="share-buttons clearfix" @Markup.Entity(Model)> @Html.Resource("core.shareOnSocialCaption") <ul> @foreach(var link in Model.Links) { <li @Markup.Property(Model,"Links",i++)> <!--<...
@model LinkList<TagLink> @{ int i = 0; var pageUrl = Url.Encode(Request.Url.ToString()); } <div class="share-buttons clearfix" @Markup.Entity(Model)> @Html.Resource("core.shareOnSocialCaption") <ul> @foreach(var link in Model.Links) { <li @Markup.Property(Model,"Links",i++)> <a cl...
apache-2.0
C#
531b6740f6a486e6e3932903f79cf26d6ff33f67
transform uses less memory - use values read for values transformed
ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins
Transformers/TransformAddField.cs
Transformers/TransformAddField.cs
using StankinsInterfaces; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Transformers { //replace with //https://github.com/davideicardi/DynamicExpresso public class TransformAddField<T,U> : ITransform { Func<T, U> transformFunc { get; set; } pu...
using StankinsInterfaces; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Transformers { public class TransformAddField<T,U> : ITransform { Func<T, U> transformFunc { get; set; } public string OldField { get; set; } public string NewField { get; ...
mit
C#
b59f23d0944a5aa512c2bf3096d4ef7390f32e72
Implement hp increase for taiko
peppy/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,smoogipoo/osu,ZLima12/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,johnn...
osu.Game.Rulesets.Taiko/Scoring/TaikoScoreProcessor.cs
osu.Game.Rulesets.Taiko/Scoring/TaikoScoreProcessor.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.Game.Beatmaps; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Taiko.Objects; usi...
// 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.Game.Beatmaps; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Taiko.Objects; usi...
mit
C#
c408b46a2158e251d82ce99997d65d2c58c7203f
Add AllowedMods to MultiplayerRoomSettings model
UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new
osu.Game/Online/Multiplayer/MultiplayerRoomSettings.cs
osu.Game/Online/Multiplayer/MultiplayerRoomSettings.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; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using osu.Game.Online.API; namespace osu.Game.Online.Mu...
// 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; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using osu.Game.Online.API; namespace osu.Game.Online.Mu...
mit
C#
4b6f2f996205704d2c624c22684b6dca23bf618e
Fix incorrect ordering
Tom94/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-fra...
osu.Framework/Graphics/Textures/TextureWithRefCount.cs
osu.Framework/Graphics/Textures/TextureWithRefCount.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using osu.Framework.Graphics.OpenGL.Textures; namespace osu.Framework.Graphics.Textures { /// <summary> /// A texture which updates the...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using osu.Framework.Graphics.OpenGL.Textures; namespace osu.Framework.Graphics.Textures { /// <summary> /// A texture which updates the...
mit
C#
1e6f19f981adcfc5cfd0101fd7919b14b6e50d66
Throw ArgumentExceptions instead
EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework/Input/StateChanges/TouchActivityInput.cs
osu.Framework/Input/StateChanges/TouchActivityInput.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuTK.Input; na...
// 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.Linq; using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuT...
mit
C#
5d74d92fcf030d6c98fb8941ea3159914b09a6dd
Revert `virtual` current bindable
ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Graphics/UserInterfaceV2/LabelledComponent.cs
osu.Game/Graphics/UserInterfaceV2/LabelledComponent.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; namespace osu.Game.Graphics.UserInterfaceV2 { public abstrac...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; namespace osu.Game.Graphics.UserInterfaceV2 { public abstrac...
mit
C#
bcc904386842778c82d2689eb7613f569d45c9f8
Update JailBreakGoogleEventsService.cs
fabianwilliams/JailBreakMobilePublic
jbb/jbb/ViewModel/JailBreakGoogleEventsService.cs
jbb/jbb/ViewModel/JailBreakGoogleEventsService.cs
using System; using System.Net; using System.Net.Http; using System.Linq; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using System.Threading.Tasks; namespace jbb { public class JailBreakGoogleEventsService { public JailBreakGoogleEventsService () { } public async Tas...
using System; using System.Net; using System.Net.Http; using System.Linq; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using System.Threading.Tasks; namespace jbb { public class JailBreakGoogleEventsService { public JailBreakGoogleEventsService () { } public async Tas...
apache-2.0
C#
a001e4aa166675a81c8beacc065284aebc158871
Fix web request failing if password is null
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu
osu.Game/Online/Rooms/JoinRoomRequest.cs
osu.Game/Online/Rooms/JoinRoomRequest.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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
// 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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
mit
C#
fbb68d802df49cb7465ea591780e6bb2ead1545f
Remove useless properties from ItemPageViewModel.cs
wangjun/windows-app,wangjun/windows-app
wallabag/wallabag.Shared/ViewModel/ItemPageViewModel.cs
wallabag/wallabag.Shared/ViewModel/ItemPageViewModel.cs
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Ioc; using Windows.ApplicationModel.DataTransfer; using Windows.UI.Xaml.Media; using wallabag.Common; namespace wallabag.ViewModel { public class ItemPageViewModel : viewModelBase { private ItemViewModel _Item; ...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Ioc; using Windows.ApplicationModel.DataTransfer; using Windows.UI.Xaml.Media; using wallabag.Common; namespace wallabag.ViewModel { public class ItemPageViewModel : viewModelBase { private ItemViewModel _Item; ...
mit
C#
7269d71b659938ccbd6c73d9b35c3a0c5ecc48d6
Disable example
mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl...
MatterControlLib/PartPreviewWindow/SceneViewer/TraceDataDrawable.cs
MatterControlLib/PartPreviewWindow/SceneViewer/TraceDataDrawable.cs
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
a1ffd84ff61a550bb58291d274b01f673ad2749e
use tables under DeepThought schema
spartanbeg/Beethoven
src/Beethoven/Beethoven.Plugins/Security/SecurityDataContext.cs
src/Beethoven/Beethoven.Plugins/Security/SecurityDataContext.cs
/* * DeepThought.Account * * Written for .NET 4.0 in C# * * Copyright (C) 2009, 2010, 2011. All Right Reserved, Spartansoft L.L.C. * http://spartansoft.org * * Proprietary and Confidential information of Spartansoft L.L.C. * Redistribution and use in source and binary forms, with or without modification, ...
/* * DeepThought.Account * * Written for .NET 4.0 in C# * * Copyright (C) 2009, 2010, 2011. All Right Reserved, Spartansoft L.L.C. * http://spartansoft.org * * Proprietary and Confidential information of Spartansoft L.L.C. * Redistribution and use in source and binary forms, with or without modification, ...
mit
C#
5e6d28a3027f1cf4dac32cbd0cd21dcbe0c9e6e2
Fix fleet ship list not update
amatukaze/HeavenlyWind
src/ViewModels/Sakuno.ING.ViewModels/Homeport/FleetViewModel.cs
src/ViewModels/Sakuno.ING.ViewModels/Homeport/FleetViewModel.cs
using DynamicData; using DynamicData.Aggregation; using DynamicData.Binding; using ReactiveUI; using Sakuno.ING.Game.Models; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; namespace Sakuno.ING.ViewModels.Homeport { public sealed class FleetViewModel : ReactiveObject, IHomeportTab...
using DynamicData; using DynamicData.Aggregation; using ReactiveUI; using Sakuno.ING.Game.Models; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; namespace Sakuno.ING.ViewModels.Homeport { public sealed class FleetViewModel : ReactiveObject, IHomeportTabViewModel { pub...
mit
C#
d313de18e1b36a448e10961034a4e9fcacd5a127
Fix constructor layout in DerAsnBitStringTests
huysentruitw/pem-utils
tests/DerConverter.Tests/Asn/KnownTypes/DerAsnBitStringTests.cs
tests/DerConverter.Tests/Asn/KnownTypes/DerAsnBitStringTests.cs
using System.Collections; using DerConverter.Asn; using DerConverter.Asn.KnownTypes; using NUnit.Framework; namespace DerConverter.Tests.Asn.KnownTypes { [TestFixture] public class DerAsnBitStringTests : Base<DerAsnBitString, BitArray> { public DerAsnBitStringTests() : base(DerAsnIdentifiers.Primi...
using System.Collections; using DerConverter.Asn; using DerConverter.Asn.KnownTypes; using NUnit.Framework; namespace DerConverter.Tests.Asn.KnownTypes { [TestFixture] public class DerAsnBitStringTests : Base<DerAsnBitString, BitArray> { public DerAsnBitStringTests() : base(DerAsnIdent...
apache-2.0
C#
1feb9fa14d9dc465f8f9a238294d975799261333
fix test
Fody/Validar
Fody/AssemblyTests/GenericExternalTests.cs
Fody/AssemblyTests/GenericExternalTests.cs
using System.IO; using System.Reflection; using NUnit.Framework; [TestFixture] public class GenericExternalTests { string afterAssemblyPath; Assembly assembly; public GenericExternalTests() { AppDomainAssemblyFinder.Attach(); var beforeAssemblyPath = Path.GetFullPath(@"..\..\..\WithGe...
using System.IO; using System.Reflection; using NUnit.Framework; [TestFixture] public class GenericExternalTests { string afterAssemblyPath; Assembly assembly; public GenericExternalTests() { AppDomainAssemblyFinder.Attach(); var beforeAssemblyPath = Path.GetFullPath(@"..\..\..\WithGe...
mit
C#
2a31739302c818e32444a0e4608b627acb179613
Update doc comment for RazorInjectAttribute (#11554)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs
src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Mvc.Razor.Internal { /// <summary> /// Specifies that the attributed property should be bound usin...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Mvc.Razor.Internal { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = tru...
apache-2.0
C#
551b663f78da91aba94083b200299d5cfeee52aa
Fix for display of hours
Red-Folder/red-folder.com,Red-Folder/red-folder.com,Red-Folder/red-folder.com
src/Red-Folder.com/Views/Shared/_PodcastMetrics.cshtml
src/Red-Folder.com/Views/Shared/_PodcastMetrics.cshtml
@model RedFolder.Podcast.Models.PodcastMetrics <div class="podcast-metrics"> <div> <h3 class="title">Number of episodes</h3> <p class="metric"> @Model.NumberOfEpisodes </p> </div> <div> <h3 class="title">Total duration</h3> <p class="metric"> ...
@model RedFolder.Podcast.Models.PodcastMetrics <div class="podcast-metrics"> <div> <h3 class="title">Number of episodes</h3> <p class="metric"> @Model.NumberOfEpisodes </p> </div> <div> <h3 class="title">Total duration</h3> <p class="metric"> ...
mit
C#
9e0b9ec9eb5a29a510428e05d5c16d5500b5dd70
Increment assembly version
Sunlighter/AsyncQueues
AsyncQueueLib/Properties/AssemblyInfo.cs
AsyncQueueLib/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
apache-2.0
C#
8352cb7313302e869dcd9bc56078a2aa22d3ab2f
Check if property has setter
davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine
CMSEngine/Extensions/ObjectExtensions.cs
CMSEngine/Extensions/ObjectExtensions.cs
using System.Linq; namespace CmsEngine.Extensions { public static class ObjectExtensions { public static object MapTo(this object source, object target) { foreach (var sourceProp in source.GetType().GetProperties()) { var targetProp = target.GetType().Ge...
using System.Linq; namespace CmsEngine.Extensions { public static class ObjectExtensions { public static object MapTo(this object source, object target) { foreach (var sourceProp in source.GetType().GetProperties()) { var targetProp = target.GetType().Ge...
mit
C#
3158f700748a6724865820901174cbfacd0670b1
Trim leading slash on AdminUrlPrefix (#5193)
petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Or...
src/OrchardCore/OrchardCore.Admin.Abstractions/AdminOptions.cs
src/OrchardCore/OrchardCore.Admin.Abstractions/AdminOptions.cs
namespace OrchardCore.Admin { public class AdminOptions { private string _adminUrlPrefix = "Admin"; public string AdminUrlPrefix { get => _adminUrlPrefix; set => _adminUrlPrefix = value.Trim(' ', '/'); } } }
namespace OrchardCore.Admin { public class AdminOptions { public string AdminUrlPrefix { get; set; } = "Admin"; } }
bsd-3-clause
C#
2649c4d57cb1e4d9d940350acd1260f4717898a3
Check if the syntax list has any elements before calling .First()
dotnet/roslyn-analyzers,mavasani/roslyn-analyzers,genlu/roslyn-analyzers,mattwar/roslyn-analyzers,bkoelman/roslyn-analyzers,pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,Anniepoh/roslyn-analyzers,natidea/roslyn-analyzers,SpotLabsNET/roslyn-analyzers,heejaechang/roslyn-analyzers,jinujoseph/roslyn-analyzers,dotnet/ro...
src/Roslyn/Core/Documentation/DoNotUseVerbatimCrefsAnalyzer.cs
src/Roslyn/Core/Documentation/DoNotUseVerbatimCrefsAnalyzer.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.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; using...
// 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.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; using...
mit
C#
094c339159ebbbf75e3165b6ccdeb5b7071c74d9
Fix threading issue with GetRolesForProperty.
rockfordlhotka/csla,ronnymgm/csla-light,JasonBock/csla,jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,jonnybee/csla,MarimerLLC/csla,ronnymgm/csla-light,jonnybee/csla,MarimerLLC/csla,BrettJaner/csla,MarimerLLC/csla,JasonBock/csla,BrettJaner/csla,rockfordlhotka/csla,BrettJaner/csla,ronnymgm/csla-light
cslacs/Csla/Security/AuthorizationRulesManager.cs
cslacs/Csla/Security/AuthorizationRulesManager.cs
using System; using System.Collections.Generic; using System.Security.Principal; namespace Csla.Security { /// <summary> /// Maintains authorization roles for a business object /// or business object type. /// </summary> public class AuthorizationRulesManager { private Dictionary<string, RolesForPrope...
using System; using System.Collections.Generic; using System.Security.Principal; namespace Csla.Security { /// <summary> /// Maintains authorization roles for a business object /// or business object type. /// </summary> public class AuthorizationRulesManager { private Dictionary<string, RolesForPrope...
mit
C#