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
b543cc1feb20e985129756741985a555f798595a
Remove Obsolete attribute from undocumented members
mono/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp
src/DBus.cs
src/DBus.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using NDesk.DBus; //namespace org.freedesktop.DBus namespace org.freedesktop.DBus { /* //what's this for? public class DBusException : ApplicationException { } */ #if U...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using NDesk.DBus; //namespace org.freedesktop.DBus namespace org.freedesktop.DBus { /* //what's this for? public class DBusException : ApplicationException { } */ #if U...
mit
C#
f832b305afd11c63629edb01a0db67aac4733e73
Update AW-NF model to test #285
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksFunctionalModel/Production/Product_MenuFunctions.cs
Test/AdventureWorksFunctionalModel/Production/Product_MenuFunctions.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 requi...
// 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 requi...
apache-2.0
C#
88aab376849a1cf35360b258e6ec24c55262669c
Set SharedDownloader to Mock instance when creating SUT
milkshakesoftware/PreMailer.Net
PreMailer.Net/PreMailer.Net.Tests/LinkTagCssSourceTests.cs
PreMailer.Net/PreMailer.Net.Tests/LinkTagCssSourceTests.cs
using AngleSharp.Html.Parser; using Xunit; using Moq; using PreMailer.Net.Downloaders; using PreMailer.Net.Sources; using System; namespace PreMailer.Net.Tests { public class LinkTagCssSourceTests { private readonly Mock<IWebDownloader> _webDownloader = new Mock<IWebDownloader>(); [Fact] public void Implemen...
using AngleSharp.Html.Parser; using Xunit; using Moq; using PreMailer.Net.Downloaders; using PreMailer.Net.Sources; using System; namespace PreMailer.Net.Tests { public class LinkTagCssSourceTests { private readonly Mock<IWebDownloader> _webDownloader = new Mock<IWebDownloader>(); public LinkTagCssSourceTests(...
mit
C#
d7a55b087575f9412d04666f7870ec5d180a5a9a
Add command line parsing (for "Open With...")
nitroxis/bz2terraineditor
BZ2TerrainEditor/Program.cs
BZ2TerrainEditor/Program.cs
using System; using System.Windows.Forms; namespace BZ2TerrainEditor { /// <summary> /// Main class. /// </summary> public static class Program { private static int editorInstances; /// <summary> /// Gets or sets the number of editor instances. /// The application will exit when the number of instaces e...
using System; using System.Windows.Forms; namespace BZ2TerrainEditor { /// <summary> /// Main class. /// </summary> public static class Program { private static int editorInstances; /// <summary> /// Gets or sets the number of editor instances. /// The application will exit when the number of instaces e...
mit
C#
d44a9cf8ce95c2fea34600b1cb4bcf9c93ec4af8
Update to griddly 1.0.85
jehhynes/griddly,nickdevore/griddly,programcsharp/griddly,programcsharp/griddly,jehhynes/griddly,programcsharp/griddly,nickdevore/griddly
Build/CommonAssemblyInfo.cs
Build/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Ver...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Ver...
mit
C#
ba5f70228c2d412712fced35cd721e91741caf0c
Update SpaceFolder.cs
KerbaeAdAstra/KerbalFuture
KerbalFuture/SpaceFolder.cs
KerbalFuture/SpaceFolder.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KSP; namespace KerbalFuture { class SpaceFolderData : MonoBehavior { public static string path() { return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KSP; namespace KerbalFuture { class SpaceFolderData : MonoBehavior { public static string path() { return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca...
mit
C#
95f0ff94b474f08a90583255053b7857532259a0
Fix reset ball ui for local and multiplayer
Double-Fine-Game-Club/pongball
Assets/scripts/ui/ResetBallUI.cs
Assets/scripts/ui/ResetBallUI.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.Networking.NetworkSystem; public class ResetBallUI : NetworkBehaviour { // Message handle for the client id message private short RESPAWN_MESSAGE = 1003; void OnServerStart...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; public class ResetBallUI : NetworkBehaviour { private void OnGUI() { GUILayout.BeginArea(new Rect(Screen.width - 150, 10, 140, 40)); if (GUILayout.Button("Reset Ball Posi...
mit
C#
4ab797811bd286a824ac1166cbe85921a14940c3
Change still image capture parameters.
zhen08/PiDashcam,zhen08/PiDashcam
PiDashcam/PiDashcam/StillCam.cs
PiDashcam/PiDashcam/StillCam.cs
using System; using System.Timers; using Shell.Execute; namespace PiDashcam { public class StillCam { Timer timer; int imgcounter; public StillCam() { timer = new Timer(6000); timer.Elapsed += Timer_Elapsed; timer.Start(); imgcounter = 1; } public void Stop() { timer.Stop(); } vo...
using System; using System.Timers; using Shell.Execute; namespace PiDashcam { public class StillCam { Timer timer; int imgcounter; public StillCam() { timer = new Timer(10000); timer.Elapsed += Timer_Elapsed; timer.Start(); imgcounter = 1; } public void Stop() { timer.Stop(); } v...
mit
C#
4be9583f5497656532727361089ad2e0bd43b467
Remove unnecessary supressions.
GGG-KILLER/GUtils.NET
GUtils.CLI/GlobalSuppressions.cs
GUtils.CLI/GlobalSuppressions.cs
/* * Copyright © 2019 GGG KILLER <gggkiller2@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, modi...
/* * Copyright © 2019 GGG KILLER <gggkiller2@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, modi...
mit
C#
2e3aca1fbe3ea2714fae606ca49d87eeeb0bf835
Tweak tests to reflect new interface for log timing
mattgwagner/CertiPay.Common
CertiPay.Common.Tests/Logging/MetricLoggingExtensionsTests.cs
CertiPay.Common.Tests/Logging/MetricLoggingExtensionsTests.cs
using CertiPay.Common.Logging; using NUnit.Framework; using System; using System.Threading; namespace CertiPay.Common.Tests.Logging { public class MetricLoggingExtensionsTests { private static readonly ILog Log = LogManager.GetLogger<MetricLoggingExtensionsTests>(); [Test] public void...
using CertiPay.Common.Logging; using NUnit.Framework; using System; using System.Threading; namespace CertiPay.Common.Tests.Logging { public class MetricLoggingExtensionsTests { private static readonly ILog Log = LogManager.GetLogger<MetricLoggingExtensionsTests>(); [Test] public void...
mit
C#
7aea5832db354e0b41672d0f3146d06f9fe6ef18
Update CoreXamlReader.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
src/Core2D/Serializer/Xaml/CoreXamlReader.cs
src/Core2D/Serializer/Xaml/CoreXamlReader.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.IO; using System.Xml; using Portable.Xaml; namespace Core2D.Serializer.Xaml { internal static class CoreXamlReader { internal static ...
// 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 Portable.Xaml; using System.IO; using System.Xml; namespace Core2D.Serializer.Xaml { internal static class CoreXamlReader { internal static ...
mit
C#
57bddcf8b1c224850643d4f99a5f32c2767ab726
Add link
tlbdk/SQLServerCDCSync,tlbdk/SQLServerCDCSync
SQLServerCDCSync/Program.cs
SQLServerCDCSync/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLServerCDCSync { class Program { static void Main(string[] args) { // http://www.codeproject.com/Articles/547311/ProgrammaticallyplusCreateplusandplusDepl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLServerCDCSync { class Program { static void Main(string[] args) { string sourceconn = "user id=sa;password=Qwerty1234;server=localhost;Trusted_Connection...
mit
C#
54f0f58c96385128609bef6d25ea59453e5f8d83
send list of all users to newly registered one
pako1337/Arena,pako1337/Arena
Arena/Hubs/FightArenaHub.cs
Arena/Hubs/FightArenaHub.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR; using System.Collections.Concurrent; using System.Threading; namespace Arena.Hubs { public class FightArenaHub : Hub { private SpinLock _lock = new SpinLock(); private static Li...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR; using System.Collections.Concurrent; using System.Threading; namespace Arena.Hubs { public class FightArenaHub : Hub { private SpinLock _lock = new SpinLock(); private static Li...
mit
C#
e4dbe3f83616f9f98242366f3b0e894241c128d6
Set targetGameObject = null on ReturnToHive state exit as this target was overriding the target position when the boids switched back to exploring
kevindoyle93/GAI-LabTest-2
Assets/ReturnToHiveState.cs
Assets/ReturnToHiveState.cs
using UnityEngine; public class ReturnToHiveState : State { Arrive arrive; public ReturnToHiveState(GameObject gameObject) : base(gameObject) { this.gameObject = gameObject; } public override void Enter() { arrive = gameObject.GetComponent<Arrive>(); arrive.targetGame...
using UnityEngine; public class ReturnToHiveState : State { Arrive arrive; public ReturnToHiveState(GameObject gameObject) : base(gameObject) { this.gameObject = gameObject; } public override void Enter() { arrive = gameObject.GetComponent<Arrive>(); arrive.targetGame...
mit
C#
d212a844a38fcca956f9ed88cc2bf473c32f0cb5
Tidy up error handling in WriteExpression
csainty/Veil,csainty/Veil
Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteExpression.cs
Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteExpression.cs
using System.Reflection; namespace Veil.Compiler { internal partial class VeilTemplateCompiler { private static MethodInfo htmlEncodeMethod = typeof(Helpers).GetMethod("HtmlEncode"); private static void EmitWriteExpression<T>(VeilCompilerState<T> state, SyntaxTreeNode.WriteExpressionNode node...
namespace Veil.Compiler { internal partial class VeilTemplateCompiler { private static void EmitWriteExpression<T>(VeilCompilerState<T> state, SyntaxTreeNode.WriteExpressionNode node) { state.Emitter.LoadWriterToStack(); state.PushExpressionScopeOnStack(node.Expression);...
mit
C#
3cb5bdbf602f86381efd6394f4f295f947fa0567
bump version v2.53.1-2016.07.02
dzharii/swd-recorder,dzharii/swd-recorder,dzharii/swd-recorder
SwdPageRecorder/SwdPageRecorder.UI/Properties/AssemblyInfo.cs
SwdPageRecorder/SwdPageRecorder.UI/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("SW...
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("SW...
mit
C#
88d2658fca4a631008f576fd969b600bed82c6bc
Add short term caching to sandbox html response to avoid repeated download by the browser.
andrewdavey/witness,andrewdavey/witness,andrewdavey/witness
src/Witness/Controllers/SandboxController.cs
src/Witness/Controllers/SandboxController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Witness.Controllers { public class SandboxController : Controller { public ActionResult Index() { Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(1)...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Witness.Controllers { public class SandboxController : Controller { public ActionResult Index() { return View(); } } }
bsd-2-clause
C#
75b3a6b1e39af23c4f6a5657751a31ca29ad660b
fix visibility
PKRoma/refit
Refit/AuthenticatedParameterizedHttpClientHandler.cs
Refit/AuthenticatedParameterizedHttpClientHandler.cs
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; namespace Refit { class AuthenticatedParameterizedHttpClientHandler : DelegatingHandler { readonly Func<HttpRequestMessage, Task<string>> getToken; public AuthenticatedPar...
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; namespace Refit { public class AuthenticatedParameterizedHttpClientHandler : DelegatingHandler { readonly Func<HttpRequestMessage, Task<string>> getToken; public Authentic...
mit
C#
65d8e8c91c6cd33b2a81e833f03f4ba0f6e44e4d
Fix GCode regression, restore required base call
larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,larsbrubaker/M...
SlicerConfiguration/UIFields/MultilineStringField.cs
SlicerConfiguration/UIFields/MultilineStringField.cs
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
610d608c237b3fa0a41c2f795d257df5e2597140
Make the generic type self-documenting.
allansson/git-tfs,irontoby/git-tfs,bleissem/git-tfs,bleissem/git-tfs,steveandpeggyb/Public,modulexcite/git-tfs,guyboltonking/git-tfs,jeremy-sylvis-tmg/git-tfs,allansson/git-tfs,vzabavnov/git-tfs,codemerlin/git-tfs,NathanLBCooper/git-tfs,allansson/git-tfs,modulexcite/git-tfs,spraints/git-tfs,guyboltonking/git-tfs,codeme...
GitTfs/Core/TfsInterop/WrapperFor.cs
GitTfs/Core/TfsInterop/WrapperFor.cs
namespace Sep.Git.Tfs.Core.TfsInterop { public class WrapperFor<TFS_TYPE> { private readonly TFS_TYPE _wrapped; public WrapperFor(TFS_TYPE wrapped) { _wrapped = wrapped; } public TFS_TYPE Unwrap() { return _wrapped; } pu...
namespace Sep.Git.Tfs.Core.TfsInterop { public class WrapperFor<T> { private readonly T _wrapped; public WrapperFor(T wrapped) { _wrapped = wrapped; } public T Unwrap() { return _wrapped; } public static T Unwrap(object ...
apache-2.0
C#
e3ebc849c5a1be4005aba98568774c021292cbbe
Remove not removed comment
UselessToucan/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,DrabWeb/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,naoey/osu,ppy/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,naoey/osu,D...
osu.Game/Graphics/DrawableDate.cs
osu.Game/Graphics/DrawableDate.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Game.Graphics.Sprites; name...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Game.Graphics.Sprites; name...
mit
C#
5288b5cd7b60367cea012787c1e516c2feecb9be
Update tests.
cube-soft/Cube.Net,cube-soft/Cube.Net,cube-soft/Cube.Net
Tests/Rss/RssMonitorTest.cs
Tests/Rss/RssMonitorTest.cs
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // 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...
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // 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-2.0
C#
93072374a33914a840020ed18cf9d7b57c2b714f
Refactor `LogNUnitErrorOnCleanUpEventHandler`
atata-framework/atata,atata-framework/atata
src/Atata/EventHandlers/LogNUnitErrorOnCleanUpEventHandler.cs
src/Atata/EventHandlers/LogNUnitErrorOnCleanUpEventHandler.cs
namespace Atata { public class LogNUnitErrorOnCleanUpEventHandler : IEventHandler<AtataContextCleanUpEvent> { public void Handle(AtataContextCleanUpEvent eventData, AtataContext context) { dynamic testResult = NUnitAdapter.GetCurrentTestResultAdapter(); if (NUnitAdapter...
namespace Atata { public class LogNUnitErrorOnCleanUpEventHandler : IConditionalEventHandler<AtataContextCleanUpEvent> { public bool CanHandle(AtataContextCleanUpEvent eventData, AtataContext context) { dynamic testResult = NUnitAdapter.GetCurrentTestResultAdapter(); re...
apache-2.0
C#
e5a367b4ff411340e03ab210e0e78eb5d1363046
Handle icons not being located by Windows
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Pages/ConflictResolution/ConflictViewModel.cs
src/SyncTrayzor/Pages/ConflictResolution/ConflictViewModel.cs
using Stylet; using SyncTrayzor.Services.Conflicts; using System; using System.Linq; using Pri.LongPath; using SyncTrayzor.Utils; using System.Windows.Media.Imaging; using System.Windows.Media; using System.Windows.Interop; using System.Windows; namespace SyncTrayzor.Pages.ConflictResolution { public class Confli...
using Stylet; using SyncTrayzor.Services.Conflicts; using System; using System.Linq; using Pri.LongPath; using SyncTrayzor.Utils; using System.Windows.Media.Imaging; using System.Windows.Media; using System.Windows.Interop; using System.Windows; namespace SyncTrayzor.Pages.ConflictResolution { public class Confli...
mit
C#
86ed329886ff43a244b0cd1fbc1ee96322c1e5a6
Update Reprompt.cs
AreYouFreeBusy/AlexaSkillsKit.NET,dg-racing/AlexaSkillsKit.NET,dg-racing/AlexaSkillsKit.NET,AreYouFreeBusy/AlexaSkillsKit.NET,dg-racing/AlexaSkillsKit.NET,AreYouFreeBusy/AlexaSkillsKit.NET
AlexaSkillsKit.Lib/UI/Reprompt.cs
AlexaSkillsKit.Lib/UI/Reprompt.cs
// Copyright 2015 Stefan Negritoiu (FreeBusy). See LICENSE file for more information. using System; using System.Collections.Generic; namespace AlexaSkillsKit.UI { public class Reprompt { public OutputSpeech OutputSpeech { get; set; } } }
// Copyright 2015 Stefan Negritoiu (FreeBusy). See LICENSE file for more information. using System; using System.Collections.Generic; namespace AlexaSkillsKit.UI { public class Reprompt { public PlainTextOutputSpeech OutputSpeech { get; set; } } }
mit
C#
237cd48fffe065d6b9b2c4aed905e4da647574e8
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: November 12, 2020<br /><br /> In response to the emergency need for the analysis of wine for smoke taint, ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: September 30, 2020<br /><br /> In response to the emergency need for the analysis of wine for smoke taint, ...
mit
C#
b06cbbb78d06d577eba7d58c4e7bb2b3ce84dda3
format file
kevbite/CompaniesHouse.NET,LiberisLabs/CompaniesHouse.NET
src/LiberisLabs.CompaniesHouse.Tests/ResourceBuilders/FilingHistoryItem.cs
src/LiberisLabs.CompaniesHouse.Tests/ResourceBuilders/FilingHistoryItem.cs
using System; using System.Collections.Generic; namespace LiberisLabs.CompaniesHouse.Tests.ResourceBuilders { public class FilingHistoryItem { public string Category { get; set; } public string Subcategory { get; set; } public string TransactionId { get; set; } public string...
using System; using System.Collections.Generic; namespace LiberisLabs.CompaniesHouse.Tests.ResourceBuilders { public class FilingHistoryItem { public string Category { get; set; } public string Subcategory { get; set; } public string TransactionId { get; set; } public string...
mit
C#
bb1b49cc1c8fc21b7d1d6fac44d59b39dad46950
Fix PoliCheck violations.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.DataProtection/Repositories/EphemeralXmlRepository.cs
src/Microsoft.AspNet.DataProtection/Repositories/EphemeralXmlRepository.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Microsoft.Framework.Internal; using Mi...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Microsoft.Framework.Internal; using Mi...
apache-2.0
C#
721bf1ca24d7e84fd58d77185fb49339f3021b74
Update version.
Grabacr07/KanColleViewer
source/Grabacr07.KanColleViewer/Properties/AssemblyInfo.cs
source/Grabacr07.KanColleViewer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("提督業も忙しい!")] [assembly: AssemblyDescription("提督業も忙しい!")] [assembly: AssemblyCompany("grabacr.net")] [assembly: AssemblyProduct("KanColleViewer")] [assembly: AssemblyCopyright("Copyright © 2013 Grabacr0...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("提督業も忙しい!")] [assembly: AssemblyDescription("提督業も忙しい!")] [assembly: AssemblyCompany("grabacr.net")] [assembly: AssemblyProduct("KanColleViewer")] [assembly: AssemblyCopyright("Copyright © 2013 Grabacr0...
mit
C#
a8e00a9675e912a57bb494c028e5d48f10bd0d5b
Disable logging for shutdown of dotnet process by default
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/ShutdownDotNetBuildServerOnFinish.cs
source/Nuke.Common/CI/ShutdownDotNetBuildServerOnFinish.cs
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Execution; using Nuke.Common.Tools.DotNet; namespace Nuke.Common.CI { [PublicAPI] [AttributeUsa...
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Execution; using Nuke.Common.Tools.DotNet; namespace Nuke.Common.CI { [PublicAPI] [AttributeUsa...
mit
C#
698034f36b9820341eb8c43cebb7505190867198
remove redundant #if
xbehave/xbehave.net,mvalipour/xbehave.net,hitesh97/xbehave.net,adamralph/xbehave.net,modulexcite/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net,hitesh97/xbehave.net
src/Xbehave.2.Execution.desktop/ScenarioOutlineTestCase.cs
src/Xbehave.2.Execution.desktop/ScenarioOutlineTestCase.cs
// <copyright file="ScenarioOutlineTestCase.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Execution { using System; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; ...
// <copyright file="ScenarioOutlineTestCase.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Execution { using System; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; ...
mit
C#
65346441a82248c4189fc1415d0ea9d4cb8e7b25
clean up WD factory tests
rcasady616/Selenium.WeDriver.Equip,rcasady616/Selenium.WeDriver.Equip
Selenium.WebDriver.Equip.Tests/IWebDriverFactoryRemoteTests.cs
Selenium.WebDriver.Equip.Tests/IWebDriverFactoryRemoteTests.cs
using NUnit.Framework; using NUnit.Framework.Interfaces; using OpenQA.Selenium; using OpenQA.Selenium.Remote; using System; namespace Selenium.WebDriver.Equip.Tests { [TestFixture] public class IWebDriverFactoryRemoteTests { private IWebDriver _driver; [SetUp] public void SetupTest...
using NUnit.Framework; using NUnit.Framework.Interfaces; using OpenQA.Selenium; using OpenQA.Selenium.Remote; namespace Selenium.WebDriver.Equip.Tests { [TestFixture] public class IWebDriverFactoryRemoteTests { private IWebDriver _driver; [SetUp] public void SetupTest() { ...
mit
C#
ce7a7c7041096b65dcdbce8f7f7daf2978043c5d
change container.Register to container.Collection.Register
jbogard/MediatR
samples/MediatR.Examples.SimpleInjector/Program.cs
samples/MediatR.Examples.SimpleInjector/Program.cs
using System.IO; using System.Threading.Tasks; using MediatR.Pipeline; namespace MediatR.Examples.SimpleInjector { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using global::SimpleInjector; internal class Program { private static Task ...
using System.IO; using System.Threading.Tasks; using MediatR.Pipeline; namespace MediatR.Examples.SimpleInjector { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using global::SimpleInjector; internal class Program { private static Task ...
apache-2.0
C#
739a54a41b667aa5aa54f1135fb46ce7ee27944d
Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0.
autofac/Autofac.Extras.NHibernate
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
64dba8130e09cbb9444ad2940b6a683504e70991
Fix HtmlBlockPage namespaces.
janabimustafa/waslibs,pellea/waslibs,wasteam/waslibs,wasteam/waslibs,janabimustafa/waslibs,pellea/waslibs,janabimustafa/waslibs,wasteam/waslibs,pellea/waslibs
samples/AppStudio.Uwp.Samples/Pages/HtmlBlock/HtmlBlockSettings.xaml.cs
samples/AppStudio.Uwp.Samples/Pages/HtmlBlock/HtmlBlockSettings.xaml.cs
using Windows.UI.Xaml.Controls; namespace AppStudio.Uwp.Samples { sealed partial class HtmlBlockSettings : UserControl { public HtmlBlockSettings() { this.InitializeComponent(); } } }
using AppStudio.Uwp.Controls; using AppStudio.Uwp.Samples.Pages.HtmlBlock; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Wind...
mit
C#
64bf571fb3559bf2d471eda774d762e1da65d081
Update Genre Create View to use GenreCreateViewModel.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Views/Genres/Create.cshtml
src/Open-School-Library/Views/Genres/Create.cshtml
@model Open_School_Library.Models.GenreViewModels.GenreCreateViewModel @{ ViewData["Title"] = "Create"; } <h2>Create</h2> <form asp-action="Create"> <div class="form-horizontal"> <h4>Genre</h4> <hr /> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <div clas...
@model Open_School_Library.Models.DatabaseModels.Genre @{ ViewData["Title"] = "Create"; } <h2>Create</h2> <form asp-action="Create"> <div class="form-horizontal"> <h4>Genre</h4> <hr /> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <div class="form-group"> ...
mit
C#
900e37132abb26d87d51552cac4e3678dc1498af
Edit Homepage
stefanatoader/TeaSk,stefanatoader/TeaSk,stefanatoader/TeaSk
TeaSk.Web/Views/Home/Index.cshtml
TeaSk.Web/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home page"; } <div> <div class="jumbotron"> <h1>TeaSk</h1> <p class="lead"> TeaSk is a Corporate Training & Consulting site. Our unique approach that takes into account, your technology roadmap, knowledge goals and our unparalleled domain strength makes us your ...
@{ ViewBag.Title = "Home page"; } <div> <div class="jumbotron"> <h1>TeaSk</h1> <p class="lead"> TeaSk is a Corporate Training & Consulting site. Our unique approach that takes into account, your technology roadmap, knowledge goals and our unparalleled domain strength makes us your ...
mit
C#
059e1143f783a2948035f56165df0ab15a930a8c
Add tagging capability to Dinamico news page
nicklv/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,n2cms/n2cms,nimore/n2cms,DejanMilicic/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,nimore/n2cms,bussemac/n2cms,n2cms/n2cms,SntsDev/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,bussem...
src/Mvc/Dinamico/Dinamico/Themes/Default/Views/ContentPages/News.cshtml
src/Mvc/Dinamico/Dinamico/Themes/Default/Views/ContentPages/News.cshtml
@model Dinamico.Models.ContentPage @{ Content.Define(re => { re.Title = "News page"; re.IconUrl = "{IconsUrl}/newspaper.png"; re.DefaultValue("Visible", false); re.RestrictParents("Container"); re.Sort(N2.Definitions.SortBy.PublishedDescending); re.Tags("Tags"); }); } @Html.Partial("Lay...
@model Dinamico.Models.ContentPage @{ Content.Define(re => { re.Title = "News page"; re.IconUrl = "{IconsUrl}/newspaper.png"; re.DefaultValue("Visible", false); re.RestrictParents("Container"); re.Sort(N2.Definitions.SortBy.PublishedDescending); }); } @Html.Partial("LayoutPartials/BlogCont...
lgpl-2.1
C#
9e1ec70e2dbd79724f074a651c0bcca0bd27d9d6
Fix DreamDaemonLaunchParameters matching.
tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Api/Models/Internal/DreamDaemonLaunchParameters.cs
src/Tgstation.Server.Api/Models/Internal/DreamDaemonLaunchParameters.cs
using System; using System.ComponentModel.DataAnnotations; namespace Tgstation.Server.Api.Models.Internal { /// <summary> /// Launch settings for DreamDaemon /// </summary> public class DreamDaemonLaunchParameters { /// <summary> /// If the BYOND web client can be used to connect to the game server /// </s...
using System; using System.ComponentModel.DataAnnotations; namespace Tgstation.Server.Api.Models.Internal { /// <summary> /// Launch settings for DreamDaemon /// </summary> public class DreamDaemonLaunchParameters { /// <summary> /// If the BYOND web client can be used to connect to the game server /// </s...
agpl-3.0
C#
1da70343b1b50633dc888c1af5eb91260d36f169
添加框架版本实例!
Mozlite/Mozlite.Core,Mozlite/Mozlite.Core
src/Mozlite.Core/CoreInfo.cs
src/Mozlite.Core/CoreInfo.cs
using System; using System.Reflection; using System.Runtime.Versioning; using Microsoft.Extensions.PlatformAbstractions; namespace Mozlite { /// <summary> /// 核心信息。 /// </summary> public class CoreInfo { private CoreInfo() { Version = Assembly.GetEntryAssembly().GetName...
using System; using System.Reflection; namespace Mozlite { /// <summary> /// 核心信息。 /// </summary> public class CoreInfo { private CoreInfo() { Version = Assembly.GetEntryAssembly().GetName().Version; } /// <summary> /// 获取环境变量。 /// </sum...
bsd-2-clause
C#
a93fb305664b16cedaca11a91a50c1dbadaa259a
Test list insert, remove in stdlib-list test
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
tests/stdlib-list/stdlib-list.cs
tests/stdlib-list/stdlib-list.cs
using System; using System.Collections.Generic; public static class Program { public static void Main() { var list = new List<int>(); list.Add(10); list.Add(42); list.Insert(0, 90); list.Remove(90); Console.Write(list[0]); for (int i = 1; i < list.Count; ...
using System; using System.Collections.Generic; public static class Program { public static void Main() { var list = new List<int>(); list.Add(10); list.Add(42); Console.Write(list[0]); for (int i = 1; i < list.Count; i++) { Console.Write(' '); ...
mit
C#
fbbec50a34e54968694af72b130718ec5b80ebfa
update db initializer with new categories
noordwind/Coolector.Services.Remarks,noordwind/Collectively.Services.Remarks,noordwind/Collectively.Services.Remarks,noordwind/Coolector.Services.Remarks
Coolector.Services.Remarks/Framework/DatabaseInitializer.cs
Coolector.Services.Remarks/Framework/DatabaseInitializer.cs
using System.Collections.Generic; using System.Threading.Tasks; using Coolector.Common.Mongo; using Coolector.Services.Remarks.Domain; using Coolector.Services.Remarks.Repositories.Queries; using MongoDB.Driver; using Tag = Coolector.Services.Remarks.Domain.Tag; namespace Coolector.Services.Remarks.Framework { pu...
using System.Collections.Generic; using System.Threading.Tasks; using Coolector.Common.Mongo; using Coolector.Services.Remarks.Domain; using Coolector.Services.Remarks.Repositories.Queries; using MongoDB.Driver; using Tag = Coolector.Services.Remarks.Domain.Tag; namespace Coolector.Services.Remarks.Framework { pu...
mit
C#
2af7e20d244494c158fb456dc2f3c0bbaeeb3ee0
Make static mutable direction fields into immutable properties
ParagonTruss/GeometryClassLibrary
GeometryClassLibrary/Coordinates/Direction/DirectionFactoryProperties.cs
GeometryClassLibrary/Coordinates/Direction/DirectionFactoryProperties.cs
/* This file is part of Geometry Class Library. Copyright (C) 2017 Paragon Component Systems, LLC. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 o...
/* This file is part of Geometry Class Library. Copyright (C) 2017 Paragon Component Systems, LLC. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 o...
lgpl-2.1
C#
7ac08620b80e335f747be668dfe5eaeae2a78703
Add a user object for now
UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu
osu.Game/Online/API/RoomScore.cs
osu.Game/Online/API/RoomScore.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using osu.Game.Online.Multiplayer; using osu.G...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using osu.Game.Online.Multiplayer; using osu.G...
mit
C#
ca3186f34c7b2507fef6e0900e61e5c7e9746c82
Create dependencies before children are loaded
ppy/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,naoey/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,DrabWeb/osu,naoey/osu,peppy/osu-new,naoey/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,smoog...
osu.Game/Tests/Visual/EditorClockTestCase.cs
osu.Game/Tests/Visual/EditorClockTestCase.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.Allocation; using osu.Framework.Input; using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Sc...
// 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.Allocation; using osu.Framework.Input; using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Sc...
mit
C#
267414e0f14c458dd96528a70b00de0bf50f1e10
Remove C# helper library from REST call example
teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snip...
lookups/lookup-get-addon-payfone-example-1/lookup-get-addon-payfone-1.cs
lookups/lookup-get-addon-payfone-example-1/lookup-get-addon-payfone-1.cs
using Newtonsoft.Json; using RestSharp; using RestSharp.Authenticators; using Newtonsoft.Json.Serialization; using System; class Example { static void Main(string[] args) { // The C# helper library will support Add-ons in June 2016, for now we'll use a simple RestSharp HTTP client var client = new RestClie...
// Download the twilio-csharp library from twilio.com/docs/csharp/install using Newtonsoft.Json; using RestSharp; using RestSharp.Authenticators; using Newtonsoft.Json.Serialization; using System; class Example { static void Main(string[] args) { // The C# helper library will support Add-ons in June 2016, for ...
mit
C#
fe568a415ad0dce844e5f9cd6e31ef1f10f08238
Save (path): Saves a file to a path on the machine. Save (TextWriter): Saves a file to a TextWriter.
bmatzelle/nini,bmatzelle/nini,rwhitworth/nini
Nini/Source/Config/IConfigSource.cs
Nini/Source/Config/IConfigSource.cs
#region Copyright // // Nini Configuration Project. // Copyright (C) 2004 Brent R. Matzelle. All rights reserved. // // This software is published under the terms of the MIT X11 license, a copy of // which has been included with this distribution in the LICENSE.txt file. // #endregion using System; using System.IO;...
#region Copyright // // Nini Configuration Project. // Copyright (C) 2004 Brent R. Matzelle. All rights reserved. // // This software is published under the terms of the MIT X11 license, a copy of // which has been included with this distribution in the LICENSE.txt file. // #endregion using System; namespace Nini....
mit
C#
c461e02e501c96fec8cd2193a52453af64f67637
Bump version to 1.5.1
milkshakesoftware/PreMailer.Net,kendallb/PreMailer.Net
PreMailer.Net/GlobalAssemblyInfo.cs
PreMailer.Net/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: AssemblyProduct("PreMailer.Net")] [assembly: AssemblyCompany("Milkshake Software")] [assembly: AssemblyCopyright("Copyright © Milkshake Software 2016")] [assembly: Ass...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: AssemblyProduct("PreMailer.Net")] [assembly: AssemblyCompany("Milkshake Software")] [assembly: AssemblyCopyright("Copyright © Milkshake Software 2016")] [assembly: Ass...
mit
C#
069fbf5f25e5a9db2fc8e87b2d6226025128394a
add if/else/for sample
nicogiddev/myFirstProgramCSharp
myFirstProgramCSharp/myFirstProgramCSharp/Program.cs
myFirstProgramCSharp/myFirstProgramCSharp/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace myFirstProgramCSharp { class Program { static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Blue; Console.BackgroundColor = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace myFirstProgramCSharp { class Program { static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Blue; Console.BackgroundColor = ...
mit
C#
84716605ecbdfe2fa6d8eebe2b42d6979ff47c37
Add missing properties
davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3
SurveyMonkey/Containers/Response.cs
SurveyMonkey/Containers/Response.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; using SurveyMonkey.Enums; namespace SurveyMonkey.Containers { [JsonConverter(typeof(LaxPropertyNameJsonConverter))] public class Response { public long? Id { get; set; } public long? SurveyId { get; set; } publi...
using System; using System.Collections.Generic; using Newtonsoft.Json; using SurveyMonkey.Enums; namespace SurveyMonkey.Containers { [JsonConverter(typeof(LaxPropertyNameJsonConverter))] public class Response { public long? Id { get; set; } public string Href { get; set; } public D...
mit
C#
11a265d3d4b54b213a9f6df642c89f2ee8302474
Update DependenciesModule.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
apps/Core2D.Avalonia.Direct2D/Modules/DependenciesModule.cs
apps/Core2D.Avalonia.Direct2D/Modules/DependenciesModule.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 Autofac; using Core2D.Data.Database; using Core2D.Interfaces; using Core2D.Renderer; using FileSystem.DotNetFx; using FileWriter.Dxf; using FileWriter.Emf; u...
// 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 Autofac; using Core2D.Data.Database; using Core2D.Interfaces; using Core2D.Renderer; using FileSystem.DotNetFx; using FileWriter.Dxf; using FileWriter.Emf; u...
mit
C#
262446971419788d855209d300f77c1d3135b226
read data from GetAssignment id 3
Bargsteen/ADL,Bargsteen/ADL,Bargsteen/ADL
AppCode/ADLApp/ADLApp/ADLApp/HomePage.xaml.cs
AppCode/ADLApp/ADLApp/ADLApp/HomePage.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using System.Net; using ADLApp.Model; using RestSharp; namespace ADLApp { public partial class HomePage : ContentPage { public HomePage() { Initi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using System.Net; using ADLApp.Model; using RestSharp; namespace ADLApp { public partial class HomePage : ContentPage { public HomePage() { Initi...
apache-2.0
C#
50e7619fa328556fcc3e8474b68cac553693e3ea
make the arg length check a little better
kangaroo/scsharp,kangaroo/scsharp,kangaroo/scsharp
tools/lsmpq.cs
tools/lsmpq.cs
using System; using System.IO; using SCSharp; using System.Reflection; public class ListMpq { public static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("usage: lsmpq.exe <mpq-file>"); Environment.Exit (0); } Mpq mpq = new MpqArchive (args[0]); StreamReader sr = new StreamRe...
using System; using System.IO; using SCSharp; using System.Reflection; public class ListMpq { public static void Main (string[] args) { if (args.Length == 0) { Console.WriteLine ("usage: lsmpq.exe <mpq-file>"); Environment.Exit (0); } Mpq mpq = new MpqArchive (args[0]); StreamReader sr = new StreamRe...
mit
C#
7ef3c87be3cac6f4ef0a25eac947be09db00f1ba
Apply nameof operators
occar421/OpenTKAnalyzer
src/OpenTKAnalyzer/OpenTKAnalyzer/OpenTK_/RotationValueOpenTKMathAnalyzer.cs
src/OpenTKAnalyzer/OpenTKAnalyzer/OpenTK_/RotationValueOpenTKMathAnalyzer.cs
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using OpenTK; ...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace Ope...
mit
C#
18b23eb6a494fc7cc5bd61273b829887ade04de1
Update Assembly Version
Jarga/Alias,Jarga/Automation.PageObject
Aliases.Drivers.Selenium/Properties/AssemblyInfo.cs
Aliases.Drivers.Selenium/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("Al...
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("Al...
mit
C#
d4181852bfd9a9cabe778defa71b005de98b1f4e
Set error code in RrpcException
LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC
RestRPC.Framework/Exceptions/RrpcException.cs
RestRPC.Framework/Exceptions/RrpcException.cs
using RestRPC.Framework.Messages.Outputs; using System; namespace RestRPC.Framework.Exceptions { abstract class RrpcException : Exception { public int Code { get; private set; } public RrpcException(int code, string message) : this(code, message, null) { } public ...
using RestRPC.Framework.Messages.Outputs; using System; namespace RestRPC.Framework.Exceptions { abstract class RrpcException : Exception { public int Code { get; private set; } public RrpcException(int code, string message) : base(message) { } public RrpcExceptio...
mit
C#
cd618344b82d479992ece0007858b55d52273aea
Set only Razor view Engine
NikitoG/WarehouseSystem,NikitoG/WarehouseSystem
Source/Web/WarehouseSystem.Web/Global.asax.cs
Source/Web/WarehouseSystem.Web/Global.asax.cs
namespace WarehouseSystem.Web { using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using WarehouseSystem.Web.App_Start; public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ViewEngines.Engines.Cl...
namespace WarehouseSystem.Web { using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using WarehouseSystem.Web.App_Start; public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.Regis...
mit
C#
a3e3aa99af238c331eb8e7fc6c89d4c81c31cedd
Update documentation
whampson/bft-spec,whampson/cascara
Src/WHampson.Cascara/Types/ICascaraPointer.cs
Src/WHampson.Cascara/Types/ICascaraPointer.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#
4ddf2ed61cdb78f141590942ec1fb51d73d826c4
Fix TeamCityOutputSink to not report errors as build problems (#401)
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/TeamCity/TeamCityOutputSink.cs
source/Nuke.Common/CI/TeamCity/TeamCityOutputSink.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using JetBrains.Annotations; using Nuke.Common.OutputSinks; using ...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using JetBrains.Annotations; using Nuke.Common.OutputSinks; using ...
mit
C#
ad1efc37a8b122d40afec98ef46d870508dcc5e5
Hide shuffle menu when shuffling is disabled (bgo#599465)
Carbenium/banshee,dufoli/banshee,GNOME/banshee,ixfalia/banshee,petejohanson/banshee,eeejay/banshee,stsundermann/banshee,GNOME/banshee,Dynalon/banshee-osx,eeejay/banshee,ixfalia/banshee,petejohanson/banshee,dufoli/banshee,stsundermann/banshee,dufoli/banshee,directhex/banshee-hacks,lamalex/Banshee,Carbenium/banshee,arfbt...
src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
// // NextButton.cs // // Authors: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2008 Novell, Inc. // // 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,...
// // NextButton.cs // // Authors: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2008 Novell, Inc. // // 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,...
mit
C#
32e9aed7969b402eb93bad8740c12b848662f8b5
Fix spelling
Kentico/Mvc,Kentico/Mvc,Kentico/Mvc
src/DancingGoat/Infrastructure/CustomPagedListRenderOptions.cs
src/DancingGoat/Infrastructure/CustomPagedListRenderOptions.cs
using PagedList.Mvc; using CMS.Helpers; namespace DancingGoat.Infrastructure { /// <summary> /// Customized render option definitions for X.PagedList. /// </summary> /// <remarks> /// For more customization options see https://github.com/kpi-ua/X.PagedList/blob/master/src/X.PagedList.Mv...
using PagedList.Mvc; using CMS.Helpers; namespace DancingGoat.Infrastructure { /// <summary> /// Customized render option definitons for X.PagedList. /// </summary> /// <remarks> /// For more customization options see https://github.com/kpi-ua/X.PagedList/blob/master/src/X.PagedList.Mvc...
mit
C#
2a5ef5e97039fb142b21b26831ed8ff5879231ec
Remove all but one async void demo test
nunit/nunit3-vs-adapter
demo/NUnitTestDemo/AsyncTests.cs
demo/NUnitTestDemo/AsyncTests.cs
using System; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; namespace NUnitTestDemo { public class AsyncTests { [Test, ExpectError] public async void AsyncVoidTestIsInvalid() { var result = await ReturnOne(); Assert.AreEqual(1, result); } [Test, Expe...
using System; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; namespace NUnitTestDemo { public class AsyncTests { [Test, ExpectPass] public async void AsyncVoidTestSucceeds() { var result = await ReturnOne(); Assert.AreEqual(1, result); } [Test, ExpectFailure] public ...
mit
C#
8b3801d049f5653cebcb1bd22831b8b111dc9dee
Remove enum values
detaybey/MimeBank
MimeBank/FileType.cs
MimeBank/FileType.cs
namespace MimeBank { public enum FileType { Image, Video, Audio, Swf, Other, } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MimeBank { /// <summary> /// Just an enum to categorize the file types. /// </summary> public enum FileType { Image = 1, Video = 2, ...
apache-2.0
C#
e6b6e4a16f2a12e2ef64f1d136c46c805bfb9731
Revert unintended style changes.
FacilityApi/Facility
src/Facility.Definition/Http/HttpAttributeUtility.cs
src/Facility.Definition/Http/HttpAttributeUtility.cs
using System.Collections.Generic; using System.Globalization; using System.Net; namespace Facility.Definition.Http { internal static class HttpAttributeUtility { public static ServiceAttributeInfo TryGetHttpAttribute(this IServiceElementInfo element) { return element.TryGetAttribute("http"); } public st...
using System.Collections.Generic; using System.Globalization; using System.Net; namespace Facility.Definition.Http { internal static class HttpAttributeUtility { public static ServiceAttributeInfo TryGetHttpAttribute(this IServiceElementInfo element) { return element.TryGetAttribute("http"); } public st...
mit
C#
97870c0d8058a28d8d75167e3990b7f7993a192b
Update FileSetOptions.cs
A51UK/File-Repository
File-Repository/FileSetOptions.cs
File-Repository/FileSetOptions.cs
/* * Copyright 2017 Craig Lee Mark Adams 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 agree...
/* * Copyright 2017 Criag Lee Mark Adams 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 agree...
apache-2.0
C#
51faff57eefb1e346d08c088fb773d514938c034
Update ShrinkingToFit.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-...
Examples/CSharp/Formatting/ConfiguringAlignmentSettings/ShrinkingToFit.cs
Examples/CSharp/Formatting/ConfiguringAlignmentSettings/ShrinkingToFit.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings { public class ShrinkingToFit { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose....
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings { public class ShrinkingToFit { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.Get...
mit
C#
5d9e1fee1bafa096f924d37e29cda64a44f1e3aa
add global variables used across projects/solutions
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Constants/GlobalConstants.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Constants/GlobalConstants.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PS.Mothership.Core.Common.Constants { public class GlobalConstants { public const char Dot = '.'; public const char Comma = ','; public cons...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PS.Mothership.Core.Common.Constants { public class GlobalConstants { // Ip Matching constants public const char Dot = '.'; public const char Star = ...
mit
C#
dff86ff24fe0c5fb402794a2495c5fb0cb715f1d
Fix coin table name
LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore
src/Core/Constants.cs
src/Core/Constants.cs
namespace Core { public class Constants { /// <summary> /// Used to change table and queue names in testing enviroment /// </summary> public static string StoragePrefix { get; set; } = ""; public const string EthereumContractQueue = "ethereum-contract-queue"; public const string EthereumOutQueue =...
namespace Core { public class Constants { /// <summary> /// Used to change table and queue names in testing enviroment /// </summary> public static string StoragePrefix { get; set; } = ""; public const string EthereumContractQueue = "ethereum-contract-queue"; public const string EthereumOutQueue =...
mit
C#
88688032e095dfdc2c2110b5328ad7f6a1bc8e79
Update comment
wangkanai/Detection
src/DependencyInjection/IDetectionBuilder.cs
src/DependencyInjection/IDetectionBuilder.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Helper functions for configuring detection services. /// </summary> public interface ...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Detection builder Interface /// </summary> public interface IDetectionBuilder { ...
apache-2.0
C#
d847a351340a15862755944226f15bb7e30a40fb
Tweak the default help formatter
mrahhal/Konsola
src/Konsola/Parser/IHelpFormatter.Default.cs
src/Konsola/Parser/IHelpFormatter.Default.cs
using System.Linq; using System.Collections.Generic; namespace Konsola.Parser { public class DefaultHelpFormatter : IHelpFormatter { public void Format(HelpContext context, IConsole console) { if (!string.IsNullOrWhiteSpace(context.Options.Description)) { console.WriteLine(context.Options.Description)...
using System.Linq; using System.Collections.Generic; namespace Konsola.Parser { public class DefaultHelpFormatter : IHelpFormatter { public void Format(HelpContext context, IConsole console) { console.WriteLine(context.Options.Description); console.WriteLine(); FormatCommands(context.NestedCommands, co...
mit
C#
1f97d021a301fe6a4e51c693a217afd47a5614e5
Make numeric_resolution on date mapping nullable
gayancc/elasticsearch-net,junlapong/elasticsearch-net,gayancc/elasticsearch-net,starckgates/elasticsearch-net,mac2000/elasticsearch-net,ststeiger/elasticsearch-net,starckgates/elasticsearch-net,SeanKilleen/elasticsearch-net,tkirill/elasticsearch-net,joehmchan/elasticsearch-net,LeoYao/elasticsearch-net,robrich/elasticse...
src/Nest/Domain/Mapping/Types/DateMapping.cs
src/Nest/Domain/Mapping/Types/DateMapping.cs
using System.Collections.Generic; using Newtonsoft.Json; using System; using Newtonsoft.Json.Converters; namespace Nest { [JsonObject(MemberSerialization.OptIn)] public class DateMapping : MultiFieldMapping, IElasticType, IElasticCoreType { public DateMapping():base("date") { } /// <summary> /// The name...
using System.Collections.Generic; using Newtonsoft.Json; using System; using Newtonsoft.Json.Converters; namespace Nest { [JsonObject(MemberSerialization.OptIn)] public class DateMapping : MultiFieldMapping, IElasticType, IElasticCoreType { public DateMapping():base("date") { } /// <summary> /// The name...
apache-2.0
C#
9d701d97fcce6e4f411d96e0b1771e0674c1bfe7
bump version
colored-console/colored-console,colored-console/colored-console
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
// <copyright file="CommonAssemblyInfo.cs" company="ColoredConsole contributors"> // Copyright (c) ColoredConsole contributors. (coloredconsole@gmail.com) // </copyright> using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCo...
// <copyright file="CommonAssemblyInfo.cs" company="ColoredConsole contributors"> // Copyright (c) ColoredConsole contributors. (coloredconsole@gmail.com) // </copyright> using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCo...
mit
C#
9d2f14088ece1313debb0f14b260f7ffb1aca758
Remove nested div to fix style issue
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel @if (Model.ReservedFundingToShow != null) { <h3 class="das-panel__heading">Apprenticeship funding secured</h3> <dl class="das-definition-list das-definition-list--with-separator"> <dt class="das-definition-list__title">Legal enti...
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel <div class="das-panel das-panel--featured"> @if (Model.ReservedFundingToShow != null) { <h3 class="das-panel__heading">Apprenticeship funding secured</h3> <dl class="das-definition-list das-definition-list--with-separ...
mit
C#
7dc2eb9041b5d9327690ece4812bde5a369b228b
Fix language syntax issues (#48)
gyrosworkshop/Wukong,gyrosworkshop/Wukong
Wukong/Models/Api.cs
Wukong/Models/Api.cs
using System.Collections.Generic; namespace Wukong.Models { public class TokenResponse { public string UserId; public string Signature; public User User; } public class OAuthMethod { public string Scheme; public string DisplayName; public string Url;...
using System; using System.Collections.Generic; namespace Wukong.Models { public class TokenResponse { public string UserId; public string Signature; public User User; } public class OAuthMethod { public string Scheme; public string DisplayName; publ...
mit
C#
037a97ab603b86e2e8533f0e15fceb208c8baecc
Introduce a default for enabled flag. (#196)
tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools
tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/RepositoryConfiguration.cs
tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/RepositoryConfiguration.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using YamlDotNet.Serialization; namespace Azure.Sdk.Tools.CheckEnforcer { public class RepositoryConfiguration : IRepositoryConfiguration { public RepositoryConfiguration() { MinimumCheckRuns ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using YamlDotNet.Serialization; namespace Azure.Sdk.Tools.CheckEnforcer { public class RepositoryConfiguration : IRepositoryConfiguration { public RepositoryConfiguration() { MinimumCheckRuns ...
mit
C#
3aa94a173a068fa37618ae1dcd95b886b7f0e57c
Add IAmInitiatedByConcurrencyControlledMessages
MrMDavidson/Rebus.SingleAccessSagas
Rebus.SingleAccessSagas/IHandleConcurrencyControlledMessages.cs
Rebus.SingleAccessSagas/IHandleConcurrencyControlledMessages.cs
using Rebus.Handlers; using Rebus.Sagas; namespace Rebus.SingleAccessSagas { /// <summary> /// Marker interface to indicate that a handler should have concurrency controls applied to it /// </summary> public interface IHandleConcurrencyControlledMessages : IHandleMessages { } /// <summary> /// Indicates that...
using Rebus.Handlers; namespace Rebus.SingleAccessSagas { /// <summary> /// Marker interface to indicate that a handler should have concurrency controls applied to it /// </summary> public interface IHandleConcurrencyControlledMessages : IHandleMessages { } /// <summary> /// Indicates that a handler has conc...
mit
C#
057b27dda320946f1fff1e5e7929664d2edf4149
Refactor StatementPreparerTests.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
tests/MySqlConnector.Tests/StatementPreparerTests.cs
tests/MySqlConnector.Tests/StatementPreparerTests.cs
using System.Text; using MySql.Data.MySqlClient; using MySqlConnector.Core; using MySqlConnector.Utilities; using Xunit; namespace MySqlConnector.Tests { public class StatementPreparerTests { [Theory] [InlineData("SELECT Id\nFROM mytable\nWHERE column1 = 2\nAND column2 = @param")] [InlineData("SELECT Id\nFROM ...
using System.Text; using MySql.Data.MySqlClient; using MySqlConnector.Core; using MySqlConnector.Utilities; using Xunit; namespace MySqlConnector.Tests { public class StatementPreparerTests { [Theory] [InlineData(GoodSqlText)] [InlineData(AnotherGoodSqlText)] [InlineData(AnotherGoodSqlText2)] [InlineData(B...
mit
C#
bb150357e3175a704202d81890bf0bbdad275490
Update version to 1.1.0.15-rc1
KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet
src/keypay-dotnet/Properties/AssemblyInfo.cs
src/keypay-dotnet/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("KeyPay")] [assembly: AssemblyDescription("...
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("KeyPay")] [assembly: AssemblyDescription("...
mit
C#
164ab1de9be2c64fc1f8b54423cc20d09ab237ac
Fix Dispose caused shutdown fails to notify.
yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli
src/MsgPack.Rpc/Rpc/Protocols/ShutdownCompletedEventArgs.cs
src/MsgPack.Rpc/Rpc/Protocols/ShutdownCompletedEventArgs.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org...
apache-2.0
C#
8dbb329b3bde4ee246cec77eb02d7a7185f2973f
update test for CarAdvertController (Get)
mdavid626/artemis
src/Artemis.Web.Tests/CarAdvertControllerTest.cs
src/Artemis.Web.Tests/CarAdvertControllerTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Artemis.Web.Controllers; using NSubstitute; using Artemis.Common; using System.Web.Http.Results; using Artemis.Web.Models; using AutoMapper; using Artemis.Web.ViewModels; using System.Linq; namespace Artemis.Web.Tests { [TestClass] public...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Artemis.Web.Controllers; using NSubstitute; using Artemis.Common; using System.Web.Http.Results; using Artemis.Web.Models; using AutoMapper; using Artemis.Web.ViewModels; namespace Artemis.Web.Tests { [TestClass] public class CarAdvertCon...
mit
C#
cc62e9a270aa2832feea4dca1506adbe8cdcd7cc
Add Cronos targeted to .NET 4.5 to artifacts
HangfireIO/Cronos
build.cake
build.cake
#addin nuget:?package=Cake.VersionReader #tool "nuget:?package=xunit.runner.console" var version = "0.1.1"; var configuration = "Release"; Task("Restore-NuGet-Packages") .Does(()=> { DotNetCoreRestore(); }); Task("Clean") .Does(()=> { CleanDirectory("./build"); StartProcess("dotnet", "clean -c:...
#addin nuget:?package=Cake.VersionReader #tool "nuget:?package=xunit.runner.console" var version = "0.1.1"; var configuration = "Release"; Task("Restore-NuGet-Packages") .Does(()=> { DotNetCoreRestore(); }); Task("Clean") .Does(()=> { CleanDirectory("./build"); StartProcess("dotnet", "clean -c:...
mit
C#
9c6bcec5002d48a82f48e525ab4eef6f71c44bc3
Add model generator testcase for Negative summaries for abstract members.
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
csharp/ql/test/utils/model-generator/NoSummaries.cs
csharp/ql/test/utils/model-generator/NoSummaries.cs
using System; namespace NoSummaries; // Single class with a method that produces a flow summary. // Just to prove that, if a method like this is correctly exposed, a flow summary will be captured. public class PublicClassFlow { public object PublicReturn(object input) { return input; } } public s...
using System; namespace NoSummaries; // Single class with a method that produces a flow summary. // Just to prove that, if a method like this is correctly exposed, a flow summary will be captured. public class PublicClassFlow { public object PublicReturn(object input) { return input; } } public s...
mit
C#
bf9356d158cb8e019475f368feb0698e4d595cae
Add fallback for tests
Tom94/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-...
osu.Framework/Development/DebugUtils.cs
osu.Framework/Development/DebugUtils.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Diagnostics; using System.Linq; using System.Reflection; namespace osu.Framework.Development { public static class DebugUtils ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Diagnostics; using System.Linq; using System.Reflection; namespace osu.Framework.Development { public static class DebugUtils ...
mit
C#
5fc01ddc27d62824f1a21aef6dfa741a84126a2c
Update build.cake
AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite
build.cake
build.cake
#addin "nuget:https://www.nuget.org/api/v2?package=Newtonsoft.Json&version=9.0.1" #load "./build/index.cake" var target = Argument("target", "Default"); var build = BuildParameters.Create(Context); var util = new Util(Context, build); Task("Clean") .Does(() => { if (DirectoryExists("./artifacts")) { DeleteDire...
#addin "nuget:https://www.nuget.org/api/v2?package=Newtonsoft.Json&version=9.0.1" #load "./build/index.cake" var target = Argument("target", "Default"); var build = BuildParameters.Create(Context); var util = new Util(Context, build); Task("Clean") .Does(() => { if (DirectoryExists("./artifacts")) { DeleteDire...
mit
C#
cf3f990ad9759f85c975ff76a7346d1fcf09e9f1
Improve docs.
Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions
Lombiq.HelpfulExtensions/Extensions/SiteTexts/Services/ISiteTextService.cs
Lombiq.HelpfulExtensions/Extensions/SiteTexts/Services/ISiteTextService.cs
using Microsoft.AspNetCore.Html; using OrchardCore.ContentManagement; using System.Threading.Tasks; namespace Lombiq.HelpfulExtensions.Extensions.SiteTexts.Services; /// <summary> /// A service for getting the value of the site text as HTML. /// </summary> public interface ISiteTextService { /// <summary> ///...
using Microsoft.AspNetCore.Html; using OrchardCore.ContentManagement; using System.Threading.Tasks; namespace Lombiq.HelpfulExtensions.Extensions.SiteTexts.Services; /// <summary> /// A service for getting the value of the site text as HTML. /// </summary> public interface ISiteTextService { /// <summary> ///...
bsd-3-clause
C#
158454f38d9261d995e373c2e58f3ee6a119fee8
update GenerateSoil method : faster
pavelkouril/unity-marching-cubes-gpu
Assets/MarchingCubes/Scripts/DensityFieldGenerator.cs
Assets/MarchingCubes/Scripts/DensityFieldGenerator.cs
using System; using System.Collections.Generic; using UnityEngine; namespace PavelKouril.MarchingCubesGPU { public class DensityFieldGenerator : MonoBehaviour { public int Resolution; private MarchingCubes mc; private Texture3D densityTexture; private Color[] colors; ...
using System; using System.Collections.Generic; using UnityEngine; namespace PavelKouril.MarchingCubesGPU { public class DensityFieldGenerator : MonoBehaviour { public int Resolution; private MarchingCubes mc; private Texture3D densityTexture; private Color[] colors; ...
mit
C#
0b33f89c0861460111f89a5a1a7a6af22a0f930a
update sku
naveedaz/azure-sdk-for-net,herveyw/azure-sdk-for-net,jtlibing/azure-sdk-for-net,jtlibing/azure-sdk-for-net,bgold09/azure-sdk-for-net,naveedaz/azure-sdk-for-net,jtlibing/azure-sdk-for-net,herveyw/azure-sdk-for-net,DeepakRajendranMsft/azure-sdk-for-net,vladca/azure-sdk-for-net,herveyw/azure-sdk-for-net,DeepakRajendranMsf...
src/ServiceManagement/Network/NetworkManagement/Generated/Models/GatewaySKU.cs
src/ServiceManagement/Network/NetworkManagement/Generated/Models/GatewaySKU.cs
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
apache-2.0
C#
99e4193fabbffe08a58a1a9f0b4f415c0e10fca5
Update SearchPageViewModel.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/SearchPageViewModel.cs
WalletWasabi.Fluent/ViewModels/SearchPageViewModel.cs
using System.Collections.ObjectModel; using System.Reactive.Linq; using DynamicData; using DynamicData.Binding; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.NavBar; using WalletWasabi.Fluent.ViewModels.Search; namespace WalletWasabi.Fluent.ViewModels { public class SearchPageViewModel : NavBarItemViewModel ...
using System.Collections.ObjectModel; using System.Reactive.Linq; using DynamicData; using DynamicData.Binding; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.NavBar; using WalletWasabi.Fluent.ViewModels.Search; namespace WalletWasabi.Fluent.ViewModels { public class SearchPageViewModel : NavBarItemViewModel ...
mit
C#
c6d335ba1cd1688c57f8b501c15ceb5b6427ec37
add DI for skill repo
mzrimsek/resume-site-api
Web/Configuration/DependencyInjectionConfiguration.cs
Web/Configuration/DependencyInjectionConfiguration.cs
using Microsoft.Extensions.DependencyInjection; using Core.Interfaces.RepositoryInterfaces; using Integration.EntityFramework.Repositories; namespace Web.Configuration { public static class DependencyInjectionConfiguration { public static void Configure(IServiceCollection services) { ...
using Microsoft.Extensions.DependencyInjection; using Core.Interfaces.RepositoryInterfaces; using Integration.EntityFramework.Repositories; namespace Web.Configuration { public static class DependencyInjectionConfiguration { public static void Configure(IServiceCollection services) { ...
mit
C#
3555dac97f777ff66b97722128e09d30c12b9c54
Bump version to 1.1.0.
FacilityApi/FacilityCSharp
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.1.0.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("1.0.2.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
117e18be43d536d32d617f9e331a5c8c0a5a6559
Fix bug where Smaller wouldn't exit properly
geoffles/Smaller
Smaller/RunJobController.cs
Smaller/RunJobController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Windows; using System.Windows.Documents; using System.Windows.Threading; namespace Smaller { public class RunJobController { private static readonly EventWaitHandle _showSignal =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Windows; using System.Windows.Documents; using System.Windows.Threading; namespace Smaller { public class RunJobController { private static readonly EventWaitHandle _showSignal =...
agpl-3.0
C#
48c10bf43609919cd9dcbc7bfd2f75c9edad08ef
Update MiniExample.cs
PlayFab/UnitySDK
PlayFabClientSDK/Examples/Mini/MiniExample.cs
PlayFabClientSDK/Examples/Mini/MiniExample.cs
using UnityEngine; using System.Collections; using PlayFab; using PlayFab.Model; public class MiniExample : MonoBehaviour { void Start () { PlayFabSettings.UseDevelopmentEnvironment = false; PlayFabSettings.TitleId = "AAA"; PlayFabSettings.GlobalErrorHandler = OnPlayFabError; PlayFabClientAPI.LoginWithPla...
using UnityEngine; using System.Collections; using PlayFab; using PlayFab.Model; public class MiniExample : MonoBehaviour { void Start () { PlayFabSettings.UseDevelopmentEnvironment = true; PlayFabSettings.TitleId = "AAA"; PlayFabSettings.GlobalErrorHandler = OnPlayFabError; PlayFabClientAPI.LoginWithPlay...
apache-2.0
C#
0019c0befdbe809bb5e49738ea79ac61ad0cddb0
Remove unused property PortingIssue.NeedsReview
pakdev/roslyn-analyzers,bkoelman/roslyn-analyzers,srivatsn/roslyn-analyzers,natidea/roslyn-analyzers,mavasani/roslyn-analyzers,pakdev/roslyn-analyzers,mattwar/roslyn-analyzers,qinxgit/roslyn-analyzers,Anniepoh/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,genlu/roslyn-analyzers,heejaechang/roslyn-a...
PortFxCop/src/Tools/FileIssues/PortingInfo.cs
PortFxCop/src/Tools/FileIssues/PortingInfo.cs
namespace FileIssues { public class PortingInfo { public string Id { get; set; } public string Name { get; set; } public string Title { get; set; } public string Description { get; set; } public string Notes { get; set; } public Disposition Disposition { get...
namespace FileIssues { public class PortingInfo { public string Id { get; set; } public string Name { get; set; } public string Title { get; set; } public string Description { get; set; } public string Notes { get; set; } public Disposition Disposition { get...
mit
C#
305e566c94439dc82f544ef98a3c2d0bd578d711
Fix extensions to be easier to use
JudahGabriel/RavenDB.Identity
RavenDB.Identity/IdentityBuilderExtensions.cs
RavenDB.Identity/IdentityBuilderExtensions.cs
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; using Raven.Client; using Raven.Client.Documents; using Raven.Client.Documents.Session; using System; namespace Raven.Identity { /// <summary> /// Extends <see cref="IdentityBuilder"/> so that RavenDB services can be registered thr...
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; using Raven.Client; using Raven.Client.Documents; using Raven.Client.Documents.Session; using System; namespace Raven.Identity { /// <summary> /// Extends <see cref="IdentityBuilder"/> so that RavenDB services can be registered thr...
mit
C#
25b489648e8518d574283bd46a782e7049b9308c
Change missing from last commit.
serilog/serilog-sinks-azuretablestorage
src/Serilog.Sinks.AzureTableStorage/Sinks/KeyGenerator/PropertiesKeyGenerator.cs
src/Serilog.Sinks.AzureTableStorage/Sinks/KeyGenerator/PropertiesKeyGenerator.cs
using System; using System.Text; using System.Text.RegularExpressions; using Serilog.Events; using Serilog.Sinks.AzureTableStorage.KeyGenerator; namespace Serilog.Sinks.AzureTableStorage.Sinks.KeyGenerator { public class PropertiesKeyGenerator : DefaultKeyGenerator { // Valid RowKey name characters ...
using System; using System.Text; using System.Text.RegularExpressions; using Serilog.Events; using Serilog.Sinks.AzureTableStorage.KeyGenerator; namespace Serilog.Sinks.AzureTableStorage.Sinks.KeyGenerator { public class PropertiesKeyGenerator : DefaultKeyGenerator { // Valid RowKey name characters ...
apache-2.0
C#
750e8ac94f6f4345e16cf6d80e9edb433c6a03a6
Add missing summary xml close tag to IRevertibleChangeTracking
yizhang82/corefx,nbarbettini/corefx,dotnet-bot/corefx,mokchhya/corefx,krk/corefx,elijah6/corefx,stone-li/corefx,oceanho/corefx,manu-silicon/corefx,khdang/corefx,billwert/corefx,billwert/corefx,josguil/corefx,vijaykota/corefx,janhenke/corefx,zhenlan/corefx,YoupHulsebos/corefx,Petermarcu/corefx,dtrebbien/corefx,benpye/co...
src/System.ComponentModel/src/System/ComponentModel/IRevertibleChangeTracking.cs
src/System.ComponentModel/src/System/ComponentModel/IRevertibleChangeTracking.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace System.ComponentModel { /// <summary> /// Provides support for rolling back the changes /// </summary> public interface IRevert...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace System.ComponentModel { /// <summary> /// Provides support for rolling back the changes /// </summary> public interface IRevert...
mit
C#
b70aaeb0e5b2fe20d2ed64a8b8af885084570012
use current culture when tostringing numbers
kreeben/resin,kreeben/resin
src/ResinCore/Field.cs
src/ResinCore/Field.cs
using System; using System.Diagnostics; using System.Globalization; namespace Resin { [DebuggerDisplay("{Value}")] public struct Field { private readonly string _value; public string Value { get { return _value; } } public string Key { get; private set; } public b...
using System; using System.Diagnostics; namespace Resin { [DebuggerDisplay("{Value}")] public struct Field { private readonly string _value; public string Value { get { return _value; } } public string Key { get; private set; } public bool Store { get; private set...
mit
C#
2f206d3c48d624e3788a03a77d03c153d41f046b
Update ip to mqtt
larssima/AmiJukeBoxRemote,larssima/AmiJukeBoxRemote,larssima/AmiJukeBoxRemote,larssima/AmiJukeBoxRemote
AmiJukeBoxRemote/Mqtt/Mqtt.cs
AmiJukeBoxRemote/Mqtt/Mqtt.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Web; using uPLibrary.Networking.M2Mqtt; using uPLibrary.Networking.M2Mqtt.Messages; namespace AmiJukeBoxRemote.Mqtt { public class Mqtt { public void SendCancelToSubscriber() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Web; using uPLibrary.Networking.M2Mqtt; using uPLibrary.Networking.M2Mqtt.Messages; namespace AmiJukeBoxRemote.Mqtt { public class Mqtt { public void SendCancelToSubscriber() { ...
mit
C#
c1bf8da9b63bf5ea10fa015f72d6140b21c698c9
Change to expect the string value of ApprenticeshipEmployerType because we are calling the external api controller action with the hashedAccountId
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance.Web/Filters/LevyEmployerTypeOnly.cs
src/SFA.DAS.EmployerFinance.Web/Filters/LevyEmployerTypeOnly.cs
using System; using System.Threading.Tasks; using System.Web.Mvc; using System.Web.Routing; using SFA.DAS.Common.Domain.Types; using SFA.DAS.EAS.Account.Api.Client; using SFA.DAS.EAS.Account.Api.Types; using SFA.DAS.EmployerFinance.Web.Helpers; namespace SFA.DAS.EmployerFinance.Web.Filters { public class LevyEmpl...
using System; using System.Threading.Tasks; using System.Web.Mvc; using System.Web.Routing; using SFA.DAS.Common.Domain.Types; using SFA.DAS.EAS.Account.Api.Client; using SFA.DAS.EAS.Account.Api.Types; using SFA.DAS.EmployerFinance.Web.Helpers; namespace SFA.DAS.EmployerFinance.Web.Filters { public class LevyEmpl...
mit
C#
82ef2e53e950dbb84c48c1372cf54b811bbef47b
Update TypeStyle.cs
physhi/roslyn,ErikSchierboom/roslyn,AmadeusW/roslyn,abock/roslyn,brettfo/roslyn,panopticoncentral/roslyn,nguerrera/roslyn,physhi/roslyn,nguerrera/roslyn,sharwell/roslyn,KevinRansom/roslyn,physhi/roslyn,dotnet/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,wvdd007/roslyn,jmarolf/roslyn,VSadov/roslyn,stephentoub/roslyn,ael...
src/Workspaces/CSharp/Portable/CodeStyle/TypeStyle/TypeStyle.cs
src/Workspaces/CSharp/Portable/CodeStyle/TypeStyle/TypeStyle.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.C...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.C...
mit
C#