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 |
|---|---|---|---|---|---|---|---|---|
9476149a5036f86142d3e77647e7060494436621 | Check that the container is not null | WebApiContrib/WebApiContrib.IoC.StructureMap,bingnz/WebApiContrib.IoC.StructureMap,jcalder/WebApiContrib.IoC.StructureMap | src/WebApiContrib.IoC.StructureMap/StructureMapResolver.cs | src/WebApiContrib.IoC.StructureMap/StructureMapResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Dependencies;
using System.Web.Http.Dispatcher;
using StructureMap;
namespace WebApiContrib.IoC.StructureMap
{
public class StructureMapDependencyScope : IDependencySc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Dependencies;
using System.Web.Http.Dispatcher;
using StructureMap;
namespace WebApiContrib.IoC.StructureMap
{
public class StructureMapDependencyScope : IDependencySc... | mit | C# |
be688dc780054fc253b9a304b67fb70a51239a17 | Remove unused parameter queue from DispatchEvent method | Microsoft/bond,ant0nsc/bond,jdubrule/bond,ant0nsc/bond,gencer/bond,chwarr/bond,sapek/bond,sapek/bond,sapek/bond,Microsoft/bond,tstein/bond,tstein/bond,gencer/bond,chwarr/bond,chwarr/bond,chwarr/bond,chwarr/bond,jdubrule/bond,tstein/bond,jdubrule/bond,tstein/bond,Microsoft/bond,gencer/bond,sapek/bond,gencer/bond,tstein/... | cs/src/comm/simpleinmem-transport/Processor/EventProcessor.cs | cs/src/comm/simpleinmem-transport/Processor/EventProcessor.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Bond.Comm.SimpleInMem.Processor
{
using Service;
using System;
using System.Threading.Tasks;
internal class EventProcessor : QueueProcessor
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Bond.Comm.SimpleInMem.Processor
{
using Service;
using System;
using System.Threading.Tasks;
internal class EventProcessor : QueueProcessor
... | mit | C# |
4b88cd365f6e23dffb2e2747f00515c4e0a9ce54 | fix compile error | kheiakiyama/speech-eng-functions | OxfordKey/run.csx | OxfordKey/run.csx | #r "System.Configuration"
using System.Net;
using System.Net.Http;
using System.Configuration;
using System.Linq;
using System.Collections.Generic;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
if (req.Method == HttpMethod.Get)
return await Get(req, log);
... | #r "System.Configuration"
using System.Net;
using System.Net.Http;
using System.Configuration;
using System.Numerics;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
if (req.Method == HttpMetho... | mit | C# |
41a2fd6c711f08b3b181f312e3e8c4afb5462bcc | Correct comment. | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/Learner.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/Learner.cs | using System;
namespace SFA.DAS.CommitmentsV2.Models
{
// This is a pseudo-entity to represent the result of the GetLearnersBatch stored proc, it's not a table in the database.
public class Learner
{
public long ApprenticeshipId { get; set; }
public string FirstName { get; set; }
p... | using System;
namespace SFA.DAS.CommitmentsV2.Models
{
// This is a pseudo-entity to represent the result of the GetLearners stored proc, it's not a table in the database.
public class Learner
{
public long ApprenticeshipId { get; set; }
public string FirstName { get; set; }
public... | mit | C# |
23c7dde7248c4752be968404324e9ca7aba2af8f | fix validation context cache | arsouza/Aritter,aritters/Ritter,arsouza/Aritter | src/Domain.Seedwork/Validations/ValidationContextCache.cs | src/Domain.Seedwork/Validations/ValidationContextCache.cs | using Ritter.Infra.Crosscutting;
using System;
using System.Collections.Concurrent;
namespace Ritter.Domain.Validations
{
public class ValidationContextCache : IValidationContextCache
{
private static IValidationContextCache current = null;
private readonly ConcurrentDictionary<CacheKey, Valid... | using Ritter.Infra.Crosscutting;
using System;
using System.Collections.Concurrent;
namespace Ritter.Domain.Validations
{
public class ValidationContextCache : IValidationContextCache
{
private static IValidationContextCache current = null;
private readonly ConcurrentDictionary<Type, Validatio... | mit | C# |
f488bfe1ed5a3f7afd6bc97c1ee1264efae48c95 | Bump assembly version | junian/Xamarin.Social,aphex3k/Xamarin.Social,moljac/Xamarin.Social,pacificIT/Xamarin.Social,xamarin/Xamarin.Social,aphex3k/Xamarin.Social,junian/Xamarin.Social,moljac/Xamarin.Social,xamarin/Xamarin.Social,pacificIT/Xamarin.Social | src/Xamarin.Social/AssemblyInfo.cs | src/Xamarin.Social/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Xamarin.Social")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Xamarin.Social")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[asse... | apache-2.0 | C# |
c0e10034632a60ee0b33446b1b520bee674f067e | Add ICaller as partial | StevenThuriot/Horizon | ICaller.cs | ICaller.cs | #region License
//
// Copyright 2015 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 app... | #region License
//
// Copyright 2015 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 app... | mit | C# |
dbbfe1e9dafe0bb140f0a7281e13a50a629da944 | add reverse diff option | busterwood/Data | csv/Difference.cs | csv/Difference.cs | using BusterWood.Data;
using BusterWood.Data.Shared;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace BusterWood.Csv
{
class Difference
{
public static void Run(List<string> args)
{
try
{
if (args.Remove("--he... | using BusterWood.Data;
using BusterWood.Data.Shared;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace BusterWood.Csv
{
class Difference
{
public static void Run(List<string> args)
{
try
{
if (args.Remove("--he... | apache-2.0 | C# |
71c305e7fc5044cbcbfb6f85e3834a6be7a09298 | Hide the blinking console tail on linux. | darkriszty/SnakeApp | src/SnakeApp/GameController.cs | src/SnakeApp/GameController.cs | using SnakeApp.Models;
using System;
using System.Threading.Tasks;
namespace SnakeApp
{
public class GameController
{
public async Task StartNewGame()
{
PrepareConsole();
var game = new Game(80, 25, 5, 100);
game.Start();
ConsoleKeyInfo userInput = new ConsoleKeyInfo();
do
{
userInput = ... | using SnakeApp.Models;
using System;
using System.Threading.Tasks;
namespace SnakeApp
{
public class GameController
{
public async Task StartNewGame()
{
var game = new Game(80, 25, 5, 100);
game.Start();
ConsoleKeyInfo userInput = new ConsoleKeyInfo();
do
{
userInput = Console.ReadKey(true);... | mit | C# |
1697b41845777b45653688e3bf39c3f5a49c71b3 | Add a way to disable synchronization into SpriterSubstituteEntity. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Spriter/SpriterSubstituteEntity.cs | Xmas-Hell/Xmas-Hell-Core/Spriter/SpriterSubstituteEntity.cs | using Microsoft.Xna.Framework;
using MonoGame.Extended;
namespace XmasHell.Spriter
{
public class SpriterSubstituteEntity
{
public CustomSpriterAnimator SubstituteAnimator;
private string _replacedPartFilename;
private CustomSpriterAnimator _referenceAnimator;
private SpriterDo... | using Microsoft.Xna.Framework;
using MonoGame.Extended;
namespace XmasHell.Spriter
{
public class SpriterSubstituteEntity
{
public CustomSpriterAnimator SubstituteAnimator;
private string _replacedPartFilename;
private CustomSpriterAnimator _referenceAnimator;
private SpriterDo... | mit | C# |
c8cd8b7be62cfd3978cf00d18ed174f971db8199 | Change method callings to default static instance | Archie-Yang/PcscDotNet | src/PcscDotNet/Pcsc_1.cs | src/PcscDotNet/Pcsc_1.cs | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext... | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext... | mit | C# |
97245b72ef5e8611ffdc7e84b107f60277153b7b | Update ProcessManager.cs | architecture-building-systems/revitpythonshell,architecture-building-systems/revitpythonshell | RevitPythonShell/Helpers/ProcessManager.cs | RevitPythonShell/Helpers/ProcessManager.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
namespace RevitPythonShell.Helpers
{
public static class ProcessManager
{
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.B... | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
namespace RevitPythonShell.Helpers
{
public static class ProcessManager
{
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.B... | mit | C# |
2750880c09152439a5ebf3adcddf1a81d7513d88 | Change OptimizationTest example. | geoem/MSolve,geoem/MSolve | ISAAR.MSolve.SamplesConsole/Optimization/OptimizationTest.cs | ISAAR.MSolve.SamplesConsole/Optimization/OptimizationTest.cs | using ISAAR.MSolve.Analyzers.Optimization;
using ISAAR.MSolve.Analyzers.Optimization.Algorithms.Metaheuristics.DifferentialEvolution;
using ISAAR.MSolve.Analyzers.Optimization.Convergence;
using ISAAR.MSolve.SamplesConsole.Optimization.BenchmarkFunctions;
using System;
namespace ISAAR.MSolve.SamplesConsole.Optimizati... | using ISAAR.MSolve.Analyzers.Optimization;
using ISAAR.MSolve.Analyzers.Optimization.Algorithms;
using ISAAR.MSolve.SamplesConsole.Optimization.BenchmarkFunctions;
using System;
namespace ISAAR.MSolve.SamplesConsole.Optimization
{
public class OptimizationTest
{
public static void Main()
{
... | apache-2.0 | C# |
656a63481f8302e9de2a18ba6a1c292da6e6986f | Add registration options for codeAction request | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/CodeAction.cs | src/PowerShellEditorServices.Protocol/LanguageServer/CodeAction.cs | using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, TextDoc... | using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, object>... | mit | C# |
b87a515d9c4a9bf1d4453c32813d6ee428024c43 | Test fix | roberino/linqinfer,roberino/linqinfer,roberino/linqinfer | tests/LinqInfer.UnitTests/Learning/LstmExtensionsTests.cs | tests/LinqInfer.UnitTests/Learning/LstmExtensionsTests.cs | using System;
using LinqInfer.Learning;
using LinqInfer.Utility;
using NUnit.Framework;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace LinqInfer.UnitTests.Learning
{
[TestFixture]
public class LstmExtensionsTests
{
[Test]
public async Task AttachLongShor... | using System;
using LinqInfer.Learning;
using LinqInfer.Utility;
using NUnit.Framework;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace LinqInfer.UnitTests.Learning
{
[TestFixture]
public class LstmExtensionsTests
{
[Test]
public async Task AttachLongShor... | mit | C# |
b5e22f3f0bdd80c1705b042f8897b19ceea0314c | Bump to 0.4.5 | wasphub/RElmah,wasphub/RElmah | relmah/src/Common/VersionInfo.cs | relmah/src/Common/VersionInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// b... | using System.Reflection;
using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// b... | apache-2.0 | C# |
a9a8c452262efe07df57fb9c0aa6c6c213dba9f3 | Fix the https middleware. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex.Web/Pipeline/EnforceHttpsMiddleware.cs | backend/src/Squidex.Web/Pipeline/EnforceHttpsMiddleware.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
7899c93597ead3d48c5a69657728fad0f86bc898 | Expand supported versions for unused templates module (#133) | ChristopherJennings/KInspector,ChristopherJennings/KInspector,JosefDvorak/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,JosefDvorak/KInspector,Kentico/KInspector,Kentico/KInspector,JosefDvorak/KInspector,ChristopherJennings/KInspector | KInspector.Modules/Modules/Content/UnusedTemplatesModule.cs | KInspector.Modules/Modules/Content/UnusedTemplatesModule.cs | using System;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules
{
public class UnusedTemplatesModule : IModule
{
public ModuleMetadata GetModuleMetadata()
{
... | using System;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules
{
public class UnusedTemplatesModule : IModule
{
public ModuleMetadata GetModuleMetadata()
{
... | mit | C# |
49d67f663087e08fb220b7229b44b57edc8e3f8c | Move down to highlight the Create methods. | danielwertheim/mycouch,danielwertheim/mycouch | src/Projects/MyCouch/Requests/Factories/AttachmentHttpRequestFactory.cs | src/Projects/MyCouch/Requests/Factories/AttachmentHttpRequestFactory.cs | using System.Net.Http;
using MyCouch.Net;
namespace MyCouch.Requests.Factories
{
public class AttachmentHttpRequestFactory :
HttpRequestFactoryBase,
IHttpRequestFactory<GetAttachmentRequest>,
IHttpRequestFactory<PutAttachmentRequest>,
IHttpRequestFactory<DeleteAttachmentRequest>
... | using System.Net.Http;
using MyCouch.Net;
namespace MyCouch.Requests.Factories
{
public class AttachmentHttpRequestFactory :
HttpRequestFactoryBase,
IHttpRequestFactory<GetAttachmentRequest>,
IHttpRequestFactory<PutAttachmentRequest>,
IHttpRequestFactory<DeleteAttachmentRequest>
... | mit | C# |
4ff649fbf5c7cd8a9cb09b64160ac6915c836b1a | Use ContextIsPresent in XCorrelationIdHttpMessageHandler | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.Core/Implementations/XCorrelationIdHttpMessageHandler.cs | src/Server/Bit.Core/Implementations/XCorrelationIdHttpMessageHandler.cs | using Bit.Core.Contracts;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Bit.Core.Implementations
{
public class XCorrelationIdHttpMessageHandler : DelegatingHandler
{
private readonly IRequestInformationProvider _requestInformationProvider;
public XCor... | using Bit.Core.Contracts;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Bit.Core.Implementations
{
public class XCorrelationIdHttpMessageHandler : DelegatingHandler
{
private readonly IRequestInformationProvider _requestInformationProvider;
public XCor... | mit | C# |
6d62e80c9911f4d5664474fc3b1fb8cf14310802 | Add toggle back to Crazy Talk | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | Assets/Scripts/ComponentSolvers/Modded/Perky/CrazyTalkComponentSolver.cs | Assets/Scripts/ComponentSolvers/Modded/Perky/CrazyTalkComponentSolver.cs | using System;
using System.Collections;
using System.Reflection;
using UnityEngine;
public class CrazyTalkComponentSolver : ComponentSolver
{
public CrazyTalkComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
base(bombComm... | using System;
using System.Collections;
using System.Reflection;
using UnityEngine;
public class CrazyTalkComponentSolver : ComponentSolver
{
public CrazyTalkComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
base(bombComm... | mit | C# |
d8bee86d8066eb63f9d22988fc92dd344ac16987 | fix SBMessagingProperties' type | icraftsoftware/BizTalk.Factory,icraftsoftware/BizTalk.Factory,icraftsoftware/BizTalk.Factory | src/BizTalk.Schemas/ContextProperties/SBMessagingProperties.cs | src/BizTalk.Schemas/ContextProperties/SBMessagingProperties.cs | #region Copyright & License
// Copyright © 2012 - 2019 François Chabot
//
// 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 r... | #region Copyright & License
// Copyright © 2012 - 2019 François Chabot
//
// 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 r... | apache-2.0 | C# |
f2769c2b73429da82016fb39a2d32bbbc361d2f5 | Update BasketController.cs | dotnet-architecture/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,TypeW/eShopOnContainers,skynode/eShopOnContainers,and... | src/Services/Basket/Basket.API/Controllers/BasketController.cs | src/Services/Basket/Basket.API/Controllers/BasketController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
using Microsoft.AspNetCore.Authorization;
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
[Route("/"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
using Microsoft.AspNetCore.Authorization;
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
[Route("/"... | mit | C# |
dbd0869eb299464ab9e07aacc997f2bbca8ca26b | Fix repeat submenu disappearing | babycaseny/banshee,arfbtwn/banshee,petejohanson/banshee,allquixotic/banshee-gst-sharp-work,directhex/banshee-hacks,Dynalon/banshee-osx,Carbenium/banshee,lamalex/Banshee,arfbtwn/banshee,arfbtwn/banshee,Carbenium/banshee,GNOME/banshee,dufoli/banshee,Dynalon/banshee-osx,Carbenium/banshee,dufoli/banshee,ixfalia/banshee,Car... | src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs | src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs | //
// NextButton.cs
//
// Authors:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2008 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 restriction, ... | //
// NextButton.cs
//
// Authors:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2008 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 restriction, ... | mit | C# |
a1a8e717e93a2b2fd8ebe2aec1215cb8a9a7c23a | build version | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2013 Agile Harbor, LLC" ) ]
[ assembly : Ass... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2013 Agile Harbor, LLC" ) ]
[ assembly : Ass... | bsd-3-clause | C# |
c7b454cbbb4bafaf50037c5ed7235af7bef6104b | Remove static Create method from SpriteSubclass | hig-ag/CocosSharp,mono/CocosSharp,mono/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp,hig-ag/CocosSharp,haithemaraissia/CocosSharp | tests/tests/classes/tests/SpriteTest/SpriteSubclass.cs | tests/tests/classes/tests/SpriteTest/SpriteSubclass.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
internal class MySprite1 : CCSprite
{
private void InitSprite()
{
ivar = 10;
}
public MySprite1(CCSpriteFrame frame): base(frame)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
internal class MySprite1 : CCSprite
{
private void InitSprite()
{
ivar = 10;
}
public MySprite1(CCSpriteFrame frame): base(frame)
{
... | mit | C# |
65d24c429d1c9c0b850c9a21c4478c6378794476 | fix comment typo | StephenClearyExamples/FunctionsAuth0 | src/FunctionApp/Function.cs | src/FunctionApp/Function.cs | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using System.Threading.Tasks;
namespace FunctionApp
{
public static class Function
{
[FunctionName("Function")]
... | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using System.Threading.Tasks;
namespace FunctionApp
{
public static class Function
{
[FunctionName("Function")]
... | mit | C# |
17b61f8e1d75ae8cfbce2d04d710c0be54be65fb | Update ValueChangedTriggerBehavior.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/ValueChangedTriggerBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/ValueChangedTriggerBehavior.cs | using System;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that performs actions when the bound data produces new value.
/// </summary>
public class ValueChangedTriggerBehavior : Trigger
{
static ValueChangedTriggerBehavior() => BindingProperty.Chan... | using System;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that performs actions when the bound data produces new value.
/// </summary>
public class ValueChangedTriggerBehavior : Trigger
{
static ValueChangedTriggerBehavior()
{
BindingPr... | mit | C# |
dd5948863cbdcb77a05532615f9e192828d16002 | Add pub/sub test for multiple types | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit.IntegrationTests/SimpleUse/PublishAndSubscribeTests.cs | src/RawRabbit.IntegrationTests/SimpleUse/PublishAndSubscribeTests.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using RawRabbit.Common;
using RawRabbit.IntegrationTests.TestMessages;
using RawRabbit.vNext;
using Xunit;
namespace RawRabbit.IntegrationTests.SimpleUse
{
public class P... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using RawRabbit.Common;
using RawRabbit.IntegrationTests.TestMessages;
using RawRabbit.vNext;
using Xunit;
namespace RawRabbit.IntegrationTests.SimpleUse
{
public class P... | mit | C# |
ff6e4c927fecd6b4ff4fba236150b750e66f7cd5 | Add more img srcs to csp | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml | src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml | @using System.Threading.Tasks
@using StockportWebapp.FeatureToggling
@inject FeatureToggles FeatureToggles
@{
var host = Context.Request.Host.Host;
}
@if (FeatureToggles.SecurityHeaders && (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-")))
{
<meta http-... | @using System.Threading.Tasks
@using StockportWebapp.FeatureToggling
@inject FeatureToggles FeatureToggles
@{
var host = Context.Request.Host.Host;
}
@if (FeatureToggles.SecurityHeaders && (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-")))
{
<meta http-... | mit | C# |
5c6c2cd179ec4685f808d21c6fb2706aef4a4c1e | Update SharedAssemblyInfo.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Shared/SharedAssemblyInfo.cs | src/Shared/SharedAssemblyInfo.cs | using System;
using System.Reflection;
[assembly: AssemblyCompany("Wiesław Šoltés")]
[assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("0.0.1")]
[assembly: AssemblyFileVersion("0.0.1")]
[assembly: AssemblyInformationalVersion("0.0.1")]
| using System;
using System.Reflection;
[assembly: AssemblyCompany("Wiesław Šoltés")]
[assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
[assembly: AssemblyInformationalVersion("1.0.1")]
| mit | C# |
9ae05b5b152b1c85ebb4527cece7e43d7013ee71 | Update the descriptions of the Nested Content configuration… (#7224) | leekelleher/Umbraco-CMS,madsoulswe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,umbraco/Umbraco-CMS,bj... | src/Umbraco.Web/PropertyEditors/NestedContentConfiguration.cs | src/Umbraco.Web/PropertyEditors/NestedContentConfiguration.cs | using Newtonsoft.Json;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration for the nested content value editor.
/// </summary>
public class NestedContentConfiguration
{
[ConfigurationField("contentTypes", "Element Types... | using Newtonsoft.Json;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration for the nested content value editor.
/// </summary>
public class NestedContentConfiguration
{
[ConfigurationField("contentTypes", "Document type... | mit | C# |
37566c67d3c40c512ad4ad49180e8a86ba69a1e7 | fix test | lvermeulen/ProGet.Net | test/ProGet.Net.Tests/Native/ProGetPackages/ProGetClientShould.cs | test/ProGet.Net.Tests/Native/ProGetPackages/ProGetClientShould.cs | using System.Threading.Tasks;
using Xunit;
// ReSharper disable CheckNamespace
namespace ProGet.Net.Tests
{
public partial class ProGetClientShould
{
[Fact]
public async Task ProGetPackages_GetPackageCountAsync()
{
var result = await _client.ProGetPackages_GetPackageCountA... | using System.Threading.Tasks;
using Xunit;
// ReSharper disable CheckNamespace
namespace ProGet.Net.Tests
{
public partial class ProGetClientShould
{
[Fact]
public async Task ProGetPackages_GetPackageCountAsync()
{
var result = await _client.ProGetPackages_GetPackageCountA... | mit | C# |
6de6318a7299c41882b5484b69cdf23e3c390c5c | Update DirtyFighting.cs | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Advanced/Gunslinger/DirtyFighting.cs | trunk/DefaultCombat/Routines/Advanced/Gunslinger/DirtyFighting.cs | // Copyright (C) 2011-2015 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 DirtyFighting : RotationBase
{
public override string Name
{
... | // Copyright (C) 2011-2015 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 DirtyFighting : RotationBase
{
public override string Name
{
... | apache-2.0 | C# |
9bb4b36a6bcbfdb40952984baa08e228815b7ad9 | Add byte symmetric algorithm encryption methods | DataGenSoftware/DataGen.Extensions | DataGen.Extensions/DataGen.Extensions/ByteExtensions.cs | DataGen.Extensions/DataGen.Extensions/ByteExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace DataGen.Extensions
{
public static class ByteExtensions
{
public static byte[] ComputeHash(this byte[] value, HashAlgorithm hashAlgorithm)
{
if (value.IsNotNull() == true)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace DataGen.Extensions
{
public static class ByteExtensions
{
public static byte[] ComputeHash(this byte[] value, HashAlgorithm hashAlgorithm)
{
if (value.IsNotNull() == true)
{
... | mit | C# |
d7e67613ba7d43e013ee5dc48ac3417182ae235d | Update DisableCompatibilityChecker.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Articles/DisableCompatibilityChecker.cs | Examples/CSharp/Articles/DisableCompatibilityChecker.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class DisableCompatibilityChecker
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class DisableCompatibilityChecker
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Metho... | mit | C# |
8ee34381cc0bdc9a39c3792d5698f0d696c075b3 | Correct syntax error | jonstodle/MovieWatchlist | ImdbInterface/DateLocation.cs | ImdbInterface/DateLocation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImdbInterface {
public struct DateLocation {
private readonly DateTime date;
private readonly string location;
public DateLocation(DateTime date, string location) ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImdbInterface {
public struct DateLocation {
private readonly DateTime date;
private readonly string location;
public DateLocation(DateTime date, string location) ... | mit | C# |
e24dccc0280a15f4c7229fd484bff99cd3d74322 | Rename Quaternion to QuaternionField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Quaternions.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Quaternions.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public Quaternion QuaternionField(Quaternion value)
{
return QuaternionField(string.Empty, value);
}
public Quaternion QuaternionField(string label, Quaternion value)
{
return QuaternionField(label, value, null);... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public Quaternion Quaternion(Quaternion value)
{
return Quaternion(string.Empty, value);
}
public Quaternion Quaternion(string label, Quaternion value)
{
return Quaternion(label, value, null);
}
public Quat... | mit | C# |
49014f7e69eb873e758e96fa5c312d8e315f387c | Fix copy and past bug. | SamOatesJams/Ludumdare33,SamOatesJams/Ludumdare33 | Assets/Resources/Scripts/Server/Packet/PlayerHandshakePacket.cs | Assets/Resources/Scripts/Server/Packet/PlayerHandshakePacket.cs | using UnityEngine;
using System.Collections;
using Realms.Common.Packet;
using System;
namespace Realms.Server.Packet
{
[Serializable]
public class PlayerHandshakePacket : IPacket
{
/// <summary>
/// Is the connection to the server allowed
/// </summary>
public... | using UnityEngine;
using System.Collections;
using Realms.Common.Packet;
using System;
namespace Realms.Server.Packet
{
[Serializable]
public class PlayerHandshakePacket : IPacket
{
/// <summary>
/// Is the connection to the server allowed
/// </summary>
public... | mit | C# |
1b0efdc567bfb0dff44ce681e9e599b45b383cf5 | update version comment | yasokada/unity-150908-udpTimeGraph | Assets/AppInfo.cs | Assets/AppInfo.cs | using UnityEngine;
using System.Collections;
/*
* v0.7 2015/09/12
* - graph date is kept as <System.DateTime, float> so that x axis scale can be changed to weekly, etc.
* v0.6 2015/09/12
* - move several functions to MyPanelUtils.cs
* v0.5 2015/09/11
* - display ymin and ymax on the left of the panel (gr... | using UnityEngine;
using System.Collections;
/* v0.6 2015/09/12
* - move several functions to MyPanelUtils.cs
* v0.5 2015/09/11
* - display ymin and ymax on the left of the panel (graphScale)
* v0.4 2015/09/10
* - can handle set,yrange command
*/
namespace NS_appInfo // NS stands for NameSpace
{
public... | mit | C# |
470416db7a7f5666118119c074326a67625d19da | Update GetLines extension method | PowerShell/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer,daviwil/PSScriptAnalyzer | Engine/Extensions.cs | Engine/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions
{
// TODO Add documentation
public static class Extensions
{
public static IEnumerable<string> GetLines(this string text)... | using System;
using System.Collections.Generic;
using System.IO;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions
{
// TODO Add documentation
public static class Extensions
{
public static IEnumerable<string> GetLines(this string text)
... | mit | C# |
2ae64e0621e48a6979a8d8a1c6eb44ecf3994e6b | Add test for #54 | awesome-inc/FontAwesome.Sharp,awesome-inc/FontAwesome.Sharp | FontAwesome.Sharp.Tests/WindowsForms/FormsIconHelper_Should.cs | FontAwesome.Sharp.Tests/WindowsForms/FormsIconHelper_Should.cs | using System.Drawing;
using System.Windows.Forms;
using FluentAssertions;
using Xunit;
namespace FontAwesome.Sharp.Tests.WindowsForms
{
// ReSharper disable once InconsistentNaming
public class FormsIconHelper_Should
{
[StaFact]
public void Generate_bitmaps_for_icon_chars()
{
... | using System.Drawing;
using System.Windows.Forms;
using FluentAssertions;
using Xunit;
namespace FontAwesome.Sharp.Tests.WindowsForms
{
// ReSharper disable once InconsistentNaming
public class FormsIconHelper_Should
{
[StaFact]
public void Generate_bitmaps_for_icon_chars()
{
... | apache-2.0 | C# |
e6a916467a75cc7b9c9e19ab2eebab074c8e5728 | remove "home" link in navbar | olebg/car-mods-heaven,olebg/car-mods-heaven | CarModsHeaven/CarModsHeaven/CarModsHeaven.Web/Views/Shared/_Layout.cshtml | CarModsHeaven/CarModsHeaven/CarModsHeaven.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">... | mit | C# |
04ab600427f7523d3348a093a07a8bd392273967 | Fix HomepageFactoryTests | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | test/StockportWebappTests/Unit/ContentFactory/HomepageFactoryTest.cs | test/StockportWebappTests/Unit/ContentFactory/HomepageFactoryTest.cs | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Moq;
using StockportWebapp.ContentFactory;
using StockportWebapp.Models;
using StockportWebapp.Utils;
using Xunit;
namespace StockportWebappTests_Unit.Unit.ContentFactory
{
public class HomepageFactoryTest
{
private rea... | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Moq;
using StockportWebapp.ContentFactory;
using StockportWebapp.Models;
using StockportWebapp.Utils;
using Xunit;
namespace StockportWebappTests_Unit.Unit.ContentFactory
{
public class HomepageFactoryTest
{
private rea... | mit | C# |
954cdcb1dd4454bae4d3c69603a52e9ec83cb0b6 | Tweak for performance | phatboyg/MassTransit,MassTransit/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit,jacobpovar/MassTransit,SanSYS/MassTransit,jacobpovar/MassTransit | src/MassTransit/Serialization/JsonConverters/ListJsonConverter.cs | src/MassTransit/Serialization/JsonConverters/ListJsonConverter.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2014 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | apache-2.0 | C# |
4a0c0440e0e28921c0235530b4de4bed51ac0925 | Fix CanWriteByteArrayPropertyFromBinary | samus/mongodb-csharp,zh-huan/mongodb,mongodb-csharp/mongodb-csharp | source/MongoDB/Configuration/Mapping/Util/ValueConverter.cs | source/MongoDB/Configuration/Mapping/Util/ValueConverter.cs | using System;
namespace MongoDB.Configuration.Mapping.Util
{
internal static class ValueConverter
{
public static object Convert(object value, Type type)
{
var valueType = value != null ? value.GetType() : typeof(object);
if(value==null)
retu... | using System;
namespace MongoDB.Configuration.Mapping.Util
{
internal static class ValueConverter
{
public static object Convert(object value, Type type)
{
var valueType = value != null ? value.GetType() : typeof(object);
if(valueType != type)
... | apache-2.0 | C# |
5a4886e7bbc8a15b1a76a21d654f2f5f14a0ba3c | fix `forceRTL` method (#988) | lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows | ReactWindows/ReactNative.Shared/Modules/I18N/I18NModule.cs | ReactWindows/ReactNative.Shared/Modules/I18N/I18NModule.cs | using ReactNative.Bridge;
using System.Collections.Generic;
using System.Globalization;
namespace ReactNative.Modules.I18N
{
/// <summary>
/// A module that allows JS to get/set right to left preferences.
/// </summary>
class I18NModule : NativeModuleBase
{
private const string ModuleName ... | using ReactNative.Bridge;
using System.Collections.Generic;
using System.Globalization;
namespace ReactNative.Modules.I18N
{
/// <summary>
/// A module that allows JS to get/set right to left preferences.
/// </summary>
class I18NModule : NativeModuleBase
{
private const string ModuleName ... | mit | C# |
6ae8e1d0c35a921a987aeb3e19fdff454a8a40a6 | Use F.Tap inside F.ForEach | farity/farity | Farity/ForEach.cs | Farity/ForEach.cs | using System;
using System.Collections.Generic;
namespace Farity
{
public static partial class F
{
/// <summary>
/// Iterates over an input enumerable, calling a provided function for each element in the enumerable.
/// Functions that don't mutate the items in the source are recommende... | using System;
using System.Collections.Generic;
namespace Farity
{
public static partial class F
{
/// <summary>
/// Iterates over an input enumerable, calling a provided function for each element in the enumerable.
/// Functions that don't mutate the items in the source are recommende... | mit | C# |
8e2ea5f7da5a87c2657632a7ecf845976ad66721 | throw for no field scannedTypes on EndpointConfiguration | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/AcceptanceTestHelper/EndpointConfigurationExtensions.cs | src/AcceptanceTestHelper/EndpointConfigurationExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NServiceBus;
using NServiceBus.Configuration.AdvancedExtensibility;
public static class EndpointConfigurationExtensions
{
public static List<Type> ScannedTypes(this EndpointConfiguration configuration)
{
v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NServiceBus;
using NServiceBus.Configuration.AdvancedExtensibility;
public static class EndpointConfigurationExtensions
{
public static List<Type> ScannedTypes(this EndpointConfiguration configuration)
{
... | mit | C# |
51d19f4e9d120924bfa2fbe65c8607799a1a5e5b | Update NetworkConnectivityService.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Network/NetworkConnectivityService.cs | TIKSN.Framework.Core/Network/NetworkConnectivityService.cs | using System.Net.NetworkInformation;
using System.Reactive.Linq;
namespace TIKSN.Network
{
public class NetworkConnectivityService : NetworkConnectivityServiceBase
{
public NetworkConnectivityService() =>
this.internetConnectivityStateInternal =
Observable.FromEvent<Network... | using System.Net.NetworkInformation;
using System.Reactive.Linq;
namespace TIKSN.Network
{
public class NetworkConnectivityService : NetworkConnectivityServiceBase
{
public NetworkConnectivityService() : base()
{
internetConnectivityStateInternal = Observable.FromEvent<NetworkAvail... | mit | C# |
35f26a15ee1007c61e0c06c299c6da5a4c510d27 | Bump version to 1.1 | kevinkuszyk/FluentAssertions.Ioc.Ninject,kevinkuszyk/FluentAssertions.Ioc.Ninject | src/FluentAssertions.Ioc.Ninject/Properties/AssemblyInfo.cs | src/FluentAssertions.Ioc.Ninject/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("Fl... | 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("Fl... | apache-2.0 | C# |
439f03e3b3d78dbdbc8ba3d6db559c13043f1e86 | Fix failing test due to missing dependency | peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorSummaryTimeline.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorSummaryTimeline.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Scr... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Edit.Components.Timelines.Summary... | mit | C# |
b1a13a02dc8f0c6074befd26d09e210887c647f6 | Return SubTotal as string | idoban/FinBotApp,idoban/FinBotApp | FinBot/Engine/ExpenseByCategoryAdapter.cs | FinBot/Engine/ExpenseByCategoryAdapter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using Syn.Bot.Siml;
using FinBot.Expenses;
using System.Xml.Linq;
namespace FinBot.Engine
{
public class ExpenseByCategoryAdapter : BaseAdapter
{
private IExpenseService ExpenseService {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using Syn.Bot.Siml;
using FinBot.Expenses;
using System.Xml.Linq;
namespace FinBot.Engine
{
public class ExpenseByCategoryAdapter : BaseAdapter
{
private IExpenseService ExpenseService {... | mit | C# |
434e5faf3d11b73464f3ea7a771b06b6c7ad7ddb | Fix the bug | skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper | NuKeeper/Engine/CommitReport.cs | NuKeeper/Engine/CommitReport.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
using NuKeeper.NuGet.Api;
namespace NuKeeper.Engine
{
public static class CommitReport
{
public static string MakeCommitMessage(List<PackageUpdate> updates)
{
return $"Automatic update of {updates[0].PackageId... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using NuKeeper.NuGet.Api;
namespace NuKeeper.Engine
{
public static class CommitReport
{
public static string MakeCommitMessage(List<PackageUpdate> updates)
{
return $"Automatic update of {updates[0].PackageId... | apache-2.0 | C# |
405d46dc38d62c3f2e0e9b6cf7fb7ce63e4f8c44 | fix doc for Orgs API client interface | yonglehou/octokit.net,thedillonb/octokit.net,devkhan/octokit.net,editor-tools/octokit.net,shiftkey/octokit.net,brramos/octokit.net,octokit-net-test/octokit.net,shiftkey/octokit.net,khellang/octokit.net,M-Zuber/octokit.net,chunkychode/octokit.net,ivandrofly/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,forki/oct... | Octokit/IOrganizationsClient.cs | Octokit/IOrganizationsClient.cs | #if NET_45
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
{
/// <summary>
/// A client for GitHub's Orgs API.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/orgs/">Orgs API documentat... | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
{
public interface IOrganizationsClient
{
/// <summary>
/// Returns the specified organization.
/// </summary>
/// <param name="org">The login of the specifi... | mit | C# |
df52e3bfa84a312a1c1068199b9e094d294e5283 | Mark the ExtractTest as EndToEnd. | boumenot/Grobid.NET | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using org.grobid.core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using System.Xml.Linq;
using org.apache.log4j;
namespace Grobid.Test
{
public class GrobidTest
{
... | using org.grobid.core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using System.Xml.Linq;
using org.apache.log4j;
namespace Grobid.Test
{
public class GrobidTest
{
... | apache-2.0 | C# |
d7c73c42651c8826d7d4e688d298f34203af7b52 | Add registration options for documentHighlight request | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/DocumentHighlight.cs | src/PowerShellEditorServices.Protocol/LanguageServer/DocumentHighlight.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public enum Docum... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public enum Docum... | mit | C# |
b72dc24bc047dc5706037e5f293b52e579df44de | Put obstaclenetworking setup in the right place. | Double-Fine-Game-Club/pongball | Assets/scripts/entity/SpinnerActivator.cs | Assets/scripts/entity/SpinnerActivator.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class SpinnerActivator : MonoBehaviour
{
public bool boostEnabled;
public GameObject boost;
private void Start()
{
boost.GetComponent<BoostPadForce>().boostEnabled = false;
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpinnerActivator : MonoBehaviour
{
public bool boostEnabled;
public GameObject boost;
private void Start()
{
boost.GetComponent<BoostPadForce>().boostEnabled = false;
boost.GetComponent<BoostPa... | mit | C# |
21079e85a298d4106fd1c0da4e5205c4c3523175 | Disable Auto-Open behavior for Stack Trace Explorer (#59785) | bartdesmet/roslyn,bartdesmet/roslyn,dotnet/roslyn,KevinRansom/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/rosly... | src/VisualStudio/Core/Def/StackTraceExplorer/StackTraceExplorerOptions.cs | src/VisualStudio/Core/Def/StackTraceExplorer/StackTraceExplorerOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Host.Mef;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Host.Mef;
... | mit | C# |
cb59b66db65f0ae7072a05d3b2822221d67b19d4 | Update Program.cs | ch0mik/SQ7MRU.Utils | SampleApp/Program.cs | SampleApp/Program.cs | using System;
using Microsoft.Extensions.Logging;
using SQ7MRU.Utils;
namespace SampleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("SQ7MRU eQSL Downloader\n");
Console.WriteLine("Hello World!");
ILoggerFactory loggerFactory = ne... | using System;
using Microsoft.Extensions.Logging;
using SQ7MRU.Utils;
namespace SampleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("SQ7MRU eQSL Downloader\n");
Console.WriteLine("Hello World!");
ILoggerFactory loggerFactory = ne... | apache-2.0 | C# |
883bf801cd672abd8a42c053668cf5859d67f577 | fix release build | madelson/DistributedLock | DistributedLock.Oracle/OracleDistributedSynchronizationProvider.cs | DistributedLock.Oracle/OracleDistributedSynchronizationProvider.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace Medallion.Threading.Oracle
{
/// <summary>
/// Implements <see cref="IDistributedLockProvider"/> for <see cref="OracleDistributedLock"/>
/// and <see cref="IDistributedUpgradeableReaderWriterLockProvider"/> for... | using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace Medallion.Threading.Oracle
{
/// <summary>
/// Implements <see cref="IDistributedLockProvider"/> for <see cref="OracleDistributedLock"/>
/// and <see cref="IDistributedUpgradeableReaderWriterLockProvider"/> for... | mit | C# |
26ce61c56333f6a4d80ab04e4682d01ef955c4e2 | Redefine age field as unsigned | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | apache-2.0 | C# |
dd93fc3bcd309b873c17f2427bd6df1b023d2ca7 | Remove some hints, function name is clear enough | insthync/unity-utilities | UnityUtilities/Scripts/Misc/UnityUtils.cs | UnityUtilities/Scripts/Misc/UnityUtils.cs | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
/// <summary>
/// Is any of the keys UP?
/// </summary>
/// <param name="keys"></param>
/// <returns></returns>
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (Key... | mit | C# |
ed2aae8e7b7144a418105a4de96bfd6525a9259e | Update SuperBlurBase.cs | PavelDoGreat/Super-Blur | SuperBlur/Core/SuperBlurBase.cs | SuperBlur/Core/SuperBlurBase.cs | using UnityEngine;
namespace SuperBlur
{
[ExecuteInEditMode]
public class SuperBlurBase : MonoBehaviour
{
protected static class Uniforms
{
public static readonly int _Radius = Shader.PropertyToID("_Radius");
public static readonly int _BackgroundTexture = Shader.PropertyToID("_SuperBlurTexture");
}
... | using UnityEngine;
namespace SuperBlur
{
[ExecuteInEditMode]
public class SuperBlurBase : MonoBehaviour
{
protected static class Uniforms
{
public static readonly int _Radius = Shader.PropertyToID("_Radius");
public static readonly int _BackgroundTexture = Shader.PropertyToID("_SuperBlurTexture");
}
... | mit | C# |
d6bff6fe132e6d316ba72cb0357de321db20577b | set realistic version number | eeaquino/DotNetShipping,kylewest/DotNetShipping | DotNetShipping/Properties/AssemblyInfo.cs | DotNetShipping/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("DotNetShipping")]
[assembly: Ass... | 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("DotNetShipping")]
[assembly: Ass... | mit | C# |
dfbeccbbf22e892c457d4f5b4e144c2dacf8e72c | Update WindowsForm.cs | vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall | FRBDK/Glue/Glue/Extensions/WindowsForm.cs | FRBDK/Glue/Glue/Extensions/WindowsForm.cs | namespace System.Windows.Forms
{
public static class WindowsFormEx
{
public static void EnsureOnScreen(this System.Windows.Forms.Form form)
{
var screen = Screen.FromControl(form).WorkingArea;
System.Drawing.Point newLocation = form.Location;
if (form.Bounds... | namespace System.Windows.Forms
{
public static class WindowsFormEx
{
public static void EnsureOnScreen(this System.Windows.Forms.Form form)
{
var screen = Screen.FromControl(form);
System.Drawing.Point newLocation = form.Location;
if (form.Bounds.Right > scr... | mit | C# |
54bc4c7045287ee76c9792eab52c0dd476e1c80b | Update the Assembly Info | SevenSpikes/api-plugin-for-nopcommerce,SevenSpikes/api-plugin-for-nopcommerce | Nop.Plugin.Api/Properties/AssemblyInfo.cs | Nop.Plugin.Api/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("Nop.Plugin.Api")]
[assembly: AssemblyDesc... | 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("Nop.Plugin.Api")]
[assembly: AssemblyDesc... | mit | C# |
e0682e2468feda2dae99d741e6ed282da7ff876d | Add choice | archrival/SubsonicSharp | Subsonic.Common/Enums/ItemChoiceType.cs | Subsonic.Common/Enums/ItemChoiceType.cs | using System.Xml.Serialization;
namespace Subsonic.Common.Enums
{
[XmlType(IncludeInSchema = false)]
public enum ItemChoiceType
{
[XmlEnum("album")]
Album,
[XmlEnum("albumInfo")]
AlbumInfo,
[XmlEnum("albumInfo2")]
AlbumInfo2,
[XmlEnum("albumList")]
AlbumList,
[XmlEnum("albumList2")]
AlbumLi... | using System.Xml.Serialization;
namespace Subsonic.Common.Enums
{
[XmlType(IncludeInSchema = false)]
public enum ItemChoiceType
{
[XmlEnum("album")]
Album,
[XmlEnum("albumInfo")]
AlbumInfo,
[XmlEnum("albumInfo2")]
AlbumInfo2,
[XmlEnum("albumList")]
AlbumList,
[XmlEnum("albumList2")]
AlbumLi... | mit | C# |
ff25c67632520b35c9ce14cc58c1601f693c3a6e | remove debug | DutchBeastman/ProefBekwaamheidIceCubeGames | Assets/Scripts/Audio/AudioPlayer.cs | Assets/Scripts/Audio/AudioPlayer.cs | //Created By: Jeremy Bond
//Date: 27/03/2016
using UnityEngine;
using UnityEngine.Audio;
using System.Collections.Generic;
namespace Utils
{
public class AudioPlayer : MonoBehaviour
{
[SerializeField] private int maxChannels;
private HashSet<AudioChannel> channels;
[SerializeField] private AudioMixerGroup SF... | //Created By: Jeremy Bond
//Date: 27/03/2016
using UnityEngine;
using UnityEngine.Audio;
using System.Collections.Generic;
namespace Utils
{
public class AudioPlayer : MonoBehaviour
{
[SerializeField] private int maxChannels;
private HashSet<AudioChannel> channels;
[SerializeField] private AudioMixerGroup SF... | mit | C# |
641c2ed8b12810ad20b002c6b81389bc8cb90665 | Add return codes | CSIS/EnrollmentStation | CertUtilities/RevokeCert/Program.cs | CertUtilities/RevokeCert/Program.cs | using System;
using System.Runtime.InteropServices;
using CERTADMINLib;
using CERTCLIENTLib;
namespace RevokeCert
{
class Program
{
private const int CC_UIPICKCONFIG = 0x1;
static int Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLin... | using System;
using System.Runtime.InteropServices;
using CERTADMINLib;
using CERTCLIENTLib;
namespace RevokeCert
{
class Program
{
private const int CC_UIPICKCONFIG = 0x1;
static void Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLi... | mit | C# |
0229684c38a58ec68e19ad803968603912203012 | Fix namespace | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.DataModel/MarkdownString.cs | JoinRpg.DataModel/MarkdownString.cs | namespace JoinRpg.DataModel
{
public class MarkdownString
{
public MarkdownString(string contents)
{
//TODO: Validate for correct Markdown
Contents = contents;
}
public MarkdownString() : this(null)
{
}
public string Contents { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JoinRpg.DataModel
{
public class MarkdownString
{
public MarkdownString(string contents)
{
//TODO: Validate for correct Markdown
Contents = contents;
}
public ... | mit | C# |
2a69335d718cd56ea7a22f4eadceb121de0162e4 | Build nuget package. | RockFramework/Rock.Messaging,peteraritchie/Rock.Messaging,bfriesen/Rock.Messaging | Rock.Messaging/Properties/AssemblyInfo.cs | Rock.Messaging/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("Ro... | 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("Ro... | mit | C# |
fa2bd41c63092927fc14529c42de72522e301444 | Change CollationDefinition.IsValid to protected internal | gtryus/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,mccarthyrb/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,mccarthyrb/libpalaso,andrew-polk/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,gmartin... | SIL.WritingSystems/CollationDefinition.cs | SIL.WritingSystems/CollationDefinition.cs | using SIL.Data;
namespace SIL.WritingSystems
{
public abstract class CollationDefinition : DefinitionBase<CollationDefinition>
{
private readonly string _type;
private ICollator _collator;
protected CollationDefinition(string type)
{
_type = type;
}
protected CollationDefinition(CollationDefinition... | using SIL.Data;
namespace SIL.WritingSystems
{
public abstract class CollationDefinition : DefinitionBase<CollationDefinition>
{
private readonly string _type;
private ICollator _collator;
protected CollationDefinition(string type)
{
_type = type;
}
protected CollationDefinition(CollationDefinition... | mit | C# |
28c9f8058111b9ae2d387e3ab02e310e609c1c0a | Convert AllLegalTagNameCharacters flag into an integer CurrentState and use a table (finite automaton) of size 18x41 to transition between states that either accept or reject the symbol as a tag name. Also update comment about tag names. | PenguinF/sandra-three | Sandra.Chess/Pgn/PgnSymbolStateMachine.cs | Sandra.Chess/Pgn/PgnSymbolStateMachine.cs | #region License
/*********************************************************************************
* PgnSymbolStateMachine.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | #region License
/*********************************************************************************
* PgnSymbolStateMachine.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | apache-2.0 | C# |
8d751a9d8045e05c14dc8d1bf7473c265acee42a | rename generic types in ProxyableFactory | BrainCrumbz/NSpec.VsAdapter,nspec/NSpec.VsAdapter | src/NSpec.VsAdapter/NSpec.VsAdapter/CrossDomain/ProxyableFactory.cs | src/NSpec.VsAdapter/NSpec.VsAdapter/CrossDomain/ProxyableFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSpec.VsAdapter.CrossDomain
{
public class ProxyableFactory<TImplementation, TInterface> : IProxyableFactory<TInterface>
where TImplementation : Proxyable, TInterface
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSpec.VsAdapter.CrossDomain
{
public class ProxyableFactory<TProxyableImpl, TIProxyable> : IProxyableFactory<TIProxyable>
where TProxyableImpl : Proxyable, TIProxyable
{
... | mit | C# |
084ac9c4537300e4172bf82fefb8070657926438 | Allow using MongoDb connectionString including DatabaseName (#22) | diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB | src/IdentityServer4.MongoDB/DbContexts/MongoDBContextBase.cs | src/IdentityServer4.MongoDB/DbContexts/MongoDBContextBase.cs | using IdentityServer4.MongoDB.Configuration;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
namespace IdentityServer4.MongoDB.DbContexts
{
public class MongoDBContextBase : IDisposable
{
private readonly IMongoClient _client;
public MongoDBContextBase(IOptions<MongoDB... | using IdentityServer4.MongoDB.Configuration;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
namespace IdentityServer4.MongoDB.DbContexts
{
public class MongoDBContextBase : IDisposable
{
private readonly IMongoClient _client;
public MongoDBContextBase(IOptions<MongoDB... | apache-2.0 | C# |
e888059404cfc393bad89704eeae15c3f9094217 | Bump version of PortableSettingsProvider to 1.2 | Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller | source/PortableSettingsProvider/Properties/AssemblyInfo.cs | source/PortableSettingsProvider/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("PortableSettingsProvider")]
[assembly: As... | 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("PortableSettingsProvider")]
[assembly: As... | apache-2.0 | C# |
e51b786737cfc88f25adb53d0400e4d07b53a9e6 | fix namespace | elastic/elasticsearch-net,KodrAus/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,azubanov/elasticsearch-net,TheFireCookie/elasticsearch-net,azubanov/elasticsearch-net,jonyadamit/elasticsearch-net,TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,CSGOp... | src/Tests/QueryDsl/FullText/Match/MatchPhraseUsageTests.cs | src/Tests/QueryDsl/FullText/Match/MatchPhraseUsageTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Static;
namespace Tests.QueryDsl.FullText.Match
{
public class MatchPhrasePrefixUsageTests : QueryDslUsageTestsBase
{
public Ma... | using System;
using System.Collections.Generic;
using System.Linq;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Static;
namespace Tests.QueryDsl.FullText.MatchPhrasePrefix
{
public class MatchPhrasePrefixUsageTests : QueryDslUsageTestsBase
{... | apache-2.0 | C# |
de21ec7bc94242350b6d763c4b73442080f35de0 | remove claim denial status from my claims export | joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | src/JoinRpg.WebPortal.Models/Exporters/MyClaimListItemViewModelExporter.cs | src/JoinRpg.WebPortal.Models/Exporters/MyClaimListItemViewModelExporter.cs | using System.Collections.Generic;
using JoinRpg.Services.Interfaces;
using JoinRpg.Web.Models.ClaimList;
namespace JoinRpg.Web.Models.Exporters
{
public class MyClaimListItemViewModelExporter : CustomExporter<ClaimListItemViewModel>
{
public MyClaimListItemViewModelExporter(IUriService uriService) : ba... | using System.Collections.Generic;
using JoinRpg.Services.Interfaces;
using JoinRpg.Web.Models.ClaimList;
namespace JoinRpg.Web.Models.Exporters
{
public class MyClaimListItemViewModelExporter : CustomExporter<ClaimListItemViewModel>
{
public MyClaimListItemViewModelExporter(IUriService uriService) : ba... | mit | C# |
52ffc89fef5603bcec698bcb49fa73da4b3efbd3 | Remove duplicated UseHttpsRedirection (#437) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-CSharp/Startup.cs | src/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-CSharp/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
#if (RequiresHttps)
using Microsoft.AspNetCore.HttpsPolicy;
#endif
using Microsoft.AspNetCore.Mvc;
#if (OrganizationalAuth || IndividualB2CAuth)
using... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
#if (RequiresHttps)
using Microsoft.AspNetCore.HttpsPolicy;
#endif
using Microsoft.AspNetCore.Mvc;
#if (OrganizationalAuth || IndividualB2CAuth)
using... | apache-2.0 | C# |
7b51849ddb11e8d25da2afd12940786dd8b8896a | Fix grouping issue | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Infrastructure/Data/TrainingProgrammeRepository.cs | src/SFA.DAS.Commitments.Infrastructure/Data/TrainingProgrammeRepository.cs | using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities.TrainingProgramme;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Sql.Client;
using SFA.DAS.Sql.Dapper;
namespace SFA.DAS.Commit... | using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities.TrainingProgramme;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Sql.Client;
using SFA.DAS.Sql.Dapper;
namespace SFA.DAS.Commit... | mit | C# |
6188586ea99b869349e7402dd4fe741e3223e106 | Fix to test | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Training/SentimentTests.cs | src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Training/SentimentTests.cs | using System.Threading.Tasks;
using NLog;
using NUnit.Framework;
using Wikiled.Amazon.Logic;
namespace Wikiled.Sentiment.AcceptanceTests.Training
{
[TestFixture]
public class SentimentTests
{
private static readonly Logger log = LogManager.GetCurrentClassLogger();
[TestCase("B00002EQCW", ... | using System.Threading.Tasks;
using NLog;
using NUnit.Framework;
using Wikiled.Amazon.Logic;
namespace Wikiled.Sentiment.AcceptanceTests.Training
{
[TestFixture]
public class SentimentTests
{
private static readonly Logger log = LogManager.GetCurrentClassLogger();
[TestCase("B00002EQCW", ... | apache-2.0 | C# |
c8b4a798da67571c19461a151ee78c55c4109517 | Add view elements for resending Confirm code | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Views/Account/ConfirmChangeEmail.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/Account/ConfirmChangeEmail.cshtml | @model SFA.DAS.EmployerUsers.Web.Models.OrchestratorResponse<SFA.DAS.EmployerUsers.Web.Models.ConfirmChangeEmailViewModel>
<h1 class="heading-xlarge">Enter your security code</h1>
<form method="post">
@Html.AntiForgeryToken()
<fieldset>
<legend class="visuallyhidden">Enter your security co... | <h1 class="heading-xlarge">Enter your security code</h1>
<form method="post">
@Html.AntiForgeryToken()
<fieldset>
<legend class="visuallyhidden">Enter your security code</legend>
<div class="form-group">
<label class="form-label-bold" for="SecurityCode">Enter security co... | mit | C# |
e2b6a4601f3d36a1f243512d1bc13b52f0382767 | bump assemblyinfo version to 0.1.0 | akatakritos/PygmentSharp | src/PygmentSharp/PygmentSharp.Core/Properties/AssemblyInfo.cs | src/PygmentSharp/PygmentSharp.Core/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: AssemblyTit... | 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: AssemblyTit... | mit | C# |
348ab3c3f94c2f422a137f48d3bcd551892d5dcb | revert class | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/ProcessedModels/ProcessedGroupHomepage.cs | src/StockportWebapp/ProcessedModels/ProcessedGroupHomepage.cs | using System.Collections.Generic;
using StockportWebapp.Models;
namespace StockportWebapp.ProcessedModels
{
public class ProcessedGroupHomepage : IProcessedContentType
{
public readonly string Title;
public readonly string MetaDescription;
public readonly List<GroupCategory> Categories... | using System.Collections.Generic;
using StockportWebapp.Models;
namespace StockportWebapp.ProcessedModels
{
public class ProcessedGroupHomepage : IProcessedContentType
{
public readonly string Title;
public readonly string MetaDescription;
public readonly List<GroupCategory> Categories... | mit | C# |
97e84e0a020120aa3d5fa745d4c18b416301d114 | fix build issue for windows phone | jamesmontemagno/TextToSpeechPlugin | src/TextToSpeech.Plugin.WinPhone/Properties/AssemblyInfo.cs | src/TextToSpeech.Plugin.WinPhone/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Plugin.TextToSpeech.WinPhone")]
[assembly: AssemblyDescription("")]
[assembly: ComVisible(false)]
[assembly: Guid("6ec1bd3c-a012-4a77-9f1d-bd1347953524")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: AssemblyTitle("Plugin.TextToSpeech.WinPhone")]
[assembly: AssemblyDescription("")]
[assembly: ComVisible(false)]
[assembly: Guid("6ec1bd3c-a012-4a77-9f1d-bd1347953524")]
[assembly:... | mit | C# |
e51b296796b36b819372d1b1c53fe1acbd576d3a | Test for properties column filtering | serilog/serilog-sinks-mssqlserver | test/Serilog.Sinks.MSSqlServer.Tests/TestPropertiesColumnFiltering.cs | test/Serilog.Sinks.MSSqlServer.Tests/TestPropertiesColumnFiltering.cs | using Dapper;
using FluentAssertions;
using System.Data.SqlClient;
using Xunit;
namespace Serilog.Sinks.MSSqlServer.Tests
{
[Collection("LogTest")]
public class TestPropertiesColumnFiltering
{
internal class PropertiesColumns
{
public string Properties { get; set; }
}
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Serilog.Sinks.MSSqlServer.Tests
{
class TestPropertiesColumnFiltering
{
}
}
| apache-2.0 | C# |
c284ed92b2584786ceb53fc8d0dd8e7d19da9180 | rename member | json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core | src/JsonApiDotNetCore/Hooks/Execution/UpdatedRelationshipHelper.cs | src/JsonApiDotNetCore/Hooks/Execution/UpdatedRelationshipHelper.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using JsonApiDotNetCore.Models;
namespace JsonApiDotNetCore.Hooks
{
public interface IAffectedRelationships { }
/// <summary>
/// A helper class that provides insights in which relationships have been updated for... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using JsonApiDotNetCore.Models;
namespace JsonApiDotNetCore.Hooks
{
public interface IAffectedRelationships { }
/// <summary>
/// A helper class that provides insights in which relationships have been updated for... | mit | C# |
f83f6bcae7a6a7e57da9c5aa7da477cdf135898c | Fix StatisticLogAggregator | abock/roslyn,gafter/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,AlekseyTs/roslyn,mgoertz-msft/roslyn,diryboy/roslyn,nguerrera/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,brettfo/roslyn,tmat/roslyn,genlu/roslyn,shyamnamboodiripad/roslyn,mgoertz-msft/roslyn,jmarolf/roslyn,jmarolf/roslyn,jasonmalinowski/rosl... | src/Workspaces/Core/Portable/Log/StatisticLogAggregator.cs | src/Workspaces/Core/Portable/Log/StatisticLogAggregator.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.
namespace Microsoft.CodeAnalysis.Internal.Log
{
internal sealed class StatisticLogAggregator : AbstractLogAggregator<StatisticLogAggregator.StatisticCoun... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Internal.Log
{
internal sealed class StatisticLogAggregator : AbstractLogAggregator<StatisticLogAggregator.StatisticCoun... | mit | C# |
3cd5c5c666ee724d49e1f65b67ce929aea7b5e40 | Remove tagbase include and make image protocol relative | rhysgodfrey/trello-cfd,rhysgodfrey/trello-cfd,rhysgodfrey/trello-cfd | TrelloCFD.Website/Views/Home/Index.cshtml | TrelloCFD.Website/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home";
}
@section featured {
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">
<h1>Welcome!</h1>
<h2>Login with your Trello account using the link above to get started.</h2>
</hgroup>
... | @{
ViewBag.Title = "Home";
}
@section featured {
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">
<h1>Welcome!</h1>
<h2>Login with your Trello account using the link above to get started.</h2>
</hgroup>
... | bsd-2-clause | C# |
d65e990f179ab858c0af0a172da9839f5a3167cb | Implement SurfaceDescription structure | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/SurfaceDescription.cs | Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/SurfaceDescription.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights ... | mit | C# |
c3e77a296f62b1d5a1a8f8ecd5889af39a611241 | Remove exception test | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Core/TestEngineFactory.cs | src/Arkivverket.Arkade/Core/TestEngineFactory.cs | using System;
using Arkivverket.Arkade.Core.Addml;
using Serilog;
namespace Arkivverket.Arkade.Core
{
public class TestEngineFactory
{
private readonly ILogger _log = Log.ForContext<TestEngineFactory>();
private readonly TestEngine _noark5TestEngine;
private readonly AddmlDatasetTestEn... | using System;
using Arkivverket.Arkade.Core.Addml;
using Serilog;
namespace Arkivverket.Arkade.Core
{
public class TestEngineFactory
{
private readonly ILogger _log = Log.ForContext<TestEngineFactory>();
private readonly TestEngine _noark5TestEngine;
private readonly AddmlDatasetTestEn... | agpl-3.0 | C# |
f5880e3d183b04ff0f47ea548a9371b20b5403bb | make fields readonly. | shyamnamboodiripad/roslyn,abock/roslyn,agocke/roslyn,weltkante/roslyn,tvand7093/roslyn,khyperia/roslyn,xasx/roslyn,wvdd007/roslyn,dpoeschl/roslyn,panopticoncentral/roslyn,xasx/roslyn,panopticoncentral/roslyn,akrisiun/roslyn,swaroop-sridhar/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,tannergooding/roslyn,nguerrera/... | src/Compilers/Core/Portable/Serialization/ObjectBinderState.cs | src/Compilers/Core/Portable/Serialization/ObjectBinderState.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 System.Collections.Generic;
using System.Collections.Immutable;
namespace Roslyn.Utilities
{
internal struct ObjectBinderState
{... | // 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 System.Collections.Generic;
using System.Collections.Immutable;
namespace Roslyn.Utilities
{
internal struct ObjectBinderState
{... | mit | C# |
795f5dfa2d483cf36f0f17299700d1a80ac8037e | Add Newline at String Start | AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | mit | C# |
e2b65806299941a33df007dc7d16ee8f32e35942 | Update BasketController.cs | andrelmp/eShopOnContainers,albertodall/eShopOnContainers,andrelmp/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopO... | src/Services/Basket/Basket.API/Controllers/BasketController.cs | src/Services/Basket/Basket.API/Controllers/BasketController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
using Microsoft.AspNetCore.Authorization;
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
[Route("/"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
using Microsoft.AspNetCore.Authorization;
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
[Route("/"... | mit | C# |
249b3b8609b70cad305e7accffe6b2f0203ad3ca | Update XML documentation | bjarnef/Umbraco-CMS,mattbrailsford/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbraco-CMS,mattbrailsford/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Um... | src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs | src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs | using System;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors
{
/// <summary>
/// Provides a default implementation for <see cref="IPropertyValueConverter" />.
/// </summary>
/// <seealso cref="Umbraco.Core.PropertyEditors.IPropertyValueConverter" />
public abstr... | using System;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors
{
/// <summary>
/// Provides a default overridable implementation for <see cref="IPropertyValueConverter"/> that does nothing.
/// </summary>
public abstract class PropertyValueConverterBase : IPropertyVal... | mit | C# |
a710688426aa4b45f60917d4c668120a17411020 | Include messages with Assert.True/False | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/FunctionalTests/CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs | test/FunctionalTests/CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging.Testing;
using Xunit;
using Xunit.Abstractions;
namespace Functional... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging.Testing;
using Xunit;
using Xunit.Abstractions;
namespace Functional... | apache-2.0 | C# |
34b3e5c06c955737d3ce41c1d8a6548bbc867c2a | Make sure SQL Server tests don't run in parallel | openchain/openchain | test/Openchain.SqlServer.Tests/SqlServerStorageEngineTests.cs | test/Openchain.SqlServer.Tests/SqlServerStorageEngineTests.cs | // Copyright 2015 Coinprism, 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 agree... | // Copyright 2015 Coinprism, 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 agree... | apache-2.0 | C# |
a6a4628885b60981cb3d96d4d883e350ae15d2c3 | Use ShapeFactory as base class | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | Dependencies/ScriptEngine.Roslyn/Roslyn/RoslynScriptGlobals.cs | Dependencies/ScriptEngine.Roslyn/Roslyn/RoslynScriptGlobals.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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test2d;
namespace Test2d
{
/// <summ... | // 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test2d;
namespace Test2d
{
/// <summ... | mit | C# |
719228d35eee3be8dfb8946b0761c90c9d2fc77c | add parse to avaloniaxamlloader | wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,grokys/Perspex,Perspex/Perspex,SuperJMN/Avalonia,jkoritzinsky/Ava... | src/Markup/Avalonia.Markup.Xaml/AvaloniaXamlLoader.cs | src/Markup/Avalonia.Markup.Xaml/AvaloniaXamlLoader.cs | namespace Avalonia.Markup.Xaml
{
public class AvaloniaXamlLoader :
#if OMNIXAML
AvaloniaXamlLoaderOmniXaml
#else
AvaloniaXamlLoaderPortableXaml
#endif
{
public static object Parse(string xaml)
=> new AvaloniaXamlLoader().Load(xaml);
public static T Parse<T>(stri... | namespace Avalonia.Markup.Xaml
{
public class AvaloniaXamlLoader :
#if OMNIXAML
AvaloniaXamlLoaderOmniXaml
#else
AvaloniaXamlLoaderPortableXaml
#endif
{
}
} | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.