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 |
|---|---|---|---|---|---|---|---|---|
20d4492f2fd49f25b889124c006ca3bcd1896a58 | exclude soft-deleted FilterLists from API | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | server/src/FilterLists.Services/FilterList/FilterListService.cs | server/src/FilterLists.Services/FilterList/FilterListService.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using FilterLists.Services.FilterList.Models;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.FilterList
{
public class FilterListS... | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using FilterLists.Services.FilterList.Models;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.FilterList
{
public class FilterListService : Service
... | mit | C# |
c25d95c154a506b9a14679a0484a2b7feb65055f | Support directories | gildorwang/video-fuzzer | VideoFuzzer/Program.cs | VideoFuzzer/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VideoFuzzer
{
class Program
{
/// <summary>
/// Only process files that are bigger than 50MB.
/// </summary>
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VideoFuzzer
{
class Program
{
static void Main(string[] args)
{
if(!args.Any())
{
r... | mit | C# |
752f68574b7b6d33af92b92bc52e227fe153e7e3 | Remove default OAuth1 CallbackUrl | junian/Xamarin.Social,moljac/Xamarin.Social,moljac/Xamarin.Social,aphex3k/Xamarin.Social,pacificIT/Xamarin.Social,xamarin/Xamarin.Social,junian/Xamarin.Social,aphex3k/Xamarin.Social,xamarin/Xamarin.Social,pacificIT/Xamarin.Social | src/Xamarin.Social/OAuth1Service.cs | src/Xamarin.Social/OAuth1Service.cs | //
// Copyright 2012, Xamarin Inc.
//
// 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... | //
// Copyright 2012, Xamarin Inc.
//
// 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... | apache-2.0 | C# |
69a9e3a006fa6fc774ed63959a2cebc62fdd387c | add AsEnumerable | shockzinfinity/sapHowmuch.Base | sapHowmuch.Base/Extensions/SboUIExtensions.cs | sapHowmuch.Base/Extensions/SboUIExtensions.cs | using System.Collections.Generic;
namespace sapHowmuch.Base.Extensions
{
public static class SboUIExtensions
{
/// <summary>
/// Return IEnumerable for LINQ support
/// </summary>
/// <param name="dbDatasources"></param>
/// <returns></returns>
public static IEnumerable<SAPbouiCOM.DBDataSource> AsEnumer... | using System.Collections.Generic;
namespace sapHowmuch.Base.Extensions
{
public static class SboUIExtensions
{
//public static SAPbouiCOM.DataTable GetDataTable(this SAPbouiCOM.Form form)
//{
// form.DataSources.DataTables.GetEnumerator
//}
public static IEnumerable<SAPbouiCOM.MenuItem> AsEnumerable(this... | mit | C# |
20593cf68076ab85cc2bf58b057e93e13cca644a | fix prefix in build script | roflkins/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient,roflkins/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient,IdentityModel/IdentityModel.OidcClient2 | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild ... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild ... | apache-2.0 | C# |
f018a3b0b6a12b867cacc90e81151b89553f91c6 | remove litter | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal/DependencyResolution/ProviderServices.cs | src/SFA.DAS.EAS.Portal/DependencyResolution/ProviderServices.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SFA.DAS.EAS.Portal.Configuration;
using SFA.DAS.Providers.Api.Client;
namespace SFA.DAS.EAS.Portal.DependencyResolution
{
public static class ProviderServices
{
public static IServiceCollection AddProviderServices... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SFA.DAS.EAS.Portal.Configuration;
using SFA.DAS.Providers.Api.Client;
namespace SFA.DAS.EAS.Portal.DependencyResolution
{
public static class ProviderServices
{
public static IServiceCollection AddProviderServices... | mit | C# |
93411463f182d623d9904aa002ccf7cba8759294 | Fix incorrect assumption that a workspace is a Visual Studio workspace | paulvanbrenk/roslyn,ErikSchierboom/roslyn,tmeschter/roslyn,weltkante/roslyn,genlu/roslyn,cston/roslyn,davkean/roslyn,abock/roslyn,KevinRansom/roslyn,tmeschter/roslyn,aelij/roslyn,shyamnamboodiripad/roslyn,nguerrera/roslyn,MichalStrehovsky/roslyn,OmarTawfik/roslyn,dotnet/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,pan... | src/VisualStudio/Core/Def/Telemetry/ProjectTypeLookupService.cs | src/VisualStudio/Core/Def/Telemetry/ProjectTypeLookupService.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.Composition;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudi... | // 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.Composition;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudi... | mit | C# |
f9af6a180bc2f5c492b0da188a9be4aca0d726d2 | Fix when user sanity check happens in AuthenticationContext | Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Security/AuthenticationContext.cs | src/Tgstation.Server.Host/Security/AuthenticationContext.cs | using System;
using System.Linq;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <summary>
/// Manages <see cref="Api.Models.User"/>s for a scope
/// </summary>
sealed class AuthenticationContext : IAuthenticationContext
{
/// <inheritdoc />... | using System;
using System.Linq;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <summary>
/// Manages <see cref="Api.Models.User"/>s for a scope
/// </summary>
sealed class AuthenticationContext : IAuthenticationContext
{
/// <inheritdoc />... | agpl-3.0 | C# |
b37197f66aa4ae86ee7fba0393b38a41e96c347f | Fix for U4-10821, render alt text attribute from grid image editor, or empty string if null (for screen readers) | abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,rasmuseeg/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,tcmorris/Umbraco-CMS,NikRimington/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,aaronpowell/Umbraco-CMS,marcemarc/Umbraco-CMS,lars-erik/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,lars-erik/Um... | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Media.cshtml | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Media.cshtml | @model dynamic
@using Umbraco.Web.Templates
@if (Model.value != null)
{
var url = Model.value.image;
if(Model.editor.config != null && Model.editor.config.size != null){
url += "?width=" + Model.editor.config.size.width;
url += "&height=" + Model.editor.config.size.height;
if(Model... | @model dynamic
@using Umbraco.Web.Templates
@if (Model.value != null)
{
var url = Model.value.image;
if(Model.editor.config != null && Model.editor.config.size != null){
url += "?width=" + Model.editor.config.size.width;
url += "&height=" + Model.editor.config.size.height;
if(Model... | mit | C# |
f59271f3592c2bdd8e1e8a9ab7834d121cc77be8 | Handle content pages as well | MassivePixel/Sancho.XAMLParser | samples/TabletDesigner/TabletDesignerPage.xaml.cs | samples/TabletDesigner/TabletDesignerPage.xaml.cs | using System;
using Sancho.DOM.XamarinForms;
using Sancho.XAMLParser;
using TabletDesigner.Helpers;
using Xamarin.Forms;
namespace TabletDesigner
{
public interface ILogAccess
{
void Clear();
string Log { get; }
}
public partial class TabletDesignerPage : ContentPage
{
ILo... | using System;
using Sancho.DOM.XamarinForms;
using Sancho.XAMLParser;
using TabletDesigner.Helpers;
using Xamarin.Forms;
namespace TabletDesigner
{
public interface ILogAccess
{
void Clear();
string Log { get; }
}
public partial class TabletDesignerPage : ContentPage
{
ILo... | mit | C# |
de0e46eaa32e463083ee354c08f11a1d84921bb7 | Add GitRepository.IsOnMainBranch and IsOnMainOrMasterBranch | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Git/GitRepositoryExtensions.cs | source/Nuke.Common/Git/GitRepositoryExtensions.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.Utilities;
namespace Nuke.Common.Git
{
public enum GitHubItemType
{
Automatic,
... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.Utilities;
namespace Nuke.Common.Git
{
public enum GitHubItemType
{
Automatic,
... | mit | C# |
2eacb593df7263d9686f845b65ecb2bfdd3d283b | Remove unused using | fredatgithub/GitAutoUpdate | GitAutoUpdateGUI/Logger.cs | GitAutoUpdateGUI/Logger.cs | using System;
using System.Windows.Forms;
namespace GitAutoUpdateGUI
{
public static class Logger
{
public static string Message { get; set; }
public static DestinationLog Destination { get; set; }
private const string OneSpace = " ";
private const string Dash = "-";
private static readonly st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GitAutoUpdateGUI
{
public static class Logger
{
public static string Message { get; set; }
public static DestinationLog Destination { get; set; }
pr... | mit | C# |
78f2f09c264637170dd969004a4d5eadf1844b65 | Fix hoisting of null initializers | x335/JSIL,acourtney2015/JSIL,antiufo/JSIL,dmirmilshteyn/JSIL,sq/JSIL,volkd/JSIL,hach-que/JSIL,dmirmilshteyn/JSIL,FUSEEProjectTeam/JSIL,Trattpingvin/JSIL,FUSEEProjectTeam/JSIL,volkd/JSIL,FUSEEProjectTeam/JSIL,acourtney2015/JSIL,iskiselev/JSIL,Trattpingvin/JSIL,hach-que/JSIL,dmirmilshteyn/JSIL,x335/JSIL,antiufo/JSIL,Trat... | JSIL/DeclarationHoister.cs | JSIL/DeclarationHoister.cs | using System;
using System.Collections.Generic;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Ast.Transforms;
using ICSharpCode.NRefactory.CSharp;
namespace JSIL {
public class DeclarationHoister : ContextTrackingVisitor<object> {
public readonly BlockStatement Output;
public Variable... | using System;
using System.Collections.Generic;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Ast.Transforms;
using ICSharpCode.NRefactory.CSharp;
namespace JSIL {
public class DeclarationHoister : ContextTrackingVisitor<object> {
public readonly BlockStatement Output;
public Variable... | mit | C# |
d2bce825b30f6d6cd26f3f95fb29212e7e0d1e91 | Revert "Fixed a typo" | denikson/Mono.Cecil.Inject | Mono.Cecil.Inject/MethodDefinitionExtensions.cs | Mono.Cecil.Inject/MethodDefinitionExtensions.cs | using Mono.Cecil;
namespace Mono.Cecil.Inject
{
public static class MethodDefinitionExtensions
{
public static void InjectWith(this MethodDefinition method,
MethodDefinition injectionMethod,
int codeOffset,
... | using Mono.Cecil;
namespace Mono.Cecil.Inject
{
public static class MethodDefinitionExtensions
{
public static void InjectWith(this MethodDefinition method,
MethodDefinition injectionMethod,
int codeOffset,
... | mit | C# |
4725901a5abffec404bbf76fdaf9647a26a0a227 | extend dummy msgbox to accept parameter | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/ExpressionTree/Scope.cs | CobaltAHK/ExpressionTree/Scope.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace CobaltAHK.ExpressionTree
{
public class Scope
{
public Scope() : this(null) { }
public Scope(Scope parentScope) {
parent = parentScope;
#if DEBUG
var param = Expression.Parameter(typeof(string), "str");
var msgbox ... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace CobaltAHK.ExpressionTree
{
public class Scope
{
public Scope() : this(null) { }
public Scope(Scope parentScope) {
parent = parentScope;
#if DEBUG
var msgbox = Expression.Lambda<Action>(
Expression.Block(
Expr... | mit | C# |
106f6728a6e824bbf745e750c4621270d647bdda | Fix test | noelbundick/ci-api | test/SampleHubFacts.cs | test/SampleHubFacts.cs | using API.Hubs;
using Xunit;
namespace API.Tests
{
public class SampleHubFacts
{
[Fact]
public void ItExists()
{
var hub = new SampleHub();
Assert.NotNull(hub);
}
[Fact]
public void PassingTest()
{
Assert.True(true);
}
[Fact]
public void AnotherPassingTest()
{
var x = 3;
... | using API.Hubs;
using Xunit;
namespace API.Tests
{
public class SampleHubFacts
{
[Fact]
public void ItExists()
{
var hub = new SampleHub();
Assert.NotNull(hub);
}
[Fact]
public void PassingTest()
{
Assert.True(true);
}
[Fact]
public void AnotherPassingTest()
{
var x = 3;
... | mit | C# |
8efbe4865c4bad2d2d574c344bc0c9d59fe6363e | Update Concentration.cs (#44) | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Advanced/Sentinel/Concentration.cs | trunk/DefaultCombat/Routines/Advanced/Sentinel/Concentration.cs | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Concentration : RotationBase
{
public override string Name
{
... | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Concentration : RotationBase
{
public override string Name
{
... | apache-2.0 | C# |
456eae9fde45438e0a19c0baf47960a06af42248 | Clean up | alvivar/Hasten | Core/Motion2D/Motion2DWallJump.cs | Core/Motion2D/Motion2DWallJump.cs |
// Experimental wall Jump+Crawl component for Motion2D.
// Andrés Villalobos ^ andresalvivar@gmail.com ^ twitter.com/matnesis
// 2015/08/17 12:12 AM
using UnityEngine;
[RequireComponent(typeof(Motion2D))]
public class Motion2DWallJump : MonoBehaviour
{
[Header("Config")]
public float wallSnapGravity;
[Header... |
// Experimental wall Jump+Crawl component for Motion2D.
// Andrés Villalobos ^ andresalvivar@gmail.com ^ twitter.com/matnesis
// 2015/08/17 12:12 AM
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Motion2D))]
public class Motion2DWallJump : MonoBehaviour
{
[Header("Config")]
public float ... | mit | C# |
7a9dffa5867a3c106298379f066c0ee3c521607c | Fix ICommandSource comments | SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia | src/Avalonia.Input/ICommandSource.cs | src/Avalonia.Input/ICommandSource.cs | using System.Windows.Input;
#nullable enable
namespace Avalonia.Input
{
///<summary>
/// An interface for classes that know how to invoke a Command.
///</summary>
public interface ICommandSource
{
/// <summary>
/// The command that will be executed when the class is "invoked."
... | using System.Windows.Input;
#nullable enable
namespace Avalonia.Input
{
///<summary>
/// An interface for classes that know how to invoke a Command.
///</summary>
public interface ICommandSource
{
/// <summary>
/// The command that will be executed when the class is "invoked."
... | mit | C# |
1330126d3f7acef84317d400f049185bbd469600 | fix spacing | nessos/Eff | src/Eff/Handlers/IEffectHandler.cs | src/Eff/Handlers/IEffectHandler.cs | using System.Threading.Tasks;
namespace Nessos.Effects.Handlers
{
/// <summary>
/// An abstraction for providing evaluation semantics for Eff computations.
/// </summary>
public interface IEffectHandler
{
/// <summary>
/// Provides handling logic for abstract Effect awaiters.
... | using System.Threading.Tasks;
namespace Nessos.Effects.Handlers
{
/// <summary>
/// An abstraction for providing evaluation semantics for Eff computations.
/// </summary>
public interface IEffectHandler
{
/// <summary>
/// Provides handling logic for abstract Effect awaiters.... | mit | C# |
ab02419ae9a96b75e29e07b11bf252a2ebade2a3 | mark obsolete methods | aritchie/userdialogs | src/Acr.UserDialogs.Interface/IUserDialogs.cs | src/Acr.UserDialogs.Interface/IUserDialogs.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Splat;
namespace Acr.UserDialogs
{
public interface IUserDialogs
{
IDisposable Alert(string message, string title = null, string okText = null);
IDisposable Alert(AlertConfig config);
Task AlertAsync(string mess... | using System;
using System.Threading;
using System.Threading.Tasks;
using Splat;
namespace Acr.UserDialogs
{
public interface IUserDialogs
{
IDisposable Alert(string message, string title = null, string okText = null);
IDisposable Alert(AlertConfig config);
Task AlertAsync(string mess... | mit | C# |
7ddbd3c71b05efb9f3c03c289a2629e746d5025e | Add ability to reset message counts. | FoundatioFx/Foundatio,exceptionless/Foundatio | src/Foundatio/Messaging/InMemoryMessageBus.cs | src/Foundatio/Messaging/InMemoryMessageBus.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Extensions;
using Foundatio.Logging;
namespace Foundatio.Messaging {
public class InMemoryMessageBus : MessageBusBase<InMemoryMessageBusOptions> {
private readonly Co... | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Extensions;
using Foundatio.Logging;
namespace Foundatio.Messaging {
public class InMemoryMessageBus : MessageBusBase<InMemoryMessageBusOptions> {
private readonly Co... | apache-2.0 | C# |
f9a7306d8aa3c0f9c416ca0ac1c24c7b2060ab8a | Tweak precision | feliwir/openSage,feliwir/openSage | src/OpenSage.Game.Tests/Mathematics/AngleTests.cs | src/OpenSage.Game.Tests/Mathematics/AngleTests.cs | using System.Numerics;
using OpenSage.Mathematics;
using Xunit;
namespace OpenSage.Tests.Mathematics
{
public class AngleTests
{
private const int Precision = 4;
[Fact]
public void DegreesToRadiansTest()
{
Assert.Equal(MathUtility.ToRadians(90.0f), MathUtility.PiOv... | using System.Numerics;
using OpenSage.Mathematics;
using Xunit;
namespace OpenSage.Tests.Mathematics
{
public class AngleTests
{
private const int Precision = 6;
[Fact]
public void DegreesToRadiansTest()
{
Assert.Equal(MathUtility.ToRadians(90.0f), MathUtility.PiOv... | mit | C# |
f423dbbb1de22222abf01bdfdcd9f7fec5c20d8c | Fix codepath where the property is a value type but the weakreference has been collected. | wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Av... | src/Avalonia.Base/Data/Core/SettableNode.cs | src/Avalonia.Base/Data/Core/SettableNode.cs | using Avalonia.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Avalonia.Data.Core
{
internal abstract class SettableNode : ExpressionNode
{
public bool SetTargetValue(object value, BindingPriority priority)
{
... | using Avalonia.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Avalonia.Data.Core
{
internal abstract class SettableNode : ExpressionNode
{
public bool SetTargetValue(object value, BindingPriority priority)
{
... | mit | C# |
a049b568b961415714d653c6ab4c4e9fa196dada | Fix tests | JetBrains/teamcity-runas,JetBrains/teamcity-runas,JetBrains/teamcity-runas,JetBrains/teamcity-runas,JetBrains/teamcity-runas-plugin,JetBrains/teamcity-runas-plugin | runAs-tool-win32/JetBrains.runAs.IntegrationTests/Dsl/RunAsRunner.cs | runAs-tool-win32/JetBrains.runAs.IntegrationTests/Dsl/RunAsRunner.cs | namespace JetBrains.runAs.IntegrationTests.Dsl
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
internal class RunAsRunner
{
public TestSession Run(TestContext ctx)
{
var lines = new List<string>();
var cmdArgs = ctx.C... | namespace JetBrains.runAs.IntegrationTests.Dsl
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
internal class RunAsRunner
{
public TestSession Run(TestContext ctx)
{
var lines = new List<string>();
var cmdArgs = ctx.C... | apache-2.0 | C# |
fee2f0d58872c0a0ab56e16322d7d0bd20015439 | Revert "fix(logging): 🐛 try yet another AppInsights config" | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | services/SharedKernel/FilterLists.SharedKernel.Logging/HostRunner.cs | services/SharedKernel/FilterLists.SharedKernel.Logging/HostRunner.cs | using System;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
namespace FilterLists.SharedKernel.Logging
{
public static class HostRunner
{
public static async Task TryRu... | using System;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
namespace FilterLists.SharedKernel.Logging
{
public static class HostRunner
... | mit | C# |
2c783813bb3317c09f968193b0fa38298c7d0b8f | Improve argNpath test | Tragetaschen/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp | tests/MatchRuleTest.cs | tests/MatchRuleTest.cs | // Copyright 2009 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NUnit.Framework;
using NDesk.DBus;
namespace NDesk.DBus.Tests
{
[TestFixture]
public class MatchRuleTest
{
[Test]
public void Parse ()
{
string ruleText = @"... | // Copyright 2009 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NUnit.Framework;
using NDesk.DBus;
namespace NDesk.DBus.Tests
{
[TestFixture]
public class MatchRuleTest
{
[Test]
public void Parse ()
{
string ruleText = @"... | mit | C# |
58b3ac0d979022e016c03c93397e8196c5697e09 | Remove flags attribute as its not needed | dipeshc/BTDeploy | src/MonoTorrent/MonoTorrent.Common/Enums.cs | src/MonoTorrent/MonoTorrent.Common/Enums.cs | //
// Enums.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2006 Alan McGovern
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | //
// Enums.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2006 Alan McGovern
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | mit | C# |
c9520a51780baeb78608c9b321acd2b84c3e7893 | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.core/Collections/CollectionExtensions.cs | bstrkr.mobile/bstrkr.core/Collections/CollectionExtensions.cs | using System;
using System.Collections.Generic;
namespace bstrkr.core.collections
{
public static class CollectionExtensions
{
public static MergeStats Merge<T, TKey>(
this ICollection<T> collection,
IEnumerable<T> updates,
Func<T, TKey> keySelector,
Action<T, T> updateFactory) where T : class
{
... | using System;
using System.Collections.Generic;
namespace Collections
{
public static class CollectionExtensions
{
public static MergeStats Merge<T, TKey>(
this ICollection<T> collection,
IEnumerable<T> updates,
Func<T, TKey> keySelector,
Action<T, T> updateFactory) where T : class
{
return Merge... | bsd-2-clause | C# |
d3772bd1e5c4d5ae6aa3fe1386c88450e3d4a9f8 | Update AssemblyInfo.cs. | espresso3389/AdaptiveKeyboardConfig,rogercloud/AdaptiveKeyboardConfig | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | apache-2.0 | C# |
65790131f01e7c54a510296856936b1c59285244 | sort out registration of marker interfaces within EmployerAccounts. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/DependencyResolution/HashingRegistry.cs | src/SFA.DAS.EmployerAccounts/DependencyResolution/HashingRegistry.cs | using System;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.MarkerInterfaces;
using SFA.DAS.HashingService;
using StructureMap;
namespace SFA.DAS.EmployerAccounts.DependencyResolution
{
public class HashingRegistry : Registry
{
public HashingRegistry()
{
... | using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.MarkerInterfaces;
using SFA.DAS.HashingService;
using StructureMap;
namespace SFA.DAS.EmployerAccounts.DependencyResolution
{
public class HashingRegistry : Registry
{
public HashingRegistry()
{
For<IHashi... | mit | C# |
3fe973a3a70a48f6dbd4f8986a82ddf749b57cf7 | Update AvaloniaImageImporter.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/AvaloniaImageImporter.cs | src/Core2D/Editor/AvaloniaImageImporter.cs | #nullable enable
using System;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Controls;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Editor;
using Core2D.Views;
namespace Core2D.Editor;
public class AvaloniaImageImporter : IImageImporter
{
private readonly IServiceProvide... | #nullable enable
using System;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Controls;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Editor;
using Core2D.Views;
namespace Core2D.Editor;
public class AvaloniaImageImporter : IImageImporter
{
private readonly IServiceProvide... | mit | C# |
dd755d6b0181d1413e3124b75aae432a8d98c527 | update Kevin Marquette bio information | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/KevinMarquette.cs | src/Firehose.Web/Authors/KevinMarquette.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 KevinMarquette : IAmAMicrosoftMVP
{
public string FirstName => "Kevin";
public string Last... | 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 KevinMarquette : IAmACommunityMember
{
public string FirstName => "Kevin";
public string L... | mit | C# |
4eb6026cc3a0b785bd77faa80a64e202a48d1491 | Fix import tag to have correct namespace | hzhgis/ss,HermanSchoenfeld/fluent-nhibernate,chester89/fluent-nhibernate,narnau/fluent-nhibernate,bogdan7/nhibernate,narnau/fluent-nhibernate,oceanho/fluent-nhibernate,lingxyd/fluent-nhibernate,hzhgis/ss,bogdan7/nhibernate,MiguelMadero/fluent-nhibernate,oceanho/fluent-nhibernate,hzhgis/ss,owerkop/fluent-nhibernate,ling... | src/FluentNHibernate/Mapping/ImportPart.cs | src/FluentNHibernate/Mapping/ImportPart.cs | using System;
using System.Xml;
namespace FluentNHibernate.Mapping
{
public class ImportPart : IMappingPart
{
private readonly Cache<string, string> attributes = new Cache<string, string>();
private readonly Type importType;
public ImportPart(Type importType)
{
... | using System;
using System.Xml;
namespace FluentNHibernate.Mapping
{
public class ImportPart : IMappingPart
{
private readonly Cache<string, string> attributes = new Cache<string, string>();
private readonly Type importType;
public ImportPart(Type importType)
{
... | bsd-3-clause | C# |
089e13346f04c78158f8af37a4e69c377bf889ec | Fix possible null ref in ConsoleInitializer. | antiufo/NuGet2,RichiCoder1/nuget-chocolatey,dolkensp/node.net,jholovacs/NuGet,mrward/NuGet.V2,oliver-feng/nuget,mrward/NuGet.V2,alluran/node.net,jmezach/NuGet2,dolkensp/node.net,rikoe/nuget,mono/nuget,jmezach/NuGet2,pratikkagda/nuget,mrward/nuget,xoofx/NuGet,akrisiun/NuGet,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,an... | src/VsConsole/Console/ConsoleInitializer.cs | src/VsConsole/Console/ConsoleInitializer.cs | using System;
using System.ComponentModel.Composition;
using System.Security;
using System.Threading.Tasks;
using Microsoft.VisualStudio.ComponentModelHost;
using VsPackage = Microsoft.VisualStudio.Shell.Package;
namespace NuGetConsole
{
[Export(typeof(IConsoleInitializer))]
[PartCreationPolicy(Crea... | using System;
using System.ComponentModel.Composition;
using System.Security;
using System.Threading.Tasks;
using Microsoft.VisualStudio.ComponentModelHost;
using VsPackage = Microsoft.VisualStudio.Shell.Package;
namespace NuGetConsole
{
[Export(typeof(IConsoleInitializer))]
[PartCreationPolicy(Crea... | apache-2.0 | C# |
f85a09203cac28e84f6d668f3fde94e96a5e0726 | Add 'in' | wvdd007/roslyn,eriawan/roslyn,mavasani/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,sharwell/roslyn,KevinRansom/roslyn,physhi/roslyn,dotnet/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,weltkante/roslyn,shy... | src/Workspaces/Core/Portable/PatternMatching/SimplePatternMatcher.cs | src/Workspaces/Core/Portable/PatternMatching/SimplePatternMatcher.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.
#nullable disable
using System.Globalization;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnal... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Globalization;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnal... | mit | C# |
463b10fc66906632b3540cbfc112f134eee92b06 | Update TupleConstruction.cs | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | CSharp7/CSharp7/TupleConstruction.cs | CSharp7/CSharp7/TupleConstruction.cs | // Copyright 2016 Jon Skeet. All rights reserved. Use of this source code is governed by the Apache License 2.0, as found in the LICENSE.txt file.
#pragma warning disable CS0219 // Variable is assigned but its value is never used
using System;
namespace CSharp7
{
class TupleConstruction
{
static void ... | // Copyright 2016 Jon Skeet. All rights reserved. Use of this source code is governed by the Apache License 2.0, as found in the LICENSE.txt file.
#pragma warning disable CS0219 // Variable is assigned but its value is never used
using System;
namespace CSharp7
{
class TupleConstruction
{
static void ... | apache-2.0 | C# |
43ab2b916b5ba98e81cb5b75264faefb527ad301 | Fix for LZ4 not decompressing properly | aa2g/PPeX | PPeX/Compressors/Lz4Compressor.cs | PPeX/Compressors/Lz4Compressor.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PPeX.Compressors
{
public class Lz4Compressor : BaseCompressor
{
public override ArchiveChunkCompression Compression => ArchiveChunkCompression.LZ4;
p... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PPeX.Compressors
{
public class Lz4Compressor : BaseCompressor
{
public override ArchiveChunkCompression Compression => ArchiveChunkCompression.LZ4;
p... | mit | C# |
3403ce0f266fbe0cb0f84b085db5696785e58ec0 | Bump version to 15.0.1 | rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET | Plugins/Steamworks.NET/Version.cs | Plugins/Steamworks.NET/Version.cs | // This file is provided under The MIT License as part of Steamworks.NET.
// Copyright (c) 2013-2019 Riley Labrecque
// Please see the included LICENSE.txt for additional information.
// This file is automatically generated.
// Changes to this file will be reverted when you update Steamworks.NET
#if !(UNITY_STANDALON... | // This file is provided under The MIT License as part of Steamworks.NET.
// Copyright (c) 2013-2019 Riley Labrecque
// Please see the included LICENSE.txt for additional information.
// This file is automatically generated.
// Changes to this file will be reverted when you update Steamworks.NET
#if !(UNITY_STANDALON... | mit | C# |
4b5e57a4dcb6058077cc547940b874feceae8ea6 | Modify PropertyMetadata for correct overloading | emoacht/Monitorian | Source/Monitorian.Core/Views/Behaviors/FocusElementAction.cs | Source/Monitorian.Core/Views/Behaviors/FocusElementAction.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Xaml.Behaviors;
namespace Monitorian.Core.Views.Behaviors
{
public class FocusElementAction : TriggerAction<DependencyObject>
{
public UIElement Tar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Xaml.Behaviors;
namespace Monitorian.Core.Views.Behaviors
{
public class FocusElementAction : TriggerAction<DependencyObject>
{
public UIElement Tar... | mit | C# |
da5d641a9ec7306de0f8147650dc8cac29366b62 | Disable UnityEvent workaround since it is broken in Full Inspector | jacobdufault/fullserializer,jacobdufault/fullserializer,jacobdufault/fullserializer | Assets/FullSerializer/Source/Converters/Unity/UnityEvent_Converter.cs | Assets/FullSerializer/Source/Converters/Unity/UnityEvent_Converter.cs | #if !NO_UNITY
using System;
using UnityEngine;
using UnityEngine.Events;
namespace FullSerializer {
partial class fsConverterRegistrar {
// Disable the converter for the time being. Unity's JsonUtility API cannot be called from
// within a C# ISerializationCallbackReceiver callback.
// pub... | #if !NO_UNITY
using System;
using UnityEngine;
using UnityEngine.Events;
namespace FullSerializer {
partial class fsConverterRegistrar {
public static Internal.Converters.UnityEvent_Converter Register_UnityEvent_Converter;
}
}
namespace FullSerializer.Internal.Converters {
// The standard FS refle... | mit | C# |
43972f5d20fe421f4e0a0e63c1c84dc20e726d80 | Add Parent field to EntityBase | grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager | UI/WPF/Model/EntityBase.cs | UI/WPF/Model/EntityBase.cs | using System.ComponentModel;
namespace DevelopmentInProgress.AuthorisationManager.WPF.Model
{
public abstract class EntityBase : INotifyPropertyChanged
{
private bool isVisible;
protected EntityBase()
{
IsVisible = true;
}
public event PropertyChangedEvent... | using System.ComponentModel;
namespace DevelopmentInProgress.AuthorisationManager.WPF.Model
{
public abstract class EntityBase : INotifyPropertyChanged
{
private bool isVisible;
protected EntityBase()
{
IsVisible = true;
}
public event PropertyChangedEvent... | apache-2.0 | C# |
f6c17a715f717808f81a32f3fb9730f4a42f0481 | Remove some unused methods from the Mac backend. | directhex/xwt,hamekoz/xwt,akrisiun/xwt,mono/xwt,residuum/xwt,iainx/xwt,cra0zy/xwt,mminns/xwt,steffenWi/xwt,sevoku/xwt,lytico/xwt,mminns/xwt,hwthomas/xwt,antmicro/xwt,TheBrainTech/xwt | Xwt.Mac/Xwt.Mac/WebViewBackend.cs | Xwt.Mac/Xwt.Mac/WebViewBackend.cs | //
// WebViewBackend.cs
//
// Author:
// Cody Russell <cody@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction,... | //
// WebViewBackend.cs
//
// Author:
// Cody Russell <cody@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction,... | mit | C# |
8b88c96cbfed2420c4a98be1cb7ec705e404d68c | Reset testing flag. | StevenThuriot/Nova,StevenThuriot/Nova | Nova/Library/ViewModel.Validation.cs | Nova/Library/ViewModel.Validation.cs | #region License
//
// Copyright 2013 Steven Thuriot
//
// 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 applicab... | #region License
//
// Copyright 2013 Steven Thuriot
//
// 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 applicab... | mit | C# |
e9b5f54128b8ced841062a40406a21946af888ec | Cover mapping fully for taiko mods | peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new | osu.Game.Rulesets.Taiko.Tests/TaikoLegacyModConversionTest.cs | osu.Game.Rulesets.Taiko.Tests/TaikoLegacyModConversionTest.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 NUnit.Framework;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets.Taiko.Mods;
using osu.Game.Tests.Beatmaps;
namespace osu.Game.Rulesets.Taik... | // 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 NUnit.Framework;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets.Taiko.Mods;
using osu.Game.Tests.Beatmaps;
namespace osu.Game.Rulesets.Taik... | mit | C# |
6bc83afc5fab06bb424573246571f9395b0eb6d5 | Add xml comment | damianh/SqlStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore | src/SqlStreamStore.MsSql/CheckSchemaResult.cs | src/SqlStreamStore.MsSql/CheckSchemaResult.cs | namespace SqlStreamStore
{
/// <summary>
/// Represents the result of a schema check.
/// </summary>
public class CheckSchemaResult
{
/// <summary>
/// The version of the schema checked.
/// </summary>
public int CurrentVersion { get; }
/// <summary>... | namespace SqlStreamStore
{
/// <summary>
/// Represents the result of a schema check.
/// </summary>
public class CheckSchemaResult
{
/// <summary>
/// The version of the schema checked.
/// </summary>
public int CurrentVersion { get; }
/// <summary>... | mit | C# |
6896a68f2c177e8c9d052bab2e15830c539b757b | Include first & last names for recipients | bcemmett/SurveyMonkeyApi-v3 | SurveyMonkey/Containers/Recipient.cs | SurveyMonkey/Containers/Recipient.cs | using System.Collections.Generic;
using Newtonsoft.Json;
using SurveyMonkey.Enums;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Recipient : IPageableContainer
{
public long? Id { get; set; }
public long? SurveyId { get; set; }
inte... | using System.Collections.Generic;
using Newtonsoft.Json;
using SurveyMonkey.Enums;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Recipient : IPageableContainer
{
public long? Id { get; set; }
public long? SurveyId { get; set; }
inte... | mit | C# |
e35c7e8bbaee0582330d4534312fcf7f14e58bc0 | Update TMDbClientTrending.cs | LordMike/TMDbLib | TMDbLib/Client/TMDbClientTrending.cs | TMDbLib/Client/TMDbClientTrending.cs | using System.Threading;
using System.Threading.Tasks;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Search;
using TMDbLib.Objects.Trending;
using TMDbLib.Rest;
namespace TMDbLib.Client
{
public partial class TMDbClient
{
public async Task<SearchContainer<SearchMovie>> GetTrendingMoviesAsync(Tim... | using System.Threading;
using System.Threading.Tasks;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Search;
using TMDbLib.Objects.Trending;
using TMDbLib.Rest;
namespace TMDbLib.Client
{
public partial class TMDbClient
{
public async Task<SearchContainer<SearchMovie>> GetTrendingMoviesAsync(Tim... | mit | C# |
5c1f87a719d3c06d0bef766bc57be3ffe03a6b13 | Make brstm instead of dsp. Encode adpcm channels in parallel | Thealexbarney/VGAudio,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm | DspAdpcm/DspAdpcm.Cli/DspAdpcmCli.cs | DspAdpcm/DspAdpcm.Cli/DspAdpcmCli.cs | using System;
using System.Diagnostics;
using System.IO;
using DspAdpcm.Encode.Adpcm;
using DspAdpcm.Encode.Adpcm.Formats;
using DspAdpcm.Encode.Pcm;
using DspAdpcm.Encode.Pcm.Formats;
namespace DspAdpcm.Cli
{
public static class DspAdpcmCli
{
public static int Main(string[] args)
{
... | using System;
using System.Diagnostics;
using System.IO;
using DspAdpcm.Encode.Adpcm;
using DspAdpcm.Encode.Adpcm.Formats;
using DspAdpcm.Encode.Pcm;
using DspAdpcm.Encode.Pcm.Formats;
namespace DspAdpcm.Cli
{
public static class DspAdpcmCli
{
public static int Main(string[] args)
{
... | mit | C# |
d61d002677f9c7715936142bd024ffb08c9437bf | Remove useless instance of JsonSerializerSettings | dgarage/NBXplorer,dgarage/NBXplorer | NBXplorer.Client/NBXplorerNetwork.cs | NBXplorer.Client/NBXplorerNetwork.cs | using NBitcoin;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace NBXplorer
{
public class NBXplorerNetwork
{
public NBXplorerNetwork(INetworkSet networkSet, NBitcoin.NetworkType networkType)
{
NBitcoinNetwork = ... | using NBitcoin;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace NBXplorer
{
public class NBXplorerNetwork
{
public NBXplorerNetwork(INetworkSet networkSet, NBitcoin.NetworkType networkType)
{
NBitcoinNetwork = ... | mit | C# |
ecd08e31a09543317e4a71220b4d45cb61beccef | Fix Key Converter | Valetude/Valetude.Rollbar | Rollbar.Net/ArbitraryKeyConverter.cs | Rollbar.Net/ArbitraryKeyConverter.cs | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Rollbar {
public class ArbitraryKeyConverter : JsonConverter<HasArbitraryKeys> {
public override void WriteJson(JsonWriter writer, HasArbitraryKeys value, JsonSerializer serializer) {
... | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Rollbar {
public class ArbitraryKeyConverter : JsonConverter<HasArbitraryKeys> {
public override void WriteJson(JsonWriter writer, HasArbitraryKeys value, JsonSerializer serializer) {
... | mit | C# |
0f2609c93aaad591d73db99acc7e7957c5051bd8 | update homecontroller sitemap tags | MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal | Server/Controllers/HomeController.cs | Server/Controllers/HomeController.cs | using Asp2017.Server.Helpers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SpaServices.Prerendering;
using Microsoft.AspNetCore.NodeServices;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Features;
using M... | using Asp2017.Server.Helpers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SpaServices.Prerendering;
using Microsoft.AspNetCore.NodeServices;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Features;
using M... | mit | C# |
134287325a4df9982a39e07c19f1b940cd593f3e | Update Token API for JWT login | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.ConnectedCare.Sdk/TokenApi.cs | SnapMD.ConnectedCare.Sdk/TokenApi.cs | // Copyright 2015 SnapMD, Inc.
// 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 2015 SnapMD, Inc.
// 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# |
2ba22ea4d5535547197b576004eb1e5c52f043d7 | Add data narrowing check | caronyan/CSharpRecipe | CSharpRecipe/Recipe.DataType/DataTypeExtMethods.cs | CSharpRecipe/Recipe.DataType/DataTypeExtMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recipe.DataType
{
static class DataTypeExtMethods
{
public static string Base64EncodeBytes(this byte[] inputBytes) => (Convert.ToBase64String(inputBytes));
public stat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recipe.DataType
{
static class DataTypeExtMethods
{
public static string Base64EncodeBytes(this byte[] inputBytes) => (Convert.ToBase64String(inputBytes));
public stat... | mit | C# |
a95950fc29e844c6fcc07a17e838db3822975f88 | Fix logic bug in RiakObjectIdConverter | rob-somerville/riak-dotnet-client,basho/riak-dotnet-client,rob-somerville/riak-dotnet-client,basho/riak-dotnet-client | CorrugatedIron/Converters/RiakObjectIdConverter.cs | CorrugatedIron/Converters/RiakObjectIdConverter.cs | // Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka
//
// This file is provided to you 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
//
// Unles... | // Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka
//
// This file is provided to you 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
//
// Unles... | apache-2.0 | C# |
0287eac031d9a9911dfe9675a17b9ace458e7764 | Update ISerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/ISerializer.cs | TIKSN.Core/Serialization/ISerializer.cs | namespace TIKSN.Serialization
{
/// <summary>
/// Serializer interface
/// </summary>
/// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam>
public interface ISerializer<TSerial> where TSerial : class
{
/// <summary>
/// Serialize to... | namespace TIKSN.Serialization
{
/// <summary>
/// Serializer interface
/// </summary>
/// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam>
public interface ISerializer<TSerial> where TSerial : class
{
/// <summary>
/// Serialize to <typepa... | mit | C# |
fba13099294a54ceb1bfba6569afa0549adeb355 | Fix NoAccessToProjectView | joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | Joinrpg/Views/Shared/ErrorNoAccessToProject.cshtml | Joinrpg/Views/Shared/ErrorNoAccessToProject.cshtml | @model JoinRpg.Web.Models.ErrorNoAccessToProjectViewModel
@{
ViewBag.Title = "Нет доступа к проекту " + Model.ProjectName;
}
<h2>@ViewBag.Title</h2>
<p>У вас нет доступа к проекту @Html.ActionLink(Model.ProjectName, "Index", "Game", new {Model.ProjectId}, null).
Обратитесь к @(new MvcHtmlString(string.Join(... | @model JoinRpg.Web.Models.ErrorNoAccessToProjectViewModel
@{
ViewBag.Title = "Нет доступа к проекту " + Model.ProjectName;
}
<h2>@ViewBag.Title</h2>
<p>У вас нет доступа к проекту @Html.ActionLink(Model.ProjectName, "Index", "Game", new {Model.ProjectId}, null).
Обратитесь к @string.Join(", ", Model.CanGran... | mit | C# |
9bee168065f13a3c393c0a7a6ed6f156e2f73c87 | Update AssemblyInfo.cs | ovatsus/Apps,ovatsus/Apps | UKTrains.WP8/Properties/AssemblyInfo.cs | UKTrains.WP8/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | apache-2.0 | C# |
78e033f0877f90e24506aaefe72a5037aafce33f | Fix object lifetime | stofte/linq-editor,stofte/ream-editor,stofte/ream-editor,stofte/ream-editor,stofte/ream-editor | LinqEditor.Core.Backend/Isolated/AppDomainProxy.cs | LinqEditor.Core.Backend/Isolated/AppDomainProxy.cs | using IQToolkit.Data;
using LinqEditor.Core.CodeAnalysis.Injected;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace LinqEditor.Core.Backend.Isolated
{
public class AppDomainProxy : MarshalByRef... | using IQToolkit.Data;
using LinqEditor.Core.CodeAnalysis.Injected;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace LinqEditor.Core.Backend.Isolated
{
public class AppDomainProxy : MarshalByRef... | mit | C# |
116050ef9f07ef8654e8cd996be88fba36c2749c | Fix visibility | steakpinball/WWWNetworking | WWWNetworking/FormProgressRequest.cs | WWWNetworking/FormProgressRequest.cs | using System;
using System.Collections;
using UnityEngine;
namespace WWWNetworking
{
/// <summary>
/// Request which requires an upload.
/// </summary>
public class FormProgressRequest : FormRequest
{
/// <summary>
/// Upload progress callback.
/// </summary>
/// <value>Callback</value>
Action<float> m... | using System;
using System.Collections;
using UnityEngine;
namespace WWWNetworking
{
/// <summary>
/// Request which requires an upload.
/// </summary>
public class FormProgressRequest : FormRequest
{
/// <summary>
/// Upload progress callback.
/// </summary>
/// <value>Callback</value>
Action<float> m... | mit | C# |
8d085fc05c912f7695846460d903c055323a7c36 | Replace Blockstream.info clearnet links to .onion | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Backend/WebsiteTorifier.cs | WalletWasabi.Backend/WebsiteTorifier.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace WalletWasabi.Backend
{
public class WebsiteTorifier
{
public string RootFolder { get; }
public string UnversionedFolder { get; }
public WebsiteTorifier(string rootFolder)
{
RootFolder = rootFolde... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace WalletWasabi.Backend
{
public class WebsiteTorifier
{
public string RootFolder { get; }
public string UnversionedFolder { get; }
public WebsiteTorifier(string rootFolder)
{
RootFolder = rootFolde... | mit | C# |
9800db59d45b7fb5cbc1d5d5ec0840c352bd841f | Remove unnecessary using | DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,default0/osu-framework,default0/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,Tom94/osu-framework,naoey/osu-framework,paparony03/osu... | osu.Framework/Graphics/Containers/IContainer.cs | osu.Framework/Graphics/Containers/IContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using OpenTK;
namespace osu.Framework.Graphics.Containers
{
public interface IContainer : IDrawa... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using OpenTK;
using osu.Framework.Lists;
namespace osu.Framework.Graphics.Containers
{
public i... | mit | C# |
e0ad2469709bad79e9ea1a39ab1714339a7d0488 | simplify ps | valadas/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,RichardHowells/Dnn.Platform,mitchelsellers/Dnn.Platform,svdv71/Dnn.Platform,bdukes/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,RichardHowells/Dnn.Platform,robsiera/Dnn.Platform,nvisionative/Dnn.Platform,wael101/Dn... | Build/cake/version.cake | Build/cake/version.cake | #addin Cake.XdtTransform
#addin "Cake.FileHelpers"
#addin Cake.Powershell
#tool "nuget:?package=GitVersion.CommandLine&prerelease"
GitVersion version;
var buildId = EnvironmentVariable("BUILD_BUILDID") ?? "0";
Task("BuildServerSetVersion")
.IsDependentOn("GitVersion")
.Does(() => {
StartPowershellScript("Writ... | #addin Cake.XdtTransform
#addin "Cake.FileHelpers"
#addin Cake.Powershell
#tool "nuget:?package=GitVersion.CommandLine&prerelease"
GitVersion version;
var buildId = EnvironmentVariable("BUILD_BUILDID") ?? "0";
Task("BuildServerSetVersion")
.IsDependentOn("GitVersion")
.Does(() => {
StartPowershellScript("Writ... | mit | C# |
a8054a7bd5e4e85bb0703a7116272f92f25167af | Rename input files | Rohansi/LoonyVM,Rohansi/LoonyVM,Rohansi/LoonyVM | LoonyVM/Program.cs | LoonyVM/Program.cs | using System.IO;
using System.Threading;
using SFML.Graphics;
using SFML.Window;
namespace LoonyVM
{
public static class Program
{
public static VirtualMachine Machine;
public static RenderWindow Window;
public static void Main(string[] args)
{
Window = new RenderW... | using System.IO;
using System.Threading;
using SFML.Graphics;
using SFML.Window;
namespace LoonyVM
{
public static class Program
{
public static VirtualMachine Machine;
public static RenderWindow Window;
public static void Main(string[] args)
{
Window = new RenderW... | unlicense | C# |
4cb648a19eb78aa8f79beeb0748e9f8c747a5b22 | fix skip message | Pondidum/Ledger,Pondidum/Ledger | Ledger.Tests/TestInfrastructure/RequiresRabbitFactAttribute.cs | Ledger.Tests/TestInfrastructure/RequiresRabbitFactAttribute.cs | using System;
using RabbitMQ.Client;
using Xunit;
namespace Ledger.Tests.TestInfrastructure
{
public class RequiresRabbitFactAttribute : FactAttribute
{
public RequiresRabbitFactAttribute()
{
if (IsRabbitAvailable.Value == false)
{
Skip = "RabbitMQ is not available";
}
}
private static readonl... | using System;
using RabbitMQ.Client;
using Xunit;
namespace Ledger.Tests.TestInfrastructure
{
public class RequiresRabbitFactAttribute : FactAttribute
{
public RequiresRabbitFactAttribute()
{
if (IsRabbitAvailable.Value == false)
{
Skip = "Postgres is not available";
}
}
private static readonl... | lgpl-2.1 | C# |
54b3caa327e0bae737771717ec06487b0013d861 | Document UnrecognizedResponseException | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server | src/Tgstation.Server.Client/UnrecognizedResponseException.cs | src/Tgstation.Server.Client/UnrecognizedResponseException.cs | using System;
using System.Globalization;
using System.Net;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client
{
/// <summary>
/// Occurs when a response is received that did not deserialize to one of the expected <see cref="Api.Models"/>
/// </summary>
sealed class UnrecognizedResponseException... | using System;
using System.Globalization;
using System.Net;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client
{
sealed class UnrecognizedResponseException : ClientException
{
/// <summary>
/// Construct an <see cref="UnrecognizedResponseException"/> with the <paramref name="data"/> of a respo... | agpl-3.0 | C# |
0a445c133927799a8719bb790a180b09e9059a9e | Fix error in DateTimeOffsetProvider | VishalMadhvani/allReady,stevejgordon/allReady,HamidMosalla/allReady,MisterJames/allReady,shanecharles/allReady,enderdickerson/allReady,dpaquette/allReady,gitChuckD/allReady,BillWagner/allReady,binaryjanitor/allReady,mgmccarthy/allReady,HamidMosalla/allReady,jonatwabash/allReady,bcbeatty/allReady,anobleperson/allReady,B... | AllReadyApp/Web-App/AllReady/Providers/IDateTimeOffsetProvider.cs | AllReadyApp/Web-App/AllReady/Providers/IDateTimeOffsetProvider.cs | using System;
namespace AllReady.Providers
{
public interface IDateTimeOffsetProvider
{
DateTimeOffset AdjustDateTimeOffsetTo(string timeZoneId, DateTimeOffset dateTimeOffset, int hour = 0, int minute = 0, int second = 0);
DateTimeOffset AdjustDateTimeOffsetTo(TimeZoneInfo timeZoneInfo, DateTi... | using System;
namespace AllReady.Providers
{
public interface IDateTimeOffsetProvider
{
DateTimeOffset AdjustDateTimeOffsetTo(string timeZoneId, DateTimeOffset dateTimeOffset, int hour = 0, int minute = 0, int second = 0);
DateTimeOffset AdjustDateTimeOffsetTo(TimeZoneInfo timeZoneInfo, DateTi... | mit | C# |
aaa0c4fe7da73944a8b7d9e862ba458f14880227 | Add raw message sending, requires xdotool | Goz3rr/SkypeSharp | SkypeSharp/Chat.cs | SkypeSharp/Chat.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace SkypeSharp {
/// <summary>
/// Class representing a Skype CHAT object
/// </summary>
public class Chat : SkypeObject {
/// <summary>
/// List of users in this chat
///... | using System.Collections.Generic;
using System.Linq;
namespace SkypeSharp {
/// <summary>
/// Class representing a Skype CHAT object
/// </summary>
public class Chat : SkypeObject {
/// <summary>
/// List of users in this chat
/// </summary>
public IEnumerable<U... | mit | C# |
f5bac2b03b0338a993337e300920e3f489b411c0 | Add documentation from IViewport | charlenni/Mapsui,charlenni/Mapsui | Mapsui/ViewportState.cs | Mapsui/ViewportState.cs | // Copyright (c) The Mapsui authors.
// The Mapsui authors licensed this file under the MIT license.
// See the LICENSE file in the project root for full license information.
using Mapsui.Extensions;
using Mapsui.Utilities;
namespace Mapsui
{
public record class ViewportState
{
/// <summary>
... | // Copyright (c) The Mapsui authors.
// The Mapsui authors licensed this file under the MIT license.
// See the LICENSE file in the project root for full license information.
using Mapsui.Extensions;
using Mapsui.Utilities;
namespace Mapsui
{
public record class ViewportState
{
public double CenterX ... | mit | C# |
300879c9eaa64812390ce46f06d2da55d0fc43a6 | add bi-directional topic mq utility. this works for receive topics. | masatoshiitoh/unity_mqlib | unity_mqlib/BidirTopic.cs | unity_mqlib/BidirTopic.cs | // This source code is licensed under the Apache License, version 2.0.
//
// The APL v2.0:
//
//---------------------------------------------------------------------------
// Copyright (C) 2007-2013 GoPivotal, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | using UnityEngine;
using System.Collections;
public class BidirTopic : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| apache-2.0 | C# |
96d6649105d032720eecfcde9b7728c6bb416210 | Introduce UIVisibilityFlags property in AndroidGameActivity | ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/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# |
aa597c193468b5b2f4c798412b41f003ad5e1e2d | Copy documentation across to SettingsSlider | EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,2yangk23/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game/Overlays/Settings/SettingsSlider.cs | osu.Game/Overlays/Settings/SettingsSlider.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsSlider<T> : SettingsS... | mit | C# |
23a1a8e3f552d1097060cb5d507d774794bc7af0 | Add title on link of ln services in the dashboard | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Components/StoreLightningServices/Default.cshtml | BTCPayServer/Components/StoreLightningServices/Default.cshtml | @using Microsoft.AspNetCore.Mvc.TagHelpers
@model BTCPayServer.Components.StoreLightningServices.StoreLightningServicesViewModel
@if (Model.Services != null && Model.Services.Any())
{
<div id="StoreLightningServices-@Model.Store.Id" class="widget store-lightning-services">
<header class="mb-4">
... | @using Microsoft.AspNetCore.Mvc.TagHelpers
@model BTCPayServer.Components.StoreLightningServices.StoreLightningServicesViewModel
@if (Model.Services != null && Model.Services.Any())
{
<div id="StoreLightningServices-@Model.Store.Id" class="widget store-lightning-services">
<header class="mb-4">
... | mit | C# |
1d079e73e1ed1d687bb75107cbfdf6195604c67c | Remove unused using | ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Input/CustomInputManager.cs | osu.Framework/Input/CustomInputManager.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.Immutable;
using System.Linq;
using osu.Framework.Input.Handlers;
namespace osu.Framework.Input
{
/// <summary>
/// An <see cref="InputM... | // 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 System.Collections.Immutable;
using System.Linq;
using osu.Framework.Input.Handlers;
namespace osu.Framework.Input
{
/// <sum... | mit | C# |
c7305f0b4462cf77440d9f74dc42e37f9e7fe6ee | Simplify implementation structure | johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,2yangk23/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Catch.Objects;
usi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
us... | mit | C# |
05a8202e80515ce18b7d6eb51dfb97b2d858a149 | Handle exception messages with unescaped braces (providing no format arguments are supplied). | DimensionDataCBUSydney/Compute.Api.Client | ComputeClient/Compute.Client/Exceptions/ApiClientException.cs | ComputeClient/Compute.Client/Exceptions/ApiClientException.cs | // ReSharper disable once CheckNamespace
// Backwards compatibility
namespace DD.CBU.Compute.Api.Client
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// The base class for API client exceptions.
/// </summary>
[Serializable]
public abstract class ApiClientException
: Exception
{
/// <... | // ReSharper disable once CheckNamespace
// Backwards compatibility
namespace DD.CBU.Compute.Api.Client
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// The base class for API client exceptions.
/// </summary>
[Serializable]
public abstract class ApiClientException
: Exception
{
/// <... | mit | C# |
e9224a37e97215e1d20b0d1a04a28f488716a798 | Fix typos in BaseAuthentication. | Alan-Lun/git-p3 | Microsoft.TeamFoundation.Authentication/BaseAuthentication.cs | Microsoft.TeamFoundation.Authentication/BaseAuthentication.cs | using System;
namespace Microsoft.TeamFoundation.Authentication
{
/// <summary>
/// Base authentication mechanisms for setting, retrieving, and deleting stored credentials.
/// </summary>
public abstract class BaseAuthentication : IAuthentication
{
/// <summary>
/// Deletes a <see ... | using System;
namespace Microsoft.TeamFoundation.Authentication
{
/// <summary>
/// Base authentication mechanisms for setting, retrieving, and deleting stored credentials.
/// </summary>
public abstract class BaseAuthentication : IAuthentication
{
/// <summary>
/// Deletes a <see ... | mit | C# |
1fab6f7867260877d3a0e908e4a170eb36e3cf2e | Mark IItemStatus as obsolete (#6914) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/Items/Components/IItemStatus.cs | Content.Client/Items/Components/IItemStatus.cs | using Robust.Client.UserInterface;
namespace Content.Client.Items.Components
{
/// <summary>
/// Allows a component to provide status tooltips next to the hands interface.
/// </summary>
public interface IItemStatus
{
/// <summary>
/// Called to get a control that represents... | using Robust.Client.UserInterface;
namespace Content.Client.Items.Components
{
/// <summary>
/// Allows a component to provide status tooltips next to the hands interface.
/// </summary>
public interface IItemStatus
{
/// <summary>
/// Called to get a control that represents... | mit | C# |
eb10849010bd75e3fdeb73ad5c7a3e390dd6a7d1 | fix wrong product header section | Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net | DancingGoat/Views/Shared/_ProductLayout.cshtml | DancingGoat/Views/Shared/_ProductLayout.cshtml | @using Kentico.Kontent.Delivery
@model DancingGoat.Models.IProduct
@inject IConfiguration Configuration
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Title = Model.ProductProductName;
}
<section title="headers" id="head">
@await Html.PartialAsync("HeadersMetadata", Model)
</section>
<article class="... | @using Kentico.Kontent.Delivery
@model DancingGoat.Models.IProduct
@inject IConfiguration Configuration
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Title = Model.ProductProductName;
}
<section title="headers" id="head"></section>
@await Html.PartialAsync("HeadersMetadata", Model)
}
<article class... | mit | C# |
3c1c93009e67066d849de41308dab0da74e8542f | Initialize Android Correctly | charlenni/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Maui/Platforms/Android/MainActivity.cs | Samples/Mapsui.Samples.Maui/Platforms/Android/MainActivity.cs | using Android.App;
using Android.Content.PM;
using Microsoft.Maui;
namespace Mapsui.Samples.Maui
{
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.Small... | using Android.App;
using Android.Content.PM;
using Microsoft.Maui;
namespace Mapsui.Samples.Maui
{
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.Small... | mit | C# |
53734a39359930f4a53b6e5498cb8a7f4bcf0f31 | Update ColorsAndPalette.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell... | Examples/CSharp/Formatting/ColorsAndPalette.cs | Examples/CSharp/Formatting/ColorsAndPalette.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting
{
public class ColorsAndPalette
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting
{
public class ColorsAndPalette
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataD... | mit | C# |
5e97d1b9ca468008bc338da84c47baa85eaf8697 | replace XPathSelect by a PCL version of code | g0rdan/EpubReader.Cross | Source/VersFx.Formats.Text.Epub/Readers/RootFilePathReader.cs | Source/VersFx.Formats.Text.Epub/Readers/RootFilePathReader.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
using System.Xml.Linq;
using VersFx.Formats.Text.Epub.Utils;
namespace VersFx.Formats.Text.Epub.Readers
{
internal static class RootFilePathReader
{
public static async Task<string> GetRootFilePathAsync(ZipArch... | using System;
using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using VersFx.Formats.Text.Epub.Utils;
namespace VersFx.Formats.Text.Epub.Readers
{
internal static class RootFilePathReader
{
public static async Task<string> GetRootFile... | unlicense | C# |
55ece37a0300b1c35cd4f9dd0a3a329db91b7e41 | Fix JobHandlerTypeSerializerTest | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Scheduler.Tests/Common/JobHandlerTypeSerializerTest.cs | InfinniPlatform.Scheduler.Tests/Common/JobHandlerTypeSerializerTest.cs | using System;
using System.Threading.Tasks;
using InfinniPlatform.IoC;
using InfinniPlatform.Tests;
using Moq;
using NUnit.Framework;
namespace InfinniPlatform.Scheduler.Common
{
[TestFixture(Category = TestCategories.UnitTest)]
public class JobHandlerTypeSerializerTest
{
private const string H... | using System;
using System.Threading.Tasks;
using InfinniPlatform.IoC;
using InfinniPlatform.Tests;
using Moq;
using NUnit.Framework;
namespace InfinniPlatform.Scheduler.Common
{
[TestFixture(Category = TestCategories.UnitTest)]
public class JobHandlerTypeSerializerTest
{
private const string H... | agpl-3.0 | C# |
90efd4ae95872fe3b9e2d4cc0d9dca4d4cc61d44 | Fix nullability. | ExRam/ExRam.Gremlinq | src/ExRam.Gremlinq.Providers.WebSocket/GremlinClientFactory.cs | src/ExRam.Gremlinq.Providers.WebSocket/GremlinClientFactory.cs | using System;
using System.Net.WebSockets;
using Gremlin.Net.Driver;
namespace ExRam.Gremlinq.Providers.WebSocket
{
public static class GremlinClientFactory
{
private sealed class DefaultGremlinClientFactory : IGremlinClientFactory
{
public IGremlinClient Create(GremlinServer greml... | using System;
using System.Net.WebSockets;
using Gremlin.Net.Driver;
namespace ExRam.Gremlinq.Providers.WebSocket
{
public static class GremlinClientFactory
{
private sealed class DefaultGremlinClientFactory : IGremlinClientFactory
{
public IGremlinClient Create(GremlinServer greml... | mit | C# |
49cafcce6108fa375369dc8f1b2ea93dfd288ef0 | build fix - do not follow redirects when faking transparent redirects. | ronin1/braintree_dotnet,scottmeyer/braintree_dotnet,ronin1/braintree_dotnet,scottmeyer/braintree_dotnet,braintree/braintree_dotnet,scottmeyer/braintree_dotnet,braintree/braintree_dotnet,ronin1/braintree_dotnet,scottmeyer/braintree_dotnet | Braintree.Tests/TestHelper.cs | Braintree.Tests/TestHelper.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Net;
using System.IO;
using NUnit.Framework;
namespace Braintree.Tests
{
public class TestHelper
{
public static int CompareModificationsById(Modification left, Modification right)
{
r... | using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Net;
using System.IO;
using NUnit.Framework;
namespace Braintree.Tests
{
public class TestHelper
{
public static int CompareModificationsById(Modification left, Modification right)
{
r... | mit | C# |
d758e926412eac041f6d214c91486403a2f5ef4c | Update EntityQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRep... | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRep... | mit | C# |
8d7288dfb3bc49165f2ca080d9c5a293215f30d9 | Update LibUsbLeControllerTests.cs | huysentruitw/win-beacon,ghkim69/win-beacon | test/WinBeacon.Tests/LibUsbLeControllerTests.cs | test/WinBeacon.Tests/LibUsbLeControllerTests.cs | /*
* Copyright 2015 Huysentruit Wouter
*
* 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 agre... | /*
* Copyright 2015 Huysentruit Wouter
*
* 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 agre... | mit | C# |
3b3f4c5fb0218cbd14c2fe523c8a4903613fb93b | Change the target to get working on build server | rcasady616/Selenium.WeDriver.Equip,rcasady616/Selenium.WeDriver.Equip | SeleniumExtension/SauceLabs/SauceDriverKeys.cs | SeleniumExtension/SauceLabs/SauceDriverKeys.cs | using System;
namespace SeleniumExtension.SauceLabs
{
public class SauceDriverKeys
{
public static string SAUCELABS_USERNAME
{
get
{
var userName = Environment.GetEnvironmentVariable("SAUCELABS_USERNAME");
if(string.IsNullOrEmpty(userNam... | using System;
namespace SeleniumExtension.SauceLabs
{
public class SauceDriverKeys
{
public static string SAUCELABS_USERNAME
{
get
{
var userName = Environment.GetEnvironmentVariable("SAUCELABS_USERNAME", EnvironmentVariableTarget.User);
... | mit | C# |
70d85f2e3ba5ced804330586c90bc5d733e2479f | test 'getLatestEvents' | Pondidum/Ledger,Pondidum/Ledger | Ledger.Stores.Fs.Tests/EventSaveLoadTests.cs | Ledger.Stores.Fs.Tests/EventSaveLoadTests.cs | using System;
using System.IO;
using System.Linq;
using NSubstitute;
using Shouldly;
using TestsDomain.Events;
using Xunit;
namespace Ledger.Stores.Fs.Tests
{
public class EventSaveLoadTests : IDisposable
{
private readonly string _root;
public EventSaveLoadTests()
{
_root = Path.Combine(Path.GetTempPath(... | using System;
using System.IO;
using System.Linq;
using NSubstitute;
using Shouldly;
using TestsDomain.Events;
using Xunit;
namespace Ledger.Stores.Fs.Tests
{
public class EventSaveLoadTests : IDisposable
{
private readonly string _root;
public EventSaveLoadTests()
{
_root = Path.Combine(Path.GetTempPath(... | lgpl-2.1 | C# |
818d313247cf1fbab940ce6cf6f052454794a8f2 | Use extension method on MessageContext instead of helper class | BizTalkComponents/CopyContextProperty | Src/CopyContextProperty/CopyContextProperty.cs | Src/CopyContextProperty/CopyContextProperty.cs | using BizTalkComponents.Utils.ContextPropertyHelpers;
using BizTalkComponents.Utils.PropertyBagHelpers;
using Microsoft.BizTalk.Component.Interop;
using Microsoft.BizTalk.Message.Interop;
namespace BizTalkComponents.PipelineComponents.CopyContextProperty
{
[ComponentCategory(CategoryTypes.CATID_PipelineComponent)... | using BizTalkComponents.Utils.ContextPropertyHelpers;
using BizTalkComponents.Utils.PropertyBagHelpers;
using Microsoft.BizTalk.Component.Interop;
using Microsoft.BizTalk.Message.Interop;
namespace BizTalkComponents.PipelineComponents.CopyContextProperty
{
[ComponentCategory(CategoryTypes.CATID_PipelineComponent)... | mit | C# |
3fa0c5723a64ce6ec994b48a1cd375103eea6b18 | Write logs to console only in case of error | repometric/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,binore/linterhub-cli | src/Metrics.Integrations.Linters.Cli/LogManager.cs | src/Metrics.Integrations.Linters.Cli/LogManager.cs | namespace Metrics.Integrations.Linters
{
using System;
using System.IO;
using System.Text;
// TODO: Improve logging.
public class LogManager : IDisposable
{
public StringBuilder LogWriter { get; }
private bool saved = false;
private bool error = false;
public Lo... | namespace Metrics.Integrations.Linters
{
using System;
using System.IO;
using System.Text;
// TODO: Improve logging.
public class LogManager : IDisposable
{
public StringBuilder LogWriter { get; }
private bool saved = false;
public LogManager()
{
Log... | mit | C# |
6b1eaa62fab3103e55e8721ffaefca302bf637c4 | test setup fix | yetanotherchris/Remy | src/Remy.Tests/Unit/Core/Tasks/TypeManagerTests.cs | src/Remy.Tests/Unit/Core/Tasks/TypeManagerTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Remy.Core.Tasks;
using Remy.Tests.StubsAndMocks;
using Serilog;
namespace Remy.Tests.Unit.Core.Tasks
{
[TestFixture]
public class TypeManagerTests
{
private ILogger _logger;
private string _currentD... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Remy.Core.Tasks;
using Remy.Tests.StubsAndMocks;
using Serilog;
namespace Remy.Tests.Unit.Core.Tasks
{
[TestFixture]
public class TypeManagerTests
{
private ILogger _logger;
private string _currentD... | mit | C# |
6b2d13ede04dfc80feaf4d04543bfc09c5867aac | set internal visiblity to Tests projects | solomobro/Instagram,solomobro/Instagram,solomobro/Instagram | src/Solomobro.Instagram/Properties/AssemblyInfo.cs | src/Solomobro.Instagram/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("So... | 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("So... | apache-2.0 | C# |
824ab3196e49d657d3185e3c65e838af0fbf01f5 | Include request URL in HTTP error message | CalebChalmers/KAGTools | KAGTools/Helpers/ApiHelper.cs | KAGTools/Helpers/ApiHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using KAGTools.Data;
using Newtonsoft.Json;
namespace KAGTools.Helpers
{
public static class ApiHelper
{
private const string UrlPlayer = "ht... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using KAGTools.Data;
using Newtonsoft.Json;
namespace KAGTools.Helpers
{
public static class ApiHelper
{
private const string UrlPlayer = "ht... | mit | C# |
d3d1f60303fb72a247edc7d919646cf957b93b5f | fix property name bug | StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis | service/DotNetApis.Structure/AssemblyJson.cs | service/DotNetApis.Structure/AssemblyJson.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNetApis.Structure.Entities;
using Newtonsoft.Json;
namespace DotNetApis.Structure
{
/// <summary>
/// Structured documentation for an assembly within a NuGet package.
/// </summary>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNetApis.Structure.Entities;
using Newtonsoft.Json;
namespace DotNetApis.Structure
{
/// <summary>
/// Structured documentation for an assembly within a NuGet package.
/// </summary>... | mit | C# |
2996e8438fb0cfb6709cc7f2c4a94d5bde6c0be5 | Fix CacheMiss test | vanashimko/MPP.Mapper | MapperTests/DtoMapperTests.cs | MapperTests/DtoMapperTests.cs | using System;
using Xunit;
using Mapper;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
namespace Mapper.Tests
{
public class DtoMapperTests
{
[Fact]
public void Map_NullPassed_ExceptionThrown()
{
IMapper map... | using System;
using Xunit;
using Mapper;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
namespace Mapper.Tests
{
public class DtoMapperTests
{
[Fact]
public void Map_NullPassed_ExceptionThrown()
{
IMapper map... | mit | C# |
04e74391367225e6d687c2d4c10337fa2263c8c3 | Update version to 2.1.1-alpha | catcherwong/Nancy.Swagger,khellang/Nancy.Swagger,yahehe/Nancy.Swagger | etc/CommonAssemblyInfo.cs | etc/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Kristian Hellang and Contributors")]
[assembly: AssemblyCopyright("Copyright Kristian Hellang 2014")]
[assembly: AssemblyVersion("2.1.1")]
[assembly: AssemblyFileVersion("2.1.1")]
[assembly: AssemblyInformationalVersion("2.1.1-alpha")] | using System.Reflection;
[assembly: AssemblyCompany("Kristian Hellang and Contributors")]
[assembly: AssemblyCopyright("Copyright Kristian Hellang 2014")]
[assembly: AssemblyVersion("2.1.0")]
[assembly: AssemblyFileVersion("2.1.0")]
[assembly: AssemblyInformationalVersion("2.1.0-alpha")] | mit | C# |
1dfbe9038a77ecbff351596f6cf262b2972582b3 | Fix new soldier button | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/Views/Soldier/List.cshtml | BatteryCommander.Web/Views/Soldier/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
<div class="btn-group" role="group">
@Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" })
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas... | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
<div class="btn-group" role="group">
@Html.ActionLink("Add a Soldier", "Edit", null, new { @class = "btn btn-primary" })
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @cla... | mit | C# |
4a99656d93b4e0d6a6547ba7cf4c10cbcfd12c0b | enhance dynamicobject feature | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework/Infrastructure/DynamicJson.cs | Src/iFramework/Infrastructure/DynamicJson.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Dynamic;
using Newtonsoft.Json.Linq;
namespace IFramework.Infrastructure
{
public class DynamicJson : DynamicObject
{
internal Newtonsoft.Json.Linq.JObject _json;
public DynamicJson(N... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Dynamic;
using Newtonsoft.Json.Linq;
namespace IFramework.Infrastructure
{
public class DynamicJson : DynamicObject
{
internal Newtonsoft.Json.Linq.JObject _json;
public DynamicJson(Newtonsoft.Js... | mit | C# |
26dda4aa0650a17ff0cd7b8f1a70cf9a5e66cb0c | Add clock Face and Window classes. Draw a line. Setting FG color is TODO. | clicketyclack/gtksharp_clock | gtksharp_clock/Program.cs | gtksharp_clock/Program.cs | using System;
using Gtk;
// http://www.mono-project.com/docs/gui/gtksharp/widgets/widget-colours/
namespace gtksharp_clock
{
class MainClass
{
public static void Main(string[] args)
{
Application.Init();
ClockWindow win = new ClockWindow ();
win.Show();
Application.Run();
}
}
class ClockWindow... | using System;
using Gtk;
namespace gtksharp_clock
{
class MainClass
{
public static void Main(string[] args)
{
Application.Init();
MainWindow win = new MainWindow();
win.Show();
Application.Run();
}
}
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.