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 |
|---|---|---|---|---|---|---|---|---|
fb47fe45a6723a2ddd4a05f275b82f317452f71d | Use Name and title interchangeably. | LordMike/TMDbLib | TMDbLib/Objects/General/TranslationData.cs | TMDbLib/Objects/General/TranslationData.cs | using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("name")]
public string Name { get; set; }
// Private hack to ensure two properties (name, title) are deserialized into Name.
// Tv Shows and Movies will use different names ... | using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("overview")]
public string Overview { get; set; }
[JsonProperty("homepage")]
public string HomePag... | mit | C# |
4c30ebe80b4bf88b41c71cc5b0796cb7f4365ae9 | Revert "Remove uneeded player collection methods" | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs | src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// The collection of network players that are known about.
/// </summary>
public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer>
{
/// <sum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// The collection of network players that are known about.
/// </summary>
public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer>
{
/// <sum... | agpl-3.0 | C# |
19214fcb9350a799eea2ba984cf1de7ec1aaf94f | fix performance issue caused by ASP.NET cache | JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support | nuget-extensions/nuget-feed/DataServices/TeamCityContext.cs | nuget-extensions/nuget-feed/DataServices/TeamCityContext.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Caching;
using JetBrains.Annotations;
using JetBrains.TeamCity.NuGet.Feed.Repo;
using JetBrains.TeamCity.ServiceMessages.Read;
namespace JetBrains.TeamCity.NuGet.Feed.DataServices
{
public static class TeamCityContext
{
... | using System;
using System.Web;
using System.Web.Caching;
using JetBrains.Annotations;
using JetBrains.TeamCity.NuGet.Feed.Repo;
using JetBrains.TeamCity.ServiceMessages.Read;
namespace JetBrains.TeamCity.NuGet.Feed.DataServices
{
public static class TeamCityContext
{
private static readonly Lazy<Re... | apache-2.0 | C# |
1a6665df623e87aea5e052c47e917268ac67ee7c | Update BookCreateViewModel to restrict the size of the ISBN input. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Models/BookViewModels/BookCreateViewModel.cs | src/Open-School-Library/Models/BookViewModels/BookCreateViewModel.cs | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.BookViewModels
{
public class BookCreateViewModel
{
public int BookID { get; set;... | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.BookViewModels
{
public class BookCreateViewModel
{
public int BookID { get; set;... | mit | C# |
cd6e77cbee67630922ab63cefa5de0d5d405099f | Fix handling of last block in an index - files at the ends of directories were missing. The last block can contain valuable info (it can be a node), so don't discard. | breezechen/DiscUtils,breezechen/DiscUtils,drebrez/DiscUtils,quamotion/discutils | src/Ntfs/IndexBlock.cs | src/Ntfs/IndexBlock.cs | //
// Copyright (c) 2008, Kenneth Bell
//
// 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, copy, modify, merge... | //
// Copyright (c) 2008, Kenneth Bell
//
// 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, copy, modify, merge... | mit | C# |
9da41d0c62eafc498489d459eef86aadf083bd72 | Create container before setting permissions (#899) | simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce | src/Modules/SimplCommerce.Module.StorageAzureBlob/AzureBlobStorageService.cs | src/Modules/SimplCommerce.Module.StorageAzureBlob/AzureBlobStorageService.cs | using System.Diagnostics.Contracts;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using SimplCommerce.Module.Core.Services;
namespace SimplCommerce.Module.StorageAzureBlob
{
public class Azu... | using System.Diagnostics.Contracts;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using SimplCommerce.Module.Core.Services;
namespace SimplCommerce.Module.StorageAzureBlob
{
public class Azu... | apache-2.0 | C# |
87f67b442d2a4e3d8bbb2f1034f3db1daff9d040 | update CA1065 suppression | OBeautifulCode/OBeautifulCode.Build | Analyzers/analyzers/SuppressBecause.cs | Analyzers/analyzers/SuppressBecause.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SuppressBecause.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet package. Wil... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SuppressBecause.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet package. Wil... | mit | C# |
b31f9088190e971609de18aad3b67828ff2cf097 | Add SegmentReference.Null | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver/SegmentReference.cs | src/AsmResolver/SegmentReference.cs | // AsmResolver - Executable file format inspection library
// Copyright (C) 2016-2019 Washi
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the Lice... | // AsmResolver - Executable file format inspection library
// Copyright (C) 2016-2019 Washi
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the Lice... | mit | C# |
40d179de7767aa75a47aafdc81b93a2a1bc37a6d | Create 7.2.3 release | dontjee/hyde | src/Hyde/Properties/AssemblyInfo.cs | src/Hyde/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( "T... | 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( "T... | bsd-3-clause | C# |
f3acc2cf4c3a7fc476b0054e076eb2ad9788293d | Add source and AspectMode to VideoView | bubavanhalen/XamarinMediaManager,martijn00/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,modplug/XamarinMediaManager,mike-rowley/XamarinMediaManager | MediaManager/Plugin.MediaManager.Forms/Plugin.MediaManager.Forms/VideoView.cs | MediaManager/Plugin.MediaManager.Forms/Plugin.MediaManager.Forms/VideoView.cs | using Plugin.MediaManager.Abstractions.Implementations;
using Xamarin.Forms;
namespace Plugin.MediaManager.Forms
{
public class VideoView : View
{
/// <summary>
/// Sets the aspect mode of the current video view
/// </summary>
public static readonly BindableProperty AspectM... | using Xamarin.Forms;
namespace Plugin.MediaManager.Forms
{
public class VideoView : View
{
}
}
| mit | C# |
8333e7c905bdb359fa0f77092373af74326fc913 | Update PushalotAuthorizationToken.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotAuthorizationToken.cs | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotAuthorizationToken.cs | using System;
using System.Linq;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotAuthorizationToken
{
private const string AUTHORIZATION_TOKEN_ALPHABET = "0123456789abcdef";
private const int AUTHORIZATION_TOKEN_LENGTH = 32;
public PushalotAuthorizationToken(string... | using System.Linq;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotAuthorizationToken
{
private const string AUTHORIZATION_TOKEN_ALPHABET = "0123456789abcdef";
private const int AUTHORIZATION_TOKEN_LENGTH = 32;
public PushalotAuthorizationToken(string authorization... | mit | C# |
0d7573c140424430f601bfb4307cfe0d4351b0b1 | fix app name | takenet/messaginghub-client-csharp | src/GettingStarted/Program.cs | src/GettingStarted/Program.cs | using System;
using System.Threading.Tasks;
using Lime.Protocol;
using Takenet.MessagingHub.Client;
using Takenet.MessagingHub.Client.Receivers;
namespace GettingStarted
{
internal static class Program
{
public static void Main(string[] args)
{
Init().Wait();
}
// ... | using System;
using System.Threading.Tasks;
using Lime.Protocol;
using Takenet.MessagingHub.Client;
using Takenet.MessagingHub.Client.Receivers;
namespace GettingStarted
{
internal static class Program
{
public static void Main(string[] args)
{
Init().Wait();
}
// ... | apache-2.0 | C# |
ce56bc3b169d44abfdb4a03ddea48d530c7470bf | Improve code | sakapon/Samples-2015 | EventHubsSample/SenderWpf/MainWindow.xaml.cs | EventHubsSample/SenderWpf/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Med... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Med... | mit | C# |
b657806b1ee4f63943dc57225b44f6ebf1266f34 | make shell helper public too | splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net | IPTables.Net/Iptables/Helpers/ShellHelper.cs | IPTables.Net/Iptables/Helpers/ShellHelper.cs | namespace IPTables.Net.Iptables.Helpers
{
public class ShellHelper
{
/// <summary>
/// Encodes an argument for passing into a program
/// </summary>
/// <param name="original">The value that should be received by the program</param>
/// <returns>
/// The ... | namespace IPTables.Net.Iptables.Helpers
{
internal class ShellHelper
{
/// <summary>
/// Encodes an argument for passing into a program
/// </summary>
/// <param name="original">The value that should be received by the program</param>
/// <returns>
/// Th... | apache-2.0 | C# |
0e2587b57aad8eb705ebe9e4828d09069fe16cbb | return empty string if option value unspecified | KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin | src/Kirkin/CommandLine/Parameters/OptionCommandParameter.cs | src/Kirkin/CommandLine/Parameters/OptionCommandParameter.cs | using System;
using System.Collections.Generic;
namespace Kirkin.CommandLine.Parameters
{
internal sealed class OptionCommandParameter
: CommandParameterBase<string>
{
public override bool SupportsMultipleValues
{
get
{
return false;
... | using System;
using System.Collections.Generic;
namespace Kirkin.CommandLine.Parameters
{
internal sealed class OptionCommandParameter
: CommandParameterBase<string>
{
public override bool SupportsMultipleValues
{
get
{
return false;
... | mit | C# |
c2e21496eb0042d374522f3a8eb89e035be80571 | Store selected implementation in cookie | hgcummings/DataAccessExamples,hgcummings/DataAccessExamples | DataAccessExamples.Web/Bootstrapper.cs | DataAccessExamples.Web/Bootstrapper.cs | using System;
using System.Linq;
using DataAccessExamples.Core.Services;
using Nancy.Bootstrapper;
using Nancy.Responses;
using Nancy.TinyIoc;
namespace DataAccessExamples.Web
{
using Nancy;
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureReque... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccessExamples.Core.Services;
using DataAccessExamples.Core.ViewModels;
using Nancy.TinyIoc;
namespace DataAccessExamples.Web
{
using Nancy;
public class Bootstrapper : DefaultNancyBootstrapper
{
... | cc0-1.0 | C# |
24650b332ae8c607bc00133f9b00ad1864383d49 | Fix IsRequiredAttribute. Closes #69 | stefanmielke/DataCore | DataCore/Attributes/ColumnAttribute.cs | DataCore/Attributes/ColumnAttribute.cs | using System;
namespace DataCore.Attributes
{
public class ColumnAttribute : Attribute
{
public string ColumnName { get; private set; }
public bool IsPrimaryKey { get; private set; }
public bool IsRequired { get; private set; }
public int Length { get; private set; }
pu... | using System;
namespace DataCore.Attributes
{
public class ColumnAttribute : Attribute
{
public string ColumnName { get; private set; }
public bool IsPrimaryKey { get; private set; }
public bool IsRequired { get; private set; }
public int Length { get; private set; }
pu... | mit | C# |
2cd64a3dcf93921cdebd3ebc745dd99488d3b2a2 | Add some more attributes to manifest | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker | Editor/AddinManifestEditorExtension.cs | Editor/AddinManifestEditorExtension.cs | using MonoDevelop.AddinMaker.Editor.ManifestSchema;
namespace MonoDevelop.AddinMaker.Editor
{
class AddinManifestEditorExtension : SchemaBasedEditorExtension
{
public override bool ExtendsEditor (MonoDevelop.Ide.Gui.Document doc, MonoDevelop.Ide.Gui.Content.IEditableTextBuffer editor)
{
return base.ExtendsEd... | using MonoDevelop.AddinMaker.Editor.ManifestSchema;
namespace MonoDevelop.AddinMaker.Editor
{
class AddinManifestEditorExtension : SchemaBasedEditorExtension
{
public override bool ExtendsEditor (MonoDevelop.Ide.Gui.Document doc, MonoDevelop.Ide.Gui.Content.IEditableTextBuffer editor)
{
return base.ExtendsEd... | mit | C# |
e69eb4de3f1090d710a3dc8b8140bca7beeb6ceb | Use LongTime. | tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin | LabWsKiatnakin/LabSwparkWs1/SimpleWcf.svc.cs | LabWsKiatnakin/LabSwparkWs1/SimpleWcf.svc.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace LabSwparkWs1
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "SimpleWcf" in code, svc and config file together.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace LabSwparkWs1
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "SimpleWcf" in code, svc and config file together.... | mit | C# |
6b33a163f8c24d6b36a15181d387e446d6319d92 | Hide cursor and quit with escape. | simonchauvin/LD38 | Assets/Scripts/GameManager.cs | Assets/Scripts/GameManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
void Start ()
{
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Locked;
}
void Update ()
{
if (Input.GetKey(KeyCode.Escape))
{
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
void Start ()
{
}
void Update ()
{
}
}
| mit | C# |
15dcaa87b8cb7da868e0f93a6fff09faaed8f7d4 | Implement interface in concrete class | dawoe/umbraco-nexu,dawoe/umbraco-nexu,dawoe/umbraco-nexu | src/Our.Umbraco.Nexu.Core/Services/NexuEntityRelationService.cs | src/Our.Umbraco.Nexu.Core/Services/NexuEntityRelationService.cs | namespace Our.Umbraco.Nexu.Core.Services
{
using Our.Umbraco.Nexu.Common.Interfaces.Services;
/// <summary>
/// Represents nexu entity relation service.
/// </summary>
public class NexuEntityRelationService : IEntityRelationService
{
}
}
| namespace Our.Umbraco.Nexu.Core.Services
{
/// <summary>
/// Represents nexu entity relation service.
/// </summary>
public class NexuEntityRelationService
{
}
}
| mit | C# |
1c3595ab6f7e22b8d23eea522eddaa41e13008fd | Add method - retractMessage | jpush/jmessage-api-csharp-client | jmessage/message/MessageClient.cs | jmessage/message/MessageClient.cs | using System;
using jmessage.util;
using jmessage.common;
using System.Diagnostics;
using Newtonsoft.Json;
namespace jmessage.message
{
public class MessageClient : BaseHttpClient
{
private const string HOST_NAME_SSL = "https://api.im.jpush.cn";
private const string MESSAGE_PATH = "/v1/message... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using jmessage.util;
using jmessage.common;
using System.Diagnostics;
using Newtonsoft.Json;
namespace jmessage.message
{
public class MessageClient : BaseHttpClient
{
private const String HOST_NAME_SSL = "https://ap... | mit | C# |
c303c2ce0b61b547d4bf19d1dec6ad9ec4320265 | Add default UpdatesConfiguration values | Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Configuration/UpdatesConfiguration.cs | src/Tgstation.Server.Host/Configuration/UpdatesConfiguration.cs | namespace Tgstation.Server.Host.Configuration
{
/// <summary>
/// Configuration for the automatic update system
/// </summary>
public sealed class UpdatesConfiguration
{
/// <summary>
/// The key for the <see cref="Microsoft.Extensions.Configuration.IConfigurationSection"/> the <see cref="UpdatesConfiguration... | namespace Tgstation.Server.Host.Configuration
{
/// <summary>
/// Configuration for the automatic update system
/// </summary>
public sealed class UpdatesConfiguration
{
/// <summary>
/// The key for the <see cref="Microsoft.Extensions.Configuration.IConfigurationSection"/> the <see cref="UpdatesConfiguration... | agpl-3.0 | C# |
6c9f3dec1184837ccdb10d2728c111152c9c549f | add build note | scottcarr/reviewbot | Github/KnownRepos.cs | Github/KnownRepos.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
using System.Environment;
namespace Github
{
class KnownRepos
{
private Dictionary<string, RepoInfo> reposDict;
public bool TryGetRepoInfo(string r... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
using System.Environment;
namespace Github
{
class KnownRepos
{
private Dictionary<string, RepoInfo> reposDict;
public bool TryGetRepoInfo(string r... | mit | C# |
f8c300d9deba5cbc12d43e1435f29917400133b7 | Remove debug output | shiftkey/codeformatter,twsouthwick/codeformatter,jaredpar/codeformatter,rollie42/codeformatter,BradBarnich/codeformatter,mmitche/codeformatter,srivatsn/codeformatter,michaelcfanning/codeformatter,jeremyabbott/codeformatter,shiftkey/Octokit.CodeFormatter,hickford/codeformatter,mmitche/codeformatter,weltkante/codeformatt... | scripts/CodeFormatter/CodeFormatter/Rules/HasCopyrightHeaderFormattingRule.cs | scripts/CodeFormatter/CodeFormatter/Rules/HasCopyrightHeaderFormattingRule.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CodeFormatter.Engine;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace CodeFormatter.Rules
{
[Export(typeof(IFormatti... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CodeFormatter.Engine;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace CodeFormatter.Rules
{
[Export(typeof(IFormatti... | mit | C# |
1ed0978b44afcca6b844492240deced24c48f500 | Increase version | MPZMail/MpzMail.Api,MahmutOhneC/MpzMail.Api | MpzMail.Api/Properties/AssemblyInfo.cs | MpzMail.Api/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("Mp... | 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("Mp... | apache-2.0 | C# |
ea6318ed73c22607c2aace18d7fa9cc7a659ebd1 | Fix failing test | ppy/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,peppy/osu,Useless... | osu.Game.Tests/Visual/Gameplay/TestSceneFailJudgement.cs | osu.Game.Tests/Visual/Gameplay/TestSceneFailJudgement.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
using osu.Game.Scorin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
using osu.Game.Scorin... | mit | C# |
dc642da87a9fd0babcd54532650383bb1e8ea663 | Add additional logging when PAYE scheme is added in finance domain | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.MessageHandlers/CommandHandlers/CreateAccountPayeCommandHandler.cs | src/SFA.DAS.EmployerFinance.MessageHandlers/CommandHandlers/CreateAccountPayeCommandHandler.cs | using System;
using System.Threading.Tasks;
using NServiceBus;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Messages.Commands;
using SFA.DAS.EmployerFinance.Models.Paye;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.EmployerFinance.MessageHandlers.CommandHandlers
{
public class CreateAccountPa... | using System;
using System.Threading.Tasks;
using NServiceBus;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Messages.Commands;
using SFA.DAS.EmployerFinance.Models.Paye;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.EmployerFinance.MessageHandlers.CommandHandlers
{
public class CreateAccountPa... | mit | C# |
8495a9caf04b26125578ae46a7f136e2eaca6cae | Add utility methods to struct DPI. | Grabacr07/MetroRadiance | source/MetroRadiance.Core/Interop/Dpi.cs | source/MetroRadiance.Core/Interop/Dpi.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace MetroRadiance.Interop
{
/// <summary>
/// モニターの DPI (dots per inch) を表します。
/// </summary>
[DebuggerDisplay("X = {X} ({... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace MetroRadiance.Interop
{
/// <summary>
/// モニターの DPI (dots per inch) を表します。
/// </summary>
[DebuggerDisplay("X = {X} ({ScaleX}), Y = {Y} ({ScaleY})")]
public struct Dpi
... | mit | C# |
99c70fe2729bf9570a672dea0b8cb6e90da9d7b2 | Set next version to be 1.0.1 | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | #region License
// Copyright (c) 2010-2015, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | #region License
// Copyright (c) 2010-2015, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | bsd-3-clause | C# |
4ab6432b90d49eb239b75b5e590c720466946437 | Set time limit in mail to a fixed text. | virtualdreams/notes-core,virtualdreams/notes-core,virtualdreams/notes-core,virtualdreams/notes-core | Core/Services/MailService.cs | Core/Services/MailService.cs | using MailKit.Net.Smtp;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MimeKit;
using System;
namespace notes.Core.Services
{
public class MailService
{
private readonly IOptions<Settings> Options;
private readonly ILogger<MailService> Log;
public MailService(IOptio... | using MailKit.Net.Smtp;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MimeKit;
using System;
namespace notes.Core.Services
{
public class MailService
{
private readonly IOptions<Settings> Options;
private readonly ILogger<MailService> Log;
public MailService(IOptio... | mit | C# |
d4868df627c95722e4e07329788c8fb8f5d6d216 | Remove disused data collection partition registers. | allenlooplee/Lbookshelf | Lbookshelf/App.xaml.cs | Lbookshelf/App.xaml.cs | using Lbookshelf.Models;
using Lbookshelf.Utils;
using Lbookshelf.ViewModels;
using Ldata;
using Ldata.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Lbookshelf
{
/// <summary>
... | using Lbookshelf.Models;
using Lbookshelf.Utils;
using Lbookshelf.ViewModels;
using Ldata;
using Ldata.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Lbookshelf
{
/// <summary>
... | mit | C# |
d00c3e76de04d7fb8fe3be85aba06828f698c6be | add default style | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.WebComponents/Internal/BootstrapStyle.cs | src/JoinRpg.WebComponents/Internal/BootstrapStyle.cs | namespace JoinRpg.WebComponents;
internal static class BootstrapStyle
{
public static string Build(string componentPrefix, VariationStyleEnum? variationStyle, SizeStyleEnum? size)
{
var variationString = variationStyle switch
{
VariationStyleEnum.Success => $" {componentPrefix}-succ... | namespace JoinRpg.WebComponents;
internal static class BootstrapStyle
{
public static string Build(string componentPrefix, VariationStyleEnum? variationStyle, SizeStyleEnum? size)
{
var variationString = variationStyle switch
{
VariationStyleEnum.Success => $" {componentPrefix}-succ... | mit | C# |
ffa2f7c181b6cd76fb767430849b1e5526c3db67 | Disable slow tests | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2016/Day14Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2016/Day14Tests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | apache-2.0 | C# |
1dbc97680964e36c58c9fd858c3fa03ec84062b3 | Tweak format of evaluation email per BC request | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Reports/EvaluationUpdated.cshtml | Battery-Commander.Web/Views/Reports/EvaluationUpdated.cshtml | @model BatteryCommander.Web.Models.Evaluation
<h1>@Model.Ratee</h1>
<table border="1">
<tbody>
<tr>
<td>Soldier</td>
<td>@Model.Ratee</td>
</tr>
<tr>
<td>Rater</td>
<td>@Model.Rater</td>
</tr>
<tr>
<td>SR Rater</td... | @model BatteryCommander.Web.Models.Evaluation
<h1>@Model.Ratee</h1>
<table border="1">
<tbody>
<tr>
<td>Soldier</td>
<td>@Model.Ratee</td>
</tr>
<tr>
<td>Rater</td>
<td>@Model.Rater</td>
</tr>
<tr>
<td>SR Rater</td... | mit | C# |
9ae4559784dec3805a81c769bd7801f98f726927 | Implement embedify function on frontend. | BibleBot/BibleBot,BibleBot/BibleBot,BibleBot/BibleBot | src/BibleBot.Frontend/Utils.cs | src/BibleBot.Frontend/Utils.cs | using BibleBot.Lib;
using DSharpPlus.Entities;
namespace BibleBot.Frontend
{
public class Utils
{
public enum Colours
{
NORMAL_COLOR = 6709986,
ERROR_COLOR = 16723502
}
public DiscordEmbed Embed2Embed(InternalEmbed embed)
{
var builde... | using BibleBot.Lib;
using DSharpPlus.Entities;
namespace BibleBot.Frontend
{
public class Utils
{
public DiscordEmbed Embed2Embed(InternalEmbed embed)
{
var builder = new DiscordEmbedBuilder();
var footerText =
builder.WithTitle(embed.Title);
b... | mpl-2.0 | C# |
8324dafbc71e097862930acd7aa19b87d9335dc3 | Fix reference in waves manager | bastuijnman/ludum-dare-36 | Assets/Scripts/WaveManager.cs | Assets/Scripts/WaveManager.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
class Enemy {
public string type;
public int number;
}
class Wave {
// Enemy definitions
public Enemy[] enemies;
// Wave has started
public bool started = false;
// Wave has completed
public bool completed = false... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
class Enemy {
public string type;
public int number;
}
class Wave {
// Enemy definitions
public Enemy[] enemies;
// Wave has started
public bool started = false;
// Wave has completed
public bool completed = false... | mit | C# |
17254ed2cdd996c474573ff35f52bb9d972db784 | return itself after initializing | taka-oyama/UniHttp | Assets/UniHttp/HttpManager.cs | Assets/UniHttp/HttpManager.cs | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System;
namespace UniHttp
{
public sealed class HttpManager : MonoBehaviour
{
public string dataPath;
public int maxPersistentConnections;
public static IContentSerializer RequestBodySerializer;
public static ISslVerifier SslVerifi... | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System;
namespace UniHttp
{
public sealed class HttpManager : MonoBehaviour
{
public string dataPath;
public int maxPersistentConnections;
public static IContentSerializer RequestBodySerializer;
public static ISslVerifier SslVerifi... | mit | C# |
5a5f2d26528e05e9053e538ebfe16d5c5790a2c9 | Update ArkQueryParamAttribute.cs | kristjank/ark-net,sharkdev-j/ark-net | ark-net/Attributes/ArkQueryParamAttribute.cs | ark-net/Attributes/ArkQueryParamAttribute.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArkQueryParamAttribute.cs" company="Ark">
// MIT License
// //
// // Copyright (c) 2017 Kristjan Košič
// //
// // Permission is hereby granted, free of charge, to any... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArkQueryParamAttribute.cs" company="Ark Labs">
// MIT License
// //
// // Copyright (c) 2017 Kristjan Košič
// //
// // Permission is hereby granted, free of charge, t... | mit | C# |
bfe4cd9c28e2e3dfc4a9fd3c8c02968dd335937c | Fix warning message. | andyfmiller/LtiLibrary | LtiLibrary.AspNetCore/Outcomes/v1/ImsxXmlMediaTypeModelBinder.cs | LtiLibrary.AspNetCore/Outcomes/v1/ImsxXmlMediaTypeModelBinder.cs | using LtiLibrary.NetCore.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace LtiLibrary.AspNetCore.Outcomes.v1
{
/// <summary>
/// Use this ModelBinder to deserialize imsx_POXEnvelopeRequest XML. For e... | using LtiLibrary.NetCore.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace LtiLibrary.AspNetCore.Outcomes.v1
{
/// <summary>
/// Use this ModelBinder to deserialize imsx_POXEnvelopeRequest XML. For e... | apache-2.0 | C# |
fa58d40ad43a5d2963c537c6a6401758af08b782 | Bump version number to 0.13 | opcon/Substructio,opcon/Substructio | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Su... | 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("Su... | mit | C# |
cba74cb781758f097c53ba15b45d3f1b2c153453 | test changes 3 | Y2PM/ProjectWeeks9Ten11,Y2PM/ProjectWeeks9Ten11,Y2PM/ProjectWeeks9Ten11 | ECommerce.Project/Program.cs | ECommerce.Project/Program.cs | using DatabaseLibrary;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace ECommerce.Project
{
class Program
{
private static readonly ILog logger = LogMan... | using DatabaseLibrary;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace ECommerce.Project
{
class Program
{
private static readonly ILog logger = LogMan... | mit | C# |
370b41ef5ee4520c53e5961dbf29bb08afa9683c | fix interface talkservice | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/Extensions/ArtificialIntelligence/ITalkServiceExtension.cs | src/Takenet.MessagingHub.Client/Extensions/ArtificialIntelligence/ITalkServiceExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Takenet.Iris.Messaging.Resources;
namespace Takenet.MessagingHub.Client.Extensions.ArtificialIntelligence
{
public interface ITalkServiceExtension
{
Task<An... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Takenet.MessagingHub.Client.Extensions.ArtificialIntelligence
{
public interface ITalkServiceExtension
{
}
}
| apache-2.0 | C# |
5b383916ced7a65d14129e6fe34d2547815818b9 | Cover RouteService with unit tests - edited test | BikeMates/bike-mates,BikeMates/bike-mates,BikeMates/bike-mates | BikeMates/BikeMates.Test/Services/RouteServiceTest.cs | BikeMates/BikeMates.Test/Services/RouteServiceTest.cs | using BikeMates.Application.Services;
using BikeMates.Contracts.Repositories;
using BikeMates.Contracts.Services;
using BikeMates.Domain.Entities;
using Moq;
using NUnit.Framework;
using System;
namespace BikeMates.Test
{
[TestFixture]
class RouteServiceTests
{
private Mock<IUserRepository> userRe... | using BikeMates.Application.Services;
using BikeMates.Contracts.Repositories;
using BikeMates.DataAccess.Managers;
using BikeMates.DataAccess.Repository;
using BikeMates.Domain.Entities;
using BikeMates.Domain.Entities;
using BikeMates.DataAccess.Managers;
using NUnit.Framework;
using System;
using System.Collections.... | mit | C# |
80485325f0f762fc9b394337cb8e8b8150cf30c6 | Add ReadSingleOrEnumerableJsonConverter attribute to allow single common_words values to be deserialized Fix for #2886 | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Analysis/TokenFilters/CommonGramsTokenFilter.cs | src/Nest/Analysis/TokenFilters/CommonGramsTokenFilter.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// Token filter that generates bigrams for frequently occuring terms. Single terms are still indexed.
///<para>Note, common_words or common_words_path field is required.</para>
/// </summary>
public interface ICommonGramsTok... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// Token filter that generates bigrams for frequently occuring terms. Single terms are still indexed.
///<para>Note, common_words or common_words_path field is required.</para>
/// </summary>
public interface ICommonGramsTok... | apache-2.0 | C# |
e02073fed57495f8ac43f2da489a18eca3b2f2d0 | Use Amount as coin identifier. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs | using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinInfoTabViewModel : WasabiDocumentTabViewModel
{
public CoinInfoTabViewModel(CoinViewModel coin) : base(string.Empty)
{
Coin = coin;
Title = $"Coin ({coin.Amount.ToString(false, true)}) Details";
}
... | using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinInfoTabViewModel : WasabiDocumentTabViewModel
{
public CoinInfoTabViewModel(CoinViewModel coin) : base(string.Empty)
{
Coin = coin;
Title = $"Details of {coin.OutputIndex}:{coin.TransactionId[0..7]}";
... | mit | C# |
f99e9bd4cd1a2ec2a8a85a65140abf6bd397087d | Reset scale when resetting model layout | michael-reichenauer/Dependinator | Dependinator/ModelViewing/Private/ModelViewService.cs | Dependinator/ModelViewing/Private/ModelViewService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Dependinator.Common;
using Dependinator.Common.ModelMetadataFolders.Private;
using Dependinator.Common.ProgressHandling;
using Dependinator.Common.SettingsHandling;
using Dependinator.ModelViewing.It... | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Dependinator.Common;
using Dependinator.Common.ModelMetadataFolders.Private;
using Dependinator.Common.ProgressHandling;
using Dependinator.Common.SettingsHandling;
using Dependinator.ModelViewing.It... | mit | C# |
3ff7e242dea1add730be22e02bdf2857274f5449 | Check for parent existence in Scope.Get | ecologylab/simplCSharp | Simpl.Fundamental/Collections/Scope.cs | Simpl.Fundamental/Collections/Scope.cs | using System;
using System.Collections.Generic;
// ReSharper disable CheckNamespace
namespace ecologylab.collections
// ReSharper restore CheckNamespace
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
public class Scope<T> : Dictionary<String , T>
{
... | using System;
using System.Collections.Generic;
// ReSharper disable CheckNamespace
namespace ecologylab.collections
// ReSharper restore CheckNamespace
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
public class Scope<T> : Dictionary<String , T>
{
... | apache-2.0 | C# |
0507a56f53a339f833ad899b5dbb9defe88bbbe7 | Make data model properties virtual | googleapis/gapic-generator-csharp,googleapis/gapic-generator-csharp | Google.Api.Generator.Rest/Models/DataPropertyModel.cs | Google.Api.Generator.Rest/Models/DataPropertyModel.cs | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# |
a428c2a2127b96bf05c152932ef5cc9b3da7d10e | Update 20180327.LuckWheelManager.cs | twilightspike/cuddly-disco,twilightspike/cuddly-disco | main/20180327.LuckWheelManager.cs | main/20180327.LuckWheelManager.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System;
public class LuckWheelManager: MonoBehaviour{
/*stuffset*/
private bool _beStarted;
private float[] _angleSector;
private float _angleFinal;
private float _angleBegin;
private float _lerpRotateTim... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System;
public class LuckWheelManager: MonoBehaviour{
/*stuffset*/
private bool _beStarted;
private float[] _angleSector;
private float _angleFinal;
private float _angleBegin;
private float _lerpRotateTim... | mit | C# |
5498e445702a48bc99a3a0e9eb48cfbcdbc0d048 | Fix CAS v2 attribute. | undeadlabs/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,scopely/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli | cli/src/MsgPack/Properties/AssemblyInfo.cs | cli/src/MsgPack/Properties/AssemblyInfo.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | apache-2.0 | C# |
415a6abb6064508d389f86de7667c1e57eb23cb4 | Update IRestRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/IRestRepository.cs | TIKSN.Core/Web/Rest/IRestRepository.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Data;
namespace TIKSN.Web.Rest
{
public interface IRestRepository<TEntity, TIdentity> where TEntity : IEntity<TIdentity>
where TIdentity : IEquatable<TIdentity>
{
Task AddAsync(TEntity entity, CancellationToken can... | using System;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Data;
namespace TIKSN.Web.Rest
{
public interface IRestRepository<TEntity, TIdentity> where TEntity : IEntity<TIdentity> where TIdentity : IEquatable<TIdentity>
{
Task AddAsync(TEntity entity, CancellationToken cancellatio... | mit | C# |
98c63008c441394e3e63bea70160a06934cf4de6 | Use CreateLocalTable in test | linq2db/linq2db,MaceWindu/linq2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,ronnyek/linq2db,LinqToDB4iSeries/linq2db | Tests/Linq/UserTests/Issue1305Tests.cs | Tests/Linq/UserTests/Issue1305Tests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
/// <summary>
/// Test fixes to Issue #1305.
/// Before fix fields in derived tables we... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
/// <summary>
/// Test fixes to Issue #1305.
/// Before fix fields in derived tables we... | mit | C# |
cbf2169d59f6c92138aa2b4693ef5127ea49f762 | Update namespace | JustinPhlegar/Orasi | Toolkit/Test/Utils/AlertHandlerTest.cs | Toolkit/Test/Utils/AlertHandlerTest.cs | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
using Orasi.Toolkit.Utils;
namespace Orasi.Toolkit.Test.Utils
{
[TestFixture]
public class AlertHandlerTest
{
FirefoxDriver _driver;
[SetUp]
... | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
using Orasi.Toolkit.Utils;
namespace Orasi.Toolkit
{
[TestFixture]
public class AlertHandlerTest
{
FirefoxDriver _driver;
[SetUp]
public... | mit | C# |
fa8ce844f71c283ac48f958ba50df5640c77992e | Fix autogeneration of Framework version Version has to be Major.Minor.* instead of Major.Minor.*.* | hotelde/regtesting,AlexEndris/regtesting | RegTesting.Tests.Framework/Properties/AssemblyInfo.cs | RegTesting.Tests.Framework/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("Re... | 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("Re... | apache-2.0 | C# |
41ccf1e81135490715dd2f0cb0c3f8500cde0d35 | Add ignored test. | sillvan/Pash,mrward/Pash,Jaykul/Pash,Jaykul/Pash,mrward/Pash,sburnicki/Pash,sburnicki/Pash,WimObiwan/Pash,mrward/Pash,ForNeVeR/Pash,Jaykul/Pash,mrward/Pash,ForNeVeR/Pash,sillvan/Pash,ForNeVeR/Pash,WimObiwan/Pash,ForNeVeR/Pash,sillvan/Pash,WimObiwan/Pash,Jaykul/Pash,sburnicki/Pash,sburnicki/Pash,sillvan/Pash,WimObiwan/P... | Source/TestHost/FileSystemTests/ShellExecutionTest.cs | Source/TestHost/FileSystemTests/ShellExecutionTest.cs | // Copyright (C) Pash Contributors. License GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.IO;
using NUnit.Framework;
namespace TestHost.FileSystemTests
{
class ShellExecutionTest : FileSystemTestBase
{
[Test]
[TestCase("file.bat", "123")]
public void Fil... | // Copyright (C) Pash Contributors. License GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.IO;
using NUnit.Framework;
namespace TestHost.FileSystemTests
{
class ShellExecutionTest : FileSystemTestBase
{
[Test]
[TestCase("file.bat", "123")]
public void Fil... | bsd-3-clause | C# |
153a5a2c5736f904e6e1df048d2958c131318355 | Add null check for debug check and fallback to Calling assembly (#2530) | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework/Development/DebugUtils.cs | osu.Framework/Development/DebugUtils.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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
namespace osu.Framework.Development
{
pu... | // 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
namespace osu.Framework.Development
{
pu... | mit | C# |
89ad55779c42d81b5f66402ae1bb48dd14ce980c | Make velocities public | EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework | osu.Framework/Input/States/MidiState.cs | osu.Framework/Input/States/MidiState.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;
namespace osu.Framework.Input.States
{
public class MidiState
{
public readonly ButtonStates<MidiKey> Keys = new Button... | // 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;
namespace osu.Framework.Input.States
{
public class MidiState
{
public readonly ButtonStates<MidiKey> Keys = new Button... | mit | C# |
854de3f99abf2a57675c03a287c325c8a0d46261 | apply Windows line endings | nspec/NSpec,mattflo/NSpec,mattflo/NSpec,nspec/NSpec,mattflo/NSpec,BennieCopeland/NSpec,mattflo/NSpec,BennieCopeland/NSpec | NSpecSpecs/SpecExtensions.cs | NSpecSpecs/SpecExtensions.cs | using System.Linq;
using System.Text.RegularExpressions;
using NSpec;
using NSpec.Domain;
namespace NSpecSpecs
{
public static class SpecExtensions
{
public static Context Find(this ContextCollection contextCollection, string name)
{
return contextCollection.AllContexts()... | using System.Linq;
using System.Text.RegularExpressions;
using NSpec;
using NSpec.Domain;
namespace NSpecSpecs
{
public static class SpecExtensions
{
public static Context Find(this ContextCollection contextCollection, string name)
{
return contextCollection.AllContexts().Firs... | mit | C# |
93e2d8f30984d1cdb880a5bb2fcd180cc4a8a35f | Allow testing of all chat-related classes dynamically | peppy/osu,johnneijzen/osu,DrabWeb/osu,2yangk23/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,naoey/osu,peppy/osu,naoey/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,DrabWeb/osu,EVAST9919/osu,naoey/... | osu.Game.Tests/Visual/TestCaseChatDisplay.cs | osu.Game.Tests/Visual/TestCaseChatDisplay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
using osu.Game.Overlays.C... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual
{
[Description("Testing chat api and... | mit | C# |
2c9ac88d2c450762f4b482dbf9f26fc4750cec0d | Update WeavingHelper.cs | Fody/Costura,Fody/Costura | Tests/WeavingHelper.cs | Tests/WeavingHelper.cs | using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Fody;
#pragma warning disable 618
static class WeavingHelper
{
public static TestResult CreateIsolatedAssemblyCopy(string assemblyPath, string config, string[] references, string assemblyName)
{
var weavingTask = new Module... | using System.IO;
using System.Linq;
using System.Xml.Linq;
using Fody;
#pragma warning disable 618
static class WeavingHelper
{
public static TestResult CreateIsolatedAssemblyCopy(string assemblyPath, string config, string[] references, string assemblyName)
{
var weavingTask = new ModuleWeaver
... | mit | C# |
57d8e7b7298aeda9054ad18dccde2f7c81b44428 | Disable unit test for Linux arm64. | dlemstra/Magick.NET,dlemstra/Magick.NET | tests/Magick.NET.Tests/MagickImageCollectionTests/TheComplexMethod.cs | tests/Magick.NET.Tests/MagickImageCollectionTests/TheComplexMethod.cs | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System;
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickImageCollectionTests
{
public class TheComplexMethod
{
[Fact]
... | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System;
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickImageCollectionTests
{
public class TheComplexMethod
{
[Fact]
... | apache-2.0 | C# |
97460ae514b31e7d419bf7095d3bfa968bcfc6d3 | change one comment in tests | zchpit/Algorithms | C#/ZadaniaBartosza/ZadaniaBartosza/Task2Tests.cs | C#/ZadaniaBartosza/ZadaniaBartosza/Task2Tests.cs | using System;
using NUnit.Framework;
namespace ZadaniaBartosza
{
[TestFixture]
public class Task2Tests
{
Task2 task;
public Task2Tests ()
{
task = new Task2();
}
[Test]
public void PrimeNumbers()
{
//results taken from https://pl.wikipedia.org/wiki/Liczba_pierwsza
Assert.IsTrue(task.IsPrimeN... | using System;
using NUnit.Framework;
namespace ZadaniaBartosza
{
[TestFixture]
public class Task2Tests
{
Task2 task;
public Task2Tests ()
{
task = new Task2();
}
[Test]
public void PrimeNumbers()
{
//results taken from https://pl.wikipedia.org/wiki/Silnia
Assert.IsTrue(task.IsPrimeNumber (3)... | mit | C# |
63cc91d41baf1fb05afed7ea40cef1838ce11b79 | Fix crew boarding event | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | Client/Systems/VesselCrewSys/VesselCrewEvents.cs | Client/Systems/VesselCrewSys/VesselCrewEvents.cs | using LunaClient.Base;
using LunaClient.Systems.Lock;
using LunaClient.Systems.SettingsSys;
using LunaClient.Systems.VesselProtoSys;
using LunaClient.Systems.VesselRemoveSys;
using LunaClient.VesselUtilities;
namespace LunaClient.Systems.VesselCrewSys
{
public class VesselCrewEvents : SubSystem<VesselCrewSystem>
... | using LunaClient.Base;
using LunaClient.Systems.Lock;
using LunaClient.Systems.VesselProtoSys;
using LunaClient.Systems.VesselRemoveSys;
using LunaClient.VesselUtilities;
namespace LunaClient.Systems.VesselCrewSys
{
public class VesselCrewEvents : SubSystem<VesselCrewSystem>
{
/// <summary>
//... | mit | C# |
1f031ae84229a529f459ae24f5390d315dc8bdba | Add extensions to EntityPrototype | space-wizards/space-station-14-content,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,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/Utility/EntityPrototypeHelpers.cs | Content.Shared/Utility/EntityPrototypeHelpers.cs | #nullable enable
using System;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
namespace Content.Shared.Utility
{
[UsedImplicitly]
public static class EntityPrototypeHelpers
{
public ... | #nullable enable
using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
namespace Content.Shared.Utility
{
public static class EntityPrototypeHelpers
{
public static bool HasComponent<T>(string prototype, IPro... | mit | C# |
d53e6f7e0eec1fce3549b08b22db1d25def77dea | Remove unused references | ZLima12/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,UselessToucan/osu... | osu.Game.Rulesets.Osu/Edit/OsuHitObjectComposer.cs | osu.Game.Rulesets.Osu/Edit/OsuHitObjectComposer.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.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Tools;
using osu.Game.Rulesets.Objects.Drawables;
us... | // 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.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.... | mit | C# |
ccd664896185a0aff852fb8eaf6c47cb1b7bf125 | Update pinned score container header to use localised title | peppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Overlays/Profile/Sections/RanksSection.cs | osu.Game/Overlays/Profile/Sections/RanksSection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections.Ranks;
using osu.Game.Online.API.Requests;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections.Ranks;
using osu.Game.Online.API.Requests;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespa... | mit | C# |
4fae3450a64e596c619c134fa9f39aad801ef72d | Replace GetHover implementation with generated classes. | modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS | DanTup.DartAnalysis/Commands/AnalysisGetHover.cs | DanTup.DartAnalysis/Commands/AnalysisGetHover.cs | using System.Threading.Tasks;
using DanTup.DartAnalysis.Json;
namespace DanTup.DartAnalysis
{
public static class AnalysisGetHoverImplementation
{
public static async Task<HoverInformation[]> GetHover(this DartAnalysisService service, string file, int offset)
{
var request = new AnalysisGetHoverRequest
{
... | using System.Threading.Tasks;
namespace DanTup.DartAnalysis
{
class AnalysisGetHoverRequest : Request<AnalysisGetHoverParams, Response<AnalysisGetHoverResponse>>
{
public string method = "analysis.getHover";
public AnalysisGetHoverRequest(string file, int offset)
{
this.@params = new AnalysisGetHoverParam... | mit | C# |
c2947154bf3cc4c199c8cc9aec1d5a12b29f8ab2 | build fix. | flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | FlubuCore.WebApi/Repository/SeriLogRepository.cs | FlubuCore.WebApi/Repository/SeriLogRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LiteDB;
namespace FlubuCore.WebApi.Repository
{
public class SerilogRepository : ISerilogRepository
{
private readonly LiteDatabase _db;
public SerilogRepository(LiteDatabase db)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LiteDB;
namespace FlubuCore.WebApi.Repository
{
public class SerilogRepository : ISerilogRepository
{
private readonly LiteDatabase _db;
public SerilogRepository(LiteDatabase db)
{
... | bsd-2-clause | C# |
2f2b00537961eba3a96d1e70531bba36582ed0de | Add dummy stacktrace when missing from exception | awseward/Bugsnag.NET,awseward/Bugsnag.NET | Bugsnag.PCL/Extensions/Extensions.cs | Bugsnag.PCL/Extensions/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Bugsnag.PCL.Extensions
{
static class Extensions
{
/// <remarks>Not sure I'm really thrilled with this...</remarks>
public static IEnumerable<Exception> Unwrap(this Exception ex)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Bugsnag.PCL.Extensions
{
static class Extensions
{
/// <remarks>Not sure I'm really thrilled with this...</remarks>
public static IEnumerable<Exception> Unwrap(this Exception ex)
... | mit | C# |
c39a3f108837587fd166a0fd0ceb8a9259d24eaa | Add unary precedence test. | plasma-umass/parcel,plasma-umass/parcel,plasma-umass/parcel | ParcelTest/PrecedenceTests.cs | ParcelTest/PrecedenceTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExprOpt = Microsoft.FSharp.Core.FSharpOption<AST.Expression>;
using Expr = AST.Expression;
namespace ParcelTest
{
[TestClass]
public class PrecedenceTests
{
[TestMethod]
public void MultiplicationVsAdditionPrecedenceTe... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExprOpt = Microsoft.FSharp.Core.FSharpOption<AST.Expression>;
using Expr = AST.Expression;
namespace ParcelTest
{
[TestClass]
public class PrecedenceTests
{
[TestMethod]
public void MultiplicationVsAdditionPrecedenceTe... | bsd-2-clause | C# |
43b4ca562bf8a8ce72a58ca43b9381dc388f6b2e | change client to reference interface so it could be mocked later on | aarondcoleman/Fitbit.NET,amammay/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET,amammay/Fitbit.NET,WestDiscGolf/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,AlexGhiondea/Fitbit.NET,amammay/Fitbit.NET,AlexGhiondea/Fitbit.NET,aarondcoleman/Fitbit.NET | Fitbit.IntegrationTests/TestsBase.cs | Fitbit.IntegrationTests/TestsBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Fitbit.Api;
using RestSharp;
using Fitbit.Models;
namespace Fitbit.IntegrationTests
{
public class TestsBase
{
public TestsBase()
{
RestClient restCli... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Fitbit.Api;
using RestSharp;
using Fitbit.Models;
namespace Fitbit.IntegrationTests
{
public class TestsBase
{
public TestsBase()
{
RestClient restCli... | mit | C# |
63c932db322e27cfcec313303cdde87f1f695c45 | Fix the issue with multiple new day buttons | AlinCiocan/PlanEatSave,AlinCiocan/PlanEatSave,AlinCiocan/FoodPlanApp,AlinCiocan/FoodPlanApp,AlinCiocan/FoodPlanApp,AlinCiocan/PlanEatSave | FoodPlanApp/Views/Board/Index.cshtml | FoodPlanApp/Views/Board/Index.cshtml | @{
Layout = null;
}
<html>
<head>
<title>FoodPlan App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/Styles/board-style.css">
<script src="/Scripts/jquery-2.1.4.js"></script>
<script src="~/Scripts/angular.js"></script>
... | @{
Layout = null;
}
<html>
<head>
<title>FoodPlan App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/Styles/board-style.css">
<script src="/Scripts/jquery-2.1.4.js"></script>
<script src="~/Scripts/angular.js"></script>
... | mit | C# |
4cfca4ae0373f4fd702ef2e60aca83d70e13887f | Update RowClickedEventArgs.cs according to code guidelines | YOTOV-LIMITED/monotouch-samples,markradacz/monotouch-samples,iFreedive/monotouch-samples,nelzomal/monotouch-samples,davidrynn/monotouch-samples,nervevau2/monotouch-samples,peteryule/monotouch-samples,hongnguyenpro/monotouch-samples,nelzomal/monotouch-samples,YOTOV-LIMITED/monotouch-samples,nervevau2/monotouch-samples,s... | CoreAnimation/Code/NavigationTable/RowClickedEventArgs.cs | CoreAnimation/Code/NavigationTable/RowClickedEventArgs.cs | using System;
namespace Example_CoreAnimation.Code.NavigationTable
{
public class RowClickedEventArgs : EventArgs
{
public NavItem Item { get; set; }
public RowClickedEventArgs (NavItem item) : base ()
{
Item = item;
}
}
}
| using System;
namespace Example_CoreAnimation.Code.NavigationTable
{
public class RowClickedEventArgs : EventArgs
{
public NavItem Item { get; set; }
public RowClickedEventArgs(NavItem item) : base()
{ this.Item = item; }
}
}
| mit | C# |
3248e984b0c5cc3b6f1d8897425068159e172196 | Add System Programming Lab2 Automaton Builder - Added Start and Finish | pugachAG/univ,pugachAG/univ,pugachAG/univ | SystemProgramming/Lab2/Lab2/Automaton/AutomatonBuilder.cs | SystemProgramming/Lab2/Lab2/Automaton/AutomatonBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2.Automaton
{
public class AutomatonBuilder : IIOAutomatonBuilder
{
private FiniteStateAutomaton automaton = new FiniteStateAutomaton();
public void AddSta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2.Automaton
{
public class AutomatonBuilder : IIOAutomatonBuilder
{
private FiniteStateAutomaton automaton = new FiniteStateAutomaton();
public void AddSta... | mit | C# |
d421069df278b68654b99c5c93f1f097a1a62f5e | Update FastBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/FastBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/FastBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal(object obj)
{
var output = new OutputBuffer();
var writer = new FastBinaryWriter<O... | using Bond.IO.Safe;
using Bond.Protocols;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondSerializer : SerializerBase<byte[]>
{
public FastBinaryBondSerializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
}
... | mit | C# |
5e64b173f40641bb05164321ab7ecaa75a61d1c4 | Remove some duplication in RpcController | akrisiun/git-dot-aspx,linquize/git-dot-aspx,hafstrom/git-dot-aspx,akrisiun/git-dot-aspx,kaa/git-dot-aspx,kaa/git-dot-aspx,JeremySkinner/git-dot-aspx,hafstrom/git-dot-aspx,akrisiun/git-dot-aspx,linquize/git-dot-aspx,JeremySkinner/git-dot-aspx,kaa/git-dot-aspx,linquize/git-dot-aspx,hafstrom/git-dot-aspx,JeremySkinner/git... | GitAspx/Controllers/RpcController.cs | GitAspx/Controllers/RpcController.cs | namespace GitAspx.Controllers {
using System;
using System.IO;
using System.Web.Mvc;
using GitAspx.Lib;
using GitSharp.Core;
using GitSharp.Core.Transport;
// Handles project/git-upload-pack and project/git-receive-pack
public class RpcController : BaseController {
RepositoryService repositories;
... | namespace GitAspx.Controllers {
using System;
using System.IO;
using System.Web.Mvc;
using GitAspx.Lib;
using GitSharp.Core.Transport;
// Handles project/git-upload-pack and project/git-receive-pack
public class RpcController : BaseController {
RepositoryService repositories;
public RpcControlle... | apache-2.0 | C# |
6815f740c43b5375274f31e161273bca408fc1cd | Bump version to 0.9.5 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
937e67bd9ee7df19c2651abf6181d79d493f97cf | Bump version to 0.8.2 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
f8d59d33633e37d5bb479d006ddbf051db94208e | Bump version to 0.12.1 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
f15f3c80e91bc76e8aeebab3c421111a841cd72e | optimize regex | secondsun/fehbot | FehBot/Handlers/AccountLinkHandler.cs | FehBot/Handlers/AccountLinkHandler.cs | using System;
using System.Text.RegularExpressions;
using MongoDB.Driver;
using MongoDB.Bson;
using FehBot.Vo;
using FehBot.DBUtil;
using Newtonsoft.Json.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using MongoDB.Bson.IO;
using System.Text;
namespace FehBot.Handlers
{
public class AccountLinkHandler :... | using System;
using System.Text.RegularExpressions;
using MongoDB.Driver;
using MongoDB.Bson;
using FehBot.Vo;
using FehBot.DBUtil;
using Newtonsoft.Json.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using MongoDB.Bson.IO;
using System.Text;
namespace FehBot.Handlers
{
public class AccountLinkHandler :... | apache-2.0 | C# |
5ba96c8deb10b874a0c6d4686a49f8c12853be7b | Add support for BillingThresholds on SubscriptionItemOptions | stripe/stripe-dotnet | src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs | src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemOptions : IHasId, INestedOptions, IHasMetadata
{
/// <summary>
/// Define thresholds at which an invoice will be sent, and the subscription advanced to a
/// new billing peri... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemOptions : IHasId, INestedOptions, IHasMetadata
{
/// <summary>
/// Delete all usage for a given subscription item. Only allowed when <c>deleted</c> is set
/// to true and the... | apache-2.0 | C# |
a4c3230ce11958e5eacd94f24ad567f42c394982 | Use PropertyInfo | domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,oconics/Ahoy,oconics/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore | src/Swashbuckle.SwaggerGen/Annotations/XmlCommentsModelFilter.cs | src/Swashbuckle.SwaggerGen/Annotations/XmlCommentsModelFilter.cs | using System.Xml.XPath;
using System.Reflection;
using Swashbuckle.SwaggerGen.Generator;
using Swashbuckle.Swagger.Model;
namespace Swashbuckle.SwaggerGen.Annotations
{
public class XmlCommentsModelFilter : IModelFilter
{
private const string MemberXPath = "/doc/members/member[@name='{0}']";
p... | using System.Xml.XPath;
using System.Reflection;
using Swashbuckle.SwaggerGen.Generator;
using Swashbuckle.Swagger.Model;
namespace Swashbuckle.SwaggerGen.Annotations
{
public class XmlCommentsModelFilter : IModelFilter
{
private const string MemberXPath = "/doc/members/member[@name='{0}']";
p... | mit | C# |
6c6e7dc0c30e29cd96265d10b371442ffe788e3d | Update comments. | jetreports/EPPlus | EPPlus/Drawing/Slicers/TabularDataNode.cs | EPPlus/Drawing/Slicers/TabularDataNode.cs | using System;
using System.Xml;
namespace OfficeOpenXml.Drawing.Slicers
{
#region Enums
/// <summary>
/// Enum representing the sort order of tabular cached slicer data.
/// </summary>
public enum SortOrder
{
/// <summary>
/// Values are sorted ascending (A-Z).
/// </summary>
Ascending = 0,
/// <summa... | using System;
using System.Xml;
namespace OfficeOpenXml.Drawing.Slicers
{
#region Enums
public enum SortOrder
{
Ascending = 0,
Descending = 1
};
#endregion
/// <summary>
/// Wraps a <tabular /> node in <slicerCacheDefinition-data />.
/// </summary>
public class TabularDataNode : XmlHelper
{
#region P... | lgpl-2.1 | C# |
375f64ffd1b44fff175b736ad2d4ff4e30419af7 | Check empty string more explicitly in `IsRomanised()` | NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu | osu.Game/Beatmaps/MetadataUtils.cs | osu.Game/Beatmaps/MetadataUtils.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 System.Linq;
using System.Text;
namespace osu.Game.Beatmaps
{
/// <summary>
/// Groups utility methods used to handle beatmap metadata.
... | // 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 System.Linq;
using System.Text;
namespace osu.Game.Beatmaps
{
/// <summary>
/// Groups utility methods used to handle beatmap metadata.
... | mit | C# |
c402ecf205b708995a9683aed0ea19efc2926214 | Add replace service | AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/Lite,AspectCore/AspectCore-Framework | src/AspectCore.Lite.DependencyInjection/ServiceCollectionExtensions.cs | src/AspectCore.Lite.DependencyInjection/ServiceCollectionExtensions.cs | using AspectCore.Lite.Abstractions;
using AspectCore.Lite.Common;
using AspectCore.Lite.DependencyInjection.Internal;
using AspectCore.Lite.Extensions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace AspectCore.Lite.DependencyInjection
{
public ... | using AspectCore.Lite.Abstractions;
using AspectCore.Lite.Common;
using AspectCore.Lite.DependencyInjection.Internal;
using AspectCore.Lite.Extensions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace AspectCore.Lite.DependencyInjection
{
public ... | mit | C# |
b77ea918e90818409f6824df5e37a9fde3be3e82 | Update Global.asax.cs | ahmedmatem/asp.net-mvc-template,ahmedmatem/asp.net-mvc-template,ahmedmatem/asp.net-mvc-template | MVCTemplate/Web/MVCTemplate.Web/Global.asax.cs | MVCTemplate/Web/MVCTemplate.Web/Global.asax.cs | namespace MVCTemplate.Web
{
using System.Data.Entity;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Data;
using Data.Migrations;
using Infrastructure.Mapping;
using System.Reflection;
public class MvcApplication : System.Web.HttpApplication
... | namespace MVCTemplate.Web
{
using System.Data.Entity;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Data;
using Data.Migrations;
using Infrastructure.Mapping;
using System.Reflection;
public class MvcApplication : System.Web.HttpApplication
... | mit | C# |
c37438115832ddf2e6e036a2a727066c4bcaa198 | increase version | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Nager.Date/Properties/AssemblyInfo.cs | Nager.Date/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("Na... | 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("Na... | mit | C# |
afd5316a264d9382c5032645a06547f2cec2ab19 | Fix issue #18 #17 | themehrdad/NetTelebot,vertigra/NetTelebot-2.0 | NetTelebot/ReplyKeyboardHideMarkup.cs | NetTelebot/ReplyKeyboardHideMarkup.cs | using System.Text;
namespace NetTelebot
{
/// <summary>
/// Upon receiving a message with this object, Telegram clients will hide the current custom keyboard and display the default letter-keyboard.
/// By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made ... | using System.Text;
namespace NetTelebot
{
/// <summary>
/// Upon receiving a message with this object, Telegram clients will hide the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-... | mit | C# |
a252ba10ecf9a49124bb9e93e296b746e27d3aa8 | Revert "Add SecurityZone stub" (dotnet/coreclr#11053) | botaberg/corert,tijoytom/corert,yizhang82/corert,krytarowski/corert,tijoytom/corert,shrah/corert,krytarowski/corert,shrah/corert,shrah/corert,gregkalapos/corert,gregkalapos/corert,krytarowski/corert,botaberg/corert,yizhang82/corert,gregkalapos/corert,gregkalapos/corert,botaberg/corert,yizhang82/corert,krytarowski/corer... | src/System.Private.CoreLib/shared/System/Security/SecurityException.cs | src/System.Private.CoreLib/shared/System/Security/SecurityException.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.Reflection;
using System.Runtime.Serialization;
namespace System.Security
{
[Serializable]
pub... | // 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.Reflection;
using System.Runtime.Serialization;
namespace System.Security
{
[Serializable]
pub... | mit | C# |
d559965f76dec00c31ba1c591c72a0e6891673e5 | Use simpler constructor | magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,magicmonty/pickles,blorgbeard/pickles,dirkrombauts/pickles,dirkrombauts/pickles,blorgbeard/pickles,magicmonty/pickles,blorgbeard/pickles,picklesdoc/pickles,... | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | apache-2.0 | C# |
a014a21b04962be28061bafbf7633021f089ec91 | Remove temp code | dev-academy-phase4/cs-portfolio,dev-academy-phase4/cs-portfolio | Portfolio/Migrations/Configuration.cs | Portfolio/Migrations/Configuration.cs | using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Portfolio.Models;
namespace Portfolio.Migrations
{
using System.Data.Entity.Migrations;
internal sealed class Configuration : DbMigrationsConfiguration<Portfolio.Models.ApplicationDbContext>
{
... | using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Portfolio.Models;
namespace Portfolio.Migrations
{
using System.Data.Entity.Migrations;
internal sealed class Configuration : DbMigrationsConfiguration<Portfolio.Models.ApplicationDbContext>
{
... | isc | C# |
9b37813468f8d7029c6761d8ccb6e82bf2d0e850 | Add date time validation at constructor of PostbackParams | pierre3/LineMessagingApi,pierre3/LineMessagingApi | Line.Messaging/Webhooks/PostbackParams.cs | Line.Messaging/Webhooks/PostbackParams.cs | using System;
using System.Text.RegularExpressions;
namespace Line.Messaging.Webhooks
{
/// <summary>
/// Object with the date and time selected by a user through a datetime picker action. The full-date, time-hour, and time-minute formats follow the RFC3339 protocol.
/// </summary>
public class Postba... | namespace Line.Messaging.Webhooks
{
/// <summary>
/// Object with the date and time selected by a user through a datetime picker action. The full-date, time-hour, and time-minute formats follow the RFC3339 protocol.
/// </summary>
public class PostbackParams
{
/// <summary>
/// Date... | mit | C# |
e08ac0be21e097fab02e6eb14fac11429524e240 | Remove redundant code from Admin controller | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | tests/unit/AlphaDev.Web.Tests.Unit/Controllers/AdminControllerTests.cs | tests/unit/AlphaDev.Web.Tests.Unit/Controllers/AdminControllerTests.cs | using System;
using AlphaDev.Core;
using AlphaDev.Web.Controllers;
using AlphaDev.Web.Models;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Optional;
using Xunit;
namespace AlphaDev.Web.Tests.Unit.Controllers
{
public class AdminControllerTests
{
private AdminControl... | using System;
using AlphaDev.Core;
using AlphaDev.Web.Controllers;
using AlphaDev.Web.Models;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Optional;
using Xunit;
namespace AlphaDev.Web.Tests.Unit.Controllers
{
public class AdminControllerTests
{
private AdminControl... | unlicense | C# |
2eb2d16a3af71eb946aaae129824845814adf9f0 | Make the assembly's internals visible to the reference assembly | andrewjk/Watsonia.Data | Watsonia.Data/AssemblyInfo.cs | Watsonia.Data/AssemblyInfo.cs |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Watsonia.Data.Tests")]
[assembly: InternalsVisibleTo("Watsonia.Data.Reference")]
|
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Watsonia.Data.Tests")]
| mit | C# |
7fc0e38cdc75a78f92ef5a8da3de26735c9d48cd | Fix for #169 | MiniProfiler/dotnet,MiniProfiler/dotnet | src/MiniProfiler.Shared/Data/ProfiledDbCommand.ICloneable.cs | src/MiniProfiler.Shared/Data/ProfiledDbCommand.ICloneable.cs | // Entity Framework 6 needs ICloneable
#if NET46
using System;
using System.Data.Common;
namespace StackExchange.Profiling.Data
{
public partial class ProfiledDbCommand : ICloneable
{
/// <summary>
/// Clone the command, Entity Framework expects this behaviour.
/// </summary>
/... | // Entity Framework 6 needs ICloneable
#if NET46
using System;
using System.Data.Common;
namespace StackExchange.Profiling.Data
{
public partial class ProfiledDbCommand : ICloneable
{
/// <summary>
/// Clone the command, Entity Framework expects this behaviour.
/// </summary>
/... | mit | C# |
0898168ae947068739769486f0be459c8370eb03 | Fix date issue | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/Core/ViewModels/VacancyViewModel.cs | src/Core/ViewModels/VacancyViewModel.cs | using System;
namespace Core.ViewModels
{
public class VacancyViewModel
{
private readonly string _websiteUrl;
public VacancyViewModel(DAL.Vacancy vacancy, string webSiteUrl)
{
_websiteUrl = webSiteUrl;
Id = vacancy.Id;
Title = vacancy.Title;
... | using System;
namespace Core.ViewModels
{
public class VacancyViewModel
{
private readonly string _websiteUrl;
public VacancyViewModel(DAL.Vacancy vacancy, string webSiteUrl)
{
_websiteUrl = webSiteUrl;
Id = vacancy.Id;
Title = vacancy.Title;
... | mit | C# |
f5f6a269a96ad19bcd329d3f643afab1aad05982 | add getAssemblyguid() | CrazyBBer/CS-Code-Snippet | TestCode/NoticeMessageLoop/Program.cs | TestCode/NoticeMessageLoop/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace NoticeMessageLoop
{
class Program
{
static void Main(string[] args)
{
}
static string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NoticeMessageLoop
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
010abb75ce4fd6459ebcb5ce7bb182291d0e75be | Fix test | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Web.Tests/Controllers/Account/Constructor_Should.cs | PhotoLife/PhotoLife.Web.Tests/Controllers/Account/Constructor_Should.cs | using System;
using Moq;
using NUnit.Framework;
using PhotoLife.Factories;
using PhotoLife.Controllers;
namespace PhotoLife.Web.Tests.Controllers.Account
{
[TestFixture]
public class Constructor_Should
{
[Test]
public void _Throw_ArgumentNullException_IfAuthenticationProvider_IsNull()
... | using System;
using Moq;
using NUnit.Framework;
using PhotoLife.Factories;
using PhotoLife.Controllers;
namespace PhotoLife.Web.Tests.Controllers.Account
{
[TestFixture]
public class Constructor_Should
{
[Test]
public void _Throw_ArgumentNullException_IfAuthenticationProvider_IsNull()
... | mit | C# |
2d2c5b46af3f0a07389a27dd7916b0bc275bafb6 | Support RBF and PayJoin for GRS (#1455) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Groestlcoin.cs | BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Groestlcoin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitGroestlcoin()
{
var nbxplorerNetwork = NBXplorerNetworkProvider.GetFromCryptoCode("... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitGroestlcoin()
{
var nbxplorerNetwork = NBXplorerNetworkProvider.GetFromCryptoCode("... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.