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
1fedf442f35898546b4b7eca8c2633475f6de85a
add code snippet for cookie policy
Franklin89/Blog,Franklin89/Blog
MLSoftware.Blog/Startup.cs
MLSoftware.Blog/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace MLSoftware.Blog { public class Startup { public void ConfigureServices(IServiceCollection services) { // services.Config...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace MLSoftware.Blog { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddOrchardCms(); } ...
mit
C#
432567a501c117e1dc966d075d8d6e7068afc3eb
Handle new frame for navigation service. #277 #307
Caliburn-Micro/Caliburn.Micro,TriadTom/Caliburn.Micro,bitbonk/Caliburn.Micro,serenabenny/Caliburn.Micro,TriadTom/Caliburn.Micro
samples/Caliburn.Micro.HelloUWP/Caliburn.Micro.HelloUWP/ViewModels/ShellViewModel.cs
samples/Caliburn.Micro.HelloUWP/Caliburn.Micro.HelloUWP/ViewModels/ShellViewModel.cs
using System; using Windows.UI.Xaml.Controls; using Caliburn.Micro.HelloUWP.Messages; namespace Caliburn.Micro.HelloUWP.ViewModels { public class ShellViewModel : Screen, IHandle<ResumeStateMessage>, IHandle<SuspendStateMessage> { private readonly WinRTContainer _container; private readonly IE...
using System; using Windows.UI.Xaml.Controls; using Caliburn.Micro.HelloUWP.Messages; namespace Caliburn.Micro.HelloUWP.ViewModels { public class ShellViewModel : Screen, IHandle<ResumeStateMessage>, IHandle<SuspendStateMessage> { private readonly WinRTContainer _container; private readonly IE...
mit
C#
6b45708de087e6fed54ecbf7ac72a9a3b60e2ac4
Fix Sandbox occurs compile error under 5.3
ataihei/UniRx,cruwel/UniRx,ufcpp/UniRx,saruiwa/UniRx,cruwel/UniRx,OC-Leon/UniRx,neuecc/UniRx,kimsama/UniRx,endo0407/UniRx,m-ishikawa/UniRx,TORISOUP/UniRx,ppcuni/UniRx,cruwel/UniRx,OrangeCube/UniRx
Assets/ObjectTest/Sandbox2.cs
Assets/ObjectTest/Sandbox2.cs
using UnityEngine; using UniRx; using UniRx.Triggers; using System.Collections; using System.Linq; using System; using System.Collections.Generic; using UnityEngine.UI; // using UnityEngine.SceneManagement; public class MyEventClass { public event Action<int> Hoge; public void Push(int x) { Hoge(x...
using UnityEngine; using UniRx; using UniRx.Triggers; using System.Collections; using System.Linq; using System; using System.Collections.Generic; using UnityEngine.UI; using UnityEngine.SceneManagement; public class MyEventClass { public event Action<int> Hoge; public void Push(int x) { Hoge(x); ...
mit
C#
e61a728681028c767bd8050ff0159a591de7c579
Allow setting the local packages feed from env
mrahhal/Migrator.EF6
deploy_local.csx
deploy_local.csx
using System; using System.IO; using System.Text.RegularExpressions; using System.Diagnostics; using System.Linq; var cd = Environment.CurrentDirectory; var projectName = "Migrator.EF6.Tools"; var userName = Environment.UserName; var userProfileDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfil...
using System; using System.IO; using System.Text.RegularExpressions; using System.Diagnostics; using System.Linq; var cd = Environment.CurrentDirectory; var projectName = "Migrator.EF6.Tools"; var userName = Environment.UserName; var userProfileDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfil...
mit
C#
6ea0198c193db900bbb142f758ccf4daf91e853d
Add transaction to SaveOrUpdate
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositorySaveOrUpdate.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositorySaveOrUpdate.cs
using System.Threading.Tasks; using Dapper.FastCrud; using Smooth.IoC.Dapper.Repository.UnitOfWork.Data; using Smooth.IoC.Dapper.Repository.UnitOfWork.Entities; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo { public abstract partial class Repository<TSession, TEntity, TPk> where TEntity : class,...
using System.Threading.Tasks; using Dapper.FastCrud; using Smooth.IoC.Dapper.Repository.UnitOfWork.Data; using Smooth.IoC.Dapper.Repository.UnitOfWork.Entities; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo { public abstract partial class Repository<TSession, TEntity, TPk> where TEntity : class,...
mit
C#
c888ed06bd35a6ed03ec641a480a0b2123a3515c
change FindByExternalLoginInfo to FindByUserLoginInfo
tc-dev/tc-dev.Core
src/tc-dev.Core/Identity/IAppUserManager.cs
src/tc-dev.Core/Identity/IAppUserManager.cs
using System; using System.Security.Claims; using System.Threading.Tasks; using tc_dev.Core.Identity.Models; namespace tc_dev.Core.Identity { public interface IAppUserManager : IDisposable { string AppCookie { get; } string ExternalBearer { get; } string ExternalCookie { get; } ...
using System; using System.Security.Claims; using System.Threading.Tasks; using tc_dev.Core.Identity.Models; namespace tc_dev.Core.Identity { public interface IAppUserManager : IDisposable { string AppCookie { get; } string ExternalBearer { get; } string ExternalCookie { get; } ...
mit
C#
1b6a51d14ad74ea70c3a72e585aff9b685d3d749
Bump version
transistor1/SQLFormatterPlugin
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQ...
bsd-3-clause
C#
6e0db31a528fae2fbbf953a6dab7f7e1bd766428
Put loop test's variables in a local scope
TheBerkin/Rant
Rant.Tests/Expressions/Loops.cs
Rant.Tests/Expressions/Loops.cs
using NUnit.Framework; namespace Rant.Tests.Expressions { [TestFixture] public class Loops { private readonly RantEngine rant = new RantEngine(); [Test] public void StringBuildingWhileLoop() { var output = rant.Do(@" [@ (function() { var parts ...
using NUnit.Framework; namespace Rant.Tests.Expressions { [TestFixture] public class Loops { private readonly RantEngine rant = new RantEngine(); [Test] public void StringBuildingWhileLoop() { var output = rant.Do(@" [@ var parts = (""this"", ""is"", ""a"",...
mit
C#
9609520a53b3f91d722b68bbe189cc419f2491b9
Remove "Get" statement from example docs
Confruggy/Discord.Net,RogueException/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net
docs/guides/samples/dependency_module.cs
docs/guides/samples/dependency_module.cs
using Discord; using Discord.Commands; using Discord.WebSocket; public class ModuleA : ModuleBase { private readonly DatabaseService _database; // Dependencies can be injected via the constructor public ModuleA(DatabaseService database) { _database = database; } public async Task Read...
using Discord; using Discord.Commands; using Discord.WebSocket; public class ModuleA : ModuleBase { private readonly DatabaseService _database; // Dependencies can be injected via the constructor public ModuleA(DatabaseService database) { _database = database; } public async Task Read...
mit
C#
f2f2829e97711e251e16732a587e4167f263dc43
Fix build
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
NakedLegacy/NakedLegacy.Reflector/Facet/ActionChoicesViaAboutMethodFacet.cs
NakedLegacy/NakedLegacy.Reflector/Facet/ActionChoicesViaAboutMethodFacet.cs
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requir...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requir...
apache-2.0
C#
6ca01f1b470b3dd80ec236baa9e41b420d66ca51
use string builder
splitice/SystemInteract.Net,splitice/SystemInteract.Net
SystemInteract/ProcessHelper.cs
SystemInteract/ProcessHelper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace SystemInteract { public class ProcessHelper { private const int DefaultTimeout = 120; public static void ReadToEnd(ISystemProcess process, out String output, out String err...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace SystemInteract { public class ProcessHelper { private const int DefaultTimeout = 120; public static void ReadToEnd(ISystemProcess process, out String output, out String err...
apache-2.0
C#
bc0872c3585f2e2cb11ad9f32e33a0acee5c9105
Improve cfx default settings (removing hack switch)
David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium
WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/ChromiumFxWebBrowserApp.cs
WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/ChromiumFxWebBrowserApp.cs
using Chromium; using Chromium.Event; using Neutronium.Core; using Neutronium.WPF; namespace Neutronium.WebBrowserEngine.ChromiumFx { public abstract class ChromiumFxWebBrowserApp : HTMLApp { protected virtual bool DisableWebSecurity => false; protected override IWPFWebWindowFactory GetWindow...
using Chromium; using Chromium.Event; using Neutronium.Core; using Neutronium.WPF; namespace Neutronium.WebBrowserEngine.ChromiumFx { public abstract class ChromiumFxWebBrowserApp : HTMLApp { protected virtual bool DisableWebSecurity => true; protected override IWPFWebWindowFactory GetWindowF...
mit
C#
d56c33cd2a73df2b5e992d8faad77cf7ee919510
Add test for #164
SharpMap/SharpMap,SharpMap/SharpMap
UnitTests/Issues/GitHub.cs
UnitTests/Issues/GitHub.cs
using System.Net; using NUnit.Framework; namespace UnitTests.Issues { public class GitHub { #if !LINUX [TestCase] [Description("Raster Layer removed when apply rotation on map")] public void TestIssue116() { string rasterFile = TestUtility.GetPathToTestFile("world.t...
using System; using System.Net; using GeoAPI.Geometries; using NUnit.Framework; namespace UnitTests.Issues { public class GitHub { [TestCase("https://www.wms.nrw.de/geobasis/wms_nw_dop", SecurityProtocolType.Ssl3, SecurityProtocolType.Tls12)] [Description("https request with unmatching securit...
lgpl-2.1
C#
a287fd73bbc81ca412d7b67fb33783483ed5b964
Write MaxCombo attribute for mania
peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu
osu.Game.Rulesets.Mania/Difficulty/ManiaDifficultyAttributes.cs
osu.Game.Rulesets.Mania/Difficulty/ManiaDifficultyAttributes.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Rulesets.Difficulty; namespace osu.Game.Rulesets.Mania.Difficulty { public class ManiaDiffic...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Rulesets.Difficulty; namespace osu.Game.Rulesets.Mania.Difficulty { public class ManiaDiffic...
mit
C#
f9d26334b350748fa6278b34ef8732905763ea6a
fix logic, S_SPAWN_PROJECTILE
neowutran/OpcodeSearcher
DamageMeter.Core/Heuristic/S_SPAWN_PROJECTILE.cs
DamageMeter.Core/Heuristic/S_SPAWN_PROJECTILE.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tera.Game.Messages; namespace DamageMeter.Heuristic { public class S_SPAWN_PROJECTILE : AbstractPacketHeuristic { public static S_SPAWN_PROJECTILE Instance => _instance ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tera.Game.Messages; namespace DamageMeter.Heuristic { public class S_SPAWN_PROJECTILE : AbstractPacketHeuristic { public static S_SPAWN_PROJECTILE Instance => _instance ...
mit
C#
ff9da9d7e1c74a26dc8d98b235aec27c191f1ce7
Add null check to VocabUtils.AssociatesWith
TheBerkin/Rant
Rant/Vocabulary/VocabUtils.cs
Rant/Vocabulary/VocabUtils.cs
using System; using System.Collections.Generic; using System.Linq; namespace Rant.Vocabulary { internal static class VocabUtils { private static readonly Dictionary<string, string> StringCache = new Dictionary<string, string>(); public static string GetString(string str) { ...
using System; using System.Collections.Generic; using System.Linq; namespace Rant.Vocabulary { internal static class VocabUtils { private static readonly Dictionary<string, string> StringCache = new Dictionary<string, string>(); public static string GetString(string str) { ...
mit
C#
9b37228d172e09204b261280cb03865639212612
Add unit tests.
jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr
test/app.tests/WebApi/ActionFactoryTest.cs
test/app.tests/WebApi/ActionFactoryTest.cs
using Xunit; using Moq; using FluentAssertions; using HelloWorldApp.WebApi.Actions; using HelloWorldApp.WebApi; namespace HelloWorldApp.Test.WebApi { public class ActionFactoryTest { [Fact] public void CreateSayHelloWorldActionTest() { var action = Mock.Of<ISayHelloWorldActi...
using Xunit; using Moq; using FluentAssertions; using HelloWorldApp.WebApi.Actions; using HelloWorldApp.WebApi; namespace HelloWorldApp.Test.WebApi { public class ActionFactoryTest { [Fact] public void CreateSayHelloWorldActionTest() { var sayHelloWorldAction = Mock.Of<ISayH...
mit
C#
1dcce093df91e992c8ecc63306511333d0d2bd2e
Make Configuration public
OatmealDome/SplatoonUtilities
MusicRandomizer/MusicRandomizer/Configuration.cs
MusicRandomizer/MusicRandomizer/Configuration.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace MusicRandomizer { [Serializable] public class Configuration { public String currentVersion; public Sp...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace MusicRandomizer { [Serializable] class Configuration { public String currentVersion; public SplatoonR...
mit
C#
e0d3ed65f1069666279e1a60ea1150a3dc74dee1
Update CharacterSpawn.cs
lockzag/PolarisServer,PolarisTeam/PolarisServer,Dreadlow/PolarisServer,MrSwiss/PolarisServer,cyberkitsune/PolarisServer
PolarisServer/Packets/Handlers/CharacterSpawn.cs
PolarisServer/Packets/Handlers/CharacterSpawn.cs
using System; using System.IO; using System.Linq; using Newtonsoft.Json; using PolarisServer.Models; using PolarisServer.Packets.PSOPackets; using PolarisServer.Object; using PolarisServer.Database; using PolarisServer.Zone; namespace PolarisServer.Packets.Handlers { [PacketHandlerAttr(0x11, 0x3E)] public cla...
using System; using System.IO; using System.Linq; using Newtonsoft.Json; using PolarisServer.Models; using PolarisServer.Packets.PSOPackets; using PolarisServer.Object; using PolarisServer.Database; using PolarisServer.Zone; namespace PolarisServer.Packets.Handlers { [PacketHandlerAttr(0x11, 0x3E)] public cla...
agpl-3.0
C#
64f242d39ff564dd1b424a6966d5df61fee3aea0
add Validation Rules
hemincong/PostageStampTransactionHelper
PostageStampTransactionHelper/ValidationRules.cs
PostageStampTransactionHelper/ValidationRules.cs
using System.Globalization; using System.Windows.Controls; namespace PostageStampTransactionHelper { public class StringToIntValidationRule : ValidationRule { public override ValidationResult Validate(object value, CultureInfo cultureInfo) { uint i; return uint.TryParse...
using System.Globalization; using System.Windows.Controls; namespace PostageStampTransactionHelper { public class StringToIntValidationRule : ValidationRule { public override ValidationResult Validate(object value, CultureInfo cultureInfo) { int i; return int.TryParse(v...
apache-2.0
C#
7810e33bb8c177175e19c476cb9013e9e901ea5a
Add missing fault handling of AkkaAskRequestWaiter.
SaladLab/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced,SaladLab/Akka.Interfaced
core/Akka.Interfaced/AkkaAskRequestWaiter.cs
core/Akka.Interfaced/AkkaAskRequestWaiter.cs
using System; using System.Threading.Tasks; using Akka.Actor; namespace Akka.Interfaced { internal class AkkaAskRequestWaiter : IRequestWaiter { void IRequestWaiter.SendRequest(IActorRef target, RequestMessage requestMessage) { target.Tell(requestMessage); } Task I...
using System; using System.Threading.Tasks; using Akka.Actor; namespace Akka.Interfaced { internal class AkkaAskRequestWaiter : IRequestWaiter { void IRequestWaiter.SendRequest(IActorRef target, RequestMessage requestMessage) { target.Tell(requestMessage); } Task I...
mit
C#
60f1bd51a6c995f902419c9f1acaeb6313b3e92d
Fix for audio URIs to prevent onerror javascript being introduced via percent encoding.
lukehoban/JabbR,lukehoban/JabbR,ajayanandgit/JabbR,e10/JabbR,borisyankov/JabbR,timgranstrom/JabbR,CrankyTRex/JabbRMirror,yadyn/JabbR,yadyn/JabbR,M-Zuber/JabbR,huanglitest/JabbRTest2,18098924759/JabbR,AAPT/jean0226case1322,fuzeman/vox,borisyankov/JabbR,18098924759/JabbR,huanglitest/JabbRTest2,huanglitest/JabbRTest2,Jabb...
JabbR/ContentProviders/AudioContentProvider.cs
JabbR/ContentProviders/AudioContentProvider.cs
using System; using System.Threading.Tasks; using JabbR.ContentProviders.Core; using Microsoft.Security.Application; namespace JabbR.ContentProviders { public class AudioContentProvider : IContentProvider { public bool IsValidContent(Uri uri) { return uri.AbsolutePath.EndsWith(".mp...
using System; using System.Threading.Tasks; using JabbR.ContentProviders.Core; namespace JabbR.ContentProviders { public class AudioContentProvider : IContentProvider { public bool IsValidContent(Uri uri) { return uri.AbsolutePath.EndsWith(".mp3", StringComparison.OrdinalIgnoreCase...
mit
C#
add99f2234f0babfa790187ee813d1718f763f9e
Remove User ID from device credential creation payload
jerriep/auth0.net,auth0/auth0.net,auth0/auth0.net,jerriep/auth0.net,jerriep/auth0.net
src/Auth0.ManagementApi/Models/DeviceCredentialCreateRequest.cs
src/Auth0.ManagementApi/Models/DeviceCredentialCreateRequest.cs
using System; using Auth0.Core; using Newtonsoft.Json; namespace Auth0.ManagementApi.Models { /// <summary> /// /// </summary> public class DeviceCredentialCreateRequest : DeviceCredentialBase { /// <summary> /// Gets or sets the ID of the client for which the credential will be ...
using Auth0.Core; using Newtonsoft.Json; namespace Auth0.ManagementApi.Models { /// <summary> /// /// </summary> public class DeviceCredentialCreateRequest : DeviceCredentialBase { /// <summary> /// Gets or sets the ID of the client for which the credential will be created. ...
mit
C#
5138679dba78ce2807d606fd3ab1babea904785b
Fix WinRT build breaks (#4398)
gregkalapos/corert,shrah/corert,shrah/corert,shrah/corert,shrah/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert
src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.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 Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; namespace System.IO { public partial c...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; namespace System.IO { public partial c...
mit
C#
0afa356f504489717d061941f8b9b43e6f121d67
Update tile template.
betrakiss/Tramline-5,betrakiss/Tramline-5
src/TramlineFive/BackgroundTasks/FavouriteStopBackgroundTask.cs
src/TramlineFive/BackgroundTasks/FavouriteStopBackgroundTask.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TramlineFive.Common; using TramlineFive.Common.Converters; using TramlineFive.Common.Models; using Windows.ApplicationModel.Background; using Windows.Data.Xml.Dom; using Windows.UI.Notifications; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TramlineFive.Common; using TramlineFive.Common.Converters; using TramlineFive.Common.Models; using Windows.ApplicationModel.Background; using Windows.Data.Xml.Dom; using Windows.UI.Notifications; ...
apache-2.0
C#
48aeda49bc1808813f5d5c3d0a6212c46207eed9
order history item partial view updated
mpenchev86/ASP.NET-MVC-FinalProject,mpenchev86/ASP.NET-MVC-FinalProject,mpenchev86/JustOrderIt,mpenchev86/ASP.NET-MVC-FinalProject,mpenchev86/JustOrderIt,mpenchev86/JustOrderIt
Source/Web/JustOrderIt.Web/Areas/Public/Views/Orders/DisplayTemplates/OrderItems.cshtml
Source/Web/JustOrderIt.Web/Areas/Public/Views/Orders/DisplayTemplates/OrderItems.cshtml
@using Microsoft.AspNet.Identity @using JustOrderIt.Web.Areas.Public.ViewModels.Orders @using JustOrderIt.Web.Areas.Public.ViewModels.Votes @model List<OrderItemForUserProfile> <div class="row cart-labels"> <div class="col-md-7"><label><span>Product</span></label></div> <div class="col-md-2"><label><...
@using Microsoft.AspNet.Identity @using JustOrderIt.Web.Areas.Public.ViewModels.Orders @using JustOrderIt.Web.Areas.Public.ViewModels.Votes @model List<OrderItemForUserProfile> <div class="row cart-labels"> <div class="col-md-8"><label><span>Product</span></label></div> <div class="col-md-2"><label><...
mit
C#
e385dedd5f75e1b0d91753ff580b1964f4ffad14
Remove try-catch blocks and handle the null case.
PackSciences/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,stoye/LiveSplit,zoton2/LiveSplit,zoton2/LiveSplit,ROMaster2/LiveSplit,Dalet/LiveSplit,Fluzzarn/LiveSplit,Jiiks/LiveSplit,stoye/LiveSplit,Fluzzarn/LiveSplit,LiveSplit/LiveSplit,PackSciences/LiveSplit,Fluzzarn/LiveSplit,chloe747/LiveSplit,kugelrund/LiveSplit,chl...
LiveSplit/LiveSplit.Core/Web/DynamicXMLNode.cs
LiveSplit/LiveSplit.Core/Web/DynamicXMLNode.cs
using System.Dynamic; using System.Xml; namespace LiveSplit.Web { public static class XMLExtensions { public static dynamic ToDynamic(this XmlElement element) { return new DynamicXMLElement(element); } } internal class DynamicXMLAttributesCollection : DynamicObject...
using System.Dynamic; using System.Xml; namespace LiveSplit.Web { public static class XMLExtensions { public static dynamic ToDynamic(this XmlElement element) { return new DynamicXMLElement(element); } } internal class DynamicXMLAttributesCollection : DynamicObject...
mit
C#
ebb7bba4fe1d5570b659c89cbadee10922a2f736
Fix naming
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LmpClient/Harmony/VesselLabels_ProcessLabel.cs
LmpClient/Harmony/VesselLabels_ProcessLabel.cs
using Harmony; using LmpClient.Events; // ReSharper disable All namespace LmpClient.Harmony { /// <summary> /// This harmony patch is intended to trigger an event when drawing a label /// </summary> [HarmonyPatch(typeof(VesselLabels))] [HarmonyPatch("ProcessLabel")] public class VesselLabels_P...
using Harmony; using LmpClient.Events; // ReSharper disable All namespace LmpClient.Harmony { /// <summary> /// This harmony patch is intended to trigger an event when drawing a label /// </summary> [HarmonyPatch(typeof(VesselLabels))] [HarmonyPatch("ProcessLabel")] public class VesselLabels_P...
mit
C#
d0e577cd8f1cb3fecd883c892e5d318c8593a92f
Increase version number
xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home.ProofOfConcept
Xpressive.Home/Properties/AssemblyInfo.shared.cs
Xpressive.Home/Properties/AssemblyInfo.shared.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; using System.Runtime.InteropServices; [ass...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; using System.Runtime.InteropServices; [ass...
mit
C#
3c8c21e6279afa6608a0199513c1cabf93da4f69
Make the custom ActionFilter internal
serilog-web/classic-webapi
src/SerilogWeb.Classic.WebApi/Classic/WebApi/StoreWebApInfoInHttpContextActionFilter.cs
src/SerilogWeb.Classic.WebApi/Classic/WebApi/StoreWebApInfoInHttpContextActionFilter.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace SerilogWeb.Classic.WebApi { internal class StoreWebApInfoInHttpContextActionFilter : ActionFilterAttribute { public over...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace SerilogWeb.Classic.WebApi { public class StoreWebApInfoInHttpContextActionFilter : ActionFilterAttribute { public overri...
apache-2.0
C#
a7f0ea9033e720c29718efc2531f9a270ab39d82
Fix error
12joan/hangman
row.cs
row.cs
using System; using System.Collections.Generic; namespace Hangman { public class Row { public Cell[] Cells; public Row(Cell[] cells) { Cells = cells; } public string Draw(int width) { // return new String(' ', width - Text.Length) + Text; return String.Join("\n", Lines()); } ...
using System; using System.Collections.Generic; namespace Hangman { public class Row { public Cell[] Cells; public Row(Cell[] cells) { Cells = cells; } public string Draw(int width) { // return new String(' ', width - Text.Length) + Text; return String.Join("\n", Lines()); } ...
unlicense
C#
26ae97a7f418306e6dbf8c698e245bd8861de70a
test to claims
ramzzzay/PhoneBook,ramzzzay/PhoneBook
PhoneBook.Core/Controllers/ValuesController.cs
PhoneBook.Core/Controllers/ValuesController.cs
using System.Collections.Generic; using System.Web.Http; namespace PhoneBook.Core.Controllers { public class ValuesController : ApiController { // GET api/values [Authorize(Roles = "user")] public IEnumerable<string> Get() { return new[] {"value1", "value2"}; ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace PhoneBook.Core.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { ret...
apache-2.0
C#
1e5b400499177cbf5025b9e3006549b4ed172829
Add option to control whether player can use twisting
NamefulTeam/PortoGameJam2016
PortoGameJam2016/Assets/Scripts/GameManager.cs
PortoGameJam2016/Assets/Scripts/GameManager.cs
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { public static GameManager Instance; public Mode CurrentMode = Mode.TopDown; public bool AllowTwisting = true; CameraController cameraController; void Awake() { if (Instance == null) { ...
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { public static GameManager Instance; public Mode CurrentMode = Mode.TopDown; CameraController cameraController; void Awake() { if (Instance == null) { Instance = this; } els...
mit
C#
cae6e02ceb8b427e03e268e17195ac2f9d441fc4
Fix migration to handle identical aliases for different group names and write error to log
arknu/Umbraco-CMS,mattbrailsford/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,bjarnef/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrai...
src/Umbraco.Core/Migrations/Upgrade/V_8_16_0/AddPropertyTypeGroupColumns.cs
src/Umbraco.Core/Migrations/Upgrade/V_8_16_0/AddPropertyTypeGroupColumns.cs
using System.Linq; using Umbraco.Core.Logging; using Umbraco.Core.Persistence.Dtos; namespace Umbraco.Core.Migrations.Upgrade.V_8_16_0 { public class AddPropertyTypeGroupColumns : MigrationBase { public AddPropertyTypeGroupColumns(IMigrationContext context) : base(context) { } ...
using System.Linq; using Umbraco.Core.Persistence.Dtos; namespace Umbraco.Core.Migrations.Upgrade.V_8_16_0 { public class AddPropertyTypeGroupColumns : MigrationBase { public AddPropertyTypeGroupColumns(IMigrationContext context) : base(context) { } public override void Mi...
mit
C#
bc3979fc91ee37f563337e478d74bed34a3bebd4
Change page size in TagController-list
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs
AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs
using AstroPhotoGallery.Extensions; using AstroPhotoGallery.Models; using PagedList; using System.Data.Entity; using System.Linq; using System.Web.Mvc; namespace AstroPhotoGallery.Controllers { public class TagController : Controller { // // GET: Tag/List/id public ActionResult List(in...
using AstroPhotoGallery.Extensions; using AstroPhotoGallery.Models; using PagedList; using System.Data.Entity; using System.Linq; using System.Web.Mvc; namespace AstroPhotoGallery.Controllers { public class TagController : Controller { // // GET: Tag/List/id public ActionResult List(in...
mit
C#
664c3c1d549e5e3b606b8f318f29e3425ab28ce3
remove unused stuff in brawlerbar
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Controls/ClassBars/BrawlerBar.xaml.cs
TCC.Core/Controls/ClassBars/BrawlerBar.xaml.cs
using System; using System.ComponentModel; using System.Windows; using System.Windows.Media.Animation; using TCC.ViewModels; namespace TCC.Controls.ClassBars { /// <summary> /// Logica di interazione per BrawlerBar.xaml /// </summary> public partial class BrawlerBar { public BrawlerBar() ...
using System; using System.ComponentModel; using System.Windows; using System.Windows.Media.Animation; using TCC.Data; using TCC.ViewModels; namespace TCC.Controls.ClassBars { /// <summary> /// Logica di interazione per BrawlerBar.xaml /// </summary> public partial class BrawlerBar { publi...
mit
C#
b2931f22c3004df536c4d4738d2452e5b3a78a38
Remove Drawn callback and preserve selected color
Gankov/gtk-sharp,openmedicus/gtk-sharp,openmedicus/gtk-sharp,akrisiun/gtk-sharp,orion75/gtk-sharp,sillsdev/gtk-sharp,antoniusriha/gtk-sharp,Gankov/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,akrisiun/gtk-sharp,antoniusriha/gtk-sharp,antoniusriha/gtk-sharp,sillsdev/gtk-sharp,orion75/gtk-sharp,Gankov/gtk-sharp,Gankov/g...
sample/GtkDemo/DemoColorSelection.cs
sample/GtkDemo/DemoColorSelection.cs
/* Color Selector * * GtkColorSelection lets the user choose a color. GtkColorSelectionDialog is * a prebuilt dialog containing a GtkColorSelection. * */ using System; using Gdk; using Gtk; namespace GtkDemo { [Demo ("Color Selection", "DemoColorSelection.cs")] public class DemoColorSelection : Gtk.Window { ...
/* Color Selector * * GtkColorSelection lets the user choose a color. GtkColorSelectionDialog is * a prebuilt dialog containing a GtkColorSelection. * */ using System; using Gdk; using Gtk; namespace GtkDemo { [Demo ("Color Selection", "DemoColorSelection.cs")] public class DemoColorSelection : Gtk.Window { ...
lgpl-2.1
C#
88acd4b4e27addd3e2290c1097ab9ea2e7a81767
Fix build with XamMac older than 3.4
TheBrainTech/xwt,mono/xwt,hwthomas/xwt,antmicro/xwt,cra0zy/xwt,hamekoz/xwt,lytico/xwt
Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
// // NSApplicationInitializer.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
// // NSApplicationInitializer.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
mit
C#
754a013d622483070d3a61bbd4a49e43efcf5b5e
change namespace of ActionDelegate.cs
fmarrabal/Caliburn.Micro,dvdvorle/Caliburn.Micro,mwpowellhtx/Caliburn.Micro,vgrigoriu/Caliburn.Micro,bitbonk/Caliburn.Micro,dvdvorle/Caliburn.Micro,ryanJohn33/CMicro,thewindev/Caliburn.Micro,huoxudong125/Caliburn.Micro,ehigh2014/Caliburn.Micro,Caliburn-Micro/Caliburn.Micro,suvjunmd/Caliburn.Micro,BrunoJuchli/Caliburn.M...
src/Caliburn.Micro.WP71/ActionDelegate.cs
src/Caliburn.Micro.WP71/ActionDelegate.cs
namespace Caliburn.Micro { /// <summary> /// Encapsulates a method that has five type parameters and does not return a value. /// </summary> /// <typeparam name="T1">The first type parameter.</typeparam> /// <typeparam name="T2">The second type parameter.</typeparam> /// <typeparam name="...
namespace System { /// <summary> /// Encapsulates a method that has five type parameters and does not return a value. /// </summary> /// <typeparam name="T1">The first type parameter.</typeparam> /// <typeparam name="T2">The second type parameter.</typeparam> /// <typeparam name="T3">The ...
mit
C#
56e4c6ac5c08d17664b099b90b030f5355220131
Test clicking CheckBox.
toroso/ruibarbo
tungsten.sampletest/CheckBoxTest.cs
tungsten.sampletest/CheckBoxTest.cs
using NUnit.Framework; using tungsten.core.Elements; using tungsten.core.Search; using tungsten.nunit; namespace tungsten.sampletest { public class CheckBoxTest : TestBase { [Test] public void Hupp() { var window = Desktop.FindFirstElement<WpfWindow>(By.Name("Wn...
using NUnit.Framework; using tungsten.core.Elements; using tungsten.core.Search; using tungsten.nunit; namespace tungsten.sampletest { public class CheckBoxTest : TestBase { [Test] public void Hupp() { var window = Desktop.FindFirstElement<WpfWindow>(By.Name("Wn...
apache-2.0
C#
0d1a2a869b8d00e9ddb1eb8f7ce98e261dc1becd
Add a new route to sample app that display OS and .NET versions (#41901)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Http/samples/MinimalSample/Program.cs
src/Http/samples/MinimalSample/Program.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.HttpResults; using Microsoft.AspNetCore.Mvc; var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); if (app.Environment.IsDev...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.HttpResults; using Microsoft.AspNetCore.Mvc; var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); if (app.Environment.IsDev...
apache-2.0
C#
9b7897785d500af6ad0489531318ecb40a65e3a3
fix parallelCoinView
Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Derrick-/StratisBitcoinFullNode,quantumagi/StratisB...
Stratis.Bitcoin.FullNode/Consensus/CoinViews/ParallelCoinView.cs
Stratis.Bitcoin.FullNode/Consensus/CoinViews/ParallelCoinView.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NBitcoin; namespace Stratis.Bitcoin.FullNode.Consensus { public class ParallelCoinView : CoinView, IBackedCoinView { CoinView _Inner; public ParallelCoinView(TaskScheduler taskScheduler, Coi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NBitcoin; namespace Stratis.Bitcoin.FullNode.Consensus { public class ParallelCoinView : CoinView, IBackedCoinView { CoinView _Inner; public ParallelCoinView(TaskScheduler taskScheduler, Coi...
mit
C#
ad344a2e7b0a29522db462e299985aa9e6ca67e3
add method to service
Iwuh/Wycademy
WycademyV2/src/WycademyV2/Commands/Services/WeaponInfoService.cs
WycademyV2/src/WycademyV2/Commands/Services/WeaponInfoService.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using WycademyV2.Commands.Entities; namespace WycademyV2.Commands.Services { public class WeaponInfoService { private readonly string[] FILENAMES ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using WycademyV2.Commands.Entities; namespace WycademyV2.Commands.Services { public class WeaponInfoService { private readonly string[] FILENAMES ...
mit
C#
ad6b637aca2fe6ad9758f943ea450f4970a777c8
Use await instead of hand-written continuation.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
src/MySqlConnector/ValueTaskExtensions.cs
src/MySqlConnector/ValueTaskExtensions.cs
using System; using System.Threading.Tasks; namespace MySql.Data { internal static class ValueTaskExtensions { public static async ValueTask<TResult> ContinueWith<T, TResult>(this ValueTask<T> valueTask, Func<T, ValueTask<TResult>> continuation) => await continuation(await valueTask); public static ValueTask<T>...
using System; using System.Threading.Tasks; namespace MySql.Data { internal static class ValueTaskExtensions { public static ValueTask<TResult> ContinueWith<T, TResult>(this ValueTask<T> valueTask, Func<T, ValueTask<TResult>> continuation) { return valueTask.IsCompleted ? continuation(valueTask.Result) : ...
mit
C#
39b04a27072ffb458f5e9df9c6381fe4ea5535b9
Write some tests for GenerateFromFile
rzhw/Squirrel.Windows,rzhw/Squirrel.Windows
src/NSync.Tests/Core/ReleaseEntryTests.cs
src/NSync.Tests/Core/ReleaseEntryTests.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using NSync.Core; using NSync.Tests.TestHelpers; using Xunit; using Xunit.Extensions; namespace NSync.Tests.Core { public class ReleaseEntryTests { [Theory] [InlineData("94689fede03fed7ab59c2...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NSync.Core; using Xunit; using Xunit.Extensions; namespace NSync.Tests.Core { public class ReleaseEntryTests { [Theory] [InlineData("94689fede03fed7ab59c24337673a27837f0c3ec MyCoolApp-1.0.nupkg 100450...
mit
C#
b3eccba6225ff54eaa58c19245d4f38595dc9c56
Update GoogleAnalyticsPlatform.cs
KSemenenko/Google-Analytics-for-Xamarin-Forms,KSemenenko/GoogleAnalyticsForXamarinForms
Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.UWP/GoogleAnalyticsPlatform.cs
Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.UWP/GoogleAnalyticsPlatform.cs
using System.Threading.Tasks; using Windows.UI.Xaml; namespace Plugin.GoogleAnalytics { public partial class GoogleAnalytics { static GoogleAnalytics() { Application.Current.UnhandledException += CurrentDomain_UnhandledException; } private static void CurrentDomain_...
using System.Threading.Tasks; using Windows.UI.Xaml; namespace Plugin.GoogleAnalytics { public partial class GoogleAnalytics { static GoogleAnalytics() { Application.Current.UnhandledException += CurrentDomain_UnhandledException; } private static void CurrentDomain_...
mit
C#
951ea89ddbe0d9ff04ca4a8dd09c40a838156b2d
Make MSBuild happy by adding attributes back to AssemblyInfo.cs.
Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio
DspAdpcm/DspAdpcm/Properties/AssemblyInfo.cs
DspAdpcm/DspAdpcm/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyTitle("DspAdpcm")] [assembly: AssemblyDescription("A library for encoding, decoding, and manipulating audio files using Nintendo's DSP-ADPCM format.")] [assembly: AssemblyCopyright("Copyright © 2016 Alex Barney")] [assembly: AssemblyVersion("1.0.0.0"...
using System.Reflection; using System.Resources; [assembly: AssemblyProduct("DspAdpcm")] [assembly: NeutralResourcesLanguage("en-US")]
mit
C#
06bbaad5a6c249d827f5047d80b136d3a330e0e5
Bump version for release
evem8/clilauncher,Icy0ne/clilauncher
EVEm8.CliLauncher/Properties/AssemblyInfo.cs
EVEm8.CliLauncher/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("EV...
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("EV...
mit
C#
c6275650696dd6c6da1e756d3599dd6f8c1d021f
Fix missing plot in claims
leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Views/Plot/ShowElementPartial.cshtml
Joinrpg/Views/Plot/ShowElementPartial.cshtml
@using JoinRpg.Web.App_Code @using JoinRpg.Web.Models.Plot @model PlotElementViewModel @if (!Model.Visible) { return; } @{ var hideClass = Model.Status == PlotStatus.InWork ? "world-object-hidden" : ""; } @if (Model.HasEditAccess) { <div> @Html.DisplayFor(model => model.Status) @Html.ActionLink(...
@using JoinRpg.Web.App_Code @using JoinRpg.Web.Models.Plot @model PlotElementViewModel @if (!Model.Visible) { return; } @{ var hideClass = Model.Status == PlotStatus.InWork ? "world-object-hidden" : ""; } @if (Model.HasEditAccess) { <div> @Html.DisplayFor(model => model.Status) @Html.ActionLink(...
mit
C#
16cadc6f30a27418d32537d26e86df47ee506991
fix force start
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LmpClient/Extensions/OrbitDriverExtension.cs
LmpClient/Extensions/OrbitDriverExtension.cs
using Harmony; using System.Reflection; namespace LmpClient.Extensions { public static class OrbitDriverExtension { private static readonly FieldInfo OrbitDriverReady = typeof(OrbitDriver).GetField("ready", AccessTools.all); private static readonly MethodInfo OrbitDriverStart = typeof(OrbitDr...
using Harmony; using System.Reflection; namespace LmpClient.Extensions { public static class OrbitDriverExtension { private static readonly FieldInfo OrbitDriverReady = typeof(OrbitDriver).GetField("ready", AccessTools.all); private static readonly MethodInfo OrbitDriverStart = typeof(OrbitDr...
mit
C#
d593aa2a96c90940d2b6a23d1dff737d02841306
Add message
DimitarSD/Teamwork-Elderberry,DimitarSD/ElderberryTeam
LevelMoney/LevelMoneyUI/GUI/MoneyManager/MoneyManagerForms/ClassLibrary/GlobalMessages.cs
LevelMoney/LevelMoneyUI/GUI/MoneyManager/MoneyManagerForms/ClassLibrary/GlobalMessages.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TeamElderberryProject { public static class GlobalMessages { public const string NonNegativeInput = "Amount cannot be negative number!"; public const string ObjectCanno...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TeamElderberryProject { public class GlobalMessages { public const string NonNegativeInput = "Amount cannot be negative number!"; public const string ObjectCannotBeNull...
mit
C#
82c64ac1da58b61279f1455ca56331499eac6c03
fix download
mohamed-abdo/reactive-export-large-data-as-stream,mohamed-abdo/reactive-export-large-data-as-stream
reactive-download/Views/Home/Index.cshtml
reactive-download/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <p>Download large file contents (hundrads of thousands of records)....</p> <br /> <form role="form" id="frm-merchantId" method="get" action="@Url.Action("DownloadReportData","Download")"> <div class="form-group"> <labe...
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <p>Download large file contents (hundrads of thousands of records)....</p> <br /> <form role="form" id="frm-merchantId" method="get" action="@Url.Action("ReactiveDownloadReport","Download")"> <div class="form-group"> ...
apache-2.0
C#
fe63abfceca28f739e39dba66ecc46324f319c96
remove unused class
bordoley/SQLitePCL.pretty,matrostik/SQLitePCL.pretty
SQLitePCL.pretty/DatabaseConnection.Index.cs
SQLitePCL.pretty/DatabaseConnection.Index.cs
using System; using System.Collections.Generic; namespace SQLitePCL.pretty { public static partial class DatabaseConnection { /// <summary> /// Rebuilds all indexes in all attached databases. /// </summary> /// <param name="This">The database connection.</param> /// ...
using System; using System.Collections.Generic; namespace SQLitePCL.pretty { public sealed class IndexedColumn { public enum SortOrder { Ascending, Descending } private readonly string name; private readonly string collation; private rea...
apache-2.0
C#
bb645d3456f1b1cab84116e481b78364c7790aa5
Update AssemblyInfo.cs
MisinformedDNA/SmartyStreets.Net
SmartyStreets.Net/Properties/AssemblyInfo.cs
SmartyStreets.Net/Properties/AssemblyInfo.cs
using System.Reflection; 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("SmartyStreets.Net Client Library")] [asse...
using System.Reflection; 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("SmartyStreets.Net")] [assembly: AssemblyD...
mit
C#
91946b1e45dbf44f2b6d74cfdbfd21bdb0350314
Change loglevel to debug
nopara73/DotNetTor
src/DotNetTor.Tests/SharedFixture.cs
src/DotNetTor.Tests/SharedFixture.cs
using DotNetEssentials.Logging; using DotNetTor.Exceptions; using System; using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Text; using System.Threading.Tasks; namespace DotNetTor.Tests { public class SharedFixture : IDisposable { public string HostAddress { get; set; } ...
using DotNetEssentials.Logging; using DotNetTor.Exceptions; using System; using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Text; using System.Threading.Tasks; namespace DotNetTor.Tests { public class SharedFixture : IDisposable { public string HostAddress { get; set; } ...
mit
C#
0e11c6d1241db1dd679a4ee643f919780f93c006
upgrade enode version
tangxuehua/enode,Aaron-Liu/enode
src/ENode/Properties/AssemblyInfo.cs
src/ENode/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("EN...
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("EN...
mit
C#
1a3f34de9bf089c1ad55c118a9774da96874e174
Set version to 0.1.
joeyespo/google-apps-client
GoogleAppsClient/Properties/AssemblyInfo.cs
GoogleAppsClient/Properties/AssemblyInfo.cs
using System.Reflection; 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("GoogleAppsClient")] [assembly: AssemblyDe...
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("Go...
mit
C#
ff0577df5fe7d47e57df06ce63f5225ad2cf0392
Update "Book"
DRFP/Personal-Library
_Build/PersonalLibrary/Library/Model/Book.cs
_Build/PersonalLibrary/Library/Model/Book.cs
using SQLite; using System; namespace Library.Model { [Table("Books")] public class Book { [PrimaryKey, AutoIncrement] public int booID { get; set; } public int slfID { get; set; } public string booTitle { get; set; } public string booDescription { get; set; } p...
using SQLite; using System; namespace Library.Model { [Table("Books")] public class Book { [PrimaryKey, AutoIncrement] public int booID { get; set; } public int slfID { get; set; } public string booTitle { get; set; } public string booDescription { get; set; } p...
mit
C#
f2fb1cb948d0f7e139d25cc43e8d1ce42ee5514c
Extend StdIOService to take a working directory.
DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS
DartVS.Common/StdIOService.cs
DartVS.Common/StdIOService.cs
using System; using System.Diagnostics; using System.Text; namespace DartVS { /// <summary> /// Wraps a process for two-way communication over STDIN/STDOUT. /// </summary> public class StdIOService : IDisposable { readonly Process process; /// <summary> /// Launches the provided process with the provided ...
using System; using System.Diagnostics; using System.Text; namespace DartVS { /// <summary> /// Wraps a process for two-way communication over STDIN/STDOUT. /// </summary> public class StdIOService : IDisposable { readonly Process process; /// <summary> /// Launches the provided process with the provided ...
mit
C#
271b9c8f61f2fe92a7dcd4614d7d4f569ae53e81
bump version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/Properties/AssemblyInfo.cs
using System.Reflection; 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("RAML.Parser")] [assembly: AssemblyDescri...
using System.Reflection; 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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
39f0d146568da708c6ef47f050fbe5166452d7db
fix version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/Properties/AssemblyInfo.cs
using System.Reflection; 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("RAML.Parser")] [assembly: AssemblyDescri...
using System.Reflection; 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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
8cadf035c9bdd46e925fd886e00d6604a6135f98
Fix custom color chooser requiring "#" prefix
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/HexColorChooser.xaml.cs
SteamAccountSwitcher/HexColorChooser.xaml.cs
#region using System.ComponentModel; using System.Windows; using System.Windows.Media; #endregion namespace SteamAccountSwitcher { /// <summary> /// Interaction logic for HexColorChooser.xaml /// </summary> public partial class HexColorChooser : Window { public Brush Color; ...
#region using System.ComponentModel; using System.Windows; using System.Windows.Media; #endregion namespace SteamAccountSwitcher { /// <summary> /// Interaction logic for HexColorChooser.xaml /// </summary> public partial class HexColorChooser : Window { public Brush Color; ...
mit
C#
8f86ed2a982b77a0bc2f63de4976e5afa9723ce8
Update JsonDeserializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/JsonDeserializer.cs
TIKSN.Core/Serialization/JsonDeserializer.cs
using Newtonsoft.Json; namespace TIKSN.Serialization { public class JsonDeserializer : DeserializerBase<string> { protected override T DeserializeInternal<T>(string serial) { return JsonConvert.DeserializeObject<T>(serial); } } }
using Newtonsoft.Json; using TIKSN.Analytics.Telemetry; namespace TIKSN.Serialization { public class JsonDeserializer : DeserializerBase<string> { public JsonDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter) { } protected override T DeserializeInte...
mit
C#
69f17921bd0ef0e1549469173ab5e3d3631f138d
add assert helper for job project
mzrimsek/resume-site-api
Test.Integration/TestHelpers/AssertHelper.cs
Test.Integration/TestHelpers/AssertHelper.cs
using Web.Models.JobModels; using Web.Models.JobProjectModels; using Web.Models.SchoolModels; namespace Test.Integration.TestHelpers { public static class AssertHelper { public static bool AreJobViewModelsEqual(AddUpdateJobViewModel expected, JobViewModel actual) { return expected.N...
using Web.Models.JobModels; using Web.Models.SchoolModels; namespace Test.Integration.TestHelpers { public static class AssertHelper { public static bool AreJobViewModelsEqual(AddUpdateJobViewModel expected, JobViewModel actual) { return expected.Name == actual.Name ...
mit
C#
c7116ab69ebf41e20a11fe8ea9f124dbbfa3a52b
fix xunit
Fody/Scalpel
Fody/Removers/XUnitRemover.cs
Fody/Removers/XUnitRemover.cs
using System.Collections.Generic; using System.Linq; using Mono.Cecil; class XUnitRemover : IRemover { public IEnumerable<string> GetReferenceNames() { yield return "xunit"; yield return "xunit.core"; yield return "xunit2"; } public IEnumerable<string> GetModuleAttributeNames...
using System.Collections.Generic; using System.Linq; using Mono.Cecil; class XUnitRemover : IRemover { public IEnumerable<string> GetReferenceNames() { yield return "xunit"; yield return "xunit2"; } public IEnumerable<string> GetModuleAttributeNames() { yield break; }...
mit
C#
9d49ef1d979fdff0ed7876b1562ea14f4a7e338c
Implement AccessTokenConfiguration#SetAccessToken
appharbor/appharbor-cli
src/AppHarbor/AccessTokenConfiguration.cs
src/AppHarbor/AccessTokenConfiguration.cs
using System; namespace AppHarbor { public class AccessTokenConfiguration : IAccessTokenConfiguration { private const string TokenEnvironmentVariable = "AppHarborToken"; private const EnvironmentVariableTarget TokenEnvironmentVariableTarget = EnvironmentVariableTarget.User; public virtual void DeleteAccessTo...
using System; namespace AppHarbor { public class AccessTokenConfiguration : IAccessTokenConfiguration { private const string TokenEnvironmentVariable = "AppHarborToken"; private const EnvironmentVariableTarget TokenEnvironmentVariableTarget = EnvironmentVariableTarget.User; public virtual void DeleteAccessTo...
mit
C#
13cbb8ce30187de2b41661889ab529acb3f283f5
work in progress
ghuntley/starter-mobile,ghuntley/starter-mobile,ghuntley/starter-mobile
src/StarterMobile.Core/AppMetrics.cs
src/StarterMobile.Core/AppMetrics.cs
using System; namespace StarterMobile.Core { /// <summary> /// All metrics are prefixed with a namespace which is used to denote which /// platform the application the application is running on: /// /// <platform>.<applicationname> /// /// Nouns are used to define the target and past tens...
using System; namespace StarterMobile.Core { /// <summary> /// All metrics are prefixed with a namespace which is used to denote which /// platform the application the application is running on: /// /// <platform>.<applicationname> /// /// Nouns are used to define the target and past tens...
mit
C#
0c61b9ede2121461fc34fbaa451568f3da92e185
update version number
mono/tao,OpenRA/tao,mono/tao,OpenRA/tao
src/Tao.OpenGl/Properties/AssemblyInfo.cs
src/Tao.OpenGl/Properties/AssemblyInfo.cs
#region License /* MIT License Copyright 2003-2006 Tao Framework Team http://www.taoframework.com All rights 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, includin...
#region License /* MIT License Copyright 2003-2006 Tao Framework Team http://www.taoframework.com All rights 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, includin...
mit
C#
7428c8018984f67ad64f8050ec65ee7767ecb846
Use generic overload for Enum.GetValues
json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core
src/JsonApiDotNetCore/Controllers/Annotations/DisableQueryStringAttribute.cs
src/JsonApiDotNetCore/Controllers/Annotations/DisableQueryStringAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JsonApiDotNetCore.QueryStrings; namespace JsonApiDotNetCore.Controllers.Annotations { /// <summary> /// Used on an ASP.NET Core controller class to indicate which query string parameters are blocked. /// <...
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JsonApiDotNetCore.QueryStrings; namespace JsonApiDotNetCore.Controllers.Annotations { /// <summary> /// Used on an ASP.NET Core controller class to indicate which query string parameters are blocked. /// <...
mit
C#
9c83e3cd3abae45a0f7e6ce3dfaf5107fe2f4a37
Update FaceToCamera.cs
insthync/unity-utilities
UnityUtilities/Scripts/Misc/FaceToCamera.cs
UnityUtilities/Scripts/Misc/FaceToCamera.cs
using UnityEngine; public class FaceToCamera : MonoBehaviour { public Camera targetCamera; void FixedUpdate() { Camera camera = targetCamera; if (camera == null) camera = Camera.main; transform.forward = camera.transform.forward; } }
using UnityEngine; public class FaceToCamera : MonoBehaviour { void FixedUpdate() { transform.forward = Camera.main.transform.forward; } }
mit
C#
b79fc0e0267022fc1b70973e3a0473f3044ee61a
Reformat the file to match C# code style.
versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla
VersionOne.ServerConnector/EntityFactory.cs
VersionOne.ServerConnector/EntityFactory.cs
using System; using System.Collections.Generic; using System.Linq; using VersionOne.SDK.APIClient; namespace VersionOne.ServerConnector { // TODO extract interface and inject into VersionOneProcessor internal class EntityFactory { private readonly IServices services; private readonly IEnum...
using System; using System.Collections.Generic; using System.Linq; using VersionOne.SDK.APIClient; namespace VersionOne.ServerConnector { // TODO extract interface and inject into VersionOneProcessor internal class EntityFactory { private readonly IServices services; private readonly IEnumerab...
bsd-3-clause
C#
3065761ae341ad9e89123e0da833272d4ef4dd42
reorder members in android sample
builttoroam/BuildIt,builttoroam/BuildIt
src/BuildIt.ML/Samples/BuildIt.ML.Sample.Android/MainActivity.cs
src/BuildIt.ML/Samples/BuildIt.ML.Sample.Android/MainActivity.cs
using Android.App; using Android.Content.PM; using Android.OS; using BuildIt.ML.Sample.UI; using Plugin.CurrentActivity; using Plugin.Permissions; namespace BuildIt.ML.Sample.Droid { [Activity(Label = "BuildIt.ML.Sample", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges...
using Android.App; using Android.Content.PM; using Android.OS; using BuildIt.ML.Sample.UI; using Plugin.CurrentActivity; using Plugin.Permissions; namespace BuildIt.ML.Sample.Droid { [Activity(Label = "BuildIt.ML.Sample", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges...
mit
C#
3e26473ca0683e8d94457b0bbc004fe4eddc9fdc
Define some array helpers
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
stdlib/corlib/Array.cs
stdlib/corlib/Array.cs
#importMacros(LeMP.CSharp6); namespace System { // TODO: tweak the compiler to make all arrays implement 'System.Array'. public abstract class Array : Object { public static void Clear(byte[] array, int index, int length) { Clear<byte>(array, index, length); } p...
namespace System { // TODO: tweak the compiler to make all arrays implement 'System.Array'. public abstract class Array : Object { public static void Clear(byte[] array, int index, int length) { for (int i = 0; i < length; i++) { array[index + i] = 0; ...
mit
C#
0b53249d5742404e7511d129ae55503ce8673c85
Make ImageSharpConfigurationOptions public
abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbr...
src/Umbraco.Web.Common/DependencyInjection/ImageSharpConfigurationOptions.cs
src/Umbraco.Web.Common/DependencyInjection/ImageSharpConfigurationOptions.cs
using Microsoft.Extensions.Options; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Web.Middleware; namespace Umbraco.Cms.Web.Common.DependencyInjection { /// <summary> /// Configures the ImageSharp middleware options to use the registered configuration. /// </summary> /// <seealso cref="Microso...
using Microsoft.Extensions.Options; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Web.Middleware; namespace Umbraco.Cms.Web.Common.DependencyInjection { /// <summary> /// Configures the ImageSharp middleware options to use the registered configuration. /// </summary> /// <seealso cref="Microso...
mit
C#
0b2eb48fb742da154f211bb407a7dcbc8ff70114
Remove Tuple<T1, T2> base class from Response
smarkets/IronSmarkets
IronSmarkets/Clients/Response.cs
IronSmarkets/Clients/Response.cs
// Copyright (c) 2011-2012 Smarkets Limited // // 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 limitation the rights to use, copy, // modify, merg...
// Copyright (c) 2011-2012 Smarkets Limited // // 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 limitation the rights to use, copy, // modify, merg...
mit
C#
27d358c88400fcc7e1f75e483da729a2d35d8fc1
add EOLs in the end of files
livarcocc/cli-1,johnbeisner/cli,blackdwarf/cli,harshjain2/cli,blackdwarf/cli,ravimeda/cli,blackdwarf/cli,EdwardBlair/cli,livarcocc/cli-1,EdwardBlair/cli,harshjain2/cli,svick/cli,svick/cli,Faizan2304/cli,Faizan2304/cli,johnbeisner/cli,Faizan2304/cli,johnbeisner/cli,dasMulli/cli,livarcocc/cli-1,ravimeda/cli,EdwardBlair/c...
test/Microsoft.DotNet.Tools.Tests.Utilities/NonWindowsOnlyTheoryAttribute.cs
test/Microsoft.DotNet.Tools.Tests.Utilities/NonWindowsOnlyTheoryAttribute.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.PlatformAbstractions; using Xunit; namespace Microsoft.DotNet.Tools.Test.Utilities { public class NonWindowsOnlyTheo...
// 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.PlatformAbstractions; using Xunit; namespace Microsoft.DotNet.Tools.Test.Utilities { public class NonWindowsOnlyTheo...
mit
C#
e039925416d8301537d1b1f424e5df0bac3ab124
Refactor `AtataContextTimeZoneTests`
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
test/Atata.Tests/AtataContextTimeZoneTests.cs
test/Atata.Tests/AtataContextTimeZoneTests.cs
using System; using System.Linq; using NUnit.Framework; namespace Atata.Tests { public class AtataContextTimeZoneTests : UITestFixtureBase { private readonly TimeZoneInfo _timeZone = TimeZoneInfo.FindSystemTimeZoneById("UTC-02"); private DateTime _nowInSetTimeZone; [SetUp] pu...
using System; using System.Linq; using NUnit.Framework; namespace Atata.Tests { public class AtataContextTimeZoneTests : UITestFixtureBase { private readonly TimeZoneInfo _timeZone = TimeZoneInfo.FindSystemTimeZoneById("UTC-02"); private DateTime _nowInSetTimeZone; [SetUp] pu...
apache-2.0
C#
0c464bec4677fdba76f6091455dcf1c92df5e14e
Tweak caret diagnostics example
jonathanvdc/Pixie,jonathanvdc/Pixie
Examples/CaretDiagnostics/Program.cs
Examples/CaretDiagnostics/Program.cs
using System; using System.Linq; using Pixie; using Pixie.Terminal; using Pixie.Markup; using Pixie.Code; using Pixie.Terminal.Render; namespace CaretDiagnostics { public static class Program { public static void Main(string[] args) { // First, acquire a terminal log. You should ac...
using System; using System.Linq; using Pixie; using Pixie.Terminal; using Pixie.Markup; using Pixie.Code; namespace CaretDiagnostics { public static class Program { public static void Main(string[] args) { // First, acquire a terminal log. You should acquire // a log on...
mit
C#
2e2a8591462b3e8634e34203ad30211701d503e3
Fix invalid logic when start server
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/LiteNetLibGameManager.cs
Scripts/LiteNetLibGameManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LiteNetLibHighLevel { [RequireComponent(typeof(LiteNetLibAssets))] public class LiteNetLibGameManager : LiteNetLibManager { private LiteNetLibAssets assets; public LiteNetLibAssets Assets { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LiteNetLibHighLevel { [RequireComponent(typeof(LiteNetLibAssets))] public class LiteNetLibGameManager : LiteNetLibManager { private LiteNetLibAssets assets; public LiteNetLibAssets Assets { ...
mit
C#
e9695af94f163243435335dd514f3bd50be37092
fix bug
OpenTl/OpenTl.Schema
src/OpenTl.Schema/SchemaInfo.cs
src/OpenTl.Schema/SchemaInfo.cs
namespace OpenTl.Schema { public static class SchemaInfo { public static int SchemaVersion { get; } = 76; } }
namespace OpenTl.Schema { public static class SchemaInfo { public static int SchemaVersion { get; } = 73; } }
mit
C#
5ae623fe77f7d1e3cc4e3de00bcef6834ac5c6f8
Update SessionLeaveAction.cs
StevenThuriot/Nova,StevenThuriot/Nova
Nova.Shell/Actions/Session/SessionLeaveAction.cs
Nova.Shell/Actions/Session/SessionLeaveAction.cs
#region License // // Copyright 2013 Steven Thuriot // // 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 2013 Steven Thuriot // // 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 applic...
mit
C#
7ccd3d5b5075ee08b5af727247ac25184f69ee9c
Make username password fields fit on Mac Chrome
yadyn/JabbR,borisyankov/JabbR,fuzeman/vox,LookLikeAPro/JabbR,fuzeman/vox,borisyankov/JabbR,LookLikeAPro/JabbR,18098924759/JabbR,CrankyTRex/JabbRMirror,lukehoban/JabbR,18098924759/JabbR,CrankyTRex/JabbRMirror,SonOfSam/JabbR,lukehoban/JabbR,timgranstrom/JabbR,ajayanandgit/JabbR,M-Zuber/JabbR,mzdv/JabbR,JabbR/JabbR,e10/Ja...
JabbR/Views/Account/_username.cshtml
JabbR/Views/Account/_username.cshtml
@using JabbR; <form class="form-horizontal" action="@Url.Content("~/account/login")" method="post"> @Html.ValidationSummary() <div class="control-group"> <div class="controls"> <div class="input-prepend"> <span class="add-on"><i class="icon-user"></i>...
@using JabbR; <form class="form-horizontal" action="@Url.Content("~/account/login")" method="post"> @Html.ValidationSummary() <div class="control-group"> <div class="controls"> <div class="input-prepend"> <span class="add-on"><i class="icon-user"></i>...
mit
C#
67626b723932f12b0031f236fa1e72280a57bbe4
Remove obsolete field.
Zoxive/libgit2sharp,PKRoma/libgit2sharp,red-gate/libgit2sharp,Zoxive/libgit2sharp,libgit2/libgit2sharp,red-gate/libgit2sharp
LibGit2Sharp/Core/GitCloneOptions.cs
LibGit2Sharp/Core/GitCloneOptions.cs
using System; using System.Runtime.InteropServices; namespace LibGit2Sharp.Core { internal enum GitCloneLocal { CloneLocalAuto, CloneLocal, CloneNoLocal, CloneLocalNoLinks } [StructLayout(LayoutKind.Sequential)] internal struct GitCloneOptions { public u...
using System; using System.Runtime.InteropServices; namespace LibGit2Sharp.Core { internal enum GitCloneLocal { CloneLocalAuto, CloneLocal, CloneNoLocal, CloneLocalNoLinks } [StructLayout(LayoutKind.Sequential)] internal struct GitCloneOptions { public u...
mit
C#
013b9079f356856c1f60d28525e716da5005d302
Update DictionaryExtensions.cs
REALTOBIZ/LiteDB,prepare/LiteDB,prepare/LiteDB,masterdidoo/LiteDB,Skysper/LiteDB,89sos98/LiteDB,89sos98/LiteDB,prepare/LiteDB,falahati/LiteDB,prepare/LiteDB,mbdavid/LiteDB,masterdidoo/LiteDB,guslubudus/LiteDB,kbdavis07/LiteDB,Xicy/LiteDB,RytisLT/LiteDB,falahati/LiteDB,tbdbj/LiteDB,RytisLT/LiteDB,icelty/LiteDB
LiteDB/Utils/DictionaryExtensions.cs
LiteDB/Utils/DictionaryExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; namespace LiteDB { internal static class DictionaryExtensions { public static ushort NextIndex<T>(this Dictionary<ushort, T> dict) { ushort next = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; namespace LiteDB { internal static class DictionaryExtensions { public static ushort NextIndex<T>(this Dictionary<ushort, T> dict) { ushort next = 0; ...
mit
C#
653726a40ae4ed0b54c32262dbc7bb86fd22c6ad
fix the SDK build for real this time. the missing macros weren't declared in the proper order last time.
ND-3500/platform_manifest,knone1/platform_manifest,xorware/android_build,xorware/android_build,xorware/android_build,RR-msm7x30/platform_manifest,hagar006/platform_manifest,pranav01/platform_manifest,xorware/android_build,see4ri/lolili,xorware/android_build,fallouttester/platform_manifest,Hybrid-Power/startsync
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 def:default_search_box() ?><?cs /def ?> <?cs def:default_left_nav() ?><?cs /def ?> <?cs # appears at th...
<?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...
mit
C#
5d2fe8733997295bbbecee0cdbc947440e305d06
Use empty hit windows for spinner ticks
NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new
osu.Game.Rulesets.Osu/Objects/SpinnerTick.cs
osu.Game.Rulesets.Osu/Objects/SpinnerTick.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.Game.Audio; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Osu.Judgements; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Osu.Object...
// 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.Game.Audio; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Osu.Judgements; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Osu.Object...
mit
C#
e7d04564545cb4fe87d04add0792d6d14c1284c6
Add SpinnerNoBlink to LegacySettings
peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu
osu.Game/Skinning/LegacySkinConfiguration.cs
osu.Game/Skinning/LegacySkinConfiguration.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.Game.Skinning { public class LegacySkinConfiguration : SkinConfiguration { public const decimal LATEST_VERSION = 2.7m; /// <summar...
// 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.Game.Skinning { public class LegacySkinConfiguration : SkinConfiguration { public const decimal LATEST_VERSION = 2.7m; /// <summar...
mit
C#
c0c8448f385483479f7e75a52255c10c7b7b9951
Fix TestGetPlaylistFormats after adding more extensions to the PlaylistReaderFactory
Zeugma440/atldotnet
ATL.test/FactoryTest.cs
ATL.test/FactoryTest.cs
using System; using ATL.AudioReaders; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Text; namespace ATL.test { [TestClass] public class FactoryTest { [TestMethod] public void TestGetPlaylistFormats() { StringBuilder filter = new StringBuilder(""); ...
using System; using ATL.AudioReaders; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Text; namespace ATL.test { [TestClass] public class FactoryTest { [TestMethod] public void TestGetPlaylistFormats() { StringBuilder filter = new StringBuilder(""); ...
mit
C#
62ba0fea885b1480c4640cae99313b42d1646ca3
Add comment
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
QueueDataGraphic/QueueDataGraphic/CSharpFiles/QueueDataGraphic.cs
QueueDataGraphic/QueueDataGraphic/CSharpFiles/QueueDataGraphic.cs
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * QueueDataGraphic.cs * * 本檔案用於佇列資料繪圖功能 * ******************************************************************** */ using System...
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * QueueDataGraphic.cs * * 本檔案用於佇列資料繪圖功能 * ******************************************************************** */ using System...
apache-2.0
C#
c9ace219da5b0bcff7af2be2acbebd2ab936ab0c
Update AutofacCompositionRootSetupBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/DependencyInjection/AutofacCompositionRootSetupBase.cs
TIKSN.Core/DependencyInjection/AutofacCompositionRootSetupBase.cs
using System; using System.Collections.Generic; using Autofac; using Autofac.Core; using Autofac.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using TIKSN.PowerShell; namespace TIKSN.DependencyInjection { public abstract class AutofacCompositionRootSetupBase : CompositionRootSetupBase ...
using System; using System.Collections.Generic; using Autofac; using Autofac.Core; using Autofac.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using TIKSN.PowerShell; namespace TIKSN.DependencyInjection { public abstract class AutofacCompositionRootSetupBase : CompositionRootSetupBase ...
mit
C#
6a0628b2c05e54da39e0a4cbe961fa9b7d0bc3fe
fix distributos view
jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro
Topppro.WebSite/Views/Distributor/DisplayTemplates/Country.cshtml
Topppro.WebSite/Views/Distributor/DisplayTemplates/Country.cshtml
@using Topppro.WebSite.Extensions @model Topppro.Entities.Country <div class="country-group"> <h2>@Model.Name</h2> <hr class="bg-green" /> <br /> @Html.DisplayFor(m => m.Distributors) <br /> </div>
@using Topppro.WebSite.Extensions @model Topppro.Entities.Country <div class="country-group"> <h2>@Model.Name</h2> <hr class="bg-green" /> <br /> @Html.DisplayFor(m => m.Distributor) <br /> </div>
mit
C#
98c7f6fb896089f2a59370bd7cf80e93b50dc04f
fix in Enemy Pathfinding
daltonbr/TopDownShooter
Assets/Scripts/Enemy.cs
Assets/Scripts/Enemy.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; [RequireComponent (typeof(NavMeshAgent))] public class Enemy : MonoBehaviour { NavMeshAgent pathfinder; Transform target; void Start () { pathfinder = GetComponent<NavMeshAgent>(); target = GameObject.FindGam...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; [RequireComponent (typeof(NavMeshAgent))] public class Enemy : MonoBehaviour { NavMeshAgent pathfinder; Transform target; void Start () { pathfinder = GetComponent<NavMeshAgent>(); target = GameObject.FindGam...
mit
C#
084bb9086c42e4ca6472768e2170d15ce1751a38
add ini tests
Pavuucek/ArachNGIN,Pavuucek/ArachNGIN
Tests/Files/Settings/IniTests.cs
Tests/Files/Settings/IniTests.cs
using ArachNGIN.Files.Settings; using Microsoft.VisualStudio.TestTools.UnitTesting; using Shouldly; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; namespace ArachNGIN.Tests.Files.Settings { [TestClass] public class IniTests { private Ini...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ArachNGIN.Tests.Files.Settings { [TestClass] public class IniTests { [TestMethod] public void WriteAndReadString() { } } }
mit
C#
6cefa61db2649152eca3a42704a57dbd130d1101
Add 'AssemblyVersion' property
whampson/bft-spec,whampson/cascara
Cascara/AssemblyInfo.cs
Cascara/AssemblyInfo.cs
#region License /* Copyright (c) 2017 Wes Hampson * * 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 limitation the rights * to use, copy, modify, ...
#region License /* Copyright (c) 2017 Wes Hampson * * 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 limitation the rights * to use, copy, modify, ...
mit
C#
7ee0eaaa29fd5f090f9d2a479f465c7ac644996e
update year
RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada
ScadaAdmin/ScadaAdmin/Properties/AssemblyInfo.cs
ScadaAdmin/ScadaAdmin/Properties/AssemblyInfo.cs
using System.Reflection; 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("SCADA-Administrator")] [assembly: Assembl...
using System.Reflection; 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("SCADA-Administrator")] [assembly: Assembl...
apache-2.0
C#
af30275d6e61dfff6c3579d63218955f8104f760
Fix iOS cache folder path
CIR2000/Amica.vNext.SimpleCache
SimpleCache.iOS/SqliteObjectCache.cs
SimpleCache.iOS/SqliteObjectCache.cs
using System; using System.IO; using Amica.vNext; [assembly: Xamarin.Forms.Dependency(typeof(SqliteObjectCache))] namespace Amica.vNext { public class SqliteObjectCache : SqliteObjectCacheBase { protected override string GetDatabasePath() { const string sqliteFilename = "cache.db3...
using System; using System.IO; namespace Amica.vNext { public class SqliteObjectCache : SqliteObjectCacheBase { protected override string GetDatabasePath() { const string sqliteFilename = "cache.db3"; var cacheFolder = Path.Combine(ApplicationName, "SimpleCache"); ...
bsd-3-clause
C#
566c1bad51fcbdb81b6bf6bec578cf36f74e9ae3
Increase version number
majorsilence/AddCsClass
src/AddCsClass/Properties/AssemblyInfo.cs
src/AddCsClass/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("Ad...
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("Ad...
apache-2.0
C#
c1902565ea2a99abd9905834053e32828e761252
modify the route to display username and date
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Http/samples/MinimalSample/Program.cs
src/Http/samples/MinimalSample/Program.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.HttpResults; using Microsoft.AspNetCore.Mvc; var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); if (app.Environment.IsDev...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.HttpResults; using Microsoft.AspNetCore.Mvc; var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); if (app.Environment.IsDev...
apache-2.0
C#
fbaff9c2a12aeff3c3ff0f15b812ee2aa5a4b038
Add .NET Standard 2.0 assembly to ReferenceFinder (#22)
Fody/Janitor
Fody/ReferenceFinder.cs
Fody/ReferenceFinder.cs
using System.Collections.Generic; using System.Linq; using Mono.Cecil; public partial class ModuleWeaver { public void FindCoreReferences() { List<TypeDefinition> types = new List<TypeDefinition>(); AddAssemblyIfExists("mscorlib", types); AddAssemblyIfExists("System.Runtime", types); ...
using System.Collections.Generic; using System.Linq; using Mono.Cecil; public partial class ModuleWeaver { public void FindCoreReferences() { List<TypeDefinition> types = new List<TypeDefinition>(); AddAssemblyIfExists("mscorlib", types); AddAssemblyIfExists("System.Runtime", types); ...
mit
C#
9c7f2f0a8dcb0bad68c33ddb1348b064743618bf
Add API comments for Git Testing ;)
thedersen/UnityAutoMoq,thedersen/UnityAutoMoq,Henadz/UnityAutoMoq,Henadz/UnityAutoMoq,thedersen/UnityAutoMoq,azarkevich/UnityAutoMoq,azarkevich/UnityAutoMoq,azarkevich/UnityAutoMoq,Henadz/UnityAutoMoq
src/UnityAutoMoq/UnityAutoMoqExtension.cs
src/UnityAutoMoq/UnityAutoMoqExtension.cs
using Microsoft.Practices.Unity; using Microsoft.Practices.Unity.ObjectBuilder; namespace UnityAutoMoq { /// <summary> /// Provide extensions for Unity Auto Moq /// </summary> public class UnityAutoMoqExtension : UnityContainerExtension { private readonly UnityAutoMoqContainer aut...
using Microsoft.Practices.Unity; using Microsoft.Practices.Unity.ObjectBuilder; namespace UnityAutoMoq { public class UnityAutoMoqExtension : UnityContainerExtension { private readonly UnityAutoMoqContainer autoMoqContainer; public UnityAutoMoqExtension(UnityAutoMoqContainer autoMoqCo...
mit
C#