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 |
|---|---|---|---|---|---|---|---|---|
5e7d0737161140602ac4b86b13c7a5bb06f7518c | Remove Infrastructure attribute from StartMessageReplayCommand | Abc-Arbitrage/Zebus | src/Abc.Zebus/Persistence/StartMessageReplayCommand.cs | src/Abc.Zebus/Persistence/StartMessageReplayCommand.cs | using System;
using ProtoBuf;
namespace Abc.Zebus.Persistence
{
[ProtoContract, Transient]
public class StartMessageReplayCommand : ICommand
{
[ProtoMember(1, IsRequired = true)]
public readonly Guid ReplayId;
public StartMessageReplayCommand(Guid replayId)
{
Re... | using System;
using ProtoBuf;
namespace Abc.Zebus.Persistence
{
[ProtoContract, Transient, Infrastructure]
public class StartMessageReplayCommand : ICommand
{
[ProtoMember(1, IsRequired = true)]
public readonly Guid ReplayId;
public StartMessageReplayCommand(Guid replayId)
... | mit | C# |
c6e11c1661ae9bc516c6dfa147093cbe74d4a65c | fix ctor in User model | dragandraganov/FoodOrderSystem,dragandraganov/FoodOrderSystem | Source/Data/FoodOrderSystem.Data.Models/User.cs | Source/Data/FoodOrderSystem.Data.Models/User.cs | namespace FoodOrderSystem.Data.Models
{
using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using FoodOrderSystem.Data.Contracts.Models;
public class User : Identi... | namespace FoodOrderSystem.Data.Models
{
using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using FoodOrderSystem.Data.Contracts.Models;
public class User : Identi... | mit | C# |
c4c8235d717b410a70da527b207b0730311ec0ca | Fix Triangle Count | UnityCommunity/UnityLibrary | Assets/Scripts/Editor/Tools/GetSelectedMeshInfo.cs | Assets/Scripts/Editor/Tools/GetSelectedMeshInfo.cs | // display selected gameobject mesh stats (should work on prefabs,models in project window also)
using UnityEditor;
using UnityEngine;
namespace UnityLibrary
{
public class GetSelectedMeshInfo : EditorWindow
{
[MenuItem("Tools/UnityLibrary/GetMeshInfo")]
public static void ShowWindow()
... | // display selected gameobject mesh stats (should work on prefabs,models in project window also)
using UnityEditor;
using UnityEngine;
namespace UnityLibrary
{
public class GetSelectedMeshInfo : EditorWindow
{
[MenuItem("Tools/UnityLibrary/GetMeshInfo")]
public static void ShowWindow()
... | mit | C# |
e324287f796128a722a4d94435b02b90f356076e | Reduce expansion delay on `ExpandingButtonContainer` | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu | osu.Game/Graphics/Containers/ExpandingButtonContainer.cs | osu.Game/Graphics/Containers/ExpandingButtonContainer.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.Game.Graphics.Containers
{
/// <summary>
/// An <see cref="ExpandingContainer"/> with a long hover expansion delay.
/// </summary>
/// <rema... | // 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.Graphics.Containers
{
/// <summary>
/// An <see cref="ExpandingContainer"/> with a long hover expansion delay.
/// </summary>
/// <rema... | mit | C# |
2cacb4212a430c553e50ca2744549933102d2840 | Fix instancing billboard | holance/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit | Source/HelixToolkit.SharpDX.SharedModel/Element3D/InstancingBillboardModel3D.cs | Source/HelixToolkit.SharpDX.SharedModel/Element3D/InstancingBillboardModel3D.cs | using System.Collections.Generic;
#if NETFX_CORE
using Windows.UI.Xaml;
namespace HelixToolkit.UWP
#else
using System.Windows;
namespace HelixToolkit.Wpf.SharpDX
#endif
{
using Model;
using Model.Scene;
/// <summary>
///
/// </summary>
public class InstancingBillboardModel3D : BillboardTextMo... | using System.Collections.Generic;
#if NETFX_CORE
using Windows.UI.Xaml;
namespace HelixToolkit.UWP
#else
using System.Windows;
namespace HelixToolkit.Wpf.SharpDX
#endif
{
using Model;
using Model.Scene;
/// <summary>
///
/// </summary>
public class InstancingBillboardModel3D : BillboardTextMo... | mit | C# |
0a131adaf9bd9072d191af5d7d1b66eff3697b92 | Fix a lag spike at the end of large bombs | samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Audio/InterruptMusic.cs | TwitchPlaysAssembly/Src/Audio/InterruptMusic.cs | using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
public class InterruptMusic : MonoBehaviour
{
public static InterruptMusic Instance { get; private set; }
private static readonly FieldInfo VolumeLevelGameplayField;
private readonly Dictionary<int, float> _oldVolumesGameplay = new Dict... | using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
public class InterruptMusic : MonoBehaviour
{
public static InterruptMusic Instance { get; private set; }
private static readonly FieldInfo VolumeLevelGameplayField;
private readonly Dictionary<int, float> _oldVolumesGameplay = new Dict... | mit | C# |
ee2aa46514b02adffe3dc7a7ab5f199ce6a25316 | Transform values are now divides into global and local values | Yeti47/Yetibyte.Himalaya | Yetibyte.Himalaya/GameElements/Transform.cs | Yetibyte.Himalaya/GameElements/Transform.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using MonoGame.Framework;
namespace Yetibyte.Himalaya.GameElements {
/// <summary>
/// A class that can be used as a component for any object that can be position... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using MonoGame.Framework;
namespace Yetibyte.Himalaya.GameElements {
/// <summary>
/// A class that can be used as a component for any object that can be position... | mit | C# |
924cf22bf9cfcaaa8748bd874656f2a11a580009 | Update Program.cs | medhajoshi27/GitTest1 | ConsoleApplication1/ConsoleApplication1/Program.cs | ConsoleApplication1/ConsoleApplication1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//hello
//code snippet was added in git hub
Console.Writeli... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//hello
}
}
}
| mit | C# |
c1ff410626c15907fbe759b4509fc654e717e2a7 | Mark ProjectionVersionsHandler as a system projection with ISystemProjection | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs | src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs | using System.Runtime.Serialization;
using Elders.Cronus.Projections.Snapshotting;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = "ad755d78-4ecb-4930-837e-160effbfee14")]
public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManage... | using System.Runtime.Serialization;
using Elders.Cronus.Projections.Snapshotting;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = "ad755d78-4ecb-4930-837e-160effbfee14")]
public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManage... | apache-2.0 | C# |
89b4c2f57def460150a58572c0d93b319621be04 | fix naming | ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azur... | src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMConstants.cs | src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMConstants.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
7c6e8f4956ab542de6b345e44a1b80f31641408e | Fix ReflectionTypeLoadExceptionTests (#26166) | ptoonen/corefx,shimingsg/corefx,shimingsg/corefx,ravimeda/corefx,ptoonen/corefx,Jiayili1/corefx,wtgodbe/corefx,Jiayili1/corefx,ptoonen/corefx,wtgodbe/corefx,axelheer/corefx,ViktorHofer/corefx,wtgodbe/corefx,Jiayili1/corefx,ptoonen/corefx,zhenlan/corefx,BrennanConroy/corefx,ViktorHofer/corefx,Ermiar/corefx,zhenlan/coref... | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.cs | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.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 Xunit;
namespace System.Reflection.Tests
{
public static class ReflectionTypeLoadExceptionTests
{
... | // 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 Xunit;
namespace System.Reflection.Tests
{
public static class ReflectionTypeLoadException... | mit | C# |
d30c1488a271e50859e04905af45467efb2a50ee | use NRT | mavasani/roslyn,physhi/roslyn,mavasani/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,eriawan/roslyn,bartdesmet/roslyn,weltkante/roslyn,KevinRansom/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,physhi/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,sharwell/ros... | src/Features/Core/Portable/ConvertTupleToStruct/Scope.cs | src/Features/Core/Portable/ConvertTupleToStruct/Scope.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.ConvertTupleToStruct
{
internal enum Scope
{
ContainingMember,
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
namespace Microsoft.CodeAnalysis.ConvertTupleToStruct
{
internal enum Scope
{
Co... | mit | C# |
f09228cc483d015bfc747d0efd22b6bb889dc7e6 | simplify the usage of notification manager inside main window. | wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,groky... | samples/ControlCatalog/ViewModels/MainWindowViewModel.cs | samples/ControlCatalog/ViewModels/MainWindowViewModel.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls.Notifications;
using Avalonia.Diagnostics.ViewModels;
using Avalonia.Threading;
using ReactiveUI;
namespace ControlCatalog.ViewModels
{
class MainWindowViewModel : ViewModelBase
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls.Notifications;
using Avalonia.Diagnostics.ViewModels;
using Avalonia.Threading;
using ReactiveUI;
namespace ControlCatalog.ViewModels
{
class MainWindowViewModel : ViewModelBase... | mit | C# |
32735fea9450b632b0bfe05358ad0bb3aaa7dc1b | Add Math.ThreePointAngle gives the difference in angle between two points relative to the origin in degrees. useful for getting the direction something is facing in a polar manner. May be replaced using Euler angles for the intended use of this function (RCS jets) | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/Math/Math.cs | Assets/Plugins/Voxelgon/Math/Math.cs | using UnityEngine;
using System.Collections;
namespace Voxelgon {
public class Math {
//returns the angle in degrees from the x axis to a line between origin and child
//2d (x,z) only right now
public static float TwoPointAngle(Vector3 origin, Vector3 child) {
Vector3 deltaT = child - origin;
float ang... | using UnityEngine;
using System.Collections;
namespace Voxelgon {
public class Math {
//returns the angle in degrees from the x axis to a line between origin and child
//2d (x,z) only right now
public static float TwoPointAngle(Vector3 origin, Vector3 child) {
Vector3 deltaT = child - origin;
float ang... | apache-2.0 | C# |
62a142c1767f12f520dd30bae415e3a569ca355b | clean up | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | @model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions" class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity</th>
... | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions" class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Transaction</th>
... | mit | C# |
95b9cc0f4317c30dc3ae9f9cf4ec08cd90a578ac | remove setters from BlogViewModel | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | web/AlphaDev.Web/Models/BlogViewModel.cs | web/AlphaDev.Web/Models/BlogViewModel.cs | namespace AlphaDev.Web.Models
{
public class BlogViewModel : PageViewModel
{
public BlogViewModel(string title, string content, DatesViewModel dates) : base(title)
{
Content = content;
Dates = dates;
}
public DatesViewModel Dates { get; }
public ... | namespace AlphaDev.Web.Models
{
public class BlogViewModel : PageViewModel
{
public BlogViewModel(string title, string content, DatesViewModel dates) : base(title)
{
Content = content;
Dates = dates;
}
public DatesViewModel Dates { get; set; }
pu... | unlicense | C# |
e90d86c68a591448a5eafd251ca578568458e315 | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.android/Views/MapRouteStopView.cs | bstrkr.mobile/bstrkr.android/Views/MapRouteStopView.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V13.App;
using Android.Support.V4.View;
using Android.Views;
using Android.Widget;
using bstrkr.core;
using bstrkr.mvvm;
using bstrkr.mvvm.viewmo... | using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Support.V13.App;
using Android.Support.V4.View;
using Android.Views;
using Android.Widget;
using bstrkr.core;
using bstrkr.mvvm;
using bstrkr.mvvm.viewmodels;
using Cirrious.M... | bsd-2-clause | C# |
86d0425ad2fabd431a1b6718515e3cee4d4d5401 | Update Vacancy.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Models/Recruit/Vacancy.cs | src/SFA.DAS.EmployerAccounts/Models/Recruit/Vacancy.cs | using System;
namespace SFA.DAS.EmployerAccounts.Models.Recruit
{
public class Vacancy
{
public string Title { get; set; }
public VacancyStatus Status { get; set; }
public string ManageVacancyUrl { get; set; }
public int? NoOfNewApplications { get; set; }
public int? No... | using System;
namespace SFA.DAS.EmployerAccounts.Models.Recruit
{
public class Vacancy
{
public string Title { get; set; }
public VacancyStatus Status { get; set; }
public string ManageVacancyUrl { get; set; }
public int? NoOfApplications { get; set; }
public DateTime? ... | mit | C# |
a06068da4493ef3726fa11fb666c9c249b34f241 | Add playlist tags hidden property | scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema | src/Schema/Playlists/Response/Endpoints/PlaylistTag.cs | src/Schema/Playlists/Response/Endpoints/PlaylistTag.cs | using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response.Endpoints
{
public class PlaylistTag
{
[XmlElement("name")]
public string Name { get; set; }
[XmlElement("hidden")]
public bool Hidden { get; set; }
}
} | using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response.Endpoints
{
public class PlaylistTag
{
[XmlElement("name")]
public string Name { get; set; }
}
} | mit | C# |
cbc5b5509a11d9f0d5ae2ba86f00a5729585c90a | Support for Inno Setup 6 | zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos | source/Cosmos.Build.Builder/Services/InnoSetupService.cs | source/Cosmos.Build.Builder/Services/InnoSetupService.cs | using System.IO;
using Microsoft.Win32;
namespace Cosmos.Build.Builder.Services
{
internal class InnoSetupService : IInnoSetupService
{
private const string InnoSetupRegistryKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Inno Setup 6_is1";
public string GetInnoSetupInstallationPa... | using System.IO;
using Microsoft.Win32;
namespace Cosmos.Build.Builder.Services
{
internal class InnoSetupService : IInnoSetupService
{
private const string InnoSetupRegistryKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Inno Setup 5_is1";
public string GetInnoSetupInstallationPa... | bsd-3-clause | C# |
96e112e7d6cd6740f674c90e2e4fda88a7dfee9b | Update version number | yut23/besiege-button-mapper | ButtonMapperMod/ButtonMapperLoader.cs | ButtonMapperMod/ButtonMapperLoader.cs | using spaar.ModLoader;
using System;
using UnityEngine;
namespace yut23.ButtonMapper
{
public class ButtonMapperLoader : Mod
{
public override string Name { get { return "button-mapper-mod"; } }
public override string DisplayName { get { return "Button Mapper Mod"; } }
public override ... | using spaar.ModLoader;
using System;
using UnityEngine;
namespace yut23.ButtonMapper
{
public class ButtonMapperLoader : Mod
{
public override string Name { get { return "button-mapper-mod"; } }
public override string DisplayName { get { return "Button Mapper Mod"; } }
public override ... | mit | C# |
ccb55d687026082b0ef8bf791f524c5fd8e9b0a2 | Fix error message of RegularExpressionAttribute | mcintyre321/FormFactory,mcintyre321/FormFactory,mcintyre321/FormFactory | FormFactory/Attributes/RegularExpressionAttribute.cs | FormFactory/Attributes/RegularExpressionAttribute.cs | using System;
namespace FormFactory.Attributes
{
public class RegularExpressionAttribute : Attribute {
public RegularExpressionAttribute(string pattern)
{
Pattern = pattern;
}
public string FormatErrorMessage(string propertyVmDisplayName)
{
return $"... | using System;
namespace FormFactory.Attributes
{
public class RegularExpressionAttribute : Attribute {
public RegularExpressionAttribute(string pattern)
{
Pattern = pattern;
}
public string FormatErrorMessage(string propertyVmDisplayName)
{
return $"... | mit | C# |
6f484ce959490c1de635befb094f14a9960ff5d3 | Make ChildrenAttribute support multiple doctypes | Gibe/Gibe.DittoProcessors | Gibe.DittoProcessors/Processors/ChildrenAttribute.cs | Gibe.DittoProcessors/Processors/ChildrenAttribute.cs | using System.Linq;
using Our.Umbraco.Ditto;
using Umbraco.Web;
namespace Gibe.DittoProcessors.Processors
{
public class ChildrenAttribute : DittoProcessorAttribute
{
private readonly string[] _docTypeAlias;
public ChildrenAttribute(params string[] docTypeAlias)
{
_docTypeAlias = docTypeAlias;
}
... | using System.Linq;
using Our.Umbraco.Ditto;
using Umbraco.Web;
namespace Gibe.DittoProcessors.Processors
{
public class ChildrenAttribute : DittoProcessorAttribute
{
private readonly string _docTypeAlias;
public ChildrenAttribute(string docTypeAlias)
{
_docTypeAlias = docTypeAlias;
}
public overrid... | mit | C# |
8f1a31de4772524a2999920eaaa77d4bf1430f8f | Update profile fix | chaoskie/Ict4Participation,chaoskie/Ict4Participation | Ict4Participation/Ict4Participation/UpdateProfile.cs | Ict4Participation/Ict4Participation/UpdateProfile.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Admin_Layer;
namespace Ict4Participation
{
public partial class UpdateProfile : Form
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Data
namespace Ict4Participation
{
public partial class UpdateProfile : Form
{
pub... | mit | C# |
061723917a68c07d6b22e326704ce3c78b8aeed7 | Use syntax analysis. | AdamSpeight2008/roslyn-AdamSpeight2008,dotnet/roslyn,heejaechang/roslyn,aelij/roslyn,abock/roslyn,ErikSchierboom/roslyn,bartdesmet/roslyn,brettfo/roslyn,tmeschter/roslyn,tmeschter/roslyn,cston/roslyn,DustinCampbell/roslyn,wvdd007/roslyn,xasx/roslyn,dpoeschl/roslyn,MichalStrehovsky/roslyn,nguerrera/roslyn,davkean/roslyn... | src/Features/Core/Portable/ConvertAnonymousTypeToTuple/AbstractConvertAnonymousTypeToTupleDiagnosticAnalyzer.cs | src/Features/Core/Portable/ConvertAnonymousTypeToTuple/AbstractConvertAnonymousTypeToTupleDiagnosticAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.ConvertAnonymousTypeToTuple... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.ConvertAnonymousTypeToTuple... | mit | C# |
dad0560da7032b8721031dab486e2460bfc96ea2 | Update to only support jpg, for now | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/ViewModels/GameViewModels.cs | Gamedalf/ViewModels/GameViewModels.cs | using Gamedalf.Core.Attributes;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web;
namespace Gamedalf.ViewModels
{
public class GameCreateViewModel
{
[Required]
[StringLength(100, MinimumLength = 1)]
[Display(Name = "Title")]
... | using Gamedalf.Core.Attributes;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web;
namespace Gamedalf.ViewModels
{
public class GameCreateViewModel
{
[Required]
[StringLength(100, MinimumLength = 1)]
[Display(Name = "Title")]
... | mit | C# |
dc4a4b6e173d7fd2c8fcdde50c80af4bc0f3fe79 | Rename Text to TextField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Texts.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Texts.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public string TextField(string value)
{
return TextField(string.Empty, value);
}
public string TextField(string label, string value)
{
return TextField(label, value, Layout.Auto);
}
public string TextField(s... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public string Text(string value)
{
return Text(string.Empty, value);
}
public string Text(string label, string value)
{
return Text(label, value, Layout.Auto);
}
public string Text(string value, Layout optio... | mit | C# |
323e8231aad7f098b2a70bc4ae1c486360413645 | Fix some autoincrementing assembly versions. | joj/debugger-libs,mono/debugger-libs,mono/debugger-libs,Unity-Technologies/debugger-libs,joj/debugger-libs,Unity-Technologies/debugger-libs | MonoDevelop.Debugger.Tests.TestApp/AssemblyInfo.cs | MonoDevelop.Debugger.Tests.TestApp/AssemblyInfo.cs | //
// AssemblyInfo.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.com)
//
// 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 t... | //
// AssemblyInfo.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.com)
//
// 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 t... | mit | C# |
161baa9aefdc7a5ddb94b93467f6ba0b2f514e74 | Update AssemblyInfo.cs | fredatgithub/UsefulFunctions | CodeGeneration/Properties/AssemblyInfo.cs | CodeGeneration/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... | mit | C# |
347ca1ffaa8b177fbfe7949b863af22a9975b46c | Clean up | Weingartner/SolidworksAddinFramework | DemoMacroFeature/SampleMacroFeature/SampleMacroFeature.cs | DemoMacroFeature/SampleMacroFeature/SampleMacroFeature.cs | using System.Numerics;
using System.Runtime.InteropServices;
using SolidworksAddinFramework;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
using SolidWorks.Interop.swpublished;
namespace DemoMacroFeatures.SampleMacroFeature
{
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface... | using System.Numerics;
using System.Runtime.InteropServices;
using SolidworksAddinFramework;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
using SolidWorks.Interop.swpublished;
namespace DemoMacroFeatures.SampleMacroFeature
{
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface... | mit | C# |
3a67f7a1ea89ca4a6c3b284a2620fee80ce118d1 | add startup checks for IClientStore and IScopeStore | chrisowhite/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentitySer... | src/IdentityServer4/Configuration/IdentityServerApplicationBuilderExtensions.cs | src/IdentityServer4/Configuration/IdentityServerApplicationBuilderExtensions.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Hosting;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using Microsoft.Extensions.Logging;
using System... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Hosting;
using IdentityServer4.Stores;
using Microsoft.Extensions.Logging;
using System;
namespace Microsoft.AspNetCor... | apache-2.0 | C# |
80b278e62af86b401024ff59fef9a41ef8ffb2f6 | Change scoreboard columns order | CSGO-Analysis/CSGO-Analyzer | DemoParser-Model/Models/ScoreBoardLine.cs | DemoParser-Model/Models/ScoreBoardLine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoParser_Model.Models
{
public class ScoreBoardLine
{
public string PlayerName { get; set; }
public int Kills { get; set; }
public int Assist { get; set; }
public int Deaths { get... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoParser_Model.Models
{
public class ScoreBoardLine
{
public string PlayerName { get; set; }
public int Kills { get; set; }
public int Headshot { get; set; }
public int Assist { g... | mit | C# |
37f9402e16c36737c459c16ba79514bf02718d4c | Update Program.cs | digipost/digipost-api-client-dotnet | Digipost.Api.Client.Testklient/Program.cs | Digipost.Api.Client.Testklient/Program.cs | using System;
using Digipost.Api.Client.Common;
using Digipost.Api.Client.Common.Enums;
using Digipost.Api.Client.Common.Recipient;
using Digipost.Api.Client.Send;
using Environment = Digipost.Api.Client.Common.Environment;
namespace Digipost.Api.Client.Testklient
{
internal class Program
{
... | using System;
using Digipost.Api.Client.Common;
using Digipost.Api.Client.Common.Enums;
using Digipost.Api.Client.Common.Recipient;
using Digipost.Api.Client.Send;
using Environment = Digipost.Api.Client.Common.Environment;
namespace Digipost.Api.Client.Testklient
{
internal class Program
{
... | apache-2.0 | C# |
f061d754f688206f886dae20f8da22ebe0a0d7e4 | Remove sort descending | ca0abinary/solr-express,solr-express/solr-express | SolrExpress.Solr4/Parameter/FacetFieldParameter.cs | SolrExpress.Solr4/Parameter/FacetFieldParameter.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using SolrExpress.Core.Enumerator;
using SolrExpress.Core.Helper;
using SolrExpress.Core.Query;
namespace SolrExpress.Solr4.Parameter
{
public sealed class FacetFieldParameter<T> : IParameter<List<string>>
where T : IDocument
... | using SolrExpress.Core.Enumerator;
using SolrExpress.Core.Helper;
using SolrExpress.Core.Query;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace SolrExpress.Solr4.Parameter
{
public sealed class FacetFieldParameter<T> : IParameter<List<string>>
where T : IDocument
... | mit | C# |
7e549f4798d2340a041ec306c29aad14bf172843 | add setars | MystFan/Heroically-Recipes,MystFan/Heroically-Recipes | Source/HeroicallyRecipes/Data/HeroicallyRecipes.Data/Repositories/DbRepository.cs | Source/HeroicallyRecipes/Data/HeroicallyRecipes.Data/Repositories/DbRepository.cs | namespace HeroicallyRecipes.Data.Repositories
{
using System;
using System.Data.Entity;
using System.Linq;
using Models;
// TODO: Why BaseModel<int> instead BaseModel<TKey>?
public class DbRepository<T> : IDbRepository<T>
where T : BaseModel<int>
{
public DbRepository(DbCo... | namespace HeroicallyRecipes.Data.Repositories
{
using System;
using System.Data.Entity;
using System.Linq;
using Models;
// TODO: Why BaseModel<int> instead BaseModel<TKey>?
public class DbRepository<T> : IDbRepository<T>
where T : BaseModel<int>
{
public DbRepository(DbCo... | mit | C# |
c4a66b31c6f2de907124e7434571c78459ba0b4d | Revert "Revert "TimeSpectre"" | BurningFlower/time-reaver,BurningFlower/time-reaver,BurningFlower/time-reaver | Assets/Scripts/TimeSpectre.cs | Assets/Scripts/TimeSpectre.cs | using UnityEngine;
using System.Collections;
public class TimeSpectre : MonoBehaviour {
private int spectreStage;
private const int stages = 5;
private bool preparedChange;
public float force =3f;
public float distanceStage0=4f;
public float distanceStage3=4f;
public GameObject player;
// Use this for ini... | using UnityEngine;
using System.Collections;
public class TimeSpectre : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| apache-2.0 | C# |
ca47b21788dbc283ceabc2169494136f53fc3626 | Update version to 2.4.1 | smartpcr/JiraRestClient,lbarbisan-ullink/JiraRestClient,stewshka/JiraRestClient,jnus/JiraRestClient,dstj/JiraRestClient | TechTalk.JiraRestClient/Properties/AssemblyInfo.cs | TechTalk.JiraRestClient/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("Te... | 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("Te... | bsd-3-clause | C# |
08a571d71306e6069ff4ef21fdaf3ec80968874d | Test only on same thread. Multi-threaded test needs to be platform-specific. | Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet | Tests/IntegrationTests.Shared/NotificationTests.cs | Tests/IntegrationTests.Shared/NotificationTests.cs | using System;
using NUnit.Framework;
using Realms;
using System.Threading;
using System.IO;
namespace IntegrationTests.Shared
{
[TestFixture]
public class NotificationTests
{
private string _databasePath;
private Realm _realm;
[SetUp]
public void Setup()
{
... | using System;
using NUnit.Framework;
using Realms;
using System.Threading;
using System.IO;
namespace IntegrationTests.Shared
{
[TestFixture]
public class NotificationTests
{
private string _databasePath;
private Realm _realm;
private void WriteOnDifferentThread(Action<Realm> acti... | apache-2.0 | C# |
c6e6acab02f2834166fda9bf475d3dca326d9811 | Remove using statement | existall/SimpleConfig | src/Tests/ExistAll.SimpleConfig.UnitTests/SimpleConfig/ConfigEnumerableTests.cs | src/Tests/ExistAll.SimpleConfig.UnitTests/SimpleConfig/ConfigEnumerableTests.cs | using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace ExistAll.SimpleConfig.UnitTests.SimpleConfig
{
public class ConfigEnumerableTests
{
[Fact]
public void Build_WhereVariableHasValue_ShouldSetProperty()
{
var sut = new ConfigBuilder();
var result = sut.Build(new[] {... | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace ExistAll.SimpleConfig.UnitTests.SimpleConfig
{
public class ConfigEnumerableTests
{
[Fact]
public void Build_WhereVariableHasValue_ShouldSetProperty()
{
var sut = new ConfigBuilder();
var result = su... | mit | C# |
09399b252b07475cc6cd5efec0f2aefe68baa3eb | Use GetRandomFileName when a specific extension is needed | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | Core/Utility/TemporaryFile.cs | Core/Utility/TemporaryFile.cs | using System;
using System.IO;
namespace NuGetPe
{
public sealed class TemporaryFile : IDisposable
{
public TemporaryFile(Stream stream, string? extension = null)
{
if (stream == null)
throw new ArgumentNullException(nameof(stream));
if (string.IsNullOr... | using System;
using System.IO;
namespace NuGetPe
{
public sealed class TemporaryFile : IDisposable
{
public TemporaryFile(Stream stream, string? extension = null)
{
if (stream == null)
throw new ArgumentNullException(nameof(stream));
if (string.IsNullOr... | mit | C# |
ff865bb260e6b9ba6bedcb087ff9e1aa5742e35e | Fix warning | Workshop2/noobot,noobot/noobot | tests/Noobot.Tests.Unit/Core/MessagingPipeline/ValidHandles/RegexHandleTests.cs | tests/Noobot.Tests.Unit/Core/MessagingPipeline/ValidHandles/RegexHandleTests.cs | using Noobot.Core.MessagingPipeline.Middleware.ValidHandles;
using Shouldly;
using Xunit;
namespace Noobot.Tests.Unit.Core.MessagingPipeline.ValidHandles
{
public class RegexHandleTests
{
[Theory]
[InlineData(".*", "i love geoff")]
[InlineData("simon", "SIMON")]
public void sho... | using Noobot.Core.MessagingPipeline.Middleware.ValidHandles;
using Shouldly;
using Xunit;
namespace Noobot.Tests.Unit.Core.MessagingPipeline.ValidHandles
{
public class RegexHandleTests
{
[Theory]
[InlineData(".*", "i love geoff")]
[InlineData("simon", "SIMON")]
public void sho... | mit | C# |
a03d5277140f85f3f07362d31b9b621317ddc26a | Update assembly version. | christophediericx/ArduinoSketchUploader | Source/ArduinoSketchUploader/Properties/AssemblyInfo.cs | Source/ArduinoSketchUploader/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("ArduinoSketchUploader")]
[assembly: Assem... | 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("ArduinoSketchUploader")]
[assembly: Assem... | mit | C# |
428c576b6d9b4c48263dc86687f3efc4eeae9bf2 | Update build task | rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | mit | C# |
ab057e6c654886d961b5abd7b2bdd795a93ed28f | Remove unnecessary string interpolation | UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game/Overlays/Settings/Sections/GameplaySection.cs | osu.Game/Overlays/Settings/Sections/GameplaySection.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays.Settings.Sections.Gameplay;
using osu.Game.Rulesets;
using System.Lin... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays.Settings.Sections.Gameplay;
using osu.Game.Rulesets;
using System.Lin... | mit | C# |
62dc265b2e43495c2f7ac6aeaf70b67211ceeb78 | Update src/Avalonia.Controls/Notifications/INotification.cs | wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI... | src/Avalonia.Controls/Notifications/INotification.cs | src/Avalonia.Controls/Notifications/INotification.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Represents a notification that can be shown in a window or by the ho... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Interface for a notification.
/// </summary>
public interfac... | mit | C# |
b39bf57ec8bb83b0fade0a82d227d6cc58a8e582 | Update RepositoryBase.cs | loresoft/Estimatorx,loresoft/Estimatorx | src/EstimatorX.Client/Repositories/RepositoryBase.cs | src/EstimatorX.Client/Repositories/RepositoryBase.cs |
using EstimatorX.Client.Services;
using EstimatorX.Shared.Extensions;
using EstimatorX.Shared.Models;
using FluentRest;
namespace EstimatorX.Client.Repositories;
public abstract class RepositoryBase<TModel, TSummary>
{
protected RepositoryBase(GatewayClient gateway)
{
Gateway = gateway ?? throw new ... |
using EstimatorX.Client.Services;
using EstimatorX.Shared.Extensions;
using EstimatorX.Shared.Models;
using FluentRest;
namespace EstimatorX.Client.Repositories;
public abstract class RepositoryBase<TModel, TSummary>
{
protected RepositoryBase(GatewayClient gateway)
{
Gateway = gateway ?? throw new ... | mit | C# |
1cf42d3766c1927004adb1a536f1ebc825f65290 | 修改release version | mingchaoyan/QA,mingchaoyan/QA | Assets/Plugins/GameDownload.cs | Assets/Plugins/GameDownload.cs | using UnityEngine;
using System.Collections;
using System;
using Zi;
using UnityEngine.UI;
public class GameDownload {
public static IEnumerator DownloadFiles() {
Text info = GameStart.info;
var totalBytes = GetContentBytes();
var downloadedBytes = 0;
string downloadUrl = JsonHelpers.GetString(GameStart.appC... | using UnityEngine;
using System.Collections;
using System;
using Zi;
using UnityEngine.UI;
public class GameDownload {
public static IEnumerator DownloadFiles() {
Text info = GameStart.info;
var totalBytes = GetContentBytes();
var downloadedBytes = 0;
string downloadUrl = JsonHelpers.GetString(GameStart.appC... | mit | C# |
2644fbe76abb84c148ce70913367adfc25d1faa2 | Refactor to not use unity's lifecycle event as a method directly | IGDAStl/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest,stlgamedev/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest | Assets/Scripts/DamageDealer.cs | Assets/Scripts/DamageDealer.cs | using UnityEngine;
using System.Collections;
public class DamageDealer : MonoBehaviour {
public float damageToDeal = 1;
void OnCollisionStay2D(Collision2D col)
{
handleCollision(col.collider);
}
void OnTriggerStay2D(Collider2D col)
{
handleCollision(col);
}
void OnCollisionEnte... | using UnityEngine;
using System.Collections;
public class DamageDealer : MonoBehaviour {
public float damageToDeal = 1;
// Use this for initialization
void OnCollisionStay2D(Collision2D col)
{
OnTriggerEnter2D(col.collider);
}
void OnTriggerStay2D(Collider2D col)
{
OnTrigger... | apache-2.0 | C# |
299623ae3e196066d2db07ba64b40e91a13b02ea | Modify title in index (#1) | frandi/SimpleWebapp,frandi/SimpleWebapp,frandi/SimpleWebapp | SimpleWebapp/Views/Home/Index.cshtml | SimpleWebapp/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET edited</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
6b246338a99e3f99a1df4b21f603a0d80eb43884 | Add KnownType to JavascriptResponse allowing for object[] to be returned (was previously causing the WCF channel to enter a faulted state) | NumbersInternational/CefSharp,rlmcneary2/CefSharp,dga711/CefSharp,ITGlobal/CefSharp,windygu/CefSharp,windygu/CefSharp,dga711/CefSharp,NumbersInternational/CefSharp,Octopus-ITSM/CefSharp,rover886/CefSharp,gregmartinhtc/CefSharp,wangzheng888520/CefSharp,ITGlobal/CefSharp,Livit/CefSharp,joshvera/CefSharp,Livit/CefSharp,Nu... | CefSharp/JavascriptResponse.cs | CefSharp/JavascriptResponse.cs | using System.Runtime.Serialization;
namespace CefSharp
{
[DataContract]
[KnownType(typeof(object[]))]
public class JavascriptResponse
{
[DataMember]
public string Message { get; set; }
[DataMember]
public bool Success { get; set; }
[DataMember]
public object Result { get; set; }
}
}
| using System.Runtime.Serialization;
namespace CefSharp
{
[DataContract]
public class JavascriptResponse
{
[DataMember]
public string Message { get; set; }
[DataMember]
public bool Success { get; set; }
[DataMember]
public object Result { get; set; }
}
}
| bsd-3-clause | C# |
8d8a9472d2357fafafc89a35743b22674e3033da | update comment | mmanela/chutzpah,jamestelfer/chutzpah,mmanela/chutzpah,pimterry/chutzpah,stogle/chutzpah,pimterry/chutzpah,andersnygaard/chutzpah,NikitaEgorov/chutzpah,jamestelfer/chutzpah,jamestelfer/chutzpah,davidroberts63/chutzpah,stogle/chutzpah,mmanela/chutzpah,mmanela/chutzpah,johnm25/chutzpah,bobrin/chutzpah,johnm25/chutzpah,da... | Chutzpah/Models/TestContext.cs | Chutzpah/Models/TestContext.cs | namespace Chutzpah.Models
{
using System.Collections.Generic;
public class TestContext
{
public TestContext()
{
this.ReferencedJavaScriptFiles = new List<ReferencedFile>();
}
/// <summary>
/// The test file given by the user
/// </s... | namespace Chutzpah.Models
{
using System.Collections.Generic;
public class TestContext
{
public TestContext()
{
this.ReferencedJavaScriptFiles = new List<ReferencedFile>();
}
/// <summary>
/// The test file given by the user
/// </s... | apache-2.0 | C# |
0f7a617d935f1e2c8db8c764b004884f92db3ffe | Update GetCustomAttribute extensions to support taking in type. | bradwestness/EPPlusEnumerable | EPPlusEnumerable/Extensions.cs | EPPlusEnumerable/Extensions.cs | namespace EPPlusEnumerable
{
using System;
using System.Reflection;
internal static class Extensions
{
public static T GetCustomAttribute<T>(this MemberInfo element, Type type, bool inherit) where T : Attribute
{
var attr = (T)Attribute.GetCustomAttribute(element, typeof(T)... | namespace EPPlusEnumerable
{
using System;
using System.Reflection;
internal static class Extensions
{
public static T GetCustomAttribute<T>(this MemberInfo element, bool inherit) where T : Attribute
{
return (T)Attribute.GetCustomAttribute(element, typeof(T), inherit);
... | mit | C# |
958c4e5c937d7aac414157dd709556cd578f27a4 | use overloaded Store/Retrieve so property names aren't hardcoded | CityofSantaMonica/Orchard.Socrata | Models/SocrataSettingsPart.cs | Models/SocrataSettingsPart.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Utilities;
namespace CSM.Socrata.Models
{
/// <summary>
/// Defines a global site-settings part for Socrata connection information.
/// </summary>
p... | using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Utilities;
namespace CSM.Socrata.Models
{
/// <summary>
/// Defines a global site-settings part for Socrata connection information.
/// </summary>
public class SocrataSettingsPart : C... | mit | C# |
07820afd2523eef42ea849f23794ecec7fed84c1 | Make ThenItRendersThePlayer more accurate | nrjohnstone/kata-nethack | KataNetHack.Tests/WhenRenderingTheGame.cs | KataNetHack.Tests/WhenRenderingTheGame.cs | using FluentAssertions;
using KataNetHack.Console.Maps;
using KataNetHack.Console.PlayerSubsystem;
using KataNetHack.Console.Renderer;
using Xunit;
namespace KataNetHack.Tests
{
public class WhenRenderingTheGame
{
[Fact]
public void ThenItRendersThePlayer()
{
var map = new... | using FluentAssertions;
using KataNetHack.Console.Maps;
using KataNetHack.Console.PlayerSubsystem;
using KataNetHack.Console.Renderer;
using Xunit;
namespace KataNetHack.Tests
{
public class WhenRenderingTheGame
{
[Fact]
public void ThenItRendersThePlayer()
{
var map = new... | mit | C# |
ac40192c272d1c1e5a48db5e28077facfcb2557b | increment version in prep for release | ItsAGeekThing/im-only-resting,stephen-swensen/im-only-resting,SwensenSoftware/im-only-resting,MrZANE42/im-only-resting,abhinavwaviz/im-only-resting,abhinavwaviz/im-only-resting,ItsAGeekThing/im-only-resting,nathanwblair/im-only-resting,nathanwblair/im-only-resting,SwensenSoftware/im-only-resting,MrZANE42/im-only-restin... | Ior/Properties/AssemblyInfo.cs | Ior/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
2747230af090cbd242bfa6b975ecc1b6917527f5 | Add XamlCompilation | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.Views/Properties/AssemblyInfo.cs | client/BlueMonkey/BlueMonkey.Views/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xamarin.Forms.Xaml;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("BlueMonkey.Views")]
[assembly: AssemblyDescription("... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("BlueMonkey.Views")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCon... | mit | C# |
c2ca76833592b125a26091fa2b16f78b5d9b661b | Add no frame TextEntry sample | antmicro/xwt,mono/xwt,TheBrainTech/xwt,mminns/xwt,akrisiun/xwt,mminns/xwt,sevoku/xwt,iainx/xwt,cra0zy/xwt,directhex/xwt,steffenWi/xwt,hwthomas/xwt,hamekoz/xwt,residuum/xwt,lytico/xwt | Samples/Samples/TextEntries.cs | Samples/Samples/TextEntries.cs | //
// TextEntries.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin 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 restricti... | //
// TextEntries.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin 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 restricti... | mit | C# |
ae9db5e8e4a3b970fd69a576bf34152d11e6914f | Remove leftover debug output | protyposis/AudioAlign | ViewModels/WangFingerprintingViewModel.cs | ViewModels/WangFingerprintingViewModel.cs | using AudioAlign.Audio.Matching;
using AudioAlign.Audio.Project;
using AudioAlign.Audio.TaskMonitor;
using AudioAlign.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
namespace AudioAlign.V... | using AudioAlign.Audio.Matching;
using AudioAlign.Audio.Project;
using AudioAlign.Audio.TaskMonitor;
using AudioAlign.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
namespace AudioAlign.V... | agpl-3.0 | C# |
ab7e2a1ba843947767a6d8fa7a586eca84d06e3e | Use correct class for loading archiveMetadata | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Metadata/MetadataLoader.cs | src/Arkivverket.Arkade.Core/Metadata/MetadataLoader.cs | using System;
using System.IO;
using System.Text;
using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.Core.Util;
using Newtonsoft.Json;
namespace Arkivverket.Arkade.Core.Metadata
{
public static class MetadataLoader
{
public static ArchiveMetadata Load(string metadataFilePath)
{
... | using System;
using System.IO;
using System.Text;
using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.Core.Util;
using Newtonsoft.Json;
namespace Arkivverket.Arkade.Core.Metadata
{
public static class MetadataLoader
{
public static ArchiveMetadata Load(string metadataFilePath)
{
... | agpl-3.0 | C# |
95023ffffdbbc022316a49639560750fae6a502c | revise test | DnDGen/CharacterGen,DnDGen/CharacterGen | Tests/Data/Stats/StatTests.cs | Tests/Data/Stats/StatTests.cs | using System;
using NPCGen.Core.Data.Stats;
using NUnit.Framework;
namespace NPCGen.Tests.Data.Stats
{
[TestFixture]
public class StatTests
{
[Test]
public void StatBonus()
{
var stat = new Stat();
for (var v = 0; v < 30; v++)
{
... | using NPCGen.Core.Data.Stats;
using NUnit.Framework;
using System;
namespace NPCGen.Tests.Data.Stats
{
[TestFixture]
public class StatTests
{
[Test]
public void StatBonus()
{
var stat = new Stat();
for (var v = 0; v < 30; v++)
{
... | mit | C# |
c2362f4ead334d9946316eee677ccf6a40e90629 | Add copyright header, make property readonly | TyOverby/roslyn,MichalStrehovsky/roslyn,mattscheffer/roslyn,AmadeusW/roslyn,balajikris/roslyn,balajikris/roslyn,yeaicc/roslyn,lorcanmooney/roslyn,ValentinRueda/roslyn,xoofx/roslyn,OmarTawfik/roslyn,AmadeusW/roslyn,jaredpar/roslyn,genlu/roslyn,AnthonyDGreen/roslyn,antonssonj/roslyn,dpoeschl/roslyn,AdamSpeight2008/roslyn... | src/EditorFeatures/Test/TextEditorFactoryExtensions.cs | src/EditorFeatures/Test/TextEditorFactoryExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using System;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
internal ... | using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
internal static class TextEditorFactoryExtensions
{
publi... | apache-2.0 | C# |
9a2426462901c432dda3827d3d31a924e642fe0e | replace ObjectDisposedException with more user friendly one | iron-io/iron_dotnet | src/IronSharp.Core/Exceptions/RestResponseException.cs | src/IronSharp.Core/Exceptions/RestResponseException.cs | using System;
using System.IO;
using System.Net.Http;
namespace IronSharp.Core
{
public class RestResponseException : IronSharpException
{
public RestResponseException(string message, HttpResponseMessage response)
: base(message + AppendDebugInfo(response))
{
Response =... | using System;
using System.IO;
using System.Net.Http;
namespace IronSharp.Core
{
public class RestResponseException : IronSharpException
{
public RestResponseException(string message, HttpResponseMessage response)
: base(message + AppendDebugInfo(response))
{
Response =... | mit | C# |
6b3727215160e2468007712bce7ff1bba82bda2c | Fix casing in Init | twilio/twilio-csharp | Twilio/Twilio.cs | Twilio/Twilio.cs | using System;
using Twilio.Clients;
using Twilio.Exceptions;
namespace Twilio
{
public class TwilioClient
{
private static string username;
private static string password;
private static string accountSid;
private static TwilioRestClient restClient;
public TwilioClient () {}
public static void Init(st... | using System;
using Twilio.Clients;
using Twilio.Exceptions;
namespace Twilio
{
public class TwilioClient
{
private static string username;
private static string password;
private static string accountSid;
private static TwilioRestClient restClient;
public TwilioClient () {}
public static void init(st... | mit | C# |
7150cac4f0095eb241095c297c6b4e7bf4e4a56b | clean up driver controller [#136036659] | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Client/Controllers/DriverController.cs | revashare-svc-webapi/revashare-svc-webapi.Client/Controllers/DriverController.cs | using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace revashare_svc_webapi.Client.Controllers {
[RoutePrefix("rider")]
public class DriverCon... | using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace revashare_svc_webapi.Client.Controllers {
[RoutePrefix("rider")]
public class DriverCon... | mit | C# |
36b084801a56a85c60244bc01a3c1875188a62ac | address comments. | ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
4b411822b05f85b4e896ac7e2d5511fb2f94cabc | Mark HashSetEqualityComparer as serializable | parjong/corefx,jlin177/corefx,gkhanna79/corefx,stephenmichaelf/corefx,DnlHarvey/corefx,Jiayili1/corefx,ViktorHofer/corefx,dotnet-bot/corefx,stone-li/corefx,richlander/corefx,elijah6/corefx,marksmeltzer/corefx,Jiayili1/corefx,rjxby/corefx,rubo/corefx,parjong/corefx,JosephTremoulet/corefx,ptoonen/corefx,Petermarcu/corefx... | src/System.Collections/src/System/Collections/Generic/HashSetEqualityComparer.cs | src/System.Collections/src/System/Collections/Generic/HashSetEqualityComparer.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;
using System.Collections.Generic;
namespace System.Collections.Generic
{
... | // 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;
using System.Collections.Generic;
namespace System.Collections.Generic
{
... | mit | C# |
e94b9feebd04c8f56f6df087e56607c0814bd97a | Fix dynamic recompilation in TestSceneChangelogOverlay | NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,ppy/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,2yangk23/osu,ZLima12/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,smo... | osu.Game.Tests/Visual/Online/TestSceneChangelogOverlay.cs | osu.Game.Tests/Visual/Online/TestSceneChangelogOverlay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays;
using osu.Game.Overlays.Cha... | // 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.Online.API.Requests.Responses;
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual.Online
{
[TestFixture]
public clas... | mit | C# |
d46fa07f1edbc4c27c41e1ca8890a77d142a4ba0 | add ifdef for IsValueType on core clr | adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,UdiBen/elasticsearch-net,elastic/elasticsearch-net,RossLieberman/NEST,CSGOpenSource/elasticsearch-net,azubanov/elasticsearch-net,azubanov/elasticsearch-net,TheFireCookie/elasticsearch-net,RossLieberman/NEST,azubanov/elasticsearch-net,TheFireCookie/elasticsearch-net... | src/Nest/Search/Percolator/RegisterPercolator/RegisterPercolatorJsonConverter.cs | src/Nest/Search/Percolator/RegisterPercolator/RegisterPercolatorJsonConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Reflection;
namespace Nest
{
internal class RegisterPercolatorJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => objectType == typeof(IRegisterPercola... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Nest
{
internal class RegisterPercolatorJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => objectType == typeof(IRegisterPercolatorRequest);
public ov... | apache-2.0 | C# |
039ca6ab4053f292793de506ae0f1063c49da64e | Remove some dead code | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Importer/src/figure/FigureGroup.cs | Importer/src/figure/FigureGroup.cs | using System.Linq;
public class FigureGroup {
private Figure parent;
private Figure[] children;
public FigureGroup(Figure parent, params Figure[] children) {
this.parent = parent;
this.children = children;
}
public Figure Parent => parent;
public Figure[] Children => children;
public ChannelOutputsGro... | using System.Linq;
public class FigureGroup {
private Figure parent;
private Figure[] children;
public FigureGroup(Figure parent, params Figure[] children) {
this.parent = parent;
this.children = children;
}
public Figure Parent => parent;
public Figure[] Children => children;
public ChannelInputsGroup... | mit | C# |
87a30890490fa74fadb7151df295767430fbff3e | Rework tests to not be visual and use headless game host | EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,DrabWeb/osu-fr... | osu.Framework.Tests/Platform/UserInputManagerTest.cs | osu.Framework.Tests/Platform/UserInputManagerTest.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.Graphics;
using osu.Framework.Platform;
namespace osu.Framework.Tests.Platform
{
[TestFixture]
public class UserInputM... | // 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.Input;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture]
public class UserInputManag... | mit | C# |
8d034793d3e5143bd13ba725948e3fcc01407834 | Add IComparable implementation to ProjectSubmission | conniey/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,conniey/dotnet-apiport,conniey/dotnet-apiport,mjrousos/dotnet-apiport-old,JJVertical/dotnet-apiport,twsouthwick/dotnet-apiport,twsouthwick/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,JJVertical/dotnet-ap... | src/Microsoft.Fx.Portability/ObjectModel/ProjectSubmission.cs | src/Microsoft.Fx.Portability/ObjectModel/ProjectSubmission.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;
namespace Microsoft.Fx.Portability.ObjectModel
{
public class ProjectSubmission : IComparable
{
public string Name { get; set; }
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Fx.Portability.ObjectModel
{
public class ProjectSubmission
{
public string Name { get; set; }
public DateT... | mit | C# |
b691cbd641c17315c4c85a538454aca7115f8095 | Change string comparison | mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jacksonh/... | src/Manos/Manos.Routing/StringMatchOperation.cs | src/Manos/Manos.Routing/StringMatchOperation.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | mit | C# |
ae97ec4277ae91b9a313e61ecd3d95c0b6aa9697 | Update the doctypes configuration help text | abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,hfloyd/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,arknu/Umbraco-CMS,mattbrailsford/Umb... | src/Umbraco.Web/PropertyEditors/NestedContentConfiguration.cs | src/Umbraco.Web/PropertyEditors/NestedContentConfiguration.cs | using Newtonsoft.Json;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration for the nested content value editor.
/// </summary>
public class NestedContentConfiguration
{
[ConfigurationField("contentTypes", "Document type... | using Newtonsoft.Json;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration for the nested content value editor.
/// </summary>
public class NestedContentConfiguration
{
[ConfigurationField("contentTypes", "Doc Types", "... | mit | C# |
834aea0a534cfd952f5e6f014b2a16552920db22 | Remove ToolTipText prop from ICommand | NUnitSoftware/nunit-gui,nunit/nunit-gui,NUnitSoftware/nunit-gui,nunit/nunit-gui | src/TestCentric/components/Elements/ICommand.cs | src/TestCentric/components/Elements/ICommand.cs | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | mit | C# |
945fc01bb89a36d67c88890b4436bc0c1e1ebecb | Fix broken test | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application.UnitTests/Queries/GetOrganisationTests/WhenISearchForAnOrganisation.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application.UnitTests/Queries/GetOrganisationTests/WhenISearchForAnOrganisation.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.EAS.Application.Queries.GetOrganisations;
using SFA.DAS.EAS.Application.Validation;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.EAS.Domain.Models.ReferenceData;
namespace SFA.DAS.EAS.Application.Unit... | using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.EAS.Application.Queries.GetOrganisations;
using SFA.DAS.EAS.Application.Validation;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.EAS.Domain.Models.ReferenceData;
namespace SFA.DAS.EAS.Application.Unit... | mit | C# |
55a0586b13903999e5fd3ec04f8622ed077446c6 | Move exception handling below all the cases | peppy/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu | osu.Game/Overlays/Home/Friends/FriendsOnlineStatusItem.cs | osu.Game/Overlays/Home/Friends/FriendsOnlineStatusItem.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.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Overlays.Home.Friends
{
public class FriendsOnlineStatusItem : OverlayUpdateStreamIt... | // 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.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Overlays.Home.Friends
{
public class FriendsOnlineStatusItem : OverlayUpdateStreamIt... | mit | C# |
424f9afbf42203d0f32c97209c72531e4a8b16ec | Fix incorrect offset with custom clock | smoogipoo/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu | osu.Game/Storyboards/Drawables/DrawableStoryboardVideo.cs | osu.Game/Storyboards/Drawables/DrawableStoryboardVideo.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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | mit | C# |
ca75ebf5aca0da02f76c5db0621bdca41256cc65 | add summary | Abhith/Code.Library,Abhith/Code.Library | src/Code.Library.Application/Behaviors/LoggingBehavior.cs | src/Code.Library.Application/Behaviors/LoggingBehavior.cs | using System.Threading;
using System.Threading.Tasks;
using Code.Library.Extensions;
using MediatR;
using Microsoft.Extensions.Logging;
namespace Code.Library.Application.Behaviors
{
/// <summary>
/// It wraps the request generated logs, the **handling** request log will have the request params and **handled*... | using System.Threading;
using System.Threading.Tasks;
using Code.Library.Extensions;
using MediatR;
using Microsoft.Extensions.Logging;
namespace Code.Library.Application.Behaviors
{
public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
private readonly ILogger<L... | apache-2.0 | C# |
e650babc3ec85e54c77f4d445831802f5ec02e2d | Fix add default user | JIukaviy/cosmicwar,JIukaviy/cosmicwar | cwserver/DBConnection/DBConnection.cs | cwserver/DBConnection/DBConnection.cs | using System;
using System.Data;
using System.Data.Common;
using System.Data.SQLite;
using System.IO;
using System.Web;
namespace cwserver.DBConnection {
public static class DBConnection {
private static SQLiteConnection _connection;
private static void AddFixtures() {
UserDatabase.Re... | using System;
using System.Data;
using System.Data.Common;
using System.Data.SQLite;
using System.IO;
using System.Web;
namespace cwserver.DBConnection {
public static class DBConnection {
private static SQLiteConnection _connection;
private static void AddFixtures() {
//UserDatabase.... | agpl-3.0 | C# |
fc8991e39da50bf878f817037456f6c1fc5a64e8 | Update LineSegment.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/ViewModels/Shapes/Path/Segments/LineSegment.cs | src/Core2D/ViewModels/Shapes/Path/Segments/LineSegment.cs | using System;
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Line path segment.
/// </summary>
public class LineSegment : PathSegment, ILineSegment
{
private IPointShape _point;
/// <inheritdoc/>
public IPointShape... | using System;
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Line path segment.
/// </summary>
public class LineSegment : PathSegment, ILineSegment
{
private IPointShape _point;
/// <inheritdoc/>
public IPointShape... | mit | C# |
5795c61f19ca40a3dab12640a06d64c03d31fa8a | Add more content to posted message. | peterlanoie/aspnet-mvc-slack | src/Pelasoft.AspNet.Mvc.Slack/WebHookErrorReportFilter.cs | src/Pelasoft.AspNet.Mvc.Slack/WebHookErrorReportFilter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using WebHooks = Slack.Webhooks;
namespace Pelasoft.AspNet.Mvc.Slack
{
/// <summary>
/// Defines an action filter that logs thrown exceptions to a Slack channel.
/// </summary>
public class WebH... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using WebHooks = Slack.Webhooks;
namespace Pelasoft.AspNet.Mvc.Slack
{
/// <summary>
/// Defines an action filter that logs thrown exceptions to a Slack channel.
/// </summary>
public class WebH... | mit | C# |
bc8cb03a8e902ca709aa9958d60a88d11c22ed6a | fix tests | mgj/MvvmCross-Plugins,mgj/MvvmCross-Plugins | Dialog/artm.MvxPlugins.Dialog.Tests/Services/DialogServiceMultiItemsBundleTests.cs | Dialog/artm.MvxPlugins.Dialog.Tests/Services/DialogServiceMultiItemsBundleTests.cs | using artm.MvxPlugins.Dialog.Droid.Services;
using artm.MvxPlugins.Dialog.Services;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace artm.MvxPlugins.Dialog.Tests.Services
{
[TestFixture]
public class DialogSer... | using artm.MvxPlugins.Dialog.Droid.Services;
using artm.MvxPlugins.Dialog.Services;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace artm.MvxPlugins.Dialog.Tests.Services
{
[TestFixture]
public class DialogSer... | apache-2.0 | C# |
0a840a26133b76a1bbd80b9d77782843460e28d9 | Fix mania not getting its own selection handler | NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu | osu.Game.Rulesets.Mania/Edit/ManiaBlueprintContainer.cs | osu.Game.Rulesets.Mania/Edit/ManiaBlueprintContainer.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.Collections.Generic;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Edit.Blueprints;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Edit.Blueprints;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.... | mit | C# |
042635f7a7df94e0c74f2cc1705532ba9684deee | Update version to 1.1.0.0 | axomic/openasset-rest-cs | OpenAsset.RestClient.Library/Properties/AssemblyInfo.cs | OpenAsset.RestClient.Library/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("Op... | 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("Op... | mit | C# |
c4bf443e69a0a596a3379730c3b6b635328a5c2c | Fix the bug that the config for NUnit was not in the correct folder | Seddryck/NBi,Seddryck/NBi | NBi.Services/RunnerConfig/NUnitRunnerConfigBuilder.cs | NBi.Services/RunnerConfig/NUnitRunnerConfigBuilder.cs | using System;
using System.IO;
using System.Linq;
namespace NBi.Service.RunnerConfig
{
class NUnitRunnerConfigBuilder : AbstractRunnerConfigBuilder
{
public NUnitRunnerConfigBuilder()
: base("NBi.config", "NUnit.nunit")
{
}
public NUnitRunnerConfigBu... | using System;
using System.IO;
using System.Linq;
namespace NBi.Service.RunnerConfig
{
class NUnitRunnerConfigBuilder : AbstractRunnerConfigBuilder
{
public NUnitRunnerConfigBuilder()
: base("NBi.config", "NUnit.nunit")
{
}
public NUnitRunnerConfigBu... | apache-2.0 | C# |
f811ed230b4d324796f0db747d07562fe21625da | Fix the build. | PaulTrampert/PTrampert.CommandPattern | PTrampert.CommandPattern.Test/CommandRegistryTests.cs | PTrampert.CommandPattern.Test/CommandRegistryTests.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace PTrampert.CommandPattern.Test
{
[TestFixture]
public class CommandRegistryTests
{
private CommandRegistry Registry { get; set; }
[SetUp]
public voi... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace PTrampert.CommandPattern.Test
{
[TestFixture]
public class CommandRegistryTests
{
private CommandRegistry Registry { get; set; }
[SetUp]
public voi... | mit | C# |
33084635b6d8cb08ca893db422caafa7247d5eb5 | Fix space | aloisdg/edx-csharp | edX/Module2/Program.cs | edX/Module2/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module2
{
class Program
{
static void Main()
{
Print1();
Console.ReadLine();
}
static void Print1()
{
for (var i = 0; i < 8; i++)
for (var j = 0; j < 4; j++)
Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module2
{
class Program
{
static void Main()
{
Print1();
Console.ReadLine();
}
static void Print1()
{
for (var i = 0; i < 8; i++)
for (var j = 0; j < 4; j++)
Con... | mit | C# |
360f2e4ea193fa6bceb1d2a2b62fb9ab9a03e904 | Fix register button class | dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-works... | src/FrontEnd/Areas/Identity/Pages/Account/Register.cshtml | src/FrontEnd/Areas/Identity/Pages/Account/Register.cshtml | @page
@model RegisterModel
@{
ViewData["Title"] = "Register";
}
<h2>@ViewData["Title"]</h2>
<div class="row">
<div class="col-md-4">
<form asp-route-returnUrl="@Model.ReturnUrl" method="post">
<h4>Create a new account.</h4>
<hr />
<div asp-validation-summary="All" ... | @page
@model RegisterModel
@{
ViewData["Title"] = "Register";
}
<h2>@ViewData["Title"]</h2>
<div class="row">
<div class="col-md-4">
<form asp-route-returnUrl="@Model.ReturnUrl" method="post">
<h4>Create a new account.</h4>
<hr />
<div asp-validation-summary="All" ... | mit | C# |
a45d7b65c2377101a7becc489560851ef00434ae | Clear heart on returned heartbeat | joelverhagen/CheckRepublic,joelverhagen/CheckRepublic,joelverhagen/CheckRepublic | src/CheckRepublic.Logic/Business/HeartbeatService.cs | src/CheckRepublic.Logic/Business/HeartbeatService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Knapcode.CheckRepublic.Logic.Entities;
using Microsoft.EntityFrameworkCore;
namespace Knapcode.CheckRepublic.Logic.Business
{
public class HeartbeatService : IHeartbeatService
{
private readonly CheckContext _context;
p... | using System;
using System.Threading;
using System.Threading.Tasks;
using Knapcode.CheckRepublic.Logic.Entities;
using Microsoft.EntityFrameworkCore;
namespace Knapcode.CheckRepublic.Logic.Business
{
public class HeartbeatService : IHeartbeatService
{
private readonly CheckContext _context;
p... | mit | C# |
976a26e6ab3ff5eba123c9d09db145cb1eb16a3a | Change documentation for IRepeatConfiguration | FakeItEasy/FakeItEasy,adamralph/FakeItEasy,blairconrad/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy,thomaslevesque/FakeItEasy,blairconrad/FakeItEasy,thomaslevesque/FakeItEasy | src/FakeItEasy/Configuration/IRepeatConfiguration.cs | src/FakeItEasy/Configuration/IRepeatConfiguration.cs | namespace FakeItEasy.Configuration
{
/// <summary>
/// Provides configuration to specify the number of times a configured behavior should be applied.
/// </summary>
/// <typeparam name="TInterface">The type of configuration interface to return.</typeparam>
public interface IRepeatConfiguration... | namespace FakeItEasy.Configuration
{
/// <summary>
/// Provides configuration for method calls that has a return value.
/// </summary>
/// <typeparam name="TInterface">The type of configuration interface to return.</typeparam>
public interface IRepeatConfiguration<out TInterface> : IHideObject... | mit | C# |
efc7ad5cb1f590287fc82576cf0137c513d9fa1d | fix api version in last | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Api/V1/Controllers/BaseController.cs | src/FilterLists.Api/V1/Controllers/BaseController.cs | using System;
using FilterLists.Services.Seed;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
namespace FilterLists.Api.V1.Controllers
{
[ApiVersion("1.0")]
//TODO: use versioning without needing to manually specify in swagger-ui (https://github.com/domaindrivendev/Swashbuckle.AspN... | using System;
using FilterLists.Services.Seed;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
namespace FilterLists.Api.V1.Controllers
{
[ApiVersion("1")]
//TODO: use versioning without needing to manually specify in swagger-ui (https://github.com/domaindrivendev/Swashbuckle.AspNet... | mit | C# |
6c808ddcfad1b67b567e97d5d14f64eeeb846ead | Update script injection tags to match what the scripts are expecting | zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prot... | src/Glimpse.Agent.AspNet.Mvc/Razor/ScriptInjector.cs | src/Glimpse.Agent.AspNet.Mvc/Razor/ScriptInjector.cs | using System;
using Glimpse.Common;
using Glimpse.Initialization;
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
namespace Glimpse.Agent.Razor
{
[HtmlTargetElement("body")]
public class ScriptInjector : TagHelper
{
private readonly Guid _requestId;
private readonly ScriptOptions _scriptOp... | using System;
using Glimpse.Common;
using Glimpse.Initialization;
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
namespace Glimpse.Agent.Razor
{
[HtmlTargetElement("body")]
public class ScriptInjector : TagHelper
{
private readonly Guid _requestId;
private readonly ScriptOptions _scriptOp... | mit | C# |
8d270ae328a4b686ed0a54f47669ee9cb5ed7fdc | Add namespace for Response.Write extension. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/MusicStore.Spa/Infrastructure/SmartJsonResult.cs | src/MusicStore.Spa/Infrastructure/SmartJsonResult.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Newtonsoft.Json;
namespace Microsoft.AspNet.Mvc
{
public class SmartJsonResult : ActionResult
{
public SmartJsonResult() : base()
{
}
public JsonSerializerSettings Settings { get; set; ... | using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Microsoft.AspNet.Mvc
{
public class SmartJsonResult : ActionResult
{
public SmartJsonResult() : base()
{
}
public JsonSerializerSettings Settings { get; set; }
public object Data... | apache-2.0 | C# |
18f0c6af1f349c7fd911c52b3c08b400ee5e1bc4 | Fix crash in code model where we were blindly casting to an interface. | Giftednewt/roslyn,zooba/roslyn,rchande/roslyn,AlexisArce/roslyn,jhendrixMSFT/roslyn,sharwell/roslyn,grianggrai/roslyn,MihaMarkic/roslyn-prank,Maxwe11/roslyn,abock/roslyn,stebet/roslyn,VSadov/roslyn,SeriaWei/roslyn,VitalyTVA/roslyn,jbhensley/roslyn,russpowers/roslyn,aanshibudhiraja/Roslyn,pjmagee/roslyn,wvdd007/roslyn,m... | src/VisualStudio/Core/Impl/CodeModel/NodeKeyValidation.cs | src/VisualStudio/Core/Impl/CodeModel/NodeKeyValidation.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.VisualStudio.LanguageServices.Implementation.Interop;
using Microsoft.VisualStudio.LanguageServices.Implemen... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.VisualStudio.LanguageServices.Implementation.Interop;
using Microsoft.VisualStudio.LanguageServices.Implemen... | mit | C# |
a6555fb5761707158e55115b6d2e5ffd428257d5 | Change IResourceManager to singleton | Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/... | src/Glimpse.Server.Web/GlimpseServerWebServices.cs | src/Glimpse.Server.Web/GlimpseServerWebServices.cs | using Glimpse.Agent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Glimpse.Server.Web;
using Glimpse.Web;
using Microsoft.Extensions.OptionsModel;
namespace Glimpse
{
public class GlimpseServerWebServices
{
public static IServiceCollection GetDefaultServ... | using Glimpse.Agent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Glimpse.Server.Web;
using Glimpse.Web;
using Microsoft.Extensions.OptionsModel;
namespace Glimpse
{
public class GlimpseServerWebServices
{
public static IServiceCollection GetDefaultServ... | mit | C# |
7890263fbc94b1af3e0fbd28aeb288d48187a5dc | Fix ActionFilter tests | DigDes/SoapCore | src/SoapCore.Tests/ActionFilter/ActionFilterTests.cs | src/SoapCore.Tests/ActionFilter/ActionFilterTests.cs | using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SoapCore.Tests.ActionFilter
{
[TestClass]
public class ActionFilterTests
{
[ClassInitialize]
public static vo... | using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SoapCore.Tests.ActionFilter
{
[TestClass]
public class ActionFilterTests
{
[ClassInitialize]
public static vo... | mit | C# |
7db60c12c797b6a186a25ec6ce3672a85fd9b6bd | make default max count nullable | Kukkimonsuta/Odachi | src/Odachi.Extensions.Collections/PagingOptions.cs | src/Odachi.Extensions.Collections/PagingOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Odachi.Extensions.Collections;
namespace Odachi.Extensions.Collections
{
/// <summary>
/// Holds information about requested paging.
/// </summary>
public class PagingOptions
{
public static int DefaultNumber ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Odachi.Extensions.Collections;
namespace Odachi.Extensions.Collections
{
/// <summary>
/// Holds information about requested paging.
/// </summary>
public class PagingOptions
{
public static int DefaultPageSiz... | apache-2.0 | C# |
6d098f7501481b5deff5c8f71eec84046b8b0715 | Fix for NH-2588. Rewrite sub-queries in the from clauses (with Skip/Take result operators) as where contains clauses. | alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,Manufa... | src/NHibernate/Linq/GroupBy/PagingRewriter.cs | src/NHibernate/Linq/GroupBy/PagingRewriter.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using NHibernate.Linq.Visitors;
using Remotion.Linq;
using Remotion.Linq.Clauses;
using Remotion.Linq.Clauses.Expressions;
using Remotion.Linq.Clauses.ResultOperators;
namespace NHibernate.Linq.GroupBy
{
public static class PagingRewriter
{
... | using System.Linq;
using NHibernate.Linq.Visitors;
using Remotion.Linq;
using Remotion.Linq.Clauses.Expressions;
using Remotion.Linq.Clauses.ResultOperators;
namespace NHibernate.Linq.GroupBy
{
public static class PagingRewriter
{
private static readonly System.Type[] PagingResultOperators = new[]
... | lgpl-2.1 | C# |
7edc806ff660cc28ead91bffa081bed0df84f62c | remove deprecated extension methods | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/Extensions.cs | src/Takenet.MessagingHub.Client/Extensions.cs | using Lime.Messaging.Contents;
using Lime.Protocol;
using System.Threading.Tasks;
using Takenet.MessagingHub.Client.Senders;
namespace Takenet.MessagingHub.Client
{
/// <summary>
/// Extension methods for <see cref="IMessageSender"/>
/// </summary>
public static class MessageSenderExtensions
{
... | using Lime.Messaging.Contents;
using Lime.Protocol;
using System.Threading.Tasks;
using Takenet.MessagingHub.Client.Senders;
namespace Takenet.MessagingHub.Client
{
/// <summary>
/// Extension methods for <see cref="IMessageSender"/>
/// </summary>
public static class MessageSenderExtensions
{
... | apache-2.0 | C# |
e2b064c37cfd190275da76b2b8f0654621b66af1 | Add clarifying comment | reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET | tests/React.Tests.Common/MemoryFileCacheCore.cs | tests/React.Tests.Common/MemoryFileCacheCore.cs | /*
* Copyright (c) 2016-Present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#if NE... | /*
* Copyright (c) 2016-Present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#if NE... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.