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 |
|---|---|---|---|---|---|---|---|---|
d9f7fe5c43cb340a9e061c79e94ad66b93ccaafb | Refactor baseconfig. | Joshua-Ashton/TheGuin2 | src/ConfigSchema/BaseConfig.cs | src/ConfigSchema/BaseConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace TheGuin2
{
public class ConfigDefault
{
public string DefaultDir;
}
public class DefaultConfigDefault : ConfigDefault
{
public DefaultConfigDefault()
{
DefaultD... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace TheGuin2
{
public class ConfigDefault
{
public string DefaultDir;
}
public class DefaultConfigDefault : ConfigDefault
{
public DefaultConfigDefault()
{
DefaultD... | mit | C# |
48430df3fb919be45a557e247614c78253a2b9e7 | Create filter when -* is not included | michaelsync/Giles,michaelsync/Giles,codereflection/Giles,michaelsync/Giles,codereflection/Giles,michaelsync/Giles,codereflection/Giles | src/Giles.Core/Configuration/Filter.cs | src/Giles.Core/Configuration/Filter.cs | using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Contains(entry.Key)))
{
... | using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Contains(entry.Key)))
{
... | mit | C# |
32761126f2a3dcec12eb63bf48454b0045671154 | Fix message on project schedule not configured | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | src/JoinRpg.WebPortal.Models/Schedules/ScheduleConfigProblemsViewModel.cs | src/JoinRpg.WebPortal.Models/Schedules/ScheduleConfigProblemsViewModel.cs | using System.ComponentModel;
namespace JoinRpg.Web.Models.Schedules
{
public enum ScheduleConfigProblemsViewModel
{
[Description("Расписание не настроено для этого проекта. Вам необходимо добавить поля для помещения и расписания.")]
FieldsNotSet,
[Description("У полей, привязанных к рас... | using System.ComponentModel;
namespace JoinRpg.Web.Models.Schedules
{
public enum ScheduleConfigProblemsViewModel
{
//TODO поменять сообщение, когда сделаем настроечный экран
[Description("Расписание не настроено для этого проекта, обратитесь в техподдержку")]
FieldsNotSet,
[Des... | mit | C# |
6125643c3f8086b0f44973b76556eef58bb0ae66 | Bump copyright year | tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,umbraco/Umbraco-CMS,hfloyd/Umbraco-CMS,leekelleher/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,hfloyd/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,NikRimington/Umbraco-CMS,KevinJum... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
dbad62688e8309b4f42eb7827e6be8a16f045553 | Clean up Qt 4.7.1 thirdparty module constructor | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | packages/Qt/4.7.1/Qt.cs | packages/Qt/4.7.1/Qt.cs | // <copyright file="Qt.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>Qt package</summary>
// <author>Mark Final</author>
[assembly:Opus.Core.RegisterToolset("Qt", typeof(Qt.Toolset))]
namespace Qt
{
public sealed class Qt : QtCommon.QtCommon
{
public Qt(Opus.Core.T... | // <copyright file="Qt.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>Qt package</summary>
// <author>Mark Final</author>
[assembly:Opus.Core.RegisterToolset("Qt", typeof(Qt.Toolset))]
namespace Qt
{
public sealed class Qt : QtCommon.QtCommon
{
public Qt(Opus.Core.T... | bsd-3-clause | C# |
530404962ff67eadb57109eda7c2cb4441fd263e | Update version numbers for BlazorExtension | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.cs | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.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 Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in ... | // 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 Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in ... | apache-2.0 | C# |
118274da2309c8b7110dfc0f14a7ea17108ec50a | Fix antiraid/antispam migration | ShadowNoire/NadekoBot | NadekoBot.Core/Migrations/20210422130207_antiraid-antispam-time-addrole.cs | NadekoBot.Core/Migrations/20210422130207_antiraid-antispam-time-addrole.cs | using Microsoft.EntityFrameworkCore.Migrations;
namespace NadekoBot.Migrations
{
public partial class antiraidantispamtimeaddrole : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<ulong>(
name: "RoleId",
... | using Microsoft.EntityFrameworkCore.Migrations;
namespace NadekoBot.Migrations
{
public partial class antiraidantispamtimeaddrole : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<ulong>(
name: "RoleId",
... | mit | C# |
9aca7c060868c64137303b860427fc38955ecc07 | Fix throw exception by \text{∅} | ForNeVeR/wpf-math | src/WpfMath/Boxes/CharBox.cs | src/WpfMath/Boxes/CharBox.cs | using System.Linq;
using System.Windows;
using System.Windows.Media;
using WpfMath.Exceptions;
using WpfMath.Rendering;
namespace WpfMath.Boxes
{
// Box representing single character.
internal class CharBox : Box
{
public CharBox(TexEnvironment environment, CharInfo charInfo)
: base(env... | using System.Windows;
using System.Windows.Media;
using WpfMath.Rendering;
namespace WpfMath.Boxes
{
// Box representing single character.
internal class CharBox : Box
{
public CharBox(TexEnvironment environment, CharInfo charInfo)
: base(environment)
{
this.Characte... | mit | C# |
5d04e79cfca64917c56885aa4e3b68157c80a532 | standardize an IAM tag | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | iam/api/Access/AddMember.cs | iam/api/Access/AddMember.cs | // Copyright 2018 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 agree... | // Copyright 2018 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 agree... | apache-2.0 | C# |
47634c90cf001c7440708ff2afab083a8b2a40b2 | change home page for placeholder | nikkh/xekina,nikkh/xekina | XekinaSample/XekinaWebApp/Views/Home/Index.cshtml | XekinaSample/XekinaWebApp/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>#Name_Placeholder# Sample Web Application</h1>
<p class="lead">This web application has been automatically generated and deployed by Xekina.</p>
<p><a href="https://www.xekina.com" class="btn btn-primary btn-lg">Learn more »</a></p>
<... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Xekina Sample Web Application</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="https://asp.net" class="btn btn-primary btn-lg">Learn more ... | unlicense | C# |
7659808df11a5f8e44e72c5c3dd340ac64fa5f4e | Add manual test case for reproducing issue | ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.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 NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Tests.Visual.Testing
{
public ... | // 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 NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Tests.Visual.Testing
{
public ... | mit | C# |
d33e70a11b70460c050e7f2cc85eaba11ee1bc79 | Mask ClientSecret in Settings admin | OShop/OShop.PayPal,OShop/OShop.PayPal | Views/Admin/Settings.cshtml | Views/Admin/Settings.cshtml | @model OShop.PayPal.Models.PaypalSettings
@{
Layout.Title = T("PayPal Settings");
}
@using (Html.BeginFormAntiForgeryPost()) {
@Html.ValidationSummary()
<fieldset>
<legend>@T("PayPal Account")</legend>
<div>
@Html.LabelFor(m => m.ClientId, T("Client ID"))
@Html.Tex... | @model OShop.PayPal.Models.PaypalSettings
@{
Layout.Title = T("PayPal Settings");
}
@using (Html.BeginFormAntiForgeryPost()) {
@Html.ValidationSummary()
<fieldset>
<legend>@T("PayPal Account")</legend>
<div>
@Html.LabelFor(m => m.ClientId, T("Client ID"))
@Html.Tex... | mit | C# |
35420d1aa556a130a62e1c3e4052ce2e8154f33c | Test cleanup | bsimser/GeoJSON.NET | src/BilSimser.GeoJson.Tests/when_converting.cs | src/BilSimser.GeoJson.Tests/when_converting.cs | using System.IO;
using System.Xml;
using NUnit.Framework;
namespace BilSimser.GeoJson.Tests
{
[TestFixture]
public class when_converting
{
[Test]
public void minimal_kml_result_is_not_blank()
{
const string fileName = "borabora.kml";
var path = Path.Combine(... | using System.IO;
using System.Xml;
using NUnit.Framework;
namespace BilSimser.GeoJson.Tests
{
[TestFixture]
public class when_converting
{
[Test]
public void minimal_kml_result_is_not_blank()
{
const string fileName = "borabora.kml";
var path = Path.Combine(... | mit | C# |
2f1cd7f457b54f1b88b8e6e1881c6b1227d5a094 | Update src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs | src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Company.Application1;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
})
.Build();
await host.RunAsync();
| using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Company.Application1;
using IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
})
.Build();
await host.RunAsync();
| apache-2.0 | C# |
4ce3a7806690b7672080253bc13caaf7e9fe3813 | Update Pattern.cs | NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,Drezi126/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,tacchinotacchi/osu,smoogipoo/osu,Nabile-Rahmani/osu,peppy/osu-new,naoey/osu,smoogipooo/osu,UselessToucan/osu,osu-RP/osu-RP,Damnae/osu,Drab... | osu.Game.Rulesets.Mania/Beatmaps/Patterns/Pattern.cs | osu.Game.Rulesets.Mania/Beatmaps/Patterns/Pattern.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Mania.Objects;
namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns
{
/// <sum... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mania.Objects;
namespace osu... | mit | C# |
5da7cb5397867b99d671d21c81dd395ee270b284 | Make comment ID public for test | peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Online/API/Requests/CommentDeleteRequest.cs | osu.Game/Online/API/Requests/CommentDeleteRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Net.Http;
using osu.Framework.IO.Network;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class CommentDel... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Net.Http;
using osu.Framework.IO.Network;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class CommentDel... | mit | C# |
383249bd6194f57a14ce4a5345b3556648f777fc | test ci | dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing | eShopModernizedMVCSolution/src/eShopModernizedMVC/Views/Shared/_Layout.cshtml | eShopModernizedMVCSolution/src/eShopModernizedMVC/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Catalog manager (MVC)</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<header class="navbar navbar-... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Catalog manager (MVC)</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<header class="navbar navbar-... | mit | C# |
14fb21e8601316c410bef455afaaeae5a16fed48 | add comment | zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning | my_aspnetmvc_learning/Controllers/ImageController.cs | my_aspnetmvc_learning/Controllers/ImageController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace my_aspnetmvc_learning.Controllers
{
public class ImageController : Controller
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
// GET: U... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace my_aspnetmvc_learning.Controllers
{
public class ImageController : Controller
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
// GET: U... | mit | C# |
3a2e44331276ecb9642a595a5cf4d0c640549d70 | add FA5 classes to fix missing icons on leaflet maps pages (#31) | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/Shared/SocialMediaLinks.cshtml | src/StockportWebapp/Views/Shared/SocialMediaLinks.cshtml | @model IEnumerable<StockportWebapp.Models.SocialMediaLink>
@inject StockportWebapp.Config.BusinessId BusinessId
<div class="footer-social-links">
@{ var nameOfSite = ""; }
@if (BusinessId.ToString() == "stockportgov")
{
nameOfSite = "stockport council";
}
else if (BusinessId.ToString() ==... | @model IEnumerable<StockportWebapp.Models.SocialMediaLink>
@inject StockportWebapp.Config.BusinessId BusinessId
<div class="footer-social-links">
@{ var nameOfSite = ""; }
@if (BusinessId.ToString() == "stockportgov")
{
nameOfSite = "stockport council";
}
else if (BusinessId.ToString() ==... | mit | C# |
a90fa89fd87c079fdfc5cbd763e8c5cb395ca87c | Fix type mismatch forinterface IEtl and EtlXml | Seddryck/NBi,Seddryck/NBi | NBi.Xml/Items/EtlXml.cs | NBi.Xml/Items/EtlXml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core.Etl;
namespace NBi.Xml.Items
{
public class EtlXml: ExecutableXml, IEtl
{
[XmlAttribute("server")]
public string Server { get; set; }
[XmlAttribute("path")]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core.Etl;
namespace NBi.Xml.Items
{
public class EtlXml: ExecutableXml, IEtl
{
[XmlAttribute("server")]
public string Server { get; set; }
[XmlAttribute("path")]
... | apache-2.0 | C# |
b6ae2e8af6f270f6966db803822fe2ba7f766e22 | Fix window scaling | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/Unity/CW_Scale.cs | Source/ContractsWindow.Unity/Unity/CW_Scale.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Unity
{
[RequireComponent(typeof(CanvasGroup), typeof(RectTransform))]
public class CW_Scale : CW_Popup
{
[SerializeField]
private Slider SliderScale ... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Unity
{
public class CW_Scale : CW_Popup
{
[SerializeField]
private Slider SliderScale = null;
[SerializeField]
private Toggle FontToggle = null;
... | mit | C# |
f1073f87ececdd90f8a0a11230a97dbca0ee5de4 | optimize china provider | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/ChinaProvider.cs | Src/Nager.Date/PublicHolidays/ChinaProvider.cs | using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class ChinaProvider : IPublicHolidayProvider
{
public IEnumerable<PublicHoliday> Get(int year)
{
//TODO: ... | using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class ChinaProvider : IPublicHolidayProvider
{
public IEnumerable<PublicHoliday> Get(int year)
{
//TODO: ... | mit | C# |
6c871602664695637d26b93c62d315264d630b3a | add UpdateLayoutEx() | TakeAsh/cs-WpfUtility | WpfUtility/FrameworkElementExtensionMethods.cs | WpfUtility/FrameworkElementExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Threading;
using TakeAshUtility;
namespace WpfUtility {
public static class FrameworkElementExtensionMethods {
public static T SafeTryFindResource<T>(
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using TakeAshUtility;
namespace WpfUtility {
public static class FrameworkElementExtensionMethods {
public static T SafeTryFindResource<T>(
this FrameworkElement element,
... | mit | C# |
ea4fe85ca2c3abe4b7b99335b71c56a7c344a9e0 | Add several BigInteger before ulong.MaxValue | fredatgithub/PrimeSearch,fredatgithub/PrimeSearch,fredatgithub/PrimeSearch | PrimeSearch/Program.cs | PrimeSearch/Program.cs | using System;
namespace PrimeSearch
{
using System.Numerics;
internal class Program
{
private static void Main()
{
for (ulong i = 2; i < 50001; i++)
{
if (IsPrime(i))
{
Console.WriteLine(i);
}
}
BigInteger number = new BigInteger(ulong.MaxValue... | using System;
namespace PrimeSearch
{
using System.Data.SqlTypes;
using System.Numerics;
internal class Program
{
private static void Main()
{
for (ulong i = 2; i < 50001; i++)
{
if (IsPrime(i))
{
Console.WriteLine(i);
}
}
BigInteger number ... | mit | C# |
9a470c3638d470e346a39a0147f802268bcedd76 | Fix bug in PMs where incoming PM would cause a crash | ethanmoffat/EndlessClient | EOLib/PacketHandlers/Chat/PrivateMessageHandler.cs | EOLib/PacketHandlers/Chat/PrivateMessageHandler.cs | using System;
using AutomaticTypeMapper;
using EOLib.Domain.Chat;
using EOLib.Domain.Login;
using EOLib.Net;
namespace EOLib.PacketHandlers.Chat
{
[AutoMappedType]
public class PrivateMessageHandler : PlayerChatByNameBase
{
private readonly IChatRepository _chatRepository;
public override... | using System;
using AutomaticTypeMapper;
using EOLib.Domain.Chat;
using EOLib.Domain.Login;
using EOLib.Net;
namespace EOLib.PacketHandlers.Chat
{
[AutoMappedType]
public class PrivateMessageHandler : PlayerChatByNameBase
{
private readonly IChatRepository _chatRepository;
public override... | mit | C# |
24459579a61677f1d7f2238dcbef9e2e5e8f5e7f | Clean up LightDevice example | NZSmartie/OICNet | samples/OICNet.Server.Example/Devices/LightDevice.cs | samples/OICNet.Server.Example/Devices/LightDevice.cs | using System;
using OICNet.ResourceTypes;
using System.ComponentModel;
using Microsoft.Extensions.Logging;
namespace OICNet.Server.Example.Devices
{
public class LightDevice : OicDevice
{
private readonly ILogger<LightDevice> _logger;
[OicResource(OicResourcePolicies.Discoverable | OicResourc... | using System;
using OICNet.ResourceTypes;
using System.ComponentModel;
using Microsoft.Extensions.Logging;
namespace OICNet.Server.Example.Devices
{
public class LightDevice : OicDevice
{
private readonly ILogger<LightDevice> _logger;
[OicResource(OicResourcePolicies.Discoverable | OicResourc... | apache-2.0 | C# |
7e3a710a9e96133e7521d58b673387b8522dd44d | Update `LogJsonConfigPathEventHandler` to handle `AtataContextInitCompletedEvent` | atata-framework/atata-configuration-json | src/Atata.Configuration.Json/EventHandlers/LogJsonConfigPathEventHandler.cs | src/Atata.Configuration.Json/EventHandlers/LogJsonConfigPathEventHandler.cs | namespace Atata.Configuration.Json
{
internal sealed class LogJsonConfigPathEventHandler : IEventHandler<AtataContextInitCompletedEvent>
{
private readonly string _configPath;
internal LogJsonConfigPathEventHandler(string configPath)
{
_configPath = configPath;
}
... | namespace Atata.Configuration.Json
{
internal sealed class LogJsonConfigPathEventHandler : IEventHandler<AtataContextInitEvent>
{
private readonly string _configPath;
internal LogJsonConfigPathEventHandler(string configPath)
{
_configPath = configPath;
}
pu... | apache-2.0 | C# |
11414602dbf1795021e8d9a84603e52b19d083ba | Add "partial" to MarshalAsAttribute (dotnet/coreclr#24014) | wtgodbe/corefx,wtgodbe/corefx,wtgodbe/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,shiming... | src/Common/src/CoreLib/System/Runtime/InteropServices/MarshalAsAttribute.cs | src/Common/src/CoreLib/System/Runtime/InteropServices/MarshalAsAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field |... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field |... | mit | C# |
2e818be9f93014eed59e23a3014524c4a2c90038 | Fix initialize test | genlu/roslyn,KevinRansom/roslyn,stephentoub/roslyn,tmat/roslyn,tannergooding/roslyn,KirillOsenkov/roslyn,weltkante/roslyn,ErikSchierboom/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,jmarolf/roslyn,abock/roslyn,heejaechang/roslyn,eriawan/roslyn,sharwell/roslyn,heejaechang/roslyn,davkean/roslyn,panopticoncentral/roslyn,ab... | src/Features/LanguageServer/ProtocolUnitTests/Initialize/InitializeTests.cs | src/Features/LanguageServer/ProtocolUnitTests/Initialize/InitializeTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
using LSP = Microsoft.VisualStudio.LanguageServer.Protocol;
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
using LSP = Microsoft.VisualStudio.LanguageServer.Protocol;
... | mit | C# |
f7afa80cb4eda9a2f7ce5644fe8dffe25df589ab | Remove unused imports | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/Util/HttpAuthResult.cs | SignInCheckIn/SignInCheckIn/Util/HttpAuthResult.cs | using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace SignInCheckIn.Util
{
public class HttpAuthResult : IHttpActionResult
{
private readonly string _token;
private readonly string _refreshToken;
private readonly IHttpActionResult... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace SignInCheckIn.Util
{
public class HttpAuthResult : IHttpActionResult
{
private readonly string _token;
private readonly string _refreshT... | bsd-2-clause | C# |
7a68546be08a9db10a287be00d01ded31f1961dd | Make Megavoice output number files for each book from 001 | sillsdev/hearthis,sillsdev/hearthis,sillsdev/hearthis | src/HearThis/Publishing/MegaVoicePublishingMethod.cs | src/HearThis/Publishing/MegaVoicePublishingMethod.cs | using System.Collections.Generic;
using System.IO;
using HearThis.Script;
using Palaso.Progress;
namespace HearThis.Publishing
{
/// <summary>
/// From the nscribe manual:
/// All audio content that you wish to use with the nScribe software must be in the form of mono, 16 bit, 44.1 khz, WAV (.wav) files.
/// If yo... | using System.IO;
using HearThis.Script;
using Palaso.Progress;
namespace HearThis.Publishing
{
/// <summary>
/// From the nscribe manual:
/// All audio content that you wish to use with the nScribe software must be in the form of mono, 16 bit, 44.1 khz, WAV (.wav) files.
/// If you plan to use Auto-Arrange Nested ... | mit | C# |
15aff34ff88bb821734c6518607c7ef35b28487d | Scrub id_token_hint from EndSession request log (#2917) | IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | src/Logging/Models/EndSessionRequestValidationLog.cs | src/Logging/Models/EndSessionRequestValidationLog.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using IdentityModel;
using IdentityServer4.Extensions;
using IdentityServer4.Validation;
namespace Identit... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using IdentityModel;
using IdentityServer4.Extensions;
using IdentityServer4.Validation;
namespace Identit... | apache-2.0 | C# |
835935201e081fef38131589411993a963c8afd2 | Change main to use test003 | ilovepi/Compiler,ilovepi/Compiler | compiler/Program/Program.cs | compiler/Program/Program.cs | using System;
using compiler.frontend;
namespace Program
{
class Program
{
//TODO: adjust main to use the parser when it is complete
static void Main(string[] args)
{
// using (Lexer l = new Lexer(@"../../testdata/big.txt"))
// {
// Token t;
// ... | using System;
using compiler.frontend;
namespace Program
{
class Program
{
//TODO: adjust main to use the parser when it is complete
static void Main(string[] args)
{
// using (Lexer l = new Lexer(@"../../testdata/big.txt"))
// {
// Token t;
// ... | mit | C# |
8bf602d960752fd61d7dafbddd2bffa062331797 | add link to area | OdeToCode/AddFeatureFolders | sample/WebApplication/Features/Shared/_Layout.cshtml | sample/WebApplication/Features/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
@await Component.InvokeAsync("MainMenu")
@RenderBody()
<footer>
Footer rendered by _Layout<br />
<a href="/">Home</a><br/>
<a href="/Foo/Home... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
@await Component.InvokeAsync("MainMenu")
@RenderBody()
<footer>
Footer rendered by _Layout<br />
<a href="/">Home</a><br/>
<a href="/Foo/Home... | mit | C# |
0d6679a468852b955a01fec2d43b3980f1157503 | Fix GeocodingService URI selection | ericnewton76/gmaps-api-net | src/Google.Maps/Geocoding/GeocodingService.cs | src/Google.Maps/Geocoding/GeocodingService.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | apache-2.0 | C# |
feaa26744c6d4e3fe68092c5a4288c6851676226 | Update MvxFormsApp.cs | Ideine/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins | FormsPresenters/Core/MvxFormsApp.cs | FormsPresenters/Core/MvxFormsApp.cs | // MvxFormsApp.cs
// 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk
// Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Tomasz Cielecki, @cheesebaron, mvxplugins@ostebaronen.dk
... | // MvxFormsApp.cs
// 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk
// Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Tomasz Cielecii, @cheesebaron, mvxplugins@ostebaronen.dk
... | apache-2.0 | C# |
fb9a54be2f7913fac00903f1063e69148a44c59c | Update to use the new API. | jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/m... | sample/mango-project/MangoProject.cs | sample/mango-project/MangoProject.cs |
using Mango;
using Mango.Templates.Minge;
namespace MangoProject {
//
// A mango application is made of MangoModules and MangoApps
// There really isn't any difference between a Module and an App
// except that the server will load the MangoApp first. A mango
// application can only have one MangoApp, but as m... |
using Mango;
using Mango.Templates.Minge;
namespace MangoProject {
//
// A mango application is made of MangoModules and MangoApps
// There really isn't any difference between a Module and an App
// except that the server will load the MangoApp first. A mango
// application can only have one MangoApp, but as m... | mit | C# |
a9660a5fe7290174378834a203e93204de0baa06 | fix ProcessExecutionExtensions | signumsoftware/framework,AlejandroCano/extensions,signumsoftware/extensions,MehdyKarimpour/extensions,MehdyKarimpour/extensions,signumsoftware/framework,AlejandroCano/extensions,signumsoftware/extensions | Signum.Windows.Extensions.UIAutomation/Proxies/ProcessExecutionExtensions.cs | Signum.Windows.Extensions.UIAutomation/Proxies/ProcessExecutionExtensions.cs | using Signum.Entities;
using Signum.Entities.Basics;
using Signum.Entities.Processes;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Signum.Windows.UIAutomation
{
public static class ProcessExecutionExtensions
{
static int Defaul... | using Signum.Entities;
using Signum.Entities.Basics;
using Signum.Entities.Processes;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Signum.Windows.UIAutomation
{
public static class ProcessExecutionExtensions
{
static int Defaul... | mit | C# |
b2b988b3e7a97f892420dffe61c4f919a2b4a3d8 | Move GetByIdIndexer to centralized GetKeyParameters implementation | tonycrider/Vipr,ysanghi/Vipr,tonycrider/Vipr,Microsoft/Vipr,v-am/Vipr,MSOpenTech/Vipr | src/Writers/CSharpWriter/CollectionGetByIdIndexer.cs | src/Writers/CSharpWriter/CollectionGetByIdIndexer.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.Collections.Generic;
using System.Linq;
using Vipr.Core;
using Vipr.Core.CodeModel;
namespace CSharpWriter
{
public class CollectionGetByIdIndexer : ... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using Vipr.Core;
using Vipr.Core.CodeModel;
namespace CSharpWriter
{
public class CollectionGetByIdIndexer : ... | mit | C# |
b611180647171f232fe317cbc1d27c3126136e17 | Change list to array in payload | BoomaNation/Booma.Payloads,BoomaNation/Booma.Payloads | src/Booma.Payloads.ServerSelection/Payloads/GameServerListResponsePayload.cs | src/Booma.Payloads.ServerSelection/Payloads/GameServerListResponsePayload.cs | using Booma.Payloads.Common;
using GladNet.Payload;
using GladNet.Serializer;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Booma.Payloads.ServerSelection
{
//TODO: Debate on authorized request
[GladNetSerializationContract]
[GladLivePayload(BoomaPayloadMessageType.GetGameServerListR... | using Booma.Payloads.Common;
using GladNet.Payload;
using GladNet.Serializer;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Booma.Payloads.ServerSelection
{
//TODO: Debate on authorized request
[GladNetSerializationContract]
[GladLivePayload(BoomaPayloadMessageType.GetGameServerListR... | mit | C# |
9a90a757f1c5be22ae088c501f74e06a115c777a | add include_depth | PKRoma/libgit2sharp,libgit2/libgit2sharp | LibGit2Sharp/Core/GitConfigEntry.cs | LibGit2Sharp/Core/GitConfigEntry.cs | using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct GitConfigEntry
{
public char* namePtr;
public char* valuePtr;
public uint include_depth;
public uint level;
public void* fre... | using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct GitConfigEntry
{
public char* namePtr;
public char* valuePtr;
public uint level;
public void* freePtr;
public void* payloadP... | mit | C# |
c579e701c4bba3f5a52322da1cbed0b8ef808b76 | Hide external process windows. | trondr/NMultiTool,trondr/NMultiTool | src/NMultiTool.Library/Module/Commands/ConvertAllSvgToIco/ProcessProvider.cs | src/NMultiTool.Library/Module/Commands/ConvertAllSvgToIco/ProcessProvider.cs | using System.Diagnostics;
using Common.Logging;
using NMultiTool.Library.Module.Commands.ConvertSvgToIco;
namespace NMultiTool.Library.Module.Commands.ConvertAllSvgToIco
{
public class ProcessProvider : IProcessProvider
{
private readonly ILog _logger;
public ProcessProvider(ILog logger)
... | using System.Diagnostics;
using Common.Logging;
using NMultiTool.Library.Module.Commands.ConvertSvgToIco;
namespace NMultiTool.Library.Module.Commands.ConvertAllSvgToIco
{
public class ProcessProvider : IProcessProvider
{
private readonly ILog _logger;
public ProcessProvider(ILog logger)
... | bsd-3-clause | C# |
6c13258fddf02d0090be3f0a4d572ced83472515 | Update loading logging | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.Text/Configuration/ExtendedLexiconFactory.cs | src/Sentiment/Wikiled.Sentiment.Text/Configuration/ExtendedLexiconFactory.cs | using System;
using System.IO;
using NLog;
using Wikiled.Common.Arguments;
using Wikiled.Sentiment.Text.Parser;
using Wikiled.Sentiment.Text.Resources;
using Wikiled.Text.Analysis.Dictionary;
namespace Wikiled.Sentiment.Text.Configuration
{
public class ExtendedLexiconFactory : IExtendedLexiconFactory
{
... | using System;
using System.IO;
using NLog;
using Wikiled.Common.Arguments;
using Wikiled.Sentiment.Text.Parser;
using Wikiled.Sentiment.Text.Resources;
using Wikiled.Text.Analysis.Dictionary;
namespace Wikiled.Sentiment.Text.Configuration
{
public class ExtendedLexiconFactory : IExtendedLexiconFactory
{
... | apache-2.0 | C# |
6c1cd102af524163b85e1bf4116d08abadd3bfde | fix for activation function | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/ActivationFunctions/AbsoluteXActivationFunction.cs | NeuralNetwork/NeuralNetwork/ActivationFunctions/AbsoluteXActivationFunction.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork.ActivationFunctions
{
public class AbsoluteXActivationFunction : IActivationFunction
{
public double Calculate(double sumOfInputsAndBias)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork.ActivationFunctions
{
public class AbsoluteXActivationFunction : IActivationFunction
{
double Calculate(double sumOfInputsAndBias)
{
... | mit | C# |
b914bc8f47987d57f37aef1098b44640dc3e6121 | Refactor ExtendedStringFormatter | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ExtendedStringFormatter.cs | src/Atata/ExtendedStringFormatter.cs | using System;
using System.Globalization;
namespace Atata
{
public class ExtendedStringFormatter : IFormatProvider, ICustomFormatter
{
private const string InnerFormatValueIndicator = "*";
public static ExtendedStringFormatter Default { get; } = new ExtendedStringFormatter();
public ... | using System;
using System.Globalization;
namespace Atata
{
public class ExtendedStringFormatter : IFormatProvider, ICustomFormatter
{
private const string InnerFormatValueIndicator = "*";
public static ExtendedStringFormatter Default { get; } = new ExtendedStringFormatter();
public ... | apache-2.0 | C# |
4fe69dbc896d77fd1efea4c469254fdbb3563fe0 | Fix context menu sub-menu display | johnneijzen/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu | osu.Game/Graphics/UserInterface/OsuContextMenu.cs | osu.Game/Graphics/UserInterface/OsuContextMenu.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 osuTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects... | // 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 osuTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects... | mit | C# |
d4443775646dd64837094cf4193e9621c7f9445f | Add example | fredatgithub/AtlasReloaded | UsageConsole/Program.cs | UsageConsole/Program.cs | using System;
using Ritter.Atlas;
namespace UsageConsole
{
class Program
{
static void Main()
{
Action<string> Display = s => Console.WriteLine(s);
var zipcode = new ZipCode { Id = "17011" };
var zipcode2 = new ZipCode { Id = "90210" };
var zipcode3 = new ZipCode { Id = "75017" };
... | using System;
using Ritter.Atlas;
namespace UsageConsole
{
class Program
{
static void Main()
{
Action<string> Display = s => Console.WriteLine(s);
var zipcode = new ZipCode { Id = "17011" };
var zipcode2 = new ZipCode { Id = "90210" };
var zipcode3 = new ZipCode { Id = "75017" };
... | mit | C# |
9a06a1ca74520351af40acae471f868d3f97d06d | Swap bytecodes WIP | ajlopez/BlockchainSharp | Src/BlockchainSharp/Vm/Bytecodes.cs | Src/BlockchainSharp/Vm/Bytecodes.cs | namespace BlockchainSharp.Vm
{
public enum Bytecodes
{
Push1 = 0x60,
Push2 = 0x61,
Push3 = 0x62,
Push4 = 0x63,
Push5 = 0x64,
Push6 = 0x65,
Push7 = 0x66,
Push8 = 0x67,
Push9 = 0x68,
Push10 = 0x69,
Push11 = 0x6a... | namespace BlockchainSharp.Vm
{
public enum Bytecodes
{
Push1 = 0x60,
Push2 = 0x61,
Push3 = 0x62,
Push4 = 0x63,
Push5 = 0x64,
Push6 = 0x65,
Push7 = 0x66,
Push8 = 0x67,
Push9 = 0x68,
Push10 = 0x69,
Push11 = 0x6a... | mit | C# |
9ce82c35185db2827338aeab5125384e402bae9a | Fix e2e faild because api change | LianwMS/WebApi,scz2011/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,lungisam/WebApi,congysu/WebApi,lewischeng-ms/WebApi,lungisam/WebApi,LianwMS/WebApi,scz2011/WebApi,congysu/WebApi,yonglehou/WebApi | OData/test/E2ETest/WebStack.QA.Test.OData/SxS2/ODataV3/ODataV3WebApiConfig.cs | OData/test/E2ETest/WebStack.QA.Test.OData/SxS2/ODataV3/ODataV3WebApiConfig.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.OData.Extensions;
using WebStack.QA.Test.OData.SxS2.ODataV3.Extensions;
namespace WebStack.QA.Test.OData.SxS2.ODataV3
{
public static class ODataV3WebApiConfig
{
public static void Register(HttpConfiguration config)
... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.OData.Extensions;
using WebStack.QA.Test.OData.SxS2.ODataV3.Extensions;
namespace WebStack.QA.Test.OData.SxS2.ODataV3
{
public static class ODataV3WebApiConfig
{
public static void Register(HttpConfiguration config)
... | mit | C# |
4e6a155744dd59829a14468c753ef7581b9a4d84 | Modify primitive driver to send x, y, and z linear effort values. | WisconsinRobotics/BadgerControlSystem | BadgerControlModule/Utils/RemotePrimitiveDriverService.cs | BadgerControlModule/Utils/RemotePrimitiveDriverService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BadgerJaus.Services.Core;
using BadgerJaus.Messages.PrimitiveDriver;
using BadgerJaus.Util;
using BadgerControlModule.Models;
namespace BadgerControlModule.Utils
{
class Remote... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BadgerJaus.Services.Core;
using BadgerJaus.Messages.PrimitiveDriver;
using BadgerJaus.Util;
using BadgerControlModule.Models;
namespace BadgerControlModule.Utils
{
class Remote... | bsd-3-clause | C# |
f93f316cf7c47a79a8e398ceff866b4632ea0169 | Fix constructor visibility for plugin | pleonex/NitroDebugger,pleonex/NitroDebugger,pleonex/NitroDebugger | NitroDebugger/Plugin.cs | NitroDebugger/Plugin.cs | //
// Plugin.cs
//
// Author:
// Benito Palacios Sánchez <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation,... | //
// Plugin.cs
//
// Author:
// Benito Palacios Sánchez <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation,... | mit | C# |
ea594a3248236374abe17c0a60af47876296c867 | Fix demo plugin | martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet | Plugins/Demo/Program.cs | Plugins/Demo/Program.cs | using System.Windows.Forms;
namespace TestPlugin
{
using AIMP.SDK;
using AIMP.SDK.MenuManager;
using AIMP.SDK.Options;
using AIMP.SDK.UI.ActionItem;
using AIMP.SDK.UI.MenuItem;
[AimpPlugin("dotNetInteropTest", "Evgeniy Bogdan", "1", AimpPluginType = AimpPluginType.Addons)]
publ... | using System.Windows.Forms;
namespace TestPlugin
{
using AIMP.SDK;
using AIMP.SDK.MenuManager;
using AIMP.SDK.Options;
using AIMP.SDK.UI.ActionItem;
using AIMP.SDK.UI.MenuItem;
[AimpPlugin("dotNetInteropTest", "Evgeniy Bogdan", "1", AimpPluginType = AimpPluginType.Addons)]
publ... | apache-2.0 | C# |
add56d8197811e151407ed9a0a171e1e9cddf0c6 | add revese-proxy support | MCeddy/IoT-core | IoT-Core/Startup.cs | IoT-Core/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 IoT_Core.Models;
u... | 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 IoT_Core.Models;
u... | mit | C# |
55a43451bd487b7435945322f15e795c0ee87902 | Add Category property to Item | Azure-Samples/documentdb-dotnet-todo-app,Azure-Samples/documentdb-dotnet-todo-app,Azure-Samples/documentdb-dotnet-todo-app | src/Models/Item.cs | src/Models/Item.cs | namespace todo.Models
{
using Microsoft.Azure.Documents;
using Newtonsoft.Json;
public class Item
{
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(Property... | namespace todo.Models
{
using Microsoft.Azure.Documents;
using Newtonsoft.Json;
public class Item
{
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(Property... | mit | C# |
5bef498993a2f080a39a21b1ab7fcf2a844d8e79 | Fix source analysis | ajlopez/BScript | Src/BScript/Machine.cs | Src/BScript/Machine.cs | namespace BScript
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using BScript.Commands;
using BScript.Compiler;
using BScript.Language;
public class Machine
{
private Context context;
priva... | namespace BScript
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using BScript.Commands;
using BScript.Compiler;
using BScript.Language;
public class Machine
{
private Context context;
priva... | mit | C# |
aac13df34a97feacb0381924980d4d7fa398f1c3 | add SF app version back | aloneguid/logmagic | src/LogMagic.Microsoft.Azure.ServiceFabric/Enrichers/ServiceFabricEnricher.cs | src/LogMagic.Microsoft.Azure.ServiceFabric/Enrichers/ServiceFabricEnricher.cs | using LogMagic.Enrichers;
using System.Fabric;
namespace LogMagic.Microsoft.Azure.ServiceFabric.Enrichers
{
class ServiceFabricEnricher : IEnricher
{
private readonly ServiceContext _context;
public ServiceFabricEnricher(ServiceContext context)
{
_context = context ?? throw new Syste... | using LogMagic.Enrichers;
using System.Fabric;
namespace LogMagic.Microsoft.Azure.ServiceFabric.Enrichers
{
class ServiceFabricEnricher : IEnricher
{
private readonly ServiceContext _context;
public ServiceFabricEnricher(ServiceContext context)
{
_context = context ?? throw new Syste... | mit | C# |
46ea59cc36b826b5db00e124488a694fd4c23002 | Fix typo in Acquire return value doc | morelinq/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,ddpruitt/morelinq,morelinq/MoreLINQ,fsateler/MoreLINQ | MoreLinq/Acquire.cs | MoreLinq/Acquire.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2012 Atif Aziz. 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:... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2012 Atif Aziz. 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:... | apache-2.0 | C# |
92bcbd0b33e1ebca5088262225014112e30206b5 | Fix #40 | TheSharpieOne/LinqToQuerystring,TheSharpieOne/LinqToQuerystring,TheSharpieOne/LinqToQuerystring | LinqToQuerystring/TreeNodes/DataTypes/DateTimeNode.cs | LinqToQuerystring/TreeNodes/DataTypes/DateTimeNode.cs | namespace LinqToQuerystring.TreeNodes.DataTypes
{
using System;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using Antlr.Runtime;
using LinqToQuerystring.TreeNodes.Base;
public class DateTimeNode : TreeNode
{
public DateTimeNode(Type inputType... | namespace LinqToQuerystring.TreeNodes.DataTypes
{
using System;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using Antlr.Runtime;
using LinqToQuerystring.TreeNodes.Base;
public class DateTimeNode : TreeNode
{
public DateTimeNode(Type inputType... | mit | C# |
d4b4060e60430ac5719be2ac9576e85ecf7b9af2 | Update src/EditorFeatures/Core.Wpf/IDebuggerTextView2.cs | diryboy/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,KevinRansom/roslyn,ErikSchierboom/roslyn,wvdd007/roslyn,AlekseyTs/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,sharwell/roslyn,mgoertz-msft/roslyn,AmadeusW/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,AlekseyTs/r... | src/EditorFeatures/Core.Wpf/IDebuggerTextView2.cs | src/EditorFeatures/Core.Wpf/IDebuggerTextView2.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.VisualStudio.Language.Intellisense;
namespace Microsoft.CodeAnalysis.Editor
{
in... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.VisualStudio.Language.Intellisense;
namespace Microsoft.CodeAnalysis.Editor
{
in... | mit | C# |
e25e6babe566fdebc76f6cbdaa0e40d6c7256a3c | Bump version number. | codecutout/StringToExpression | src/StringToExpression/Properties/AssemblyInfo.cs | src/StringToExpression/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyTitle("StringToExpression")]
[assembly: AssemblyDescription(@"StringToExpression sup... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyTitle("StringToExpression")]
[assembly: AssemblyDescription(@"StringToExpression sup... | mit | C# |
0ce0f2a2d55a4298d9d06ea29d26a28f14373ea3 | Add char.ToLower/Upper perf tests (#28765) | Jiayili1/corefx,ptoonen/corefx,ViktorHofer/corefx,wtgodbe/corefx,mmitche/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,Jiayili1/corefx,shimingsg/corefx,ViktorHofer/corefx,Jiayili1/corefx,shimingsg/corefx,mmitche/corefx,ericstj/corefx,BrennanConroy/corefx,ptoone... | src/System.Runtime/tests/Performance/Perf.Char.cs | src/System.Runtime/tests/Performance/Perf.Char.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Xunit.Performance;
using Xunit;
name... | // 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 Microsoft.Xunit.Performance;
namespace System.Tests
{
public class Perf_Char
{
[Benchmark]
... | mit | C# |
66bc10eb2cbd02ad1290d3a37a7be8c87f660942 | update 1.0.3 | arichika/AspNet.Identity.Oracle,arichika/AspNet.Identity.Oracle,arichika/AspNet.Identity.Oracle | Src/AspNet.Identity.Oracle/Properties/AssemblyInfo.cs | Src/AspNet.Identity.Oracle/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("As... | 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("As... | mit | C# |
d649e2eef58c8ba5dfda30172f77d78903325f5d | Fix all violations of SX1309S | tunnelvisionlabs/InheritanceMargin | Tvl.VisualStudio.InheritanceMargin/RoslynUtilities.cs | Tvl.VisualStudio.InheritanceMargin/RoslynUtilities.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Microsoft Reciprocal License (MS-RL). See LICENSE in the project root for license information.
namespace Tvl.VisualStudio.InheritanceMargin
{
using System;
using Microsoft.VisualStudio.Shell.Interop;
// Stolen fr... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Microsoft Reciprocal License (MS-RL). See LICENSE in the project root for license information.
namespace Tvl.VisualStudio.InheritanceMargin
{
using System;
using Microsoft.VisualStudio.Shell.Interop;
// Stolen fr... | mit | C# |
7a397306156b4cca31370eee6f40c0614763e38e | Update to Cake.Issues.Recipe 0.3.2 | cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe | Cake.Recipe/Content/addins.cake | Cake.Recipe/Content/addins.cake | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.7.0
#addin nuget:?package=Cake.Coveralls&version=0.10.1
#addin nuget:?package=Cake.Coverlet&version=2.3.... | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.7.0
#addin nuget:?package=Cake.Coveralls&version=0.10.1
#addin nuget:?package=Cake.Coverlet&version=2.3.... | mit | C# |
470de0a629da75ed0ddd3e993b5858c1ff4a25f3 | Fix the speed of the canvas width scaling by left/right arrow keys | setchi/NoteEditor,setchi/NotesEditor | Assets/Scripts/UI/CanvasWidthScalePresenter.cs | Assets/Scripts/UI/CanvasWidthScalePresenter.cs | using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class CanvasWidthScalePresenter : MonoBehaviour
{
[SerializeField]
CanvasEvents canvasEvents;
[SerializeField]
Slider canvasWidthScaleController;
NotesEditorModel model;
void Awake()
{
model = Note... | using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class CanvasWidthScalePresenter : MonoBehaviour
{
[SerializeField]
CanvasEvents canvasEvents;
[SerializeField]
Slider canvasWidthScaleController;
NotesEditorModel model;
void Awake()
{
model = Note... | mit | C# |
1b92ef07c6ebb88b2dae1f09ace6825a9c6a1824 | Enhance EdgeDirection-enum. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq/EdgeDirection.cs | ExRam.Gremlinq/EdgeDirection.cs | using System;
namespace ExRam.Gremlinq
{
[Flags]
public enum EdgeDirection
{
None = 0,
Out = 1,
In = 2,
Both = 3
}
} | namespace ExRam.Gremlinq
{
public enum EdgeDirection
{
Out,
In
}
} | mit | C# |
17fbe7cbabe21dc62fff08a1f57668a8b1af4c46 | fix model binding | Adiqq/aurelia-docker-dotnet,Adiqq/aurelia-docker-dotnet,Adiqq/aurelia-docker-dotnet,Adiqq/aurelia-docker-dotnet | API/src/WebAPI/Controllers/CommentsController.cs | API/src/WebAPI/Controllers/CommentsController.cs | using Microsoft.AspNetCore.Mvc;
using Application.Commands;
using WebAPI.Services;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace WebAPI.Controllers {
[Route("api/[controller]")]
public class CommentsController : Controller
{
... | using Microsoft.AspNetCore.Mvc;
using Application.Commands;
using WebAPI.Services;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace WebAPI.Controllers {
[Route("api/[controller]")]
public class CommentsController : Controller
{
... | apache-2.0 | C# |
9f8019c8881d5b0ba5317ce83f0daae786aef370 | Update unity networking for NETWORK_PHOTON. Updates for iTunes 1.2 build update. Advertiser id to vendor id for game analytics and update textures/showing fireworks/camera sorting. | drawcode/game-lib-engine | Engine/Game/Controllers/ThirdPersonPushBodies.cs | Engine/Game/Controllers/ThirdPersonPushBodies.cs | using System.Collections;
using Engine;
using Engine.Data;
using Engine.Networking;
using Engine.Utility;
using UnityEngine;
namespace Engine.Game.Controllers {
#if NETWORK_PHOTON
[RequireComponent(typeof(ThirdPersonController))]
public class ThirdPersonPushBodies : BaseEngineBehavior {
public float pu... | using System.Collections;
using Engine;
using Engine.Data;
using Engine.Networking;
using Engine.Utility;
using UnityEngine;
namespace Engine.Game.Controllers {
[RequireComponent(typeof(ThirdPersonController))]
public class ThirdPersonPushBodies : BaseEngineBehavior {
public float pushPower = 0.5f;
... | mit | C# |
139cb2c9870d441f52399c32073fdfe7b9cbd06b | Switch to in memory key store | codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api,schlos/denver-schedules-api | Schedules.API/CustomBootstrapper.cs | Schedules.API/CustomBootstrapper.cs | using Nancy;
using Nancy.TinyIoc;
using Nancy.Bootstrapper;
using Newtonsoft.Json;
using Schedules.API;
using Nancy.Authentication.Token;
using Nancy.Authentication.Token.Storage;
namespace Schedules.API
{
public class CustomBootstrapper: DefaultNancyBootstrapper
{
protected override void ConfigureApplication... | using Nancy;
using Nancy.TinyIoc;
using Nancy.Bootstrapper;
using Newtonsoft.Json;
using Schedules.API;
using Nancy.Authentication.Token;
using System.Linq;
namespace Schedules.API
{
public class CustomBootstrapper: DefaultNancyBootstrapper
{
protected override void ConfigureApplicationContainer(TinyIoCContai... | mit | C# |
b945af41375bfd4cd0bb793586d1af5053077189 | Change IPublish component to use enumerable of AbsolutePath for package files | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Components/IPublish.cs | source/Nuke.Components/IPublish.cs | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.T... | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.T... | mit | C# |
0cabb64ca85cc963e347a6d56ba42ddf871c7d61 | fix for combining absolute path | tudway/Qart,avao/Qart,mcraveiro/Qart | Src/Qart.Testing/ScopedDataStore.cs | Src/Qart.Testing/ScopedDataStore.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Qart.Testing
{
public class ScopedDataStore : IDataStore
{
private readonly IDataStore _dataStore;
private readonly string _tag;
public ScopedDataStore(IDataStore dataStore,... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Qart.Testing
{
public class ScopedDataStore : IDataStore
{
private readonly IDataStore _dataStore;
private readonly string _tag;
public ScopedDataStore(IDataStore dataStore,... | apache-2.0 | C# |
91dbba13442ae93fd93acf79071f0c53529f912e | Fix broken test | Kantis/GitVersion,asbjornu/GitVersion,distantcam/GitVersion,alexhardwicke/GitVersion,MarkZuber/GitVersion,Kantis/GitVersion,anobleperson/GitVersion,DanielRose/GitVersion,GitTools/GitVersion,TomGillen/GitVersion,onovotny/GitVersion,anobleperson/GitVersion,openkas/GitVersion,dpurge/GitVersion,pascalberger/GitVersion,anob... | Tests/BuildServers/TeamCityTests.cs | Tests/BuildServers/TeamCityTests.cs | using GitVersion;
using NUnit.Framework;
[TestFixture]
public class TeamCityTests
{
[Test]
public void Develop_branch()
{
var arguments = new Arguments();
var versionBuilder = new TeamCity(arguments);
var tcVersion = versionBuilder.GenerateSetVersionMessage("0.0.0-Unstable4");
... | using GitVersion;
using NUnit.Framework;
[TestFixture]
public class TeamCityTests
{
[Test]
public void Develop_branch()
{
var arguments = new Arguments();
var versionBuilder = new TeamCity(arguments);
var tcVersion = versionBuilder.GenerateSetVersionMessage("0.0.0-Unstable4");
... | mit | C# |
9ac701f46bbe8c820ad6236db4260f3eb99ffd9f | Use ExpectedConditions for element exists check | kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium | Web.UI.Tests/WebBrowserWaitSteps.cs | Web.UI.Tests/WebBrowserWaitSteps.cs | using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
using TechTalk.SpecFlow;
using Xunit;
namespace Web.UI.Tests
{
[Binding]
public class WebBrowserWaitSteps : WebDriverStepsBase
{
[When("I wait for element with id (.*) to exist")]
public void IWaitForElementWithIdToExis... | using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
using TechTalk.SpecFlow;
using Xunit;
namespace Web.UI.Tests
{
[Binding]
public class WebBrowserWaitSteps : WebDriverStepsBase
{
[When("I wait for element with id (.*) to exist")]
public void IWaitForElementWithIdToExis... | mit | C# |
74ec3451b3cb5abb85d277ba962fbc1a8319c7d6 | Update AuthorizationDecider.cs | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | Tweek.ApiService.NetCore/Security/AuthorizationDecider.cs | Tweek.ApiService.NetCore/Security/AuthorizationDecider.cs | using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Engine;
using Engine.Core.Context;
using Engine.DataTypes;
using FSharpUtils.Newtonsoft;
using LanguageExt.Trans;
using LanguageExt.SomeHelp;
using LanguageExt.Trans.Linq;
using LanguageExt;
using static LanguageExt.Prelude;
name... | using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Engine;
using Engine.Core.Context;
using Engine.DataTypes;
using FSharpUtils.Newtonsoft;
using LanguageExt.Trans;
using LanguageExt.SomeHelp;
using LanguageExt.Trans.Linq;
using LanguageExt;
using static LanguageExt.Prelude;
name... | mit | C# |
36dc9e3e553a320c87693c744fe951b18d21719f | fix unnecessary override of property. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs | WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs | using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Fluent.ViewModels.Wallets.Actions;
using WalletWasabi.Fluent.ViewModels.Wallets.HardwareWa... | using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Fluent.ViewModels.Wallets.Actions;
using WalletWasabi.Fluent.ViewModels.Wallets.HardwareWa... | mit | C# |
1c62d3ff825fc9e13a02790aa377987475205aa0 | add my Spotify playlist to blog sidebar | csyntax/BlogSystem | Source/BlogSystem.Web/Views/Sidebar/Index.cshtml | Source/BlogSystem.Web/Views/Sidebar/Index.cshtml | @model BlogSystem.Web.ViewModels.Sidebar.SidebarViewModel
@if (Model.RecentPosts.Any())
{
<div class="widget">
<h3 class="widgettitle">Recent Posts</h3>
<ul>
@foreach (var post in Model.RecentPosts)
{
<li>
@Html.RouteLink(post.Title, "Pos... | @model BlogSystem.Web.ViewModels.Sidebar.SidebarViewModel
@if (Model.RecentPosts.Any())
{
<div class="widget">
<h3 class="widgettitle">Recent Posts</h3>
<ul>
@foreach (var post in Model.RecentPosts)
{
<li>
@Html.RouteLink(post.Title, "Pos... | mit | C# |
789dc26ba94bcd9dfcd350187c2d32515b5675cd | bump version to 3.8 | darrenstarr/ironmeta | Source/IronMeta/Properties/CommonAssemblyInfo.cs | Source/IronMeta/Properties/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright("Copyright © Gordon Tisher 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("3.8.*")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright("Copyright © Gordon Tisher 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("3.7.*")]
| bsd-3-clause | C# |
c2f0376467e6859e569da84fa0e14a37b1a56d05 | Use new price providers and degare SmartBit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/WebClients/ExchangeRateProviders.cs | WalletWasabi/WebClients/ExchangeRateProviders.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.BlockchainInfo;
using WalletWasabi.WebClients.Coinbase;
using WalletWasabi.WebClients.Gemini;
using Wa... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.BlockchainInfo;
using WalletWasabi.WebClients.Coinbase;
using WalletWasabi.WebClients.Gemini;
using Wa... | mit | C# |
dd6624c0aea8692b6d1a9b0baa1d801a92006250 | Update Support's email address on contact page. Was breaking the world, so it had to be done. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@wechangedt... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
f124216accb91717d140e52400da9165303e5a8d | Change from address on PERSTAT, OCD | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private static IList<Add... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private static IList<Add... | mit | C# |
9b4c877a50ef9b3b8f8e2cbee702bf061b5fecdc | Remove unused property getter | rover886/CefSharp,zhangjingpu/CefSharp,Octopus-ITSM/CefSharp,NumbersInternational/CefSharp,dga711/CefSharp,VioletLife/CefSharp,gregmartinhtc/CefSharp,Livit/CefSharp,ruisebastiao/CefSharp,jamespearce2006/CefSharp,ITGlobal/CefSharp,NumbersInternational/CefSharp,windygu/CefSharp,NumbersInternational/CefSharp,windygu/CefSh... | CefSharp.BrowserSubprocess/CefRenderProcess.cs | CefSharp.BrowserSubprocess/CefRenderProcess.cs | using System;
using System.Threading.Tasks;
using CefSharp.Internals;
using System.Collections.Generic;
using System.ServiceModel;
namespace CefSharp.BrowserSubprocess
{
public class CefRenderProcess : CefSubProcess, IRenderProcess
{
private DuplexChannelFactory<IBrowserProcess> channelFactory;
... | using System;
using System.Threading.Tasks;
using CefSharp.Internals;
using System.Collections.Generic;
using System.ServiceModel;
namespace CefSharp.BrowserSubprocess
{
public class CefRenderProcess : CefSubProcess, IRenderProcess
{
private DuplexChannelFactory<IBrowserProcess> channelFactory;
... | bsd-3-clause | C# |
6295314874406a34916d808179eb6666653cdd96 | Update File.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/File.cs | TIKSN.Core/Data/File.cs | using System;
namespace TIKSN.Data
{
public class File : FileInfo, IFile
{
public File(string path, byte[] content) : base(path) =>
this.Content = content ?? throw new ArgumentNullException(nameof(content));
public byte[] Content { get; }
}
public class File<TIdentity> : ... | using System;
namespace TIKSN.Data
{
public class File : FileInfo, IFile
{
public File(string path, byte[] content) : base(path)
{
Content = content ?? throw new ArgumentNullException(nameof(content));
}
public byte[] Content { get; }
}
public class File<T... | mit | C# |
3ce353de7541c304f461d14f0bf04f6cf5059903 | Add missing ; | TeamnetGroup/schema2fm | src/ConsoleApp/Table.cs | src/ConsoleApp/Table.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | mit | C# |
63999c9c7cf80de5563c85fe30b93d32bede2c21 | Use autogenerated prop for Random instance | mspons/DiceApi | src/DiceApi.Core/Die.cs | src/DiceApi.Core/Die.cs | using System;
namespace DiceApi.Core
{
public class Die
{
/// <summary>
/// Initializes a new instance of <see cref="Die" /> with a
/// specified number of sides.
/// </summary>
/// <param name="sides">Number of sides on the die.</param>
public Die(int sides)
... | using System;
namespace DiceApi.Core
{
public class Die
{
/// <summary>
/// Instance of Random that we'll instantiate with the die
/// and use within the Roll() method.
/// </summary>
private readonly Random rng;
/// <summary>
/// Initializes a new inst... | mit | C# |
3a3f70136a99389c7f66a7123d57acc66172225b | Fix missing override | Redth/EggsToGo,Redth/EggsToGo | src/EggsToGo/Command.cs | src/EggsToGo/Command.cs | using System;
namespace EggsToGo
{
public class SwipeUpCommand : Command
{
public override string Value { get { return "UP"; } }
}
public class SwipeDownCommand : Command
{
public override string Value { get { return "DOWN"; } }
}
public class SwipeLeftCommand : Command
{
public override string Value {... | using System;
namespace EggsToGo
{
public class SwipeUpCommand : Command
{
public override string Value { get { return "UP"; } }
}
public class SwipeDownCommand : Command
{
public override string Value { get { return "DOWN"; } }
}
public class SwipeLeftCommand : Command
{
public override string Value {... | mit | C# |
ea61651bbce553d01f6774c2b0e018c7f2b262ce | Rename DLL | hey-red/Mime | src/Mime/MagicNative.cs | src/Mime/MagicNative.cs | using System;
using System.Runtime.InteropServices;
namespace HeyRed.Mime
{
internal static class MagicNative
{
private const string MAGIC_LIB_PATH = "libmagic-1";
[DllImport(MAGIC_LIB_PATH, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr magic_open(MagicOpen... | using System;
using System.Runtime.InteropServices;
namespace HeyRed.Mime
{
internal static class MagicNative
{
private const string MAGIC_LIB_PATH = "libmagic1";
[DllImport(MAGIC_LIB_PATH, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr magic_open(MagicOpenF... | mit | C# |
7accd5ba5c8db69c165839c440f58605600a8168 | Change UserInfo of CCAnimationFrame to be object instead of PlistDictionary. User can put what they want in there instead of strongly typed. | TukekeSoft/CocosSharp,netonjm/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,hig-ag/CocosSharp,hig-ag/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp | src/sprite_nodes/CCAnimationFrame.cs | src/sprite_nodes/CCAnimationFrame.cs |
namespace CocosSharp
{
public class CCAnimationFrame
{
public CCSpriteFrame SpriteFrame { get; private set; }
public float DelayUnits { get; private set; }
public object UserInfo { get; private set; }
#region Constructors
public CCAnimationFrame(CCSpriteFrame spriteFrame, float delayUnits, o... |
namespace CocosSharp
{
public class CCAnimationFrame
{
public CCSpriteFrame SpriteFrame { get; private set; }
public float DelayUnits { get; private set; }
public PlistDictionary UserInfo { get; private set; }
#region Constructors
public CCAnimationFrame(CCSpriteFrame spriteFrame, floa... | mit | C# |
2fd0038154082ec3d622aa3ddff0e25ee29684ad | Fix checkmark being hidden after clicking current waveform opacity setting | smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu | osu.Game/Screens/Edit/WaveformOpacityMenuItem.cs | osu.Game/Screens/Edit/WaveformOpacityMenuItem.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.Framework.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Sc... | // 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.Framework.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Sc... | mit | C# |
8329e936831917ce2bfe72b5494c1b698ef878e9 | Remove permission check on custom settings recipe step (#6086) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,petedavis/Or... | src/OrchardCore.Modules/OrchardCore.CustomSettings/Recipes/CustomSettingsStep.cs | src/OrchardCore.Modules/OrchardCore.CustomSettings/Recipes/CustomSettingsStep.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.CustomSettings.Services;
using OrchardCore.Recipes.Models;
using OrchardCore.Recipes.Services;
using OrchardCore.Settings;
namespace OrchardCore.CustomSettings.Recipes
{
/// <summary>
/// This recipe step updates the site settings... | using System;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.CustomSettings.Services;
using OrchardCore.Recipes.Models;
using OrchardCore.Recipes.Services;
using OrchardCore.Settings;
namespace OrchardCore.CustomSettings.Recipes
{
/// <summary>
/// This recipe step updates the site settings... | bsd-3-clause | C# |
6308ee4f878257295ee1017b6d29c0ebe0c7cda4 | Remove Checkpoints table | andlju/swetugg-tix,andlju/swetugg-tix,andlju/swetugg-tix | src/Swetugg.Tix.Activity.ViewBuilder/Migrations/00000000_0000_InitialDatabase.cs | src/Swetugg.Tix.Activity.ViewBuilder/Migrations/00000000_0000_InitialDatabase.cs | using FluentMigrator;
namespace Swetugg.Tix.Activity.ViewBuilder.Migrations
{
[Migration(0)]
public class InitialDatabase : Migration
{
public override void Up()
{
Create.Schema("ActivityViews");
Create.Table("ActivityOverview")
.InSchema("ActivityVi... | using FluentMigrator;
namespace Swetugg.Tix.Activity.ViewBuilder.Migrations
{
[Migration(0)]
public class InitialDatabase : Migration
{
public override void Up()
{
Create.Table("Checkpoint")
.WithColumn("Name").AsString(200).PrimaryKey()
.WithColu... | mit | C# |
843feb4e0879d98e852c4f780a5c17ff8d807aca | Add more xmldoc to ControllableOverlayHeader | peppy/osu-new,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu | osu.Game/Overlays/ControllableOverlayHeader.cs | osu.Game/Overlays/ControllableOverlayHeader.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.... | mit | C# |
aabc1bdcd12141a29f8e6ff3e4b3eb72b7fbd89b | add path resolver to ElementEditor | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/Assets/UtymapLib/Maps/Data/ElementEditor.cs | unity/Assets/UtymapLib/Maps/Data/ElementEditor.cs | using System;
using Assets.UtymapLib.Core;
using Assets.UtymapLib.Core.Models;
using Assets.UtymapLib.Infrastructure.Dependencies;
using Assets.UtymapLib.Infrastructure.IO;
using Assets.UtymapLib.Infrastructure.Primitives;
namespace Assets.UtymapLib.Maps.Data
{
/// <summary> Specifies behavior of element editor. ... | using System;
using Assets.UtymapLib.Core;
using Assets.UtymapLib.Core.Models;
using Assets.UtymapLib.Infrastructure.Dependencies;
using Assets.UtymapLib.Infrastructure.Primitives;
namespace Assets.UtymapLib.Maps.Data
{
/// <summary> Specifies behavior of element editor. </summary>
public interface IElementEd... | apache-2.0 | C# |
54db274c35fc6128c462c12553e0be0ab01e7118 | Update file version to 2.2.1.4 | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2017";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2017";
public const string... | mit | C# |
79270263df3373b7e334d63f6bf83a62561a4a9e | Fix stop of host | generik0/Rik.CodeCamp | Src/Hosts/Rik.CodeCamp.Host/CodeCampControl.cs | Src/Hosts/Rik.CodeCamp.Host/CodeCampControl.cs | using System;
using System.IO;
using System.Threading.Tasks;
using GAIT.Utilities.Logging;
using NLog;
using Rik.CodeCamp.Core;
using Topshelf;
using static GAIT.Utilities.GeneralBootstrapper;
namespace Rik.CodeCamp.Host
{
internal class CodeCampControl : ServiceControl
{
private Bootstrapper _bootstr... | using System;
using GAIT.Utilities.Logging;
using NLog;
using Rik.CodeCamp.Core;
using Topshelf;
using static GAIT.Utilities.GeneralBootstrapper;
namespace Rik.CodeCamp.Host
{
internal class CodeCampControl : ServiceControl
{
private Bootstrapper _bootstrapper;
private readonly ILogger _logger... | mit | C# |
c9b9720fb11f96194ad67b37b670d8cbc3959962 | Improve code | sakapon/Samples-2016,sakapon/Samples-2016 | Wpf3DSample/DiceRotationWpf/EventsExtension.cs | Wpf3DSample/DiceRotationWpf/EventsExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace DiceRotationWpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
Point M... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Windows;
using System.Windows.Input;
namespace DiceRotationWpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement T... | mit | C# |
aa1213bbcea67cfe74848bedf0d8255f720f7030 | Improve skipping | slek120/Unity-Touch-Smoothing-One-Euro-Filter | OneEuroSmoothing.cs | OneEuroSmoothing.cs | using UnityEngine;
using System.Collections;
public class OneEuroSmoothing : MonoBehaviour
{
//Lower value reduces jitter (fcmin or minimum cutoff frequency)
//Keep above 0. Start at 1. Adjust until jitter is reasonable.
//Recommended 1
public float jitterReduction;
//Higher values reduce lag (beta or slope of ve... | using UnityEngine;
using System.Collections;
public class OneEuroSmoothing : MonoBehaviour
{
//Lower value reduces jitter (fcmin or minimum cutoff frequency)
//Keep above 0. Start at 1. Adjust until jitter is reasonable.
//Recommended 1
public float jitterReduction;
//Higher values reduce lag (beta or slope of ve... | unlicense | C# |
11b0f2ce0bf15e77d1bbe50becb19bd753534cdc | fix position of image on the screen | NataliaDSmirnova/CGAdvanced2017 | Assets/Scripts/RenderObject.cs | Assets/Scripts/RenderObject.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RenderObject : MonoBehaviour
{
// input objects
public GameObject renderObject;
public Camera mainCamera;
// private objects
private RenderTexture renderTexture;
private RawImage ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RenderObject : MonoBehaviour {
// input objects
public GameObject renderObject;
public Camera mainCamera;
// private objects
private RenderTexture renderTexture;
private RawImage ... | mit | C# |
3c062ceffe15f17c6464147c93bdb2682a29c0e5 | Fix sample navigation | gjulianm/AncoraMVVM | AncoraMVVM.Phone.Sample/Properties/AssemblyInfo.cs | AncoraMVVM.Phone.Sample/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using AncoraMVVM.Base;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie los valores de estos atributos para modificar la información
// asociada a un ensamblado.
[assemb... | using AncoraMVVM.Base;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie los valores de estos atributos para modificar la información
// asociada a un ensamblado.
[assemb... | mpl-2.0 | C# |
28fd3f00cb3009cd5dbd7dd8669f5d857e35a624 | Fix for search by rank | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/SSDController.cs | Battery-Commander.Web/Controllers/SSDController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class SSDCon... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class SSDCon... | mit | C# |
657a7a79bf5c8f764f33b2a5043608ce3536170e | Add display_name field for UserProfile | Inumedia/SlackAPI | SlackAPI/UserProfile.cs | SlackAPI/UserProfile.cs | namespace SlackAPI
{
public class UserProfile : ProfileIcons
{
public string title;
public string display_name;
public string first_name;
public string last_name;
public string real_name;
public string email;
public string skype;
public string sta... | namespace SlackAPI
{
public class UserProfile : ProfileIcons
{
public string title;
public string first_name;
public string last_name;
public string real_name;
public string email;
public string skype;
public string status_emoji;
public string sta... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.