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
d07a8b86520634af23da8a5e0ba2e044c569bd23
Set window controls to right color
Esri/arcgis-runtime-demos-dotnet
src/OfflineWorkflowsSample/OfflineWorkflowsSample/Controls/CustomAppTitleBar.xaml.cs
src/OfflineWorkflowsSample/OfflineWorkflowsSample/Controls/CustomAppTitleBar.xaml.cs
using System.ComponentModel; using System.Runtime.CompilerServices; using Windows.UI; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 namespace OfflineWorkflowSample { public ...
using System.ComponentModel; using System.Runtime.CompilerServices; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 namespace OfflineWorkflowSample { public sealed partial class CustomAppTitleBar : UserContro...
apache-2.0
C#
c2cf6cb51b66e98e3f41cb856e02780730f70e55
Fix exception when no search service has been created
rajashekarusa/PnP-Sites-Core,Oaden/PnP-Sites-Core,m-carter1/PnP-Sites-Core,phillipharding/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,Puzzlepart/PnP-Sites-Core,itacs/PnP-Sites-Core,phillipharding/PnP-Sites-Core,PieterVeenstra/PnP-Sites-Core,m-carter1/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,comblox/PnP-Sites-Core,Puzzle...
Core/OfficeDevPnP.Core/Framework/Provisioning/ObjectHandlers/ObjectSearchSettings.cs
Core/OfficeDevPnP.Core/Framework/Provisioning/ObjectHandlers/ObjectSearchSettings.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SharePoint.Client; using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Diagnostics; namespace OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers { inte...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SharePoint.Client; using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Diagnostics; namespace OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers { inte...
mit
C#
f467225c4941098d389070580b65f10d22b1d1c9
Set bursting state in GamePlayerJoinedEventPayloadHandler
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Bursting/GamePlayerJoinedEventPayloadHandler.cs
src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Bursting/GamePlayerJoinedEventPayloadHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; namespace Booma.Proxy { [SceneTypeCreate(GameSceneType.Pioneer2)] public sealed class GamePlayerJoinedEventPayloadHandler : GameMessageHandler<BlockGamePlayerJoine...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; namespace Booma.Proxy { [SceneTypeCreate(GameSceneType.Pioneer2)] public sealed class GamePlayerJoinedEventPayloadHandler : GameMessageHandler<BlockGamePlayerJoine...
agpl-3.0
C#
c74bbd398ba9279571601a31d7ca4728798a38e9
Remove ResponseInfo from ConnectionInfo
flagbug/Espera.Network
Espera.Network/ConnectionInfo.cs
Espera.Network/ConnectionInfo.cs
using System; namespace Espera.Network { public class ConnectionInfo { public ConnectionInfo(NetworkAccessPermission permission, Version serverVersion) { this.AccessPermission = permission; this.ServerVersion = serverVersion; } public NetworkAccessPermi...
using System; namespace Espera.Network { public class ConnectionInfo { public ConnectionInfo(NetworkAccessPermission permission, Version serverVersion, ResponseInfo responseInfo) { if (responseInfo == null) throw new ArgumentNullException("responseInfo"); ...
mit
C#
fadf6ae5e2bc4d19eff47d1a4e92412f116301eb
Add missing sample namespace.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/CookieSample/Startup.cs
samples/CookieSample/Startup.cs
using System.Security.Claims; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.Security.Cookies; namespace CookieSample { public class Startup { public void Configure(IBuilder app) { app.UseCookieAuthentication(new CookieAuthenticationOptions() ...
using System.Security.Claims; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Security.Cookies; namespace CookieSample { public class Startup { public void Configure(IBuilder app) { app.UseCookieAuthentication(new CookieAuthenticationOptions() { }); ...
apache-2.0
C#
c3017645866d37b25af93c5a22b150ed7edff9c4
Replace ElementAt with AsEnumerable
yishn/GTPWrapper
GTPWrapper/DataTypes/ListTree.cs
GTPWrapper/DataTypes/ListTree.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GTPWrapper.DataTypes { public class ListTree<T> { /// <summary> /// Gets or sets the list of elements of this tree. /// </summary> public List<T> Elements { get; set; } /// <summ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GTPWrapper.DataTypes { public class ListTree<T> { /// <summary> /// Gets or sets the list of elements of this tree. /// </summary> public List<T> Elements { get; set; } /// <summ...
mit
C#
297f2394031b492bc9483663072e6335205ae648
Fix typo and remove usings
punker76/Espera,flagbug/Espera
Espera/Espera.Core/BlobCacheKeys.cs
Espera/Espera.Core/BlobCacheKeys.cs
namespace Espera.Core { /// <summary> /// This class contains the used keys for Akavache /// </summary> public static class BlobCacheKeys { /// <summary> /// This is the key prefix for song artworks. After the hyphen, the MD5 hash of the artwork /// is attached. /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Espera.Core { /// <summary> /// This class contains the used keys for Akavache /// </summary> public static class BlobCacheKeys { /// <summary> /// This is ...
mit
C#
92fb369eb97b0684686a591f9954db638960b031
validate email on org create
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/Models/Api/Request/Organizations/OrganizationCreateRequestModel.cs
src/Core/Models/Api/Request/Organizations/OrganizationCreateRequestModel.cs
using Bit.Core.Models.Table; using Bit.Core.Enums; using Bit.Core.Models.Business; using System.ComponentModel.DataAnnotations; using System.Collections.Generic; namespace Bit.Core.Models.Api { public class OrganizationCreateRequestModel : IValidatableObject { [Required] [StringLength(50)] ...
using Bit.Core.Models.Table; using Bit.Core.Enums; using Bit.Core.Models.Business; using System.ComponentModel.DataAnnotations; using System.Collections.Generic; namespace Bit.Core.Models.Api { public class OrganizationCreateRequestModel : IValidatableObject { [Required] [StringLength(50)] ...
agpl-3.0
C#
2d3ad1cb0f9872da40c6d143ce4554563971ae04
Add application/wasm to the default compression list (#377)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.ResponseCompression/ResponseCompressionDefaults.cs
src/Microsoft.AspNetCore.ResponseCompression/ResponseCompressionDefaults.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.Collections.Generic; namespace Microsoft.AspNetCore.ResponseCompression { /// <summary> /// Defaults for the ResponseCompressionM...
// 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.Collections.Generic; namespace Microsoft.AspNetCore.ResponseCompression { /// <summary> /// Defaults for the ResponseCompressionM...
apache-2.0
C#
c17dc58467479a64b07391dcde4fde8c9b3e9142
Add summaries to PgnErrorInfo members.
PenguinF/sandra-three
Sandra.Chess/Pgn/PgnErrorInfo.cs
Sandra.Chess/Pgn/PgnErrorInfo.cs
#region License /********************************************************************************* * PgnErrorInfo.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
#region License /********************************************************************************* * PgnErrorInfo.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
apache-2.0
C#
0bdf83c8858ba6adeba3f907db727925d6caab52
Add closed event to connection
k-t/SharpHaven
MonoHaven.Lib/Network/Connection.cs
MonoHaven.Lib/Network/Connection.cs
using System; using System.Net.Sockets; namespace MonoHaven.Network { public class Connection : IDisposable { private const int ProtocolVersion = 2; private const int MSG_SESS = 0; private const int MSG_CLOSE = 8; private readonly ConnectionSettings settings; private readonly GameSocket socket; privat...
using System; using System.Net.Sockets; using System.Threading; namespace MonoHaven.Network { public class Connection : IDisposable { private const int ProtocolVersion = 2; private const int MSG_SESS = 0; private const int MSG_CLOSE = 8; private readonly ConnectionSettings settings; private readonly Gam...
mit
C#
1d74be5109fe45f671a1c5617f2b9ae0df28cd39
bump version
MetacoSA/NBitcoin,stratisproject/NStratis,NicolasDorier/NBitcoin,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,dangershony/NStratis,MetacoSA/NBitcoin,lontivero/NBitcoin
NBitcoin/Properties/AssemblyInfo.cs
NBitcoin/Properties/AssemblyInfo.cs
using System; 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. [assem...
using System; 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. [assem...
mit
C#
ff48809c9ea304659f4c13abe1692c1ab09e2c1b
Update AdjacencyMatrix.cs
nabaird/Unity-Pathfinding-
Horizontal%20Movement/PathingNodes/AdjacencyMatrix.cs
Horizontal%20Movement/PathingNodes/AdjacencyMatrix.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AdjacencyMatrix : MonoBehaviour { public class vertex { public GameObject node; public float weight; public vertex(GameObject n, float w) { node = n; ...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AdjacencyMatrix : MonoBehaviour { public class vertex { public GameObject node; public float weight; public vertex(GameObject n, float w) { node = n; ...
mit
C#
f141fc40ab5160828455bec36c4936b3c4e3e0b5
Add xmldoc
ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework/Audio/Track/ChannelAmplitudes.cs
osu.Framework/Audio/Track/ChannelAmplitudes.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; namespace osu.Framework.Audio.Track { /// <summary> /// A collection of information providing per-channel and per-frequency amplitudes of an audio ...
// 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; namespace osu.Framework.Audio.Track { public readonly struct ChannelAmplitudes { /// <summary> /// The length of the <see cref="Fre...
mit
C#
6a8410e4016ac20643cadd6a2fc1d8fb3574c009
test commit
trppt12/ConnectedCar
src/RunFromConsole/Cars.Simulator.ConsoleHost/Program.cs
src/RunFromConsole/Cars.Simulator.ConsoleHost/Program.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //THIS IS JUST A TEST COMMENT FOR COMMITTING namespace Microsoft.Practices.DataPipeline.Cars.Simulator.ConsoleHost { using System; using System.Linq; using ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Practices.DataPipeline.Cars.Simulator.ConsoleHost { using System; using System.Linq; using System.Threading; using System.Threading....
mit
C#
19b417b08c78a61665eca98815cc2dde297b6869
Remove incorrect test code...
hannan-azam/Orchard,hbulzy/Orchard,DonnotRain/Orchard,salarvand/orchard,yonglehou/Orchard,jchenga/Orchard,NIKASoftwareDevs/Orchard,armanforghani/Orchard,xiaobudian/Orchard,brownjordaninternational/OrchardCMS,sfmskywalker/Orchard,Cphusion/Orchard,NIKASoftwareDevs/Orchard,sebastienros/msc,grapto/Orchard.CloudBust,jaraco/...
src/Orchard.Web/Modules/Orchard.Setup/Views/Setup/Index.cshtml
src/Orchard.Web/Modules/Orchard.Setup/Views/Setup/Index.cshtml
@model Orchard.Setup.ViewModels.SetupViewModel <h1>@Html.TitleForPage(T("Get Started").ToString())</h1> @using (Html.BeginFormAntiForgeryPost()) { Html.ValidationSummary(); <h2>@T("Please answer a few questions to configure your site.")</h2> <fieldset class="site"> <div> <label for="SiteName">@T...
@model Orchard.Setup.ViewModels.SetupViewModel @Html.Partial("~/Themes/Classic/Theme.txt2") <h1>@Html.TitleForPage(T("Get Started").ToString())</h1> @using (Html.BeginFormAntiForgeryPost()) { Html.ValidationSummary(); <h2>@T("Please answer a few questions to configure your site.")</h2> <fieldset class="sit...
bsd-3-clause
C#
9eca32659c89468f2795a4e43f09cb414ab014eb
Adjust the name of the property that the data for a response goes into
paynecrl97/Glimpse,gabrielweyer/Glimpse,elkingtonmcb/Glimpse,SusanaL/Glimpse,dudzon/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,codevlabs/Glimpse,rho24/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,codevlabs/Glimpse,paynecrl97/Glimpse,rho24/Glim...
source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs
source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs
using System.Collections.Generic; using Glimpse.Core2.Extensibility; using Glimpse.Core2.Framework; namespace Glimpse.Core2.SerializationConverter { public class GlimpseMetadataConverter:SerializationConverter<GlimpseRequest> { public override IDictionary<string, object> Convert(GlimpseRequest request...
using System.Collections.Generic; using Glimpse.Core2.Extensibility; using Glimpse.Core2.Framework; namespace Glimpse.Core2.SerializationConverter { public class GlimpseMetadataConverter:SerializationConverter<GlimpseRequest> { public override IDictionary<string, object> Convert(GlimpseRequest request...
apache-2.0
C#
ba1e5f34f3fd86d5d63ccae6202dfed1d78faef3
Mark IsCustomer and IsSupplier fields as readonly
XeroAPI/XeroAPI.Net,jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net
source/XeroApi/Model/Contact.cs
source/XeroApi/Model/Contact.cs
using System; namespace XeroApi.Model { public class Contact : ModelBase { [ItemId] public Guid ContactID { get; set; } [ItemNumber] public string ContactNumber { get; set; } [ItemUpdatedDate] public DateTime? UpdatedDateUTC { get; set; } publ...
using System; namespace XeroApi.Model { public class Contact : ModelBase { [ItemId] public Guid ContactID { get; set; } [ItemNumber] public string ContactNumber { get; set; } [ItemUpdatedDate] public DateTime? UpdatedDateUTC { get; set; } publ...
mit
C#
621e6d3808cfc551403975fa4b1b566fb343afc4
Handle possible Nullref in SentryStacktrace
xpicio/raven-csharp,getsentry/raven-csharp,webaction/raven-csharp,xpicio/raven-csharp,asbjornu/raven-csharp,getsentry/raven-csharp,getsentry/raven-csharp
SharpRaven/Data/SentryStacktrace.cs
SharpRaven/Data/SentryStacktrace.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using Newtonsoft.Json; namespace SharpRaven.Data { public class SentryStacktrace { public SentryStacktrace(Exception e) { StackTrace trace = new...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using Newtonsoft.Json; namespace SharpRaven.Data { public class SentryStacktrace { public SentryStacktrace(Exception e) { StackTrace trace = new...
bsd-3-clause
C#
fcb247b5cee31091df444eaa93161fdaa694d19e
Fix libvlc_event_detach delegate return type
ZeBobo5/Vlc.DotNet,jeremyVignelles/Vlc.DotNet
src/Vlc.DotNet.Core.Interops/Signatures/libvlc.h/libvlc_event_detach.cs
src/Vlc.DotNet.Core.Interops/Signatures/libvlc.h/libvlc_event_detach.cs
using System; using System.Runtime.InteropServices; namespace Vlc.DotNet.Core.Interops.Signatures { /// <summary> /// Unregister an event notification. /// </summary> /// <param name="eventManagerInstance">Event manager to which you want to attach to.</param> /// <param name="eventType">The desire...
using System; using System.Runtime.InteropServices; namespace Vlc.DotNet.Core.Interops.Signatures { /// <summary> /// Unregister an event notification. /// </summary> /// <param name="eventManagerInstance">Event manager to which you want to attach to.</param> /// <param name="eventType">The desire...
mit
C#
c17ab9b632be61e87c0394001524c763c2e2231d
Make Drawable inherit from Container: Fix for Winforms PixelLayoutHandler.
bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto
Source/Eto.Platform.Windows/Forms/PixelLayoutHandler.cs
Source/Eto.Platform.Windows/Forms/PixelLayoutHandler.cs
using System; using SD = System.Drawing; using SWF = System.Windows.Forms; using Eto.Forms; using Eto.Drawing; namespace Eto.Platform.Windows { public class PixelLayoutHandler : WindowsLayout<SWF.Control, PixelLayout>, IPixelLayout { public override SWF.Control Control { get { return Widget.Container != nul...
using System; using SD = System.Drawing; using SWF = System.Windows.Forms; using Eto.Forms; using Eto.Drawing; namespace Eto.Platform.Windows { public class PixelLayoutHandler : WindowsLayout<SWF.Control, PixelLayout>, IPixelLayout { public override SWF.Control Control { get { return Widget.Container != nul...
bsd-3-clause
C#
5c890029e38bb49747dedfeaae56a3c5126f5c8f
Add comments
chrkon/helix-toolkit,helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit
Source/HelixToolkit.SharpDX.Assimp.Shared/Interfaces.cs
Source/HelixToolkit.SharpDX.Assimp.Shared/Interfaces.cs
using HelixToolkit.Logger; using System; using System.Collections.Generic; using System.IO; using System.Text; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX #else #if CORE namespace HelixToolkit.SharpDX.Core #else namespace HelixToolkit.UWP #endif #endif { /// <summary> /// Custom Texture loading IO inte...
using HelixToolkit.Logger; using System; using System.Collections.Generic; using System.IO; using System.Text; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX #else #if CORE namespace HelixToolkit.SharpDX.Core #else namespace HelixToolkit.UWP #endif #endif { public interface ITextureIO { TextureMod...
mit
C#
2b64cba0ad10a68b2f21d21705fcd5d2937246c0
Rename class
mono-soc-2011/banshee,eeejay/banshee,ixfalia/banshee,directhex/banshee-hacks,stsundermann/banshee,lamalex/Banshee,petejohanson/banshee,dufoli/banshee,dufoli/banshee,eeejay/banshee,allquixotic/banshee-gst-sharp-work,stsundermann/banshee,stsundermann/banshee,petejohanson/banshee,lamalex/Banshee,directhex/banshee-hacks,ba...
src/Core/Nereid/Nereid/Entry.cs
src/Core/Nereid/Nereid/Entry.cs
// // Entry.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 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, includ...
// // Entry.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 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, includ...
mit
C#
6c5115943706fc898acca66d51b2c066ffa68fa4
Initialize MassTransit logger with TopShelf during host startup
D3-LucaPiombino/MassTransit,jsmale/MassTransit
src/MassTransit.Host/Program.cs
src/MassTransit.Host/Program.cs
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
apache-2.0
C#
42f2e179f60f5248f37a65f2a3c3ffd928cb5839
Use hash set to assert should fire
Codestellation/Pulsar
src/Pulsar/Cron/CronCalendar.cs
src/Pulsar/Cron/CronCalendar.cs
using System; using System.Collections.Generic; using System.Linq; namespace Codestellation.Pulsar.Cron { public class CronCalendar { private readonly List<DateTime> _days; private readonly HashSet<DateTime> _dayIndex; public CronCalendar(IEnumerable<DateTime> scheduledDays) {...
using System; using System.Collections.Generic; using System.Linq; namespace Codestellation.Pulsar.Cron { public class CronCalendar { private readonly List<DateTime> _days; public CronCalendar(IEnumerable<DateTime> scheduledDays) { _days = scheduledDays.ToList(); ...
mit
C#
ac32b220cfd2ebe2cd73d440f09e4033d90bfd00
Add XML cmments
Green-Bug/nunit,agray/nunit,michal-franc/nunit,Therzok/nunit,mjedrzejek/nunit,ggeurts/nunit,ChrisMaddock/nunit,jnm2/nunit,danielmarbach/nunit,appel1/nunit,zmaruo/nunit,zmaruo/nunit,dicko2/nunit,Suremaker/nunit,OmicronPersei/nunit,ArsenShnurkov/nunit,JohanO/nunit,michal-franc/nunit,jnm2/nunit,ArsenShnurkov/nunit,JustinR...
src/framework/Constraints/ReusableConstraint.cs
src/framework/Constraints/ReusableConstraint.cs
using System; namespace NUnit.Framework.Constraints { /// <summary> /// ReusableConstraint wraps a constraint expression after /// resolving it so that it can be reused consistently. /// </summary> public class ReusableConstraint : IResolveConstraint { private Constraint constraint; ...
using System; namespace NUnit.Framework.Constraints { public class ReusableConstraint : IResolveConstraint { private Constraint constraint; public ReusableConstraint(IResolveConstraint c) { this.constraint = c.Resolve(); } public static implicit operator R...
mit
C#
b827ef74d5470776edadb89e25d6633d13ce3eeb
Fix test issue with ContactOwners test.
mtian/SiteExtensionGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-p...
tests/NuGetGallery.FunctionalTests/TestBase/Constants.cs
tests/NuGetGallery.FunctionalTests/TestBase/Constants.cs
using NuGetGallery.FunctionTests.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NuGetGallery.FunctionalTests { internal static class Constants { #region FormFields internal const string ConfirmPasswordFormF...
using NuGetGallery.FunctionTests.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NuGetGallery.FunctionalTests { internal static class Constants { #region FormFields internal const string ConfirmPasswordFormF...
apache-2.0
C#
75f06783f9d49ff5bc33ce25fd15a8e72c397d49
Exclude boolean fields from IsRequired asterisk #2233
stevejgordon/allReady,mgmccarthy/allReady,mgmccarthy/allReady,c0g1t8/allReady,gitChuckD/allReady,dpaquette/allReady,dpaquette/allReady,binaryjanitor/allReady,BillWagner/allReady,c0g1t8/allReady,HTBox/allReady,binaryjanitor/allReady,HamidMosalla/allReady,gitChuckD/allReady,dpaquette/allReady,stevejgordon/allReady,HamidM...
AllReadyApp/Web-App/AllReady/TagHelpers/LabelTagHelper.cs
AllReadyApp/Web-App/AllReady/TagHelpers/LabelTagHelper.cs
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.TagHelpers; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; namespace AllReady.TagHelpers { [HtmlTargetElement("label", Attributes=ForAttributeName)] ...
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.TagHelpers; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; namespace AllReady.TagHelpers { [HtmlTargetElement("label", Attributes=ForAttributeName)] ...
mit
C#
e11c060adf1c4baa87021d0ff93cde7b3037a7e0
Tweak version behavior a bit
hexafluoride/Bifrost
Bifrost/Utilities.cs
Bifrost/Utilities.cs
using System; using System.Threading; using System.Reflection; using System.Diagnostics; using NLog; namespace Bifrost { public class Utilities { private static Logger Log = LogManager.GetCurrentClassLogger(); /// <summary> /// Starts a new thread with the given delegate. Useful for ...
using System; using System.Threading; using System.Reflection; using System.Diagnostics; using NLog; namespace Bifrost { public class Utilities { private static Logger Log = LogManager.GetCurrentClassLogger(); /// <summary> /// Starts a new thread with the given delegate. Useful for ...
mit
C#
cbe36d24b0fe7b7e64e6a55b6291e09d6f22f990
Truncate extension id string if too long
SarahRogers/azure-powershell,yoavrubin/azure-powershell,ClogenyTechnologies/azure-powershell,krkhan/azure-powershell,yantang-msft/azure-powershell,akurmi/azure-powershell,hungmai-msft/azure-powershell,mayurid/azure-powershell,stankovski/azure-powershell,zhencui/azure-powershell,akurmi/azure-powershell,juvchan/azure-pow...
src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs
src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
dad426cb4584257c7dc202bfca0f8ad7116703ed
remove data annotation validation for the checkbox on the signup page of the TodoTemplate project #1962 (#1965)
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
src/Tooling/Bit.Tooling.Templates/TodoTemplate/Shared/Dtos/Account/SignUpRequestDto.cs
src/Tooling/Bit.Tooling.Templates/TodoTemplate/Shared/Dtos/Account/SignUpRequestDto.cs
namespace TodoTemplate.Shared.Dtos.Account; public class SignUpRequestDto { [EmailAddress(ErrorMessage = "The email address format is incorrect.")] public string? Email { get; set; } [EmailAddress(ErrorMessage = "The email address format is incorrect.")] [Required(ErrorMessage = "Please enter your us...
namespace TodoTemplate.Shared.Dtos.Account; public class SignUpRequestDto { [EmailAddress(ErrorMessage = "The email address format is incorrect.")] public string? Email { get; set; } [EmailAddress(ErrorMessage = "The email address format is incorrect.")] [Required(ErrorMessage = "Please enter your us...
mit
C#
6ea1489bf52f44c03a6a462cf9a4d8dafba47877
add debug here
YAFNET/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET,Pathfinder-Fr/YAFNET
yafsrc/YetAnotherForum.NET/Classes/LatestInformationService.cs
yafsrc/YetAnotherForum.NET/Classes/LatestInformationService.cs
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * di...
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * di...
apache-2.0
C#
272221a0f789c02c823918102aefb3acf6ef084f
Correct FastMurmurHash
Draxent/CompressingWebPages
CompressingWebPages/FastMurmurHash.cs
CompressingWebPages/FastMurmurHash.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompressingWebPages { class FastMurmurHash { const ulong m = 0xc6a4a7935bd1e995; const int r = 47; private uint seed; public FastMurmurHash(uint seed) { this.seed = seed; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompressingWebPages { class FastMurmurHash { const ulong m = 0xc6a4a7935bd1e995; const int r = 47; private uint seed; public FastMurmurHash(uint seed) { this.seed = seed; } ...
mit
C#
3446c22262f98660e0dc15a109f94c98dae5d93f
Update IDeveloperPageExceptionFilter doc comment (#38659)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Middleware/Diagnostics.Abstractions/src/IDeveloperPageExceptionFilter.cs
src/Middleware/Diagnostics.Abstractions/src/IDeveloperPageExceptionFilter.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Diagnostics; // FIXME: A link is needed for the refe...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Diagnostics; /// <summary> /// Provides an extensibl...
apache-2.0
C#
be8323f8e314362671fd4107f2c180d4207b8546
update version
agileharbor/shipStationAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
bsd-3-clause
C#
c8d0af004327ea9b1f65f5795b62c7428c4a09d9
build 7.1.36.0
agileharbor/channelAdvisorAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
bsd-3-clause
C#
6bce6ce44d252e15149c387ca3a8b008606d685a
Move helper to workspace layer
physhi/roslyn,diryboy/roslyn,wvdd007/roslyn,brettfo/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,ErikSchierboom/roslyn,AmadeusW/roslyn,physhi/roslyn,stephentoub/roslyn,dotnet/roslyn,tmat/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,jasonmalinowski/roslyn,aelij/roslyn,eriawan/roslyn,panopticoncentral/rosl...
src/Features/Core/Portable/FindUsages/ExternalReferenceItem.cs
src/Features/Core/Portable/FindUsages/ExternalReferenceItem.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.FindUsages { /// <summary> /// Information about a symbol's reference that...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.FindUsages { /// <summary> /// Information about a symbol's reference that...
mit
C#
7f1d2bbf3c1f3665cc9debda2f4024db124da230
implement donation generation
GiveCampUK/GiveCRM,GiveCampUK/GiveCRM
src/GiveCRM.DummyDataGenerator/Generation/DonationGenerator.cs
src/GiveCRM.DummyDataGenerator/Generation/DonationGenerator.cs
using System; using System.Collections.Generic; using GiveCRM.DataAccess; using GiveCRM.Models; using System.Linq; namespace GiveCRM.DummyDataGenerator.Generation { internal class DonationGenerator { private readonly RandomSource random = new RandomSource(); private readonly Action<string> log...
using System; namespace GiveCRM.DummyDataGenerator.Generation { internal class DonationGenerator : BaseGenerator { private readonly RandomSource random = new RandomSource(); public DonationGenerator(Action<string> logAction) : base(logAction) {} internal override string Gener...
mit
C#
45c2e9c7c912e1ab345720b5873b4ef4643c3d92
Make MySqlError.Code obsolete. Fixes #1011
mysql-net/MySqlConnector,mysql-net/MySqlConnector
src/MySqlConnector/MySqlError.cs
src/MySqlConnector/MySqlError.cs
using System; namespace MySqlConnector { /// <summary> /// <see cref="MySqlError"/> represents an error or warning that occurred during the execution of a SQL statement. /// </summary> public sealed class MySqlError { internal MySqlError(string level, int code, string message) { Level = level; #pragma warn...
namespace MySqlConnector { /// <summary> /// <see cref="MySqlError"/> represents an error or warning that occurred during the execution of a SQL statement. /// </summary> public sealed class MySqlError { internal MySqlError(string level, int code, string message) { Level = level; Code = code; ErrorCod...
mit
C#
ec1bff419ec8edc92eec4b4e74bf527eee159be8
Set HttpSys read error log levels to debug #35490 (#35537)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Servers/HttpSys/src/RequestProcessing/RequestStream.Log.cs
src/Servers/HttpSys/src/RequestProcessing/RequestStream.Log.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.HttpSys { internal partial class RequestStream { private static class Log ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.HttpSys { internal partial class RequestStream { private static class Log ...
apache-2.0
C#
ec902d60b9f499923965e0696940b13d462241f0
Remove IRazorDocumentOptionsService inheritance interface (#54047)
shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,eriawan/roslyn,wvdd007/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,eriawan/roslyn,physhi/roslyn,diryboy/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,physhi/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,dotnet/roslyn,jasonma...
src/Tools/ExternalAccess/Razor/IRazorDocumentOptionsService.cs
src/Tools/ExternalAccess/Razor/IRazorDocumentOptionsService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; namespace Microsoft.CodeA...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; namespace Microsoft.CodeA...
mit
C#
7c5379d4218b6f708ecf6e7673695a3c6a886545
Update Buffer{T}.cs
SixLabors/Fonts
src/SixLabors.Fonts/Buffer{T}.cs
src/SixLabors.Fonts/Buffer{T}.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace SixLabors.Fonts { /// <summary> /// An disposable buffer that is backed by an array pool. /// </summary...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace SixLabors.Fonts { /// <summary> /// An disposable buffer that is backed by an array pool. /// </summary...
apache-2.0
C#
a59d9b33247611c9f3d7f7f053f26f5661f5187d
Introduce helper methods to make test clearer
ceddlyburge/canoe-polo-league-organiser-backend
CanoePoloLeagueOrganiserTests/RubyInspiredListFunctionsTests.cs
CanoePoloLeagueOrganiserTests/RubyInspiredListFunctionsTests.cs
using System; using CanoePoloLeagueOrganiser; using System.Collections.Generic; using System.Linq; using Xunit; namespace CanoePoloLeagueOrganiserTests { public class RubyInspiredListFunctionsTests { [Fact] public void EachCons2() { var list = new List<int> { 1, 2, 3, 4 }; ...
using System; using CanoePoloLeagueOrganiser; using System.Collections.Generic; using System.Linq; using Xunit; namespace CanoePoloLeagueOrganiserTests { public class RubyInspiredListFunctionsTests { [Fact] public void EachCons2() { var list = new List<int> { 1, 2, 3, 4 }; ...
mit
C#
114b950b3fbb2caa01f3dc59b5c6d43fff88ccd6
Bump version to 3.0.
jcheng31/DarkSkyApi,jcheng31/ForecastPCL
DarkSkyApi/Properties/AssemblyInfo.cs
DarkSkyApi/Properties/AssemblyInfo.cs
using System.Resources; 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. [asse...
using System.Resources; 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. [asse...
mit
C#
3b7b592ac859e18021ff864852385b8e6b1eda14
fix name on resource path
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.CLI/EmbeddedFileHelper.cs
ElectronNET.CLI/EmbeddedFileHelper.cs
using System; using System.IO; using System.Reflection; namespace ElectronNET.CLI { public static class EmbeddedFileHelper { private const string ResourcePath = "h5.ElectronNET.CLI.{0}"; private static Stream GetTestResourceFileStream(string folderAndFileInProjectPath) { v...
using System; using System.IO; using System.Reflection; namespace ElectronNET.CLI { public static class EmbeddedFileHelper { private const string ResourcePath = "ElectronNET.CLI.{0}"; private static Stream GetTestResourceFileStream(string folderAndFileInProjectPath) { var ...
mit
C#
e030de797846ea157913c8ebe09bbc5ec136d57b
fix type compile issue
CrowCreek/Sql-Server-Query-Manager
CrowCreek.SqlServerQueryManager/Utilities/SqlServer/DbDataReaderExtensions.cs
CrowCreek.SqlServerQueryManager/Utilities/SqlServer/DbDataReaderExtensions.cs
/* * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package. */ using System; using System.Data.Common; using System.Reflection; namespace CrowCreek.Utilities.SqlServer { public static class DbDataReaderExtensions { public static TFieldT...
/* * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package. */ using System; using System.Data.Common; using System.Reflection; namespace CrowCreek.Utilities.SqlServer { public static class DbDataReaderExtensions { public static TFieldT...
mit
C#
c217735b9c33384996bcfdba3995c06236e187b2
Update index.cshtml
Aleksandrovskaya/apmathclouddif
site/index.cshtml
site/index.cshtml
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
mit
C#
d93d4735419676c23de566f23e6a16a44c0e003e
Drop Fixie.Tests.TestClasses.ConstructionTests tests which are made redundant by the new Fixie.Tests.Lifecycle.ConstructionTests.
Duohong/fixie,fixie/fixie,bardoloi/fixie,JakeGinnivan/fixie,EliotJones/fixie,KevM/fixie,bardoloi/fixie
src/Fixie.Tests/TestClasses/ConstructionTests.cs
src/Fixie.Tests/TestClasses/ConstructionTests.cs
using Fixie.Conventions; namespace Fixie.Tests.TestClasses { public class ConstructionTests { public void ShouldFailAllCasesWhenTestClassConstructorCannotBeInvoked() { //This ensures we handle a case that LifecycleTests CANNOT test. var listener = new StubListener(); ...
using Fixie.Conventions; using Should; namespace Fixie.Tests.TestClasses { public class ConstructionTests { public void ShouldConstructInstancePerCase() { var listener = new StubListener(); ConstructibleTestClass.ConstructionCount = 0; new SelfTestConvent...
mit
C#
7cba6546eaba8a1ed07b83e55a9aa0f1b1747096
Make threadsafe
mavasani/roslyn,AmadeusW/roslyn,tmat/roslyn,panopticoncentral/roslyn,stephentoub/roslyn,stephentoub/roslyn,gafter/roslyn,heejaechang/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,tmat/roslyn,gafter/roslyn,heejaechang/roslyn,KevinRansom/roslyn,KirillOsenkov/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,mavasa...
src/Features/LanguageServer/Protocol/Handler/BufferedProgress.cs
src/Features/LanguageServer/Protocol/Handler/BufferedProgress.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using Microsoft.CodeAnalysis.PooledObjects; namespace Microsoft.CodeAnalysis.Langu...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using Microsoft.CodeAnalysis.PooledObjects; namespace Microsoft.CodeAnalysis.Langu...
mit
C#
5dfbbaab489c10bb1cf1953b29f0aa127f82279f
Fix counter serialization.
bretcope/BosunReporter.NET,qed-/BosunReporter.NET,lockwobr/BosunReporter.NET
BosunReporter/BosunCounter.cs
BosunReporter/BosunCounter.cs
using System; using System.Collections.Generic; using System.Threading; namespace BosunReporter { public class BosunCounter : BosunMetric, ILongCounter { public long Value = 0; public override string MetricType => "counter"; protected override IEnumerable<string> GetSeria...
using System; using System.Collections.Generic; using System.Threading; namespace BosunReporter { public class BosunCounter : BosunMetric, ILongCounter { public long Value = 0; public override string MetricType => "counter"; protected override IEnumerable<string> GetSeria...
mit
C#
b2ee067722c227860ca42e84c4044fd1322a44a8
Fix 0x60 0x0B box hit command size
HelloKitty/Booma.Proxy
src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60ClientBoxHitEventCommand.cs
src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60ClientBoxHitEventCommand.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; namespace Booma.Proxy { //https://sylverant.net/wiki/index.php/Packet_0x60#Subcommand_0x0B [WireDataContract] [SubCommand60(SubCommand60OperationCode.GameBoxHit)] pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; namespace Booma.Proxy { //https://sylverant.net/wiki/index.php/Packet_0x60#Subcommand_0x0B [WireDataContract] [SubCommand60(SubCommand60OperationCode.GameBoxHit)] pub...
agpl-3.0
C#
665e6f0894178c72c7c7f77f3d92f2a36876b4a8
Fix plist (for AdMob).
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/Editor/IosProcessor.cs
unity/Editor/IosProcessor.cs
#if UNITY_IOS using System.IO; using UnityEditor.Build; using UnityEditor.Build.Reporting; using UnityEditor.iOS.Xcode; using UnityEngine; namespace EE.Editor { public class IosProcessor : IPostprocessBuildWithReport { public int callbackOrder { get; } public void OnPostprocessBuild(BuildReport ...
#if UNITY_IOS using System.IO; using UnityEditor.Build; using UnityEditor.Build.Reporting; using UnityEditor.iOS.Xcode; using UnityEngine; namespace EE.Editor { public class IosProcessor : IPostprocessBuildWithReport { public int callbackOrder { get; } public void OnPostprocessBuild(BuildReport ...
mit
C#
fe337905345a86a7a0246c8d0a5d027855955b9f
Implement DirectInput.SystemGuid
alesliehughes/monoDX,alesliehughes/monoDX
Microsoft.DirectX.DirectInput/Microsoft.DirectX.DirectInput/SystemGuid.cs
Microsoft.DirectX.DirectInput/Microsoft.DirectX.DirectInput/SystemGuid.cs
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
mit
C#
2c1c80fc6795fef094499bffdbe3416fbd96c420
Update SharedAssemblyInfo.cs
wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors
src/Shared/SharedAssemblyInfo.cs
src/Shared/SharedAssemblyInfo.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyri...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyri...
mit
C#
ec3d826bc679aa625ed5b3387900946d4bc462c2
remove unused variable
icarus-consulting/Yaapii.Atoms
src/Yaapii.Atoms/IO/GZipInput.cs
src/Yaapii.Atoms/IO/GZipInput.cs
// MIT License // // Copyright(c) 2017 ICARUS Consulting GmbH // // 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, co...
// MIT License // // Copyright(c) 2017 ICARUS Consulting GmbH // // 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, co...
mit
C#
828c67afb5698fe1854c816880c92b3118df73ef
Update index.cshtml
Aleksandrovskaya/apmathclouddif
site/index.cshtml
site/index.cshtml
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
mit
C#
32bd3107e1929cd8b9f1bb5f636ced0b8175da1f
Remove high performance GC setting
NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu
osu.Game/Performance/HighPerformanceSession.cs
osu.Game/Performance/HighPerformanceSession.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; namespace osu.Game.Performance { public class HighPerformanceSession : C...
// 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.Runtime; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; namespace osu.Game.Performance { public class High...
mit
C#
e126ebcb37db64277e83004197c5d26557b94f00
Update FizzBuzz.cs
michaeljwebb/Algorithm-Practice
LeetCode/FizzBuzz.cs
LeetCode/FizzBuzz.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Services; using System.Text; using System.Threading.Tasks; class FizzBuzz { private static void Main(string[] args) { for (int i = 1; i < 16; i++) { if (i % ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Services; using System.Text; using System.Threading.Tasks; namespace LeetCode { class FizzBuzz { private static void Main(string[] args) { for (int i = 1; i < 16; i++) { ...
mit
C#
8913db7f1330fd22689df479bedbf8baf850ca06
Update ver
ConfigJson/dev
ConfigJson/ConfigJson/Properties/AssemblyInfo.cs
ConfigJson/ConfigJson/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("Co...
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("Co...
mit
C#
73ee0c4fae3c688fb1e26d423dce7ab254161fdb
Fix a failing test in Test_SubjectListModel
wongjiahau/TTAP-UTAR,wongjiahau/TTAP-UTAR
NUnit.Tests2/Test_SubjectListModel.cs
NUnit.Tests2/Test_SubjectListModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Time_Table_Arranging_Program.Class; using Time_Table_Arranging_Program.Interfaces; using Time_Table_Arranging_Program.Model; using Time_Table_Arranging_Program.User_Control.S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Time_Table_Arranging_Program.Model; using Time_Table_Arranging_Program.User_Control.SubjectListFolder; namespace NUnit.Tests2 { [TestFixture] public class Test_Subje...
agpl-3.0
C#
16bc81e150a593420f89aac94dadc1713bb56269
Add field Id to ArchiveMetadata
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Core/ArchiveMetadata.cs
src/Arkivverket.Arkade/Core/ArchiveMetadata.cs
using System; using System.Collections.Generic; namespace Arkivverket.Arkade.Core { public class ArchiveMetadata { public string Id { get; set; } public string ArchiveDescription { get; set; } public string AgreementNumber { get; set; } public List<MetadataEntityInformationUnit...
using System; using System.Collections.Generic; namespace Arkivverket.Arkade.Core { public class ArchiveMetadata { public string ArchiveDescription { get; set; } public string AgreementNumber { get; set; } public List<MetadataEntityInformationUnit> ArchiveCreators { get; set; } ...
agpl-3.0
C#
2a4ab60950e93baa50ddf5db40ea7ff990ed8bf2
Add Flags attribute to KeyFilters
0x1mason/GribApi.NET
src/GribApi.NET/Grib.Api/Interop/KeyFilters.cs
src/GribApi.NET/Grib.Api/Interop/KeyFilters.cs
// Copyright 2015 Eric Millin // // 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 ...
// Copyright 2015 Eric Millin // // 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 ...
apache-2.0
C#
b443c9f77a02438e93a98c21f4037cfdf1c9fa65
fix errorviewmodel
joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
src/JoinRpg.WebPortal.Models/ErrorViewModel.cs
src/JoinRpg.WebPortal.Models/ErrorViewModel.cs
namespace JoinRpg.Web.Models { public class ErrorViewModel { public string Title { get; set; } public string Message { get; set; } public string Description { get; set; } public string ReturnLink { get; set; } public string ReturnText { get; set; } public bo...
namespace JoinRpg.Web.Models { public class ErrorViewModel { public string Title { get; set; } public string Message { get; set; } public string Description { get; set; } public string ReturnLink { get; set; } public string ReturnText { get; set; } public bo...
mit
C#
b02cf0ec7e0e9b78097198086dd681baf8015350
Update ZoomHelperTests.cs
PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom,wieslawsoltes/PanAndZoom
tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomHelperTests.cs
tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomHelperTests.cs
using Xunit; namespace Avalonia.Controls.PanAndZoom.UnitTests { public class ZoomHelperTests { private Matrix CreateMatrix(double scaleX = 1.0, double scaleY = 1.0, double offsetX = 0.0, double offsetY = 0.0) { return new Matrix(scaleX, 0, 0, scaleY, offsetX, offsetY); } ...
using Xunit; namespace Avalonia.Controls.PanAndZoom.UnitTests { public class ZoomHelperTests { private Matrix CreateMatrix(double scaleX = 1.0, double scaleY = 1.0, double offsetX = 0.0, double offsetY = 0.0) { return new Matrix(scaleX, 0, 0, scaleY, offsetX, offsetY); } ...
mit
C#
ddff811c0bcbd8b7b2501db0e5b0c76b4900e86a
Revert "added BsPager HtmlHelper with settings"
vtfuture/BForms,vtfuture/BForms,vtfuture/BForms
BForms/Html/BsPagerExtensions.cs
BForms/Html/BsPagerExtensions.cs
using System; using System.Linq.Expressions; using System.Web.Mvc; using BForms.Grid; using BForms.Models; namespace BForms.Html { public static class BsPagerExtensions { public static BsGridPagerBuilder BsPager(this HtmlHelper html, BsPagerModel model) { var builder = new BsGridPa...
using System; using System.Linq.Expressions; using System.Web.Mvc; using BForms.Grid; using BForms.Models; namespace BForms.Html { public static class BsPagerExtensions { public static BsGridPagerBuilder BsPager(this HtmlHelper html, BsPagerModel model, BsPagerSettings pagerSettings) { ...
mit
C#
6a5a6dee4596f8640d09633c0fb405d2a45c92d5
Fix ContourSeries example generator
oxyplot/documentation-examples
ExampleGenerator/Series/ContourSeriesExamples.cs
ExampleGenerator/Series/ContourSeriesExamples.cs
namespace ExampleGenerator { using System; using OxyPlot; using OxyPlot.Series; public class ContourSeriesExamples { [Export("Series/ContourSeries")] public static PlotModel ContourSeries() { var model = new PlotModel { Title = "ContourSeries" }; d...
namespace ExampleGenerator { using System; using OxyPlot; using OxyPlot.Series; [Export("Series/ContourSeries")] public class ContourSeriesExamples { public static PlotModel ContourSeries() { var model = new PlotModel { Title = "ContourSeries" }; double...
mit
C#
ea0ff2a3a61b74bfe0d4b4073f14c77fe2b42f0e
Update to avoid now internal API
Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp
examples/Test.cs
examples/Test.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; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { Connection conn; if (args.Length == 0) conn = ...
// 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; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { string addr; if (args.Length == 0) addr = Addre...
mit
C#
9fef63d114b8219ebd91c1323db31f70acd7987d
Update dependencies.
JohanLarsson/Gu.Localization
Gu.Wpf.Localization.UiTests/Helpers/StartInfo.cs
Gu.Wpf.Localization.UiTests/Helpers/StartInfo.cs
namespace Gu.Wpf.Localization.UiTests { using System.Diagnostics; using System.Globalization; using Gu.Wpf.UiAutomation; public static class StartInfo { public static ProcessStartInfo DemoProject { get; } = CreateStartUpInfo( Application.FindExe("Gu.Wpf.Localization.Demo.exe"),...
namespace Gu.Wpf.Localization.UiTests { using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Reflection; public static class StartInfo { public static ProcessStartInfo DemoProject { get; } = CreateStartUpInfo("Gu.Wpf.Localization.Demo", ...
mit
C#
20c6f84efab1fa9f851b5b31466844e9492d5c0b
Fix banana test regression
peppy/osu-new,NeoAdonis/osu,naoey/osu,EVAST9919/osu,Frontear/osuKyzer,ppy/osu,DrabWeb/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,DrabWeb/osu,UselessToucan/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,peppy/osu,ppy/osu,naoey/osu,NeoAdonis/osu,ppy/osu,smoogipoo/...
osu.Game.Rulesets.Catch/Tests/TestCaseBananaShower.cs
osu.Game.Rulesets.Catch/Tests/TestCaseBananaShower.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 System.Collections.Generic; using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.C...
// 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 System.Collections.Generic; using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.C...
mit
C#
aa26bbcc51a1f7bd773f8ea7a433be8272f5d8ca
Return null if home route has no values (#5406)
stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchar...
src/OrchardCore.Modules/OrchardCore.HomeRoute/Routing/HomeRouteTransformer.cs
src/OrchardCore.Modules/OrchardCore.HomeRoute/Routing/HomeRouteTransformer.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Routing; using OrchardCore.Settings; namespace OrchardCore.HomeRoute.Routing { public class HomeRouteTransformer : DynamicRouteValueTransformer { private readonly ISiteServi...
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Routing; using OrchardCore.Settings; namespace OrchardCore.HomeRoute.Routing { public class HomeRouteTransformer : DynamicRouteValueTransformer { private readonly ISiteServi...
bsd-3-clause
C#
85530921b81e0540344e3eb518ac374e5eb2d46f
Use ObjectManager.GetPlayerById rather than re-writing the same code twice
aevitas/orion
src/Orion.GlobalOffensive/Orion.GlobalOffensive/Objects/LocalPlayer.cs
src/Orion.GlobalOffensive/Orion.GlobalOffensive/Objects/LocalPlayer.cs
// Copyright (C) 2015 aevitas // See the file LICENSE for copying permission. using System; using System.Linq; using System.Numerics; using Orion.GlobalOffensive.Patchables; namespace Orion.GlobalOffensive.Objects { /// <summary> /// Represents the local player - i.e. the guy who's eyes we're borrow...
// Copyright (C) 2015 aevitas // See the file LICENSE for copying permission. using System; using System.Linq; using System.Numerics; using Orion.GlobalOffensive.Patchables; namespace Orion.GlobalOffensive.Objects { /// <summary> /// Represents the local player - i.e. the guy who's eyes we're borrow...
apache-2.0
C#
f40f8f50840ec9dce2b7139ba8454024a56cd07f
Add comments
eriawan/roslyn,sharwell/roslyn,dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,physhi/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,physhi/roslyn,dotnet/roslyn,bartdesmet/roslyn,weltkante/roslyn,diryboy/roslyn,wel...
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarItem.cs
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarItem.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.Text; using Microsoft.CodeAnalysis.Text.Shared.Ext...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.Text; using Microsoft.CodeAnalysis.Text.Shared.Ext...
mit
C#
9b1dffa13ddaecd7bc942fe5081deb6e570f3884
Fix build warning (#851)
cshung/clrmd,Microsoft/clrmd,cshung/clrmd,Microsoft/clrmd
src/Microsoft.Diagnostics.Runtime/src/Linux/MemoryVirtualAddressSpace.cs
src/Microsoft.Diagnostics.Runtime/src/Linux/MemoryVirtualAddressSpace.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; namespace Microsoft.Diagnostics.Runtime.Linux { internal class MemoryVirtualAddressSpace : IAddr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; namespace Microsoft.Diagnostics.Runtime.Linux { internal class MemoryVirtualAddressSpace : IAddr...
mit
C#
c566906395b3b29d292889521a3db600afb83031
Add utility to determine if the active tab is provisional
agocke/roslyn,jcouv/roslyn,eriawan/roslyn,physhi/roslyn,MichalStrehovsky/roslyn,CaptainHayashi/roslyn,tmeschter/roslyn,KirillOsenkov/roslyn,lorcanmooney/roslyn,khyperia/roslyn,DustinCampbell/roslyn,bkoelman/roslyn,DustinCampbell/roslyn,tmat/roslyn,wvdd007/roslyn,bartdesmet/roslyn,drognanar/roslyn,shyamnamboodiripad/ros...
src/VisualStudio/IntegrationTest/TestUtilities/InProcess/Shell_InProc.cs
src/VisualStudio/IntegrationTest/TestUtilities/InProcess/Shell_InProc.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 Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.VisualStudio.IntegrationTest.Utilities.InP...
// 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 Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.VisualStudio.IntegrationTest.Utilities.InP...
apache-2.0
C#
20173edd3f9d52eb816f54cc7a0d6a034ad08ce8
Rename error method
hey-red/Mime
src/Mime/Magic.cs
src/Mime/Magic.cs
using System; using System.Runtime.InteropServices; namespace HeyRed.Mime { public class Magic : IDisposable { private IntPtr _magic; public Magic(MagicOpenFlags flags, string dbPath = null) { _magic = MagicNative.magic_open(flags); if (_magic == IntPtr.Zero) ...
using System; using System.Runtime.InteropServices; namespace HeyRed.Mime { public class Magic : IDisposable { private IntPtr _magic; public Magic(MagicOpenFlags flags, string dbPath = null) { _magic = MagicNative.magic_open(flags); if (_magic == IntPtr.Zero) ...
mit
C#
8aeecbe30e0248f218ada84e0cabe3b773b37c44
add status: none
marihachi/CrystalResonanceForDesktop
src/Data/Enum/NotePushRating.cs
src/Data/Enum/NotePushRating.cs
namespace CrystalResonanceDesktop.Data.Enum { public enum NotePushRating { None, Perfect, Good, Bad, Miss } }
namespace CrystalResonanceDesktop.Data.Enum { public enum NotePushRating { Perfect, Good, Bad, Miss } }
mit
C#
11433e542af993ca7bd81efeff0972ee0ccd101f
Use Debugger.IsAttached instead of IsDevelopment to control developer mode
Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,gzepe...
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs
namespace Microsoft.AspNetCore.Hosting { using System.Diagnostics; using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; internal class DefaultApplicationInsightsS...
namespace Microsoft.AspNetCore.Hosting { using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; internal class DefaultApplicationInsightsServiceConfigureOptions : IConf...
mit
C#
05c0aeb8705a725a906d47f2e0c8e37c906ead61
make Modified protected internal
AlejandroCano/framework,avifatal/framework,signumsoftware/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework
Signum.Entities/Modifiable.cs
Signum.Entities/Modifiable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Signum.Utilities; using System.Collections.ObjectModel; using Signum.Utilities.DataStructures; using Signum.Entities.Reflection; namespace Signum.Entities { [Serializable] public abstract class Modifiable ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Signum.Utilities; using System.Collections.ObjectModel; using Signum.Utilities.DataStructures; using Signum.Entities.Reflection; namespace Signum.Entities { [Serializable] public abstract class Modifiable ...
mit
C#
435701b6549419895a2bbe46625fff82c340a026
Fix WebAPI
rschiefer/templating,seancpeters/templating,seancpeters/templating,rschiefer/templating,lambdakris/templating,danroth27/templating,mlorbetske/templating,mlorbetske/templating,seancpeters/templating,rschiefer/templating,danroth27/templating,danroth27/templating,lambdakris/templating,seancpeters/templating,lambdakris/tem...
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/Startup.cs
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; #if (OrganizationalAuth ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; #if (OrganizationalAuth ...
mit
C#
c11ea5963e1844c9c2cef781f771d1a7fd6c3e92
add code to check unity version and WindowsWebPlayer
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/UnityTools/OnClickOpenBrower.cs
Unity/UnityTools/OnClickOpenBrower.cs
/** MIT License Copyright (c) 2017 NDark 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, merge, publish, distr...
/** MIT License Copyright (c) 2017 NDark 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, merge, publish, distr...
mit
C#
748e990c6d156d7819c1cd1b9038ff28630e6194
clean tests
nhibernate/NHibernate.AspNet.Identity,lnu/NHibernate.AspNet.Identity,lnu/NHibernate.AspNet.Identity,andyshao/NHibernate.AspNet.Identity,smallkid/NHibernate.AspNet.Identity,smallkid/NHibernate.AspNet.Identity,andyshao/NHibernate.AspNet.Identity,nhibernate/NHibernate.AspNet.Identity,andyshao/NHibernate.AspNet.Identity,sm...
source/MilesiBastos.AspNet.Identity.NHibernate.Tests/MapTest.cs
source/MilesiBastos.AspNet.Identity.NHibernate.Tests/MapTest.cs
using FluentNHibernate.Testing; using Microsoft.VisualStudio.TestTools.UnitTesting; using NHibernate.Cfg; using NHibernate.Mapping.ByCode; using NHibernate.Tool.hbm2ddl; using System; using System.IO; namespace MilesiBastos.AspNet.Identity.NHibernate.Tests { [TestClass] public class MapTest { [Tes...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentNHibernate.Testing; using FluentNHibernate.Cfg.Db; using SharpArch.NHibernate; using NHibernate.Mapping.ByCode; using SharpArch.Domain.DomainModel; using NHibernate.Cfg; using NHibernate; using System.IO; using NHibernate....
mit
C#
275305d1d16195b1bb969d4bd42bc3bdcb487a24
Update Xmas Gift second behaviour.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasGift/XmasGiftBehaviour2.cs
Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasGift/XmasGiftBehaviour2.cs
using System; using FarseerPhysics; using Microsoft.Xna.Framework; using System.Diagnostics; namespace XmasHell.Entities.Bosses.XmasGift { class XmasGiftBehaviour2 : AbstractBossBehaviour { private TimeSpan _impulseTimer; public XmasGiftBehaviour2(Boss boss) : base(boss) { } ...
using System; using FarseerPhysics; using Microsoft.Xna.Framework; namespace XmasHell.Entities.Bosses.XmasGift { class XmasGiftBehaviour2 : AbstractBossBehaviour { public XmasGiftBehaviour2(Boss boss) : base(boss) { } public override void Start() { base.Star...
mit
C#
41c9191773f6a626b01714c9d3d9ccbc44776760
remove size properties from roomDetails
whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,whoa-algebraic/game-off-2016
Assets/Scripts/RoomDetails.cs
Assets/Scripts/RoomDetails.cs
using System.Collections.Generic; using UnityEngine; public class RoomDetails : MonoBehaviour { private List<GameObject> Doors; void Start() { int doorIndex = 0; for(int i = 0; i < transform.childCount; i++) { GameObject child = transform.GetChild(i).gameObject; if (c...
using System.Collections.Generic; using UnityEngine; public class RoomDetails : MonoBehaviour { public int HorizontalSize; public int VerticalSize; private List<GameObject> Doors; void Start() { int doorIndex = 0; for(int i = 0; i < transform.childCount; i++) { GameObject...
mit
C#
de286fa91b29f0b1e7310da0843f9d81381a5cf7
add license
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/Timer/CountDownTimer.cs
Unity/Timer/CountDownTimer.cs
/** MIT License Copyright (c) 2017 NDark 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, merge, publish, distr...
using UnityEngine; public class CountDownTimer { public float IntervalSec { get{return m_IntervalSec;} set{ m_IntervalSec = value ;} } public void Rewind() { m_NextTime = Time.time + m_IntervalSec; } public bool IsReady() { return ( Time.time > m_NextTime ) ; } float m_NextTime = 0.0f ; float m_Inte...
mit
C#
d6d91f90e71d8df65705f4a29153b317c402de04
Fix unity plugin installation for uber repo
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Unity.Rider/Integration/UnityEditorIntegration/EditorPlugin/PluginPathsProvider.cs
resharper/resharper-unity/src/Unity.Rider/Integration/UnityEditorIntegration/EditorPlugin/PluginPathsProvider.cs
using System.IO; using System.Reflection; using JetBrains.Application.Environment; using JetBrains.ProjectModel; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Unity.Rider.Integration.UnityEditorIntegration.EditorPlugin { [SolutionComponent] public class PluginPathsProvider { private ...
using System.IO; using System.Reflection; using JetBrains.Application.Environment; using JetBrains.ProjectModel; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Unity.Rider.Integration.UnityEditorIntegration.EditorPlugin { [SolutionComponent] public class PluginPathsProvider { private ...
apache-2.0
C#
15ef156340c0e5c6d3221f7a415539eaba9cdab8
Update HomeController.cs
ealsur/globalazurecampar,ealsur/globalazurecampar
Controllers/HomeController.cs
Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; namespace globalazurecampar.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; namespace globalazurecampar.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); } public ...
mit
C#
53a3fa640b65cc1b6c07c3ddd67a9d49c04fd6fd
remove unused code
minhdu/UIMan
Assets/UnuGames/UIManExample/Scripts/StartGame.cs
Assets/UnuGames/UIManExample/Scripts/StartGame.cs
using UnityEngine; using System.Collections; using UnuGames; public class StartGame : MonoBehaviour { // Use this for initialization void Start () { UIMan.Instance.ShowScreen<UIMainMenu> (); } // Update is called once per frame void Update () { } }
using UnityEngine; using System.Collections; using UnuGames; public class StartGame : MonoBehaviour { // Use this for initialization void Start () { UIMan.Instance.Preload<UIMainMenu> (); UIMan.Instance.ShowScreen<UIMainMenu> (); } // Update is called once per frame void Update () { } }
mit
C#
e1ba2f80002585a0968db5560345c3b03e8f8bd5
fix error => works as expected
jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets
BuildViews/FrameworkWeb/Views/Home/Contact.cshtml
BuildViews/FrameworkWeb/Views/Home/Contact.cshtml
@model FrameworkWeb.Models.CompanyInfo @{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> @Model.PhoneNumber </address> <address> <strong>Support:</strong> <a href="...
@model FrameworkWeb.Models.CompanyInfo @{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> @Model.PhoneNubmer </address> <address> <strong>Support:</strong> <a href="...
apache-2.0
C#
2ed76c02b17a6e61fdc462877a7e8901b89136de
Enhance version number to `v1.1.1' after inclusion of Fabio's patch.
massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner
it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs
it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs
using System; namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova { public class VersioningInfo { /// <summary> /// Gets the version number. /// /// Here are the stack of versions with a brief description: /// /// v1.1.1: tuning computational parameter to handle middle and low pressure ne...
using System; namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova { public class VersioningInfo { /// <summary> /// Gets the version number. /// /// Here are the stack of versions with a brief description: /// /// v1.1.0: introduce pressure regulator gadget for edges. /// /// v1.0.1:...
mit
C#
b04a764d7b49fd79ffb89bb1c8c7d90247d93fad
Update repo link
martincostello/api,martincostello/api,martincostello/api
src/API/Views/Home/Index.cshtml
src/API/Views/Home/Index.cshtml
@using System.Reflection @{ ViewBag.Title = "Home Page"; string? mvcVersion = typeof(Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions) .GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion; SiteOptions options = Options.Value...
@using System.Reflection @{ ViewBag.Title = "Home Page"; string? mvcVersion = typeof(Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions) .GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion; SiteOptions options = Options.Value...
mit
C#
c7a14a25f52dfeee123123cb98b36675831435ac
Update build number
deluxetiky/FluentValidation,robv8r/FluentValidation,mgmoody42/FluentValidation,pacificIT/FluentValidation,olcayseker/FluentValidation,roend83/FluentValidation,ruisebastiao/FluentValidation,roend83/FluentValidation,regisbsb/FluentValidation,cecilphillip/FluentValidation,glorylee/FluentValidation,IRlyDontKnow/FluentValid...
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
apache-2.0
C#
e13200299e7c6cf504a19ef8ed3521cc26e0931e
add authentication to validation controller
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
services/api/Tweek.ApiService.NetCore/Controllers/ValidationController.cs
services/api/Tweek.ApiService.NetCore/Controllers/ValidationController.cs
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Engine.Drivers.Rules; using Engine.Rules.Validation; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Tweek.ApiService.NetCore.Security; // For more information on enabling Web API for empty projects, visi...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; using Engine.Core.Rules; using Engine.Drivers.Rules; using Engine.Rules.Creation; using Engine.Rules.Validation; using Microsoft.AspNetCore.Mvc; using Microsoft.CodeAnalysis.CSharp.Syntax...
mit
C#
6b110599e7a1c59d21ee96fdef9e427cdf8e5adf
add GetFirstEdgeCustom to INode
matiii/Dijkstra.NET
src/Dijkstra.NET/Graph/INode.cs
src/Dijkstra.NET/Graph/INode.cs
using System; namespace Dijkstra.NET.Graph { public interface INode { uint Key { get; } } public interface INode<T, TEdgeCustom> : INode where TEdgeCustom : IEquatable<TEdgeCustom> { T Item { get; } TEdgeCustom GetFirstEdgeCustom(int nodeEdgeKey); } }
using System; namespace Dijkstra.NET.Graph { public interface INode { uint Key { get; } } public interface INode<T, TEdgeCustom> : INode where TEdgeCustom : IEquatable<TEdgeCustom> { T Item { get; } } }
mit
C#
c678cd61e8a39c26781fcc18938eb31b3f7aea93
rename the list action
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs
AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs
using AstroPhotoGallery.Extensions; using AstroPhotoGallery.Models; using PagedList; using System.Data.Entity; using System.Linq; using System.Web.Mvc; namespace AstroPhotoGallery.Controllers { public class TagController : Controller { // // GET: Tag/ListPicsWithTag/id public ActionRes...
using AstroPhotoGallery.Extensions; using AstroPhotoGallery.Models; using PagedList; using System.Data.Entity; using System.Linq; using System.Web.Mvc; namespace AstroPhotoGallery.Controllers { public class TagController : Controller { // // GET: Tag/List/id public ActionResult List(in...
mit
C#
011030648ab129c72b72adb079a9edf4028a4b75
Comment added and cleaning
alexandredubois/openapi-csharp-client
Cdiscount.OpenApi.ProxyClient/Contract/Request/GetCartRequest.cs
Cdiscount.OpenApi.ProxyClient/Contract/Request/GetCartRequest.cs
using System; namespace Cdiscount.OpenApi.ProxyClient.Contract.Request { /// <summary> /// GetCart request object /// </summary> public class GetCartRequest { /// <summary> /// Cart identifier /// </summary> public Guid CartGuid { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cdiscount.OpenApi.ProxyClient.Contract.Request { /// <summary> /// GetCart request object /// </summary> public class GetCartRequest { public Guid Cart...
mit
C#
00fbc8c5a94bde60e5f84e80ac8dd6b6da3ca310
Fix missed RelocatedType annotation
cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,...
src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs
src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // All roles will implement this interface // using System; namespace System.Security.Principal { #if PROJECTN ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // All roles will implement this interface // using System; namespace System.Security.Principal { public in...
mit
C#
7546373f9456bdc710166481bb30dfc30677c55b
Fix test asserting between int and uint
tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
tests/Tgstation.Server.Tests/Instance/DeploymentTest.cs
tests/Tgstation.Server.Tests/Instance/DeploymentTest.cs
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tgstation.Server.Api.Models; using Tgstation.Server.Client.Components; namespace Tgstation.Server.Tests.Instance { sealed class DeploymentTest : JobsRequiredTest { readonly IDreamMakerClie...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tgstation.Server.Api.Models; using Tgstation.Server.Client.Components; namespace Tgstation.Server.Tests.Instance { sealed class DeploymentTest : JobsRequiredTest { readonly IDreamMakerClie...
agpl-3.0
C#
5c5fa26a0d6fc58212aa434f227ed7ccc57ddd12
Add build targets for npm.
FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript
tools/Build/Build.cs
tools/Build/Build.cs
using System; using System.Linq; using Faithlife.Build; using static Faithlife.Build.AppRunner; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var codegen = "fsdgenjs"; var gitLogin = new GitLoginInfo("FacilityApiBot", Environment.Ge...
using System; using System.Linq; using Faithlife.Build; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var codegen = "fsdgenjs"; var gitLogin = new GitLoginInfo("FacilityApiBot", Environment.GetEnvironmentVariable("BUILD_BOT_PASSWORD...
mit
C#
b24fce0ab2eeb79419c32d16fa128809e23ced90
Add more fields to search
joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net
JoinRpg.Services.Impl/Search/SearchServiceImpl.cs
JoinRpg.Services.Impl/Search/SearchServiceImpl.cs
using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.Dal.Impl; using JoinRpg.DataModel; using JoinRpg.Services.Interfaces; using JoinRpg.Services.Interfaces.Search; namespace JoinRpg.Services.Impl.Search { [UsedImplic...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.Dal.Impl; using JoinRpg.DataModel; using JoinRpg.Services.Interfaces; using JoinRpg.Services.Interfaces.Search; namespace JoinRpg.Ser...
mit
C#
e019fdbb75777f84e8b004a0a7d67247587460bb
Fix SGD
kawatan/Milk
Megalopolis/Optimizers/SGD.cs
Megalopolis/Optimizers/SGD.cs
using System; namespace Megalopolis { namespace Optimizers { public class SGD : IOptimizer { public double lr = 0.001; // Learning rate public SGD() { } public SGD(double lr) { this.lr = lr; } public dou...
using System; namespace Megalopolis.Optimizers { public class SGD { public double lr = 0.001; // Learning rate public SGD() { } public SGD(double lr) { this.lr = lr; } public double Optimize(int index, double weight, double gradient) { ...
apache-2.0
C#