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 |
|---|---|---|---|---|---|---|---|---|
71a1bf9a2904467d1927b315faf8de16874f8472 | update version | MetacoSA/QBitNinja | QBitNinja/Properties/AssemblyInfo.cs | QBitNinja/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.
#if SERVER
[assembly... | 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.
#if SERVER
[assembly... | mit | C# |
b85fdd952080938a86c030e33bd703f4783aacaa | update transaction context | tiltom/PV247-Expense-manager,tiltom/PV247-Expense-manager,tiltom/PV247-Expense-manager | ExpenseManager/ExpenseManager.Database/Contexts/TransactionContext.cs | ExpenseManager/ExpenseManager.Database/Contexts/TransactionContext.cs | using ExpenseManager.Entity.Budgets;
using ExpenseManager.Entity.Categories;
using ExpenseManager.Entity.Currencies;
using ExpenseManager.Entity.Providers;
using ExpenseManager.Entity.Transactions;
using ExpenseManager.Entity.Wallets;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using Syst... | using ExpenseManager.Entity.Budgets;
using ExpenseManager.Entity.Categories;
using ExpenseManager.Entity.Currencies;
using ExpenseManager.Entity.Providers;
using ExpenseManager.Entity.Transactions;
using ExpenseManager.Entity.Wallets;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using Syst... | mit | C# |
93b42694bfbe451b11eeaeaeeb8d5af1a6607d8e | Add OptimizationCode ID | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk | SnapMD.ConnectedCare.ApiModels/Scheduling/AvailabilityBlockRequest.cs | SnapMD.ConnectedCare.ApiModels/Scheduling/AvailabilityBlockRequest.cs | using System;
namespace SnapMD.ConnectedCare.ApiModels.Scheduling
{
/// <summary>
/// This payload does not include ID field, creator user, created time, etc.
/// </summary>
public class AvailabilityBlockRequest
{
public bool AllowOnDemandAppt { get; set; }
public bool AllowPr... | using System;
namespace SnapMD.ConnectedCare.ApiModels.Scheduling
{
/// <summary>
/// This payload does not include ID field, creator user, created time, etc.
/// </summary>
public class AvailabilityBlockRequest
{
public bool AllowOnDemandAppt { get; set; }
public bool AllowPr... | apache-2.0 | C# |
14f6e46fcb6f0ed23c9aed8cf1f5a0e8ed1f3027 | raise mono versioning since ABI was broken | neuschaefer/libgpod,hyperair/libgpod,neuschaefer/libgpod,neuschaefer/libgpod,hyperair/libgpod,hyperair/libgpod,hyperair/libgpod,neuschaefer/libgpod,neuschaefer/libgpod,hyperair/libgpod | bindings/mono/libgpod-sharp/AssemblyInfo.cs | bindings/mono/libgpod-sharp/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("libgpod-sharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("libgpod-sharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assem... | lgpl-2.1 | C# |
de4e40676fd4fbc2537a43daf0ef52a816106414 | enable greetingservice | ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7 | DependencyInjection/DependencyInjectionSamples/WithDIContainer/Program.cs | DependencyInjection/DependencyInjectionSamples/WithDIContainer/Program.cs | using Microsoft.Extensions.DependencyInjection;
using System;
namespace WithDIContainer
{
class Program
{
static void Main()
{
using (ServiceProvider container = RegisterServices())
{
var controller = container.GetRequiredService<HomeController>();
... | using Microsoft.Extensions.DependencyInjection;
using System;
namespace WithDIContainer
{
class Program
{
static void Main()
{
using (ServiceProvider container = RegisterServices())
{
var controller = container.GetRequiredService<HomeController>();
... | mit | C# |
9ddfa6345609c8df69d651c642ad206389657690 | Update WorksheetNamedRange.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell... | Examples/CSharp/Articles/WorkbookScopedNamedRanges/WorksheetNamedRange.cs | Examples/CSharp/Articles/WorkbookScopedNamedRanges/WorksheetNamedRange.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.WorkbookScopedNamedRanges
{
public class WorksheetNamedRange
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.WorkbookScopedNamedRanges
{
public class WorksheetNamedRange
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syste... | mit | C# |
a1c298f0f5b9a129a66eeb0455e52a9ed7aedffb | fix table prefix for ms sql | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/MsSqlAcceptanceTests/ConfigureEndpointSqlPersistence.cs | src/MsSqlAcceptanceTests/ConfigureEndpointSqlPersistence.cs | using System;
using System.Data.SqlClient;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.AcceptanceTesting.Support;
using NServiceBus.Persistence.Sql;
using NServiceBus.Persistence.Sql.ScriptBuilder;
public class ConfigureEndpointSqlPersistence : IConfigureEndpointTestExecution
{
ConfigureEnd... | using System;
using System.Data.SqlClient;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.AcceptanceTesting.Support;
using NServiceBus.Persistence.Sql;
using NServiceBus.Persistence.Sql.ScriptBuilder;
public class ConfigureEndpointSqlPersistence : IConfigureEndpointTestExecution
{
ConfigureEnd... | mit | C# |
efa450cf9b745532b98c63466e5072b1cc6a821b | Add 'todo' to avoid type casting | pveller/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb.Serialization/Pipelines/CopyParentId.cs | src/Sitecore.FakeDb.Serialization/Pipelines/CopyParentId.cs | namespace Sitecore.FakeDb.Serialization.Pipelines
{
using Sitecore.Data;
using Sitecore.Diagnostics;
using Sitecore.FakeDb.Pipelines;
public class CopyParentId
{
public void Process(DsItemLoadingArgs args)
{
Assert.ArgumentNotNull(args, "args");
var syncItem = args.DsDbItem.SyncItem;
... | namespace Sitecore.FakeDb.Serialization.Pipelines
{
using Sitecore.Data;
using Sitecore.Data.Serialization.ObjectModel;
using Sitecore.Diagnostics;
using Sitecore.FakeDb.Pipelines;
public class CopyParentId
{
public void Process(DsItemLoadingArgs args)
{
Assert.ArgumentNotNull(args, "args");... | mit | C# |
1fe3562ea7e415cca3ebbc1afcd02ae16724b060 | Update ApproveOrDeclineHeldTransaction.cs | AuthorizeNet/sample-code-csharp | FraudManagement/ApproveOrDeclineHeldTransaction.cs | FraudManagement/ApproveOrDeclineHeldTransaction.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuthorizeNet;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample
{
class ApproveOrDeclineHeldTran... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuthorizeNet;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample.FraudManagement
{
class ApproveO... | mit | C# |
1a9b142e826384c41d9c04e658537fac07e763b6 | Solve bug henk import script | henkmollema/StudentFollowingSystem,henkmollema/StudentFollowingSystem | src/StudentFollowingSystem/Views/Students/Import.cshtml | src/StudentFollowingSystem/Views/Students/Import.cshtml | @{
ViewBag.Title = "Studenten importeren";
}
<h2>Studenten importeren</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<p>Kopieer het CSV bestand in het veld hieronder.</p>
<textarea name="csv" id="csv" class="form-control"></textarea>
</div>
... | @{
ViewBag.Title = "Studenten importeren";
}
<h2>Studenten importeren</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">>
<p>Kopieer het CSV bestand in het veld hieronder.</p>
<textarea name="csv" id="csv" class="form-control"></textarea>
</div>
... | mit | C# |
3e6c7017b0bbe7f2bf1e0e4b9de79ad903eb3644 | add counters data | EntityFX/GdcGame,EntityFX/GdcGame,EntityFX/GdcGame,EntityFX/GdcGame | Sources/EntityFX.Gdcame.DataAccess.Repository.Mongo/CountersRepository.cs | Sources/EntityFX.Gdcame.DataAccess.Repository.Mongo/CountersRepository.cs | using EntityFX.Gdcame.DataAccess.Repository.Contract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityFX.Gdcame.Common.Contract.Counters;
using EntityFX.Gdcame.DataAccess.Repository.Contract.Criterions.Counters;
namespace EntityF... | using EntityFX.Gdcame.DataAccess.Repository.Contract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityFX.Gdcame.Common.Contract.Counters;
using EntityFX.Gdcame.DataAccess.Repository.Contract.Criterions.Counters;
namespace EntityF... | mit | C# |
7e08fa2fd6e1ce7a2268a2c3ba250b6ef69fb8d1 | Fix another issue where the word Hit wasn't highlighted from the start. | hawkerm/monaco-editor-uwp,hawkerm/monaco-editor-uwp,hawkerm/monaco-editor-uwp | MonacoEditorTestApp/Helpers/EditorHoverProvider.cs | MonacoEditorTestApp/Helpers/EditorHoverProvider.cs | using Monaco;
using Monaco.Editor;
using Monaco.Languages;
using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using Windows.Foundation;
namespace MonacoEditorTestApp.Helpers
{
class EditorHoverProvider : HoverProvider
{
public IAsyncOperation<Hover> ProvideHover... | using Monaco;
using Monaco.Editor;
using Monaco.Languages;
using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using Windows.Foundation;
namespace MonacoEditorTestApp.Helpers
{
class EditorHoverProvider : HoverProvider
{
public IAsyncOperation<Hover> ProvideHover... | mit | C# |
3ff3c1d0bffabca479a28f283a0d2a637beca61b | Update FindByLabelStrategy to search also inside label element | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ScopeSearch/Strategies/FindByLabelStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByLabelStrategy.cs | using Humanizer;
using OpenQA.Selenium;
namespace Atata
{
public class FindByLabelStrategy : IComponentScopeLocateStrategy
{
private readonly FindByIdStrategy findByIdStrategy = new FindByIdStrategy();
public ComponentScopeLocateResult Find(IWebElement scope, ComponentScopeLocateOptions optio... | using Humanizer;
using OpenQA.Selenium;
namespace Atata
{
public class FindByLabelStrategy : IComponentScopeLocateStrategy
{
private readonly FindByIdStrategy findByIdStrategy = new FindByIdStrategy();
public ComponentScopeLocateResult Find(IWebElement scope, ComponentScopeLocateOptions optio... | apache-2.0 | C# |
6501bf096e340c1790f67c77a826ea415026284b | Add support for retrieving additional fields from the response object | CKOTech/checkout-net-library,checkout/checkout-net-library | Checkout.ApiClient.Net45/ApiServices/Charges/ResponseModels/Charge.cs | Checkout.ApiClient.Net45/ApiServices/Charges/ResponseModels/Charge.cs | using Checkout.ApiServices.Cards.ResponseModels;
using Checkout.ApiServices.Charges.RequestModels;
using Checkout.ApiServices.SharedModels;
using System;
using System.Collections.Generic;
using Checkout.ApiServices.RecurringPayments.RequestModels;
using Newtonsoft.Json;
namespace Checkout.ApiServices.Charges.ResponseM... | using Checkout.ApiServices.Cards.ResponseModels;
using Checkout.ApiServices.Charges.RequestModels;
using Checkout.ApiServices.SharedModels;
using System;
using System.Collections.Generic;
using Checkout.ApiServices.RecurringPayments.RequestModels;
using Newtonsoft.Json;
namespace Checkout.ApiServices.Charges.ResponseM... | mit | C# |
916a67d1133dc2acb97bb37e65796608daf4a728 | Fix typo | space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Server/GameObjects/Components/Items/FloorTileItemComponent.cs | Content.Server/GameObjects/Components/Items/FloorTileItemComponent.cs | using Content.Server.GameObjects.Components.Stack;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Utility;
using Content.Shared.Maps;
using Robust.Server.GameObjects.EntitySystems;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Sh... | using Content.Server.GameObjects.Components.Stack;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Utility;
using Content.Shared.Maps;
using Robust.Server.GameObjects.EntitySystems;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Sh... | mit | C# |
4259b8cb0cfb63e66cde9d0f2c3e7de5a59971ab | Update CommandAttribute.cs | RogueException/Discord.Net,AntiTcb/Discord.Net | src/Discord.Net.Commands/Attributes/CommandAttribute.cs | src/Discord.Net.Commands/Attributes/CommandAttribute.cs | using System;
namespace Discord.Commands
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class CommandAttribute : Attribute
{
public string Text { get; }
public RunMode RunMode { get; set; } = RunMode.Default;
public bool? IgnoreExtraArgs ... | using System;
namespace Discord.Commands
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class CommandAttribute : Attribute
{
public string Text { get; }
public RunMode RunMode { get; set; } = RunMode.Default;
public bool? IgnoreExtraArgs ... | mit | C# |
529581eb71c4033ccdae8d3925c37314af836593 | fix vaidation error | arsouza/Aritter,arsouza/Aritter,aritters/Ritter | src/Domain.Seedwork/Rules/Validation/ValidationError.cs | src/Domain.Seedwork/Rules/Validation/ValidationError.cs | namespace Ritter.Domain.Seedwork.Rules.Validation
{
public class ValidationError
{
public string Message { get; private set; }
public string Property { get; private set; }
public ValidationError(string property, string message)
: this(message)
{
Property ... | namespace Ritter.Domain.Seedwork.Rules.Validation
{
public class ValidationError
{
public string Message { get; private set; }
public string Property { get; private set; }
public ValidationError(string property, string message)
: this(message)
{
Property ... | mit | C# |
c07baeeb300bce1aa999a32e1d065dd43258a206 | add authorize in PostController | sgwzxg/Ixy,sgwzxg/Ixy,sgwzxg/Ixy,sgwzxg/Ixy,sgwzxg/Ixy | src/Ixy.Web/Areas/Backend/Controllers/PostController.cs | src/Ixy.Web/Areas/Backend/Controllers/PostController.cs | using Ixy.Application.Service.Interface;
using Ixy.Core.Model;
using Ixy.Web.Controllers;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ixy.Web.Are... | using Ixy.Application.Service.Interface;
using Ixy.Core.Model;
using Ixy.Web.Controllers;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ixy.Web.Areas.Backend.Controllers
{
[Area("Backen... | mit | C# |
223f94b2d024a0dfec3a61dbc089b6c20e0b0fa9 | Remove setter monkaS | JokkeeZ/Twitchie | Twitchie2/Events/MessageEventArgs.cs | Twitchie2/Events/MessageEventArgs.cs | using System.Collections.Generic;
using Twitchie2.Messages;
namespace Twitchie2.Events
{
public class MessageEventArgs : TwitchieEventArgs
{
public string BadgeInfo { get; }
public List<TwitchBadge> Badges { get; } = new List<TwitchBadge>();
public string Bits { get; }
public string Color { get; }
public ... | using System.Collections.Generic;
using Twitchie2.Messages;
namespace Twitchie2.Events
{
public class MessageEventArgs : TwitchieEventArgs
{
public string BadgeInfo { get; }
public List<TwitchBadge> Badges { get; } = new List<TwitchBadge>();
public string Bits { get; }
public string Color { get; }
public ... | mit | C# |
73cf1d3b1b489bbb54fc54987668f96e6c6905ee | Add Command to EditUser. | App2Night/App2Night.Xamarin | App2Night/App2Night/PageModel/Subpages/NavigationViewModel.cs | App2Night/App2Night/PageModel/Subpages/NavigationViewModel.cs | using System.Threading.Tasks;
using Acr.UserDialogs;
using App2Night.Model.Model;
using App2Night.Service.Interface;
using FreshMvvm;
using Xamarin.Forms;
namespace App2Night.PageModel.SubPages
{
public class NavigationViewModel : FreshBasePageModel
{
public async Task OpenMore(Party party)
{... | using System.Threading.Tasks;
using Acr.UserDialogs;
using App2Night.Model.Model;
using App2Night.Service.Interface;
using FreshMvvm;
using Xamarin.Forms;
namespace App2Night.PageModel.SubPages
{
public class NavigationViewModel : FreshBasePageModel
{
public async Task OpenMore(Party party)
{... | mit | C# |
ffaac387c5429f8d31a7fde79651d01469160886 | Return original object instead of throwing on convert. | threax/Threax.AspNetCore.Convention,threax/Threax.AspNetCore.Convention,threax/Threax.AspNetCore.Convention,threax/Threax.AspNetCore.Convention | src/Threax.AspNetCore.Halcyon.Ext/HalModelViewMapper.cs | src/Threax.AspNetCore.Halcyon.Ext/HalModelViewMapper.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Threax.AspNetCore.Halcyon.Ext
{
public class HalModelViewMapper : IHalModelViewMapper
{
private Dictionary<Type, Func<Object, Object>> converter... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Threax.AspNetCore.Halcyon.Ext
{
public class HalModelViewMapper : IHalModelViewMapper
{
private Dictionary<Type, Func<Object, Object>> converter... | apache-2.0 | C# |
860bdf1f28e6e72dfc61f368103b574d0db4c720 | Fix indentation of ctor | FransBouma/RawDataAccessBencher | RawBencher/Benchers/EntityFrameworkCoreNoChangeTrackingBencher.cs | RawBencher/Benchers/EntityFrameworkCoreNoChangeTrackingBencher.cs | using EFCore.Bencher;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System.Collections.Generic;
using System.Linq;
namespace RawBencher.Benchers
{
/// <summary>
/// Specific bencher for Entity Framework, doing no change tracking fetch
/// </summary>
pub... | using System.Collections.Generic;
using System.Linq;
using EFCore.Bencher;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace RawBencher.Benchers
{
/// <summary>
/// Specific bencher for Entity Framework, doing no change tracking fetch
/// </summary>
public class En... | mit | C# |
2bbce133a9c91fe3e72c39d7080429d70402080b | Update AutofacCompositionRootSetupBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/DependencyInjection/AutofacCompositionRootSetupBase.cs | TIKSN.Core/DependencyInjection/AutofacCompositionRootSetupBase.cs | using Autofac;
using Autofac.Core;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using TIKSN.PowerShell;
namespace TIKSN.DependencyInjection
{
public abstract class AutofacCompositionRootSetupBase : CompositionRootSetupBase
... | using Autofac;
using Autofac.Core;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using TIKSN.PowerShell;
namespace TIKSN.DependencyInjection
{
public abstract class AutofacCompositionRootSetupBase : CompositionRootSetupBase
... | mit | C# |
c7c8ecaef810ab14a9b8aab618889f1caf4211bc | Fix elevator music not stopping issue | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | Assets/Scripts/Audio/MusicPlayer.cs | Assets/Scripts/Audio/MusicPlayer.cs | using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MusicPlayer : MonoBehaviour
{
private static Dictionary<string, MusicPlayer> _musicPlayers = new Dictionary<string, MusicPlayer>();
public AudioSource startInterruptSound = null;
public AudioSou... | using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MusicPlayer : MonoBehaviour
{
private static Dictionary<string, MusicPlayer> _musicPlayers = new Dictionary<string, MusicPlayer>();
public AudioSource startInterruptSound = null;
public AudioSou... | mit | C# |
122bbaaf217cce1715ddd82be20bfc0d0c393232 | Improve blank application template (#262) | nanoframework/nf-Visual-Studio-extension | source/CSharp.BlankApplication/Program.cs | source/CSharp.BlankApplication/Program.cs | using System;
using System.Threading;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
Console.WriteLine("Hello world!");
Thread.Sleep(Timeout.Infinite);
}
}
}
| using System;
using System.Threading;
using System.Diagnostics;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
try
{
// User code goes here
}
catch (Exception ex)
{
// ... | mit | C# |
31b7af2ae0d20d95777df2dbacc75576c0ba669a | Allow LockAsync to be canceled | MarcMagnin/Akavache,bbqchickenrobot/Akavache,akavache/Akavache,kmjonmastro/Akavache,martijn00/Akavache,MathieuDSTP/MyAkavache,PureWeen/Akavache,mms-/Akavache,shana/Akavache,Loke155/Akavache,ghuntley/AkavacheSandpit,shana/Akavache,christer155/Akavache,jcomtois/Akavache,gimsum/Akavache | Akavache.Sqlite3/AsyncLock.cs | Akavache.Sqlite3/AsyncLock.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Akavache.Sqlite3.Internal
{
// Straight-up thieved from http://www.hanselman.com/blog/ComparingTwoTechniquesInNETAsynchronousCoordinationPrimitives.aspx
public sealed class AsyncLock
{
readonly SemaphoreSlim m_semaphore... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Akavache.Sqlite3.Internal
{
// Straight-up thieved from http://www.hanselman.com/blog/ComparingTwoTechniquesInNETAsynchronousCoordinationPrimitives.aspx
public sealed class AsyncLock
{
readonly SemaphoreSlim m_semaphore... | mit | C# |
59901cc47c8a20e8371ce11a9343824942ba80a1 | remove comment I wrote by mistake | mahedee/gen-bot-hrm,mahedee/gen-bot-hrm,mahedee/gen-bot-hrm | src/HRMBot.Models/Employee.cs | src/HRMBot.Models/Employee.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HRMBot.Models
{
public class Employee
{
[Key, DatabaseGenerated(DatabaseGenerat... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HRMBot.Models
{
/// <summary>
/// <see cref="HRMBot.Models."/>
/// </summary>
p... | mit | C# |
399fbce5e67a63c12d8398039efb8bee1b535740 | Move logic for getting current directory to it's own method | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfiguration.cs | src/AppHarbor/ApplicationConfiguration.cs | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration : IApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecuto... | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration : IApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecuto... | mit | C# |
ea8e49c543ab5e516d2f41ff9de6185f7760c0f0 | Reorder private/protected methods | ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerRoomSounds.cs | osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerRoomSounds.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Game.Online.API.Requests.Responses;
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Game.Online.API.Requests.Responses;
... | mit | C# |
126fa414d89865f68dcf9777e8642ed3397eaf55 | remove endpoint | mzrimsek/scheduler,mzrimsek/scheduler,mzrimsek/scheduler | Controllers/HomeController.cs | Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
using scheduler.Interfaces;
namespace scheduler.Controllers
{
public class HomeController : Controller
{
private readonly IEventRepository _eventRepo;
public HomeController(IEventRepository eventRepo)
{
_eventRepo = eventRepo;
}
... | using Microsoft.AspNetCore.Mvc;
using scheduler.Interfaces;
using scheduler.Models.DatabaseModels;
namespace scheduler.Controllers
{
public class HomeController : Controller
{
private readonly IEventRepository _eventRepo;
public HomeController(IEventRepository eventRepo)
{
... | mit | C# |
84b591b9b1f1303ebf250e4b9b1f2eaa9061a49d | Rename MemoryHandle PinnedPointer to Pointer and add property HasPointer. (#14604) | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.cs | src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.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.Runtime;
using System.Runtime.InteropServices;
namespace System.Buffers
{
public unsafe struct Mem... | // 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.Runtime;
using System.Runtime.InteropServices;
namespace System.Buffers
{
public unsafe struct Mem... | mit | C# |
314cc758207d1e3f2e82b74e782dba90cd425bfe | Bump version. | nhmkdev/cardmaker | CardMaker/Properties/AssemblyInfo.cs | CardMaker/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("Card Maker Application")]
[assembly: Asse... | 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("Card Maker Application")]
[assembly: Asse... | mit | C# |
e35edd15ae5b1fbc884bc1874c9b03c009c96609 | Put in the possibility of a win sound | gadauto/OCDEscape | Assets/OCDRoomEscape/Scripts/Interaction/PuzzleMaster.cs | Assets/OCDRoomEscape/Scripts/Interaction/PuzzleMaster.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PuzzleMaster : MonoBehaviour
{
public float timeBetweenSounds = 15f;
public WallManager wallMgr;
public List<Puzzle> puzzles;
public AudioSource puzzleWinSound;
float increment;
float weightedIncrementTotal;
bool isG... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PuzzleMaster : MonoBehaviour
{
public float timeBetweenSounds = 15f;
public WallManager wallMgr;
public List<Puzzle> puzzles;
float increment;
float weightedIncrementTotal;
bool isGameOver = false;
// Use this for i... | apache-2.0 | C# |
128770191f1ec940cb13fd2c66ab99c00510705a | Clear any whitespaces | ivanlutov/C-Fundamentals | C#OOPBasics/03.InheritanceLab/CreateRandomList/RandomList.cs | C#OOPBasics/03.InheritanceLab/CreateRandomList/RandomList.cs | using System;
using System.Collections;
public class RandomList : ArrayList
{
private Random rnd;
public RandomList()
{
this.rnd = new Random();
}
public string RandomString()
{
var index = this.rnd.Next(base.Count - 1);
var element = base[index];
base.RemoveAt(i... | using System;
using System.Collections;
public class RandomList : ArrayList
{
private Random rnd;
public RandomList()
{
this.rnd = new Random();
}
public string RandomString()
{
var index = this.rnd.Next(base.Count - 1);
var element = base[index];
base.RemoveA... | mit | C# |
20bc429be5ff7b2f7e1a5fedad5868b4bd729818 | Update StorageFactory.cs | A51UK/File-Repository | File-Repository/StorageFactory.cs | File-Repository/StorageFactory.cs | /*
* Copyright 2017 Craig Lee Mark Adams
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | /*
* Copyright 2017 Criag Lee Mark Adams
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | apache-2.0 | C# |
8f467b3f93ba1b627b6e4731697a8509f8116c64 | Normalize paths in Assembly.Location test | marksmeltzer/corefx,690486439/corefx,krytarowski/corefx,Chrisboh/corefx,janhenke/corefx,tijoytom/corefx,Chrisboh/corefx,Chrisboh/corefx,weltkante/corefx,stone-li/corefx,nbarbettini/corefx,marksmeltzer/corefx,seanshpark/corefx,elijah6/corefx,parjong/corefx,jcme/corefx,alexperovich/corefx,richlander/corefx,shmao/corefx,r... | src/System.Reflection/tests/CoreCLR/Assembly/AssemblyTests.CoreCLR.cs | src/System.Reflection/tests/CoreCLR/Assembly/AssemblyTests.CoreCLR.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.IO;
using System.Reflection.Emit;
using System.Runtime.Loader;
using Xunit;
namespace System.Reflection.Tests
{
public class AssemblyTests
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Reflection.Emit;
using System.Runtime.Loader;
using Xunit;
namespace System.Reflection.Tests
{
public class AssemblyTests
{
... | mit | C# |
826c5ec131ed1fd049870d690efd959fba661895 | Use proper comparer | wvdd007/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,wvdd007/roslyn,physhi/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,KevinRansom/roslyn,eriawan/roslyn,wvdd007/roslyn,KevinRansom/roslyn,mavasani/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,dirybo... | src/Workspaces/Core/Portable/Storage/CloudCache/ICloudCacheService.cs | src/Workspaces/Core/Portable/Storage/CloudCache/ICloudCacheService.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.Immutable;
using System.IO.Pipelines;
using System.Threading;
using System.T... | // 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.Immutable;
using System.IO.Pipelines;
using System.Threading;
using System.T... | mit | C# |
67c19df00050c9d0f6fef7f69e9dc98edb2f4c75 | Add test coverage for adding/removing colours | smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new | osu.Game.Tests/Visual/UserInterface/TestSceneLabelledColourPalette.cs | osu.Game.Tests/Visual/UserInterface/TestSceneLabelledColourPalette.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.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Graphics.UserInterfaceV2;
using os... | // 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.Graphics.Containers;
using osu.Game.Graphics.UserInterfaceV2;
using osuTK.Graphics;
namespace os... | mit | C# |
c61a7de7c3ad9ddb9ed30f1b49348fda34f8072f | remove my own IDs | postsharp/PostSharp.Samples,postsharp/PostSharp.Samples,postsharp/PostSharp.Samples,postsharp/PostSharp.Samples,postsharp/PostSharp.Samples | Diagnostics/PostSharp.Samples.Logging.ElmahIo/Program.cs | Diagnostics/PostSharp.Samples.Logging.ElmahIo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using PostSharp.Patterns.Diagnostics;
using PostSharp.Patterns.Diagnostic... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using PostSharp.Patterns.Diagnostics;
using PostSharp.Patterns.Diagnostic... | unlicense | C# |
84c5590ee3cd7eb5e74a894c13958c697dd1664b | Add deprecation message | watson-developer-cloud/dotnet-standard-sdk,watson-developer-cloud/dotnet-standard-sdk | src/IBM.Watson.NaturalLanguageUnderstanding.v1/Model/CategoriesOptions.cs | src/IBM.Watson.NaturalLanguageUnderstanding.v1/Model/CategoriesOptions.cs | /**
* (C) Copyright IBM Corp. 2018, 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /**
* (C) Copyright IBM Corp. 2018, 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | C# |
11f1d86319a940e679abcb171a143fbd55b357f5 | move copy logic to AddOrUpdateContact | Zabaa/Exchange,Zabaa/Exchange,Zabaa/Exchange | Exchange/Hubs/Chat/ChatMonitorHub.cs | Exchange/Hubs/Chat/ChatMonitorHub.cs | using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.SignalR;
namespace Exchange.Hubs.Chat
{
[Authorize]
public class ChatMonitorHub : Hub
{
private readonly ChatMonitor _chatMonitor;
public ChatMonitorHub() : this(ChatMonitor.Instance)
{
... | using System;
using System.Collections.Generic;
using System.EnterpriseServices.CompensatingResourceManager;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.SignalR;
namespace Exchange.Hubs.Chat
{
[Authorize]
publi... | mit | C# |
3dbbfa379af804a5e71ca55e1f75682e02eeee80 | Add LogDiallerModeChange method | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | using PS.Mothership.Core.Common.Rellaid.Dto;
using PS.Mothership.Core.Common.Template.Dial;
using System;
using System.Collections.Generic;
using System.ServiceModel;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
... | using PS.Mothership.Core.Common.Rellaid.Dto;
using PS.Mothership.Core.Common.Template.Dial;
using System;
using System.Collections.Generic;
using System.ServiceModel;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
... | mit | C# |
ebbad918ec2e58bfac302f4e5d040b31c6b610a3 | Fix StyleCop violation | WolfspiritM/Colore,CoraleStudios/Colore | Corale.Colore.Tests/Razer/Mouse/Effects/ReactiveTests.cs | Corale.Colore.Tests/Razer/Mouse/Effects/ReactiveTests.cs | // <copyright file="ReactiveTests.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// 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 ... | // <copyright file="ReactiveTests.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// 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 ... | mit | C# |
ab703d3e8d45a08a7e6524dbb5d64e92b47c1b41 | Update Day02.cs | fluttert/AdventOfCode | AdventOfCode/Year2020/Day02.cs | AdventOfCode/Year2020/Day02.cs | using System;
namespace AdventOfCode.Year2020
{
public class Day02 : IAoC
{
// Puzzle can be found on: https://adventofcode.com/2020/day/2
public string SolvePart1(string input)
{
string[] lines = input.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries);
... | using System;
namespace AdventOfCode.Year2020
{
public class Day02 : IAoC
{
// Puzzle can be found on: https://adventofcode.com/2020/day/1
public string SolvePart1(string input)
{
string[] lines = input.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries);
... | mit | C# |
cc4db05d5b0fcfb3acc99dfcd18501050e7be00b | Fix for empty containers causing crashes | inkle/ink,ghostpattern/ink,ivaylo5ev/ink,ghostpattern/ink,ivaylo5ev/ink,inkle/ink | ink-engine-runtime/Pointer.cs | ink-engine-runtime/Pointer.cs | using Ink.Runtime;
namespace Ink.Runtime
{
/// <summary>
/// Internal structure used to point to a particular / current point in the story.
/// Where Path is a set of components that make content fully addressable, this is
/// a reference to the current container, and the index of the current piece of... | using Ink.Runtime;
namespace Ink.Runtime
{
/// <summary>
/// Internal structure used to point to a particular / current point in the story.
/// Where Path is a set of components that make content fully addressable, this is
/// a reference to the current container, and the index of the current piece of... | mit | C# |
b2dac7947fc3bb9718ffbd65385d6661320b7bdd | Bump version to 8.10.0 | madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,madsoulswe/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,mattbrailsford/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,lee... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
9e3c37d36ba192078517cc9b27cda4d487da885d | Update unsaved file changes | ziyasal/Mono.Cecil.Samples | Mono.Cecil.Samples/AddAttributeToClassAtRuntime/Properties/AssemblyInfo.cs | Mono.Cecil.Samples/AddAttributeToClassAtRuntime/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("AddAttributeToClassAtRuntime")]
[assembl... | 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("Ad... | mit | C# |
93158c202cedaba149d146afef6438d3a3e95789 | Fix for Flowchart Enabled event handler coroutine issue | tapiralec/Fungus,kdoore/Fungus,snozbot/fungus,inarizushi/Fungus,RonanPearce/Fungus,FungusGames/Fungus,lealeelu/Fungus,Nilihum/fungus | Assets/Fungus/Flowchart/Scripts/EventHandlers/FlowchartEnabled.cs | Assets/Fungus/Flowchart/Scripts/EventHandlers/FlowchartEnabled.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
[EventHandlerInfo("",
"Flowchart Enabled",
"The block will execute when the Flowchart game object is enabled.")]
[AddComponentMenu("")]
public class FlowchartEnabled... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
[EventHandlerInfo("",
"Flowchart Enabled",
"The block will execute when the Flowchart game object is enabled.")]
[AddComponentMenu("")]
public class FlowchartEnabled... | mit | C# |
f772d9a4de5c78a0956e01824eeafbf5b7c21c79 | 修改版本号。 | RabbitTeam/RabbitHub | Components/Rabbit.Components.Data.Migrators/Properties/AssemblyInfo.cs | Components/Rabbit.Components.Data.Migrators/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Rabbit.Components.Data.Migrators")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rabbit.... | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Rabbit.Components.Data.Migrators")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rabbit.... | apache-2.0 | C# |
4354df02c90cd3df08920a3112bf600668d59fc3 | Add missing namespace to Klawr script component template | enlight/klawr,Algorithman/klawr,enlight/klawr,Algorithman/klawr,enlight/klawr,Algorithman/klawr | Engine/Plugins/Klawr/KlawrEditorPlugin/Resources/Templates/Template.cs | Engine/Plugins/Klawr/KlawrEditorPlugin/Resources/Templates/Template.cs | using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed.SafeHandles;
using Klawr.UnrealEngine;
namespace $RootNamespace$
{
public class $ScriptName$ : UKlawrScriptComponent
{
public $ScriptName$(long instanceID, UObjectHandle nativeComponent)
: base(instanceID, nativeComponent)
... | using Klawr.ClrHost.Interfaces;
using Klawr.UnrealEngine;
namespace $RootNamespace$
{
public class $ScriptName$ : UKlawrScriptComponent
{
public $ScriptName$(long instanceID, UObjectHandle nativeComponent)
: base(instanceID, nativeComponent)
{
}
}
}
| mit | C# |
88c18fe41848da01653b32256589e196febb26ff | Fix KeyNotFoundException | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.MessageQueue/RabbitMq/Hosting/MessageConsumeHandler.cs | InfinniPlatform.MessageQueue/RabbitMq/Hosting/MessageConsumeHandler.cs | using System;
using System.Threading.Tasks;
using InfinniPlatform.Sdk.Queues;
namespace InfinniPlatform.MessageQueue.RabbitMq.Hosting
{
public class MessageConsumeHandler : IMessageConsumeHandler
{
public MessageConsumeHandler(IBasicPropertiesProvider basicPropertiesProvider)
{
_b... | using System;
using System.Threading.Tasks;
using InfinniPlatform.Sdk.Queues;
namespace InfinniPlatform.MessageQueue.RabbitMq.Hosting
{
public class MessageConsumeHandler : IMessageConsumeHandler
{
public MessageConsumeHandler(IBasicPropertiesProvider basicPropertiesProvider)
{
_b... | agpl-3.0 | C# |
f32b84d07d98b29371f02fa54dc9ff7d6949e922 | Fix tests not working on CI (where no beatmaps were present) | UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new | osu.Game.Tests/Visual/UserInterface/TestSceneNowPlayingOverlay.cs | osu.Game.Tests/Visual/UserInterface/TestSceneNowPlayingOverlay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
using osu.Game.Rulesets.Osu;
name... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
names... | mit | C# |
c69351e7e3df7791567eb6fdf4f63485c5691b61 | add back in | darkoverlordofdata/minimart,darkoverlordofdata/minimart,darkoverlordofdata/minimart | Minimart/Views/Catalog/Index.cshtml | Minimart/Views/Catalog/Index.cshtml | <div class="container">
<div class="row">
<div class="col-sm-12">
<ul class="breadcrumb">
<li class="active">@ViewBag.BrandName </li>
</ul>
<div id="message"></div>
</div>
</div>
</div>
| <div class="jumbotron">
<div class="container">
<h1 class="melody">go to the Mini-Mart...</h1>
@if (ViewBag.Confirmation != "")
{
<p>Your Order Confirmation is @ViewBag.Confirmation</p>
}
<hr>
<p><a class="btn btn-lg btn-success" href='@Url.Action("Index"... | mit | C# |
f32ca332086afbb656dcd5ae01d83465162cb40f | Adjust the example | jakkaj/XIOTCore,jakkaj/xIOT,jakkaj/Xamling-IOT | XamlingIOTCore/XIOTCore_Samples_Console/OLED/OLEDExamples_FTDI.cs | XamlingIOTCore/XIOTCore_Samples_Console/OLED/OLEDExamples_FTDI.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XIOTCore.Contract;
using XIOTCore.Contract.Enum;
using XIOTCore.Contract.Interface;
using XIOTCore.Contract.Interface.B... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XIOTCore.Contract;
using XIOTCore.Contract.Enum;
using XIOTCore.Contract.Interface;
using XIOTCore.Contract.Interface.B... | mit | C# |
2cb5b967fc1a3c8ddb0569768e8b2a60d4177859 | Remove hiding parrent form | BartoszBaczek/WorkshopRequestsManager | Project/WorkshopManager/WorkshopManager/Forms/RequestsDatabaseView/RequestsDatabaseView.cs | Project/WorkshopManager/WorkshopManager/Forms/RequestsDatabaseView/RequestsDatabaseView.cs | using System.Data;
using System.Windows.Forms;
namespace WorkshopManager.Forms.RequestsDatabaseView
{
public partial class RequestsDatabaseView : Form, IRequestsDatabaseView
{
public RequestsDatabasePresenter Presenter { private get; set; }
public RequestsDatabaseView()
{
... | using System.Data;
using System.Windows.Forms;
namespace WorkshopManager.Forms.RequestsDatabaseView
{
public partial class RequestsDatabaseView : Form, IRequestsDatabaseView
{
public RequestsDatabasePresenter Presenter { private get; set; }
public RequestsDatabaseView()
{
... | mit | C# |
243ac2fbad7e7d7e6f7afb883ccda9a1b7e4a6db | add lowercaseUrls rule | olebg/car-mods-heaven,olebg/car-mods-heaven | CarModsHeaven/CarModsHeaven/CarModsHeaven.Web/App_Start/RouteConfig.cs | CarModsHeaven/CarModsHeaven/CarModsHeaven.Web/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace CarModsHeaven.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.a... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace CarModsHeaven.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.a... | mit | C# |
898b644badc1b938498278e94c5dc43088adc620 | Remove duplicated line | jbe2277/waf | src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Presentation.Test/Converters/StringToUriConverterTest.cs | src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Presentation.Test/Converters/StringToUriConverterTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Waf.BookLibrary.Library.Presentation.Converters;
namespace Test.BookLibrary.Library.Presentation.Converters
{
[TestClass]
public class StringToUriConverterTest
{
[TestMethod]
public void ConvertTest()
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Waf.BookLibrary.Library.Presentation.Converters;
namespace Test.BookLibrary.Library.Presentation.Converters
{
[TestClass]
public class StringToUriConverterTest
{
[TestMethod]
public void ConvertTest()
... | mit | C# |
a522264ef8a3e19d6aa461266d952c742e656597 | Update externals.cake | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | cake/externals.cake | cake/externals.cake | ////////////////////////////////////////////////////////////////////////////////////////////////////
// EXTERNALS - the native C and C++ libraries
////////////////////////////////////////////////////////////////////////////////////////////////////
var externalsTask = Task("externals-native");
foreach (var cake in Get... | ////////////////////////////////////////////////////////////////////////////////////////////////////
// EXTERNALS - the native C and C++ libraries
////////////////////////////////////////////////////////////////////////////////////////////////////
var externalsTask = Task("externals-native");
foreach (var cake in Get... | mit | C# |
ed1e8a380f0454cb37bedc47e9c2dd9b5a25610b | Fix comment. | weltkante/roslyn,jmarolf/roslyn,mgoertz-msft/roslyn,KevinRansom/roslyn,diryboy/roslyn,jcouv/roslyn,mgoertz-msft/roslyn,sharwell/roslyn,diryboy/roslyn,tmat/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,brettfo/roslyn,tmat/roslyn,AlekseyTs/roslyn,jasonmalinowski/roslyn,nguerrera/roslyn,gafter/roslyn,agocke/roslyn,sharwell/ros... | src/EditorFeatures/Core/Implementation/SmartIndent/IIndentationService.cs | src/EditorFeatures/Core/Implementation/SmartIndent/IIndentationService.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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.Editor
{
/// <summary>
///... | // 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.Editor
{
/// <summary>
///... | mit | C# |
9e44dcfaf2afa981ef477248999b07575019990a | Use invariant culture for string comparisons | miratechcorp/CsProjArrange | Projects/CsProjArrange/CsProjArrange/AttributeKeyComparer.cs | Projects/CsProjArrange/CsProjArrange/AttributeKeyComparer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace CsProjArrange
{
/// <summary>
/// Compares a list of attributes in order by value.
/// </summary>
public class AttributeKeyComparer : IComparer<IEnumerable<XAttribute>>
{
public AttributeKeyC... | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace CsProjArrange
{
/// <summary>
/// Compares a list of attributes in order by value.
/// </summary>
public class AttributeKeyComparer : IComparer<IEnumerable<XAttribute>>
{
public AttributeKeyComparer(IEnume... | apache-2.0 | C# |
cdeee13d29996c47c08be798dccf5e6c43c36322 | 更新版本号 redis v1.4.0-beta1 支持.NET Core 2.0 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | apache-2.0 | C# |
31e431b5bb1d4c27f3e356fae9e6d06c4ebc484c | Update RememberMeStream.cs | overtools/OWLib | TankLib/Helpers/RememberMeStream.cs | TankLib/Helpers/RememberMeStream.cs | using System;
using System.IO;
namespace TankLib.Helpers {
public class RememberMeStream : IDisposable {
public long Position = 0;
private Stream inner;
public RememberMeStream(Stream input, long offset) {
Position = input.Position + offset;
inner = input;
}... | using System;
using System.IO;
namespace TankLib.Helpers {
public class RememberMeStream : IDisposable {
public long Position = 0;
private Stream inner;
public RememberMeStream(Stream input) {
Position = input.Position;
inner = input;
}
public Remem... | mit | C# |
1b506b6a68f0f49630dbbed36110cad74a35a33c | Mark PoESiteSession as Obsolete | jcmoyer/Yeena | Yeena/PathOfExile/PoESiteSession.cs | Yeena/PathOfExile/PoESiteSession.cs | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | apache-2.0 | C# |
65f61d972fb9135e457355bdd49cfe0b95b9265e | Update Test.cs | guzmanc1/CSC439-OS-Sudoku | sudokuSolver/sudokuSolver/Test.cs | sudokuSolver/sudokuSolver/Test.cs | using NUnit.Framework;
namespace sudokuSolver
{
[TestFixture]
public class SudokuTest
{
[Test]
public void DrawGrid()
{
Sudoku source = new Sudoku();
string puzzle = "";
string answer = "";
source.Randomize(out answer, out puzzle);
... | namespace sudokuSolver
{
using NUnit.Framework;
[TestFixture]
public class SudokuTest
{
[Test]
public void DrawGrid()
{
Sudoku source = new Sudoku();
string puzzle = "";
string answer = "";
source.Randomize(out answer, out puzzle)... | mit | C# |
3fc9cde3d8468f89205ae3c21ec46798e658f0d8 | Update VismaNetControllers.cs | ON-IT/Visma.Net | Visma.net/lib/VismaNetControllers.cs | Visma.net/lib/VismaNetControllers.cs | namespace ONIT.VismaNetApi.Lib
{
internal static class VismaNetControllers
{
// Security
public const string UserContexts = "resources/v1/context/context";
public const string Token = "security/api/v2/token";
// Financials
public const string SupplierInvoices = "controll... | namespace ONIT.VismaNetApi.Lib
{
internal static class VismaNetControllers
{
// Security
public const string UserContexts = "security/api/v1/token/usercontexts";
public const string Token = "security/api/v2/token";
// Financials
public const string SupplierInvoices = "co... | mit | C# |
1a60b16fdc46fd7a315235b22c1fc0db3ea057de | Set IsEnabled wallet action property depending on wallet state | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Wallets/Actions/WalletActionViewModel.cs | WalletWasabi.Fluent/ViewModels/Wallets/Actions/WalletActionViewModel.cs | using System.Reactive;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Helpers;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels.Wallets.Actions
{
public abstract partial class WalletActionViewModel : NavBarItemViewModel
{
[AutoNoti... | using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Helpers;
namespace WalletWasabi.Fluent.ViewModels.Wallets.Actions
{
public abstract partial class WalletActionViewModel : NavBarItemViewModel
{
[AutoNotify] private bool _isEnabled;
protected WalletActionViewModel(WalletViewModelBase wallet)
{
... | mit | C# |
4746163493c14f9c435bbe99f830e12cb73dd895 | Use extension method for string to float conversion | tparviainen/oscilloscope | SCPI/Acquire/ACQUIRE_SRATE.cs | SCPI/Acquire/ACQUIRE_SRATE.cs | using SCPI.Extensions;
using System.Text;
namespace SCPI.Acquire
{
public class ACQUIRE_SRATE : ICommand
{
public string Description => "Query the current sample rate. The default unit is Sa/s.";
public float SampleRate { get; private set; }
public string Command(params string[] para... | using System.Globalization;
using System.Text;
namespace SCPI.Acquire
{
public class ACQUIRE_SRATE : ICommand
{
public string Description => "Query the current sample rate. The default unit is Sa/s.";
public float SampleRate { get; private set; }
public string Command(params string[]... | mit | C# |
f359d466732171c347c1d26442e0cfe8fe09e1a4 | fix MyComparer | StrubT/StrubTUtilities | StrubTUtilities/MyComparer.cs | StrubTUtilities/MyComparer.cs | using System;
using System.Collections.Generic;
namespace StrubT {
class MyComparer<T> : Comparer<T> {
public Func<T, T, int> Comparer { get; }
public MyComparer(Func<T, T, int> comparer) => Comparer = comparer;
public static MyComparer<T> Create<U>(Func<T, U> selector) where U : IComparable<U> => new MyCo... | using System;
using System.Collections.Generic;
namespace StrubT {
class MyComparer<T> : Comparer<T> {
public Func<T, T, int> Comparer { get; }
public MyComparer(Func<T, T, int> comparer) => Comparer = comparer;
public static MyComparer<T> Create<U>(Func<T, U> selector) where U : IComparable<U> => new MyCo... | mit | C# |
52efd557f522796eb5643937ac00ec39bb9b0492 | Fix #71 Hard dependency to MVC setup | Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core | src/JsonApiDotNetCore/Extensions/IApplicationBuilderExtensions.cs | src/JsonApiDotNetCore/Extensions/IApplicationBuilderExtensions.cs | using JsonApiDotNetCore.Middleware;
using Microsoft.AspNetCore.Builder;
namespace JsonApiDotNetCore.Routing
{
public static class IApplicationBuilderExtensions
{
public static IApplicationBuilder UseJsonApi(this IApplicationBuilder app, bool useMvc = true)
{
app.UseMiddleware<Reques... | using JsonApiDotNetCore.Middleware;
using Microsoft.AspNetCore.Builder;
namespace JsonApiDotNetCore.Routing
{
public static class IApplicationBuilderExtensions
{
public static IApplicationBuilder UseJsonApi(this IApplicationBuilder app)
{
app.UseMiddleware<RequestMiddleware>();
... | mit | C# |
89e7a5c7a0757a90df220ac9e345cc4c57545840 | Fix typo | toddams/RazorLight,toddams/RazorLight | src/RazorLight/Compilation/LegacyFixAssemblyDirectoryFormatter.cs | src/RazorLight/Compilation/LegacyFixAssemblyDirectoryFormatter.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace RazorLight.Compilation
{
public class LegacyFixAssemblyDirectoryFormatter : IAssemblyDirectoryFormatter
{
public string GetAssemblyDirectory(Assembly assembly)
{
string codeBase = assembly.CodeBase;
UriBu... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace RazorLight.Compilation
{
public class LegacyFixAssemblyDirectoryFormatter : IAssemblyDirectoryFormatter
{
public string GetAssemblyDirectory(Assembly assembly)
{
string codeBase = assembly.CodeBase;
UriBu... | apache-2.0 | C# |
a6eb30a878aba7151e976975b6dc283a6dadfa01 | Prepare for 1.0 BETA 2. | earalov/Skylines-UnlimitedOutsideConnections | Code/Mod.cs | Code/Mod.cs | using ICities;
using CitiesHarmony.API;
namespace UOCRevisited
{
/// <summary>
/// The base mod class for instantiation by the game.
/// </summary>
public class UOCRMod : IUserMod
{
// Public mod name and description.
public string Name => ModName + " " + Version;
public s... | using ICities;
using CitiesHarmony.API;
namespace UOCRevisited
{
/// <summary>
/// The base mod class for instantiation by the game.
/// </summary>
public class UOCRMod : IUserMod
{
// Public mod name and description.
public string Name => ModName + " " + Version;
public s... | mit | C# |
6f14066a51097b22eace9ba481a4a7fb1599dfcf | Add CORS for local testing | openstardrive/server,openstardrive/server,openstardrive/server | OpenStardriveServer/Startup.cs | OpenStardriveServer/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using OpenStardriveServer.Domain.Database;
using OpenStardriveServer.HostedServices;
namespace OpenStardriveServer;
public class Startup
{
public void Configu... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using OpenStardriveServer.Domain.Database;
using OpenStardriveServer.HostedServices;
namespace OpenStardriveServer;
public class Startup
{
public void Configu... | apache-2.0 | C# |
b3268c56415ba19a7484b2bd7a8a483845d695ac | Fix "ReverseComparer" ctor to say underlying comparer is nullable | morelinq/MoreLINQ,morelinq/MoreLINQ | MoreLinq/ReverseComparer.cs | MoreLinq/ReverseComparer.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2016 Felipe Sateler. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2016 Felipe Sateler. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
cbb7aa4aeb64691b281685c67f148916725cc581 | Remove dependency on DebugConsole | yanyiyun/LockstepFramework,SnpM/Lockstep-Framework,erebuswolf/LockstepFramework | Settings/LSFSettingsManager.cs | Settings/LSFSettingsManager.cs | using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Lockstep {
public static class LSFSettingsManager {
public const string SETTINGS_NAME = "LockstepFrameworkSettings";
static LSFSettings MainSettings;
static LSFSettingsManager () {
... | using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Lockstep {
public static class LSFSettingsManager {
public const string SETTINGS_NAME = "LockstepFrameworkSettings";
static LSFSettings MainSettings;
static LSFSettingsManager () {
... | mit | C# |
ed7e838ba6670811009d12fc5659e39257b4211b | Update SitemapIndex.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/SitemapIndex.cs | TIKSN.Core/Web/SitemapIndex.cs | using System;
using System.Collections.Generic;
using System.Xml;
namespace TIKSN.Web
{
public class SitemapIndex
{
public SitemapIndex() => this.Sitemaps = new Dictionary<Uri, DateTime?>();
public Dictionary<Uri, DateTime?> Sitemaps { get; }
public void Write(XmlWriter XWriter)
... | namespace TIKSN.Web
{
public class SitemapIndex
{
private System.Collections.Generic.Dictionary<System.Uri, System.DateTime?> sitemaps;
public SitemapIndex()
{
this.sitemaps = new System.Collections.Generic.Dictionary<System.Uri, System.DateTime?>();
}
publ... | mit | C# |
68196ba0a9688598a3176afd92ca1c111c5292b7 | add a comment to the SortedAscendingCheck extension | jeske/StepsDB-alpha,jeske/StepsDB-alpha,jeske/StepsDB-alpha | Bend/Util/SortedAscendingCheckExtension.cs | Bend/Util/SortedAscendingCheckExtension.cs | // Copyright (C) 2008, by David W. Jeske
// All Rights Reserved.
using System;
using System.Collections.Generic;
namespace Bend {
/*
* This class checks that the values fed through it are in strictly ascending order, and throws an
* exception if they are not.
*/
static class SortedAscendingC... | // Copyright (C) 2008, by David W. Jeske
// All Rights Reserved.
using System;
using System.Collections.Generic;
namespace Bend {
static class SortedAscendingCheck {
public static IEnumerable<KeyValuePair<K, V>> CheckAscending<K, V>(
this IEnumerable<KeyValuePair<K, V>> one, string debug_not... | apache-2.0 | C# |
c841a745abadceb92b2c6c447707be6438d7e668 | Fix AutoComplete/AutoFocus/AutoSave prop casing | ProductiveRage/Bridge.React,ProductiveRage/Bridge.React | Bridge.React/Attributes/InputAttributes.cs | Bridge.React/Attributes/InputAttributes.cs | using Bridge.Html5;
namespace Bridge.React
{
[External]
[ObjectLiteral]
public sealed class InputAttributes : ReactDomElementAttributes<HTMLInputElement>
{
public string Accept { private get; set; }
public string Alt { private get; set; }
public AutoComplete AutoComplete { private get; set; }
public bool ... | using Bridge.Html5;
namespace Bridge.React
{
[External]
[ObjectLiteral]
public sealed class InputAttributes : ReactDomElementAttributes<HTMLInputElement>
{
public string Accept { private get; set; }
public string Alt { private get; set; }
[Name("autocomplete")]
public AutoComplete AutoComplete { private g... | mit | C# |
6a48acd814f8a3dfa82150b0a07975a1298452c0 | Remove 'elem.wast' from spec test blacklist | jonathanvdc/cs-wasm,jonathanvdc/cs-wasm | unit-tests/Scripts/ScriptTests.cs | unit-tests/Scripts/ScriptTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Loyc.MiniTest;
using Pixie;
using Wasm.Text;
namespace Wasm.Scripts
{
[TestFixture]
public class ScriptTests
{
private static readonly string[] blacklist = new[] {
"br_table.wast",
"co... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Loyc.MiniTest;
using Pixie;
using Wasm.Text;
namespace Wasm.Scripts
{
[TestFixture]
public class ScriptTests
{
private static readonly string[] blacklist = new[] {
"br_table.wast",
"co... | mit | C# |
7cd98a4bceedb25b43969c35d19909a3c64f674f | Add extension method to popup a message for the source and everyone else around it (#2063) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Utility/NotifyExtensions.cs | Content.Server/Utility/NotifyExtensions.cs | using Content.Shared.Interfaces;
using Robust.Server.Interfaces.Player;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.IoC;
namespace Content.Server.Utility
{
public static class NotifyExtensions
{
/// <summary>
/// Pops up a message for every player around <see cref="sour... | using Content.Shared.Interfaces;
using Robust.Server.Interfaces.Player;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.IoC;
namespace Content.Server.Utility
{
public static class NotifyExtensions
{
/// <summary>
/// Pops up a message for every player around <see cref="sour... | mit | C# |
920544efc0ae170e54ab3a73c6b651ef35b165d6 | make use of NUGET_EXE_NO_PROMPT variable on servier's nuget calls | JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support | nuget-extensions/nuget-runner/src/NuGetInstallExtensions5.cs | nuget-extensions/nuget-runner/src/NuGetInstallExtensions5.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace JetBrains.TeamCity.NuGetRunner
{
public class NuGetInstallExtensions5 : NuGetInstallExtensionsBase
{
public NuGetInstallExtensions5(NuGetRunner runner, IEnumerable<string> extensions) : base(runner)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace JetBrains.TeamCity.NuGetRunner
{
public class NuGetInstallExtensions5 : NuGetInstallExtensionsBase
{
public NuGetInstallExtensions5(NuGetRunner runner, IEnumerable<string> extensions) : base(runner)
{
... | apache-2.0 | C# |
c5c688cf86f82d6d80f4e78ad08a3b824f4e2a33 | Load the expected version from the assembly | xt0rted/Raygun.Owin | test/Raygun.Owin.Tests/Messages/Tests/RaygunClientMessageTests.cs | test/Raygun.Owin.Tests/Messages/Tests/RaygunClientMessageTests.cs | namespace Raygun.Messages.Tests
{
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class RaygunClientMessageTests
{
[Test]
public void Should_return_name_from_the_AssemblyTitleAttribute()
{
// Given
var sut = SutFactory();
//... | namespace Raygun.Messages.Tests
{
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class RaygunClientMessageTests
{
[Test]
public void Should_return_name_from_the_AssemblyTitleAttribute()
{
// Given
var sut = SutFactory();
//... | mit | C# |
176d9290a7bb5e4ea93b3548f7e1fadd5fb9e6e6 | Fix the detector deeplink | projectkudu/kudu,EricSten-MSFT/kudu,shibayan/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,shibayan/kudu,projectkudu/kudu,shibayan/kudu,shibayan/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu | Kudu.Services.Web/Detectors/Default.cshtml | Kudu.Services.Web/Detectors/Default.cshtml | @{
var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? "";
var subscriptionId = ownerName;
var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? "";
var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? "";
var index = ow... | @{
var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? "";
var subscriptionId = ownerName;
var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? "";
var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? "";
var index = ow... | apache-2.0 | C# |
1f0f6990f096d15a064eda731bd2dbad876ff786 | Use ColourProvider.Content1 for ControlItemText colour | peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu | osu.Game/Overlays/Chat/ChannelControl/ControlItemText.cs | osu.Game/Overlays/Chat/ChannelControl/ControlItemText.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.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.... | // 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.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.... | mit | C# |
1938844f92bb78dd115edfc5ce38ea854f69b35d | Update return count on API account legal entities | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetAccountLegalEntities/Api/GetAccountLegalEntitiesQueryHandler.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetAccountLegalEntities/Api/GetAccountLegalEntitiesQueryHandler.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using SFA.DAS.EAS.Account.Api.Types;
using SFA.DAS.EAS.Infrastructure.Data;
using SFA.DAS.EAS.Infrastructure.Extensions;
using Z.EntityFramework.Plus;
namespace SFA.DAS.EAS.Application... | using System;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using SFA.DAS.EAS.Account.Api.Types;
using SFA.DAS.EAS.Infrastructure.Data;
using SFA.DAS.EAS.Infrastructure.Extensions;
using Z.EntityFramework.Plus;
namespace SFA.DAS.EAS.Application... | mit | C# |
2bfa6badecf65328e16c8b6e9ca6f548c493b463 | Remove CauseTxt property | skrusty/AsterNET,AsterNET/AsterNET | Asterisk.2013/Asterisk.NET/Manager/Event/HangupRequestEvent.cs | Asterisk.2013/Asterisk.NET/Manager/Event/HangupRequestEvent.cs | namespace AsterNET.Manager.Event
{
/// <summary>
/// A HangupRequestEvent is raised when a channel is hang up.<br/>
/// </summary>
public class HangupRequestEvent : AbstractChannelEvent
{
/// <inheritdoc />
public HangupRequestEvent(ManagerConnection source) : base(source)
{
}
/// <summary>
/// Uniq... | namespace AsterNET.Manager.Event
{
/// <summary>
/// A HangupRequestEvent is raised when a channel is hang up.<br/>
/// </summary>
public class HangupRequestEvent : AbstractChannelEvent
{
/// <inheritdoc />
public HangupRequestEvent(ManagerConnection source) : base(source)
{
}
/// <summary>
/// Uniq... | mit | C# |
625d8f7754bae45cd3c33d1d3f2971dab39eb80c | update relative source extension | grokys/Perspex,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,Perspex/Perspex,SuperJMN/Aval... | src/Markup/Avalonia.Markup.Xaml/MarkupExtensions/RelativeSourceExtension.cs | src/Markup/Avalonia.Markup.Xaml/MarkupExtensions/RelativeSourceExtension.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;
using Avalonia.Data;
using Portable.Xaml.Markup;
namespace Avalonia.Markup.Xaml.MarkupExtensions
{
public class RelativeSourceExtension... | // 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 Avalonia.Data;
namespace Avalonia.Markup.Xaml.MarkupExtensions
{
using Portable.Xaml.Markup;
using System;
public class RelativeSource... | mit | C# |
37a3b66d0cef0001ba52344ac492720f3bb333a5 | Fix tests | Flepper/flepper,Flepper/flepper | Flepper.Tests.Unit/QueryBuilder/Commands/DeleteCommandTests.cs | Flepper.Tests.Unit/QueryBuilder/Commands/DeleteCommandTests.cs | using Flepper.Core.QueryBuilder;
using FluentAssertions;
using Xunit;
namespace Flepper.Tests.Unit.QueryBuilder.Commands
{
[Collection("CommandTests")]
public class DeleteCommandTests
{
[Fact]
public void ShouldCreateDeleteStatement()
{
FlepperQueryBuilder.Delete().Fro... | using Flepper.Core.QueryBuilder;
using FluentAssertions;
using Xunit;
namespace Flepper.Tests.Unit.QueryBuilder.Commands
{
[Collection("CommandTests")]
public class DeleteCommandTests
{
[Fact]
public void ShouldCreateDeleteStatement()
{
FlepperQueryBuilder.Delete().Fro... | mit | C# |
5995e674d46f8e6c34f775875f5fd7c29c791ff7 | Change http inflight requests default name to match Prometheus guidelines | andrasm/prometheus-net | Prometheus.HttpExporter.AspNetCore/InFlight/HttpInFlightOptions.cs | Prometheus.HttpExporter.AspNetCore/InFlight/HttpInFlightOptions.cs | namespace Prometheus.HttpExporter.AspNetCore.InFlight
{
public class HttpInFlightOptions : HttpExporterOptionsBase
{
public Gauge Gauge { get; set; } =
Metrics.CreateGauge(DefaultName, DefaultHelp);
private const string DefaultName = "http_executing_requests";
privat... | namespace Prometheus.HttpExporter.AspNetCore.InFlight
{
public class HttpInFlightOptions : HttpExporterOptionsBase
{
public Gauge Gauge { get; set; } =
Metrics.CreateGauge(DefaultName, DefaultHelp);
private const string DefaultName = "aspnet_http_inflight";
private c... | mit | C# |
ec1beed8eca010b4caed8bc8f7f2beff9463bb11 | Throw ArgumentNullException | mirajavora/sendgrid-webhooks | Sendgrid.Webhooks/Service/WebhookParser.cs | Sendgrid.Webhooks/Service/WebhookParser.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Sendgrid.Webhooks.Converters;
using Sendgrid.Webhooks.Events;
namespace Sendgrid.Webhooks.Service
{
public class WebhookParser
{
private readonly JsonConverter[] _converters;
public WebhookParser()
{
... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Sendgrid.Webhooks.Converters;
using Sendgrid.Webhooks.Events;
namespace Sendgrid.Webhooks.Service
{
public class WebhookParser
{
private readonly JsonConverter[] _converters;
public WebhookParser()
{
... | apache-2.0 | C# |
718c6b837ba5822bd84cc7757af1871211f49da1 | Add item quality to schema items. | babelshift/SourceSchemaParser | SourceSchemaParser/Dota2/DotaSchemaItem.cs | SourceSchemaParser/Dota2/DotaSchemaItem.cs | using Newtonsoft.Json;
using SourceSchemaParser.JsonConverters;
using System;
using System.Collections.Generic;
namespace SourceSchemaParser.Dota2
{
public class DotaSchemaItem : SchemaItem
{
public DotaSchemaItemTool Tool { get; set; }
[JsonProperty("tournament_url")]
public string T... | using Newtonsoft.Json;
using SourceSchemaParser.JsonConverters;
using System;
using System.Collections.Generic;
namespace SourceSchemaParser.Dota2
{
public class DotaSchemaItem : SchemaItem
{
public DotaSchemaItemTool Tool { get; set; }
[JsonProperty("tournament_url")]
public string T... | mit | C# |
501568729b52966ddbab50e2848d7875442afe25 | Fix typo to allow compilation. | rubenv/tripod,rubenv/tripod | src/Core/Tripod.Core/Tripod.Model/LocalFolderNamingPolicy.cs | src/Core/Tripod.Core/Tripod.Model/LocalFolderNamingPolicy.cs | //
// LocalFolderNamingPolicy.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (c) 2010 Ruben Vermeersch <ruben@savanne.be>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | //
// LocalFolderNamingPolicy.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (c) 2010 Ruben Vermeersch <ruben@savanne.be>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | mit | C# |
84c5e9c1b5bbe50dd48729ee10091b4d00bdf405 | Remove unused constructor. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/NMethodsField.cs | WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/NMethodsField.cs | using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class NMethodsField : OctetSerializableBase
{
public NMethodsField()
{
}
public int Value => ByteValue;
... | using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class NMethodsField : OctetSerializableBase
{
#region Constructors
public NMethodsField()
{
}
public NM... | mit | C# |
11ecd039f9ed361eca6e6e939d98f1f9b97c5796 | fix one test broke a bunch of others, fqdn injection in the virtualconnection now stable | adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net | src/Tests/Framework/VirtualClustering/MockResponses/SniffingResponse.cs | src/Tests/Framework/VirtualClustering/MockResponses/SniffingResponse.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Elasticsearch.Net;
namespace Tests.Framework.MockResponses
{
public static class SniffResponse
{
private static string ClusterName => "elasticsearch-test-cluster";
public static byte[] Create(IEnumerable<Node> nodes, stri... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Elasticsearch.Net;
namespace Tests.Framework.MockResponses
{
public static class SniffResponse
{
private static string ClusterName => "elasticsearch-test-cluster";
public static byte[] Create(IEnumerable<Node> nodes, stri... | apache-2.0 | C# |
a8ff855362dc70d42cc5dc3e408447e0b5cca601 | Fix warning. | JohanLarsson/Gu.Wpf.ValidationScope | Gu.Wpf.ValidationScope.Tests/InputTypes/InputTypeCollectionConverterTests.cs | Gu.Wpf.ValidationScope.Tests/InputTypes/InputTypeCollectionConverterTests.cs | namespace Gu.Wpf.ValidationScope.Tests.InputTypes
{
using System;
using System.Collections.Generic;
using System.Windows.Controls;
using NUnit.Framework;
public static class InputTypeCollectionConverterTests
{
public static IReadOnlyList<TestCaseData> TestCases { get; } = new[]
... | namespace Gu.Wpf.ValidationScope.Tests.InputTypes
{
using System;
using System.Collections.Generic;
using System.Windows.Controls;
using NUnit.Framework;
public static class InputTypeCollectionConverterTests
{
public static IReadOnlyList<TestCaseData> TestCases { get; } = new[]
... | mit | C# |
c320efaa2206f6296dc96b4de6373b496b287533 | Update port in nginx.conf | ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | Source/Boilerplate.FeatureSelection/Features/Hidden/SetRandomPortsFeature.cs | Source/Boilerplate.FeatureSelection/Features/Hidden/SetRandomPortsFeature.cs | namespace Boilerplate.FeatureSelection.Features
{
using System.Threading.Tasks;
using Boilerplate.FeatureSelection.Services;
public class SetRandomPortsFeature : BinaryChoiceFeature
{
private readonly IPortService portService;
public SetRandomPortsFeature(
IPortService por... | namespace Boilerplate.FeatureSelection.Features
{
using System.Threading.Tasks;
using Boilerplate.FeatureSelection.Services;
public class SetRandomPortsFeature : BinaryChoiceFeature
{
private readonly IPortService portService;
public SetRandomPortsFeature(
IPortService por... | mit | C# |
85afb011a9fc3d7265ff9d882c1a3b93753ad06a | Add an entity get. and change old get to get key | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGet.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGet.cs | using System;
using System.Data;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Dapper.FastCrud.Configuration.StatementOptions.Builders;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Helpers;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
p... | using System;
using System.Data;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Dapper.FastCrud.Configuration.StatementOptions.Builders;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Helpers;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
p... | mit | C# |
4db6400d007575629d14192ec39f28588b55c349 | order for dump is now double | hahoyer/HWClassLibrary.cs | src/hw.nuget/hw.Helper.Core/DebugFormatter/EnableDumpAttribute.cs | src/hw.nuget/hw.Helper.Core/DebugFormatter/EnableDumpAttribute.cs | using System;
using JetBrains.Annotations;
// ReSharper disable CheckNamespace
namespace hw.DebugFormatter;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
[MeansImplicitUse]
[PublicAPI]
public sealed class EnableDumpAttribute : DumpEnabledAttribute
{
public double Order;
public EnableD... | using System;
using JetBrains.Annotations;
// ReSharper disable CheckNamespace
namespace hw.DebugFormatter
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
[MeansImplicitUse]
[PublicAPI]
public sealed class EnableDumpAttribute : DumpEnabledAttribute
{
public int Order... | mit | C# |
bee5c176dead47b3b22afa95caa474153b8103de | Add comment about StaticSiteServerFixture | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.Blazor.E2ETest/Infrastructure/ServerFixtures/StaticSiteServerFixture.cs | test/Microsoft.Blazor.E2ETest/Infrastructure/ServerFixtures/StaticSiteServerFixture.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace Microsoft.Blazor.E2ETest.Infrastructu... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace Microsoft.Blazor.E2ETest.Infrastructu... | apache-2.0 | C# |
15137583954523e1474e6f6e26c4debee74d1700 | Add license header to Startup.cs | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | samples/WebApi/Startup.cs | samples/WebApi/Startup.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.As... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensio... | mit | C# |
ba171f6ed0948c2d15cf0d54417443ec35840cd4 | Add ProvisioningTicketUrl (#562) | auth0/auth0.net,auth0/auth0.net | src/Auth0.ManagementApi/Models/Connection.cs | src/Auth0.ManagementApi/Models/Connection.cs | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Connection object as returned from API calls.
/// </summary>
public class Connection : ConnectionBase
{
/// <summary>
/// The connection's identifier.
/// </summary>
[JsonProperty("id")]... | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Connection object as returned from API calls.
/// </summary>
public class Connection : ConnectionBase
{
/// <summary>
/// The connection's identifier.
/// </summary>
[JsonProperty("id")]... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.