commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
94d21c95c6c39e2cf4af356b65eba745864455d3 | tools/Crest.OpenApi/Properties/AssemblyInfo.cs | tools/Crest.OpenApi/Properties/AssemblyInfo.cs | // Copyright (c) Samuel Cragg.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Samuel Cra... | // Copyright (c) Samuel Cragg.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Samuel Cra... | Allow substituting of internal types. | Allow substituting of internal types.
| C# | mit | samcragg/Crest,samcragg/Crest,samcragg/Crest |
edcf9f9a321cc865b2c680f1439197cf2e217a37 | SoundWaves/Assets/DestroyEnemy.cs | SoundWaves/Assets/DestroyEnemy.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DestroyEnemy : MonoBehaviour {
public static int kills = 0;
void OnCollisionEnter (Collision col) {
if(col.gameObject.name.Contains("Monster")) {
kills += 1;
Destroy(col.gameObjec... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DestroyEnemy : MonoBehaviour {
public static int kills = 0;
void OnCollisionEnter (Collision col) {
if(col.gameObject.name.Contains("Monster")) {
kills += 1;
Destroy(col.gameObjec... | Reset the counter for the next playthrough - BH | Reset the counter for the next playthrough - BH
| C# | mit | Tolk-Haggard/GlobalGameJam2017 |
c509ad77ffc67b3a4cc5e7374206e1279bcfaae8 | src/MR.Augmenter/AugmenterServiceCollectionExtensions.cs | src/MR.Augmenter/AugmenterServiceCollectionExtensions.cs | using System;
using Microsoft.Extensions.DependencyInjection;
using MR.Augmenter.Internal;
namespace MR.Augmenter
{
public static class AugmenterServiceCollectionExtensions
{
public static IAugmenterBuilder AddAugmenter(
this IServiceCollection services,
Action<AugmenterConfiguration> configure)
{
serv... | using System;
using Microsoft.Extensions.DependencyInjection;
using MR.Augmenter.Internal;
namespace MR.Augmenter
{
public static class AugmenterServiceCollectionExtensions
{
/// <summary>
/// Adds augmenter to services.
/// </summary>
/// <param name="services"></param>
/// <param name="configure">Can be... | Allow configure to be null | Allow configure to be null
| C# | mit | mrahhal/MR.Augmenter,mrahhal/MR.Augmenter |
e70266fa8e3588841ffb293cea786b637e6b1627 | AudioSharp.Config/ConfigHandler.cs | AudioSharp.Config/ConfigHandler.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Input;
using AudioSharp.Utils;
namespace AudioSharp.Config
{
public class ConfigHandler
{
public static void SaveConfig(Configuration config)
{
string json = JsonUtils.SerializeObject(config);
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Input;
using AudioSharp.Utils;
namespace AudioSharp.Config
{
public class ConfigHandler
{
public static void SaveConfig(Configuration config)
{
string json = JsonUtils.SerializeObject(config);
... | Set a default value for MP3 recording preset for new config files | Set a default value for MP3 recording preset for new config files | C# | mit | Heufneutje/HeufyAudioRecorder,Heufneutje/AudioSharp |
bc73b7af84c1f134ffff05a80cb7a36ce18ad03b | ExtjsWd/Properties/AssemblyInfo.cs | ExtjsWd/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("Ex... | 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("Ex... | Update assembly and file version | Update assembly and file version
| C# | mit | pratoservices/extjswebdriver,pratoservices/extjswebdriver,pratoservices/extjswebdriver |
541b2a595afdc1f6ad5785c2aedba661121b94c7 | BobTheBuilder/Activation/InstanceCreator.cs | BobTheBuilder/Activation/InstanceCreator.cs | using System.Linq;
using BobTheBuilder.ArgumentStore.Queries;
using JetBrains.Annotations;
namespace BobTheBuilder.Activation
{
internal class InstanceCreator
{
private readonly IArgumentStoreQuery constructorArgumentsQuery;
public InstanceCreator([NotNull]IArgumentStoreQuery constructorArgum... | using System.Linq;
using BobTheBuilder.ArgumentStore.Queries;
using JetBrains.Annotations;
namespace BobTheBuilder.Activation
{
internal class InstanceCreator
{
private readonly IArgumentStoreQuery constructorArgumentsQuery;
public InstanceCreator([NotNull]IArgumentStoreQuery constructorArgum... | Use safe cast for readability | Use safe cast for readability
| C# | apache-2.0 | alastairs/BobTheBuilder |
db58302feb76e087d4d396aa7c7e7c21c2938b0b | TeacherPouch.Web/Controllers/PagesController.cs | TeacherPouch.Web/Controllers/PagesController.cs | using System;
using System.Web.Mvc;
using TeacherPouch.Models;
using TeacherPouch.Web.ViewModels;
namespace TeacherPouch.Web.Controllers
{
public partial class PagesController : ControllerBase
{
// GET: /
public virtual ViewResult Home()
{
return View(Views.Home);
... | using System;
using System.Web.Mvc;
using TeacherPouch.Models;
using TeacherPouch.Web.ViewModels;
namespace TeacherPouch.Web.Controllers
{
public partial class PagesController : ControllerBase
{
// GET: /
public virtual ViewResult Home()
{
return View(Views.Home);
... | Change Copyright page to License page. | Change Copyright page to License page.
| C# | mit | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch |
5d0edd323ef1e263b42eb6ea942d7ee4802d07d8 | Engine/Extensions.cs | Engine/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions
{
// TODO Add documentation
public static class Extensions
{
public static IEnumerable<string> GetLines(this string text)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions
{
// TODO Add documentation
public static class Extensions
{
public static IEnumerable<string> GetLines(this string text)... | Remove IScriptExtent.Translate method from extensions | Remove IScriptExtent.Translate method from extensions
| C# | mit | daviwil/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer |
74ae4c8de73b498d6c7aa434c848dc69355dad58 | src/GitHub.VisualStudio/UI/Views/PullRequestCreationView.xaml.cs | src/GitHub.VisualStudio/UI/Views/PullRequestCreationView.xaml.cs | using GitHub.Exports;
using GitHub.UI;
using GitHub.ViewModels;
using System.ComponentModel.Composition;
using System.Windows.Controls;
using ReactiveUI;
namespace GitHub.VisualStudio.UI.Views
{
public class GenericPullRequestCreationView : SimpleViewUserControl<IPullRequestCreationViewModel, GenericPullRequestCr... | using GitHub.Exports;
using GitHub.UI;
using GitHub.ViewModels;
using System.ComponentModel.Composition;
using System.Windows.Controls;
using ReactiveUI;
namespace GitHub.VisualStudio.UI.Views
{
public class GenericPullRequestCreationView : SimpleViewUserControl<IPullRequestCreationViewModel, GenericPullRequestCr... | Revert "Try to use SampleData instead of real data in the meantime" | Revert "Try to use SampleData instead of real data in the meantime"
This reverts commit 2b0105a4c5761ac030bfc31ed7aebcfb4e8d3253.
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio |
d829ede2241e1dc53d80ddb6be298a0f6e411843 | WebDriverManager/DriverConfigs/Impl/OperaConfig.cs | WebDriverManager/DriverConfigs/Impl/OperaConfig.cs | using System.Linq;
using System.Net;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class OperaConfig : IDriverConfig
{
public virtual string GetName()
{
return "Opera";
}
public virtual string GetUrl32()
... | using System.Linq;
using System.Net;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class OperaConfig : IDriverConfig
{
public virtual string GetName()
{
return "Opera";
}
public virtual string GetUrl32()
... | Simplify release title with version selector | Simplify release title with version selector | C# | mit | rosolko/WebDriverManager.Net |
35ae4e07c8dc9821e14b9fe278f99967a3552569 | Source/Lib/TraktApiSharp/Objects/Get/Shows/Seasons/TraktSeasonIds.cs | Source/Lib/TraktApiSharp/Objects/Get/Shows/Seasons/TraktSeasonIds.cs | namespace TraktApiSharp.Objects.Get.Shows.Seasons
{
using Newtonsoft.Json;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt season.</summary>
public class TraktSeasonIds
{
/// <summary>Gets or sets the Trakt numeric id.</summary>
[JsonPrope... | namespace TraktApiSharp.Objects.Get.Shows.Seasons
{
using Newtonsoft.Json;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt season.</summary>
public class TraktSeasonIds
{
/// <summary>Gets or sets the Trakt numeric id.</summary>
[JsonPrope... | Add get best id method for season ids. | Add get best id method for season ids.
| C# | mit | henrikfroehling/TraktApiSharp |
8c26f6b167776d9fc790e55daf2dd02dfbaf839d | Mindscape.Raygun4Net.Mvc/RaygunExceptionFilterAttacher.cs | Mindscape.Raygun4Net.Mvc/RaygunExceptionFilterAttacher.cs | using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mindscape.Raygun4Net
{
public static class RaygunExceptionFilterAttacher
{
public static void AttachExceptionFilter(HttpApplication context, RaygunHttpModule module)
{
if (GlobalFilters.Filters.Count == 0) return;
... | using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mindscape.Raygun4Net
{
public static class RaygunExceptionFilterAttacher
{
public static void AttachExceptionFilter(HttpApplication context, RaygunHttpModule module)
{
if (GlobalFilters.Filters.Count == 0) return;
Filter fil... | Make sure the RaygunExceptionFilterAttribute hasn't already been added before we add it to the GlobalFilters list | Make sure the RaygunExceptionFilterAttribute hasn't already been added
before we add it to the GlobalFilters list
| C# | mit | articulate/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net,nelsonsar/raygun4net,ddunkin/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net |
342ac2a8303d5e1a412bab8ab25e271063515820 | WebAPIODataV4Scaffolding/src/System.Web.OData.Design.Scaffolding/ScaffolderVersions.cs | WebAPIODataV4Scaffolding/src/System.Web.OData.Design.Scaffolding/ScaffolderVersions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace System.Web.OData.Design.Scaffolding
{
internal static class ScaffolderVersions
{
public static readonly Version WebApiODataSca... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace System.Web.OData.Design.Scaffolding
{
internal static class ScaffolderVersions
{
public static readonly Version WebApiODataSca... | Fix Version Problem for Scaffolding | Fix Version Problem for Scaffolding
| C# | mit | YOTOV-LIMITED/lab,LaylaLiu/lab,congysu/lab |
61cae5463f35d0ab8cf06b7251fdd3fb89420923 | test/VaultTest.cs | test/VaultTest.cs | using System.Linq;
using NUnit.Framework;
namespace LastPass.Test
{
[TestFixture]
class VaultTest
{
[Test]
public void Create_returns_vault_with_correct_accounts()
{
var vault = Vault.Create(new Blob(TestData.Blob, 1));
Assert.AreEqual(TestData.Accounts.Lengt... | using System.Linq;
using NUnit.Framework;
namespace LastPass.Test
{
[TestFixture]
class VaultTest
{
[Test]
public void Create_returns_vault_with_correct_accounts()
{
var vault = Vault.Create(new Blob(TestData.Blob, 1));
Assert.AreEqual(TestData.Accounts.Lengt... | Test that all accounts decrypt correctly | Test that all accounts decrypt correctly
| C# | mit | detunized/lastpass-sharp,detunized/lastpass-sharp,rottenorange/lastpass-sharp |
15bdd6bb81102bafd3ba240166e830191438950a | Bindings/Portable/CoreData.cs | Bindings/Portable/CoreData.cs | using Urho.Gui;
using Urho.Resources;
namespace Urho.Portable
{
//TODO: generate this class using T4 from CoreData folder
public static class CoreAssets
{
public static ResourceCache Cache => Application.Current.ResourceCache;
public static class Models
{
public static Model Box => Cache.GetModel("Models... | using Urho.Gui;
using Urho.Resources;
namespace Urho
{
//TODO: generate this class using T4 from CoreData folder
public static class CoreAssets
{
public static ResourceCache Cache => Application.Current.ResourceCache;
public static class Models
{
public static Model Box => Cache.GetModel("Models/Box.mdl"... | Remove "Portable" from namespace name in CoreAssets | Remove "Portable" from namespace name in CoreAssets
| C# | mit | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho |
a59a5b6a1c7ffddef7b00ffb49b2f4e0b3438fb6 | SupportManager.Telegram/Program.cs | SupportManager.Telegram/Program.cs | using System;
using Microsoft.EntityFrameworkCore;
using SupportManager.Telegram.DAL;
using Topshelf;
namespace SupportManager.Telegram
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 2 && args[0].Equals("migrate", StringComparison.InvariantCultureIgnoreCase)... | using System;
using Microsoft.EntityFrameworkCore;
using SupportManager.Telegram;
using SupportManager.Telegram.Infrastructure;
using Topshelf;
if (args.Length == 2 && args[0].Equals("migrate", StringComparison.InvariantCultureIgnoreCase))
{
var db = DbContextFactory.Create(args[1]);
db.Database.Migrate();
... | Replace main with top-level statements | telegram: Replace main with top-level statements
| C# | mit | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager |
7cbb7215e0d905011bce6f8a6d4818258eee8049 | LazyStorage/StorableObject.cs | LazyStorage/StorableObject.cs | using System;
using System.Collections.Generic;
namespace LazyStorage
{
public class StorableObject : IEquatable<StorableObject>
{
public int LazyStorageInternalId { get; set; }
public Dictionary<string, string> Info { get; }
public StorableObject()
{
Info = new Dic... | using System;
using System.Collections.Generic;
namespace LazyStorage
{
public class StorableObject
{
public Dictionary<string, string> Info { get; }
public StorableObject()
{
Info = new Dictionary<string, string>();
}
}
} | Remove Id from storable object | Remove Id from storable object
| C# | mit | TheEadie/LazyStorage,TheEadie/LazyStorage,TheEadie/LazyLibrary |
08f05190ce9dd63a6c69b7c88a1efb1e299ccc4d | Presentation.Web/Controllers/API/PasswordResetRequestController.cs | Presentation.Web/Controllers/API/PasswordResetRequestController.cs | using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Core.DomainModel;
using Core.DomainServices;
using Presentation.Web.Models;
namespace Presentation.Web.Controllers.API
{
public class PasswordResetRequestController : BaseApiController
{
private readonly IUserService _... | using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Core.DomainModel;
using Core.DomainServices;
using Presentation.Web.Models;
namespace Presentation.Web.Controllers.API
{
[AllowAnonymous]
public class PasswordResetRequestController : BaseApiController
{
private re... | Allow anonymous on password reset requests | Allow anonymous on password reset requests
| C# | mpl-2.0 | miracle-as/kitos,os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,miracle-as/kitos |
14ffdf6ed28d9e89224f41f754dd2a300f467198 | src/Server/Infrastructure/PackageUtility.cs | src/Server/Infrastructure/PackageUtility.cs | using System;
using System.Web;
using System.Web.Hosting;
namespace NuGet.Server.Infrastructure {
public class PackageUtility {
internal static string PackagePhysicalPath = HostingEnvironment.MapPath("~/Packages");
public static Uri GetPackageUrl(string path, Uri baseUri) {
re... | using System;
using System.Web;
using System.Web.Hosting;
using System.Configuration;
namespace NuGet.Server.Infrastructure
{
public class PackageUtility
{
internal static string PackagePhysicalPath;
private static string DefaultPackagePhysicalPath = HostingEnvironment.MapPath("~/Pa... | Use the AppSettings 'NuGetPackagePath' if exists and the default ~/Packages otherwise | Use the AppSettings 'NuGetPackagePath' if exists and the default ~/Packages otherwise
| C# | apache-2.0 | antiufo/NuGet2,GearedToWar/NuGet2,mrward/nuget,jmezach/NuGet2,jholovacs/NuGet,pratikkagda/nuget,indsoft/NuGet2,mrward/nuget,indsoft/NuGet2,antiufo/NuGet2,pratikkagda/nuget,oliver-feng/nuget,indsoft/NuGet2,akrisiun/NuGet,dolkensp/node.net,RichiCoder1/nuget-chocolatey,indsoft/NuGet2,jmezach/NuGet2,oliver-feng/nuget,mrwar... |
7e43a94ac470507ba74ffa56b501a4903d07c5ba | NFleetSDK/Data/RouteEventData.cs | NFleetSDK/Data/RouteEventData.cs | using System;
using System.Collections.Generic;
namespace NFleet.Data
{
public class RouteEventData : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.routeevent";
public static string MIMEVersion = "2.0";
int IVersioned.VersionNumber { get; set;... | using System;
using System.Collections.Generic;
namespace NFleet.Data
{
public class RouteEventData : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.routeevent";
public static string MIMEVersion = "2.0";
int IVersioned.VersionNumber { get; set;... | Add capacity and time window data to route events. | Add capacity and time window data to route events.
| C# | mit | nfleet/.net-sdk |
31e2248d59926b0bbd93335ab4e741557339d434 | SCPI/IDN.cs | SCPI/IDN.cs | using System;
using System.Linq;
using System.Text;
namespace SCPI
{
public class IDN : ICommand
{
public string Description => "Query the ID string of the instrument";
public string Manufacturer { get; private set; }
public string Model { get; private set; }
public string Ser... | using System.Linq;
using System.Text;
namespace SCPI
{
public class IDN : ICommand
{
public string Description => "Query the ID string of the instrument";
public string Manufacturer { get; private set; }
public string Model { get; private set; }
public string SerialNumber { ge... | Change the method to expression body definition | Change the method to expression body definition
| C# | mit | tparviainen/oscilloscope |
c62893056f25f909787537a39a560d955bb8cf49 | osu.Framework/Graphics/Cursor/IHasCustomTooltip.cs | osu.Framework/Graphics/Cursor/IHasCustomTooltip.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Graphics.Cursor
{
/// <summary>
/// Implementing this interface allows the implementing <see cref="Drawable"/> to display a custom toolti... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Graphics.Cursor
{
/// <summary>
/// Implementing this interface allows the implementing <see cref="Drawable"/> to display a custom toolti... | Add note about reusing of tooltips and the new behaviour | Add note about reusing of tooltips and the new behaviour
| C# | mit | ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework |
27f992efe1456aa3c1f61459742406d779e24b15 | src/Dalian/Models/Sites.cs | src/Dalian/Models/Sites.cs | using NPoco;
using System;
namespace Dalian.Models
{
[PrimaryKey("SiteId")]
public class Sites
{
public string SiteId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string Note { get; set; }
public string Source { get; set; }
... | using NPoco;
using System;
namespace Dalian.Models
{
[PrimaryKey("SiteId", AutoIncrement = false)]
public class Sites
{
public string SiteId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string Note { get; set; }
public string... | Fix not null constraint failed exception | Fix not null constraint failed exception
| C# | mit | 06b/Dalian,06b/Dalian |
77e65aa1ffe117294e0ee90a1c4ded844bb60e05 | src/ServiceStack/DependencyInjection/DependencyResolver.cs | src/ServiceStack/DependencyInjection/DependencyResolver.cs | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
namespace ServiceStack.DependencyInjection
{
public class DependencyResolver : IDisposable
{
private readonly ILifetimeScope _lifetimeScope;
public DependencyResolver(ILifetimeScope lifetimeScope)
{
... | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
namespace ServiceStack.DependencyInjection
{
public class DependencyResolver : IDisposable
{
private readonly ILifetimeScope _lifetimeScope;
public DependencyResolver(ILifetimeScope lifetimeScope)
{
... | Check if registered before trying. | Check if registered before trying.
| C# | bsd-3-clause | ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack |
374dac57f2b3c4ea34a24929700119fa9a4eb52a | osu.Game/Beatmaps/Drawables/Cards/ExpandedContentScrollContainer.cs | osu.Game/Beatmaps/Drawables/Cards/ExpandedContentScrollContainer.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 osu.Framework.Input.Events;
using osu.Framework.Utils;
using osu.Game.Graphics.Containers;
namespace osu.Game.Beatmaps.Drawables.Cards
{
public 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;
using osu.Framework.Input.Events;
using osu.Framework.Utils;
using osu.Game.Graphics.Containers;
namespace osu.Game.Beatmaps.Drawables.Cards
{
public c... | Change expanded card content height to 200 | Change expanded card content height to 200
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu |
ce68566751b6c3b8aa63446c2ebbddd89a1a85a5 | Joinrpg/Views/Account/RegisterSuccess.cshtml | Joinrpg/Views/Account/RegisterSuccess.cshtml | @model dynamic
@{
ViewBag.Title = "Регистрация успешна";
}
<h2>@ViewBag.Title</h2>
<p>Остался всего один клик! Проверьте свою почту, там лежит письмо от нас с просьбой подтвердить email...</p>
| @model dynamic
@{
ViewBag.Title = "Регистрация успешна";
}
<h2>@ViewBag.Title</h2>
<p>Остался всего один клик! Проверьте свою почту, там лежит письмо от нас с просьбой подтвердить email.</p>
| Change message in register success | Change message in register success
| C# | mit | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net |
c6979c1d636f8c2f2d30a2a01bba940c611e767e | Samples/Program.cs | Samples/Program.cs | using System;
using Ooui;
namespace Samples
{
class Program
{
static void Main (string[] args)
{
new ButtonSample ().Publish ();
new TodoSample ().Publish ();
Console.ReadLine ();
}
}
}
| using System;
using Ooui;
namespace Samples
{
class Program
{
static void Main (string[] args)
{
for (var i = 0; i < args.Length; i++) {
var a = args[i];
switch (args[i]) {
case "-p" when i + 1 < args.Length:
c... | Add --port option to samples | Add --port option to samples
Fixes #6
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui |
b3e4170f3f006db2aa402667fcdb2762f517d860 | src/Hangfire.Console/Server/ConsoleServerFilter.cs | src/Hangfire.Console/Server/ConsoleServerFilter.cs | using Hangfire.Common;
using Hangfire.Console.Serialization;
using Hangfire.Console.Storage;
using Hangfire.Server;
using Hangfire.States;
using System;
namespace Hangfire.Console.Server
{
/// <summary>
/// Server filter to initialize and cleanup console environment.
/// </summary>
internal class Cons... | using Hangfire.Common;
using Hangfire.Console.Serialization;
using Hangfire.Console.Storage;
using Hangfire.Server;
using Hangfire.States;
using System;
namespace Hangfire.Console.Server
{
/// <summary>
/// Server filter to initialize and cleanup console environment.
/// </summary>
internal class Cons... | Rename arguments to match base names | Rename arguments to match base names
| C# | mit | pieceofsummer/Hangfire.Console,pieceofsummer/Hangfire.Console |
581544e1d641b44263172509bf5a6cec490c9f46 | osu.Game.Rulesets.Osu/Mods/OsuModTouchDevice.cs | osu.Game.Rulesets.Osu/Mods/OsuModTouchDevice.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModTouchDevice : Mod
{
public override string Name => "Touch Device"... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModTouchDevice : Mod
{
public override string Name => "Touch Device"... | Fix TD mod not being ranked | Fix TD mod not being ranked
| C# | mit | smoogipooo/osu,DrabWeb/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,ppy/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,ppy/osu,EVAST9919/osu,naoey/osu,ZLima12/osu,peppy/osu-new,DrabWeb/osu,naoey/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,smoo... |
ffb3e6e188dc4fde35787770a962244f46408519 | Assets/Microgames/_Bosses/DarkRoom/Scripts/DarkRoomObstacleEnable.cs | Assets/Microgames/_Bosses/DarkRoom/Scripts/DarkRoomObstacleEnable.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DarkRoomObstacleEnable : MonoBehaviour
{
[SerializeField]
private float maxXDistance = 11f;
void Start ()
{
}
void Update ()
{
for (int i = 0; i < transform.childCount; i++)
{
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class DarkRoomObstacleEnable : MonoBehaviour
{
[SerializeField]
private float maxXDistance = 11f;
void Start ()
{
for (int i = 0; i < transform.childCount; i++)
{
var ... | Destroy obstacles disabled at scene start | DarkRoom: Destroy obstacles disabled at scene start
| C# | mit | NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare |
411740ae83854834db9eca3d98dcf32d765de896 | clipr/VerbAttribute.cs | clipr/VerbAttribute.cs | using System;
namespace clipr
{
/// <summary>
/// Mark the property as a subcommand. (cf. 'svn checkout')
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class VerbAttribute : Attribute
{
/// <summary>
/// Name of the subcommand. If provi... | using System;
namespace clipr
{
/// <summary>
/// Mark the property as a subcommand. (cf. 'svn checkout')
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class VerbAttribute : Attribute
{
/// <summary>
/// Name of the subcommand. If provi... | Allow verb name to be optional. | Allow verb name to be optional.
| C# | mit | nemec/clipr |
74600a155ac034f271ffedf5b1395906f96c9f29 | common.cake | common.cake | #tool nuget:?package=XamarinComponent&version=1.1.0.32
#addin nuget:?package=Cake.Xamarin.Build&version=1.0.14.0
#addin nuget:?package=Cake.Xamarin
#addin nuget:?package=Cake.XCode
| #tool nuget:?package=XamarinComponent&version=1.1.0.32
#addin nuget:?package=Cake.Xamarin.Build
#addin nuget:?package=Cake.Xamarin
#addin nuget:?package=Cake.XCode
| Remove explicit build addin dependency version | Remove explicit build addin dependency version
| C# | mit | SotoiGhost/FacebookComponents,SotoiGhost/FacebookComponents |
653356a5cdbf16c639b4d00ded9e5098cf06f672 | src/TestHarness/Program.cs | src/TestHarness/Program.cs | using System;
using System.Threading.Tasks;
using KafkaNet;
using KafkaNet.Model;
using KafkaNet.Protocol;
using System.Collections.Generic;
namespace TestHarness
{
class Program
{
static void Main(string[] args)
{
var options = new KafkaOptions(new Uri("http://CSDKAFKA01:9092"), n... | using System;
using System.Threading.Tasks;
using KafkaNet;
using KafkaNet.Common;
using KafkaNet.Model;
using KafkaNet.Protocol;
using System.Collections.Generic;
namespace TestHarness
{
class Program
{
static void Main(string[] args)
{
//create an options file that sets up driver... | Clean up TestHarness to be more instructive | Clean up TestHarness to be more instructive
| C# | apache-2.0 | geffzhang/kafka-net,gigya/KafkaNetClient,bridgewell/kafka-net,CenturyLinkCloud/kafka-net,EranOfer/KafkaNetClient,martijnhoekstra/kafka-net,nightkid1027/kafka-net,Jroland/kafka-net,PKRoma/kafka-net,BDeus/KafkaNetClient |
6d779f17b31746fc6a9f2c9f3c401b69ab936dfd | video/Controls/LabelTooltip.cs | video/Controls/LabelTooltip.cs | using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace TweetDuck.Video.Controls{
sealed class LabelTooltip : Label{
public LabelTooltip(){
Visible = false;
}
public void AttachTooltip(Control control, bool followCursor, string toolt... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace TweetDuck.Video.Controls{
sealed class LabelTooltip : Label{
public LabelTooltip(){
Visible = false;
}
public void AttachTooltip(Control control, bool followCursor, string tooltip){
AttachToo... | Fix video player tooltip going outside Form bounds | Fix video player tooltip going outside Form bounds
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
5d170cba74689af59e28dacf91b01f065a51181a | src/Ecwid/Models/Profile/Rule.cs | src/Ecwid/Models/Profile/Rule.cs | // Licensed under the GPL License, Version 3.0. See LICENSE in the git repository root for license information.
using Newtonsoft.Json;
namespace Ecwid.Models
{
/// <summary>
/// </summary>
public class TaxRule
{
/// <summary>
/// Gets or sets the tax in %.
/// </summary>
... | // Licensed under the GPL License, Version 3.0. See LICENSE in the git repository root for license information.
using Newtonsoft.Json;
namespace Ecwid.Models
{
/// <summary>
/// </summary>
public class TaxRule
{
/// <summary>
/// Gets or sets the tax in %.
/// </summary>
... | Fix tax rule to be double not int | Fix tax rule to be double not int
| C# | mit | kroniak/extensions-ecwid,kroniak/extensions-ecwid |
74f478187b94528d0a905b76583374b664fa1715 | Rebus.AdoNet/Dialects/PostgreSql82Dialect.cs | Rebus.AdoNet/Dialects/PostgreSql82Dialect.cs | using System;
using System.Data;
using System.Data.Common;
namespace Rebus.AdoNet.Dialects
{
public class PostgreSql82Dialect : PostgreSqlDialect
{
protected override Version MinimumDatabaseVersion => new Version("8.2");
public override ushort Priority => 82;
public override bool SupportsReturningClause => t... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
namespace Rebus.AdoNet.Dialects
{
public class PostgreSql82Dialect : PostgreSqlDialect
{
private static readonly IEnumerable<string> _postgresExceptionNames = new[] { "NpgsqlException", "PostgresExceptio... | Add PostgresException on postgresExceptionNames fixing select for NoWait locking exceptions | Add PostgresException on postgresExceptionNames fixing select for NoWait locking exceptions
| C# | mit | evicertia/Rebus.AdoNet |
2b13ce4e0676b4c4eb576efeeea31b530117c258 | samples/Unity-Plugin/Assets/Tactosy/Scripts/TactosyEditor.cs | samples/Unity-Plugin/Assets/Tactosy/Scripts/TactosyEditor.cs | using UnityEditor;
using UnityEngine;
namespace Tactosy.Unity
{
[CustomEditor(typeof(Manager_Tactosy))]
public class TactosyEditor : Editor
{
public override void OnInspectorGUI()
{
DrawDefaultInspector();
Manager_Tactosy tactosyManager = (Manager_Tactosy) target... | #if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
namespace Tactosy.Unity
{
#if UNITY_EDITOR
[CustomEditor(typeof(Manager_Tactosy))]
public class TactosyEditor : Editor
{
public override void OnInspectorGUI()
{
DrawDefaultInspector();
Manager_Tactosy t... | Add preprocessor to prevent compilation error | Add preprocessor to prevent compilation error
| C# | mit | bhaptics/tactosy-unity |
db1a9c7a67d6be83c765bfa0abd5b5e56581fbba | src/PowerShellEditorServices.Protocol/LanguageServer/SignatureHelp.cs | src/PowerShellEditorServices.Protocol/LanguageServer/SignatureHelp.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Sign... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Sign... | Add registration options for signaturehelp request | Add registration options for signaturehelp request
| C# | mit | PowerShell/PowerShellEditorServices |
c8871129b48dda0677263f5b41ffc2e1240ac571 | Biggy.SqlCe.Tests/SqlCEColumnMapping.cs | Biggy.SqlCe.Tests/SqlCEColumnMapping.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Biggy.SqlCe.Tests {
[Trait("SQL CE Compact column mapping", "")]
public class SqlCEColumnMapping {
public string _connectionStringName = "chinook";
[Fact(DisplayName ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Biggy.SqlCe.Tests {
[Trait("SQL CE Compact column mapping", "")]
public class SqlCEColumnMapping {
public string _connectionStringName = "chinook";
[Fact(DisplayName ... | Add another mapping test, non-auto inc Pk | Add another mapping test, non-auto inc Pk
| C# | bsd-3-clause | garethbrown/biggy,garethbrown/biggy,jjchiw/biggy,jjchiw/biggy,jjchiw/biggy,garethbrown/biggy,xivSolutions/biggy |
f6190211aa3d584310ef2aafa9db75cce2798d67 | src/BloomTests/SendReceiveTests.cs | src/BloomTests/SendReceiveTests.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using Bloom.Publish;
using BloomTemp;
using Chorus.VcsDrivers.Mercurial;
using LibChorus.TestUtilities;
using NUnit.Framework;
using Palaso.IO;
using Palaso.Progress.LogBox;
namespace Bl... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using Bloom.Publish;
using BloomTemp;
using Chorus.VcsDrivers.Mercurial;
using LibChorus.TestUtilities;
using NUnit.Framework;
using Palaso.IO;
using Palaso.Progress.LogBox;
namespace Bl... | Disable 2 s/r tests that demonstrate known chorus problems | Disable 2 s/r tests that demonstrate known chorus problems
| C# | mit | BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFo... |
d7a55b087575f9412d04666f7870ec5d180a5a9a | BZ2TerrainEditor/Program.cs | BZ2TerrainEditor/Program.cs | using System;
using System.Windows.Forms;
namespace BZ2TerrainEditor
{
/// <summary>
/// Main class.
/// </summary>
public static class Program
{
private static int editorInstances;
/// <summary>
/// Gets or sets the number of editor instances.
/// The application will exit when the number of instaces e... | using System;
using System.Windows.Forms;
namespace BZ2TerrainEditor
{
/// <summary>
/// Main class.
/// </summary>
public static class Program
{
private static int editorInstances;
/// <summary>
/// Gets or sets the number of editor instances.
/// The application will exit when the number of instaces e... | Add command line parsing (for "Open With...") | Add command line parsing (for "Open With...")
| C# | mit | nitroxis/bz2terraineditor |
95f0ff94b474f08a90583255053b7857532259a0 | Assets/scripts/ui/ResetBallUI.cs | Assets/scripts/ui/ResetBallUI.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class ResetBallUI : NetworkBehaviour {
private void OnGUI()
{
GUILayout.BeginArea(new Rect(Screen.width - 150, 10, 140, 40));
if (GUILayout.Button("Reset Ball Posi... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.Networking.NetworkSystem;
public class ResetBallUI : NetworkBehaviour {
// Message handle for the client id message
private short RESPAWN_MESSAGE = 1003;
void OnServerStart... | Fix reset ball ui for local and multiplayer | Fix reset ball ui for local and multiplayer
| C# | mit | Double-Fine-Game-Club/pongball |
4ab797811bd286a824ac1166cbe85921a14940c3 | PiDashcam/PiDashcam/StillCam.cs | PiDashcam/PiDashcam/StillCam.cs | using System;
using System.Timers;
using Shell.Execute;
namespace PiDashcam
{
public class StillCam
{
Timer timer;
int imgcounter;
public StillCam()
{
timer = new Timer(10000);
timer.Elapsed += Timer_Elapsed;
timer.Start();
imgcounter = 1;
}
public void Stop()
{
timer.Stop();
}
v... | using System;
using System.Timers;
using Shell.Execute;
namespace PiDashcam
{
public class StillCam
{
Timer timer;
int imgcounter;
public StillCam()
{
timer = new Timer(6000);
timer.Elapsed += Timer_Elapsed;
timer.Start();
imgcounter = 1;
}
public void Stop()
{
timer.Stop();
}
vo... | Change still image capture parameters. | Change still image capture parameters.
| C# | mit | zhen08/PiDashcam,zhen08/PiDashcam |
2e3aca1fbe3ea2714fae606ca49d87eeeb0bf835 | CertiPay.Common.Tests/Logging/MetricLoggingExtensionsTests.cs | CertiPay.Common.Tests/Logging/MetricLoggingExtensionsTests.cs | using CertiPay.Common.Logging;
using NUnit.Framework;
using System;
using System.Threading;
namespace CertiPay.Common.Tests.Logging
{
public class MetricLoggingExtensionsTests
{
private static readonly ILog Log = LogManager.GetLogger<MetricLoggingExtensionsTests>();
[Test]
public void... | using CertiPay.Common.Logging;
using NUnit.Framework;
using System;
using System.Threading;
namespace CertiPay.Common.Tests.Logging
{
public class MetricLoggingExtensionsTests
{
private static readonly ILog Log = LogManager.GetLogger<MetricLoggingExtensionsTests>();
[Test]
public void... | Tweak tests to reflect new interface for log timing | Tweak tests to reflect new interface for log timing
| C# | mit | mattgwagner/CertiPay.Common |
e4dbe3f83616f9f98242366f3b0e894241c128d6 | Assets/ReturnToHiveState.cs | Assets/ReturnToHiveState.cs | using UnityEngine;
public class ReturnToHiveState : State
{
Arrive arrive;
public ReturnToHiveState(GameObject gameObject) : base(gameObject)
{
this.gameObject = gameObject;
}
public override void Enter()
{
arrive = gameObject.GetComponent<Arrive>();
arrive.targetGame... | using UnityEngine;
public class ReturnToHiveState : State
{
Arrive arrive;
public ReturnToHiveState(GameObject gameObject) : base(gameObject)
{
this.gameObject = gameObject;
}
public override void Enter()
{
arrive = gameObject.GetComponent<Arrive>();
arrive.targetGame... | Set targetGameObject = null on ReturnToHive state exit as this target was overriding the target position when the boids switched back to exploring | Set targetGameObject = null on ReturnToHive state exit as this target was overriding the target position when the boids switched back to exploring
| C# | mit | kevindoyle93/GAI-LabTest-2 |
d212a844a38fcca956f9ed88cc2bf473c32f0cb5 | Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteExpression.cs | Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteExpression.cs | namespace Veil.Compiler
{
internal partial class VeilTemplateCompiler
{
private static void EmitWriteExpression<T>(VeilCompilerState<T> state, SyntaxTreeNode.WriteExpressionNode node)
{
state.Emitter.LoadWriterToStack();
state.PushExpressionScopeOnStack(node.Expression);... | using System.Reflection;
namespace Veil.Compiler
{
internal partial class VeilTemplateCompiler
{
private static MethodInfo htmlEncodeMethod = typeof(Helpers).GetMethod("HtmlEncode");
private static void EmitWriteExpression<T>(VeilCompilerState<T> state, SyntaxTreeNode.WriteExpressionNode node... | Tidy up error handling in WriteExpression | Tidy up error handling in WriteExpression
| C# | mit | csainty/Veil,csainty/Veil |
88d2658fca4a631008f576fd969b600bed82c6bc | src/Witness/Controllers/SandboxController.cs | src/Witness/Controllers/SandboxController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Witness.Controllers
{
public class SandboxController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Witness.Controllers
{
public class SandboxController : Controller
{
public ActionResult Index()
{
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(1)... | Add short term caching to sandbox html response to avoid repeated download by the browser. | Add short term caching to sandbox html response to avoid repeated download by the browser.
| C# | bsd-2-clause | andrewdavey/witness,andrewdavey/witness,andrewdavey/witness |
610d608c237b3fa0a41c2f795d257df5e2597140 | GitTfs/Core/TfsInterop/WrapperFor.cs | GitTfs/Core/TfsInterop/WrapperFor.cs | namespace Sep.Git.Tfs.Core.TfsInterop
{
public class WrapperFor<T>
{
private readonly T _wrapped;
public WrapperFor(T wrapped)
{
_wrapped = wrapped;
}
public T Unwrap()
{
return _wrapped;
}
public static T Unwrap(object ... | namespace Sep.Git.Tfs.Core.TfsInterop
{
public class WrapperFor<TFS_TYPE>
{
private readonly TFS_TYPE _wrapped;
public WrapperFor(TFS_TYPE wrapped)
{
_wrapped = wrapped;
}
public TFS_TYPE Unwrap()
{
return _wrapped;
}
pu... | Make the generic type self-documenting. | Make the generic type self-documenting.
| C# | apache-2.0 | allansson/git-tfs,irontoby/git-tfs,bleissem/git-tfs,bleissem/git-tfs,steveandpeggyb/Public,modulexcite/git-tfs,guyboltonking/git-tfs,jeremy-sylvis-tmg/git-tfs,allansson/git-tfs,vzabavnov/git-tfs,codemerlin/git-tfs,NathanLBCooper/git-tfs,allansson/git-tfs,modulexcite/git-tfs,spraints/git-tfs,guyboltonking/git-tfs,codeme... |
a8e00a9675e912a57bb494c028e5d48f10bd0d5b | source/Nuke.Common/CI/ShutdownDotNetBuildServerOnFinish.cs | source/Nuke.Common/CI/ShutdownDotNetBuildServerOnFinish.cs | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.Execution;
using Nuke.Common.Tools.DotNet;
namespace Nuke.Common.CI
{
[PublicAPI]
[AttributeUsa... | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.Execution;
using Nuke.Common.Tools.DotNet;
namespace Nuke.Common.CI
{
[PublicAPI]
[AttributeUsa... | Disable logging for shutdown of dotnet process by default | Disable logging for shutdown of dotnet process by default
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
739a54a41b667aa5aa54f1135fb46ce7ee27944d | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate
assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned
3.1.0.
| C# | mit | autofac/Autofac.Extras.NHibernate |
059e1143f783a2948035f56165df0ab15a930a8c | src/Mvc/Dinamico/Dinamico/Themes/Default/Views/ContentPages/News.cshtml | src/Mvc/Dinamico/Dinamico/Themes/Default/Views/ContentPages/News.cshtml | @model Dinamico.Models.ContentPage
@{
Content.Define(re =>
{
re.Title = "News page";
re.IconUrl = "{IconsUrl}/newspaper.png";
re.DefaultValue("Visible", false);
re.RestrictParents("Container");
re.Sort(N2.Definitions.SortBy.PublishedDescending);
});
}
@Html.Partial("LayoutPartials/BlogCont... | @model Dinamico.Models.ContentPage
@{
Content.Define(re =>
{
re.Title = "News page";
re.IconUrl = "{IconsUrl}/newspaper.png";
re.DefaultValue("Visible", false);
re.RestrictParents("Container");
re.Sort(N2.Definitions.SortBy.PublishedDescending);
re.Tags("Tags");
});
}
@Html.Partial("Lay... | Add tagging capability to Dinamico news page | Add tagging capability to Dinamico news page
| C# | lgpl-2.1 | nicklv/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,n2cms/n2cms,nimore/n2cms,DejanMilicic/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,nimore/n2cms,bussemac/n2cms,n2cms/n2cms,SntsDev/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,bussem... |
cd618344b82d479992ece0007858b55d52273aea | Source/Web/WarehouseSystem.Web/Global.asax.cs | Source/Web/WarehouseSystem.Web/Global.asax.cs | namespace WarehouseSystem.Web
{
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using WarehouseSystem.Web.App_Start;
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.Regis... | namespace WarehouseSystem.Web
{
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using WarehouseSystem.Web.App_Start;
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
ViewEngines.Engines.Cl... | Set only Razor view Engine | Set only Razor view Engine
| C# | mit | NikitoG/WarehouseSystem,NikitoG/WarehouseSystem |
1f97d021a301fe6a4e51c693a217afd47a5614e5 | src/Nest/Domain/Mapping/Types/DateMapping.cs | src/Nest/Domain/Mapping/Types/DateMapping.cs | using System.Collections.Generic;
using Newtonsoft.Json;
using System;
using Newtonsoft.Json.Converters;
namespace Nest
{
[JsonObject(MemberSerialization.OptIn)]
public class DateMapping : MultiFieldMapping, IElasticType, IElasticCoreType
{
public DateMapping():base("date")
{
}
/// <summary>
/// The name... | using System.Collections.Generic;
using Newtonsoft.Json;
using System;
using Newtonsoft.Json.Converters;
namespace Nest
{
[JsonObject(MemberSerialization.OptIn)]
public class DateMapping : MultiFieldMapping, IElasticType, IElasticCoreType
{
public DateMapping():base("date")
{
}
/// <summary>
/// The name... | Make numeric_resolution on date mapping nullable | Make numeric_resolution on date mapping nullable
| C# | apache-2.0 | gayancc/elasticsearch-net,junlapong/elasticsearch-net,gayancc/elasticsearch-net,starckgates/elasticsearch-net,mac2000/elasticsearch-net,ststeiger/elasticsearch-net,starckgates/elasticsearch-net,SeanKilleen/elasticsearch-net,tkirill/elasticsearch-net,joehmchan/elasticsearch-net,LeoYao/elasticsearch-net,robrich/elasticse... |
9d2f14088ece1313debb0f14b260f7ffb1aca758 | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<div class="das-panel das-panel--featured">
@if (Model.ReservedFundingToShow != null)
{
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separ... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
@if (Model.ReservedFundingToShow != null)
{
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | Remove nested div to fix style issue | [CON-378] Remove nested div to fix style issue
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
bd6c43ea400f4de152e48a019da19a750c6af6ec | src/DailySoccerSolution/DailySoccerAppService/Controllers/MatchesController.cs | src/DailySoccerSolution/DailySoccerAppService/Controllers/MatchesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using DailySoccer.Shared.Models;
namespace DailySoccerAppService.Controllers
{
public class MatchesController : ApiController
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using DailySoccer.Shared.Models;
namespace DailySoccerAppService.Controllers
{
public class MatchesController : ApiController
{
public... | Add basic GET & POST methods into the MatchServices. | Add basic GET & POST methods into the MatchServices.
Signed-off-by: Sakul Jaruthanaset <17b4bfe9c570ddd7d4345ec4b3617835712513c0@perfenterprise.com>
| C# | mit | tlaothong/xdailysoccer,tlaothong/xdailysoccer,tlaothong/xdailysoccer,tlaothong/xdailysoccer |
117e18be43d536d32d617f9e331a5c8c0a5a6559 | Smaller/RunJobController.cs | Smaller/RunJobController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Threading;
namespace Smaller
{
public class RunJobController
{
private static readonly EventWaitHandle _showSignal =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Threading;
namespace Smaller
{
public class RunJobController
{
private static readonly EventWaitHandle _showSignal =... | Fix bug where Smaller wouldn't exit properly | Fix bug where Smaller wouldn't exit properly
| C# | agpl-3.0 | geoffles/Smaller |
c6b22302245637e626a4055a6d35a62788832abf | src/bindings/EthernetFrame.cs | src/bindings/EthernetFrame.cs |
using System;
namespace TAPCfg {
public class EthernetFrame {
private byte[] data;
private byte[] src = new byte[6];
private byte[] dst = new byte[6];
private int etherType;
public EthernetFrame(byte[] data) {
this.data = data;
Array.Copy(data, 0, dst, 0, 6);
Array.Copy(data, 6, src, 0, 6);
et... |
using System;
namespace TAPCfg {
public enum EtherType : int {
InterNetwork = 0x0800,
ARP = 0x0806,
RARP = 0x8035,
AppleTalk = 0x809b,
AARP = 0x80f3,
InterNetworkV6 = 0x86dd,
CobraNet = 0x8819,
}
public class EthernetFrame {
private byte[] data;
privat... | Add EtherType enumeration for some types (not all) | Add EtherType enumeration for some types (not all) | C# | lgpl-2.1 | juhovh/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,juhovh/tapcfg,juhovh/tapcfg,eyecreate/tapcfg |
08fb5c279728d2d377382d70f677e108f66b060d | src/Cake.AppVeyor.Tests/Keys.cs | src/Cake.AppVeyor.Tests/Keys.cs | using System;
using System.IO;
namespace Cake.AppVeyor.Tests
{
public static class Keys
{
const string YOUR_APPVEYOR_API_TOKEN = "{APPVEYOR_APITOKEN}";
static string appVeyorApiToken;
public static string AppVeyorApiToken {
get
{
if (appVe... | using System;
using System.IO;
namespace Cake.AppVeyor.Tests
{
public static class Keys
{
const string YOUR_APPVEYOR_API_TOKEN = "{APPVEYOR_APITOKEN}";
static string appVeyorApiToken;
public static string AppVeyorApiToken {
get
{
if (appVe... | Fix path to local key file | Fix path to local key file
| C# | apache-2.0 | Redth/Cake.AppVeyor,Redth/Cake.AppVeyor |
b47cc6f4287386188d6c7bf45941b869c940786c | FbxSharpTests/ObjectPrinterTest.cs | FbxSharpTests/ObjectPrinterTest.cs | using System;
using NUnit.Framework;
using FbxSharp;
namespace FbxSharpTests
{
[TestFixture]
public class ObjectPrinterTest
{
[Test]
public void QuoteQuotesAndEscapeStrings()
{
Assert.AreEqual("\"abcdefghijklmnopqrstuvwxyz\"", ObjectPrinter.quote("abcdefghijklmnopqrstuv... | using System;
using NUnit.Framework;
using FbxSharp;
using System.IO;
namespace FbxSharpTests
{
[TestFixture]
public class ObjectPrinterTest
{
[Test]
public void QuoteQuotesAndEscapeStrings()
{
Assert.AreEqual("\"abcdefghijklmnopqrstuvwxyz\"", ObjectPrinter.quote("abcde... | Add a test with a specific writer. | Add a test with a specific writer.
| C# | lgpl-2.1 | izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp |
eaf3c60339d0374ef15162a7327895faf34ae066 | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | Revert "Bump WebApi version to 5.10.3" | Revert "Bump WebApi version to 5.10.3"
This reverts commit 9356b6eb8eb6c9080fd72df0cd1f69f7b499912b.
| C# | mit | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net |
0c2f0122b78fea983ae79c173aceaaf981fbca2f | Roton/Emulation/Interactions/Impl/ForestInteraction.cs | Roton/Emulation/Interactions/Impl/ForestInteraction.cs | using System;
using Roton.Emulation.Core;
using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Interactions.Impl
{
[Context(Context.Original, 0x14)]
[Context(Context.Super, 0x14)]
public sealed class ForestInteraction : IInteraction
{
... | using System;
using Roton.Emulation.Core;
using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Interactions.Impl
{
[Context(Context.Original, 0x14)]
[Context(Context.Super, 0x14)]
public sealed class ForestInteraction : IInteraction
{
... | Fix a forest crash in ZZT. | Fix a forest crash in ZZT.
| C# | isc | SaxxonPike/roton,SaxxonPike/roton |
7fcc938fcb1acc481d58cfc0d98096d7a3410a1a | source/MMS.ServiceBus/Pipeline/NewtonsoftJsonMessageSerializer.cs | source/MMS.ServiceBus/Pipeline/NewtonsoftJsonMessageSerializer.cs | //-------------------------------------------------------------------------------
// <copyright file="NewtonsoftJsonMessageSerializer.cs" company="MMS AG">
// Copyright (c) MMS AG, 2008-2015
// </copyright>
//-------------------------------------------------------------------------------
namespace MMS.ServiceBus.Pip... | //-------------------------------------------------------------------------------
// <copyright file="NewtonsoftJsonMessageSerializer.cs" company="MMS AG">
// Copyright (c) MMS AG, 2008-2015
// </copyright>
//-------------------------------------------------------------------------------
namespace MMS.ServiceBus.Pip... | Enable configuration of Json Serializer | Enable configuration of Json Serializer
| C# | apache-2.0 | MultimediaSolutionsAg/ServiceBus |
96a1946979e836502eca23991396a34a02f38549 | src/Kephas.Data.InMemory/ContextExtensions.cs | src/Kephas.Data.InMemory/ContextExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContextExtensions.cs" company="Quartz Software SRL">
// Copyright (c) Quartz Software SRL. All rights reserved.
// </copyright>
// <summary>
// Implements the context extensio... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContextExtensions.cs" company="Quartz Software SRL">
// Copyright (c) Quartz Software SRL. All rights reserved.
// </copyright>
// <summary>
// Implements the context extensio... | Allow context to be null when querying for initial data. | Allow context to be null when querying for initial data.
| C# | mit | quartz-software/kephas,quartz-software/kephas |
fd677047f4cd277dce78939d150591376712e3c2 | src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs | src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Security.DataProtection.KeyManagement;
using Microsoft.Framework.DependencyInjection;
using Micro... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Security.DataProtection.KeyManagement;
using Microsoft.Framework.DependencyInjection;
using Micro... | Change GetService call to GetRequiredService | Change GetService call to GetRequiredService
Remove the assertion that the returned service is not null, since the
GetRequiredService extension method will throw instead of ever
returning null.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
f079ebe857ebf708c5aae6ee0a7c102ea4c9c5f5 | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : APIRequest<APIBeatm... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : APIRequest<APIBeatm... | Simplify beatmap lookup to use a single endpoint | Simplify beatmap lookup to use a single endpoint
| C# | mit | peppy/osu-new,smoogipoo/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,peppy/osu |
669c708a14a317addd4003acac94e3f04f4eb8a3 | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DanTup's DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DanTup's DartAnalysis.NET: A .NET wrapper around Google's Analysis Server f... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | Remove name from assembly info; this looks silly on NuGet. | Remove name from assembly info; this looks silly on NuGet.
| C# | mit | DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS |
accc60d81973f6a307215fdda59bb391927daa31 | Mvc52Application/Controllers/HomeController.cs | Mvc52Application/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mvc52Application.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mvc52Application.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
Trace.T... | Add some test tracing to Index action | Add some test tracing to Index action
| C# | apache-2.0 | davidebbo-test/Mvc52Application,davidebbo-test/Mvc52Application,davidebbo-test/Mvc52Application |
7a2e0044316acb1d89d5baaecad3dd0ea5aa3d0b | src/ErgastApi/Requests/Standard/SeasonListRequest.cs | src/ErgastApi/Requests/Standard/SeasonListRequest.cs | using ErgastApi.Client.Attributes;
using ErgastApi.Responses;
namespace ErgastApi.Requests
{
public class SeasonListRequest : StandardRequest<SeasonResponse>
{
// Value not used
// ReSharper disable once UnassignedGetOnlyAutoProperty
[UrlTerminator, UrlSegment("seasons")]
protec... | using ErgastApi.Client.Attributes;
using ErgastApi.Responses;
namespace ErgastApi.Requests
{
public class SeasonListRequest : StandardRequest<SeasonResponse>
{
[UrlSegment("constructorStandings")]
public int? ConstructorStanding { get; set; }
[UrlSegment("driverStandings")]
pub... | Support driver constructor standing parameter for season list request | Support driver constructor standing parameter for season list request
| C# | unlicense | Krusen/ErgastApi.Net |
3025bea195bad51bcc41a3e8c258984d5c31010a | src/Sinch.ServerSdk/Callouts/ICalloutApiEndpoints.cs | src/Sinch.ServerSdk/Callouts/ICalloutApiEndpoints.cs | using System.Threading.Tasks;
using Sinch.ServerSdk.Callouts;
using Sinch.WebApiClient;
public interface ICalloutApiEndpoints
{
[HttpPost("calling/v1/callouts/")]
Task<CalloutResponse> Callout([ToBody] CalloutRequest request);
} | using System.Threading.Tasks;
using Sinch.ServerSdk.Callouts;
using Sinch.WebApiClient;
public interface ICalloutApiEndpoints
{
[HttpPost("calling/v1/callouts")]
Task<CalloutResponse> Callout([ToBody] CalloutRequest request);
} | Remove API route trailing slash to avoid AWS API Gateway modification | Remove API route trailing slash to avoid AWS API Gateway modification
Remove last slash in API route so url don't get modified when passing AWS API Gateway. This may be cause of signature error
| C# | mit | sinch/nuget-serversdk |
6073c6ec0f756db7396d4e78bb2a611554832cf9 | src/ImGui/Development/GUIDebug.cs | src/ImGui/Development/GUIDebug.cs | namespace ImGui.Development
{
public class GUIDebug
{
public static void SetWindowPosition(string windowName, Point position)
{
var possibleWindow = Application.ImGuiContext.WindowManager.Windows.Find(window => window.Name == windowName);
if (possibleWindow != null)
... | using ImGui.Rendering;
namespace ImGui.Development
{
public class GUIDebug
{
public static void SetWindowPosition(string windowName, Point position)
{
var possibleWindow = Application.ImGuiContext.WindowManager.Windows.Find(window => window.Name == windowName);
if (poss... | Add DebugBox for debugging issues in popup windows | Add DebugBox for debugging issues in popup windows
| C# | agpl-3.0 | zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui |
01ab58fe7c58215f60b5a78e92b33418505b5137 | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Entities/Account/LegalEntity.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Entities/Account/LegalEntity.cs | namespace SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account
{
public class LegalEntity
{
public long Id { get; set; }
public string Name { get; set; }
}
} | using System;
namespace SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account
{
public class LegalEntity
{
public long Id { get; set; }
public string CompanyNumber { get; set; }
public string Name { get; set; }
public string RegisteredAddress { get; set; }
... | Change legal entity to include the CompanyNumber, RegisteredAddress and DateOfIncorporation | Change legal entity to include the CompanyNumber, RegisteredAddress and DateOfIncorporation
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
0c5c7bab97b82c2088e0c4f3b03d90a5ee563f20 | Akiba/Core/Configuration.cs | Akiba/Core/Configuration.cs | namespace Akiba.Core
{
using System.IO;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
internal class Configuration
{
public const string ConfigurationName = "configuration.yaml";
public enum ScreenModes : ushort
{
Windowed,
... | namespace Akiba.Core
{
using System.IO;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
internal class Configuration
{
public const string ConfigurationName = "configuration.yaml";
public enum ScreenModes : ushort
{
Windowed,
... | Set a more sensible default for the screen mode. | Set a more sensible default for the screen mode.
| C# | mit | spideyfusion/akiba |
f395f657fc40abb8eb2a1895a476c60b6652e64b | src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs | src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.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 System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribu... | // 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 System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribu... | Fix FxCop warning CA1018 (attributes should have AttributeUsage) | Fix FxCop warning CA1018 (attributes should have AttributeUsage)
| C# | mit | poizan42/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr |
666375f685f9fba1a4f201df6fdc6ec641cd639f | SlimeSimulation/View/WindowComponent/SimulationControlComponent/AdaptionPhaseControlBox.cs | SlimeSimulation/View/WindowComponent/SimulationControlComponent/AdaptionPhaseControlBox.cs | using Gtk;
using NLog;
using SlimeSimulation.Controller.WindowController.Templates;
namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent
{
class AdaptionPhaseControlBox : AbstractSimulationControlBox
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
... | using Gtk;
using NLog;
using SlimeSimulation.Controller.WindowController.Templates;
namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent
{
class AdaptionPhaseControlBox : AbstractSimulationControlBox
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
... | Add some changes to UI to make spacing equal for components | Add some changes to UI to make spacing equal for components
| C# | apache-2.0 | willb611/SlimeSimulation |
6008e6c42040709fa2aefa3f886e563bca316e24 | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | osu.Framework.Tests/Audio/AudioCollectionManagerTest.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.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | // 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.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | Move test component to bottom of class | Move test component to bottom of class
| C# | mit | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework |
92986caa7accd6980c698f7772fa70d81d2b39d4 | ERMine.Core/Modeling/Attribute.cs | ERMine.Core/Modeling/Attribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ERMine.Core.Modeling
{
public class Attribute : IEntityRelationship
{
public string Label { get; set; }
public string DataType { get; set; }
public Domain Domai... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ERMine.Core.Modeling
{
public class Attribute : IEntityRelationship
{
public string Label { get; set; }
public string DataType { get; set; }
public Domain Domai... | Add quick check for attached domain | Add quick check for attached domain
| C# | apache-2.0 | Seddryck/ERMine,Seddryck/ERMine |
7dad561c96fb3bc32bb330c549a0ef4fca2bad93 | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/OpportunitySummaryDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/OpportunitySummaryDto.cs | using PS.Mothership.Core.Common.Template.Gen;
using PS.Mothership.Core.Common.Template.Opp;
using System;
using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Dto.Application
{
[DataContract]
public class OpportunitySummaryDto
{
[DataMember]
public Guid OpportunityGuid {... | using PS.Mothership.Core.Common.Template.Gen;
using PS.Mothership.Core.Common.Template.Opp;
using System;
using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Dto.Application
{
[DataContract]
public class OpportunitySummaryDto
{
[DataMember]
public Guid OpportunityGuid {... | Revert to use ProductType since this is all that is needed in the summary, as it is the only thing shown in the opportunity summary, in the offer page | Revert to use ProductType since this is all that is needed in the summary, as it is the only thing shown in the opportunity summary, in the offer page
| C# | mit | Paymentsense/Dapper.SimpleSave |
ce2d6b6b2f91a5e494b8038216be8a3eb881c223 | Bex/Extensions/UriExtensions.cs | Bex/Extensions/UriExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace Bex.Extensions
{
internal static class UriExtensions
{
internal static IEnumerable<KeyValuePair<string, string>> QueryString(this Uri uri)
{
var uriString = uri.IsAbsoluteUri ? uri.Absolu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace Bex.Extensions
{
internal static class UriExtensions
{
internal static IEnumerable<KeyValuePair<string, string>> QueryString(this Uri uri)
{
if (string.IsNullOrEmpty(uri.Query))
... | Use the Query property of the Uri | Use the Query property of the Uri
| C# | mit | ScottIsAFool/Bex,jamesmcroft/Bex |
5f1d902ffcfe5fa5540edc741bc4caa77313b0e6 | ExCSS/Properties/AssemblyInfo.cs | ExCSS/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("ExCSS Parser")]
[assembly: AssemblyDescri... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ExCSS Parser")]
[assembly: AssemblyDescri... | Align assembly verions with package release 2.0.3 | Align assembly verions with package release 2.0.3
Current NuGet package release is at 2.0.3 (https://www.nuget.org/packages/ExCSS/2.0.3) but the assembly version attributes still reflect version 2.0.2. | C# | mit | bfreese/ExCSS |
896814a4276302c5ed7cd43daf7faf24e64d435d | Octokit/Helpers/AcceptHeaders.cs | Octokit/Helpers/AcceptHeaders.cs | namespace Octokit
{
public static class AcceptHeaders
{
public const string StableVersion = "application/vnd.github.v3";
public const string StableVersionHtml = "application/vnd.github.html";
public const string RedirectsPreviewThenStableVersionJson = "application/vnd.github.quicksilv... | using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
public static class AcceptHeaders
{
public const string StableVersion = "application/vnd.github.v3";
public const string StableVersionHtml = "application/vnd.github.html";
public const string RedirectsPreviewThenStableVersion... | Add GPG Keys API preview header | Add GPG Keys API preview header
| C# | mit | shiftkey-tester-org-blah-blah/octokit.net,shiftkey/octokit.net,shana/octokit.net,dampir/octokit.net,octokit/octokit.net,rlugojr/octokit.net,shiftkey-tester/octokit.net,TattsGroup/octokit.net,alfhenrik/octokit.net,ivandrofly/octokit.net,ivandrofly/octokit.net,thedillonb/octokit.net,Sarmad93/octokit.net,devkhan/octokit.n... |
20cfa5d83fbe783e3f0520c216c871ccc27d17c8 | osu.Game/Overlays/Settings/Sections/DebugSettings/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/DebugSettings/GeneralSettings.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.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Framework.Screens;
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 osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Framework.Screens;
using osu... | Add button to access latency comparer from game | Add button to access latency comparer from game
| C# | mit | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu |
3ce30673473fd124c536d786fb31bee70f96c9f1 | src/AppHarbor.Tests/TextWriterCustomization.cs | src/AppHarbor.Tests/TextWriterCustomization.cs | using System;
using System.IO;
using Ploeh.AutoFixture;
namespace AppHarbor.Tests
{
public class TextWriterCustomization : ICustomization
{
public void Customize(IFixture fixture)
{
fixture.Customize<TextWriter>(x => x.FromFactory(() => { return Console.Out; }));
}
}
}
| using System.IO;
using Moq;
using Ploeh.AutoFixture;
namespace AppHarbor.Tests
{
public class TextWriterCustomization : ICustomization
{
public void Customize(IFixture fixture)
{
var textWriterMock = new Mock<TextWriter>();
fixture.Customize<TextWriter>(x => x.FromFactory(() => { return textWriterMock.Obj... | Make sure to also customize Mock<TextWriter> and use same instance | Make sure to also customize Mock<TextWriter> and use same instance
| C# | mit | appharbor/appharbor-cli |
04c7bcb638909dbe83c1c0dfca36055a4ee464d9 | src/Stripe/Services/Subscriptions/StripeSubscriptionUpdateOptions.cs | src/Stripe/Services/Subscriptions/StripeSubscriptionUpdateOptions.cs | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Stripe
{
public class StripeSubscriptionUpdateOptions : StripeSubscriptionCreateOptions
{
[JsonProperty("prorate")]
public bool? Prorate { get; set; }
}
} | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Stripe
{
public class StripeSubscriptionUpdateOptions : StripeSubscriptionCreateOptions
{
[JsonProperty("prorate")]
public bool? Prorate { get; set; }
[JsonProperty("plan")]
public string PlanId { get; set; }
}
... | Add "plan" to StripSubscriptionUpdateOptions so we can change plans. | Add "plan" to StripSubscriptionUpdateOptions so we can change plans.
| C# | apache-2.0 | haithemaraissia/stripe.net,DemocracyVenturesInc/stripe.net,weizensnake/stripe.net,duckwaffle/stripe.net,AvengingSyndrome/stripe.net,DemocracyVenturesInc/stripe.net,sidshetye/stripe.net,craigmckeachie/stripe.net,AvengingSyndrome/stripe.net,hattonpoint/stripe.net,Raganhar/stripe.net,agrogan/stripe.net,matthewcorven/strip... |
2a1696b85d0307fa26d769623576d7ea3e42fedc | Server/LogExpire.cs | Server/LogExpire.cs | using System;
using System.IO;
namespace DarkMultiPlayerServer
{
public class LogExpire
{
private static string logDirectory
{
get
{
return Path.Combine(Server.universeDirectory, DarkLog.LogFolder);
}
}
public static void Exp... | using System;
using System.IO;
namespace DarkMultiPlayerServer
{
public class LogExpire
{
private static string logDirectory
{
get
{
return Path.Combine(Server.universeDirectory, DarkLog.LogFolder);
}
}
public static void Exp... | Remove debugging line. Sorry RockyTV! | Remove debugging line. Sorry RockyTV!
| C# | mit | 81ninja/DarkMultiPlayer,Dan-Shields/DarkMultiPlayer,godarklight/DarkMultiPlayer,81ninja/DarkMultiPlayer,rewdmister4/rewd-mod-packs,RockyTV/DarkMultiPlayer,Sanmilie/DarkMultiPlayer,RockyTV/DarkMultiPlayer,dsonbill/DarkMultiPlayer,Kerbas-ad-astra/DarkMultiPlayer,godarklight/DarkMultiPlayer |
fe99bbd846a428da44f0a92ba6d4430a7f7811ff | Vocal/Core/JsonCommandLoader.cs | Vocal/Core/JsonCommandLoader.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Vocal.Model;
namespace Vocal.Core
{
public class JsonCommandLoader
{
const string DefaultConfigFile = "commandsTemp... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using Vocal.Model;
namespace Vocal.Core
{
public class JsonCommandLoader
{
const string AppDataFolder = "VocalBuildEngine";
const string DefaultConfigFile = "commandsTemplate.json";
const string Wri... | Move command file to appdata | Move command file to appdata
| C# | mit | adamsteinert/VoiceBuild |
d9283b50d19a97a7b00886077467525f5ce618c3 | FormFactory.Templates/Views/Shared/FormFactory/Property.FormFactory.ValueTypes.UploadedFile.cshtml | FormFactory.Templates/Views/Shared/FormFactory/Property.FormFactory.ValueTypes.UploadedFile.cshtml | @using FormFactory
@model PropertyVm
<input type="hidden" name="@Model.Name" id="MyFileSubmitPlaceHolder" />@*here to trick model binding into working :( *@
<input type="file" name="@Model.Name" @Model.Readonly() @Model.Disabled() /> | @using FormFactory
@model PropertyVm
@if(!Model.Readonly)
{
<input type="hidden" name="@Model.Name" /> @*here to trick model binding into working :( *@
<input type="file" name="@Model.Name" @Model.Readonly() @Model.Disabled() />
} | Hide file input if readonly | Hide file input if readonly
| C# | mit | mcintyre321/FormFactory,mcintyre321/FormFactory,mcintyre321/FormFactory |
36ea8138bb4e7439945aecdcfb6e2e383de0c285 | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Composition;
using System.IO;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Serialization;
namespace Micros... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Composition;
using System.IO;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Serialization;
namespace Micros... | Switch to using LocalApplicationData folder | Switch to using LocalApplicationData folder
| C# | mit | mavasani/roslyn,diryboy/roslyn,reaction1989/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,KirillOsenkov/roslyn,jasonmalinowski/roslyn,tmat/roslyn,ErikSchierboom/roslyn,stephentoub/roslyn,aelij/roslyn,sharwell/roslyn,diryboy/roslyn,jmarolf/roslyn,heejaechang/roslyn,AmadeusW/roslyn,agocke/roslyn,brettfo/roslyn,genlu/r... |
c4c360f0331de13506bda9571bc59144a5b6f0d8 | src/StockportContentApi/ContentfulFactories/CommsContentfulFactory.cs | src/StockportContentApi/ContentfulFactories/CommsContentfulFactory.cs | using System.Collections.Generic;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
namespace StockportContentApi.ContentfulFactories
{
public class CommsContentfulFactory : IContentfulFactory<ContentfulCommsHomepage, CommsHomepage>
{
private readonly IContentfulFactory<Cont... | using System.Collections.Generic;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Model;
namespace StockportContentApi.ContentfulFactories
{
public class CommsContentfulFactory : IContentfulFactory<ContentfulCommsHomepage, CommsHomepage>
{
private readonly IContentfulFactory<Cont... | Allow call to action banner to be optional | fix(Comms): Allow call to action banner to be optional
| C# | mit | smbc-digital/iag-contentapi |
a6381503661431715c2392ba65351de5cedafc1e | Source/Treenumerable/Properties/AssemblyInfo.cs | Source/Treenumerable/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[ass... | using System.Reflection;
using System.Resources;
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.
[ass... | Update assembly version to 2.0.0 | Update assembly version to 2.0.0
| C# | mit | jasonmcboyd/Treenumerable |
ad85cd64624756bf02bd9bc582b4a5adfee5cce9 | src/OmniSharp.Host/MSBuild/Discovery/Providers/MonoInstanceProvider.cs | src/OmniSharp.Host/MSBuild/Discovery/Providers/MonoInstanceProvider.cs | using System;
using System.Collections.Immutable;
using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.Utilities;
namespace OmniSharp.MSBuild.Discovery.Providers
{
internal class MonoInstanceProvider : MSBuildInstanceProvider
{
public MonoInstanceProvider(ILoggerFactory loggerFactory)
... | using System;
using System.Collections.Immutable;
using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.Utilities;
namespace OmniSharp.MSBuild.Discovery.Providers
{
internal class MonoInstanceProvider : MSBuildInstanceProvider
{
public MonoInstanceProvider(ILoggerFactory loggerFactory)
... | Use correct path to MSBuild Roslyn folder on Mono | Use correct path to MSBuild Roslyn folder on Mono
| C# | mit | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn |
1c7dde06474edb028de8def5b2905a9ccc02d85d | src/NTwitch.Core/ITwitchClient.cs | src/NTwitch.Core/ITwitchClient.cs | using System.Collections.Generic;
using System.Threading.Tasks;
namespace NTwitch
{
public interface ITwitchClient
{
ConnectionState ConnectionState { get; }
Task<IChannel> GetChannelAsync(ulong id);
Task<IEnumerable<ITopGame>> GetTopGames(TwitchPageOptions options = null);
... | using System.Collections.Generic;
using System.Threading.Tasks;
namespace NTwitch
{
public interface ITwitchClient
{
ConnectionState ConnectionState { get; }
Task<IChannel> GetChannelAsync(ulong id);
Task<IEnumerable<ITopGame>> GetTopGamesAsync(TwitchPageOptions options = null... | Add missing Async name to GetTopGames | Add missing Async name to GetTopGames
| C# | mit | Aux/NTwitch,Aux/NTwitch |
b86def3325c228f62c28c4a337f0839e51ba1259 | Domain/SystemClock.cs | Domain/SystemClock.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
namespace Microsoft.Its.Domain
{
/// <summary>
/// Provides access to system time.
/// </summary>
[DebuggerSte... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
namespace Microsoft.Its.Domain
{
/// <summary>
/// Provides access to system time.
/// </summary>
[DebuggerSte... | Update the systemclock to use UtcNow. This is because some of code use Month, Year properties of DateTimeOffset | Update the systemclock to use UtcNow. This is because some of code use Month, Year properties of DateTimeOffset
| C# | mit | askheaves/Its.Cqrs,commonsensesoftware/Its.Cqrs,commonsensesoftware/Its.Cqrs,askheaves/Its.Cqrs,commonsensesoftware/Its.Cqrs,askheaves/Its.Cqrs |
ac2a5002042999bc715b7cb143f240cb49597e11 | src/StockportWebapp/Views/stockportgov/ContactUs/ThankYouMessage.cshtml | src/StockportWebapp/Views/stockportgov/ContactUs/ThankYouMessage.cshtml | @model string
@{
ViewData["Title"] = "Thank you";
ViewData["og:title"] = "Thank you";
Layout = "../Shared/_Layout.cshtml";
}
<div class="grid-container-full-width">
<div class="grid-container grid-100">
<div class="l-body-section-filled l-short-content mobile-grid-100 tablet-grid-100 grid-10... | @model string
@{
ViewData["Title"] = "Thank you";
ViewData["og:title"] = "Thank you";
Layout = "../Shared/_Layout.cshtml";
}
<div class="grid-container-full-width">
<div class="grid-container grid-100">
<div class="l-body-section-filled l-short-content mobile-grid-100 tablet-grid-100 grid-10... | Revert "Gary changed wording per content request" | Revert "Gary changed wording per content request"
This reverts commit 6236a41d67d021860f6073aa5a1ad72cccd52bc9.
| C# | mit | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp |
4d0ccc57991b723620695cf5ae7f3640dd6fd588 | TapBoxWebApplication/TapBoxWebjob/MailSender.cs | TapBoxWebApplication/TapBoxWebjob/MailSender.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Net.Mail;
using SendGrid;
using TapBoxCommon.Models;
using Microsoft.Azure;
namespace TapBoxWebjob
{
class MailSender
{
public static void SendMailToOwner(Device NotifierDevi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Net.Mail;
using SendGrid;
using TapBoxCommon.Models;
using Microsoft.Azure;
namespace TapBoxWebjob
{
class MailSender
{
public static void SendMailToOwner(Device NotifierDevi... | Change Sensor level to 100 | Change Sensor level to 100
| C# | mit | rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox |
6515a6377e48ccec843ca6605fb89a6c2f37f2fa | Source/Csla.Wp/PortedAttributes.cs | Source/Csla.Wp/PortedAttributes.cs | using System;
namespace Csla
{
internal class BrowsableAttribute : Attribute
{
public BrowsableAttribute(bool flag)
{ }
}
internal class DisplayAttribute : Attribute
{
public string Name { get; set; }
public bool AutoGenerateField { get; set; }
public DisplayAttribute(bool... | //-----------------------------------------------------------------------
// <copyright file="PortedAttributes.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>Dummy implementations of .NET attributes missi... | Add missing comment block. bugid: 812 | Add missing comment block.
bugid: 812
| C# | mit | ronnymgm/csla-light,rockfordlhotka/csla,BrettJaner/csla,rockfordlhotka/csla,jonnybee/csla,BrettJaner/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,jonnybee/csla,BrettJaner/csla,jonnybee/csla,JasonBock/csla,ronnymgm/csla-light,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,JasonBock/csla |
9901a01f0bf883a5689dc0f531facf042d9b8feb | src/FeatureSwitcher.AwsConfiguration/Models/BehaviourCacheItem.cs | src/FeatureSwitcher.AwsConfiguration/Models/BehaviourCacheItem.cs | using System;
using FeatureSwitcher.AwsConfiguration.Behaviours;
namespace FeatureSwitcher.AwsConfiguration.Models
{
internal class BehaviourCacheItem
{
public IBehaviour Behaviour { get; }
public DateTime CacheTimeout { get; }
public bool IsExpired => this.CacheTimeout < Da... | using System;
using FeatureSwitcher.AwsConfiguration.Behaviours;
namespace FeatureSwitcher.AwsConfiguration.Models
{
internal class BehaviourCacheItem
{
public IBehaviour Behaviour { get; }
public DateTime CacheTimeout { get; private set; }
public bool IsExpired => this.Cach... | Fix bug: Ensure CacheTimeout is actually set when extending cache. | Fix bug: Ensure CacheTimeout is actually set when extending cache.
| C# | apache-2.0 | queueit/FeatureSwitcher.AwsConfiguration |
5af7e8db71eb0133aad4d46f0571db1168952522 | TruckRouter/Program.cs | TruckRouter/Program.cs | using TruckRouter.Models;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
build... | using TruckRouter.Models;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
build... | Remove code that unconditionally enable https redirects and authorization | Remove code that unconditionally enable https redirects and authorization
| C# | mit | surlycoder/truck-router |
4c822bbdd11c58e1d2fb959240643d51d6ba893d | src/SyncTrayzor/Syncthing/ApiClient/SyncthingHttpClientHandler.cs | src/SyncTrayzor/Syncthing/ApiClient/SyncthingHttpClientHandler.cs | using NLog;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace SyncTrayzor.Syncthing.ApiClient
{
public class SyncthingHttpClientHandler : WebRequestHandler
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
public SyncthingHttpCl... | using NLog;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace SyncTrayzor.Syncthing.ApiClient
{
public class SyncthingHttpClientHandler : WebRequestHandler
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
public SyncthingHttpCl... | Add logging in case of null response from Syncthing | Add logging in case of null response from Syncthing
| C# | mit | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor |
71cd91a9d07508d2170cbf50759e703c97ae9b5e | src/Host/Client/Impl/Extensions/AboutHostExtensions.cs | src/Host/Client/Impl/Extensions/AboutHostExtensions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Reflection;
using Microsoft.Common.Core;
using Microsoft.R.Host.Protocol;
namespace Microsoft.R.Host.Client {
public static class Abou... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Reflection;
using Microsoft.Common.Core;
using Microsoft.R.Host.Protocol;
namespace Microsoft.R.Host.Client {
public static class Abou... | Allow debug mode to connect to any version of remote. | Allow debug mode to connect to any version of remote.
| C# | mit | MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSh... |
83fdedd0856c4e85f99bdc6ff2225504a247e552 | RedGate.AppHost.Remoting/ClientChannelSinkProviderForParticularServer.cs | RedGate.AppHost.Remoting/ClientChannelSinkProviderForParticularServer.cs | using System.Runtime.Remoting.Channels;
namespace RedGate.AppHost.Remoting
{
internal class ClientChannelSinkProviderForParticularServer : IClientChannelSinkProvider
{
private readonly IClientChannelSinkProvider m_Upstream;
private readonly string m_Url;
internal ClientChanne... | using System;
using System.Runtime.Remoting.Channels;
namespace RedGate.AppHost.Remoting
{
internal class ClientChannelSinkProviderForParticularServer : IClientChannelSinkProvider
{
private readonly IClientChannelSinkProvider m_Upstream;
private readonly string m_Url;
intern... | Document why null is ok here | Document why null is ok here
| C# | apache-2.0 | red-gate/RedGate.AppHost,nycdotnet/RedGate.AppHost |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.