commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
697d93a21fb48aa3d558e2c137422c7c216d8f1f | Add JetDate SqlTokenType | transistor1/PoorMansTSqlFormatter,transistor1/PoorMansTSqlFormatter,transistor1/PoorMansTSqlFormatter,transistor1/PoorMansTSqlFormatter | PoorMansTSqlFormatterLib/Interfaces/SqlTokenType.cs | PoorMansTSqlFormatterLib/Interfaces/SqlTokenType.cs | /*
Poor Man's T-SQL Formatter - a small free Transact-SQL formatting
library for .Net 2.0, written in C#.
Copyright (C) 2011-2013 Tao Klerks
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Found... | /*
Poor Man's T-SQL Formatter - a small free Transact-SQL formatting
library for .Net 2.0, written in C#.
Copyright (C) 2011-2013 Tao Klerks
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Found... | agpl-3.0 | C# |
86607e36e29cd4eb7e0d8aa1d8320c88ea3b486d | Reformat Scorer.cs | yeonghoey/dotge | Assets/Scripts/Scorer.cs | Assets/Scripts/Scorer.cs | using UnityEngine;
using UnityEngine.UI;
public class Scorer : MonoBehaviour
{
public Text scoreText;
private float startTime;
public static string Format(float score)
{
// Show only 1 decimal place
return score.ToString("F1");
}
public float Score { get; private set; }
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Scorer : MonoBehaviour {
public Text scoreText;
private float startTime;
public static string Format (float score) {
// Show only 1 decimal place
return score.ToString ("F1");
}
public float ... | mit | C# |
88f4b4f1d1dc0105bfca0bb8c386a153d23973bb | Update Endpoints | drasticactions/bugzilladotnet | BugzillaDotNet/Common/EndPoints.cs | BugzillaDotNet/Common/EndPoints.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BugzillaDotNet.Common
{
public static class EndPoints
{
public static string Bug = "/bug/{0}";
public static string BugHistory = "/bug/{0}/history";
public st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BugzillaDotNet.Common
{
public static class EndPoints
{
public static string Bug = "/rest/bug/{0}";
public static string BugHistory = "/rest/bug/{0}/history";
... | mit | C# |
3e74f1846b28f395b8ef2006021edb80c7c522ca | fix typo | AzureDay/2016-WebSite,AzureDay/2016-WebSite | TeamSpark.AzureDay.WebSite.Data/Enum/PartnerType.cs | TeamSpark.AzureDay.WebSite.Data/Enum/PartnerType.cs | namespace TeamSpark.AzureDay.WebSite.Data.Enum
{
public enum PartnerType
{
VIP = 101,
Gold = 201,
Silver = 301,
Raffle = 401,
Info = 501,
Speaker = 601
}
public static class PartnerTypeExtension
{
public static string ToDisplayStringCategory(this PartnerType type)
{
switch (type)
{
case... | namespace TeamSpark.AzureDay.WebSite.Data.Enum
{
public enum PartnerType
{
VIP = 101,
Gold = 201,
Silver = 301,
Raffle = 401,
Info = 501,
Speaker = 601
}
public static class PartnerTypeExtension
{
public static string ToDisplayStringCategory(this PartnerType type)
{
switch (type)
{
case... | mit | C# |
0e118d1f3cb7043ffbf6e36689156fd16531ab72 | Add reference to google rettify | ppittle/pMixins,ppittle/pMixins,ppittle/pMixins | pMixins.Mvc/Views/Shared/_Layout.cshtml | pMixins.Mvc/Views/Shared/_Layout.cshtml | @using System
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A lightweight open source Mixin and AOP framework for C#. Brought to you by Philip Pittle & Copacetic Software">
<meta name="key... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A lightweight open source Mixin and AOP framework for C#. Brought to you by Philip Pittle & Copacetic Software">
<meta name="keywords" content... | apache-2.0 | C# |
4391c5ec02c773c3658bc73d56f6e77b8cd3162d | Fix #17: PrepareTTermEnvironment assumes %PATH% is set | IntelOrca/teds-terminal | src/tterm/Terminal/TerminalSessionManager.cs | src/tterm/Terminal/TerminalSessionManager.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Windows;
using tterm.Extensions;
namespace tterm.Terminal
{
internal class TerminalSessionManager
{
private readonly List<TerminalSession> _sessions = new List<TerminalSession>(... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Windows;
namespace tterm.Terminal
{
internal class TerminalSessionManager
{
private readonly List<TerminalSession> _sessions = new List<TerminalSession>();
public IList... | mit | C# |
878f8b7662d5158406b79aa6659b67e3be7aa542 | Add error logging | gssequence/CtrlLauncher | CtrlLauncher/App.xaml.cs | CtrlLauncher/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using Livet;
namespace CtrlLauncher
{
/// <summary>
/// App.xaml の相互作用ロジック
/// </summary>
public partial... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using Livet;
namespace CtrlLauncher
{
/// <summary>
/// App.xaml の相互作用ロジック
/// </summary>
public partial class App : Application
{
private void Applicati... | mit | C# |
ff5391125794ddf9d1882de49497928537c77de3 | Remove extra `DrawableSampleChannel` | ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Audio/DrawableSample.cs | osu.Framework/Graphics/Audio/DrawableSample.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Audio.Sample;
namespace osu.Framework.Graphics.Audio
{
/// <summary>
/// A <see cref="SampleChannel"/> wrapper to allow insertion in the draw... | // 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 JetBrains.Annotations;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
namespace osu.Framework.Graphics.Audio
{
/// <summary>
/// A <see... | mit | C# |
cd6b694a790f566e5a3ec7b064a319c26ced5bd9 | Update Program.cs | mtsuker/GitTest1 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//github change + edit
// edit in VS
// call Feature1
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//github change + edit
// edit in VS
// call Feature1
}
... | mit | C# |
15f8146d861d72527b310ebe78141f659569cba9 | Clean up stream after use. | teamsmileyface/graphql-dotnet,joemcbride/graphql-dotnet,alexmcmillan/graphql-dotnet,plecong/graphql-dotnet,scmccart/graphql-dotnet,dNetGuru/graphql-dotnet,graphql-dotnet/graphql-dotnet,teamsmileyface/graphql-dotnet,kthompson/graphql-dotnet,plecong/graphql-dotnet,kthompson/graphql-dotnet,joemcbride/graphql-dotnet,alexmc... | src/GraphQL/Execution/AntlrDocumentBuilder.cs | src/GraphQL/Execution/AntlrDocumentBuilder.cs | using System.IO;
using System.Text;
using Antlr4.Runtime;
using GraphQL.Language;
using GraphQL.Parsing;
namespace GraphQL.Execution
{
public class AntlrDocumentBuilder : IDocumentBuilder
{
public Document Build(string data)
{
using (var stream = new MemoryStream(Encoding.UTF8.GetBy... | using System.IO;
using System.Text;
using Antlr4.Runtime;
using GraphQL.Language;
using GraphQL.Parsing;
namespace GraphQL.Execution
{
public class AntlrDocumentBuilder : IDocumentBuilder
{
public Document Build(string data)
{
var stream = new MemoryStream(Encoding.UTF8.GetBytes(dat... | mit | C# |
8fbfb419268fd5976eab6d5d6e486eb8066755df | Remove namespace. | jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrade... | src/Manos.Tests/Manos.Http/HttpRequestTest.cs | src/Manos.Tests/Manos.Http/HttpRequestTest.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | mit | C# |
376fe14c67f82812968b226937f44d0512c839aa | change version | martinusso/Ini.Net | Ini.Net/Properties/AssemblyInfo.cs | Ini.Net/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("In... | 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("In... | mit | C# |
160b8050084d36f1af021d0fb43763a5274f30b8 | Set failure rate to max 5% | ramonsmits/NServiceBus.MonitoringDemoHost | MonitoringDemoHost/ChaosHandler.cs | MonitoringDemoHost/ChaosHandler.cs | using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Logging;
class ChaosHandler : IHandleMessages<object>
{
readonly ILog Log = LogManager.GetLogger<ChaosHandler>();
readonly double Thresshold = ThreadLocalRandom.NextDouble() * 0.05;
public Task Handle(object message... | using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Logging;
class ChaosHandler : IHandleMessages<object>
{
readonly ILog Log = LogManager.GetLogger<ChaosHandler>();
readonly double Thresshold = ThreadLocalRandom.NextDouble() * 0.50;
public Task Handle(object message, IMessage... | mit | C# |
5933375586f4e34676ab5e46ec457f17162d0f12 | Test fixed to pass | zzt108/Learn,zzt108/Learn,zzt108/Learn | BDD/LearnBdd/LearnBdd.Specs/BddBasicsSteps.cs | BDD/LearnBdd/LearnBdd.Specs/BddBasicsSteps.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TechTalk.SpecFlow;
namespace LearnBdd.Specs
{
[Binding]
public class BddBasicsSteps
{
private Dictionary<string, int> data = new Dictionary<string, int>();
... | using System;
using TechTalk.SpecFlow;
namespace LearnBdd.Specs
{
[Binding]
public class BddBasicsSteps
{
[Given(@"there is a question ""(.*)"" with the answers")]
public void GivenThereIsAQuestionWithTheAnswers(string p0, Table table)
{
Console.WriteLine("Question {0}", p0);
foreach (va... | apache-2.0 | C# |
d02ed7ff8de3602adb3584599de55fb4589b21fc | Update assembly info for development of the next version | nanathan/ManeuverNodeSplitter | ManeuverNodeSplitter/Properties/AssemblyInfo.cs | ManeuverNodeSplitter/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("Ma... | 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("Ma... | mit | C# |
14a10f0ec8ea394208e6a8fb6f38348b2c9cbedb | Update example project | fedoaa/SimpleTwitchBot | SimpleTwitchBot.Example/Program.cs | SimpleTwitchBot.Example/Program.cs | using SimpleTwitchBot.Lib;
using SimpleTwitchBot.Lib.Events;
using System;
using System.Threading.Tasks;
namespace SimpleTwitchBot.Example
{
class Program
{
static void Main(string[] args)
{
using (var client = new TwitchIrcClient("irc.chat.twitch.tv", 6667))
{
... | using SimpleTwitchBot.Lib;
using SimpleTwitchBot.Lib.Events;
using System;
using System.Threading.Tasks;
namespace SimpleTwitchBot.Example
{
class Program
{
private static string channelName = "#channelName";
private static TwitchIrcClient _client;
static void Main(string[] args)
... | mit | C# |
789d5e9a8e43c2d45ef93d493684b8af37455ce2 | fix missing interface members | sboulema/CodeNav,sboulema/CodeNav | CodeNav.Shared/CodeViewUserControlTop.xaml.cs | CodeNav.Shared/CodeViewUserControlTop.xaml.cs | using System;
using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Media;
using CodeNav.Helpers;
using CodeNav.Models;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Outlining;
usi... | using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Media;
using CodeNav.Helpers;
using CodeNav.Models;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Outlining;
using Task = Syst... | mit | C# |
a9c645bdd53c90f61b6f86855dd7e1bbb004b87b | Change throw exception due to appharbor build | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Services/CategoryService.cs | PhotoLife/PhotoLife.Services/CategoryService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Models.Enums;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class CategoryService : ICategoryService
{
private readonly IRepository<Cat... | using System;
using System.Collections.Generic;
using System.Linq;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Models.Enums;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class CategoryService : ICategoryService
{
private readonly IRepository<Cat... | mit | C# |
dba9b33712e4bfd7c079a15d5f08022c1de4c530 | Add options to sample. | TheCloudlessSky/NHibernate.Caches.Redis,EzyWebwerkstaden/NHibernate.Caches.Redis | sample/NHibernate.Caches.Redis.Sample/Global.asax.cs | sample/NHibernate.Caches.Redis.Sample/Global.asax.cs | using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.IO;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using NHibernate.Tool.hbm2ddl;
using NHibernate.Caches.Redis.Sample.Mapping;
using StackExchange.Redis;
namespace NHibernate.Caches.Redis.Sample
{
public class MvcApplicati... | using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.IO;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using NHibernate.Tool.hbm2ddl;
using NHibernate.Caches.Redis.Sample.Mapping;
using StackExchange.Redis;
namespace NHibernate.Caches.Redis.Sample
{
public class MvcApplicati... | mit | C# |
4f7de01eee7776de662674567f36766bc2365730 | Make team properties read-only | brwml/MatchMakerTool | Reporting/Models/Team.cs | Reporting/Models/Team.cs | namespace MatchMaker.Reporting.Models;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Linq;
using Ardalis.GuardClauses;
/// <summary>
/// Defines the <see cref="Team" />
/// </summary>
[DataContract]
[DebuggerDisplay("Team {Name} ({Id})")]
public class Team
{
/// <... | namespace MatchMaker.Reporting.Models;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Linq;
using Ardalis.GuardClauses;
/// <summary>
/// Defines the <see cref="Team" />
/// </summary>
[DataContract]
[DebuggerDisplay("Team {Name} ({Id})")]
public class Team
{
/// <... | mit | C# |
dfd48fba04b92204903eee8466e54fed7f445b57 | Fix line endings. | pedwik/DotSpatial,donogst/DotSpatial,pedwik/DotSpatial,pergerch/DotSpatial,pergerch/DotSpatial,DotSpatial/DotSpatial,CGX-GROUP/DotSpatial,pergerch/DotSpatial,swsglobal/DotSpatial,bdgza/DotSpatial,DotSpatial/DotSpatial,swsglobal/DotSpatial,donogst/DotSpatial,bdgza/DotSpatial,DotSpatial/DotSpatial,donogst/DotSpatial,pedw... | Source/DotSpatial.NTSExtension/LineStringExt.cs | Source/DotSpatial.NTSExtension/LineStringExt.cs | using System;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;
namespace DotSpatial.NTSExtension
{
/// <summary>
/// Contains extension methodes for GeoAPI.Geomtetries.ILineString.
/// </summary>
public static class LineStringExt
{
/// <summary>
/// Gets th... | using System;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;
namespace DotSpatial.NTSExtension
{
/// <summary>
/// Contains extension methodes for GeoAPI.Geomtetries.ILineString.
/// </summary>
public static class LineStringExt
{
/// <summary>
/// Gets the value of ... | mit | C# |
fe6064b77366cfc057efee1f1276fb3e5d5fae2d | Fix issue with DiffYears | novuslogic/NovuscodeLibrary.NET | Source/NovusCodeLibrary4.Utils/DateTimeUtils.cs | Source/NovusCodeLibrary4.Utils/DateTimeUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NovusCodeLibrary.Utils
{
public class DateTimeUtils
{
public static int DiffDays(DateTime aDateTime2, DateTime aDateTime1)
{
TimeSpan diff = aDateTime2 - aDateTime1;
int day... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NovusCodeLibrary.Utils
{
public class DateTimeUtils
{
public static int DiffDays(DateTime aDateTime2, DateTime aDateTime1)
{
TimeSpan diff = aDateTime2 - aDateTime1;
int day... | apache-2.0 | C# |
32f9829c834c1a1e625a5164d1f2f74d9eec3222 | add iequatable for axongene | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/Genes/AxonGene.cs | NeuralNetwork/NeuralNetwork/Genes/AxonGene.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace ArtificialNeuralNetwork.Genes
{
public class AxonGene : IEquatable<AxonGene>
{
public Type ActivationFunction { get; set; }
public IList<double> Weights { get; set; }
#region Equality Members
/// <sum... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ArtificialNeuralNetwork.Genes
{
public class AxonGene
{
public Type ActivationFunction { get; set; }
public IList<double> Weights { get; set; }
}
}
| mit | C# |
908570344fec2f9559639b25f24071a596e76889 | add framework characterization test for int parse invalid fromat | maxhauser/semver | Semver.Test/FrameworkCharacterizationTests.cs | Semver.Test/FrameworkCharacterizationTests.cs | using System;
using System.Globalization;
using Xunit;
namespace Semver.Test
{
/// <summary>
/// These tests serve to verify or clarify the behavior of standard .NET framework
/// types which <see cref="SemVersion"/> is modeled on. This helps to ensure the
/// behavior is consistent with that... | using System;
using System.Globalization;
using Xunit;
namespace Semver.Test
{
/// <summary>
/// These tests serve to verify or clarify the behavior of standard .NET framework
/// types which <see cref="SemVersion"/> is modeled on. This helps to ensure the
/// behavior is consistent with that... | mit | C# |
0b962e98660ceeba287dcc4a8f37fe6389736f91 | Revert "I made modification for testing" | ramyothman/DotNetAnalyticsAPI | SimpleAnalytics/AnalyticsTest/Default.aspx.cs | SimpleAnalytics/AnalyticsTest/Default.aspx.cs | using Google.Apis.Auth.OAuth2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AnalyticsTest
{
public partial class Default : System.Web.UI.Page
{
p... | using Google.Apis.Auth.OAuth2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AnalyticsTest
{
public partial class Default : System.Web.UI.Page
{
p... | mit | C# |
01fdcdee11a35504616ce72107c7f090f121f73e | Fix LaunchSimulator | ghuntley/Cake.AppleSimulator,ghuntley/Cake.AppleSimulator | src/Cake.AppleSimulator/Simulator/SimulatorRunner.cs | src/Cake.AppleSimulator/Simulator/SimulatorRunner.cs | using System;
using Cake.AppleSimulator.SimCtl;
using Cake.AppleSimulator.XCRun;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.AppleSimulator.Simulator
{
internal sealed class SimulatorRunner : SimulatorTool<SimulatorSettings>
{
private reado... | using Cake.AppleSimulator.SimCtl;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Core.Tooling;
using System;
namespace Cake.AppleSimulator.Simulator
{
internal sealed class SimulatorRunner : SimulatorTool<SimulatorSettings>
{
private readonly ICakeLog _log;
privat... | mit | C# |
0d98a4ac3c216283ccd16e3a93bdbfc91eecb123 | Add tracking link. | nguerrera/roslyn,MichalStrehovsky/roslyn,tmat/roslyn,AlekseyTs/roslyn,jmarolf/roslyn,jmarolf/roslyn,dotnet/roslyn,jcouv/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,KirillOsenkov/roslyn,nguerrera/roslyn,heejaechang/roslyn,aelij/roslyn,tannergooding/roslyn,gafter/roslyn,mavasani/roslyn,gafter/roslyn,eriawan/roslyn,weltkante... | src/EditorFeatures/Core/Wrapping/AbstractWrapper.cs | src/EditorFeatures/Core/Wrapping/AbstractWrapper.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.... | mit | C# |
92ec14bbb15ddc7e3d7b85a3e151fdcf6914d5ce | Print 'data' fields for generic events | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/ApiClient/GenericEvent.cs | src/SyncTrayzor/SyncThing/ApiClient/GenericEvent.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace SyncTrayzor.SyncThing.ApiClient
{
public class GenericEvent : Event
{
public override void Visit(IEventVisitor visitor)
{
visitor.Accept(this);
}
... | namespace SyncTrayzor.SyncThing.ApiClient
{
public class GenericEvent : Event
{
public override void Visit(IEventVisitor visitor)
{
visitor.Accept(this);
}
public override string ToString()
{
return $"<GenericEvent ID={this.Id} Type={this.Type} T... | mit | C# |
f634bef1f3e57e40c63fa7fd78f9dff0eea778f0 | Update the Optional<T> so current semantics are explicitly documented | AlekseyTs/roslyn,tannergooding/roslyn,jeffanders/roslyn,ErikSchierboom/roslyn,robinsedlaczek/roslyn,mattscheffer/roslyn,MichalStrehovsky/roslyn,AnthonyDGreen/roslyn,nguerrera/roslyn,tvand7093/roslyn,bkoelman/roslyn,CyrusNajmabadi/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,MattWindsor91/roslyn,tmeschter/roslyn,MattWi... | src/Compilers/Core/Portable/Optional.cs | src/Compilers/Core/Portable/Optional.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Represents a value type that can be assigned null.
/// </summary>
/// <ty... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Represents a value type that can be assigned null.
/// </summary>
/// <typeparam name="T... | mit | C# |
165e891d297f89f972d4201788ffaf9b4d35fa79 | Update IDecorator.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Model/Renderer/IDecorator.cs | src/Core2D/Model/Renderer/IDecorator.cs | using System.Collections.Generic;
using Core2D.Containers;
using Core2D.Input;
using Core2D.Shapes;
namespace Core2D.Renderer
{
/// <summary>
/// Defines decorator contract.
/// </summary>
public interface IDecorator : IObservableObject, IDrawable
{
/// <summary>
/// Gets or sets ... | using System.Collections.Generic;
using Core2D.Containers;
using Core2D.Input;
using Core2D.Shapes;
namespace Core2D.Renderer
{
/// <summary>
/// Defines decorator contract.
/// </summary>
public interface IDecorator : IObservableObject, IDrawable
{
/// <summary>
/// Gets or sets ... | mit | C# |
939ce024dea1d0d96e6a14ffdeb204bff73f8a91 | Add Application.Quit to Test -- seems to work fine | mono/dbus-sharp-glib,mono/dbus-sharp-glib | examples/Test.cs | examples/Test.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using GLib;
using Gtk;
using NDesk.DBus;
using org.freedesktop.DBus;
public class TestGLib
{
public static void OnClick (object o, EventArgs args)
{
foreach (string n in b... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using GLib;
using Gtk;
using NDesk.DBus;
using org.freedesktop.DBus;
public class TestGLib
{
public static void OnClick (object o, EventArgs args)
{
foreach (string n in b... | mit | C# |
3a75695f6628bde79577c6a2fb596b855505ae5b | fix build | corvusalba/my-little-lispy,corvusalba/my-little-lispy | src/CorvusAlba.MyLittleLispy.Runtime/Scope.cs | src/CorvusAlba.MyLittleLispy.Runtime/Scope.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace CorvusAlba.MyLittleLispy.Runtime
{
public class Scope
{
private readonly Dictionary<string, Value> _locals;
public Scope(IEnumerable<string> args, IEnumerable<Value> values)
{
_locals = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace CorvusAlba.MyLittleLispy.Runtime
{
public class Scope
{
private readonly Dictionary<string, Value> _locals;
public Scope(IEnumerable<string> args, IEnumerable<Value> values)
{
_locals = ... | mit | C# |
1bc8be8ea8a4154ccb08273ce59c9e8881f6d3e9 | Improve naming of tests to clearly indicate the feature to be tested | oliverzick/Delizious-Filtering | src/Library.Test/GreaterThanOrEqualToTests.cs | src/Library.Test/GreaterThanOrEqualToTests.cs | #region Copyright and license
// // <copyright file="GreaterThanOrEqualToTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // ... | #region Copyright and license
// // <copyright file="GreaterThanOrEqualToTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // ... | apache-2.0 | C# |
acdd94b071f9e9c3a89553d9d77f5c3fe397e9c0 | remove the result of execute action | Topicomb/Forum,Topicomb/Forum | test/Topicomb.Forum.Tests/AccountControllerTests.cs | test/Topicomb.Forum.Tests/AccountControllerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Security.Claims;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Data.Entity;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Abstractions;
using To... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Security.Claims;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Data.Entity;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Abstractions;
using To... | apache-2.0 | C# |
82947e5ba57be81bdb43bce864fa1222567f88af | Use EmptyLineBotLogger in unit tests. | dlemstra/line-bot-sdk-dotnet,dlemstra/line-bot-sdk-dotnet | tests/LineBot.Tests/TestHelpers/TestConfiguration.cs | tests/LineBot.Tests/TestHelpers/TestConfiguration.cs | // Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you under the Apache License,
// version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at:
//
// https://www.a... | // Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you under the Apache License,
// version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at:
//
// https://www.a... | apache-2.0 | C# |
620e83a827d533476cc048019f535dede114ed2f | Add AssemblyInformationalVersion attribute | maxhauser/semver | Semver/Properties/AssemblyInfo.cs | Semver/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("A semantic version implementation.")]
[assembly: AssemblyCompany("Max Hauser")]
[assembly: AssemblyProduct("Semver")]
[assembly: AssemblyCopyright("Copyright © 2013 Max Hauser")]
[assembly: ComVisible(false)]
[assembly: Gui... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("A semantic version implementation.")]
[assembly: AssemblyCompany("Max Hauser")]
[assembly: AssemblyProduct("Semver")]
[assembly: AssemblyCopyright("Copyright © 2013 Max Hauser")]
[assembly: ComVisible(false)]
[assembly: Gui... | mit | C# |
6505faf10ae69bcb0d90319bd6937ec4be3be754 | Remove more unnecessary usings | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/ViewModels/Comment.cs | src/AtomicChessPuzzles/ViewModels/Comment.cs | namespace AtomicChessPuzzles.ViewModels
{
public class Comment
{
public string ID { get; set; }
public string BodySanitized { get; set; }
public string Author { get; set; }
public int Score { get; set; }
public int IndentLevel { get; set; }
public bool Deleted { ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AtomicChessPuzzles.ViewModels
{
public class Comment
{
public string ID { get; set; }
public string BodySanitized { get; set; }
public string Author { get; set; }
public i... | agpl-3.0 | C# |
221abd577d81c1aa04a8eb2f322fe9574050da65 | Clean up | Dev-Owl/pillowsharp,Dev-Owl/pillowsharp | src/libary/BaseObject/AllDocumentsValue.cs | src/libary/BaseObject/AllDocumentsValue.cs | using Newtonsoft.Json;
namespace PillowSharp.BaseObject
{
public class AllDocResponse {
[JsonProperty("rev")]
public string Revision { get; set; }
}
}
|
using Newtonsoft.Json;
namespace PillowSharp.BaseObject
{
public class AllDocResponse {
[JsonProperty("rev")]
public string Revision { get; set; }
}
}
| apache-2.0 | C# |
63c4f231e4512f2861f6fd9c2fc84656f5007833 | Add Find method to expression map | NRules/NRules | src/NRules/NRules.RuleModel/ExpressionMap.cs | src/NRules/NRules.RuleModel/ExpressionMap.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel
{
/// <summary>
/// Sorted readonly map of named expressions.
/// </summary>
public class ExpressionMap : IEnumerable<NamedExpressionElement>
{
private readonly SortedDict... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel
{
/// <summary>
/// Sorted readonly map of named expressions.
/// </summary>
public class ExpressionMap : IEnumerable<NamedExpressionElement>
{
private readonly SortedDict... | mit | C# |
ec02cfec6fa101588ede94405f4007ac67d2e8aa | Make StartUp do nothing if we're already running. | habibmasuro/uhttpsharp,habibmasuro/uhttpsharp,raistlinthewiz/uhttpsharp,lstefano71/uhttpsharp,int6/uhttpsharp,int6/uhttpsharp,Code-Sharp/uHttpSharp,Code-Sharp/uHttpSharp,raistlinthewiz/uhttpsharp,lstefano71/uhttpsharp | uhttpsharp/HttpServer.cs | uhttpsharp/HttpServer.cs | /*
* Copyright (C) 2011 uhttpsharp project - http://github.com/raistlinthewiz/uhttpsharp
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (a... | /*
* Copyright (C) 2011 uhttpsharp project - http://github.com/raistlinthewiz/uhttpsharp
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (a... | lgpl-2.1 | C# |
2a06eed424341fd9df31607706ee76d84f31445f | test was built for VS 2010 so needs to run under 4.0 tools | apache/npanday,apache/npanday,apache/npanday,apache/npanday | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/WindowsExecutableTest.cs | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/WindowsExecutableTest.cs | //
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ... | //
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ... | apache-2.0 | C# |
98becfff3cb445648e349ff46993934c76654f33 | test scenario is no longer valid given changed implementation. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.UnitTests/Queries/GetAccountFinanceOverviewTests/WhenIValidateTheRequest.cs | src/SFA.DAS.EmployerFinance.UnitTests/Queries/GetAccountFinanceOverviewTests/WhenIValidateTheRequest.cs | using System;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Authorization.EmployerUserRoles.Options;
using SFA.DAS.Authorization.Services;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Queries.GetAccountFinanceOverview;
namespace SFA.DAS.EmployerFinance.UnitTests.Qu... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Authorization.EmployerUserRoles.Options;
using SFA.DAS.Authorization.Services;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Queries.GetAccountFinanceOverview;
namespace SF... | mit | C# |
71c22b4d73a6fc7ba91833f92187e3596462401f | Modify GlobalShortcut.Register to return a bool. | xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp | electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/GlobalShortcut.cs | electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/GlobalShortcut.cs | using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Script;
namespace WebSharpJs.Electron
{
public class GlobalShortcut : EventEmitter
{
protected override string ScriptProxy => @"globalShortcut;";
protected override string Requires => @"const {globalShortcut... | using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Script;
namespace WebSharpJs.Electron
{
public class GlobalShortcut : EventEmitter
{
protected override string ScriptProxy => @"globalShortcut;";
protected override string Requires => @"const {globalShortcut... | mit | C# |
25daea0b355c86aa8604bb648942e3f35f3be56e | Remove temp variable in Quick csharp | sylviot/algoritmos,sylviot/algoritmos,sylviot/algoritmos | sort/Quick.cs | sort/Quick.cs | using System;
using System.Collections.Generic;
using System.IO;
class QuickSort
{
static void Main(String[] args)
{
int[] unsorted = new int[]{2,3,1,5,4};
int[] sorted = Quick(unsorted);
foreach(var item in sorted)
{
Console.WriteLine(item);
}
}
// Método utilizado apenas p... | using System;
using System.Collections.Generic;
using System.IO;
class QuickSort
{
static void Main(String[] args)
{
int[] unsorted = new int[]{2,3,1,5,4};
int[] sorted = Quick(unsorted);
foreach(var item in sorted)
{
Console.WriteLine(item);
}
}
// Método utilizado apenas p... | mit | C# |
73825e5ae157e94b47c5a04cbed0ab1df693fc7c | improve alpha/beta logic | MasakiMuto/LifegameGame | LifegameGame/AlphaBetaPlayer.cs | LifegameGame/AlphaBetaPlayer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace LifegameGame
{
using PointScoreDictionary = Dictionary<Point, float>;
public class AlphaBetaPlayer : AIPlayerBase
{
readonly int ThinkDepth;
public AlphaBetaPlayer(GameBoard board, CellSta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace LifegameGame
{
using PointScoreDictionary = Dictionary<Point, float>;
public class AlphaBetaPlayer : AIPlayerBase
{
readonly int ThinkDepth;
public AlphaBetaPlayer(GameBoard board, CellSta... | mit | C# |
a4c864d589439650cbb8ba8fe0b61e7389fbc432 | Update Rengar.cs | metaphorce/leaguesharp | MetaSmite/Champions/Rengar.cs | MetaSmite/Champions/Rengar.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Rengar
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Rengar
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | mit | C# |
d691de09b7b279191ed46c242fd7d0cf650a29c9 | remove array | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
99ac0cb254b1d3a4db78f8353957a792ebb4b9ed | Change timing output to make easier to paste results in to Excel | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/Approvals/Tools/SFA.DAS.Commitments.EFCoreTester/Timing/OperationTimingOutputter.cs | src/Approvals/Tools/SFA.DAS.Commitments.EFCoreTester/Timing/OperationTimingOutputter.cs | using System;
using System.Linq;
using SFA.DAS.Commitments.EFCoreTester.Interfaces;
namespace SFA.DAS.Commitments.EFCoreTester.Timing
{
public class OperationTimingOutputter : IOperationTimingOutputter
{
public void ShowLog(IOperation operation)
{
Console.WriteLine("Operation (root... | using System;
using System.Linq;
using SFA.DAS.Commitments.EFCoreTester.Interfaces;
namespace SFA.DAS.Commitments.EFCoreTester.Timing
{
public class OperationTimingOutputter : IOperationTimingOutputter
{
public void ShowLog(IOperation operation)
{
Console.WriteLine("Operation (root... | mit | C# |
65d5fc1fedaf478a92f11099c0e10788b62ab30b | Update UploadHandler.ashx.cs | komsanb/ng-file-upload,yan5845hao/ng-file-upload,krystiangw/angular-file-upload,edgibbs/ng-file-upload,lewis-ing/ng-file-upload,johan--/ng-file-upload,komsanb/ng-file-upload,mujiansu/ng-file-upload,waysay/ng-file-upload,sjava9s/ng-file-upload,edivancamargo/ng-file-upload,wrenth04/ng-file-upload,Verdier/ng-file-upload,s... | demo/C#/UploadHandler.ashx.cs | demo/C#/UploadHandler.ashx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MyApp.Uploads
{
/// <summary>
/// Summary description for UploadHandler
/// </summary>
public class UploadHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MyApp.Uploads
{
/// <summary>
/// Summary description for UploadHandler
/// </summary>
public class UploadHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
... | mit | C# |
68d196b0d4e19da43d44b64325b1a05436696cf7 | Rename Raytraced settings Options page to just Cycles. | mcneel/RhinoCycles | Settings/OptionsDialogPage.cs | Settings/OptionsDialogPage.cs | /**
Copyright 2014-2017 Robert McNeel and Associates
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 agreed to in wr... | /**
Copyright 2014-2017 Robert McNeel and Associates
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 agreed to in wr... | apache-2.0 | C# |
0d2dd884aded0d4b1dab2eab027ef9b0fcd61eac | Remove TypeInfo usage from Avalonia.Visuals. | AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/... | src/Avalonia.Visuals/VisualTree/VisualLocator.cs | src/Avalonia.Visuals/VisualTree/VisualLocator.cs | using System;
using System.Linq;
using Avalonia.Reactive;
namespace Avalonia.VisualTree
{
public class VisualLocator
{
public static IObservable<IVisual> Track(IVisual relativeTo, int ancestorLevel, Type ancestorType = null)
{
return new VisualTracker(relativeTo, ancestorLevel, anc... | using System;
using System.Linq;
using System.Reactive.Linq;
using System.Reflection;
using Avalonia.Reactive;
namespace Avalonia.VisualTree
{
public class VisualLocator
{
public static IObservable<IVisual> Track(IVisual relativeTo, int ancestorLevel, Type ancestorType = null)
{
re... | mit | C# |
acc4c70fffec81a818ab8e585011702a5ac04110 | Simplify settings synchronizer | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/UnitySettingsSynchronizer.cs | resharper/resharper-unity/src/Rider/UnitySettingsSynchronizer.cs | using JetBrains.Application.Settings;
using JetBrains.DataFlow;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.DataContext;
using JetBrains.ReSharper.Host.Features;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Settings;
using JetBrains.Rider.Model;
namespac... | using JetBrains.Application.Settings;
using JetBrains.DataFlow;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.DataContext;
using JetBrains.ReSharper.Host.Features;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Settings;
using JetBrains.Rider.Model;
namespac... | apache-2.0 | C# |
9764edb35ae81b45567bb9c91f01179fe3d62685 | bump version | tomestephens/NAntScriptBuilder | src/NAntScriptBuilder/Properties/AssemblyInfo.cs | src/NAntScriptBuilder/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NA... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NA... | mit | C# |
5522f022576e8e20225d2c3094b06529a7848bc1 | Fix crazy Unix line endings ;) | BenJenkinson/nodatime,nodatime/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,nodatime/nodatime,zaccharles/nodatime | src/NodaTime/Utility/InvalidNodaDataException.cs | src/NodaTime/Utility/InvalidNodaDataException.cs | // Copyright 2013 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.Utility
{
/// <summary>
/// Exception thrown when data read by Noda Time (such as serialized time zone ... | // Copyright 2013 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.Utility
{
/// <summary>
/// Exception thrown when data read by Noda Time (such as serialized time zone data) is ... | apache-2.0 | C# |
de94df9925ec882a84a7076acb20fe3fd2f744b8 | Update DMPPlugin docstrings | 81ninja/DarkMultiPlayer,81ninja/DarkMultiPlayer | Server/DMPPlugin.cs | Server/DMPPlugin.cs | using System;
using DarkMultiPlayerCommon;
namespace DarkMultiPlayerServer
{
public interface IDMPPlugin
{
/// <summary>
/// Fires every main thread tick (10ms).
/// </summary>
void OnUpdate();
/// <summary>
/// Fires just after the server is started or restarte... | using System;
using DarkMultiPlayerCommon;
namespace DarkMultiPlayerServer
{
public interface IDMPPlugin
{
/// <summary>
/// Fires every main thread tick (10ms).
/// </summary>
void OnUpdate();
/// <summary>
/// Fires just after the server is started or restarte... | mit | C# |
75c38e358ba4ef4068e72ab042a370840aa9e047 | update license | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/Timer/CountDownTimer.cs | Unity/Timer/CountDownTimer.cs | /**
MIT License
Copyright (c) 2017 - 2019 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | /**
MIT License
Copyright (c) 2017 - 2018 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | mit | C# |
9d18ccfcf7e233ddc6e04e9f16f9ecb4cab1007d | clean up map tool | Esri/coordinate-tool-addin-dotnet | source/CoordinateTool/ProAppCoordToolModule/CoordinateMapTool.cs | source/CoordinateTool/ProAppCoordToolModule/CoordinateMapTool.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArcGIS.Desktop.Mapping;
using ArcGIS.Core.Geometry;
using ArcGIS.Desktop.Framework.Threading.Tasks;
using ArcGIS.Desktop.Framework;
namespace ProAppCoordToolModule
{
internal class CoordinateM... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArcGIS.Desktop.Mapping;
using ArcGIS.Core.Geometry;
using ArcGIS.Desktop.Framework.Threading.Tasks;
using ArcGIS.Desktop.Framework;
using System.Windows.Documents;
namespace ProAppCoordToolModule
... | apache-2.0 | C# |
be70d0e1ea242e6a7ba0829a188240bd453a26bd | Fix 'yarn audit'. Register the Audit alias | MilovanovM/cake-yarn,MilovanovM/cake-yarn | src/Cake.Yarn/IYarnRunnerCommands.cs | src/Cake.Yarn/IYarnRunnerCommands.cs | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | mit | C# |
4b3346c4ad3b7d0451b11c78e0d9652af1d3939d | Fix Test | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresherTests/Observations/FileObservationTests.cs | code/SoftwareThresher/SoftwareThresherTests/Observations/FileObservationTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SoftwareThresher.Observations;
namespace SoftwareThresherTests.Observations {
[TestClass]
public class FileObservationTests {
[TestMethod]
public void Name_JustName() {
var name = "name";
var observation = new FileObservati... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SoftwareThresher.Observations;
namespace SoftwareThresherTests.Observations {
[TestClass]
public class FileObservationTests {
[TestMethod]
public void Name_JustName() {
var name = "name";
var observation = new FileObservati... | mit | C# |
4c0bc37cb5349b21c0102d0738b0f45e93b3e4d1 | fix logic in reminder tests | Chris-Johnston/CSSBot | CSSBot.Tests/ReminderTests.cs | CSSBot.Tests/ReminderTests.cs | using System;
using Xunit;
using CSSBot.Reminders.Models;
namespace CSSBot.Tests
{
public class ReminderTests
{
[Fact]
public void TestReminder()
{
// some basic tests of Reminder
Reminder r = new Reminder();
r.ReminderTime = DateTime.Now;
... | using System;
using Xunit;
using CSSBot.Reminders.Models;
namespace CSSBot.Tests
{
public class ReminderTests
{
[Fact]
public void TestReminder()
{
// some basic tests of Reminder
Reminder r = new Reminder();
Assert.Empty(r.ReminderTimeSpans);
... | mit | C# |
dca2c69a7ff2c2a6b6315d85cdb9d3044fd42574 | Remove deprecated Select Folder signature from file dialogs. | MatterHackers/agg-sharp,mmoening/agg-sharp,mmoening/agg-sharp,jlewin/agg-sharp,larsbrubaker/agg-sharp,mmoening/agg-sharp | Gui/FileDialogs/FileDialog.cs | Gui/FileDialogs/FileDialog.cs | using System;
using System.IO;
namespace MatterHackers.Agg.UI
{
public abstract class FileDialogCreator
{
public delegate void OpenFileDialogDelegate( OpenFileDialogParams openParams );
public delegate void SelectFolderDialogDelegate( SelectFolderDialogParams folderParams );
public delegate void SaveFil... | using System;
using System.IO;
namespace MatterHackers.Agg.UI
{
public abstract class FileDialogCreator
{
public delegate void OpenFileDialogDelegate( OpenFileDialogParams openParams );
public delegate void SelectFolderDialogDelegate( SelectFolderDialogParams folderParams );
public delegate void SaveFil... | bsd-2-clause | C# |
6474f4dff780110fd2da357d84bac053bf830dfb | Fix - Dalla Lista dei mezziMarker vengono esclusi i mezzi con Coordinate Fake | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneSoccorso/Marker/MezziMarker/MezziMarkerQueryHandler.cs | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneSoccorso/Marker/MezziMarker/MezziMarkerQueryHandler.cs | //-----------------------------------------------------------------------
// <copyright file="SintesiMezziMarkerQueryHandler.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | //-----------------------------------------------------------------------
// <copyright file="SintesiMezziMarkerQueryHandler.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | agpl-3.0 | C# |
09cd447d6cd1d01a6f1a2938093553a7ca349af3 | Use `ConfigureAwait(false)` | eggapauli/ExtractTypeToFileDiagnostic | ExtractTypeToFileDiagnostic/ExtractTypeToFileDiagnostic/ExtractTypeToFileCodeFixProvider.cs | ExtractTypeToFileDiagnostic/ExtractTypeToFileDiagnostic/ExtractTypeToFileCodeFixProvider.cs | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp... | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp... | mit | C# |
76de9382d17ff8bab386faa78e4d72137422888e | Remove debug code. | relaxnow/TweetSentNL,relaxnow/TweetSentNL | src/Controllers/SearchController.cs | src/Controllers/SearchController.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TweetSharp;
namespace TweetSentNL.Controllers
{
public class SearchController : Controller
{
public ActionResult Start()
{
retu... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TweetSharp;
namespace TweetSentNL.Controllers
{
public class SearchController : Controller
{
public ActionResult Start()
{
retu... | apache-2.0 | C# |
66396c766b98a3c4857784426c509b0409a1b592 | Add new fields into User object | ZumoCommunity/Identity-API,ZumoCommunity/Identity-API | src/IdentityApi.Host/Models/User.cs | src/IdentityApi.Host/Models/User.cs | using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace IdentityApi.Models {
public class User : TableEntity {
public static string DefaultPartitionKey = "Users";
public User() {
PartitionKey = DefaultPartitionKey;
RowKey = Guid.NewGuid().ToString("N")... | using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace IdentityApi.Models {
public class User : TableEntity {
public static string DefaultPartitionKey = "Users";
public User() {
PartitionKey = DefaultPartitionKey;
RowKey = Guid.NewGuid().ToString("N")... | mit | C# |
dcc6cccd7f58caff06669c6ed23a9c4c7f6963d5 | Add Filter PowerShell | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JeromeBezetTorres.cs | src/Firehose.Web/Authors/JeromeBezetTorres.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JM2K69 : IAmACommunityMember
{
public string FirstName => "Jerome";
public string LastName... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JM2K69 : IAmACommunityMember
{
public string FirstName => "Jerome";
public string LastName... | mit | C# |
40e52c00c3e00c798f6f1ff2b93ae3ec86c48516 | Add urlize method | lunet-io/lunet,lunet-io/lunet | src/Lunet.Core/Core/HelperObject.cs | src/Lunet.Core/Core/HelperObject.cs | using System;
using System.Globalization;
using System.Text;
using Scriban.Runtime;
using Zio;
namespace Lunet.Core
{
public class HelperObject : DynamicObject<SiteObject>
{
public HelperObject(SiteObject parent) : base(parent)
{
parent.SetValue(SiteVariables.Helpers, this, true);
... | namespace Lunet.Core
{
public class HelperObject : DynamicObject<SiteObject>
{
public HelperObject(SiteObject parent) : base(parent)
{
parent.SetValue(SiteVariables.Helpers, this, true);
Head = parent.Scripts.CompileAnonymous("include 'builtins/head.sbn-html'");
... | bsd-2-clause | C# |
fca9c70c1b47bd986fe089e675f85ea44d9b6690 | Move timeline hit object test to immediately viewable area | UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Tests/Visual/Editing/TestSceneTimelineHitObjectBlueprint.cs | osu.Game.Tests/Visual/Editing/TestSceneTimelineHitObjectBlueprint.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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Rulesets.Osu.O... | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Rulesets.Osu.O... | mit | C# |
d488b479299718beff16a7661b525aca7778ac77 | Update AncestorElement.cs | thelgevold/xpathitup | XPathFinder/AncestorElement.cs | XPathFinder/AncestorElement.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XPathItUp
{
internal class AncestorElement : Base, IAncestorElement
{
public static AncestorElement Create(List<string> expressionParts,string tag)
{
return new AncestorElement... | /*
Copyright (C) 2010 Torgeir Helgevold
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed ... | mit | C# |
09c098cc047adb801a35233f6c05a839153fec8c | Update VacancyClosed.cshtml | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyClosed.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyClosed.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
@{
var applicationsTextSuffix = Model.NoOfApplications.HasValue && Model.NoOfApplications.Value.Equals(1) ? "application" : "applications";
}
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprentices... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
@{
var applicationsTextSuffix = Model.NoOfNewApplications.HasValue && Model.NoOfNewApplications.Value.Equals(1) ? "application" : "applications";
}
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your appre... | mit | C# |
a949e89f85b48c12f038a1395b18b57b1c923a41 | Fix missing member in AzurePipelinesRepositoryType | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/CI/AzurePipelines/AzurePipelinesRepositoryType.cs | source/Nuke.Common/CI/AzurePipelines/AzurePipelinesRepositoryType.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.CI.AzurePipelines
{
[PublicAPI]
public enum AzurePipelinesRepositoryType
{
///... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.CI.AzurePipelines
{
[PublicAPI]
public enum AzurePipelinesRepositoryType
{
///... | mit | C# |
8709b1393f9bd4bf35997f0d6ccdd763f7754d9c | Make IDEDiagnosticIDs distinct | mgoertz-msft/roslyn,robinsedlaczek/roslyn,davkean/roslyn,balajikris/roslyn,mmitche/roslyn,bbarry/roslyn,nguerrera/roslyn,jhendrixMSFT/roslyn,tmeschter/roslyn,stephentoub/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,agocke/roslyn,heejaechang/roslyn,weltkante/roslyn,TyOverby/roslyn,mattscheffer/roslyn,orthoxerox/roslyn,... | src/Features/Core/Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs | src/Features/Core/Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal static class IDEDiagnosticIds
{
public const string SimplifyNamesDiagnosticId = "IDE0... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal static class IDEDiagnosticIds
{
public const string SimplifyNamesDiagnosticId = "IDE0... | mit | C# |
225adbdae2af28ceb19195001fbdde60b8783a61 | Use interface, not concrete type, for Unity Fluent extension. | WaveServiceBus/WaveServiceBus | src/Wave.IoC.Unity/Extensions/FluentConfigurationSourceExtensions.cs | src/Wave.IoC.Unity/Extensions/FluentConfigurationSourceExtensions.cs | /* Copyright 2014 Jonathan Holland.
*
* 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 agreed to in ... | /* Copyright 2014 Jonathan Holland.
*
* 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 agreed to in ... | apache-2.0 | C# |
8420b72429766080912132bf6c51f7d2af4fe3f6 | Fix tests | joaoasrosa/nppxmltreeview,joaoasrosa/nppxmltreeview | tests/NppXmlTreeviewPlugin.Parsers.Tests.Unit/WhenParsingValidXml.cs | tests/NppXmlTreeviewPlugin.Parsers.Tests.Unit/WhenParsingValidXml.cs | using System.IO;
using FluentAssertions;
using Xunit;
namespace NppXmlTreeviewPlugin.Parsers.Tests.Unit
{
public class WhenParsingValidXml
{
[Theory]
[InlineData(@"./TestFiles/NPP_comments.xml")]
[InlineData(@"./Test/FilesNPP_nocomments.xml")]
public void GivenValidXml_ThenFo... | using System.IO;
using FluentAssertions;
using Xunit;
namespace NppXmlTreeviewPlugin.Parsers.Tests.Unit
{
public class WhenParsingValidXml
{
[Theory]
[InlineData(@"./NPP_comments.xml")]
[InlineData(@"./NPP_nocomments.xml")]
public void GivenValidXml_ThenFoo(string path)
... | apache-2.0 | C# |
9e3c5718243b9ea066e713ffd91293f378ed5632 | Add documentation to UnableToGenerateValueException | invio/Peddler,invio/Peddler | src/Peddler/UnableToGenerateValueException.cs | src/Peddler/UnableToGenerateValueException.cs | using System;
namespace Peddler {
/// <summary>
/// A base exception for when an <see cref="T:Peddler.IComparableGenerator`1"/> or an
/// <see cref="T:Peddler.IDistinctGenerator`1"/> cannot generate value because their
/// internal restaints are incompatible with the value provided.
/// </summary>... | using System;
namespace Peddler {
public class UnableToGenerateValueException : ArgumentException {
public UnableToGenerateValueException() :
base() {}
public UnableToGenerateValueException(String message) :
base(message) {}
public UnableToGenerateValueException(... | mit | C# |
302f8a7ad3c63616eaca2ecc65de06dae7c1340e | Update Program.cs | IPetrov007/Softuni-Programing-Fundamentals | AdvancedCollections/AdvancedCollections/04_GroupContinentsCoun/Program.cs | AdvancedCollections/AdvancedCollections/04_GroupContinentsCoun/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GroupContinentsCountriesCities
{
class Program
{
static void Main(string[] args)
{
var result = new SortedDictionary<string, SortedDictionary<string, Sorted... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GroupContinentsCountriesCities
{
class Program
{
static void Main(string[] args)
{
var result = new SortedDictionary<string, SortedDictionary<string, Sorted... | mit | C# |
08e73604018a658224230e6732d681db7359a8fb | Allow multiple DisablePatchingByName | GregRos/Patchwork | Patchwork.Attributes/PatchingAttributes/DisablePatchingByNameAttribute.cs | Patchwork.Attributes/PatchingAttributes/DisablePatchingByNameAttribute.cs | using System;
namespace Patchwork.Attributes {
[Flags]
public enum PatchingTarget {
Method,
Property,
Field,
Event,
Member = Method | Property | Field | Event,
Type,
All = Member | Type
}
/// <summary>
/// This attribute disables patching types and/or methods in the assembly based on a regex you ... | using System;
namespace Patchwork.Attributes {
[Flags]
public enum PatchingTarget {
Method,
Property,
Field,
Event,
Member = Method | Property | Field | Event,
Type,
All = Member | Type
}
/// <summary>
/// This attribute disables patching types and/or methods in the assembly based on a regex you ... | mit | C# |
f4b9eef94902a6e7c4b3db0df7d56b13b6a17dc2 | Test with a slightly larger image. | dlemstra/Magick.NET,dlemstra/Magick.NET | tests/Magick.NET.Tests/Shared/MagickImageTests/TheAddNoiseMethod.cs | tests/Magick.NET.Tests/Shared/MagickImageTests/TheAddNoiseMethod.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
a317d1d0240ffdb91d87be2faee1c0db34d3eafc | Add option to yield return a KMSelectable to toggle-interact with. | ashbash1987/ktanemod-twitchplays,CaitSith2/ktanemod-twitchplays | Assets/Scripts/ComponentSolvers/Modded/CoroutineModComponentSolver.cs | Assets/Scripts/ComponentSolvers/Modded/CoroutineModComponentSolver.cs | using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
public class CoroutineModComponentSolver : ComponentSolver
{
public CoroutineModComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller cancelle... | using System.Collections;
using System.Reflection;
using UnityEngine;
public class CoroutineModComponentSolver : ComponentSolver
{
public CoroutineModComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller, MethodInfo processMethod, Compo... | mit | C# |
2bb0425c9ddfdba2d2a7fa62d063c750c9a1944b | Fix wrong ID. | abock/roslyn,diryboy/roslyn,jeffanders/roslyn,zooba/roslyn,paulvanbrenk/roslyn,brettfo/roslyn,bbarry/roslyn,weltkante/roslyn,xoofx/roslyn,AnthonyDGreen/roslyn,drognanar/roslyn,jcouv/roslyn,heejaechang/roslyn,AnthonyDGreen/roslyn,orthoxerox/roslyn,diryboy/roslyn,panopticoncentral/roslyn,heejaechang/roslyn,gafter/roslyn,... | src/Features/CSharp/Portable/UseExpressionBody/Operators/UseExpressionBodyForConversionOperatorsDiagnosticAnalyzer.cs | src/Features/CSharp/Portable/UseExpressionBody/Operators/UseExpressionBodyForConversionOperatorsDiagnosticAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.D... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.D... | mit | C# |
73c1a89af96dbedcc90335a025f00fd614433ae9 | Revert "No need for string join" | wallymathieu/with | src/With/CommonExtensions.cs | src/With/CommonExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace With
{
using Collections;
/// <summary>
/// Common extensions
/// </summary>
public static class CommonExtensions
{
/// <summary>
/// Execute an action on the object. Return value is the object.
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace With
{
using Collections;
/// <summary>
/// Common extensions
/// </summary>
public static class CommonExtensions
{
/// <summary>
/// Execute an action on the object. Return value is the object.
... | mit | C# |
f598db0603173325d0daaf82765450046dc7947b | change Step action not null from a rule to a requirement | xbehave/xbehave.net,mvalipour/xbehave.net,hitesh97/xbehave.net,modulexcite/xbehave.net,adamralph/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net,hitesh97/xbehave.net | src/Xbehave/Internal/Step.cs | src/Xbehave/Internal/Step.cs | // <copyright file="Step.cs" company="Adam Ralph">
// Copyright (c) Adam Ralph. All rights reserved.
// </copyright>
namespace Xbehave.Internal
{
using System;
using System.Diagnostics.CodeAnalysis;
using Xbehave.Fluent;
internal class Step : IStep
{
private readonly string m... | // <copyright file="Step.cs" company="Adam Ralph">
// Copyright (c) Adam Ralph. All rights reserved.
// </copyright>
namespace Xbehave.Internal
{
using System;
using System.Diagnostics.CodeAnalysis;
using Xbehave.Fluent;
internal class Step : IStep
{
private readonly string m... | mit | C# |
34d88cf0805fbbc0b149e2fe80a1b1bd64cac2b1 | update UpdateMedicalInformationPresenter | army-of-two/when-its-done,army-of-two/when-its-done,army-of-two/when-its-done | WhenItsDone/Lib/WhenItsDone.MVP/AccountPages/ManageMVP/UpdateMedicalInformationMVP/UpdateMedicalInformationPresenter.cs | WhenItsDone/Lib/WhenItsDone.MVP/AccountPages/ManageMVP/UpdateMedicalInformationMVP/UpdateMedicalInformationPresenter.cs | using Bytes2you.Validation;
using WebFormsMvp;
using WhenItsDone.Services.Contracts;
namespace WhenItsDone.MVP.AccountPages.ManageMVP.UpdateMedicalInformationMVP
{
public class UpdateMedicalInformationPresenter : Presenter<IUpdateMedicalInformationView>, IUpdateMedicalInformationPresenter
{
private ... | using Bytes2you.Validation;
using WebFormsMvp;
using WhenItsDone.Services.Contracts;
namespace WhenItsDone.MVP.AccountPages.ManageMVP.UpdateMedicalInformationMVP
{
public class UpdateMedicalInformationPresenter : Presenter<IUpdateMedicalInformationView>, IUpdateMedicalInformationPresenter
{
private ... | mit | C# |
ab2c428df09a2631304d217e7ec5ee76a8200fc7 | build fix | andreyleskov/GridDomain,linkelf/GridDomain | GridDomain.Domain.Tests/EventsUpgrade/DomainEventSerializationTest.cs | GridDomain.Domain.Tests/EventsUpgrade/DomainEventSerializationTest.cs | using System;
using System.IO;
using System.Xml.Serialization;
using Akka.Actor;
using Akka.Serialization;
using GridDomain.EventSourcing.VersionedTypeSerialization;
using GridDomain.Tests.EventsUpgrade.Events;
using GridDomain.Tests.Framework.Configuration;
using Newtonsoft.Json;
using NUnit.Framework;
namespace Grid... | using System;
using System.IO;
using System.Xml.Serialization;
using Akka.Actor;
using Akka.Serialization;
using GridDomain.EventSourcing.VersionedTypeSerialization;
using GridDomain.Tests.EventsUpgrade.Events;
using GridDomain.Tests.Framework.Configuration;
using Newtonsoft.Json;
using NUnit.Framework;
namespace Grid... | apache-2.0 | C# |
df52966d69a8b12e9ba45b99763794fc46f7a98c | Bump version. | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET | src/Arango/Arango.Client/API/ArangoClient.cs | src/Arango/Arango.Client/API/ArangoClient.cs | using System.Collections.Generic;
using System.Linq;
using Arango.Client.Protocol;
namespace Arango.Client
{
public static class ArangoClient
{
private static List<Connection> _connections = new List<Connection>();
public static string DriverName
{
get { return ... | using System.Collections.Generic;
using System.Linq;
using Arango.Client.Protocol;
namespace Arango.Client
{
public static class ArangoClient
{
private static List<Connection> _connections = new List<Connection>();
public static string DriverName
{
get { return ... | mit | C# |
8c5b4d03c72624d4eacd987c188a7ebfe4f57fae | Update InputDataInCellsInRange.cs | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-sha... | Examples/CSharp/Data/AddOn/NamedRanges/InputDataInCellsInRange.cs | Examples/CSharp/Data/AddOn/NamedRanges/InputDataInCellsInRange.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class InputDataInCellsInRange
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Ex... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class InputDataInCellsInRange
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(... | mit | C# |
77e37c49eed09d678fc3a83ca643f95b9caa8698 | add logging to AllowMasterHandler | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Portal/Infrastructure/Authorization/AllowMasterHandler.cs | JoinRpg.Portal/Infrastructure/Authorization/AllowMasterHandler.cs | using System.Linq;
using System.Threading.Tasks;
using JoinRpg.Data.Interfaces;
using JoinRpg.Web.Filter;
using Microsoft.AspNet.Identity;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace JoinRpg.Portal.Infrastructure.Authorization
{
public cl... | using System.Linq;
using System.Threading.Tasks;
using JoinRpg.Data.Interfaces;
using JoinRpg.Web.Filter;
using Microsoft.AspNet.Identity;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
namespace JoinRpg.Portal.Infrastructure.Authorization
{
public class AllowMasterHandler : Authorizati... | mit | C# |
50d35d96e4745b188086557accc786205787cdcc | Update ApiGatewayServer to implement the .NET Core 2.0 changes to IServer | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Libraries/src/Amazon.Lambda.AspNetCoreServer/Internal/ApiGatewayServer.cs | Libraries/src/Amazon.Lambda.AspNetCoreServer/Internal/ApiGatewayServer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Hosting.Internal;
namespace Amazon.Lambda.AspNetCor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Hosting.Internal;
namespace Amazon.Lambda.AspNetCoreServer.Internal
{
/... | apache-2.0 | C# |
cec7b217badda0c3db78fd57eadcffcddf0fe1e5 | Add BitActionButton component Documentation Comments (#538) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Buttons/BitActionButton.razor.cs | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Buttons/BitActionButton.razor.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitActionButton
{
private int? tabIndex;
/// <summary>
/// Whether the action button can have focus in disabled mode... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitActionButton
{
private int? tabIndex;
[Parameter] public bool AllowDisabledFocus { get; set; } = true;
[Parameter... | mit | C# |
ad0971667834e35dc335f6be6557708488b47004 | add the option for both sync and async HTTP | JeffM2501/rpkit,JeffM2501/rpkit | server/Program.cs | server/Program.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Threading;
using RPServer;
namespace server
{
class Program
{
static bool runServer = true;
static Server server;
static void Main(string[] args)
{
Ht... | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Threading;
using RPServer;
namespace server
{
class Program
{
static bool runServer = true;
static Server server;
static void Main(string[] args)
{
Ht... | lgpl-2.1 | C# |
25adb5c5daa104192f22092c60dbf55ad5b7e969 | check if the MarkerObjectsController is active and enabled before use it. | enormand/aruco-unity,enormand/aruco-unity | src/aruco_unity_package/Assets/ArucoUnity/Scripts/Samples/Utility/TrackedMarker.cs | src/aruco_unity_package/Assets/ArucoUnity/Scripts/Samples/Utility/TrackedMarker.cs | using UnityEngine;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Samples
{
namespace Utility
{
public class TrackedMarker : MonoBehaviour
{
// Editor fields
[SerializeField]
[Tooltip("The associated marker id to track")]
priva... | using UnityEngine;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Samples
{
namespace Utility
{
public class TrackedMarker : MonoBehaviour
{
// Editor fields
[SerializeField]
[Tooltip("The associated marker id to track")]
priva... | bsd-3-clause | C# |
39a946f358d5de7ee3478ef537ec581208faff87 | Revert unnecessary change | aaubry/YamlDotNet,aaubry/YamlDotNet,aaubry/YamlDotNet | YamlDotNet/Serialization/NodeTypeResolvers/MappingNodeTypeResolver.cs | YamlDotNet/Serialization/NodeTypeResolvers/MappingNodeTypeResolver.cs | // This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, inclu... | // This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, inclu... | mit | C# |
ae58b8a6b9623af942508ba95d08411fbe16f602 | Update EffException. | nessos/Eff | src/Eff.Core/EffException.cs | src/Eff.Core/EffException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Eff.Core
{
[Serializable]
public class EffException : Exception
{
public EffException(string message) : base(message)
{ }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eff.Core
{
public class EffException : Exception
{
public EffException(string message) : base(message)
{ }
}
}
| mit | C# |
30ed4e945d53e1fff95a853ad2d3326b51c2efd7 | Update PushalotEventTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotEventTelemeter.cs | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotEventTelemeter.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TIKSN.Configuration;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotEventTelemeter : PushalotTelemeterBase, IEventTelemeter
{
public PushalotEventTelemeter(IPartialConfiguration<PushalotOption... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TIKSN.Configuration;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotEventTelemeter : PushalotTelemeterBase, IEventTelemeter
{
public PushalotEventTelemeter(IPartialConfiguration<PushalotOption... | mit | C# |
14c678d6327018ea94b1352eda4bc280ac47f4ac | Fix assertion for CPlusPlusSWIGBindingGeneratorWorksTest on Windows | dellis1972/Protobuild,dellis1972/Protobuild,TukekeSoft/Protobuild,TukekeSoft/Protobuild,dellis1972/Protobuild,dellis1972/Protobuild,TukekeSoft/Protobuild,dellis1972/Protobuild,TukekeSoft/Protobuild,TukekeSoft/Protobuild | Protobuild.FunctionalTests/CPlusPlusSWIGBindingGeneratorWorksTest.cs | Protobuild.FunctionalTests/CPlusPlusSWIGBindingGeneratorWorksTest.cs | namespace Protobuild.Tests
{
using System.IO;
using Xunit;
public class CPlusPlusSWIGBindingGeneratorWorksTest : ProtobuildTest
{
[Fact]
public void GenerationIsCorrect()
{
this.SetupTest("CPlusPlusSWIGBindingGeneratorWorks");
this.Generate("Windows");
... | namespace Protobuild.Tests
{
using System.IO;
using Xunit;
public class CPlusPlusSWIGBindingGeneratorWorksTest : ProtobuildTest
{
[Fact]
public void GenerationIsCorrect()
{
this.SetupTest("CPlusPlusSWIGBindingGeneratorWorks");
this.Generate("Windows");
... | mit | C# |
9667f6600475efe91e1ea34204ba7a5535dbf1b6 | Fix Map.cs | plombeur/alpha,plombeur/alpha | Assets/Scripts/Patches/Map.cs | Assets/Scripts/Patches/Map.cs | using UnityEngine;
using System.Collections;
public class Map : MonoBehaviour {
public int size_x;
public int size_y;
protected Patch[] patches;
public GameObject prefabPatch;
// Use this for initialization
void Start () {
// Create array of patches with script
patches = new Patch[size_x*size_y];
... | using UnityEngine;
using System.Collections;
public class Map : MonoBehaviour {
public int size_x;
public int size_y;
protected Patch[] patches;
public GameObject prefabPatch;
// Use this for initialization
void Start () {
// Create array of patches with script
patches = new Patch[size_x*size_y];
... | apache-2.0 | C# |
206b8de107e191f065ed304957dd6a5ccfdd6fbf | Fix null reference exception when running under Mono | roji/AsyncRewriter | AsyncRewriter/RewriteAsync.cs | AsyncRewriter/RewriteAsync.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace AsyncRewriter
{
/// <summary>
/// </summary>
/// <remarks>
/// http://stackoverflow.com/quest... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace AsyncRewriter
{
/// <summary>
/// </summary>
/// <remarks>
/// http://stackoverflow.com/quest... | mit | C# |
c79e7ac0c0924db75f8f869fd4490baf340a9089 | Fix UT. | alpon/azure-sdk-tools,antonba/azure-sdk-tools,antonba/azure-sdk-tools,markcowl/azure-sdk-tools,Madhukarc/azure-sdk-tools,Madhukarc/azure-sdk-tools,hyonholee/azure-sdk-tools-1,antonba/azure-sdk-tools,markcowl/azure-sdk-tools,hyonholee/azure-sdk-tools-1,hyonholee/azure-sdk-tools-1,alpon/azure-sdk-tools,akromm/azure-sdk-t... | WindowsAzurePowershell/src/Management.WebSites.Test/UnitTests/Cmdlets/ShowAzurePortalTests.cs | WindowsAzurePowershell/src/Management.WebSites.Test/UnitTests/Cmdlets/ShowAzurePortalTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright 2011 Microsoft Corporation
// 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://ww... | // ----------------------------------------------------------------------------------
//
// Copyright 2011 Microsoft Corporation
// 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://ww... | apache-2.0 | C# |
fd838d3d800ce9eca3f70f2d89d0bf10a59d9f5e | Add missing compiler directives to fix build error | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla42069_Page.xaml.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla42069_Page.xaml.cs | using System;
using System.Diagnostics;
using System.Threading;
namespace Xamarin.Forms.Controls.Issues
{
public partial class Bugzilla42069_Page : ContentPage
{
public const string DestructorMessage = ">>>>>>>>>> Bugzilla42069_Page destructor <<<<<<<<<<";
public Bugzilla42069_Page()
{
#if APP
Initiali... | using System;
using System.Diagnostics;
using System.Threading;
namespace Xamarin.Forms.Controls.Issues
{
public partial class Bugzilla42069_Page : ContentPage
{
public const string DestructorMessage = ">>>>>>>>>> Bugzilla42069_Page destructor <<<<<<<<<<";
public Bugzilla42069_Page()
{
InitializeComponent... | mit | C# |
45339dd67ee65b048ee295c1b5a4eeaa15911fbf | Correct exception message | lukyad/Eco | Eco/Attributes/IdAttribute.cs | Eco/Attributes/IdAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Eco
{
/// <summary>
/// Indicates that the field provides an unique configuration object name
/// that can be used to reference the object in other places of a conf... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Eco
{
/// <summary>
/// Indicates that the field provides an unique configuration object name
/// that can be used to reference the object in other places of a conf... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.