commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
746c1759e99455a6ced4a32037537a5ffdf6a853 | Enable Ability to Change Copy In Non Page Builder Pages | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Areas/Admin/Views/CopyManager/_Copy.cshtml | Portal.CMS.Web/Areas/Admin/Views/CopyManager/_Copy.cshtml | @model Portal.CMS.Entities.Entities.Copy.Copy
@using Portal.CMS.Web.Areas.Admin.Helpers;
@{
Layout = "";
var isAdmin = UserHelper.IsAdmin;
}
@if (UserHelper.IsAdmin)
{
<script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
<script type="text/javascript">
$(document).ready(functio... | @model Portal.CMS.Entities.Entities.Copy.Copy
@using Portal.CMS.Web.Areas.Admin.Helpers;
@{
Layout = "";
var isAdmin = UserHelper.IsAdmin;
}
@section HEADScripts
{
@if (UserHelper.IsAdmin)
{
<script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
<script type="text/javascript">
... | mit | C# |
278a51051898b1a5f63a869c5b875e4dd4450b50 | Update for Glenn Sarti | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/GlennSarti.cs | src/Firehose.Web/Authors/GlennSarti.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GlennSarti : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Glenn";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GlennSarti : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Glenn";
... | mit | C# |
c7e94042e61102cbce82fca67eb0000d345ef051 | add index3, index4 | kotikov1994/BlogAdd | TemplateTest1/TemplateTest1/Controllers/HomeController.cs | TemplateTest1/TemplateTest1/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TemplateTest1.Models;
namespace TemplateTest1.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TemplateTest1.Models;
namespace TemplateTest1.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
v... | mit | C# |
d98071b0875e2959b83c99d57562553aef5e0505 | fix typo in redeliver extension | phatboyg/MassTransit,MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit | src/MassTransit/RedeliverExtensions.cs | src/MassTransit/RedeliverExtensions.cs | namespace MassTransit
{
using System;
using System.Threading.Tasks;
using Context;
public static class RedeliverExtensions
{
/// <summary>
/// Redeliver uses the message scheduler to deliver the message to the queue at a future
/// time. The delivery count is in... | namespace MassTransit
{
using System;
using System.Threading.Tasks;
using Context;
public static class RedeliverExtensions
{
/// <summary>
/// Redeliver uses the message scheduler to deliver the message to the queue at a future
/// time. The delivery count is in... | apache-2.0 | C# |
be5a68d9feaee6410dcd6a8918c2326a1c0b66dc | Set public methods to internal | rotorgames/Rg.Plugins.Popup,rotorgames/Rg.Plugins.Popup | src/Stubs/Rg.Plugins.Popup.Platform.cs | src/Stubs/Rg.Plugins.Popup.Platform.cs | using System;
#if __ANDROID__
using Rg.Plugins.Popup.Droid.Renderers;
#elif __IOS__
using Rg.Plugins.Popup.IOS.Renderers;
using Rg.Plugins.Popup.IOS.Impl;
#endif
using Xamarin.Forms;
namespace Rg.Plugins.Popup.Platform.Renderers
{
internal static class Loader
{
public static void Load()
{
#if ... | using System;
#if __ANDROID__
using Rg.Plugins.Popup.Droid.Renderers;
#elif __IOS__
using Rg.Plugins.Popup.IOS.Renderers;
using Rg.Plugins.Popup.IOS.Impl;
#endif
using Xamarin.Forms;
namespace Rg.Plugins.Popup.Platform.Renderers
{
public static class Loader
{
public static void Load()
{
#if __... | mit | C# |
37d4dd9be181d64eef9a1f9157e95f9269e0871c | Add option to set app name | skwasjer/SilentHunter | src/SilentHunter.Controllers.Compiler/DependencyInjection/ControllerConfigurerExtensions.cs | src/SilentHunter.Controllers.Compiler/DependencyInjection/ControllerConfigurerExtensions.cs | using System;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SilentHunter.FileFormats.Dat.Controllers;
using SilentHunter.FileFormats.DependencyInjection;
namespace SilentHunter.Controllers.Compiler.DependencyInjection
{
publi... | using System;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SilentHunter.FileFormats.Dat.Controllers;
using SilentHunter.FileFormats.DependencyInjection;
namespace SilentHunter.Controllers.Compiler.DependencyInjection
{
publi... | apache-2.0 | C# |
b99b381cbaa8cc98807c26c1c272d4eb361219e1 | Remove AssemblyLanguage attribute | Ravatsaas/PowerManagerAPI | PowerManagerAPI/Properties/AssemblyInfo.cs | PowerManagerAPI/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("PowerManagerAPI")]
[assembly: AssemblyDescription("A managed wrapper for the most important functions in the Windows Power Management API (powrprof.dll)")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Binary ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("PowerManagerAPI")]
[assembly: AssemblyDescription("A managed wrapper for the most important functions in the Windows Power Management API (powrprof.dll)")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Binary ... | mit | C# |
04396b75cd7613cc9102859576bf4422e05aea9c | Update InterlockedImpl.cs | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos | source/Cosmos.Core_Plugs/System/Threading/InterlockedImpl.cs | source/Cosmos.Core_Plugs/System/Threading/InterlockedImpl.cs | using System.Threading;
using IL2CPU.API.Attribs;
namespace Cosmos.Core_Plugs.System.Threading
{
[Plug(Target = typeof(Interlocked))]
public static class InterlockedImpl
{
public static int Decrement(ref int aData)
{
return aData -= 1;
}
public static int Increme... | using System.Threading;
using IL2CPU.API.Attribs;
namespace Cosmos.Core_Plugs.System.Threading
{
[Plug(Target = typeof(Interlocked))]
public static class InterlockedImpl
{
public static int Decrement(ref int aData)
{
return aData -= 1;
}
}
}
| bsd-3-clause | C# |
83d9641b02f60be1b44fb793c76aa241c4dbff3a | Add Read and Write methods | Figglewatts/LSDStay | LSDStay/PSX.cs | LSDStay/PSX.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace LSDStay
{
public static class PSX
{
public static Process PSXProcess;
public static IntPtr PSXHandle;
public static bool FindPSX()
{
PSXProcess = Proc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace LSDStay
{
public static class PSX
{
public static Process FindPSX()
{
Process psx = Process.GetProcessesByName("psxfin").FirstOrDefault();
return psx;
}... | mit | C# |
fb04f2c639b28080132d15c6d9b841a931dd0fc5 | Fix Size test using explicit conversions for assertions | discosultan/VulkanCore | Tests/SizeTest.cs | Tests/SizeTest.cs | using Xunit;
namespace VulkanCore.Tests
{
public class SizeTest
{
[Fact]
public void ImplicitConversions()
{
const int intVal = 1;
const long longVal = 2;
Size intSize = intVal;
Size longSize = longVal;
Assert.Equal(intVal, ... | using Xunit;
namespace VulkanCore.Tests
{
public class SizeTest
{
[Fact]
public void ImplicitConversions()
{
const int intVal = 1;
const long longVal = 2;
Size intSize = intVal;
Size longSize = longVal;
Assert.Equal(intVal, ... | mit | C# |
364738e5a0ba7a6ce3a05b2d5f70d038343c5837 | Add explanatory comment to drag component | andrew-vant/dragalt | dragnavball.cs | dragnavball.cs | using KSP.UI.Screens.Flight;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class NavBallAttacher : MonoBehaviour
{
void Start()
{
print("Starting draggable navball");
// We want to drag the navball's frame around. The frame is
// the ... | using KSP.UI.Screens.Flight;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class NavBallAttacher : MonoBehaviour
{
void Start()
{
print("Starting draggable navball");
// We want to drag the navball's frame around. The frame is
// the ... | mit | C# |
72ac3c280fe4d03a576ef05c9d171b4e16c6f4ea | Update Program.cs | versionone/api-examples,versionone/api-examples | csharp/ApiDemo/ApiDemo/Program.cs | csharp/ApiDemo/ApiDemo/Program.cs | using System;
using VersionOne.SDK.APIClient;
namespace ApiDemo
{
class Program
{
const string BASE_URL = "https://www14.v1host.com/v1sdktesting";
private const string SecretsFile = @"C:\Users\mheffel\Documents\GitHub\api-examples\csharp\ApiDemo\client_secrets.json";
private const string CredsFi... | using System;
using VersionOne.SDK.APIClient;
namespace ApiDemo
{
class Program
{
const string BASE_URL = "https://www14.v1host.com/v1sdktesting";
private const string SecretsFile = @"C:\Users\mheffel\Documents\GitHub\api-examples\csharp\ApiDemo\client_secrets.json";
private const string CredsFile... | mit | C# |
6655f73bdb422c1c3b9c36973c04de0660870186 | Replace double quote in KeyVaultSecretManager class summary (#14622) | brjohnstmsft/azure-sdk-for-net,markcowl/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackm... | sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/src/KeyVaultSecretManager.cs | sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/src/KeyVaultSecretManager.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Security.KeyVault.Secrets;
using Microsoft.Extensions.Configuration;
namespace Azure.Extensions.AspNetCore.Configuration.Secrets
{
/// <summary>
/// Default implementation of <see cref="KeyVaultSecretMa... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Security.KeyVault.Secrets;
using Microsoft.Extensions.Configuration;
namespace Azure.Extensions.AspNetCore.Configuration.Secrets
{
/// <summary>
/// Default implementation of <see cref="KeyVaultSecretMa... | mit | C# |
1a45f68f7d3f294123b1a8efe4af4179450b57f1 | Fix interface inheritance, a VM node is not a cloud node (#239) | GoogleCloudPlatform/iap-desktop,GoogleCloudPlatform/iap-desktop | sources/Google.Solutions.IapDesktop.Application/Views/ProjectExplorer/IProjectExplorerNode.cs | sources/Google.Solutions.IapDesktop.Application/Views/ProjectExplorer/IProjectExplorerNode.cs | //
// Copyright 2020 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | //
// Copyright 2020 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | apache-2.0 | C# |
ceace26de5259bbd93278d763772775e0b534048 | Rollback private set | elmahio/elmah.io.apps | Elmah.Io.Apps/Manifest/VariableBase.cs | Elmah.Io.Apps/Manifest/VariableBase.cs | namespace Elmah.Io.Apps.Manifest
{
public abstract class VariableBase : IVariable
{
protected VariableBase(VariableType type)
{
Type = type;
}
public VariableType Type { get; private set; }
public string Key { get; set; }
public string Name { get; ... | namespace Elmah.Io.Apps.Manifest
{
public abstract class VariableBase : IVariable
{
protected VariableBase(VariableType type)
{
Type = type;
}
public VariableType Type { get; }
public string Key { get; set; }
public string Name { get; set; }
... | apache-2.0 | C# |
02b8f891edf66c0f7f987a55c03a0c3aac018e96 | Reformat code | MarcinHoppe/AspNet.WebApi.Security.Samples | Filters/Filters/AuthorizationFilter.cs | Filters/Filters/AuthorizationFilter.cs | using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace Filters
{
public class AuthorizationFilter : IAuthorizationFilter
{
public bool AllowMultiple => false;
publ... | using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace Filters
{
public class AuthorizationFilter : IAuthorizationFilter
{
public bool AllowMultiple => false;
publ... | mit | C# |
759ada53c0eee8c9384a4c05aa4c815c3a388d37 | Fix artist details rendering | Clancey/gMusic,Clancey/gMusic | MusicPlayer.iOS/ViewControllers/ArtistDetailViewController.cs | MusicPlayer.iOS/ViewControllers/ArtistDetailViewController.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Localizations;
using MusicPlayer.Models;
using MusicPlayer.ViewModels;
using UIKit;
using MusicPlayer.Data;
namespace MusicPlayer.iOS.ViewControllers
{
internal class ArtistDetailViewController : TopTabBarControlle... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Localizations;
using MusicPlayer.Models;
using MusicPlayer.ViewModels;
using UIKit;
using MusicPlayer.Data;
namespace MusicPlayer.iOS.ViewControllers
{
internal class ArtistDetailViewController : TopTabBarControlle... | apache-2.0 | C# |
d1fb4bdfda1927ea230f08f0a977c30a3ee43fe2 | Debug build | shortlegstudio/silverneedle-web,shortlegstudio/silverneedle-web,shortlegstudio/silverneedle-web | SilverNeedle/lib/Actions/CharacterGenerator/StartingWealth.cs | SilverNeedle/lib/Actions/CharacterGenerator/StartingWealth.cs | // Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace SilverNeedle.Actions.CharacterGenerator
{
using System.Linq;
using SilverNeedle.Characters;
using SilverNeedle.Utility;
/// <summary>
/// Hit point gene... | // Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace SilverNeedle.Actions.CharacterGenerator
{
using System.Linq;
using SilverNeedle.Characters;
using SilverNeedle.Utility;
/// <summary>
/// Hit point gene... | mit | C# |
e061e3c25d9891388571e972c50a599aca9e6c92 | Remove unused usings | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Identity/Amazon/AmazonExtensions.cs | src/LondonTravel.Site/Identity/Amazon/AmazonExtensions.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Identity.Amazon
{
using System;
using Microsoft.AspNetCore.Authentication;
using Microsoft... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Identity.Amazon
{
using System;
using Microsoft.AspNetCore.Authentication;
using Microsoft... | apache-2.0 | C# |
8b653a4cfbefef07098b81dce5d97abd72c38b7f | Update Rte.cshtml | leekelleher/Umbraco-CMS,arknu/Umbraco-CMS,leekelleher/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,hfloyd/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,hfloyd/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,hf... | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml | @model dynamic
@using Umbraco.Web.Composing
@using Umbraco.Web.Templates
@{
var _htmlLocalLinkParser = Current.Factory.GetInstance<HtmlLocalLinkParser>();
var _htmlUrlParser = Current.Factory.GetInstance<HtmlUrlParser>();
var _htmlImageSourceParser = Current.Factory.GetInstance<HtmlImageSourceParser>();
... | @model dynamic
@using Umbraco.Web.Composing
@using Umbraco.Web.Templates
@{
var value = TemplateUtilities.ParseInternalLinks(Model.value.ToString(), Current.UmbracoContext.UrlProvider);
value = TemplateUtilities.ResolveUrlsFromTextString(value);
value = TemplateUtilities.ResolveMediaFromTextString(value);
... | mit | C# |
99d07497e3b0427533922a001e25aeb9c3438deb | Fix hash check function | patchkit-net/patchkit-patcher-unity,genail/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity | src/Assets/Scripts/Data/HashUtilities.cs | src/Assets/Scripts/Data/HashUtilities.cs | using System.Collections.Generic;
using System.Data.HashFunction;
using System.IO;
using System.Linq;
using System.Text;
namespace PatchKit.Unity.Patcher.Data
{
internal static class HashUtilities
{
public static string ComputeStringHash(string str)
{
return string.Concat(new xxHash... | using System.Data.HashFunction;
using System.IO;
using System.Linq;
using System.Text;
namespace PatchKit.Unity.Patcher.Data
{
internal static class HashUtilities
{
public static string ComputeStringHash(string str)
{
return string.Concat(new xxHash((ulong)42).ComputeHash(Encoding.... | mit | C# |
4aa5292a50ca165b2e400d6d9538e72c71f34d98 | make cloudqueues readonly | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Services/AzureBlockIpService.cs | src/Core/Services/AzureBlockIpService.cs | using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
namespace Bit.Core.Services
{
public class AzureBlockIpService : IBlockIpService
{
private readonly CloudQueue _blockIpQueue;
private readonly CloudQueue _unblockIpQueu... | using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
namespace Bit.Core.Services
{
public class AzureBlockIpService : IBlockIpService
{
private CloudQueue _blockIpQueue;
private CloudQueue _unblockIpQueue;
public... | agpl-3.0 | C# |
87beda31de9420e529298f40f619556aa9707589 | Update IsToolConverter.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/Converters/IsToolConverter.cs | src/Draw2D/Converters/IsToolConverter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Avalonia.Data.Converters;
using Draw2D.ViewModels.Tools;
namespace Draw2D.Converters
{
public class IsToolConv... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Avalonia.Data.Converters;
using Draw2D.ViewModels.Tools;
namespace Draw2D.Converters
{
public class IsToolConv... | mit | C# |
dd54737b411d0c0a482b0049f1516f64cbfb2594 | Handle null value. | bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes | Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Views/Parts/MenuWidget-SectionMenu.cshtml | Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Views/Parts/MenuWidget-SectionMenu.cshtml | @using Orchard.UI.Navigation;
@using System.Globalization;
@helper RenderMenuItem(dynamic shape, bool top = false)
{
TextInfo textInfo = new CultureInfo("en-US", false).TextInfo;
MenuItem item = shape.Item as MenuItem;
var text = top ?
textInfo.ToTitleCase(item.Href.Substring(1)) : // use the Href... | @using Orchard.UI.Navigation;
@using System.Globalization;
@helper RenderMenuItem(dynamic shape, bool top = false)
{
TextInfo textInfo = new CultureInfo("en-US", false).TextInfo;
MenuItem item = shape.Item as MenuItem;
var text = top ?
textInfo.ToTitleCase(item.Href.Substring(1)) : // use... | bsd-3-clause | C# |
311ceebf3c83a7371bad5919fdd193a8ed20fe57 | Allow poller to overcome Web Exceptions | rdumont/teamcity-notification-server | src/Server/TeamCity/BuildsPoller.cs | src/Server/TeamCity/BuildsPoller.cs | using System;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TeamCityNotifier.NotificationServer.TeamCity
{
public class BuildsPoller
{
private readonly TimeSpan _interval;
private readonly RestApiClient _client;
... | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TeamCityNotifier.NotificationServer.TeamCity
{
public class BuildsPoller
{
private readonly TimeSpan _interval;
private readonly RestApiClient _client;
public event Action<int> BuildStart... | mit | C# |
008cb76e8b45281842baa5cb31a3626d0fb656bd | Update PageNotFoundsModule.cs | ChristopherJennings/KInspector,JosefDvorak/KInspector,anibalvelarde/KInspector,anibalvelarde/KInspector,JosefDvorak/KInspector,KenticoBSoltis/KInspector,TheEskhaton/KInspector,KenticoBSoltis/KInspector,pnmcosta/KInspector,Kentico/KInspector,martbrow/KInspector,KenticoBSoltis/KInspector,TheEskhaton/KInspector,petrsvihli... | KInspector.Modules/Modules/EventLog/PageNotFoundsModule.cs | KInspector.Modules/Modules/EventLog/PageNotFoundsModule.cs | using System;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules
{
public class PageNotFoundsModule : IModule
{
public ModuleMetadata GetModuleMetadata()
{
return new ModuleMetadata
{
Name = "Not found errors (404)",
Sup... | using System;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules
{
public class PageNotFoundsModule : IModule
{
public ModuleMetadata GetModuleMetadata()
{
return new ModuleMetadata
{
Name = "Not found errors (404)",
Sup... | mit | C# |
68c796bc0cfc2485066152cc649b086ad1ecf8fc | Fix typo in XML doc for GeneratorExtensions (#58020) | mavasani/roslyn,dotnet/roslyn,weltkante/roslyn,diryboy/roslyn,diryboy/roslyn,weltkante/roslyn,dotnet/roslyn,KevinRansom/roslyn,diryboy/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,weltkante/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,shyamnamboodiripad... | src/Compilers/Core/Portable/SourceGeneration/GeneratorExtensions.cs | src/Compilers/Core/Portable/SourceGeneration/GeneratorExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.CodeAnalysis
{
public s... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.CodeAnalysis
{
public s... | mit | C# |
eac903a2d571ae60720c5744893550b79fa2ba90 | remove stage art switch | DutchBeastman/ProefBekwaamheidIceCubeGames | Assets/Scripts/Blocks/BlockManager.cs | Assets/Scripts/Blocks/BlockManager.cs | //Fabian Verkuijlen
//Created on: 15/04/2016
using UnityEngine;
using System.Collections.Generic;
public class BlockManager : MonoBehaviour
{
[SerializeField] private int fieldWidth;
[SerializeField] private int fieldHeight;
//[SerializeField] private GameObject[] farmStageTiles;
[SerializeField] private GameObj... | //Fabian Verkuijlen
//Created on: 15/04/2016
using UnityEngine;
using System.Collections.Generic;
public class BlockManager : MonoBehaviour
{
[SerializeField] private int fieldWidth;
[SerializeField] private int fieldHeight;
[SerializeField] private GameObject[] farmStageTiles;
[SerializeField] private GameObjec... | mit | C# |
07445234d728a828a8c87f3a651cc0891e9592dd | Update GroupBox.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/Layout/GroupBox.cs | src/Core2D/Layout/GroupBox.cs | using System;
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Layout
{
public struct GroupBox
{
public readonly ShapeBox[] Boxes;
public Box Bounds;
public GroupBox(IList<IBaseShape> shapes)
{
Boxes = new ShapeBox[shapes.Count];
... | using System;
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Layout
{
public struct GroupBox
{
public readonly ShapeBox[] Boxes;
public Box Bounds;
public GroupBox(IList<IBaseShape> shapes)
{
Boxes = new ShapeBox[shapes.Count];
... | mit | C# |
9a95b08671aadd5b21d0af1d882d07bc9bf38cdc | Improve DemoRunner tab styling | MatterHackers/agg-sharp,larsbrubaker/agg-sharp,jlewin/agg-sharp | examples/DemoRunner/DemoRunner.cs | examples/DemoRunner/DemoRunner.cs | using System;
using System.Linq;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.UI.Examples;
using MatterHackers.VectorMath;
namespace MatterHackers.Agg
{
internal class DemoRunner : GuiWidget
{
public DemoRunner()
{
var appWidgetFinder = PluginFinder.CreateInstancesOf<IDemoApp>().OrderBy(a => a.Title).T... | using System;
using System.Linq;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.UI.Examples;
namespace MatterHackers.Agg
{
internal class DemoRunner : GuiWidget
{
public DemoRunner()
{
var appWidgetFinder = PluginFinder.CreateInstancesOf<IDemoApp>().OrderBy(a => a.Title).ToList();
TabControl tabContr... | bsd-2-clause | C# |
7dc6c80711939ff8d9bb76d3c22a447ed8f17514 | Patch from Alexander Kojevnikov moving the focus to the list of songs when | GNOME/hyena,dufoli/hyena,dufoli/hyena,petejohanson/hyena,arfbtwn/hyena,GNOME/hyena,arfbtwn/hyena,petejohanson/hyena | Hyena.Gui/Hyena.Data.Gui/IListView.cs | Hyena.Gui/Hyena.Data.Gui/IListView.cs | //
// IListView.cs
//
// Authors:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, includi... | //
// IListView.cs
//
// Authors:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, includi... | mit | C# |
bbcbd45447114687e1d9694caa348b681520372f | Update code | sakapon/KLibrary.Linq | KLibrary4/Linq/Linq/GroupingHelper.cs | KLibrary4/Linq/Linq/GroupingHelper.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace KLibrary.Linq
{
public static class GroupingHelper
{
public static IEnumerable<IGrouping<TKey, TSource>> GroupBySequentially<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TK... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace KLibrary.Linq
{
public static class GroupingHelper
{
public static IEnumerable<IGrouping<TKey, TSource>> GroupBySequentially<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TK... | mit | C# |
9fdfa3c2a451f13ddff65fb4d1de63643a93b08f | Add static factory method for neuron | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/Neuron.cs | NeuralNetwork/NeuralNetwork/Neuron.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork
{
[Serializable]
public class Neuron : INeuron
{
private readonly ISoma _soma;
private readonly IAxon _axon;
private Neuron(ISoma s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork
{
[Serializable]
public class Neuron : INeuron
{
private readonly ISoma _soma;
private readonly IAxon _axon;
public Neuron(ISoma so... | mit | C# |
0a096bc1e2128c254aca1baf8342f59433f38dc5 | Update the XML docs. | darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost,kirilsi/csharp-sparkpost,SparkPost/csharp-sparkpost,darrencauthon/csharp-sparkpost | src/SparkPost/IRecipientLists.cs | src/SparkPost/IRecipientLists.cs | using System.Collections.Generic;
using System.Threading.Tasks;
namespace SparkPost
{
public interface IRecipientLists
{
/// <summary>
/// Creates a recipient list.
/// </summary>
/// <param name="recipientList">The properties of the recipientList to create.</param>
///... | using System.Collections.Generic;
using System.Threading.Tasks;
namespace SparkPost
{
public interface IRecipientLists
{
/// <summary>
/// Sends an email transmission.
/// </summary>
/// <param name="recipientList">The properties of the recipientList to send.</param>
//... | apache-2.0 | C# |
49e1f0fc4cf7afdecc2ef4a036fc7cde96ad44d4 | fix graphical glitch on score | sungry/CS177 | unityTree/Assets/_Scripts/HUDScript.cs | unityTree/Assets/_Scripts/HUDScript.cs | using UnityEngine;
using System.Collections;
using UnitySampleAssets._2D;
public class HUDScript : MonoBehaviour {
// game font set-up
public Font guiFont;
public int fontSize;
// GUIStyle style = new GUIStyle ();
//Heads up Display
float playerScore;
float currentSpeed;
// score popup set-up
T... | using UnityEngine;
using System.Collections;
using UnitySampleAssets._2D;
public class HUDScript : MonoBehaviour {
// game font set-up
public Font guiFont;
public int fontSize;
// GUIStyle style = new GUIStyle ();
//Heads up Display
float playerScore;
float currentSpeed;
// score popup set-up
T... | mit | C# |
7ea77941719a8ffb4bddc9bcb7317210634a3db3 | Add message types for nitro boosting and channel following | BundledSticksInkorperated/Discore | src/Discore/DiscordMessageType.cs | src/Discore/DiscordMessageType.cs | namespace Discore
{
public enum DiscordMessageType
{
Default = 0,
RecipientAdd = 1,
RecipientRemove = 2,
Call = 3,
ChannelNameChange = 4,
ChannelIconChange = 5,
ChannelPinnedMessage = 6,
GuildMemberJoin = 7,
UserPremiumGuildSubscription = ... | namespace Discore
{
public enum DiscordMessageType
{
Default = 0,
RecipientAdd = 1,
RecipientRemove = 2,
Call = 3,
ChannelNameChange = 4,
ChannelIconChange = 5,
ChannelPinnedMessage = 6,
GuildMemberJoin = 7
}
}
| mit | C# |
c576e3fc8cfa01832c33f8a65fd81c581720e240 | Rename function name in test fixture | RivetDB/Rivet,RivetDB/Rivet,RivetDB/Rivet | Source/Test/Operations/NewUserDefinedFunctionOperationTestFixture.cs | Source/Test/Operations/NewUserDefinedFunctionOperationTestFixture.cs | using NUnit.Framework;
using Rivet.Operations;
namespace Rivet.Test.Operations
{
[TestFixture]
public sealed class NewUserDefinedFunctionTestFixture
{
const string SchemaName = "schemaName";
const string FunctionName = "functionName";
const string Definition = "as definition";
[SetUp]
publi... | using NUnit.Framework;
using Rivet.Operations;
namespace Rivet.Test.Operations
{
[TestFixture]
public sealed class NewUserDefinedFunctionTestFixture
{
const string SchemaName = "schemaName";
const string FunctionName = "functionName";
const string Definition = "as definition";
[SetUp]
publi... | apache-2.0 | C# |
371814a6f49f764d58db60bbb4ab4942858bc8de | Fix coal fuel efficiency. | MiPE-JP/RaNET,InPvP/MiNET,yungtechboy1/MiNET | src/MiNET/MiNET/Items/ItemCoal.cs | src/MiNET/MiNET/Items/ItemCoal.cs | namespace MiNET.Items
{
public class ItemCoal : Item
{
public ItemCoal() : base(263)
{
MaxStackSize = 64;
FuelEfficiency = 80;
}
}
} | namespace MiNET.Items
{
public class ItemCoal : Item
{
public ItemCoal() : base(263)
{
MaxStackSize = 64;
FuelEfficiency = 10;
}
}
} | mpl-2.0 | C# |
524567d7d6981d76966b0436ba6c1989ed871ba1 | Handle null fact in WrapperFact | NRules/NRules | src/NRules/NRules/Rete/Fact.cs | src/NRules/NRules/Rete/Fact.cs | using System;
using System.Diagnostics;
using NRules.RuleModel;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact : IFact
{
private object _object;
public Fact()
{
}
public Fact(object @object)
{
_object = @object;
... | using System;
using System.Diagnostics;
using NRules.RuleModel;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact : IFact
{
private object _object;
public Fact()
{
}
public Fact(object @object)
{
_object = @object;
... | mit | C# |
c351ba6aee81d5d8a1d2ec4b3137084d81994f0f | Update year in AssemblyInfo. (+semver: major) | ZEISS-PiWeb/PiWeb-Api | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyProduct( "ZEISS PiWeb Api" )]
[assembly: AssemblyCopyright( "Copyright © 2019 Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyTrademark... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyProduct( "ZEISS PiWeb Api" )]
[assembly: AssemblyCopyright( "Copyright © 2018 Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyTrademark... | bsd-3-clause | C# |
68aee0c59c3e4ce72186cf48b0f8a0443abc363a | Update AssemblyInfo.cs | robbihun/pvc-sql | src/Properties/AssemblyInfo.cs | src/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("Pvc... | 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("Pvc... | apache-2.0 | C# |
762198088304f72fedd7ec987212d3f70915a2e7 | update Content routing | WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy | webmarks.nancy/Bootstrapper.cs | webmarks.nancy/Bootstrapper.cs | using MongoDB.Driver;
using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
using System;
using System.Configuration;
using webmarks.nancy.Models;
namespace webmarks.nancy
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureConventions(NancyConventions nancyC... | using MongoDB.Driver;
using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
using System;
using System.Configuration;
using webmarks.nancy.Models;
namespace webmarks.nancy
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureConventions(NancyConventions nancyC... | mit | C# |
985d38783982d58ed387b2b306331ba9649fbf49 | Support custom directory in tdocs | TheBerkin/Rant | Rant.Tools/Commands/DicDocsCommand.cs | Rant.Tools/Commands/DicDocsCommand.cs | using Rant.Vocabulary;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rant.Tools.Commands
{
[CommandName("tdocs", Description = "Generates a Markdown documentation file all table files in the current directory.")]
[Comma... | using Rant.Vocabulary;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rant.Tools.Commands
{
[CommandName("tdocs", Description = "Generates a Markdown documentation file all table files in the current directory.")]
[Comma... | mit | C# |
c8dc5d0b4e7e13e401e390f5a874319fe47509f1 | update versji | mburgknap/Redmine-Time-Log-2 | RedmineLog/Properties/AssemblyInfo.cs | RedmineLog/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("RedmineLog")]
[assembly: AssemblyDescripti... | 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("RedmineLog")]
[assembly: AssemblyDescripti... | mit | C# |
5486ca084e66e6a8bb751a153837b72e534769ae | Resolve tests | peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | // 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | mit | C# |
205b284f7b517af45a25abaa8404f49ae46621d8 | add test cases for complex types in CustomAttributes | joj/cecil,gluck/cecil,fnajera-rac-de/cecil,saynomoo/cecil,furesoft/cecil,jbevain/cecil,cgourlay/cecil,ttRevan/cecil,xen2/cecil,sailro/cecil,mono/cecil,SiliconStudio/Mono.Cecil,kzu/cecil | Test/Resources/cs/CustomAttributes.cs | Test/Resources/cs/CustomAttributes.cs | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[assembly: Foo ("bingo")]
[assembly: TypeForwardedTo (typeof (System.Diagnostics.DebuggableAttribute))]
enum Bingo : short {
Fuel = 2,
Binga = 4,
}
/*
in System.Security.AccessControl
[Flags]
public enum AceFlags : byte {
... | using System;
using System.Runtime.CompilerServices;
[assembly: Foo ("bingo")]
[assembly: TypeForwardedTo (typeof (System.Diagnostics.DebuggableAttribute))]
enum Bingo : short {
Fuel = 2,
Binga = 4,
}
/*
in System.Security.AccessControl
[Flags]
public enum AceFlags : byte {
None = 0,
ObjectInherit = 0x01,
... | mit | C# |
15c6ab9e7d8010c9835159222fd665309910eafb | make websocket server static | susch19/TurtlesBrain,susch19/TurtlesBrain | TurtlesBrain/WebSocketTurtleServer.cs | TurtlesBrain/WebSocketTurtleServer.cs | using Fleck;
using System;
using System.Collections.Generic;
using System.Linq;
namespace TurtlesBrain
{
public static class WebSocketTurtleServer
{
private static IWebSocketConnection socket;
private static WebSocketServer webServer;
private static WebSocketHttpRequest req;
p... | using Fleck;
using System;
namespace TurtlesBrain
{
public class WebSocketTurtleServer
{
private IWebSocketConnection socket;
private WebSocketServer webServer;
private WebSocketHttpRequest req;
public WebSocketTurtleServer()
{
webServer = new WebSocketServ... | mit | C# |
bf0201b079585f4319e3a85e813c9c5cfd34718a | Update server to send proper response | avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors | csharp/Hello/HelloServer/Program.cs | csharp/Hello/HelloServer/Program.cs | using System;
using System.Threading.Tasks;
using Grpc.Core;
using Hello;
namespace HelloServer
{
class HelloServerImpl : HelloService.HelloServiceBase
{
public override Task<HelloResp> SayHello(HelloReq request, ServerCallContext context)
{
return Task.FromResult(new HelloResp { Result = "Hey, " + request.N... | using System;
using System.Threading.Tasks;
using Grpc.Core;
using Hello;
namespace HelloServer
{
class HelloServerImpl : HelloService.HelloServiceBase
{
public override Task<HelloResp> SayHello(HelloReq request, ServerCallContext context)
{
return Task.FromResult(new HelloResp { Result = "Hey " + request.Na... | mit | C# |
70534da641da89ff4c1a5b3efd94c5e5e925cde1 | Mask sasl-init.initial-response in frame trace. | Azure/amqpnetlite,ChugR/amqpnetlite | src/Sasl/SaslInit.cs | src/Sasl/SaslInit.cs | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance with the License. You may obtain a co... | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance with the License. You may obtain a co... | apache-2.0 | C# |
d216833e635fb6ec1362d999859d73e1552afe78 | Add WikiTest | ats124/backlog4net | src/Backlog4net.Test/WikiMethodsTest.cs | src/Backlog4net.Test/WikiMethodsTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Backlog4net.Test
{
using Api;
using Api.Option;
using Backlog4net.Internal.Json;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Backlog4net.Test
{
using Api;
using Api.Option;
using Backlog4net.Internal.Json;... | mit | C# |
cf8e11a284b9c45882cfafd45cf3664b56a17896 | Use culture insensitive comparison for invalid autoroute path (#9985) | stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Autoroute/Models/AutoroutePartExtensions.cs | src/OrchardCore.Modules/OrchardCore.Autoroute/Models/AutoroutePartExtensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.Extensions.Localization;
namespace OrchardCore.Autoroute.Models
{
public static class AutoroutePartExtensions
{
public static IEnumerable<ValidationResult> ValidatePathFieldVa... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.Extensions.Localization;
namespace OrchardCore.Autoroute.Models
{
public static class AutoroutePartExtensions
{
public static IEnumerable<ValidationResult> ValidatePathFieldValue(this Autor... | bsd-3-clause | C# |
033de8339e06b44a353688714b13a9d391385283 | add the JsonIgnore attribute for IsInEditMode of the TodoItemDto class #2522 (#2742) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Templates/TodoTemplate/Bit.TodoTemplate/Shared/Dtos/TodoItem/TodoItemDto.cs | src/Templates/TodoTemplate/Bit.TodoTemplate/Shared/Dtos/TodoItem/TodoItemDto.cs | namespace TodoTemplate.Shared.Dtos.TodoItem;
public class TodoItemDto
{
public int Id { get; set; }
public string? Title { get; set; }
public DateTimeOffset Date { get; set; }
public bool IsDone { get; set; }
[JsonIgnore]
public bool IsInEditMode { get; set; }
}
| namespace TodoTemplate.Shared.Dtos.TodoItem;
public class TodoItemDto
{
public int Id { get; set; }
public string? Title { get; set; }
public DateTimeOffset Date { get; set; }
public bool IsDone { get; set; }
public bool IsInEditMode { get; set; }
}
| mit | C# |
f705b08d3e22f48fc2a6bb8302643335515850e5 | Clean up | JScott/ViveGrip | Assets/ViveGrip/Scripts/Internal/ViveGrip_TouchDetection.cs | Assets/ViveGrip/Scripts/Internal/ViveGrip_TouchDetection.cs | using UnityEngine;
using System.Collections.Generic;
public class ViveGrip_TouchDetection : MonoBehaviour {
private List<ViveGrip_Object> collidingObjects = new List<ViveGrip_Object>();
void Start () {
GetComponent<SphereCollider>().isTrigger = true;
}
void OnTriggerEnter(Collider other) {
ViveGrip_... | using UnityEngine;
using System.Collections.Generic;
using System.Linq;
public class ViveGrip_TouchDetection : MonoBehaviour {
private List<ViveGrip_Object> collidingObjects = new List<ViveGrip_Object>();
void Start () {
GetComponent<SphereCollider>().isTrigger = true;
}
void OnTriggerEnter(Collider oth... | mit | C# |
0a6cb444f0ad0c41aa6f40e960d30277d5151f1d | Add caching | babelshift/BetterSteamWebAPIDocumentation,babelshift/BetterSteamWebAPIDocumentation | Controllers/HomeController.cs | Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BetterSteamWebAPIDocumentation.Models;
using SteamWebAPI2.Interfaces;
using Microsoft.Extensions.Configuration;
namespace BetterSteamWebAPIDocument... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BetterSteamWebAPIDocumentation.Models;
using SteamWebAPI2.Interfaces;
using Microsoft.Extensions.Configuration;
namespace BetterSteamWebAPIDocument... | mit | C# |
1c7a5f2124b35ffe9a55b121ed2146f301deb76a | Update SimpleBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/SimpleBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/SimpleBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class SimpleBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new SimpleBinaryWriter... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class SimpleBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new SimpleBinaryWriter... | mit | C# |
9ed69cd65cd2390fc266534e215266755d05525a | remove comments | ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET | ElectronNET.WebApp/Program.cs | ElectronNET.WebApp/Program.cs | using ElectronNET.API;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace ElectronNET.WebApp
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args)
... | using ElectronNET.API;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using System;
using System.Diagnostics;
namespace ElectronNET.WebApp
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
// WICHTIG! Use... | mit | C# |
29f52b3004693266db7f07412f526e3a4c121321 | Add basic fields in Charge's PMD 3DS field | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity
{
[JsonProperty("succeeded")]
public bool Succeeded { get; set; }
[JsonProperty("version")]
public string Version { get; set; }
... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity
{
}
}
| apache-2.0 | C# |
3d4e6bb11391aa8485aea32af330511a32d98290 | Add test to check default headers in HttpClientFactory | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | core/tests/Test.Microsoft.Identity.Core.Unit/HttpTests/HttpClientFactoryTests.cs | core/tests/Test.Microsoft.Identity.Core.Unit/HttpTests/HttpClientFactoryTests.cs | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | mit | C# |
a3f51736afef6ddf8ddb03bb4bbcceed54929691 | add quantyfier "this" and rename methods | ivayloivanof/C-Sharp-Chat-Programm | Client/ChatClient/ChatClient/Client.cs | Client/ChatClient/ChatClient/Client.cs | namespace ChatClient
{
using System.Collections.Generic;
public class Client
{
public Server connectedServer;
public string LoginName;
public string LoginPwd;
public string SrvPwd;
public List<ServerInfo> SrvInfoList;
public Client()
{
... | namespace ChatClient
{
using System.Collections.Generic;
public class Client
{
public Server connectedServer;
public string LoginName;
public string LoginPwd;
public string SrvPwd;
public List<ServerInfo> SrvInfoList;
public Client()
{
... | unlicense | C# |
3a527dbd2d383fe83d46e31924506ee13ae14cc6 | Update assembly info. | jcheng31/ForecastPCL,jcheng31/DarkSkyApi | ForecastPCL/Properties/AssemblyInfo.cs | ForecastPCL/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
bb9f5d53f83fd8725575dbdbde7bbfab086d52a7 | rename bad name test | aritters/Ritter,arsouza/Aritter,arsouza/Aritter | src/Aritter.Infra.Crosscutting.Tests/Adapter/TypeAdapterFactory_CreateAdapter.cs | src/Aritter.Infra.Crosscutting.Tests/Adapter/TypeAdapterFactory_CreateAdapter.cs | using Aritter.Infra.Crosscutting.Adapter;
using Moq;
using Xunit;
namespace Aritter.Infra.Crosscutting.Tests.Adapter
{
public class TypeAdapterFactory_CreateAdapter
{
[Fact]
public void ReturnAnyTypeAdapterGivenAnyTypeAdapterFactory()
{
Mock<ITypeAdapter> moqTypeAdapter = n... | using Aritter.Infra.Crosscutting.Adapter;
using Moq;
using Xunit;
namespace Aritter.Infra.Crosscutting.Tests.Adapter
{
public class TypeAdapterFactory_CreateAdapter
{
[Fact]
public void ReturnAnyTypeAdapterGivenAnyTypeAdapterFactory()
{
Mock<ITypeAdapter> moqTypeAdapter = n... | mit | C# |
51b8da41b40ce9aa38719fcca2b7d7f5b709434d | Fix build | ixfalia/banshee,GNOME/banshee,babycaseny/banshee,babycaseny/banshee,GNOME/banshee,dufoli/banshee,ixfalia/banshee,arfbtwn/banshee,Carbenium/banshee,stsundermann/banshee,Carbenium/banshee,dufoli/banshee,arfbtwn/banshee,dufoli/banshee,ixfalia/banshee,ixfalia/banshee,Carbenium/banshee,babycaseny/banshee,stsundermann/banshe... | src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioDriveMetadataSource.cs | src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioDriveMetadataSource.cs | //
// GioDriveMetadetaSource.cs
//
// Author:
// Alex Launi <alex.launi@gmail.com>
//
// Copyright (c) 2010 Alex Launi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrict... | //
// GioDriveMetadetaSource.cs
//
// Author:
// Alex Launi <alex.launi@gmail.com>
//
// Copyright (c) 2010 Alex Launi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrict... | mit | C# |
94bacce2f7b418159506cc34675a7ce499f64a25 | Add a method to get settings from a url. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/AzureRepositories/Settings/GeneralSettingsReader.cs | src/CompetitionPlatform/Data/AzureRepositories/Settings/GeneralSettingsReader.cs | using System.Net.Http;
using System.Text;
using AzureStorage.Blob;
using Common;
using Newtonsoft.Json;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public static class GeneralSettingsReader
{
public static T ReadGeneralSettings<T>(string connectionString, string container, string f... | using System.Text;
using AzureStorage.Blob;
using Common;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public static class GeneralSettingsReader
{
public static T ReadGeneralSettings<T>(string connectionString, string container, string fileName)
{
var settingsSto... | mit | C# |
8e4153fd31a967eef215d49d2f68a98865e79ac2 | Add test covering horrible fail scenario | smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/Platform/TestSceneExecutionModes.cs | osu.Framework.Tests/Visual/Platform/TestSceneExecutionModes.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
using osu.Framework... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Fram... | mit | C# |
4158146c719f6ef3d7f58991b284cf599426d8e5 | Fix spinenr tick samples not positioned at centre | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.cs | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.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.Graphics;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : DrawableOsuHitObject
{
public overri... | // 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.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : DrawableOsuHitObject
{
public override bool DisplayResult => false;... | mit | C# |
c21f11ae450001eff5bfc5db84de8d8bc26c8555 | use linq to add multiple claims | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientApiAccessValidator.cs | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientApiAccessValidator.cs | using KQAnalytics3.Configuration.Access;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public static class ClientApiAccessValidator
{
public static string AuthTypeKey => "authType";
public stati... | using KQAnalytics3.Configuration.Access;
using System;
using System.Collections.Generic;
using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public static class ClientApiAccessValidator
{
public static string AuthTypeKey => "authType";
public static string AccessScop... | agpl-3.0 | C# |
bc8bcad0bd0f23e225f7d663aa6a6078aba2647f | Update logger again | newchild/LegendaryClient-1,semtize/LegendaryClient | LCLog/WriteToLog.cs | LCLog/WriteToLog.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCLog
{
/// <summary>
/// Worlds most basic logger for LegendaryClient
/// </summary>
public class WriteToLog
{
/// <summary>
/// Where to ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCLog
{
/// <summary>
/// Worlds most basic logger for LegendaryClient
/// </summary>
public class WriteToLog
{
/// <summary>
/// Where to ... | bsd-2-clause | C# |
77ec8581a3fff975145fe782bee9e5228bc71359 | Fix compile error in .NET Core 3.1 version of ASP.NET Core Web App blueprint | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Blueprints/BlueprintDefinitions/netcore3.1/AspNetCoreWebApp/template/src/BlueprintBaseName.1/LocalEntryPoint.cs | Blueprints/BlueprintDefinitions/netcore3.1/AspNetCoreWebApp/template/src/BlueprintBaseName.1/LocalEntryPoint.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace BlueprintBaseNam... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace BlueprintBaseName._1
{
public class Program
... | apache-2.0 | C# |
65a5511d6b134efa96c0771cb6180a9841022518 | add process to interface | nirvana-framework/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana | src/Nirvana/CQRS/Queue/IQueueController.cs | src/Nirvana/CQRS/Queue/IQueueController.cs | using System;
using System.Collections.Generic;
using Nirvana.Configuration;
namespace Nirvana.CQRS.Queue
{
public interface IQueueController
{
QueueStatus Status { get; set; }
bool InitializeAll();
//bool StopAll();
// bool StartRoot(string rootName);
// bool StopRoot(s... | using System;
using System.Collections.Generic;
using Nirvana.Configuration;
namespace Nirvana.CQRS.Queue
{
public interface IQueueController
{
QueueStatus Status { get; set; }
bool InitializeAll();
//bool StopAll();
// bool StartRoot(string rootName);
// bool StopRoot(s... | apache-2.0 | C# |
6410d4e761f6bbd68bcfae0fb6b78604db1c8814 | Update OidcConfigurationController.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/Controllers/OidcConfigurationController.cs | src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/Controllers/OidcConfigurationController.cs | using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Company.WebApplication1.Controllers
{
public class OidcConfigurationController : Controller
{
private readonly ILogger<OidcConfigurationController> logger;
... | using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Company.WebApplication1.Controllers
{
public class OidcConfigurationController : Controller
{
private readonly ILogger<SampleDataController> logger;
public... | apache-2.0 | C# |
a4de46193afe274fce206c1956ae155b44e2c1ca | fix baselines | linq2db/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db | Tests/Linq/UserTests/Issue2564Tests.cs | Tests/Linq/UserTests/Issue2564Tests.cs | using System;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue2564Tests : TestBase
{
class Issue2564Class
{
public long Id { get; set; }
public DateTime TimestampGenerated { get; set; }
p... | using System;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue2564Tests : TestBase
{
class Issue2564Class
{
public long Id { get; set; }
public DateTime TimestampGenerated { get; set; }
p... | mit | C# |
ce9b2631daa47c73f0c4e205e814b7f0ae7bbed7 | Fix assembly attributes. | gibwar/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk | src/Microsoft.Azure.WebJobs.Logging/Properties/AssemblyInfo.cs | src/Microsoft.Azure.WebJobs.Logging/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on th... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Ass... | mit | C# |
590aef059f4f2860b32e56a6ca6f831e9daec5e9 | Define a state that is modified by the actions | Seddryck/NBi,Seddryck/NBi | NBi.genbiL/GenerationState.cs | NBi.genbiL/GenerationState.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NBi.Service;
namespace NBi.GenbiL
{
public class GenerationState
{
public TestCasesManager TestCases { get; private set; }
public TemplateManager Template { get; private set; }
public SettingsManager Se... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace NBi.GenbiL
{
class GenerationState
{
public DataTable TestCases { get; set; }
public IEnumerable<string> Variables { get; set; }
public string Template { get; set; }
}
}
| apache-2.0 | C# |
ff33e0d969ab63c64b520e567c827400e4257b19 | Fix merge mistake | leekelleher/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,NikRimington/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,bjarnef/Umbraco-CMS,tcmorris/Umbraco-CMS,tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,bjar... | src/Umbraco.Web/WebApi/Filters/AdminUsersAuthorizeAttribute.cs | src/Umbraco.Web/WebApi/Filters/AdminUsersAuthorizeAttribute.cs | using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using Umbraco.Core;
using Umbraco.Web.Composing;
using Umbraco.Web.Editors;
namespace Umbraco.Web.WebApi.Filters
{
/// <summary>
/// if the users being edited is an admin then we must ensure t... | using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using Umbraco.Core;
using Umbraco.Web.Editors;
namespace Umbraco.Web.WebApi.Filters
{
/// <summary>
/// if the users being edited is an admin then we must ensure that the current user is also ... | mit | C# |
3ad01376ccb1c68da1311b84c010af6ff3c2ac23 | Build and publish nuget package | QuickenLoans/XSerializer,rlyczynski/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Ass... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Ass... | mit | C# |
a572265545538ec6086c3087668711d58bd30265 | Make Grouping class internal. | Dominaezzz/sqlite-helper | SQLite.Net/Query.cs | SQLite.Net/Query.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using SQLite.Net.Expressions;
namespace SQLite.Net
{
public class Query<T> : IOrder... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using SQLite.Net.Expressions;
namespace SQLite.Net
{
public class Query<T> : IOrder... | mit | C# |
84962a22753391b5a23105bbbc1479aae9bdcdcd | Fix potentially null reference if drawable was not assigned a `LoadThread` yet | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework/Logging/LoadingComponentsLogger.cs | osu.Framework/Logging/LoadingComponentsLogger.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.Linq;
using osu.Framework.Development;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
... | // 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.Linq;
using osu.Framework.Development;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
... | mit | C# |
833bd64fd4f7a4f28fe14d469e6834ffe3358f0a | Remove unnecessary inner locking | smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Logging/LoadingComponentsLogger.cs | osu.Framework/Logging/LoadingComponentsLogger.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.Diagnostics;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Lists;
namespace osu.Framework.Logging
{
i... | // 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.Diagnostics;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Lists;
namespace osu.Framework.Logging
{
i... | mit | C# |
1c98f9eed00b7ea16f74755f729738704493a469 | Fix indexed list bug that crashed the app when performing a search | danmiser/MonoTouch.Dialog,benoitjadinon/MonoTouch.Dialog,Milan1992/MonoTouch.Dialog,migueldeicaza/MonoTouch.Dialog,ClusterReplyBUS/MonoTouch.Dialog,hisystems/MonoTouch.Dialog,newky2k/MonoTouch.Dialog,jstedfast/MonoTouch.Dialog | Sample/DemoIndex.cs | Sample/DemoIndex.cs | //
// This sample shows how to present an index.
//
// This requires the user to create two subclasses for the
// internal model used in DialogViewController and a new
// subclass of DialogViewController that activates it.
//
// See the source in IndexedViewController
//
// The reason for Source and SourceSizing derive... | //
// This sample shows how to present an index.
//
// This requires the user to create two subclasses for the
// internal model used in DialogViewController and a new
// subclass of DialogViewController that activates it.
//
// See the source in IndexedViewController
//
// The reason for Source and SourceSizing derive... | mit | C# |
bb9b680aa2d43fe6ef07bbd73cfce0a2b102e0eb | fix merge issue | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Models/Account/AccountDetail.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Models/Account/AccountDetail.cs | using System;
using System.Collections.Generic;
using SFA.DAS.Common.Domain.Types;
namespace SFA.DAS.EAS.Domain.Models.Account
{
public class AccountDetail
{
public long AccountId { get; set; }
public string HashedId { get; set; }
public string PublicHashedId { get; set; }
publ... | using System;
using System.Collections.Generic;
using SFA.DAS.Common.Domain.Types;
namespace SFA.DAS.EAS.Domain.Models.Account
{
public class AccountDetail
{
public long AccountId { get; set; }
public string HashedId { get; set; }
public string PublicHashedId { get; set; }
publ... | mit | C# |
40322e00e9636b30330d3a70d1b08f1298fab1b1 | Edit assembly copyright info (#910) | fluentassertions/fluentassertions,dennisdoomen/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions,fluentassertions/fluentassertions,jnyrup/fluentassertions | Src/SolutionInfo.cs | Src/SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("www.continuousimprover.com")]
[assembly: AssemblyCopyright("Copyright Dennis Doomen 2010-2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyCompany("www.continuousimprover.com")]
[assembly: AssemblyCopyright("Copyright Dennis Doomen 2010-2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] | apache-2.0 | C# |
5f0069eb837a8300efc0f90c35cf1415a0fe4ade | Fix incorrect ruleset being sent to API | NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,naoey/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,UselessToucan/osu,peppy/osu-new,EVAST9919/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,... | osu.Game/Screens/Select/MatchSongSelect.cs | osu.Game/Screens/Select/MatchSongSelect.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi;
namespace osu.Game.Screens.Select
{
public class MatchSongSelect : SongSelect, IMult... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi;
namespace osu.Game.Screens.Select
{
public class MatchSongSelect : SongSelect, IMult... | mit | C# |
d0a231a4f47dfc03063c4890a05c5842aa46cb5d | Update GameManager.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/GameManager.cs | Real_Game/Assets/Scripts/GameManager.cs | using UnityEngine;
using System.Collections;
/**
* Created By Afroraydude
* This class is the Framework Of the Game,
* very large compred to the other classes
* This does:
* Level transitions
* Score Keeping
* Score Saving
*/
public class GameManager : MonoBehaviour {
// Score based stuff
public float highScore;
... | using UnityEngine;
using System.Collections;
/**
* Created By Afroraydude
* This class is the Framework Of the Game,
* very large compred to the other classes
* This does:
* Level transitions
* Score Keeping
* Score Saving
*/
public class GameManager : MonoBehaviour {
// Score based stuff
public float highScore = ... | mit | C# |
916b2deda6b555e2a6a83ae68631d1d321094c8f | add virutal method | suantw/Refactor | RefactorModel/RefactorModel/Refactor.cs | RefactorModel/RefactorModel/Refactor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RefactorModel
{
public class Refactor<T>
{
public Refactor()
{ }
public virtual void Parse()
{ }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RefactorModel
{
public class Refactor<T>
{
public Refactor()
{ }
}
}
| mit | C# |
536436dd2e9b49928a603f92bdcb25dcc755249b | debug mode unlocks all stages and locations. | lizard-entertainment/runityscape,Cinnamon18/runityscape | Assets/Scripts/Game/Defined/Flags.cs | Assets/Scripts/Game/Defined/Flags.cs | using Scripts.Game.Dungeons;
using Scripts.Game.Pages;
using Scripts.Model.SaveLoad;
using Scripts.Model.SaveLoad.SaveObjects;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using UnityEngine;
namespace Scripts.Game.Serialized {
public enum TimeOfDay {
[Description("<color=wh... | using Scripts.Game.Dungeons;
using Scripts.Game.Pages;
using Scripts.Model.SaveLoad;
using Scripts.Model.SaveLoad.SaveObjects;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using UnityEngine;
namespace Scripts.Game.Serialized {
public enum TimeOfDay {
[Description("<color=wh... | mit | C# |
bee8f36e8cc19b03c8b017bf8c1d19e4473d69f9 | Fix bug with ServerContext not migrating changes to Db. Forgot to chain the constructors... | SAEnergy/Infrastructure,SAEnergy/Superstructure,SAEnergy/Infrastructure | Src/Core/Core.Database/ServerContext.cs | Src/Core/Core.Database/ServerContext.cs | using Core.Models.Persistent;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Database
{
public class ServerContext : DbContext
{
#region Properties
public DbSet<User> Users { get; set... | using Core.Models.Persistent;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Database
{
public class ServerContext : DbContext
{
#region Properties
public DbSet<User> Users { get; set... | mit | C# |
d843fece7411e5d43e68cc005ddc1e110843e815 | Revert "Cleaned up 0x60 0x21 warp packet model" | HelloKitty/Booma.Proxy | src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60StartNewWarpCommand.cs | src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60StartNewWarpCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Payload sent when a client is begining a warp to a new area.
/// Contains client ID information and information about the war... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Payload sent when a client is begining a warp to a new area.
/// Contains client ID information and information about the war... | agpl-3.0 | C# |
d08ade5c67cdc4a64e81baee2671b9c52b7e9a14 | Update builder to 1.12 | stevengum97/BotBuilder,dr-em/BotBuilder,mmatkow/BotBuilder,yakumo/BotBuilder,Clairety/ConnectMe,yakumo/BotBuilder,mmatkow/BotBuilder,dr-em/BotBuilder,dr-em/BotBuilder,mmatkow/BotBuilder,msft-shahins/BotBuilder,Clairety/ConnectMe,stevengum97/BotBuilder,mmatkow/BotBuilder,Clairety/ConnectMe,yakumo/BotBuilder,xiangyan99/B... | CSharp/Library/Properties/AssemblyInfo.cs | CSharp/Library/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | mit | C# |
b5d399b933fb1c5cc9a59dc90511329c343f42be | Revise formatting style of ConditionalClickWidget | jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,CodeMangler/MatterControl,tellingmachine/MatterControl,mmoening/MatterControl,MatterHackers/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,ddpruitt/MatterControl,ddpruitt/MatterControl,jlewin/MatterC... | ControlElements/ConditionalClickWidget.cs | ControlElements/ConditionalClickWidget.cs | using System;
namespace MatterHackers.MatterControl
{
public class ConditionalClickWidget : ClickWidget
{
private Func<bool> enabledCallback;
public ConditionalClickWidget(Func<bool> enabledCallback)
{
this.enabledCallback = enabledCallback;
}
public overr... | //-----------------------------------------------------------------------
// <copyright file="ConditionalClickWidget.cs" company="MatterHackers Inc.">
// Copyright (c) 2014, Lars Brubaker
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... | bsd-2-clause | C# |
e274025c6ccadea88856e6c17149de1110850a28 | Update Scope.cs (#263) | JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET | SpotifyAPI/Web/Enums/Scope.cs | SpotifyAPI/Web/Enums/Scope.cs | using System;
namespace SpotifyAPI.Web.Enums
{
[Flags]
public enum Scope
{
[String("")]
None = 1,
[String("playlist-modify-public")]
PlaylistModifyPublic = 2,
[String("playlist-modify-private")]
PlaylistModifyPrivate = 4,
[String("playlist-read-pr... | using System;
namespace SpotifyAPI.Web.Enums
{
[Flags]
public enum Scope
{
[String("")]
None = 1,
[String("playlist-modify-public")]
PlaylistModifyPublic = 2,
[String("playlist-modify-private")]
PlaylistModifyPrivate = 4,
[String("playlist-read-pr... | mit | C# |
d2a47562c7f3493f5c6f97b7940d8e8ec615c705 | Hide ComponentInit from derived objects | Vorlias/Andromeda | Entities/Components/Internal/Component.cs | Entities/Components/Internal/Component.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Andromeda2D.Entities.Components.Internal
{
public abstract class Component : IComponent
{
protected Entity entity;
public Entity Entity
{
get
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Andromeda2D.Entities.Components.Internal
{
public abstract class Component : IComponent
{
protected Entity entity;
public Entity Entity
{
get
... | mit | C# |
9ba8f816dfc8bdbd1ccbcd4e49ac76a89cf25dbb | Disable vstest tests temporarily to unblock PR build | dasMulli/cli,ravimeda/cli,weshaggard/cli,jonsequitur/cli,svick/cli,dasMulli/cli,Faizan2304/cli,nguerrera/cli,blackdwarf/cli,livarcocc/cli-1,Faizan2304/cli,EdwardBlair/cli,AbhitejJohn/cli,AbhitejJohn/cli,EdwardBlair/cli,johnbeisner/cli,Faizan2304/cli,svick/cli,nguerrera/cli,harshjain2/cli,mlorbetske/cli,mlorbetske/cli,j... | test/dotnet-vstest.Tests/VSTestTests.cs | test/dotnet-vstest.Tests/VSTestTests.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
using System;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.TestFram... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
using System;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.TestFram... | mit | C# |
9b561f734cd95052946deef5d959b912b8b0c9fd | Fix GitRepositoryAttribute to evaluate branch only when retrieving injection value | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Git/GitRepositoryAttribute.cs | source/Nuke.Common/Git/GitRepositoryAttribute.cs | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.BuildServers;
using Nuke.Common.Execution;
using Nuke.Common.Tools.Git;
names... | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.BuildServers;
using Nuke.Common.Execution;
using Nuke.Common.Tools.Git;
names... | mit | C# |
a954cf8cee9174d5fafef24bdbde8158834f182f | Fix for migration issues. | fuzeman/vox,fuzeman/vox,fuzeman/vox | JabbR/Migrations/201304220931168_UpstreamNotificationChanges.cs | JabbR/Migrations/201304220931168_UpstreamNotificationChanges.cs | namespace JabbR.Models.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class UpstreamNotificationChanges : DbMigration
{
public override void Up()
{
AddColumn("dbo.ChatMessages", "MessageType", c => c.Int(nullable: false, defaultValue: 0));... | namespace JabbR.Models.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class UpstreamNotificationChanges : DbMigration
{
public override void Up()
{
AddColumn("dbo.ChatMessages", "MessageType", c => c.Int(nullable: false));
AddC... | mit | C# |
3291e7d658d347ea944b44d04ff0468386bdc0a1 | Increment version to 1.11. | mjvh80/jefferson | Jefferson.Core/Properties/AssemblyInfo.cs | Jefferson.Core/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("Je... | 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("Je... | apache-2.0 | C# |
ed63b571d2185d4b3e86d77a08c0f9ce656f819c | Add "new" override for ScrollToEnd To UserTrackingScrollContainer | UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipooo/osu | osu.Game/Graphics/Containers/UserTrackingScrollContainer.cs | osu.Game/Graphics/Containers/UserTrackingScrollContainer.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.Graphics;
namespace osu.Game.Graphics.Containers
{
public class UserTrackingScrollContainer : UserTrackingScrollContainer<Drawable>
{
... | // 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.Graphics;
namespace osu.Game.Graphics.Containers
{
public class UserTrackingScrollContainer : UserTrackingScrollContainer<Drawable>
{
... | mit | C# |
460d205b69ee3161c640878f8bdbc9e9febdc46b | Remove message on use. | gjulianm/AncoraMVVM | AncoraMVVM.Base/Implementations/Messager.cs | AncoraMVVM.Base/Implementations/Messager.cs | using AncoraMVVM.Base.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AncoraMVVM.Base
{
// TODO: Possible oversizing of the internal message list.
public class Messager : IMessager
{
private List<Tuple<Type, object>> messages = new List<Tuple<Type, object>>... | using AncoraMVVM.Base.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AncoraMVVM.Base
{
// TODO: Possible oversizing of the internal message list.
public class Messager : IMessager
{
private List<Tuple<Type, object>> messages = new List<Tuple<Type, object>>... | mpl-2.0 | C# |
c42568694ede4abe8a9d43e20d8cc79367f3bb94 | fix GLStateList | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL4/GLObjects/GLStates/GLStateList.cs | CSharpGL4/GLObjects/GLStates/GLStateList.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
namespace CSharpGL
{
/// <summary>
///
/// </summary>
//[Editor(typeof(IListEditor<GLState>), typeof(UITypeEditor))]
public class GLStateList : List<GLState>, IGLState
{
public void On()
... | using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
namespace CSharpGL
{
/// <summary>
///
/// </summary>
//[Editor(typeof(IListEditor<GLState>), typeof(UITypeEditor))]
public class GLStateList : List<GLState>, IGLState
{
public void On()
... | mit | C# |
6e08b1db1d342c584bc2899cb6dc0e175219dcee | Make sure that beginInvoke target exists | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Modules/ModParser/ModParserSettings.cs | osu!StreamCompanion/Code/Modules/ModParser/ModParserSettings.cs | using System;
using System.Windows.Forms;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Helpers;
namespace osu_StreamCompanion.Code.Modules.ModParser
{
public partial class ModParserSettings : UserControl
{
private Settings _settings;
private bool init = true;
pub... | using System;
using System.Windows.Forms;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Helpers;
namespace osu_StreamCompanion.Code.Modules.ModParser
{
public partial class ModParserSettings : UserControl
{
private Settings _settings;
private bool init = true;
pub... | mit | C# |
603cecb2ebbf2241f605ed86daf18d1139013140 | Make CatchHitObjectPiece abstract class | smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu | osu.Game.Rulesets.Catch/Skinning/Default/CatchHitObjectPiece.cs | osu.Game.Rulesets.Catch/Skinning/Default/CatchHitObjectPiece.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.