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 |
|---|---|---|---|---|---|---|---|---|
9d915a691dd6c8273f21d9112b733cc2e7944f19 | Fix comment placement. | ZLima12/osu,johnneijzen/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,Drezi126/osu,peppy/osu,osu-RP/osu-RP,ZLima12/osu,peppy/osu-new,Frontear/osuKyzer,smoogipoo/osu,naoey/osu,peppy/osu,Damnae/osu,ppy/osu,DrabWeb/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu... | osu.Game.Rulesets.Osu/OsuDifficulty/Skills/Speed.cs | osu.Game.Rulesets.Osu/OsuDifficulty/Skills/Speed.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 osu.Game.Rulesets.Osu.OsuDifficulty.Preprocessing;
namespace osu.Game.Rulesets.Osu.OsuDifficulty.Skills
{
/// <summary>
/// Represents the skill ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Osu.OsuDifficulty.Preprocessing;
/// <summary>
/// Represents the skill required to press keys with regards to keeping up with the speed ... | mit | C# |
c0ea95116979dea6ad145ca14a9391c3d9b1d9ae | Add new UngroupCommand implementation | mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl... | PartPreviewWindow/View3D/UndoCommands/UngroupCommand.cs | PartPreviewWindow/View3D/UndoCommands/UngroupCommand.cs | /*
Copyright (c) 2016, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2016, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
79ab975b19402b563c42ca2ba2d036cf41f655b3 | rename delete button to remove to match the remove all button | IdentityModel/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,IdentityModel/AuthorizationServer,yfann/AuthorizationServer,yfann/AuthorizationServer,s093294/Thinktecture.AuthorizationServer | source/WebHost/Areas/UserApplications/Views/Home/Index.cshtml | source/WebHost/Areas/UserApplications/Views/Home/Index.cshtml | @model Thinktecture.AuthorizationServer.WebHost.Areas.UserApplications.Models.UserApplicationsViewModel
@{
ViewBag.Title = "Client Applications";
}
<h2>@ViewBag.Title for User: @Model.Subject</h2>
<div class="hide" data-bind="css: { hide: !applications().length }">
<ul class="nav nav-pills">
<li><butt... | @model Thinktecture.AuthorizationServer.WebHost.Areas.UserApplications.Models.UserApplicationsViewModel
@{
ViewBag.Title = "Client Applications";
}
<h2>@ViewBag.Title for User: @Model.Subject</h2>
<div class="hide" data-bind="css: { hide: !applications().length }">
<ul class="nav nav-pills">
<li><butt... | bsd-3-clause | C# |
39538b09b2034f0a45f401439cbd7d0b3e2876e9 | Fix layout of Custom effect struct for keyboard. | Sharparam/Colore,CoraleStudios/Colore,WolfspiritM/Colore,danpierce1/Colore | Corale.Colore/Razer/Keyboard/Effects/Custom.cs | Corale.Colore/Razer/Keyboard/Effects/Custom.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Custom.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and asso... | // ---------------------------------------------------------------------------------------
// <copyright file="Custom.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and asso... | mit | C# |
037b90be8d64f77c626cc3e23e938024d604b96e | fix inspections | pashute/docs.particular.net,eclaus/docs.particular.net,SzymonPobiega/docs.particular.net,pedroreys/docs.particular.net,WojcikMike/docs.particular.net,yuxuac/docs.particular.net | Snippets/Snippets_5/Encryption/MessageBodyEncryption.cs | Snippets/Snippets_5/Encryption/MessageBodyEncryption.cs | using System.Linq;
using NServiceBus;
using NServiceBus.MessageMutator;
using NServiceBus.Unicast.Messages;
public class MessageBodyEncryption
{
public void Simple()
{
#region UsingMessageBodyEncryptorV5
var configuration = new BusConfiguration();
configuration.RegisterComponents(c =>... | using System.Collections.Generic;
using System.Linq;
using NServiceBus;
using NServiceBus.Config;
using NServiceBus.Config.ConfigurationSource;
using NServiceBus.Encryption;
using NServiceBus.MessageMutator;
using NServiceBus.Unicast.Messages;
public class MessageBodyEncryption
{
public void Simple()
{
... | apache-2.0 | C# |
0e223146934a62ed9e3de863f51fde1085b71f5e | Add a bracket that somehow did not get comitted | peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,peppy/... | osu.Framework.Tests/Platform/UserInputManagerTest.cs | osu.Framework.Tests/Platform/UserInputManagerTest.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.Graphics;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture... | // 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.Graphics;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture... | mit | C# |
d2b3fe1e7b3412dd82082c3ffe818972a52f47e9 | Add scale to old legacy spinner | ppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu | osu.Game.Rulesets.Osu/Skinning/LegacyOldStyleSpinner.cs | osu.Game.Rulesets.Osu/Skinning/LegacyOldStyleSpinner.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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites... | mit | C# |
28006ac33f7f71fefd1dafdf490a760d260f661a | Remove unnecessary action from ShowRepliesButton | peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,ppy/osu | osu.Game/Overlays/Comments/Buttons/ShowRepliesButton.cs | osu.Game/Overlays/Comments/Buttons/ShowRepliesButton.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 Humanizer;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
namespace osu.Game.Overlays.Comments.Buttons
{
public class ShowRepliesButton : Co... | // 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 Humanizer;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
namespace osu.Game.Overlays.Comments.Buttons
{
public class ShowRepl... | mit | C# |
be6d9f9d996b9a1a27da463bd54476774a2408bc | change link to samples in QSUI | MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/host/Views/Home/Index.cshtml | src/IdentityServer4/host/Views/Home/Index.cshtml | @{
var version = typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.GetName().Version.ToString();
}
<div class="welcome-page">
<div class="row page-header">
<div class="col-sm-10">
<h1>
<img class="icon" src="~/icon.jpg">
Welcome to IdentitySer... | @{
var version = typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.GetName().Version.ToString();
}
<div class="welcome-page">
<div class="row page-header">
<div class="col-sm-10">
<h1>
<img class="icon" src="~/icon.jpg">
Welcome to IdentitySer... | apache-2.0 | C# |
717c6d4b229325f8d0cb2d0d9fd81768d197734c | Fix build errors and unit tests | ShikiGami/React.NET,chriscamplejohn/React.NET,rickbeerendonk/React.NET,SaltyDH/React.NET,radnor/React.NET,SaltyDH/React.NET,ShikiGami/React.NET,reactjs/React.NET,rickbeerendonk/React.NET,reactjs/React.NET,alexsoftua/React.NET,chriscamplejohn/React.NET,radnor/React.NET,rickbeerendonk/React.NET,radnor/React.NET,reactjs/R... | src/React.Tests/Mvc/HtmlHelperExtensionsTests.cs | src/React.Tests/Mvc/HtmlHelperExtensionsTests.cs | /*
* Copyright (c) 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
using S... | /*
* Copyright (c) 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
using S... | bsd-3-clause | C# |
6f0178b5a99a881682deda5fc7f5c6ed2a095631 | Set PlayerHeader unknown "Tag" value | HelloKitty/Booma.Proxy | src/Booma.Packet.Game/Block/Models/PlayerInformationHeader.cs | src/Booma.Packet.Game/Block/Models/PlayerInformationHeader.cs | using FreecraftCore.Serializer;
namespace Booma
{
//Based on: https://github.com/Sylverant/ship_server/blob/9373df882859b234bc3e299d2e85f7b4c515d025/src/player.h#L54
/// <summary>
/// Header for player information.
/// </summary>
[WireDataContract]
public sealed class PlayerInformationHeader
{
//TODO: What is... | using FreecraftCore.Serializer;
namespace Booma
{
//Based on: https://github.com/Sylverant/ship_server/blob/9373df882859b234bc3e299d2e85f7b4c515d025/src/player.h#L54
/// <summary>
/// Header for player information.
/// </summary>
[WireDataContract]
public sealed class PlayerInformationHeader
{
//TODO: What is... | agpl-3.0 | C# |
77ef5c0eedff8466837b260e420318be0aef6064 | Fix NullReferenceException when using the NLogLogger default constructor | jacobpovar/MassTransit,phatboyg/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,jacobpovar/MassTransit | src/Loggers/MassTransit.NLogIntegration/Logging/NLogLogger.cs | src/Loggers/MassTransit.NLogIntegration/Logging/NLogLogger.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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 ... | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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 ... | apache-2.0 | C# |
c632864e7570f5a7b035b4f01703bc518d8ba462 | Fix missing API key error on AppVeyor | stormpath/stormpath-dotnet-owin-middleware | test/Stormpath.Owin.UnitTest/ConfigurationHelper.cs | test/Stormpath.Owin.UnitTest/ConfigurationHelper.cs | using System.Collections.Generic;
using Stormpath.Configuration.Abstractions;
using Stormpath.Owin.Abstractions.Configuration;
namespace Stormpath.Owin.UnitTest
{
public static class ConfigurationHelper
{
public static IntegrationConfiguration CreateFakeConfiguration(StormpathConfiguration config)
... | using System.Collections.Generic;
using Stormpath.Configuration.Abstractions;
using Stormpath.Owin.Abstractions.Configuration;
namespace Stormpath.Owin.UnitTest
{
public static class ConfigurationHelper
{
public static IntegrationConfiguration CreateFakeConfiguration(StormpathConfiguration config)
... | apache-2.0 | C# |
77fa5674532cdd9c21e2e7697e86eeca8f14356a | Adjust tests | ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.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 disable
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Rulesets.T... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Rulesets.T... | mit | C# |
31bd59442f9bef317802e2a0f6f605c1c833125b | Remove banana positioning comment | peppy/osu-new,EVAST9919/osu,ZLima12/osu,johnneijzen/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,naoey/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/os... | osu.Game.Rulesets.Catch/Objects/BananaShower.cs | osu.Game.Rulesets.Catch/Objects/BananaShower.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 osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Catch.Objects
{
public class BananaShower : CatchHitObject, IHasEndTime
{
public ove... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Catch.Objects
{
public class BananaShower : CatchHitObject, IHasEndTime
{
public ove... | mit | C# |
9ed5f3a6b27d3119568c731c40dde28bb08953f1 | Disable VS application insights | DominikStiller/Vertretungsplan,DominikStiller/Vertretungsplan,DominikStiller/Vertretungsplan,DominikStiller/Vertretungsplan | Web/Program.cs | Web/Program.cs | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.ApplicationInsights.Extensibility;
namespace DominikStiller.VertretungsplanServer.Web
{
public class Program
{
public static void Main(string[] args)
{
TelemetryConfiguration.Active.DisableTelemetry = t... | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace DominikStiller.VertretungsplanServer.Web
{
public class Program
{
public static void Main(string[] args)
{
var host = WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
... | mit | C# |
332104801aa0ec44b5d70dff6a91b716f0b432aa | Remove dependency of home controller since it is no longer needed | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Oogstplanner.Web/Controllers/HomeController.cs | Oogstplanner.Web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using Oogstplanner.Common;
using Oogstplanner.Models;
using Oogstplanner.Services;
namespace Oogstplanner.Web.Controllers
{
[AllowAnonymous]
public class HomeController : Controller
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using Oogstplanner.Common;
using Oogstplanner.Models;
using Oogstplanner.Services;
namespace Oogstplanner.Web.Controllers
{
[AllowAnonymous]
public class HomeController : Controller
{
... | mit | C# |
1f9db3bda6a457f019c301208e9fa3bf4f5197fb | Rewrite folder write permission check to hopefully make it more reliable | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Utils/WindowsUtils.cs | Core/Utils/WindowsUtils.cs | using System.Diagnostics;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
AuthorizationRuleCollec... | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
Auth... | mit | C# |
e55a770bce5bc06bd10ac4951791ec78340cf3f3 | Update component menu entries | bartlomiejwolk/AnimationPathAnimator | Editor/ComponentCreator.cs | Editor/ComponentCreator.cs | /*
* Copyright (c) 2015 Bartłomiej Wołk (bartlomiejwolk@gmail.com).
*
* This file is part of the AnimationPath Animator Unity extension.
* Licensed under the MIT license. See LICENSE file in the project root folder.
*/
using ATP.AnimationPathTools.AnimatorComponent;
using ATP.AnimationPathTools.AnimatorEventsCo... | /*
* Copyright (c) 2015 Bartłomiej Wołk (bartlomiejwolk@gmail.com).
*
* This file is part of the AnimationPath Animator Unity extension.
* Licensed under the MIT license. See LICENSE file in the project root folder.
*/
using ATP.AnimationPathTools.AnimatorComponent;
using ATP.AnimationPathTools.AnimatorEventsCo... | mit | C# |
e0c1027267f1cfc4fbb38300318dbc03ea27e497 | fix bug in ModuleAttribute | corvusalba/my-little-lispy,corvusalba/my-little-lispy | src/CorvusAlba.MyLittleLispy.Runtime/ModuleAttribute.cs | src/CorvusAlba.MyLittleLispy.Runtime/ModuleAttribute.cs | using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
namespace CorvusAlba.MyLittleLispy.Runtime
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ModuleAttribute : Attribute
{
public string Alias { get; private set; }
... | using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
namespace CorvusAlba.MyLittleLispy.Runtime
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ModuleAttribute : Attribute
{
public string Alias { get; private set; }
... | mit | C# |
175640ec6d8e7a0d505abf23a063724df214260e | Build fix | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/Hosting/Heartbeat/CronusHeartbeat.cs | src/Elders.Cronus/Hosting/Heartbeat/CronusHeartbeat.cs | using Elders.Cronus.Multitenancy;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Elders.Cronus.Hosting.Heartbeat
{
public class CronusHeartbeat : IHeartbeat
... | using Elders.Cronus.Multitenancy;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Elders.Cronus.Hosting.Heartbeat
{
public class CronusHeartbeat : IHeartbeat
... | apache-2.0 | C# |
554e097aa578fcfaa3489b9e3346d6bfc12daecc | Update to Abp.Zero 0.7.0.0 | AndHuang/module-zero,abdllhbyrktr/module-zero,AndHuang/module-zero,asauriol/module-zero,volkd/module-zero,ilyhacker/module-zero,lemestrez/module-zero,asauriol/module-zero,volkd/module-zero,daywrite/module-zero,Jerome2606/module-zero,andmattia/module-zero,lemestrez/module-zero,chilin/module-zero,Jerome2606/module-zero,C... | sample/ModuleZeroSampleProject.Core/Authorization/RoleStore.cs | sample/ModuleZeroSampleProject.Core/Authorization/RoleStore.cs | using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using ModuleZeroSampleProject.MultiTenancy;
using ModuleZeroSampleProject.Users;
namespace ModuleZeroSampleProject.Authorization
{
public class RoleStore : AbpRoleStore<Tenant, Role, User>
{
public RoleStore(
... | using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using ModuleZeroSampleProject.MultiTenancy;
using ModuleZeroSampleProject.Users;
namespace ModuleZeroSampleProject.Authorization
{
public class RoleStore : AbpRoleStore<Tenant, Role, User>
{
public RoleStore(
... | mit | C# |
da0ee3bceb8e31b59ef821427193618d33356d58 | Update ShouldBeNullOrWhitespace.cs | JoeMighty/shouldly | src/Shouldly.Tests/Strings/ShouldBeNullOrWhitespace.cs | src/Shouldly.Tests/Strings/ShouldBeNullOrWhitespace.cs | using Xunit;
namespace Shouldly.Tests.Strings
{
public class ShouldBeNullOrWhiteSpace
{
[Fact]
public void StringWithOneLetterShouldFail()
{
Verify.ShouldFail(
() => "a".ShouldBeNullOrWhiteSpace("Some additional context"),
errorWithSource:
... | using Xunit;
namespace Shouldly.Tests.Strings
{
public class ShouldBeNullOrWhiteSpace
{
[Fact]
public void StringWithOneLetterShouldFail()
{
Verify.ShouldFail(
() =>
"a".ShouldBeNullOrWhiteSpace("Some additional context"),
errorWithSource:
@"""a""
should ... | bsd-3-clause | C# |
33abed4da7aef216cb92bd75c7ca58463a41ff3d | Add xml content negotation | seldongo/docker-ci,seldongo/docker-ci,seldongo/docker-ci,g0t4/aspnetcore-generator-api,afterbangx/aspnetcore-generator-api | api/Startup.cs | api/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.AspNetCore.Rewrite;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft... | mit | C# |
6251faae57479d9bd4a13294e2e08a53196cbc51 | prepare for release. | AzureAD/microsoft-authentication-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD... | src/ADAL.Common/CommonAssemblyInfo.cs | src/ADAL.Common/CommonAssemblyInfo.cs | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | mit | C# |
f719a3fb5ab2559980bb7e75ee78bc15068282fa | prepare for release | AndyZhao/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,makhdumi/azure-activedirectory-library-for-dotnet,AzureAD/azu... | src/ADAL.Common/CommonAssemblyInfo.cs | src/ADAL.Common/CommonAssemblyInfo.cs | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | mit | C# |
9083963a26bd093d965f6a03c7158cc955358256 | Rename variables | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | src/AdventOfCode/Vector3Extensions.cs | src/AdventOfCode/Vector3Extensions.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
namespace System.Numerics;
/// <summary>
/// A class containing extension methods for the <see cref="Ve... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
namespace System.Numerics;
/// <summary>
/// A class containing extension methods for the <see cref="Ve... | apache-2.0 | C# |
70889077663f4dd39ba5ab91cfc1c0c3d7d57cca | remove unused field | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Models/Mail/BaseMailModel.cs | src/Core/Models/Mail/BaseMailModel.cs | namespace Bit.Core.Models.Mail
{
public class BaseMailModel
{
public string SiteName { get; set; }
public string WebVaultUrl { get; set; }
}
}
| namespace Bit.Core.Models.Mail
{
public class BaseMailModel
{
private string _webVaultUrl;
public string SiteName { get; set; }
public string WebVaultUrl { get; set; }
}
}
| agpl-3.0 | C# |
55ba4b094670a8ae378898ff8c8f2c7c542a34ff | Build fix. | StockSharp/StockSharp | Samples/SmartCom/SampleSmartSMA/SmaStrategy.cs | Samples/SmartCom/SampleSmartSMA/SmaStrategy.cs | #region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | #region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | apache-2.0 | C# |
e512df4bd20587110ba2df1ead4dde9e3ecc2a38 | Make sure that the stream passed in ctor can be seeked and read | paszczi/MLabs.Ogg | Mlabs.Ogg/src/OggReader.cs | Mlabs.Ogg/src/OggReader.cs | using System;
using System.IO;
using System.Linq;
namespace Mlabs.Ogg
{
public class OggReader
{
private readonly Stream m_fileStream;
private readonly bool m_owns;
public OggReader(string fileName)
{
if (fileName == null) throw new ArgumentNullException("fileName"... | using System;
using System.IO;
using System.Linq;
namespace Mlabs.Ogg
{
public class OggReader
{
private readonly Stream m_fileStream;
private readonly bool m_owns;
public OggReader(string fileName)
{
if (fileName == null) throw new ArgumentNullException("fileName"... | mit | C# |
706a932405e4f90b3f374467230a8c72aabfd5e1 | Update Program.cs | relianz/s2i-aspnet-example,relianz/s2i-aspnet-example,relianz/s2i-aspnet-example | app/Program.cs | app/Program.cs | // using System.Linq;
// using System.Threading.Tasks;
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
blahblah
namespace WebApplication
{
public class Program
{
... | // using System.Linq;
// using System.Threading.Tasks;
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace WebApplication
{
public class Program
{
publ... | apache-2.0 | C# |
4b24c0e4723a40ce865d9fad7e5c4bc4cf8be2cf | Update CatAPI.cs | JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm | ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatAPI.cs | ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatAPI.cs | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | apache-2.0 | C# |
06a91aabc80a8b5a7887728ce5b4d66526132751 | Update CosmosTableBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/CosmosTable/CosmosTableBase.cs | TIKSN.Core/Data/CosmosTable/CosmosTableBase.cs | using Microsoft.Azure.Cosmos.Table;
using Microsoft.Extensions.Configuration;
namespace TIKSN.Data.CosmosTable
{
public abstract class CosmosTableBase
{
private readonly IConfigurationRoot _configuration;
private readonly string _connectionStringKey;
protected CosmosTableBase(IConfigu... | using Microsoft.Azure.Cosmos.Table;
using Microsoft.Extensions.Configuration;
namespace TIKSN.Data.CosmosTable
{
public abstract class CosmosTableBase
{
private readonly IConfigurationRoot _configuration;
private readonly string _connectionStringKey;
protected CosmosTableBase(IConfigu... | mit | C# |
53c0ec9c97456d4d16f933487430aa0b6ebe2cb3 | Update MongoDatabaseProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/MongoDatabaseProvider.cs | TIKSN.Core/Data/Mongo/MongoDatabaseProvider.cs | using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public class MongoDatabaseProvider : IMongoDatabaseProvider
{
private readonly IConfiguration _configuration;
private readonly string _connectionStringKey;
public MongoDatabaseProvider(IConfig... | using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public class MongoDatabaseProvider : IMongoDatabaseProvider
{
private readonly IConfigurationRoot _configuration;
private readonly string _connectionStringKey;
public MongoDatabaseProvider(ICo... | mit | C# |
808a90c155dda179ebfcc4ce425d30347b83be00 | Add net46 to the build.cake | AngleSharp/AngleSharp.Io,AngleSharp/AngleSharp.Io,AngleSharp/AngleSharp.Io | build.cake | build.cake | var target = Argument("target", "Default");
var projectName = "AngleSharp.Io";
var solutionName = "AngleSharp.Io";
var frameworks = new Dictionary<String, String>
{
{ "netstandard2.0", "netstandard2.0" },
{ "net46", "net46" },
};
#load tools/anglesharp.cake
RunTarget(target);
| var target = Argument("target", "Default");
var projectName = "AngleSharp.Io";
var solutionName = "AngleSharp.Io";
var frameworks = new Dictionary<String, String>
{
{ "netstandard2.0", "netstandard2.0" },
};
#load tools/anglesharp.cake
RunTarget(target);
| mit | C# |
7b273b9234f0edcd3bb659f6cabf90029de79f3f | Bump version | transistor1/SQLFormatterPlugin | Properties/AssemblyInfo.cs | 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("SQ... | 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("SQ... | bsd-3-clause | C# |
46513a76073e2f2deb69f9aed902efba53cd937d | Add ToString to help with debuggign... :-) | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | lgpl-2.1 | C# |
ed0dcb2e7333e47d5cf66d4cdd27cd48d4300292 | Add comment explaining why | EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,naoey/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,peppy/osu-new,naoey/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,ZLi... | osu.Game/Rulesets/Mods/IApplicableToDrawableHitObject.cs | osu.Game/Rulesets/Mods/IApplicableToDrawableHitObject.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.Collections.Generic;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for <see cref="M... | // 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.Collections.Generic;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for <see cref="M... | mit | C# |
042d6094cb7287dc2b6d1f6facb87e7e904433ed | Update src/Avalonia.Controls/Notifications/INotification.cs | AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalo... | src/Avalonia.Controls/Notifications/INotification.cs | src/Avalonia.Controls/Notifications/INotification.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Represents a notification that can be shown in a window or by the ho... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Represents a notification that can be shown in a window or by the ho... | mit | C# |
4ae3ac6ec979ea80f7824e2b0cb4eea14df19dac | Remove unneeded SupportedDiagnostics override | bartdesmet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mavasani/roslyn,dotnet/roslyn,mavasani/roslyn,shyamna... | src/Analyzers/Core/Analyzers/Formatting/AbstractFormattingAnalyzer.cs | src/Analyzers/Core/Analyzers/Formatting/AbstractFormattingAnalyzer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Formatti... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Formatti... | mit | C# |
3bfd4c02c3922268283cbec2cced9986356ef02f | Update RectangleMarker.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/Avalonia/Nodes/Markers/RectangleMarker.cs | src/Core2D/Modules/Renderer/Avalonia/Nodes/Markers/RectangleMarker.cs | #nullable enable
using Core2D.Modules.Renderer.Avalonia.Media;
using A = Avalonia;
using AP = Avalonia.Platform;
namespace Core2D.Modules.Renderer.Avalonia.Nodes.Markers;
internal class RectangleMarker : MarkerBase
{
public A.Rect Rect { get; set; }
public override void Draw(object? dc)
{
if (dc... | #nullable enable
using Core2D.Modules.Renderer.Avalonia.Media;
using A = Avalonia;
using AP = Avalonia.Platform;
namespace Core2D.Modules.Renderer.Avalonia.Nodes.Markers;
internal class RectangleMarker : MarkerBase
{
public A.Rect Rect { get; set; }
public override void Draw(object? dc)
{
if (dc... | mit | C# |
cf1100a5ac9a4c7d5b60e010b7d83753d9a04657 | add base client config validator | MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/Validation/DefaultClientConfigurationValidator.cs | src/IdentityServer4/Validation/DefaultClientConfigurationValidator.cs | using System.Threading.Tasks;
namespace IdentityServer4.Validation
{
/// <summary>
/// Default client configuration validator
/// </summary>
/// <seealso cref="IdentityServer4.Validation.IClientConfigurationValidator" />
public class DefaultClientConfigurationValidator : IClientConfigurationValidat... | using System.Threading.Tasks;
namespace IdentityServer4.Validation
{
/// <summary>
/// Default client configuration validator
/// </summary>
/// <seealso cref="IdentityServer4.Validation.IClientConfigurationValidator" />
public class DefaultClientConfigurationValidator : IClientConfigurationValidat... | apache-2.0 | C# |
bb76cacf2ec55090563aad2057eb95e2a6a98650 | Revert change in TxoRef class | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Blockchain/TransactionOutputs/TxoRef.cs | WalletWasabi/Blockchain/TransactionOutputs/TxoRef.cs | using NBitcoin;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
using WalletWasabi.Helpers;
using WalletWasabi.JsonConverters;
namespace WalletWasabi.Blockchain.TransactionOutputs
{
/// <summary>
/// The same functionality as Outpoint, but it's JsonSerializable
/// </summary>
[Jso... | using NBitcoin;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
using WalletWasabi.Helpers;
using WalletWasabi.JsonConverters;
namespace WalletWasabi.Blockchain.TransactionOutputs
{
/// <summary>
/// The same functionality as Outpoint, but it's JsonSerializable
/// </summary>
[Jso... | mit | C# |
59596f75f702fd5752063375cd9cd4ac0c979e2d | Update the Layout | morarj/ACStalkMarket,morarj/ACStalkMarket,morarj/ACStalkMarket | ACStalkMarket/ACStalkMarket/Views/Shared/_Layout.cshtml | ACStalkMarket/ACStalkMarket/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Mi aplicación ASP.NET</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~... | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Mi aplicación ASP.NET</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~... | mit | C# |
458680c023c9b88682cd859ad4dd1ca33a3c6fd9 | tweak to media.cshtml | Jeavon/Slimsy,Jeavon/Slimsy,Jeavon/Slimsy | TestSite/Views/Partials/Grid/Editors/Media.cshtml | TestSite/Views/Partials/Grid/Editors/Media.cshtml | @inherits UmbracoViewPage<dynamic>
@if (Model.value != null)
{
var udi = Model.value.udi.ToString();
var item = Umbraco.Media((string)udi);
if (item != null)
{
var altText = Model.value.altText ?? Model.value.caption ?? string.Empty;
int width = 160;
int height = 0;
... | @inherits UmbracoViewPage<dynamic>
@if (Model.value != null)
{
var udi = Model.value.udi.ToString();
var item = Umbraco.Media(udi);
if (item != null)
{
var altText = Model.value.altText ?? Model.value.caption ?? string.Empty;
int width = 160;
int height = 0;
if (Mod... | mit | C# |
9f66b20c2e4976dfd6e2019ade5d9c26a5408133 | Use ResouceUtility in FigletTransform | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/OutputSinks/FigletTransform.cs | source/Nuke.Common/OutputSinks/FigletTransform.cs | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using AutoMapper.XpressionMapper;
using Colo... | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using Colorful;
using Nuke.Common.Utilities;
namespace Nuke.Common.Ou... | mit | C# |
8c8bdbcd024abfde299d207178961964172f1527 | Fix assembly loading name format | serilog/serilog-generator,kensykora/serilog-generator,serilog/serilog-generator | src/serilog-generator/Configuration/CurrentDirectoryAssemblyLoader.cs | src/serilog-generator/Configuration/CurrentDirectoryAssemblyLoader.cs | using System;
using System.IO;
using System.Reflection;
namespace Serilog.Generator.Configuration
{
static class CurrentDirectoryAssemblyLoader
{
public static void Install()
{
AppDomain.CurrentDomain.AssemblyResolve += (s, e) =>
{
var assemblyPath = Pat... | using System;
using System.IO;
using System.Reflection;
namespace Serilog.Generator.Configuration
{
static class CurrentDirectoryAssemblyLoader
{
public static void Install()
{
AppDomain.CurrentDomain.AssemblyResolve += (s, e) =>
{
var assemblyPath = Pat... | apache-2.0 | C# |
780ceba8912cf56fa82e55c7fed059bc59693e9f | Add UmbracoProperty to GridContentMediaValue | Gibe/Gibe.DittoProcessors | Gibe.DittoProcessors/Processors/Models/GridContentMediaValue.cs | Gibe.DittoProcessors/Processors/Models/GridContentMediaValue.cs | using Our.Umbraco.Ditto;
namespace Gibe.DittoProcessors.Processors.Models
{
public class GridContentMediaValue
{
public int Id { get; set; }
[UmbracoProperty("umbracoFile")]
public string Image { get; set; }
public string Caption { get; set; }
}
} | namespace Gibe.DittoProcessors.Processors.Models
{
public class GridContentMediaValue
{
public int Id { get; set; }
public string Image { get; set; }
public string Caption { get; set; }
}
} | mit | C# |
383b032ea68f27cd73b1bf3ed5c97b8dc7907233 | Fix Google ClientId | patsy02/KompetansetorgetXamarin | KompetansetorgetXamarin/KompetansetorgetXamarin/AuthProvider.cs | KompetansetorgetXamarin/KompetansetorgetXamarin/AuthProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KompetansetorgetXamarin
{
public static class AuthProvider
{
// OAuth
// For Google login, configure at https://console.developers.google.com/
public static str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KompetansetorgetXamarin
{
public static class AuthProvider
{
// OAuth
// For Google login, configure at https://console.developers.google.com/
public static str... | mit | C# |
e17de547accad368998e1df350c0401985b04d78 | use IReadOnlyCollection instead of IList | SeatwaveOpenSource/pdiffy,SeatwaveOpenSource/pdiffy | PDiffy.Web/Features/ImageDifference/ImageDifferenceViewModel.cs | PDiffy.Web/Features/ImageDifference/ImageDifferenceViewModel.cs | using System.Collections.Generic;
using PDiffy.Web.Features.Page;
namespace PDiffy.Web.Features.ImageDifference
{
public class ImageDifferenceViewModel
{
public IReadOnlyCollection<PageViewModel> Pages { get; set; }
public PageViewModel NewPage { get; set; }
}
} | using System.Collections.Generic;
using PDiffy.Web.Features.Page;
namespace PDiffy.Web.Features.ImageDifference
{
public class ImageDifferenceViewModel
{
public IList<PageViewModel> Pages { get; set; }
public PageViewModel NewPage { get; set; }
}
} | mit | C# |
8d3f36b0f82ddb0d0ed55805913b0100ae5549eb | make auto-resetter available for internal builds | fluffynuts/PeanutButter,fluffynuts/PeanutButter,fluffynuts/PeanutButter | source/Utils/PeanutButter.Utils/AutoResetter.cs | source/Utils/PeanutButter.Utils/AutoResetter.cs | using System;
namespace
#if BUILD_PEANUTBUTTER_INTERNAL
Imported.PeanutButter.Utils
#else
PeanutButter.Utils
#endif
{
/// <summary>
/// Provides a mechanism to run code on construction and disposal,
/// irrespective of exception handling
/// Use this, for example, to set up and tear down state req... | using System;
namespace PeanutButter.Utils
{
/// <summary>
/// Provides a mechanism to run code on construction and disposal,
/// irrespective of exception handling
/// Use this, for example, to set up and tear down state required for
/// a test -- your constructionAction is called immediately upo... | bsd-3-clause | C# |
8f14dcc6098fc649c3cd4ff37a0d93cf47c1a79e | Fix CreatedTimeConverter to use UTC | drasticactions/WinMasto | WinMasto/Tools/Converters/CreatedTimeConverter.cs | WinMasto/Tools/Converters/CreatedTimeConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
using PrettyPrintNet;
namespace WinMasto.Tools.Converters
{
public class CreatedTimeConverter : IValueConverter
{
public object Convert(object value, Type tar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
using PrettyPrintNet;
namespace WinMasto.Tools.Converters
{
public class CreatedTimeConverter : IValueConverter
{
public object Convert(object value, Type tar... | mit | C# |
9a05857a93412135a2a73d3c73144f95ede3cad1 | Add protected copy constructor to avoid breaking changes | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Localisation/LocalisationParameters.cs | osu.Framework/Localisation/LocalisationParameters.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.Framework.Localisation
{
/// <summary>
/// A set of parameters that control the way strings are localised.
/// </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.
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A set of parameters that control the way strings are localised.
/// </summary>
... | mit | C# |
b6c8deb05119cdddc6df09e3fa1df2dd54adad34 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
1b71c747f4675edaae0f3b5a9d2ea0f72d8425d7 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
0848d832b32b0a96b6534bc3e28fb2c610d06302 | Revert formatting changes to RouteTableGroup | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Framework/Routing/RouteTableGroup.cs | src/DotVVM.Framework/Routing/RouteTableGroup.cs | using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Routing
{
public class RouteTableGroup
{
public Action<string, RouteBase> AddToParentRouteTable { get; private set; }
public Func<IServiceProvider, IDotvvmPresenter> P... | using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Routing
{
public class RouteTableGroup
{
public Action<string, RouteBase> AddToParentRouteTable { get; }
public string GroupName { get; }
public string RouteN... | apache-2.0 | C# |
32c8e5ba2b27a9f81a3a8088235feeea241d05de | add start time log | soulgame/slua,yaukeywang/slua,jiangzhhhh/slua,Roland0511/slua,haolly/slua_source_note,Salada/slua,luzexi/slua-3rd,DebugClub/slua,angeldnd/slua,chiuan/slua,luzexi/slua-3rd-lib,angeldnd/slua,luzexi/slua-3rd-lib,haolly/slua_source_note,thing-nacho/slua,shrimpz/slua,jiangzhhhh/slua,shrimpz/slua,Roland0511/slua,haolly/slua_... | Assets/Slua/example/Perf.cs | Assets/Slua/example/Perf.cs | using UnityEngine;
using System.Collections;
using SLua;
public class Perf : MonoBehaviour
{
LuaSvr l;
// Use this for initialization
void Start()
{
var startMem = System.GC.GetTotalMemory (true);
var start = Time.realtimeSinceStartup;
l = new LuaSvr();
l.init(null, () =>
{
Debug.Log ("start cost: "... | using UnityEngine;
using System.Collections;
using SLua;
public class Perf : MonoBehaviour
{
LuaSvr l;
// Use this for initialization
void Start()
{
l = new LuaSvr();
l.init(null, () =>
{
l.start("perf");
});
#if UNITY_5
Application.logMessageReceived += this.log;
#else
Application.RegisterLogCall... | mit | C# |
e50b2972fb813a417201d4aac5fe5bf2b84bf53b | Include DI policies | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Api/DependencyResolution/IoC.cs | src/SFA.DAS.EAS.Api/DependencyResolution/IoC.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IoC.cs" company="Web Advanced">
// Copyright 2012 Web Advanced (www.webadvanced.com)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IoC.cs" company="Web Advanced">
// Copyright 2012 Web Advanced (www.webadvanced.com)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | mit | C# |
82c7bd5ad6d10cb454249a46c344ca750404d189 | Update version 1.0.84 | programcsharp/griddly,jehhynes/griddly,nickdevore/griddly,jehhynes/griddly,nickdevore/griddly,programcsharp/griddly,programcsharp/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | mit | C# |
037a4fbd5e34ee9238e45d7c696ac11195336569 | Optimise DependencyContainer lookups | EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework/Allocation/CacheInfo.cs | osu.Framework/Allocation/CacheInfo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Extensions.TypeExtensions;
namespace osu.Framework.Allocation
{
public readonly struct CacheInfo : IEquatable<CacheInfo>
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Extensions.TypeExtensions;
namespace osu.Framework.Allocation
{
public readonly struct CacheInfo
{
/// <summary>
... | mit | C# |
ba63be2b636316459437e9ce95c467be3c03f48c | Check if there are any Clients on the list page | andrewgunn/CodeUtopia,andrewgunn/CodeUtopia,andrewgunn/CodeUtopia | BankingManagementClient.Host.Web/Views/Home/Index.cshtml | BankingManagementClient.Host.Web/Views/Home/Index.cshtml | @model IEnumerable<BankingManagementClient.ProjectionStore.Projections.Client.ClientProjection>
@{
ViewBag.Title = "Index";
}
<h2>Clients</h2>
@if (Model.Any())
{
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.ElementAt(0)
.ClientI... | @model IEnumerable<BankingManagementClient.ProjectionStore.Projections.Client.ClientProjection>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.ElementAt(0)
... | mit | C# |
c665983f59d98f836982c0edb652f2f54db9a97c | Use covariance for factory fields to simplify code. | mthamil/TFSTestCaseAutomator | TestCaseAutomator/ViewModels/Browser/Nodes/SourceDirectoryViewModel.cs | TestCaseAutomator/ViewModels/Browser/Nodes/SourceDirectoryViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SharpEssentials.Collections;
using TestCaseAutomator.TeamFoundation;
namespace TestCaseAutomator.ViewModels.Browser.Nodes
{
public class SourceDirectoryViewModel : VirtualizedNode<IVirtualizedNode>
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SharpEssentials.Collections;
using TestCaseAutomator.TeamFoundation;
namespace TestCaseAutomator.ViewModels.Browser.Nodes
{
public class SourceDirectoryViewModel : VirtualizedNode<IVirtualizedNode>
{
... | apache-2.0 | C# |
9014b1dc1fb68e8bbda2da6fe2a74404010ab1fa | Handle null arrays when MSBuild doesn't initialize task properties | jnm2/ApiContractGenerator,jnm2/ApiContractGenerator | src/ApiContractGenerator.MSBuild/GenerateApiContract.cs | src/ApiContractGenerator.MSBuild/GenerateApiContract.cs | using System.IO;
using ApiContractGenerator.AssemblyReferenceResolvers;
using ApiContractGenerator.MetadataReferenceResolvers;
using ApiContractGenerator.Source;
using Microsoft.Build.Framework;
namespace ApiContractGenerator.MSBuild
{
public sealed class GenerateApiContract : ITask
{
public IBuildEngi... | using System.IO;
using ApiContractGenerator.AssemblyReferenceResolvers;
using ApiContractGenerator.MetadataReferenceResolvers;
using ApiContractGenerator.Source;
using Microsoft.Build.Framework;
namespace ApiContractGenerator.MSBuild
{
public sealed class GenerateApiContract : ITask
{
public IBuildEngi... | mit | C# |
535d5853aa85e72e8a3f9fdc5a4180dc41a39f9c | Change "Countdown" "End Sync" properties order | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/CountdownClock/Settings.cs | DesktopWidgets/Widgets/CountdownClock/Settings.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public Settings()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public Settings()
{
DateTimeFormat = new List<string> {"{dd}d {... | apache-2.0 | C# |
c50d378077edd7db4dfe2b69a01ba8281bd95ceb | Add culture when converting to double (fix for French language issue) | fleetcomplete/pclreversegeocoder | FleetComplete.Geocoder.CanadaGeoNameBase/GeoNameEntry.cs | FleetComplete.Geocoder.CanadaGeoNameBase/GeoNameEntry.cs | using System;
namespace FleetComplete.Geocoder.CanadaGeoNameBase
{
//unused data is left out for performance
internal class GeoNameEntry
{
//public string Id { get; set; }
public string GeographicalName { get; set; }
//public string Language { get; set; }
//public string Sy... | using System;
namespace FleetComplete.Geocoder.CanadaGeoNameBase
{
//unused data is left out for performance
internal class GeoNameEntry
{
//public string Id { get; set; }
public string GeographicalName { get; set; }
//public string Language { get; set; }
//public string Sy... | mit | C# |
a98e1d13d448cee13be2442ad691239d79752937 | Update ApplicationLanguage MaxNameLength to 128. | verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspnetboile... | src/Abp.Zero.Common/Localization/ApplicationLanguage.cs | src/Abp.Zero.Common/Localization/ApplicationLanguage.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.Localization
{
/// <summary>
/// Represents a language of the application.
/// </summary>
[Serializable]
[Tabl... | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.Localization
{
/// <summary>
/// Represents a language of the application.
/// </summary>
[Serializable]
[Tabl... | mit | C# |
c3f73bb55c9a83962844e73eac3828e62e079e3a | change log order | LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore | src/EthereumJobs/Job/CheckPaymentsToUserContractsJob.cs | src/EthereumJobs/Job/CheckPaymentsToUserContractsJob.cs | using System;
using System.Threading.Tasks;
using Core.ContractEvents;
using Core.Log;
using Core.Timers;
using Core.Utils;
using Nethereum.Hex.HexTypes;
using Nethereum.Web3;
using Services;
namespace EthereumJobs.Job
{
public class CheckPaymentsToUserContractsJob : TimerPeriod
{
private const int TimerPeriodSec... | using System;
using System.Threading.Tasks;
using Core.ContractEvents;
using Core.Log;
using Core.Timers;
using Core.Utils;
using Nethereum.Hex.HexTypes;
using Nethereum.Web3;
using Services;
namespace EthereumJobs.Job
{
public class CheckPaymentsToUserContractsJob : TimerPeriod
{
private const int TimerPeriodSec... | mit | C# |
0b73605d1afd9899cfefa787521b1352a41f8545 | Fix floor piece tesselation | Nigh7Sh4de/shatterfall,Nigh7Sh4de/shatterfall | shatterfall/Assets/Scripts/main.cs | shatterfall/Assets/Scripts/main.cs | using UnityEngine;
using System.Collections;
public class main : MonoBehaviour
{
public GameObject triangle;
public GameObject player;
public GameObject floor;
static GameObject floorInstance;
// Use this for initialization
void Start()
{
CreateFloor();
CreatePlayer();
... | using UnityEngine;
using System.Collections;
public class main : MonoBehaviour
{
public GameObject triangle;
public GameObject player;
public GameObject floor;
static GameObject floorInstance;
// Use this for initialization
void Start()
{
CreateFloor();
CreatePlayer();
... | mit | C# |
36e8ac02636056d73aeb539a6e12b992906967ad | Stop adding the @using statement to views | zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder | Umbraco.ModelsBuilder.AspNet/ModelsBuilderApplication.cs | Umbraco.ModelsBuilder.AspNet/ModelsBuilderApplication.cs | using System.Web.Mvc;
using System.Web.WebPages;
using Umbraco.Core;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web.Mvc;
using Umbraco.ModelsBuilder.AspNet.ViewEngine;
using Umbraco.ModelsBuilder.Umbraco;
namespace Umbraco.ModelsBuilder.AspNet
{
public class ModelsBuilderApplication : ApplicationEv... | using System.Web.Mvc;
using System.Web.WebPages;
using Umbraco.Core;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web.Mvc;
using Umbraco.ModelsBuilder.AspNet.ViewEngine;
using Umbraco.ModelsBuilder.Umbraco;
namespace Umbraco.ModelsBuilder.AspNet
{
public class ModelsBuilderApplication : ApplicationEv... | mit | C# |
a98c6b2c1f43e910045cc75a879452a732268be5 | Add comment metioning why we need to use `DrawableRuleset` lookup | ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Screens/Play/HUD/ClicksPerSecond/ClicksPerSecondCalculator.cs | osu.Game/Screens/Play/HUD/ClicksPerSecond/ClicksPerSecondCalculator.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
namespace osu.Game.Screens.Play.HUD.ClicksPer... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
namespace osu.Game.Screens.Play.HUD.ClicksPer... | mit | C# |
5586a27b684bd184232af4a1f8e1779ce7ae2e5f | add 2 boolean variables required for the next/previous browsing functionality | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Models/Picture.cs | AstroPhotoGallery/AstroPhotoGallery/Models/Picture.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace AstroPhotoGallery.Models
{
public class Picture
{
[Key]
public int Id { g... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace AstroPhotoGallery.Models
{
public class Picture
{
[Key]
public int Id { g... | mit | C# |
93aad6819f408635bc9c29a4998e79cbf85c4c8a | Replace CCDelayTime.Copy() with just passing the Action. No need for Copy() now that CCDelayTime is Stateful | haithemaraissia/CocosSharp,hig-ag/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp,netonjm/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,hig-ag/CocosSharp,netonjm/CocosSharp,haithemaraissia/CocosSharp,TukekeSoft/CocosSharp,mono/CocosSharp,mono/CocosSharp | tests/tests/classes/tests/EffectsAdvancedTest/Effect2.cs | tests/tests/classes/tests/EffectsAdvancedTest/Effect2.cs | using CocosSharp;
namespace tests
{
public class Effect2 : EffectAdvanceTextLayer
{
public override void OnEnter()
{
base.OnEnter();
// To reuse a grid the grid size and the grid type must be the same.
// in this case:
// ShakyTiles is TiledG... | using CocosSharp;
namespace tests
{
public class Effect2 : EffectAdvanceTextLayer
{
public override void OnEnter()
{
base.OnEnter();
// To reuse a grid the grid size and the grid type must be the same.
// in this case:
// ShakyTiles is TiledG... | mit | C# |
dcc82c4e52f97adda03fee4ca04cd0858f94e784 | Add user_id parameter (present with Stripe Connect) to StripeEvent | sidshetye/stripe.net,agrogan/stripe.net,mathieukempe/stripe.net,weizensnake/stripe.net,duckwaffle/stripe.net,DemocracyVenturesInc/stripe.net,agrogan/stripe.net,hattonpoint/stripe.net,shirley-truong-volusion/stripe.net,mathieukempe/stripe.net,craigmckeachie/stripe.net,sidshetye/stripe.net,AvengingSyndrome/stripe.net,Dem... | src/Stripe/Entities/StripeEvent.cs | src/Stripe/Entities/StripeEvent.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeEvent
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonPropert... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeEvent
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonPropert... | apache-2.0 | C# |
abd99a8433614b6c626215774ddc84908ba2566c | Fix anonymous object tests | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | apache-2.0 | C# |
edd8eb261c434dd6256621f3f05e842356d48bf9 | Fix cref attribute in XML comment | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate | src/Abp.Zero.NHibernate/Zero/NHibernate/EntityMappings/AbpTenantMap.cs | src/Abp.Zero.NHibernate/Zero/NHibernate/EntityMappings/AbpTenantMap.cs | using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.NHibernate.EntityMappings;
namespace Abp.Zero.NHibernate.EntityMappings
{
/// <summary>
/// Base class to map classes derived from <see cref="AbpTenant{TUser}"/>
/// </summary>
/// <typeparam name="TTenant">Tenant type</typeparam>
///... | using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.NHibernate.EntityMappings;
namespace Abp.Zero.NHibernate.EntityMappings
{
/// <summary>
/// Base class to map classes derived from <see cref="AbpTenant{TTenant,TUser}"/>
/// </summary>
/// <typeparam name="TTenant">Tenant type</typeparam>... | mit | C# |
3b9783b4c10f3c3aae67a7c978e1826fdd14060c | Remove .php reference from C# dial-3 example | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets | twiml/voice/dial/dial-3/dial-3.5.x.cs | twiml/voice/dial/dial-3/dial-3.5.x.cs | using Twilio.TwiML;
class Example
{
static void Main()
{
var response = new VoiceResponse();
response.Dial("415-123-4567", action: "/handleDialCallStatus",
method: "GET");
response.Say("I am unreachable");
System.Console.WriteLine(response.ToString());
}
}
| using Twilio.TwiML;
class Example
{
static void Main()
{
var response = new VoiceResponse();
response.Dial("415-123-4567", action: "/handleDialCallStatus.php",
method: "GET");
response.Say("I am unreachable");
System.Console.WriteLine(response.ToString());
}
}
| mit | C# |
579986274b17d7a8e27a4d150406ffe7edda310b | improve the docs, explain how to use ArgumentsSource for single arugment, fixes #889 | adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/... | samples/BenchmarkDotNet.Samples/IntroArgumentsSource.cs | samples/BenchmarkDotNet.Samples/IntroArgumentsSource.cs | using System;
using System.Collections.Generic;
using System.Threading;
using BenchmarkDotNet.Attributes;
namespace BenchmarkDotNet.Samples
{
public class IntroArgumentsSource
{
[Benchmark]
[ArgumentsSource(nameof(Numbers))]
public double ManyArguments(double x, double y) => Math.Pow(x,... | using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
namespace BenchmarkDotNet.Samples
{
public class IntroArgumentsSource
{
[Benchmark]
[ArgumentsSource(nameof(Numbers))]
public double Pow(double x, double y) => Math.Pow(x, y);
public IEnumerable<o... | mit | C# |
2f9908b78977cb6ce0fec20934c638a875b5d19e | Fix DynamoDB tests | danielgerlag/workflow-core | test/WorkflowCore.Tests.DynamoDB/DynamoDbDockerSetup.cs | test/WorkflowCore.Tests.DynamoDB/DynamoDbDockerSetup.cs | using System;
using System.Net;
using Docker.Testify;
using Xunit;
using Amazon.DynamoDBv2;
using Amazon.Runtime;
namespace WorkflowCore.Tests.DynamoDB
{
public class DynamoDbDockerSetup : DockerSetup
{
public static string ConnectionString { get; set; }
public static AWSCredentials Crede... | using System;
using System.Net;
using Docker.Testify;
using Xunit;
using Amazon.DynamoDBv2;
using Amazon.Runtime;
namespace WorkflowCore.Tests.DynamoDB
{
public class DynamoDbDockerSetup : DockerSetup
{
public static string ConnectionString { get; set; }
public static AWSCredentials Crede... | mit | C# |
819ad55797195ea761226fd3b8f1d251e7a81b3c | Fix build issue | KevM/tikaondotnet | src/TikaOnDotNet.Tests/sad-files/sad_text_extraction.cs | src/TikaOnDotNet.Tests/sad-files/sad_text_extraction.cs | using System;
using FluentAssertions;
using NUnit.Framework;
using TikaOnDotNet.TextExtraction;
namespace TikaOnDotNet.Tests
{
[TestFixture]
public class sad_text_extraction
{
private TextExtractor _cut;
[SetUp]
public virtual void SetUp()
{
_cut = new TextExtr... | using System;
using FluentAssertions;
using NUnit.Framework;
using TikaOnDotNet.TextExtraction;
namespace TikaOnDotNet.Tests
{
[TestFixture]
public class sad_text_extraction
{
private TextExtractor _cut;
[SetUp]
public virtual void SetUp()
{
_cut = new TextExtr... | apache-2.0 | C# |
536a10480835e66b0ab672696a6d8298f58824dc | Fix standard node note toggle; update text | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/Unity/CW_StandardNode.cs | Source/ContractsWindow.Unity/Unity/CW_StandardNode.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Unity
{
public class CW_StandardNode : MonoBehaviour
{
[SerializeField]
private Text Title = null;
[SerializeField]
private Text Reward = null;
[... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Unity
{
public class CW_StandardNode : MonoBehaviour
{
[SerializeField]
private Text Title = null;
[SerializeField]
private Text Reward = null;
[... | mit | C# |
ab5dd517465a6756454ba89ef78a1fa7e5e923f3 | Update ConcurrentPriorityQueueTests.cs | dshulepov/DataStructures | Tests/FunctionalTests/ConcurrentPriorityQueueTests.cs | Tests/FunctionalTests/ConcurrentPriorityQueueTests.cs | using DataStructures;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FunctionalTests
{
[TestClass]
public class ConcurrentPriorityQueueTests : PriorityQueueTests
{
protected internal override PriorityQueue<int> GetCollection(int? capacity = null)
{
if (capacity.H... | using DataStructures;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FunctionalTests
{
[TestClass]
public class ConcurrentPriorityQueueTests : PriorityQueueTests
{
protected internal override PriorityQueue<int> GetCollection(int? capacity = null)
{
if (capacity.H... | mit | C# |
b32b9fd95604dfbabbfc827fd8bafa4c19d92131 | Set current LogFactory in Extendable Service Extension | northspb/RawRabbit,pardahlman/RawRabbit | src/RawRabbit.Extensions/Client/IServiceCollectionExtension.cs | src/RawRabbit.Extensions/Client/IServiceCollectionExtension.cs | using System;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using RawRabbit.Configuration;
using RawRabbit.Configuration.Queue;
using RawRabbit.Context;
using RawRabbit.Extensions.MessageSequence.Core;
using RawRabbit.Extensions.MessageSequence.Core.Abstra... | using System;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using RawRabbit.Configuration;
using RawRabbit.Configuration.Queue;
using RawRabbit.Context;
using RawRabbit.Extensions.MessageSequence.Core;
using RawRabbit.Extensions.MessageSequence.Core.Abstra... | mit | C# |
361b482fb8c4bc3eeed51b7a6578912372b2f9f9 | update the version | SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
5a2a314491903bb27f52d802c9f0f0f0590c0731 | update the version | SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
d2004fe50624e07c6e232a013b5c11b5c14fad74 | add validate message in Member Login view | irresolution/vivianClothing,irresolution/vivianClothing | vivianClothing/vivianClothing/Views/Member/Login.cshtml | vivianClothing/vivianClothing/Views/Member/Login.cshtml | @model vivianClothing.Models.MemberLoginViewModel
@{
ViewBag.Title = "Login";
}
<h2>Login</h2>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>MemberLoginViewModel</legend>
<div class="editor-label">
@Html.LabelFor(m... | @model vivianClothing.Models.MemberLoginViewModel
@{
ViewBag.Title = "Login";
}
<h2>Login</h2>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>MemberLoginViewModel</legend>
<div class="editor-label">
@Html.LabelFor(m... | mit | C# |
9b5615bb504fa9166a3843ae89fc0c6f26e9d493 | Fix comment | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Server/System/Scenario/ScenarioPartPurchaseDataUpdater.cs | Server/System/Scenario/ScenarioPartPurchaseDataUpdater.cs | using LunaCommon.Message.Data.ShareProgress;
using LunaCommon.Xml;
using Server.Utilities;
using System.Threading.Tasks;
using System.Xml;
namespace Server.System.Scenario
{
public partial class ScenarioDataUpdater
{
/// <summary>
/// We received a part purchase message so update the scenario ... | using LunaCommon.Message.Data.ShareProgress;
using LunaCommon.Xml;
using Server.Utilities;
using System.Threading.Tasks;
using System.Xml;
namespace Server.System.Scenario
{
public partial class ScenarioDataUpdater
{
/// <summary>
/// We received a part purchase message so update the scenario ... | mit | C# |
6dc3bf845017a38d3779171adb3b4c8c284e2705 | Allow arch to be included in monitor tag test data. (#3183) | dotnet/dotnet-docker,dotnet/dotnet-docker | tests/Microsoft.DotNet.Docker.Tests/MonitorImageData.cs | tests/Microsoft.DotNet.Docker.Tests/MonitorImageData.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;
namespace Microsoft.DotNet.Docker.Tests
{
public class MonitorImageData : ImageData
{
... | // 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;
namespace Microsoft.DotNet.Docker.Tests
{
public class MonitorImageData : ImageData
{
... | mit | C# |
c8e7375929124762853bd976d12db9b0ef58dc7a | Add missing test for reduce onions behavior. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/Packager/BitnodesApiTests.cs | WalletWasabi.Tests/UnitTests/Packager/BitnodesApiTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using WalletWasabi.Packager;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Packager
{
/// <summary>
/// Tests for <see cref="BitnodesApi"/>.
/// </summary>
public class BitnodesApiTests
{
private const string ApiResponse = @"
{
""tim... | using System;
using System.IO;
using WalletWasabi.Packager;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Packager
{
/// <summary>
/// Tests for <see cref="BitnodesApi"/>.
/// </summary>
public class BitnodesApiTests
{
[Fact]
public void ProcessResponseTest()
{
var stringWriter = new StringWriter()... | mit | C# |
29eb99d56d8a68355717133faac864c3209f02ea | Update osu!.db reading for 20191107 update | HoLLy-HaCKeR/osu-database-reader | osu-database-reader/BinaryFiles/OsuDb.cs | osu-database-reader/BinaryFiles/OsuDb.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using osu.Shared;
using osu.Shared.Serialization;
using osu_database_reader.Components.Beatmaps;
namespace osu_database_reader.BinaryFiles
{
public class OsuDb : ISerializable
{
public int OsuVersion;
pu... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using osu.Shared;
using osu.Shared.Serialization;
using osu_database_reader.Components.Beatmaps;
namespace osu_database_reader.BinaryFiles
{
public class OsuDb : ISerializable
{
public int OsuVersion;
pu... | mit | C# |
b0f40d9e4562898a488cdd3b643553aa7099a4e0 | Remove `user` from `SubmittableScore` | ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu | osu.Game/Online/Solo/SubmittableScore.cs | osu.Game/Online/Solo/SubmittableScore.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 JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using osu.Game.Online.API;
using 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 JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using osu.Game.Online.API;
using osu... | mit | C# |
3910f6a88c924c3962ecd2800d5022b0832666c0 | Update LessonBook.CreateSampleLesson to be callable | GGProductions/LetterStorm,GGProductions/LetterStorm,GGProductions/LetterStorm | Assets/Classes/GGProductions/LetterStorm/Data/Collections/LessonBook.cs | Assets/Classes/GGProductions/LetterStorm/Data/Collections/LessonBook.cs | using System;
namespace GGProductions.LetterStorm.Data.Collections
{
/// <summary>
/// Represents all the Lessons for a specific user
/// </summary>
[Serializable]
public class LessonBook
{
#region Private Variables ---------------------------------------------
// Create the pr... | using System;
namespace GGProductions.LetterStorm.Data.Collections
{
/// <summary>
/// Represents all the Lessons for a specific user
/// </summary>
[Serializable]
public class LessonBook
{
#region Private Variables ---------------------------------------------
// Create the pr... | mit | C# |
cddffa3109c5ee751bc9e6a38c441618199193cb | add IsPayable for Contract | AntShares/AntShares.SmartContract.Framework | Neo.SmartContract.Framework/Services/Neo/Contract.cs | Neo.SmartContract.Framework/Services/Neo/Contract.cs | namespace Neo.SmartContract.Framework.Services.Neo
{
public class Contract
{
public extern byte[] Script
{
[Syscall("Neo.Contract.GetScript")]
get;
}
public extern bool IsPayable
{
[Syscall("Neo.Contract.IsPayable")]
... | namespace Neo.SmartContract.Framework.Services.Neo
{
public class Contract
{
public extern byte[] Script
{
[Syscall("Neo.Contract.GetScript")]
get;
}
public extern StorageContext StorageContext
{
[Syscall("Neo.Contract.GetStorageConte... | mit | C# |
ca01a2f2e82323df678c784ec967c0f80f12d284 | Update Assert call and mute the test | shiftkey/octokit.net,adamralph/octokit.net,Sarmad93/octokit.net,alfhenrik/octokit.net,darrelmiller/octokit.net,brramos/octokit.net,dlsteuer/octokit.net,forki/octokit.net,gdziadkiewicz/octokit.net,nsrnnnnn/octokit.net,octokit-net-test/octokit.net,nsnnnnrn/octokit.net,ChrisMissal/octokit.net,mminns/octokit.net,geek0r/oct... | Octokit.Tests.Integration/Reactive/ObservableRepositoriesClientTests.cs | Octokit.Tests.Integration/Reactive/ObservableRepositoriesClientTests.cs | using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Integration
{
public class ObservableRepositoriesClientTests
{
public class TheGetMethod
{
[IntegrationTest]
public async Task Retur... | using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Integration
{
public class ObservableRepositoriesClientTests
{
public class TheGetMethod
{
[IntegrationTest]
public async Task Retur... | mit | C# |
d733c44c17660548be53481bdeac66c9376819af | test commit | xterminal86/cell-wars | Assets/scripts/util/Int2.cs | Assets/scripts/util/Int2.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Int2
{
int _x = 0;
int _y = 0;
public Int2()
{
_x = 0;
_y = 0;
}
public Int2(int x, int y)
{
_x = x;
_y = y;
}
public Int2(float x, float y)
{
_x = (int)x;
_y = (int)y;
}
pu... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Int2
{
int _x = 0;
int _y = 0;
public Int2()
{
_x = 0;
_y = 0;
}
public Int2(int x, int y)
{
_x = x;
_y = y;
}
public Int2(float x, float y)
{
_x = (int)x;
_y = (int)y;
}
pub... | mit | C# |
d40dae1ee3b4c5798541a2e2392c09c2d4ee85bd | Update to stub class | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/DiscussionAttachmentResources.cs | main/Smartsheet/Api/DiscussionAttachmentResources.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
9e872d77c1b2eafd1caf18d93cc19630bc1f249e | Add mutability test to StripNamespaces | Tyrrrz/Extensions | ExtensionsTests/XmlTests.cs | ExtensionsTests/XmlTests.cs | using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tyrrrz.Extensions.Tests
{
[TestClass]
public class XmlTests
{
[TestMethod]
public void StripNamespacesTest()
{
var ns = XNamespace.Get("http://schemas.domain.com/orders");
v... | using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tyrrrz.Extensions.Tests
{
[TestClass]
public class XmlTests
{
[TestMethod]
public void StripNamespacesTest()
{
var ns = XNamespace.Get("http://schemas.domain.com/orders");
v... | mit | C# |
f78e0f334840dff148b7be7b51b2f43be06de229 | Stop resharper from saying methods are unused. | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Commands/CommandAttribute.cs | TwitchPlaysAssembly/Src/Commands/CommandAttribute.cs | using System;
using JetBrains.Annotations;
/// <summary>Marks a method as a command understood by the Twitch Plays system.</summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
[MeansImplicitUse]
sealed class CommandAttribute : Attribute
{
/// <summary>
/// A regular expression that matches ... | using System;
/// <summary>Marks a method as a command understood by the Twitch Plays system.</summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
sealed class CommandAttribute : Attribute
{
/// <summary>
/// A regular expression that matches all forms of the command. Note that which part o... | mit | C# |
4726b03454a3b64c4cbde01e58c25a0646a4b93e | Remove redundant HTML | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Views/Shared/_Layout.cshtml | src/LondonTravel.Site/Views/Shared/_Layout.cshtml | @inject IConfiguration Config
@inject SiteOptions Options
<!DOCTYPE html>
<html lang="en-gb">
<head prefix="og:http://ogp.me/ns#">
@await Html.PartialAsync("_StylesHead")
@await RenderSectionAsync("stylesHead", required: false)
@{
string canonicalUri = Context.Request.Canonical();
string image = ViewBa... | @inject IConfiguration Config
@inject SiteOptions Options
<!DOCTYPE html>
<html lang="en-gb">
<head prefix="og:http://ogp.me/ns#">
@await Html.PartialAsync("_StylesHead")
@await RenderSectionAsync("stylesHead", required: false)
@{
string canonicalUri = Context.Request.Canonical();
string image = ViewBa... | apache-2.0 | C# |
bb3461ca36bf87100488a84821cb3a26269f7462 | add comments | lordzero0000/Alerta-Minerva,hay-espacio-en-el-taco/Alerta-Minerva | Assets/Scripts/General/Score.cs | Assets/Scripts/General/Score.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Score : MonoBehaviour {
static double score = 0;
public Text labelScore = null;
public int pointPerSecond = 1;
void Update() {
addPoints(Time.deltaTime * pointPerSecond... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Score : MonoBehaviour {
public static double score = 20;
public Text labelScore = null;
public int pointPerSecond = 1;
// Use this for initialization
void Start() {
}
... | mit | C# |
99c0e19189b95df33b332784e8a13f8a985c2181 | Fix build error | NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,johnneijzen/osu,EVAST9919/osu,DrabWeb/osu,johnneijzen/osu,ZLima12/osu,ZLima12/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,ppy/osu,naoey/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/... | osu.Game.Rulesets.Catch.Tests/TestCaseCatcherArea.cs | osu.Game.Rulesets.Catch.Tests/TestCaseCatcherArea.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.