commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
b5ef7dc953441261cd893f3fa2cf8f3f228a2473 | src/Pfim.Benchmarks/TargaBenchmark.cs | src/Pfim.Benchmarks/TargaBenchmark.cs | using System.IO;
using BenchmarkDotNet.Attributes;
using FreeImageAPI;
using ImageMagick;
using DS = DevILSharp;
namespace Pfim.Benchmarks
{
public class TargaBenchmark
{
[Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.tga")]
public string Payload { get; set; ... | using System.IO;
using BenchmarkDotNet.Attributes;
using FreeImageAPI;
using ImageMagick;
using DS = DevILSharp;
namespace Pfim.Benchmarks
{
public class TargaBenchmark
{
[Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.tga", "rgb24_top_left")]
public string Pa... | Include top left encoded targa in benchmark | Include top left encoded targa in benchmark
| C# | mit | nickbabcock/Pfim,nickbabcock/Pfim |
cc8cf7191a3cdff5d586120ac3fcb5f51323d60c | Options.cs | Options.cs |
using MetroOverhaul.Detours;
using MetroOverhaul.OptionsFramework.Attibutes;
namespace MetroOverhaul
{
[Options("MetroOverhaul")]
public class Options
{
private const string UNSUBPREP = "Unsubscribe Prep";
private const string STYLES = "Additional styles";
private const string GEN... |
using MetroOverhaul.Detours;
using MetroOverhaul.OptionsFramework.Attibutes;
namespace MetroOverhaul
{
[Options("MetroOverhaul")]
public class Options
{
private const string UNSUBPREP = "Unsubscribe Prep";
private const string GENERAL = "General settings";
public Options()
... | Set default value for no depot mode. | Set default value for no depot mode.
| C# | mit | earalov/Skylines-ElevatedTrainStationTrack |
65f0de9224389ffd8982f13c9da58c5068eb2526 | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/AddProspectDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/AddProspectDto.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
public class AddProspectDto
{
public string CompanyName { get; set; }
public string LocatorId
{
get
... | using System;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
public class AddProspectDto
{
public string CompanyName { get; set; }
public string LocatorId { get; set; }
public long MainPhoneCountryKey { get; set; }
public string MainPhoneNumber { get; set; }
pub... | Remove LocatorId generation code from DTO since the locator id will be generated by a SQL CLR function | Remove LocatorId generation code from DTO since the locator id will be generated by a SQL CLR function
| C# | mit | Paymentsense/Dapper.SimpleSave |
71d56ec80f9c59e9d250b99addd6171355410f9a | src/dotnet-make/CommandLine.cs | src/dotnet-make/CommandLine.cs | using System;
using System.Collections.Generic;
using System.IO;
using NDesk.Options;
namespace make
{
public class CommandLine
{
public string Program { get; set; }
public string OutputFile { get; set; }
public string InputFile { get; set; }
public string[] Argumen... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NDesk.Options;
namespace make
{
public class CommandLine
{
public string Program { get; set; }
public string OutputFile { get; set; }
public string InputFile { get; set; }
pub... | Fix - The -t command-line switch is optional. Use first argument if omitted. | Fix - The -t command-line switch is optional. Use first argument if omitted.
| C# | apache-2.0 | springcomp/dotnet-make |
259d39c6adf5bb51dc1835c992af62e2e3dac427 | osu.Game/Screens/Edit/Editor.cs | osu.Game/Screens/Edit/Editor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Screens.Backgrounds;
namespace osu.Game.Screens.Edit
{
intern... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Screens.Backgrounds;
namespace osu.Game.Screens.Edit
{
intern... | Stop playing the track in editor to avoid unused member warning | Stop playing the track in editor
to avoid unused member warning
| C# | mit | smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu-new,nyaamara/osu,johnneijzen/osu,peppy/osu,peppy/osu,DrabWeb/osu,Damnae/osu,naoey/osu,Drezi126/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,RedNesto/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,tacchinotacchi/osu,EVAST9919/osu,ZLima12/osu,DrabWeb/osu,smoogipoo/o... |
ce850fab3d0006797e9b3e36fabc91c13433bff7 | Framework/Interface/IDownloader.cs | Framework/Interface/IDownloader.cs | using System.Collections.Generic;
using TirkxDownloader.Models;
namespace TirkxDownloader.Framework.Interface
{
public delegate void DownloadCompleteHandler(GeneralDownloadItem downloadInfo);
/// <summary>
/// Implementation that implement this interface should implement PropertyChanged Event for data-bi... | using System.Collections.Generic;
using TirkxDownloader.Models;
namespace TirkxDownloader.Framework.Interface
{
public delegate void DownloadCompleteHandler(GeneralDownloadItem downloadInfo);
/// <summary>
/// Implementation that implement this interface should implement PropertyChanged Event for data-bi... | Change date type of MaxDownloadingItems to byte and change to get only | Change date type of MaxDownloadingItems to byte and change to get only
| C# | mit | witoong623/TirkxDownloader,witoong623/TirkxDownloader |
2342a50841bcfc8a3d6c0a363b5410a0f9d539e3 | src/QueueGettingStarted/Program.cs | src/QueueGettingStarted/Program.cs | using System;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Microsoft.Extensions.Configuration;
namespace QueueGettingStarted
{
public class Program
{
public static void Main(string[] args)
{
// configuration
var builder = new Co... | using System;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Microsoft.Extensions.Configuration;
namespace QueueGettingStarted
{
public class Program
{
public static void Main(string[] args)
{
// configuration
var builder = new Co... | Read connection string from configuration | Read connection string from configuration
| C# | mit | peterblazejewicz/azure-aspnet5-examples,peterblazejewicz/azure-aspnet5-examples |
67ed010fcedea2151648a60166a6c9bc010c31d5 | Portal.CMS.Web/Global.asax.cs | Portal.CMS.Web/Global.asax.cs | using LogBook.Services;
using LogBook.Services.Models;
using Portal.CMS.Web.Architecture.ViewEngines;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Razor;
using System.Web.Routing;
using System.Web.WebPages;
namespace Portal.CMS.Web
{
public class MvcApplication : System.Web.HttpApplicatio... | using LogBook.Services;
using LogBook.Services.Models;
using Portal.CMS.Web.Architecture.Helpers;
using Portal.CMS.Web.Architecture.ViewEngines;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Razor;
using System.Web.Routing;
using System.Web.WebPages;
namespace Portal.CMS.Web
{
public class... | Add UserName to LogEntries When Authenticated | Add UserName to LogEntries When Authenticated
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
1d256f3b5168776d693d6f1f45b0b04ac143cc44 | SnappyMap/IO/SectionConfig.cs | SnappyMap/IO/SectionConfig.cs | namespace SnappyMap.IO
{
using System;
using System.Collections.Generic;
using System.Linq;
using SnappyMap.Data;
[Serializable]
public struct SectionMapping
{
public SectionMapping(SectionType type, params string[] sections)
: this()
{
... | namespace SnappyMap.IO
{
using System;
using System.Collections.Generic;
using System.Linq;
using SnappyMap.Data;
[Serializable]
public struct SectionMapping
{
public SectionMapping(SectionType type, params string[] sections)
: this()
{
... | Fix potential crash in old .NET versions | Fix potential crash in old .NET versions
Apparently in older .NET the XML deserializer
doesn't like it when the type to be deserialized
has properties with private setters.
https://stackoverflow.com/questions/891449/xmlserializer-and-collection-property-with-private-setter
https://www.fmork.net/software/writing/2010/... | C# | mit | MHeasell/SnappyMap,MHeasell/SnappyMap |
8f8211fd184707186ca60e43ed7b95460cb687f6 | elbgb.gameboy/Timer.cs | elbgb.gameboy/Timer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace elbgb.gameboy
{
class Timer
{
public static class Registers
{
public const ushort DIV = 0xFF04;
public const ushort TIMA = 0xFF05;
public const ushort TMA = 0xFF06;
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace elbgb.gameboy
{
class Timer
{
public static class Registers
{
public const ushort DIV = 0xFF04;
public const ushort TIMA = 0xFF05;
public const ushort TMA = 0xFF06;
public ... | Split out divider update in timer | Split out divider update in timer
| C# | mit | eightlittlebits/elbgb |
1366a1135a518db8c3199150545ef1d0f20a475d | src/MeDaUmFilme.Consulta/Movie.cs | src/MeDaUmFilme.Consulta/Movie.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MeDaUmFilme
{
public class Movie
{
public string Title { get; set; }
public string Year { get; set; }
}
public class OmdbResult
{
public List<Movie> Search { get; set... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MeDaUmFilme
{
public class Movie
{
public string Title { get; set; }
public string Year { get; set; }
public string Poster { get; set; }
public string Type { get; set; }
... | Add image link to movie | Add image link to movie
| C# | mit | DevChampsBR/MeDaUmFilme |
24d4deab9a3335bb58cb82f780a9b37cffcabd9c | src/MitternachtBot/Services/DbService.cs | src/MitternachtBot/Services/DbService.cs | using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database;
namespace Mitternacht.Services
{
public class DbService
{
private readonly DbContextOptions _options;
public DbService(IBotCredentials creds)
{
var optionsBuilder = new DbContextOptionsBuilder();
... | using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database;
namespace Mitternacht.Services {
public class DbService {
private readonly DbContextOptions _options;
public DbService(IBotCredentials creds) {
var optionsBuilder = new DbContextOptionsBuilder();
optionsBuilder.UseSqlite(creds.DbConn... | Format file, remove outcommented code. | Format file, remove outcommented code.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
9b50902452f06dc9a4623e2d736a8c4cb916955c | src/Loggers/MassTransit.Log4NetIntegration/Logging/Log4NetLogger.cs | src/Loggers/MassTransit.Log4NetIntegration/Logging/Log4NetLogger.cs | // Copyright 2007-2011 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.... | // Copyright 2007-2011 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.... | Fix Log4Net path for loading config file | Fix Log4Net path for loading config file
The Log4Net config file should be picked up from the base directory of
the current app domain so that when running as a windows service MT will
load the log4net config file from the app directory and not a Windows
system folder
Former-commit-id: 0d8ad7b1ff7239c974641b8c44bd82... | C# | apache-2.0 | jacobpovar/MassTransit,jacobpovar/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,SanSYS/MassTransit |
0b5067d74e5c290bdc73785a304fa7acc4fcde9c | src/Libraries/Web/Html/TokenList.cs | src/Libraries/Web/Html/TokenList.cs | // TokenList.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System.Html {
[IgnoreNamespace]
[Imported]
public class TokenList {
internal TokenL... | // TokenList.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System.Html {
[IgnoreNamespace]
[Imported]
public sealed class TokenList {
private ... | Update access modifiers for metadata class | Update access modifiers for metadata class
| C# | apache-2.0 | nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp |
38afc53bad96157459e66ee0920b8120e6bf375d | osu.Game/Tests/VisualTestRunner.cs | osu.Game/Tests/VisualTestRunner.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework;
using osu.Framework.Platform;
namespace osu.Game.Tests
{
public static class VisualTestRunner
{
[S... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework;
using osu.Framework.Platform;
namespace osu.Game.Tests
{
public static class VisualTestRunner
{
[S... | Update interactive visual test runs to use development directory | Update interactive visual test runs to use development directory
| C# | mit | ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu |
c2f21218b4e2d7d5e158d20c54376ba4009b472b | DiffPlex/Properties/AssemblyInfo.cs | DiffPlex/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("Di... | 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("Di... | Update file version of DLL to match NuGet package. | Update file version of DLL to match NuGet package.
Also remove the random component of the assembly version for easier runtime binding of clients.
| C# | apache-2.0 | mmanela/diffplex,mmanela/diffplex,mmanela/diffplex,mmanela/diffplex |
e8c142353c28b60c1f00fa699eabeef607b64666 | Plugins/Wox.Plugin.WebSearch/WebSearch.cs | Plugins/Wox.Plugin.WebSearch/WebSearch.cs | using System.IO;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Wox.Plugin.WebSearch
{
public class WebSearch
{
public const string DefaultIcon = "web_search.png";
public string Title { get; set; }
public string ActionKeyword { get; s... | using System.IO;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Wox.Plugin.WebSearch
{
public class WebSearch
{
public const string DefaultIcon = "web_search.png";
public string Title { get; set; }
public string ActionKeyword { get; s... | Fix default icon path when add new web search | Fix default icon path when add new web search
| C# | mit | qianlifeng/Wox,Wox-launcher/Wox,lances101/Wox,Wox-launcher/Wox,lances101/Wox,qianlifeng/Wox,qianlifeng/Wox |
6c691952231b9f76b08d7786c539e641c09dcb62 | MultiMiner.Blockchain/ApiContext.cs | MultiMiner.Blockchain/ApiContext.cs | using MultiMiner.Blockchain.Data;
using MultiMiner.ExchangeApi;
using MultiMiner.ExchangeApi.Data;
using MultiMiner.Utility.Net;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace MultiMiner.Blockchain
{
public class ApiContext : IApiContext
{... | using MultiMiner.Blockchain.Data;
using MultiMiner.ExchangeApi;
using MultiMiner.ExchangeApi.Data;
using MultiMiner.Utility.Net;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MultiMiner.Blockchain
{
public class ApiContext : IApiContext
{
public IE... | Introduce a retry machanism with the Blockchain API | Introduce a retry machanism with the Blockchain API
| C# | mit | IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner |
30b8ebfb9c4e70ac1ea3806a2d66bb8f04ee6e88 | src/NodaTime/Annotations/ReadWriteForEfficiencyAttribute.cs | src/NodaTime/Annotations/ReadWriteForEfficiencyAttribute.cs | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Annotations
{
/// <summary>
/// Indicates that a value-type field which would otherwise by <c>readonly</... | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Annotations
{
/// <summary>
/// Indicates that a value-type field which would otherwise by <c>readonly</... | Fix the URL to point at the Noda Time blog because msmvps.com 503. | Fix the URL to point at the Noda Time blog because msmvps.com 503.
| C# | apache-2.0 | zaccharles/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,nodatime/nodatime,nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,jskeet/nodatime |
f1d241ba934c7bd6f0a00122759b402005666b63 | Training.CSharpWorkshop.Tests/ProgramTests.cs | Training.CSharpWorkshop.Tests/ProgramTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Training.CSharpWorkshop.Tests
{
[TestClass]
public class ProgramTests
{
[Ignore]
[TestMethod]
public void IgnoreTest()
{
Assert.Fail();
}
[TestMethod()]
public v... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Training.CSharpWorkshop.Tests
{
[TestClass]
public class ProgramTests
{
[Ignore]
[TestMethod]
public void IgnoreTest()
{
Assert.Fail();
}
[TestMethod()]
public v... | Update Console Program with a Condition - Add unit test for Guest role | Update Console Program with a Condition - Add unit test for Guest role
| C# | mit | penblade/Training.CSharpWorkshop |
5e19719bd8e5ed9103a8e929a2bc48fd70396b2c | src/TramlineFive/TramlineFive/Converters/TimingConverter.cs | src/TramlineFive/TramlineFive/Converters/TimingConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace TramlineFive.Converters
{
public class TimingConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace TramlineFive.Converters
{
public class TimingConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, st... | Fix showing only minutes of the hour insteal of total minutes in virtual table. | Fix showing only minutes of the hour insteal of total minutes in virtual table.
| C# | apache-2.0 | betrakiss/Tramline-5,betrakiss/Tramline-5 |
3b2c10495606a26b9d51d1e4fd2c18d3a26b08d6 | src/Hangfire.Mongo/Migration/Steps/Version11/00_UseObjectIdForJob.cs | src/Hangfire.Mongo/Migration/Steps/Version11/00_UseObjectIdForJob.cs | using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
namespace Hangfire.Mongo.Migration.Steps.Version11
{
/// <summary>
/// Create signal capped collection
/// </summary>
internal class UseObjectIdForJob : IMongoMigrationStep
{
public MongoSchema TargetSchema => MongoSchema.Version... | using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
namespace Hangfire.Mongo.Migration.Steps.Version11
{
/// <summary>
/// Create signal capped collection
/// </summary>
internal class UseObjectIdForJob : IMongoMigrationStep
{
public MongoSchema TargetSchema => MongoSchema.Version... | Fix broken migration for v11 | Fix broken migration for v11
| C# | mit | sergeyzwezdin/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergun/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergun/Hangfire.Mongo |
d1e98d0f91e23cf687b793c161381eda7533cffe | sample/Program.cs | sample/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hjson;
namespace HjsonSample
{
class Program
{
static void Main(string[] args)
{
var data=HjsonValue.Load("test.hjson").Qo();
Console.WriteLi... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hjson;
namespace HjsonSample
{
class Program
{
static void Main(string[] args)
{
var data=HjsonValue.Load("test.hjson").Qo();
Console.WriteLi... | Update sample to use Save() and Load() | Update sample to use Save() and Load()
SaveWsc() no longer existed at all, and LoadWsc() was marked obsolete | C# | mit | laktak/hjson-cs,hjson/hjson-cs,hjson/hjson-cs |
0c2fe142885f0bc6992aaf419a20f47ade190400 | SolidworksAddinFramework/DisposableExtensions.cs | SolidworksAddinFramework/DisposableExtensions.cs | using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Text;
namespace SolidworksAddinFramework
{
public static class DisposableExtensions
{
public static IDisposable ToCompositeDisposable(this IEnumerable<IDisposable> d)
{
return new Compos... | using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Text;
namespace SolidworksAddinFramework
{
public static class DisposableExtensions
{
public static IDisposable ToCompositeDisposable(this IEnumerable<IDisposable> d)
{
return new Compos... | Add extension method to add a disposable to a composite disposable | Add extension method to add a disposable to a composite disposable
| C# | mit | Weingartner/SolidworksAddinFramework |
b455a4963a5eb9d679f3380b7b38770411c38ffa | Perspex.Themes.Default/MenuStyle.cs | Perspex.Themes.Default/MenuStyle.cs | // -----------------------------------------------------------------------
// <copyright file="MenuStyle.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Themes.De... | // -----------------------------------------------------------------------
// <copyright file="MenuStyle.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Themes.De... | Use TabNavigation.Continue for top-level menu. | Use TabNavigation.Continue for top-level menu.
| C# | mit | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,grokys/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,susloparovdenis/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,SuperJM... |
178c2b1966cb8910ffc3f8c0fa8507c9094c36cd | lib/Bugsnag.Common/BugsnagClient.cs | lib/Bugsnag.Common/BugsnagClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Bugsnag.Common
{
public class BugsnagClient : IClient
{
static Uri _uri = new Uri("http://notify.bugsnag.com");
static Uri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Bugsnag.Common
{
public class BugsnagClient : IClient
{
static Uri _uri = new Uri("http://notify.bugsnag.com");
static Uri... | Use Wait() instead of Result in void overload | Use Wait() instead of Result in void overload
| C# | mit | awseward/Bugsnag.NET,awseward/Bugsnag.NET |
16930ad4698363cd3ab447d89e465d294814ca3e | src/MiniProfiler.AspNetCore.Mvc/MvcExtensions.cs | src/MiniProfiler.AspNetCore.Mvc/MvcExtensions.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Linq;
namespace StackExchange.Profiling.Mvc
{
/// <summary>
/// Extension methods for configuring MiniProfiler for MVC
/// </summary>
public static class MvcExtensions
{... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Linq;
namespace StackExchange.Profiling.Mvc
{
/// <summary>
/// Extension methods for configuring MiniProfiler for MVC
/// </summary>
public static class MvcExtensions
{... | Simplify view engine wrapping for MVC Core | Simplify view engine wrapping for MVC Core
| C# | mit | MiniProfiler/dotnet,MiniProfiler/dotnet |
aa0bc7af6f4138ab41893a9c638c9f147b353837 | src/Host/Client/Test/RStringExtensionsTest.cs | src/Host/Client/Test/RStringExtensionsTest.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Flue... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Flue... | Add some tests for string extension. | Add some tests for string extension.
| C# | mit | AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthikna... |
a088494af55829fce7c76e88198402737ac9cb76 | src/Pickles/Pickles/StrikeMarkdownProvider.cs | src/Pickles/Pickles/StrikeMarkdownProvider.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StrikeMarkdownProvider.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed unde... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StrikeMarkdownProvider.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed unde... | Add handling for non breaking spaces | Add handling for non breaking spaces
| C# | apache-2.0 | magicmonty/pickles,picklesdoc/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,magicmonty/pickles,magicmonty/pickles,picklesdoc/pickles,dirkrombauts/pickles,picklesdoc/pickles |
23ed8f563c9c7317524a15d2fc206c7aa01ae88c | src/MonoTorrent/MonoTorrent.Client/EventArgs/TrackerRequestEventArgs.cs | src/MonoTorrent/MonoTorrent.Client/EventArgs/TrackerRequestEventArgs.cs | using System;
using System.Collections.Generic;
using MonoTorrent.BEncoding;
namespace MonoTorrent.Client.Tracker
{
public abstract class TrackerResponseEventArgs : EventArgs
{
private bool successful;
private Tracker tracker;
/// <summary>
/// True if the request completed suc... | using System;
using System.Collections.Generic;
using MonoTorrent.BEncoding;
namespace MonoTorrent.Client.Tracker
{
public abstract class TrackerResponseEventArgs : EventArgs
{
private bool successful;
private Tracker tracker;
/// <summary>
/// True if the request completed suc... | Fix bug spotted with Gendarme. Assign the value of 'successful'. | Fix bug spotted with Gendarme. Assign the value of 'successful'.
svn path=/trunk/bitsharp/; revision=108325
| C# | mit | dipeshc/BTDeploy |
fc13bd82f50cd985be42f933886cc6a235a44602 | MethodFlow.cs | MethodFlow.cs | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace ILGeneratorExtensions
{
public static class MethodFlow
{
public static void JumpTo(this ILGenerator generator, MethodInfo method) => generator.Emit(OpCodes.Jmp, method);
public static void Call(this ILGenerator gen... | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace ILGeneratorExtensions
{
public static class MethodFlow
{
public static void JumpTo(this ILGenerator generator, MethodInfo method) => generator.Emit(OpCodes.Jmp, method);
public static void Call(this ILGenerator gen... | Add constrained and tail call methods, and remove virtual from method names, as constrained implies virtual | Add constrained and tail call methods, and remove virtual from method names, as constrained implies virtual
| C# | apache-2.0 | matwilko/ILGenerator.Extensions |
a4cf005b36f0c72e535d189377d4555a5483991a | AudioSourceController/AudioSourceController.cs | AudioSourceController/AudioSourceController.cs | using UnityEngine;
using Animator = ATP.AnimationPathTools.AnimatorComponent.Animator;
namespace ATP.AnimationPathTools.AudioSourceControllerComponent {
/// <summary>
/// Allows controlling <c>AudioSource</c> component from inspector
/// and with keyboard shortcuts.
/// </summary>
// todo add men... | using UnityEngine;
using Animator = ATP.AnimationPathTools.AnimatorComponent.Animator;
namespace ATP.AnimationPathTools.AudioSourceControllerComponent {
/// <summary>
/// Allows controlling <c>AudioSource</c> component from inspector
/// and with keyboard shortcuts.
/// </summary>
// todo add men... | Disable space shortcut in audio controller | Disable space shortcut in audio controller
| C# | mit | bartlomiejwolk/AnimationPathAnimator |
a5f3031e42df57512dafce980740aa9471e8011e | Cake.DocumentDb/Factories/ClientFactory.cs | Cake.DocumentDb/Factories/ClientFactory.cs | using System;
using Cake.Core;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Client.TransientFaultHandling;
using Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling;
namespace Cake.DocumentDb.Factories
{
public class ClientFactory
{
private readonly ConnectionSettin... | using System;
using Cake.Core;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Client.TransientFaultHandling;
using Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling;
namespace Cake.DocumentDb.Factories
{
public class ClientFactory
{
... | Add method to create client optimised for write | Add method to create client optimised for write
| C# | mit | BudSystemLimited/Cake.DocumentDb |
a96cdd46e14b1dece13127da2c7188aa0847dcfe | MainWindow.xaml.cs | MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows... | Make LINQ in playlist function fancier (because why not) | Make LINQ in playlist function fancier (because why not)
| C# | apache-2.0 | dukemiller/anime-downloader |
d78becbeb6b5d8711540a77fd7788b3d54b10b26 | Shell/Source/Tralus.Shell.WorkflowService/Properties/AssemblyInfo.cs | Shell/Source/Tralus.Shell.WorkflowService/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("Tr... | 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("Tr... | Set AssemblyVersion and AssemblyFileVersion to 1.0.0.0 | Set AssemblyVersion and AssemblyFileVersion to 1.0.0.0
| C# | apache-2.0 | mehrandvd/Tralus,mehrandvd/Tralus |
c0664c69bbe49a0d03fa066b53cefb75b46edcd2 | src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/DerivedSymbol.cs | src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/DerivedSymbol.cs | using Microsoft.TemplateEngine.Abstractions;
using Newtonsoft.Json.Linq;
namespace Microsoft.TemplateEngine.Orchestrator.RunnableProjects
{
public class DerivedSymbol : BaseValueSymbol
{
public const string TypeName = "derived";
public string ValueTransform { get; set; }
public string... | using Microsoft.TemplateEngine.Abstractions;
using Newtonsoft.Json.Linq;
namespace Microsoft.TemplateEngine.Orchestrator.RunnableProjects
{
public class DerivedSymbol : BaseValueSymbol
{
internal const string TypeName = "derived";
public string ValueTransform { get; set; }
public stri... | Change derived symbols type name to an internal const | Change derived symbols type name to an internal const
| C# | mit | seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating |
a5dea65254f36349302b8d77965b2fe1eab597d3 | Build/targets.cake | Build/targets.cake | Task("DevBuild")
.IsDependentOn("Build")
.IsDependentOn("Octopus-Packaging")
.IsDependentOn("Octopus-Deployment");
Task("PrBuild")
.IsDependentOn("Build")
.IsDependentOn("Test-NUnit");
Task("KpiBuild")
.IsDependentOn("Build")
.IsDependentOn("Test-NUnit")
.IsDependentOn("Octopus-Packagi... | Task("DevBuild")
.IsDependentOn("Build")
.IsDependentOn("Octopus-Packaging")
.IsDependentOn("Octopus-Deployment");
Task("KpiBuild")
.IsDependentOn("Build")
.IsDependentOn("Test-NUnit")
.IsDependentOn("Upload-Coverage-Report")
.IsDependentOn("Octopus-Packaging")
.IsDependentOn("Octopus-D... | Add uploading of coverage reports to Coveralls | Add uploading of coverage reports to Coveralls
| C# | mit | AccelerateX-org/WiQuiz,AccelerateX-org/WiQuiz |
4881f1c7b0057f171f0d630b48428f6327f0d5da | src/EntryPoint/CommandAttribute.cs | src/EntryPoint/CommandAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EntryPoint {
/// <summary>
/// Used to mark a method as a Command, in a CliCommands class
/// </summary>
[AttributeUsage(
AttributeTargets.Method,
AllowMultiple = false,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EntryPoint {
/// <summary>
/// Used to mark a method as a Command, in a CliCommands class
/// </summary>
[AttributeUsage(
AttributeTargets.Method,
AllowMultiple = false,
... | Clarify error throw when Command has no name string provided | Clarify error throw when Command has no name string provided
| C# | mit | Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint |
63ec061188fd18bd8187ae6c6d6399b13875151b | AIMPDotNet/CustomAssemblyResolver.cs | AIMPDotNet/CustomAssemblyResolver.cs | using System;
using System.IO;
using System.Reflection;
namespace AIMP.SDK
{
internal static class CustomAssemblyResolver
{
private static string curPath;
private static bool isInited;
/// <summary>
/// Initializes the specified path.
/// </summary>
/// <param... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace AIMP.SDK
{
internal static class CustomAssemblyResolver
{
private static string curPath;
private static bool isInited;
/// <summary>
/// Initializes the specified path.
/// </summary>... | Fix assembly load for plugins | Fix assembly load for plugins
| C# | apache-2.0 | martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet |
05e7020dfc35f49c8fe8e8c7bc6a476f3d82a440 | speech/api/QuickStart/QuickStart.cs | speech/api/QuickStart/QuickStart.cs | /*
* Copyright (c) 2017 Google 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 ... | /*
* Copyright (c) 2017 Google 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 ... | Move the speech_quickstart doc tag so that users can copy and paste all the code. | Move the speech_quickstart doc tag so that users can copy and paste all the code.
| C# | apache-2.0 | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples |
b5446d82ee0037c6b0281a88a52a614d9ccc5806 | src/Schema/Playlists/Response/PlaylistLocation.cs | src/Schema/Playlists/Response/PlaylistLocation.cs | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response
{
[Serializable]
public class PlaylistLocation : UserBasedUpdatableItem
{
[XmlAttribute("id")]
public string Id { get; set; }
[XmlElement("name")]
public string... | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response
{
[Serializable]
public class PlaylistLocation : UserBasedUpdatableItem
{
[XmlAttribute("id")]
public string Id { get; set; }
[XmlElement("name")]
public string... | Add tags to playlist location | Add tags to playlist location
| C# | mit | scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema |
e0f7be4627377c548bb3ee6c38a547ee9820b350 | Source/Web/App_Start/BundleConfig.cs | Source/Web/App_Start/BundleConfig.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
// Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
// Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------------... | Fix wildcard path in bootstrap js bundle | Fix wildcard path in bootstrap js bundle
| C# | apache-2.0 | kriasoft/site-sdk,kriasoft/site-sdk,kriasoft/site-sdk,kriasoft/site-sdk |
9ca7039d8816f3a1adbf6250a68ba8e090c6cad4 | src/Elasticsearch.Net/Serialization/Formatters/DynamicBodyFormatter.cs | src/Elasticsearch.Net/Serialization/Formatters/DynamicBodyFormatter.cs | using System.Collections.Generic;
namespace Elasticsearch.Net
{
internal class DynamicBodyFormatter : IJsonFormatter<DynamicBody>
{
private static readonly DictionaryFormatter<string, object> DictionaryFormatter =
new DictionaryFormatter<string, object>();
public void Serialize(ref JsonWriter writer, Dynamic... | using System.Collections.Generic;
namespace Elasticsearch.Net
{
internal class DynamicBodyFormatter : IJsonFormatter<DynamicBody>
{
private static readonly DictionaryFormatter<string, object> DictionaryFormatter =
new DictionaryFormatter<string, object>();
public void Serialize(ref JsonWriter writer, Dynamic... | Write value separators when serializing dynamic body | Write value separators when serializing dynamic body
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
bec991195051aada945755959ac3b284df3678cb | Harmony/Internal/PatchTools.cs | Harmony/Internal/PatchTools.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Harmony
{
internal static class PatchTools
{
static readonly Dictionary<object, object> objectReferences = new Dictionary<object, object>();
internal static void RememberObject(object key, object value)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Harmony
{
internal static class PatchTools
{
static readonly Dictionary<object, object> objectReferences = new Dictionary<object, object>();
internal static void RememberObject(object key, object value)
{
... | Reduce unnecessary logging of missing optional methods | Reduce unnecessary logging of missing optional methods
| C# | mit | pardeike/Harmony |
72e941de6362c90f6c63f4f6fd5cf635eb7f3eb6 | src/Stranne.VasttrafikNET/Models/TokenModel.cs | src/Stranne.VasttrafikNET/Models/TokenModel.cs | using System;
using Newtonsoft.Json;
namespace Stranne.VasttrafikNET.Models
{
internal class Token
{
private DateTimeOffset _createDate = DateTimeOffset.Now;
[JsonProperty("Expires_In")]
public int ExpiresIn { get; set; }
[JsonProperty("Access_Token")]
public string A... | using System;
using Newtonsoft.Json;
namespace Stranne.VasttrafikNET.Models
{
internal class Token
{
private DateTimeOffset _createDate = DateTimeOffset.Now;
[JsonProperty("Expires_In")]
public int ExpiresIn { get; set; }
[JsonProperty("Access_Token")]
public string A... | Fix bug with logic for if the token is valid | Fix bug with logic for if the token is valid
| C# | mit | stranne/Vasttrafik.NET,stranne/Vasttrafik.NET |
cc1a79e6110d8448ba869fc845af10da8c1b17b4 | awesome-bot/Giphy/RandomEndPoint.cs | awesome-bot/Giphy/RandomEndPoint.cs | namespace awesome_bot.Giphy
{
public static partial class GiphyEndPoints
{
public class RandomEndPoint
{
private const string RandomPath = "/v1/gifs/random";
public string Build(string searchText, Rating rating = null)
=> string.Join(string.Empty, Root, R... | namespace awesome_bot.Giphy
{
public static partial class GiphyEndPoints
{
public class RandomEndPoint
{
private const string RandomPath = "/v1/gifs/random";
public string Build(string searchText, Rating rating = null)
=> string.Join(string.Empty, Root, R... | Raise rating of gif search | Raise rating of gif search
| C# | mit | glconti/awesome-bot,glconti/awesome-bot |
00fe661df6c17be0d6e3db1aff7ff04d940766ab | SourceCodes/03_Services/ReCaptcha.Wrapper.Mvc/Parameters/ResourceParameters.cs | SourceCodes/03_Services/ReCaptcha.Wrapper.Mvc/Parameters/ResourceParameters.cs | namespace Aliencube.ReCaptcha.Wrapper.Mvc.Parameters
{
/// <summary>
/// This represents the parameters entity to render api.js.
/// </summary>
/// <remarks>More details: https://developers.google.com/recaptcha/docs/display#js_param</remarks>
public partial class ResourceParameters
{
///... | using Newtonsoft.Json;
namespace Aliencube.ReCaptcha.Wrapper.Mvc.Parameters
{
/// <summary>
/// This represents the parameters entity to render api.js.
/// </summary>
/// <remarks>More details: https://developers.google.com/recaptcha/docs/display#js_param</remarks>
public partial class ResourcePara... | Add JsonProperty attribute on each property | Add JsonProperty attribute on each property
| C# | mit | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET |
d746649249f2fbf439ba4a8cd11846b67a34c396 | DesktopWidgets/Helpers/ImageHelper.cs | DesktopWidgets/Helpers/ImageHelper.cs | using System;
using System.Collections.Generic;
using System.Windows.Media.Imaging;
namespace DesktopWidgets.Helpers
{
public static class ImageHelper
{
public static readonly List<string> SupportedExtensions = new List<string>
{
".bmp",
".gif",
".ico",
... | using System;
using System.Collections.Generic;
using System.Windows.Media.Imaging;
namespace DesktopWidgets.Helpers
{
public static class ImageHelper
{
// https://msdn.microsoft.com/en-us/library/ee719654(v=VS.85).aspx#wpfc_codecs.
public static readonly List<string> SupportedExtensions = new... | Add more supported image extensions | Add more supported image extensions
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
172b78548a4339a5b55f1f25e6932ce80e549c06 | Assets/Scripts/Helper/PhysicsHelper2D.cs | Assets/Scripts/Helper/PhysicsHelper2D.cs | using UnityEngine;
using System.Collections;
public class PhysicsHelper2D
{
/// <summary>
/// Ignores collision for every single GameObject with a particular tag
/// </summary>
/// <param name="object1"></param>
/// <param name="tag"></param>
/// <param name="ignore"></param>
public static void ignoreCollision... | using UnityEngine;
using System.Collections;
public class PhysicsHelper2D
{
/// <summary>
/// Ignores collision for every single GameObject with a particular tag
/// </summary>
/// <param name="object1"></param>
/// <param name="tag"></param>
/// <param name="ignore"></param>
public static void ignoreCollision... | Include all parameters in visibleRaycast | Include all parameters in visibleRaycast
| C# | mit | NitorInc/NitoriWare,uulltt/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare |
567887b566db78aa56030e894c857be7ecc8d081 | CSharp/SimpleOrderRouting.Tests/HarnessTests.cs | CSharp/SimpleOrderRouting.Tests/HarnessTests.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="HarnessTests.cs" company="LunchBox corp">
// Copyright 2014 The Lunch-Box mob:
// Ozgur DEVELIOGLU (@Zgurrr)
// Cyrille DUPUYDAUBY (@Cyrdup)
// ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="HarnessTests.cs" company="LunchBox corp">
// Copyright 2014 The Lunch-Box mob:
// Ozgur DEVELIOGLU (@Zgurrr)
// Cyrille DUPUYDAUBY (@Cyrdup)
// ... | Comment test harness unit test with lame check | Comment test harness unit test with lame check
| C# | apache-2.0 | Lunch-box/SimpleOrderRouting |
20224a169a576dd505a214589a59ec89e7cb5bbe | Kudu.Core/Deployment/DeploymentConfiguration.cs | Kudu.Core/Deployment/DeploymentConfiguration.cs | using System;
using System.IO;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment
{
public class DeploymentConfiguration
{
internal const string DeployConfigFile = ".deployment";
private readonly IniFile _iniFile;
private readonly string _path;
public DeploymentCon... | using System;
using System.IO;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment
{
public class DeploymentConfiguration
{
internal const string DeployConfigFile = ".deployment";
private readonly IniFile _iniFile;
private readonly string _path;
public DeploymentCon... | Resolve full for specified .deployment project file. | Resolve full for specified .deployment project file.
| C# | apache-2.0 | juoni/kudu,dev-enthusiast/kudu,EricSten-MSFT/kudu,badescuga/kudu,shanselman/kudu,sitereactor/kudu,chrisrpatterson/kudu,uQr/kudu,sitereactor/kudu,dev-enthusiast/kudu,YOTOV-LIMITED/kudu,projectkudu/kudu,oliver-feng/kudu,kali786516/kudu,badescuga/kudu,kali786516/kudu,juvchan/kudu,duncansmart/kudu,duncansmart/kudu,projectk... |
a2d1cf344d925fd16a99e0558b38d93a94255fef | JabbR/Middleware/FixCookieHandler.cs | JabbR/Middleware/FixCookieHandler.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Owin;
namespace JabbR.Middleware
{
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.DataHandler;
using AppFunc = Func<IDictionary<string, object>, Task>;
public class FixCookieHandler
{
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.DataHandler;
namespace JabbR.Middleware
{
using AppFunc = Func<IDictionary<string, object>, Task>;
public class FixCookieHandler
... | Work around bug in FormsAuthMiddleware | Work around bug in FormsAuthMiddleware
| C# | mit | borisyankov/JabbR,SonOfSam/JabbR,borisyankov/JabbR,lukehoban/JabbR,M-Zuber/JabbR,fuzeman/vox,yadyn/JabbR,e10/JabbR,timgranstrom/JabbR,18098924759/JabbR,meebey/JabbR,JabbR/JabbR,lukehoban/JabbR,mzdv/JabbR,LookLikeAPro/JabbR,meebey/JabbR,lukehoban/JabbR,yadyn/JabbR,CrankyTRex/JabbRMirror,SonOfSam/JabbR,yadyn/JabbR,e10/Ja... |
595a12be23a293be2ecec7612d35ac1cfbbd9ddb | TestDiagnosticsUnitTests/NoNewGuidAnalyzerTests.cs | TestDiagnosticsUnitTests/NoNewGuidAnalyzerTests.cs | using BlackFox.Roslyn.TestDiagnostics.NoNewGuid;
using BlackFox.Roslyn.TestDiagnostics.NoStringEmpty;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NFluent;
using TestDiagnosticsUnitTests.Helpers.DiagnosticTestHelpers;
namespace TestDiagnosticsUnitTests
{
[TestClass]
public class NoNewGuidAnalyzer... | using BlackFox.Roslyn.TestDiagnostics.NoNewGuid;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NFluent;
using TestDiagnosticsUnitTests.Helpers.DiagnosticTestHelpers;
namespace TestDiagnosticsUnitTests
{
[TestClass]
public class NoNewGuidAnalyzerTests
{
[TestMethod]
public void ... | Remove an useless namespace usage | Remove an useless namespace usage
| C# | bsd-2-clause | vbfox/KitsuneRoslyn |
d0e57e69880e3e1f56b0815608b3714022d004bd | src/FeatureSwitcher.DebugConsole/Behaviours/DebugConsoleBehaviour.cs | src/FeatureSwitcher.DebugConsole/Behaviours/DebugConsoleBehaviour.cs | using System.Web;
namespace FeatureSwitcher.DebugConsole.Behaviours
{
public class DebugConsoleBehaviour
{
private readonly bool _isForced = false;
private DebugConsoleBehaviour(bool isForced)
{
this._isForced = isForced;
}
internal static FeatureSwitcher.... | using System.Web;
namespace FeatureSwitcher.DebugConsole.Behaviours
{
public class DebugConsoleBehaviour
{
private readonly bool _isForced = false;
private DebugConsoleBehaviour(bool isForced)
{
this._isForced = isForced;
}
internal static FeatureSwitcher.... | Add null check for request. | Add null check for request.
| C# | apache-2.0 | queueit/FeatureSwitcher.DebugConsole,queueit/FeatureSwitcher.DebugConsole,queueit/FeatureSwitcher.DebugConsole,queueit/FeatureSwitcher.DebugConsole |
ca7a5d21a7d0025dfdcc2c0d37b22f8c10c1772b | src/NodaTime.Test/SystemClockTest.cs | src/NodaTime.Test/SystemClockTest.cs | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NUnit.Framework;
namespace NodaTime.Test
{
public class SystemClockTest
{
[Test]
public void InstanceNow()
... | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NUnit.Framework;
namespace NodaTime.Test
{
public class SystemClockTest
{
[Test]
public void InstanceNow()
... | Update SystemClock test to account for time passing. | Update SystemClock test to account for time passing.
| C# | apache-2.0 | nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,BenJenkinson/nodatime |
820f49d2bcd56b3c5a7c62a1e517bfa0d94555d7 | SsrsDeploy/Factory/ServiceFactory.cs | SsrsDeploy/Factory/ServiceFactory.cs | using SsrsDeploy;
using SsrsDeploy.ReportingService;
using SsrsDeploy.Execution;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SsrDeploy.Factory
{
class ServiceFactory
{
private readonly ReportingService2010 rs;
p... | using SsrsDeploy;
using SsrsDeploy.ReportingService;
using SsrsDeploy.Execution;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SsrsDeploy.Factory
{
class ServiceFactory
{
private readonly ReportingService2010 rs;
... | Make usage of UrlBuilder and fix namespace | Make usage of UrlBuilder and fix namespace
| C# | apache-2.0 | Seddryck/RsPackage |
07aeabbe1db531c13dfdd6d491ac09377abd3940 | Verdeler/ConcurrencyLimiter.cs | Verdeler/ConcurrencyLimiter.cs | using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace Verdeler
{
internal class ConcurrencyLimiter<TSubject>
{
private readonly Func<TSubject, object> _subjectReductionMap;
private readonly int _concurrencyLimit;
private re... | using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace Verdeler
{
internal class ConcurrencyLimiter<TSubject>
{
private readonly Func<TSubject, object> _subjectReductionMap;
private readonly int _concurrencyLimit;
private re... | Allow for grouping to null | Allow for grouping to null
| C# | mit | justinjstark/Delivered,justinjstark/Verdeler |
b5e52a9c5e66c17b3914bc32b134ff28ee2a5afa | src/Bibliotheca.Server.Depository.FileSystem.Core/DataTransferObjects/ProjectDto.cs | src/Bibliotheca.Server.Depository.FileSystem.Core/DataTransferObjects/ProjectDto.cs | using System.Collections.Generic;
namespace Bibliotheca.Server.Depository.FileSystem.Core.DataTransferObjects
{
public class ProjectDto
{
public ProjectDto()
{
Tags = new List<string>();
VisibleBranches = new List<string>();
EditLinks = new List<EditLinkDto>(... | using System.Collections.Generic;
namespace Bibliotheca.Server.Depository.FileSystem.Core.DataTransferObjects
{
public class ProjectDto
{
public ProjectDto()
{
Tags = new List<string>();
VisibleBranches = new List<string>();
EditLinks = new List<EditLinkDto>(... | Add access token to project. | Add access token to project.
| C# | mit | mczachurski/Bibliotheca.Server.Depository.FileSystem |
442fb84fe9353b5a6d9040dcfe47987df0c970b5 | CorePlugin/Resources/PythonScript.cs | CorePlugin/Resources/PythonScript.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Duality;
using Duality.Editor;
namespace RockyTV.Duality.Plugins.IronPython.Resources
{
[EditorHintCategory(Properties.ResNames.CategoryScripts)]
[EditorHintImage(Properti... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Duality;
using Duality.Editor;
namespace RockyTV.Duality.Plugins.IronPython.Resources
{
[EditorHintCategory(Properties.ResNames.CategoryScripts)]
[EditorHintImage(Properti... | Add sample script when a script is created | Add sample script when a script is created
| C# | mit | RockyTV/Duality.IronPython |
c4f166084133f129d1f0195473836943db4dff5f | osu.Game/Tests/FlakyTestAttribute.cs | osu.Game/Tests/FlakyTestAttribute.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retr... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retr... | Rename ENVVAR in line with previous one (`OSU_TESTS_NO_TIMEOUT`) | Rename ENVVAR in line with previous one (`OSU_TESTS_NO_TIMEOUT`)
| C# | mit | peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu |
4452879a4d2b95c6a95fcf236b6f91ab486ead1d | Assets/FungusExample/Scripts/SpritesRoom.cs | Assets/FungusExample/Scripts/SpritesRoom.cs | using UnityEngine;
using System.Collections;
using Fungus;
public class SpritesRoom : Room
{
public Room menuRoom;
public Animator blueAlienAnim;
public SpriteController blueAlienSprite;
void OnEnter()
{
Say("Pink Alien says to Blue Alien...");
Say("...'Show me your funky moves!'");
SetAnimatorTrigger... | using UnityEngine;
using System.Collections;
using Fungus;
public class SpritesRoom : Room
{
public Room menuRoom;
public Animator blueAlienAnim;
public SpriteController blueAlienSprite;
void OnEnter()
{
ShowSprite(blueAlienSprite);
Say("Pink Alien says to Blue Alien...");
Say("...'Show me your funky ... | Make sure blue alien is visible next time you visit Sprites Room. | Make sure blue alien is visible next time you visit Sprites Room.
| C# | mit | inarizushi/Fungus,tapiralec/Fungus,Nilihum/fungus,FungusGames/Fungus,lealeelu/Fungus,kdoore/Fungus,RonanPearce/Fungus,snozbot/fungus |
c3bb88542124f1038470f3845c8660c95059fcd9 | osu.Framework/Graphics/Batches/TriangleBatch.cs | osu.Framework/Graphics/Batches/TriangleBatch.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.OpenGL.Buffers;
using osu.Framework.Graphics.OpenGL.Textures;
using osu.Framework.Graphics.OpenGL.Vertices;
using osuTK.Graphic... | // 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.OpenGL.Buffers;
using osu.Framework.Graphics.OpenGL.Textures;
using osu.Framework.Graphics.OpenGL.Vertices;
using osuTK.Graphic... | Add a comment explaining why we're using QuadVertexBuffer | Add a comment explaining why we're using QuadVertexBuffer
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework |
25f7d71bc5ff4d4911f67f4cea887a6682584b9e | CoreComponents/AssemblyInfo/AssemblyInfo.cs | CoreComponents/AssemblyInfo/AssemblyInfo.cs | /*
AssemblyInfo.cs
This file is part of Morgan's CLR Advanced Runtime (MCART)
Author(s):
César Andrés Morgan <xds_xps_ivx@hotmail.com>
Copyright (c) 2011 - 2018 César Andrés Morgan
Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it
and/or modify it under the terms of the GNU Gener... | /*
AssemblyInfo.cs
This file is part of Morgan's CLR Advanced Runtime (MCART)
Author(s):
César Andrés Morgan <xds_xps_ivx@hotmail.com>
Copyright (c) 2011 - 2018 César Andrés Morgan
Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it
and/or modify it under the terms of the GNU Gener... | Bump número de versión a 0.8.4.0 | Bump número de versión a 0.8.4.0
| C# | mit | TheXDS/MCART |
bdd00c555dca23b179ae38cc85c00e91fbac6252 | osu.Framework/Timing/IFrameBasedClock.cs | osu.Framework/Timing/IFrameBasedClock.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.
namespace osu.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for keeping a... | // 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.
namespace osu.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame process is triggered.
/// Useful for keeping ... | Correct misspelled word in the interface summary | Correct misspelled word in the interface summary | C# | mit | ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework |
e21aeeaf7d6ff44fafda62d71d2ed0ccbb3e9efd | Assets/Scripts/ComponentPool.cs | Assets/Scripts/ComponentPool.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ComponentPool<T> where T : MonoBehaviour
{
private Func<T> _instantiateAction;
private Action<T> _getComponentAction;
private Action<T> _returnComponentAction;
private Stack<T> _pooledObjects;
... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ComponentPool<T> where T : MonoBehaviour
{
private Func<T> _instantiateAction;
private Action<T> _getComponentAction;
private Action<T> _returnComponentAction;
private Stack<T> _pooledObjects;
... | Fix major bug with component pool | Fix major bug with component pool
| C# | mit | lupidan/Tetris |
bfebc36b5f8570a8ae78e7c06c7d32f50f30ba12 | src/Daterpillar.Core/IndexColumn.cs | src/Daterpillar.Core/IndexColumn.cs | using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database indexed column.
/// </summary>
public struct IndexColumn
{
/// <summary>
/// Gets or sets the column's name.
/// </summary>
/// <value>The name.</value>
... | using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database indexed column.
/// </summary>
public struct IndexColumn
{
/// <summary>
/// Initializes a new instance of the <see cref="IndexColumn"/> struct.
/// </summary>
/... | Add new contructors to Index.cs | Add new contructors to Index.cs
| C# | mit | Ackara/Daterpillar |
4078c6720ee6cc125c610e4080116800b98f9179 | CodeHub/Views/IssueDetailView.xaml.cs | CodeHub/Views/IssueDetailView.xaml.cs | using CodeHub.Helpers;
using CodeHub.ViewModels;
using Octokit;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;... | using CodeHub.Helpers;
using CodeHub.ViewModels;
using Octokit;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;... | Clear comments list on navigation | Clear comments list on navigation
| C# | mit | aalok05/CodeHub,PoLaKoSz/CodeHub |
ebce3fd3c7d408541b39b2fa37df45d82d057a08 | osu.Game/Skinning/SkinnableTargetWrapper.cs | osu.Game/Skinning/SkinnableTargetWrapper.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 Newtonsoft.Json;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Skinning
{
/// <summary>
/// A con... | // 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 Newtonsoft.Json;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Skinning
{
/// <summary>
/// A con... | Use `ScheduleAfterChildren` to better match comment | Use `ScheduleAfterChildren` to better match comment
| C# | mit | peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu |
8e13f2b8061be32a9a8c8f61e0cd5a1edc492dd8 | src/ProjectEuler/Puzzles/Puzzle005.cs | src/ProjectEuler/Puzzles/Puzzle005.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | Improve performance of puzzle 5 | Improve performance of puzzle 5
Improve the performance of puzzle 5 (slightly) by starting the search at
the maximum divisor value, rather than at one.
| C# | apache-2.0 | martincostello/project-euler |
591f200da9c3aea49ba31f933376cbebd136604c | AngleSharp/Properties/AssemblyInfo.cs | AngleSharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AngleSharp")]
[assembly: AssemblyDescription("AngleSharp is the ultimate angle brackets parser library. It parses HTML5, MathML, SVG, XML and CSS to construct a DOM based on the official W3C... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AngleSharp")]
[assembly: AssemblyDescription("AngleSharp is the ultimate angle brackets parser library. It parses HTML5, MathML, SVG, XML and CSS to construct a DOM based on the official W3C... | Change version number to 0.8.7 | Change version number to 0.8.7
| C# | mit | AngleSharp/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,Livven/AngleSharp,zedr0n/AngleSharp.Local,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,Livven... |
f0cc402b4be566925bf80694ba4e84cf947185e4 | Mvc.Mailer/LinkedResourceProvider.cs | Mvc.Mailer/LinkedResourceProvider.cs | using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
namespace Mvc.Mailer {
/// <summary>
/// This class is a utility class for instantiating LinkedResource objects
/// </summary>
public class LinkedResourceProvider : ILinkedResourceProvider {
publ... | using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
namespace Mvc.Mailer {
/// <summary>
/// This class is a utility class for instantiating LinkedResource objects
/// </summary>
public class LinkedResourceProvider : ILinkedResourceProvider {
publ... | Remove comment, null check unnecessary. | Remove comment, null check unnecessary.
| C# | mit | AshWilliams/MvcMailer,smsohan/MvcMailer,AshWilliams/MvcMailer,smilecn02/MvcMailer,smilecn02/MvcMailer,smsohan/MvcMailer,zanfar/MvcMailer,zanfar/MvcMailer |
38e63149c40bbed80d969b57a8f64eb5c745141c | Assets/MRTK/Providers/WindowsMixedReality/Shared/Editor/WindowsMixedRealityConfigurationChecker.cs | Assets/MRTK/Providers/WindowsMixedReality/Shared/Editor/WindowsMixedRealityConfigurationChecker.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.IO;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality
{
/// <summary>
/// Class to perform checks for configuration checks for the Wind... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.IO;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality
{
/// <summary>
/// Class to perform checks for configuration checks for the Wind... | Replace InitOnLoad with MRTK > Utils > WMR > Check Config | Replace InitOnLoad with MRTK > Utils > WMR > Check Config
| C# | mit | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
958eef2316133d4f318291b4c49195fe63b864b1 | osu.Framework.Tests/VisualTestGame.cs | osu.Framework.Tests/VisualTestGame.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Platform;
using osu.Framework.Te... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.IO.Stores;
using osu.Framework.P... | Add the tests executable as a resource store | Add the tests executable as a resource store
| C# | mit | ppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,default0/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,ppy/o... |
b0ea5de8343fa100da14b43142ce5034421daae4 | webscripthook-android/WebActivity.cs | webscripthook-android/WebActivity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Webkit;
using Android.Widget;
namespace webscripthook_android
{
[Activity(Label = "GT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Webkit;
using Android.Widget;
namespace webscripthook_android
{
[Activity(Label = "GT... | Fix webview reload on rotation | Fix webview reload on rotation
| C# | mit | LibertyLocked/webscripthook-android |
ec6ee635637bb42b7ae681233308d4ff0193c575 | Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs | Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs | using System;
using System.Collections.Generic;
using Xamarin;
namespace Espera.Core.Analytics
{
internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint
{
private Guid id;
public void Dispose()
{
// Xamarin Insights can only be terminated if it has been started before... | using System;
using System.Collections.Generic;
using Xamarin;
namespace Espera.Core.Analytics
{
internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint
{
private Guid id;
public void Dispose()
{
// Xamarin Insights can only be terminated if it has been started before... | Call Insights.Save when reporting a crash | Call Insights.Save when reporting a crash
| C# | mit | punker76/Espera,flagbug/Espera |
5631b3aa009ad3d1f20b40b12106ac8342a2c12f | templates/AvaloniaMvvmApplicationTemplate/Program.cs | templates/AvaloniaMvvmApplicationTemplate/Program.cs | using System;
using Avalonia;
using Avalonia.Logging.Serilog;
using $safeprojectname$.ViewModels;
using $safeprojectname$.Views;
namespace $safeprojectname$
{
class Program
{
// Initialization code. Don't use any Avalonia, third-party APIs or any
// SynchronizationContext-reliant code before A... | using System;
using Avalonia;
using Avalonia.Logging.Serilog;
using $safeprojectname$.ViewModels;
using $safeprojectname$.Views;
namespace $safeprojectname$
{
class Program
{
// Initialization code. Don't use any Avalonia, third-party APIs or any
// SynchronizationContext-reliant code before A... | Create VM in MVVM app template. | Create VM in MVVM app template.
| C# | mit | AvaloniaUI/PerspexVS |
86d8aa2915e73aa33e06315bf72015380faeec0b | TestStack.ConventionTests/ConventionData/Types.cs | TestStack.ConventionTests/ConventionData/Types.cs | namespace TestStack.ConventionTests.ConventionData
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// This is where we set what our convention is all about.
/// </summary>
public class Types : IConventionData
{
public Types(str... | namespace TestStack.ConventionTests.ConventionData
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
/// <summary>
/// This is where we set what our convention is all about.
/// </summary>
public class Types : ICon... | Exclude compiler generated types by default | Exclude compiler generated types by default
| C# | mit | JakeGinnivan/TestStack.ConventionTests,TestStack/TestStack.ConventionTests |
972d78f0b42ef731b087619b9c5c30a0965b338b | src/Redists/Core/TimeSeriesWriter.cs | src/Redists/Core/TimeSeriesWriter.cs | using StackExchange.Redis;
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
namespace Redists.Core
{
internal class TimeSeriesWriter : ITimeSeriesWriter
{
private readonly IDatabaseAsync dbAsync;
private TimeSpan? ttl;
private IDataPointParser parser;
... | using StackExchange.Redis;
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
namespace Redists.Core
{
internal class TimeSeriesWriter : ITimeSeriesWriter
{
private readonly IDatabaseAsync dbAsync;
private TimeSpan? ttl;
private IDataPointParser parser;
... | Fix : Null ttl value | Fix : Null ttl value
| C# | mit | Cybermaxs/Redists |
8e041146e54e6dfdfff5de6056536b4ff69a6acb | src/Utils/Properties/AssemblyInfo.cs | src/Utils/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("Ut... | 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("Ut... | Revert "Removing the assembly version attribute since appveyor doesn't seem to respect custom version format" | Revert "Removing the assembly version attribute since appveyor doesn't seem to respect custom version format"
This reverts commit e7c328ca35f92db8eeeea7a5a53223a2370d697a.
| C# | mit | nayanshah/UtilsDotNet |
3c5be4d85609b8be8c2f33c45efe6aed92c8d584 | source/Core/Models/SignInMessage.cs | source/Core/Models/SignInMessage.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Make sure AcrValues is not null | Make sure AcrValues is not null
| C# | apache-2.0 | charoco/IdentityServer3,mvalipour/IdentityServer3,IdentityServer/IdentityServer3,yanjustino/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,remunda/IdentityServer3,openbizgit/IdentityServer3,tbitowner/IdentityServer3,jackswei/IdentityServer3,delloncba/IdentityServer3,SonOfSam/IdentityServer3,feanz/Thinktecture.... |
fe9dff9fd832b2b854e3e4df75e23709bdb1ffde | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | Update file ver to 3.0.3.0 | Update file ver to 3.0.3.0
| C# | mit | amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps |
f4afbe2ac5979bb396de642969833c0931dd1808 | src/HttpMock.Integration.Tests/PortHelper.cs | src/HttpMock.Integration.Tests/PortHelper.cs | using System.Linq;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Security;
namespace HttpMock.Integration.Tests
{
internal static class PortHelper
{
internal static int FindLocalAvailablePortForTesting ()
{
for (var i = 1025; i <= 65000; i++)
{
if (!ConnectTo... | using System;
using System.Linq;
using System.Net.NetworkInformation;
using System.Security;
namespace HttpMock.Integration.Tests
{
internal static class PortHelper
{
internal static int FindLocalAvailablePortForTesting ()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties(... | Change how we find a local port. Connecting to a local port and releasing it is flaky and slow. use network info to find what port is available | Change how we find a local port. Connecting to a local port and releasing it is flaky and slow.
use network info to find what port is available
| C# | mit | zhdusurfin/HttpMock,oschwald/HttpMock,mattolenik/HttpMock,hibri/HttpMock |
430d5cf23eedcae09d0eb7d602da7dec69114f30 | game/server/weapons/sniperrifle.sfx.cs | game/server/weapons/sniperrifle.sfx.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | Change sniper rifle projectile explosion sound. | Change sniper rifle projectile explosion sound.
| C# | lgpl-2.1 | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game |
ea67c191bf23c36a6a208e7c6c8c85162ce94fd8 | src/shared/Collections/PoolFactory.cs | src/shared/Collections/PoolFactory.cs | // Copyright 2015 Renaud Paquay All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | // Copyright 2015 Renaud Paquay All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | Add compile-time constant to switch to no-op pool | Add compile-time constant to switch to no-op pool
| C# | apache-2.0 | rpaquay/mtsuite |
98392957a526a488a8f0f3eef704cdc7acb78d02 | src/Diploms.DataLayer/DiplomContext.cs | src/Diploms.DataLayer/DiplomContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Department> Departments { get; set; }
public DbSet<User>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Department> Departments { get; set; }
public DbSet<User>... | Set M:M relationsheep beetween Users and Roles | Set M:M relationsheep beetween Users and Roles
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs |
6cb55cb4ead912d37358dad467c57f487fd6d1bb | Assets/Scripts/Faking/LookAtSpeaker.cs | Assets/Scripts/Faking/LookAtSpeaker.cs | using UnityEngine;
public class LookAtSpeaker : MonoBehaviour {
public bool active = false;
public float speed;
public float jitterFreq;
public float jitterLerp;
public float jitterScale;
public float blankGazeDistance;
public Transform trackedTransform;
public float lerp;
private... | using UnityEngine;
public class LookAtSpeaker : MonoBehaviour {
public bool active = false;
public float speed;
public float jitterFreq;
public float jitterLerp;
public float jitterScale;
public float blankGazeDistance;
public Transform trackedTransform;
public float lerp;
private... | Fix look at speaker to follow Performative/Head | Fix look at speaker to follow Performative/Head
| C# | mit | Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR |
3615b826853ff78e929d6e975fe1596c42500569 | Palaso/UsbDrive/Linux/UDisks.cs | Palaso/UsbDrive/Linux/UDisks.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NDesk.DBus;
namespace Palaso.UsbDrive.Linux
{
public class UDisks
{
private readonly IUDisks _udisks;
public UDisks()
{
_udisks = Bus.System.GetObject<IUDisks>("org.freedesktop.UDisks", new ObjectPath("/org/freedes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NDesk.DBus;
namespace Palaso.UsbDrive.Linux
{
public class UDisks
{
private readonly IUDisks _udisks;
public UDisks()
{
_udisks = Bus.System.GetObject<IUDisks>("org.freedesktop.UDisks", new ObjectPath("/org/freedes... | Fix Linux hanging bug due to USB drive enumeration | Fix Linux hanging bug due to USB drive enumeration
| C# | mit | hatton/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,chrisvire/libpalaso,mccarthyrb/libpalaso,tombogle/libpalaso,JohnThomson/libpalaso,darcywong00/libpalaso,gtryus/libpalaso,JohnThomson/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,mccarthyrb/libpalaso,ddaspit/lib... |
31e454a597d46ebb2a629cdd4edcead201052f1f | src/ToDoList.Automation/Api/Remove.cs | src/ToDoList.Automation/Api/Remove.cs | using System.Threading.Tasks;
using ToDoList.Automation.Api.ApiActions;
using Tranquire;
namespace ToDoList.Automation.Api
{
public static class Remove
{
public static IAction<Task> ToDoItem(string title) => Get.TheToDoItem(title)
.Selec... | using System.Threading.Tasks;
using ToDoList.Automation.Api.ApiActions;
using Tranquire;
namespace ToDoList.Automation.Api
{
public static class Remove
{
public static IAction<Task> ToDoItem(string title) => Get.TheToDoItem(title)
.Selec... | Use SelectMany in demo application | Use SelectMany in demo application
| C# | mit | Galad/tranquire,Galad/tranquire,Galad/tranquire |
545d383dd82ffbffe36fc1c48b74f39f6157c237 | src/Tgstation.Server.Api/Models/TestMergeParameters.cs | src/Tgstation.Server.Api/Models/TestMergeParameters.cs | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Api.Models
{
/// <summary>
/// Parameters for creating a <see cref="TestMerge"/>
/// </summary>
public class TestMergeParameters
{
/// <summary>
/// The number of the pull request
/// </summary>
public int? Number { get; set; }
//... | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Api.Models
{
/// <summary>
/// Parameters for creating a <see cref="TestMerge"/>
/// </summary>
public class TestMergeParameters
{
/// <summary>
/// The number of the pull request
/// </summary>
[Required]
public int? Number { get;... | Mark this as required since it's nullable now | Mark this as required since it's nullable now
| C# | agpl-3.0 | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server |
41813402be374a527c7c355ca3cc73d3811b25c5 | Tests/IntegrationTests/BittrexTests.cs | Tests/IntegrationTests/BittrexTests.cs | using BittrexSharp;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Tests.IntegrationTests
{
[TestClass]
public class BittrexTests
{
[TestMethod]
public vo... | using BittrexSharp;
using BittrexSharp.Domain;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Tests.IntegrationTests
{
[TestClass]
public class BittrexTests
{
#re... | Add Tests for all public Api Methods | Add Tests for all public Api Methods
| C# | mit | Domysee/BittrexSharp |
0f0875e6c5b16d4d349d2b104a7d7e4db9b2fc6d | Toolkit/Test/Utils/AlertHandlerTest.cs | Toolkit/Test/Utils/AlertHandlerTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using Toolkit.Utils;
namespace Toolkit
{
[TestClass]
public class AlertHandlerTest
{
FirefoxDriver _driver;
[TestMeth... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using Toolkit.Utils;
namespace Toolkit
{
[TestClass]
public class AlertHandlerTest
{
FirefoxDriver _driver;
[TestInitia... | Update test to ensure page is accessible after alert | Update test to ensure page is accessible after alert
| C# | mit | JustinPhlegar/Orasi |
de8fed9e8b0cf7377735e0c31376750942190220 | src/mscorlib/shared/System/InvalidTimeZoneException.cs | src/mscorlib/shared/System/InvalidTimeZoneException.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | Update typeforward assemblyqualifiedname for TimeZoneInfoException | Update typeforward assemblyqualifiedname for TimeZoneInfoException
| C# | mit | wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,yizhang82/coreclr,wateret/coreclr,yizhang82/coreclr,poizan42/coreclr,JosephTremoulet/coreclr,yizhang82/coreclr,krk/coreclr,wateret/coreclr,yizhang82/coreclr,mmitche/coreclr,cshung/coreclr,yizhang82/coreclr,krk/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,ruben-ayrapet... |
db80b6f3167ebcbf737680b5d5774f5e5f2e2929 | NBi.Core/Etl/IntegrationService/SsisEtlRunnerFactory.cs | NBi.Core/Etl/IntegrationService/SsisEtlRunnerFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBi.Core.Etl.IntegrationService
{
class SsisEtlRunnerFactory
{
public IEtlRunner Get(IEtl etl)
{
if (string.IsNullOrEmpty(etl.Server))
return new EtlFileRunne... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBi.Core.Etl.IntegrationService
{
class SsisEtlRunnerFactory
{
public IEtlRunner Get(IEtl etl)
{
if (string.IsNullOrEmpty(etl.Server))
return new EtlFileRunne... | Fix issue that Builder for CatalogRunner is chosen when a builder for DtsRunner should be | Fix issue that Builder for CatalogRunner is chosen when a builder for DtsRunner should be
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
6a2a8458aab5d3b9576cac5d893a04020b80eaa7 | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/XRSDK/XRSDKWindowsMixedRealityUtilitiesProvider.cs | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/XRSDK/XRSDKWindowsMixedRealityUtilitiesProvider.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.WindowsMixedReality;
using System;
#if WMR_ENABLED
using UnityEngine.XR.WindowsMR;
#endif // WMR_ENABLED
namespace Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality
{
/// <summary>
/// An i... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.WindowsMixedReality;
using System;
#if WMR_ENABLED
using UnityEngine.XR.WindowsMR;
#endif // WMR_ENABLED
namespace Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality
{
/// <summary>
/// An i... | Update docs on XR SDK IHolographicFramePtr | Update docs on XR SDK IHolographicFramePtr
| C# | mit | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
66c831d15918f6308a3d3b78a52ab97455c7617c | GeoChallenger.Web.Api/Controllers/PoisController.cs | GeoChallenger.Web.Api/Controllers/PoisController.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using AutoMapper;
using GeoChallenger.Services.Interfaces;
using GeoChallenger.Web.Api.Models;
namespace GeoChallenger.Web.Api.Controllers
{
/// <summary>
/// Geo tags controller
/// </summary>
[Ro... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using AutoMapper;
using GeoChallenger.Services.Interfaces;
using GeoChallenger.Web.Api.Models;
namespace GeoChallenger.Web.Api.Controllers
{
/// <summary>
/// Point of Interests controller
/// </summar... | Refactor route url for poiController | Refactor route url for poiController
| C# | mit | GAnatoliy/geochallenger,GAnatoliy/geochallenger |
fcd70a70546563ffc6d1eed390c002b6aa1414de | MCloud/MCloud.Linode/LinodeResponse.cs | MCloud/MCloud.Linode/LinodeResponse.cs |
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MCloud.Linode {
internal class LinodeResponse {
public LinodeResponse ()
{
}
public string Action {
get;
set;
}
public JObject [] Data {
get;
... |
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MCloud.Linode {
internal class LinodeResponse {
public LinodeResponse ()
{
}
public string Action {
get;
set;
}
public JObject [] Data {
get;
... | Raise an exception if there is an error from linode | Raise an exception if there is an error from linode
| C# | mit | jacksonh/MCloud,jacksonh/MCloud |
3354db9a5144e4a281a849948c8904c85fe53404 | src/VideoConverter.cs | src/VideoConverter.cs | using System.Diagnostics;
namespace Cams
{
public static class VideoConverter
{
public static bool CodecCopy(string inputFile, string outputFile)
{
return Run($"-y -i {inputFile} -codec copy {outputFile}");
}
public static bool Concat(string listFilePath, string outputFile)
{
return Run($"-y -safe ... | using System.Diagnostics;
namespace Cams
{
public static class VideoConverter
{
public static bool CodecCopy(string inputFile, string outputFile)
{
return Run($"-y -i {inputFile} -codec copy {outputFile}");
}
public static bool Concat(string listFilePath, string outputFile)
{
return Run($"-y -safe ... | Scale summary video to 720p | Scale summary video to 720p
| C# | mit | chadly/vlc-rtsp,chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp |
6b734c8e6a6d8e59e9bfb236d2d70832bd672bc8 | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System;
[assembly: AssemblyCompany("Connective DX")]
[assembly: AssemblyProduct("Synthesis")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("8.1.1.0")]
[assembly: AssemblyFileVersion("8.1.1.0")]
[assembly: AssemblyInformationalVersion("8.... | using System.Reflection;
using System.Runtime.InteropServices;
using System;
[assembly: AssemblyCompany("Connective DX")]
[assembly: AssemblyProduct("Synthesis")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("8.2.0.0")]
[assembly: AssemblyFileVersion("8.2.0.0")]
[assembly: AssemblyInformationalVersion("8.... | Bump version to 8.2. For Sitecore 8.1. | Bump version to 8.2. For Sitecore 8.1.
SemVer is confusing sometimes :)
| C# | mit | kamsar/Synthesis |
1f1cd8dae245fa595255940f6a7bdf9808454fbf | src/cli/Strategy/ActivateStrategy.cs | src/cli/Strategy/ActivateStrategy.cs | namespace Linterhub.Cli.Strategy
{
using System.IO;
using System.Linq;
using Runtime;
using Engine;
using Engine.Exceptions;
using Linterhub.Engine.Extensions;
public class ActivateStrategy : IStrategy
{
public object Run(RunContext context, LinterEngine engine, LogManager log)
... | namespace Linterhub.Cli.Strategy
{
using System.IO;
using System.Linq;
using Runtime;
using Engine;
using Engine.Exceptions;
using Linterhub.Engine.Extensions;
public class ActivateStrategy : IStrategy
{
public object Run(RunContext context, LinterEngine engine, LogManager log)
... | Set active to null (true) by default | Set active to null (true) by default
| C# | mit | repometric/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli |
ff4362ef2b831377f632a1d346abb50f79fdb54c | osu.Framework/Graphics/Textures/RawTextureLoaderStore.cs | osu.Framework/Graphics/Textures/RawTextureLoaderStore.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Threading.Tasks;
using osu.Framework.IO.Stores;
namespace osu.Framework.Graphics.Textures
{
public class RawTextureLoaderStore : ResourceSto... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Threading.Tasks;
using osu.Framework.IO.Stores;
namespace osu.Framework.Graphics.Textures
{
public class RawTextureLoaderStore : ResourceSto... | Remove one more async-await pair | Remove one more async-await pair
| C# | mit | ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,ZLima12/osu-fram... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.