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
b09fe22644495913d1500b224adc75de004859ed
Remove exceptions from UnixTimeJsonConverter
arthurrump/Zermelo.API
Zermelo/Zermelo.API/Helpers/UnixTimeToDateTimeOffsetJsonConverter.cs
Zermelo/Zermelo.API/Helpers/UnixTimeToDateTimeOffsetJsonConverter.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zermelo.API.Helpers { internal class UnixTimeToDateTimeOffsetJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zermelo.API.Helpers { internal class UnixTimeToDateTimeOffsetJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { ...
mit
C#
9756797022bf23462c3b878df8845153bd1a2e31
fix typo
sqybi/baidu-hi-crawler
BaiduHiCrawler/BaiduHiCrawler/Constants.cs
BaiduHiCrawler/BaiduHiCrawler/Constants.cs
namespace BaiduHiCrawler { using System; static class Constants { public const string CommentRetrivalUrlPattern = "http://hi.baidu.com/qcmt/data/cmtlist?qing_request_source=new_request&thread_id_enc={0}&start={1}&count={2}&orderby_type=0&favor=2&type=smblog"; public c...
namespace BaiduHiCrawler { using System; static class Constants { public const string CommentRetrivalUrlPattern = "http://hi.baidu.com/qcmt/data/cmtlist?qing_request_source=new_request&thread_id_enc={0}&start={1}&count={2}&orderby_type=0&favor=2&type=smblog"; public c...
mit
C#
0ad1f87927cc477d482bc5b3098c2c26f023b043
Fix #1303.
grokys/Perspex,wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzi...
src/Markup/Avalonia.Markup.Xaml/MarkupExtensions/TemplateBindingExtension.cs
src/Markup/Avalonia.Markup.Xaml/MarkupExtensions/TemplateBindingExtension.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 Avalonia.Data; using Avalonia.Markup.Xaml.Data; namespace Avalonia.Markup.Xaml.MarkupExtensions { using System; using Portable.Xaml.Markup;...
// 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 Avalonia.Data; using Avalonia.Markup.Xaml.Data; namespace Avalonia.Markup.Xaml.MarkupExtensions { using System; using Portable.Xaml.Markup;...
mit
C#
0dfaf54f49486f9dcf442d9c614bb04589a91ef0
Fix wrong type being used
EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework/Graphics/Containers/Markdown/MarkdownFencedCodeBlock.cs
osu.Framework/Graphics/Containers/Markdown/MarkdownFencedCodeBlock.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.Shapes; using osuTK.Graphics; namespace osu.Framework.Graphics.Containers.Markdown { ...
// 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.Shapes; using osuTK.Graphics; namespace osu.Framework.Graphics.Containers.Markdown { ...
mit
C#
0433488411a1ce168de63e55ab8d92b5bd854c3b
work on movement
LiamKenneth/MIM,LiamKenneth/ArchaicQuest,LiamKenneth/MIM,LiamKenneth/MIM,LiamKenneth/ArchaicQuest,LiamKenneth/ArchaicQuest,LiamKenneth/ArchaicQuest
MIMEngine/Core/Events/Move.cs
MIMEngine/Core/Events/Move.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MIMEngine.Core.Events { using MIMEngine.Core.PlayerSetup; using Newtonsoft.Json.Linq; class Move { public static void MoveCharacter(PlayerSetup character, JObject ro...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MIMEngine.Core.Events { using MIMEngine.Core.PlayerSetup; using Newtonsoft.Json.Linq; class Move { public static void MoveCharacter(PlayerSetup character, JObject ro...
mit
C#
ad3cba11b9f36343f092aa7978346cb7d828c2bf
Save nulls on legal info.
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/LegalInfoDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/LegalInfoDto.cs
using System; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Dto.Merchant; using PS.Mothership.Core.Common.Template.Gen; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class LegalInfoDto { //Business Info section [DataMember] publi...
using System; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Dto.Merchant; using PS.Mothership.Core.Common.Template.Gen; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class LegalInfoDto { //Business Info section [DataMember] publi...
mit
C#
4327c97f09972eced0360c56b78209b32891344c
Remove unused method
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/ChessVariantsTraining/MemoryRepositories/Variant960/GameSocketHandlerRepository.cs
src/ChessVariantsTraining/MemoryRepositories/Variant960/GameSocketHandlerRepository.cs
using ChessVariantsTraining.Models.Variant960; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ChessVariantsTraining.MemoryRepositories.Variant960 { public class GameSocketHandlerRepository : IGameSocketHandlerRepository { List<GameSocketHandler> handlers = new ...
using ChessVariantsTraining.Models.Variant960; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ChessVariantsTraining.MemoryRepositories.Variant960 { public class GameSocketHandlerRepository : IGameSocketHandlerRepository { List<GameSocketHandler> handlers = new ...
agpl-3.0
C#
13bd36b9dc51624fa3461d34c60bdee2f8d10076
add inner commands example
nerai/CMenu
src/ConsoleMenu/Program.cs
src/ConsoleMenu/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleMenu { /// <summary> /// Test program for CMenu. /// </summary> class Program { static CMenu menu; static void Main (string[] args) { Console.WriteLine ("Simple CMenu demonstration"); Basics (); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleMenu { /// <summary> /// Test program for CMenu. /// </summary> class Program { static CMenu menu; static void Main (string[] args) { Console.WriteLine ("Simple CMenu demonstration"); Basics (); ...
mit
C#
89aeed7a8eb7c184c310570325c9d74f799c4dc2
Add comments for F.Subtract
farity/farity
Farity/Subtract.cs
Farity/Subtract.cs
using System; namespace Farity { public static partial class F { /// <summary> /// Subtracts a numeric value from another. /// </summary> /// <typeparam name="T">The data type of the operands in the subtract operation.</typeparam> /// <param name="a">The value from whic...
using System; namespace Farity { public static partial class F { public static T Subtract<T>(T a, T b) where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable => Operator<T>.Subtract(a, b); } }
mit
C#
f438929a638a82e6b8791c964d2ba8b49c5688fe
Set assembly version
ludwigjossieaux/pickles,dirkrombauts/pickles,magicmonty/pickles,picklesdoc/pickles,picklesdoc/pickles,irfanah/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,dirkrombauts/pickles,irfanah/pickles,magicmonty/pickles,irfanah/pickles,dirkrombauts/pickles,picklesdoc/pickles,magicmonty/pickles,blorgbe...
src/Pickles/VersionInfo.cs
src/Pickles/VersionInfo.cs
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("Pickles")] [assembly: AssemblyCompanyAttribute("Pickles")] [assembly: AssemblyCopyrightAttribute("Copyright (c) Jeffrey Cameron 2010-2012, PicklesDoc 2012-present")] [assembly: AssemblyTrademarkAtt...
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("Pickles")] [assembly: AssemblyCompanyAttribute("Pickles")] [assembly: AssemblyCopyrightAttribute("Copyright (c) Jeffrey Cameron 2010-2012, PicklesDoc 2012-present")] [assembly: AssemblyTrademarkAtt...
apache-2.0
C#
ff28cecd6a22910cc75e14707324e176750512af
set handle pointer to zero after dispose an object
jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib
src/D2DLibExport/D2DObject.cs
src/D2DLibExport/D2DObject.cs
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limit...
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limit...
mit
C#
140ea7beb8cc69d51115be67046fb9f5085aed88
Make sure that a plugin is only created once
lunet-io/lunet,lunet-io/lunet
src/Lunet.Core/SiteFactory.cs
src/Lunet.Core/SiteFactory.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; using System.IO; using System.Reflection; using Autofac; using Lunet.Core; using Microsoft.Extensions.Logging; namespace...
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; using System.IO; using System.Reflection; using Autofac; using Lunet.Core; using Microsoft.Extensions.Logging; namespace...
bsd-2-clause
C#
dbc31f87819c743307ea2521b15575495edc599d
Remove unnecessary parameters
davkean/roslyn,eriawan/roslyn,tannergooding/roslyn,brettfo/roslyn,weltkante/roslyn,reaction1989/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,dotnet/roslyn,reaction1989/roslyn,KirillOsenkov/roslyn,diryboy/roslyn,heejaechang/roslyn,panopticoncentral/roslyn,mgoertz-msft/roslyn,davkean/roslyn,weltkante/ros...
src/Features/CSharp/Portable/CodeFixes/HideBase/HideBaseCodeFixProvider.AddNewKeywordAction.cs
src/Features/CSharp/Portable/CodeFixes/HideBase/HideBaseCodeFixProvider.AddNewKeywordAction.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using System.Threading; using Microsoft.CodeAnalysis.Editing; namespace Microsoft.CodeAnalysis.CSharp.CodeFixes.HideBase { ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using System.Threading; using Microsoft.CodeAnalysis.Editing; namespace Microsoft.CodeAnalysis.CSharp.CodeFixes.HideBase { ...
mit
C#
c2c01b3d1fe4bec9617b897e6c7cf9f58e4ba62c
Change serial port number
PUT-PTM/SuperTrackMayhem,PUT-PTM/SuperTrackMayhem,PUT-PTM/SuperTrackMayhem
UnityProject/Assets/Scripts/STMReceiver.cs
UnityProject/Assets/Scripts/STMReceiver.cs
using System; using System.IO.Ports; using System.Threading; using UnityEngine; [RequireComponent(typeof (CarController))] public class STMReceiver :IDisposable { private CarController _controller; private byte val; public SerialPort Port; public STMReceiver() { Port = new SerialPort("COM5", 112500, Parity.Non...
using System; using System.IO.Ports; using System.Threading; using UnityEngine; [RequireComponent(typeof (CarController))] public class STMReceiver :IDisposable { private CarController _controller; private byte val; public SerialPort Port; public STMReceiver() { Port = new SerialPort("COM4", 112500, Parity.Non...
mit
C#
4cd47cbe710464ee62133ca9cec8967bf47d8b3c
Change default gamemode from INSTRUCTION to ONE_PLAYER
Curdflappers/UltimateTicTacToe
Assets/Resources/Scripts/GameStart.cs
Assets/Resources/Scripts/GameStart.cs
using UnityEngine; using System.Collections; public class GameStart : MonoBehaviour { static int gameMode = ONE_PLAYER; const int INSTRUCTION = -1; const int ONE_PLAYER = 1; const int TWO_PLAYER = 2; /// <summary> /// The game mode of the current game /// </summary> public static int...
using UnityEngine; using System.Collections; public class GameStart : MonoBehaviour { static int gameMode = INSTRUCTION; const int INSTRUCTION = -1; const int ONE_PLAYER = 1; const int TWO_PLAYER = 2; /// <summary> /// The game mode of the current game /// </summary> public static in...
mit
C#
453cb184f27f8b9b21d8fde73b28ec66ebecf241
fix for red build on TC: accidentally pushed a partial field removal
wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/w...
windows/ExampleApp/ExampleAppWPF/Views/SearchResultPoi/GeonamesSearchResultsPoiView.cs
windows/ExampleApp/ExampleAppWPF/Views/SearchResultPoi/GeonamesSearchResultsPoiView.cs
using System; using System.Windows; using System.Windows.Controls; namespace ExampleAppWPF { public class GeoNamesSearchResultsPoiView : SearchResultPoiViewBase { private ExampleApp.SearchResultModelCLI m_model; public string Title { get; set; } public string Country { get; set; } ...
using System; using System.Windows; using System.Windows.Controls; namespace ExampleAppWPF { public class GeoNamesSearchResultsPoiView : SearchResultPoiViewBase { private ExampleApp.SearchResultModelCLI m_model; public string Title { get; set; } public string Country { get; set; } ...
bsd-2-clause
C#
f4d4bf93cdd2ce96c019fe1a5e5e34d2695e4a4d
Move to NUnit.
DimensionDataCBUSydney/jab
jab/jab.example/MyTestClass.cs
jab/jab.example/MyTestClass.cs
using jab.Interfaces; using NUnit.Framework; using System.Linq; using jab.Fixture; namespace jab.example { public class MyTestClass : tests.ApiBestPracticeTestBase { public MyTestClass(ApiTestFixture fixture) : base(fixture) { } /// <summary> /// DELETE operati...
using jab.Interfaces; using Xunit; using System.Linq; using jab.Fixture; namespace jab.example { public class MyTestClass : tests.ApiBestPracticeTestBase { public MyTestClass(ApiTestFixture fixture) : base(fixture) { } /// <summary> /// DELETE operations should...
apache-2.0
C#
073aedd876cf21e7b66fc08b0a75b0d5b69b7b12
delete proxy attribute
TakeAsh/cs-EnumHelper
EnumHelperLib_Call/Options.cs
EnumHelperLib_Call/Options.cs
using System.ComponentModel; using System.Xml; using System.Xml.Serialization; using TakeAsh; namespace EnumHelperLib_Call { using NewLineCodesHelper = EnumHelper<Options.NewLineCodes>; using SeparatorsHelper = EnumHelper<Options.Separators>; public class Options { public enum NewLi...
using System.ComponentModel; using System.Xml; using System.Xml.Serialization; using TakeAsh; namespace EnumHelperLib_Call { using NewLineCodesHelper = EnumHelper<Options.NewLineCodes>; using SeparatorsHelper = EnumHelper<Options.Separators>; public class Options { public enum NewLi...
mit
C#
198f2ea8c87c83e308be4f0e06cb12f49efc1815
Fix model binding for OData Patch, Post, Put
aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata
AbpODataDemo-Core/aspnet-core/src/AbpODataDemo.Web.Core/Controllers/PersonsController.cs
AbpODataDemo-Core/aspnet-core/src/AbpODataDemo.Web.Core/Controllers/PersonsController.cs
using Abp.AspNetCore.OData.Controllers; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Web.Models; using AbpODataDemo.People; using Microsoft.AspNet.OData; using Microsoft.AspNetCore.Mvc; using System.Linq; using System.Threading.Tasks; namespace AbpODataDemo.Controllers { [DontWrapResult] pub...
using Abp.AspNetCore.OData.Controllers; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Web.Models; using AbpODataDemo.People; using Microsoft.AspNet.OData; using Microsoft.AspNetCore.Mvc; using System.Linq; using System.Threading.Tasks; namespace AbpODataDemo.Controllers { [DontWrapResult] pub...
mit
C#
0acb223e05bd4a2cf721b9aebb5e7094ef3776d6
Add cycle 1 2 3 4 5 6 support to Extended passwords
CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Shims/ExtendedPasswordComponentSolver.cs
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Shims/ExtendedPasswordComponentSolver.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using UnityEngine; public class ExtendedPasswordComponentSolver : ComponentSolver { public ExtendedPasswordComponentSolver(BombCommander bombCommander, BombComponent bombComponent, IRCConnection i...
using System; using System.Collections; using System.Reflection; using UnityEngine; public class ExtendedPasswordComponentSolver : ComponentSolver { public ExtendedPasswordComponentSolver(BombCommander bombCommander, BombComponent bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) : ...
mit
C#
6bbe532d9c5f381f124fc7a389d12157ca60e4f5
Implement UnitTest for ReceiptPageViewModel#PickPhotoAsyncCommand.
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey.ViewModel.Tests/ReceiptPageViewModelTest.cs
client/BlueMonkey/BlueMonkey.ViewModel.Tests/ReceiptPageViewModelTest.cs
using System.ComponentModel; using System.IO; using System.Windows.Media; using BlueMonkey.MediaServices; using BlueMonkey.Model; using BlueMonkey.ViewModels; using Moq; using Xunit; namespace BlueMonkey.ViewModel.Tests { public class ReceiptPageViewModelTest { [Fact] public void ReceiptProper...
using System.ComponentModel; using System.IO; using System.Windows.Media; using BlueMonkey.MediaServices; using BlueMonkey.Model; using BlueMonkey.ViewModels; using Moq; using Xunit; namespace BlueMonkey.ViewModel.Tests { public class ReceiptPageViewModelTest { [Fact] public void ReceiptProper...
mit
C#
c31505e9636424e0cf94227cb0b40c7f04fdb245
修复购物车中的商品没有类目时,显示会出错的问题
303248153/ZKWeb.Plugins,303248153/ZKWeb.Plugins,zkweb-framework/ZKWeb.Plugins,zkweb-framework/ZKWeb.Plugins,303248153/ZKWeb.Plugins,zkweb-framework/ZKWeb.Plugins
Shopping.Product/src/ProductMatchParametersDescriptionProviders/PropertiesDescriptionProvider.cs
Shopping.Product/src/ProductMatchParametersDescriptionProviders/PropertiesDescriptionProvider.cs
using System.Collections.Generic; using System.Linq; using ZKWeb.Localize; using ZKWeb.Plugins.Shopping.Product.src.Extensions; using ZKWeb.Plugins.Shopping.Product.src.Model; using ZKWebStandard.Extensions; using ZKWebStandard.Ioc; namespace ZKWeb.Plugins.Shopping.Product.src.ProductMatchParametersDescriptio...
using System.Collections.Generic; using System.Linq; using ZKWeb.Localize; using ZKWeb.Plugins.Shopping.Product.src.Extensions; using ZKWeb.Plugins.Shopping.Product.src.Model; using ZKWebStandard.Extensions; using ZKWebStandard.Ioc; namespace ZKWeb.Plugins.Shopping.Product.src.ProductMatchParametersDescriptio...
mit
C#
3e69453f03edf8845c03f346e7bd93547a9f4d38
Fix the message of "ErrorTooltip" in "CompositeInstallerEditorDescriptions"
modesttree/Zenject,modesttree/Zenject,modesttree/Zenject
UnityProject/Assets/Plugins/Zenject/Source/Editor/Editors/CompositeInstallerEditorDescriptions.cs
UnityProject/Assets/Plugins/Zenject/Source/Editor/Editors/CompositeInstallerEditorDescriptions.cs
namespace Zenject { public static class CompositeInstallerEditorDescriptions { public const string ErrorTooltip = "WARNING: This composite installer has some circular references and will cause an exception"; } }
namespace Zenject { public static class CompositeInstallerEditorDescriptions { public const string ErrorTooltip = "WARNING: This composite installer has some circular references and will cause \"StackOverflowException\""; } }
mit
C#
d5de62620ad3efbad0b7572b233ae25371192deb
Fix #1
batstyx/Shamanic
Shamanic/Helper.cs
Shamanic/Helper.cs
using Hearthstone_Deck_Tracker; using Hearthstone_Deck_Tracker.Enums; using Hearthstone_Deck_Tracker.Hearthstone.Entities; using Shamanic.Properties; using System.Linq; using static HearthDb.CardIds; namespace Shamanic { internal static class Helper { public static Entity PlayerSnowfuryGiant => Core.G...
using Hearthstone_Deck_Tracker; using Hearthstone_Deck_Tracker.Enums; using Hearthstone_Deck_Tracker.Hearthstone.Entities; using Shamanic.Properties; using System.Linq; using static HearthDb.CardIds; namespace Shamanic { internal static class Helper { public static Entity PlayerSnowfuryGiant => Core.G...
mit
C#
5e0edf82ceeef8e39e509a4cb63a093babc301e7
Add events to logging system
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/Logging.cs
Scripts/Logging.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LiteNetLibManager { public static class Logging { public static System.Action<string, object> onLog; public static System.Action<string, object> onLogError; public static System.Action<string, obje...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LiteNetLibManager { public static class Logging { public static void Log(string tag, object message) { #if UNITY_EDITOR Debug.Log("[" + tag + "] " + message.ToString()); #endif } ...
mit
C#
ee6d1c9952cef13c992e0162bc1d4c78f9980c68
Add PageImage override for Mac and fix title string
mcneel/RhinoCycles
Settings/OptionsDialogPage.cs
Settings/OptionsDialogPage.cs
/** Copyright 2014-2017 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
/** Copyright 2014-2017 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
apache-2.0
C#
85edf58232c41ace27b34ea9dc06396c53302b98
Fix typo in OmniSharp ExternalAccess
CyrusNajmabadi/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,weltkante/roslyn,weltkante/roslyn,KevinRansom/roslyn,dotnet/...
src/Tools/ExternalAccess/OmniSharp/InlineHints/OmniSharpInlineHintsService.cs
src/Tools/ExternalAccess/OmniSharp/InlineHints/OmniSharpInlineHintsService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Micro...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Micro...
mit
C#
93a23d0933972f950c0abf6b80a45c5a5d38424e
Check OS version in WindowsClock, fixed #276
alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/...
src/BenchmarkDotNet.Core/Horology/WindowsClock.cs
src/BenchmarkDotNet.Core/Horology/WindowsClock.cs
using System.Runtime.ExceptionServices; using System.Runtime.InteropServices; using System.Security; namespace BenchmarkDotNet.Horology { public class WindowsClock : IClock { private static readonly bool isAvailable; private static readonly long frequency; static WindowsClock()...
using System.Runtime.ExceptionServices; using System.Runtime.InteropServices; using System.Security; namespace BenchmarkDotNet.Horology { public class WindowsClock : IClock { private static readonly bool isAvailable; private static readonly long frequency; static WindowsClock()...
mit
C#
bcbd23653ec67cf1ac758c1d1e3bbf86c0a8abfe
Update WebApiConfig.cs
myget/webhooks-custom-retention
src/CustomRetention.Web/App_Start/WebApiConfig.cs
src/CustomRetention.Web/App_Start/WebApiConfig.cs
using System.Net.Http.Headers; using System.Web.Http; using CustomRetention.Web.Models; namespace CustomRetention.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services config.Formatters.Add...
using System.Net.Http.Headers; using System.Web.Http; using CustomRetention.Web.Models; namespace CustomRetention.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services config.Formatters.Add...
apache-2.0
C#
1ae42207f813a7a4ca40bf13f77cce9362f2000d
Fix #1270 Add the AuthorId to MessageDeleteAuditLogData (#1271)
AntiTcb/Discord.Net,RogueException/Discord.Net
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MessageDeleteAuditLogData.cs
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MessageDeleteAuditLogData.cs
using Model = Discord.API.AuditLog; using EntryModel = Discord.API.AuditLogEntry; namespace Discord.Rest { /// <summary> /// Contains a piece of audit log data related to message deletion(s). /// </summary> public class MessageDeleteAuditLogData : IAuditLogData { private MessageDeleteAu...
using Model = Discord.API.AuditLog; using EntryModel = Discord.API.AuditLogEntry; namespace Discord.Rest { /// <summary> /// Contains a piece of audit log data related to message deletion(s). /// </summary> public class MessageDeleteAuditLogData : IAuditLogData { private MessageDeleteA...
mit
C#
b77fa121c3b8eb873d28db6b77dc2638c1c1fa96
Update funding link to go to account transactions index
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerTeam/Index.cshtml
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerTeam/Index.cshtml
@model SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account.Account <h1 class="heading-xlarge" id="company-Name">@Model.Name</h1> <div class="grid-row"> <div class="column-two-thirds"> <div style="max-width: 90%"> <div class="grid-row"> <div class="column-half"> <h3 ...
@model SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account.Account <h1 class="heading-xlarge" id="company-Name">@Model.Name</h1> <div class="grid-row"> <div class="column-two-thirds"> <div style="max-width: 90%"> <div class="grid-row"> <div class="column-half"> <h3 ...
mit
C#
ee1453e4068d8543b8c310f8b48a0f8bac8f8236
clean up
jonnii/SpeakEasy
src/SpeakEasy.Specifications/Serializers/DefaultJsonSerializerSpecification.cs
src/SpeakEasy.Specifications/Serializers/DefaultJsonSerializerSpecification.cs
using System.Collections.Generic; using System.IO; using System.Text; using Machine.Specifications; using SpeakEasy.Serializers; namespace SpeakEasy.Specifications.Serializers { [Subject(typeof(DefaultJsonSerializer))] public class DefaultJsonSerializerSpecification { static MemoryStream stream; ...
using System.Collections.Generic; using System.IO; using System.Text; using Machine.Fakes; using Machine.Specifications; using SpeakEasy.Serializers; namespace SpeakEasy.Specifications.Serializers { [Subject(typeof(DefaultJsonSerializer))] public class DefaultJsonSerializerSpecification : WithSubject<DefaultJ...
apache-2.0
C#
b1fe622468af29a775c818250ffeba797eede366
add /endpoints
tparnell8/api.tparnell.io,tparnell8/api.tparnell.io,tparnell8/api.tparnell.io
src/api.tparnell.io/Controllers/HomeController.cs
src/api.tparnell.io/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.ApiExplorer; namespace api.tparnell.io.Controllers { public class HomeController : Controller { private readonly IHost...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.ApiExplorer; namespace api.tparnell.io.Controllers { public class HomeController : Controller { private readonly IHost...
mit
C#
1fa19a51901d32420220f3220428fcb606dfbeb9
Add AssemblyInformationalVersionAttribute attribute.
Yortw/Yort.Http.ClientPipeline
src/Yort.Http.ClientPipeline.SharedImplementations/AssemblyInfoCommon.cs
src/Yort.Http.ClientPipeline.SharedImplementations/AssemblyInfoCommon.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an ...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an ...
mit
C#
891dfd3d644d9c0e787917510f0874dddd6558d0
Fix menu arrows direction in RTL (#8843)
xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2
src/OrchardCore.Themes/TheAdmin/Views/NavigationItemLink-admin.cshtml
src/OrchardCore.Themes/TheAdmin/Views/NavigationItemLink-admin.cshtml
@using OrchardCore.Localization @{ // Morphing the shape to keep Model untouched Model.Metadata.Alternates.Clear(); Model.Metadata.Type = "NavigationItemText"; Model.Metadata.Alternates.Add("NavigationItemText_Id__" + Model.Id); TagBuilder tag = Tag(Model, "a"); tag.Attributes["id"] = null; ...
@{ // Morphing the shape to keep Model untouched Model.Metadata.Alternates.Clear(); Model.Metadata.Type = "NavigationItemText"; Model.Metadata.Alternates.Add("NavigationItemText_Id__" + Model.Id); TagBuilder tag = Tag(Model, "a"); tag.Attributes["id"] = null; tag.Attributes["href"] = Model....
bsd-3-clause
C#
f429b3c8cef7bc162c0d444b91e0a12dc8e0ca0a
use friendly name
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Tabs/WalletManager/HardwareWallets/HardwareWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/HardwareWallets/HardwareWalletViewModel.cs
using System.Text; using WalletWasabi.Extensions; using WalletWasabi.Hwi.Models; namespace WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets { public class HardwareWalletViewModel { public HardwareWalletViewModel(HwiEnumerateEntry hwi) { string typeString = hwi.Model.FriendlyName(); var walletNameBuilder...
using System.Text; using WalletWasabi.Hwi.Models; namespace WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets { public class HardwareWalletViewModel { public HardwareWalletViewModel(HwiEnumerateEntry hwi) { string typeString = hwi.Model.ToString(); var walletNameBuilder = new StringBuilder(typeString); ...
mit
C#
516ab56e5231a62484ade5dd389f9f231c481d0a
fix line endings (to LF)
Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor
src/CodeEditor.Text.UI.Unity.Editor/UnityEditorCompositionContainer.cs
src/CodeEditor.Text.UI.Unity.Editor/UnityEditorCompositionContainer.cs
using System; using System.Linq; using CodeEditor.Composition; using CodeEditor.Composition.Hosting; using CodeEditor.IO; using CodeEditor.IO.Unity.Editor; using CodeEditor.Logging; using CodeEditor.Logging.Unity; using CodeEditor.Reactive; using CodeEditor.ReactiveServiceStack; using CodeEditor.ServiceClient; namespa...
using System; using System.Linq; using CodeEditor.Composition; using CodeEditor.Composition.Hosting; using CodeEditor.IO; using CodeEditor.IO.Unity.Editor; using CodeEditor.Logging; using CodeEditor.Logging.Unity; using CodeEditor.Reactive; using CodeEditor.ReactiveServiceStack; using CodeEditor.ServiceClient; namespa...
mit
C#
4086811ab7ee0fe024735b9727f49b362f1caf8b
Make custom ingredient optional on extension method
druttka/made-with-love
MadeWithLove.Middleware/Extensions.cs
MadeWithLove.Middleware/Extensions.cs
namespace MadeWithLove.Middleware { using Owin; public static class Extensions { public static void MakeWithLove(this IAppBuilder app, string customIngredient = null) { app.Use<MadeWithLoveMiddleware>(customIngredient); } } }
namespace MadeWithLove.Middleware { using Owin; public static class Extensions { public static void MakeWithLove(this IAppBuilder app, string customIngredient) { app.Use<MadeWithLoveMiddleware>(customIngredient); } } }
mit
C#
3c1b1af5dd872fc6fcab7339b8c3a66a7b0cc543
update for next set of acceptance tests
Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate
Magistrate.Tests/Acceptance/When_a_user_has_one_role_with_a_permission.cs
Magistrate.Tests/Acceptance/When_a_user_has_one_role_with_a_permission.cs
using Shouldly; using Xunit; namespace Magistrate.Tests.Acceptance { public class When_a_user_has_one_role_with_a_permission : UserAcceptanceBase { public When_a_user_has_one_role_with_a_permission() { TestRole.AddPermission(new MagistrateUser(), FirstPermission); User.AddRole(new MagistrateUser(), TestRol...
using Xunit; namespace Magistrate.Tests.Acceptance { public class When_a_user_has_one_role_with_a_permission { [Fact] public void AddInclude_a_different_permission_adds_to_the_includes_collection() { } [Fact] public void AddInclude_the_same_permission_does_nothing() { } [Fact] public void RemoveInclude...
lgpl-2.1
C#
7698deb534fb96c8d6ff6accf6606ebfdf3aae40
Update JailBreakBeerMongoService.cs
fabianwilliams/JailBreakMobilePublic
jbb/jbb/ViewModel/JailBreakBeerMongoService.cs
jbb/jbb/ViewModel/JailBreakBeerMongoService.cs
using System; using System.Net; using System.Net.Http; using System.Linq; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using System.Threading.Tasks; namespace jbb { public class JailBreakBeerMongoService : BaseViewModel { public async Task<Beer[]> GetBeersAsync () { //ab...
using System; using System.Net; using System.Net.Http; using System.Linq; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using System.Threading.Tasks; namespace jbb { public class JailBreakBeerMongoService : BaseViewModel { public async Task<Beer[]> GetBeersAsync () { //ab...
apache-2.0
C#
b31ea41f95edd56c9b5b63f3e46521b3ff6b1057
Update index.cshtml
KovalNikita/apmathcloud
SITE/index.cshtml
SITE/index.cshtml
@{ var txt = DateTime.Now; // C# int m = 1; int b = 1; double t_0 = 1; double t_end = 100; double z_0 = 0; double z_d = 10; double t1 = t_0; double t2 = t_end; double h = 0.1; double width = 0.05; } <html> <body> <p>The dateTime is @txt</p> </body> </html>
@{ var txt = DateTime.Now; // ëþáîé êîä íà C# } <html> <body> <p>The dateTime is @txt</p> </body> </html>
mit
C#
f31d36400d5d9432cdaefcc5ddd9d15711773937
fix compile
SimonCropp/NServiceBus.Serilog
Sample/Program.cs
Sample/Program.cs
using System; using NServiceBus; using NServiceBus.Installation.Environments; using NServiceBus.Serilog; using Serilog; namespace Sample { class Program { static void Main() { Configure.GetEndpointNameAction = () => "NServiceBusSerilogSample"; var configure = Configure...
using System; using NServiceBus; using NServiceBus.Installation.Environments; using NServiceBus.Serilog; using Serilog; namespace Sample { class Program { static void Main() { Configure.GetEndpointNameAction = () => "NServiceBusSerilogSample"; var configure = Configure...
mit
C#
c4003985fd2c388ea7e19f9854e2d1bfbb725cc4
Add Login
OfficialLucky/jRace,OfficialLucky/jRace
inject.cs
inject.cs
using RestSharp; using jRace.PrivateClass.Main; Namespace Inject { public class Inject { privatef = new jRace.PrivateClass.Main(); void(){ privatef.Load(token.Method()); privatef.Send(token, login); return; } } }
using RestSharp; using jRace.PrivateClass.Main; Namespace Inject { public class Inject { privatef = new jRace.PrivateClass.Main(); void(){ privatef.Send(); return; } } }
mpl-2.0
C#
a226851e630c3b0ff05a249ce85e4c9b6f19dd2c
Clean up
qedseung/xamarin-forms-demos
formTest/App.xaml.cs
formTest/App.xaml.cs
using Xamarin.Forms; using System.Diagnostics; using System; namespace formTest { public partial class App : Application { public App() { InitializeComponent(); var gp = new GreetPage(); gp.vib.Clicked+= Vib_Clicked; MainPage = gp; //new GreetPage(); //formTestPage(); } protected override voi...
using Xamarin.Forms; using System.Diagnostics; using System; namespace formTest { public partial class App : Application { public App() { InitializeComponent(); var gp = new GreetPage(); gp.vib.Clicked+= Vib_Clicked; MainPage = gp; //new GreetPage(); //formTestPage(); } protected override voi...
mit
C#
0b05349769a2fa22e5b4b9c533e805c1082c82d1
Add missing token
larsbrubaker/agg-sharp,jlewin/agg-sharp,MatterHackers/agg-sharp
agg/TraceTiming.cs
agg/TraceTiming.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MatterHackers.Agg { public static class TraceTiming { private static Dictionary<string, Stopwatch> timers = new Dictionary<string, Stopwatch>(); [Conditional("...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MatterHackers.Agg { public static class TraceTiming { private static Dictionary<string, Stopwatch> timers = new Dictionary<string, Stopwatch>(); [Conditional("...
bsd-2-clause
C#
c7dc3c80a9f7f8f67c01b8f800907edf501e851c
Add empty inputhandlers list for headless execution.
Nabile-Rahmani/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,ZLima12/osu-framework,naoey/osu-framework,NeoAdonis/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework...
osu.Framework/OS/HeadlessGameHost.cs
osu.Framework/OS/HeadlessGameHost.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Input; using osu.Framework.Input.Handlers; using osu.Framework.St...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Input; using osu.Framework.Statistics; namespace osu.Framework.OS { /// <summary> /// A...
mit
C#
6db0c52b3445cac72b9498d19f54cd0459cee11c
Resolve the target directory before symlinking
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Host/Components/Deployment/WindowsSwappableDmbProvider.cs
src/Tgstation.Server.Host/Components/Deployment/WindowsSwappableDmbProvider.cs
using System; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Models; namespace Tgstation.Server.Host.Components.Deployment { /// <summary> /// A windows <see cref="IDmbProvider"/> that uses symlinks. /// </summary> sealed class WindowsSwappableDmb...
using System; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Models; namespace Tgstation.Server.Host.Components.Deployment { /// <summary> /// A windows <see cref="IDmbProvider"/> that uses symlinks. /// </summary> sealed class WindowsSwappableDmb...
agpl-3.0
C#
59e2d9c43fed79d93b9197ee881b7b3aa1f122e6
Update CampaignDetailQueryHandlerTests.cs
dpaquette/allReady,mgmccarthy/allReady,timstarbuck/allReady,binaryjanitor/allReady,arst/allReady,gitChuckD/allReady,c0g1t8/allReady,MisterJames/allReady,GProulx/allReady,dpaquette/allReady,colhountech/allReady,colhountech/allReady,JowenMei/allReady,dpaquette/allReady,dpaquette/allReady,MisterJames/allReady,colhountech/...
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/CampaignDetailQueryHandlerTests.cs
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/CampaignDetailQueryHandlerTests.cs
using AllReady.Areas.Admin.Features.Campaigns; using AllReady.Models; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.Threading.Tasks; using AllReady.UnitTest.Features.Campaigns; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features.Campaigns { public class C...
using AllReady.Areas.Admin.Features.Campaigns; using AllReady.Models; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.Threading.Tasks; using AllReady.UnitTest.Features.Campaigns; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features.Campaigns { public class C...
mit
C#
438c362424baa6b58cfd16218be20beca1e28434
Add tracing
davidebbo-test/KuduWebHookHandler
KuduWebHookHandler/App_Start/KuduWebHookHandler.cs
KuduWebHookHandler/App_Start/KuduWebHookHandler.cs
using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNet.WebHooks; namespace KuduWebHookHandler.App_Start { public class KuduWebHookHandler : WebHookHandler { public KuduWebHookHandler() { Receiver = "kudu"; } public override Task ExecuteAsync...
using System.Threading.Tasks; using Microsoft.AspNet.WebHooks; namespace KuduWebHookHandler.App_Start { public class KuduWebHookHandler : WebHookHandler { public KuduWebHookHandler() { Receiver = "kudu"; } public override Task ExecuteAsync(string generator, WebHook...
apache-2.0
C#
5b319a07094121bf7cbc0d22096cd04393c862d1
trim and null check on both the TryParse and Parse attampts for DateTime values
EricSB/fluent-command-line-parser
FluentCommandLineParser/Internals/Parsing/OptionParsers/DateTimeCommandLineOptionParser.cs
FluentCommandLineParser/Internals/Parsing/OptionParsers/DateTimeCommandLineOptionParser.cs
#region License // DateTimeCommandLineOptionParser.cs // Copyright (c) 2013, Simon Williams // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provide // d that the following conditions are met: // // Redistributions of source code must...
#region License // DateTimeCommandLineOptionParser.cs // Copyright (c) 2013, Simon Williams // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provide // d that the following conditions are met: // // Redistributions of source code must...
bsd-2-clause
C#
d1eb322e046d2bfed7ee6c19f5b60e96cc9e201e
add AdditionalText in FpsOnly mode
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Portable/MonoDebugHud.cs
Bindings/Portable/MonoDebugHud.cs
using System; using Urho.Gui; namespace Urho { public class MonoDebugHud { const int FrameSampleCount = 50; Application application; Text text; Subscription subscription; int frameCount = 0; DateTime dateTime; TimeSpan span; public MonoDebugHud(Application application) { this.application = app...
using System; using Urho.Gui; namespace Urho { public class MonoDebugHud { const int FrameSampleCount = 50; Application application; Text text; Subscription subscription; int frameCount = 0; DateTime dateTime; TimeSpan span; public MonoDebugHud(Application application) { this.application = app...
mit
C#
adcc75561374db36902c5502930ee61e6b8c5537
add new static constructor with DomRegion, IDocument
x335/omnisharp-server,mispencer/OmniSharpServer,corngood/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,svermeulen/omnisharp-server,OmniSharp/omnisharp-server,corngood/omnisharp-server
OmniSharp/Common/QuickFix.cs
OmniSharp/Common/QuickFix.cs
using ICSharpCode.NRefactory.Editor; using OmniSharp.GotoImplementation; using ICSharpCode.NRefactory.TypeSystem; using OmniSharp.Solution; namespace OmniSharp.Common { public class QuickFix { public string FileName { get; set; } public int Line { get; set; } public int Column { get; s...
using OmniSharp.GotoImplementation; using ICSharpCode.NRefactory.TypeSystem; using OmniSharp.Solution; namespace OmniSharp.Common { public class QuickFix { public string FileName { get; set; } public int Line { get; set; } public int Column { get; set; } public string Text { ge...
mit
C#
7a72fed841bb71120f830f2dfa3c67d667a5f0f9
create session
NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
Core/Utility/DiagnosticsClient.cs
Core/Utility/DiagnosticsClient.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Bugsnag; namespace NuGetPe { public static class DiagnosticsClient { static bool _initialized; static Client _client; #if STORE const stri...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Bugsnag; namespace NuGetPe { public static class DiagnosticsClient { static bool _initialized; static Client _client; #if STORE const stri...
mit
C#
2d440466a1d73e79bf04282cfaf8a61f9635330c
Update index.cshtml
Aleksandrovskaya/apmathclouddif
site/index.cshtml
site/index.cshtml
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
mit
C#
b5067dd35ddbcd44c0a802075cd87728c110107d
use ref parameters to emulate parameter ownership moving
acple/ParsecSharp
ParsecSharp/Core/Parser/Parser.cs
ParsecSharp/Core/Parser/Parser.cs
using System; using System.Runtime.CompilerServices; using System.Threading; using ParsecSharp.Internal; namespace ParsecSharp { public abstract class Parser<TToken, T> { internal abstract Result<TToken, TResult> Run<TResult>(IParsecStateStream<TToken> state, Func<Result<TToken, T>, Result<TToken, TRes...
using System; using ParsecSharp.Internal; namespace ParsecSharp { public abstract class Parser<TToken, T> { internal abstract Result<TToken, TResult> Run<TResult>(IParsecStateStream<TToken> state, Func<Result<TToken, T>, Result<TToken, TResult>> cont); public Result<TToken, T> Parse(IParsecSta...
mit
C#
2ed592500e91ca54267ebd7fb6e018ec9d1fe026
Remove parallel renewal
ohadschn/letsencrypt-webapp-renewer
OhadSoft.AzureLetsEncrypt.Renewal/OhadSoft.AzureLetsEncrypt.Renewal.WebJob/AppSettings/AppSettingsRenewer.cs
OhadSoft.AzureLetsEncrypt.Renewal/OhadSoft.AzureLetsEncrypt.Renewal.WebJob/AppSettings/AppSettingsRenewer.cs
using System; using System.Collections.Concurrent; using OhadSoft.AzureLetsEncrypt.Renewal.Management; using OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Email; using OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Telemetry; using OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Util; namespace OhadSoft.AzureLetsEncrypt.Renewal.WebJob...
using System; using System.Collections.Concurrent; using System.Threading.Tasks; using OhadSoft.AzureLetsEncrypt.Renewal.Management; using OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Email; using OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Telemetry; using OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Util; namespace OhadSoft.A...
apache-2.0
C#
e1b45161c990537aacf3ae4332abd045eb72687a
Bump version
rileywhite/Cilador
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
/***************************************************************************/ // Copyright 2013-2014 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-2014 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#
e7028e571230bae6bcee58d9a9691d36f122c295
Remove deprecated unit test
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Support.ApplicationServices.Tests/AccountHandler/WhenCallingFindFinance.cs
src/SFA.DAS.EAS.Support.ApplicationServices.Tests/AccountHandler/WhenCallingFindFinance.cs
using System.Collections.Generic; using System.Threading.Tasks; using Moq; using NUnit.Framework; using SFA.DAS.EAS.Account.Api.Types; using SFA.DAS.EAS.Support.ApplicationServices.Models; using SFA.DAS.EAS.Support.Core.Models; namespace SFA.DAS.EAS.Support.ApplicationServices.Tests.AccountHandler { [TestFixture]...
using System.Collections.Generic; using System.Threading.Tasks; using Moq; using NUnit.Framework; using SFA.DAS.EAS.Account.Api.Types; using SFA.DAS.EAS.Support.ApplicationServices.Models; using SFA.DAS.EAS.Support.Core.Models; namespace SFA.DAS.EAS.Support.ApplicationServices.Tests.AccountHandler { [TestFixture]...
mit
C#
6bf6480fba2364130fc292ffd8f8329711d898cf
Fix incorrect property name in _Scripts
martincostello/api,martincostello/api,martincostello/api
src/API/Views/Shared/_Scripts.cshtml
src/API/Views/Shared/_Scripts.cshtml
@inject BowerVersions BowerVersions <environment names="Development"> <script src="~/lib/jquery/dist/jquery.js"></script> <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> <script src="~/lib/moment/moment.js" asp-append-version="true"></script> <script src="~/assets/js/site.js" asp-append-ve...
@inject BowerVersions BowerVersions <environment names="Development"> <script src="~/lib/jquery/dist/jquery.js"></script> <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> <script src="~/lib/moment/moment.js" asp-append-version="true"></script> <script src="~/assets/js/site.js" asp-append-ve...
mit
C#
c58bb4c6fab59bf3d643765ce06ce0cb81c4833c
fix artist/details exception test
AnthonySteele/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper
src/SevenDigital.Api.Wrapper.Integration.Tests/Exceptions/ErrorConditionTests.cs
src/SevenDigital.Api.Wrapper.Integration.Tests/Exceptions/ErrorConditionTests.cs
using System; using NUnit.Framework; using SevenDigital.Api.Schema; using SevenDigital.Api.Schema.Artists; using SevenDigital.Api.Schema.Lockers; using SevenDigital.Api.Wrapper.Exceptions; namespace SevenDigital.Api.Wrapper.Integration.Tests.Exceptions { [TestFixture] public class ErrorConditionTests { ...
using System; using NUnit.Framework; using SevenDigital.Api.Schema; using SevenDigital.Api.Schema.Artists; using SevenDigital.Api.Schema.Lockers; using SevenDigital.Api.Wrapper.Exceptions; namespace SevenDigital.Api.Wrapper.Integration.Tests.Exceptions { [TestFixture] public class ErrorConditionTests { ...
mit
C#
ebecd7cfdc68679f96b251d0f2db7485ec60d3f6
Make development a bit easier...
MrJoy/UnityGit
GitShell.cs
GitShell.cs
//----------------------------------------------------------------- // GitShell v0.1 // Copyright 2010 MrJoy, Inc. // All rights reserved // //----------------------------------------------------------------- // Unity editor extension for Git integration. //-----------------------------------------------------------...
//----------------------------------------------------------------- // GitShell v0.1 // Copyright 2010 MrJoy, Inc. // All rights reserved // //----------------------------------------------------------------- // Unity editor extension for Git integration. //-----------------------------------------------------------...
mit
C#
94f56f7042f08f4cc9f2ce4c964c3641901f1b23
Fix C# MMS Response TwiML
TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip...
rest/messages/generate-twiml-mms/example-1.cs
rest/messages/generate-twiml-mms/example-1.cs
// In Package Manager, run: // Install-Package Twilio.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.Mvc; using Twilio.TwiML; using Twilio.TwiML.Mvc; public class SmsController : TwilioController { [HttpPost] public ActionResult Index(SmsRequest request) { var response = ne...
// In Package Manager, run: // Install-Package Twilio.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.Mvc; using Twilio.TwiML; using Twilio.TwiML.Mvc; public class SmsController : TwilioController { [HttpPost] public ActionResult Index(SmsRequest request) { var response = ne...
mit
C#
12fe8820083b1d6f47e81a5c8414cef7cb634504
Increase version number to 0.1.0.0.
TallAmbitions/Gitnub
source/AssemblyInfo.cs
source/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.225 // // Changes to this file may cause incorrect behavior an...
using System; using System.Reflection; using System.Runtime.InteropServices; //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.225 // // Changes to this file may cause incorrect behavior an...
mit
C#
feeb0bba5d22f6c4e30f1231cbe20b31ff86d11f
Use empty image instead.
dlemstra/Magick.NET,dlemstra/Magick.NET
tests/Magick.NET.Tests/Formats/Pdf/PdfReadDefinesTests/TheInterpolateProperty.cs
tests/Magick.NET.Tests/Formats/Pdf/PdfReadDefinesTests/TheInterpolateProperty.cs
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using ImageMagick; using ImageMagick.Formats; using Xunit; namespace Magick.NET.Tests { public partial class PdfReadDefinesTests { public class TheInterpolateProperty { ...
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using ImageMagick; using ImageMagick.Formats; using Xunit; namespace Magick.NET.Tests { public partial class PdfReadDefinesTests { public class TheInterpolateProperty { ...
apache-2.0
C#
0f1defd385d5524565565a6c1042fe057f852401
drop yet another Vfs reference
mono/f-spot,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,NguyenMatthieu/f-spot,mono/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,GNOME/f-spot,mono/f-spot,GNOME/f-spot,mono/f-spot,GNOME/f-spot,dkoeb/f-spot,mans0954/f-spot,mans0954/f-spot,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,dkoeb/...
src/ThumbnailGenerator.cs
src/ThumbnailGenerator.cs
/* * FSpot.ThumbnailGenerator.cs * * Author(s) * Larry Ewing <lewing@novell.com> * * This is free software. See COPYING for details. */ using System; using System.IO; using FSpot.Utils; using FSpot.Platform; using GFile = GLib.File; using GFileInfo = GLib.FileInfo; namespace FSpot { public class ThumbnailG...
/* * FSpot.ThumbnailGenerator.cs * * Author(s) * Larry Ewing <lewing@novell.com> * * This is free software. See COPYING for details. */ using System; using System.IO; using FSpot.Utils; using FSpot.Platform; namespace FSpot { public class ThumbnailGenerator : ImageLoaderThread { static public ThumbnailGe...
mit
C#
8c82140d48afcb7cf1ee1e55fe794082f3eb5ee4
Remove commented "old ways" of animation and empty summaries
andypaul/monotouch-samples,hongnguyenpro/monotouch-samples,W3SS/monotouch-samples,peteryule/monotouch-samples,peteryule/monotouch-samples,nervevau2/monotouch-samples,labdogg1003/monotouch-samples,albertoms/monotouch-samples,peteryule/monotouch-samples,kingyond/monotouch-samples,a9upam/monotouch-samples,labdogg1003/mono...
CoreAnimation/Screens/iPad/BasicUIViewAnimation/BasicUIViewAnimationScreen.xib.cs
CoreAnimation/Screens/iPad/BasicUIViewAnimation/BasicUIViewAnimationScreen.xib.cs
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Example_CoreAnimation.Screens.iPad.BasicUIViewAnimation { public partial class BasicUIViewAnimationScreen : UIViewController, IDetailView { #region Constructors // The IntPtr and init...
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Example_CoreAnimation.Screens.iPad.BasicUIViewAnimation { public partial class BasicUIViewAnimationScreen : UIViewController, IDetailView { #region Constructors // The IntPtr and init...
mit
C#
814e398b80c476337243c45e88f6a678e5740676
Add short name for Worst Segments
Fluzzarn/LiveSplit,Jiiks/LiveSplit,PackSciences/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,chloe747/LiveSplit,stoye/LiveSplit,Glurmo/LiveSplit,Jiiks/LiveSplit,stoye/LiveSplit,chloe747/LiveSplit,Dalet/LiveSplit,Dalet/LiveSplit,zoton2/LiveSplit,ROMaster2/LiveSplit,ROMaster2/LiveSplit,kugelrund/LiveSplit,Glurmo/Liv...
LiveSplit/LiveSplit.Core/Model/Comparisons/StandardComparisonGeneratorsFactory.cs
LiveSplit/LiveSplit.Core/Model/Comparisons/StandardComparisonGeneratorsFactory.cs
using System.Collections.Generic; namespace LiveSplit.Model.Comparisons { public class StandardComparisonGeneratorsFactory : IComparisonGeneratorsFactory { static StandardComparisonGeneratorsFactory() { CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.Comp...
using System.Collections.Generic; namespace LiveSplit.Model.Comparisons { public class StandardComparisonGeneratorsFactory : IComparisonGeneratorsFactory { static StandardComparisonGeneratorsFactory() { CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.Comp...
mit
C#
5479c3877eaf94a0ea5334ce9a7b5359f6867d5b
Simplify HasTestResults
ludwigjossieaux/pickles,picklesdoc/pickles,dirkrombauts/pickles,dirkrombauts/pickles,irfanah/pickles,blorgbeard/pickles,picklesdoc/pickles,dirkrombauts/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,magicmonty/pickles,irfanah/pickles,irfanah/pickles,magicmonty/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmo...
src/Pickles/Pickles/Configuration.cs
src/Pickles/Pickles/Configuration.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 Unless required by applica...
#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 Unless required by applica...
apache-2.0
C#
f12aabe12751afa9d8711b7f8229efadba047e3f
Add a comment about not being duplicate code.
nathansamson/F-Spot-Album-Exporter,Yetangitu/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,Sanva/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,mans0954/f-spot,Yetangitu/f-spot,mans0954/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,NguyenMatthieu/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-s...
src/Utils/RecursiveFileEnumerator.cs
src/Utils/RecursiveFileEnumerator.cs
using System; using System.Collections; using System.Collections.Generic; using GLib; namespace FSpot.Utils { public class RecursiveFileEnumerator : IEnumerable<File> { Uri root; bool recurse; public RecursiveFileEnumerator (Uri root) : this (root, true) { } public Recursi...
using System; using System.Collections; using System.Collections.Generic; using GLib; namespace FSpot.Utils { public class RecursiveFileEnumerator : IEnumerable<File> { Uri root; bool recurse; public RecursiveFileEnumerator (Uri root) : this (root, true) { } public Recursi...
mit
C#
0266410368a9ed8c62265ac67a21f8ef7e7d6593
Allow importing files through the android share sheet.
NeoAdonis/osu,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu
osu.Android/OsuGameActivity.cs
osu.Android/OsuGameActivity.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.Threading.Tasks; using Android.App; using Android.Content; using Android.Content.PM; using Android.Net; using Android.OS; using Android.Provider; using Andr...
// 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.Threading.Tasks; using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; using Android.Provider; using Android.Views; using os...
mit
C#
04c9807e1ad8d60ae2908305f39272acf235a414
Fix lines
panesofglass/WebApiKoans
Koans/Core.cs
Koans/Core.cs
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Dependencies; using System.Web.Http.Dispatcher; namespace Koans { public static class Core {...
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Dependencies; using System.Web.Http.Dispatcher; namespace Koans { public static class Core { ...
apache-2.0
C#
1f6656b0c4de127c3f6d8725e59400c9e1b76938
Fix ns
borland/Ignite2015,borland/Ignite2015,borland/Ignite2015,borland/Ignite2015,borland/Ignite2015,borland/Ignite2015
optionals_enums/Program.cs
optionals_enums/Program.cs
// This is free and unencumbered software released into the public domain. // Anyone is free to copy, modify, publish, use, compile, sell, or // distribute this software, either in source code form or as a compiled // binary, for any purpose, commercial or non-commercial, and by any // means. using System; using Syste...
// This is free and unencumbered software released into the public domain. // Anyone is free to copy, modify, publish, use, compile, sell, or // distribute this software, either in source code form or as a compiled // binary, for any purpose, commercial or non-commercial, and by any // means. using System; using Syste...
unlicense
C#
b6d73593c17e0055e8e8fd493693be3607f4c924
Update QC Tests
AlexCatarino/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet
src/embed_tests/QCTest.cs
src/embed_tests/QCTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest { class QCTests { private static dynamic module; private static string testModule = @" from clr import AddReference AddReference(""Sy...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest { class QCTests { [Test] /// Test case for issue /// https://quantconnect.slack.com/archives/G51920EN4/p1615418516028900 ...
mit
C#
77d220c9ec3f6e4097fc3df1495117a7310d72f8
Bump script dep versions
Redth/Cake.Android.Adb
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner&version=3.8.1 #addin nuget:?package=Cake.Android.SdkManager&version=2.0.1 var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "all"); var configuration = Argument ("configuration", "Release"); var NUGET_VERSION = Argu...
#tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0 #addin nuget:?package=Cake.Android.SdkManager var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "all"); var configuration = Argument ("configuration", "Release"); var NUGET_VERSION = Argument("APPVEYOR...
mit
C#
489d9dc7b5d1f56ca7429774fe44970106a0aed8
Switch Expandtarget and "cursormiddle"
UselessToucan/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,ppy/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu
osu.Game.Rulesets.Osu/Skinning/LegacyCursor.cs
osu.Game.Rulesets.Osu/Skinning/LegacyCursor.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Skinning; using osu.Game.Rulesets.Osu.UI.Cursor; using osuTK; namespace osu.Game.Rulesets.Os...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Skinning; using osu.Game.Rulesets.Osu.UI.Cursor; using osuTK; namespace osu.Game.Rulesets.Os...
mit
C#
54755f7ed937266552dd4d24a2aaffca5deaeae1
Add xml comments to VariableReference (#2112)
graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Language/AST/VariableReference.cs
src/GraphQL/Language/AST/VariableReference.cs
using System; namespace GraphQL.Language.AST { /// <summary> /// Represents a value node that represents a reference to a variable within a document. /// </summary> public class VariableReference : AbstractNode, IValue { /// <summary> /// Initializes a new instance with the specifie...
using System; namespace GraphQL.Language.AST { public class VariableReference : AbstractNode, IValue { public VariableReference(NameNode name) { Name = name.Name; NameNode = name; } object IValue.Value => Name; public string Name { get; } ...
mit
C#
871ee637c93ee5c5ba745511ee90cf7d603aec39
Fix content of build tasks.
tiesmaster/DCC,tiesmaster/DCC
build.cake
build.cake
////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); /////////////////////////////////////////////////////////////...
////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); /////////////////////////////////////////////////////////////...
mit
C#
d08344b3d07d74b32a1f58adf03f0c53306ee4a0
disable parallel test running due to the use of statics within Fluency
nrjohnstone/Fluency
build.cake
build.cake
#addin "Newtonsoft.Json" #addin "Cake.Powershell&version=0.3.5" #tool "nuget:?package=xunit.runner.console&version=2.2.0" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument<string>("target", "De...
#addin "Newtonsoft.Json" #addin "Cake.Powershell&version=0.3.5" #tool "nuget:?package=xunit.runner.console&version=2.2.0" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument<string>("target", "De...
apache-2.0
C#
f07474e9a57b7f9861b7009ea83a371454d86984
Fix unit tests bitness
Fody/Costura,Fody/Costura
build.cake
build.cake
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "Costura.Fody"; Parameters["Company"] = "Fody"; Parameters["Reposito...
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "Costura.Fody"; Parameters["Company"] = "Fody"; Parameters["Reposito...
mit
C#
f07eb922db9a8b6d4a54641f321303f98db33ddc
set default serverPort
greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d
hft-server/hft-server/HFTRuntimeOptions.cs
hft-server/hft-server/HFTRuntimeOptions.cs
using System; namespace HappyFunTimes { public class HFTRuntimeOptions { public string dataPath = ""; public string url = ""; public string id = ""; public string name = ""; public string gameId = "HFTUnity"; // this is kind of left over from when one server supported ...
using System; namespace HappyFunTimes { public class HFTRuntimeOptions { public string dataPath = ""; public string url = ""; public string id = ""; public string name = ""; public string gameId = "HFTUnity"; // this is kind of left over from when one server supported ...
bsd-3-clause
C#
5cea6a8ceef37d23fcab680135c362559e561655
Fix typo.
vcsjones/OpenVsixSignTool
src/OpenVsixSignTool.Core/SigningAlgorithm.cs
src/OpenVsixSignTool.Core/SigningAlgorithm.cs
namespace OpenVsixSignTool.Core { public enum SigningAlgorithm { Unknown = 0, RSA, ECDSA } }
namespace OpenVsixSignTool.Core { public enum SigningAlgorithm { Unkonwn = 0, RSA, ECDSA } }
mit
C#
0781c9cf8ae957231bb555aeb69c94a416cd441b
change Status var in Conference from an int? to a string
mplacona/twilio-csharp,IRlyDontKnow/twilio-csharp,twilio/twilio-csharp
src/Twilio.Api/Model/ConferenceListRequest.cs
src/Twilio.Api/Model/ConferenceListRequest.cs
using System; namespace Twilio { /// <summary> /// Options for filtering list of Conference instances from API /// </summary> public class ConferenceListRequest { /// <summary> /// Only show conferences currently in with this status. May be init, in-progress, or completed. /// </summary> public string Sta...
using System; namespace Twilio { /// <summary> /// Options for filtering list of Conference instances from API /// </summary> public class ConferenceListRequest { /// <summary> /// Only show conferences currently in with this status. May be init, in-progress, or completed. /// </summary> public int? Statu...
mit
C#
30a292eaa381a8304dd8f1e8ba8978538478a828
Correct compie time constant to be NET46
Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore
test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/DomainNameRoleInstanceTelemetryInitializerTests.cs
test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/DomainNameRoleInstanceTelemetryInitializerTests.cs
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.ContextInitializers { using System; using System.Globalization; using System.Net; using System.Net.NetworkInformation; using Helpers; using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers; using Microsoft.ApplicationIns...
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.ContextInitializers { using System; using System.Globalization; using System.Net; using System.Net.NetworkInformation; using Helpers; using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers; using Microsoft.ApplicationIns...
mit
C#
7b0cddf9da00ca06be8b36a2fda50459664d447a
remove flag for positional arg
NaleRaphael/CalendarParser,NaleRaphael/CalendarParser
ui/CalendarParserUI/PyArgs.cs
ui/CalendarParserUI/PyArgs.cs
namespace CalendarParserUI { public static class PyArgs { public static string InputFile = " "; public static string OutputDir = " -o "; } }
namespace CalendarParserUI { public static class PyArgs { public static string InputFile = " -f "; public static string OutputDir = " -o "; } }
mit
C#
fe4b64d413a81d6fee6820e77cff57b10997e586
Add security check to loading the budgets
haefele/Ynab,haefele/YnabApi
src/YnabApi/YnabApi.cs
src/YnabApi/YnabApi.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using YnabApi.Files; using YnabApi.Helpers; namespace YnabApi { public class YnabApi { private readonly YnabApiSettings _settings; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using YnabApi.Files; using YnabApi.Helpers; namespace YnabApi { public class YnabApi { private readonly YnabApiSettings _settings; ...
mit
C#
6182b062dd435941f793d6254b957c261cb3d964
use litedb v3 transaction api
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Services/DataCollection/DataLoggerService.cs
KQAnalytics3/src/KQAnalytics3/Services/DataCollection/DataLoggerService.cs
using KQAnalytics3.Models.Data; using KQAnalytics3.Services.Database; using LiteDB; using System.Collections.Generic; using System.Threading.Tasks; namespace KQAnalytics3.Services.DataCollection { /// <summary> /// A static instance of a logger service that can be used to log data to the database /// </su...
using KQAnalytics3.Models.Data; using KQAnalytics3.Services.Database; using LiteDB; using System.Collections.Generic; using System.Threading.Tasks; namespace KQAnalytics3.Services.DataCollection { /// <summary> /// A static instance of a logger service that can be used to log data to the database /// </su...
agpl-3.0
C#
3d8fae1f42a86dd1b742fb4061e97907c1626efc
Implement discard from board tween
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/Game/Discard.cs
Assets/Scripts/Game/Discard.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class Discard : MonoBehaviour { private List<GenericCard> Cards; public Player _Player; //not sure if needed just yet private readonly Vector2 DISCARD_POSITION_OFFSET = new Vector2(-355f, -30f); public ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class Discard : MonoBehaviour { private List<GenericCard> Cards; public Player _Player; //not sure if needed just yet private readonly Vector2 DISCARD_POSITION_OFFSET = new Vector2(-355f, -30f); public ...
mit
C#
bd73a9e548dd9e5740768483ebcec9497eda601a
Add message about not supported Italian language
api-ai/api-ai-net,IntranetFactory/api-ai-net,dialogflow/dialogflow-dotnet-client,dialogflow/dialogflow-dotnet-client,api-ai/api-ai-net
ApiAiSDK/ApiAi.cs
ApiAiSDK/ApiAi.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#
0f78784b1228c06349edce9357b9421e06672b51
change format of printed source file from full on short
pashchuk/listing-generator
lst-generator/console_generator/Program.cs
lst-generator/console_generator/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace console_generator { internal class Program { private static void Main(string[] args) { if (args.Length > 1 || args.Length == 0) { Console.WriteLine("Incorrect parameters input"); return...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace console_generator { internal class Program { private static void Main(string[] args) { if (args.Length > 1 || args.Length == 0) { Console.WriteLine("Incorrect parameters input"); return...
mit
C#
016267ad2a8cbebd3e6b6538744e12bab1f3c26e
Move more stuff to superclass
0culus/ElectronicCash
ElectronicCash/BaseActor.cs
ElectronicCash/BaseActor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicCash { /// <summary> /// The base actor abstracts all common properties of our actors (mainly Bank, Merchant, Customer) /// </summary> public abstract class BaseActor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicCash { public abstract class BaseActor { public string Name { get; set; } public Guid ActorGuid { get; set; } } }
mit
C#
e06adb63153d5c840799929ba32e85494f7413e8
Update OrderSubmittedHandler.cs
eclaus/docs.particular.net,WojcikMike/docs.particular.net
samples/sqltransport-outbox-store-and-forward/Version_2.1/Receiver/OrderSubmittedHandler.cs
samples/sqltransport-outbox-store-and-forward/Version_2.1/Receiver/OrderSubmittedHandler.cs
using System; using NServiceBus; using NHibernate; public class OrderSubmittedHandler : IHandleMessages<OrderSubmitted> { public IBus Bus { get; set; } public ISession Session { get; set; } public void Handle(OrderSubmitted message) { Console.WriteLine("Order {0} worth {1} submitted", message....
using System; using NServiceBus; using NHibernate; public class OrderSubmittedHandler : IHandleMessages<OrderSubmitted> { public IBus Bus { get; set; } public ISession Session { get; set; } public void Handle(OrderSubmitted message) { Console.WriteLine("Order {0} worth {1} submitted", message....
apache-2.0
C#
433b447b568a012788ea092cff550c611e4c4794
Update roles.
YuvalItzchakov/aerospike-client-csharp
AerospikeClient/Main/Role.cs
AerospikeClient/Main/Role.cs
/******************************************************************************* * Copyright 2012-2014 by Aerospike. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction...
/******************************************************************************* * Copyright 2012-2014 by Aerospike. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction...
apache-2.0
C#
1d26be184f1fff5160db218ec2fcdaa91aba8057
add safety to render script
NataliaDSmirnova/CGAdvanced2017
Assets/Scripts/RenderObject.cs
Assets/Scripts/RenderObject.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RenderObject : MonoBehaviour { // input object public GameObject renderObject; public Camera mainCamera; // private variables private RenderTexture renderTexture; private RawImage...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RenderObject : MonoBehaviour { // input object public GameObject renderObject; public Camera mainCamera; // private variables private RenderTexture renderTexture; private RawImage...
mit
C#
9be1ad8765708dec24e578f3c44dbbd28bbd3aa8
Fix logic of TransformationRewriter.VisitConditional
iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept,iolevel/peachpie,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie
src/Peachpie.CodeAnalysis/FlowAnalysis/Passes/TransformationRewriter.cs
src/Peachpie.CodeAnalysis/FlowAnalysis/Passes/TransformationRewriter.cs
using System; using System.Collections.Generic; using System.Text; using Pchp.CodeAnalysis.Semantics; namespace Pchp.CodeAnalysis.FlowAnalysis.Passes { internal class TransformationRewriter : PhpOperationRewriter { public int TransformationCount { get; private set; } public override BoundOper...
using System; using System.Collections.Generic; using System.Text; using Pchp.CodeAnalysis.Semantics; namespace Pchp.CodeAnalysis.FlowAnalysis.Passes { internal class TransformationRewriter : PhpOperationRewriter { public int TransformationCount { get; private set; } public override BoundOper...
apache-2.0
C#
3ce1952af4bb0ed39ad1fed660431a77c34950cb
Add environment check to determine architecture
windygu/CefSharp,VioletLife/CefSharp,illfang/CefSharp,AJDev77/CefSharp,illfang/CefSharp,rover886/CefSharp,ruisebastiao/CefSharp,jamespearce2006/CefSharp,joshvera/CefSharp,haozhouxu/CefSharp,wangzheng888520/CefSharp,rover886/CefSharp,rlmcneary2/CefSharp,zhangjingpu/CefSharp,rlmcneary2/CefSharp,wangzheng888520/CefSharp,I...
CefSharp.Example/CefExample.cs
CefSharp.Example/CefExample.cs
using System; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. private const bool debu...
using System; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. private const bool debu...
bsd-3-clause
C#
a2442c8643b96635161998cf66df25620a26f638
Add Geometry.WindingOrder method
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Voxelgon/Math/Geometry.cs
Assets/Voxelgon/Math/Geometry.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using Voxelgon; namespace Voxelgon.Math { public static class Geometry { //0: points are colinear //1: points are wound clockwise //2: points are wound counter-clockwise public static int WindingOrder(Vector2 p1, Vector2 p2, Vecto...
using UnityEngine; using System.Collections; using System.Collections.Generic; using Voxelgon; namespace Voxelgon.Math { public static class Geometry { //merges a list of meshes into a single mesh (limited at 65534 vertices) public static Mesh MergeMeshes(List<Mesh> meshes) { Mesh compoundMesh = new Mesh(); ...
apache-2.0
C#
99a7f296afcaff2e9f9024f1cb409ca52ac619d1
Change to use hashset.
kingsimmy/DotStatic
DotStatic.Core/ProjectsData.cs
DotStatic.Core/ProjectsData.cs
using System.Collections.Generic; using System.Linq; namespace DotStatic.Core { public class ProjectsData { private readonly Dictionary<string, HashSet<string>> referencedTypesByProj; private readonly Dictionary<string, HashSet<string>> declaredTypesByProj; public ProjectsData() ...
using System.Collections.Generic; using System.Linq; namespace DotStatic.Core { public class ProjectsData { private readonly Dictionary<string, List<string>> referencedTypesByProj; private readonly Dictionary<string, List<string>> declaredTypesByProj; public ProjectsData() { ...
cc0-1.0
C#
e985ff13bc89f5c5f55cebbff74f45565a610f7e
Simplify pingpong example
David-Desmaisons/EasyActor
EasyActor.Examples/PingPong.cs
EasyActor.Examples/PingPong.cs
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using FluentAssertions; namespace EasyActor.Examples { public interface IPingPonger { Task Ping(); } internal class PingPonger : I...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using FluentAssertions; namespace EasyActor.Examples { public interface IPinger { Task Ping(); } public interface IPonger { ...
mit
C#
3674e123ecb0a613eb79b053121f241e583d8d43
Improve UTF32Marshaller performance (#1467)
mono/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp
src/Runtime/UTF32Marshaller.cs
src/Runtime/UTF32Marshaller.cs
using System; using System.Runtime.InteropServices; using System.Text; namespace CppSharp.Runtime { public class UTF32Marshaller : ICustomMarshaler { static private UTF32Marshaller marshaler; public unsafe object MarshalNativeToManaged(IntPtr pNativeData) { var p = (Int32*...
using System; using System.Runtime.InteropServices; using System.Text; namespace CppSharp.Runtime { public class UTF32Marshaller : ICustomMarshaler { static private UTF32Marshaller marshaler; public unsafe object MarshalNativeToManaged(IntPtr pNativeData) { var p = (Int32*...
mit
C#
75e710880fc3fc5bcf2bd583c0b9b4f2ef9fad08
Fix Tests for Args
richardadalton/WizardFX
src/WizardFXTests/ArgsTests.cs
src/WizardFXTests/ArgsTests.cs
using NUnit.Framework; using WizardFX; namespace WizardFXTests { [TestFixture] class ArgsTests { [Test] public void can_create_empty_args() { var args = new Args(); Assert.AreEqual(0, args.Count ); } [Test] public void can_replace_ar...
using NUnit.Framework; using WizardFX; namespace WizardFXTests { [TestFixture] class ArgsTests { [Test] public void can_create_empty_args() { var args = new Args(); Assert.AreEqual(0, args.Count ); } [Test] public void can_replace_ar...
mit
C#