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 |
|---|---|---|---|---|---|---|---|---|
7062b0aa1db962eb02f7abc42e51e27f77547301 | Replace helper implementation with DateOffset members | PKRoma/libgit2sharp,libgit2/libgit2sharp | LibGit2Sharp/Core/Epoch.cs | LibGit2Sharp/Core/Epoch.cs | using System;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Provides helper methods to help converting between Epoch (unix timestamp) and <see cref="DateTimeOffset"/>.
/// </summary>
internal static class Epoch
{
/// <summary>
/// Builds a <see cref="DateTimeOffset"/> from a Unix... | using System;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Provides helper methods to help converting between Epoch (unix timestamp) and <see cref="DateTimeOffset"/>.
/// </summary>
internal static class Epoch
{
private static readonly DateTimeOffset epochDateTimeOffset = new DateTimeOf... | mit | C# |
c2b6dd3110a4f8bf2404d3a07d8245830a5dfee5 | Change MessageBox to Snackbar in Chips.xaml.cs | ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit | MainDemo.Wpf/Chips.xaml.cs | MainDemo.Wpf/Chips.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
660cb641b7395b99db6c0a8e8c68beafe65d3c46 | Fix RadioButtons, need to use Active insted of Activate. | monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker | Views/Widgets/BooleanRadioButton.cs | Views/Widgets/BooleanRadioButton.cs | using System;
namespace Views
{
[System.ComponentModel.ToolboxItem(true)]
public partial class BooleanRadioButton : Gtk.Bin, IEditable
{
String[] labels;
bool isEditable;
public BooleanRadioButton ()
{
this.Build ();
}
public String[] Labels {
... | using System;
namespace Views
{
[System.ComponentModel.ToolboxItem(true)]
public partial class BooleanRadioButton : Gtk.Bin, IEditable
{
String[] labels;
bool isEditable;
public BooleanRadioButton ()
{
this.Build ();
}
public String[] Labels {
... | lgpl-2.1 | C# |
b78bddbf0db8a89d6b02ce29338b3844944acabb | Add missing ConfigureAwait | ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.cs | osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.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.Threading;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.Tests.Visual.Drawa... | // 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.Threading;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.Tests.Visual.Drawa... | mit | C# |
ca9a11b1a29cc441165a6fe25392c9477ab71742 | prepare release | anonymousthing/ListenMoeClient | 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("Listen.moe Client")]
[assembly: Ass... | 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("Listen.moe Client")]
[assembly: Ass... | mit | C# |
7f5fc91b601f5c7deb2d02a312360103fd444675 | Bump version to 0.3.7 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// 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.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Resources;
// 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.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
546b3d9bae8e78e215e9c261b3ec52e9315c1025 | Change version to 0.2.1.1 | TechieGuy12/PlexServerAutoUpdater | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#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: Assembl... | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#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: Assembl... | mit | C# |
96004cb8f139d9e5d95c009b483dc52a84df4a1c | Validate stereotypes (#4459) | xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Or... | src/OrchardCore.Modules/OrchardCore.ContentTypes/Editors/ContentTypeSettingsDisplayDriver.cs | src/OrchardCore.Modules/OrchardCore.ContentTypes/Editors/ContentTypeSettingsDisplayDriver.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Localization;
using OrchardCore.ContentManagement.Metadata.Models;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.ContentTypes.ViewModels;
using OrchardCore.DisplayManagement.Views;
namespace OrchardCore... | using System.Threading.Tasks;
using OrchardCore.ContentManagement.Metadata.Models;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.ContentTypes.ViewModels;
using OrchardCore.DisplayManagement.Views;
namespace OrchardCore.ContentTypes.Editors
{
public class ContentTypeSettingsDisplayDriver ... | bsd-3-clause | C# |
2e9b40dfd7fde0cd981f614f1aa8f265833fdb93 | Add IComparable interface to edges | MSayfullin/Basics | Basics.Structures/Graphs/Edge.cs | Basics.Structures/Graphs/Edge.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Basics.Structures.Graphs
{
[DebuggerDisplay("{Source}-({Weight})->{Target}")]
public class Edge<T> : IEquatable<Edge<T>>, IComparable<Edge<T>> where T : IEquatable<T>
{
public Edge(T sou... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Basics.Structures.Graphs
{
[DebuggerDisplay("{Source}-({Weight})->{Target}")]
public class Edge<T> : IEquatable<Edge<T>> where T : IEquatable<T>
{
public Edge(T source, T target, double ... | mit | C# |
68e4f8e5056128f09e8d8512d32c075bf1749641 | Update version | 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# |
5e94ebb9aa1417ea6f0a63b59bc19d307d5c4a6e | Update test | dfensgmbh/biz.dfch.CS.Activiti.Client | src/biz.dfch.CS.Activiti.Client.Tests/ProcessEngineTest.cs | src/biz.dfch.CS.Activiti.Client.Tests/ProcessEngineTest.cs | /**
* Copyright 2015 d-fens GmbH
*
* 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 d-fens GmbH
*
* 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# |
73cfe394ed6e55d7526e60baf680e144bdf0b501 | refactor for serilog | Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Serilog;
namespace ASPNETCoreAngularJWT
{
pu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Serilog;
namespace ASPNETCoreAngularJWT
{
pu... | mit | C# |
1116f6d5956e6e3b0e9dae0b046c26e726ceae58 | Update TestCompositionRootSetup.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/DependencyInjection/TestCompositionRootSetup.cs | TIKSN.UnitTests.Shared/DependencyInjection/TestCompositionRootSetup.cs | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Analytics.Logging;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class TestCompositionRootSetup : CompositionRootSetupBase
{
... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Analytics.Logging;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class TestCompositionRootSetup : CompositionRootSetupBase
{
... | mit | C# |
7e0c0e2d505b77e3433c61ca473397ea61ca0d22 | Update Version : 1.7.171.0 URL Changes + Fix User Manager Delete | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.Framework/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.Framework/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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... | apache-2.0 | C# |
7c90e6b379581049c235d9ac1da7e7a38b0d2e57 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
141e95229261292ed7f006b9f711d2c113efb25a | Fix #1: Grammar correction | ngEPL/Mocca | Mocca/Physical/PhysicalParser.cs | Mocca/Physical/PhysicalParser.cs |
using System;
using System.Collections.Generic;
using Mocca.Compiler;
using Mocca.DataType;
using Mocca.Blocks;
namespace Mocca.Physical {
public enum PhysicalDevice {
Microbit,
Arduino,
RaspberryPi,
Unknown
}
public class PhysicalParser {
public Block block;
public PhysicalDevice device;
public Ph... |
using System;
using System.Collections.Generic;
using Mocca.Compiler;
using Mocca.DataType;
using Mocca.Blocks;
namespace Mocca.Physical {
public enum PhysicalDevice {
Microbit,
Arduino,
RaspberryPi,
Unknown
}
public class PhysicalParser {
public Block block;
public PhysicalDevice device;
public Ph... | mit | C# |
d5093b656746231134b14b7d4a65f03e16dd5c6d | Fix "AddEnte" | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneRubrica/Enti/AddEnte.cs | src/backend/SO115App.Persistence.MongoDB/GestioneRubrica/Enti/AddEnte.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Condivise;
using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti;
namespace SO115App.Persistence.MongoDB.GestioneRubrica.Enti
{
public class AddEnte : IAddEnte
{
private readonly DbContext _dbContext;
... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Condivise;
using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti;
namespace SO115App.Persistence.MongoDB.GestioneRubrica.Enti
{
public class AddEnte : IAddEnte
{
private readonly DbContext _dbContext;
... | agpl-3.0 | C# |
4634cac7ad3cbcc9d634ffc9330c5030f5d1396e | Update BlockDimensions.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO.Gdal/BlockDimensions.cs | src/RasterIO.Gdal/BlockDimensions.cs | // Contributors:
// James Domingo, Green Code LLC
namespace Landis.RasterIO.Gdal
{
/// <summary>
/// Dimensions of a data block for a raster band.
/// </summary>
public struct BlockDimensions
{
public int XSize;
public int YSize;
}
}
| // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
4961416dd1b241a8192eed447c8b24ee4a59a639 | update HtmlExtensions. -add teg stripper. | SorenZ/Alamut | src/Alamut.Helpers/Html/HtmlExtensions.cs | src/Alamut.Helpers/Html/HtmlExtensions.cs | using System.Text.RegularExpressions;
namespace Alamut.Helpers.Html
{
/// <summary>
/// sets of tools and utility to work on Html text
/// </summary>
public static class HtmlExtensions
{
private static readonly Regex HtmlRegext = new Regex(@"<[^>]*(>|$)| |‌|»|«|"... | using System.Text.RegularExpressions;
namespace Alamut.Helpers.Html
{
/// <summary>
/// sets of tools and utility to work on Html text
/// </summary>
public static class HtmlExtensions
{
private static readonly Regex HtmlRegext = new Regex(@"<[^>]*(>|$)| |‌|»|«|"... | mit | C# |
4810d2ddd2ff54a408a76aa286a5c754d2237dc6 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: July 10, 2020<br /><br />
We are open and receiving samples during normal business hours.<br /><br />
Pleas... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: June 10, 2020<br /><br />
We are open and receiving samples as usual.<br /><br />
Thank you for your patience ... | mit | C# |
b743aa41c9bb8bbbe5cd6d74e122339823b7e7d5 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
<h3>The lab is experiencing much longer turnarounds than normal. Most tests are subject to at least 4 - 6 weeks.</h3>
<strong> ... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
<h3>The lab is experiencing much longer turnarounds than normal. Most tests are subject to at least 4 - 6 weeks.</h3>
<strong> ... | mit | C# |
4ead64705dad39dd0806059d1bb609f194c51dfa | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: September 30, 2020<br /><br />
In response to the emergency need for the analysis of wine for smoke taint,
... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: September 30, 2020<br /><br />
In response to the emergency need for the analysis of wine for smoke taint,
... | mit | C# |
91d2976c443bf0ccd01a6494d64041f864e98339 | Add custom type serializer to destruction spawn (#7190) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs | Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs | using Content.Server.Stack;
using Content.Shared.Prototypes;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary;
namespace Content.Server.Destructible.Thresholds.Behaviors
{
[Serializable]
[DataDefinition]
public sealed class SpawnE... | using Content.Server.Stack;
using Content.Shared.Prototypes;
namespace Content.Server.Destructible.Thresholds.Behaviors
{
[Serializable]
[DataDefinition]
public sealed class SpawnEntitiesBehavior : IThresholdBehavior
{
/// <summary>
/// Entities spawned on reaching this threshold, f... | mit | C# |
b80903def7e6444c580397777b663e2889426d43 | Bump version for release | ntent-ad/consuldotnet,highlyunavailable/consuldotnet,PlayFab/consuldotnet,yonglehou/consuldotnet | Consul/Properties/AssemblyInfo.cs | Consul/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... | apache-2.0 | C# |
401c7b6a483996f5076617f1511f40cd3a7cfbc1 | Convert fields to properties | jlewin/MatterSlice | MatterSliceLib/GCodePathConfig.cs | MatterSliceLib/GCodePathConfig.cs | /*
This file is part of MatterSlice. A commandline utility for
generating 3D printing GCode.
Copyright (C) 2013 David Braam
Copyright (c) 2014, Lars Brubaker
MatterSlice is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Softwar... | /*
This file is part of MatterSlice. A commandline utility for
generating 3D printing GCode.
Copyright (C) 2013 David Braam
Copyright (c) 2014, Lars Brubaker
MatterSlice is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Softwar... | agpl-3.0 | C# |
20413b9a921b8629be53a36c50d55a78febcbda2 | Use localized content for cookies disabled message | markeldigital/design-system,markeldigital/design-system,markeldigital/design-system,markeldigital/design-system,markeldigital/design-system | Markel.REMUS.DesignSystem.Web/Components/cookies-disabled/template/cookiesDisabledMessage.cshtml | Markel.REMUS.DesignSystem.Web/Components/cookies-disabled/template/cookiesDisabledMessage.cshtml | <article id="cookies-disabled-panel" class="panel-inverse">
<h1>@Text.Content.CookiesDisabledHeading</h1>
<section>
@Text.Content.CookiesDisabledDetails
</section>
</br>
</br>
</article>
| <article id="cookies-disabled-panel" class="panel-inverse">
<h1>Cookies are disabled</h1>
<section>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliq... | mit | C# |
db80294a45a708c179c0a44f49ecf5ac6bbe5db3 | Make Handbook page not blank (#153) | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/docs/handbook/index.cshtml | input/docs/handbook/index.cshtml | Order: 15
---
@Html.Partial("_ChildPages")
| Order: 15
---
This page is deliberately blank.
| mit | C# |
8ad1fa403822c8ac3f3c7e66cd3b504540983e6d | Fix IsInternetAvailable Method | janabimustafa/waslibs,janabimustafa/waslibs,janabimustafa/waslibs,wasteam/waslibs,pellea/waslibs,wasteam/waslibs,pellea/waslibs,wasteam/waslibs,pellea/waslibs | src/AppStudio.Uwp/Services/InternetConnection.cs | src/AppStudio.Uwp/Services/InternetConnection.cs | using System;
using Windows.Networking.Connectivity;
namespace AppStudio.Uwp.Services
{
public static class InternetConnection
{
public static bool IsInternetAvailable()
{
try
{
ConnectionProfile connections = NetworkInformation.GetInternetConnectionProf... | using System.Linq;
using System.Net.NetworkInformation;
using Windows.Networking.Connectivity;
namespace AppStudio.Uwp.Services
{
public static class InternetConnection
{
public static bool IsInternetAvailable()
{
if (!NetworkInterface.GetIsNetworkAvailable())
{
... | mit | C# |
79b4944c0e20aed974220d65e6d26f7c012c1727 | Fix typo in DownloadPersonalData | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/UI/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml.cs | src/UI/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml.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;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetC... | // 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;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetC... | apache-2.0 | C# |
6016310b0933f3a81a91ba9167be8b138df74e04 | Use a better default for difficulty values | EVAST9919/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,Damnae/osu,naoey/osu,Drezi126/osu,johnneijzen/osu,DrabWeb/osu,UselessToucan/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,2yangk23... | osu.Game/Database/BeatmapDifficulty.cs | osu.Game/Database/BeatmapDifficulty.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 SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class BeatmapDifficulty
{
/// <summary>
/// The default value used ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class BeatmapDifficulty
{
/// <summary>
/// The default value used ... | mit | C# |
29d860d70af513d2c126813b6048cbdafcb40057 | Add PremiumRS value to DatabaseEdition enum | seanbamsft/azure-powershell,atpham256/azure-powershell,AzureRT/azure-powershell,atpham256/azure-powershell,seanbamsft/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,yoavrubin/azure-powershell,hungmai-msft/azure-powershell,alfantp/azure-powershell,naveedaz/azure-powershell,alf... | src/ResourceManager/Sql/Commands.Sql/Database/Model/DatabaseEdition.cs | src/ResourceManager/Sql/Commands.Sql/Database/Model/DatabaseEdition.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# |
f968a31ebf964215e8493997589d21252f9d413a | Optimize windows platform detection code | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity | src/UnityExtension/Assets/Editor/GitHub.Unity/IO/DefaultEnvironment.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/IO/DefaultEnvironment.cs | using System;
using System.IO;
namespace GitHub.Unity
{
class DefaultEnvironment : IEnvironment
{
public string GetSpecialFolder(Environment.SpecialFolder folder)
{
return Environment.GetFolderPath(folder);
}
public string ExpandEnvironmentVariables(string name)
... | using System;
using System.IO;
namespace GitHub.Unity
{
class DefaultEnvironment : IEnvironment
{
public string GetSpecialFolder(Environment.SpecialFolder folder)
{
return Environment.GetFolderPath(folder);
}
public string ExpandEnvironmentVariables(string name)
... | mit | C# |
4e056f16b767cb8d716fd29b6721639b31b02db1 | Remove unused using | Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb... | osu.Framework/Allocation/RecursiveLoadException.cs | osu.Framework/Allocation/RecursiveLoadException.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using System.Reflection;
using System.Text;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Alloca... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using System.Reflection;
using System.Text;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphi... | mit | C# |
4afc808ffcf32c1930f7a1bd256b62926b6c65e3 | Remove horizontal transitions for now | ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu | osu.Game/Screens/OnlinePlay/OnlinePlaySubScreen.cs | osu.Game/Screens/OnlinePlay/OnlinePlaySubScreen.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.Graphics;
using osu.Framework.Screens;
namespace osu.Game.Screens.OnlinePlay
{
public abstract class OnlinePlayS... | // 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.Graphics;
using osu.Framework.Screens;
namespace osu.Game.Screens.OnlinePlay
{
public abstract class OnlinePlayS... | mit | C# |
2a98347ca28d2d5db14a017b9c0738faa2c38c3d | Set version before restore | Bee-Htcpcp/protoactor-dotnet,masteryee/protoactor-dotnet,cpx86/protoactor-dotnet,AsynkronIT/protoactor-dotnet,raskolnikoov/protoactor-dotnet,tomliversidge/protoactor-dotnet,masteryee/protoactor-dotnet,raskolnikoov/protoactor-dotnet,tomliversidge/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,cpx86/protoactor-dotnet | build.cake | build.cake | #addin Cake.Git
var packageVersion = "0.1.0";
var target = Argument("target", "Default");
var mygetApiKey = Argument<string>("mygetApiKey", null);
var currentBranch = Argument<string>("currentBranch", GitBranchCurrent("./").FriendlyName);
var buildNumber = Argument<string>("buildNumber", null);
var versionSuffix = "... | #addin Cake.Git
var packageVersion = "0.1.0";
var target = Argument("target", "Default");
var mygetApiKey = Argument<string>("mygetApiKey", null);
var currentBranch = Argument<string>("currentBranch", GitBranchCurrent("./").FriendlyName);
var buildNumber = Argument<string>("buildNumber", null);
var versionSuffix = "... | apache-2.0 | C# |
9d1422e6fdf24452319008544a0d6ae565ae8d09 | fix for CI | fluentassertions/fluentassertions.analyzers | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | mit | C# |
2ef8e7d09332fd91b0b23b956a70b8ba8da05fca | Update Contact.cs | programulya/Contacts,programulya/Contacts | Contacts/Domain/Contact.cs | Contacts/Domain/Contact.cs | using System;
namespace Contacts.Domain
{
public sealed class Contact
{
public Int32 Id { get; set; }
public String Email { get; set; }
public String FirstName { get; set; }
public String MiddleName { get; set; }
public String LastName { get; set; }
public String Phone { get; set; }
public Int3... | using System;
namespace Contacts.Domain
{
public sealed class Contact
{
public Int32 Id { get; set; }
public String Email { get; set; }
public String FirstName { get; set; }
public String MiddleName { get; set; }
public String LastName { get; set; }
public String Phone { get; set; }
public Int32... | mit | C# |
7a963d44c9158e1880b37ab8657c359cbd513380 | Update KymPhillpotts.cs | beraybentesen/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin... | src/Firehose.Web/Authors/KymPhillpotts.cs | src/Firehose.Web/Authors/KymPhillpotts.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
public class KymPhillpotts : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Kym";
public string LastName => "Phillpotts";
public string Title => "instructor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
public class KymPhillpotts : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Kym";
public string LastName => "Phillpotts";
public string Title => "Instructor... | mit | C# |
6277b65404d8ebcaaf928d54e88556eceff595f3 | Change Version Number to 9.6.0.11 | krs43/ib-csharp,sebfia/ib-csharp,qusma/ib-csharp | Krs.Ats.IBNet/Properties/AssemblyInfo.cs | Krs.Ats.IBNet/Properties/AssemblyInfo.cs | using System;
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("Krs.Ats.IBNet")]
... | using System;
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("Krs.Ats.IBNet")]
... | mit | C# |
80689ba735032076831e4f9a1a952e12a37f8171 | Fix issue with graphql-dotnet where multiple interfaces would correctly register from a .graphqls. (#704) | graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet | src/GraphQL/Types/GraphQLTypeReference.cs | src/GraphQL/Types/GraphQLTypeReference.cs | namespace GraphQL.Types
{
public class GraphQLTypeReference : InterfaceGraphType
{
public GraphQLTypeReference(string typeName)
{
Name = "__GraphQLTypeReference";
TypeName = typeName;
}
public string TypeName { get; private set; }
public overrid... | namespace GraphQL.Types
{
public class GraphQLTypeReference : InterfaceGraphType
{
public GraphQLTypeReference(string typeName)
{
Name = "__GraphQLTypeReference";
TypeName = typeName;
}
public string TypeName { get; private set; }
}
} | mit | C# |
ba98eef34522e2d100b4df6388e903d92a235a6a | Update assembly version to match package version | mikeobrien/HidLibrary,mikeobrien/HidLibrary | src/HidLibrary/Properties/AssemblyInfo.cs | src/HidLibrary/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
3e45247748224184e05c8b80d60791ef5c677d0e | add s | IlyasGaripov/Math-Shapes | MathShapesProject/Assets/Scripts/Game.cs | MathShapesProject/Assets/Scripts/Game.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Game : MonoBehaviour {
private int stars;
// Use this for initialization
void Start () {
int s;
}
// Update is called once per frame
void Update () {
}
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Game : MonoBehaviour {
private int stars;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| mit | C# |
2cf50613425086609786c0f827c820fead72c0ec | add method for local time | huoxudong125/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET,alhardy/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.... | Src/Metrics.Tests/TestUtils/TestClock.cs | Src/Metrics.Tests/TestUtils/TestClock.cs | using System;
using Metrics.Utils;
namespace Metrics.Tests.TestUtils
{
public sealed class TestClock : Clock
{
private long nanoseconds = 0;
public override long Nanoseconds { get { return this.nanoseconds; } }
public override DateTime LocalDateTime { get { return new DateTime(this.n... | using System;
using Metrics.Utils;
namespace Metrics.Tests.TestUtils
{
public sealed class TestClock : Clock
{
private long nanoseconds = 0;
public override long Nanoseconds { get { return this.nanoseconds; } }
public void Advance(TimeUnit unit, long value)
{
this.n... | apache-2.0 | C# |
04868c79fc563d137682fe4ba0d2705a4f2769f0 | test setup fix | yetanotherchris/Remy | src/Remy.Tests/Unit/Core/Tasks/TypeManagerTests.cs | src/Remy.Tests/Unit/Core/Tasks/TypeManagerTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Remy.Core.Tasks;
using Remy.Tests.StubsAndMocks;
using Serilog;
namespace Remy.Tests.Unit.Core.Tasks
{
[TestFixture]
public class TypeManagerTests
{
private ILogger _logger;
private string _currentD... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Remy.Core.Tasks;
using Remy.Tests.StubsAndMocks;
using Serilog;
namespace Remy.Tests.Unit.Core.Tasks
{
[TestFixture]
public class TypeManagerTests
{
private ILogger _logger;
private string _currentD... | mit | C# |
88ed56836d926d141d945210b21b7111b5da3d82 | Make project comvisible explicitly set to false to meet compliance requirements. | Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5 | src/Microsoft.ApplicationInsights.AspNetCore/Properties/AssemblyInfo.cs | src/Microsoft.ApplicationInsights.AspNetCore/Properties/AssemblyInfo.cs | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.AspNetCore.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131... | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.AspNetCore.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0... | mit | C# |
473407d2a12c8f36b2ba7ea1d5cc2bc7e39d4dda | Support nullable properties on authorization_controls | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationControls.cs | src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationControls.cs | namespace Stripe.Issuing
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class AuthorizationControls : StripeEntity
{
[JsonProperty("allowed_categories")]
public List<string> AllowedCategories { get; set; }
[JsonProperty("blocked_categories")]
public L... | namespace Stripe.Issuing
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class AuthorizationControls : StripeEntity
{
[JsonProperty("allowed_categories")]
public List<string> AllowedCategories { get; set; }
[JsonProperty("blocked_categories")]
public L... | apache-2.0 | C# |
881471c9e5a31741f0fecf09f614b985b61abdcb | Fix failing test | kevbite/CompaniesHouse.NET,LiberisLabs/CompaniesHouse.NET | src/CompaniesHouse.IntegrationTests/Tests/CompanyFilingHistoryTests/CompanyFilingHistoryTestsValid.cs | src/CompaniesHouse.IntegrationTests/Tests/CompanyFilingHistoryTests/CompanyFilingHistoryTestsValid.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompaniesHouse.Response.CompanyFiling;
using NUnit.Framework;
namespace CompaniesHouse.IntegrationTests.Tests.CompanyFilingHistoryTests
{
[TestFixtureSource(nameof(TestCases))]
public class CompanyFilingHistoryTestsValid :... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompaniesHouse.Response.CompanyFiling;
using NUnit.Framework;
namespace CompaniesHouse.IntegrationTests.Tests.CompanyFilingHistoryTests
{
[TestFixtureSource(nameof(TestCases))]
public class CompanyFilingHistoryTestsValid :... | mit | C# |
5284e17ecb7436cbfc2c1c3eb9cf50ff40474691 | Change the HTML according to the new Habitat theming | zyq524/Habitat,bhaveshmaniya/Habitat,nurunquebec/Habitat,GoranHalvarsson/Habitat,bhaveshmaniya/Habitat,ClearPeopleLtd/Habitat,GoranHalvarsson/Habitat,nurunquebec/Habitat,zyq524/Habitat,ClearPeopleLtd/Habitat | src/Feature/faq/code/Views/FAQ/FaqAccordion.cshtml | src/Feature/faq/code/Views/FAQ/FaqAccordion.cshtml | @using System.Web.Mvc.Html
@using Sitecore.Feature.FAQ.Repositories
@using Sitecore.Feature.FAQ
@using Sitecore.Data.Items
@model Sitecore.Mvc.Presentation.RenderingModel
@{
var elements = GroupMemberRepository.Get(Model.Item).ToArray();
}
@foreach (Item item in elements)
{
var ID = Guid.NewGuid().ToString()... | @using System.Web.Mvc.Html
@using Sitecore.Feature.FAQ.Repositories
@using Sitecore.Feature.FAQ
@using Sitecore.Data.Items
@model Sitecore.Mvc.Presentation.RenderingModel
@{
var elements = GroupMemberRepository.Get(Model.Item).ToArray();
int i = 1;
}
@foreach (Item item in elements)
{
var ID = Guid.NewGu... | apache-2.0 | C# |
d7010fb19ec0a93e3d71a83375362a1cba6ff86b | Add comment | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | AspNetCoreSdkTests/TestData.cs | AspNetCoreSdkTests/TestData.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AspNetCoreSdkTests
{
public static class TestData
{
public static IEnumerable<TestCaseData> AllTemplates { get; } =
from t in Enum.GetValues(typeof(Template)).Cast<Template>()
fr... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AspNetCoreSdkTests
{
public static class TestData
{
public static IEnumerable<TestCaseData> AllTemplates { get; } =
from t in Enum.GetValues(typeof(Template)).Cast<Template>()
fr... | apache-2.0 | C# |
b9b5da07dd1f598fa374d7d4901f684920c04f03 | update the TrackingDetail class to make the 'tracking_location' property a single TrackingLocation rather than a collection of them, as per this documentation: https://www.easypost.com/docs/api#tracking | jmalatia/easypost-csharp,EasyPost/easypost-csharp,kendallb/easypost-async-csharp,EasyPost/easypost-csharp | EasyPost/TrackingDetail.cs | EasyPost/TrackingDetail.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyPost {
public class TrackingDetail : IResource {
public DateTime datetime { get; set; }
public string message { get; set; }
public string status { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyPost {
public class TrackingDetail : IResource {
public DateTime datetime { get; set; }
public string message { get; set; }
public string status { get; set; }
... | mit | C# |
4045ee4e9556530915cf65e66e26cd8c2c3f5d40 | Update WaterVapourReaction.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/Atmospherics/Data/Reactions/WaterVapourReaction.cs | UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/Atmospherics/Data/Reactions/WaterVapourReaction.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Systems.Atmospherics
{
public class WaterVapourReaction : Reaction
{
public bool Satisfies(GasMix gasMix)
{
throw new System.NotImplementedException();
}
public void React(GasMix gasMix, Vector3 tilePos, Matrix matr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Systems.Atmospherics
{
public class WaterVapourReaction : Reaction
{
public bool Satisfies(GasMix gasMix)
{
throw new System.NotImplementedException();
}
public void React(GasMix gasMix, Vector3 tilePos, Matrix matr... | agpl-3.0 | C# |
299a7605ca9b5a1c75eaca11ab1b7c0330deb7d1 | Call base.Dispose in HttpConnectionResponseContent | ahmetalpbalkan/Docker.DotNet,jterry75/Docker.DotNet,jterry75/Docker.DotNet | Docker.DotNet/Microsoft.Net.Http.Client/HttpConnectionResponseContent.cs | Docker.DotNet/Microsoft.Net.Http.Client/HttpConnectionResponseContent.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Microsoft.Net.Http.Client
{
public class HttpConnectionResponseContent : HttpContent
{
private readonly HttpConnection _connection;
private Stream _responseStream;
internal HttpConnectionResp... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Microsoft.Net.Http.Client
{
public class HttpConnectionResponseContent : HttpContent
{
private readonly HttpConnection _connection;
private Stream _responseStream;
internal HttpConnectionResp... | apache-2.0 | C# |
2a13f6ed19b202bdf510738bbd142f5522eefd3f | Update ShapeTool.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/UI/Avalonia/Dock/Tools/ShapeTool.cs | src/Core2D/UI/Avalonia/Dock/Tools/ShapeTool.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DMC = Dock.Model.Controls;
namespace Core2D.UI.Avalonia.Dock.Tools
{
/// <summary>
/// Shape view.
/// </summary>
public class ShapeTool : D... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DMC=Dock.Model.Controls;
namespace Core2D.UI.Avalonia.Dock.Tools
{
/// <summary>
/// Shape view.
/// </summary>
public class ShapeTool : DMC... | mit | C# |
30bbb8a2b736464f3daccdc7bea60c88c8a59622 | Fix error | 12joan/hangman | row.cs | row.cs | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
... | unlicense | C# |
e0fab12e4509eedef9916fc6b0c8952f2ef32443 | Undo previous commit | fluentmigrator/fluentmigrator,stsrki/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator | src/FluentMigrator.DotNet.Cli/Commands/Root.cs | src/FluentMigrator.DotNet.Cli/Commands/Root.cs | #region License
// Copyright (c) 2007-2018, Sean Chambers and the FluentMigrator Project
//
// 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
/... | #region License
// Copyright (c) 2007-2018, Sean Chambers and the FluentMigrator Project
//
// 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# |
90307bc71e8f7a62fd07a93648aacd8091bff80e | fix dotnet-repl-csi | marono/cli,marono/cli,jaredpar/cli,MichaelSimons/cli,jaredpar/cli,FubarDevelopment/cli,naamunds/cli,jaredpar/cli,AbhitejJohn/cli,mylibero/cli,mylibero/cli,mylibero/cli,Faizan2304/cli,krwq/cli,livarcocc/cli-1,johnbeisner/cli,livarcocc/cli-1,krwq/cli,jonsequitur/cli,stuartleeks/dotnet-cli,AbhitejJohn/cli,gkhanna79/cli,ml... | src/Microsoft.DotNet.Tools.Repl.Csi/Program.cs | src/Microsoft.DotNet.Tools.Repl.Csi/Program.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Microsoft.Dnx.Runtime.Common.CommandLine;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Too... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Microsoft.Dnx.Runtime.Common.CommandLine;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Too... | mit | C# |
bd872b45afe894359b25af8528907abbfb844107 | Fix for SiteWebhookSerializer for schema V201705 | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Serializers/V201705/SiteWebhooksSerializer.cs | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Serializers/V201705/SiteWebhooksSerializer.cs | using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Serializers... | using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Serializers... | mit | C# |
68e269904377205b62661aac719c886be9ba320d | Fix oversight in playlist matching logic | smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu | osu.Game/Overlays/Music/Playlist.cs | osu.Game/Overlays/Music/Playlist.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu... | mit | C# |
4f12aca473a586a72a27b4de7767442664ba41e8 | Fix tests | austinmao/reduxity,austinmao/reduxity | Assets/Tests/Editor/CharacterMoverTests.cs | Assets/Tests/Editor/CharacterMoverTests.cs | using UnityEngine;
using NUnit.Framework;
namespace Reduxity.Tests.Example {
[TestFixture]
public class CharacterMoverTests {
private App app_;
private GameObject mockGameObject_;
[SetUpAttribute]
public void Init() {
// initialize app
app_ = new App();
app_.Initialize();
// set initial stat... | using UnityEngine;
using NUnit.Framework;
namespace Reduxity.Tests.Example {
[TestFixture]
public class CharacterMoverTests {
private App app_;
private GameObject mockGameObject_;
private State initialStateDump_;
private State currentStateDump_;
[SetUpAttribute]
public void Init() {
// initialize ... | mit | C# |
3bf9979b17aaec77a0c56f94e8dc9860b9b06c68 | Bump version to 0.6.1 | 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# |
645d6f5c2b06fdaadaf4add1e0ac385566d133c6 | Bump version | nixxquality/WebMConverter,o11c/WebMConverter,Yuisbean/WebMConverter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | 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("We... | mit | C# |
e1b99799eb9f206b624745fc12914f8c2d0f38c4 | 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. | caioproiete/Autofac.Wcf,autofac/Autofac.Wcf | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.Wcf")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.Wcf")]
[assembly: AssemblyDescription("")]
| mit | C# |
b5e4a6fb07542e1ffc4a9b7de71a010fe46b9a10 | Refactor detector deeplink logic | projectkudu/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu | Kudu.Services.Web/Detectors/Default.cshtml | Kudu.Services.Web/Detectors/Default.cshtml | @{
var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? "";
var subscriptionId = ownerName;
var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? "";
var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? "";
var hostName = Envi... | @{
var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? "";
var subscriptionId = ownerName;
var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? "";
var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? "";
var hostName = Envi... | apache-2.0 | C# |
a2c8e4b3a7378d4e869493eb2e92a154e77cb2d9 | rename bug_39 test | Construktion/Construktion,Construktion/Construktion | Construktion.Tests/Bugs/Bug_39_interface_properties_are_matching_the_ignore_virtual_properties_blueprint.cs | Construktion.Tests/Bugs/Bug_39_interface_properties_are_matching_the_ignore_virtual_properties_blueprint.cs | namespace Construktion.Tests.Bugs
{
using System;
using Blueprints.Simple;
using Shouldly;
using Xunit;
public class Bug_39_interface_properties_are_matching_the_ignore_virtual_properties_blueprint
{
[Fact]
public void interface_properties_should_not_match_virtual_blueprint()
... | namespace Construktion.Tests.Bugs
{
using System;
using Blueprints.Simple;
using Shouldly;
using Xunit;
public class Bug_39_interface_properties_are_matching_the_ignore_virtual_properties_blueprint
{
[Fact]
public void interface_members_should_not_match_virtual_blueprint()
... | mit | C# |
5cc3dc9d8d8867b7c75d21c8b7504d529eb6b618 | modify InControls keyboard profile | kasoki/UniCube,kasoki/UniCube | InControl/Unity/DeviceProfiles/KeyboardProfile.cs | InControl/Unity/DeviceProfiles/KeyboardProfile.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace InControl
{
[AutoDiscover]
public class KeyboardProfile : UnityInputDeviceProfile
{
public KeyboardProfile()
{
Name = "Keyboard";
Meta = "";
SupportedPlatforms = new[]
{
"Windows",
"Mac",
"Linux"
};
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace InControl
{
[AutoDiscover]
public class KeyboardProfile : UnityInputDeviceProfile
{
public KeyboardProfile()
{
Name = "Keyboard";
Meta = "";
SupportedPlatforms = new[]
{
"Windows",
"Mac",
"Linux"
};
... | mit | C# |
65df8afef05e8e6d704b0a395ca80481cb82b961 | Add missing copyright notice | Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet | Realm.Shared/weaving/IRealmObjectHelper.cs | Realm.Shared/weaving/IRealmObjectHelper.cs | /* Copyright 2016 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System;
namespace Realms.Weaving
{
public interface IRealmObjectHelper
{
RealmObject CreateInstance();
}
}
| using System;
namespace Realms.Weaving
{
public interface IRealmObjectHelper
{
RealmObject CreateInstance();
}
}
| apache-2.0 | C# |
8ec78c12f3565cc81e8708a53a52c8663956b797 | Update TwoAnimation.cs | thakyZ/VoidEngine,vvoid-inc/VoidEngine | VoidEngine/TwoAnimation.cs | VoidEngine/TwoAnimation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Inp... | mit | C# |
6c7b70e70db54d5bd8c8a68d23399fbf86ebf10c | Bump Version | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt | SPAD.Interfaces/Properties/AssemblyInfo.cs | SPAD.Interfaces/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
// 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.... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
// 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.... | mit | C# |
4e6b0d673f5943c21d7454d45b61959a80aa10b9 | Change 'StartGame' method to 'OpenScene' method for wider use | Curdflappers/UltimateTicTacToe | Assets/Resources/Scripts/settings/PlayController.cs | Assets/Resources/Scripts/settings/PlayController.cs | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PlayController : MonoBehaviour
{
public InputField p1Name, p2Name;
public ToggleGroup p1Toggle, p2Toggle;
public Slider p1Difficulty, p2Difficulty;
public void PlayGame()
{
... | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PlayController : MonoBehaviour
{
public InputField p1Name, p2Name;
public ToggleGroup p1Toggle, p2Toggle;
public Slider p1Difficulty, p2Difficulty;
public void PlayGame()
{
... | mit | C# |
77c96cd28611c17c225fe77a42b304b96524146d | Add player's current resolution to dropdown list | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Menu/Dropdowns/ResolutionDropdown.cs | Assets/Scripts/Menu/Dropdowns/ResolutionDropdown.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
public class ResolutionDropdown : MonoBehaviour
{
private const char ResolutionDelimiter = 'x';
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Dropdown drop... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
public class ResolutionDropdown : MonoBehaviour
{
private const char ResolutionDelimiter = 'x';
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Dropdown drop... | mit | C# |
d09d46ddd891ab985ca2fcf117642aa0b1b63085 | Fix assembly version attributes for Ignition.Foundation.Core | sitecoreignition/Ignition.Foundation | Ignition.Foundation.Core/Properties/AssemblyInfo.cs | Ignition.Foundation.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Ignition.Foundation.Core.Automap;
// 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("... | using System.Reflection;
using System.Runtime.InteropServices;
using Ignition.Foundation.Core.Automap;
// 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("... | mit | C# |
5b09e3043113f3c3ae5b9a82973a8c8f750c5e00 | change the commands used by the application | TwilioDevEd/marketing-notifications-csharp,TwilioDevEd/marketing-notifications-csharp | MarketingNotifications.Web/Domain/MessageCreator.cs | MarketingNotifications.Web/Domain/MessageCreator.cs | using System;
using System.Threading.Tasks;
using MarketingNotifications.Web.Models;
using MarketingNotifications.Web.Models.Repository;
namespace MarketingNotifications.Web.Domain
{
public class MessageCreator
{
private readonly ISubscribersRepository _repository;
private const string Subscri... | using System;
using System.Threading.Tasks;
using MarketingNotifications.Web.Models;
using MarketingNotifications.Web.Models.Repository;
namespace MarketingNotifications.Web.Domain
{
public class MessageCreator
{
private readonly ISubscribersRepository _repository;
private const string Subscri... | mit | C# |
f7f735eab4bb2443702776762711a59213e12c5c | Update DefaultRegistry.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Jobs/DependencyResolution/DefaultRegistry.cs | src/SFA.DAS.EmployerFinance.Jobs/DependencyResolution/DefaultRegistry.cs | using System;
using System.Configuration;
using System.Data.SqlClient;
using Microsoft.Azure.Services.AppAuthentication;
using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.EmployerFinance.Data;
using StructureMap;
namespace SFA.DAS.EmployerFinance.Jobs.DependencyResolution
{
public class DefaultRegistry :... | using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.EmployerFinance.Data;
using StructureMap;
namespace SFA.DAS.EmployerFinance.Jobs.DependencyResolution
{
public class DefaultRegistry : Registry
{
public DefaultRegistry()
{
Scan(s =>
{
s.Assembli... | mit | C# |
48ab59dd01c7ee3fa240d09303e3747f94f61931 | fix - box personale 204 no content | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/ServiziEsterni/OPService/WorkShift.cs | src/backend/SO115App.Models/Classi/ServiziEsterni/OPService/WorkShift.cs | using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
namespace SO115App.Models.Classi.ServiziEsterni.OPService
{
public class WorkShift
{
public WorkShift()
{
Precedente = new SquadraWorkShift();
Successivo = new SquadraWorkShift();... | using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
namespace SO115App.Models.Classi.ServiziEsterni.OPService
{
public class WorkShift
{
[JsonPropertyName("previous")]
public SquadraWorkShift Precedente { get; set; }
[JsonPropertyName("next")]
... | agpl-3.0 | C# |
83e92f6ecff44d7be9a3c73a4a81f6a25b31acb8 | Change exception type for null argument to ArgumentNullException. | devtyr/gullap | DevTyr.Gullap.Tests/With_Converter/For_SetParser/When_argument_is_null.cs | DevTyr.Gullap.Tests/With_Converter/For_SetParser/When_argument_is_null.cs | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Converter.For_SetParser
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argument_null_exception ()
{
var converter = new Converter (new ConverterOptions {
SitePath = "any"
... | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Converter.For_SetParser
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argument_exception ()
{
var converter = new Converter (new ConverterOptions {
SitePath = "any"
})... | mit | C# |
a7a1b71a824716efbb04b818283b848327163e18 | Use auto properties | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs | WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs | using System;
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel
{
protected RoutableViewModel(NavigationStateViewModel navigationState, NavigationTarget navigationTa... | using System;
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private NavigationTarget _navigationTarget;
... | mit | C# |
27e8c971d05ee4bd8600d46a250aac6de90610b6 | Change statusbar errors to yellow | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Converters/StatusColorConvertor.cs | WalletWasabi.Gui/Converters/StatusColorConvertor.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Avalonia.Data.Converters;
using Avalonia.Media;
using AvalonStudio.Extensibility.Theme;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Converters
{
public class StatusColorConvertor : IValueConverter
{
publ... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Avalonia.Data.Converters;
using Avalonia.Media;
using AvalonStudio.Extensibility.Theme;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Converters
{
public class StatusColorConvertor : IValueConverter
{
publ... | mit | C# |
40c1d1867c0fb05e97e9c32b7295cadc5dde8fdf | fix migrations configuratuion | NickSerg/water-meter,NickSerg/water-meter,NickSerg/water-meter | WaterMeter/WM.AspNetMvc/Migrations/Configuration.cs | WaterMeter/WM.AspNetMvc/Migrations/Configuration.cs | using System;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using WM.AspNetMvc.Models;
using Constants = WM.AspNetMvc.Models.Constants;
namespace WM.AspNetMvc.Migrations
{
internal class Configuration : DbMigrationsC... | using System;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using WM.AspNetMvc.Models;
using Constants = WM.AspNetMvc.Models.Constants;
namespace WM.AspNetMvc.Migrations
{
internal class Configuration : DbMigrationsC... | apache-2.0 | C# |
3fba9ac775397a18cacb0524039283e0e6e9062a | Increase the estinated cost for the text file property store to 10 to avoid fetching all dead properties | FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer | FubarDev.WebDavServer.Props.Store.TextFile/TextFilePropertyStoreOptions.cs | FubarDev.WebDavServer.Props.Store.TextFile/TextFilePropertyStoreOptions.cs | // <copyright file="TextFilePropertyStoreOptions.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.WebDavServer.Props.Store.TextFile
{
public class TextFilePropertyStoreOptions
{
public int EstimatedCost { get; se... | // <copyright file="TextFilePropertyStoreOptions.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.WebDavServer.Props.Store.TextFile
{
public class TextFilePropertyStoreOptions
{
public int EstimatedCost { get; se... | mit | C# |
dee5e122d738aa5eadd1ded95ed3862f1b6ceada | bump version to 2.7.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
063f6a2f8b0e5749eb8ad967bd6002c14366a1ca | Increment version number | Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan | Titan/Properties/AssemblyInfo.cs | Titan/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Titan")]
[assembly: AssemblyDescription("A advanced CS:GO report and commendation bot built with performance and ease-of-use in mind")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProd... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Titan")]
[assembly: AssemblyDescription("A advanced CS:GO report and commendation bot built with performance and ease-of-use in mind")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProd... | mit | C# |
123f064916e7d4bbf4c620da8cfa105787b17ec8 | Remove unused directives | mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers | src/NetAnalyzers/CSharp/Microsoft.CodeQuality.Analyzers/Maintainability/CSharpReviewUnusedParametersAnalyzer.cs | src/NetAnalyzers/CSharp/Microsoft.CodeQuality.Analyzers/Maintainability/CSharpReviewUnusedParametersAnalyzer.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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeQuality.Analyzers.Maintainab... | // 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 Analyzer.Utilities.Lightup;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsof... | mit | C# |
358b612f4ba225704b88d6eedfa4e13dc34a1008 | Update IMongoClientSessionStore.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/IMongoClientSessionStore.cs | TIKSN.Core/Data/Mongo/IMongoClientSessionStore.cs | using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoClientSessionStore
{
void SetClientSessionHandle(IClientSessionHandle clientSessionHandle);
void ClearClientSessionHandle();
}
}
| using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoClientSessionStore
{
void SetClientSessionHandle(IClientSessionHandle clientSessionHandle);
void ClearClientSessionHandle();
}
} | mit | C# |
85b06d7454349a308469f4811d0c9866cd395b8f | Fix #22 | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf.Core/Models/Player.cs | Gamedalf.Core/Models/Player.cs | using Gamedalf.Core.Infrastructure;
using System;
using System.ComponentModel.DataAnnotations;
namespace Gamedalf.Core.Models
{
public class Player : ApplicationUser, IDateTrackable
{
[Display(Name = "Birth date")]
public DateTime? DateBirth { get; set; }
[ScaffoldColumn(fa... | using Gamedalf.Core.Infrastructure;
using System;
using System.ComponentModel.DataAnnotations;
namespace Gamedalf.Core.Models
{
public class Player : ApplicationUser, IDateTrackable
{
[Display(Name = "Birth date")]
public DateTime? DateBirth { get; set; }
[ScaffoldColumn(fa... | mit | C# |
a45a43371aaf5ccea0ec8adba26ef7e9e5e64565 | Test 2 lokid | haftor2410/TransApp,haftor2410/TransApp,hftor/TransApp,hftor/TransApp | TransApp.Tests/Controllers/VideoControllerTest.cs | TransApp.Tests/Controllers/VideoControllerTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TransApp.Models;
using System.Collections.Generic;
using TransApp.Controllers;
using System.Web.Mvc;
using System.Linq;
namespace TransApp.Tests.Controllers
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public vo... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TransApp.Models;
using System.Collections.Generic;
using TransApp.Controllers;
using System.Web.Mvc;
using System.Linq;
namespace TransApp.Tests.Controllers
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public vo... | mit | C# |
62daea195c5ab9b90d170c878c5fbaba5161e360 | Fix possible null | UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu | osu.Game/Users/Country.cs | osu.Game/Users/Country.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class Country : IEquatable<Country>
{
/// <summary>
/// The name of this ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class Country : IEquatable<Country>
{
/// <summary>
/// The name of this ... | mit | C# |
95db0c51873226dd61eff944ab756242a2a1dfc2 | Remove empty line | bradyholt/cron-expression-descriptor,bradyholt/cron-expression-descriptor | demo/controllers/DescriptorController.cs | demo/controllers/DescriptorController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace CronExpressionDescriptor.Demo.Controllers
{
[Route("api/[controller]")]
public class DescriptorController : Controller
{
[HttpGet]
public JsonResult Ge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace CronExpressionDescriptor.Demo.Controllers
{
[Route("api/[controller]")]
public class DescriptorController : Controller
{
[HttpGet]
public JsonResult Ge... | mit | C# |
deb74939afb981f12cbf0b84147dd04c87e3e612 | Fix decimal property value converter to work on non EN-US cultures | robertjf/Umbraco-CMS,Phosworks/Umbraco-CMS,WebCentrum/Umbraco-CMS,rasmusfjord/Umbraco-CMS,NikRimington/Umbraco-CMS,rasmusfjord/Umbraco-CMS,Phosworks/Umbraco-CMS,abjerner/Umbraco-CMS,sargin48/Umbraco-CMS,mattbrailsford/Umbraco-CMS,leekelleher/Umbraco-CMS,WebCentrum/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbrac... | src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs | src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs | using System.Globalization;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors.ValueConverters
{
[PropertyValueType(typeof(decimal))]
[PropertyValueCache(PropertyCacheValue.All, PropertyCacheLevel.Content)]
public class DecimalValueConverter : PropertyValueConverterBase
... | using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors.ValueConverters
{
[PropertyValueType(typeof(decimal))]
[PropertyValueCache(PropertyCacheValue.All, PropertyCacheLevel.Content)]
public class DecimalValueConverter : PropertyValueConverterBase
{
public override b... | mit | C# |
bc02d9fb2beeac6680545747285053c248bb62c8 | Remove RaiseAsync() method in Events class | lontivero/Open.HttpProxy | Open.HttpProxy/Utils/Events.cs | Open.HttpProxy/Utils/Events.cs | //
// - Events.cs
//
// Author:
// Lucas Ontivero <lucasontivero@gmail.com>
//
// Copyright 2013 Lucas E. Ontivero
//
// 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.a... | //
// - Events.cs
//
// Author:
// Lucas Ontivero <lucasontivero@gmail.com>
//
// Copyright 2013 Lucas E. Ontivero
//
// 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.a... | mit | C# |
3143087f5c95627936da642cbfe7c0e929a85e28 | disable entry filter definition for now. | swaroop-sridhar/roslyn,MichalStrehovsky/roslyn,jmarolf/roslyn,jamesqo/roslyn,akrisiun/roslyn,VSadov/roslyn,bkoelman/roslyn,dpoeschl/roslyn,MattWindsor91/roslyn,dpoeschl/roslyn,Hosch250/roslyn,mattwar/roslyn,weltkante/roslyn,budcribar/roslyn,MattWindsor91/roslyn,jamesqo/roslyn,michalhosala/roslyn,KirillOsenkov/roslyn,he... | src/VisualStudio/Core/Def/Implementation/TableDataSource/Suppression/SuppressionStateColumnFilterDefinition.cs | src/VisualStudio/Core/Def/Implementation/TableDataSource/Suppression/SuppressionStateColumnFilterDefinition.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.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
using Microsoft.Internal.VisualStudio.Shell.TableControl;
using System;
nam... | // 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.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
using Microsoft.Internal.VisualStudio.Shell.TableControl;
using System;
nam... | apache-2.0 | C# |
cc7b7a51486014abb7dfa96f91ff2616fcbb8fc4 | Fix broken test | domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore | test/Swashbuckle.AspNetCore.IntegrationTests/SwaggerUIIntegrationTests.cs | test/Swashbuckle.AspNetCore.IntegrationTests/SwaggerUIIntegrationTests.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Swashbuckle.AspNetCore.IntegrationTests
{
public class SwaggerUIIntegrationTests
{
[Fact]
public async Task SwaggerUIIndex_ServesAnEmbeddedVersionOfTheSwaggerUI()
{
var client = new TestSi... | using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Swashbuckle.AspNetCore.IntegrationTests
{
public class SwaggerUIIntegrationTests
{
[Fact]
public async Task SwaggerUIIndex_ServesAnEmbeddedVersionOfTheSwaggerUI()
{
var client = new TestSi... | mit | C# |
941f4025708aee8c74ef95585dd9f441aa37ebf0 | Correct typo and broader applicability. (#742) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/DownloadSecretsFailureClassifier.cs | tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/DownloadSecretsFailureClassifier.cs | using Microsoft.TeamFoundation.Build.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Azure.Sdk.Tools.PipelineWitness.Services.FailureAnalysis
{
public class DownloadSecretsFailureClassifier... | using Microsoft.TeamFoundation.Build.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Azure.Sdk.Tools.PipelineWitness.Services.FailureAnalysis
{
public class DownloadSecretsFailureClassifier... | mit | C# |
5847e12f8b35fdaa5751db9719c4ce089b1941f6 | Fix typo | thedillonb/RepoStumble,thedillonb/RepoStumble | RepositoryStumble.iOS/ViewControllers/Languages/LanguagesViewController.cs | RepositoryStumble.iOS/ViewControllers/Languages/LanguagesViewController.cs | using System;
using UIKit;
using RepositoryStumble.Core.ViewModels.Languages;
using Xamarin.Utilities.DialogElements;
using ReactiveUI;
namespace RepositoryStumble.ViewControllers.Languages
{
public class LanguagesViewController : ViewModelCollectionViewController<LanguagesViewModel>
{
public Languages... | using System;
using UIKit;
using RepositoryStumble.Core.ViewModels.Languages;
using Xamarin.Utilities.DialogElements;
using ReactiveUI;
namespace RepositoryStumble.ViewControllers.Languages
{
public class LanguagesViewController : ViewModelCollectionViewController<LanguagesViewModel>
{
public Languages... | apache-2.0 | C# |
fc86452b071d0e6530480e43acb292aa2852e8fc | Add missing xml documentation | SimplyCodeUK/packer-strategy,SimplyCodeUK/packer-strategy,SimplyCodeUK/packer-strategy | PackIt/Controllers/AboutController.cs | PackIt/Controllers/AboutController.cs | // <copyright company="Simply Code Ltd.">
// Copyright (c) Simply Code Ltd. All rights reserved.
// Licensed under the MIT License.
// See LICENSE file in the project root for full license information.
// </copyright>
namespace PackIt.Controllers
{
using Microsoft.AspNetCore.Mvc;
/// <summary> The root con... | // <copyright company="Simply Code Ltd.">
// Copyright (c) Simply Code Ltd. All rights reserved.
// Licensed under the MIT License.
// See LICENSE file in the project root for full license information.
// </copyright>
namespace PackIt.Controllers
{
using Microsoft.AspNetCore.Mvc;
/// <summary> The root con... | mit | C# |
92d20eea8cb5d2cc7165847ba71891579f91ffc9 | Add missing licence header | smoogipooo/osu,ppy/osu,smoogipoo/osu,Nabile-Rahmani/osu,ZLima12/osu,johnneijzen/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,Frontear/osuKyzer,naoey/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu... | osu.Game/Skinning/DefaultSkin.cs | osu.Game/Skinning/DefaultSkin.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Audio.Sample;
using osu.Framework.Graphics;
namespace osu.Game.Skinning
{
public class DefaultSkin : Skin
{
public Defaul... | using osu.Framework.Audio.Sample;
using osu.Framework.Graphics;
namespace osu.Game.Skinning
{
public class DefaultSkin : Skin
{
public DefaultSkin()
: base(SkinInfo.Default)
{
}
public override Drawable GetDrawableComponent(string componentName) => null... | mit | C# |
1a2d50c4e93ceba4e1a3836aac51ba3b610e9f9c | Add link to SO question | bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow | AspNetCoreIDistributedCache/Startup.cs | AspNetCoreIDistributedCache/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.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
// required for IDistributedCache
using Microsoft.Extensions.Caching... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
// required for IDistributedCache
using Microsoft.Extensions.Caching... | mit | C# |
e854ad954f5170417343baf2068809b1036cf40d | Format document | farity/farity | Farity/Subtract.cs | Farity/Subtract.cs | using System;
namespace Farity
{
public static partial class F
{
public static decimal Subtract(decimal a, decimal b) => a - b;
public static double Subtract(double a, double b) => a - b;
public static float Subtract(float a, float b) => a - b;
public static int Subtract(int a,... | using System;
namespace Farity
{
public static partial class F
{
public static decimal Subtract(decimal a, decimal b) => a - b;
public static double Subtract(double a, double b) => a - b;
public static float Subtract(float a, float b) => a - b;
public static int Subtract(int a,... | mit | C# |
a385695fbf7ab75939f81cefa0a331a06a00feac | Fix bitmap serialization with indexed format bitmaps | MHeasell/Mappy,MHeasell/Mappy | TAUtil.Gdi/Bitmap/BitmapSerializer.cs | TAUtil.Gdi/Bitmap/BitmapSerializer.cs | namespace TAUtil.Gdi.Bitmap
{
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using TAUtil.Gdi.Palette;
/// <summary>
/// Serializes a 32-bit Bitmap instance into raw 8-bit indexed color data.
/// The mapping from color to index is done according to the given... | namespace TAUtil.Gdi.Bitmap
{
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using TAUtil.Gdi.Palette;
/// <summary>
/// Serializes a 32-bit Bitmap instance into raw 8-bit indexed color data.
/// The mapping from color to index is done according to the given... | mit | C# |
614e31bef15442807635f3f2351398006ae32d8d | remove old handshake | badgeir/ule,badgeir/ule | unityproj/Assets/Scripts/Agent/ReinforcementAgent.cs | unityproj/Assets/Scripts/Agent/ReinforcementAgent.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SimpleJSON;
public class ReinforcementAgent : MonoBehaviour {
ReinforcementAgentTCPIface mIface;
SceneManager mManager;
public VirtualCamera mCamera;
public List<Sensor> mSensors;
public List<Motor> mMotors;
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SimpleJSON;
public class ReinforcementAgent : MonoBehaviour {
ReinforcementAgentTCPIface mIface;
SceneManager mManager;
public VirtualCamera mCamera;
public List<Sensor> mSensors;
public List<Motor> mMotors;
... | mit | C# |
56f7b4e647fc8b29874e5956525280afe7d15a26 | Revert "TEMP: test env vars on prod" | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Agent/Program.cs | src/FilterLists.Agent/Program.cs | using System;
using System.Threading.Tasks;
using FilterLists.Agent.Extensions;
using FilterLists.Agent.Features.Lists;
using FilterLists.Agent.Features.Urls;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace FilterLists.Agent
{
public static class Program
{
private static IServ... | using System;
using System.Threading.Tasks;
using FilterLists.Agent.AppSettings;
using FilterLists.Agent.Extensions;
using FilterLists.Agent.Features.Lists;
using FilterLists.Agent.Features.Urls;
using FilterLists.Agent.Features.Urls.Models.DataFileUrls;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
u... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.