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
fd699a2e40e1188920136691d942c3a77ce66b79
Resolve #10
Seaal/disclose
test/Disclose.Tests/ICommandHandlerExtensionTests/When_Calling_WithCommandName.cs
test/Disclose.Tests/ICommandHandlerExtensionTests/When_Calling_WithCommandName.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Disclose.DiscordClient; using FluentAssertions; using NSubstitute; using NUnit.Framework; namespace Disclose.Tests.ICommandHandlerExtensionTests { [TestFixture] public class When_Call...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Disclose.DiscordClient; using FluentAssertions; using NSubstitute; using NUnit.Framework; namespace Disclose.Tests.ICommandHandlerExtensionTests { [TestFixture] public class When_Calling_WithCommandName ...
mit
C#
7d7a3bab0e86251710f0825c602719805f742f9b
Fix catch legacy replay positions not being relative to playfield size
johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,Frontear/osuKyzer,peppy/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,naoey/osu,peppy/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,Useles...
osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs
osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.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.Game.Beatmaps; using osu.Game.Rulesets.Catch.UI; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Replays.Legacy; using osu.Game.Rulesets.Replay...
// 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.Game.Beatmaps; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Replays.Legacy; using osu.Game.Rulesets.Replays.Types; namespace osu.Game.Rule...
mit
C#
fd87b867279b36cd4c99bf001c4bcd86bbeff65e
Add readElement delegate
Arthur2e5/dnlib,ilkerhalil/dnlib,0xd4d/dnlib,ZixiangBoy/dnlib,picrap/dnlib,jorik041/dnlib,yck1509/dnlib,modulexcite/dnlib,kiootic/dnlib
dot10/dotNET/Types/LazyList.cs
dot10/dotNET/Types/LazyList.cs
namespace dot10.dotNET.Types { delegate T MFunc<T, U>(U u); /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">Any reference type</typeparam> class LazyList<T> where T : class { readonly T[] elements; readonly bool[] initialized; readonly MFunc<T, uint> r...
namespace dot10.dotNET.Types { /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">Any reference type</typeparam> class LazyList<T> where T : class { readonly T[] elements; readonly bool[] initialized; /// <summary> /// Gets the length of this list /// ...
mit
C#
d7ae7efd69ad63806b2b0c25d82eedcf9c436d03
Revert "NSApplicationInitializer: use [ThreadStatic], drop reflection"
lytico/xwt,mono/xwt,antmicro/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#
3ad804e7e77a61fcb5a7827e293eb773190e3105
Fix NRE when clearing out all zones (#8361)
xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2
src/OrchardCore.Modules/OrchardCore.Layers/Drivers/LayerSiteSettingsDisplayDriver.cs
src/OrchardCore.Modules/OrchardCore.Layers/Drivers/LayerSiteSettingsDisplayDriver.cs
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using OrchardCore.DisplayManagement.Entities; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.DisplayManagement.Views; using OrchardCore.Layers.Models; using OrchardCore.Layers.ViewMode...
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using OrchardCore.DisplayManagement.Entities; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.DisplayManagement.Views; using OrchardCore.Layers.Models; using OrchardCore.Layers.ViewMode...
bsd-3-clause
C#
881a0b3d68c1c406787c8b2c99b748c13772e39d
Fix input detection
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Umbraco/Views/Partials/FormEditor/FieldsNoScript/core.upload.cshtml
Source/Umbraco/Views/Partials/FormEditor/FieldsNoScript/core.upload.cshtml
@inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.UploadField> <div class="form-group @(Model.Mandatory ? "required" : null) @(Model.Invalid ? "has-error" : null)"> <label for="@Model.FormSafeName">@Model.Label</label> <input type="file" id="@Model.FormSafeName" name="@Model.FormSafeName" @(Model.Mandator...
@inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.UploadField> <div class="form-group @(Model.Mandatory ? "required" : null) @(Model.Invalid ? "has-error" : null)"> <label for="@Model.FormSafeName">@Model.Label</label> <input type="file" id="@Model.FormSafeName" name="@Model.FormSafeName" @(Model.Mandator...
mit
C#
ff0ffb15e72a12afdc27b4b7f5f6d0090256e87a
fix missing device names
File-New-Project/EarTrumpet
EarTrumpet.Actions/ViewModel/DeviceViewModel.cs
EarTrumpet.Actions/ViewModel/DeviceViewModel.cs
using EarTrumpet.DataModel.Audio; using EarTrumpet.DataModel.WindowsAudio; using EarTrumpet.UI.Helpers; namespace EarTrumpet.Actions.ViewModel { public class DeviceViewModel : DeviceViewModelBase, IAppIconSource { public bool IsDesktopApp => true; public string IconPath => _device.IconPath; ...
using EarTrumpet.DataModel.Audio; using EarTrumpet.DataModel.WindowsAudio; using EarTrumpet.UI.Helpers; namespace EarTrumpet.Actions.ViewModel { public class DeviceViewModel : DeviceViewModelBase, IAppIconSource { public bool IsDesktopApp => true; public string IconPath => _device.IconPath; ...
mit
C#
5bf4ebcd78e23b19733f3b7e89fa1e1b4c405d89
Remove Console.WriteLine from TraceUtils class
SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK
FDK/SoftFX.Extended.Net/Resources/TraceUtils.cs
FDK/SoftFX.Extended.Net/Resources/TraceUtils.cs
namespace SoftFX.Extended.Resources { using System; using System.Diagnostics; static class TraceUtils { public static void WriteLine(String format, params object[] args) { Trace.WriteLine(string.Format(format, args)); } } }
namespace SoftFX.Extended.Resources { using System; using System.Diagnostics; static class TraceUtils { public static void WriteLine(String format, params object[] args) { Trace.WriteLine(string.Format(format, args)); Console.WriteLine(string.Format(format, args)...
mit
C#
e05ad7e58de8e0086bd3624f4117af87e680533d
fix for incorrect resource file reference
iahdevelop/nuPickers,LottePitcher/nuPickers,abjerner/nuPickers,pgregorynz/nuPickers,JimBobSquarePants/nuPickers,pgregorynz/nuPickers,LottePitcher/nuPickers,iahdevelop/nuPickers,iahdevelop/nuPickers,JimBobSquarePants/nuPickers,uComponents/nuPickers,abjerner/nuPickers,abjerner/nuPickers,JimBobSquarePants/nuPickers,uCompo...
source/nuComponents.DataTypes/PropertyEditors/EnumRadioButtonPicker/EnumRadioButtonPickerPropertyEditor.cs
source/nuComponents.DataTypes/PropertyEditors/EnumRadioButtonPicker/EnumRadioButtonPickerPropertyEditor.cs
 namespace nuComponents.DataTypes.PropertyEditors.EnumRadioButtonPicker { using ClientDependency.Core; using Umbraco.Core.PropertyEditors; using Umbraco.Web.PropertyEditors; // EDITOR UI [PropertyEditor("enumRadioButtonPicker", "nuComponents: Enum RadioButton Picker", EmbeddedResource.RootUrl + "R...
 namespace nuComponents.DataTypes.PropertyEditors.EnumRadioButtonPicker { using ClientDependency.Core; using Umbraco.Core.PropertyEditors; using Umbraco.Web.PropertyEditors; // EDITOR UI [PropertyEditor("enumRadioButtonPicker", "nuComponents: Enum RadioButton Picker", EmbeddedResource.RootUrl + "R...
mit
C#
e8250641d6d53f6418d99e66bdb91679236c6c08
Remove [IgnoreClassInitializers] usage.
sillsdev/gtk-sharp,antoniusriha/gtk-sharp,sillsdev/gtk-sharp,orion75/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,orion75/gtk-sharp,antoniusriha/gtk-sharp,Gankov/gtk-sharp,akrisiun/gtk-sharp,orion75/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,akrisiun/gtk-sharp,Gankov/gtk-sh...
sample/Subclass.cs
sample/Subclass.cs
// Subclass.cs - Widget subclass Test // // Author: Mike Kestner <mkestner@ximian.com> // // (c) 2001-2003 Mike Kestner, Novell, Inc. namespace GtkSamples { using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button...
// Subclass.cs - Widget subclass Test // // Author: Mike Kestner <mkestner@ximian.com> // // (c) 2001-2003 Mike Kestner, Novell, Inc. [assembly:GLib.IgnoreClassInitializers] namespace GtkSamples { using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Ini...
lgpl-2.1
C#
f725494c1f092fcf94c31adf7c93a401320a5a72
fix test
existall/SimpleConfig
src/Tests/ExistAll.SimpleConfig.UnitTests/Core/AspNet/DevEnvironmentValuesTests.cs
src/Tests/ExistAll.SimpleConfig.UnitTests/Core/AspNet/DevEnvironmentValuesTests.cs
using System; using ExistAll.SimpleConfig.Core.AspNet; using Xunit; namespace ExistAll.SimpleConfig.UnitTests.Core.AspNet { public class DevEnvironmentValuesTests { private const string VariableName = "ASPNETCORE_ENVIRONMENT"; public void ResetEnvironmentVariable() { Environment.SetEnvironment...
using System; using ExistAll.SimpleConfig.Core.AspNet; using Xunit; namespace ExistAll.SimpleConfig.UnitTests.Core.AspNet { public class DevEnvironmentValuesTests { private const string VariableName = "ASPNETCORE_ENVIRONMENT"; public void ResetEnvironmentVariable() { Environment.SetEnvironment...
mit
C#
d1e6b45925843c5a9dfe7f0083b5efc7c5543425
Fix funky default race change options flags
umasteeringgroup/UMA
UMAProject/Assets/UMA/UMACore/Extensions/DynamicCharacterSystem/Scripts/Editor/EnumFlagsAttributeDrawer.cs
UMAProject/Assets/UMA/UMACore/Extensions/DynamicCharacterSystem/Scripts/Editor/EnumFlagsAttributeDrawer.cs
// from http://www.sharkbombs.com/2015/02/17/unity-editor-enum-flags-as-toggle-buttons/ // Extended by Tassim using UnityEditor; using UnityEngine; namespace UMACharacterSystem { [CustomPropertyDrawer(typeof(EnumFlagsAttribute))] public class EnumFlagsAttributeDrawer : PropertyDrawer { public override void OnG...
// from http://www.sharkbombs.com/2015/02/17/unity-editor-enum-flags-as-toggle-buttons/ // Extended by Tassim using UnityEditor; using UnityEngine; namespace UMACharacterSystem { [CustomPropertyDrawer(typeof(EnumFlagsAttribute))] public class EnumFlagsAttributeDrawer : PropertyDrawer { public override void OnG...
mit
C#
008efa081659d98d41da29b2a5304a60bc216d9a
Add setter to Proxy property.
GetTabster/Tabster.Core
Searching/ISearchService.cs
Searching/ISearchService.cs
#region using System.Net; using Tabster.Core.Data.Processing; using Tabster.Core.Types; #endregion namespace Tabster.Core.Searching { /// <summary> /// Tab service which enables searching. /// </summary> public interface ISearchService { /// <summary> /// Serv...
#region using System.Net; using Tabster.Core.Data.Processing; using Tabster.Core.Types; #endregion namespace Tabster.Core.Searching { /// <summary> /// Tab service which enables searching. /// </summary> public interface ISearchService { /// <summary> /// Serv...
apache-2.0
C#
2467322501a2f7f03d98510f8ba7d83095cc1ebf
Bump it even more to follow semver
karasek/BTDB,klesta490/BTDB,Bobris/BTDB
BTDB/Properties/AssemblyInfo.cs
BTDB/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("BTD...
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("BTD...
mit
C#
eaf08ab2e5c569f1a42cb406986f5a637c5ff100
Add missing Id property
dnauck/License.Manager,dnauck/License.Manager
src/License.Manager.Core/ServiceModel/LicenseDto.cs
src/License.Manager.Core/ServiceModel/LicenseDto.cs
// // Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 with...
// // Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 with...
mit
C#
a509ae4965d667e06ef56d96120a2314916d5a81
Make SwaggerDocumentRegistration public, closes #1798
RSuter/NSwag,NSwag/NSwag,quails4Eva/NSwag,NSwag/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,NSwag/NSwag,NSwag/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag
src/NSwag.AspNetCore/SwaggerDocumentRegistration.cs
src/NSwag.AspNetCore/SwaggerDocumentRegistration.cs
//----------------------------------------------------------------------- // <copyright file="RegisteredSwaggerDocument.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsut...
//----------------------------------------------------------------------- // <copyright file="RegisteredSwaggerDocument.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsut...
mit
C#
5504c125e9dc2509338ad81a0342a17f5b9b0832
Update copyright year
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Properties/AssemblyInfo.cs
SteamAccountSwitcher/Properties/AssemblyInfo.cs
#region using System.Reflection; using System.Runtime.InteropServices; using System.Windows; #endregion // 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: AssemblyTitl...
#region using System.Reflection; using System.Runtime.InteropServices; using System.Windows; #endregion // 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: AssemblyTitl...
mit
C#
c8a89368e96974e1f3a83a9e108d24f4533d2704
Update ClientCapabilities type
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices.Protocol/LanguageServer/ClientCapabilities.cs
src/PowerShellEditorServices.Protocol/LanguageServer/ClientCapabilities.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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.PowerShell.EditorServices...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.PowerShell.EditorServices...
mit
C#
28562cfcaf6459d11b182e7e48c5560583508da0
rename overrides for impersonation (Core previously Base)
dfch/biz.dfch.CS.Sunrise.DaaS.UI,dfch/biz.dfch.CS.Sunrise.DaaS.UI,dfch/biz.dfch.CS.Sunrise.DaaS.UI
src/biz.dfch.CS.Sunrise.DaaS.UI/biz.dfch.CS.Sunrise.DaaS.UI.Server/DataSources/CoreData/_CoreDataService.lsml.cs
src/biz.dfch.CS.Sunrise.DaaS.UI/biz.dfch.CS.Sunrise.DaaS.UI.Server/DataSources/CoreData/_CoreDataService.lsml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Security.Server; using System.Data.Services.Client; using System.Web; namespace LightSwitchApplication { public partial class CoreDataService { // will hold th...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Security.Server; using System.Data.Services.Client; using System.Web; namespace LightSwitchApplication { public partial class CoreDataService { // will hold th...
apache-2.0
C#
2f64d176af1ea9c552b1173dccdc2a2f9652f835
add public to method
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Controller/Helpers.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Controller/Helpers.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Controller { class Helpers { #region helpers public static string UppercaseFirst(string s) { if (string.IsNullOrEmpty(s)) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Controller { class Helpers { } }
apache-2.0
C#
7e2328fcb4baba03c844afbb4bed12363f0680c1
Check to make sure we have jukebox songs before trying to play one.
winnitron/WinnitronLauncher,winnitron/WinnitronLauncher
Assets/Scripts/System/Jukebox.cs
Assets/Scripts/System/Jukebox.cs
using UnityEngine; using UnityEngine.UI; public class Jukebox : MonoBehaviour { public bool isPlaying; public Text artistName; public Text songName; private int currentTrack; private AudioSource source; protected void Start() { source = gameObject.GetComponent<AudioSource> (); NextTra...
using UnityEngine; using UnityEngine.UI; public class Jukebox : MonoBehaviour { public bool isPlaying; public Text artistName; public Text songName; private int currentTrack; private AudioSource source; protected void Start() { source = gameObject.GetComponent<AudioSource> (); NextTra...
mit
C#
495ed0348e8c2829a20c2fda0213f5ed2c5596f8
Fix comment
DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/Themes/VisualProfile.cs
Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/Themes/VisualProfile.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI { /// <summary> /// Profile container for the...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI { /// <summary> /// Theme scriptableObject fo...
mit
C#
b09193d4b012db206c5606b6e7624cc25f3e756e
Improve CrawlDecision
obender/abot,tru3d3v/abot,vladimir-pecanac-main/abot,xavivars/abot,RoninWest/abot,fyang0321/WebCrawler,coveo/abot,fyang0321/WebCrawler,sjdirect/abot,RoninWest/abot
Abot/Poco/CrawlDecision.cs
Abot/Poco/CrawlDecision.cs
 namespace Abot.Poco { public class CrawlDecision { public CrawlDecision() { Reason = ""; } public CrawlDecision(bool allow, string reason = "") { Allow = allow; Reason = reason; } /// <summary> /// Whet...
 namespace Abot.Poco { public class CrawlDecision { public CrawlDecision() { Reason = ""; } /// <summary> /// Whether to allow the crawl decision /// </summary> public bool Allow { get; set; } /// <summary> /// The reason the...
apache-2.0
C#
38f3fc43b4157c5541fed4b7d09b812cf5dfec56
Remove marker
mstrother/BmpListener
BMPClient/BGP/BGPHeader.cs
BMPClient/BGP/BGPHeader.cs
using System; using System.Linq; namespace BmpListener.BGP { public class BGPHeader { public BGPHeader(ArraySegment<byte> data) { Length = data.ToUInt16(16); Type = (BGP.MessageType)data.ElementAt(18); } public uint Length { get; } publi...
using System; using System.Linq; using Newtonsoft.Json; namespace BmpListener.BGP { public class BGPHeader { public BGPHeader(ArraySegment<byte> data) { Length = data.ToUInt16(16); Type = (BGP.MessageType)data.ElementAt(18); } [JsonIgnore] publi...
mit
C#
5ee474999c7c270525fc98e652b6a6238bb690b9
change example domain to .net
msoler8785/ExoMail
ExoMail.Smtp.Server/AppStart.cs
ExoMail.Smtp.Server/AppStart.cs
using ExoMail.Smtp.Interfaces; using ExoMail.Smtp.Network; using ExoMail.Smtp.Server.Authentication; using ExoMail.Smtp.Server.IO; using ExoMail.Smtp.Server.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.T...
using ExoMail.Smtp.Interfaces; using ExoMail.Smtp.Network; using ExoMail.Smtp.Server.Authentication; using ExoMail.Smtp.Server.IO; using ExoMail.Smtp.Server.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.T...
mit
C#
50c4a1c051802723233b73b9724b2cb15704471a
Fix Order Controller Name
4-of-3/cvgs,4-of-3/cvgs
CVGS/Views/Employee/Index.cshtml
CVGS/Views/Employee/Index.cshtml
@{ ViewBag.Title = "Employee Dashboard"; } <div class="jumbotron"> <h1>CVGS - Employee Dashboard</h1> <p class="lead">The Conestoga Virtual Game Store is an online games retailer, specializing in digital distribution as a way of allowing students to publish their own games.</p> </div> <div class="row" st...
@{ ViewBag.Title = "Employee Dashboard"; } <div class="jumbotron"> <h1>CVGS - Employee Dashboard</h1> <p class="lead">The Conestoga Virtual Game Store is an online games retailer, specializing in digital distribution as a way of allowing students to publish their own games.</p> </div> <div class="row" st...
mit
C#
447edf171e8d91cd1b23a412a18539cb5ffe5020
remove array
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
apache-2.0
C#
e244eb2731bdc2cdfd5e0e9633be88a3c6dce414
Fix merge issues
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Presentation.Web/Controllers/External/V2/ItContracts/ItContractContractTypeV2Controller.cs
Presentation.Web/Controllers/External/V2/ItContracts/ItContractContractTypeV2Controller.cs
using Core.ApplicationServices.OptionTypes; using Core.DomainModel.ItContract; using Presentation.Web.Infrastructure.Attributes; using Presentation.Web.Models.External.V2; using Presentation.Web.Models.External.V2.Request; using Presentation.Web.Models.External.V2.Response; using Presentation.Web.Models.External.V2.Re...
using Core.ApplicationServices.OptionTypes; using Core.DomainModel.ItContract; using Presentation.Web.Infrastructure.Attributes; using Presentation.Web.Models.External.V2; using Presentation.Web.Models.External.V2.Request; using Presentation.Web.Models.External.V2.Response; using Swashbuckle.Swagger.Annotations; using...
mpl-2.0
C#
a0b42d7463a3520200fea902eb92dc060b5ee3a7
Add AddFundsTest
jzebedee/lcapi
LCAPI/LcapiTests/AccountTest.cs
LCAPI/LcapiTests/AccountTest.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using LendingClub; using Xunit; namespace LcapiTests { public class AccountTest { private KeyValuePair<string, string> GetTestCredentials() { var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\...
using System.Collections.Generic; using System.IO; using System.Linq; using LendingClub; using Xunit; namespace LcapiTests { public class AccountTest { private KeyValuePair<string, string> GetTestCredentials() { var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\lcapi\LCAPI\te...
agpl-3.0
C#
36c8f2aead1b10079c74dc1d99f09e6ac83bc487
Fix version to 1.19
Seddryck/NBi,Seddryck/NBi
AssemblyInfo.cs
AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cdric L. Charlier")] ...
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cdric L. Charlier")] ...
apache-2.0
C#
2b86c6bdc495362c474b1abd6fa24030143b4e0e
add code in map
ser910/uwp
NetGames/Tank/Map/Map.cs
NetGames/Tank/Map/Map.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Tank.GameObject.Interface; using Tank.Map.Interface; namespace Tank.Map { public class Map: IMap { private List<IGameObject> _gameObjects; ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Tank.GameObject.Interface; using Tank.Map.Interface; namespace Tank.Map { public class Map: IMap { private List<IGameObject> _gameObjects; ...
mit
C#
69229ac63ed72e38fe785684bc750a7d3fd7bdb3
Add account link APIs
pierre3/LineMessagingApi,pierre3/LineMessagingApi
Line.Messaging/Webhooks/Link.cs
Line.Messaging/Webhooks/Link.cs
namespace Line.Messaging.Webhooks { /// <summary> /// Link Object /// </summary> public class Link { /// <summary> /// One of the following values to indicate whether the link was successful or not. /// <list type="bullet"> /// <item> /// <description>ok: Ind...
namespace Line.Messaging.Webhooks { /// <summary> /// Link Object /// </summary> public class Link { /// <summary> /// One of the following values to indicate whether the link was successful or not. /// <list type="bullet"> /// <item> /// <description>ok: Ind...
mit
C#
a51b3e2b5ae0e0f9c30847a12ed84c002a310dd6
Upgrade version from 5.5.0 to 5.5.1
lungisam/WebApi,chimpinano/WebApi,scz2011/WebApi,yonglehou/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,chimpinano/WebApi,LianwMS/WebApi,scz2011/WebApi,yonglehou/WebApi,lewischeng-ms/WebApi,congysu/WebApi,congysu/WebApi,abkmr/WebApi,abkmr/WebApi,LianwMS/WebApi
OData/src/CommonAssemblyInfo.cs
OData/src/CommonAssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if !BUILD_GENERATED_VERSION [assembly: AssemblyCompany("...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if !BUILD_GENERATED_VERSION [assembly: AssemblyCompany("...
mit
C#
9c7c16c4a4e91117147b06f94793a431a3f2c72e
remove redundant line
jeremycook/PickupMailViewer,jeremycook/PickupMailViewer
PickupMailViewer/MailWatcher.cs
PickupMailViewer/MailWatcher.cs
using Microsoft.AspNet.SignalR; using PickupMailViewer.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; namespace PickupMailViewer { public static class MailWatcher { private static FileSystemWatcher fsw; public static void Init() ...
using Microsoft.AspNet.SignalR; using PickupMailViewer.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; namespace PickupMailViewer { public static class MailWatcher { private static FileSystemWatcher fsw; public static void Init() ...
mit
C#
80dd0da0b32716601d7550dd5de1fcfd88d0f621
Refactor code
fredatgithub/PrimeSearch,fredatgithub/PrimeSearch,fredatgithub/PrimeSearch
PrimeToolsLibrary/PrimeTools.cs
PrimeToolsLibrary/PrimeTools.cs
using System; using System.Numerics; namespace PrimeToolsLibrary { public static class PrimeTools { public static string Negate(string verb, bool positive) { return positive ? verb : $"n'{verb} pas"; } public static bool IsPrime(ulong number) { if (number <= 1) { ret...
using System; using System.Numerics; namespace PrimeToolsLibrary { public static class PrimeTools { public static string Negate(string verb, bool positive) { return positive ? verb : $"n'{verb} pas"; } public static bool IsPrime(ulong number) { if (number <= 1) { ret...
mit
C#
55d6240e69200f14f087c9bb309fbd11611ef89a
Make CharacterCharacterSelectionAckPayload constructable
HelloKitty/Booma.Proxy
src/Booma.Packet.Game/Character/Payloads/Server/CharacterCharacterSelectionAckPayload.cs
src/Booma.Packet.Game/Character/Payloads/Server/CharacterCharacterSelectionAckPayload.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; namespace Booma.Proxy { //Syl: https://github.com/Sylverant/login_server/blob/d275702120ade56ce0b8b826a6c549753587d7e1/src/packets.h#L1350 /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; namespace Booma.Proxy { //Syl: https://github.com/Sylverant/login_server/blob/d275702120ade56ce0b8b826a6c549753587d7e1/src/packets.h#L1350 /// <summary> /// Ack payload...
agpl-3.0
C#
3a2e97edf73640bf95a283fdbc1de68d0fe37bbd
Test 2
jpdante/HTCSharp
HTCSharp.Server/Program.cs
HTCSharp.Server/Program.cs
using HTCSharp.Core; using HTCSharp.Core.Logging; using HTCSharp.Core.Logging.Loggers; using System; using System.IO; using System.Reflection; namespace HTCSharp.Server { public class Program { private static readonly ILog _Logger = LogManager.GetILog(MethodBase.GetCurrentMethod().DeclaringType); ...
using HTCSharp.Core; using HTCSharp.Core.Logging; using HTCSharp.Core.Logging.Loggers; using System; using System.IO; using System.Reflection; namespace HTCSharp.Server { public class Program { private static readonly ILog _Logger = LogManager.GetILog(MethodBase.GetCurrentMethod().DeclaringType); ...
mit
C#
c12f88a48c2a0a861e0646f8b663fe152989abbc
Convert DateTime objects to ISO format that is understood by DBUnit. DateTime objects are returned by Excel if cell is formatted for date display.
TNG/xtab-opener
XtabFileOpener/TableContainer/SpreadsheetTableContainer/ExcelTableContainer/ExcelTable.cs
XtabFileOpener/TableContainer/SpreadsheetTableContainer/ExcelTableContainer/ExcelTable.cs
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.Excel; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("XtabFileOpenerTest")] namespace XtabFileOpener.TableContainer.SpreadsheetTableContainer.ExcelTableContainer { /// ...
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.Excel; namespace XtabFileOpener.TableContainer.SpreadsheetTableContainer.ExcelTableContainer { /// <summary> /// Implementation of Table, that manages an Excel table /// </summary> internal...
apache-2.0
C#
16e6b65b51f47649de70cab608cae25b5edb21d9
Update constructor
Archie-Yang/PcscDotNet
src/PcscDotNet/PcscContext.cs
src/PcscDotNet/PcscContext.cs
using System; namespace PcscDotNet { public class PcscContext : IDisposable { private SCardContext _context; private readonly Pcsc _pcsc; private readonly IPcscProvider _provider; public bool IsDisposed { get; private set; } = false; public bool IsEstablished => _con...
using System; namespace PcscDotNet { public class PcscContext : IDisposable { private SCardContext _context; private readonly Pcsc _pcsc; private readonly IPcscProvider _provider; public bool IsDisposed { get; private set; } = false; public bool IsEstablished => _con...
mit
C#
8fdfda57d6cb173fd2dd60027e4efae90e3a47db
Simplify the operators
flagbug/Espera,punker76/Espera
Espera/Espera.Core/ReactiveHelpers.cs
Espera/Espera.Core/ReactiveHelpers.cs
using Rareform.Validation; using ReactiveMarrow; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace Espera.Core { public static class ReactiveHelpers { /// <summary> /// Takes the left observable and combines it with the latest value of the right observable....
using Rareform.Validation; using ReactiveMarrow; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace Espera.Core { public static class ReactiveHelpers { /// <summary> /// Takes the left observable and combines it with the latest value of the right observable....
mit
C#
f08b537bf2b8925a25e2b98562ec8b59ccdd8d35
Clean code
saidmarouf/Doccou,aloisdg/CountPages,aloisdg/Doccou
Counter/Document.cs
Counter/Document.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Counter.Documents; namespace Counter { /// <summary> /// Document is the class wrapping every other class in this library. /// If you are an user, everything you need come from here. /// </summary> public...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Counter.Documents; namespace Counter { /// <summary> /// Document is the class wrapping every other class in this library. /// If you are an user, everything you need come from here. /// </summary> public...
mit
C#
5273595dc6f9ee28eb20b4c6b8bd51dcc88d05f0
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
autofac/Autofac.Extras.NHibernate
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.NHibernate")] [assembly: ComVisible(false)]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.NHibernate")] [assembly: AssemblyDescription("Autofac Integration for NHibernate")] [assembly: ComVisible(false)]
mit
C#
fa0d8c8a12be4ba5e64ebd3d5047d1b4a5ad57d5
Bump for 1.4.
neitsa/PrepareLanding,neitsa/PrepareLanding
Properties/AssemblyInfo.cs
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("PrepareLanding")] [assembly: AssemblyDesc...
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("PrepareLanding")] [assembly: AssemblyDesc...
mit
C#
820f1285459a03595a73dd2cb03596996af610e6
Bump version to 0.9
FatturaElettronicaPA/FatturaElettronicaPA.Forms
Properties/AssemblyInfo.cs
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("FatturaElettronica.Forms")] [assembly: As...
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("FatturaElettronica.Forms")] [assembly: As...
bsd-3-clause
C#
3a31cd95015bc147b57e956e80a8b3537757f752
Fix a few for Example1
TabbedOut/websocket-sharp,pjc0247/websocket-sharp-unity,Liryna/websocket-sharp,microdee/websocket-sharp,zq513705971/WebSocketApp,prepare/websocket-sharp,zq513705971/WebSocketApp,jogibear9988/websocket-sharp,zhangwei900808/websocket-sharp,2Toad/websocket-sharp,zq513705971/WebSocketApp,sta/websocket-sharp,sinha-abhishek/...
Example1/Program.cs
Example1/Program.cs
using System; using System.Threading; namespace Example1 { public class Program { public static void Main (string [] args) { using (var streamer = new AudioStreamer ("ws://agektmr.node-ninja.com:3000/socket")) //using (var streamer = new AudioStreamer ("ws://localhost:3000/socket")) { ...
using System; using System.Threading; namespace Example1 { public class Program { public static void Main (string [] args) { using (var streamer = new AudioStreamer ("ws://agektmr.node-ninja.com:3000/socket")) //using (var streamer = new AudioStreamer ("ws://localhost:3000/socket")) { ...
mit
C#
d0016b4e1afcb3ab1df011ca4b63b3388cb7e680
Correct the namespace and add copyright message.
googleapis/google-api-dotnet-client,maha-khedr/google-api-dotnet-client,sqt-android/google-api-dotnet-client,eydjey/google-api-dotnet-client,liuqiaosz/google-api-dotnet-client,amit-learning/google-api-dotnet-client,joesoc/google-api-dotnet-client,shumaojie/google-api-dotnet-client,eshangin/google-api-dotnet-client,ajma...
Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ServiceDecorator/NewtonsoftObjectToJsonTest.cs
Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ServiceDecorator/NewtonsoftObjectToJsonTest.cs
/* Copyright 2010 Google 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.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
using System; using NUnit.Framework; namespace Google.Apis.Tools.CodeGen.Tests { [TestFixture()] public class NewtonsoftObjectToJsonTest { [Test()] public void TestCase () { Assert.Fail("Not tested yet"); } } }
apache-2.0
C#
7e8ea9917878e423652acb7e36d0656f88d21e9a
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
f11ff0b5798aa543c9a92c6b3d09676e2bc5d9df
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/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("storybrew editor")] [assembly: AssemblyDe...
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("storybrew editor")] [assembly: AssemblyDe...
mit
C#
3a6d5bca30b546b2fc1520827f80d75000a013e3
Revert "Gone UTF-8"
OlegJakushkin/AzureWebAppTest
site/mem.cshtml
site/mem.cshtml
@{ var amplitudeRequest = Request.Params["amplitude"]; var amplitudeValue = 1; var clear = int.TryParse(amplitudeRequest, out amplitudeValue); var errorMssage = "no amplitude provided, please input http://apmath4oj.azurewebsites.net/mem.cshtml?amplitude=666"; } <html> <head> <meta charset="utf-8"> <script src="...
@{ var amplitudeRequest = Request.Params["amplitude"]; var amplitudeValue = 1; var clear = int.TryParse(amplitudeRequest, out amplitudeValue); var errorMssage = "no amplitude provided, please input http://apmath4oj.azurewebsites.net/mem.cshtml?amplitude=5"; } <html> <head> <meta charset="utf-8"> <script src="h...
mit
C#
0dfa50af6ac32f7e397418efe7c6bad7775dbe98
Use extension.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq.Providers.CosmosDb.AspNet/UseCosmosDbGremlinQueryEnvironmentTransformation.cs
ExRam.Gremlinq.Providers.CosmosDb.AspNet/UseCosmosDbGremlinQueryEnvironmentTransformation.cs
using System; using ExRam.Gremlinq.Core; using ExRam.Gremlinq.Core.AspNet; using Microsoft.Extensions.Configuration; namespace ExRam.Gremlinq.Providers.CosmosDb.AspNet { internal sealed class UseCosmosDbGremlinQueryEnvironmentTransformation : IGremlinQueryEnvironmentTransformation { private readonly I...
using System; using ExRam.Gremlinq.Core; using ExRam.Gremlinq.Core.AspNet; using Microsoft.Extensions.Configuration; namespace ExRam.Gremlinq.Providers.CosmosDb.AspNet { internal sealed class UseCosmosDbGremlinQueryEnvironmentTransformation : IGremlinQueryEnvironmentTransformation { private readonly I...
mit
C#
2571549fdb42adf894bd11632aa9c16a4a47d36e
Remove button handler on Cancel.
dfkeenan/XenkoToolkit,dfkeenan/XenkoToolkit
Source/XenkoToolkit.Samples/XenkoToolkit.Samples.Game/Core/NavigationButtonHandler.cs
Source/XenkoToolkit.Samples/XenkoToolkit.Samples.Game/Core/NavigationButtonHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SiliconStudio.Core.Mathematics; using SiliconStudio.Xenko.Input; using SiliconStudio.Xenko.Engine; using SiliconStudio.Xenko.UI.Controls; using XenkoToolkit.Samples.Core; namespace XenkoToolkit.Sa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SiliconStudio.Core.Mathematics; using SiliconStudio.Xenko.Input; using SiliconStudio.Xenko.Engine; using SiliconStudio.Xenko.UI.Controls; using XenkoToolkit.Samples.Core; namespace XenkoToolkit.Sa...
mit
C#
0ccf7146c53ff11178e7a7a236a73c561becede3
Remove the ugly documentation button
Calvinverse/calvinverse.docs,Calvinverse/calvinverse.docs
src/index.cshtml
src/index.cshtml
IsLanding: true NoSidebar: true Order: 100 ShowInNavbar: true Title: Home --- <div class="installation"> </div> <div class="feature"> <div class="feature__item"> <h3 class="section__title">Infrastructure as code</h3> <p> All infrastructure resources can be created from ...
IsLanding: true NoSidebar: true Order: 100 ShowInNavbar: true Title: Home --- <div class="installation"> </div> <div class="feature"> <div class="feature__item"> <h3 class="section__title">Infrastructure as code</h3> <p> All infrastructure resources can be created from ...
apache-2.0
C#
683bb60402e45ac03c841791bcf677365ec7665a
Set taggings value to Count property
Brijen/lastfm,realworld666/lastfm
src/IF.Lastfm.Core/Objects/LastTag.cs
src/IF.Lastfm.Core/Objects/LastTag.cs
using System; using Newtonsoft.Json.Linq; namespace IF.Lastfm.Core.Objects { public class LastTag : ILastfmObject { #region Properties public string Name { get; set; } public Uri Url { get; set; } public int? Count { get; set; } public string RelatedTo { get...
using System; using Newtonsoft.Json.Linq; namespace IF.Lastfm.Core.Objects { public class LastTag : ILastfmObject { #region Properties public string Name { get; set; } public Uri Url { get; set; } public int? Count { get; set; } public string RelatedTo { get...
mit
C#
f199e1027987bd1208dc71cbdd99bc1a445d5249
Make agent test less brittle
darrencauthon/csharp-sparkpost,darrencauthon/csharp-sparkpost
src/SparkPost.Tests/UserAgentTests.cs
src/SparkPost.Tests/UserAgentTests.cs
using System; using Xunit; namespace SparkPost.Tests { public partial class ClientTests { public partial class UserAgentTests { private readonly Client.Settings settings; public UserAgentTests() { settings = new Client.Settings(); ...
using System; using Xunit; namespace SparkPost.Tests { public partial class ClientTests { public partial class UserAgentTests { private readonly Client.Settings settings; public UserAgentTests() { settings = new Client.Settings(); ...
apache-2.0
C#
c5a8b429835a82f4e331471d8fe7158ff65b39ec
Refactor assembly name in MainTests.
FloodProject/flood,FloodProject/flood,FloodProject/flood
src/Tools/RPCGen.Tests/RPCGenTests.cs
src/Tools/RPCGen.Tests/RPCGenTests.cs
using NUnit.Framework; using System; using System.IO; namespace RPCGen.Tests { [TestFixture] class RPCGenTests { [Test] public void MainTest() { string genDirectory = Path.Combine("..", "..", "gen", "RPCGen.Tests"); Directory.CreateDirectory(genDirectory);...
using Flood.Tools.RPCGen; using NUnit.Framework; using System; using System.IO; using System.Reflection; namespace RPCGen.Tests { [TestFixture] class RPCGenTests { [Test] public void MainTest() { string genDirectory = Path.Combine("..", "..", "gen", "RPCGen.Tests"); ...
bsd-2-clause
C#
103226e5d3969b6e767efe9e7d29ff326e2b6cc7
Make the internal game object settable
principal-academy/fader,principal-academy/fader
Assets/Fader/Scripts/UI/Fader.cs
Assets/Fader/Scripts/UI/Fader.cs
using UnityEngine; using System.Collections; public enum FadeDirection { In = 1, Out = -1 } /// <summary> /// Fades the screen. /// </summary> public class Fader : MonoBehaviour { /// <summary> /// Texture to be used to draw on the screen during fading. /// </summary> public Texture2D texture; /// <summary> ...
using UnityEngine; using System.Collections; public enum FadeDirection { In = 1, Out = -1 } /// <summary> /// Fades the screen. /// </summary> public class Fader : MonoBehaviour { /// <summary> /// Texture to be used to draw on the screen during fading. /// </summary> public Texture2D texture; /// <summary> ...
apache-2.0
C#
134ec9acd60fe566a09a18ed8c73e470c8422794
Update AssemblyInfo.cs
agaboduarte/Cielo-API-3.0
Cielo/Properties/AssemblyInfo.cs
Cielo/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("Ci...
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("Ci...
mit
C#
57265ebcdce2bf6d2fe7f235945a145ed509c2d6
Fix missing attribute on IDevice.Clear
danpierce1/Colore,CoraleStudios/Colore,WolfspiritM/Colore
Corale.Colore/Core/IDevice.cs
Corale.Colore/Core/IDevice.cs
// --------------------------------------------------------------------------------------- // <copyright file="IDevice.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and ass...
// --------------------------------------------------------------------------------------- // <copyright file="IDevice.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and ass...
mit
C#
877d702a8276934fe596fd2143670ce1c8cdfa32
Update PreserveXamarinCommunityToolkit.cs (#683)
FormsCommunityToolkit/FormsCommunityToolkit
src/CommunityToolkit/Xamarin.CommunityToolkit/build/PreserveXamarinCommunityToolkit.cs
src/CommunityToolkit/Xamarin.CommunityToolkit/build/PreserveXamarinCommunityToolkit.cs
// <auto-generated/> using Xamarin.CommunityToolkit.Helpers; [assembly: PreserveToolkit]
using Xamarin.CommunityToolkit.Helpers; [assembly: PreserveToolkit]
mit
C#
270f007e0e02670aec878addb8c4a79a33947f0f
fix test - now more specific
StoikoNeykov/OnlineShop,StoikoNeykov/OnlineShop
OnlineShop/LibsTests/OnlineShop.Libs.Data.Tests/ContractsTests/IOnlineShopDbContext_Should.cs
OnlineShop/LibsTests/OnlineShop.Libs.Data.Tests/ContractsTests/IOnlineShopDbContext_Should.cs
using NUnit.Framework; using OnlineShop.Libs.Data.Contracts; using OnlineShop.Libs.Models.Contracts; using System; using System.Linq; using System.Reflection; namespace OnlineShop.Libs.Data.Tests.ContractsTests { [TestFixture] public class IOnlineShopDbContext_Should { [Test] public void H...
using NUnit.Framework; using OnlineShop.Libs.Data.Contracts; using OnlineShop.Libs.Models.Contracts; using System; using System.Linq; using System.Reflection; namespace OnlineShop.Libs.Data.Tests.ContractsTests { [TestFixture] public class IOnlineShopDbContext_Should { [Test] public void H...
mit
C#
af8b13ac0ef2270b171a1b8e2677fcfc93ab1f40
enable sensitive data logging during data test to help determine data errors
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
server/src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs
server/src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs
using AutoMapper; using FilterLists.Data; using FilterLists.Services.FilterList; using FilterLists.Services.Language; using FilterLists.Services.License; using FilterLists.Services.Maintainer; using FilterLists.Services.Seed; using FilterLists.Services.Software; using FilterLists.Services.Syntax; using FilterLists.Ser...
using AutoMapper; using FilterLists.Data; using FilterLists.Services.FilterList; using FilterLists.Services.Language; using FilterLists.Services.License; using FilterLists.Services.Maintainer; using FilterLists.Services.Seed; using FilterLists.Services.Software; using FilterLists.Services.Syntax; using FilterLists.Ser...
mit
C#
7d2ae3267cf20958b25854b1022de167fc6fe4b8
Bump NuGet to 2.14
foxbot/Discord.Addons.EmojiTools,foxbot/Discord.Addons.EmojiTools
build.cake
build.cake
#addin nuget:?package=NuGet.Core&version=2.14.0 #addin "Cake.ExtendedNuGet" var MyGetKey = EnvironmentVariable("MYGET_KEY"); string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER"); string Branch = EnvironmentVariable("TRAVIS_BRANCH"); ReleaseNotes Notes = null; Task("Restore") .Does(() => { var setti...
#addin nuget:?package=NuGet.Core&version=2.12.0 #addin "Cake.ExtendedNuGet" var MyGetKey = EnvironmentVariable("MYGET_KEY"); string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER"); string Branch = EnvironmentVariable("TRAVIS_BRANCH"); ReleaseNotes Notes = null; Task("Restore") .Does(() => { var setti...
isc
C#
ec7e1a8cd375b5f36227d7ffc980543096a0c6c8
Add GetPrivateMessages
Jinivus/RedditSharp,angelotodaro/RedditSharp,SirCmpwn/RedditSharp,pimanac/RedditSharp,justcool393/RedditSharp-1,tomnolan95/RedditSharp,epvanhouten/RedditSharp,RobThree/RedditSharp,theonlylawislove/RedditSharp,CrustyJew/RedditSharp,nyanpasudo/RedditSharp,ekaralar/RedditSharpWindowsStore,chuggafan/RedditSharp-1,IAmAnubha...
RedditSharp/AuthenticatedUser.cs
RedditSharp/AuthenticatedUser.cs
using Newtonsoft.Json.Linq; using Newtonsoft.Json; namespace RedditSharp { public class AuthenticatedUser : RedditUser { private const string ModeratorUrl = "/reddits/mine/moderator.json"; private const string UnreadMessagesUrl = "/message/unread.json?mark=true&limit=25"; private const...
using Newtonsoft.Json.Linq; using Newtonsoft.Json; namespace RedditSharp { public class AuthenticatedUser : RedditUser { private const string ModeratorUrl = "/reddits/mine/moderator.json"; private const string UnreadMessagesUrl = "/message/unread.json?mark=true&limit=25"; private const...
mit
C#
d7228af144358da09b4991dd4f31f8acd6713423
Update ParsingException.cs
tuttomax/IniSharp
IniSharp/Exceptions/ParsingException.cs
IniSharp/Exceptions/ParsingException.cs
namespace IniSharp.Exceptions { internal class ParsingException : Exception { public ParsingException() { } public ParsingException(string message) : base(message) { } } }
namespace IniSharp.Exceptions { internal class ParsingException : Exception { public ParsingException() { } public ParsingException(string message) : base(message) { } } }
mit
C#
0b6f91b094e9c29dbeff1fb27974b582f2f34d0a
Fix unpredictable static prop initialization timing on Mono
FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Payload.Serializer
src/FreecraftCore.Serializer.API/Reflection/LambdabasedDeserializationPrototyeFactory.cs
src/FreecraftCore.Serializer.API/Reflection/LambdabasedDeserializationPrototyeFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.InteropServices; using System.Threading; namespace FreecraftCore.Serializer { public class LambdabasedDeserializationPrototyeFactory : IDeserializationPrototypeFactory { private static IDictionar...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.InteropServices; using System.Threading; namespace FreecraftCore.Serializer { public class LambdabasedDeserializationPrototyeFactory : IDeserializationPrototypeFactory { private static IDictionar...
agpl-3.0
C#
39e4ad1acd8e32920e1a6f8b16684d7c8d954ea6
Correct typo in process name Analyse_CountRecordDefinitionOccurrences
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade.Core/Base/Addml/Processes/A_04_AnalyseCountRecordDefinitionOccurences.cs
src/Arkivverket.Arkade.Core/Base/Addml/Processes/A_04_AnalyseCountRecordDefinitionOccurences.cs
using System.Collections.Generic; using Arkivverket.Arkade.Core.Base.Addml.Definitions; using Arkivverket.Arkade.Core.Resources; using Arkivverket.Arkade.Core.Testing; using Arkivverket.Arkade.Core.Util; namespace Arkivverket.Arkade.Core.Base.Addml.Processes { public class A_04_AnalyseCountRecordDefinitionOccurenc...
using System.Collections.Generic; using Arkivverket.Arkade.Core.Base.Addml.Definitions; using Arkivverket.Arkade.Core.Resources; using Arkivverket.Arkade.Core.Testing; using Arkivverket.Arkade.Core.Util; namespace Arkivverket.Arkade.Core.Base.Addml.Processes { public class A_04_AnalyseCountRecordDefinitionOccurenc...
agpl-3.0
C#
a1b9a4dc91aa75c4bd67eb931b4e58beec82e810
Set accordion panels to be default collapsed
mmichaels01/umbraco-bootstrap-accordion-editor,mmichaels01/umbraco-bootstrap-accordion-editor,mmichaels01/umbraco-bootstrap-accordion-editor
app/views/bs_accordion.cshtml
app/views/bs_accordion.cshtml
@inherits Umbraco.Web.Mvc.UmbracoViewPage<dynamic> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" @AccordionHelper() href="#collapse-@Model.UniqueId">@Model.Header </a> </h4> </div> <div id="collapse-@Model.Unique...
@inherits Umbraco.Web.Mvc.UmbracoViewPage<dynamic> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" @AccordionHelper() href="#collapse-@Model.UniqueId">@Model.Header </a> </h4> </div> <div id="collapse-@Model.Unique...
mit
C#
e322493d5ff170a9c347be6a2b15537f178b690d
Fix exitcommand shortmessage
attemoi/MoistureBot
CoreCommandParser/ExitCommand.cs
CoreCommandParser/ExitCommand.cs
using System; using System.Threading; using Mono.Options; using MoistureBot.Config; using Mono.Addins; using System.Linq; using System.Collections.Generic; namespace MoistureBot { [ConsoleCommand( Name = "exit", Description = "Disconnect from Steam and exit program.", ShortDescription = "Disconn...
using System; using System.Threading; using Mono.Options; using MoistureBot.Config; using Mono.Addins; using System.Linq; using System.Collections.Generic; namespace MoistureBot { [ConsoleCommand( Name = "exit", Description = "Disconnect bot from Steam and exit program.", ShortDescription = "Dis...
mit
C#
cb60bbc12a9c06ef6f8bd1bd1e508e8d72c493db
Fix notifyicon popups
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Popup.cs
SteamAccountSwitcher/Popup.cs
#region using System.Windows; #endregion namespace SteamAccountSwitcher { internal class Popup { public static MessageBoxResult Show(string text, MessageBoxButton btn = MessageBoxButton.OK, MessageBoxImage img = MessageBoxImage.Information, MessageBoxResult defaultbtn = MessageBoxResult....
#region using System.Windows; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class Popup { public static MessageBoxResult Show(string text, MessageBoxButton btn = MessageBoxButton.OK, MessageBoxImage img = MessageBoxImage.Information, MessageB...
mit
C#
7225629b8c15b92c8a40e34d2ae0768ac39d31e7
Refactor Callback
DotNetAnalyzers/WpfAnalyzers
WpfAnalyzers/Helpers/Callback.cs
WpfAnalyzers/Helpers/Callback.cs
namespace WpfAnalyzers { using System; using System.Threading; using Gu.Roslyn.AnalyzerExtensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; internal static class Callback { internal static bool TryGetTarget(ArgumentSyntax callback, QualifiedType call...
namespace WpfAnalyzers { using System.Threading; using Gu.Roslyn.AnalyzerExtensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; internal static class Callback { internal static bool TryGetName(ArgumentSyntax callback, QualifiedType callbackSymbol, Semantic...
mit
C#
5a1998552d5fed9782d53d502884ee5c8bb1e6a1
Fix indentation
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Zk/Views/Account/Register.cshtml
Zk/Views/Account/Register.cshtml
@{ ViewBag.Title = "Registreer je vandaag bij de Oogstplanner"; } <div class="flowtype-area"> <!-- START RESPONSIVE RECTANGLE LAYOUT --> <!-- Top bar --> <div id="top"> </div> <!-- Fixed main screen --> <div id="login" class="bg imglogin"> <div class="row"> <div class="mainbox col-md-12 col-sm-12 col-xs-12"...
@{ ViewBag.Title = "Registreer je vandaag bij de Oogstplanner"; } <div class="flowtype-area"> <!-- START RESPONSIVE RECTANGLE LAYOUT --> <!-- Top bar --> <div id="top"> </div> <!-- Fixed main screen --> <div id="login" class="bg imglogin"> <div class="row"> <div class="mainbox col-md-12 col-sm-12 col-xs-12...
mit
C#
40e961c6c93286e12df7875a35abba185dc37f3b
Update AdminController.cs
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/AdminController.cs
Battery-Commander.Web/Controllers/AdminController.cs
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class AdminController : Cont...
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class AdminController : Cont...
mit
C#
031e1410b90c9dad40c13814c0e84d1f7b1d1cb9
store only one empty array
AutoMapper/AutoMapper,lbargaoanu/AutoMapper,BlaiseD/AutoMapper,mjalil/AutoMapper,gentledepp/AutoMapper,AutoMapper/AutoMapper
src/AutoMapper/Configuration/Conventions/SourceToDestinationNameMapperAttributesMember.cs
src/AutoMapper/Configuration/Conventions/SourceToDestinationNameMapperAttributesMember.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace AutoMapper.Configuration.Conventions { public class SourceToDestinationNameMapperAttributesMember : ISourceToDestinationNameMapper { private static readonly SourceMember[] Empty = new SourceMember[0...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace AutoMapper.Configuration.Conventions { public class SourceToDestinationNameMapperAttributesMember : ISourceToDestinationNameMapper { private readonly Dictionary<TypeDetails, SourceMember[]> allSourc...
mit
C#
be8d8e021087df92fb4a1768f67e1bf7ec6a394d
change api url
fguini/leathergoods,fguini/leathergoods,fguini/leathergoods
Shared/Framework/AppSettings.cs
Shared/Framework/AppSettings.cs
using System; namespace Framework { public static class AppSettings { public static string Env { get { return Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"); } } public static string ConnectionString { ...
using System; namespace Framework { public static class AppSettings { public static string Env { get { return Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"); } } public static string ConnectionString { ...
mit
C#
578a67608f87bcd71bddc7190b52294871919e32
Add sorted list
caronyan/CSharpRecipe
CSharpRecipe/Recipe.ClassAndGeneric/ListExtension.cs
CSharpRecipe/Recipe.ClassAndGeneric/ListExtension.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Recipe.ClassAndGeneric { static class ListExtension { public static IEnumerable<T> GetAll<T>(this List<T> myList, T searchValue) => myList.Where(t => t.Equals(searchValue)); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Recipe.ClassAndGeneric { static class ListExtension { public static IEnumerable<T> GetAll<T>(this List<T> myList, T searchValue) => myList.Where(t => t.Equals(searchValue)); ...
mit
C#
5c2238f5005d4da240ee5b0d6f38cfadecb0f07b
Break out StoreMediaOptions.GetFilePath
orand/Xamarin.Mobile,xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,nexussays/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,moljac/Xamarin.Mobile
Shared/Media/MediaExtensions.cs
Shared/Media/MediaExtensions.cs
using System; using System.IO; namespace Xamarin.Media { internal static class MediaExtensions { internal static void VerifyOptions (this StoreMediaOptions self) { if (self == null) throw new ArgumentNullException ("options"); //if (!Enum.IsDefined (typeof(MediaFileStoreLocation), options.Location)) ...
using System; using System.IO; namespace Xamarin.Media { internal static class MediaExtensions { internal static void VerifyOptions (this StoreMediaOptions self) { if (self == null) throw new ArgumentNullException ("options"); //if (!Enum.IsDefined (typeof(MediaFileStoreLocation), options.Location)) ...
apache-2.0
C#
553169098369f48158835c55168863041f898dec
Add tricky cases to test class: - nullable primitives - non-nullable custom structs - nullable structs
EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils
ValueUtilsTest/SampleClass.cs
ValueUtilsTest/SampleClass.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ValueUtilsTest { struct CustomStruct { public int Bla; } class SampleClass { public SampleEnum AnEnum; public int? NullableField; pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ValueUtilsTest { class SampleClass { public SampleEnum AnEnum; public string AutoPropWithPrivateBackingField { get; set; } } }
apache-2.0
C#
1245a2fe5c16335f4ec61404ac76af6da50a4688
Include game_extra_info
thecocce/SteamDatabaseBackend,thecocce/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend
Steam/AccountInfo.cs
Steam/AccountInfo.cs
/* * Copyright (c) 2013-2015, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ using System; using SteamKit2; using SteamKit2.Internal; using System.Linq; namespace SteamDatabaseBackend { class AccountInfo : SteamHandler ...
/* * Copyright (c) 2013-2015, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ using System; using SteamKit2; using SteamKit2.Internal; using System.Linq; namespace SteamDatabaseBackend { class AccountInfo : SteamHandler ...
bsd-3-clause
C#
d0f3ee7d696285732f80ec83777ddafd7bcf8871
Improve tests
NimaAra/Easy.Common
Easy.Common.Tests.Unit/Ensure/EnsuringExistsTests.cs
Easy.Common.Tests.Unit/Ensure/EnsuringExistsTests.cs
namespace Easy.Common.Tests.Unit.Ensure { using System.IO; using NUnit.Framework; using Shouldly; using Ensure = Easy.Common.Ensure; [TestFixture] internal sealed class EnsuringExistsTests { [Test] public void When_ensuring_directoryInfo_exists() { strin...
namespace Easy.Common.Tests.Unit.Ensure { using System.IO; using NUnit.Framework; using Shouldly; using Ensure = Easy.Common.Ensure; [TestFixture] internal sealed class EnsuringExistsTests { [Test] public void When_ensuring_directoryInfo_exists() { var n...
mit
C#
c52a083b040460c185a1931add2944fe714548d6
bump minor version
danbarua/NEventSocket,pragmatrix/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NEventSocket")] [assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")] [assembly: AssemblyCompany("Dan Barua")] [assembly: AssemblyProduct("NEventSocket")] [assembly: AssemblyCopyright("Copyright (C...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NEventSocket")] [assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")] [assembly: AssemblyCompany("Dan Barua")] [assembly: AssemblyProduct("NEventSocket")] [assembly: AssemblyCopyright("Copyright (C...
mpl-2.0
C#
b8895588f923226b597dd43cdd7a392058592082
Move Date properties from the type string to DateTime
aloisdg/SharpResume
SharpResume/Resume.cs
SharpResume/Resume.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpResume { public class Resume { public Basics Basics { get; set; } public Work[] Work { get; set; } public Volunteer[] Volunteer { get; set; } public Education[] Education { get; set; } public Award[] Award...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpResume { public class Resume { public Basics Basics { get; set; } public Work[] Work { get; set; } public Volunteer[] Volunteer { get; set; } public Education[] Education { get; set; } public Award[] Award...
mit
C#
febed1a277d5923bd948ed41cf8d7720803d0693
remove unnecessary datetimeoffset null check
anthonyreilly/NetCoreForce
src/NetCoreForce.Client/ExtensionMethods.cs
src/NetCoreForce.Client/ExtensionMethods.cs
using System; using System.Collections.Generic; namespace NetCoreForce.Client { public static class ExtensionMethods { /// <summary> /// Convert DateTimeOffset to a Salesforce-compatible string /// </summary> public static string ToSfDateString(this DateTimeOffset value) ...
using System; using System.Collections.Generic; namespace NetCoreForce.Client { public static class ExtensionMethods { /// <summary> /// Convert DateTimeOffset to a Salesforce-compatible string /// </summary> public static string ToSfDateString(this DateTimeOffset value) ...
mit
C#
9791f5e2448ae06e38be33307c1212e7a0fd183d
Refresh process (#8459)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Servers/IIS/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/BackwardsCompatibilityTests.cs
src/Servers/IIS/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/BackwardsCompatibilityTests.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.Testing.xunit; using Xunit; using Xunit.Sdk; namespace Microsoft.Asp...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.Testing.xunit; using Xunit; using Xunit.Sdk; namespace Microsoft.Asp...
apache-2.0
C#
1c59b76abf2cd2db9eb760e64c55e7521ac25097
Remove unnecessary code.
davkean/roslyn,swaroop-sridhar/roslyn,TyOverby/roslyn,natidea/roslyn,tmeschter/roslyn,TyOverby/roslyn,heejaechang/roslyn,KiloBravoLima/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,michalhosala/roslyn,eriawan/roslyn,KirillOsenkov/roslyn,natidea/roslyn,dotnet/roslyn,tmat/roslyn,MichalStrehovsky/roslyn,genlu/roslyn,bartd...
src/EditorFeatures/Core/Implementation/CommentSelection/AbstractCommentUncommentService.cs
src/EditorFeatures/Core/Implementation/CommentSelection/AbstractCommentUncommentService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.CodeAnaly...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.CodeAnaly...
mit
C#
370df0f578cc8e420e4a6099c5b7aba6188ffbfc
add interface to page service
Adiqq/aurelia-docker-dotnet,Adiqq/aurelia-docker-dotnet,Adiqq/aurelia-docker-dotnet,Adiqq/aurelia-docker-dotnet
API/src/WebAPI/Services/PageService.cs
API/src/WebAPI/Services/PageService.cs
using Application.Commands; using Application.Queries; using Infrastructure.Core; using Infrastructure.Data.Model; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebAPI.Services { public interface IPageService { Page GetPageByName(string name); ...
using Application.Commands; using Application.Queries; using Infrastructure.Core; using Infrastructure.Data.Model; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebAPI.Services { public interface IPageService { Page GetPageByName(string name); ...
apache-2.0
C#
a5c849d0e25ae25befb5eccd8bd828336879a97c
Update Main.cs
ParkitectNexus/GuestCam
GuestCam/Main.cs
GuestCam/Main.cs
using Parkitect.UI; using UnityEngine; namespace GuestCam { public class Main : IMod { private GameObject _gameObject; #region Implementation of IMod public void onEnabled() { //NotificationBar.Instance.addNotification("enabled!"); if (_g...
using Parkitect.UI; using UnityEngine; namespace GuestCam { public class Main : IMod { private GameObject _gameObject; #region Implementation of IMod public void onEnabled() { //NotificationBar.Instance.addNotification("enabled!"); if (_g...
mit
C#
76d386694f5e9042e289d6fd0f5414fdd8469552
return array
NumericLab/ode-plotter
RK/Solver.cs
RK/Solver.cs
using System; using System.Globalization; using System.IO; namespace RK { public static class Solver { static double[] SolveOnePoint(double tInit, double[] yInit, double epsilon, double delta, double timePeriod, double timeStep) { var rk4 = new Gravitation...
using System; using System.Globalization; using System.IO; namespace RK { public static class Solver { static void SolveOnePoint(double tInit, double[] yInit, double epsilon, double delta, double timePeriod, double timeStep) { var rk4 = new GravitationalMo...
mit
C#
098c957dcbd046bb36999c8aa336f71a3a164edb
bump ver
AntonyCorbett/OnlyT,AntonyCorbett/OnlyT
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.1.0.62")]
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.1.0.61")]
mit
C#
2bc72a3394d8966a2f44cbf851d25b9f224abb93
Use shortened attribute names
shiftkey-tester-org-blah-blah/octokit.net,octokit-net-test-org/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,shiftkey/octokit.net,SamTheDev/octokit.net,shiftkey/octokit.net,mminns/octokit.net,SmithAndr/octokit.net,octokit/octokit.net,rlugojr/octokit.net,alfhenrik/octokit.net,adamralph/octokit.net,devkhan/octoki...
SolutionInfo.cs
SolutionInfo.cs
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Octokit")] [assembly: AssemblyVersion("0.14.0")] [assembly: AssemblyFileVersion("0.14.0")] [assembly: ComVisible(false)] namespace System { internal static class AssemblyVersionInformation { in...
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("Octokit")] [assembly: AssemblyVersionAttribute("0.14.0")] [assembly: AssemblyFileVersionAttribute("0.14.0")] [assembly: ComVisibleAttribute(false)] namespace System { internal static class Asse...
mit
C#
96a8b74f90a06c6cc5637e6085131b2a42bc6c2b
fix typo
greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d
HappyFunTimes/PlayerSpawner.cs
HappyFunTimes/PlayerSpawner.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using HappyFunTimes; namespace HappyFunTimes { public class SpawnInfo { public NetPlayer netPlayer; public string name; }; [AddComponentMenu("HappyFunTimes/PlayerSpawner")] public class PlayerSpawner : MonoBehaviour ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using HappyFunTimes; namespace HappyFunTimes { public class SpawnInfo { public NetPlayer netPlayer; public string name; }; [AddComponentMenu("HappyFunTimes/PlayerSpawner")] public class PlayerSpawner : MonoBehaviour ...
bsd-3-clause
C#
257d6bc8a674ecb8a802b8053e7e0163397acbb5
Use auto-property on GlobalStorage.cs
felladrin/unity3d-mvc
Scripts/GlobalStorage.cs
Scripts/GlobalStorage.cs
using UnityEngine; public class GlobalStorage : MonoBehaviour { // Here you declare any other variables you // want to make accessible through all scenes. // For example: Health, Score, Kills. #region Singleton definition public static GlobalStorage Instance { get; private set; } void GrantSingleInstance () ...
using UnityEngine; public class GlobalStorage : MonoBehaviour { // Here you declare any other variables you // want to make accessible through all scenes. // For example: Health, Score, Kills. #region Singleton definition static GlobalStorage instance; public static GlobalStorage Instance { get { return ins...
mit
C#
5de6f908b2ab2642428e9cc84ecc0e7990201616
Update conditional code blocks with new versions
CosmosOS/XSharp,CosmosOS/XSharp,CosmosOS/XSharp
source/XSharp.Launch/RuntimeHelper.cs
source/XSharp.Launch/RuntimeHelper.cs
#if NETCOREAPP2_0 using System.Runtime.InteropServices; #endif namespace XSharp.Launch { internal static class RuntimeHelper { public static bool IsWindows { get { #if NETCOREAPP2_0 return RuntimeInformation.IsOSPlatform(OSPlatform.Windows); #elif NET472...
#if NETCOREAPP2_1 using System.Runtime.InteropServices; #endif namespace XSharp.Launch { internal static class RuntimeHelper { public static bool IsWindows { get { #if NETCOREAPP2_1 return RuntimeInformation.IsOSPlatform(OSPlatform.Windows); #elif NET471...
bsd-3-clause
C#
86dd6d24230549ad44becc05be907307ea7f12ef
Add EE.Utils.NoAwait
Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x
unity/Runtime/Core/Utils.cs
unity/Runtime/Core/Utils.cs
using System; using System.Threading.Tasks; namespace EE { public static class Utils { public static string ToString(bool value) { return value ? "true" : "false"; } public static bool ToBool(string value) { return value == "true"; } public static v...
namespace EE { public static class Utils { public static string ToString(bool value) { return value ? "true" : "false"; } public static bool ToBool(string value) { return value == "true"; } } }
mit
C#
b6ea350bd20879fcf9e96f20d6ec0175d50bff94
Add test for authorization requirement in TraktUserFollowUserRequest
henrikfroehling/TraktApiSharp
Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserFollowUserRequestTests.cs
Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserFollowUserRequestTests.cs
namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless; using TraktApiSharp.Experimental.Requests.Users.OAuth; using TraktApiSharp.Objects.Post.Users.R...
namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless; using TraktApiSharp.Experimental.Requests.Users.OAuth; using TraktApiSharp.Objects.Post.Users.R...
mit
C#
b24cbd9a3908e9490f5835b2a9b53b395b60afe1
Update validation.cake
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
.ci/validation.cake
.ci/validation.cake
#addin nuget:?package=Xamarin.Nuget.Validator&version=1.1.1 using Xamarin.Nuget.Validator; // SECTION: Arguments and Settings var ROOT_DIR = (DirectoryPath)Argument ("root", "."); var ROOT_OUTPUT_DIR = ROOT_DIR.Combine ("output"); var PACKAGE_NAMESPACES = Argument ("n", Argument ("namespaces", "")) .Split (new [...
#addin nuget:?package=Xamarin.Nuget.Validator&version=1.1.1 using Xamarin.Nuget.Validator; // SECTION: Arguments and Settings var ROOT_DIR = (DirectoryPath)Argument ("root", "."); var ROOT_OUTPUT_DIR = ROOT_DIR.Combine ("output"); var PACKAGE_NAMESPACES = Argument ("n", Argument ("namespaces", "")) .Split (new [...
mit
C#
657acaefc7d1041b0fee2783759dbe7035fa29fa
add Model param back to CategoriesOptions
watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk
Scripts/Services/NaturalLanguageUnderstanding/V1/Model/CategoriesOptions.cs
Scripts/Services/NaturalLanguageUnderstanding/V1/Model/CategoriesOptions.cs
/** * (C) Copyright IBM Corp. 2018, 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/** * (C) Copyright IBM Corp. 2018, 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
C#
005a9f9411cf877621a640c1181d6d7523555529
Fix NgBy when used with IWebElement
sergueik/protractor-net,JonWang0/protractor-net,bbaia/protractor-net
src/Protractor/JavaScriptBy.cs
src/Protractor/JavaScriptBy.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using OpenQA.Selenium; using OpenQA.Selenium.Internal; namespace Protractor { internal class JavaScriptBy : By { private string script; private object[] args; public JavaScriptBy(strin...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using OpenQA.Selenium; namespace Protractor { internal class JavaScriptBy : By { private string script; private object[] args; public JavaScriptBy(string script, params object[] args) ...
mit
C#
73ffbf81423970358f210231bbd7e3ad66f92163
Remove unnecessary using.
osu-RP/osu-RP,NeoAdonis/osu,RedNesto/osu,DrabWeb/osu,smoogipoo/osu,tacchinotacchi/osu,smoogipoo/osu,EVAST9919/osu,naoey/osu,naoey/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,DrabWeb/osu,ZLima12/osu,Drezi126/osu,ppy/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,pepp...
osu.Game.Modes.Taiko/Objects/TaikoHitObject.cs
osu.Game.Modes.Taiko/Objects/TaikoHitObject.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps.Timing; using osu.Game.Database; using osu.Game.Modes.Objects; namespace osu.Game.Modes.Taiko.Objects { public class TaikoHitObjec...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps.Samples; using osu.Game.Beatmaps.Timing; using osu.Game.Database; using osu.Game.Modes.Objects; namespace osu.Game.Modes.Taiko.Objects ...
mit
C#
b468f061f176ce4103f4f11680a91957b0d791e2
Remove unused using
UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu
osu.Game/Screens/Menu/MenuLogoVisualisation.cs
osu.Game/Screens/Menu/MenuLogoVisualisation.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 osuTK.Graphics; using osu.Game.Skinning; using osu.Game.Online.API; using osu.Game.Users; using osu.Framework.Allocation; using osu.Framework.Bindables; namespace...
// 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 osuTK.Graphics; using osu.Game.Skinning; using osu.Game.Online.API; using osu.Game.Users; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu....
mit
C#
9a7a2cffc2e2d8b001804c68d0425e03c3ee1b52
Allow database file path to be passed as the first command line argument to the app
chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker
app/Desktop/Arguments.cs
app/Desktop/Arguments.cs
using System; using DHT.Utils.Logging; namespace DHT.Desktop { sealed class Arguments { private static readonly Log Log = Log.ForType<Arguments>(); public static Arguments Empty => new(Array.Empty<string>()); public string? DatabaseFile { get; } public ushort? ServerPort { get; } public string? ServerToke...
using System; using DHT.Utils.Logging; namespace DHT.Desktop { sealed class Arguments { private static readonly Log Log = Log.ForType<Arguments>(); public static Arguments Empty => new(Array.Empty<string>()); public string? DatabaseFile { get; } public ushort? ServerPort { get; } public string? ServerToke...
mit
C#