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 |
|---|---|---|---|---|---|---|---|---|
7b5f1c89e26035d862f9541562f5ee712627c507 | Support to tween colors | alvivar/Hasten | Experimental/loop/loop.cs | Experimental/loop/loop.cs | // Tween library API prototype using DOTween in the meantime.
// Andrés Villalobos | twitter.com/matnesis | andresalvivar@gmail.com
// 2017/08/13 11:15 pm
using System;
using DG.Tweening;
using DG.Tweening.Core;
using UnityEngine;
public class loop {
private Sequence dotween = DOTween.Sequence();
public st... |
// Tween library API prototype using DOTween in the meantime.
// Andrés Villalobos | twitter.com/matnesis | andresalvivar@gmail.com
// 2017/08/13 11:15 pm
using System;
using UnityEngine;
using DG.Tweening;
using DG.Tweening.Core;
public class loop
{
private Sequence dotween = DOTween.Sequence();
publi... | mit | C# |
c1284cf62472598eda3e06c785d15895ccca6220 | Change `TfsWorkItemRegex` to allow any whitespace between the item id and the action. Fixes #234. | modulexcite/git-tfs,TheoAndersen/git-tfs,modulexcite/git-tfs,TheoAndersen/git-tfs,bleissem/git-tfs,spraints/git-tfs,adbre/git-tfs,pmiossec/git-tfs,hazzik/git-tfs,irontoby/git-tfs,jeremy-sylvis-tmg/git-tfs,spraints/git-tfs,codemerlin/git-tfs,adbre/git-tfs,guyboltonking/git-tfs,spraints/git-tfs,codemerlin/git-tfs,hazzik/... | GitTfs/GitTfsConstants.cs | GitTfs/GitTfsConstants.cs | using System.Text.RegularExpressions;
using System;
namespace Sep.Git.Tfs
{
public static class GitTfsConstants
{
public static readonly Regex Sha1 = new Regex("[a-f\\d]{40}", RegexOptions.IgnoreCase);
public static readonly Regex Sha1Short = new Regex("[a-f\\d]{4,40}", RegexOptions.IgnoreCase)... | using System.Text.RegularExpressions;
using System;
namespace Sep.Git.Tfs
{
public static class GitTfsConstants
{
public static readonly Regex Sha1 = new Regex("[a-f\\d]{40}", RegexOptions.IgnoreCase);
public static readonly Regex Sha1Short = new Regex("[a-f\\d]{4,40}", RegexOptions.IgnoreCase)... | apache-2.0 | C# |
ad0acefd4eac536143371e02a4488a18bb016382 | Add missing attribute. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/ParameterAttribute.cs | source/Nuke.Core/ParameterAttribute.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Execution;
using Nuke.Core.Injection;
namespace Nuke.Core
{
/// <inheritdoc/>
/// <summary>
/// ... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Execution;
using Nuke.Core.Injection;
namespace Nuke.Core
{
/// <inheritdoc/>
/// <summary>
/// ... | mit | C# |
802b7c7b42607fcd7228dbac99db90d0b85b6200 | Change version to 1.0.4 | dbraillon/Roggle | src/Roggle.Core/Properties/AssemblyInfo.cs | src/Roggle.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("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# |
330f904d19fd8e922d47d3f2e51c207e0851e579 | add capture startup errors | OdeToCode/aspcoreclass,OdeToCode/aspcoreclass | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using aspcoreclass.Services;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depend... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using aspcoreclass.Services;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depend... | mit | C# |
a5aa3bae549df0960af34d7a36da09223494a5fe | change test | walkingriver/scoutcheers,walkingriver/scoutcheers | ScoutCheersWeb/Controllers/HomeController.cs | ScoutCheersWeb/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ScoutCheersWeb.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "Modify this template to jump-start your ASP.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ScoutCheersWeb.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "Modify this template to jump-start your ASP.... | mit | C# |
4395d77667afd7a9106a7a37d08531bcc14d3a5b | Add the MitternachtBot instance and its services to the ASP.NET services. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Startup.cs | MitternachtWeb/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using System.Linq;
namespace MitternachtWeb {
public class St... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace MitternachtWeb {
public class Startup {
public Startup(IConfiguration configuration) {
Configuration = co... | mit | C# |
152a782cc3dcbec3c015c5046da112d9762a53c1 | Add warning on delete from source | rgregg/photo-organizer | PhotoOrganizer/Program.cs | PhotoOrganizer/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using CommandLine.Text;
namespace PhotoOrganizer
{
class Program
{
static void Main(string[] args)
{
var opts = new CommandLineOptions();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using CommandLine.Text;
namespace PhotoOrganizer
{
class Program
{
static void Main(string[] args)
{
var opts = new CommandLineOptions();
... | mit | C# |
0027eb0b5fefb374714247ad21db182af88eed6f | Use interface | gibachan/XmlDict | XmlDict/XmlDictNodeList.cs | XmlDict/XmlDictNodeList.cs | using System;
using System.Collections.Generic;
namespace XmlDict
{
public class XmlDictNodeList : IXmlDict
{
private List<XmlDictNode> _dictionaries = new List<XmlDictNode>();
#region IXMLDict
public string Text { get { return FirstNode.Text; } }
public bool Exists { get { r... | using System;
using System.Collections.Generic;
namespace XmlDict
{
public class XmlDictNodeList : IXmlDict
{
private List<XmlDictNode> _dictionaries = new List<XmlDictNode>();
#region IXMLDict
public string Text { get { return FirstNode.Text; } }
public bool Exists { get { r... | mit | C# |
36cfed75946398201dd1ab2019f3e126f38382ae | Fix converter | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/Convert.cs | Assets/UnityCNTK/Convert.cs | using UnityEngine;
using CNTK;
using System;
using System.Linq;
using System.Collections.Generic;
using System;
namespace UnityCNTK
{
public static class Convert
{
public static CNTK.Value ToValue(Texture2D texture, bool useAlpha = false)
{
//Non-copying way to create a value
... | using UnityEngine;
using CNTK;
using System;
using System.Linq;
using System.Collections.Generic;
using System;
namespace UnityCNTK
{
public static class Convert
{
public static CNTK.Value ToValue(Texture2D texture, bool useAlpha = false)
{
var shape = NDShape.CreateNDShape(new int[]... | mit | C# |
f02d1f9013720196f4613d0307a729c5e7aabfb0 | move the 250 appear disance to a const var. | smoogipoo/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,DrabWeb/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu,naoey/osu,smoogipooo/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,naoey/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,naoey/... | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | osu.Game.Rulesets.Osu/Mods/OsuModArrange.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 System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.G... | // 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 System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.G... | mit | C# |
5871b9af2368a2473a8e8c6620cbeb95682ef01c | Revert "make command line host non blocking" | xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,alexbocharov/Orchard2,lukaskabrt/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,jtkech/Orchard2,alexbocharov/Orchard2,yiji/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,Orchard... | src/Orchard.Web/Program.cs | src/Orchard.Web/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
using Orchard.Hosting;
using Orchard.Web;
namespace Orchard.Console
{
public class Program
{
public static void Main(string[] args)
{
var currentDirectory = Directory.GetCurrentDirectory();
var host = new WebHostBuil... | using System.IO;
using Microsoft.AspNetCore.Hosting;
using Orchard.Hosting;
using Orchard.Web;
namespace Orchard.Console
{
public class Program
{
public static void Main(string[] args)
{
var currentDirectory = Directory.GetCurrentDirectory();
var host = new WebHostBuil... | bsd-3-clause | C# |
9b07e6170949cae08ceb247f4981bb7c9df0d721 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.VolumeInfoCache/ValuesOut.cs | RegistryPlugin.VolumeInfoCache/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.VolumeInfoCache
{
public class ValuesOut : IValueOut
{
public ValuesOut(string drivename, string volumelabel, DateTimeOffset? timestamp)
{
DriveName = drivename;
VolumeLabel = volumelabel;
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.VolumeInfoCache
{
public class ValuesOut : IValueOut
{
public ValuesOut(string drivename, string volumelabel, DateTimeOffset? timestamp)
{
DriveName = drivename;
VolumeLabel = volumelabel;
... | mit | C# |
15d33d4a03eab711d3312719af12d63198da94dd | Refactor the arrange part of the test | GoodSoil/cqrs-starter-kit,GoodSoil/cqrs-starter-kit | sample-app/CafeTests/AddingEventHandlers.cs | sample-app/CafeTests/AddingEventHandlers.cs | using Cafe.Tab;
using Edument.CQRS;
using Events.Cafe;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFrontend;
namespace CafeTests
{
[TestFixture]
public class AddingEventHandlers
{
private static... | using Cafe.Tab;
using Edument.CQRS;
using Events.Cafe;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFrontend;
namespace CafeTests
{
[TestFixture]
public class AddingEventHandlers
{
[Test]
... | bsd-3-clause | C# |
9f353507afdafb767241f50e6b4b5d3bc5055090 | Create negative test for getting values from nested environments | escamilla/squirrel | test/test-library/EnvironmentTests.cs | test/test-library/EnvironmentTests.cs | using Xunit;
using Squirrel;
using Squirrel.Nodes;
namespace Tests
{
public class EnvironmentTests
{
private static readonly string TestVariableName = "x";
private static readonly INode TestVariableValue = new IntegerNode(1);
[Fact]
public void TestCanGetValueFromCurrentEnviron... | using Xunit;
using Squirrel;
using Squirrel.Nodes;
namespace Tests
{
public class EnvironmentTests
{
private static readonly string TestVariableName = "x";
private static readonly INode TestVariableValue = new IntegerNode(1);
[Fact]
public void TestGetValueFromCurrentEnvironmen... | mit | C# |
527a5f51d0238399d9f611a5a2f7ee369d792458 | Remove loglevel wrong example. This options isn't available for over half a year now. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CommandLine/MixerCommand.cs | WalletWasabi.Gui/CommandLine/MixerCommand.cs | using Mono.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CommandLine
{
internal class MixerCommand : Command
{
public string WalletName { get; set; }
public bool MixAll { get; set; }
public bool KeepMixAlive { get; ... | using Mono.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CommandLine
{
internal class MixerCommand : Command
{
public string WalletName { get; set; }
public bool MixAll { get; set; }
public bool KeepMixAlive { get; ... | mit | C# |
cfbd5c65aaacda482e5fc9efe47fc72dbd9415bb | fix inconsistent access modifier | Babblesort/GameOfLife | UI/GameForm.cs | UI/GameForm.cs | using System;
using System.Threading.Tasks;
using System.Windows.Forms;
using Engine;
using System.Threading;
namespace UI
{
public partial class GameForm : Form
{
private TaskScheduler _scheduler;
private Grid _grid;
public GameForm()
{
InitializeComponent();
... | using System;
using System.Threading.Tasks;
using System.Windows.Forms;
using Engine;
using System.Threading;
namespace UI
{
public partial class GameForm : Form
{
TaskScheduler _scheduler;
private Grid _grid;
public GameForm()
{
InitializeComponent();
}
... | mit | C# |
98812f36143f2a8317e5961d85717a10594e1214 | Fix bug | warpzone81/ColouredCoins,warpzone81/ColouredCoins,warpzone81/ColouredCoins | WebApplication/Views/Shared/_Property.cshtml | WebApplication/Views/Shared/_Property.cshtml | @model IEnumerable<WebApplication.Models.PropertyViewModel>
@foreach (var item in Model) {
<div class="col-sm-6 col-md-3">
<div class="thumbnail text-default">
<div class="overlay-container">
<img src="assets/img/item-large.jpg">
<div class="overlay-content">
... | @model IEnumerable<WebApplication.Models.PropertyViewModel>
@foreach (var item in Model) {
<div class="col-sm-6 col-md-3">
<div class="thumbnail text-default">
<div class="overlay-container">
<img src="assets/img/item-large.jpg">
<div class="overlay-content">
... | mit | C# |
093ec74551e225865e0ddcdf4728f2f99b339678 | rename variable | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.UI/Converters/BranchNameConverter.cs | src/GitHub.UI/Converters/BranchNameConverter.cs | using GitHub.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace GitHub.UI.Converters
{
public class BranchNameConverter : IMultiValueConverter
{
... | using GitHub.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace GitHub.UI.Converters
{
public class BranchNameConverter : IMultiValueConverter
{
... | mit | C# |
ea616e46209d3ec6f860873f75e5686bafab096d | Add AnyUnix to PlatformID enum. | schaabs/buildtools,ianhays/buildtools,tarekgh/buildtools,MattGal/buildtools,joperezr/buildtools,naamunds/buildtools,weshaggard/buildtools,MattGal/buildtools,jthelin/dotnet-buildtools,chcosta/buildtools,JeremyKuhne/buildtools,karajas/buildtools,roncain/buildtools,MattGal/buildtools,dotnet/buildtools,roncain/buildtools,v... | src/xunit.netcore.extensions/PlatformID.cs | src/xunit.netcore.extensions/PlatformID.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;
using Xunit.Sdk;
namespace Xunit
{
[Flags]
public enum PlatformID
{
Windows = 1,
Linux = 2,
OSX = 4,
AnyUnix... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit.Sdk;
namespace Xunit
{
[Flags]
public enum PlatformID
{
Windows = 1,
Linux = 2,
OSX = 4,
Any = W... | mit | C# |
225a2ca5e6c4b483048466da5f5df7ac2f89e6c3 | Update build.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | iOS/SwiftRuntimeSupport/build.cake | iOS/SwiftRuntimeSupport/build.cake |
#load "../../common.cake"
var TARGET = Argument ("t", Argument ("target", "ci"));
var SWIFT_RUNTIME_SUPPORT_VERSION = "0.2.1";
var SWIFT_RUNTIME_SUPPORT_NUGET_VERSION = SWIFT_RUNTIME_SUPPORT_VERSION;
Task ("externals")
.Does (() =>
{
// Update .csproj nuget versions
XmlPoke("./source/SwiftRuntimeSupport.csproj",... |
#load "../../common.cake"
var TARGET = Argument ("t", Argument ("target", "Default"));
var SWIFT_RUNTIME_SUPPORT_VERSION = "0.2.1";
var SWIFT_RUNTIME_SUPPORT_NUGET_VERSION = SWIFT_RUNTIME_SUPPORT_VERSION;
Task ("externals")
.Does (() =>
{
// Update .csproj nuget versions
XmlPoke("./source/SwiftRuntimeSupport.csp... | mit | C# |
2bd1737505b54849b373d114ee523d267d6dc8b7 | Remove unneeded code in the StorageEngineExtensions class | openchain/openchain | src/Openchain.Ledger/StorageEngineExtensions.cs | src/Openchain.Ledger/StorageEngineExtensions.cs | // Copyright 2015 Coinprism, Inc.
//
// 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 agree... | // Copyright 2015 Coinprism, Inc.
//
// 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 agree... | apache-2.0 | C# |
f4b970b2f9d0f176eea67fe6cbeb5f23aa54428d | Refactor rainbow example | OpenStreamDeck/StreamDeckSharp | src/StreamDeckSharp.Examples.Rainbow/Program.cs | src/StreamDeckSharp.Examples.Rainbow/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StreamDeckSharp.Examples.Rainbow
{
class Program
{
private static readonly Random rnd = new Random();
private static readonly ManualResetEvent e... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StreamDeckSharp.Examples.Rainbow
{
class Program
{
private static readonly Random rnd = new Random();
private static readonly ManualResetEvent e... | mit | C# |
daa2517ce3f1e20d90805ba11709bb81e1cfaed5 | Build script corrections | nefarius/AirBender,nefarius/AirBender,nefarius/AirBender,nefarius/AirBender | build/Build.cs | build/Build.cs | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.Tools.GitVersion;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Core.IO.FileSystemTasks;
using static Nuke.Core.IO.PathConstruction;
using static Nuke.... | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.Tools.GitVersion;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Core.IO.FileSystemTasks;
using static Nuke.Core.IO.PathConstruction;
using static Nuke.... | mit | C# |
aede24535ce51841460d334d57cbecf5d61a1ed3 | Add regions to CommitListExtensionsTest. | CamTechConsultants/CvsntGitImporter | CvsGitTest/CommitListExtensionsTest.cs | CvsGitTest/CommitListExtensionsTest.cs | /*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CvsGitConverter;
namespace CvsGitTest
{
/// <su... | /*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CvsGitConverter;
namespace CvsGitTest
{
/// <su... | mit | C# |
7ce1c1bd4222d4b2bca360acf5169eed011e3fed | Fix DatabaseHelperFactory | lecaillon/Evolve | src/Evolve/Dialect/DatabaseHelperFactory.cs | src/Evolve/Dialect/DatabaseHelperFactory.cs | using System;
using System.Collections.Generic;
using Evolve.Connection;
using Evolve.Dialect.PostgreSQL;
using Evolve.Dialect.SQLite;
using Evolve.Utilities;
namespace Evolve.Dialect
{
public static class DatabaseHelperFactory
{
private const string UnknownDBMS = "Unknown DBMS {0}.";
private... | using System;
using System.Collections.Generic;
using Evolve.Connection;
using Evolve.Dialect.PostgreSQL;
using Evolve.Dialect.SQLite;
namespace Evolve.Dialect
{
public static class DatabaseHelperFactory
{
private static Dictionary<DBMS, Func<WrappedConnection, DatabaseHelper>> _dbmsMap = new Dictiona... | mit | C# |
17f832a33fc4602b7204c3394ce7f365a8555483 | Add some more chain command tests | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | src/InEngine.Core.Test/Commands/ChainTest.cs | src/InEngine.Core.Test/Commands/ChainTest.cs | using System.Collections.Generic;
using BeekmanLabs.UnitTesting;
using InEngine.Commands;
using InEngine.Core.Commands;
using InEngine.Core.Exceptions;
using Moq;
using NUnit.Framework;
using Quartz;
namespace InEngine.Core.Test.Commands
{
[TestFixture]
public class ChainTest : TestBase<Chain>
{
[... | using BeekmanLabs.UnitTesting;
using InEngine.Commands;
using InEngine.Core.Commands;
using InEngine.Core.Exceptions;
using Moq;
using NUnit.Framework;
using Quartz;
namespace InEngine.Core.Test.Commands
{
[TestFixture]
public class ChainTest : TestBase<Chain>
{
[SetUp]
public void Setup()... | mit | C# |
b8c6547139b803b2ccfa60fa5702da47ee0c6ea1 | Use CORS (#25) | RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server | CorvallisBus.Web/Startup.cs | CorvallisBus.Web/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensio... | mit | C# |
26e0f45a1cf0b856acfd4218956d0f0b77a748ba | Fix benchmark to really have an invalid value. | BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,nodatime/nodatime,zaccharles/nodatime,nodatime/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,jskeet/nodatime,zaccharles/nodatime | src/NodaTime.Benchmarks/OffsetBenchmarks.cs | src/NodaTime.Benchmarks/OffsetBenchmarks.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// h... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// h... | apache-2.0 | C# |
b88ccde71ebee073126c760273572960b12157ed | Add `Delta` property to `DragStartEvent`s | peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/Events/DragStartEvent.cs | osu.Framework/Input/Events/DragStartEvent.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.Input.States;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Input.Events
{
/// <summary>
/// An event representing the start of a ... | // 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.Input.States;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Input.Events
{
/// <summary>
/// An event representing the start of a ... | mit | C# |
a8dfa5e2a9b09e07893c83fb410b0c669e6868a5 | Rename typo'd method | UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu | osu.Game/Online/Rooms/BeatmapAvailability.cs | osu.Game/Online/Rooms/BeatmapAvailability.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 Newtonsoft.Json;
namespace osu.Game.Online.Rooms
{
/// <summary>
/// The local availability information about a certain beatmap for the clien... | // 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 Newtonsoft.Json;
namespace osu.Game.Online.Rooms
{
/// <summary>
/// The local availability information about a certain beatmap for the clien... | mit | C# |
5a2c8b29151d186570f36323835c8c0c2618fec2 | Reset stopwatch on Start instead of Pause | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/Models/Variant960/Clock.cs | src/ChessVariantsTraining/Models/Variant960/Clock.cs | using MongoDB.Bson.Serialization.Attributes;
using System.Diagnostics;
namespace ChessVariantsTraining.Models.Variant960
{
public class Clock
{
Stopwatch stopwatch;
[BsonElement("secondsLeftAfterLatestMove")]
public double SecondsLeftAfterLatestMove
{
get;
... | using MongoDB.Bson.Serialization.Attributes;
using System.Diagnostics;
namespace ChessVariantsTraining.Models.Variant960
{
public class Clock
{
Stopwatch stopwatch;
[BsonElement("secondsLeftAfterLatestMove")]
public double SecondsLeftAfterLatestMove
{
get;
... | agpl-3.0 | C# |
98a3bac23d4dd1a95429ba95ec1132dc476055ad | remove array | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
fbf3c0130bc9776f30e1044222e47a4b568f17b0 | Add VariableParser to the main parser | Seddryck/NBi,Seddryck/NBi | NBi.genbiL/Parser/Action.cs | NBi.genbiL/Parser/Action.cs | using NBi.GenbiL.Action;
using Sprache;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.GenbiL.Parser
{
class Action
{
public readonly static Parser<IAction> Parser =
(
from sentence in Case.Parse... | using NBi.GenbiL.Action;
using Sprache;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.GenbiL.Parser
{
class Action
{
public readonly static Parser<IAction> Parser =
(
from sentence in Case.Parse... | apache-2.0 | C# |
655c037c17e7bf65c2f6e587c557ae7ff633bf0d | Update InputHandler.cs | dabbertorres/ObjRenderer | ObjRenderer/InputHandler.cs | ObjRenderer/InputHandler.cs | using System;
using System.Collections.Generic;
using OpenTK;
using System.Windows.Forms;
namespace ObjRenderer
{
public class InputHandler
{
public delegate void KeyPressed(Enum flags);
public delegate void MousePressed(int x, int y);
public delegate void MouseWheelMoved(int delta);
public delegate void Mo... | using System;
using System.Collections.Generic;
using OpenTK;
using System.Windows.Forms;
namespace ObjRenderer
{
public class InputHandler
{
public delegate void KeyPressed(Enum flags);
public delegate void MousePressed(int x, int y);
public delegate void MouseWheelMoved(int delta);
public delegate void Mo... | mit | C# |
7e6f7208b89d7e2bc3cfeda31e1a0db59d56a8f1 | fix corniflex shit PR | Sirush/UDHBot,Sirush/UDHBot | Skin/XpBarInfoSkinModule.cs | Skin/XpBarInfoSkinModule.cs | using System;
using DiscordBot.Domain;
using ImageMagick;
namespace DiscordBot.Skin
{
public class XpBarInfoSkinModule : BaseTextSkinModule
{
public override Drawables GetDrawables(ProfileData data)
{
Text = $"{data.XpShown:#,##0} / {data.MaxXpShown:N0} ({Math.Floor(data.XpPercentag... | using DiscordBot.Domain;
using ImageMagick;
namespace DiscordBot.Skin
{
public class XpBarInfoSkinModule : BaseTextSkinModule
{
public override Drawables GetDrawables(ProfileData data)
{
Text = $"{data.XpShown:#,##0} / {data.MaxXpShown:N0} ({Math.Floor(data.XpPercentage * 100):0}%)"... | mit | C# |
877790f38a0f80b67e6a434cbb3fa9f47eea6774 | reset to v1 | shiftkey/Shimmer.Samples | src/desktop/DesktopSample/Properties/AssemblyInfo.cs | src/desktop/DesktopSample/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
73b40a01fc2d908f9b6ad21bdd66ec3ad8a16513 | Fix Bug IStyle | chickeaterbanana/BBT-MindMap | BBT/IStyle.cs | BBT/IStyle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace BBT
{
interface IStyle
{
/// <summary>
///
/// </summary>
/// <returns>Farbe und True, wenn gefüllt</returns>
Tuple... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace BBT
{
interface IStyle
{
/// <summary>
///
/// </summary>
/// <returns>Farbe und True, wenn gefüllt</returns>
Tuple... | mit | C# |
2771241f3652aa04fd4a621439483ca6c45940a6 | Resolve #AG41 and WIP #AG52 - Assign ticket to type as it is created | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.ObjectMaps/Tickets/TicketTypeToTicketTypeDtoProfile.cs | Agiil.ObjectMaps/Tickets/TicketTypeToTicketTypeDtoProfile.cs | using System;
using Agiil.Domain.Tickets;
using Agiil.ObjectMaps.Resolvers;
using Agiil.Web.Models.Tickets;
using AutoMapper;
namespace Agiil.ObjectMaps.Tickets
{
public class TicketTypeToTicketTypeDtoProfile : Profile
{
public TicketTypeToTicketTypeDtoProfile()
{
CreateMap<TicketType,TicketTypeDto>... | using System;
using Agiil.Domain.Tickets;
using Agiil.Web.Models.Tickets;
using AutoMapper;
namespace Agiil.ObjectMaps.Tickets
{
public class TicketTypeToTicketTypeDtoProfile : Profile
{
public TicketTypeToTicketTypeDtoProfile()
{
CreateMap<TicketType,TicketTypeDto>();
}
}
}
| mit | C# |
65c35f9f25f95e7b021a4e0f16707ec7c3ddcd7a | remove unused minimize functionality from ConcatenatedScript | rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenity,TukekeSoft/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,TukekeSoft/Serenity,volkanceylan/Serenity,TukekeSoft/Serenity,linpiero/Serenity,linpiero/Serenity,linpiero/Ser... | Serenity.Web/Script/DynamicScriptTypes/ConcatenatedScript.cs | Serenity.Web/Script/DynamicScriptTypes/ConcatenatedScript.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Serenity.Web
{
public class ConcatenatedScript : IDynamicScript
{
private EventHandler scriptChanged;
private IEnumerable<Func<string>> scriptParts;
public ConcatenatedScript(IEnu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Serenity.Web
{
public class ConcatenatedScript : IDynamicScript
{
private bool minimize;
private EventHandler scriptChanged;
private IEnumerable<Func<string>> scriptParts;
... | mit | C# |
4db68cd7c9d5062d7acc8423fa87da2dc7ebcb62 | Fix comment | Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module | Activities/ManagePersonsPermissionCheckerTask.cs | Activities/ManagePersonsPermissionCheckerTask.cs | using Lombiq.TrainingDemo.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
using OrchardCore.Users.Models;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using OrchardCore.Workflows.Models;
using O... | using Lombiq.TrainingDemo.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using OrchardCore.Users.Models;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using O... | bsd-3-clause | C# |
641257189b32cc54b541d8a22b6e982a2c47d1ea | Update version number | loicteixeira/gj-unity-api | Assets/Plugins/GameJolt/Scripts/API/Constants.cs | Assets/Plugins/GameJolt/Scripts/API/Constants.cs | using UnityEngine;
using System.Collections;
namespace GameJolt.API
{
public static class Constants
{
public const string VERSION = "2.0.1";
public const string SETTINGS_ASSET_NAME = "GJAPISettings";
public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset";
public const string SETTINGS... | using UnityEngine;
using System.Collections;
namespace GameJolt.API
{
public static class Constants
{
public const string VERSION = "2.0.0";
public const string SETTINGS_ASSET_NAME = "GJAPISettings";
public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset";
public const string SETTINGS... | mit | C# |
69c8349a36f132d89fa1a7520d5423a1162d95d9 | Remove empty line | Sl0vi/algorithms | Algorithms.Tests/FisherYatesShuffleTests.cs | Algorithms.Tests/FisherYatesShuffleTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Algorithms.Tests
{
[TestFixture]
public class FisherYatesShuffleTests
{
[Test]
public void Shuffe()
{
var random = new Random(243);
var sorted = new[] { 1, 2,... | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Algorithms.Tests
{
[TestFixture]
public class FisherYatesShuffleTests
{
[Test]
public void Shuffe()
{
var random = new Random(243);
var sorted = new[] { 1, 2,... | mit | C# |
d9633afe1a5e0ca8a572216ae7a5356f64bcfc4b | Fix health state to be 1, 19, 20, 20, 20, 20 thresholds (#7921) | 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/MobState/States/NormalMobState.cs | Content.Server/MobState/States/NormalMobState.cs | using System;
using Content.Shared.Alert;
using Content.Shared.Damage;
using Content.Shared.FixedPoint;
using Content.Shared.MobState.Components;
using Content.Shared.MobState.State;
using Robust.Shared.GameObjects;
namespace Content.Server.MobState.States
{
public sealed class NormalMobState : SharedNormalMobStat... | using System;
using Content.Shared.Alert;
using Content.Shared.Damage;
using Content.Shared.FixedPoint;
using Content.Shared.MobState.Components;
using Content.Shared.MobState.State;
using Robust.Shared.GameObjects;
namespace Content.Server.MobState.States
{
public sealed class NormalMobState : SharedNormalMobStat... | mit | C# |
b22f9903681698b68174a11f325900c7aeec0040 | fix url | BD-IATI/edi,BD-IATI/edi,BD-IATI/edi,BD-IATI/edi | AIMS_BD_IATI.Web/Views/Home/Index.cshtml | AIMS_BD_IATI.Web/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home";
}
<div class="jumbotron">
<h1>AIMS IATI Data Import</h1>
<p class="lead">
Using this tool Activities in IATI data store can be mapped with Projects in AIMS
</p>
<p><a href="/app/home.html" class="btn btn-primary btn-large">Map Project</a></p>
</div>
<div class="... | @{
ViewBag.Title = "Home";
}
<div class="jumbotron">
<h1>AIMS IATI Data Import</h1>
<p class="lead">
Using this tool Activities in IATI data store can be mapped with Projects in AIMS
</p>
<p><a href="/app/home.html" class="btn btn-primary btn-large">Map Project</a></p>
</div>
<div class="... | agpl-3.0 | C# |
76032c4d18cd59dd3720649460bc0db7ed8f17b9 | Update RestUser.cs | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Rest/Entities/Users/RestUser.cs | src/NTwitch.Rest/Entities/Users/RestUser.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class RestUser : IUser
{
public TwitchRestClient Client { get; }
public DateTime CreatedAt { get; }
public DateTime UpdatedAt { get; }
public uint Id { get; }
p... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Twitch.Rest
{
public class RestUser : IUser
{
public TwitchRestClient Client { get; }
public DateTime CreatedAt { get; }
public DateTime UpdatedAt { get; }
public uint Id { get; }
pu... | mit | C# |
e10ee93f61935c55388f7b510ad4852a684a96d4 | fix indentation of example file (#1251) | robkeim/xcsharp,exercism/xcsharp,exercism/xcsharp,robkeim/xcsharp | exercises/two-fer/TwoFer.cs | exercises/two-fer/TwoFer.cs | using System;
public static class TwoFer
{
public static string Name(string input = null)
{
throw new NotImplementedException("You need to implement this function.");
}
}
| using System;
public static class TwoFer
{
public static string Name(string input = null)
{
throw new NotImplementedException("You need to implement this function.");
}
}
| mit | C# |
967b4c9f5353e0f7d251c4319f3ab0e75dfe56d7 | refactor entity cache | carldai0106/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspne... | src/Abp/Domain/Entities/Caching/EntityCache.cs | src/Abp/Domain/Entities/Caching/EntityCache.cs | using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
using Abp.Runtime.Caching;
namespace Abp.Domain.Entities.Caching
{
public class EntityCache<TEntity, TCacheItem> :
EntityCache<TEntity, TCacheItem, int>,
IEntityCache<TCacheIt... | using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
using Abp.Runtime.Caching;
namespace Abp.Domain.Entities.Caching
{
public class EntityCache<TEntity, TCacheItem> :
EntityCache<TEntity, TCacheItem, int>,
IEntityCache<TCacheIt... | mit | C# |
9d52064154258ec9e37d2dcad8805cc72835178d | add kernel binding to ninject | PriceIsByte/WebAPI,PriceIsByte/WebAPI | CountingKs/App_Start/NinjectWebCommon.cs | CountingKs/App_Start/NinjectWebCommon.cs | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(CountingKs.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(CountingKs.App_Start.NinjectWebCommon), "Stop")]
namespace CountingKs.App_Start
{
using System;
using System.Web;
using Microsoft... | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(CountingKs.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(CountingKs.App_Start.NinjectWebCommon), "Stop")]
namespace CountingKs.App_Start
{
using System;
using System.Web;
using Microsoft... | unlicense | C# |
2612c63369bca4234a74a556b05bafc4af521f35 | Fix another nullability warning | EamonNerbonne/ExpressionToCode | ExpressionToCodeTest/TopLevelProgramTest.cs | ExpressionToCodeTest/TopLevelProgramTest.cs | using System;
using TopLevelProgramExample;
using Xunit;
using static TopLevelProgramExample.TopLevelProgramMarker;
namespace ExpressionToCodeTest
{
public class TopLevelProgramTest
{
[Fact]
public void CanRunTopLevelProgram()
{
LambdaInsideLocalFunction = Lambd... | using System;
using TopLevelProgramExample;
using Xunit;
using static TopLevelProgramExample.TopLevelProgramMarker;
namespace ExpressionToCodeTest
{
public class TopLevelProgramTest
{
[Fact]
public void CanRunTopLevelProgram()
{
LambdaInsideLocalFunction = Lambd... | apache-2.0 | C# |
88194d8020e6007caef3a2c0d1f5af74db1538d5 | Simplify PoseInterface through inheriting from InterfaceGameObject. | grobm/OSVR-Unity,grobm/OSVR-Unity,DuFF14/OSVR-Unity,OSVR/OSVR-Unity,JeroMiya/OSVR-Unity | OSVR-Unity/Assets/OSVRUnity/src/PoseInterface.cs | OSVR-Unity/Assets/OSVRUnity/src/PoseInterface.cs | /* OSVR-Unity Connection
*
* <http://sensics.com/osvr>
* Copyright 2014 Sensics, Inc.
* All rights reserved.
*
* Final version intended to be licensed under Apache v2.0
*/
using System;
using UnityEngine;
namespace OSVR
{
namespace Unity
{
/// <summary>
/// Pose interface: continually... | /* OSVR-Unity Connection
*
* <http://sensics.com/osvr>
* Copyright 2014 Sensics, Inc.
* All rights reserved.
*
* Final version intended to be licensed under Apache v2.0
*/
using System;
using UnityEngine;
namespace OSVR
{
namespace Unity
{
/// <summary>
/// Pose interface: continually... | apache-2.0 | C# |
75c241469f75792e96879711010101994987c938 | update fix | xirqlz/blueprint41 | Blueprint41.Modeller/Schemas/View/Entity.cs | Blueprint41.Modeller/Schemas/View/Entity.cs | using Blueprint41.Modeller.Schemas;
using Microsoft.Msagl.Drawing;
using Microsoft.Msagl.GraphViewerGdi;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blueprint41.Modeller.Schema... | using Blueprint41.Modeller.Schemas;
using Microsoft.Msagl.Drawing;
using Microsoft.Msagl.GraphViewerGdi;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blueprint41.Modeller.Schema... | mit | C# |
969648a395039dee86b59cce0388e470ebb5bc7f | tag modification didn't pass through due to incorrect array serialization | ceee/PocketSharp | PocketSharp/Models/Parameters/ActionParameter.cs | PocketSharp/Models/Parameters/ActionParameter.cs | using System;
using System.Collections.Generic;
namespace PocketSharp.Models
{
/// <summary>
/// All parameters which can be passed for a modify action
/// </summary>
public class ActionParameter
{
/// <summary>
/// Gets or sets the action.
/// </summary>
/// <value>
/// The action.
... | using System;
using System.Collections.Generic;
namespace PocketSharp.Models
{
/// <summary>
/// All parameters which can be passed for a modify action
/// </summary>
public class ActionParameter
{
/// <summary>
/// Gets or sets the action.
/// </summary>
/// <value>
/// The action.
... | mit | C# |
f64c7ba5ab60ded1581c88ac9218ec3e3d811404 | bump version to 3.0.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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: AssemblyTit... | 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: AssemblyTit... | bsd-3-clause | C# |
8e18ad1f5ccfc8fb59e8bd9b58c66854a2bcc9a8 | Exclude packaes folder | jbwilliamson/MaximiseWFScaffolding,jbwilliamson/MaximiseWFScaffolding | RandomSchool/RandomSchool/Site.Master.cs | RandomSchool/RandomSchool/Site.Master.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace RandomSchool
{
public partial class SiteMaster : MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace RandomSchool
{
public partial class SiteMaster : MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | apache-2.0 | C# |
f269d18b18a924730cb124e4815698e7a9f8bb53 | Comment out code to initialize UIManagerModule constants until unit tested. | lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows | ReactNative/UIManager/UIManagerModule.cs | ReactNative/UIManager/UIManagerModule.cs |
using ReactNative.Bridge;
using ReactNative.UIManager;
using ReactNative.Views;
using System.Collections.Generic;
using Windows.UI.Xaml;
namespace ReactNative.UIManager
{
/// <summary>
/// Native module to allow JS to create and update native Views.
/// </summary>
public partial class UIManagerModule... |
using ReactNative.Bridge;
using ReactNative.UIManager;
using ReactNative.Views;
using System.Collections.Generic;
using Windows.UI.Xaml;
namespace ReactNative.UIManager
{
/// <summary>
/// Native module to allow JS to create and update native Views.
/// </summary>
public partial class UIManagerModule... | mit | C# |
cf8780991b3dccb19d451a7e8126ada040e02f0e | Update LevelGrading.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/LevelGrading.cs | Real_Game/Assets/Scripts/LevelGrading.cs | using UnityEngine;
using System.Collections;
public class LevelGrading : MonoBehaviour {
public float finalScore; // This is the final score you recieve
public string finalScoreLetter; //
public float[] timeGrading = new float[5]; // 5 for the 5 grades (A, B, C D, F)
public int[] death... | using UnityEngine;
using System.Collections;
public class LevelGrading : MonoBehaviour {
//public int;
void Start() {
}
void Update() {
}
}
| mit | C# |
62baee8261600acb28556e8486a091ae291b631a | Fix issues in description of val command | codeflood/revolver,codeflood/revolver,codeflood/revolver | Revolver.Core/Commands/ValidateFields.cs | Revolver.Core/Commands/ValidateFields.cs | using Sitecore.Data.Items;
using System.Text;
using System.Text.RegularExpressions;
namespace Revolver.Core.Commands {
/// <summary>
/// Validate each field individually using the regex for each field.
/// </summary>
[Command("val")]
public class ValidateFields : BaseCommand {
[NumberedParameter(0, "pat... | using Sitecore.Data.Items;
using System.Text;
using System.Text.RegularExpressions;
namespace Revolver.Core.Commands {
/// <summary>
/// Validate each field individually using the regex for each field.
/// </summary>
[Command("val")]
public class ValidateFields : BaseCommand {
[NumberedParameter(0, "pat... | mit | C# |
ae08deaaaa34a5b1ee39e42b1e3b3371b91eb1e3 | Use the assigned UUID in the AssemblyInfo | sbennett1990/KeePass-SalsaCipher | Salsa20Cipher/Properties/AssemblyInfo.cs | Salsa20Cipher/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("Sa... | 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("Sa... | bsd-2-clause | C# |
64d74356d486140157489b14ca65b619275a5171 | add Checked member to CheckboxItem | peterhumbert/YARTE | YARTE/YARTE/CheckboxItem.cs | YARTE/YARTE/CheckboxItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YARTE
{
public class CheckboxItem
{
private string strLabel;
private string strIdentifier;
private bool blnCheckd = false;
public CheckboxItem(string label, string identifier)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YARTE
{
public class CheckboxItem
{
private string strLabel;
private string strIdentifier;
public CheckboxItem(string label, string identifier)
{
strLabel = label;
... | apache-2.0 | C# |
b6bb807422c746413d029968567964e6f0515c4b | Update DummyConsoleSink.cs | serilog/serilog,CaioProiete/serilog,serilog/serilog | test/TestDummies/Console/DummyConsoleSink.cs | test/TestDummies/Console/DummyConsoleSink.cs | using System;
using Serilog.Core;
using Serilog.Events;
using TestDummies.Console.Themes;
namespace TestDummies.Console
{
public class DummyConsoleSink : ILogEventSink
{
public DummyConsoleSink(ConsoleTheme? theme = null)
{
Theme = theme ?? ConsoleTheme.None;
}
[Thr... | using System;
using Serilog.Core;
using Serilog.Events;
using TestDummies.Console.Themes;
namespace TestDummies.Console
{
public class DummyConsoleSink : ILogEventSink
{
public DummyConsoleSink(ConsoleTheme? theme = null)
{
Theme = theme ?? ConsoleTheme.None;
}
[Thr... | apache-2.0 | C# |
489014e018183b1c6a0c1a82dd6b87fa6a5d7542 | Add trace to check effective bug | Seddryck/NBi,Seddryck/NBi | NBi.Core/Batch/SqlServer/BatchRunCommand.cs | NBi.Core/Batch/SqlServer/BatchRunCommand.cs | using Microsoft.SqlServer.Management.Smo;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Batch.SqlServer
{
class BatchRunCommand : IDecoration... | using Microsoft.SqlServer.Management.Smo;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Batch.SqlServer
{
class BatchRunCommand : IDecorationCommandImplementation
... | apache-2.0 | C# |
b40836e28f8f1f7fe8101f24fb04e184074a9891 | Revert "Remove Duplicate Path Parameters" | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.WebApi/Implementations/SwaggerDefaultValuesOperationFilter.cs | src/Server/Bit.WebApi/Implementations/SwaggerDefaultValuesOperationFilter.cs | using Swashbuckle.Swagger;
using System.Linq;
using System.Web.Http.Description;
namespace Bit.WebApi.Implementations
{
/// <summary>
/// Represents the Swagger/Swashbuckle operation filter used to provide default values.
/// </summary>
/// <remarks>This <see cref="IOperationFilter"/> is only required... | using Swashbuckle.Swagger;
using System.Linq;
using System.Web.Http.Description;
namespace Bit.WebApi.Implementations
{
/// <summary>
/// Represents the Swagger/Swashbuckle operation filter used to provide default values.
/// </summary>
/// <remarks>This <see cref="IOperationFilter"/> is only required... | mit | C# |
4f5708c11b2d90e050d3ff4d588f79dc433422f1 | fix possible value bug | RoninWest/Ronin.ML | Ronin.ML.Text/RegularExpressionTokenizer.cs | Ronin.ML.Text/RegularExpressionTokenizer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Ronin.ML.Text
{
/// <summary>
/// Split string using provided expression
/// </summary>
public class RegularExpressionTokenizer : IStringTokenizer
{
readonly Regex _exp;
reado... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Ronin.ML.Text
{
/// <summary>
/// Split string using provided expression
/// </summary>
public class RegularExpressionTokenizer : IStringTokenizer
{
readonly Regex _exp;
reado... | agpl-3.0 | C# |
f6303a28558cba4a0eee8b4b5695d18789d4e4f4 | Fix songselect blur potentially never being applied | 2yangk23/osu,peppy/osu,UselessToucan/osu,ppy/osu,naoey/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,ppy/osu,peppy/osu-new,ZLima12/osu,NeoAdonis/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu,johnneijzen/o... | osu.Game/Screens/BlurrableBackgroundScreen.cs | osu.Game/Screens/BlurrableBackgroundScreen.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;
using osu.Framework.Graphics.Transforms;
using osu.Game.Graphics.Backgrounds;
using osuTK;
namespace osu.Game.Screens
{
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.Graphics;
using osu.Framework.Graphics.Transforms;
using osu.Game.Graphics.Backgrounds;
using osuTK;
namespace osu.Game.Screens
{
public abstrac... | mit | C# |
753acf4e05d0051ffae3c63b0f10c520db1c9e41 | Disable sqlite test | studio-nine/Nine.Storage,yufeih/Nine.Storage | test/Nine.Storage.Client.Test/StorageTest.cs | test/Nine.Storage.Client.Test/StorageTest.cs | namespace Nine.Storage
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using SQLite.Net.Platform.Win32;
using Xunit;
public class StorageTest : StorageSpec<StorageTest>
{
public override IEnumerable<ITestFactory<IStorage<TestStorageObject>>> GetData(... | namespace Nine.Storage
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using SQLite.Net.Platform.Win32;
using Xunit;
public class StorageTest : StorageSpec<StorageTest>
{
public override IEnumerable<ITestFactory<IStorage<TestStorageObject>>> GetData(... | mit | C# |
12ef63bc04476f9b3d1839260ab766c6b6678429 | Exclude tests class from coverage result | HangfireIO/Cronos | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
#tool "nuget:?package=OpenCover"
var configuration = Argument("configuration", "Release");
var version = Argument<string>("buildVersion", null);
var target = Argument("target", "Default");
Task("Restore")
.Does(()=>
{
DotNetCoreRestore();
});
Task("Clean")
.Do... | #tool "nuget:?package=xunit.runner.console"
#tool "nuget:?package=OpenCover"
var configuration = Argument("configuration", "Release");
var version = Argument<string>("buildVersion", null);
var target = Argument("target", "Default");
Task("Restore")
.Does(()=>
{
DotNetCoreRestore();
});
Task("Clean")
.Do... | mit | C# |
f2aa695836cbf98827b64dc290ac9b14cda90c4a | Reformat code in metdata provider | valdisiljuconoks/LocalizationProvider | src/DbLocalizationProvider/DataAnnotations/ModelMetadataLocalizationHelper.cs | src/DbLocalizationProvider/DataAnnotations/ModelMetadataLocalizationHelper.cs | using System;
using DbLocalizationProvider.Internal;
namespace DbLocalizationProvider.DataAnnotations
{
internal class ModelMetadataLocalizationHelper
{
internal static string GetTranslation(string resourceKey)
{
var result = resourceKey;
if(!ConfigurationContext.Current... | using System;
using DbLocalizationProvider.Internal;
namespace DbLocalizationProvider.DataAnnotations
{
internal class ModelMetadataLocalizationHelper
{
internal static string GetTranslation(string resourceKey)
{
var result = resourceKey;
if(!ConfigurationContext.Current... | apache-2.0 | C# |
e8cfb1ad42f43fe2850d3a3d14eeeef7f69f54ea | Add space | KirillOsenkov/roslyn,heejaechang/roslyn,diryboy/roslyn,KevinRansom/roslyn,davkean/roslyn,panopticoncentral/roslyn,aelij/roslyn,AmadeusW/roslyn,AlekseyTs/roslyn,wvdd007/roslyn,ErikSchierboom/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,AmadeusW/roslyn,stephentoub/roslyn,sharwell/ro... | src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.SymbolMoniker.cs | src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.SymbolMoniker.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using M... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using M... | mit | C# |
5189349073918fd96e4a81b5c65ca1671d79dd66 | Update assembly file version | ailn/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,lygasch/azure-sdk-for-net,felixcho-msft/azure-sdk-for-net,dasha91/azure-sdk-for-net,yadavbdev/azure-sdk-for-net,makhdumi/azure-sdk-for-net,cwickham3/azure-sdk-for-net,msfcolombo/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,nacaspi/azure-sdk-for-net,brjohnstmsft/... | src/ResourceManagement/Resource/ResourceManagement/Properties/AssemblyInfo.cs | src/ResourceManagement/Resource/ResourceManagement/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. All rights reserved.
//
// 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 la... | //
// Copyright (c) Microsoft. All rights reserved.
//
// 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 la... | mit | C# |
e689cfd65e739070f58654d6240f4ec3346bb496 | add using | albertodall/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnC... | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using Ordering.Domain.Exceptions;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.eSho... | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using Ordering.Domain.Exceptions;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Servi... | mit | C# |
88b5567bcabd3a7db4115d74b4e31ab78ab60751 | Make the delegate test more challenging | jonathanvdc/ecsc | tests/cs/delegate-typedef/DelegateTypedef.cs | tests/cs/delegate-typedef/DelegateTypedef.cs | using System;
public delegate T2 Map<T1, T2>(T1 x);
public static class Program
{
private static int Apply(Map<int, int> f, int x)
{
return f(x);
}
private static int Square(int x)
{
return x * x;
}
public static void Main()
{
Console.WriteLine(Apply(Square, 1... | using System;
public delegate int IntMap(int x);
public static class Program
{
private static int Apply(IntMap f, int x)
{
return f(x);
}
private static int Square(int x)
{
return x * x;
}
public static void Main()
{
Console.WriteLine(Apply(Square, 10));
}... | mit | C# |
380766a26c492b3791cdb6a813df6b0a2a3af2d5 | fix sample | bertt/quantized-mesh-tile-cs,bertt/quantized-mesh-tile-cs | samples/console/Program.cs | samples/console/Program.cs | using System;
using System.IO;
using System.Net.Http;
using Terrain.Tiles;
namespace quantized_mesh_tile_sample_console
{
class Program
{
static void Main(string[] args)
{
const string terrainTileUrl = @"https://maps.tilehosting.com/data/terrain-quantized-mesh/9/536/391.terrain?key... | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using Terrain.Tiles;
namespace quantized_mesh_tile_sample_console
{
class Program
{
static void Main(string[] args)
{
const string terrainTileUrl = "https://assets.cesium.com/1/0/0/0.terrain?v=1.1.0";
... | mit | C# |
f66e5b2215a9e925aa01719a25fd49793507443f | 修改命名空间。 | yuleyule66/Util,yuleyule66/Util | test/Util.Datas.Tests.Integration/SqlServer/Confis/ConnectionUtil.cs | test/Util.Datas.Tests.Integration/SqlServer/Confis/ConnectionUtil.cs | using System;
using System.Data.SqlClient;
using System.IO;
namespace Util.Datas.Tests.SqlServer.Confis
{
public static class ConnectionUtil
{
private const string DatabaseVariable = "SqlServer_DatabaseName";
private const string ConnectionStringTemplateVariable = "SqlServer_ConnectionStringTem... | using System;
using System.Data.SqlClient;
using System.IO;
namespace DotNetCore.CAP.SqlServer.Test
{
public static class ConnectionUtil
{
private const string DatabaseVariable = "SqlServer_DatabaseName";
private const string ConnectionStringTemplateVariable = "SqlServer_ConnectionStringTemplat... | mit | C# |
99fe6b6463d5e27608ca28a1bb91145ea0c2baf4 | Remove nullable disable | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework.Tests/Containers/TestSceneEnumeratorVersion.cs | osu.Framework.Tests/Containers/TestSceneEnumeratorVersion.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 NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.Containers
{
public cl... | // 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 disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.Contain... | mit | C# |
97776bf6b2015ce8e65ef843ccf7b78e350c35e1 | fix type | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Responses/GetApprenticeshipUpdatesResponse.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Responses/GetApprenticeshipUpdatesResponse.cs | using System;
using System.Collections.Generic;
using SFA.DAS.CommitmentsV2.Types;
using SFA.DAS.CommitmentsV2.Types.Dtos;
namespace SFA.DAS.CommitmentsV2.Api.Types.Responses
{
public class GetApprenticeshipUpdatesResponse
{
public IReadOnlyCollection<ApprenticeshipUpdate> ApprenticeshipUpdates { get;... | using System;
using System.Collections.Generic;
using SFA.DAS.CommitmentsV2.Types;
using SFA.DAS.CommitmentsV2.Types.Dtos;
namespace SFA.DAS.CommitmentsV2.Api.Types.Responses
{
public class GetApprenticeshipUpdatesResponse
{
public IReadOnlyCollection<ApprenticeshipUpdate> ApprenticeshipUpdates { get;... | mit | C# |
0fd798df9599e5f4892592327ca76b23b26b45b5 | Fix - AbstractDataType wasn't set properly for RowVersionColumnSpecificationBuilder | dr-noise/PolyGen | src/NoiseLab.PolyGen.Core/Builders/ColumnSpecifications/RowVersionColumnSpecificationBuilder.cs | src/NoiseLab.PolyGen.Core/Builders/ColumnSpecifications/RowVersionColumnSpecificationBuilder.cs | using NoiseLab.PolyGen.Core.Database;
namespace NoiseLab.PolyGen.Core.Builders.ColumnSpecifications
{
public class RowVersionColumnSpecificationBuilder : ColumnSpecificationBuilderBase
{
public new RowVersionColumnSpecificationBuilder MaxLength(int maxLength)
{
base.MaxLength(maxLen... | using NoiseLab.PolyGen.Core.Database;
namespace NoiseLab.PolyGen.Core.Builders.ColumnSpecifications
{
public class RowVersionColumnSpecificationBuilder : ColumnSpecificationBuilderBase
{
public new RowVersionColumnSpecificationBuilder MaxLength(int maxLength)
{
base.MaxLength(maxLen... | mit | C# |
b1cbf4c1fe50dcdbf7cf47d8630db11e1ee217fe | Reduce number of passive ports for ProFtpd. | robinrodricks/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP | FluentFTP.Xunit/Docker/Containers/ProFtpdContainer.cs | FluentFTP.Xunit/Docker/Containers/ProFtpdContainer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNet.Testcontainers.Builders;
using DotNet.Testcontainers.Containers;
namespace FluentFTP.Xunit.Docker.Containers {
internal class ProFtpdContainer : DockerFtpContainer {
public ProFtpdConta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNet.Testcontainers.Builders;
using DotNet.Testcontainers.Containers;
namespace FluentFTP.Xunit.Docker.Containers {
internal class ProFtpdContainer : DockerFtpContainer {
public ProFtpdConta... | mit | C# |
2bc0a173a9c9641cce56e687fcfda06f76910b6f | Update Gun.cs | daybson/LaserRaycast | Assets/Gun.cs | Assets/Gun.cs | /*
* Copyright 2014
* author: Daybson B.S. Paisante
* daybson.paisante@outlook.com
* http://daybsonpaisante.wordpress.com/
*/
using UnityEngine;
using System.Collections;
public class Gun : MonoBehaviour
{
private LineRenderer lineRenderer;
void Start ()
{
lineRenderer = this.GetComponent<LineRenderer... | /*
* Copyright 2014
* autor: Daybson B.S. Paisante
* email: daybsonbsp@gmail.com
* encontrado em: http://daybsonpaisante.wordpress.com/
*/
using UnityEngine;
using System.Collections;
public class Gun : MonoBehaviour
{
private LineRenderer lineRenderer;
void Start ()
{
var MyNewVar = this.transfo... | mit | C# |
dff80d2d5281abe2e38959ee76d891fe38728796 | Update GroupKeyInvalidException.cs (#709) | vknet/vk,vknet/vk | VkNet/Exception/GroupKeyInvalidException.cs | VkNet/Exception/GroupKeyInvalidException.cs | using System;
using VkNet.Utils;
namespace VkNet.Exception
{
/// <inheritdoc />
/// <summary>
/// Ключ доступа сообщества недействителен.
/// Код ошибки - 27
/// </summary>
[Serializable]
public class GroupKeyInvalidException : VkApiMethodInvokeException
{
/// <inheritdoc />
public GroupKeyInvalidExceptio... | using System;
using VkNet.Utils;
namespace VkNet.Exception
{
/// <inheritdoc />
/// <summary>
/// Ключ доступа сообщества недействителен.
/// Код ошибки - 27
/// </summary>
[Serializable]
public class GroupKeyInvalidException : VkApiMethodInvokeException
{
/// <inheritdoc />
public GroupKeyInvalidExceptio... | mit | C# |
382c3b0e4234c5942a3b739fb38b0518ebdb259b | Update WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | using ReactiveUI;
using Splat;
using System;
using System.Reactive;
using System.Reactive.Linq;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CrashReport.ViewModels
{
public class CrashReportWindowViewModel : ViewModelBase
{
private bool _... | using ReactiveUI;
using Splat;
using System;
using System.Reactive;
using System.Reactive.Linq;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CrashReport.ViewModels
{
public class CrashReportWindowViewModel : ViewModelBase
{
private bool _... | mit | C# |
3fd393ee5ea1e7e9c219b6ee2673b3635b80f6f8 | Fix check if domain events has to be transferred | Codelet/Codelet | Database/Domain/DomainModelDatabaseEntity.cs | Database/Domain/DomainModelDatabaseEntity.cs | namespace Codelet.Database.Domain
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using Codelet.Database.Entities;
using Codelet.Domain;
/// <summary>
/// The database entity for domain models base class.
/// </summary>
/// <typepara... | namespace Codelet.Database.Domain
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using Codelet.Database.Entities;
using Codelet.Domain;
/// <summary>
/// The database entity for domain models base class.
/// </summary>
/// <typepara... | mit | C# |
4c7f18f9cb47b591336ac2d14c4a1ec7c35a1c5a | Update version | sergeyshushlyapin/Sitecore.FakeDb | src/AssemblyVersionInfo.cs | src/AssemblyVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyInformationalVersion("2.0.0-beta1")] | using System.Reflection;
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0-alpha1")]
[assembly: AssemblyInformationalVersion("2.0.0-alpha1")] | mit | C# |
3f042a3d01748c3ab9b4c0a305ffe7ce2589a455 | Revert "allow test of eidas signitures" | crocs-muni/roca,crocs-muni/roca,crocs-muni/roca,crocs-muni/roca | csharp/RocaTest/Program.cs | csharp/RocaTest/Program.cs | using System;
using System.IO;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.X509;
namespace RocaTest
{
class Program
{
static void Main(string[] args)
{
foreach (string certFile in Directory.GetFiles("data"))
{
if (TestCert(certFile))... | using System;
using System.IO;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.X509;
using iTextSharp.text.pdf;
using System.Collections.Generic;
using System.Security.Cryptography.Pkcs;
namespace RocaTest
{
class Program
{
static void Main(string[] args)
{
foreach ... | mit | C# |
8518535395703aeae8a0a6440c6492bed675ff3a | Update company name and copyright. | M15sy/postalcodefinder,martincostello/postalcodefinder,martincostello/postalcodefinder,TeamArachne/postalcodefinder,TeamArachne/postalcodefinder,M15sy/postalcodefinder | postalcodefinder/postalcodefinder/Properties/AssemblyInfo.cs | postalcodefinder/postalcodefinder/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("pos... | 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("pos... | apache-2.0 | C# |
8552e86ca4b0cbd934a2668d43fb628dd4cc7b88 | Fix test for requires availability for params argument. | SergeyTeplyakov/CodeContractor,SergeyTeplyakov/CodeContracts.Analyzer,SergeyTeplyakov/CodeContractor,SergeyTeplyakov/CodeContracts.Analyzer | src/CodeContractor.UnitTests/Contracts/AddNotNullRequires/AddNotNullRequiresAvailabilityTests.cs | src/CodeContractor.UnitTests/Contracts/AddNotNullRequires/AddNotNullRequiresAvailabilityTests.cs | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using CodeContractor.Refactorings;
using NUnit.Framework;
namespace CodeContractor.UnitTests.Contracts
{
[TestFixture]
public class AddNotNullRequiresAvailabilityTests
{
[TestCaseSource("RefactoringAvailability... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using CodeContractor.Refactorings;
using NUnit.Framework;
namespace CodeContractor.UnitTests.Contracts
{
[TestFixture]
public class AddNotNullRequiresAvailabilityTests
{
[TestCaseSource("RefactoringAvailability... | mit | C# |
f7707864c01b0d6c0e54f1af2b6ddd252b2a94e5 | correct FixType error | thorgeirk11/code-cracker,carloscds/code-cracker,baks/code-cracker,giggio/code-cracker,modulexcite/code-cracker,jhancock93/code-cracker,dlsteuer/code-cracker,dmgandini/code-cracker,robsonalves/code-cracker,akamud/code-cracker,code-cracker/code-cracker,andrecarlucci/code-cracker,f14n/code-cracker,ElemarJR/code-cracker,co... | src/CSharp/CodeCracker/Style/TaskNameAsyncCodeFixProvider.cs | src/CSharp/CodeCracker/Style/TaskNameAsyncCodeFixProvider.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.Rename;
using System.Collections.Immutable;
using System... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.Rename;
using System.Collections.Immutable;
using System... | apache-2.0 | C# |
1b5f90884bbca95c5f4e8cf45deff66e5793fab1 | Move inside the div | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/TestItems/_TestItemsForm.cshtml | Anlab.Mvc/Views/TestItems/_TestItemsForm.cshtml | @using System.Runtime.InteropServices.ComTypes
@model Anlab.Core.Domain.TestItem
@Html.HiddenFor(a => a.Category)
<div class="col">
<div class="form-group">
<label asp-for="Analysis" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Analysis" class="form-co... | @using System.Runtime.InteropServices.ComTypes
@model Anlab.Core.Domain.TestItem
@Html.HiddenFor(a => a.Category)
<div class="col">
<div class="form-group">
<label asp-for="Analysis" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Analysis" class="form-control" />
... | mit | C# |
c1093ac52150af7fac615c3c0ad958c2108998dc | Print in reversed order method | ozim/CakeStuff | ReverseWords/LinkedListInOrderInsertion/LinkedList.cs | ReverseWords/LinkedListInOrderInsertion/LinkedList.cs | namespace LinkedListInOrderInsertion
{
using System;
using System.Collections.Generic;
public class LinkedList
{
private Element Head = null;
private Element Iterator = new Element();
internal void Add(int value)
{
Element insertedElement = new Element { V... | namespace LinkedListInOrderInsertion
{
using System;
using System.Collections.Generic;
public class LinkedList
{
private Element Head = null;
private Element Iterator = new Element();
internal void Add(int value)
{
Element insertedElement = new Element { V... | apache-2.0 | C# |
78372fcc56c17e5581551b1c471158c9c5d5bc80 | Test apphorbor deploy. | razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum | Source/SvNaumApp.Web/Views/Home/Index.cshtml | Source/SvNaumApp.Web/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET Test Apphorbor deploy.</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more ... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
54a6f3ac7f0f82ca1f6f2e16225799e098443768 | Update ProtectColumnWorksheet.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells... | Examples/CSharp/Worksheets/Security/ProtectColumnWorksheet.cs | Examples/CSharp/Worksheets/Security/ProtectColumnWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class ProtectColumnWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exampl... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class ProtectColumnWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syst... | mit | C# |
a4726d7fc7269bab8586734a28c10b3e4677b630 | Fix a rebase error | FatturaElettronicaPA/FatturaElettronicaPA | FatturaElettronicaBody/DatiBeniServizi/AltriDatiGestionali.cs | FatturaElettronicaBody/DatiBeniServizi/AltriDatiGestionali.cs | using System;
using System.Xml;
using FatturaElettronica.Common;
namespace FatturaElettronica.FatturaElettronicaBody.DatiBeniServizi
{
/// <summary>
/// Blocco che consente di inserire, con riferimento ad una linea di dettaglio, diverse tipologie di informazioni utili ai fini
/// amministrativi, gestional... | using System;
using System.Xml;
using FatturaElettronica.Common;
namespace FatturaElettronica.FatturaElettronicaBody.DatiBeniServizi
{
/// <summary>
/// Blocco che consente di inserire, con riferimento ad una linea di dettaglio, diverse tipologie di informazioni utili ai fini
/// amministrativi, gestional... | bsd-3-clause | C# |
c71f98bd0689661127645b8d1678e017b145d64a | Add extension methods to run guaranteed synchronous disposal | peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Graphics/DrawableExtensions.cs | osu.Framework/Graphics/DrawableExtensions.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 osu.Framework.Development;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Graphics
{
/// <summary>
/// Holds extension meth... | // 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;
namespace osu.Framework.Graphics
{
/// <summary>
/// Holds extension methods for <see cref="Drawable"/>.
/// </summary>
public static class... | mit | C# |
2daf56f8afac7427a1b3ac2d1913569f8e3e87f7 | fix https validation | CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper | Upchurch.Ingress.Infrastructure/SendMessageToSlack.cs | Upchurch.Ingress.Infrastructure/SendMessageToSlack.cs | using System.Net;
using System.Web;
using RestSharp;
namespace Upchurch.Ingress.Infrastructure
{
public class SendMessageToSlack : ISlackSender
{
private readonly string _slackApiUrl;
public SendMessageToSlack(string slackApiUrl)
{
ServicePointManager.SecurityP... | using System.Net;
using System.Web;
using RestSharp;
namespace Upchurch.Ingress.Infrastructure
{
public class SendMessageToSlack : ISlackSender
{
private readonly string _slackApiUrl;
public SendMessageToSlack(string slackApiUrl)
{
_slackApiUrl = slackApiUrl;
... | mit | C# |
6bcffed9ed447df23b50f42b18e03e5c6365398e | Use includeCurrentData parameter | grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation | NavigationSample/Views/Person/Listing.cshtml | NavigationSample/Views/Person/Listing.cshtml | @model PersonSearchModel
<!DOCTYPE html>
<html>
<head>
<title>Person Search</title>
<style>
table{border-collapse:collapse;}table,td,th{border:1px #000 solid;}
ul{list-style-type:none;padding:0;margin:0;}li{float:left;padding-right:3px;}
</style>
</head>
<body>
@Ajax.RefreshPanel... | @model PersonSearchModel
<!DOCTYPE html>
<html>
<head>
<title>Person Search</title>
<style>
table{border-collapse:collapse;}table,td,th{border:1px #000 solid;}
ul{list-style-type:none;padding:0;margin:0;}li{float:left;padding-right:3px;}
</style>
</head>
<body>
@Ajax.RefreshPanel... | apache-2.0 | C# |
6e8dcbc12b921fbc502b2f0234e02970532b8173 | remove unneeded Pulse() call | cra0zy/xwt,antmicro/xwt,akrisiun/xwt,steffenWi/xwt,mminns/xwt,hwthomas/xwt,lytico/xwt,mminns/xwt,TheBrainTech/xwt,mono/xwt,sevoku/xwt,hamekoz/xwt,directhex/xwt,iainx/xwt,residuum/xwt | Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs | Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// 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 Soft... | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// 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 Soft... | mit | C# |
e0c1fe35fcd30f82d27c9dccb9bc85c7eb87bc45 | Add DebuggerDisplay to GitIgnoreTemplate | daukantas/octokit.net,ivandrofly/octokit.net,M-Zuber/octokit.net,hitesh97/octokit.net,eriawan/octokit.net,ivandrofly/octokit.net,rlugojr/octokit.net,shiftkey/octokit.net,SamTheDev/octokit.net,forki/octokit.net,fake-organization/octokit.net,dampir/octokit.net,gdziadkiewicz/octokit.net,nsrnnnnn/octokit.net,hahmed/octokit... | Octokit/Models/Response/GitIgnoreTemplate.cs | Octokit/Models/Response/GitIgnoreTemplate.cs | using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class GitIgnoreTemplate
{
public GitIgnoreTemplate(string name, string source)
{
Ensure.ArgumentNotNullOrEmptyString(name, "name");
... | namespace Octokit
{
public class GitIgnoreTemplate
{
public GitIgnoreTemplate(string name, string source)
{
Ensure.ArgumentNotNullOrEmptyString(name, "name");
Ensure.ArgumentNotNullOrEmptyString(source, "source");
Name = name;
Source = source;
... | mit | C# |
9bf20da25f074cb1e84a1e3912d22c035cb2fa48 | Add support for minutes in date extensions | ahanusa/facile.net,peasy/Samples,ahanusa/Peasy.NET,peasy/Samples,peasy/Peasy.NET,peasy/Samples | Orders.com.Core/Extensions/DateExtensions.cs | Orders.com.Core/Extensions/DateExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public static class Extensions
{
public static MinuteResult Minutes(this int minutes)
{
return new MinuteResult(minutes);
}
public static DayResult Days(this int days)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public static class Extensions
{
public static DayResult Days(this int days)
{
return new DayResult(days);
}
public static YearResult Years(this int years)
{
retur... | mit | C# |
719b718c20353cb815e50384ccf49de9c45a68de | Add application/manifest+json to ContentType | ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework | Source/Boilerplate.AspNetCore/ContentType.cs | Source/Boilerplate.AspNetCore/ContentType.cs | namespace Boilerplate.AspNetCore
{
/// <summary>
/// A list of internet media types, which are a standard identifier used on the Internet to indicate the type of
/// data that a file contains. Web browsers use them to determine how to display, output or handle files and search
/// engines use them to cl... | namespace Boilerplate.AspNetCore
{
/// <summary>
/// A list of internet media types, which are a standard identifier used on the Internet to indicate the type of
/// data that a file contains. Web browsers use them to determine how to display, output or handle files and search
/// engines use them to cl... | mit | C# |
865cdf8a1e29b033c8b06c0ea823c7ef87547487 | Fix outdated docs | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.Data/Repositories/PromotionActionEventRepositoryBase.cs | Modix.Data/Repositories/PromotionActionEventRepositoryBase.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using Modix.Data.Messages;
using Modix.Data.Models.Promotions;
namespace Modix.Data.Repositories
{
/// <summary>
/// Describes a repository that creates <see cref="PromotionActionEntity"/> records in the datastore, This publishes
... | using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using Modix.Data.Messages;
using Modix.Data.Models.Promotions;
namespace Modix.Data.Repositories
{
/// <summary>
/// Describes a repository that creates <see cref="PromotionActionEntity"/> records in the datastore,
/// and thus... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.