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 |
|---|---|---|---|---|---|---|---|---|
3c344b76aef3bcea10db72dc7a553e4fa8e1f29c | add headings | MartinRL/SlackTurnus,MartinRL/SlackTurnus | SlackTurnus/Views/Home/Index.cshtml | SlackTurnus/Views/Home/Index.cshtml | @using SlackTurnus.ViewModel
@model HomeViewModel
<html>
<head>
<title>Slackturnus</title>
<link href="~/Content/Site.css" rel="stylesheet" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<table>
<tr>
<th>Primær</t... | @using SlackTurnus.ViewModel
@model HomeViewModel
<html>
<head>
<title>Slackturnus</title>
<link href="~/Content/Site.css" rel="stylesheet" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<table>
@foreach (Tuple<strin... | mit | C# |
b277f02ce8b88cc934e459ccc1642197dbf8fc77 | Use button instead of link on name | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | Snittlistan/Views/Home/Index.cshtml | Snittlistan/Views/Home/Index.cshtml | @model List<PlayerStatsViewModel>
@{
ViewBag.Title = "Snittlistan";
}
<table>
<thead>
<tr>
<th></th>
<th>Namn</th>
<th>Serier</th>
<th>Banpoäng</th>
<th>Medel</th>
<th>Högsta</th>
<th>X</th>
... | @model List<PlayerStatsViewModel>
@{
ViewBag.Title = "Snittlistan";
}
<table>
<thead>
<tr>
<th></th>
<th>Namn</th>
<th>Serier</th>
<th>Banpoäng</th>
<th>Medel</th>
<th>Högsta</th>
<th>X</th>
... | mit | C# |
e4ebb369051efb4e07c50ed5f97ec6bdad7302d6 | Update Configuration.cs | bmob/BmobSharp | core/src/config/Configuration.cs | core/src/config/Configuration.cs | using cn.bmob.tools;
using System;
using System.Reflection;
namespace cn.bmob.config
{
internal class Configuration
{
/// <summary>
/// 此SDK版本号
/// </summary>
public static String BUILD_VERSION = Utilities.Version();
/// <summary>
/// 平台识别字段
///
... | using cn.bmob.tools;
using System;
using System.Reflection;
namespace cn.bmob.config
{
internal class Configuration
{
/// <summary>
/// 此SDK版本号
/// </summary>
public static String BUILD_VERSION = Utilities.Version();
/// <summary>
/// 平台识别字段
///
... | apache-2.0 | C# |
7880083f2a4c7ab287fc484a4fd42aa9e3906e95 | Add property to use to determine the queue name to be used, and applied QueueName attribute to the property | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application/Commands/CreateEmployerAccount/CreateAccountCommandHandler.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application/Commands/CreateEmployerAccount/CreateAccountCommandHandler.cs | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerApprenticeshipsService.Application.Messages;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Attributes;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Data;
using SFA.DAS.Messaging;
namespace SFA.DAS.EmployerApprenticeshipsServ... | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerApprenticeshipsService.Application.Messages;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Data;
using SFA.DAS.Messaging;
namespace SFA.DAS.EmployerApprenticeshipsService.Application.Commands.CreateEmployerAccount
{
public clas... | mit | C# |
a12402a70d152270fbb33cfac3e1f56fe4126318 | Fix compilation | LinqToDB4iSeries/linq2db,MaceWindu/linq2db,genusP/linq2db,MaceWindu/linq2db,lvaleriu/linq2db,genusP/linq2db,ronnyek/linq2db,jogibear9988/linq2db,LinqToDB4iSeries/linq2db,enginekit/linq2db,linq2db/linq2db,linq2db/linq2db,jogibear9988/linq2db,lvaleriu/linq2db | Source/RetryLimitExceededException.cs | Source/RetryLimitExceededException.cs | using System;
using System.Runtime.Serialization;
namespace LinqToDB
{
public class RetryLimitExceededException : LinqToDBException
{
private const string _retryLimitExceededMessage = "Retry limit exceeded";
public RetryLimitExceededException() : base(_retryLimitExceededMessage)
{}
public Retr... | using System;
using System.Runtime.Serialization;
namespace LinqToDB
{
public class RetryLimitExceededException : LinqToDBException
{
private const string _retryLimitExceededMessage = "Retry limit exceeded";
public RetryLimitExceededException() : base(_retryLimitExceededMessage)
{}
public Retr... | mit | C# |
c7b8a284776ea8983c618da6eb838b186cfa26c3 | Fix update checker | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/UpdateChecker.cs | SteamAccountSwitcher/UpdateChecker.cs | #region
using System;
using System.Windows.Threading;
using SteamAccountSwitcher.Properties;
#endregion
namespace SteamAccountSwitcher
{
internal class UpdateChecker
{
private static readonly DispatcherTimer _updateTimer = new DispatcherTimer();
static UpdateChecker()
{
... | #region
using System;
using System.Windows.Threading;
using SteamAccountSwitcher.Properties;
#endregion
namespace SteamAccountSwitcher
{
internal class UpdateChecker
{
private static readonly DispatcherTimer _updateTimer = new DispatcherTimer();
public UpdateChecker()
{
... | mit | C# |
91e7a1c1f6ff06b8399ccf5999ee749c0c06220d | Update IOSGameWindow to match new spec | peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework.iOS/IOSGameWindow.cs | osu.Framework.iOS/IOSGameWindow.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osuTK;
using osuTK.Graphics;
using GameWindow = osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osuTK;
using osuTK.Graphics;
using GameWindow = osu... | mit | C# |
7fd8da6767eae6362b250965430ac1d5cc7154a1 | Fix build | svedm/monodevelop-hg-addin | MonoDevelop.VersionControl.Mercurial/MonoDevelop.VersionControl.Mercurial/GUI/PasswordDialog.cs | MonoDevelop.VersionControl.Mercurial/MonoDevelop.VersionControl.Mercurial/GUI/PasswordDialog.cs | using System;
namespace MonoDevelop.VersionControl.Mercurial.GUI
{
public partial class PasswordDialog : Gtk.Dialog
{
public PasswordDialog(string prompt)
{
this.Build();
this.Parent = MonoDevelop.Ide.IdeApp.Workbench.RootWindow;
this.promptLabel.Text = GLib.Markup.EscapeText(prompt);
}
}
} | using System;
namespace MonoDevelop.VersionControl.Mercurial.GUI
{
public partial class PasswordDialog : Gtk.Dialog
{
public PasswordDialog(string prompt)
{
this.Build();
this.Parent = MonoDevelop.Ide.IdeApp.Workbench.RootWindow
this.promptLabel.Text = GLib.Markup.EscapeText(prompt);
}
}
} | mit | C# |
91b572def50fffcb7ac614b1fb5e29c62a3bc128 | add some helper methods to CommonBlockCompressorTests class | DarkCaster/DotNetBlocks,DarkCaster/DotNetBlocks | Tests/CommonBlockCompressorTests.cs | Tests/CommonBlockCompressorTests.cs | // CommonBlockCompressorTests.cs
//
// The MIT License (MIT)
//
// Copyright (c) 2017 DarkCaster <dark.caster@outlook.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restr... | // CommonBlockCompressorTests.cs
//
// The MIT License (MIT)
//
// Copyright (c) 2017 DarkCaster <dark.caster@outlook.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restr... | mit | C# |
41f1428759092a80da34e620ddeef7a878f64c02 | Update OlderThan30.cshtml | Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module | Views/PersonList/OlderThan30.cshtml | Views/PersonList/OlderThan30.cshtml | @* The "shapes" object is an IEnumerable<dynamic> so we just simply enumerate it and use the previously seen
DisplayAsync helper to display these shapes. *@
@model IEnumerable<dynamic>
@using Microsoft.AspNetCore.Mvc.Localization
<h1>@T["People older than 30 years old"]</h1>
@* Notice how we use T.Plural... | @* The "shapes" object is an IEnumerable<dynamic> so we just simply enumerate it and use the previously seen
DisplayAsync helper to display these shapes. *@
@model IEnumerable<dynamic>
@using Microsoft.AspNetCore.Mvc.Localization
<h1>@T["People older then 30 years old"]</h1>
@* Notice how we use T.Plural... | bsd-3-clause | C# |
02e72e9d6bda408f6b212cd59b9bc01326433bae | add ManageController tests | Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp | SalaryCalculator/SalaryCalculatorWeb.Tests/Controllers/ManageControllerTests/AddPhoneNumber_Should.cs | SalaryCalculator/SalaryCalculatorWeb.Tests/Controllers/ManageControllerTests/AddPhoneNumber_Should.cs | using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
using Moq;
using NUnit.Framework;
using SalaryCalculator.Data.Models;
using SalaryCalculatorWeb.Controllers;
using SalaryCalculatorWeb.Models.ManageViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys... | using NUnit.Framework;
using SalaryCalculatorWeb.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace SalaryCalculatorWeb.Tests.Controllers.ManageControllerTests
{
[TestFixture]
public class AddPhoneNum... | mit | C# |
70b47ccc8b3319afd9be06f876a3ea2b0a6a4b08 | allow custom scheme for JwtTokenMiddleware config | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs | using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
namespace AbpCompanyName.AbpProjectName.Authentication.JwtBearer
{
public static class JwtTokenMiddleware
{
public static IApplicationBuilder UseJwtTokenMiddleware(this I... | using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
namespace AbpCompanyName.AbpProjectName.Authentication.JwtBearer
{
public static class JwtTokenMiddleware
{
public static IApplicationBuilder UseJwtTokenMiddleware(this I... | mit | C# |
1ea391ee26261d60b5dc2c339f8f380025ea51ac | drop index without edition | sones/sones,mujiansu/sones,sones/sones,mujiansu/sones,yonglehou/sones,yonglehou/sones,yonglehou/sones,sones/sones,mujiansu/sones,yonglehou/sones,mujiansu/sones | GraphQL/Implementations/SonesGraphQueryLanguage/Structure/Nodes/DDL/IndexDropOnAlterType.cs | GraphQL/Implementations/SonesGraphQueryLanguage/Structure/Nodes/DDL/IndexDropOnAlterType.cs | /*
* sones GraphDB - Community Edition - http://www.sones.com
* Copyright (C) 2007-2011 sones GmbH
*
* This file is part of sones GraphDB Community Edition.
*
* sones GraphDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* t... | /*
* sones GraphDB - Community Edition - http://www.sones.com
* Copyright (C) 2007-2011 sones GmbH
*
* This file is part of sones GraphDB Community Edition.
*
* sones GraphDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* t... | agpl-3.0 | C# |
6e861a9b7fcb107e2f12887ee3f4b93e253beedd | Revert incorrect `ScoreProcessor` change | peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | osu.Game/Tests/Visual/TestPlayer.cs | osu.Game/Tests/Visual/TestPlayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rul... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rul... | mit | C# |
cd2c760f31338bd03cac8edb433e3fee0af94c41 | Add a link to "about trac" on the trac version number at the end | moreati/trac-gitsvn,exocad/exotrac,exocad/exotrac,moreati/trac-gitsvn,exocad/exotrac,exocad/exotrac,dafrito/trac-mirror,dokipen/trac,moreati/trac-gitsvn,dafrito/trac-mirror,dafrito/trac-mirror,moreati/trac-gitsvn,dafrito/trac-mirror,dokipen/trac,dokipen/trac | templates/footer.cs | templates/footer.cs | <script type="text/javascript">searchHighlight()</script>
<?cs if:len(links.alternate) ?>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul><?cs each:link = links.alternate ?>
<li<?cs if:name(link) == len(links.alternate) - #1 ?> class="last"<?cs /if ?>>
<a href="<?cs var:link.href ?>"<?cs if:link.cla... | <script type="text/javascript">searchHighlight()</script>
<?cs if:len(links.alternate) ?>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul><?cs each:link = links.alternate ?>
<li<?cs if:name(link) == len(links.alternate) - #1 ?> class="last"<?cs /if ?>>
<a href="<?cs var:link.href ?>"<?cs if:link.cla... | bsd-3-clause | C# |
80c53273ad52653c944c2f919c7404a169562f9e | Add a link to "about trac" on the trac version number at the end | pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac | templates/footer.cs | templates/footer.cs | <script type="text/javascript">searchHighlight()</script>
<?cs if:len(links.alternate) ?>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul><?cs each:link = links.alternate ?>
<li<?cs if:name(link) == len(links.alternate) - #1 ?> class="last"<?cs /if ?>>
<a href="<?cs var:link.href ?>"<?cs if:link.cla... | <script type="text/javascript">searchHighlight()</script>
<?cs if:len(links.alternate) ?>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul><?cs each:link = links.alternate ?>
<li<?cs if:name(link) == len(links.alternate) - #1 ?> class="last"<?cs /if ?>>
<a href="<?cs var:link.href ?>"<?cs if:link.cla... | bsd-3-clause | C# |
1505aad80bbee2fc2e74e22b065f7415c2077d75 | Move 'Next puzzle' link next to ground | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/Views/Puzzle/Train.cshtml | src/AtomicChessPuzzles/Views/Puzzle/Train.cshtml | @using Microsoft.AspNet.Http;
@model AtomicChessPuzzles.Models.Puzzle
@section Title {
@if (Model != null && Model.InReview)
{
@:Puzzle review
}
else
{
@:Puzzle training
}
}
@section AddToHead {
<script type="text/javascript" src="@Url.Content("~/scripts/chessground.min.js")... | @using Microsoft.AspNet.Http;
@model AtomicChessPuzzles.Models.Puzzle
@section Title {
@if (Model != null && Model.InReview)
{
@:Puzzle review
}
else
{
@:Puzzle training
}
}
@section AddToHead {
<script type="text/javascript" src="@Url.Content("~/scripts/chessground.min.js")... | agpl-3.0 | C# |
e25ab0e96e2e71d3575bbb77935cf39bc0ba0c47 | reduce trigger time again down to 5 mins | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Scheduler/QuartzScheduler.cs | src/StockportWebapp/Scheduler/QuartzScheduler.cs | using System;
using System.Threading.Tasks;
using Quartz;
using Quartz.Impl;
using StockportWebapp.FeatureToggling;
using StockportWebapp.Models;
using StockportWebapp.Repositories;
using StockportWebapp.Services;
using StockportWebapp.Utils;
using Microsoft.Extensions.Logging;
namespace StockportWebapp.Scheduler
{
... | using System;
using System.Threading.Tasks;
using Quartz;
using Quartz.Impl;
using StockportWebapp.FeatureToggling;
using StockportWebapp.Models;
using StockportWebapp.Repositories;
using StockportWebapp.Services;
using StockportWebapp.Utils;
using Microsoft.Extensions.Logging;
namespace StockportWebapp.Scheduler
{
... | mit | C# |
3530a3fc5bdf245b0c0e470ffddef02da51df33b | change parameter comment to C#4.0 style | yasokada/unity-151117-linemonitor-UI | Assets/lineMonitorUI.cs | Assets/lineMonitorUI.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress()
using NS_MyStringUtil; // for addToRingBuffer()
/*
* v0.1 2015/11/19
* - receiv... | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress()
using NS_MyStringUtil; // for addToRingBuffer()
/*
* v0.1 2015/11/19
* - receiv... | mit | C# |
7c7931f912b79411814ae69350e4fef9afacffe1 | use addToRingBuffer() to receive text | yasokada/unity-151117-linemonitor-UI | Assets/lineMonitorUI.cs | Assets/lineMonitorUI.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress()
using NS_MyStringUtil; // for addToRingBuffer()
/*
* v0.1 2015/11/19
* - receiv... | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress()
/*
* v0.1 2015/11/19
* -
* --------- converted from UdpEchoServer to line mon... | mit | C# |
a2f944b978d1890ccf611a206d3bce9627f2b8ec | Support Snapshot bucket type | LordMike/B2Lib | B2Lib/Enums/B2BucketType.cs | B2Lib/Enums/B2BucketType.cs | using System.ComponentModel;
namespace B2Lib.Enums
{
public enum B2BucketType
{
[Description("allPrivate")]
AllPrivate,
[Description("allPublic")]
AllPublic,
[Description("snapshot")]
Snapshot
}
} | using System.ComponentModel;
namespace B2Lib.Enums
{
public enum B2BucketType
{
[Description("allPrivate")]
AllPrivate,
[Description("allPublic")]
AllPublic
}
} | mit | C# |
2d5390a09d48416af2d916f451be866fb828b745 | Fix task | Sirush/UDHBot,Sirush/UDHBot | Extensions/TaskExtensions.cs | Extensions/TaskExtensions.cs | using System;
using System.Threading.Tasks;
using Discord;
namespace DiscordBot.Extensions
{
public static class TaskExtensions
{
public static Task DeleteAfterSeconds(this IDeletable message, double seconds)
{
return Task.Delay(TimeSpan.FromSeconds(seconds)).ContinueWith(async _ =... | using System;
using System.Threading.Tasks;
using Discord;
namespace DiscordBot.Extensions
{
public static class TaskExtensions
{
public static Task DeleteAfterSeconds(this IDeletable message, double seconds)
{
return Task.Delay(TimeSpan.FromSeconds(seconds)).ContinueWith(async _ =... | mit | C# |
bb2d9fd3e0ee4316ec7b954f8bd9fd18d51c30d2 | Remove R# JS user data | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/JsonNew/Daemon/Stages/Processes/JsonNewInspectionsProcess.cs | resharper/resharper-unity/src/JsonNew/Daemon/Stages/Processes/JsonNewInspectionsProcess.cs | using System;
using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.JsonNew.Daemon.Stages.Processes
{
public cl... | using System;
using JetBrains.Application.Settings;
using JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
names... | apache-2.0 | C# |
d509340c0172b888d628f953a19923939f2f3e53 | Add logo to sample (#6738) | dotnet/core | samples/dotnet-runtimeinfo/Program.cs | samples/dotnet-runtimeinfo/Program.cs | using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using static System.Console;
using static System.IO.File;
string nl = Environment.NewLine;
// Variant of https://github.com/dotnet/core/tree/main/samples/dotnet-runtimeinfo
// Ascii text: https://ascii.co.uk/text (Univers f... | using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using static System.Console;
using static System.IO.File;
AssemblyInformationalVersionAttribute assemblyInformation = ((AssemblyInformationalVersionAttribute[])typeof(object).Assembly.GetCustomAttributes(typeof(AssemblyInfor... | mit | C# |
db36b20516d1f2f0914a3a8101cbc83586b0fc48 | Update Export-CurrentContainer-Dxf.csx | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | scripts/Export-CurrentContainer-Dxf.csx | scripts/Export-CurrentContainer-Dxf.csx | #r "System.Linq"
#r "Core2D"
using System;
using System.IO;
using System.Linq;
using Core2D.FileWriter.Dxf;
var dir = "D:\\";
var page = Editor.Project.CurrentContainer;
var writer = Editor.FileWriters.FirstOrDefault(x => x.GetType() == typeof(DxfWriter));
var path = Path.Combine(dir, page.Name + "." + writer.Extensi... | #r "Core2D.FileWriter.Dxf"
using System;
using System.IO;
using System.Linq;
using Core2D.FileWriter.Dxf;
var dir = "D:\\";
var page = Editor.Project.CurrentContainer;
var writer = Editor.FileWriters.FirstOrDefault(x => x.GetType() == typeof(DxfWriter));
var path = Path.Combine(dir, page.Name + "." + writer.Extension)... | mit | C# |
049916b047c567a67f26cc3f5ef18f6d6f95fe1a | remove unnecessary code | LayoutFarm/PixelFarm | a_mini/projects/PixelFarm/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.GLES2/Implementation/GLCanvasPainter.cs | a_mini/projects/PixelFarm/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.GLES2/Implementation/GLCanvasPainter.cs | //2016 MIT, WinterDev
namespace PixelFarm.DrawingGL
{
public class GLCanvasPainter : GLCanvasPainterBase
{
public GLCanvasPainter(CanvasGL2d canvas, int w, int h)
: base(canvas, w, h)
{
}
}
} | //2016 MIT, WinterDev
using PixelFarm.Agg;
namespace PixelFarm.DrawingGL
{
public class GLCanvasPainter : GLCanvasPainterBase
{
//TODO:review here
//we need this for render text
System.Drawing.Graphics _winGfx;
System.Drawing.Bitmap _winGfxBackBmp;
System.Drawing.SolidB... | bsd-2-clause | C# |
91ac9198f07db2afca2ddab3b64be36b9b1b0cf9 | Add new payment sources (e.g. paynow etc) | omise/omise-dotnet | Omise/Models/OffsiteTypes.cs | Omise/Models/OffsiteTypes.cs | using System.Runtime.Serialization;
namespace Omise.Models
{
public enum OffsiteTypes
{
[EnumMember(Value = null)]
None,
[EnumMember(Value = "internet_banking_scb")]
InternetBankingSCB,
[EnumMember(Value = "internet_banking_bbl")]
InternetBankingBBL,
[En... | using System.Runtime.Serialization;
namespace Omise.Models
{
public enum OffsiteTypes
{
[EnumMember(Value = null)]
None,
[EnumMember(Value = "internet_banking_scb")]
InternetBankingSCB,
[EnumMember(Value = "internet_banking_bbl")]
InternetBankingBBL,
[En... | mit | C# |
a0f19ad77c75ba515cda55294f21ddf2d0348e6d | Remove unnecessary check and throw (already throws) | detaybey/MimeBank | MimeBank/MimeChecker.cs | MimeBank/MimeChecker.cs | /*
* Programmed by Umut Celenli umut@celenli.com
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MimeBank
{
/// <summary>
/// This is the main class to check the file mime type
/// Header list is loaded once
/// </summary>
public cla... | /*
* Programmed by Umut Celenli umut@celenli.com
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MimeBank
{
/// <summary>
/// This is the main class to check the file mime type
/// Header list is loaded once
/// </summary>
public cla... | apache-2.0 | C# |
ed5aab6ba4bc66bd6e030cb335eaff3c85db5e95 | Fix inheritence test for TraktMovieTranslation | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Movies/Implementations/TraktMovieTranslation_Tests.cs | Source/Tests/TraktApiSharp.Tests/Objects/Get/Movies/Implementations/TraktMovieTranslation_Tests.cs | namespace TraktApiSharp.Tests.Objects.Get.Movies.Implementations
{
using FluentAssertions;
using Traits;
using TraktApiSharp.Objects.Basic.Implementations;
using TraktApiSharp.Objects.Get.Movies;
using TraktApiSharp.Objects.Get.Movies.Implementations;
using TraktApiSharp.Objects.Get.Movies.Json... | namespace TraktApiSharp.Tests.Objects.Get.Movies.Implementations
{
using FluentAssertions;
using Traits;
using TraktApiSharp.Objects.Basic.Implementations;
using TraktApiSharp.Objects.Get.Movies;
using TraktApiSharp.Objects.Get.Movies.Implementations;
using TraktApiSharp.Objects.Get.Movies.Json... | mit | C# |
0e0f015ad0a09c9565dc92cbd9146deed5ffa5f6 | Fix null-ref exception when doing get request | iamjasonp/wcf,StephenBonikowsky/wcf,mconnew/wcf,hongdai/wcf,shmao/wcf,dotnet/wcf,KKhurin/wcf,shmao/wcf,imcarolwang/wcf,KKhurin/wcf,zhenlan/wcf,ElJerry/wcf,ElJerry/wcf,dotnet/wcf,zhenlan/wcf,ericstj/wcf,mconnew/wcf,hongdai/wcf,mconnew/wcf,dotnet/wcf,MattGal/wcf,imcarolwang/wcf,imcarolwang/wcf,iamjasonp/wcf,MattGal/wcf,S... | src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ServiceModelHttpMessageHandler.cs | src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ServiceModelHttpMessageHandler.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.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace System.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.
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace System.S... | mit | C# |
97903f74b1573e94e26ee55496c2b689ccd8702e | update test case to leverage other utilities | apache/npanday,apache/npanday,apache/npanday,apache/npanday | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/UnsupportedProjectTest.cs | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/UnsupportedProjectTest.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using NPanday.ProjectImporter;
using NPanday.ProjectImporter.Digest;
using NPanday.ProjectImporter.Digest.Model;
using NPanday.ProjectImporter.Validator;
using NUnit.Framework;
namespace NPanday.ProjectImporter.ImporterTests
{
[Tes... | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using NPanday.ProjectImporter;
using NPanday.ProjectImporter.Digest;
using NPanday.ProjectImporter.Digest.Model;
using NPanday.ProjectImporter.Validator;
using NUnit.Framework;
namespace NPanday.ProjectImporter.ImporterTests
{
[Tes... | apache-2.0 | C# |
49c1d83fb2e846f86320b4d74860d660e23c4769 | Update version to 8.0.0 | kamsar/Synthesis,roberthardy/Synthesis | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System;
[assembly: AssemblyCompany("ISITE Design")]
[assembly: AssemblyProduct("Synthesis")]
[assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("8.0.0.0")]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.InteropServices;
using System;
[assembly: AssemblyCompany("ISITE Design")]
[assembly: AssemblyProduct("Synthesis")]
[assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("8.0.0.0")]
[assembly: Assembly... | mit | C# |
fc64a966634f6fe8ab89b9b88593f3f3bf128ee6 | Fix uri templates in episode requests. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Episodes/TraktEpisodeCommentsRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Episodes/TraktEpisodeCommentsRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Episodes
{
using Enums;
using Objects.Basic;
using Objects.Get.Shows.Episodes;
using System.Collections.Generic;
internal class TraktEpisodeCommentsRequest : TraktGetByIdEpisodeRequest<TraktPaginationListResult<TraktEpisodeComment>, TraktEpisodeC... | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Episodes
{
using Enums;
using Objects.Basic;
using Objects.Get.Shows.Episodes;
using System.Collections.Generic;
internal class TraktEpisodeCommentsRequest : TraktGetByIdEpisodeRequest<TraktPaginationListResult<TraktEpisodeComment>, TraktEpisodeC... | mit | C# |
fe5df663be1c648eb4c0c41398d447141e8eaa04 | Add more xmldoc | naoey/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,Frontear/osuKyzer,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,naoey/osu,peppy/osu,smoogipoo/osu,ppy/osu,naoey/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,ppy/osu,... | osu.Game/Database/ICanAcceptFiles.cs | osu.Game/Database/ICanAcceptFiles.cs | namespace osu.Game.Database
{
/// <summary>
/// A class which can accept files for importing.
/// </summary>
public interface ICanAcceptFiles
{
/// <summary>
/// Import the specified paths.
/// </summary>
/// <param name="paths">The files which should be im... | namespace osu.Game.Database
{
public interface ICanAcceptFiles
{
void Import(params string[] paths);
string[] HandledExtensions { get; }
}
}
| mit | C# |
57f8ccca167d48e79c3c5e89b8d9db6d4a7febe9 | Remove nullability from `EditorState` properties | peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu | osu.Game/Screens/Edit/EditorState.cs | osu.Game/Screens/Edit/EditorState.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// Structure used to convey the general state of an <see cref="Editor"/> instance.
/// </su... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// Structure used to transport data between <see cref="Editor"/> instances on difficulty change... | mit | C# |
1e4bd8ff04bd89f73cacf2083d5b22f1f7d8f9fe | Simplify sample combinator by reusing Single(Predicate<char>...). | plioi/parsley | src/Parsley.Tests/ParserQueryTests.cs | src/Parsley.Tests/ParserQueryTests.cs | using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using static Parsley.Grammar;
namespace Parsley.Tests;
class ParserQueryTests
{
static readonly Parser<char> Next = Single(_ => true, "character");
static readonly Parser<string> Fail = (ref ReadOnlySpan<char> input, ref Position position, [N... | using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Parsley.Tests;
class ParserQueryTests
{
static readonly Parser<char> Next = (ref ReadOnlySpan<char> input, ref Position position, [NotNullWhen(true)] out char value, [NotNullWhen(false)] out string? expectation) =>
{
var next... | mit | C# |
410367d123b950ea5769757a732a3d1237835889 | Change BathResult to class | carbon/Amazon | src/Amazon.DynamoDb/BatchResult.cs | src/Amazon.DynamoDb/BatchResult.cs | using System;
namespace Amazon.DynamoDb
{
public class BatchResult
{
public TimeSpan ResponseTime { get; set; }
public int BatchCount { get; set; }
public int ItemCount { get; set; }
public int ErrorCount { get; set; }
public int RequestCount { get; se... | using System;
namespace Amazon.DynamoDb
{
public struct BatchResult
{
public TimeSpan ResponseTime { get; set; }
public int BatchCount { get; set; }
public int ItemCount { get; set; }
public int ErrorCount { get; set; }
public int RequestCount { get; s... | mit | C# |
8d9ff955b7a354951cba98a4f37a4f4a73a2775f | Fix exported game crash because of uninitialized callbacks | vkbsb/godot,sanikoyes/godot,Zylann/godot,pkowal1982/godot,godotengine/godot,Shockblast/godot,guilhermefelipecgs/godot,josempans/godot,BastiaanOlij/godot,firefly2442/godot,vkbsb/godot,sanikoyes/godot,pkowal1982/godot,firefly2442/godot,josempans/godot,firefly2442/godot,josempans/godot,vkbsb/godot,BastiaanOlij/godot,firef... | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs | using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace Godot.SourceGenerators
{
[Generator]
public class GodotPluginsInitializerGenerator : ISourceGenerator
{
public void Initialize(GeneratorInitializationContext context)
{
}
public vo... | using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace Godot.SourceGenerators
{
[Generator]
public class GodotPluginsInitializerGenerator : ISourceGenerator
{
public void Initialize(GeneratorInitializationContext context)
{
}
public vo... | mit | C# |
241bd15d5dde32633a32d95a1b71c93e6070a7b0 | remove warning | aliyun/aliyun-oss-csharp-sdk | sdk/Commands/GetObjectAclCommand.cs | sdk/Commands/GetObjectAclCommand.cs | /*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
using System;
using System.Collections.Generic;
using Aliyun.OSS.Common.Communication;
using Aliyun.OSS.Util;
using Aliyun.OSS.Transform;
namespace Aliyun.OSS.Commands
{
internal class GetObjectAclCommand : OssComman... | /*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
using System;
using System.Collections.Generic;
using Aliyun.OSS.Common.Communication;
using Aliyun.OSS.Util;
using Aliyun.OSS.Transform;
namespace Aliyun.OSS.Commands
{
internal class GetObjectAclCommand : OssComman... | mit | C# |
448f87c285c9ab473f2f26b357981a4c0288edbc | Refactor echo command | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | src/InEngine.Core/Commands/Echo.cs | src/InEngine.Core/Commands/Echo.cs | using CommandLine;
namespace InEngine.Core.Commands
{
/// <summary>
/// Echo some text to the console. Useful for end-to-end testing.
/// </summary>
public class Echo : AbstractCommand
{
[Option("text", HelpText = "The text to echo.")]
public string VerbatimText { get; set; }
... | using CommandLine;
namespace InEngine.Core.Commands
{
/// <summary>
/// Echo some text to the console. Useful for end-to-end testing.
/// </summary>
public class Echo : AbstractCommand
{
[Option("text", HelpText = "The text to echo.")]
public string VerbatimText { get; set; }
... | mit | C# |
6c274c90964fe2fc1405ee513e8aeb87b0cc0627 | correct property assignment in controller | mikeedwards83/Glass.Mapper,csteeg/Glass.Mapper,rootix/Glass.Mapper,rhamille/Glass.Mapper,rhamille/Glass.Mapper,RvanDalen/Glass.Mapper,esmeraldi/Glass.Mapper,RvanDalen/Glass.Mapper,RvanDalen/Glass.Mapper,mikeedwards83/Glass.Mapper,acastr7/Glass.Mapper,rhamille/Glass.Mapper,pbustamante/Glass.Mapper,csteeg/Glass.Mapper,es... | Source/Glass.Mapper.Sc/Web/Mvc/GlassController.cs | Source/Glass.Mapper.Sc/Web/Mvc/GlassController.cs | using System.Collections.Specialized;
using Sitecore.Data.Items;
using Sitecore.Mvc.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Glass.Mapper.Sc.Web.Mvc
{
public class GlassController : SitecoreController
{
public ISitecoreContext Siteco... | using System.Collections.Specialized;
using Sitecore.Data.Items;
using Sitecore.Mvc.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Glass.Mapper.Sc.Web.Mvc
{
public class GlassController : SitecoreController
{
private readonly ISitecoreConte... | apache-2.0 | C# |
0bd182d9acb1867249ce858bb3d31d01944c0e0b | Tidy up some HTML | stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH | SH.Site/Views/Master.cshtml | SH.Site/Views/Master.cshtml | @inherits UmbracoViewPage<IMaster>
@{
var website = Model.Ancestor<Website>();
var menuItems = website.Children<IMaster>();
}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@Model.SeoMetadata.Title</title>
<meta name="description" content="@Model.SeoMetadata.Description" />... | @inherits UmbracoViewPage<IMaster>
@{
var website = Model.Ancestor<Website>();
var menuItems = website.Children<IMaster>();
}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@Model.SeoMetadata.Title</title>
<meta name="description" content="@Model.SeoMetadata.Description /">... | mit | C# |
1197115ae27196d32dc4e7a357796969c76fd65a | Fix for TaskEditorTemplate.cshtml | iliantrifonov/SubtitleCommunitySystem,iliantrifonov/SubtitleCommunitySystem | SubtitleCommunitySystem/Web/SubtitleCommunitySystem.Web/Areas/Teams/Views/Shared/EditorTemplates/TaskEditorTemplate.cshtml | SubtitleCommunitySystem/Web/SubtitleCommunitySystem.Web/Areas/Teams/Views/Shared/EditorTemplates/TaskEditorTemplate.cshtml | @using SubtitleCommunitySystem.Model;
@model SubtitleCommunitySystem.Web.Areas.Teams.Models.TaskInputModel
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.Id)
<div class="">
@Html.LabelFor(model => model.Description, htmlAttributes: new { @class = "col-md-3" })
... | @model SubtitleCommunitySystem.Web.Areas.Teams.Models.TaskInputModel
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.Id)
<div class="">
@Html.LabelFor(model => model.Description, htmlAttributes: new { @class = "col-md-3" })
@Html.EditorFor(model => model.Desc... | mit | C# |
e6152e06c0403de9176a8f2b5c39ee8f951f39c6 | Update BuffAppliedPopup.cs | prrovoss/THUD | plugins/Prrovoss/BuffAppliedPopup.cs | plugins/Prrovoss/BuffAppliedPopup.cs | using System.Collections.Generic;
using System;
using System.Linq;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class BuffAppliedPopup : BasePlugin
{
public class Buff
{
public bool Displayed { get; set; }
public uint SNO { get; set; }
... | using System.Collections.Generic;
using System;
using System.Linq;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class BuffApplied : BasePlugin
{
public class Buff
{
public bool Displayed { get; set; }
public uint SNO { get; set; }
... | mit | C# |
ceca14c97b8610595c8028213928c8ad4dcdf660 | Rename local variable for accuracy. | bardoloi/fixie,bardoloi/fixie,JakeGinnivan/fixie,EliotJones/fixie,Duohong/fixie,KevM/fixie,fixie/fixie | src/Fixie/Behaviors/ExecuteCases.cs | src/Fixie/Behaviors/ExecuteCases.cs | using System;
using System.Diagnostics;
namespace Fixie.Behaviors
{
public class ExecuteCases : InstanceBehavior
{
public void Execute(Fixture fixture)
{
foreach (var @case in fixture.Cases)
{
var execution = @case.Execution;
using (var ... | using System;
using System.Diagnostics;
namespace Fixie.Behaviors
{
public class ExecuteCases : InstanceBehavior
{
public void Execute(Fixture fixture)
{
foreach (var @case in fixture.Cases)
{
var result = @case.Execution;
using (var con... | mit | C# |
4cec0c64134949497a409291495b30b00ec08887 | Change XML comment | huysentruitw/projecto | src/Projecto/ProjectScopeFactory.cs | src/Projecto/ProjectScopeFactory.cs | /*
* Copyright 2017 Wouter Huysentruit
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2017 Wouter Huysentruit
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | C# |
42b8be6f22400755a101c5fc933e79e758512a33 | Update JoshKing.cs reflecting change to https | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JoshKing.cs | src/Firehose.Web/Authors/JoshKing.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JoshKing : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Josh";
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JoshKing : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Josh";
pu... | mit | C# |
001ec5d935681df221f96ece8833dd7fa2e0390a | 修复一个错误。 :deciduous_tree: :open_book: | Zongsoft/Zongsoft.CoreLibrary | src/Options/Profiles/ProfileEntry.cs | src/Options/Profiles/ProfileEntry.cs | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2014 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.CoreLibrary.
*
* Zongsoft.CoreLibrary is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*... | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2014 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.CoreLibrary.
*
* Zongsoft.CoreLibrary is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*... | lgpl-2.1 | C# |
098a92970d98c6e54a97e1ef0c5203bb5c31ef87 | add enumerable ctor to liveList | icarus-consulting/Yaapii.Atoms | src/Yaapii.Atoms/Lists/LiveList.cs | src/Yaapii.Atoms/Lists/LiveList.cs | // MIT License
//
// Copyright(c) 2021 ICARUS Consulting GmbH
//
// 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 u... | // MIT License
//
// Copyright(c) 2021 ICARUS Consulting GmbH
//
// 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, cop... | mit | C# |
2b7bcd01605cab95599a321c8d3c226fc62c988f | Add disclaimer for format | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Soldiers/Import.cshtml | Battery-Commander.Web/Views/Soldiers/Import.cshtml | <form method="post" enctype="multipart/form-data" asp-controller="Soldiers" asp-action="Import">
@Html.AntiForgeryToken()
<div class="form-group">
<div class="col-md-10">
<p>Upload the DTMS Soldier Roster Report here (Must be XLSX Format!):</p>
<input type="file" name="file"... | <form method="post" enctype="multipart/form-data" asp-controller="Soldiers" asp-action="Import">
@Html.AntiForgeryToken()
<div class="form-group">
<div class="col-md-10">
<p>Upload the DTMS Soldier Roster Report here:</p>
<input type="file" name="file" />
</div>
... | mit | C# |
00eba2d37547a03edfff9b42f7a4eeec980f7562 | Test that the initial nonce is set. | PaulTrampert/CertManager,PaulTrampert/CertManager | CertManager.Test/AcmeTests/WhenLoadingDirectory.cs | CertManager.Test/AcmeTests/WhenLoadingDirectory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace CertManager.Test.AcmeTests
{
[TestFixture]
public class WhenInitializing : WithAcmeClient
{
public override async Task BecauseOf()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace CertManager.Test.AcmeTests
{
[TestFixture]
public class WhenInitializing : WithAcmeClient
{
public override async Task BecauseOf()
{
... | mit | C# |
4a7b9617a1cc3713be6304f39b7ef47e33edc8fd | Change verb from get to post | MacsDickinson/DoctorClockwork,MacsDickinson/DoctorClockwork | DrClockwork/DrClockwork.Nancy/Modules/AskModule.cs | DrClockwork/DrClockwork.Nancy/Modules/AskModule.cs | using System;
using DrClockwork.Domain.Logic;
using DrClockwork.Domain.Models;
using DrClockwork.Nancy.ViewModels;
using Microsoft.AspNet.SignalR;
using Nancy;
using Nancy.ModelBinding;
using Nancy.Validation;
using Raven.Client;
namespace DrClockwork.Nancy.Modules
{
public class AskModule : NancyModule
{
... | using System;
using DrClockwork.Domain.Logic;
using DrClockwork.Domain.Models;
using DrClockwork.Nancy.ViewModels;
using Microsoft.AspNet.SignalR;
using Nancy;
using Nancy.ModelBinding;
using Nancy.Validation;
using Raven.Client;
namespace DrClockwork.Nancy.Modules
{
public class AskModule : NancyModule
{
... | unlicense | C# |
8d45fcd34e5b21cc878c523a623e8aefba8fea30 | Use ConditionalFact to not run tests on xplat | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Mvc.Razor.Precompilation.FunctionalTests/SimpleAppDesktopOnlyTest.cs | test/Microsoft.AspNetCore.Mvc.Razor.Precompilation.FunctionalTests/SimpleAppDesktopOnlyTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.IntegrationTesting;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
namespace M... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.IntegrationTesting;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
namespace M... | apache-2.0 | C# |
86c87809f734624fcb17662f485645f5732dc508 | Add additional parameters | jeyjeyemem/Xer.Cqrs | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./Src",
title: "Xer... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./",
title: "Xer.Cq... | mit | C# |
8cc00e512e0d7a6ff75bba829960b0e365e2249d | Update to new design. | MichalStrehovsky/roslyn,genlu/roslyn,AmadeusW/roslyn,jcouv/roslyn,tmeschter/roslyn,jmarolf/roslyn,abock/roslyn,davkean/roslyn,ErikSchierboom/roslyn,shyamnamboodiripad/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,aelij/roslyn,tmeschter/roslyn,AmadeusW/roslyn,reaction1989/roslyn,tmat/roslyn,mavasani/roslyn,panopticon... | src/Features/CSharp/Portable/ConvertAnonymousTypeToTuple/CSharpConvertAnonymousTypeToTupleDiagnosticAnalyzer.cs | src/Features/CSharp/Portable/ConvertAnonymousTypeToTuple/CSharpConvertAnonymousTypeToTupleDiagnosticAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.ConvertAnonymousType... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.ConvertAnonymousType... | mit | C# |
8b02d72f435bf85c7d60c8da87136fc18f811a84 | fix compile | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/ShaderLab/Feature/Services/Comment/ShaderLabBlockCommentActionProvider.cs | resharper/resharper-unity/src/ShaderLab/Feature/Services/Comment/ShaderLabBlockCommentActionProvider.cs | using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Comment;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Parsing;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Util;
namespace JetBrains.ReSharpe... | using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Comment;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Parsing;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.ReSharper.Psi.Tree;
using JetBra... | apache-2.0 | C# |
c4fa29955405ddf622b8862305d774949156927d | Make IsEnabled public | RockFramework/Rock.Logging | RockLib.Logging/Extensions/EnabledExtensions.cs | RockLib.Logging/Extensions/EnabledExtensions.cs | namespace RockLib.Logging
{
/// <summary>
/// Defines extension method that determine if a given logging level is enabled.
/// </summary>
public static class EnabledExtensions
{
/// <summary>
/// Returns whether debug logging is enabled for the logger.
/// </summary>
... | namespace RockLib.Logging
{
/// <summary>
/// Defines extension method that determine if a given logging level is enabled.
/// </summary>
public static class EnabledExtensions
{
/// <summary>
/// Returns whether debug logging is enabled for the logger.
/// </summary>
... | mit | C# |
1cefba28c99d8bcc6efa9ec6efe2ebb668f50558 | Prepare for next development iteration. | SolinkCorp/Solink.AddIn.Helpers | Solink.AddIn.Helpers/Properties/AssemblyInfo.cs | Solink.AddIn.Helpers/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
a8493bf831f4e1e1bc99b203d2342a61357e4cc8 | Document SparkResources.ApiConstraint | RichLogan/CiscoSpark-UnityProject,RichLogan/CiscoSpark-UnityProject | SparkUnity/Assets/Cisco/Spark/SparkResources.cs | SparkUnity/Assets/Cisco/Spark/SparkResources.cs | using System.Collections.Generic;
using UnityEngine;
using MiniJSON;
using System.IO;
namespace Cisco.Spark
{
public enum SparkType
{
Membership,
Room,
Person,
Team,
TeamMembership,
Message,
Webhook
}
public class SparkResources : MonoBehaviour... | using System.Collections.Generic;
using UnityEngine;
using MiniJSON;
using System.IO;
namespace Cisco.Spark
{
public enum SparkType
{
Membership,
Room,
Person,
Team,
TeamMembership,
Message,
Webhook
}
public class SparkResources : MonoBehaviour... | apache-2.0 | C# |
b78f2d43597612114ac22eb84abdaf6d5fe8ed9e | Update ShellProgressFactory.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Shell/ShellProgressFactory.cs | TIKSN.Framework.Core/Shell/ShellProgressFactory.cs | using Microsoft.Extensions.Options;
using TIKSN.Progress;
namespace TIKSN.Shell
{
public class ShellProgressFactory : IOperationProgressFactory
{
private readonly IOptions<ShellProgressFactoryOptions> options;
public ShellProgressFactory(IOptions<ShellProgressFactoryOptions> options) => this.... | using Microsoft.Extensions.Options;
using TIKSN.Progress;
namespace TIKSN.Shell
{
public class ShellProgressFactory : IOperationProgressFactory
{
private readonly IOptions<ShellProgressFactoryOptions> options;
public ShellProgressFactory(IOptions<ShellProgressFactoryOptions> options)
... | mit | C# |
0318944b807d8c3a2aa75735f78f955ec3dab837 | Fix incorrect alive criteria causing clicking future objects to be too greedy | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Osu/Edit/Blueprints/OsuSelectionBlueprint.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/OsuSelectionBlueprint.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components;
using os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components;
using os... | mit | C# |
3a7721a217d78e8ce6dfd26508c5be1562a72510 | change defaut unit of rf to MHz | Stok/EDMSuite,jstammers/EDMSuite,jstammers/EDMSuite,jstammers/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,Stok/EDMSuite,jstammers/EDMSuite,ColdMatter/EDMSuite,jstammers/EDMSuite | DAQ/HP8673BSynth.cs | DAQ/HP8673BSynth.cs | using System;
using DAQ.Environment;
namespace DAQ.HAL
{
/// <summary>
/// This class represents a GPIB controlled HP8673B synth. It conforms to the Synth
/// interface.
/// </summary>
public class HP8673BSynth : Synth
{
public HP8673BSynth(String visaAddress) : base(visaAddress)
{}
override public dou... | using System;
using DAQ.Environment;
namespace DAQ.HAL
{
/// <summary>
/// This class represents a GPIB controlled HP8673B synth. It conforms to the Synth
/// interface.
/// </summary>
public class HP8673BSynth : Synth
{
public HP8673BSynth(String visaAddress) : base(visaAddress)
{}
override public dou... | mit | C# |
78c5c1b9d204431e73ca81081db47eee20b87bfb | Improve code readability | earalov/Skylines-ModTools | Debugger/ModalUI.cs | Debugger/ModalUI.cs | using ColossalFramework.UI;
namespace ModTools
{
internal sealed class ModalUI
{
private UIComponent modalView;
private bool isModal;
public void Update(bool mouseOverWindow)
{
if (modalView == null)
{
modalView = UIView.GetAView()?.AddU... | using ColossalFramework.UI;
namespace ModTools
{
internal sealed class ModalUI
{
private UIComponent modalView;
private bool isModal;
public void Update(bool mouseOverWindow)
{
if (modalView == null)
{
modalView = UIView.GetAView()?.AddU... | mit | C# |
a4aaa9f827d8b04d45411650c6f0282fb8324755 | Fix server not starting on correct URL | Zyrio/ictus,Zyrio/ictus | src/Yio/Program.cs | src/Yio/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Yio.Utilities;
namespace Yio
{
public c... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Yio.Utilities;
namespace Yio
{
public c... | mit | C# |
44677ce1ca5b99b9b611f0fa8dd862f7054b62f8 | load test dlls | petester42/NetSpec | src/dotnet-test-netspec/Program.cs | src/dotnet-test-netspec/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace ConsoleApplication
{
public class Program : IDisposable
{
public static int Main(string[] args)
{
for (var i = 0; i < args.Count(); ++i)
{
var arg = args[i];
... | using System;
using System.Linq;
using System.Reflection;
namespace ConsoleApplication
{
public class Program : IDisposable
{
public static int Main(string[] args)
{
for (var i = 0; i < args.Count(); ++i)
{
var arg = args[i];
Console.Writ... | mit | C# |
0b3d41ab32b4f65dfa11edb388a8b0cb961669c4 | Add some list extensions | shrayasr/pinboard.net | pinboard.net/Util/Extensions.cs | pinboard.net/Util/Extensions.cs | using System.Collections.Generic;
namespace pinboard.net.Util
{
public static class StringExtensions
{
public static bool IsEmpty(this string instance)
=> string.IsNullOrEmpty(instance);
public static bool HasValue(this string instance)
=> !IsEmpty(instance);
}
... | namespace pinboard.net.Util
{
public static class StringExtensions
{
public static bool IsEmpty(this string instance)
=> string.IsNullOrEmpty(instance);
public static bool HasValue(this string instance)
=> !IsEmpty(instance);
}
}
| mit | C# |
ab9aed351fc691b83f2da760c71e71562d2aaa80 | Remove null channels from SkinnableSound playable channels | peppy/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,smoogipooo/osu,DrabWeb/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,naoey/osu,ZLima12/osu,DrabWeb/osu,ppy/osu,naoey/osu,Nabile-Rahmani/osu,peppy/osu-new,Usele... | osu.Game/Skinning/SkinnableSound.cs | osu.Game/Skinning/SkinnableSound.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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions.IEn... | // 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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions.IEn... | mit | C# |
b5b614bb60def1a1d85e14556a068700534d310f | fix warnings. | AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia... | src/Windows/Avalonia.Win32/Win32NativeToManagedMenuExporter.cs | src/Windows/Avalonia.Win32/Win32NativeToManagedMenuExporter.cs | using System.Collections.Generic;
using Avalonia.Controls;
using Avalonia.Controls.Platform;
#nullable enable
namespace Avalonia.Win32
{
internal class Win32NativeToManagedMenuExporter : INativeMenuExporter
{
private NativeMenu? _nativeMenu;
public void SetNativeMenu(NativeMenu? nativeMenu)
... | using System.Collections.Generic;
using Avalonia.Controls;
using Avalonia.Controls.Platform;
#nullable enable
namespace Avalonia.Win32
{
internal class Win32NativeToManagedMenuExporter : INativeMenuExporter
{
private NativeMenu? _nativeMenu;
public void SetNativeMenu(NativeMenu nativeMenu)
... | mit | C# |
ce84404a8bae748335135f0c22e551eb19b13550 | Change MFractors 'feature-focus' feed to the cleaner/more generic/more descriptive 'learn' feed. (#362) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/MFractor.cs | src/Firehose.Web/Authors/MFractor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MFractor : IAmACommunityMember
{
public string FirstName => "MFractor";
public string LastName => "";
public string Stat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MFractor : IAmACommunityMember
{
public string FirstName => "MFractor";
public string LastName => "";
public string Stat... | mit | C# |
8412f5232f305f8bb56000970c836f26df9195c2 | remove special-casing of ExperienceIt route | WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website | src/WWTMVC5/App_Start/RouteConfig.cs | src/WWTMVC5/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace WWTMVC5
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathI... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace WWTMVC5
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathI... | mit | C# |
4bbb3bbad1d15fb96a65820bcefba9b05bbc3fde | Test for petapoco to stay internal | AMVSoftware/NSaga | src/Tests/NamespaceTests.cs | src/Tests/NamespaceTests.cs | using System;
using System.Linq;
using FluentAssertions;
using NSaga;
using PetaPoco;
using Xunit;
namespace Tests
{
public class NamespaceTests
{
[Fact]
public void NSaga_Contains_Only_One_Namespace()
{
//Arrange
var assembly = typeof(ISagaMediator).Assembly;
... | using System;
using System.Linq;
using FluentAssertions;
using NSaga;
using Xunit;
namespace Tests
{
public class NamespaceTests
{
[Fact]
public void NSaga_Contains_Only_One_Namespace()
{
//Arrange
var assembly = typeof(ISagaMediator).Assembly;
// A... | mit | C# |
274a0df184b0d52d7891a37cd142f468efef88cf | declare boxed Effect.Result type as nullable | nessos/Eff | src/Eff.Core/Effect.cs | src/Eff.Core/Effect.cs | using System;
using System.Threading.Tasks;
namespace Eff.Core
{
public abstract class Effect<TResult> : IEffect<TResult>
{
protected bool _hasResult;
protected TResult _result;
protected Exception? _exception;
protected object? _state;
public Effect(string memberName,... | using System;
using System.Threading.Tasks;
namespace Eff.Core
{
public abstract class Effect<TResult> : IEffect<TResult>
{
protected bool _hasResult;
protected TResult _result;
protected Exception? _exception;
protected object? _state;
public Effect(string memberName,... | mit | C# |
e915e422aeb6f3c18f56549d8c0a14d044f92105 | Fix typo and improve comment for MediaApiErrorHandling | jskeet/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,googleapis/google-api-dotnet-client,jskeet/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,googleapis/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,chrisdunelm/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client... | Src/Support/GoogleApis/Apis/[Media]/MediaApiErrorHandling.cs | Src/Support/GoogleApis/Apis/[Media]/MediaApiErrorHandling.cs | /*
Copyright 2015 Google 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 agreed to in writing, software
dis... | /*
Copyright 2015 Google 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 agreed to in writing, software
dis... | apache-2.0 | C# |
57983ae61f665229cbf8445d76d3f1ad9386a95e | Fix whitespace | smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,UselessToucan/osu | osu.Game/Rulesets/Difficulty/Skills/Skill.cs | osu.Game/Rulesets/Difficulty/Skills/Skill.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Difficulty.Utils;
using osu.Game.Rulesets.Mods;
namespace osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Difficulty.Utils;
using osu.Game.Rulesets.Mods;
namespace osu... | mit | C# |
3942ad9af7e4debd5f648892da6532b1b47ea680 | Fix version string | devunt/DFAssist | App/Global.cs | App/Global.cs | using System.Drawing;
namespace App
{
class Global
{
public const string VERSION = "v20160617.1-x64";
public const string DLL_PATH = @".\dfassist.dll";
public const string SETTINGS_FILEPATH = @".\dfassist.ini";
public const string GITHUB_REPO = @"devunt/DFAssist";
pu... | using System.Drawing;
namespace App
{
class Global
{
public const string VERSION = "v20160617.1-v64";
public const string DLL_PATH = @".\dfassist.dll";
public const string SETTINGS_FILEPATH = @".\dfassist.ini";
public const string GITHUB_REPO = @"devunt/DFAssist";
pu... | unlicense | C# |
8b7429856791f31dfab695e5fa01edcd20c937dc | Add base method for testing conversion in other direction | peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu | osu.Game/Tests/Beatmaps/LegacyModConversionTest.cs | osu.Game/Tests/Beatmaps/LegacyModConversionTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using NUnit.Framework;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets;
namespace osu.Game.Tests.Beatmaps
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using NUnit.Framework;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets;
namespace osu.Game.Tests.Beatmaps
{
/// <summary>
... | mit | C# |
4bf570a180071cc8d774d0fedb0c259d1f4abf51 | Update ConsoleOutput | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Helpers/ConsoleOutput.cs | src/WeihanLi.Common/Helpers/ConsoleOutput.cs | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Helpers;
public sealed class ConsoleOutput : IDisposable
{
private TextWriter? _originalOutputWriter;
private TextWriter? _originalErrorWriter;
private readonly StringWriter _outputWriter = ne... | namespace WeihanLi.Common.Helpers;
public sealed class ConsoleOutput : IDisposable
{
private TextWriter? _originalOutputWriter;
private TextWriter? _originalErrorWriter;
private readonly StringWriter _outputWriter = new();
private readonly StringWriter _errorWriter = new();
private const int NOT_... | mit | C# |
3c13f6e53bd57db3a75c8ddbbf2be6b3b6b7c934 | Disable GetPropertyValues_NotStoredProperty_ValueEqualsNull test (#37420) | ericstj/corefx,shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,BrennanConroy/corefx,BrennanConroy/corefx... | src/System.Configuration.ConfigurationManager/tests/System/Configuration/LocalFileSettingsProviderTests.cs | src/System.Configuration.ConfigurationManager/tests/System/Configuration/LocalFileSettingsProviderTests.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.Configuration;
using Xunit;
namespace System.ConfigurationTests
{
public class LocalFileSettingsP... | // 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.Configuration;
using Xunit;
namespace System.ConfigurationTests
{
public class LocalFileSettingsP... | mit | C# |
7d8b831b0b6550a9728025553e98effff64140ee | Fix UnitTest typo | SimpleStack/simplestack.orm,SimpleStack/simplestack.orm | test/SimpleStack.Orm.Tests/Class1.cs | test/SimpleStack.Orm.Tests/Class1.cs | using System.Collections;
using System.Linq;
using Dapper;
using NUnit.Framework;
using SimpleStack.Orm.Expressions;
using SimpleStack.Orm.PostgreSQL;
namespace SimpleStack.Orm.Tests
{
[TestFixture]
public class CalculatorTests
{
// [TestCase(1, 1, 2)]
// [TestCase(-1, -1, -2)]
// [TestC... | using System.Collections;
using System.Linq;
using Dapper;
using NUnit.Framework;
using SimpleStacl.Orm;
using SimpleStack.Orm;
using SimpleStack.Orm.Expressions;
using SimpleStack.Orm.PostgreSQL;
namespace SimpleStacl.Orm.Tests
{
[TestFixture]
public class CalculatorTests
{
// [TestCase(1, 1, 2)]
/... | bsd-3-clause | C# |
94c82fc49c4698c4d43615496e30e5e8d1c52323 | revert back to 1.10 to undo strange edit | nkreipke/nhibernate-core,alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,lnu/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,RogerKratz/... | src/Iesi.Collections/AssemblyInfo.cs | src/Iesi.Collections/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior a... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior a... | lgpl-2.1 | C# |
78c7b6f8d213de9cbca88e5977a8ba071d71996f | Add "Success" to WriteKind | mrahhal/Konsola | src/Konsola/Parser/WriteKind.cs | src/Konsola/Parser/WriteKind.cs | using System;
namespace Konsola.Parser
{
public enum WriteKind
{
Normal,
Info,
Success,
Warning,
Error,
}
} | using System;
namespace Konsola.Parser
{
public enum WriteKind
{
Normal,
Info,
Warning,
Error,
}
} | mit | C# |
c7c09ac2ddc7b97e803686486867095ed8da8a69 | Fix tests | sunloving/solar-lang,ilfirin-nar/solar-lang | src/Solar.Domain.Grammar/Lexical/Services/KeywordsDirectory.cs | src/Solar.Domain.Grammar/Lexical/Services/KeywordsDirectory.cs | using System.Collections.Generic;
using Solar.Domain.Grammar.Lexical.ValueObjects.TokenTypes.Words.Keywords;
namespace Solar.Domain.Grammar.Lexical.Services
{
internal class KeywordsDirectory : IKeywordsDirectory
{
private readonly Dictionary<string, IKeywordTokenType> _keywords;
public Keywo... | using System.Collections.Generic;
using System.Linq;
using Solar.Domain.Grammar.Lexical.ValueObjects.TokenTypes.Words.Keywords;
namespace Solar.Domain.Grammar.Lexical.Services
{
internal class KeywordsDirectory : IKeywordsDirectory
{
private readonly Dictionary<string, IKeywordTokenType> _keywords;
... | apache-2.0 | C# |
2e4b52a5c37e8c89de859c5ae7773d5e7850cf0b | Test was not complete | grantadesign/AutoMapper,mwpowellhtx/AutoMapper,EricSB/AutoMapper,kisflying/AutoMapper,jnm2/AutoMapper,grantadesign/AutoMapper,AutoMapper/AutoMapper,TylerCarlson1/AutoMapper,iaingalloway/AutoMapper,GeertVL/AutoMapper,sh-sabooni/AutoMapper,peterchase/AutoMapper,wilbit/AutoMapper,peterchase/AutoMapper,jasonholloway/AutoMa... | src/UnitTests/MemberNameReplacers.cs | src/UnitTests/MemberNameReplacers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AutoMapper.UnitTests
{
public class When_using_a_member_name_replacer : AutoMapperSpecBase
{
public class Source
{
public int Value { get; set; }
public int Ävía... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AutoMapper.UnitTests
{
public class When_using_a_member_name_replacer : AutoMapperSpecBase
{
public class Source
{
public int Value { get; set; }
public int Ävía... | mit | C# |
7ef12630b735f2cfdc08ef5514f18e983c1582f0 | add Rule | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/OpenGLObjects/ModernRendering/Renderer.DoInitialize.cs | CSharpGL/OpenGLObjects/ModernRendering/Renderer.DoInitialize.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpGL
{
public partial class Renderer
{
protected override void DoInitialize()
{
// init shader program
ShaderProgram program = new ShaderPr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpGL
{
public partial class Renderer
{
protected override void DoInitialize()
{
// init shader program
ShaderProgram program = new ShaderPr... | mit | C# |
823123b9af7778d954770bf2ee3ee210525c4d97 | Update GetSetThemeColors.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-c... | Examples/CSharp/Formatting/Excel2007Themes/GetSetThemeColors.cs | Examples/CSharp/Formatting/Excel2007Themes/GetSetThemeColors.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
using System;
namespace Aspose.Cells.Examples.Formatting.Excel2007Themes
{
public class GetSetThemeColors
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
... | using System.IO;
using Aspose.Cells;
using System.Drawing;
using System;
namespace Aspose.Cells.Examples.Formatting.Excel2007Themes
{
public class GetSetThemeColors
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspos... | mit | C# |
20423cedaf497af39c3cc102ee415c0c0904f138 | Fix comment in quickstarts | Azure/azure-mobile-apps-quickstarts,shrishrirang/azure-mobile-apps-quickstarts,Azure/azure-mobile-apps-quickstarts,soninaren/azure-mobile-services-quickstarts,fabiocav/azure-mobile-services-quickstarts,Azure/azure-mobile-apps-quickstarts,soninaren/azure-mobile-services-quickstarts,lindydonna/azure-mobile-apps-quickstar... | Quickstart/ZUMOAPPNAMEService/Controllers/TodoItemController.cs | Quickstart/ZUMOAPPNAMEService/Controllers/TodoItemController.cs | using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using Microsoft.WindowsAzure.Mobile.Service;
using ZUMOAPPNAMEService.DataObjects;
using ZUMOAPPNAMEService.Models;
namespace ZUMOAPPNAMEService.Controllers
{
public class TodoIt... | using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using Microsoft.WindowsAzure.Mobile.Service;
using ZUMOAPPNAMEService.DataObjects;
using ZUMOAPPNAMEService.Models;
namespace ZUMOAPPNAMEService.Controllers
{
public class TodoIt... | apache-2.0 | C# |
2d22289954e7c14beef2fa02fcf8fc13b941e711 | Test for comparator | FoC-/SnakeBattle.Net,FoC-/SnakeBattle.Net,FoC-/SnakeBattle.Net | SnakeBattleNet.Test.Core/BattleManager/when_call_comparator_with_predifined_chip_antother_tail.cs | SnakeBattleNet.Test.Core/BattleManager/when_call_comparator_with_predifined_chip_antother_tail.cs | using System;
using System.Collections.Generic;
using Machine.Specifications;
using SnakeBattleNet.Core;
using SnakeBattleNet.Core.Battlefield;
using SnakeBattleNet.Core.Battlemanager;
using SnakeBattleNet.Core.Common;
using SnakeBattleNet.Core.Snake;
using It = Machine.Specifications.It;
namespace SnakeBatt... | using Machine.Specifications;
using SnakeBattleNet.Core.Battlemanager;
namespace SnakeBattleNet.Test.Core
{
[Subject(typeof(Comparator))]
class when_call_comparator_with_predifined_chip_antother_tail
{
private It should_return_move_on_that_row = () =>
{
};
... | mit | C# |
d63587e9830330307f6a47d67a58a92b5af58768 | Update CommitmentsClientApiConfiguration.cs | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Client/Configuration/CommitmentsClientApiConfiguration.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Client/Configuration/CommitmentsClientApiConfiguration.cs | using SFA.DAS.Http.Configuration;
namespace SFA.DAS.CommitmentsV2.Api.Client.Configuration
{
public class CommitmentsClientApiConfiguration : IManagedIdentityClientConfiguration
{
public string ApiBaseUrl { get; set; }
public string IdentifierUri { get; set; }
}
}
| using SFA.DAS.Http.Configuration;
namespace SFA.DAS.CommitmentsV2.Api.Client.Configuration
{
public class CommitmentsClientApiConfiguration : IManagedIdentityClientConfiguration
{
public string ApiBaseUrl { get; set; }
public string Tenant { get; set; }
public string ClientId { get; se... | mit | C# |
c69e874bf0d34acda73536dcd4ab809bbb920627 | Simplify the example for Google.Cloud.Irm.V1Alpha2 | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet | apis/Google.Cloud.Irm.V1Alpha2/Google.Cloud.Irm.V1Alpha2.Snippets/IncidentServiceClientSnippets.cs | apis/Google.Cloud.Irm.V1Alpha2/Google.Cloud.Irm.V1Alpha2.Snippets/IncidentServiceClientSnippets.cs | // Copyright 2019 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 2019 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# |
c1f2c0393a9c55fde65c883bfc4e4185722ed621 | Update field name change that got missed | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.... | src/Glimpse.Web.Common/Framework/FixedRequestAuthorizerProvider.cs | src/Glimpse.Web.Common/Framework/FixedRequestAuthorizerProvider.cs | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class FixedRequestAuthorizerProvider : IRequestAuthorizerProvider
{
public FixedRequestAuthorizerProvider()
: this(Enumerable.Empty<IRequestAuthorizer>())
{
}
public FixedRequestAut... | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class FixedRequestAuthorizerProvider : IRequestAuthorizerProvider
{
public FixedRequestAuthorizerProvider()
: this(Enumerable.Empty<IRequestAuthorizer>())
{
}
public FixedRequestAut... | mit | C# |
d3d5fe63581dd04c99b338c7e7105604075a5f82 | Add msising reference | EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework | osu.Framework.iOS/IOSGameHost.cs | osu.Framework.iOS/IOSGameHost.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Graphics.Textures;
using osu.Framework.Input;
using osu.Framework.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Textures;
using osu.Framework.Input;
using osu.Framework.Input.Handlers;
using osu.Framework... | mit | C# |
024d4d871143a10a0a2eae711b85f58e4a87ae6e | remove lazy decorartion in Observation model | HatfieldConsultants/Hatfield.EnviroData.WQDataProfile | Source/Hatfield.EnviroData.DataProfile.WQ.Models/WaterQualityObservation.cs | Source/Hatfield.EnviroData.DataProfile.WQ.Models/WaterQualityObservation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hatfield.EnviroData.DataProfile.WQ.Models
{
public class WaterQualityObservation : WQProfileEntity
{
public long Id { get; protected set; }
public Site Site { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hatfield.EnviroData.DataProfile.WQ.Models
{
public class WaterQualityObservation : WQProfileEntity
{
public long Id { get; protected set; }
public Lazy<Site> Site { get... | mpl-2.0 | C# |
275710ecb94bad7bda43e9c34fa88567083779dc | Remove extra unsafe keyword | mmaitre314/VideoEffect,mmaitre314/VideoEffect,mmaitre314/VideoEffect | VideoEffects/VideoEffectsTestApp/VideoEffectsTestApp.Shared/BitmapEffect.cs | VideoEffects/VideoEffectsTestApp/VideoEffectsTestApp.Shared/BitmapEffect.cs | using Lumia.Imaging;
using Lumia.Imaging.Artistic;
using System;
using VideoEffects;
using VideoEffectExtensions;
namespace VideoEffectsTestApp
{
/// <summary>
/// Applies a blue filter to the video
/// </summary>
class BitmapEffect : IBitmapVideoEffect
{
public unsafe void Process(Bitmap ... | using Lumia.Imaging;
using Lumia.Imaging.Artistic;
using System;
using VideoEffects;
using VideoEffectExtensions;
namespace VideoEffectsTestApp
{
/// <summary>
/// Applies a blue filter to the video
/// </summary>
class BitmapEffect : IBitmapVideoEffect
{
public unsafe void Process(Bitmap ... | apache-2.0 | C# |
2df8f2399483e055468fedb3ac5e55f16713087b | Add notes | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/Embed.cs | Battery-Commander.Web/Models/Embed.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Embed
{
// FIXME: Need to figure out how to deconflict multiple embeds with the same route, i.e. multiple units allocated /Calendar or /SU... | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Embed
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public int? UnitId { get; ... | mit | C# |
7efa5df169e2ec8c4776c7005536d349068499f9 | Remove obsolete usings | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetCohortSummary/GetCohortSummaryHandler.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetCohortSummary/GetCohortSummaryHandler.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.CommitmentsV2.Data;
using SFA.DAS.CommitmentsV2.Data.QueryExtensions;
namespace SFA.DAS.CommitmentsV2.Application.Queries.GetCohortSummary
{
public class GetCohortSummaryHandler : IRequestHandler<GetCohortSummaryReque... | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using SFA.DAS.CommitmentsV2.Data;
using SFA.DAS.CommitmentsV2.Data.QueryExtensions;
using SFA.DAS.HashingService;
namespace SFA.DAS.CommitmentsV2.Application.Queries.GetCohortSumm... | mit | C# |
dd1496d58a4c36d74c5430d3759206c3bb7de32a | Update ConfigHelper.cs | media-tools/core,media-tools/core | Core/Core.Platform/IO/ConfigHelper.cs | Core/Core.Platform/IO/ConfigHelper.cs | //
// Networking.cs
//
// Author:
// Tobias Schulz <tobiasschulz.code@outlook.de>
//
// Copyright (c) 2015 Tobias Schulz
//
// 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 r... | //
// Networking.cs
//
// Author:
// Tobias Schulz <tobiasschulz.code@outlook.de>
//
// Copyright (c) 2015 Tobias Schulz
//
// 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 r... | mit | C# |
c35a82c8a931f964b8b174a25a286398b7813392 | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
40011ad43434c0369b8589af88e493ae55557445 | remove redundant usings | adamralph/liteguard,adamralph/liteguard | targets/Program.cs | targets/Program.cs | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", "bu... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn... | mit | C# |
758d43f4a5436db4d3a493d6bc90337436ffdf95 | Change NotImplemented to NotSupportedException | lou1306/CIV,lou1306/CIV | CIV.Common/TopSet.cs | CIV.Common/TopSet.cs | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace CIV.Common
{
/// <summary>
/// Top set for type T.
/// </summary>
/// <remarks>
/// The Top set contains all elements of type T and as such it is the
/// superset of any other IEnumerable<T>, never a... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace CIV.Common
{
/// <summary>
/// Top set for type T.
/// </summary>
/// <remarks>
/// The Top set contains all elements of type T and as such it is the
/// superset of any other IEnumerable<T>, never a... | mit | C# |
2ca1a6c7e8b574d24c7cffba60cc59c79625dc26 | Update KendoNumericTextBox test | atata-framework/atata-kendoui,atata-framework/atata-kendoui | src/Atata.KendoUI.Tests/KendoNumericTextBoxTest.cs | src/Atata.KendoUI.Tests/KendoNumericTextBoxTest.cs | using NUnit.Framework;
using OpenQA.Selenium;
namespace Atata.KendoUI.Tests
{
public class KendoNumericTextBoxTest : UITestFixture
{
private NumericTextBoxPage page;
protected override void OnSetUp()
{
page = Go.To<NumericTextBoxPage>();
}
[Test]
... | using NUnit.Framework;
namespace Atata.KendoUI.Tests
{
public class KendoNumericTextBoxTest : UITestFixture
{
private NumericTextBoxPage page;
protected override void OnSetUp()
{
page = Go.To<NumericTextBoxPage>();
}
[Test]
public void Ken... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.