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 |
|---|---|---|---|---|---|---|---|---|
dc70d74bd7c57c5640b34913b1edbc9b92add8d3 | Change default sizing | jefking/King.Azure.Imaging,jefking/King.Azure.Imaging,jefking/King.Azure.Imaging | King.Azure.Imaging/Versions.cs | King.Azure.Imaging/Versions.cs | namespace King.Azure.Imaging
{
using System.Collections.Generic;
/// <summary>
/// Versions
/// </summary>
public class Versions : IVersions
{
#region Members
/// <summary>
/// Versions
/// </summary>
protected readonly IDictionary<string, IImageVersion>... | namespace King.Azure.Imaging
{
using System.Collections.Generic;
/// <summary>
/// Versions
/// </summary>
public class Versions : IVersions
{
#region Members
/// <summary>
/// Versions
/// </summary>
protected readonly IDictionary<string, IImageVersion>... | mit | C# |
843799e261b9c4bda5f1249ef10557f4c24b0eaa | fix to missing stream extension | hungweng/MarkerMetro.Unity.WinLegacy,MarkerMetro/MarkerMetro.Unity.WinLegacy | MarkerMetro.Unity.WinLegacyUnity/System/MissingExtensions.cs | MarkerMetro.Unity.WinLegacyUnity/System/MissingExtensions.cs | using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Reflection;
using System;
using System.Runtime.InteropServices;
namespace MarkerMetro.Unity.WinLegacy
{
/**
* Helpers for missing functions of classes, turned into extensions instead...
... | using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Reflection;
using System;
using System.Runtime.InteropServices;
namespace MarkerMetro.Unity.WinLegacy
{
/**
* Helpers for missing functions of classes, turned into extensions instead...
... | mit | C# |
648c2c2847268e9b7828af7ca4cd029c6c210556 | Update Cert2 data model | AshleyPoole/ssllabs-api-wrapper | SSLLabsApiWrapper/Models/Response/EndpointSubModels/Cert2.cs | SSLLabsApiWrapper/Models/Response/EndpointSubModels/Cert2.cs | namespace SSLLabsApiWrapper.Models.Response.EndpointSubModels
{
public class Cert2
{
public string subject { get; set; }
public string label { get; set; }
public object notBefore { get; set; }
public object notAfter { get; set; }
public string issuerSubject { get; set; }
public string issuerLabel { get; ... | namespace SSLLabsApiWrapper.Models.Response.EndpointSubModels
{
public class Cert2
{
public string subject { get; set; }
public string label { get; set; }
public string issuerSubject { get; set; }
public string issuerLabel { get; set; }
public string raw { get; set; }
}
}
| mit | C# |
c4551273bb6ebbac3d29312f43a5bc233f9577ff | Validate args | magoswiat/octokit.net,eriawan/octokit.net,SmithAndr/octokit.net,dampir/octokit.net,SLdragon1989/octokit.net,Sarmad93/octokit.net,shiftkey/octokit.net,kdolan/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,SamTheDev/octokit.net,ivandrofly/octokit.net,hitesh97/octokit.net,shana/octokit.net,adamralph/octokit.net,mic... | Octokit/Models/Response/GitIgnoreTemplate.cs | Octokit/Models/Response/GitIgnoreTemplate.cs | namespace Octokit
{
public class GitIgnoreTemplate
{
public GitIgnoreTemplate(string name, string source)
{
Ensure.ArgumentNotNullOrEmptyString(name, "name");
Ensure.ArgumentNotNullOrEmptyString(source, "source");
Name = name;
Source = source;
... | namespace Octokit
{
public class GitIgnoreTemplate
{
public GitIgnoreTemplate(string name, string source)
{
Name = name;
Source = source;
}
public GitIgnoreTemplate()
{
}
public string Name { get; protected set; }
public ... | mit | C# |
8368892b45f105cc4dbeb37b1c5813d109ed9d19 | Fix #2 - Rename "lazy loading" to "lazy initialization" | tparviainen/oscilloscope | SCPI.Tests/Commands_Tests.cs | SCPI.Tests/Commands_Tests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace SCPI.Tests
{
public class Commands_Tests
{
[Fact]
public void HasSupportedCommands()
{
// Arrange
var commands = new Commands();
// Act
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace SCPI.Tests
{
public class Commands_Tests
{
[Fact]
public void HasSupportedCommands()
{
// Arrange
var commands = new Commands();
// Act
... | mit | C# |
9f7fa01a86da8bc6a70fc117f7094f5abd4dfbfa | Fix .NET Native reflection invoke stepping by adding a debugger attribute on MethodInvoker.Invoke | gregkalapos/corert,gregkalapos/corert,krytarowski/corert,shrah/corert,gregkalapos/corert,shrah/corert,yizhang82/corert,shrah/corert,yizhang82/corert,krytarowski/corert,tijoytom/corert,yizhang82/corert,botaberg/corert,tijoytom/corert,shrah/corert,krytarowski/corert,botaberg/corert,botaberg/corert,gregkalapos/corert,yizh... | src/System.Private.Reflection.Core/src/Internal/Reflection/Core/Execution/MethodInvoker.cs | src/System.Private.Reflection.Core/src/Internal/Reflection/Core/Execution/MethodInvoker.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.Reflection;
using System.Diagnostics;
using System.Globalization;
using System.Reflection... | // 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.Diagnostics;
using System.Globalization;
using System.Reflection... | mit | C# |
d0e29ca4cecb0a0cced46a68484121070c21592b | add license | NDark/ndinfrastructure,NDark/ndinfrastructure | DotNet/MathTools/MathTools.cs | DotNet/MathTools/MathTools.cs | /**
MIT License
Copyright (c) 2017 - 2018 NDark
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, publish... |
public partial class MathTools
{
/**
* http://floating-point-gui.de/errors/comparison/
*/
public static bool RelativeEqual(float a, float b, float _RatioUnderSum )
{
float absA = System.Math.Abs(a);
float absB = System.Math.Abs(b);
float diff = System.Math.Abs(a - b);
if (a == b)
{
// shortcut... | mit | C# |
674bd4c283cbf17656f0bf035c30f4324000f103 | Update view for Home/Index | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | @using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.Name)
... | @using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.Name)
... | mit | C# |
3a48f42a904f77067e68a8295b81b07c5b44c1ce | Update TestHelpers to support running under NCrunch | kthompson/csharp-glob,kthompson/glob,kthompson/glob | test/Glob.Tests/TestHelpers.cs | test/Glob.Tests/TestHelpers.cs | using System;
using System.IO;
using System.Text;
using Microsoft.DotNet.PlatformAbstractions;
namespace GlobExpressions.Tests
{
public static class TestHelpers
{
private static readonly string NCrunchSourceRoot = Environment.GetEnvironmentVariable("NCrunch") == "1"
? Path.GetDirectoryName... | using System;
using System.IO;
using System.Text;
using Microsoft.DotNet.PlatformAbstractions;
namespace GlobExpressions.Tests
{
public static class TestHelpers
{
public static readonly string SourceRoot = Environment.GetEnvironmentVariable("APPVEYOR_BUILD_FOLDER") ?? Path.Combine("..", "..", "..", ".... | mit | C# |
37be3c1db1299dcf4aea493ce74104e6c6159bbc | Change Azure.Identity tracing namespace to Microsoft.AAD (#11857) | stankovski/azure-sdk-for-net,markcowl/azure-sdk-for-net,hyonholee/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,stankovski/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-... | sdk/identity/Azure.Identity/src/Properties/AssemblyInfo.cs | sdk/identity/Azure.Identity/src/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.Extensions.Azure.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.Extensions.Azure.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09... | mit | C# |
ed2d9749b339f8db6454007f5246f47f772fda80 | Update BaseGalleryViewModel.cs | FormsCommunityToolkit/FormsCommunityToolkit | samples/XCT.Sample/ViewModels/Base/BaseGalleryViewModel.cs | samples/XCT.Sample/ViewModels/Base/BaseGalleryViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using Xamarin.CommunityToolkit.Sample.Models;
namespace Xamarin.CommunityToolkit.Sample.ViewModels
{
public abstract class BaseGalleryViewModel : BaseViewModel
{
public BaseGalleryViewModel()
{
Filter();
FilterC... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using Xamarin.CommunityToolkit.Sample.Models;
namespace Xamarin.CommunityToolkit.Sample.ViewModels
{
public abstract class BaseGalleryViewModel : BaseViewModel
{
public BaseGalleryViewModel()
{
Filter();
FilterC... | mit | C# |
7de90a513bf59b28fa32af176fef5cd1e6a401b8 | Add bing map keys with fake default | DanieleScipioni/TestApp | TestAppUWP/Samples/Map/MapServiceSettings.cs | TestAppUWP/Samples/Map/MapServiceSettings.cs | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public static string Token = string.Empty;
}
} | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public static string Token="Pippo";
}
} | mit | C# |
1dc3dd696e5e3a81932239e3bbf4dfc70ee09f80 | Update Feature1.cs | ThomasKV/GitTest1 | ConsoleApp1/ConsoleApp1/Feature1.cs | ConsoleApp1/ConsoleApp1/Feature1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Feature1
{
int _x;
Feature1(int x)
{
_x=x;
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Feature1
{
Feature1()
{
}
}
}
| mit | C# |
233b63bdd229bc935dfef769d3c162766378b95c | Remove obsolete Linux build architectures on 2019.2+ | Chaser324/unity-build | Editor/Build/Platform/BuildLinux.cs | Editor/Build/Platform/BuildLinux.cs | using UnityEditor;
namespace SuperSystems.UnityBuild
{
[System.Serializable]
public class BuildLinux : BuildPlatform
{
#region Constants
private const string _name = "Linux";
private const string _dataDirNameFormat = "{0}_Data";
private const BuildTargetGroup _targetGroup = BuildTargetGroup.Standalo... | using UnityEditor;
namespace SuperSystems.UnityBuild
{
[System.Serializable]
public class BuildLinux : BuildPlatform
{
#region Constants
private const string _name = "Linux";
private const string _dataDirNameFormat = "{0}_Data";
private const BuildTargetGroup _targetGroup = BuildTargetGroup.Standalo... | mit | C# |
ee580a842273e103a4da95ee514ef9543b93bf40 | Simplify code. | orthoxerox/roslyn,jasonmalinowski/roslyn,davkean/roslyn,mavasani/roslyn,bartdesmet/roslyn,tmat/roslyn,agocke/roslyn,mmitche/roslyn,tmeschter/roslyn,mmitche/roslyn,VSadov/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,physhi/roslyn,AlekseyTs/roslyn,pdelvo/roslyn,paulvanbrenk/roslyn,jcouv/roslyn,mattscheffer/roslyn,lorcanm... | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpDefaultExpressionReducer.Rewriter.cs | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpDefaultExpressionReducer.Rewriter.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.Threading;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnal... | // 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.Threading;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnal... | mit | C# |
65574ca81fef2784fd3b1e54232d807943057e73 | set utc time zone handling when converting objects | Picturepark/Picturepark.SDK.DotNet | src/Picturepark.SDK.V1.Contract/Partials/ListItemDetail.cs | src/Picturepark.SDK.V1.Contract/Partials/ListItemDetail.cs | using Newtonsoft.Json.Linq;
using System;
using Newtonsoft.Json;
namespace Picturepark.SDK.V1.Contract
{
public partial class ListItemDetail
{
/// <summary>Converts the content of a list item detail to the given type.</summary>
/// <typeparam name="T">The content type.</typeparam>
/// ... | using Newtonsoft.Json.Linq;
using System;
namespace Picturepark.SDK.V1.Contract
{
public partial class ListItemDetail
{
/// <summary>Converts the content of a list item detail to the given type.</summary>
/// <typeparam name="T">The content type.</typeparam>
/// <returns>The converted ... | mit | C# |
3a891950df88187f58aebbb9b8fd3670c9c35ca3 | Remove useless code. | xistoso/CppSharp,ktopouzi/CppSharp,txdv/CppSharp,ktopouzi/CppSharp,u255436/CppSharp,ddobrev/CppSharp,imazen/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,SonyaSa/CppSharp,KonajuGames/CppSharp,zillemarco/CppSharp,mono/CppSharp,mono/CppSharp,xistoso/CppSharp,SonyaSa/CppSharp,u25543... | tests/Basic/Basic.cs | tests/Basic/Basic.cs | using CppSharp.AST;
using CppSharp.Generators;
using CppSharp.Utils;
namespace CppSharp.Tests
{
public class Basic : LibraryTest
{
public Basic(GeneratorKind kind)
: base("Basic", kind)
{
}
public override void SetupPasses(Driver driver)
{
if (d... | using System;
using System.IO;
using CppSharp.AST;
using CppSharp.Generators;
using CppSharp.Utils;
namespace CppSharp.Tests
{
public class Basic : LibraryTest
{
public Basic(GeneratorKind kind)
: base("Basic", kind)
{
}
public override void SetupPasses(Driver driv... | mit | C# |
784f2e2c37556660f87a435ec31004d2b453af7e | refactor IO add frame class fix whitespace input | nerai/CMenu | src/ConsoleMenu/IO.cs | src/ConsoleMenu/IO.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleMenu
{
public static class IO
{
private class Frame
{
public IEnumerator<string> E;
public Frame (IEnumerable<string> source)
{
E = source.GetEnumerator ();
}
}
private static readonly St... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleMenu
{
public static class IO
{
private static readonly Stack<IEnumerator<string>> _Frames = new Stack<IEnumerator<string>> ();
static IO ()
{
AddInput (DefaultInputSource ());
}
public static strin... | mit | C# |
fdc877008a0b782394d4082e089b6625568201f6 | fix typo | marihachi/MSharp | src/MSharp/Misskey.cs | src/MSharp/Misskey.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MSharp.Core;
using MSharp.Core.Utility;
namespace MSharp
{
/// <summary>
/// リクエストメソッドの種類を表します
/// </summary>
public enum MethodType
{
GET,
POST
}
public class Misskey
{
public string AppKey { private set; get; }
pub... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MSharp.Core;
using MSharp.Core.Utility;
namespace MSharp
{
/// <summary>
/// リクエストメソッドの種類を表します
/// </summary>
public enum MethodType
{
GET,
POST
}
public class Misskey
{
public string AppKey { private set; get; }
pub... | mit | C# |
b368a66a97aec12e17b4d08a3956d6bef00c873d | Mark CharEnumerator as [Serializable] (dotnet/coreclr#11124) | tijoytom/corert,botaberg/corert,gregkalapos/corert,shrah/corert,tijoytom/corert,gregkalapos/corert,shrah/corert,botaberg/corert,krytarowski/corert,yizhang82/corert,krytarowski/corert,yizhang82/corert,krytarowski/corert,gregkalapos/corert,yizhang82/corert,botaberg/corert,yizhang82/corert,tijoytom/corert,shrah/corert,bot... | src/System.Private.CoreLib/shared/System/CharEnumerator.cs | src/System.Private.CoreLib/shared/System/CharEnumerator.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.
/*============================================================
**
**
**
** Purpose: Enumerates the characters on a 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.
/*============================================================
**
**
**
** Purpose: Enumerates the characters on a s... | mit | C# |
c51931f134701dd3bf0ae0b46aaeb51bddbd768a | Set up client, settings, logging, and connection | Iwuh/Wycademy | Wycademy/Wycademy/Program.cs | Wycademy/Wycademy/Program.cs | using Discord;
using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wycademy
{
class Program
{
//Call Start() so that the bot runs in a non static method
static void Main(string[] args) => new Prog... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wycademy
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
4c4834df7dfbe61734c5054744e0f6349066c18d | Fix typo in comment | MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla | Source/Csla.Blazor.WebAssembly/ConfigurationExtensions.cs | Source/Csla.Blazor.WebAssembly/ConfigurationExtensions.cs | //-----------------------------------------------------------------------
// <copyright file="BlazorWasmConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extension methods for .NET Core con... | //-----------------------------------------------------------------------
// <copyright file="BlazorWasmConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extension methods for .NET Core con... | mit | C# |
d89ab07e5b41285869ab7cd207c74defbae7af46 | Use CombineLatest instead of Zip | asarium/FSOLauncher | UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationItemParent.cs | UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationItemParent.cs | #region Usings
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using ReactiveUI;
#endregion
namespace UI.WPF.Modules.Installation.ViewModels.Installation
{
public class InstallationItemParent : InstallationItem
{
... | #region Usings
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using ReactiveUI;
#endregion
namespace UI.WPF.Modules.Installation.ViewModels.Installation
{
public class InstallationItemParent : InstallationItem
{
... | mit | C# |
074aada746453d998f69530b922f5146b6d1b8d9 | add index5 | kotikov1994/BlogAdd | TemplateTest1/TemplateTest1/Controllers/HomeController.cs | TemplateTest1/TemplateTest1/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TemplateTest1.Models;
namespace TemplateTest1.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TemplateTest1.Models;
namespace TemplateTest1.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
v... | mit | C# |
abb5dcf678607c7e7347f07ea37fbc4850bbdddb | Fix null-refing testcase | ZLima12/osu,johnneijzen/osu,Nabile-Rahmani/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,naoey/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,peppy/osu-new,naoey/osu,DrabWeb/osu,peppy/osu,peppy/osu,Ne... | osu.Game.Tests/Visual/TestCaseEditorCompose.cs | osu.Game.Tests/Visual/TestCaseEditorCompose.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Timing;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Edit.Screens.Compose;
usin... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Screens.Com... | mit | C# |
73ab1b2b21f2eaaf40884d6d674d22c08031bfd7 | Add pitch randomisation to HoverSounds on-hover sample playback | NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,UselessToucan/osu | osu.Game/Graphics/UserInterface/HoverSounds.cs | osu.Game/Graphics/UserInterface/HoverSounds.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.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framew... | // 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.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framew... | mit | C# |
85a17ced68c26cc62c1c49b6e9e7604fd5283ed3 | Fix commit 1d3574ad39f7dceb1f27063df92561492869aedf | StockSharp/StockSharp | Messages/ProcessSuspendedMessage.cs | Messages/ProcessSuspendedMessage.cs | namespace StockSharp.Messages
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// Process suspended action.
/// </summary>
[DataContract]
[Serializable]
public class ProcessSuspendedMessage : Message
{
/// <summary>
/// Additional argument.
/// </summary>
[DataMember]
public objec... | namespace StockSharp.Messages
{
/// <summary>
/// Process suspended action.
/// </summary>
public class ProcessSuspendedMessage : Message
{
/// <summary>
/// Additional argument.
/// </summary>
public object Arg { get; }
/// <summary>
/// Initializes a new instance of the <see cref="ProcessSuspendedM... | apache-2.0 | C# |
3568c5b183a9eb3e5b199938a6a5274509068b0e | Adjust tests to MySqlConnector 1.4.0-beta.4. | PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql | test/EFCore.MySql.FunctionalTests/TwoDatabasesMySqlTest.cs | test/EFCore.MySql.FunctionalTests/TwoDatabasesMySqlTest.cs | using Microsoft.EntityFrameworkCore;
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.Tests;
using Xunit;
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests
{
public class TwoDatabasesMySqlTest : TwoDatabasesTestBase, IClassFixture<MySqlFixture>
... | using Microsoft.EntityFrameworkCore;
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.Tests;
using Xunit;
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests
{
public class TwoDatabasesMySqlTest : TwoDatabasesTestBase, IClassFixture<MySqlFixture>
... | mit | C# |
088787e8b79d61981eccc7d8fd2d10af3726bc21 | Implement ISpan with JsonSyntax. | PenguinF/sandra-three | Eutherion/Shared/Text/Json/JsonSyntax.cs | Eutherion/Shared/Text/Json/JsonSyntax.cs | #region License
/*********************************************************************************
* JsonSyntax.cs
*
* Copyright (c) 2004-2019 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | #region License
/*********************************************************************************
* JsonSyntax.cs
*
* Copyright (c) 2004-2019 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | apache-2.0 | C# |
e149e07703ab36d91dab2b8235dfc30998ab45b0 | Fix cross plattform issue with drive info method | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Util/SystemInfo.cs | src/Arkivverket.Arkade.Core/Util/SystemInfo.cs | using System;
using System.IO;
using System.Linq;
using Arkivverket.Arkade.Core.Base;
namespace Arkivverket.Arkade.Core.Util
{
public static class SystemInfo
{
public static long GetAvailableDiskSpaceInBytes()
{
return GetAvailableDiskSpaceInBytes(ArkadeProcessingArea.RootDirectory.... | using System;
using System.IO;
using Arkivverket.Arkade.Core.Base;
namespace Arkivverket.Arkade.Core.Util
{
public static class SystemInfo
{
public static long GetAvailableDiskSpaceInBytes()
{
return GetAvailableDiskSpaceInBytes(ArkadeProcessingArea.RootDirectory.FullName);
... | agpl-3.0 | C# |
8e541d8b20a3b3baac6e950482fe52a1b643f71f | Add version to test mock settings | dukemiller/anime-downloader | anime-downloader.Tests/Services/MockXmlSettingsService.cs | anime-downloader.Tests/Services/MockXmlSettingsService.cs | using System;
using System.Collections.Generic;
using anime_downloader.Models;
using anime_downloader.Models.Configurations;
using anime_downloader.Services.Interfaces;
namespace anime_downloader.Tests.Services
{
public class MockXmlSettingsService: ISettingsService
{
public PathConfiguration PathConf... | using System;
using System.Collections.Generic;
using anime_downloader.Models;
using anime_downloader.Models.Configurations;
using anime_downloader.Services.Interfaces;
namespace anime_downloader.Tests.Services
{
public class MockXmlSettingsService: ISettingsService
{
public PathConfiguration PathConf... | apache-2.0 | C# |
d4a10dc2029197e08083bd2b6561b17972e81a8b | Bump minor version number | mdsol/Medidata.ZipkinTracerModule | src/Medidata.ZipkinTracer.Core/Properties/AssemblyInfo.cs | src/Medidata.ZipkinTracer.Core/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("Me... | 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("Me... | mit | C# |
7bfe95a7de5892d38242eb0d4a045f91fc2bc350 | Allow all characters for password fields | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Models/RegisterViewModel.cs | src/SFA.DAS.EmployerUsers.Web/Models/RegisterViewModel.cs | using System.Web.Mvc;
namespace SFA.DAS.EmployerUsers.Web.Models
{
public class RegisterViewModel :ViewModelBase
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
[AllowHtml]
public string Password { get; s... | namespace SFA.DAS.EmployerUsers.Web.Models
{
public class RegisterViewModel :ViewModelBase
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string ConfirmPassword { ... | mit | C# |
1133c6b074f5ae349b1f6c2425bfbf6ca95659c3 | use in-memory store as default for sample. | tangxuehua/equeue,tangxuehua/equeue,Aaron-Liu/equeue,geffzhang/equeue,Aaron-Liu/equeue,tangxuehua/equeue,geffzhang/equeue | src/Samples/QuickStart/QuickStart.BrokerServer/Program.cs | src/Samples/QuickStart/QuickStart.BrokerServer/Program.cs | using System;
using System.Linq;
using ECommon.Autofac;
using ECommon.Components;
using ECommon.Configurations;
using ECommon.JsonNet;
using ECommon.Log4Net;
using EQueue.Broker;
using EQueue.Configurations;
namespace QuickStart.BrokerServer
{
class Program
{
static void Main(string[] args)
{
... | using System;
using System.Linq;
using ECommon.Autofac;
using ECommon.Components;
using ECommon.Configurations;
using ECommon.JsonNet;
using ECommon.Log4Net;
using EQueue.Broker;
using EQueue.Configurations;
namespace QuickStart.BrokerServer
{
class Program
{
static void Main(string[] args)
{
... | mit | C# |
f2bf7288e9c4645814d036e174fb79912ca7604f | 删除Senparc.Weixin.MP.AppStore.WeixinSex枚举,合并到Senparc.Weixin.Enums.WeixinSex | lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AppStore/Enums.cs | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AppStore/Enums.cs | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | apache-2.0 | C# |
1b08ea3be24985c624d5f0a2e19460549ad2893e | Load levels with SceneManager instead of Application for Unity 5.3+ | loicteixeira/gj-unity-api | Assets/Tests/Load/LoadTest.cs | Assets/Tests/Load/LoadTest.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LoadTest : MonoBehaviour
{
public void SignInButtonClicked()
{
GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => {
if (success)
{
Debug.Log("Logged In");
}
else
{
Debug.Log("Dismissed");
}
});
}
... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LoadTest : MonoBehaviour
{
public void SignInButtonClicked()
{
GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => {
if (success)
{
Debug.Log("Logged In");
}
else
{
Debug.Log("Dismissed");
}
});
}
... | mit | C# |
edda8fd76f56226d11f65cc9b6bb9f10ecb49b58 | tweak email sender headers | ninianne98/CarrotCakeCMS,ninianne98/CarrotCakeCMS,ninianne98/CarrotCakeCMS | CMSBaseClasses/EmailSender.cs | CMSBaseClasses/EmailSender.cs | using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Carrotware.CMS.UI.Base {
public class EmailSender {
public Dictionary<string, string> ContentPlaceho... | using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Carrotware.CMS.UI.Base {
public class EmailSender {
public Dictionary<string, string> ContentPlaceho... | mit | C# |
e038ae482035f5e5586eff035b5efc1b830000bf | fix variantize (#9348) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Administration/Commands/VariantizeCommand.cs | Content.Server/Administration/Commands/VariantizeCommand.cs | using Content.Shared.Administration;
using Content.Shared.Maps;
using Robust.Shared.Console;
using Robust.Shared.Map;
using Robust.Shared.Random;
namespace Content.Server.Administration.Commands;
[AdminCommand(AdminFlags.Mapping)]
public sealed class VariantizeCommand : IConsoleCommand
{
public string Command =>... | using Content.Shared.Administration;
using Content.Shared.Maps;
using Robust.Shared.Console;
using Robust.Shared.Map;
using Robust.Shared.Random;
namespace Content.Server.Administration.Commands;
[AdminCommand(AdminFlags.Mapping)]
public sealed class VariantizeCommand : IConsoleCommand
{
public string Command =>... | mit | C# |
1599ab78fb606afd22797ed20a4d241ec245df16 | Fix namespace | charlenni/Mapsui,charlenni/Mapsui | Mapsui/Extensions/ByteArrayExtensions.cs | Mapsui/Extensions/ByteArrayExtensions.cs | using System.Text;
namespace Mapsui.Extensions;
/// <summary> Byte Array Extensions </summary>
public static class ByteArrayExtensions
{
/// <summary> true if is Xml </summary>
/// <param name="buffer">buffer</param>
/// <returns>true if is xml</returns>
public static bool IsXml(this byte[] buffer)
... | using System.Text;
/// <summary> Byte Array Extensions </summary>
public static class ByteArrayExtensions
{
/// <summary> true if is Xml </summary>
/// <param name="buffer">buffer</param>
/// <returns>true if is xml</returns>
public static bool IsXml(this byte[] buffer)
{
if (buffer.Length ... | mit | C# |
19b310474274ee5da3387e76550ec890b2dba1b3 | add EnvironmentVariables dsl | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/ConfigurationSourcing/Extensions.cs | src/Stronk/ConfigurationSourcing/Extensions.cs | using Stronk.Dsl;
namespace Stronk.ConfigurationSourcing
{
public static class Extensions
{
public static StronkConfig AppSettings(this SourceExpression self)
{
return self.Source(new AppConfigSource());
}
public static StronkConfig EnvironmentVariables(this SourceExpression self, string prefix = null)
... | using Stronk.Dsl;
namespace Stronk.ConfigurationSourcing
{
public static class Extensions
{
public static StronkConfig AppSettings(this SourceExpression self)
{
return self.Source(new AppConfigSource());
}
}
}
| lgpl-2.1 | C# |
f5ae330e4c85fbfcb944c1d4ef0d849204a49f47 | add browse | tparnell8/UntappedWidget,tparnell8/UntappedWidget | src/UntappedWidgetGenerator.Web/IndexModule.cs | src/UntappedWidgetGenerator.Web/IndexModule.cs | using System.Collections.Generic;
using UntappedWidgetGenerator.Model;
namespace UntappedWidgetGenerator.Web
{
using Nancy;
public class IndexModule : NancyModule
{
public IndexModule()
{
Get["/"] = x => { return View["Views/Index/Index.cshtml", "tparnell"]; };
Get... | using System.Collections.Generic;
using UntappedWidgetGenerator.Model;
namespace UntappedWidgetGenerator.Web
{
using Nancy;
public class IndexModule : NancyModule
{
public IndexModule()
{
Get["/"] = x => { return View["Views/Index/Index.cshtml", "tparnell"]; };
Get... | mit | C# |
0b8a2bba87004aed98b8de28e9cae02fadf70e7d | Add a way to get the list of permanent variables from a set of assignments representing a clause | Logicalshift/Reason | LogicalShift.Reason/Solvers/PermanentVariableAssignments.cs | LogicalShift.Reason/Solvers/PermanentVariableAssignments.cs | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// Methods for ordering assignments so that permanent variables are ordered first
/// </summary>
/// <remarks>
/// The ordering is arguments, per... | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// Methods for ordering assignments so that permanent variables are ordered first
/// </summary>
/// <remarks>
/// The ordering is arguments, per... | apache-2.0 | C# |
7f1f38ac73d1438c203c79d8364d897734cd0158 | update seed data | tthiatma/Owpini | Owpini.EntityFramework/SeedData/OwpiniDbContextExtension.cs | Owpini.EntityFramework/SeedData/OwpiniDbContextExtension.cs | using Owpini.Core.Business;
using System;
using System.Collections.Generic;
namespace Owpini.EntityFramework.SeedData
{
public static class OwpiniDbContextExtension
{
public static void EnsureSeedDataForContext(this OwpiniDbContext context)
{
context.Businesses.RemoveRange(context.... | using Owpini.Core.Business;
using System;
using System.Collections.Generic;
namespace Owpini.EntityFramework.SeedData
{
public static class OwpiniDbContextExtension
{
public static void EnsureSeedDataForContext(this OwpiniDbContext context)
{
context.Businesses.RemoveRange(context.... | apache-2.0 | C# |
093bda437de7821b4bfd5bd86c7a8b5903aeedd9 | fix IEnumerable implementation | acple/ParsecSharp | ParsecSharp/Data/Internal/Buffer.cs | ParsecSharp/Data/Internal/Buffer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ParsecSharp.Internal
{
public sealed class Buffer<TToken> : IReadOnlyList<TToken>
{
private readonly TToken[] _buffer;
private readonly int _index;
private readonly Lazy<Buffer<TToke... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ParsecSharp.Internal
{
public sealed class Buffer<TToken> : IReadOnlyList<TToken>
{
private readonly TToken[] _buffer;
private readonly int _index;
private readonly Lazy<Buffer<TToke... | mit | C# |
8a5c4c361ef6541211092e7aeda2a93d9c6b6bea | fix compile error | eclaus/docs.particular.net,yuxuac/docs.particular.net,pedroreys/docs.particular.net,WojcikMike/docs.particular.net | Snippets/Snippets_5/Errors/ErrorQueueConfigurationSource.cs | Snippets/Snippets_5/Errors/ErrorQueueConfigurationSource.cs | using NServiceBus.Config;
using NServiceBus.Config.ConfigurationSource;
using System.Configuration;
using NServiceBus;
#region ErrorQueueConfigurationSource
public class ErrorQueueConfigurationSource : IConfigurationSource
{
public T GetConfiguration<T>() where T : class, new()
{
if (typeof(T) == type... | using NServiceBus.Config;
using NServiceBus.Config.ConfigurationSource;
using System.Configuration;
using NServiceBus;
#region ErrorQueueConfigurationSource
public class ErrorQueueConfigurationSource : IConfigurationSource
{
public T GetConfiguration<T>() where T : class, new()
{
if (typeof(T) == type... | apache-2.0 | C# |
e76e5163ce5ccb59fabbff4bc12f8e0c3de6f210 | Update SheetLevelInclusion.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/Inclusions/SheetLevelInclusion.cs | main/Smartsheet/Api/Models/Inclusions/SheetLevelInclusion.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
c00e8981befc5805c2a3e0cba307b758cbe86298 | Add portable pdb table indices. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.PE/DotNet/Metadata/Tables/TableIndex.cs | src/AsmResolver.PE/DotNet/Metadata/Tables/TableIndex.cs | // Disable xmldoc warnings
#pragma warning disable 1591
namespace AsmResolver.PE.DotNet.Metadata.Tables
{
/// <summary>
/// Provides members defining all metadata tables that can be present in a tables stream.
/// </summary>
public enum TableIndex : byte
{
Module = 0,
TypeRef = 1,
... | // Disable xmldoc warnings
#pragma warning disable 1591
namespace AsmResolver.PE.DotNet.Metadata.Tables
{
/// <summary>
/// Provides members defining all metadata tables that can be present in a tables stream.
/// </summary>
public enum TableIndex : byte
{
Module = 0,
TypeRef = 1,
... | mit | C# |
d952200fd278b6faeb968e33148ef41f82554cc5 | Change read/write options to be virtual | mjrousos/dotnet-apiport,JJVertical/dotnet-apiport,twsouthwick/dotnet-apiport,JJVertical/dotnet-apiport,twsouthwick/dotnet-apiport,conniey/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,conniey/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport | src/Microsoft.Fx.Portability/ReadWriteApiPortOptions.cs | src/Microsoft.Fx.Portability/ReadWriteApiPortOptions.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.ObjectModel;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.Fx.Portability
{
/// <summary>
/// Provides... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.ObjectModel;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.Fx.Portability
{
/// <summary>
/// Provides... | mit | C# |
be13801d4a260265b761e26e225ab3b5ea67a0af | fix build | Picturepark/Picturepark.SDK.DotNet | src/Picturepark.SDK.V1.Contract/Partials/ShareDetail.cs | src/Picturepark.SDK.V1.Contract/Partials/ShareDetail.cs | using System;
using System.Linq;
namespace Picturepark.SDK.V1.Contract
{
public partial class ShareDetail
{
public ShareBasicUpdateRequest AsBasicUpdateRequest(Action<ShareBasicUpdateRequest> update = null)
=> AsUpdateRequest(update);
public ShareEmbedUpdateRequest AsEmbedUpdateRe... | using System;
using System.Linq;
namespace Picturepark.SDK.V1.Contract
{
public partial class ShareDetail
{
public ShareBasicUpdateRequest AsBasicUpdateRequest(Action<ShareBasicUpdateRequest> update = null)
=> AsUpdateRequest(update);
public ShareEmbedUpdateRequest AsEmbedUpdateRe... | mit | C# |
1efcb05f4efeab57480f339eae858db088b544c4 | Fix .Value() extension methods | zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder | src/Umbraco.ModelsBuilder/PublishedElementExtensions.cs | src/Umbraco.ModelsBuilder/PublishedElementExtensions.cs | using System;
using System.Linq.Expressions;
using System.Reflection;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.ModelsBuilder;
// same namespace as original Umbraco.Web PublishedElementExtensions
// ReSharper disable once CheckNamespace
namespace Umbraco.Web
{
/// <summary>
/// Provides extens... | using System;
using System.Linq.Expressions;
using System.Reflection;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web;
namespace Umbraco.ModelsBuilder
{
/// <summary>
/// Provides extension methods to models.
/// </summary>
public static class PublishedElementExtensions
{
///... | mit | C# |
836b78e0a585e7787dfe270a0cad57cf33302d91 | Use a recent timestamp for Asset API smoke test | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Asset.V1Beta1/Google.Cloud.Asset.V1Beta1.SmokeTests/AssetServiceSmokeTest.cs | apis/Google.Cloud.Asset.V1Beta1/Google.Cloud.Asset.V1Beta1.SmokeTests/AssetServiceSmokeTest.cs | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | C# |
e33b3ff28c6763bd84920cdea67cf0909ccc8be2 | Solve problem two. | ShooShoSha/ProjectEuler,ShooShoSha/ProjectEuler | ProjectEulerLibraryTests/ProblemTests.cs | ProjectEulerLibraryTests/ProblemTests.cs | namespace ProjectEulerLibrary.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass()]
public class ProblemTests
{
[TestMethod()]
public void SolveProblem1Test()
{
var actual = Problem.SolveProblem1(10);
Assert.AreEqual(23, actual);
... | namespace ProjectEulerLibrary.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass()]
public class ProblemTests
{
[TestMethod()]
public void SolveProblem1Test()
{
var actual = Problem.SolveProblem1(10);
Assert.AreEqual(23, actual);
... | mit | C# |
98f0794ba6b95866fe732f0cc2944acd90167cd3 | bump version | neutmute/loggly-csharp | SolutionItems/Properties/AssemblyInfo.cs | SolutionItems/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
[assembly: AssemblyVersion("4.5.1.0")]
[assembly: AllowPartiallyTrustedCallers]
[assembly: AssemblyProduct("loggly-csharp")]
[assembly: InternalsVisibleTo("Loggly.Tests")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
[assembly: AssemblyVersion("4.5.0.4")]
[assembly: AllowPartiallyTrustedCallers]
[assembly: AssemblyProduct("loggly-csharp")]
[assembly: InternalsVisibleTo("Loggly.Tests")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
... | mit | C# |
3cb7e5b47ebb2bd02e4944b0c9df7203db06e487 | add docs/comments | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Rendering/IRendererExtensions.cs | osu.Framework/Graphics/Rendering/IRendererExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Primitives;
using osuTK;
namespace osu.Framework.Graphics.Rendering
{
public static class IRendererExtensions
{
/// <summar... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Primitives;
using osuTK;
namespace osu.Framework.Graphics.Rendering
{
public static class IRendererExtensions
{
/// <summar... | mit | C# |
2b167efa038920b6a9853638697a840d5775964e | Update MaskAttribute.cs | estebanmurchio/MaskAttribute,estebanmurchio/MaskAttribute | src/MaskAttribute.cs | src/MaskAttribute.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
namespace Infrastructure.Attributes
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class MaskAttribute : Attribute, IMetadataAware
{
public string Selector { get; private set; }
... | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
namespace Infrastructure.Attributes
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class MaskAttribute : Attribute, IMetadataAware
{
public string Selector { get; private set; }
... | mit | C# |
58522365e49f9d8b8093ac582fa73f3e850fc369 | Add negative test of HasIgnoreDataMemberAttribute | skarpdev/dotnetcore-hubspot-client | test/unit/Core/ReflectionExtensionTest.cs | test/unit/Core/ReflectionExtensionTest.cs | using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using RapidCore.Reflection;
using Skarp.HubSpotClient.Contact.Dto;
using Skarp.HubSpotClient.Core;
using Xunit;
namespace Skarp.HubSpotClient.UnitTest.Core
{
public class ReflectionExtensionTest
{
[Fact]
public v... | using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using RapidCore.Reflection;
using Skarp.HubSpotClient.Contact.Dto;
using Skarp.HubSpotClient.Core;
using Xunit;
namespace Skarp.HubSpotClient.UnitTest.Core
{
public class ReflectionExtensionTest
{
[Fact]
public v... | mit | C# |
d075c7d1ca07657a3c4f71a94dd944d9ab28d31a | Disable brittle WebSockets.Client test (#23920) | fgreinacher/corefx,wtgodbe/corefx,the-dwyer/corefx,Jiayili1/corefx,shimingsg/corefx,tijoytom/corefx,shimingsg/corefx,mmitche/corefx,ravimeda/corefx,Ermiar/corefx,ravimeda/corefx,seanshpark/corefx,ericstj/corefx,parjong/corefx,seanshpark/corefx,zhenlan/corefx,shimingsg/corefx,twsouthwick/corefx,ViktorHofer/corefx,ericst... | src/System.Net.WebSockets.Client/tests/KeepAliveTest.cs | src/System.Net.WebSockets.Client/tests/KeepAliveTest.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.Generic;
using System.Net.Test.Common;
using System.Threading;
using System.Threading.Tasks... | // 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.Net.Test.Common;
using System.Threading;
using System.Threading.Tasks... | mit | C# |
71b5f8b3d7765fd6a83ad25048895b0caf479eeb | Change interface IDiscipline. Add TODO's for auto-propeties. | pz11u2/decanat | DecanatLib/DecanatLib/model/IDiscipline.cs | DecanatLib/DecanatLib/model/IDiscipline.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DecanatLib.utils;
namespace DecanatLib.model
{
interface IDiscipline
{
//TODO: убрать автосвойства из абстракций
//перечень предметов которые может вести препод
public String NameDisciplin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DecanatLib.utils;
namespace DecanatLib.model
{
interface IDiscipline
{
//перечень предметов которые может вести препод
public String NameDiscipline { get; set; }
public TimeScoupe Co... | mit | C# |
602b9660702586b0f850b98d0201734cde84adb5 | Remove namespace declaration | astorch/motoi | src/ProductAssemblyInfo.cs | src/ProductAssemblyInfo.cs | using System.Reflection;
#if DEBUG
[assembly: AssemblyConfiguration("debug")]
#else
[assembly: AssemblyConfiguration("release")]
#endif
[assembly: AssemblyCompany("motoi.org")]
[assembly: AssemblyProduct("motoi .NET RCP")]
[assembly: AssemblyCopyright("Copyright © 2017 motoi.org")]
[assembly: AssemblyTr... | using System.Reflection;
#if DEBUG
[assembly: AssemblyConfiguration("debug")]
#else
[assembly: AssemblyConfiguration("release")]
#endif
[assembly: AssemblyCompany("motoi.org")]
[assembly: AssemblyProduct("motoi .NET RCP")]
[assembly: AssemblyCopyright("Copyright © 2017 motoi.org")]
[assembly: AssemblyTr... | mit | C# |
528593f740e9efb56337d8e889fcfe088f91859a | Fix baseline | NetSys/e2d2,NetSys/NetBricks,NetSys/e2d2,apanda/NetBricks,NetSys/e2d2,NetSys/NetBricks,NetSys/NetBricks,apanda/NetBricks,NetSys/NetBricks,NetSys/NetBricks,NetSys/e2d2,apanda/NetBricks,NetSys/e2d2,apanda/NetBricks,apanda/NetBricks,NetSys/e2d2,NetSys/e2d2 | test/managed/chaining-tests/chain-same-core/Baseline.cs | test/managed/chaining-tests/chain-same-core/Baseline.cs | using System;
using E2D2.SNApi;
using E2D2;
using E2D2.Collections;
using System.Runtime.CompilerServices;
using System.IO;
using System.Net;
namespace E2D2 {
public sealed class IpLookupChainingTest {
public static void Main(string[] args) {
var options = E2D2OptionParser.ParseOptions(args);
int nrxq = optio... | using System;
using E2D2.SNApi;
using E2D2;
using E2D2.Collections;
using System.Runtime.CompilerServices;
using System.IO;
using System.Net;
namespace E2D2 {
public sealed class IpLookupChainingTest {
public static void Main(string[] args) {
var options = E2D2OptionParser.ParseOptions(args);
int nrxq = optio... | isc | C# |
43adc86645db319795668fa06b25c6f51381717d | Update TestBrand.cs | plivo/plivo-dotnet,plivo/plivo-dotnet | tests_netcore/Plivo.NetCore.Test/Resources/TestBrand.cs | tests_netcore/Plivo.NetCore.Test/Resources/TestBrand.cs | using System.Collections.Generic;
using Xunit;
using Plivo.Http;
using Plivo.Resource;
using Plivo.Resource.Brand;
using Plivo.Utilities;
using System;
namespace Plivo.NetCore.Test.Resources
{
public class TestBrand : BaseTestCase
{
[Fact]
public void TestBrandList()
{
var d... | using System.Collections.Generic;
using Xunit;
using Plivo.Http;
using Plivo.Resource;
using Plivo.Resource.Brand;
using Plivo.Utilities;
using System;
namespace Plivo.NetCore.Test.Resources
{
public class TestBrand : BaseTestCase
{
[Fact]
public void TestBrandList()
{
var d... | mit | C# |
3fff7d87467347df15f12a00df3f6b398d667d5d | Update Interface | D-Yam/Millionaire | Interface/Interface/Class1.cs | Interface/Interface/Class1.cs | using System.Collections.Generic;
using System.ServiceModel;
using TypeDefine;
namespace Interface
{
[ServiceContract]
public interface IWcfInterface
{
/// <summary>
/// 今の自分のステータスを取得します。
/// </summary>
/// <param name="id">自分のID</param>
/// <returns>ステータス</returns>
[OperationContract]
Status GetM... | using System.Collections.Generic;
using System.ServiceModel;
using TypeDefine;
namespace Interface
{
[ServiceContract]
public interface IWcfInterface
{
[OperationContract]
/// <summary>
/// 今の自分のステータスを取得します。
/// </summary>
/// <param name="id">自分のID</param>
/// <returns>ステータス</returns>
Status GetM... | mit | C# |
227cb6acdf8f3b79650417edf59b1f201f835f5e | Access Modifier Tests now PASS | TheTalkingDev/Kata.Solved.GildedRose.CSharp,dtro-devuk/Kata.Solved.GildedRose.CSharp | src/Kata.GildedRose.CSharp.Unit.Tests/WhenTestTheGildedRoseProgram.cs | src/Kata.GildedRose.CSharp.Unit.Tests/WhenTestTheGildedRoseProgram.cs | using Kata.GildedRose.CSharp.Console;
using NUnit.Framework;
using System.Collections.Generic;
namespace Kata.GildedRose.CSharp.Unit.Tests
{
[TestFixture]
public class WhenTestTheGildedRoseProgram
{
string _actualName = "+5 Dexterity Vest";
int _actualSellin = 10;
int _actualQualit... | using Kata.GildedRose.CSharp.Console;
using NUnit.Framework;
using System.Collections.Generic;
namespace Kata.GildedRose.CSharp.Unit.Tests
{
[TestFixture]
public class WhenTestTheGildedRoseProgram
{
string _actualName = "+5 Dexterity Vest";
int _actualSellin = 10;
int _actualQualit... | mit | C# |
8dc3d83c2ac5294b085fb2d3468bb86f15c9c4a3 | remove not used code | NikolayXHD/Lucene.Net.Contrib | EditedTokenLocator/ContextualEnumerator.cs | EditedTokenLocator/ContextualEnumerator.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace Lucene.Net.Contrib
{
public sealed class ContextualEnumerator<T> : IEnumerator<T>
{
public ContextualEnumerator(IEnumerator<T> enumerator)
{
_enumerator = enumerator ?? throw new ArgumentNullException(nameof(enumerat... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Lucene.Net.Contrib
{
public sealed class ContextualEnumerator<T> : IEnumerator<T>
{
public ContextualEnumerator(IEnumerable<T> collection)
{
if (collection == null)
{
throw new ArgumentNullException(nameof(c... | apache-2.0 | C# |
16e2eb5bd214952c4a0e74ecab401c9f066992dd | switch to IsAssignableFrom in EnumerableBlueprint | Construktion/Construktion,Construktion/Construktion | Construktion/Blueprints/Recursive/EnumerableBlueprint.cs | Construktion/Blueprints/Recursive/EnumerableBlueprint.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Construktion.Blueprints.Recursive
{
public class EnumerableBlueprint : Blueprint
{
public bool Matches(ConstruktionContext context)
{
return context.Reque... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Construktion.Blueprints.Recursive
{
public class EnumerableBlueprint : Blueprint
{
public bool Matches(ConstruktionContext context)
{
return context.Reque... | mit | C# |
464d8e162eb23aef5e3f6b65f7f8ee00e32f3391 | Bump version. | JohanLarsson/Gu.Wpf.Geometry | Gu.Wpf.Geometry/Properties/AssemblyInfo.cs | Gu.Wpf.Geometry/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyTitle("Gu.Wpf.Geometry")]
[assembly: AssemblyDescription("Geometries for WPF.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyTitle("Gu.Wpf.Geometry")]
[assembly: AssemblyDescription("Geometries for WPF.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("... | mit | C# |
d953c1cdf7242854c0fc1f2ec8b790812e050c47 | Fix namespace so that external access wrapper type can be accessed from UT. | shyamnamboodiripad/roslyn,physhi/roslyn,physhi/roslyn,bartdesmet/roslyn,weltkante/roslyn,ErikSchierboom/roslyn,wvdd007/roslyn,tannergooding/roslyn,dotnet/roslyn,diryboy/roslyn,physhi/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,mavasani/roslyn,sharwell/roslyn,CyrusNajmabadi/rosly... | src/Workspaces/Remote/Core/ExternalAccess/UnitTesting/Api/UnitTestingPinnedSolutionInfoWrapper.cs | src/Workspaces/Remote/Core/ExternalAccess/UnitTesting/Api/UnitTestingPinnedSolutionInfoWrapper.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
using Microsoft.CodeAnalysis.Remote;
namespace Microsoft.CodeAnalysis.External... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
using Microsoft.CodeAnalysis.Remote;
namespace Microsoft.CodeAnalysis.External... | mit | C# |
e73ce4fe6348436968e426f17819d51417d4f4a1 | Update Intro_03_SingleRun | ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,redknightlois/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,redknightlo... | BenchmarkDotNet.Samples/Introduction/Intro_03_SingleRun.cs | BenchmarkDotNet.Samples/Introduction/Intro_03_SingleRun.cs | using BenchmarkDotNet.Tasks;
namespace BenchmarkDotNet.Samples.Introduction
{
public class Intro_03_SingleRun
{
private const int N = 128 * 1024 * 1024;
private int[] x = new int[N];
// The SingleRun mode is useful, if you want to measure the cold start of your application
[Be... | using BenchmarkDotNet.Tasks;
namespace BenchmarkDotNet.Samples.Introduction
{
public class Intro_03_SingleRun
{
private const int N = 128 * 1024 * 1024;
private int[] x = new int[N];
// The SingleRun mode is useful, if you want to measure the cold start of your application
[Be... | mit | C# |
0338edf3a1524381b41cf5b92f45f72dcf482ec8 | Throw an exception of Unknown hotel is given | ArachisH/Sulakore | Sulakore/Habbo/HExtensions.cs | Sulakore/Habbo/HExtensions.cs | using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
namespace Sulakore.Habbo
{
public static class HExtensions
{
private static readonly Random _rng;
private const BindingFlags BINDINGS = (BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Stati... | using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
namespace Sulakore.Habbo
{
public static class HExtensions
{
private static readonly Random _rng;
private const BindingFlags BINDINGS = (BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Stati... | mit | C# |
cafc35695994446166b94e4cbc9ffef34b4a8066 | Disable text localization | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Helpers/LanguageHelper.cs | Web/Helpers/LanguageHelper.cs | using Cats.Services.Security;
using LanguageHelpers.Localization.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Cats.Helpers
{
public static class LanguageHelper
{
public static string Translate(this HtmlHelper html, strin... | using Cats.Services.Security;
using LanguageHelpers.Localization.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Cats.Helpers
{
public static class LanguageHelper
{
public static string Translate(this HtmlHelper html, strin... | apache-2.0 | C# |
1607f0dbaf724bf47bb2ae6e8f4ffd479bcc409e | Fix Dependencies | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | using Moq;
using NSubstitute;
using revashare_svc_webapi.Client.Controllers;
using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.AdminLogic;
using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_s... | using Moq;
using NSubstitute;
using revashare_svc_webapi.Client.Controllers;
using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.AdminLogic;
using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_s... | mit | C# |
555527c24fcfc6a69eb895b7d704903b259c3783 | fix session purging | mooware/mooftpserv | lib/Server.cs | lib/Server.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace mooftpserv.lib
{
public class Server
{
private int port;
private IPAddress host;
private TcpListener socket;
private IAuthHandler authHandler;
private I... | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace mooftpserv.lib
{
public class Server
{
private int port;
private IPAddress host;
private TcpListener socket;
private IAuthHandler authHandler;
private I... | mit | C# |
39b85866399ff9935ac4f4ef90675c3b4595bd1e | Improve and un-skip tests | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Core/ArkadeProcessingAreaTest.cs | src/Arkivverket.Arkade.Test/Core/ArkadeProcessingAreaTest.cs | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Util;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class ArkadeProcessingAreaTest : IDisposable
{
private readonly string _locationPath;
private readonly DirectoryInfo... | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Util;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class ArkadeProcessingAreaTest
{
[Fact]
public void ProcessingAreaIsEstablished()
{
string locat... | agpl-3.0 | C# |
68f7bc6f7b102ddadc83c159a4f45f7b66c82609 | Refactor Jsonformatter | mattfrear/Swashbuckle.AspNetCore.Examples | src/Swashbuckle.AspNetCore.Filters/Examples/JsonFormatter.cs | src/Swashbuckle.AspNetCore.Filters/Examples/JsonFormatter.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Swashbuckle.AspNetCore.Filters
{
internal class JsonFormatter
{
public object FormatJson(object examples, JsonSerializerSettings serializerSettings, bool includeMediaType)
{
if (includeMediaType)
{
... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Swashbuckle.AspNetCore.Filters
{
internal class JsonFormatter
{
public object FormatJson(object examples, JsonSerializerSettings serializerSettings, bool includeMediaType)
{
if (includeMediaType)
{
... | mit | C# |
50890047b9862b67d623ff5109de0f2e36f83335 | Fix test name | Galad/tranquire,Galad/tranquire,Galad/tranquire | src/Tranquire.Selenium.Tests/Actions/OpenContextMenuTests.cs | src/Tranquire.Selenium.Tests/Actions/OpenContextMenuTests.cs | using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tranquire.Selenium.Actions;
using Tranquire.Selenium.Questions;
using Tranquire.Tests;
using Xunit;
namespace Tranquire.Selenium.Tests.Actions
{
public class OpenContext... | using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tranquire.Selenium.Actions;
using Tranquire.Selenium.Questions;
using Tranquire.Tests;
using Xunit;
namespace Tranquire.Selenium.Tests.Actions
{
public class OpenContext... | mit | C# |
9bd78ddfe2d1a9e76d0a889cc7c4ad3ff6bbffe3 | Add email validity check to change email command | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Application/Commands/RequestChangeEmail/RequestChangeEmailCommandValidator.cs | src/SFA.DAS.EmployerUsers.Application/Commands/RequestChangeEmail/RequestChangeEmailCommandValidator.cs | using System.Threading.Tasks;
using SFA.DAS.EmployerUsers.Application.Validation;
namespace SFA.DAS.EmployerUsers.Application.Commands.RequestChangeEmail
{
public class RequestChangeEmailCommandValidator : BaseValidator, IValidator<RequestChangeEmailCommand>
{
public Task<ValidationResult> Vali... | using System.Threading.Tasks;
using SFA.DAS.EmployerUsers.Application.Validation;
namespace SFA.DAS.EmployerUsers.Application.Commands.RequestChangeEmail
{
public class RequestChangeEmailCommandValidator : IValidator<RequestChangeEmailCommand>
{
public Task<ValidationResult> ValidateAsync(Reque... | mit | C# |
e32b142a21818237192b10f5cc378cef03ad643b | Add ClosestPointOnTs | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/CurveExtension.cs | SolidworksAddinFramework/CurveExtension.cs | using System;
using System.Collections.Generic;
using System.Text;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class CurveExtension
{
/// <summary>
/// Return the point at parameter value t on the curve.
/// </summary>
/// <param name="... | using System;
using System.Collections.Generic;
using System.Text;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class CurveExtension
{
/// <summary>
/// Return the point at parameter value t on the curve.
/// </summary>
/// <param name="... | mit | C# |
823702074b09428d662aec17a20fa52af69bc59a | update Modeller version | xirqlz/blueprint41 | Blueprint41.Modeller/Properties/AssemblyInfo.cs | Blueprint41.Modeller/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("Bl... | 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("Bl... | mit | C# |
6e017f877edf165a0b3f6b88911344d74b544c23 | Remove reference to `omnisharp.useGlobalMono` from messages | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.MSBuild/Logging/ErrorMessages.cs | src/OmniSharp.MSBuild/Logging/ErrorMessages.cs | namespace OmniSharp.MSBuild.Logging
{
internal class ErrorMessages
{
internal const string ReferenceAssembliesNotFoundUnix = "This project targets .NET version that requires reference assemblies that are not installed (e.g. .NET Framework). The most common solution is to make sure Mono is fully updated ... | namespace OmniSharp.MSBuild.Logging
{
internal class ErrorMessages
{
internal const string ReferenceAssembliesNotFoundUnix = "This project targets .NET version that requires reference assemblies that do not ship with OmniSharp out of the box (e.g. .NET Framework). The most common solution is to make sur... | mit | C# |
4a4463600a434a763e06090df16bf18faa0ee582 | Use acknowledgement callback to indicate whether createTopic event was successful | hoppity/kafka-http-dotnet | src/KafkaHttp.Net/KafkaProducer.cs | src/KafkaHttp.Net/KafkaProducer.cs | using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Quobject.SocketIoClientDotNet.Client;
namespace KafkaHttp.Net
{
public interface IKafkaProducer
{
Task CreateTopic(string name);
void Publish(params Message<string>[] payload);
}
public class KafkaPr... | using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Quobject.SocketIoClientDotNet.Client;
namespace KafkaHttp.Net
{
public interface IKafkaProducer
{
Task CreateTopic(string name);
void Publish(params Message<string>[] payload);
}
public class KafkaPr... | apache-2.0 | C# |
21e8527b541fa5380c4081c727dba25505819bdd | add this. | horsdal/Nancy.Linker | src/Nancy.Linker/ResourceLinker.cs | src/Nancy.Linker/ResourceLinker.cs | namespace Nancy.Linker
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Nancy;
using Nancy.Routing;
public class ResourceLinker
{
private readonly IRouteCacheProvider routesProvider;
private List<RouteDescription> allRoutes = null;
pr... | namespace Nancy.Linker
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Nancy;
using Nancy.Routing;
public class ResourceLinker
{
private readonly IRouteCacheProvider routesProvider;
private List<RouteDescription> allRoutes = null;
pr... | mit | C# |
66daf176624cb7fc23328a767ff6402165aacf1c | Bump version | Apex-net/WRP | src/WRP/Properties/AssemblyInfo.cs | src/WRP/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("We... | 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("We... | mit | C# |
712ab3865bf69fc300ee95a8e11e73dd71825bbc | Remove unused directives. | xlent-bi/Xlent.Match.ClientUtilities | code/ServiceBus/BaseClass.cs | code/ServiceBus/BaseClass.cs | using Microsoft.ServiceBus;
using Microsoft.WindowsAzure;
namespace Xlent.Match.ClientUtilities.ServiceBus
{
public class BaseClass
{
public BaseClass(string connectionStringName)
{
ConnectionString = CloudConfigurationManager.GetSetting(connectionStringName);
Namespace... | using System.Configuration;
using Microsoft.ServiceBus;
using Microsoft.WindowsAzure;
namespace Xlent.Match.ClientUtilities.ServiceBus
{
public class BaseClass
{
public BaseClass(string connectionStringName)
{
ConnectionString = CloudConfigurationManager.GetSetting(connectionString... | unlicense | C# |
84a0b948e134092237e2cd5c7668c34f3da75a5c | Fix typo in VersionNavigation class name | peppy/osu,ZLima12/osu,EVAST9919/osu,peppy/osu-new,johnneijzen/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,Neo... | osu.Game/Online/API/Requests/Responses/APIChangelogBuild.cs | osu.Game/Online/API/Requests/Responses/APIChangelogBuild.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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIChangelogBuild : IEquatabl... | // 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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIChangelogBuild : IEquatabl... | mit | C# |
35e1b8d8e35a6a2e76937f1ee75ccd9b5778644f | Allow using `ToLocalisableString` without a format string | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Localisation/LocalisableStringExtensions.cs | osu.Framework/Localisation/LocalisableStringExtensions.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;
#nullable enable
namespace osu.Framework.Localisation
{
public static class LocalisableStringExtensions
{
/// <summary>
/// Return... | // 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;
#nullable enable
namespace osu.Framework.Localisation
{
public static class LocalisableStringExtensions
{
/// <summary>
/// Return... | mit | C# |
e735dbbecb225b2529162071a04875329580ff16 | Add EF extensions for identity columns and index column order | TheOtherTimDuncan/TOTD | TOTD.EntityFramework/ConfigurationExtensions.cs | TOTD.EntityFramework/ConfigurationExtensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.Linq;
namespace TOTD.EntityFramework
{
public static class ConfigurationExtensions
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.Linq;
namespace TOTD.EntityFramework
{
public static class ConfigurationExtensions
{
... | mit | C# |
d2301068b6c2a04961986570075ef5075c2cf168 | Fix changelog header staying dimmed after build show | ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.cs | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.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.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | // 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.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | mit | C# |
054e4051403a06c74038bda57f02fa5949b0c211 | Remove unused constructor | andrewjleavitt/SpaceThing | Assets/Scripts/GunBehavior.cs | Assets/Scripts/GunBehavior.cs | using UnityEngine;
using UnityEngine.UI;
public class GunBehavior : MonoBehaviour {
public float fireRate = 0.0f;
public float heat = 0.0f;
public string weaponName;
public Slider charge;
public float nextFire = 0.0f;
public float heatBuildUp = 0.0f;
private Slider slider;
private Sl... | using UnityEngine;
using UnityEngine.UI;
public class GunBehavior : MonoBehaviour {
public float fireRate = 0.0f;
public float heat = 0.0f;
public string weaponName;
public Slider charge;
public float nextFire = 0.0f;
public float heatBuildUp = 0.0f;
private Slider slider;
private Sl... | unlicense | C# |
4d7f806ad50fa8ec8db6557af771b3c773f5af41 | add Door array to RoomDetails script | whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 | Assets/Scripts/RoomDetails.cs | Assets/Scripts/RoomDetails.cs | using UnityEngine;
using System.Collections;
public class RoomDetails : MonoBehaviour {
public int Id;
public int HorizontalSize;
public int VerticalSize;
public GameObject[] Doors;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| using UnityEngine;
using System.Collections;
public class RoomDetails : MonoBehaviour {
public int ID;
public int HorizontalSize;
public int VerticalSize;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| mit | C# |
584f67c50ef0ef582818d3d1028d3ad9848c1b9a | Set service name correctly when using Azure Pipelines urls (#1846) | Microsoft/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent | src/Agent.Listener/Configuration/ServiceControlManager.cs | src/Agent.Listener/Configuration/ServiceControlManager.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.Services.Agent.Util;
namespace Microsoft.VisualStudio.Services.Agent.Listener.Configuration
{
#if OS_WINDOWS
[ServiceLocator(Default = typeof(WindowsServiceControlManager))]
public interface IWindowsServiceControlManager : IAgentService
{
... | using System;
using System.Linq;
using Microsoft.VisualStudio.Services.Agent.Util;
namespace Microsoft.VisualStudio.Services.Agent.Listener.Configuration
{
#if OS_WINDOWS
[ServiceLocator(Default = typeof(WindowsServiceControlManager))]
public interface IWindowsServiceControlManager : IAgentService
{
... | mit | C# |
fb250abbdd4814045c13cdb345616d0adc028601 | Fix debug presentation for ExecutableTarget | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Execution/ExecutableTarget.cs | source/Nuke.Common/Execution/ExecutableTarget.cs | // Copyright 2019 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.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Nuke.Common.Execution
{
... | // Copyright 2019 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.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Nuke.Common.Execution
{
... | mit | C# |
92978271e2a3c149c525e90b1bfd0f892b93c23c | Set namespace by convention | aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata | AbpODataDemo-Core-vNext/aspnet-core/src/AbpODataDemo.Web.Host/ResultWrapping/ODataWrapResultFilter.cs | AbpODataDemo-Core-vNext/aspnet-core/src/AbpODataDemo.Web.Host/ResultWrapping/ODataWrapResultFilter.cs | using Abp.Web.Results.Filters;
using System;
namespace AbpODataDemo.Web.Host.ResultWrapping
{
public class ODataWrapResultFilter : IWrapResultFilter
{
public bool HasFilterForWrapOnError(string url, out bool wrapOnError)
{
wrapOnError = false;
return new Uri(url).Absolu... | using Abp.Web.Results.Filters;
using System;
namespace AbpODataDemo.ResultWrapping
{
public class ODataWrapResultFilter : IWrapResultFilter
{
public bool HasFilterForWrapOnError(string url, out bool wrapOnError)
{
wrapOnError = false;
return new Uri(url).AbsolutePath.St... | mit | C# |
f996dc7a79a57e01c824d4efc22084366e1b84ec | Revert "Serial (#68)" | cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack | test/Qwack.Math.Tests/LinearRegressionFacts.cs | test/Qwack.Math.Tests/LinearRegressionFacts.cs | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Qwack.Math.Tests
{
public class LinearRegressionFacts
{
[Fact]
public void VectorAndNoneVectorLinearRegressionMatches()
{
var rand = new System.Random();
var xArray = new d... | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Qwack.Math.Tests
{
public class LinearRegressionFacts
{
[Fact(Skip = "Failure")]
public void VectorAndNoneVectorLinearRegressionMatches()
{
var rand = new System.Random();
... | mit | C# |
b8409d1787806925b714f06708fda143d4858c07 | Extend the extension methods test case again | jonathanvdc/ecsc | tests/cs/extension-methods/ExtensionMethods.cs | tests/cs/extension-methods/ExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
public class Herp
{
public Herp(int X)
{
this.X = X;
}
public int X { get; private set; }
}
public static class HerpExtensions
{
public static void PrintX(this Herp Value)
{
Console.WriteLine(Value.X);
}
}
... | using System;
using System.Collections.Generic;
using System.Linq;
public class Herp
{
public Herp(int X)
{
this.X = X;
}
public int X { get; private set; }
}
public static class HerpExtensions
{
public static void PrintX(this Herp Value)
{
Console.WriteLine(Value.X);
}
}
... | mit | C# |
a2d5bbfaff6fc1b44d83e9088bc7c815a6483df5 | clean up main | timmydo/gearup,timmydo/gearup,timmydo/gearup,timmydo/gearup | GearUp/Program.cs | GearUp/Program.cs | namespace GearUp
{
using System;
using Microsoft.AspNet.Hosting;
using System.Linq;
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Args:\n" + string.Join("\n", args));
var config = WebApplicationConfiguration.GetDefault(args);
var application = new WebApplication... | namespace GearUp
{
using System;
using Microsoft.AspNet.Hosting;
using System.Linq;
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Args:\n" + string.Join("\n", args));
var config = WebApplicationConfiguration.GetDefault(args);
var application = new WebApplicatio... | mit | C# |
5ffedb5fdc012efa809cec04a22bcdd1855d1ab4 | Fix in API validation | pushrbx/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex | src/Squidex/Controllers/Api/Schemas/Models/AddFieldDto.cs | src/Squidex/Controllers/Api/Schemas/Models/AddFieldDto.cs | // ==========================================================================
// AddFieldDto.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ===========================================================... | // ==========================================================================
// AddFieldDto.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ===========================================================... | mit | C# |
1af4953b13cb875f50626eae6f5369208726e86f | Add license to Sum indicator | bizcad/LeanAbhi,Mendelone/forex_trading,dalebrubaker/Lean,Jay-Jay-D/LeanSTP,Neoracle/Lean,bdilber/Lean,redmeros/Lean,mabeale/Lean,jameschch/Lean,andrewhart098/Lean,andrewhart098/Lean,bizcad/LeanITrend,squideyes/Lean,FrancisGauthier/Lean,bizcad/Lean,wowgeeker/Lean,dalebrubaker/Lean,exhau/Lean,AlexCatarino/Lean,florentch... | Indicators/Sum.cs | Indicators/Sum.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuantConnect.Indicators {
public class Sum : WindowIndicator<IndicatorDataPoint> {
/// <summary>The sum for the given period</summary>
private decimal _sum;
/// ... | apache-2.0 | C# |
943d0fff2426ce1bd91fb70ec768c52fb82981c1 | Update DeletingBlankColumns.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_... | Examples/CSharp/Articles/DeleteBlankRowsColumns/DeletingBlankColumns.cs | Examples/CSharp/Articles/DeleteBlankRowsColumns/DeletingBlankColumns.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.DeleteBlankRowsColumns
{
public class DeletingBlankColumns
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.DeleteBlankRowsColumns
{
public class DeletingBlankColumns
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.... | mit | C# |
c6fefe1a365eca1574b42791309ec6c9c2fc6e50 | Add null check to TagCollection | asbjornu/GitVersion,GitTools/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,gep13/GitVersion,gep13/GitVersion | src/GitVersion.LibGit2Sharp/Git/TagCollection.cs | src/GitVersion.LibGit2Sharp/Git/TagCollection.cs | using GitVersion.Extensions;
namespace GitVersion;
internal sealed class TagCollection : ITagCollection
{
private readonly LibGit2Sharp.TagCollection innerCollection;
internal TagCollection(LibGit2Sharp.TagCollection collection)
=> this.innerCollection = collection.NotNull();
public IEnumerator<... | namespace GitVersion;
internal sealed class TagCollection : ITagCollection
{
private readonly LibGit2Sharp.TagCollection innerCollection;
internal TagCollection(LibGit2Sharp.TagCollection collection) => this.innerCollection = collection;
public IEnumerator<ITag> GetEnumerator() => this.innerCollection.Sel... | mit | C# |
7b766cf91a3da86318f4eac806c300fa66c6bc6b | Remove comments. | oliverzick/ImmutableUndoRedo | src/ImmutableUndoRedo/Properties/AssemblyInfo.cs | src/ImmutableUndoRedo/Properties/AssemblyInfo.cs | #region Copyright and license
// <copyright file="AssemblyInfo.cs" company="Oliver Zick">
// Copyright (c) 2015 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exce... | #region Copyright and license
// <copyright file="AssemblyInfo.cs" company="Oliver Zick">
// Copyright (c) 2015 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exce... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.