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
9f6cb140907aa83bacde7321ac6d3f98d55d4a83
Adjust polymorphism rules for base class
dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk
SnapMD.VirtualCare.LeopardonSso/AbstractJwt.cs
SnapMD.VirtualCare.LeopardonSso/AbstractJwt.cs
using System; using System.Collections.Generic; using System.IdentityModel.Tokens; using System.Security.Claims; namespace SnapMD.VirtualCare.LeopardonSso { public abstract class AbstractJwt { protected readonly JwtSecurityTokenHandler SecurityTokenHandler = new JwtSecurityTokenHandler(); pro...
using System; using System.Collections.Generic; using System.IdentityModel.Tokens; using System.Security.Claims; namespace SnapMD.VirtualCare.LeopardonSso { public abstract class AbstractJwt { protected readonly JwtSecurityTokenHandler SecurityTokenHandler = new JwtSecurityTokenHandler(); pro...
apache-2.0
C#
df5ebc2b0f0085ca2b93688387706d10f6f19be3
Update Configuration to use Roslyn 4.2.0.0
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
src/OmniSharp.Abstractions/Configuration.cs
src/OmniSharp.Abstractions/Configuration.cs
namespace OmniSharp { internal static class Configuration { public static bool ZeroBasedIndices = false; public const string RoslynVersion = "4.2.0.0"; public const string RoslynPublicKeyToken = "31bf3856ad364e35"; public readonly static string RoslynFeatures = GetRoslynAssembl...
namespace OmniSharp { internal static class Configuration { public static bool ZeroBasedIndices = false; public const string RoslynVersion = "4.1.0.0"; public const string RoslynPublicKeyToken = "31bf3856ad364e35"; public readonly static string RoslynFeatures = GetRoslynAssembl...
mit
C#
e5a01e4e95be34050ee235b05559f3788a561787
Tweak doc comments for consistency
markembling/MarkEmbling.Utils,markembling/MarkEmbling.Utilities
src/MarkEmbling.Utilities/Extensions/EnumExtensions.cs
src/MarkEmbling.Utilities/Extensions/EnumExtensions.cs
using System; using System.ComponentModel; using System.Reflection; namespace MarkEmbling.Utilities.Extensions { public static class EnumExtensions { /// <summary> /// Gets the description of an enumeration value /// /// If there is no description attribute for this enumeration va...
using System; using System.ComponentModel; using System.Reflection; namespace MarkEmbling.Utilities.Extensions { public static class EnumExtensions { /// <summary> /// Gets the description of an enumeration field /// /// If there is no description attribute for this enumeration va...
mit
C#
70a1eb6d9a2222ba6a2b5027b1a82b82b9b9d014
remove failing test
pcalin/nunit,cPetru/nunit-params,ChrisMaddock/nunit,pflugs30/nunit,NikolayPianikov/nunit,appel1/nunit,mikkelbu/nunit,Green-Bug/nunit,Green-Bug/nunit,JustinRChou/nunit,JohanO/nunit,jnm2/nunit,acco32/nunit,Green-Bug/nunit,agray/nunit,OmicronPersei/nunit,acco32/nunit,danielmarbach/nunit,jnm2/nunit,Suremaker/nunit,JohanO/n...
src/NUnitFramework/tests/Assertions/AssertPassTests.cs
src/NUnitFramework/tests/Assertions/AssertPassTests.cs
// *********************************************************************** // Copyright (c) 2009 Charlie Poole // // 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, incl...
// *********************************************************************** // Copyright (c) 2009 Charlie Poole // // 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, incl...
mit
C#
ee7bf028f782d3fc39eb514c08b95d498d9b3722
Adjust GuildExtensions per Voltana's feedback
AntiTcb/Discord.Net,LassieME/Discord.Net,Joe4evr/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net
src/Discord.Net/WebSocket/Extensions/GuildExtensions.cs
src/Discord.Net/WebSocket/Extensions/GuildExtensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace Discord.WebSocket.Extensions { // TODO: Docstrings public static class GuildExtensions { // Channels public static IGuildChannel GetChannel(this IGuild guild, ulong id) => GetSocketGuild(guild).GetCha...
using System.Collections.Generic; using System.Linq; namespace Discord.WebSocket.Extensions { // TODO: Docstrings public static class GuildExtensions { // Channels public static IGuildChannel GetChannel(this IGuild guild, ulong id) => (guild as SocketGuild).GetChannel(id); ...
mit
C#
c9e111b8f1004990f24d983e324da40af128cd46
Support running tests when mscorlib contains ValueTuple
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/MetadataReferences.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/MetadataReferences.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.Helpers { using System; using System.Collections.Immutable; using System.Linq; using Syst...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.Helpers { using System; using System.Collections.Immutable; using System.Linq; using Syst...
mit
C#
482565d1e04eb3614d94891ee035eb5bcbe97243
Update PowerShellExceptionTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellExceptionTelemeter.cs
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellExceptionTelemeter.cs
using System; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellExceptionTelemeter : IExceptionTelemeter { private readonly Cmdlet cmdlet; public PowerShellExceptionTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet; ...
using System; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellExceptionTelemeter : IExceptionTelemeter { private readonly Cmdlet cmdlet; public PowerShellExceptionTelemeter(Cmdlet cmdlet) { this...
mit
C#
055a2de029b6f45c1211f8db95dd6e41b4a50c96
Build error resolved
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRespository { private readonly TrappistDbContext _dbContex...
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRespository { private readonly TrappistDbContext _dbContex...
mit
C#
4e7b173708528c4969a11cf09a4642ade1894357
Fix Removing Update callback while iterating the same queue and priority may skip an update of that queue and priority. Now remove updates is delayed until just before trying to execute that queue
forestrf/Scheduler
Project/Scheduler/SchedulerLib/Ashkatchap/Scheduler/Scripts/Updater.cs
Project/Scheduler/SchedulerLib/Ashkatchap/Scheduler/Scripts/Updater.cs
using Ashkatchap.Shared.Collections; using System; using System.Threading; using UnityEngine.Profiling; namespace Ashkatchap.Updater { public class Updater { private readonly ThreadSafeRingBuffer_MultiProducer_SingleConsumer<Action> queuedUpdateCallbacks = new ThreadSafeRingBuffer_MultiProducer_SingleConsumer<Acti...
using Ashkatchap.Shared.Collections; using System; using System.Threading; using UnityEngine.Profiling; namespace Ashkatchap.Updater { public class Updater { private readonly ThreadSafeRingBuffer_MultiProducer_SingleConsumer<Action> queuedUpdateCallbacks = new ThreadSafeRingBuffer_MultiProducer_SingleConsumer<Acti...
mit
C#
dec75678d55b7b498815ca7cb23c0dfc89919afa
Add GetPropertySelector
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Helpers/ExpressionHelper.cs
src/WeihanLi.Common/Helpers/ExpressionHelper.cs
using System.Linq.Expressions; namespace WeihanLi.Common.Helpers; public static class ExpressionHelper { public static Expression<Func<T, bool>> True<T>() { return ConstantExpressions<T>.TrueExpression; } public static Expression<Func<T, bool>> False<T>() { return ConstantExpress...
using System.Linq.Expressions; namespace WeihanLi.Common.Helpers; public static class ExpressionHelper { public static Expression<Func<T, bool>> True<T>() { return ConstantExpressions<T>.TrueExpression; } public static Expression<Func<T, bool>> False<T>() { return ConstantExpress...
mit
C#
9f3a137da5d56985b32c4393fa84fd7dd8d276bd
Reword ISampleChannel.Stop xmldoc to better describe what it's doing
ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework
osu.Framework/Audio/Sample/ISampleChannel.cs
osu.Framework/Audio/Sample/ISampleChannel.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. namespace osu.Framework.Audio.Sample { /// <summary> /// A channel playing back an audio sample. /// </summary> public interface ISampleChannel : IHasAmpl...
// 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. namespace osu.Framework.Audio.Sample { /// <summary> /// A channel playing back an audio sample. /// </summary> public interface ISampleChannel : IHasAmpl...
mit
C#
cb39a88c5192bf353199728542b0c1c36ae8e95b
Fix HR not affecting slider repeats and ticks
NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,peppy/osu-new,DrabWeb/osu,peppy/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,ZLima12/osu,2yangk23/osu,peppy/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,Frontear/osuKyzer,UselessToucan/osu,Nabile-Rahmani/osu,smoogipoo/osu,ZLima12/o...
osu.Game.Rulesets.Osu/Mods/OsuModHardRock.cs
osu.Game.Rulesets.Osu/Mods/OsuModHardRock.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets....
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.UI; using OpenTK; namespace o...
mit
C#
e88e921f3f6d1f885314fbf6c5dca5cdd6dcb213
Update Program.cs
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Src/Nager.Date.TestConsole/Program.cs
Src/Nager.Date.TestConsole/Program.cs
using System; using System.Linq; using Nager.Date.Extensions; using System.Diagnostics; namespace Nager.Date.TestConsole { class Program { static void Main(string[] args) { Test3(); Console.ReadLine(); } private static void Test1() { ...
using System; using System.Linq; using Nager.Date.Extensions; using System.Diagnostics; namespace Nager.Date.TestConsole { class Program { static void Main(string[] args) { Test3(); Console.ReadLine(); } private static void Test1() { ...
mit
C#
46dfc87c1bb1712e8c52c6c6c4d1622b7055272d
update test
miniactor/dev
src/MiniActor/MiniActor.Tests/UnitTest2.cs
src/MiniActor/MiniActor.Tests/UnitTest2.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MiniActor.Tests { [TestClass] public class UnitTest2 { private static int _counterAct = 0; private static string _result = ""; public class SomeActor : MiniA...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MiniActor.Tests { [TestClass] public class UnitTest2 { private static int _counterAct = 0; public class SomeActor : MiniActor { public SomeActor(...
mit
C#
c2e302f8bbd7115616fc7de39a859a6dea45b8cf
Allow tracking from old Discord domain in the app (discordapp.com)
chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker
app/Server/Service/ServerStartup.cs
app/Server/Service/ServerStartup.cs
using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; using DHT.Server.Database; using DHT.Server.Endpoints; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http.Json; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace DHT.Server.Service ...
using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; using DHT.Server.Database; using DHT.Server.Endpoints; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http.Json; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace DHT.Server.Service ...
mit
C#
f78fc1f423d6c6effc590d12426957a0ff20b21f
添加 SessionFactory.Default
chinadev/Restful,linli8/Restful
src/Restful/Restful.Data/SessionFactory.cs
src/Restful/Restful.Data/SessionFactory.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace Restful.Data { public static class SessionFactory { /// <summary> /// 获取或设置 Web.config 或 App.config 文件中配置的默认连接字符串节点名称 /// </summary> public s...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace Restful.Data { public static class SessionFactory { #region CreateDefaultSession /// <summary> /// 创建默认的 Session /// </summary> /// ...
apache-2.0
C#
a5e86232761103e61bd33960876cf09c49e24b4e
Add IsSearchable property to tokens.
AmadeusW/SourceBrowser,AmadeusW/SourceBrowser,CodeConnect/SourceBrowser,CodeConnect/SourceBrowser,AmadeusW/SourceBrowser
src/SourceBrowser.Generator/Model/Token.cs
src/SourceBrowser.Generator/Model/Token.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Generator.Model { public class Token { public string FullName { get; } public string Type { get; } public int LineNumber { get; } publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Generator.Model { public class Token { public string FullName { get; } public string Type { get; } public int LineNumber { get; } publi...
mit
C#
5fbb57e48ab29cc02b610f355f4f02cb9587ede4
Use platform-independent directory separator char
rwwilden/AspNet5Localization
src/Localization.JsonLocalizer/Localization.JsonLocalizer/LocalizerUtil.cs
src/Localization.JsonLocalizer/Localization.JsonLocalizer/LocalizerUtil.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Localization.JsonLocalizer.StringLocalizer { internal static class LocalizerUtil { internal static string TrimPrefix(string name, string prefix) { if (name.StartsWith(pre...
using System; using System.Text; using System.Collections.Generic; using System.Linq; namespace Localization.JsonLocalizer.StringLocalizer { internal static class LocalizerUtil { internal static string TrimPrefix(string name, string prefix) { if (name.StartsWith(prefix, StringCompar...
mit
C#
240ee37a2319adb05b0f434211ce16e26df7612b
Remove unused using
blorgbeard/pickles,irfanah/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,irfanah/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,dirkrombauts/pickles,irfanah/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,dirkrombauts/pickles,irfanah/pickles,magicmonty/pickles,picklesdoc/pick...
src/Pickles/Pickles/DocumentationBuilders/HTML/HtmlDescriptionFormatter.cs
src/Pickles/Pickles/DocumentationBuilders/HTML/HtmlDescriptionFormatter.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#
b9bf3a1829002036201e96c8359519add545e172
Make mania scroll downwards by default
smoogipoo/osu,ZLima12/osu,2yangk23/osu,DrabWeb/osu,peppy/osu-new,ZLima12/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,naoey/osu,peppy/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,ppy/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,naoey/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,EVAST9919/o...
osu.Game.Rulesets.Mania/Configuration/ManiaConfigManager.cs
osu.Game.Rulesets.Mania/Configuration/ManiaConfigManager.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration.Tracking; using osu.Game.Configuration; using osu.Game.Rulesets.Configuration; using osu.Game.Rulesets.Mania.UI; namespace osu.Game.R...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration.Tracking; using osu.Game.Configuration; using osu.Game.Rulesets.Configuration; using osu.Game.Rulesets.Mania.UI; namespace osu.Game.R...
mit
C#
5bd09a4a30ec343a7aa78224522041a8121021ec
Rename inner lambda parameter
NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu
osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyReverseArrow.cs
osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyReverseArrow.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.Diagnostics; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Objects.Drawables...
// 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.Diagnostics; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Objects.Drawables...
mit
C#
e969ca8974d621eb4a089231f65b684f1a3d4f60
Remove unused using statement that rider could not identify
UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipooo/osu
osu.Game/Screens/OnlinePlay/Components/RoomLocalUserInfo.cs
osu.Game/Screens/OnlinePlay/Components/RoomLocalUserInfo.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.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Graphics...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Gr...
mit
C#
bf7a80a586fe0e3a7b4afa819da2def91901b9da
Set cursor lockstate to default on scene load
NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Global/GameController.cs
Assets/Scripts/Global/GameController.cs
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Events; using System.Collections; public class GameController : MonoBehaviour { public static GameController instance; public const CursorLockMode DefaultCursorMode = CursorLockMode.None; #pragma warning disable 0649 [SerializeField...
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Events; using System.Collections; public class GameController : MonoBehaviour { public static GameController instance; public const CursorLockMode DefaultCursorMode = CursorLockMode.None; #pragma warning disable 0649 [SerializeField...
mit
C#
363cd678afa476362bd01518d0844222e2644667
Update OutputBand.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO.Gdal/OutputBand.cs
src/RasterIO.Gdal/OutputBand.cs
// Contributors: // James Domingo, Green Code LLC using Landis.SpatialModeling; using System; namespace Landis.RasterIO.Gdal { public class OutputBand<T> : IOutputBand where T : struct { private RasterBandWriter<T> rasterBandWriter; private IPixelBandGetter<T> pixelBandGe...
// Copyright 2010 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/licenses/BSD-3-Cla...
apache-2.0
C#
c1db055739eca4b3b35931f63551480eb3796663
Update MiniKanren.cs
wallymathieu/csharp_ukanren,wallymathieu/csharp_ukanren
lib/MiniKanren.cs
lib/MiniKanren.cs
using System; namespace MicroKanren{ public class Cons<T1,T2>{ //attr_reader :car, :cdr public T1 Car{get;private set;} public T2 Cdr{get;private set;} //# Returns a Cons cell (read: instance) that is also marked as such for //# later identification. public Cons(T1 car,T2 cdr){ //def initial...
using System; namespace MicroKanren{ public class Cons<T1,T2>{ //attr_reader :car, :cdr public T1 Car{get;private set;} public T2 Cdr{get;private set;} //# Returns a Cons cell (read: instance) that is also marked as such for //# later identification. public Cons(T1 car,T2 cdr){ //def initial...
mit
C#
b64ca7d5b7ed0af80828fd5fc1d6ba463fbfe6d1
add more unit tests for relative panel
wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wies...
tests/Avalonia.Controls.UnitTests/RelativePanelTests.cs
tests/Avalonia.Controls.UnitTests/RelativePanelTests.cs
using Avalonia.Controls.Shapes; using Xunit; namespace Avalonia.Controls.UnitTests { public class RelativePanelTests { [Fact] public void Lays_Out_1_Child_Next_the_other() { var rect1 = new Rectangle { Height = 20, Width = 20 }; var rect2 = new Rectangle { Heigh...
using Avalonia.Controls.Shapes; using Xunit; namespace Avalonia.Controls.UnitTests { public class RelativePanelTests { [Fact] public void Lays_Out_1_Child_Below_the_other() { var rect1 = new Rectangle { Height = 20, Width = 20 }; var rect2 = new Rectangle { Heig...
mit
C#
1f4604f3aa4ef9b799ba8d6a17b1434fb98ac7d2
Fix problem when setting WebGL build to fullscreen
p-dahlback/ld-35
Assets/Scripts/_Utils/CameraAspectAdjuster.cs
Assets/Scripts/_Utils/CameraAspectAdjuster.cs
using UnityEngine; using System.Collections; public class CameraAspectAdjuster : MonoBehaviour { public Camera mainCamera; public float targetAspectRatio; private float latestWindowAspectRatio; void Awake () { latestWindowAspectRatio = targetAspectRatio; AdjustIfNeeded (); } void Update () { AdjustIf...
using UnityEngine; using System.Collections; public class CameraAspectAdjuster : MonoBehaviour { public Camera mainCamera; public float targetAspectRatio; // Use this for initialization void Awake () { float windowAspectRatio = (float)Screen.width / (float)Screen.height; float scale = windowAspectRatio / ta...
apache-2.0
C#
a7b994db80d3c43a840c0384676c1450a99fc8bc
Use TLS 1.2 for test suite
JetBrains/YouTrackSharp,JetBrains/YouTrackSharp
tests/YouTrackSharp.Tests/Infrastructure/Connections.cs
tests/YouTrackSharp.Tests/Infrastructure/Connections.cs
using System.Collections.Generic; using System.Net.Http; using System.Security.Authentication; namespace YouTrackSharp.Tests.Infrastructure { public class Connections { public static string ServerUrl => "https://ytsharp.myjetbrains.com/youtrack/"; public static Connection...
using System.Collections.Generic; namespace YouTrackSharp.Tests.Infrastructure { public class Connections { public static string ServerUrl => "https://ytsharp.myjetbrains.com/youtrack/"; public static Connection UnauthorizedConnection => new BearerTokenConnect...
apache-2.0
C#
d24528aa79fd6eee9324428b8f05dc658b2d0d7f
Update NatashaInitializer.cs
NMSLanX/Natasha
src/Natasha.CSharp/Natasha.CSharp.All/NatashaInitializer.cs
src/Natasha.CSharp/Natasha.CSharp.All/NatashaInitializer.cs
using Natasha.CSharp; using System; using System.Threading.Tasks; public static class NatashaInitializer { private static bool _hasInitialize; /// <summary> /// 初始化 Natasha 组件 /// </summary> public static async Task Initialize() { if (!_hasInitialize) { NatashaComp...
using Natasha.CSharp; using System; using System.Threading.Tasks; public class NatashaInitializer { /// <summary> /// 初始化 Natasha 组件 /// </summary> public static void Initialize() { NatashaComponentRegister.RegistDomain<NatashaAssemblyDomain>(); NatashaComponentRegister.RegistComp...
mpl-2.0
C#
4699ca6beade795c0df02106f8c11e1ef0a2f9e9
Revert back strategy for ImageSource - ApplicationBundle
daniel-luberda/FFImageLoading,kalarepa/FFImageLoading,AndreiMisiukevich/FFImageLoading,molinch/FFImageLoading,petlack/FFImageLoading,luberda-molinet/FFImageLoading
FFImageLoading.Droid/Work/StreamResolver/ApplicationBundleStreamResolver.cs
FFImageLoading.Droid/Work/StreamResolver/ApplicationBundleStreamResolver.cs
using System; using Android.Graphics.Drawables; using System.IO; using FFImageLoading.Work; using Android.Content; using Android.Content.Res; using System.Threading.Tasks; namespace FFImageLoading { public class ApplicationBundleStreamResolver : IStreamResolver { private Context Context { get { return glo...
using System; using Android.Graphics.Drawables; using System.IO; using FFImageLoading.Work; using Android.Content; using Android.Content.Res; using System.Threading.Tasks; namespace FFImageLoading { public class ApplicationBundleStreamResolver : IStreamResolver { private Context Context { get { return glo...
mit
C#
a4dadb0a2a070fa2ed65f9da06071d1fe2d4e500
Add company name to assembly.
moxiecode/moxie,moxiecode/moxie,moxiecode/moxie,moxiecode/moxie
src/silverlight/Properties/AssemblyInfo.cs
src/silverlight/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("Mo...
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("Mo...
agpl-3.0
C#
2288dded656cdc13916a159bb792f8e0eb07929d
添加一个备注。
yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate
src/YoYoCms.AbpProjectTemplate.WebApi/WebApi/Providers/OAuthOptions.cs
src/YoYoCms.AbpProjectTemplate.WebApi/WebApi/Providers/OAuthOptions.cs
using System; using Abp.Dependency; using Microsoft.Owin; using Microsoft.Owin.Security.OAuth; namespace YoYoCms.AbpProjectTemplate.WebApi.Providers { /// <summary> /// Class OAuthOptions. /// </summary> public class OAuthOptions { /// <summary> /// Gets or sets the server options....
using System; using Abp.Dependency; using Microsoft.Owin; using Microsoft.Owin.Security.OAuth; namespace YoYoCms.AbpProjectTemplate.WebApi.Providers { /// <summary> /// Class OAuthOptions. /// </summary> public class OAuthOptions { /// <summary> /// Gets or sets the server options....
apache-2.0
C#
de97a90148f59183fc7b1337d78c362a47e70efc
Improve feedback on invalid key. (#12)
flamestream/taction,flamestream/taction,flamestream/taction
App/JsonConverter/KeyCommandListConverter.cs
App/JsonConverter/KeyCommandListConverter.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using WindowsInput.Native; namespace Taction.JsonConverter { internal class KeyCommandListConverter : Newtonsoft.Json.JsonConverter { public override bool CanWrite => false; public override bool CanRead => true; ...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using WindowsInput.Native; namespace Taction.JsonConverter { internal class KeyCommandListConverter : Newtonsoft.Json.JsonConverter { public override bool CanWrite => false; public override bool CanRead => true; ...
mit
C#
df6486eec49fd42e0d90ede3a783636d98c25e52
Rework resolvers DI registration (automatic)
csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil
Agiil.Bootstrap/ObjectMaps/AutomapperResolversModule.cs
Agiil.Bootstrap/ObjectMaps/AutomapperResolversModule.cs
using System; using System.Collections.Generic; using System.Linq; using Agiil.ObjectMaps.Resolvers; using Autofac; namespace Agiil.Bootstrap.ObjectMaps { public class AutomapperResolversModule : Module { protected override void Load(ContainerBuilder builder) { var types = GetCandidateTypes(); ...
using System; using Agiil.ObjectMaps; using Autofac; namespace Agiil.Bootstrap.ObjectMaps { public class AutomapperResolversModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterType<IdentityValueResolver>(); builder.RegisterGeneric(typeof(GetEntityByIdenti...
mit
C#
8399588cfe7ce89f101c2d8f1e141bef96113fa4
Fix typo for Currently.
tim-hoff/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,monostefan/Xamarin.Plugins
Battery/Battery/Battery.Plugin.Abstractions/IBattery.cs
Battery/Battery/Battery.Plugin.Abstractions/IBattery.cs
using System; namespace Battery.Plugin.Abstractions { /// <summary> /// Interface for Battery /// </summary> public interface IBattery : IDisposable { /// <summary> /// Current battery level 0 - 100 /// </summary> int RemainingChargePercent { get; } /// <summary> /// Current status ...
using System; namespace Battery.Plugin.Abstractions { /// <summary> /// Interface for Battery /// </summary> public interface IBattery : IDisposable { /// <summary> /// Current battery level 0 - 100 /// </summary> int RemainingChargePercent { get; } /// <summary> /// Current status ...
mit
C#
cc2ee36c102c127b1a73068d2ee72bec96bfb4eb
Add LocalVariables to CompleteExternalTask
jlucansky/Camunda.Api.Client
Camunda.Api.Client/ExternalTask/CompleteExternalTask.cs
Camunda.Api.Client/ExternalTask/CompleteExternalTask.cs
using System.Collections.Generic; namespace Camunda.Api.Client.ExternalTask { public class CompleteExternalTask { /// <summary> /// The id of the worker that completes the task. Must match the id of the worker who has most recently locked the task. /// </summary> public string W...
using System.Collections.Generic; namespace Camunda.Api.Client.ExternalTask { public class CompleteExternalTask { /// <summary> /// The id of the worker that completes the task. Must match the id of the worker who has most recently locked the task. /// </summary> public string W...
mit
C#
33366cb8b86189f8979e92d0f7a5354322a1df8f
migrate test to protocol builder and fix tests
cbcrc/LinkIt
HeterogeneousDataSources.Tests/LoadLinkProtocolTests.cs
HeterogeneousDataSources.Tests/LoadLinkProtocolTests.cs
using System; using ApprovalTests.Reporters; using HeterogeneousDataSources.Tests.Shared; using NUnit.Framework; namespace HeterogeneousDataSources.Tests { [UseReporter(typeof(DiffReporter))] [TestFixture] public class LoadLinkProtocolTests { [Test] public void LoadLink_ShouldDisposeLoa...
using System; using System.Collections.Generic; using ApprovalTests.Reporters; using HeterogeneousDataSources.LoadLinkExpressions; using HeterogeneousDataSources.Tests.Shared; using NUnit.Framework; namespace HeterogeneousDataSources.Tests { [UseReporter(typeof(DiffReporter))] [TestFixture] public class Lo...
mit
C#
93e3b15119edb56397ae3778227dab9b22f6fe47
Move using directives outside of namespace
fluentassertions/fluentassertions,fluentassertions/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions
Tests/FluentAssertions.Specs/Execution/IgnoringFailuresAssertionStrategy.cs
Tests/FluentAssertions.Specs/Execution/IgnoringFailuresAssertionStrategy.cs
using System.Collections.Generic; using FluentAssertions.Execution; namespace FluentAssertions.Specs.Execution { internal class IgnoringFailuresAssertionStrategy : IAssertionStrategy { public IEnumerable<string> FailureMessages => new string[0]; public void HandleFailure(string message) ...
namespace FluentAssertions.Specs.Execution { using System.Collections.Generic; using FluentAssertions.Execution; internal class IgnoringFailuresAssertionStrategy : IAssertionStrategy { public IEnumerable<string> FailureMessages => new string[0]; public void HandleFailure(string message...
apache-2.0
C#
143fb2808bcf034a1cbb4231fc19424972a22ca4
Update CommandAttribute.cs
RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Commands/Attributes/CommandAttribute.cs
src/Discord.Net.Commands/Attributes/CommandAttribute.cs
using System; namespace Discord.Commands { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public class CommandAttribute : Attribute { public string Text { get; } public RunMode RunMode { get; set; } = RunMode.Default; public bool? IgnoreExtraArgs ...
using System; namespace Discord.Commands { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public class CommandAttribute : Attribute { public string Text { get; } public RunMode RunMode { get; set; } = RunMode.Default; public bool? IgnoreExtraArgs ...
mit
C#
d16bba0207d4a8fbc0cab850e149b0d4ee5757ca
Update AboutBooleans.cs
NotMyself/DotNetCoreKoans
Koans/AboutBooleans.cs
Koans/AboutBooleans.cs
using Xunit; using DotNetCoreKoans.Engine; using System; namespace DotNetCoreKoans.Koans { public class AboutBooleans : Koan { // The bool type represents boolean logical quantities. // The only possible values of bool are true and false. // No standard conversions exists between bool ...
using Xunit; using DotNetCoreKoans.Engine; using System; namespace DotNetCoreKoans.Koans { public class AboutBooleans : Koan { // The bool type represents boolean logical quantities. // The only possible values of bool are true and false. // No standard conversions exists between bool ...
mit
C#
9e32fde403a171e75622e4ad4e5d43076bad9173
Add scripts folder initialization
scriptcs-contrib/scriptcs-mef
sample/ScriptCompositionSample/Program.cs
sample/ScriptCompositionSample/Program.cs
using ScriptCs.ComponentModel.Composition; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.IO; namespace ScriptCompositionSample { internal class Program { private static void Main(string[] args) { var program = new Program(); ...
using ScriptCs.ComponentModel.Composition; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; namespace ScriptCompositionSample { internal class Program { private static void Main(string[] args) { var program = new Program(); progr...
apache-2.0
C#
2eabd87fcfc5886a6bec66d6b45d964d66af59aa
Tweak pluralisation method (TODO: rules)
markembling/MarkEmbling.Utilities,markembling/MarkEmbling.Utils
MarkEmbling.Utils/Extensions/StringGrammarExtensions.cs
MarkEmbling.Utils/Extensions/StringGrammarExtensions.cs
using System.Collections.Generic; using MarkEmbling.Utils.Grammar; using MarkEmbling.Utils.Grammar.Rules; namespace MarkEmbling.Utils.Extensions { public static class StringGrammarExtensions { /// <summary> /// Apply the given grammar rules to the input string /// </summary> /// <p...
using System.Collections.Generic; using MarkEmbling.Utils.Grammar; using MarkEmbling.Utils.Grammar.Rules; namespace MarkEmbling.Utils.Extensions { public static class StringGrammarExtensions { /// <summary> /// Return either the single form (the current string) or the given plural form, //...
mit
C#
ed2c36202d804ff86b757764f61500dfd2ecf361
Update GetEquipmentItemByIdQuery.cs
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.Contract/Queries/GetEquipmentItemByIdQuery.cs
NinjaHive.Contract/Queries/GetEquipmentItemByIdQuery.cs
using System; using NinjaHive.Contract.DTOs; using NinjaHive.Core; namespace NinjaHive.Contract.Queries { public class GetEquipmentItemByIdQuery : IQuery<EquipmentItem> { public Guid EquipmentItemId { get; set; } } }
using System; using NinjaHive.Contract.DTOs; using NinjaHive.Core; namespace NinjaHive.Contract.Queries { public class GetEquipmentItemByIdQuery : IQuery<EquipmentItem> { public Guid EquipmentItemId; } }
apache-2.0
C#
6410efe0b63d17a96ab7ed66c390dffb0de6b6af
remove area registration
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache/Global.asax.cs
NuCache/Global.asax.cs
using System.Web; using System.Web.Http; namespace NuCache { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microsoft.com/?LinkId=9394801 public class WebApiApplication : HttpApplication { protected void Application_Start() { ConfigureContainer.Register(GlobalConfigur...
using System.Web; using System.Web.Http; using System.Web.Mvc; namespace NuCache { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microsoft.com/?LinkId=9394801 public class WebApiApplication : HttpApplication { protected void Application_Start() { AreaRegistration.Reg...
lgpl-2.1
C#
8d55f080823eeb72d7643eca8bcb42cd0a7923f7
Modify AssemblyFileVersion dependent on icu_ver build type
conniey/icu-dotnet,ermshiperete/icu-dotnet,conniey/icu-dotnet,sillsdev/icu-dotnet,sillsdev/icu-dotnet,ermshiperete/icu-dotnet
source/icu.net/Properties/AssemblyInfo.cs
source/icu.net/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("icu....
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("icu....
mit
C#
a6cf1f900c16edb73fed4f664fe181e4864c3964
Comment change
belgaard/Leantest,belgaard/Leantest,belgaard/Leantest
AspNetCore/LeanTestWebApplicationFactory.cs
AspNetCore/LeanTestWebApplicationFactory.cs
using System; using LeanTest.Core.ExecutionHandling; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; namespace LeanTest { /// <summary> /// This web application factory encapsulates factories for initial...
using System; using LeanTest.Core.ExecutionHandling; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; namespace LeanTest { /// <summary> /// This web application factory encapsulates factories for initial...
mit
C#
6381152047d377529d84c1bce600e6f16953699d
Send back result in OpenLink
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.VisualStudio/Menus/OpenLink.cs
src/GitHub.VisualStudio/Menus/OpenLink.cs
using GitHub.Extensions; using GitHub.Services; using Microsoft.VisualStudio.Shell; using System; using System.ComponentModel.Composition; using NullGuard; using System.Threading.Tasks; using GitHub.Api; namespace GitHub.VisualStudio.Menus { [Export(typeof(IDynamicMenuHandler))] [PartCreationPolicy(CreationPo...
using GitHub.Extensions; using GitHub.Services; using Microsoft.VisualStudio.Shell; using System; using System.ComponentModel.Composition; using NullGuard; using System.Threading.Tasks; using GitHub.Api; namespace GitHub.VisualStudio.Menus { [Export(typeof(IDynamicMenuHandler))] [PartCreationPolicy(CreationPo...
mit
C#
4160ec5f36bdc98454c2df66bf87c6ef99500743
Update _Layout.cshtml
pacoferre/polymercrud,pacoferre/polymercrud,pacoferre/polymercrud
src/PolymerCRUD/Views/Shared/_Layout.cshtml
src/PolymerCRUD/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Polymer CRUD"> <title>@ViewData["Title"] - Polymer CRUD</title> <!-- Place favicon.ico in th...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Polymer CRUD"> <title>@ViewData["Title"] - Polymer CRUD</title> <!-- Place favicon.ico in th...
mit
C#
be6bf65c1120fda0b0f585bb3dd51d2f1577eab6
Fix unnecessary cast reported by R#
fearthecowboy/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke,vbfox/pinvoke
src/Windows.Core.Tests/NullableGuidTests.cs
src/Windows.Core.Tests/NullableGuidTests.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using PInvoke; using Xunit; public class NullableGuidTests { private readon...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using PInvoke; using Xunit; public class NullableGuidTests { private readon...
mit
C#
a38546a8d54e77111fddf30623106016b16130d9
fix ChangePassword style
Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net
src/ZBlog/Views/Admin/ChangePassword.cshtml
src/ZBlog/Views/Admin/ChangePassword.cshtml
@model ChangePasswordViewModel @{ ViewData["Title"] = "Change Password"; } <h2>@ViewData["Title"]</h2> <form asp-controller="Admin" asp-action="ChangePassword" method="post" class="form-horizontal" role="form"> <hr /> <div asp-validation-summary="All" class="text-danger"></div> <div class="am-form-gr...
@model ChangePasswordViewModel @{ ViewData["Title"] = "Change Password"; } <h2>@ViewData["Title"].</h2> <form asp-controller="Manage" asp-action="ChangePassword" method="post" class="form-horizontal" role="form"> <h4>Change Password Form</h4> <hr /> <div asp-validation-summary="All" class="text-dange...
mit
C#
4c17e697641fc0fd3320973157c15a967b234793
Fix non-Windows builds.
ejball/XmlDocMarkdown
tools/Build/Build.cs
tools/Build/Build.cs
using System; using System.Linq; using Faithlife.Build; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var dotNetBuildSettings = new DotNetBuildSettings { NuGetApiKey = Environment.GetEnvironmentVariable("NUGET_API_KEY"), }; buil...
using System; using System.Linq; using Faithlife.Build; using static Faithlife.Build.AppRunner; using static Faithlife.Build.BuildUtility; return BuildRunner.Execute(args, build => { var dotNetBuildSettings = new DotNetBuildSettings { NuGetApiKey = Environment.GetEnvironmentVariable("NUGET_API_KEY"), }; build.A...
mit
C#
4671fc6c71c539f354dfd9d5d776761298e4d244
Update MvxPresenterHelpers.cs
Cheesebaron/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins
FormsPresenters/Core/MvxPresenterHelpers.cs
FormsPresenters/Core/MvxPresenterHelpers.cs
// MvxPresenterHelpers.cs // 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk // Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Tomasz Cielecii, @cheesebaron, mvxplugins@ostebarone...
using System; using System.Linq; using System.Reflection; using Cirrious.CrossCore; using Cirrious.CrossCore.IoC; using Cirrious.MvvmCross.ViewModels; using Xamarin.Forms; namespace Cheesebaron.MvxPlugins.FormsPresenters.Core { public static class MvxPresenterHelpers { public static IMvxViewModel Load...
apache-2.0
C#
51ea2068329d46feefa98e45261489534a69641b
添加数据库连接、接收http返回、登录、注册等功能
RS-GIS-Geeks/View-Spot-of-City
View-Spot-of-City/View-Spot-of-City/App.xaml.cs
View-Spot-of-City/View-Spot-of-City/App.xaml.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; using View_Spot_of_City.helper; using View_Spot_of_City.UIControls.Helper; using View_Spot_of_City.UIControls.Progress; using View_Spot_of_City.UIControl...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; using View_Spot_of_City.helper; using View_Spot_of_City.UIControls.Helper; using View_Spot_of_City.UIControls.Progress; using View_Spot_of_City.UIControl...
apache-2.0
C#
4c9cfdfa49f996de82b0cd00944e518a8028fd3e
Refactor MetallKefer, convert health and speed to public
emazzotta/unity-tower-defense
Assets/Scripts/MetallKefer.cs
Assets/Scripts/MetallKefer.cs
using UnityEngine; using System.Collections; public class MetallKefer : MonoBehaviour { private GameController game; private GameObject[] baseBuildable; private GameObject nextWaypiont; private int currentWaypointIndex = 0; public int health; public int movementSpeed; void Start () { this.game = GameObjec...
using UnityEngine; using System.Collections; public class MetallKefer : MonoBehaviour { private GameController game; private GameObject[] baseBuildable; private GameObject nextWaypiont; private int health; private int currentWaypointIndex = 0; private int movementSpeed = 2; void Start () { this.he...
mit
C#
78994f95872e4ba6084123788a0a8a13af6d53d4
Update Property.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D/ViewModels/Data/Property.cs
src/Core2D/ViewModels/Data/Property.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 System.Collections.Generic; using Core2D.Attributes; namespace Core2D.Data { /// <summary> /// Data property. /// </summary> public class Pr...
// 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 System; using System.Collections.Generic; using Core2D.Attributes; namespace Core2D.Data { /// <summary> /// Data property. /// </summary> p...
mit
C#
339b1435cbec74153b511544fffc7022c3de1353
fix OS-specific path in test
dasMulli/cli,ravimeda/cli,johnbeisner/cli,johnbeisner/cli,livarcocc/cli-1,harshjain2/cli,dasMulli/cli,blackdwarf/cli,blackdwarf/cli,livarcocc/cli-1,johnbeisner/cli,blackdwarf/cli,harshjain2/cli,svick/cli,dasMulli/cli,livarcocc/cli-1,EdwardBlair/cli,svick/cli,Faizan2304/cli,Faizan2304/cli,svick/cli,blackdwarf/cli,ravime...
test/dotnet-msbuild.Tests/GivenDotnetCacheInvocation.cs
test/dotnet-msbuild.Tests/GivenDotnetCacheInvocation.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 Microsoft.DotNet.Tools.Cache; using FluentAssertions; using Xunit; using System; using System.Linq; using System.IO; namespace Microsoft....
// 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 Microsoft.DotNet.Tools.Cache; using FluentAssertions; using Xunit; using System; using System.Linq; using System.IO; namespace Microsoft....
mit
C#
e143467a5d868be7b8bb1ce1ebd5b12af62e8c01
Add curly braces around the nested statement in if block
mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager
MediaManager/Platforms/Ios/Video/PlayerViewController.cs
MediaManager/Platforms/Ios/Video/PlayerViewController.cs
using AVKit; namespace MediaManager.Platforms.Ios.Video { public class PlayerViewController : AVPlayerViewController { protected MediaManagerImplementation MediaManager => CrossMediaManager.Apple; public override void ViewWillDisappear(bool animated) { base.ViewWillDisappe...
using AVKit; namespace MediaManager.Platforms.Ios.Video { public class PlayerViewController : AVPlayerViewController { protected MediaManagerImplementation MediaManager => CrossMediaManager.Apple; public override void ViewWillDisappear(bool animated) { base.ViewWillDisappe...
mit
C#
29d616317fe0ad64331fee68288323b1b6abd2c2
Update Message.cs
hprose/hprose-dotnet
src/Hprose.RPC/Plugins/Push/Message.cs
src/Hprose.RPC/Plugins/Push/Message.cs
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
mit
C#
6adb08bf8e338a368af11775849464f79a6f856c
Update ListPipelinesOperation.cs
grzesiek-galezowski/component-based-test-tool
ComponentBasedTestTool/Components/AzurePipelines/ListPipelinesOperation.cs
ComponentBasedTestTool/Components/AzurePipelines/ListPipelinesOperation.cs
using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using ExtensionPoints.ImplementedByComponents; using ExtensionPoints.ImplementedByContext; using Flurl.Http; using Playground; namespace Components.AzurePipelines; public class ListPipelinesOperation : IComponentO...
using System; using System.Threading; using System.Threading.Tasks; using ExtensionPoints.ImplementedByComponents; using ExtensionPoints.ImplementedByContext; namespace Components.AzurePipelines; public class ListPipelinesOperation : IComponentOperation { public async Task RunAsync(CancellationToken token) { ...
mit
C#
27bae7e191f11241a7c2d914a46923f26e08997e
Resolve a New Issue Where Background Does Not Immediately Refresh on Change
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Areas/PageBuilder/Views/Section/_EditBackgroundImage.cshtml
Portal.CMS.Web/Areas/PageBuilder/Views/Section/_EditBackgroundImage.cshtml
@model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.EditBackgroundImageViewModel @{ Layout = ""; } @Scripts.Render("~/Plugins/ImageSelector/Scripts") @Scripts.Render("~/Resources/JavaScript/Plugins/Pagination") <script type="text/javascript"> function submit() { EditablePopover.ShowSpinner...
@model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.EditBackgroundImageViewModel @{ Layout = ""; } @Scripts.Render("~/Plugins/ImageSelector/Scripts") @Scripts.Render("~/Resources/JavaScript/Plugins/Pagination") <script type="text/javascript"> function submit() { EditablePopover.ShowSpinner...
mit
C#
22bb0a4915a384eab86c890384fa9c9410bf0a74
comment out unused variables
Liwoj/Metrics.NET,mnadel/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,alhardy/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,etishor/Metrics.NE...
Samples/Metrics.StupidBenchmarks/Program.cs
Samples/Metrics.StupidBenchmarks/Program.cs
 using System; using Metrics.Core; using Metrics.Utils; namespace Metrics.StupidBenchmarks { class Program { static void Main(string[] args) { Clock.TestClock clock = new Clock.TestClock(); Timer timer = new TimerMetric(SamplingType.FavourRecent, clock); //C...
 using System; using Metrics.Core; using Metrics.Utils; namespace Metrics.StupidBenchmarks { class Program { static void Main(string[] args) { Clock.TestClock clock = new Clock.TestClock(); Timer timer = new TimerMetric(SamplingType.FavourRecent, clock); Cou...
apache-2.0
C#
abc7576081256a57369266fc04fb8b4be30383b1
add Telerik.JustMock.MSTest2.Tests.InternalBits to InternalsVisible in Telerik.JustMock
telerik/JustMockLite
Telerik.JustMock/Properties/AssemblyInfo.cs
Telerik.JustMock/Properties/AssemblyInfo.cs
/* JustMock Lite Copyright © 2010-2015 Telerik AD 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 a...
/* JustMock Lite Copyright © 2010-2015 Telerik AD 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 a...
apache-2.0
C#
09a8e56158171fb0e2d361f19ba6948f13409578
Update AdamBertram.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/AdamBertram.cs
src/Firehose.Web/Authors/AdamBertram.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AdamBertram : IAmAMicrosoftMVP { public string FirstName => "Adam"; public string LastNam...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AdamBertram : IAmAMicrosoftMVP { public string FirstName => "Adam"; public string LastNam...
mit
C#
6bd08897cecddd2bc23b566f1d9999c0b3e935e3
Fix NH-2513 (SetMaxResults issue with DB2400Dialect)
nhibernate/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate...
src/NHibernate/Dialect/DB2400Dialect.cs
src/NHibernate/Dialect/DB2400Dialect.cs
using NHibernate.Cfg; using NHibernate.SqlCommand; namespace NHibernate.Dialect { /// <summary> /// An SQL dialect for DB2 on iSeries OS/400. /// </summary> /// <remarks> /// The DB2400Dialect defaults the following configuration properties: /// <list type="table"> /// <listheader> /// <term>Pro...
using NHibernate.Cfg; using NHibernate.SqlCommand; namespace NHibernate.Dialect { /// <summary> /// An SQL dialect for DB2 on iSeries OS/400. /// </summary> /// <remarks> /// The DB2400Dialect defaults the following configuration properties: /// <list type="table"> /// <listheader> /// <term>Pro...
lgpl-2.1
C#
f61383995d0a20aa25098c6df01ff20bd7bdd851
change color of footer links
kreeben/resin,kreeben/resin
src/Sir.HttpServer/Views/_Layout.cshtml
src/Sir.HttpServer/Views/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <style> a { text-decoration: none; color: orangered; } a.result-link { color: mediumblue; } a.result-...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <style> a { text-decoration: none; color: orangered; } a.result-link { color: mediumblue; } ...
mit
C#
de5cfcf6efd091c238f80781edb2fd78621a99ee
Tweak wait form display when loading table document
electroly/sqlnotebook,electroly/sqlnotebook,electroly/sqlnotebook
src/SqlNotebook/TableDocumentControl.cs
src/SqlNotebook/TableDocumentControl.cs
using System; using System.Data; using System.Linq; using System.Windows.Forms; using SqlNotebook.Properties; using SqlNotebookScript; using SqlNotebookScript.Utils; namespace SqlNotebook; public partial class TableDocumentControl : UserControl, IDocumentControl, IDocumentControlOpenNotification { private readon...
using System; using System.Data; using System.Linq; using System.Windows.Forms; using SqlNotebook.Properties; using SqlNotebookScript.Utils; namespace SqlNotebook; public partial class TableDocumentControl : UserControl, IDocumentControl, IDocumentControlOpenNotification { private readonly NotebookManager _manag...
mit
C#
1eafce66b628b86c31a1b7a5d53a0caafa4f4cac
Maintain same message type when echoing back
tewarid/NetTools,tewarid/net-tools
WebSocketSharpServerTool/ServiceBehavior.cs
WebSocketSharpServerTool/ServiceBehavior.cs
using WebSocketSharp; using WebSocketSharp.Server; namespace WebSocketServerTool { class ServiceBehavior : WebSocketBehavior { protected override void OnMessage(MessageEventArgs e) { if (e.IsBinary) base.Send(e.RawData); else ...
using WebSocketSharp; using WebSocketSharp.Server; namespace WebSocketServerTool { class ServiceBehavior : WebSocketBehavior { protected override void OnMessage(MessageEventArgs e) { base.Send(e.RawData); } protected override void OnClose(CloseEventArgs...
mit
C#
b2a188150498bab8d915dd8624bf3feb49ba42db
Add Serialization test category to aid CI configuration.
sitofabi/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,sitofabi/duplicati,sitofabi/duplicati,duplicati/duplicati,sitofabi/duplicati,duplicati/duplicati,duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,sitofabi/duplicati
Duplicati/UnitTest/ResultFormatSerializerProviderTest.cs
Duplicati/UnitTest/ResultFormatSerializerProviderTest.cs
using Duplicati.Library.Modules.Builtin; using Duplicati.Library.Modules.Builtin.ResultSerialization; using NUnit.Framework; namespace Duplicati.UnitTest { [TestFixture] public class ResultFormatSerializerProviderTest { [Test] [Category("Serialization")] public void TestGetSerializ...
using Duplicati.Library.Modules.Builtin; using Duplicati.Library.Modules.Builtin.ResultSerialization; using NUnit.Framework; namespace Duplicati.UnitTest { [TestFixture] public class ResultFormatSerializerProviderTest { [Test] public void TestGetSerializerGivenDuplicatiReturnsDuplicatiSeri...
lgpl-2.1
C#
79fb6eaa4073f0cac9b715ed23bf62c7d74a7ceb
Detach VideoView on disappearing (iOS)
mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager
MediaManager/Platforms/Ios/Video/PlayerViewController.cs
MediaManager/Platforms/Ios/Video/PlayerViewController.cs
using AVKit; namespace MediaManager.Platforms.Ios.Video { public class PlayerViewController : AVPlayerViewController { protected MediaManagerImplementation MediaManager => CrossMediaManager.Apple; public override void ViewWillDisappear(bool animated) { base.ViewWillDisappe...
using AVKit; namespace MediaManager.Platforms.Ios.Video { public class PlayerViewController : AVPlayerViewController { public override void ViewWillDisappear(bool animated) { base.ViewWillDisappear(animated); Player = null; } } }
mit
C#
0d68da5b5855a2a3993c006a8cda052acfe676f6
fix step name
peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework
osu.Framework.Tests/Visual/Clocks/TestSceneStopwatchClock.cs
osu.Framework.Tests/Visual/Clocks/TestSceneStopwatchClock.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Audio.Track; using osu.Framework.Timing; namespace osu.Framework.Tests.Visual.Clocks { public class TestSceneStopwatchCloc...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Audio.Track; using osu.Framework.Timing; namespace osu.Framework.Tests.Visual.Clocks { public class TestSceneStopwatchCloc...
mit
C#
40322c0f8b408dda058458ea83dc2b6ccc92cd48
Remove editorbrowsable attribute from Configure
IRlyDontKnow/FluentValidation,regisbsb/FluentValidation,mgmoody42/FluentValidation,deluxetiky/FluentValidation,olcayseker/FluentValidation,GDoronin/FluentValidation,cecilphillip/FluentValidation,glorylee/FluentValidation,ruisebastiao/FluentValidation,robv8r/FluentValidation
src/FluentValidation/Internal/IConfigurable.cs
src/FluentValidation/Internal/IConfigurable.cs
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
apache-2.0
C#
cf76fd505808023a97ad7028e39353e3a4eef256
Change version
marska/habitrpg-api-dotnet-client
src/HabitRPG.Client/Properties/AssemblyInfo.cs
src/HabitRPG.Client/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("Ha...
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("Ha...
apache-2.0
C#
82d69da00f5bb127daef7692d34a2c53a021dda1
add replaceNonAsciiToAscii()
yasokada/unity-151117-linemonitor-UI
Assets/MyStringUtil.cs
Assets/MyStringUtil.cs
using UnityEngine; using System.Linq; /* * v0.2 2015/11/21 * - add replaceNonAsciiToAscii() */ namespace NS_MyStringUtil { public static class MyStringUtil { public static string removeLine(string src, int numRemove) { string work = src; for(int loop=0; loop < numRemove; loop++) { int pos = work....
using UnityEngine; using System.Linq; namespace NS_MyStringUtil { public static class MyStringUtil { public static string removeLine(string src, int numRemove) { string work = src; for(int loop=0; loop < numRemove; loop++) { int pos = work.IndexOf('\n'); work = work.Substring(pos+1); } return...
mit
C#
a35a52daf544ef182a00c0a7326ce33f46e2959c
Add Try&Catch
FreyYa/KCVAutoUpdater
AutoUpdater/Program.cs
AutoUpdater/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using AppSettings = AutoUpdater.Properties.Settings; namespace AutoUpdater { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using AppSettings = AutoUpdater.Properties.Settings; namespace AutoUpdater { class Program { static void Main(string[] args) { Updater AppUpdater = new...
mit
C#
66ff5029dc022979e38fc762540a6119c28670a8
Print functionality updated.
aykanatm/ProjectMarkdown
ProjectMarkdown/Services/DocumentPrinter.cs
ProjectMarkdown/Services/DocumentPrinter.cs
using System.Windows.Forms; using Spire.Pdf; using PrintDialog = System.Windows.Forms.PrintDialog; namespace ProjectMarkdown.Services { public class DocumentPrinter { public static void Print(string tempFilePath) { var pdfDocument = new PdfDocument(); pdfDocument.LoadFr...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; namespace ProjectMarkdown.Services { public class DocumentPrinter { public static void Print(string tempF...
mit
C#
491558261f4163f1f06e0b16f7cffe7a255e9af1
remove unnecessary type-specification
ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModPerfect.cs
osu.Game.Rulesets.Osu/Mods/OsuModPerfect.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.Linq; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Osu.Mods { public class OsuModPerfect : ModPerfect ...
// 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.Linq; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Osu.Mods { public class OsuModPerfect : ModPerfect ...
mit
C#
05d64e63f8eca506ab034213b30a0e44ea72f709
add name back to sample
nexbit/IdentityManager.MembershipReboot
source/Host/Config/MembershipRebootIdentityManagerFactory.cs
source/Host/Config/MembershipRebootIdentityManagerFactory.cs
using BrockAllen.MembershipReboot; using BrockAllen.MembershipReboot.Ef; using BrockAllen.MembershipReboot.Relational; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using System.Web; using Thinktecture.IdentityManager; usin...
using BrockAllen.MembershipReboot; using BrockAllen.MembershipReboot.Ef; using BrockAllen.MembershipReboot.Relational; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using System.Web; using Thinktecture.IdentityManager; usin...
apache-2.0
C#
78efc6a430af1d1256f9c14d57c5f3c33d137109
Copy basic Boogie parser stuff from Adam's DynamicAnalysis tool. Things are still broken. The type checker throws an exception when trying to resolve()
symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix
symbooglix/symbooglix/driver.cs
symbooglix/symbooglix/driver.cs
using System; using Microsoft; using System.Linq; using Microsoft.Boogie; using System.Diagnostics; using System.Collections.Generic; namespace symbooglix { public class driver { public static int Main(String[] args) { if (args.Length == 0) { Console.WriteLine ("Pas...
using System; using Microsoft; using System.Linq; using Microsoft.Boogie; using System.Diagnostics; namespace symbooglix { public class driver { public static int Main(String[] args) { if (args.Length == 0) { Console.WriteLine ("Pass boogie file as first arg!"); ...
bsd-2-clause
C#
c21248376815feff137ca8fa010f3eb2ff0c32a8
Fix car movement input in editor
android/games-samples,android/games-samples,android/games-samples,android/games-samples
trivialkart/trivialkart-unity/Assets/Scripts/Controller/Game/CarMove.cs
trivialkart/trivialkart-unity/Assets/Scripts/Controller/Game/CarMove.cs
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
f4b4e9511927ff53bec4ebb93217854517f0d398
Bump to version 0.1.2.
FacilityApi/FacilityCSharp
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.1.2.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("0.1.1.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
73f1bd770e9d0cdf59a37ec4c49e50170afc7b4b
Remove cookie tomfoolery and just authorize
bretgourdie/stockfighter
StockFighter/GamemasterAPI.cs
StockFighter/GamemasterAPI.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RestSharp; using StockFighter.Responses; using StockFighter.Requests; namespace StockFighter { /// <summary> /// Wraps Gamemaster API functions. /// </summary> public class Gamema...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RestSharp; using StockFighter.Responses; using StockFighter.Requests; namespace StockFighter { /// <summary> /// Wraps Gamemaster API functions. /// </summary> public class Gamema...
mit
C#
a5dc07a6fa9144dc7b422d6c4c3cbeb93d6056bf
add boots and squeaky tratis
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation
UnityProject/Assets/Scripts/Items/Traits/CommonTraits.cs
UnityProject/Assets/Scripts/Items/Traits/CommonTraits.cs
using UnityEngine; /// <summary> /// Singleton, provides common ItemTraits with special purposes (such as components /// used on many prefabs which automatically cause an object to have particular traits) so they can be easily used /// in components without needing to be assigned in editor. /// </summary> [CreateAsse...
using UnityEngine; /// <summary> /// Singleton, provides common ItemTraits with special purposes (such as components /// used on many prefabs which automatically cause an object to have particular traits) so they can be easily used /// in components without needing to be assigned in editor. /// </summary> [CreateAsse...
agpl-3.0
C#
6d650404c2fef2ab87020201ae4b4a83777249bc
Add json ignor to brave
generik0/Rik.CodeCamp
Src/Business/Rik.Codecamp.Entities/Brave.cs
Src/Business/Rik.Codecamp.Entities/Brave.cs
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Dapper.FastCrud; using Newtonsoft.Json; using Smooth.IoC.Cqrs.Query; using Smooth.IoC.Cqrs.Requests; namespace Rik.Codecamp.Entities { public class Brave : IRequest, IQuery { [Key, Data...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Dapper.FastCrud; using Smooth.IoC.Cqrs.Query; using Smooth.IoC.Cqrs.Requests; namespace Rik.Codecamp.Entities { public class Brave : IRequest, IQuery { [Key, DatabaseGeneratedDefaultVal...
mit
C#
aec7a1ca61371f528b4c19ea39e47a5add359364
Update ShellProgress.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Shell/ShellProgress.cs
TIKSN.Framework.Core/Shell/ShellProgress.cs
using ShellProgressBar; using TIKSN.Progress; namespace TIKSN.Shell { public class ShellProgress : DisposableProgress<OperationProgressReport> { private readonly int _accuracy; private readonly ProgressBar _progressBar; public ShellProgress(string message, int accuracy) { ...
using ShellProgressBar; using TIKSN.Progress; namespace TIKSN.Shell { public class ShellProgress : DisposableProgress<OperationProgressReport> { private readonly ProgressBar _progressBar; private readonly int _accuracy; public ShellProgress(string message, int accuracy) { ...
mit
C#
a0f9bd1ef84b66813de40520180e5ec5d608b26d
fix build break by reincluding empty method calls that were moved to macros.cs
xorware/android_build,knone1/platform_manifest,xorware/android_build,pranav01/platform_manifest,xorware/android_build,ND-3500/platform_manifest,xorware/android_build,see4ri/lolili,Hybrid-Power/startsync,RR-msm7x30/platform_manifest,fallouttester/platform_manifest,hagar006/platform_manifest,xorware/android_build
tools/droiddoc/templates/customization.cs
tools/droiddoc/templates/customization.cs
<?cs # This default template file is meant to be replaced. ?> <?cs # Use the -templatedir arg to javadoc to set your own directory with a ?> <?cs # replacement for this file in it. ?> <?cs # appears at the top of every page ?><?cs def:custom_masthead() ?> <div id="header"> <div id="he...
<?cs # This default template file is meant to be replaced. ?> <?cs # Use the -templatedir arg to javadoc to set your own directory with a ?> <?cs # replacement for this file in it. ?> <?cs # appears at the top of every page ?><?cs def:custom_masthead() ?> <div id="header"> <div id="he...
apache-2.0
C#
eede4a9f7175a78739f5ae6ea54d85777077c995
Fix alignment
DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,markcowl/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools
WindowsAzurePowershell/src/Management.Utilities/Common/GlobalPathInfo.cs
WindowsAzurePowershell/src/Management.Utilities/Common/GlobalPathInfo.cs
// ---------------------------------------------------------------------------------- // // Copyright 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://www.apac...
// ---------------------------------------------------------------------------------- // // Copyright 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://www.apac...
apache-2.0
C#
4deea279efe4730cc78ff05e78aec64fa795d7c0
refactor to call SyncIfNeeded without cookie
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
unity/EditorPlugin/RiderPackageInterop.cs
unity/EditorPlugin/RiderPackageInterop.cs
using System; using System.Linq; using System.Reflection; using JetBrains.Diagnostics; namespace JetBrains.Rider.Unity.Editor { public static class RiderPackageInterop { private static readonly ILog ourLogger = Log.GetLog("RiderPackageInterop"); public static Assembly GetAssembly() { var ass...
using System; using System.Linq; using System.Reflection; using JetBrains.Diagnostics; namespace JetBrains.Rider.Unity.Editor { public static class RiderPackageInterop { private static readonly ILog ourLogger = Log.GetLog("RiderPackageInterop"); public static Assembly GetAssembly() { var ass...
apache-2.0
C#
714513fab9a38a84bb3e223f03ca96205461fa4c
Remove old commented-out code.
mcneel/RhinoCycles
RenderEngine.UploadData.cs
RenderEngine.UploadData.cs
/** Copyright 2014-2016 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 w...
/** Copyright 2014-2016 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 w...
apache-2.0
C#
68dc03d18bb04eb0364188c124def2b81553c144
Document DocumentPrinter
lambdacasserole/sulfide
Sulfide/DocumentPrinter.cs
Sulfide/DocumentPrinter.cs
using System; using System.Windows.Documents; using ICSharpCode.AvalonEdit; using ICSharpCode.AvalonEdit.Document; using ICSharpCode.AvalonEdit.Highlighting; namespace Sulfide { /// <summary> /// Contains useful static methods for preparing <see cref="TextEditor"/> documents for printing. /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Documents; using ICSharpCode.AvalonEdit; using ICSharpCode.AvalonEdit.Document; using ICSharpCode.AvalonEdit.Highlighting; namespace Sulfide { public static class DocumentPrinte...
mit
C#
4ba9597ccbf433abc31739dcce8165547d4871b1
Add link to PDF Download to make it more discoverable
icsharpcode/SharpDevelopReporting
samples/WebAppMvc/WebAppMvc/Views/Home/Index.cshtml
samples/WebAppMvc/WebAppMvc/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <h2>Demo Start Page</h2> @Html.ActionLink("Download PDF","ContributorsList")
@{ ViewBag.Title = "Home Page"; } <h2>Demo Start Page</h2>
mit
C#
ee6abe4d9fb87f5aa3d006e69aa89e245ce1c628
Update binder to use the property api
kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs
WootzJs.Mvc/Views/Binders/TextBoxBinders.cs
WootzJs.Mvc/Views/Binders/TextBoxBinders.cs
#region License //----------------------------------------------------------------------- // <copyright> // The MIT License (MIT) // // Copyright (c) 2014 Kirk S Woll // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softw...
#region License //----------------------------------------------------------------------- // <copyright> // The MIT License (MIT) // // Copyright (c) 2014 Kirk S Woll // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softw...
mit
C#
2205bc87403ae6f4677e19cc8b4151602e77ba3b
Update Program.cs
knave2000/ACMReports
ACMReports/Program.cs
ACMReports/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ACMReports { static class Program { /// <summary> /// Main initial application point /// </summary> [STAThread] static void Main() ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ACMReports { static class Program { /// <summary> /// Главная точка входа для приложения. /// </summary> [STAThread] static void Main()...
mit
C#
cb6162c7f94862f1f7d5502fa895181858d3de49
Set the function's name in the object literal.
jmatysczak/DotNETPOCs,jmatysczak/DotNETPOCs
AjaxMinAST/Program.cs
AjaxMinAST/Program.cs
using System; using System.IO; using Microsoft.Ajax.Utilities; namespace AjaxMinAST { class Program { static void Main(string[] args) { var input = File.ReadAllText("input.js"); Console.WriteLine("--- Raw ---"); Console.WriteLine(input); Console.WriteLine("\r\n"); Console.WriteLine("-...
using System; using System.IO; using Microsoft.Ajax.Utilities; namespace AjaxMinAST { class Program { static void Main(string[] args) { var input = File.ReadAllText("input.js"); Console.WriteLine("--- Raw ---"); Console.WriteLine(input); Console.WriteLine("\r\n"); Console.WriteLine("-...
unlicense
C#
bd3ad4427aa433c42dc2d7cc677f2142c3e61d26
add method destroyWhenGameover
endlessz/Flappy-Cube
Assets/Scripts/Obstacle.cs
Assets/Scripts/Obstacle.cs
using UnityEngine; using System.Collections; public class Obstacle : MonoBehaviour { // Update is called once per frame void Update () { destroyWhenOutOfScreen(); destroyWhenGameover(); } private void destroyWhenOutOfScreen(){ Vector2 screenPosition = Camera.main.WorldToScreenPoint(transform.position); ...
using UnityEngine; using System.Collections; public class Obstacle : MonoBehaviour { // Update is called once per frame void Update () { destroyWhenOutOfScreen (); } private void destroyWhenOutOfScreen(){ Vector2 screenPosition = Camera.main.WorldToScreenPoint(transform.position); //When obstacle out of...
mit
C#
d89f98b02d2b36a526d2a911656ca59aeb298d0f
debug output for Delete task
socialdotcom/bounce,sreal/bounce,refractalize/bounce,socialdotcom/bounce,refractalize/bounce,socialdotcom/bounce,socialdotcom/bounce,refractalize/bounce,sreal/bounce,sreal/bounce
Bounce.Framework/Delete.cs
Bounce.Framework/Delete.cs
using System.IO; namespace Bounce.Framework { public class Delete : Task { [Dependency] public Task<string> Path; private IDirectoryUtils DirectoryUtils; public Delete() { DirectoryUtils = new DirectoryUtils(); } public ove...
using System.IO; namespace Bounce.Framework { public class Delete : Task { [Dependency] public Task<string> Path; private IDirectoryUtils DirectoryUtils; public Delete() { DirectoryUtils = new DirectoryUtils(); } public ove...
bsd-2-clause
C#
3155335a4f87b36dd3818921d5682065b9eb1e84
Add *fixed header* scaffolded MDL page
peterblazejewicz/mdl-app-layouts,peterblazejewicz/mdl-app-layouts
AppLayouts/src/Views/Shared/_Layout.cshtml
AppLayouts/src/Views/Shared/_Layout.cshtml
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - AppLayouts</title> <!-- Page styles --> <environment names="Development"> <link href='//fonts.googleapis.com/css?family=Roboto:regula...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - AppLayouts</title> @RenderSection("styles", required: false) </head> <body> <mdl-drawer-panel id="drawerPanel"> <div class="nav" drawer> ...
unlicense
C#
c537ef6875bef67b5da8df0705dce19b2c0638cd
Update DataGameSession.cs
dimmpixeye/Unity3dTools
Assets/[1]Source/Common/DataGameSession.cs
Assets/[1]Source/Common/DataGameSession.cs
using UnityEngine; namespace Homebrew { [CreateAssetMenu(fileName = "DataGameSession", menuName = "Actors/Data/DataGameSession")] public class DataGameSession : DataGame, IKernel { } }
using UnityEngine; namespace Homebrew { [CreateAssetMenu(fileName = "DataGameSession", menuName = "Actors/Data/DataGameSession")] public class DataGameSession : DataGame { } }
mit
C#
8d89ef3e64e4e82aaa32443d100a33ee0015e473
implement the hello world sample from electron - access to the node.js process object
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.WebApp/Views/Home/Index.cshtml
ElectronNET.WebApp/Views/Home/Index.cshtml
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Home</title> </head> <body> <h3>Hello from ASP.NET Core MVC!</h3> We are using node <script>document.write(process.versions.node)</script>, Chrome <script>document.write(process.versions.chrome)</sc...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Home</title> </head> <body> <h3>Hello from ASP.NET Core MVC!</h3> <br /><br /> <input type="button" value="Call Notification" onclick="location.href='@Url.Action("SayHello", "Home")'" /> </body> </html>
mit
C#
08c8905a81f9197fda3f30866a7eb75814186ca0
Make sure the xml returns correct rotor data
It423/enigma-simulator,wrightg42/enigma-simulator
Enigma/EnigmaUtilities/Data/XML/ReadXML.cs
Enigma/EnigmaUtilities/Data/XML/ReadXML.cs
// ReadXML.cs // <copyright file="ReadXML.cs"> This code is protected under the MIT License. </copyright> using System.Xml.Linq; namespace EnigmaUtilities.Data.XML { /// <summary> /// A static class used for reading xml data about components. /// </summary> public static class ReadXML { ...
// ReadXML.cs // <copyright file="ReadXML.cs"> This code is protected under the MIT License. </copyright> using System.Xml.Linq; namespace EnigmaUtilities.Data.XML { /// <summary> /// A static class used for reading xml data about components. /// </summary> public static class ReadXML { ...
mit
C#
4b55b7b4be7df7f459330b5261236bf70198e51a
Set the default route of the site to be /Home/Index
jhenriquez/ironbank
IronBank/IronBank/App_Start/RouteConfig.cs
IronBank/IronBank/App_Start/RouteConfig.cs
using System.Web.Mvc; using System.Web.Routing; [assembly: WebActivatorEx.PostApplicationStartMethod(typeof(IronBank.App_Start.RouteConfig), "RegisterRoutes")] namespace IronBank.App_Start { public class RouteConfig { public static void RegisterRoutes() { RouteTable.Rou...
using System.Web.Mvc; using System.Web.Routing; [assembly: WebActivatorEx.PostApplicationStartMethod(typeof(IronBank.App_Start.RouteConfig), "RegisterRoutes")] namespace IronBank.App_Start { public class RouteConfig { public static void RegisterRoutes() { RouteTable.Rou...
mit
C#