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 |
|---|---|---|---|---|---|---|---|---|
c35ff713c44194a901e7b744832fb23d5a8c6131 | Add precision and scale to avatar zoom scale | MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure | src/GRA.Data/Model/AvatarLayer.cs | src/GRA.Data/Model/AvatarLayer.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GRA.Data.Model
{
public class AvatarLayer : Abstract.BaseDbEntity
{
[Required]
public int SiteId { get; set; }
[Required]
[MaxLength(255... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace GRA.Data.Model
{
public class AvatarLayer : Abstract.BaseDbEntity
{
[Required]
public int SiteId { get; set; }
[Required]
[MaxLength(255)]
public string Name { get; set; }
... | mit | C# |
cb60e3abf6ae0213ba071340b4dd264796406445 | Test requires longer to run on slower aws build agents | Intelliflo/JustSaying,eric-davis/JustSaying,Intelliflo/JustSaying | JustEat.Simples.AwsTools.UnitTests/SqsNotificationListener/WhenThereAreExceptionsInSqsCalling.cs | JustEat.Simples.AwsTools.UnitTests/SqsNotificationListener/WhenThereAreExceptionsInSqsCalling.cs | using System;
using Amazon.SQS.Model;
using JustEat.Testing;
using NSubstitute;
using NUnit.Framework;
namespace AwsTools.UnitTests.SqsNotificationListener
{
public class WhenThereAreExceptionsInSqsCalling : BaseQueuePollingTest
{
private int _sqsCallCounter;
protected override void Given()
... | using System;
using Amazon.SQS.Model;
using JustEat.Testing;
using NSubstitute;
using NUnit.Framework;
namespace AwsTools.UnitTests.SqsNotificationListener
{
public class WhenThereAreExceptionsInSqsCalling : BaseQueuePollingTest
{
private int _sqsCallCounter;
protected override void Given()
... | apache-2.0 | C# |
2251bf3bcbdb82f706ba81624faf6a943b60324a | Use lambda spec for method | peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu | osu.Game/Overlays/Profile/Sections/Historical/UserHistoryGraph.cs | osu.Game/Overlays/Profile/Sections/Historical/UserHistoryGraph.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 System.Linq;
using JetBrains.Annotations;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framewor... | // 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 System.Linq;
using JetBrains.Annotations;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framewor... | mit | C# |
58319bf299ac0643bd38222dadc103eea7269763 | Fix typing of Clock.GlobalClock. | wieslawsoltes/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,gr... | src/Avalonia.Animation/Clock.cs | src/Avalonia.Animation/Clock.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Text;
using Avalonia.Reactive;
namespace Avalonia.Animation
{
public class Clock : ClockBase
{
public static IClock GlobalClock => AvaloniaLocator.Current.GetService<IGlobalClock>();
private IDisposable _... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Text;
using Avalonia.Reactive;
namespace Avalonia.Animation
{
public class Clock : ClockBase
{
public static IClock GlobalClock => AvaloniaLocator.Current.GetService<IClock>();
private IDisposable _parent... | mit | C# |
c1837df4f6a17c7e326b13dd7ea248159ac6f628 | Update SendResult.cs | lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiX... | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageJson/SendResult.cs | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageJson/SendResult.cs | /*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:SendResult.cs
文件功能描述:群发结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using Senparc.Weixin.Enti... | /*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:SendResult.cs
文件功能描述:群发结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using Senparc.Weixin.Enti... | apache-2.0 | C# |
f621c9da5ec63f8e01eb68d0ac202ab510559279 | Fix Cryptic Password not giving an unsubmittable penalty | samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/CrypticPasswordComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/CrypticPasswordComponentSolver.cs | using System;
using System.Collections;
using System.Collections.Generic;
public class CrypticPasswordComponentSolver : ComponentSolver
{
public CrypticPasswordComponentSolver(TwitchModule module) :
base(module)
{
component = Module.BombComponent.GetComponent(componentType);
selectables = Module.BombComponent... | using System;
using System.Collections;
using System.Collections.Generic;
public class CrypticPasswordComponentSolver : ComponentSolver
{
public CrypticPasswordComponentSolver(TwitchModule module) :
base(module)
{
component = Module.BombComponent.GetComponent(componentType);
selectables = Module.BombComponent... | mit | C# |
d905e2d2aeaf900049da17e2fd22b2262732f099 | Correct Add-AzurePHPWorkerRole cmdlet class name | johnkors/azure-sdk-tools,markcowl/azure-sdk-tools,antonba/azure-sdk-tools,DinoV/azure-sdk-tools,johnkors/azure-sdk-tools,antonba/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,johnkors/azure-sdk-tools,Dino... | WindowsAzurePowershell/src/Management.CloudService/PHP/Cmdlet/AddAzurePHPWorkerRole.cs | WindowsAzurePowershell/src/Management.CloudService/PHP/Cmdlet/AddAzurePHPWorkerRole.cs | // ----------------------------------------------------------------------------------
//
// Copyright 2011 Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | // ----------------------------------------------------------------------------------
//
// Copyright 2011 Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | apache-2.0 | C# |
f949bd443947b588772af700f8c4660ff174f51e | Remove dot net core dependency | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/GetApprenticeshipRequest.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/GetApprenticeshipRequest.cs |
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class GetApprenticeshipRequest
{
public long? AccountId { get; set; }
public long? ProviderId { get; set; }
public int PageNumber { get; set; }
public int PageItemCount { get; set; }
public string SortField { g... | using Microsoft.AspNetCore.Mvc;
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class GetApprenticeshipRequest
{
[FromQuery]
public long? AccountId { get; set; }
[FromQuery]
public long? ProviderId { get; set; }
[FromQuery]
public int PageNumber { ge... | mit | C# |
5fb41ba8b610a22830cb972407d14ad477966654 | Add a 'close enough' parameter and tweak for NecrophageBehavior | futurechris/zombai | Assets/Scripts/Behaviors/NecrophageBehavior.cs | Assets/Scripts/Behaviors/NecrophageBehavior.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class NecrophageBehavior : AgentBehavior
{
// this value * arbiter's convert distance = radius inside which
// the necrophage won't continue to move towards the corpse
private static float necrophageRadiusMultiplier = 0.5f;
// ... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class NecrophageBehavior : AgentBehavior
{
// "pursue" nearest corpse
public override bool updatePlan(List<AgentPercept> percepts, int allottedWorkUnits)
{
Action newMoveAction;
Action newLookAction;
Agent tempAgent;
boo... | mit | C# |
bcb78f4835af606627a8b33c83d560eccd396867 | Handle play/pause | bartlomiejwolk/AnimationPathAnimator | AudioSourceController/AudioSourceController.cs | AudioSourceController/AudioSourceController.cs | using UnityEngine;
using System.Collections;
namespace ATP.AnimationPathTools.AudioSourceControllerComponent {
/// <summary>
/// Allows controlling <c>AudioSource</c> component from inspector
/// and with keyboard shortcuts.
/// </summary>
// todo add menu option to create component
public se... | using UnityEngine;
using System.Collections;
namespace ATP.AnimationPathTools.AudioSourceControllerComponent {
/// <summary>
/// Allows controlling <c>AudioSource</c> component from inspector
/// and with keyboard shortcuts.
/// </summary>
// todo add menu option to create component
public se... | mit | C# |
9f4a0257be105d24629782905c49749f5870f863 | Reduce array allocations during frame parsing | jennings/Turbocharged.NSQ | src/Turbocharged.NSQ/Message.cs | src/Turbocharged.NSQ/Message.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turbocharged.NSQ
{
/// <summary>
/// A message delivered from NSQ.
/// </summary>
public class Message
{
public string Id { get; private set; }
public short... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turbocharged.NSQ
{
/// <summary>
/// A message delivered from NSQ.
/// </summary>
public class Message
{
public string Id { get; private set; }
public short... | mit | C# |
c57dd4ca1510471000f17a3dac08d19e63125790 | Update the unit control (power on\off, temp, fan speed, etc) | eric-winkler/MyAir3Api | MyAir3Api/UnitControl.cs | MyAir3Api/UnitControl.cs | using System.Threading.Tasks;
using System.Xml.Linq;
namespace Winkler.MyAir3Api
{
public class UnitControl
{
private readonly IAirconWebClient _aircon;
public bool Power { get; private set; }
public FanSpeed FanSpeed { get; set; }
public InverterMode InverterMode { get; set; }... | using System.Xml.Linq;
namespace Winkler.MyAir3Api
{
public class UnitControl
{
private readonly IAirconWebClient _aircon;
public bool Power { get; private set; }
public FanSpeed FanSpeed { get; private set; }
public InverterMode InverterMode { get; private set; }
publi... | apache-2.0 | C# |
fe9f0d8de55dfdded1d6640ccace919cfbbd0605 | Move REcttransform scaler into mrtk namespace | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Utilities/RectTransformCubeScaler.cs | Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Utilities/RectTransformCubeScaler.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// RectTransforms do not scale 3d objects (such as unit cubes) to fit... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
/// <summary>
/// RectTransforms do not scale 3d objects (such as unit cubes) to fit within their bounds.
/// This helper class will apply a scal... | mit | C# |
2d3debdee48349b482e5130bbc16b851afa21422 | Remove empty test setup method from VsoAgentBuildNumberTests | asbjornu/GitVersion,asbjornu/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion,dazinator/GitVersion,JakeGinnivan/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,ermshiperete/GitVersion,JakeGinnivan/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,gep13/GitVe... | src/GitVersionCore.Tests/BuildServers/VsoAgentBuildNumberTests.cs | src/GitVersionCore.Tests/BuildServers/VsoAgentBuildNumberTests.cs | using System;
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentBuildNumberTests
{
string key = "BUILD_BUILDNUMBER";
string logPrefix = "##vso[build.updatebuildnumber]";
VsoAgent versionBuilder = new VsoAgent();
[TearDown]
publ... | using System;
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentBuildNumberTests
{
string key = "BUILD_BUILDNUMBER";
string logPrefix = "##vso[build.updatebuildnumber]";
VsoAgent versionBuilder = new VsoAgent();
[SetUp]
public ... | mit | C# |
55c84cc58bd014f3fbd72183c45d6403ff76ace0 | Move js files to project root | nosami/XSTerm,nosami/XSTerm,nosami/XSTerm | XSTerm/XSTerm.cs | XSTerm/XSTerm.cs | using System;
using MonoDevelop.Components;
using MonoDevelop.Components.Mac;
using WebKit;
using AppKit;
using CoreGraphics;
using Foundation;
using System.Net.Sockets;
using System.Net;
using System.IO;
using System.Diagnostics;
using MonoDevelop.Core;
using Mono.Addins;
namespace XSTerm
{
public class XSTerm : Mo... | using System;
using MonoDevelop.Components;
using MonoDevelop.Components.Mac;
using WebKit;
using AppKit;
using CoreGraphics;
using Foundation;
using System.Net.Sockets;
using System.Net;
using System.IO;
using System.Diagnostics;
using MonoDevelop.Core;
using Mono.Addins;
namespace XSTerm
{
public class XSTerm : Mo... | mit | C# |
941c29c2be579c3d2177130736b21ba470e9e31e | Mark test windows only | svick/cli,ravimeda/cli,dasMulli/cli,livarcocc/cli-1,svick/cli,harshjain2/cli,harshjain2/cli,harshjain2/cli,johnbeisner/cli,ravimeda/cli,svick/cli,Faizan2304/cli,livarcocc/cli-1,dasMulli/cli,dasMulli/cli,johnbeisner/cli,livarcocc/cli-1,Faizan2304/cli,Faizan2304/cli,ravimeda/cli,johnbeisner/cli | test/dotnet.Tests/TelemetryCommandTest.cs | test/dotnet.Tests/TelemetryCommandTest.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Cli;
using Microsoft.D... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Cli;
using Microsoft.D... | mit | C# |
fafc80818cf5ec090e67d23210cf71ee9d5fc5e2 | Fix typo | ZLima12/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,DrabWeb/osu,DrabWeb/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,DrabW... | osu.Game/Screens/Play/GameplayClock.cs | osu.Game/Screens/Play/GameplayClock.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.Timing;
namespace osu.Game.Screens.Play
{
/// <summary>
/// A clock which is used for gameplay elements that need to follow audio time 1:1.
... | // 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.Timing;
namespace osu.Game.Screens.Play
{
/// <summary>
/// A clock which is used for gameplay elements that need to follow audio time 1:1.
... | mit | C# |
99803c323d1251e9a597920f136d713423cc1f5c | Update CompositeHttpControllerTypeResolver.cs | Bocami/webapi | src/Bocami.Practices.WebApi/CompositeHttpControllerTypeResolver.cs | src/Bocami.Practices.WebApi/CompositeHttpControllerTypeResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http.Dispatcher;
namespace Bocami.Practices.WebApi
{
public class CompositeHttpControllerTypeResolver : IHttpControllerTypeResolver
{
private readonly IHttpControllerTypeResolver[] httpControllerTypeResolvers;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http.Dispatcher;
namespace Bocami.Practices.WebApi
{
public class CompositeHttpControllerTypeResolver : IHttpControllerTypeResolver
{
private readonly IHttpControllerTypeResolver[] httpControllerTypeResolvers;
... | mit | C# |
cbec83c55978d18a00b1a62b51ffbe144a1ff02f | Remove unused using statements from AddMonsterCardCommandHandler | fablecode/ygo-api | src/Application/ygo.application/Commands/AddMonsterCard/AddMonsterCardCommandHandler.cs | src/Application/ygo.application/Commands/AddMonsterCard/AddMonsterCardCommandHandler.cs | using FluentValidation;
using MediatR;
using System.Linq;
using System.Threading.Tasks;
using ygo.application.Repository;
namespace ygo.application.Commands.AddMonsterCard
{
public class AddMonsterCardCommandHandler : IAsyncRequestHandler<AddMonsterCardCommand, CommandResult>
{
private readonly ICardR... | using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using FluentValidation;
using MediatR;
using ygo.application.Ioc;
using ygo.application.Repository;
namespace ygo.application.Commands.AddMonsterCard
{
public class AddMonsterCardCommandHandler : IAsyncRequestHandler<AddMonsterCardCommand, Command... | mit | C# |
07151935a14a305a898533bff8231765b0db77e2 | Use 'var' | mattwar/roslyn,gafter/roslyn,michalhosala/roslyn,AlekseyTs/roslyn,budcribar/roslyn,natidea/roslyn,davkean/roslyn,CyrusNajmabadi/roslyn,natgla/roslyn,pdelvo/roslyn,TyOverby/roslyn,natidea/roslyn,thomaslevesque/roslyn,mattscheffer/roslyn,swaroop-sridhar/roslyn,jeffanders/roslyn,managed-commons/roslyn,shyamnamboodiripad/r... | src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.cs | src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.Utilities
{
internal enum ForegroundThreadDataKind
{
Wpf,
StaUnitTest,
Unknown
}
internal static class F... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.Utilities
{
internal enum ForegroundThreadDataKind
{
Wpf,
StaUnitTest,
Unknown
}
internal static class F... | mit | C# |
83294b65941d8bd4e846a7ace0cbce358997270f | bump version | leekelleher/Umbraco-CMS,bjarnef/Umbraco-CMS,base33/Umbraco-CMS,dawoe/Umbraco-CMS,rasmuseeg/Umbraco-CMS,NikRimington/Umbraco-CMS,lars-erik/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,mattbrailsford/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,madso... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
[assembly: AssemblyVersion("1.0.*")]
... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
[assembly: AssemblyVersion("1.0.*")]
... | mit | C# |
400690b84523541226b51676d393882015da20ae | Fix bug with query after json ignoring user doc contact challenges. | danludwig/eventsourced.net,grrizzly/eventsourced.net,danludwig/eventsourced.net,danludwig/eventsourced.net,grrizzly/eventsourced.net,grrizzly/eventsourced.net | src/EventSourced.Net.ReadModel/ReadModel/Users/Internal/Queries/UserDocumentByContactChallengeCorrelationId.cs | src/EventSourced.Net.ReadModel/ReadModel/Users/Internal/Queries/UserDocumentByContactChallengeCorrelationId.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using ArangoDB.Client;
using EventSourced.Net.ReadModel.Users.Internal.Documents;
namespace EventSourced.Net.ReadModel.Users.Internal.Queries
{
public class UserDocumentByContactChallengeCorrelationId : IQuery<Task<UserDocument>>
{
public Guid Cor... | using System;
using System.Linq;
using System.Threading.Tasks;
using ArangoDB.Client;
using EventSourced.Net.ReadModel.Users.Internal.Documents;
namespace EventSourced.Net.ReadModel.Users.Internal.Queries
{
public class UserDocumentByContactChallengeCorrelationId : IQuery<Task<UserDocument>>
{
public Guid Cor... | mit | C# |
20f91106d9988154252a681d15841e3683594f47 | Fix failing test | UselessToucan/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu-new,naoey/osu,DrabWeb/osu,DrabWeb/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,johnneijzen/osu,naoey/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,smoogi... | osu.Game.Rulesets.Catch.Tests/CatchDifficultyCalculatorTest.cs | osu.Game.Rulesets.Catch.Tests/CatchDifficultyCalculatorTest.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.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Difficulty;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Difficulty;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | mit | C# |
7b43730fe61791017693d058a101487057d218a3 | add QuoteBackground in OsuMarkdownQuoteBlock | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownQuoteBlock.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownQuoteBlock.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 Markdig.Syntax;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Shapes;... | // 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 Markdig.Syntax;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Overlays;
namespace ... | mit | C# |
9d26080ce9f8329180a7ccc086fc9fe3d9a287ee | Update Start.cs | DYanis/UniversalNumeralSystems | ConvertorFromBaseToDecimalNumeralSystem/ConvertorFromBaseToDecimalNumeralSystem/Start.cs | ConvertorFromBaseToDecimalNumeralSystem/ConvertorFromBaseToDecimalNumeralSystem/Start.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
internal class Start
{
internal static void Main()
{
// Add numeral system keys.
List<string> keys = new List<string>();
keys.Add("KKK0"); // 1
keys.Add("KKK1"); // 2
keys.Add("KKK... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
internal class Start
{
internal static void Main()
{
// Add numeral system keys.
List<string> keys = new List<string>();
keys.Add("KKK0");
keys.Add("KKK1");
keys.Add("KKK2");
... | mit | C# |
9748c37e17249f947c984d1ddb00538ba82fd963 | add untested PeriodicTimerSystemClockMonitor code. | atsushieno/mono-reactive,paulcbetts/mono-reactive | System.Reactive.Core/System.Reactive.PlatformServices/PeriodicTimerSystemClockMonitor.cs | System.Reactive.Core/System.Reactive.PlatformServices/PeriodicTimerSystemClockMonitor.cs | using System;
using System.ComponentModel;
using System.Threading;
namespace System.Reactive.PlatformServices
{
[EditorBrowsable (EditorBrowsableState.Advanced)]
public class PeriodicTimerSystemClockMonitor : INotifySystemClockChanged
{
public PeriodicTimerSystemClockMonitor (TimeSpan period)
{
this.period =... | using System;
using System.ComponentModel;
namespace System.Reactive.PlatformServices
{
[EditorBrowsable (EditorBrowsableState.Advanced)]
public class PeriodicTimerSystemClockMonitor : INotifySystemClockChanged
{
public PeriodicTimerSystemClockMonitor (TimeSpan period)
{
this.period = period;
}
TimeSpan... | mit | C# |
aabc8da9638cb4fd338a4b9aa3faa1caffcd86c9 | Fix whitespace | octokit/octokit.net,thedillonb/octokit.net,TattsGroup/octokit.net,editor-tools/octokit.net,gdziadkiewicz/octokit.net,editor-tools/octokit.net,devkhan/octokit.net,dampir/octokit.net,shiftkey-tester/octokit.net,octokit/octokit.net,SmithAndr/octokit.net,adamralph/octokit.net,rlugojr/octokit.net,Sarmad93/octokit.net,shiftk... | Octokit.Tests.Integration/Helpers/TeamContext.cs | Octokit.Tests.Integration/Helpers/TeamContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit.Tests.Integration.Helpers
{
internal sealed class TeamContext : IDisposable
{
internal TeamContext(IConnection connection, Team team)
{
_connection ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit.Tests.Integration.Helpers
{
internal sealed class TeamContext : IDisposable
{
internal TeamContext(IConnection connection, Team team)
{
_connection ... | mit | C# |
901f53cf092b0ae8d528a5ea4c977d8841d0288b | Fix typo | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/Clients/SingleInstanceCheckerTests.cs | WalletWasabi.Tests/UnitTests/Clients/SingleInstanceCheckerTests.cs | using NBitcoin;
using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Services;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Clients
{
/// <seealso cref="XunitConfiguration.SerialCollectionDefinition"/>
[Collection("Serial unit tests collection")]
public class SingleInstanceC... | using NBitcoin;
using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Services;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Clients
{
/// <seealso cref="XunitConfiguration.SerialCollectionDefinition"/>
[Collection("Serial unit tests collection")]
public class SingleInstanceC... | mit | C# |
de658c932e6ef23ce6511d15cabf28b836f94416 | Fix test regression | peppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,Useless... | osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.cs | osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
using osu.Framework.Graphics.Sprites;
using osu.Game.Screens.Select.Options;
using osuTK.Graphics;
using osuTK.Input;
namespace osu.Game.Te... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
using osu.Framework.Graphics.Sprites;
using osu.Game.Screens.Select.Options;
using osuTK.Graphics;
using osuTK.Input;
namespace osu.Game.Te... | mit | C# |
61cd881db97eff7423f79ca2aecf7be69e4214e2 | バージョン 0.4.0 に更新 | shibayan/iisexpress-testkit,shibayan/iisexpress-testkit | src/IisExpressTestKit/Properties/AssemblyInfo.cs | src/IisExpressTestKit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("IisExpressTestKit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("IisExpressTestKit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Ass... | apache-2.0 | C# |
9d001587bfe16feae036c00799ed77af4a7f2aba | Remove nullable | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/CrashReport/CrashReporter.cs | WalletWasabi.Fluent/CrashReport/CrashReporter.cs | using System;
using System.Diagnostics;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Models;
namespace WalletWasabi.Fluent.CrashReport
{
public class CrashReporter
{
private const int MaxRecursiveCalls = 5;
public int Attempts { get; private set; }
public string? Base64Excep... | using System;
using System.Diagnostics;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Models;
namespace WalletWasabi.Fluent.CrashReport
{
public class CrashReporter
{
private const int MaxRecursiveCalls = 5;
public int Attempts { get; private set; }
public string? Base64Excep... | mit | C# |
6f7c7faac92339a46c0ff222967ab8d96221a041 | Add Hello world! | mk-dev-team/mk-world-of-imagination | WorldOfImagination/WorldOfImagination/Program.cs | WorldOfImagination/WorldOfImagination/Program.cs | using System;
namespace WorldOfImagination
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello world!");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorldOfImagination
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
d8714dd7d18a9df0ee5bce7780846b3fe9ec955b | Add a missing event type | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Syncthing/ApiClient/EventType.cs | src/SyncTrayzor/Syncthing/ApiClient/EventType.cs | using Newtonsoft.Json;
namespace SyncTrayzor.Syncthing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | using Newtonsoft.Json;
namespace SyncTrayzor.Syncthing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | mit | C# |
1b5047541dbf3e99ba7e118056b2b03184b5b44a | Add limiter to JsonArrayField min and max properties | Ackara/Mockaroo.NET | src/Mockaroo.Core/Fields/JSONArrayField.cs | src/Mockaroo.Core/Fields/JSONArrayField.cs | namespace Gigobyte.Mockaroo.Fields
{
public partial class JSONArrayField
{
public int Min
{
get { return _min; }
set { _min = value.Between(0, 100); }
}
public int Max
{
get { return _max; }
set { _max = value.Between(0, 1... | namespace Gigobyte.Mockaroo.Fields
{
public partial class JSONArrayField
{
public int Min { get; set; } = 1;
public int Max { get; set; } = 5;
public override string ToJson()
{
return $"{base.BaseJson()},\"minItems\":{Min},\"maxItems\":{Max}}}";
}
}
} | mit | C# |
b3c447b812ff64fa56f8ba41f27a732dbbead067 | Refresh template cache when template.json file is renamed | mrward/monodevelop-template-creator-addin,mrward/monodevelop-template-creator-addin | src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/TemplateJsonFileChangedMonitor.cs | src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/TemplateJsonFileChangedMonitor.cs | //
// TemplateJsonFileChangedMonitor.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal... | //
// TemplateJsonFileChangedMonitor.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal... | mit | C# |
f8d186e87bcc219d4c16cb6c8c1b9e301316b188 | move oauth configuration in its own method | aoancea/practice-web-api-security,aoancea/practice-web-api-security,aoancea/practice-web-api-security | src/Api/Startup.cs | src/Api/Startup.cs | using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
using Owin;
using Phobos.Api.App_Start;
using Phobos.Api.Infrastructure;
using System;
using System.Web.Http;
[assembly: OwinStartup(typeof(Phobos.Api.Startup))]
namespace Phobos.Api
{
public class Startup
{
public void Configuration(IAppBuil... | using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
using Owin;
using Phobos.Api.App_Start;
using Phobos.Api.Infrastructure;
using System;
using System.Web.Http;
[assembly: OwinStartup(typeof(Phobos.Api.Startup))]
namespace Phobos.Api
{
public class Startup
{
public void Configuration(IAppBuil... | mit | C# |
8b0b90801306a80e68e0b3e3ce6c0088460aa9b1 | update RealFileWriter. (#1121) | superyyrrzz/docfx,LordZoltan/docfx,dotnet/docfx,LordZoltan/docfx,LordZoltan/docfx,hellosnow/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,LordZoltan/docfx,928PJY/docfx,pascalberger/docfx,superyyrrzz/docfx,pascalberger/docfx,pascalberger/docfx,dotnet/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,928PJY/docfx,dotnet/docfx,superyyr... | src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs | src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common
{
using System;
using System.Collections.Immutable;
using System.IO;
public class RealFileWriter : FileWriterBase... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common
{
using System;
using System.Collections.Immutable;
using System.IO;
public class RealFileWriter : FileWriterBase... | mit | C# |
74a66f8bafb2a750dd9a946f985d24f2eeef55b9 | Fix bug in DataDirectoryDeriver | x97mdr/pickles,magicmonty/pickles,blorgbeard/pickles,irfanah/pickles,ppnrao/pickles,irfanah/pickles,dirkrombauts/pickles,irfanah/pickles,picklesdoc/pickles,dirkrombauts/pickles,x97mdr/pickles,dirkrombauts/pickles,blorgbeard/pickles,irfanah/pickles,picklesdoc/pickles,magicmonty/pickles,ppnrao/pickles,picklesdoc/pickles,... | src/Pickles/Pickles.UserInterface/Settings/DataDirectoryDeriver.cs | src/Pickles/Pickles.UserInterface/Settings/DataDirectoryDeriver.cs | // #region License
//
//
// /*
// Copyright [2011] [Jeffrey Cameron]
// 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
// ... | // #region License
//
//
// /*
// Copyright [2011] [Jeffrey Cameron]
// 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# |
9f9cefb773bdbb8a8a21e9dce61d39c88ba78795 | Add edit / remove buttons to each file on experience page | ucdavis/Badges,ucdavis/Badges | Badges/Views/Shared/_ExperienceWork.cshtml | Badges/Views/Shared/_ExperienceWork.cshtml | @model Badges.Models.Shared.ExperienceViewModel
<div id="work-container" class="container work">
<div class="row">
@foreach (var work in @Model.SupportingWorks)
{
@* <div class="col-md-4"> *@
<div class="@work.Type work-item-box">
@Html.Partial("_View... | @model Badges.Models.Shared.ExperienceViewModel
<div id="work-container" class="container work">
<div class="row">
@foreach (var work in @Model.SupportingWorks)
{
@* <div class="col-md-4"> *@
<div class="@work.Type work-item-box">
@Html.Partial("_View... | mpl-2.0 | C# |
3019cd7c9fa49c329acbb76813b7b251ddcb93a6 | Remove nasty stuff | rolltechrick/PushSharp,yuejunwu/PushSharp,richardvaldivieso/PushSharp,chaoscope/PushSharp,ingljo/PushSharp,profporridge/PushSharp,cafeburger/PushSharp,wanglj7525/PushSharp,mao1350848579/PushSharp,agran/PushSharp,ingljo/PushSharp,rucila/PushSharp,bobqian1130/PushSharp,cafeburger/PushSharp,18098924759/PushSharp,codesharp... | Client.Samples/PushSharp.ClientSample.MonoTouch/PushSharp.ClientSample.MonoTouch/AppDelegate.cs | Client.Samples/PushSharp.ClientSample.MonoTouch/PushSharp.ClientSample.MonoTouch/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.ObjCRuntime;
namespace PushSharp.ClientSample.AppleMonoTouch
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.ObjCRuntime;
namespace PushSharp.ClientSample.AppleMonoTouch
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the... | apache-2.0 | C# |
05463364468de3cec8b8e7d45f4634f781607410 | Remove Dead Code in Peer | HelloKitty/GladNet2,HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2.0 | src/GladNet.Common/Network/Peer/Peer.cs | src/GladNet.Common/Network/Peer/Peer.cs | using Logging.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
namespace GladNet.Common
{
public abstract class Peer : INetPeer, IClassLogger
{
/// <summary>
/// Peer's service for sending network messages.
/// Use Extension... | using Logging.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
namespace GladNet.Common
{
public abstract class Peer : INetPeer, IClassLogger
{
public INetworkMessageSender NetworkSendService { get; private set; }
/// <summar... | bsd-3-clause | C# |
63ff8d4a4d1319caf43ae8afefb54ea7e7285cf2 | Make Shuffle() returns IList to avoid delayed execution. | AIWolfSharp/AIWolf_NET | AIWolfLib/ShuffleExtensions.cs | AIWolfLib/ShuffleExtensions.cs | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | mit | C# |
650ae83222c393d4ef266875e58324dfaa45241f | Fix tests | sboulema/CodeNav,sboulema/CodeNav | CodeNav.Tests/MapperTests/TestInterface.cs | CodeNav.Tests/MapperTests/TestInterface.cs | using System;
using System.IO;
using System.Linq;
using CodeNav.Mappers;
using CodeNav.Models;
using NUnit.Framework;
namespace CodeNav.Tests.MapperTests
{
[TestFixture]
public class TestInterface
{
[Test]
public void TestInterfaceShouldBeOk()
{
var document = SyntaxMap... | using System;
using System.IO;
using System.Linq;
using CodeNav.Mappers;
using CodeNav.Models;
using NUnit.Framework;
namespace CodeNav.Tests.MapperTests
{
[TestFixture]
public class TestInterface
{
[Test]
public void TestInterfaceShouldBeOk()
{
var document = SyntaxMap... | mit | C# |
56eb272a7e6de491cfef8b4bd35a67f33bb0556a | Break the build | webcanvas/ConfigLoader | ConfigLoader.UnitTests/AppSettingsTests.cs | ConfigLoader.UnitTests/AppSettingsTests.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfigLoader.UnitTests
{
[TestFixture]
public class AppSettingsTests
{
[Test]
public void CanLoadFromAppConfig()
{
// We ... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfigLoader.UnitTests
{
//[TestFixture]
//public class AppSettingsTests
//{
// [Test]
// public void CanLoadFromAppConfig()
// {
//... | mit | C# |
c60481f655c11b75b8eb74bf66076e951f12c7c2 | Add comments for internal API. | msgpack/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,scopely/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli | cli/src/MsgPack/Serialization/SerializationMethodGeneratorOption.cs | cli/src/MsgPack/Serialization/SerializationMethodGeneratorOption.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | apache-2.0 | C# |
2a3986fb75b415a33db560951d72f994d12bf5ac | Define private method Game#LetterWasGuessed | 12joan/hangman | game.cs | game.cs | using System;
using System.Collections.Generic;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
}
public string ShownWord() {
return Word;
}
priva... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
}
public string ShownWord() {
return Word;
}
}
}
| unlicense | C# |
df980ec10930485d6a200077add66be4d87ccdbf | fix crash | Tlaster/iHentai | src/iHentai/Platform/PlatformService.cs | src/iHentai/Platform/PlatformService.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.AccessCache;
namespace iHentai.Platform
{
internal class PlatformService : IPlatformService
{
public string LocalPath => ApplicationData.Current.LocalFolder.Path;
public async Task<IFolde... | using System;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.AccessCache;
namespace iHentai.Platform
{
internal class PlatformService : IPlatformService
{
public string LocalPath => ApplicationData.Current.LocalFolder.Path;
public async Task<IFolderItem?> GetFolder... | mit | C# |
d1c9c242c1b531a626569615a9eeb7235db91f40 | Add method for getting Language from tag | api-ai/api-ai-net,IntranetFactory/api-ai-net,dialogflow/dialogflow-dotnet-client,api-ai/api-ai-net,dialogflow/dialogflow-dotnet-client | ApiAiSDK/SupportedLanguage.cs | ApiAiSDK/SupportedLanguage.cs | //
// API.AI .NET SDK - client-side libraries for API.AI
// =================================================
//
// Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
// https://www.api.ai
//
// **************************************************************************************************************... | //
// API.AI .NET SDK - client-side libraries for API.AI
// =================================================
//
// Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
// https://www.api.ai
//
// **************************************************************************************************************... | apache-2.0 | C# |
d4e3a2ae0897c6cd24ce061ce8713334c7369f02 | update trigger text to fade based on time and not number of frames | spencewenski/Vision | Assets/Scripts/TriggerText.cs | Assets/Scripts/TriggerText.cs | using UnityEngine;
using System.Collections;
public class TriggerText : MonoBehaviour {
public float displaySec = 5f;
public float fadeSec = 1f;
public bool _______________;
public enum DisplayState_e { FADE_IN, VISIBLE, FADE_OUT };
public DisplayState_e state;
public float displayTimeRem... | using UnityEngine;
using System.Collections;
public class TriggerText : MonoBehaviour {
public float displaySec = 5f;
public float fadeSec = 1f;
private float displayFrames;
private float fadeInFrames = 0;
private float fadeOutFrames;
private float fadeTotalFrames;
private CanvasRendere... | mit | C# |
3ea31d1ac99c6d14d7e8bd77294b7094af07c2d6 | Update DateTimeExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/DateTimeExtensions.cs | src/DateTimeExtensions.cs | using System;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains extension methods for working with <see cref="DateTime" />s.
/// </summary>
public static class DateTimeExtensions
{
/// <summary>
/// Converts the specified <see cref="DateTime"/> to a <see cref="String"/>, in ISO-8601 format.
/// ... | /// <summary>
/// Contains extension methods for working with <see cref="DateTime" />s.
/// </summary>
public static class DateTimeExtensions
{
/// <summary>
/// Converts the specified <see cref="DateTime"/> to a <see cref="String"/>, in ISO-8601 format.
/// </summary>
/// <param name="dt">The date to convert.</par... | apache-2.0 | C# |
9900d747bf250ebd0728c7c8c9c02643908689da | Fix build error | InfiniteSoul/Azuria | Azuria/ProxerClientOptions.cs | Azuria/ProxerClientOptions.cs | using System;
using Autofac;
using Azuria.Connection;
namespace Azuria
{
/// <summary>
///
/// </summary>
public class ProxerClientOptions
{
/// <summary>
///
/// </summary>
public ProxerClientOptions()
{
RegisterComponents(this.ContainerBuilde... | using System;
using Autofac;
using Azuria.Authentication;
using Azuria.Connection;
namespace Azuria
{
/// <summary>
///
/// </summary>
public class ProxerClientOptions
{
/// <summary>
///
/// </summary>
public ProxerClientOptions()
{
RegisterCo... | mit | C# |
8e3eaf9266c3e84f68dc0e07c472ffeb0a9b2c60 | Fix proper charset value in html part of message. | mios-fi/mios.mail.templating | Library/RazorEmailTemplate.cs | Library/RazorEmailTemplate.cs | using System;
using System.IO;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
namespace Mios.Mail.Templating {
public class RazorEmailTemplate<T> : IEmailTemplate<T> {
private readonly RazorTemplate<T> subjectTemplate;
private readonly RazorTemplate<T> textTemplate;
private readonly... | using System;
using System.IO;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
namespace Mios.Mail.Templating {
public class RazorEmailTemplate<T> : IEmailTemplate<T> {
private readonly RazorTemplate<T> subjectTemplate;
private readonly RazorTemplate<T> textTemplate;
private readonly... | bsd-2-clause | C# |
7d92d542e9f218240f967b0c8b461dd25839e583 | Change to use UIScreen.Scale to detect HD content. | hig-ag/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,netonjm/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp | Samples/GoneBananasiOS/GoneBananasiOS/GoneBananasApplication.cs | Samples/GoneBananasiOS/GoneBananasiOS/GoneBananasApplication.cs | using CocosDenshion;
using CocosSharp;
using Microsoft.Xna.Framework;
using MonoTouch.UIKit;
namespace GoneBananas
{
public class GoneBananasApplication : CCApplication
{
public GoneBananasApplication (Game game, GraphicsDeviceManager graphics = null)
: base (game, graphics)
{
// Set our supp... | using Microsoft.Xna.Framework;
using CocosDenshion;
using CocosSharp;
namespace GoneBananas
{
public class GoneBananasApplication : CCApplication
{
public GoneBananasApplication (Game game, GraphicsDeviceManager graphics = null)
: base (game, graphics)
{
// Set our supported orientations for th... | mit | C# |
9529440fd09cf3074d7914b770a99948492356c2 | add graphic | Syntronian/cbabb,Syntronian/cbabb | source/CBA/Views/Home/Results.cshtml | source/CBA/Views/Home/Results.cshtml | @model CBA.Models.BuyBuddie.Search
@{
ViewBag.Title = "CBA Travel Companion";
}
<header class="bar bar-nav">
@{ Html.BeginForm("Index", "Home", FormMethod.Get); }
<button class="btn btn-link btn-nav pull-left">
<span class="icon icon-left-nav"></span>
</button>
@{ Html.EndForm(); }
... | @model CBA.Models.BuyBuddie.Search
@{
ViewBag.Title = "CBA Travel Companion";
}
<header class="bar bar-nav">
@{ Html.BeginForm("Index", "Home", FormMethod.Get); }
<button class="btn btn-link btn-nav pull-left">
<span class="icon icon-left-nav"></span>
</button>
@{ Html.EndForm(); }
... | mit | C# |
362780159ccd141f59fae2226c1c4df5fd41fb36 | build fix | DigDes/SoapCore | src/SoapCore.Tests/Models.cs | src/SoapCore.Tests/Models.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace SoapCore.Tests
{
[DataContract]
public class ComplexModelInput
{
[DataMember]
public string StringProperty { get; set; }
[DataMember]
public int IntProperty { get; set; }
[DataMember]
publi... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace SoapCore.Tests
{
[DataContract]
public class ComplexModelInput
{
[DataMember]
public string StringProperty { get; set; }
[DataMember]
public int IntProperty { get; set; }
[DataMember]
publi... | mit | C# |
8cf59a74df6467dca844019b681eb7be21999b6b | update version number | hillin/ue4launcher | ProjectLauncher/Properties/AssemblyInfo.cs | ProjectLauncher/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
66c0e101d7e02d859629e9ea62737bf23d358bd0 | set output folder | PaintLab/SaveAsPdf | src/TestHelloDom1/Program.cs | src/TestHelloDom1/Program.cs | //Apache2, 2017, WinterDev
//Apache2, 2009, griffm, FO.NET
using System.IO;
using Fonet;
using PixelFarm.Drawing.Pdf;
namespace FonetExample
{
//hello dom sample
class HelloWorld
{
static void Main(string[] args)
{
MyPdfDocument pdfdoc = new MyPdfDocument();
//1. c... | //Apache2, 2017, WinterDev
//Apache2, 2009, griffm, FO.NET
using System.IO;
using Fonet;
using PixelFarm.Drawing.Pdf;
namespace FonetExample
{
//hello dom sample
class HelloWorld
{
static void Main(string[] args)
{
MyPdfDocument pdfdoc = new MyPdfDocument();
//1. c... | apache-2.0 | C# |
52ec220aa6e13b18afa9279868a57ce19d750c08 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.59")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.58")] | mit | C# |
5125a8cd49fd886df9f8923a0b539e2fc26a41d0 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.3.0.3")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.3.0.2")] | mit | C# |
bcf84e00a11b171773c7938dc79e316f34cb7b93 | Update _ZenDeskWidget.cshtml | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_ZenDeskWidget.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_ZenDeskWidget.cshtml | @using SFA.DAS.EmployerAccounts.Web.Extensions
<script type="text/javascript">
window.zESettings = {
webWidget: {
contactForm: {
attachments: false
},
chat: {
menuOptions: {
emailTranscript: false
}
... | @using SFA.DAS.EmployerAccounts.Web.Extensions
<script type="text/javascript">
window.zESettings = {
webWidget: {
contactForm: {
attachments: false
},
chat: {
menuOptions: {
emailTranscript: false
}
... | mit | C# |
2a57171ea82b22ccbae0e005ec8b0940aeb46295 | Use new auth API | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | testapps/RazorPagesApp/Startup.cs | testapps/RazorPagesApp/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace RazorPagesApp
{
public class Startup : IDesignTimeMvcBuilderConfiguration
{
public void ConfigureServices(IServiceCollection services)
... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace RazorPagesApp
{
public class Startup : IDesignTimeMvcBuilderConfiguration
{
public void ConfigureServices(IServiceCollection services)
... | apache-2.0 | C# |
41022f519259eaa16e66c45154b5b858003a5091 | Update unit test | synel/syndll2 | Syndll2.FunctionalTests/BasicTests/ServerTests.cs | Syndll2.FunctionalTests/BasicTests/ServerTests.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syndll2.FunctionalTests.BasicTests
{
[TestClass]
public class ServerTests
{
[TestMethod]
//[Ignore] // run this manually, when appropriate
public async ... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Syndll2.FunctionalTests.BasicTests
{
[TestClass]
public class ServerTests
{
[TestMethod]
//[Ignore] // run this manually, when appropriate
public async ... | mit | C# |
9eb215b94f11f9ecdee3da96c8de920315fe21ca | delete comment | AlexanderMazaletskiy/ProceduralBuildings,tkaretsos/ProceduralBuildings | Scripts/BuildingController.cs | Scripts/BuildingController.cs | using Thesis;
using UnityEngine;
using System.Collections.Generic;
public class BuildingController : MonoBehaviour
{
void Start ()
{
MaterialManager.Instance.Init();
NeoManager.Instance.Init();
NeoManager.Instance.CreateNeoclassical(BuildMode.Three);
}
void Update ()
{
if (Input.GetKeyUp(Key... | using Thesis;
using UnityEngine;
using System.Collections.Generic;
public class BuildingController : MonoBehaviour
{
void Start ()
{
MaterialManager.Instance.Init();
NeoManager.Instance.Init();
NeoManager.Instance.CreateNeoclassical(BuildMode.Three);
}
void Update ()
{
if (Input.GetKeyUp(Key... | mit | C# |
4d2636d341139a493bbb1157a8b84902d03461e9 | Fix compiler warning for ParserException | mdileep/NFugue | src/NFugue/Parser/ParserException.cs | src/NFugue/Parser/ParserException.cs | using System;
namespace NFugue.Parser
{
public class ParserException : Exception
{
public ParserException()
{
}
public ParserException(string message) : base(message)
{
}
public int Position { get; set; } = -1;
}
}
| using System;
namespace NFugue.Parser
{
public class ParserException : Exception
{
public ParserException(string message) : base(message)
{
}
public int Position { get; set; } = -1;
}
}
| apache-2.0 | C# |
f787ce367ca2064db9685ffadd4134b0764e8321 | Move all Eco setting types to the Eco namespace | lukyad/Eco | Eco/Properties/AssemblyInfo.cs | Eco/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Eco;
// 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: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Eco;
// 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: Assemb... | apache-2.0 | C# |
bfdc8aa1e8b20e388905824b03892c3ffebc80d5 | Update CoreCLR version in DependencyVersions.cs | wtgodbe/core-setup,ramarag/core-setup,ellismg/core-setup,gkhanna79/core-setup,steveharter/core-setup,rakeshsinghranchi/core-setup,karajas/core-setup,zamont/core-setup,chcosta/core-setup,ericstj/core-setup,crummel/dotnet_core-setup,cakine/core-setup,ericstj/core-setup,chcosta/core-setup,janvorli/core-setup,ellismg/core-... | build_projects/shared-build-targets-utils/DependencyVersions.cs | build_projects/shared-build-targets-utils/DependencyVersions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class DependencyVersions
{
public static readonly string CoreCLRVersion = "1.2.0-beta-24619-01";
public static readonly string JitVersion = "1.2.0-beta-24... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class DependencyVersions
{
public static readonly string CoreCLRVersion = "1.2.0-beta-24522-03";
public static readonly string JitVersion = "1.2.0-beta-24... | mit | C# |
38f6fc3d812b8052bc32ce7d8a7757701ffb39b5 | Clear Region in exit. | ResourceHunter/BaiduPanDownloadWpf | Source/Accelerider.Windows/ViewModels/MainWindow.vm.cs | Source/Accelerider.Windows/ViewModels/MainWindow.vm.cs | using System;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows.Input;
using Accelerider.Windows.Infrastructure;
using Accelerider.Windows.Infrastructure.Commands;
using Accelerider.Windows.Resources.I18N;
using Accelerider.Windows.Views.AppStore;
using M... | using System;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows.Input;
using Accelerider.Windows.Infrastructure;
using Accelerider.Windows.Infrastructure.Commands;
using Accelerider.Windows.Resources.I18N;
using Accelerider.Windows.Views.AppStore;
using M... | mit | C# |
f978386c8636e7ee897d041464da404b6e4c3b34 | Fix indent. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/LockScreen/LockScreenImpl.cs | WalletWasabi.Gui/Controls/LockScreen/LockScreenImpl.cs | using Avalonia.Controls;
namespace WalletWasabi.Gui.Controls.LockScreen
{
internal class LockScreenImpl : UserControl
{
internal virtual void Reset()
{
IsHitTestVisible = true;
}
}
}
| using Avalonia.Controls;
namespace WalletWasabi.Gui.Controls.LockScreen
{
internal class LockScreenImpl : UserControl
{
internal virtual void Reset()
{
IsHitTestVisible = true;
}
}
}
| mit | C# |
a679e9a86b79b9e0c45b76dc5b5fc745c72f03dd | Add support for Authenticated on 3DS Charges | stripe/stripe-dotnet | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity
{
/// <summary>
/// Whether or not authentication was performed. 3D Secure will succeed without
/// authentication when the card is not e... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity
{
[JsonProperty("succeeded")]
public bool Succeeded { get; set; }
[JsonProperty("version")]
public string Version { get; set; }
... | apache-2.0 | C# |
e65f311b42b0661dd09c289d163a0d4f414da91b | Update assembly copyright notice to 2017 | HangfireIO/Hangfire.Azure.ServiceBusQueue | src/HangFire.Azure.ServiceBusQueue/Properties/SharedAssemblyInfo.cs | src/HangFire.Azure.ServiceBusQueue/Properties/SharedAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Hangfire")]
[assembly: AssemblyCopyright("Copyright © 2013-2017 Sergey Odinokov, Adam Barclay")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
// Don't edit manuall... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Hangfire")]
[assembly: AssemblyCopyright("Copyright © 2013-2015 Sergey Odinokov, Adam Barclay")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
// Don't edit manuall... | mit | C# |
85a47231bcd424f4d3ecd974f0804e357270a0be | Update Program.cs (#708) | anjdreas/UnitsNet,anjdreas/UnitsNet | UnitsNet.Benchmark/Program.cs | UnitsNet.Benchmark/Program.cs | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using UnitsNet.Units;
namespace UnitsNet.Benchmark
{
[MemoryDiagnoser]
public class UnitsNetBenchmarks
{
private Length length = Length.FromMeters(3.0);
private IQuantity lengthIQuantity = Length.FromMeters(3.0);
[Be... | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using UnitsNet.Units;
namespace UnitsNet.Benchmark
{
[MemoryDiagnoser]
public class UnitsNetBenchmarks
{
private Length length = Length.FromMeters(3.0);
private IQuantity lengthIQuantity = Length.FromMeters(3.0);
[Be... | mit | C# |
b52cbc80396ceb85cf81ddf71d1d21c9e88ec54c | Add automatic placement for Prizes. | cmilr/Unity2D-Components,jguarShark/Unity2D-Components | Entities/InteractiveEntity.cs | Entities/InteractiveEntity.cs | using UnityEngine;
using System;
using System.Collections;
using Matcha.Game.Tweens;
public class InteractiveEntity : MonoBehaviour
{
public enum EntityType { none, prize, weapon };
public EntityType entityType;
[HideInInspector]
public bool alreadyCollided = false;
public bool disableIfOffScree... | using UnityEngine;
using System.Collections;
using Matcha.Game.Tweens;
public class InteractiveEntity : MonoBehaviour
{
public enum EntityType { none, prize, weapon };
public EntityType entityType;
[HideInInspector]
public bool alreadyCollided = false;
public bool disableIfOffScreen = true;
... | mit | C# |
9d2dff2cb871403637511e2d7545dfad89d59c68 | Add scale to allow legacy icons to display correctly sized | UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu | osu.Game/Beatmaps/BeatmapStatistic.cs | osu.Game/Beatmaps/BeatmapStatistic.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.Graphics;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Game.Beatmaps
{
public class BeatmapStatistic
{
... | // 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.Graphics;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Beatmaps
{
public class BeatmapStatistic
{
[Obsolet... | mit | C# |
1caab78bdc38dcc512831a88809749db334837f7 | Update ModAutoplay.cs | peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Rulesets/Mods/ModAutoplay.cs | osu.Game/Rulesets/Mods/ModAutoplay.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 System;
using System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.... | mit | C# |
5bc316f2f0c1b7ae647e3b27ba018b04135cb9d2 | Fix import | RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates | Source/MVC6/Boilerplate.AspNetCore.Sample/Views/_ViewImports.cshtml | Source/MVC6/Boilerplate.AspNetCore.Sample/Views/_ViewImports.cshtml | @using MvcBoilerplate
@using MvcBoilerplate.Constants
@using MvcBoilerplate.Settings;
@using Boilerplate.AspNetCore
@using Boilerplate.AspNetCore.TagHelpers
@using Boilerplate.AspNetCore.TagHelpers.OpenGraph
@using Boilerplate.AspNetCore.TagHelpers.Twitter
@* $Start-ApplicationInsights$ *@
@using Microsoft.Application... | @using MvcBoilerplate
@using MvcBoilerplate.Constants
@using MvcBoilerplate.Settings;
@using Boilerplate.AspNetCore
@using Boilerplate.AspNetCore.TagHelpers
@using Boilerplate.AspNetCore.TagHelpers.OpenGraph
@using Boilerplate.AspNetCore.TagHelpers.Twitter
@* $Start-ApplicationInsights$ *@
@using Microsoft.Application... | mit | C# |
d120678e306e9dc85cfb0e8d2fd82efd96c3a7cb | Fix redundant default value | smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu | osu.Game/Screens/Play/GameplayState.cs | osu.Game/Screens/Play/GameplayState.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rule... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rule... | mit | C# |
d8cbb6110374fc37268486ff33e568a0391f1b8a | Add ignoreCase switch to enum parsers | Tyrrrz/Extensions | Extensions/Ext.Enums.cs | Extensions/Ext.Enums.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Tyrrrz.Extensions
{
public static partial class Ext
{
/// <summary>
/// Returns true if the enum value has all of the given flags set
/// </summary>
[Pure]
public s... | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Tyrrrz.Extensions
{
public static partial class Ext
{
/// <summary>
/// Returns true if the enum value has all of the given flags set
/// </summary>
[Pure]
public s... | mit | C# |
f434f085ead4361d5965396e6f4aecaf6a2f8f64 | fix RIDER-49316 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/ShaderLab/Psi/Formatting/ShaderLabCppCustomFormattingInfoProvider.cs | resharper/resharper-unity/src/ShaderLab/Psi/Formatting/ShaderLabCppCustomFormattingInfoProvider.cs | using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Cpp.CodeStyle;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Psi.Cpp.Tree;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.Sh... | using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Cpp.CodeStyle;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Psi.Cpp.Tree;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.Sh... | apache-2.0 | C# |
e0c84c3a1c43fca24bcdd5a974b6402864917cb4 | Fix typo | rucila/FileHelpers,jbparker/FileHelpers,phaufe/FileHelpers,tablesmit/FileHelpers,senthilmsv/FileHelpers,MarcosMeli/FileHelpers,rucila/FileHelpers,CarbonEdge/FileHelpers,mcavigelli/FileHelpers,regisbsb/FileHelpers,p07r0457/FileHelpers,regisbsb/FileHelpers,jawn/FileHelpers,merkt/FileHelpers,phaufe/FileHelpers,xavivars/Fi... | FileHelpers.Analyzer/FileHelpers.Analyzer/FileHelpers.Analyzer/UseGenericEngine/UseGenericEngineAnalyzer.cs | FileHelpers.Analyzer/FileHelpers.Analyzer/FileHelpers.Analyzer/UseGenericEngine/UseGenericEngineAnalyzer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Fil... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Fil... | mit | C# |
4b88fb6f2d53ff305e5ac7b247bf3f093b35580f | Update PolyCubicBezierSegmentTests.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | tests/Core2D.UnitTests/Path/Segments/PolyCubicBezierSegmentTests.cs | tests/Core2D.UnitTests/Path/Segments/PolyCubicBezierSegmentTests.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Path.Segments;
using Core2D.Shapes;
using System.Linq;
using Xunit;
namespace Core2D.UnitTests
{
public class PolyCubicBezierSegmentTests
{
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Path.Segments;
using Core2D.Shapes;
using System.Linq;
using Xunit;
namespace Core2D.UnitTests
{
public class PolyCubicBezierSegmentTests
{
... | mit | C# |
933e8a46955c0564fd80b191addcb2efb0abf3d6 | fix version check | jasonmalinowski/roslyn,mavasani/roslyn,dotnet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboo... | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/LanguageVersionExtensions.cs | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/LanguageVersionExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.CSharp.Shared.Extensions
{
internal static class LanguageVersionExtensions
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.CSharp.Shared.Extensions
{
internal static class LanguageVersionExtensions
... | mit | C# |
a01149d1f074fc22c1d2c4319565a54933e978b4 | Add test for cache hit | vanashimko/MPP.Mapper | MapperTests/DtoMapperTests.cs | MapperTests/DtoMapperTests.cs | using System;
using Xunit;
using Mapper;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
namespace Mapper.Tests
{
public class DtoMapperTests
{
[Fact]
public void Map_NullPassed_ExceptionThrown()
{
IMapper map... | using System;
using Xunit;
using Mapper;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
namespace Mapper.Tests
{
public class DtoMapperTests
{
[Fact]
public void Map_NullPassed_ExceptionThrown()
{
IMapper map... | mit | C# |
0ab5d39adce0aa1e63ece7a56275a13d71dd8a70 | Improve dependency resolver regex | TheBerkin/Rant | Rant/RantDependencyResolver.cs | Rant/RantDependencyResolver.cs | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rant
{
/// <summary>
/// Default class for package depdendency resolving.
/// </summary>
public class RantDependencyResolver
{
/// <summary>
/// Attempts to resolve a depdendency to the appropriate package.
//... | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rant
{
/// <summary>
/// Default class for package depdendency resolving.
/// </summary>
public class RantDependencyResolver
{
/// <summary>
/// Attempts to resolve a depdendency to the appropriate package.
//... | mit | C# |
8d576a9cbbdf7a20ca564b5118b7c65fda0db948 | Make sure a ball can't happen while a goal has already happened! | markmandel/paddle-soccer,markmandel/paddle-soccer,markmandel/paddle-soccer,markmandel/paddle-soccer | Assets/Client/Controllers/BallController.cs | Assets/Client/Controllers/BallController.cs | using System;
using Client.Common;
using Client.Game;
using UnityEngine;
namespace Client.Controllers
{
// Create a ball. Once there is a Goal, create a new
// ball at the given time frame.
public class BallController : MonoBehaviour
{
[SerializeField]
[Tooltip("The soccer ball prefab"... | using System;
using Client.Common;
using Client.Game;
using UnityEngine;
namespace Client.Controllers
{
// Create a ball. Once there is a Goal, create a new
// ball at the given time frame.
public class BallController : MonoBehaviour
{
[SerializeField]
[Tooltip("The soccer ball prefab"... | apache-2.0 | C# |
a871b6807982d05d0ef14163e00a4a654a6d977e | Remove redundant code | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Core/Archive.cs | src/Arkivverket.Arkade/Core/Archive.cs | using System.IO;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Core
{
public class Archive
{
public Uuid Uuid { get; }
public WorkingDirectory WorkingDirectory { get; }
public ArchiveType ArchiveType { get; }
public Archive(ArchiveType archiveType, Uuid uuid, Work... | using System.IO;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Core
{
public class Archive
{
public Uuid Uuid { get; private set; }
public WorkingDirectory WorkingDirectory { get; private set; }
public ArchiveType ArchiveType { get; private set; }
public Archive(A... | agpl-3.0 | C# |
90217fdb0607ea62e228ac847736d26fad205508 | Update HmacHashGenerator.cs | rileywhite/Bix | src/Bix/Http.Hmac/HmacHashGenerator.cs | src/Bix/Http.Hmac/HmacHashGenerator.cs | /***************************************************************************/
// Copyright 2013-2019 Riley White
//
// 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.ap... | /***************************************************************************/
// Copyright 2013-2019 Riley White
//
// 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.ap... | apache-2.0 | C# |
ed1ad561e4838a41e157fc73e0da19a970614634 | fix build | RPCS3/discord-bot,Nicba1010/discord-bot | CompatBot/EventHandlers/NewBuildsMonitor.cs | CompatBot/EventHandlers/NewBuildsMonitor.cs | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CompatBot.Commands;
using DSharpPlus.EventArgs;
namespace CompatBot.EventHandlers
{
internal static class NewBuildsMonitor
{
private static readonly Regex BuildResult = new Regex("build (succeed|pass)ed", RegexOpti... | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CompatBot.Commands;
using DSharpPlus.EventArgs;
namespace CompatBot.EventHandlers
{
internal static class NewBuildsMonitor
{
private static readonly Regex BuildResult = new Regex("build (succeed|pass)ed", RegexOpti... | lgpl-2.1 | C# |
fe0e26602975f9f8209c6abd2f9de3f18a65ea61 | Fix issues with wordwrap string extension method | msoler8785/ExoMail | ExoMail.Smtp/Extensions/StringExtensions.cs | ExoMail.Smtp/Extensions/StringExtensions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExoMail.Smtp.Extensions
{
public static class StringExtensions
{
public static Stream ToStream(this string str)
{
return new MemoryStream(E... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExoMail.Smtp.Extensions
{
public static class StringExtensions
{
public static Stream ToStream(this string str)
{
return new MemoryStream(E... | mit | C# |
34f3fb3fdb9b1853b54f9c338932e9cbd409d235 | Add children node argument | GGG-KILLER/GUtils.NET | GUtils.Parsing.BBCode/Tree/BBNodeFactory.cs | GUtils.Parsing.BBCode/Tree/BBNodeFactory.cs | using System;
namespace GUtils.Parsing.BBCode.Tree
{
/// <summary>
/// A factory for <see cref="BBTextNode" /> and <see cref="BBTagNode" />
/// </summary>
public static class BBNodeFactory
{
/// <summary>
/// Initializes a new <see cref="BBTextNode" /> with the provided <paramref n... | using System;
namespace GUtils.Parsing.BBCode.Tree
{
/// <summary>
/// A factory for <see cref="BBTextNode" /> and <see cref="BBTagNode" />
/// </summary>
public static class BBNodeFactory
{
/// <summary>
/// Initializes a new <see cref="BBTextNode" /> with the provided <paramref n... | mit | C# |
fbcac7b2df3ffc204cea2831e9b5131d21afc9a9 | Remove broken out of bounds item | lukecahill/NutritionTracker | food_tracker/NutritionItem.cs | food_tracker/NutritionItem.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace food_tracker {
public class NutritionItem {
[Key]
public int NutritionItemId { get; set; }
public string name { get; set; }
pu... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace food_tracker {
public class NutritionItem {
[Key]
public int NutritionItemId { get; set; }
public string name { get; set; }
pu... | mit | C# |
b23972f46411358ede5fe40ee677cb0f51cdd66b | Remove Console.out.WriteLine | Seddryck/NBi,Seddryck/NBi | NBi.Testing.Core/ConnectionExceptionTest.cs | NBi.Testing.Core/ConnectionExceptionTest.cs | using System;
using System.Data.OleDb;
using System.Linq;
using NBi.Core;
using NBi.Extensibility;
using NUnit.Framework;
namespace NBi.Testing.Core
{
[TestFixture]
public class ConnectionExceptionTest
{
#region SetUp & TearDown
//Called only at instance creation
[OneTimeS... | using System;
using System.Data.OleDb;
using System.Linq;
using NBi.Core;
using NBi.Extensibility;
using NUnit.Framework;
namespace NBi.Testing.Core
{
[TestFixture]
public class ConnectionExceptionTest
{
#region SetUp & TearDown
//Called only at instance creation
[OneTimeS... | apache-2.0 | C# |
e6d2199b224307fea2817096706fd15ca8d9571b | Use the generic AbstractKeywordHighlighter<TNode> as base class. | jmarolf/roslyn,stephentoub/roslyn,aelij/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,agocke/roslyn,mgoertz-msft/roslyn,gafter/roslyn,jasonmalinowski/roslyn,aelij/roslyn,davkean/roslyn,AlekseyTs/roslyn,wvdd007/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,genlu/roslyn,panopticoncentral/roslyn,CyrusNajmaba... | src/EditorFeatures/CSharp/Highlighting/KeywordHighlighters/DiscardParameterHighlighter.cs | src/EditorFeatures/CSharp/Highlighting/KeywordHighlighters/DiscardParameterHighlighter.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Threading;
using Microsoft.CodeAn... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Threading;
using Microsoft.CodeAn... | mit | C# |
4f7af51199cfeaadea3ba743925a7b3f84dea571 | Add update to serializedObject in diagnostic inspector so changes actually apply | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,StephenHodgson/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit/_Core/Inspectors/Profiles/MixedRealityDiagnosticsSystemProfileInspector.cs | Assets/MixedRealityToolkit/_Core/Inspectors/Profiles/MixedRealityDiagnosticsSystemProfileInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Core.Definitions;
using Microsoft.MixedReality.Toolkit.Core.Definitions.Diagnostics;
using Microsoft.MixedReality.Toolkit.Core.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Core.Definitions;
using Microsoft.MixedReality.Toolkit.Core.Definitions.Diagnostics;
using Microsoft.MixedReality.Toolkit.Core.... | mit | C# |
8bc85e0a34fb02ed3eb92cccfa59054fbfec6067 | Set AssemblyVersion and AssemblyFileVersion to 1.0.0.0 | mehrandvd/Tralus,mehrandvd/Tralus | Shell/Source/Tralus.Shell.WorkflowService/Properties/AssemblyInfo.cs | Shell/Source/Tralus.Shell.WorkflowService/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("Tr... | 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("Tr... | apache-2.0 | C# |
79c3eb4662a7c1d55dec82398236352ea2cd1542 | move YamlOptions to Halforbit.DataStores namespace | halforbit/data-stores | FileStores/Serialization/Yaml/Halforbit.DataStores.FileStores.Serialization.Yaml/Model/YamlOptions.cs | FileStores/Serialization/Yaml/Halforbit.DataStores.FileStores.Serialization.Yaml/Model/YamlOptions.cs | using System;
namespace Halforbit.DataStores
{
[Flags]
public enum YamlOptions
{
None = 0,
CamelCaseEnumValues = 1,
CamelCasePropertyNames = 2,
RemoveDefaultValues = 4,
OmitGuidDashes = 8,
Default = CamelCasePropertyNames | CamelCaseEnumValues | RemoveD... | using System;
namespace Halforbit.DataStores.FileStores.Serialization.Yaml.Model
{
[Flags]
public enum YamlOptions
{
None = 0,
CamelCaseEnumValues = 1,
CamelCasePropertyNames = 2,
RemoveDefaultValues = 4,
OmitGuidDashes = 8,
Default = CamelCasePropertyN... | mit | C# |
ebdeb7b1f4e533100225307f4faf6060d826f7a1 | Update Time.cs | dimmpixeye/Unity3dTools | Runtime/LibTime/Time.cs | Runtime/LibTime/Time.cs | // Project : ACTORS
// Contacts : Pixeye - ask@pixeye.games
namespace Pixeye.Actors
{
public class time : IKernel
{
protected const float fps = 60;
/// <summary>
/// <para> Default Framework Time. Use it for independent timing</para>
/// </summary>
internal static time Default = new time();
public st... | // Project : ACTORS
// Contacts : Pixeye - ask@pixeye.games
namespace Pixeye.Actors
{
public class time : IKernel
{
protected const float fps = 60;
/// <summary>
/// <para> Default Framework Time. Use it for independent timing</para>
/// </summary>
internal static time Default = new time();
public st... | mit | C# |
f343c503d79df0e0264c7340a16322edff52d972 | add Standard to IsDigits benchmark | maxhauser/semver | Semver.Benchmarks/IsDigits.cs | Semver.Benchmarks/IsDigits.cs | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Semver.Utility;
namespace Semver.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net461)]
[SimpleJob(RuntimeMoniker.NetCoreApp21)]
[SimpleJob(RuntimeMoniker.NetCoreApp31)]
public class IsDigits
{
private const string Val... | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Semver.Utility;
namespace Semver.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net461)]
[SimpleJob(RuntimeMoniker.NetCoreApp21)]
[SimpleJob(RuntimeMoniker.NetCoreApp31)]
public class IsDigits
{
private const string Val... | mit | C# |
dfb482d31a395d1d1657616072fec7a78d431073 | Disable the trace listener as too many people have it on and forget... (#219) | nkdAgility/vsts-sync-migration | src/VstsSyncMigrator.Core/Telemetry.cs | src/VstsSyncMigrator.Core/Telemetry.cs | using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector;
using Microsoft.ApplicationInsights.TraceListener;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Te... | using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector;
using Microsoft.ApplicationInsights.TraceListener;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Te... | mit | C# |
06a2774e2580457a3da278fdeeb4353f5b929cc2 | create file on save if not exists | feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk | FHSDKPortable/Services/Data/IOService.cs | FHSDKPortable/Services/Data/IOService.cs | using System;
using Windows.Storage;
namespace FHSDK.Services.Data
{
internal class IOService : IIOService
{
public string ReadFile(string fullPath)
{
var file = GetFile(fullPath);
return FileIO.ReadTextAsync(file).AsTask().Result;
}
public void WriteFi... | using System;
using System.IO;
using Windows.Storage;
namespace FHSDK.Services.Data
{
internal class IOService : IIOService
{
public string ReadFile(string fullPath)
{
var file = GetFile(fullPath);
return FileIO.ReadTextAsync(file).AsTask().Result;
}
pu... | apache-2.0 | C# |
fe60dd60125d4d716b456038aa231a88e40e514e | Fix version result | Thulur/GitStatisticsAnalyzer,Thulur/GitDataExplorer | GitDataExplorer/Results/VersionResult.cs | GitDataExplorer/Results/VersionResult.cs | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace GitDataExplorer.Results
{
class VersionResult : IResult
{
public override bool Equals(object obj)
{
VersionResult versionResult = obj as VersionResult;
if (versionResult == ... | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace GitDataExplorer.Results
{
class VersionResult : IResult
{
public override bool Equals(object obj)
{
VersionResult versionResult = obj as VersionResult;
if (versionResult == ... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.