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 |
|---|---|---|---|---|---|---|---|---|
bf362ebde062675d761c78abdb921320776b6937 | Update copyright date | arnovb-github/CmcLibNet | Properties/AssemblyInfo.cs | 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("CmcLibNet")]
[assembly: AssemblyDescripti... | 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("Cm... | mit | C# |
acdf3ab2c3d40d2c915ef3f04e251f7f79d180cf | add UnitOfWork to AbpUserClaimsPrincipalFactory.CreateAsync | ilyhacker/module-zero,aspnetboilerplate/module-zero,abdllhbyrktr/module-zero | src/Abp.ZeroCore/Authorization/AbpUserClaimsPrincipalFactory.cs | src/Abp.ZeroCore/Authorization/AbpUserClaimsPrincipalFactory.cs | using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Dependency;
using Abp.Domain.Uow;
using Abp.Runtime.Security;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options... | using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Dependency;
using Abp.Runtime.Security;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
namespace Abp.Autho... | mit | C# |
55a539f7301c0e62ecb0f01de58af3e2099f1845 | Add HiddenAt property in TraktSyncMoviesLastActivities | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Get/Syncs/Activities/TraktSyncMoviesLastActivities.cs | Source/Lib/TraktApiSharp/Objects/Get/Syncs/Activities/TraktSyncMoviesLastActivities.cs | namespace TraktApiSharp.Objects.Get.Syncs.Activities
{
using Newtonsoft.Json;
using System;
/// <summary>A collection of UTC datetimes of last activities for movies.</summary>
public class TraktSyncMoviesLastActivities
{
/// <summary>Gets or sets the UTC datetime, when a movie was lastly w... | namespace TraktApiSharp.Objects.Get.Syncs.Activities
{
using Newtonsoft.Json;
using System;
/// <summary>A collection of UTC datetimes of last activities for movies.</summary>
public class TraktSyncMoviesLastActivities
{
/// <summary>Gets or sets the UTC datetime, when a movie was lastly w... | mit | C# |
c3e7ff7ba04b0815c764669c502b7dc50a78dbfd | Fix typo in variable name. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/Protocol/Payloads/InitialHandshakePayload.cs | src/MySqlConnector/Protocol/Payloads/InitialHandshakePayload.cs | using System.Text;
using MySqlConnector.Protocol.Serialization;
using MySqlConnector.Utilities;
namespace MySqlConnector.Protocol.Payloads;
internal sealed class InitialHandshakePayload
{
public ProtocolCapabilities ProtocolCapabilities { get; }
public byte[] ServerVersion { get; }
public int ConnectionId { get; }... | using System.Text;
using MySqlConnector.Protocol.Serialization;
using MySqlConnector.Utilities;
namespace MySqlConnector.Protocol.Payloads;
internal sealed class InitialHandshakePayload
{
public ProtocolCapabilities ProtocolCapabilities { get; }
public byte[] ServerVersion { get; }
public int ConnectionId { get; }... | mit | C# |
f857de29e4253eeea396b3221b6718b4cc2e0bc2 | Make type private. | robinsedlaczek/roslyn,srivatsn/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,VSadov/roslyn,ErikSchierboom/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,eriawan/roslyn,xasx/roslyn,tmeschter/roslyn,akrisiun/roslyn,stephentoub/roslyn,robinsedlaczek/roslyn,KevinRansom/roslyn,zooba/roslyn,xasx/roslyn,orthoxerox/roslyn,vslsn... | src/EditorFeatures/Core/Implementation/NavigateTo/Dev14NavigateToHostVersionService.ItemDisplayFactory.cs | src/EditorFeatures/Core/Implementation/NavigateTo/Dev14NavigateToHostVersionService.ItemDisplayFactory.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.NavigateTo;
using Microsoft.VisualStudio.Language.NavigateTo.Interfaces;
using Roslyn.Utilities;
namespace Microso... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.NavigateTo;
using Microsoft.VisualStudio.Language.NavigateTo.Interfaces;
using Roslyn.Utilities;
namespace Microso... | apache-2.0 | C# |
336d6ec9e787dcc9395e17cdd19df6ff4bfa7276 | Set Android permissions through Assemblyinfo | martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,bubavanhalen/XamarinMediaManager,mike-rowley/XamarinMediaManager,modplug/XamarinMediaManager,martijn00/XamarinMediaManager | MediaManager/Plugin.MediaManager.Android/Properties/AssemblyInfo.cs | MediaManager/Plugin.MediaManager.Android/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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.
[... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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.
[... | mit | C# |
8188be70b404d1b89794352d7d6adec4cf2e09c2 | Update MongoRepositoryTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/MongoRepositoryTests.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/MongoRepositoryTests.cs | using System;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
[Collection("ServiceProviderCollection")]
public class MongoRepositoryTests
{
private readonly ServiceProviderFix... | using System;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
[Collection("ServiceProviderCollection")]
public class MongoRepositoryTests
{
private readonly ServiceProviderFix... | mit | C# |
e78a480966c57d84cfe8bfd102aa29742c495c75 | Update the Command Help Request Error to get the value | BigEggTools/JsonComparer | BigEgg.ConsoleExtension/Parameters/Errors/CommandHelpRequestError.cs | BigEgg.ConsoleExtension/Parameters/Errors/CommandHelpRequestError.cs | namespace BigEgg.ConsoleExtension.Parameters.Errors
{
using System;
internal class CommandHelpRequestError : Error
{
public CommandHelpRequestError(string commandName, bool existed, Type commandType)
: base(ErrorType.CommandHelpRequest, true)
{
CommandName = command... | namespace BigEgg.ConsoleExtension.Parameters.Errors
{
using System;
internal class CommandHelpRequestError : Error
{
public CommandHelpRequestError()
: base(ErrorType.CommandHelpRequest, true)
{ }
public string CommandName { get; private set; }
public bool Ex... | mit | C# |
395fa20060878124bb98ba8fdfda110d66912ecd | Debug commit precedent | plombeur/alpha,plombeur/alpha | Assets/Scripts/Memory/Memory.cs | Assets/Scripts/Memory/Memory.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Memory : MonoBehaviourAdapter
{
private PerceptView perceptView;
private Dictionary<Identity, MemoryBloc> memoryBlocs;
private List<MemoryListener> listeners;
public Memory()
{
listeners = new List... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Memory : MonoBehaviourAdapter
{
private PerceptView perceptView;
private Dictionary<Identity, MemoryBloc> memoryBlocs;
private List<MemoryListener> listeners;
public Memory()
{
listeners = new List... | apache-2.0 | C# |
27ef1572ee95ed8b8e98d6d53ee70104259955a5 | Switch over the View's Converter to use TabObject instead of the dictionary directly | elkingtonmcb/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,Glimpse/Glimpse,codevlabs/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,Glimpse/Glimpse,sorenhl/Glimpse,rho24/Glimpse,codevlabs/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,paynecrl97/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,dudzon/Glimpse,... | source/Glimpse.Mvc3/SerializationConverter/ListOfViewsModelConverter.cs | source/Glimpse.Mvc3/SerializationConverter/ListOfViewsModelConverter.cs | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Glimpse.Core.Extensibility;
using Glimpse.Mvc.Model;
namespace Glimpse.Mvc.SerializationConverter
{
using Glimpse.Core.Plugin.Assist;
public class ListOfViewsModelConverter : SerializationConverter<List<ViewsMod... | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Glimpse.Core.Extensibility;
using Glimpse.Mvc.Model;
namespace Glimpse.Mvc.SerializationConverter
{
using Glimpse.Core.Plugin.Assist;
public class ListOfViewsModelConverter : SerializationConverter<List<ViewsMod... | apache-2.0 | C# |
a5251c17dd77b7a280cd59c242ccf7f454efe0c2 | Add DotNetStream props: StreamHeader, Name | Arthur2e5/dnlib,jorik041/dnlib,yck1509/dnlib,0xd4d/dnlib,kiootic/dnlib,ZixiangBoy/dnlib,ilkerhalil/dnlib,modulexcite/dnlib,picrap/dnlib | src/DotNet/MD/DotNetStream.cs | src/DotNet/MD/DotNetStream.cs | using System;
using System.Diagnostics;
using System.IO;
using dot10.IO;
namespace dot10.DotNet.MD {
/// <summary>
/// .NET metadata stream
/// </summary>
[DebuggerDisplay("{imageStream.Length} {streamHeader.Name}")]
public class DotNetStream : IDisposable {
/// <summary>
/// Reader that can access the whole... | using System;
using System.Diagnostics;
using System.IO;
using dot10.IO;
namespace dot10.DotNet.MD {
/// <summary>
/// .NET metadata stream
/// </summary>
[DebuggerDisplay("{imageStream.Length} {streamHeader.Name}")]
public class DotNetStream : IDisposable {
/// <summary>
/// Reader that can access the whole... | mit | C# |
4000a9327bd2cfcb4744fdda7d20fc44dc2cf5b8 | Add DebuggerDisplayAttribute | sakapon/KLibrary-Labs | CoreLab/Core/Disposable.cs | CoreLab/Core/Disposable.cs | using System;
using System.Diagnostics;
namespace KLibrary.Labs
{
public static class Disposable
{
public static IDisposable FromAction(Action action)
{
return new DisposableAction(action, false);
}
public static IDisposable FromAction(Action action, bool onFinaliz... | using System;
namespace KLibrary.Labs
{
public static class Disposable
{
public static IDisposable FromAction(Action action)
{
return new DisposableAction(action, false);
}
public static IDisposable FromAction(Action action, bool onFinalizing)
{
... | mit | C# |
5b76da28377f034d6a843c58f167e7a2fe1c9e0f | Fix for bug 17588 | planetClaire/Orchard-LETS,stormleoxia/Orchard,Dolphinsimon/Orchard,bigfont/orchard-continuous-integration-demo,MpDzik/Orchard,Dolphinsimon/Orchard,harmony7/Orchard,huoxudong125/Orchard,andyshao/Orchard,dcinzona/Orchard-Harvest-Website,emretiryaki/Orchard,omidnasri/Orchard,RoyalVeterinaryCollege/Orchard,bigfont/orchard-... | src/Orchard.Web/Modules/Orchard.Email/Services/MissingSettingsBanner.cs | src/Orchard.Web/Modules/Orchard.Email/Services/MissingSettingsBanner.cs | using System.Collections.Generic;
using System.Web.Mvc;
using Orchard.ContentManagement;
using Orchard.Email.Models;
using Orchard.Localization;
using Orchard.UI.Admin.Notification;
using Orchard.UI.Notify;
namespace Orchard.Email.Services
{
public class MissingSettingsBanner : INotificationProvider
... | using System.Collections.Generic;
using Orchard.ContentManagement;
using Orchard.Localization;
using Orchard.Email.Models;
using Orchard.UI.Admin.Notification;
using Orchard.UI.Notify;
namespace Orchard.Email.Services {
public class MissingSettingsBanner: INotificationProvider {
private readonly ... | bsd-3-clause | C# |
251bdfdee8c0232235b8de4f25620ca270946fd6 | Simplify statistics in osu ruleset | smoogipoo/osu,johnneijzen/osu,ppy/osu,naoey/osu,naoey/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,ZLima12/osu,ppy/osu,naoey/osu,johnneijzen/osu,ppy/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,2ya... | osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.cs | osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.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.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
namespace osu.Game.Rulesets... | // 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.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | mit | C# |
fd2ca05a6753afe9dcab52050aaa36c5d62ba664 | Change namespace | Flepper/flepper,Flepper/flepper | Flepper.Core/QueryBuilder/Commands/Extensions/SelectCommandExtensions.cs | Flepper.Core/QueryBuilder/Commands/Extensions/SelectCommandExtensions.cs | namespace Flepper.Core.QueryBuilder
{
public static class SelectCommandExtensions
{
public static IFromCommand From(this ISelectCommand selectCommand, string schema, string table)
{
var fromOperator = new FromCommand();
fromOperator.From(schema, table);
retur... | namespace Flepper.Core.QueryBuilder.Commands.Extensions
{
public static class SelectCommandExtensions
{
public static IFromCommand From(this ISelectCommand selectCommand, string schema, string table)
{
var fromOperator = new FromCommand();
fromOperator.From(schema, table... | mit | C# |
2813ca9640003c075ea69c387e9a7b1d566021b0 | Enable auto migrations | tpkelly/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-applicati... | VotingApplication/VotingApplication.Data/Migrations/Configuration.cs | VotingApplication/VotingApplication.Data/Migrations/Configuration.cs | namespace VotingApplication.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<VotingApplication.Data.Context.VotingContext>
{
public Configuration()
{
... | namespace VotingApplication.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<VotingApplication.Data.Context.VotingContext>
{
public Configuration()
{
... | apache-2.0 | C# |
9e3ca0ce5de757f16df58a77b6bb289f228d90b3 | Test moine | ifgx/rtm-phase2 | Assets/scripts/hero/Monk.cs | Assets/scripts/hero/Monk.cs | using UnityEngine;
using System.Collections;
/**
* @author HugoLS
* @version 1.0
**/
public class Monk : Hero {
float specialCapacityCooldown = 30.0f;
float specialCapacityTimer = 0.0f;
public bool prayerMode;
public float lastHeal;
public float speedHeal;
public float powerHealConsumption;
public float hpHea... | using UnityEngine;
using System.Collections;
/**
* @author HugoLS
* @version 1.0
**/
public class Monk : Hero {
float specialCapacityCooldown = 30.0f;
float specialCapacityTimer = 0.0f;
public bool prayerMode;
public float lastHeal;
public float speedHeal;
public float powerHealConsumption;
public float hpHea... | cc0-1.0 | C# |
523332242038c4216b4ad7898a3566e3d82c0ac3 | Add short desc on main | ramik/ChildProcessUtil | ChildProcessUtil/Program.cs | ChildProcessUtil/Program.cs | using System;
using System.Collections.Generic;
using System.Threading;
using Nancy;
using Nancy.Hosting.Self;
namespace ChildProcessUtil
{
public class Program
{
private const string HttpAddress = "http://localhost:";
private static NancyHost host;
private static void Main(string[] ar... | using System;
using System.Collections.Generic;
using System.Threading;
using Nancy;
using Nancy.Hosting.Self;
namespace ChildProcessUtil
{
public class Program
{
private const string HttpAddress = "http://localhost:";
private static NancyHost host;
private static void Main(string[] ar... | mit | C# |
46d2b8e2fdf7f779551a2af95bd784cb3c14d370 | Update TintedImageRenderer.cs | shrutinambiar/xamarin-forms-tinted-image | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.iOS/TintedImageRenderer.cs | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.iOS/TintedImageRenderer.cs | using CrossPlatformTintedImage;
using CrossPlatformTintedImage.iOS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPlatformTintedImage.iOS
{
public class TintedImageRenderer : ImageRenderer
{
... | using CrossPlatformTintedImage;
using CrossPlatformTintedImage.iOS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPlatformTintedImage.iOS
{
public class TintedImageRenderer : ImageRenderer
{
p... | mit | C# |
5406194784278a5d74d903079e77933fc10969cc | Add Enc class for convenience | y-iihoshi/REIMU_Plugins_V2,y-iihoshi/REIMU_Plugins_V2 | Common/Constants.cs | Common/Constants.cs | using System.Text;
namespace ReimuPlugins.Common
{
public enum Revision
{
Rev1 = 1,
Rev2
}
public enum ErrorCode
{
NoFunction = -1,
AllRight,
NotSupport,
FileReadError,
FileWriteError,
NoMemory,
UnknownError,
DialogCa... | namespace ReimuPlugins.Common
{
public enum Revision
{
Rev1 = 1,
Rev2
}
public enum ErrorCode
{
NoFunction = -1,
AllRight,
NotSupport,
FileReadError,
FileWriteError,
NoMemory,
UnknownError,
DialogCanceled
}
pu... | bsd-2-clause | C# |
a20c51190b229a0f5263322e38eafab8aa0d5cdc | Rename CallNext to Next in AbstractPipelineTask | mikeedwards83/Glass.Mapper,RvanDalen/Glass.Mapper,mikeedwards83/Glass.Mapper,RvanDalen/Glass.Mapper,RvanDalen/Glass.Mapper,pbustamante/Glass.Mapper,pbustamante/Glass.Mapper,pbustamante/Glass.Mapper | Source/Glass.Mapper/Pipelines/AbstractPipelineTask.cs | Source/Glass.Mapper/Pipelines/AbstractPipelineTask.cs | /*
Copyright 2012 Michael Edwards
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 ag... | /*
Copyright 2012 Michael Edwards
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 ag... | apache-2.0 | C# |
e307dd7e313a47667f889e56f59ac587c3cf261a | Make key entry case insensitive | 12joan/hangman | Program.cs | Program.cs | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
var game = new Game("HANG THE MAN");
while (true) {
string titleText = File.ReadAllText("title.txt");
Cell[] title = {
new Cell(titleText, Cell.CentreAlign)
... | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
var game = new Game("HANG THE MAN");
while (true) {
string titleText = File.ReadAllText("title.txt");
Cell[] title = {
new Cell(titleText, Cell.CentreAlign)
... | unlicense | C# |
82307a7d96e4b7d2f689dc252126debbbc27178e | Add a catch all route | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | CatchAllRule/CatchAllRule/App_Start/RouteConfig.cs | CatchAllRule/CatchAllRule/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 CatchAllRule
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace CatchAllRule
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*... | apache-2.0 | C# |
fa98bd3cde27d574b1306e2afb3b30750ff41e34 | Update Program.cs | MarioHartmann/MyFirstGitHubTest | ConsoleApplication1/ConsoleApplication1/Program.cs | ConsoleApplication1/ConsoleApplication1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write("Hello Earth.");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write("Hello World.");
}
}
}
| mit | C# |
d82feb7c1b96d7f9cc79adbbf65b4e378dedcde6 | Use implicit type name | FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative | Creative/StatoBot/StatoBot.Analytics/Statistics.cs | Creative/StatoBot/StatoBot.Analytics/Statistics.cs | using System;
using System.Text;
using System.Collections.Concurrent;
namespace StatoBot.Analytics
{
public class Statistics : ConcurrentDictionary<string, decimal>
{
private readonly Encoding encoder;
public Statistics()
{
encoder = Encoding.GetEncoding(
"U... | using System;
using System.Text;
using System.Collections.Concurrent;
namespace StatoBot.Analytics
{
public class Statistics : ConcurrentDictionary<string, decimal>
{
private readonly Encoding encoder;
public Statistics()
{
encoder = Encoding.GetEncoding(
"U... | mit | C# |
b4af8655f0c4ff77735805c0bace34d5ea98368c | fix bug in logout by user area | KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem | VotingSystem.Web/Views/Shared/_LoginPartial.cshtml | VotingSystem.Web/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", new { area = ""}, FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li>
... | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li>
@Html.Acti... | mit | C# |
60574ddbe86b9247347ff652380704e794deb4af | 优化 signalr 模块 | JeffreySu/Senparc.WebSocket | src/Senparc.WebSocket/Senparc.WebSocket/SignalR/SenparcWebSocketHubBase.cs | src/Senparc.WebSocket/Senparc.WebSocket/SignalR/SenparcWebSocketHubBase.cs | #if NETSTANDARD2_0
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Senparc.WebSocket.SignalR
{
public abstract class SenparcWebSocketHubBase : Hub
{
/// <summary>
... | #if NETSTANDARD2_0
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Senparc.WebSocket.SignalR
{
public abstract class SenparcWebSocketHubBase : Hub
{
/// <summary>
... | apache-2.0 | C# |
a3b05f75332598b01fb204e8d931bde425fcde11 | Update raw data | kookxiang/KanColleViewer,bllue78/KanColleViewer,BossaGroove/KanColleViewer,KatoriKai/KanColleViewer,heartfelt-fancy/KanColleViewer,gakada/KanColleViewer,gakada/KanColleViewer,AnnaKutou/KanColleViewer,gakada/KanColleViewer,yuyuvn/KanColleViewer,Astrologers/KanColleViewer | Grabacr07.KanColleWrapper/Models/Raw/kcsapi_combined_battle_battleresult.cs | Grabacr07.KanColleWrapper/Models/Raw/kcsapi_combined_battle_battleresult.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grabacr07.KanColleWrapper.Models.Raw
{
// ReSharper disable InconsistentNaming
public class kcsapi_combined_battle_battleresult
{
public int[] api_ship_id { get; set; }
public string ap... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grabacr07.KanColleWrapper.Models.Raw
{
// ReSharper disable InconsistentNaming
public class kcsapi_combined_battle_battleresult
{
public int[] api_ship_id { get; set; }
public string ap... | mit | C# |
19ff7d00996d91061066c1972747816c49824022 | add (job storage account) comments only | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal.Jobs/StartupJobs/CreateReadStoreDatabaseJob.cs | src/SFA.DAS.EAS.Portal.Jobs/StartupJobs/CreateReadStoreDatabaseJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
namespace SFA.DAS.EAS.Portal.Jobs.StartupJobs
{
// there's a separate task/pr for this, but we need a 'hello world' job to test the host
public class CreateReadStoreDatabaseJob
{
// singleton attribute... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
namespace SFA.DAS.EAS.Portal.Jobs.StartupJobs
{
// there's a separate task/pr for this, but we need a 'hello world' job to test the host
public class CreateReadStoreDatabaseJob
{
// singleton attribute... | mit | C# |
9c347c1f0ef1e8773e3638bfa4f7b5e85d023c11 | modify test case | jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,down4u/WeiXinM... | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CacheTests/CacheTests.cs | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CacheTests/CacheTests.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Senparc.Weixin.Cache;
using Senparc.Weixin.Cache.Redis;
using Senparc.Weixin.MP.AdvancedAPIs;
using Senparc.Weixin.MP.Test.CommonAPIs;
namespace Senparc.Weixin.MP.Test.CacheTests
{
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Senparc.Weixin.Cache;
using Senparc.Weixin.Cache.Redis;
using Senparc.Weixin.MP.AdvancedAPIs;
using Senparc.Weixin.MP.Test.CommonAPIs;
namespace Senparc.Weixin.MP.Test.CacheTests
{
... | apache-2.0 | C# |
b6cebad545796f91bc0e9626c977771e8881d484 | Add strong typed overloads | jorik041/maccore,mono/maccore,cwensley/maccore,beni55/maccore | src/CoreAnimation/CATextLayer.cs | src/CoreAnimation/CATextLayer.cs | //
// CATextLayer: Support for CATextLayer
//
// Authors:
// Miguel de Icaza.
//
// Copyright 2010 Novell, Inc
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restric... | //
// CATextLayer: Support for CATextLayer
//
// Authors:
// Miguel de Icaza.
//
// Copyright 2010 Novell, Inc
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restric... | apache-2.0 | C# |
8c3b5af259fcae3d1d030c910ad320b1c03819cf | Rename service collection extensions to be correct | Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mi... | src/Glimpse.Common/GlimpseServiceCollectionExtensions.cs | src/Glimpse.Common/GlimpseServiceCollectionExtensions.cs | using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
namespace Glimpse
{
public static class GlimpseServiceCollectionExtensions
{
public static IServiceCollection AddGlimpse(this IServiceCollection services)
{
return services.Ad... | using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
namespace Glimpse
{
public static class GlimpseServiceCollectionExtensions
{
public static IServiceCollection AddMvc(this IServiceCollection services)
{
return services.Add(Gl... | mit | C# |
ffd0744bdf64e161d7469a0d63eb89a1bc337afa | move owneruiparent to internal class | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/Microsoft.Identity.Client/ApiConfig/OwnerUiParent.cs | src/Microsoft.Identity.Client/ApiConfig/OwnerUiParent.cs | // ------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associate... | // ------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associate... | mit | C# |
73e6a2f38f872bd75f0f4295e6bf93252de1f130 | Fix ValueLineWindowsProxy | MehdyKarimpour/extensions,signumsoftware/extensions,signumsoftware/extensions,AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/framework,signumsoftware/framework,AlejandroCano/extensions | Signum.Windows.Extensions.UIAutomation/Proxies/ValueLineWindowProxy.cs | Signum.Windows.Extensions.UIAutomation/Proxies/ValueLineWindowProxy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Automation;
using System.Runtime.InteropServices;
using Signum.Utilities;
namespace Signum.Windows.UIAutomation
{
public class ValueLineWindowProxy<T> : WindowProxy
{
ValueLineProxy V... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Automation;
using System.Runtime.InteropServices;
using Signum.Utilities;
namespace Signum.Windows.UIAutomation
{
public class ValueLineWindowProxy<T> : WindowProxy
{
ValueLineProxy V... | mit | C# |
2825d1508e4ef8c0c5a4de1c54b95e6aa2842eb2 | Fix element3d presenter binding issue. | JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit,chrkon/helix-toolkit,holance/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX/Model/Elements3D/Element3DPresenter.cs | Source/HelixToolkit.Wpf.SharpDX/Model/Elements3D/Element3DPresenter.cs | using HelixToolkit.Wpf.SharpDX.Model.Scene;
using HelixToolkit.Wpf.SharpDX.Render;
using SharpDX;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Markup;
namespace HelixToolkit.Wpf.SharpDX
{
[ContentProperty("Content")]
public class Element3DPresenter : Element3D
{
///... | using HelixToolkit.Wpf.SharpDX.Model.Scene;
using HelixToolkit.Wpf.SharpDX.Render;
using SharpDX;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Markup;
namespace HelixToolkit.Wpf.SharpDX
{
[ContentProperty("Content")]
public class Element3DPresenter : Element3D
{
///... | mit | C# |
db51a5bb44512e72ceb065affd3a3cdc9f4a9ce4 | Update TextboxPropertyEditor.cs | robertjf/Umbraco-CMS,hfloyd/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,marcemarc/Umbraco-CMS,jchurchley/Umbraco-CMS,tcmorris/Umbraco-CMS,jchurchley/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,NikRimington/Umbraco-CMS,robertjf/Umbraco-CMS,aaronpowell/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco... | src/Umbraco.Web/PropertyEditors/TextboxPropertyEditor.cs | src/Umbraco.Web/PropertyEditors/TextboxPropertyEditor.cs | using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.TextboxAlias,... | using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.TextboxAlias,... | mit | C# |
3d05802e04798934d42af4807fe4d19970428cc5 | Fix build | WildGums/LogViewer | build.cake | build.cake | //=======================================================
// DEFINE PARAMETERS
//=======================================================
// Define the required parameters
var Parameters = new Dictionary<string, object>();
Parameters["SolutionName"] = "LogViewer";
Parameters["Company"] = "WildGums";
Parameters["Reposit... | //=======================================================
// DEFINE PARAMETERS
//=======================================================
// Define the required parameters
var Parameters = new Dictionary<string, object>();
Parameters["SolutionName"] = "LogViewer";
Parameters["Company"] = "WildGums";
Parameters["Reposit... | mit | C# |
ae43245426d5c67d3a2741ff2b87c1e73b30c171 | change consumer name to 'Jobstreet Ad Posting API Client' | seekasia-oss/jobstreet-ad-posting-api-client | src/JobStreet.AdPostingApi.Client.Tests/Framework/AdPostingApiPactService.cs | src/JobStreet.AdPostingApi.Client.Tests/Framework/AdPostingApiPactService.cs | using System;
using PactNet;
using PactNet.Mocks.MockHttpService;
namespace JobStreet.AdPostingApi.Client.Tests.Framework
{
public class AdPostingApiPactService : IDisposable
{
public AdPostingApiPactService()
{
this.PactBuilder = new PactBuilder(new PactConfig { PactDir = @"..\..\... | using System;
using PactNet;
using PactNet.Mocks.MockHttpService;
namespace JobStreet.AdPostingApi.Client.Tests.Framework
{
public class AdPostingApiPactService : IDisposable
{
public AdPostingApiPactService()
{
this.PactBuilder = new PactBuilder(new PactConfig { PactDir = @"..\..\... | mit | C# |
25a18a6e50393961239bf6ab8e45d0c0a3e870af | Update CoordinateFieldDriver.cs | petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2 | src/OrchardCore.Modules/OrchardCore.Spatial/Drivers/CoordinateFieldDriver.cs | src/OrchardCore.Modules/OrchardCore.Spatial/Drivers/CoordinateFieldDriver.cs | using System.Threading.Tasks;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Display.Models;
using OrchardCore.DisplayManagement.ModelBinding;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.Spatial.Fields;
using OrchardCore.Spatial.ViewModels;
namespace Or... | using System.Threading.Tasks;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Display.Models;
using OrchardCore.DisplayManagement.ModelBinding;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.Spatial.Fields;
using OrchardCore.Spatial.ViewModels;
namespace Or... | bsd-3-clause | C# |
eaa21fd578521c257be946b9241601de7cfeec79 | Update comment | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Examples/Inspectors/DisplayInputResultInspector.cs | Assets/MixedRealityToolkit.Examples/Inspectors/DisplayInputResultInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
/// <summary>
/// Custom profil... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
/// <summary>
/// Custom profil... | mit | C# |
3cae9ff7127123740e6edcd029f9813174759e7e | add user guid to send message service | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
using PS.Mothership.Core.Common.Dto.SendMessage;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ISendMes... | using System;
using System.Collections;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
using PS.Mothership.Core.Common.Dto.SendMessage;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ISendMes... | mit | C# |
30ee20f0099d323f78d4c70a8d7611ce86349078 | Build scripts | SharpeRAD/Cake.Topshelf | build.cake | build.cake | ///////////////////////////////////////////////////////////////////////////////
// IMPORTS
///////////////////////////////////////////////////////////////////////////////
#load "./build/scripts/imports.cake"
//////////////////////////////////////////////////////////////////////
// SOLUTION
///////////////////////... | //////////////////////////////////////////////////////////////////////
// IMPORTS
//////////////////////////////////////////////////////////////////////
#addin "Cake.Slack"
#addin "Cake.ReSharperReports"
#addin "Cake.AWS.S3"
#addin "Cake.FileHelpers"
#tool "ReportUnit"
#tool "JetBrains.ReSharper.CommandLineTools"
... | mit | C# |
580d478dc80bafbbe39eede20ff1e9f6dc234dc6 | Allow running on mono if possible. (non windows) | UselessToucan/osu,ppy/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,ZLima12/osu,naoey/osu,peppy/osu-new,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,s... | build.cake | build.cake | #addin "nuget:http://localhost:8081/repository/hm?package=CodeFileSanity&version=1.0.10"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
#tool "nuget:?package=NVika.MSBuild"
#tool "nuget:?package=NuGet.CommandLine"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENT... | #addin "nuget:?package=CodeFileSanity"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
#tool "nuget:?package=NVika.MSBuild"
#tool "nuget:?package=NuGet.CommandLine"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////////////////////////////////////////////... | mit | C# |
47efac7fbb1fd01f9552f83c23cfe4d21f059b1c | Support automatic local build versioning | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | build.cake | build.cake | #addin nuget:?package=Cake.Git
#tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var solution = File("./BugsnagUnity.sln");
var configuration = Argument("configuration", "Release");
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
var version = "1.0.0";
Task("Restore-... | #tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var solution = File("./BugsnagUnity.sln");
var configuration = Argument("configuration", "Release");
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
var version = "1.0.0";
Task("Restore-NuGet-Packages")
.Does(() =... | mit | C# |
6989cf84fa08ec81469b6f6b38a2c3f391669c1c | Enable xUnit XML test report | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var artifactsDirectory = Directory("./Artifacts");
var packagesDirectory = Directory("./packages");
Task("Clean")
.Does(() =>
{
CleanDirectory(artifactsDir... | #tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var artifactsDirectory = Directory("./Artifacts");
var packagesDirectory = Directory("./packages");
Task("Clean")
.Does(() =>
{
CleanDirectory(artifactsDir... | mit | C# |
306d5588403ad34e3805d8c4f649ae5c1d2f4081 | add dummy endpoint for api/results/{gameId} | alkukampela/curling,alkukampela/curling,alkukampela/curling,alkukampela/curling,alkukampela/curling | results/Controllers/ResultsController.cs | results/Controllers/ResultsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace results.Controllers
{
[Route("api/[controller]")]
public class ResultsController : Controller
{
[HttpGet]
public string Get()
{
retu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace results.Controllers
{
[Route("api/[controller]")]
public class ResultsController : Controller
{
[HttpGet]
public string Get()
{
retu... | mit | C# |
13822754a9a8f568d5a9ade37c5679c9e169105d | Fix duplicate 'CollectionBehavior' attribute | AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,MrDaedra/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jazzay/Perspex,wieslawsoltes/Perspex,Perspex/Perspex,jkor... | tests/Avalonia.Base.UnitTests/Properties/AssemblyInfo.cs | tests/Avalonia.Base.UnitTests/Properties/AssemblyInfo.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.Reflection;
using Xunit;
[assembly: AssemblyTitle("Avalonia.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBehavior(MaxP... | // 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.Reflection;
using Xunit;
[assembly: AssemblyTitle("Avalonia.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBehavior(Disa... | mit | C# |
299fb29270ffd21f8edd0270f488780233233ced | Update HideUnhideWorksheet.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,a... | Examples/CSharp/Worksheets/Display/HideUnhideWorksheet.cs | Examples/CSharp/Worksheets/Display/HideUnhideWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class HideUnhideWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.U... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class HideUnhideWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.R... | mit | C# |
3d70d13a649968f956c34d1513899ba1bbd0d301 | Add SwarmHelper.Seed methods. | amacal/leak | sources/Leak.Client.Swarm/SwarmHelper.cs | sources/Leak.Client.Swarm/SwarmHelper.cs | using System.Threading.Tasks;
using Leak.Common;
namespace Leak.Client.Swarm
{
public static class SwarmHelper
{
public static void Download(string destination, FileHash hash, string tracker)
{
DownloadAsync(destination, hash, tracker, null).Wait();
}
public static... | using System.Threading.Tasks;
using Leak.Common;
namespace Leak.Client.Swarm
{
public static class SwarmHelper
{
public static void Download(string destination, FileHash hash, string tracker)
{
DownloadAsync(destination, hash, tracker, null).Wait();
}
public static... | mit | C# |
b1ba3609557190e85281cf76fe26eb102b28d872 | Fix Bug on iPad | daniel-luberda/DLToolkit.Forms.Controls | Samples/iOS/Renderers/FlowListViewInternalCellRenderer.cs | Samples/iOS/Renderers/FlowListViewInternalCellRenderer.cs | using System;
using DLToolkit.Forms.Controls;
using DLToolkitControlsSamples.iOS;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(FlowListViewInternalCell), typeof(FlowListViewInternalCellRenderer))]
namespace DLToolkitControlsSamples.iOS
{
// DISABLES FLOWLISTVIEW... | using System;
using DLToolkit.Forms.Controls;
using DLToolkitControlsSamples.iOS;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(FlowListViewInternalCell), typeof(FlowListViewInternalCellRenderer))]
namespace DLToolkitControlsSamples.iOS
{
// DISABLES FLOWLISTVIE... | apache-2.0 | C# |
9c20f42dd2f8c1845f6032595eec9de140400989 | Rephrase Between as a trivial use of Map. | plioi/parsley | src/Parsley/Grammar.Between.cs | src/Parsley/Grammar.Between.cs | namespace Parsley;
partial class Grammar
{
/// <summary>
/// Between(left, goal, right) parses its arguments in order. If all three
/// parsers succeed, the result of the goal parser is returned.
/// </summary>
public static Parser<TItem, TGoal> Between<TItem, TLeft, TGoal, TRight>(
Parser... | namespace Parsley;
partial class Grammar
{
/// <summary>
/// Between(left, goal, right) parses its arguments in order. If all three
/// parsers succeed, the result of the goal parser is returned.
///
/// <para>Between is an optimized version of the query:</para>
///
/// <code>
/// ... | mit | C# |
7ecb115d66a588ca02fa8b2295b58f4e172657dc | update version | naile/cacti.mvc.web | 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("Ca... | 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("Ca... | mit | C# |
a4303ab0ecef8d78ece9592a784dd5bb761838f3 | Update Default RazorDiagnosticMode to Pull API | wvdd007/roslyn,diryboy/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,physhi/roslyn,mavasani/roslyn,tannergooding/roslyn,eriawan/roslyn,wvdd007/roslyn,sharwell/roslyn,physhi/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,mgoertz-msft/roslyn,shyamnamboodir... | src/Workspaces/Core/Portable/Diagnostics/InternalDiagnosticsOptions.cs | src/Workspaces/Core/Portable/Diagnostics/InternalDiagnosticsOptions.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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal static class Int... | // 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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal static class Int... | mit | C# |
a1bb323cee940b87931a09ac2b5dd0aa17779a57 | Bump version to 0.11 | jamesfoster/DeepEqual | src/DeepEqual/Properties/AssemblyInfo.cs | src/DeepEqual/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("De... | 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("De... | mit | C# |
42c613e06b8f0f86847ff43cbcef9bffb58595ce | Fix media constructor | jontansey/.Net-Core-Ecommerce-Base,jontansey/.Net-Core-Ecommerce-Base | src/Shop.Core/Entites/Media.cs | src/Shop.Core/Entites/Media.cs | using Shop.Core.BaseObjects;
using Shop.Core.Enums;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class Media : LifetimeBase, IReferenceable<Media>
{
private MediaType _mediaType;
private string _url;
private int _index;
public int MediaId { get; set; }
... | using Shop.Core.BaseObjects;
using Shop.Core.Enums;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class Media : LifetimeBase, IReferenceable<Media>
{
private MediaType _mediaType;
private string _url;
private int _index;
public int MediaId { get; set; }
... | mit | C# |
a71db7f0c05996adaf941746f56ae76ee37f803f | Prepare 0.7.0 release | LouisTakePILLz/ArgumentParser | ArgumentParser/Properties/AssemblyInfo.cs | ArgumentParser/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("ArgumentParser")]
[assembly: AssemblyDescri... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ArgumentParser")]
[assembly: AssemblyDescri... | apache-2.0 | C# |
d8a2f7bd3015d9095a1aff123e091130f7594042 | add invalidMake_AddFailed | Monchit/tdd-carfuel,Monchit/tdd-carfuel | CarFuel.Facts/Services/CarServiceFacts.cs | CarFuel.Facts/Services/CarServiceFacts.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CarFuel.Models;
using CarFuel.Services;
using Xunit;//(3) add this using
namespace CarFuel.Facts.Services
{
public class CarServiceFacts//(1) add public in class
{
public class Ad... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CarFuel.Models;
using CarFuel.Services;
using Xunit;//(3) add this using
namespace CarFuel.Facts.Services
{
public class CarServiceFacts//(1) add public in class
{
public class Ad... | mit | C# |
9fb923e30330016abc6efa93e9cbf0a8f5b48a2b | Fix bug in VoiceChannelStatsRepository#HasTrackedTime. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Database/Repositories/Impl/VoiceChannelStatsRepository.cs | src/MitternachtBot/Services/Database/Repositories/Impl/VoiceChannelStatsRepository.cs | using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
using System.Linq;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class VoiceChannelStatsRepository : Repository<VoiceChannelStats>, IVoiceChannelStatsRepository {
public VoiceChannelStatsRepository(DbContext contex... | using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
using System.Linq;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class VoiceChannelStatsRepository : Repository<VoiceChannelStats>, IVoiceChannelStatsRepository {
public VoiceChannelStatsRepository(DbContext contex... | mit | C# |
951eeb7f6edcf1a04663b821d1953dc3e26bd009 | fix Dob shared options | stripe/stripe-dotnet | src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataKlarnaOptions.cs | src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataKlarnaOptions.cs | // File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
public class PaymentIntentPaymentMethodDataKlarnaOptions : INestedOptions
{
/// <summary>
/// Customer's date of birth.
/// </summary>
[JsonProperty("dob")]
public DobOptions Dob { get;... | // File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
public class PaymentIntentPaymentMethodDataKlarnaOptions : INestedOptions
{
/// <summary>
/// Customer's date of birth.
/// </summary>
[JsonProperty("dob")]
public PaymentIntentPaymentM... | apache-2.0 | C# |
89d672550e11b8a3ab8bc7928b3748227ad2c6a5 | Clean up Keyboard constants file. | WolfspiritM/Colore,CoraleStudios/Colore,Sharparam/Colore,danpierce1/Colore | Colore/Razer/Keyboard/Constants.cs | Colore/Razer/Keyboard/Constants.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="">
// 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 associ... | // ---------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="">
// 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 associ... | mit | C# |
6875d990ed7ba48ff24de69268253af9a3e1909e | simplify assembly info | Mystra007/ExtendedFridgeSMAPI | ExtendedFridge/Properties/AssemblyInfo.cs | ExtendedFridge/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Crystalmir.ExtendedFridge")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyProduct("Crystalmir.StardewMods")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: Guid("e15d4c4a-d9d7-4113-a069-40ece09ec443")]
[as... | using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
[assembly: AssemblyCompany("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyDescription("")]
... | bsd-3-clause | C# |
7d5e8fd78c4384b9e235b220f543d0d883d2ba88 | fix test | JetBrains/TeamCity.ServiceMessages | TeamCity.ServiceMessages.Tests/src/Write/TimestampMessageUpdaterTest.cs | TeamCity.ServiceMessages.Tests/src/Write/TimestampMessageUpdaterTest.cs | using System;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using JetBrains.TeamCity.ServiceMessages.Read;
using JetBrains.TeamCity.ServiceMessages.Write.Special.Impl.Updater;
using NUnit.Framework;
namespace JetBrains.TeamCity.ServiceMessages.Tests.Write
{
[TestFixtu... | using System;
using System.Globalization;
using System.Linq;
using JetBrains.TeamCity.ServiceMessages.Read;
using JetBrains.TeamCity.ServiceMessages.Write.Special.Impl.Updater;
using NUnit.Framework;
namespace JetBrains.TeamCity.ServiceMessages.Tests.Write
{
[TestFixture]
public class TimestampMessageUpd... | apache-2.0 | C# |
88fab030fa3d8cbe85c62125c602c4066e03e3cf | Fix up the test to return correct type | chunkychode/octokit.net,rlugojr/octokit.net,hitesh97/octokit.net,SamTheDev/octokit.net,hahmed/octokit.net,gabrielweyer/octokit.net,eriawan/octokit.net,Sarmad93/octokit.net,yonglehou/octokit.net,forki/octokit.net,khellang/octokit.net,daukantas/octokit.net,devkhan/octokit.net,nsrnnnnn/octokit.net,kdolan/octokit.net,shift... | Octokit.Tests/Clients/TeamsClientTests.cs | Octokit.Tests/Clients/TeamsClientTests.cs | using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri. No need to fake up the response. All *tho... | using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri. No need to fake up the response. All *tho... | mit | C# |
7e46cff3a0fdf767592ce071f3ba659ecdaef6ca | Update solution version to 1.3.1 | riveryc/DimensionData.ComputeClient,riveryc/DimensionData.ComputeClient,DimensionDataCBUSydney/DimensionData.ComputeClient,DimensionDataCBUSydney/Compute.Api.Client,riveryc/DimensionData.ComputeClient,samuelchong/Compute.Api.Client,DimensionDataCBUSydney/DimensionData.ComputeClient,DimensionDataCBUSydney/DimensionData.... | ComputeClient/SolutionAssemblyInfo.cs | ComputeClient/SolutionAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Dimension Data")]
[assembly: AssemblyProduct("Compute as a Service (CaaS) API client.")]
[assembly: AssemblyCopyright("Copyright © Dimension Data 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")]
[assem... | using System.Reflection;
[assembly: AssemblyCompany("Dimension Data")]
[assembly: AssemblyProduct("Compute as a Service (CaaS) API client.")]
[assembly: AssemblyCopyright("Copyright © Dimension Data 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")]
[assem... | mit | C# |
92de0a8d24e79c132b01931526a43620cfb5739f | add ToBase64(), FromBase64() string extensions tests | martinlindhe/Punku | PunkuTests/Extensions/StringExtensions.cs | PunkuTests/Extensions/StringExtensions.cs | using System;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Extensions")]
public class Extensions_String
{
[Test]
public void Repeat01 ()
{
Assert.AreEqual ("hej".Repeat (2), "hejhej");
}
[Test]
public void Repeat02 ()
{
Assert.AreEqual ("häj".Repeat (2), "häjhäj");
}
[Test]
public voi... | using System;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Extensions")]
public class Extensions_String
{
[Test]
public void Repeat01 ()
{
Assert.AreEqual ("hej".Repeat (2), "hejhej");
}
[Test]
public void Repeat02 ()
{
Assert.AreEqual ("häj".Repeat (2), "häjhäj");
}
[Test]
public voi... | mit | C# |
5a10e31948dfab24fe432e19ab2647687b15df33 | Fix derp with SaveRestoreManager | damagefilter/PlayblackCore | Game/Savegame/SaveRestoreBehaviour.cs | Game/Savegame/SaveRestoreBehaviour.cs | using System;
using UnityEngine;
using Playblack.EventSystem.Events;
using Playblack.EventSystem;
namespace Playblack.Savegame {
public class SaveRestoreBehaviour : MonoBehaviour {
[Tooltip("Defines the way the game is saved. Defaults to a per-scene save. Loading between different types is not supported a... | using System;
using UnityEngine;
using Playblack.EventSystem.Events;
using Playblack.EventSystem;
namespace Playblack.Savegame {
public class SaveRestoreBehaviour : MonoBehaviour {
[Tooltip("Defines the way the game is saved. Defaults to a per-scene save. Loading between different types is not supported a... | bsd-3-clause | C# |
41bbfc3ef365379a23da049d9914d4a3528db6bf | Change to instantiate DispatcherTimer of Throttle like operator always in UI thread | emoacht/Monitorian | Source/Monitorian.Core/Helper/Throttle.cs | Source/Monitorian.Core/Helper/Throttle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace Monitorian.Core.Helper
{
/// <summary>
/// Rx Throttle like operator
/// </summary>
public class... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Threading;
namespace Monitorian.Core.Helper
{
/// <summary>
/// Rx Throttle like operator
/// </summary>
public class Throttle
{
protec... | mit | C# |
308d76d9b8f11421f0d1f583f730f059df407b4d | Replace age with date of birth | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public... | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | apache-2.0 | C# |
e2cc3b4c2f248eb0acffa1f5fe56fb035448ab65 | Validate Rebus incoming messages | evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx | HermaFx.Rebus/ValidatingExtensions.cs | HermaFx.Rebus/ValidatingExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rebus;
using Rebus.Configuration;
using HermaFx.DataAnnotations;
namespace HermaFx.Rebus
{
public static class ValidatingExtensions
{
public static RebusConfigurer ValidateOutgoingMessages(this RebusConfigurer configurer... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rebus;
using Rebus.Configuration;
using HermaFx.DataAnnotations;
namespace HermaFx.Rebus
{
public static class ValidatingExtensions
{
public static RebusConfigurer ValidateOutgoingMessages(this RebusConfigurer configurer... | mit | C# |
e28e5d95e92a12313c2256f6838f843c278f161a | upgrade version to 1.5.1 | tangxuehua/ecommon,Aaron-Liu/ecommon | src/ECommon/Properties/AssemblyInfo.cs | src/ECommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | mit | C# |
6bfa4443714e81cb5813668ddc9851f2f30dd531 | Fix for Issue #95 | mjmilan/crisischeckin,djjlewis/crisischeckin,brunck/crisischeckin,lloydfaulkner/crisischeckin,HTBox/crisischeckin,coridrew/crisischeckin,RyanBetker/crisischeckin,MobileRez/crisischeckin,brunck/crisischeckin,pottereric/crisischeckin,RyanBetker/crisischeckinUpdates,mjmilan/crisischeckin,pottereric/crisischeckin,MobileRez... | crisischeckin/crisicheckinweb/ViewModels/RegisterModel.cs | crisischeckin/crisicheckinweb/ViewModels/RegisterModel.cs | using Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace crisicheckinweb.ViewModels
{
public class RegisterModel
{
[Required]
[Display(Name = "First Name")]
public string First... | using Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace crisicheckinweb.ViewModels
{
public class RegisterModel
{
[Required]
[Display(Name = "First Name")]
public string First... | apache-2.0 | C# |
ea26ed64c33b97fd62e75bfa33dff997e074270a | Update BlockBufferGeneratorTests.cs (#3838) | fassadlr/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.SmartContracts.Tests/BlockBufferGeneratorTests.cs | src/Stratis.Bitcoin.Features.SmartContracts.Tests/BlockBufferGeneratorTests.cs | using Stratis.Bitcoin.Features.Miner;
using Stratis.SmartContracts.Networks;
using Xunit;
namespace Stratis.Bitcoin.Features.SmartContracts.Tests
{
public class BlockBufferGeneratorTests
{
[Fact]
public void Buffer_50Kb_For_1MB_BlockSize()
{
var network = new SmartContracts... | using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.Miner;
using Stratis.SmartContracts.Networks;
using Xunit;
namespace Stratis.Bitcoin.Features.SmartContracts.Tests
{
public class BlockBufferGeneratorTests
{
private readonly BlockBufferGenerator bufferGenerator;
public Block... | mit | C# |
1dd9f84a2acf7606586da1ebe3ab83f0b059713e | Use default getters and setters | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | tests/Core2D.UnitTests/TestPointShape.cs | tests/Core2D.UnitTests/TestPointShape.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Shapes.Interfaces;
namespace Core2D.UnitTests
{
public class TestPointShape : TestBaseShape, IPointShape
{
public double X { get; set... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Shapes.Interfaces;
namespace Core2D.UnitTests
{
public class TestPointShape : TestBaseShape, IPointShape
{
public double X { get => t... | mit | C# |
ed0e0ad3f02d40616f93d8e2d7370017f3da2e7f | Bump Version. | realartists/npredicate | nPredicate/Properties/AssemblyInfo.cs | nPredicate/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("RealArtists.nPredicate")]
[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("RealArtists.nPredicate")]
[assembly: Asse... | mit | C# |
a27645c319e51f5f826e5758b9838b9f49b6c269 | Remove extra backslash | EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework.Android/AndroidGameActivity.cs | osu.Framework.Android/AndroidGameActivity.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 Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
namespace osu.Framework.Android
{
public abstract class Andr... | // 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 Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
namespace osu.Framework.Android
{
public abstract class Andr... | mit | C# |
9bebe2110cd3388d2fd0332fda540201f2362465 | Test changed | OPEXGroup/ITCC.Library | ITCC.UI.Testing/MainWindow.xaml.cs | ITCC.UI.Testing/MainWindow.xaml.cs | using System.Windows;
using ITCC.Logging;
using ITCC.UI.Loggers;
using ITCC.UI.Windows;
namespace ITCC.UI.Testing
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponen... | using System.Windows;
using ITCC.Logging;
using ITCC.UI.Loggers;
using ITCC.UI.Windows;
namespace ITCC.UI.Testing
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponen... | bsd-2-clause | C# |
dc31c2b165a7c2f2a29c3b0add1f1d93e86293a2 | Fix path separator on Linux | nkolev92/sdk,nkolev92/sdk | test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildASolutionWithNonAnyCPUPlatform.cs | test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildASolutionWithNonAnyCPUPlatform.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.NET.TestFramework;
using Microsoft.NET.TestFramework.Assertions;
using Mic... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.NET.TestFramework;
using Microsoft.NET.TestFramework.Assertions;
using Mic... | mit | C# |
8c3f682ba80857bb7d04d77289070311d9cccdfc | Fix compiler warnings | mattfrear/Swashbuckle.AspNetCore.Examples | test/WebApi2.0-Swashbuckle5/Models/Examples/PersonRequestDependencyInjectionExample.cs | test/WebApi2.0-Swashbuckle5/Models/Examples/PersonRequestDependencyInjectionExample.cs | using Microsoft.AspNetCore.Hosting;
using Swashbuckle.AspNetCore.Filters;
#if NETCOREAPP3_0
using IHostingEnvironment = Microsoft.AspNetCore.Hosting.IWebHostEnvironment;
#endif
namespace WebApi.Models.Examples
{
internal class PersonRequestDependencyInjectionExample : IExamplesProvider
{
private reado... | using Microsoft.AspNetCore.Hosting;
using Swashbuckle.AspNetCore.Filters;
namespace WebApi.Models.Examples
{
internal class PersonRequestDependencyInjectionExample : IExamplesProvider
{
private readonly IHostingEnvironment hostingEnvironment;
public PersonRequestDependencyInjectionExample(IHo... | mit | C# |
c9679e42edf1f4984d344e14800efab6f2381854 | Edit it | sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp | websocket-sharp/Net/HttpBasicIdentity.cs | websocket-sharp/Net/HttpBasicIdentity.cs | #region License
/*
* HttpBasicIdentity.cs
*
* This code is derived from System.Net.HttpListenerBasicIdentity.cs of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2014 sta.blockhead
*
* Permission is hereby granted, free of... | #region License
/*
* HttpBasicIdentity.cs
*
* This code is derived from System.Net.HttpListenerBasicIdentity.cs of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2014 sta.blockhead
*
* Permission is hereby granted, free of... | mit | C# |
122a7bd61eeb6c49e1d9a1d3c72a783ac102d0c4 | Update NavigationPage Platform Specifics demo with pre-393 compatible color | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/NavigationPageWindows.cs | Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/NavigationPageWindows.cs | using System.Windows.Input;
namespace Xamarin.Forms.Controls.GalleryPages.PlatformSpecificsGalleries
{
public class NavigationPageWindows : NavigationPage
{
public NavigationPageWindows(ICommand restore)
{
PushAsync(CreateRoot(restore));
WindowsPlatformSpecificsGalleryHelpers.AddToolBarItems(this);
Bar... | using System.Windows.Input;
namespace Xamarin.Forms.Controls.GalleryPages.PlatformSpecificsGalleries
{
public class NavigationPageWindows : NavigationPage
{
public NavigationPageWindows(ICommand restore)
{
PushAsync(CreateRoot(restore));
WindowsPlatformSpecificsGalleryHelpers.AddToolBarItems(this);
Bar... | mit | C# |
f4bf17837b6765329c0de17b9ea6c8ae7d459f3e | Use version string | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/Demos/Console/Blink/Program.cs | NET/Demos/Console/Blink/Program.cs | using System;
using Treehopper;
using System.Threading.Tasks;
using Treehopper.Desktop;
using System.Windows.Threading;
namespace Blink
{
/// <summary>
/// This demo blinks the built-in LED using async programming.
/// </summary>
class Program
{
static TreehopperUsb Board;
//[MTAT... | using System;
using Treehopper;
using System.Threading.Tasks;
using Treehopper.Desktop;
using System.Windows.Threading;
namespace Blink
{
/// <summary>
/// This demo blinks the built-in LED using async programming.
/// </summary>
class Program
{
static TreehopperUsb Board;
//[MTAT... | mit | C# |
74e09af70d2bcb4c85812971750f9ea3acf9246b | Clean up MapPathEventArgs | stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,murador/xsp,arthot/xsp,murador/xsp,stormleoxia/xsp,murador/xsp | src/Mono.WebServer/MapPathEventArgs.cs | src/Mono.WebServer/MapPathEventArgs.cs | //
// Mono.WebServer.MapPathEventArgs
//
// Authors:
// Daniel Lopez Ridruejo
// Gonzalo Paniagua Javier
//
// Documentation:
// Brian Nickel
//
// Copyright (c) 2002 Daniel Lopez Ridruejo.
// (c) 2002,2003 Ximian, Inc.
// All rights reserved.
// (C) Copyright 2004-2010 Novell, Inc. (http://www.nov... | //
// Mono.WebServer.MapPathEventArgs
//
// Authors:
// Daniel Lopez Ridruejo
// Gonzalo Paniagua Javier
//
// Documentation:
// Brian Nickel
//
// Copyright (c) 2002 Daniel Lopez Ridruejo.
// (c) 2002,2003 Ximian, Inc.
// All rights reserved.
// (C) Copyright 2004-2010 Novell, Inc. (http://www.nov... | mit | C# |
8c31837169d88539c9680d8c8dda07324ea98bde | Fix invalid character | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JamesPetty.cs | src/Firehose.Web/Authors/JamesPetty.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MarkKraus : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "James";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MarkKraus : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "James";
... | mit | C# |
75291d05141dbdf8a8136fc7979117e6775a9f5c | Remove unused using | Archie-Yang/PcscDotNet | src/PcscDotNet/SCardErrorExtensions.cs | src/PcscDotNet/SCardErrorExtensions.cs | using System;
using System.Linq;
namespace PcscDotNet
{
public static class SCardErrorExtensions
{
public static void Throw(this SCardError error)
{
throw new PcscException(error);
}
public static void ThrowIfAny(this SCardError error, params SCardError[] errors)
... | using System;
using System.ComponentModel;
using System.Linq;
namespace PcscDotNet
{
public static class SCardErrorExtensions
{
public static void Throw(this SCardError error)
{
throw new PcscException(error);
}
public static void ThrowIfAny(this SCardError error, p... | mit | C# |
eb190d83bd98b9ea07967ed9fd043d5330dd98f2 | Adjust CS multiplier to match stable | UselessToucan/osu,2yangk23/osu,Drezi126/osu,peppy/osu-new,peppy/osu,Nabile-Rahmani/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,naoey/osu,EVAST9919/osu,naoey/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,Frontear/osuKyzer,smoo... | osu.Game/Rulesets/Mods/ModHardRock.cs | osu.Game/Rulesets/Mods/ModHardRock.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModHardRock : Mod, IApplicableToDi... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModHardRock : Mod, IApplicableToDi... | mit | C# |
97cf8adf3630aa0e979eaaa464371b6e08cd93a3 | Update CacheKeyKind.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Cache/CacheKeyKind.cs | TIKSN.Core/Data/Cache/CacheKeyKind.cs | namespace TIKSN.Data.Cache
{
public enum CacheKeyKind
{
Entity,
Query
}
}
| namespace TIKSN.Data.Cache
{
public enum CacheKeyKind
{
Entity,
Query
}
} | mit | C# |
cf898080969c21f9729590dd21c7aaa98de39140 | Update ResponseHeader.cs | bugfi5h/Alexa-Smart-Home | Response/Headers/ResponseHeader.cs | Response/Headers/ResponseHeader.cs | using RKon.Alexa.NET.Request;
using RKon.Alexa.NET.Types;
using Newtonsoft.Json;
using System.Linq;
namespace RKon.Alexa.NET.Response
{
/// <summary>
/// Klasse für den Header einer SmartHomeResponse
/// </summary>
public class ResponseHeader
{
/// <summary>
/// Messag... | using RKon.Alexa.NET.Request;
using RKon.Alexa.NET.Types;
using Newtonsoft.Json;
using System.Linq;
namespace RKon.Alexa.NET.Response
{
/// <summary>
/// Klasse für den Header einer SmartHomeResponse
/// </summary>
public class ResponseHeader
{
/// <summary>
/// Messag... | mit | C# |
e992c0f858508674655f208e17d394334818eaf2 | Use one-shot SHA256 functions | carbon/Amazon | src/Amazon.S3/Helpers/StreamHelper.cs | src/Amazon.S3/Helpers/StreamHelper.cs | using System.IO;
using System.Security.Cryptography;
namespace Amazon.S3;
internal static class StreamHelper
{
public static byte[] ComputeSHA256(Stream stream)
{
#if NET7_0_OR_GREATER
byte[] hash = SHA256.HashData(stream);
#else
using SHA256 sha = SHA256.Create();
byte... | using System.IO;
using System.Security.Cryptography;
namespace Amazon.S3;
internal static class StreamHelper
{
public static byte[] ComputeSHA256(Stream stream)
{
using SHA256 sha = SHA256.Create();
byte[] data = sha.ComputeHash(stream);
stream.Position = 0;
... | mit | C# |
9f4e1a56e112d0a87c9a5eb72162252815bf4c74 | Add Message to LogField. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Model/Logs/LogField.cs | src/CK.Glouton.Model/Logs/LogField.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace CK.Glouton.Model.Logs
{
public class LogField
{
public const string LOG_TYPE = "LogType";
public const string EXCEPTION = "Exception";
public const string LOG_TIME = "LogTime";
public const string LOG_... | using System;
using System.Collections.Generic;
using System.Text;
namespace CK.Glouton.Model.Logs
{
public class LogField
{
public const string LOG_TYPE = "LogType";
public const string EXCEPTION = "Exception";
public const string LOG_TIME = "LogTime";
public const string LOG_... | mit | C# |
8b2f26912cf29de9ba3a0631fdd349d9a7d3840f | Fix some CS warnings | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Controllers/SystemController.cs | Anlab.Mvc/Controllers/SystemController.cs | using System;
using AnlabMvc.Models.Roles;
using AnlabMvc.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace AnlabMvc.Controllers
{
[Authorize(Roles = RoleCodes.Admin)]
public class SystemController : ApplicationController
... | using System;
using AnlabMvc.Models.Roles;
using AnlabMvc.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace AnlabMvc.Controllers
{
[Authorize(Roles = RoleCodes.Admin)]
public class SystemController : ApplicationController
{
p... | mit | C# |
b64bc0d835a10b02aa7785521c69e783548ed79b | Add IDisposable implementation to Subscription | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/Portable/Runtime/Subscription.cs | Bindings/Portable/Runtime/Subscription.cs | using System;
using System.Runtime.InteropServices;
namespace Urho
{
public class Subscription : IDisposable {
internal GCHandle gch;
internal IntPtr UnmanagedProxy;
internal Subscription (Action<IntPtr> proxy)
{
Runtime.Validate(typeof(Subscription));
gch = GCHandle.Alloc (proxy);
}
[DllImport ... | using System;
using System.Runtime.InteropServices;
namespace Urho
{
public class Subscription {
internal GCHandle gch;
internal IntPtr UnmanagedProxy;
internal Subscription (Action<IntPtr> proxy)
{
Runtime.Validate(typeof(Subscription));
gch = GCHandle.Alloc (proxy);
}
[DllImport (Consts.Native... | mit | C# |
611e837fbfa23809baa54387742ef89696b878bc | Remove unimplemented tests | slvnperron/NUnit-retry | src/NUnit-retry.Tests/FixtureTests.cs | src/NUnit-retry.Tests/FixtureTests.cs | // /////////////////////////////////////////////////////////////////////
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// /////////////////////////////////////////////////////////////... | // /////////////////////////////////////////////////////////////////////
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// /////////////////////////////////////////////////////////////... | mit | C# |
4d017c8339514047b3c3558a0c0bd9c564c6aa73 | Put frequency back to 1000ms | rockfordlhotka/DistributedComputingDemo,rockfordlhotka/DistributedComputingDemo,rockfordlhotka/DistributedComputingDemo | src/ParkingRampSimulator/Simulator.cs | src/ParkingRampSimulator/Simulator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ParkingRampSimulator
{
public class Simulator
{
internal static Random Random = new Random();
public static Clock Clock { get; private set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ParkingRampSimulator
{
public class Simulator
{
internal static Random Random = new Random();
public static Clock Clock { get; private set; }
... | mit | C# |
2aa037e7c0018c81820ca2c4e9948fbf62935846 | create instance of program instead of client | SexyFishHorse/IrcClient4Net | IrcClient4Net/Program.cs | IrcClient4Net/Program.cs | namespace SexyFishHorse.Irc.Client
{
using System;
using System.Threading;
using Ninject;
using SexyFishHorse.Irc.Client.Configuration;
public class Program
{
private readonly ITwitchIrcClient client;
public Program(ITwitchIrcClient client)
{
this.client = ... | namespace SexyFishHorse.Irc.Client
{
using Ninject;
using SexyFishHorse.Irc.Client.Configuration;
public class Program
{
public static void Main(string[] args)
{
var kernel = new StandardKernel(new IrcClientModule());
var client = kernel.Get<ITwitchIrcClient>()... | mit | C# |
d26445fdcdbb2970e4c61ed51c7c41f7fd55fc1b | use remarks tag. | jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,Avalo... | src/Skia/Avalonia.Skia/SkiaOptions.cs | src/Skia/Avalonia.Skia/SkiaOptions.cs | using System;
using Avalonia.Skia;
namespace Avalonia
{
/// <summary>
/// Options for Skia rendering subsystem.
/// </summary>
public class SkiaOptions
{
/// <summary>
/// Custom gpu factory to use. Can be used to customize behavior of Skia renderer.
/// </summary>
p... | using System;
using Avalonia.Skia;
namespace Avalonia
{
/// <summary>
/// Options for Skia rendering subsystem.
/// </summary>
public class SkiaOptions
{
/// <summary>
/// Custom gpu factory to use. Can be used to customize behavior of Skia renderer.
/// </summary>
p... | mit | C# |
e2adfe1927653c0727773e5275729a7b2eaad19a | Update starting solution with correct namespaces. | HamsterExAstris/LegoDimensions,HamsterExAstris/LegoDimensions,HamsterExAstris/LegoDimensions | src/Tracker/Views/_ViewImports.cshtml | src/Tracker/Views/_ViewImports.cshtml | @using ShatteredTemple.LegoDimensions.Tracker
@using ShatteredTemple.LegoDimensions.Tracker.Models
@using ShatteredTemple.LegoDimensions.Tracker.ViewModels.Account
@using ShatteredTemple.LegoDimensions.Tracker.ViewModels.Manage
@using Microsoft.AspNet.Identity
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
| @using Tracker
@using Tracker.Models
@using Tracker.ViewModels.Account
@using Tracker.ViewModels.Manage
@using Microsoft.AspNet.Identity
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
| mit | C# |
61e0a1de4e6d9048522978d6836732ed8911d1f2 | handle all packages* routes | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache/Controllers/PackagesController.cs | NuCache/Controllers/PackagesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Threading.Tasks;
namespace NuCache.Controllers
{
public class PackagesController : ApiController
{
private readonly IPackageSource _packageSource;
private readonly IDic... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Threading.Tasks;
namespace NuCache.Controllers
{
public class PackagesController : ApiController
{
private readonly IPackageSource _packageSource;
private readonly IDic... | lgpl-2.1 | C# |
0718ccbd3605e041caa5b0fbf5bbae34cdcfa12b | Make test more specific | appharbor/appharbor-cli | src/AppHarbor.Tests/GitRepositoryConfigurerTest.cs | src/AppHarbor.Tests/GitRepositoryConfigurerTest.cs | using System;
using System.IO;
using AppHarbor.Model;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class GitRepositoryConfigurerTest
{
[Theory, AutoCommandData]
public void ShouldTryAndSetUpGitRemoteIfPossible([Frozen]Mock<IGitExecutor> gitExe... | using System;
using System.IO;
using AppHarbor.Model;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class GitRepositoryConfigurerTest
{
[Theory, AutoCommandData]
public void ShouldTryAndSetUpGitRemoteIfPossible([Frozen]Mock<IGitExecutor> gitExe... | mit | C# |
57a9430595083ab18f5b92a4fc0a7a6a00e865fc | Update assembly version per feedback | DheerendraRathor/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,AzCiS/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,btasdoven/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,peshen/azure-sdk-for-net,hyonholee/azure-sdk-for-net,pilor/azure-sdk-for-net,olydis/azure-sdk-for-net,Yahn... | src/ResourceManagement/Batch/Microsoft.Azure.Management.Batch/Properties/AssemblyInfo.cs | src/ResourceManagement/Batch/Microsoft.Azure.Management.Batch/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. 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
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | //
// Copyright (c) Microsoft. 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
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | mit | C# |
e5cc03d0915a0d28d9912e2e4cde3bc0c840b3a7 | Add DomainException | iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie | src/Peachpie.Library/Exceptions/LogicExceptions.cs | src/Peachpie.Library/Exceptions/LogicExceptions.cs | using System;
using System.Collections.Generic;
using System.Text;
using Pchp.Core;
namespace Pchp.Library.Spl
{
/// <summary>
/// Exception thrown if an argument is not of the expected type.
/// </summary>
[PhpType(PhpTypeAttribute.InheritName), PhpExtension(SplExtension.Name)]
public class Inval... | using System;
using System.Collections.Generic;
using System.Text;
using Pchp.Core;
namespace Pchp.Library.Spl
{
/// <summary>
/// Exception thrown if an argument is not of the expected type.
/// </summary>
[PhpType(PhpTypeAttribute.InheritName), PhpExtension(SplExtension.Name)]
public class Inval... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.