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 |
|---|---|---|---|---|---|---|---|---|
9604fcfae252cc6eb755ddb18ddff5cd5e960485 | update version | gaochundong/Cowboy | Cowboy/SolutionVersion.cs | Cowboy/SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building sockets based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: Assem... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building sockets based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: Assem... | mit | C# |
0147aa0f2d65b9207d91c8c2b36deed2041a3b64 | Add comment to IEventAggregator so that the project builds | adamveld12/Xenon.Core | src/Xenon.Core/IEventAggregator.cs | src/Xenon.Core/IEventAggregator.cs | using System;
namespace Xenon.Core
{
/// <summary>
/// Routes events to multiple handlers
/// </summary>
public interface IEventAggregator : IDisposable
{
/// <summary>
/// Sends a message to all of the listeners
/// </summary>
/// <param name="message"></param>
... | using System;
namespace Xenon.Core
{
public interface IEventAggregator : IDisposable
{
/// <summary>
/// Sends a message to all of the listeners
/// </summary>
/// <param name="message"></param>
/// <typeparam name="TMessage"></typeparam>
void SendMessage<TMessag... | mit | C# |
efcf11778334500890830f7046aa2b6a91e11781 | Set DBContext database initializer thingie to MigrateDatabaseToLatestVersion. | leo90skk/qdms,KBurov/qdms,qusma/qdms,leo90skk/qdms,Jumaga2015/qdms,qusma/qdms,underwater/qdms,underwater/qdms | EntityData/MyDBContext.cs | EntityData/MyDBContext.cs | // -----------------------------------------------------------------------
// <copyright file="MyDBContext.cs" company="">
// Copyright 2013 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.Data.Entity;
using EntityData.Migrations;
u... | // -----------------------------------------------------------------------
// <copyright file="MyDBContext.cs" company="">
// Copyright 2013 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.Data.Entity;
using QDMS;
namespace EntityD... | bsd-3-clause | C# |
16e658f5cb0d7e74dd37557c469d649d434f8241 | Fix lastval in PostgresCompiler for SqlKata.Execution | sqlkata/querybuilder | QueryBuilder/Compilers/PostgresCompiler.cs | QueryBuilder/Compilers/PostgresCompiler.cs | namespace SqlKata.Compilers
{
public class PostgresCompiler : Compiler
{
public PostgresCompiler()
{
LastId = "SELECT lastval() AS id";
}
public override string EngineCode { get; } = EngineCodes.PostgreSql;
protected override string CompileBasicDateCondition... | namespace SqlKata.Compilers
{
public class PostgresCompiler : Compiler
{
public PostgresCompiler()
{
LastId = "SELECT lastval()";
}
public override string EngineCode { get; } = EngineCodes.PostgreSql;
protected override string CompileBasicDateCondition(SqlRe... | mit | C# |
705ea3cd45ad0c411850675099b2faf449af3df7 | Use a simple list instead of a state machine. | jesterret/ReClass.NET,jesterret/ReClass.NET,KN4CK3R/ReClass.NET,KN4CK3R/ReClass.NET,KN4CK3R/ReClass.NET,jesterret/ReClass.NET | ReClass.NET/MemoryScanner/ScannerWorker.cs | ReClass.NET/MemoryScanner/ScannerWorker.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Threading;
using ReClassNET.MemoryScanner.Comparer;
namespace ReClassNET.MemoryScanner
{
internal class ScannerWorker
{
private readonly ScanSettings settings;
private readonly IScanComparer comparer;
public Scan... | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Threading;
using ReClassNET.MemoryScanner.Comparer;
namespace ReClassNET.MemoryScanner
{
internal class ScannerWorker
{
private readonly ScanSettings settings;
private readonly IScanComparer comparer;
public Scan... | mit | C# |
92ad156d83af9051d2214878c468116bdf7f616e | Add test that default value of TextBlock.Text property is empty string. | SuperJMN/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,jkoritzinsky/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,akrisiun/Perspex,grokys/Perspex,jkoritzinsky/Avalonia,SuperJMN/A... | tests/Avalonia.Controls.UnitTests/TextBlockTests.cs | tests/Avalonia.Controls.UnitTests/TextBlockTests.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Data;
using Xunit;
namespace Avalonia.Controls.UnitTests
{
public class TextBlockTests
{
[Fact]
public void Defaul... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Data;
using Xunit;
namespace Avalonia.Controls.UnitTests
{
public class TextBlockTests
{
[Fact]
public void Defaul... | mit | C# |
1cf262217e74b8c5933da5200d24ab46e4a9eba0 | fix connection encapsulation. | volkanceylan/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolemb... | Serenity.Data.Entity/Row/RowValidationContext.cs | Serenity.Data.Entity/Row/RowValidationContext.cs | using Serenity.Data;
using System;
using System.Data;
namespace Serenity.Services
{
public class RowValidationContext : IValidationContext
{
private Row row;
public RowValidationContext(IDbConnection connection, Row row)
{
this.row = row;
this.Conn... | using Serenity.Data;
using System;
using System.Data;
namespace Serenity.Services
{
public class RowValidationContext : IValidationContext
{
private Row row;
private IDbConnection connection;
public RowValidationContext(IDbConnection connection, Row row)
{
... | mit | C# |
6608172719fc8189686e39675d22511d8d473989 | Extend messages API. | chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet | Source/MQTTnet.Server/Controllers/MessagesController.cs | Source/MQTTnet.Server/Controllers/MessagesController.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using MQTTnet.Protocol;
using MQTTnet.Server.Mqtt;
namespace MQTTnet.Server.Controllers
{
[Authorize]
[ApiController]
public class MessagesController : Controller
{
... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using MQTTnet.Server.Mqtt;
namespace MQTTnet.Server.Controllers
{
[Authorize]
[ApiController]
public class MessagesController : Controller
{
private readonly MqttServerService ... | mit | C# |
4b946e4237e908b162c88e693c718157373aea62 | Improve test code quality | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/IntegrationTests/ExternalApiTests.cs | WalletWasabi.Tests/IntegrationTests/ExternalApiTests.cs | using NBitcoin;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.WebClients.BlockchainInfo;
using WalletWasabi.WebClients.Coinbase;
using WalletWasabi.WebClients.CoinGecko;
using WalletWasabi.WebClients.Bitstamp;
using WalletWasabi.WebClients.Gemini;
... | using NBitcoin;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.WebClients.BlockchainInfo;
using WalletWasabi.WebClients.Coinbase;
using WalletWasabi.WebClients.CoinGecko;
using WalletWasabi.WebClients.Bitstamp;
using WalletWasabi.WebClients.Gemini;
... | mit | C# |
b1162b376054a999820a50c81c579f52516c1619 | deploy settings | sd-f/orbi,sd-f/orbi | Orbi-App/Assets/Scripts/Game/Client/Client.cs | Orbi-App/Assets/Scripts/Game/Client/Client.cs | using GameController.Services;
using UnityEngine;
namespace GameController
{
[AddComponentMenu("App/Game/Client")]
class Client : MonoBehaviour
{
// prod server, dev server or localhost
public ServerType serverType = ServerType.LOCAL;
public static int VERSION = 14;
//pri... | using GameController.Services;
using UnityEngine;
namespace GameController
{
[AddComponentMenu("App/Game/Client")]
class Client : MonoBehaviour
{
// prod server, dev server or localhost
public ServerType serverType = ServerType.LOCAL;
public static int VERSION = 13;
//pri... | mit | C# |
aaed874379b179cdacfd9a4e64adffcf035a6567 | fix enum field get value | rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan... | Serenity.Data.Entity/FieldTypes/EnumField.cs | Serenity.Data.Entity/FieldTypes/EnumField.cs | using System;
using System.Collections.Generic;
namespace Serenity.Data
{
public class EnumField<TEnum> : Int32Field
where TEnum: struct, IComparable, IFormattable, IConvertible
{
public EnumField(ICollection<Field> collection, string name, LocalText caption = null, int size = 0, Field... | using System;
using System.Collections.Generic;
namespace Serenity.Data
{
public class EnumField<TEnum> : Int32Field
where TEnum: struct, IComparable, IFormattable, IConvertible
{
public EnumField(ICollection<Field> collection, string name, LocalText caption = null, int size = 0, Field... | mit | C# |
fa6fa95f21019ff323b095ebdeb33e45244158a3 | fix appveyor build errors | WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,dfaruque/Serenit... | Serenity.Script.Imports/Q/Q.Authorization.cs | Serenity.Script.Imports/Q/Q.Authorization.cs | using System.Runtime.CompilerServices;
namespace Serenity
{
public static partial class Q
{
[Imported]
public static class Authorization
{
[IntrinsicProperty]
public static UserDefinition UserDefinition
{
[InlineCode("Q.Au... | using System.Runtime.CompilerServices;
namespace Serenity
{
public static partial class Q
{
[Imported]
public static class Authorization
{
[IntrinsicProperty]
public static UserDefinition UserDefinition
{
[InlineCode("Q.Au... | mit | C# |
15bf8d9c1581d3755bd4367938947e561207b770 | Remove unused Middleware definition | sharper-library/Sharper.C.HttpValues | Sharper.C.HttpValues/Data/Http/Middleware.cs | Sharper.C.HttpValues/Data/Http/Middleware.cs | namespace Sharper.C.Data.Http
{
public delegate Handler<B, J>
Middleware<B, A, J, I>(Handler<A, I> ab);
public static class Middleware
{
public static Middleware<C, A, K, I> Then<C, B, A, K, J, I>
( this Middleware<C, B, K, J> m2
, Middleware<B, A, J, I> m1
)
... | namespace Sharper.C.Data.Http
{
public delegate Handler<B, J>
Middleware<B, A, J, I>(Handler<A, I> ab);
public delegate Handler<J>
Middleware<J, I>(Handler<I> h);
public static class Middleware
{
public static Middleware<C, A, K, I> Then<C, B, A, K, J, I>
( this Middleware<C,... | mit | C# |
e61e2cb0e9faf60fbb11efa3f5166b545042f685 | disable telemetry crashes | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Icons/Startup.cs | src/Icons/Startup.cs | using System;
using Bit.Icons.Services;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Bit.Icons
{
public class Startup
{
publ... | using System;
using Bit.Icons.Services;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Bit.Icons
{
public class Startup
{
publ... | agpl-3.0 | C# |
074bf195ebc0c59b1335983904ab0176996ceef5 | Add test for reading files with UTF-8 BOM | mwilliamson/java-mammoth | dotnet/Mammoth.Tests/DocumentConverterTests.cs | dotnet/Mammoth.Tests/DocumentConverterTests.cs | using Xunit;
using System.IO;
namespace Mammoth.Tests {
public class DocumentConverterTests {
[Fact]
public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() {
assertSuccessfulConversion(
ConvertToHtml("single-paragraph.docx"),
"<p>Walking on imported air</p>");
}
[Fact]
publ... | using Xunit;
using System.IO;
namespace Mammoth.Tests {
public class DocumentConverterTests {
[Fact]
public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() {
assertSuccessfulConversion(
convertToHtml("single-paragraph.docx"),
"<p>Walking on imported air</p>");
}
private void ... | bsd-2-clause | C# |
a12686aa17b186e5474826914a1088334a4cb14c | Fix encoding in file | pergerch/DotSpatial,pergerch/DotSpatial,DotSpatial/DotSpatial,DotSpatial/DotSpatial,pergerch/DotSpatial,DotSpatial/DotSpatial | Source/DotSpatial.Data/ShapefilePackage.cs | Source/DotSpatial.Data/ShapefilePackage.cs | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System.IO;
namespace DotSpatial.Data
{
/// <summary>
/// A container for shapefile components.
/// </summary>
public class S... | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System.IO;
namespace DotSpatial.Data
{
/// <summary>
/// A container for shapefile components.
/// </summary>
public class Shapefil... | mit | C# |
ea903eda407c1fba541a3d3d828c7c791a884f87 | Update IRegionFactory.cs | tiksn/TIKSN-Framework | TIKSN.Core/Globalization/IRegionFactory.cs | TIKSN.Core/Globalization/IRegionFactory.cs | using System.Globalization;
namespace TIKSN.Globalization
{
public interface IRegionFactory
{
RegionInfo Create(string name);
}
}
| using System.Globalization;
namespace TIKSN.Globalization
{
public interface IRegionFactory
{
RegionInfo Create(string name);
}
} | mit | C# |
633810f139f43b39999f99fb0669e02029df1612 | Make initial task easier given the number of refactorings needed. | Tom-Kuhn/scratch-UnitTest,Tom-Kuhn/scratch-UnitTest | Testing-001/MyApplication/PersonService.cs | Testing-001/MyApplication/PersonService.cs | using System;
using System.Linq;
using MyApplication.dependencies;
using System.Collections.Generic;
namespace MyApplication
{
public class PersonService
{
/// <summary>
/// Initializes a new instance of the <see cref="PersonService"/> class.
/// </summary>
public Perso... | using System;
using System.Linq;
using MyApplication.dependencies;
using System.Collections.Generic;
namespace MyApplication
{
public class PersonService
{
/// <summary>
/// Initializes a new instance of the <see cref="PersonService"/> class.
/// </summary>
public Perso... | mit | C# |
484b444ea18cacd248ca523f07aa6f3dfcc4cad9 | Add todo | VegasoftTI/ChameleonForms,VegasoftTI/ChameleonForms,GiscardBiamby/NancyContrib.Chameleon,GiscardBiamby/NancyContrib.Chameleon,VegasoftTI/ChameleonForms | ChameleonForms/Templates/HtmlHelperExtensions.cs | ChameleonForms/Templates/HtmlHelperExtensions.cs | using System.Web;
namespace ChameleonForms.Templates
{
public static class Html
{
public static IHtmlString Attribute(string name, string value)
{
if (value == null)
return new HtmlString(string.Empty);
//Todo: encode the values here
... | using System.Web;
namespace ChameleonForms.Templates
{
public static class Html
{
public static IHtmlString Attribute(string name, string value)
{
if (value == null)
return new HtmlString(string.Empty);
return new HtmlString(string.Format(" {... | mit | C# |
3a656a7bc575c482de6f169945629d771c3d6b3a | Add release action to journal transaction | ON-IT/Visma.Net | Visma.net/lib/DAta/JournalTransactionData.cs | Visma.net/lib/DAta/JournalTransactionData.cs | using ONIT.VismaNetApi.Models;
using System.Threading.Tasks;
namespace ONIT.VismaNetApi.Lib.Data
{
public class JournalTransactionData : BaseCrudDataClass<JournalTransaction>
{
public JournalTransactionData(VismaNetAuthorization auth) : base(auth)
{
ApiControllerUri = VismaNetContr... | using ONIT.VismaNetApi.Models;
using System.Threading.Tasks;
namespace ONIT.VismaNetApi.Lib.Data
{
public class JournalTransactionData : BaseCrudDataClass<JournalTransaction>
{
public JournalTransactionData(VismaNetAuthorization auth) : base(auth)
{
ApiControllerUri = VismaNetContr... | mit | C# |
89dc280c468a7369417b055719a40e98569c4b84 | Add test cases for wall avoidance settings | mysticfall/Alensia | Assets/Alensia/Tests/Camera/ThirdPersonCameraTest.cs | Assets/Alensia/Tests/Camera/ThirdPersonCameraTest.cs | using Alensia.Core.Actor;
using Alensia.Core.Camera;
using Alensia.Tests.Actor;
using NUnit.Framework;
using UnityEngine;
namespace Alensia.Tests.Camera
{
[TestFixture, Description("Test suite for ThirdPersonCamera class.")]
public class ThirdPersonCameraTest : BaseOrbitingCameraTest<ThirdPersonCamera, IHuman... | using Alensia.Core.Actor;
using Alensia.Core.Camera;
using Alensia.Tests.Actor;
using NUnit.Framework;
namespace Alensia.Tests.Camera
{
[TestFixture, Description("Test suite for ThirdPersonCamera class.")]
public class ThirdPersonCameraTest : BaseOrbitingCameraTest<ThirdPersonCamera, IHumanoid>
{
... | apache-2.0 | C# |
30aceb1e15f2c1aa050e8134012a9a989f3cc7c6 | Add new macOS versions to MacSystemInformation | mono/xwt,antmicro/xwt,TheBrainTech/xwt,hwthomas/xwt,lytico/xwt | Xwt.XamMac/Xwt.Mac/MacSystemInformation.cs | Xwt.XamMac/Xwt.Mac/MacSystemInformation.cs | //
// MacSystemInformation.cs
//
// Author:
// Alan McGovern <alan@xamarin.com>
//
// Copyright (c) 2011, Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without ... | //
// MacSystemInformation.cs
//
// Author:
// Alan McGovern <alan@xamarin.com>
//
// Copyright (c) 2011, Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without ... | mit | C# |
0d55878a458cd19f9ebc622756586f0bda760d5a | fix version number padding | jonsequitur/cli,nguerrera/cli,AbhitejJohn/cli,mlorbetske/cli,blackdwarf/cli,JohnChen0/cli,stuartleeks/dotnet-cli,johnbeisner/cli,FubarDevelopment/cli,mylibero/cli,schellap/cli,JohnChen0/cli,schellap/cli,harshjain2/cli,FubarDevelopment/cli,marono/cli,nguerrera/cli,jkotas/cli,ravimeda/cli,mylibero/cli,JohnChen0/cli,dasMu... | scripts/dotnet-cli-build/Utils/BuildVersion.cs | scripts/dotnet-cli-build/Utils/BuildVersion.cs | namespace Microsoft.DotNet.Cli.Build
{
public class BuildVersion
{
public int Major { get; set; }
public int Minor { get; set; }
public int Patch { get; set; }
public int CommitCount { get; set; }
public string CommitCountString => CommitCount.ToString("000000");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class BuildVersion
{
public int Major { get; set; }
public int Minor { get; set; }
public int Patch { get; set; }
public int CommitCoun... | mit | C# |
88f28cce87143130229fe77c20a12fd245499933 | Add missing disposal | yevhen/Orleankka,OrleansContrib/Orleankka,llytvynenko/Orleankka,AntyaDev/Orleankka,mhertis/Orleankka,pkese/Orleankka,AntyaDev/Orleankka,llytvynenko/Orleankka,yevhen/Orleankka,pkese/Orleankka,OrleansContrib/Orleankka,mhertis/Orleankka | Source/Example.Chat.Server/Program.cs | Source/Example.Chat.Server/Program.cs | using System;
using System.Reflection;
using Orleankka;
using Orleankka.Cluster;
using Orleans.Runtime.Configuration;
namespace Example.Chat.TypedActor.Server
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Running demo. Booting cluster might... | using System;
using System.Reflection;
using Orleankka;
using Orleankka.Cluster;
using Orleans.Runtime.Configuration;
namespace Example.Chat.TypedActor.Server
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Running demo. Booting cluster might... | apache-2.0 | C# |
547ae34dd0d1580a736e1fdabe36989e4efbd835 | Update Index.cshtml | LoveJenny/EasyRight,LoveJenny/EasyRight | EasyRight/EasyRight/Views/Home/Index.cshtml | EasyRight/EasyRight/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<h3>We suggest the following:</h3>
<ol class="round">
<li class="one">
<h5>Getting Started</h5>
Hello, I'm cute Dog
<p><img src="../../Images/dog.png" /></p>
<a href="http://go.microsoft.com/fwlink/?LinkId=245151">Learn more…</a>
</li>
<li c... | @{
ViewBag.Title = "Home Page";
}
<h3>We suggest the following:</h3>
<ol class="round">
<li class="one">
<h5>Getting Started</h5>
Hello, I'm Qi Wang
<p><img src="../../Images/dog.png" /></p>
<a href="http://go.microsoft.com/fwlink/?LinkId=245151">Learn more…</a>
</li>
<li cl... | apache-2.0 | C# |
2189573c444522c781be9bcf9ece363894f579c9 | Update copyright year | jozefizso/FogBugz-ExtendedEvents,jozefizso/FogBugz-ExtendedEvents | FBExtendedEvents/Properties/AssemblyInfo.cs | FBExtendedEvents/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Extended Events")]
[assembly: AssemblyDescription("Show events from external sources like Subversion, TeamCity and Jenkins.")]
[assembly: AssemblyCompany("Jozef Izso")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Extended Events")]
[assembly: AssemblyDescription("Show events from external sources like Subversion, TeamCity and Jenkins.")]
[assembly: AssemblyCompany("Jozef Izso")]
[assembly: AssemblyPr... | mit | C# |
0c3b5cf40a630944319ba39444a2643ed6ab7050 | Fix decryption on WinRT. | kmjonmastro/Akavache,shana/Akavache,bbqchickenrobot/Akavache,gimsum/Akavache,akavache/Akavache,jcomtois/Akavache,PureWeen/Akavache,christer155/Akavache,ghuntley/AkavacheSandpit,mms-/Akavache,MathieuDSTP/MyAkavache,shana/Akavache,Loke155/Akavache,martijn00/Akavache,MarcMagnin/Akavache | Akavache/Facades_WinRT.cs | Akavache/Facades_WinRT.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Reflection;
using Windows.Security.Cryptography.DataProtection;
using Windows.Storage;
namespace Akavache
{
public static class Encr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Reflection;
using Windows.Security.Cryptography.DataProtection;
using Windows.Storage;
namespace Akavache
{
public static class Encr... | mit | C# |
5dce89e6d43449fa300e14ce7c6addd68c7fb80f | remove whitespace | NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper | NuKeeper/Configuration/RepositoryModeSettings.cs | NuKeeper/Configuration/RepositoryModeSettings.cs | using System;
using NuKeeper.Github;
namespace NuKeeper.Configuration
{
public class RepositoryModeSettings
{
public RepositoryModeSettings()
{
}
public RepositoryModeSettings(GithubRepository repository, Uri githubApi, string githubToken)
{
GithubApiBase =... | using System;
using NuKeeper.Github;
namespace NuKeeper.Configuration
{
public class RepositoryModeSettings
{
public RepositoryModeSettings()
{
}
public RepositoryModeSettings(GithubRepository repository, Uri githubApi, string githubToken)
{
GithubApiBase =... | apache-2.0 | C# |
ad419b3d2a68eec545b56e8fcee2259e73749585 | change parameter values for reactions | M-Zuber/octokit.net,Sarmad93/octokit.net,SmithAndr/octokit.net,ivandrofly/octokit.net,TattsGroup/octokit.net,devkhan/octokit.net,shiftkey-tester/octokit.net,shana/octokit.net,ivandrofly/octokit.net,editor-tools/octokit.net,dampir/octokit.net,rlugojr/octokit.net,editor-tools/octokit.net,eriawan/octokit.net,shana/octokit... | Octokit/Models/Response/CommitCommentReaction.cs | Octokit/Models/Response/CommitCommentReaction.cs | using Octokit.Internal;
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public enum Reaction
{
[Parameter(Value = "+1")]
Plus1 = 0,
[Parameter(Value = "-1")]
Minus1 = 1,
[Parameter(Value = "laugh")]
Laugh = 2,
[Par... | using Octokit.Internal;
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public enum Reaction
{
[Parameter(Value = "plus_one")]
Plus1 = 0,
[Parameter(Value = "minus_one")]
Minus1 = 1,
[Parameter(Value = "laugh")]
Laugh = 2,... | mit | C# |
6051712bcee8f3f1b4de73c6f3901a10e6494343 | test fix for PostreSQL | AK107/linq2db,enginekit/linq2db,inickvel/linq2db,AK107/linq2db,MaceWindu/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,sdanyliv/linq2db,ronnyek/linq2db,genusP/linq2db,lvaleriu/linq2db,linq2db/linq2db,jogibear9988/linq2db,LinqToDB4iSeries/linq2db,sdanyliv/linq2db,genusP/linq2db,jogibear9988/linq2db,... | Tests/Linq/UserTests/Issue513Tests.cs | Tests/Linq/UserTests/Issue513Tests.cs | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.UserTests
{
[TestFixture]
public class Issue513Tests : TestBase
{
System.Threading.Semaphore _sem... | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.UserTests
{
[TestFixture]
public class Issue513Tests : TestBase
{
System.Threading.Semaphore _sem... | mit | C# |
48e267a0b494de2d605a42422998e36bce56a4ce | Update exception messages. | jamiehumphries/Elmah.SqlServer.EFInitializer,jamiehumphries/Elmah.SqlServer.EFInitializer,Leon-O/Elmah.SqlServer.EFInitializer | Elmah.SqlServer.EFInitializer/ElmahContext.cs | Elmah.SqlServer.EFInitializer/ElmahContext.cs | namespace Elmah.SqlServer.EFInitializer
{
using System;
using System.Collections;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Configuration;
using System.Data.Entity;
public class ElmahContext : DbContext
{
... | namespace Elmah.SqlServer.EFInitializer
{
using System;
using System.Collections;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Configuration;
using System.Data.Entity;
public class ElmahContext : DbContext
{
... | mit | C# |
65fee5b4a1be2f487584a890b749837c65e3608b | add missing 'InternalsVisibleTo' for tests | dwmkerr/sharpshell,dwmkerr/sharpshell,dwmkerr/sharpshell,dwmkerr/sharpshell | SharpShell/SharpShell/Properties/AssemblyInfo.cs | SharpShell/SharpShell/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("Sh... | 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("Sh... | mit | C# |
e4f6c6d255b4ec4d68eb182883edc3cf00b4828a | Fix the viewbag title, used for the page title | malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,jskeet/nodatime | src/NodaTime.Web/Views/Documentation/Docs.cshtml | src/NodaTime.Web/Views/Documentation/Docs.cshtml | @model MarkdownPage
@{ ViewBag.Title = Model.Title; }
<section class="body">
<div class="row">
<div class="large-9 columns">
<h1>@Model.Title</h1>
@Model.Content
</div>
<div class="large-3 columns">
<div class="section-container accordian">
... | @model MarkdownPage
<section class="body">
<div class="row">
<div class="large-9 columns">
<h1>@Model.Title</h1>
@Model.Content
</div>
<div class="large-3 columns">
<div class="section-container accordian">
@foreach (var category in Mode... | apache-2.0 | C# |
3d90e66d36d92054ae416c7294d69fe89ef19121 | Bump version number | Khamull/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,AzarinSergey/Umbraco-CMS,NikRimington/Umbraco-CMS,gavinfaux/Umbraco-CMS,DaveGreasley/Umbraco-CMS,abryukhov/Umbraco-CMS,iahdevelop/Umbraco-CMS,nvisage-gf/Umbraco-CMS,zidad/Umbraco-CMS,jchurchley/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,Spijkerboer/Umbraco-CMS,c... | src/Umbraco.Core/Configuration/UmbracoVersion.cs | src/Umbraco.Core/Configuration/UmbracoVersion.cs | using System;
using System.Reflection;
namespace Umbraco.Core.Configuration
{
public class UmbracoVersion
{
private static readonly Version Version = new Version("7.0.0");
/// <summary>
/// Gets the current version of Umbraco.
/// Version class with the specified ma... | using System;
using System.Reflection;
namespace Umbraco.Core.Configuration
{
public class UmbracoVersion
{
private static readonly Version Version = new Version("7.0.0");
/// <summary>
/// Gets the current version of Umbraco.
/// Version class with the specified ma... | mit | C# |
1d32908dcfc29d8bcfb6c54b4926c4f7717f5a4f | Update version | paralin/D2Moddin | ClientCommon/Version.cs | ClientCommon/Version.cs | namespace ClientCommon
{
public class Version
{
public const string ClientVersion = "2.7.0";
}
} | namespace ClientCommon
{
public class Version
{
public const string ClientVersion = "2.6.6";
}
} | apache-2.0 | C# |
ebbfc2c26dc90e364946dfded77fb72d17a217fa | add AllowApplyToAll support in AlertDialogBackend | cra0zy/xwt,akrisiun/xwt,hwthomas/xwt,mono/xwt,mminns/xwt,iainx/xwt,directhex/xwt,lytico/xwt,antmicro/xwt,hamekoz/xwt,TheBrainTech/xwt,steffenWi/xwt,mminns/xwt,residuum/xwt | Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs | Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs | //
// AlertDialogBackend.cs
//
// Author:
// Thomas Ziegler <ziegler.thomas@web.de>
//
// Copyright (c) 2012 Thomas Ziegler
//
// 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 wi... | //
// AlertDialogBackend.cs
//
// Author:
// Thomas Ziegler <ziegler.thomas@web.de>
//
// Copyright (c) 2012 Thomas Ziegler
//
// 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 wi... | mit | C# |
4e0ada188226723b76244254c6f530c1da5c6041 | Remove IEquatable<T> inheritance from ITabsterDocument. | GetTabster/Tabster.Core | FileTypes/ITabsterDocument.cs | FileTypes/ITabsterDocument.cs | #region
using System;
using System.IO;
#endregion
namespace Tabster.Core.FileTypes
{
public interface ITabsterDocument
{
Version FileVersion { get; }
FileInfo FileInfo { get; }
void Load(string filename);
void Save();
void Save(string fileName);
... | #region
using System;
using System.IO;
#endregion
namespace Tabster.Core.FileTypes
{
public interface ITabsterDocument : IEquatable<ITabsterDocument>
{
Version FileVersion { get; }
FileInfo FileInfo { get; }
void Load(string filename);
void Save();
void... | apache-2.0 | C# |
751d339e188dd75dc3bd240c4442d53db840daa4 | Fix exception AGAIN. | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Services/UserService.cs | PhotoLife/PhotoLife.Services/UserService.cs | using System;
using System.Linq;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class UserService : IUserService
{
private readonly IRepository<User> userRepository;
private readonly IUnitOfWork unitOfWork;
... | using System;
using System.Linq;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class UserService : IUserService
{
private readonly IRepository<User> userRepository;
private readonly IUnitOfWork unitOfWork;
... | mit | C# |
718c7238efbf9cf4da913799289570a530af3cf9 | update copyright | andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms | Themes/AndrewConnell-v1.0/Views/Copyright.cshtml | Themes/AndrewConnell-v1.0/Views/Copyright.cshtml | Copyright © @(DateTime.Now.Year) Andrew Connell | Copyright © 2003 - @(DateTime.Now.Year) Andrew Connell | bsd-3-clause | C# |
ae380d6e5e0d487009fde7bfea85f0835412c202 | Save work items after starting. | n-develop/tickettimer | TicketTimer.Core/Services/WorkItemServiceImpl.cs | TicketTimer.Core/Services/WorkItemServiceImpl.cs | using TicketTimer.Core.Infrastructure;
namespace TicketTimer.Core.Services
{
// TODO this should have a better name
public class WorkItemServiceImpl : WorkItemService
{
private readonly WorkItemStore _workItemStore;
private readonly DateProvider _dateProvider;
public WorkItemServic... | using TicketTimer.Core.Infrastructure;
namespace TicketTimer.Core.Services
{
// TODO this should have a better name
public class WorkItemServiceImpl : WorkItemService
{
private readonly WorkItemStore _workItemStore;
private readonly DateProvider _dateProvider;
public WorkItemServic... | mit | C# |
d8535b8736e5ef265ff7c97599f6180d3f59ea81 | Add Stephanie to contact page. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
ba3935047e74124a67729ca8bb6bb036afca82c8 | Increment version. | Reddit-Mud/RMUD,Blecki/RMUD | RMUD/Commands/Version.cs | RMUD/Commands/Version.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RMUD.Commands
{
internal class Version : CommandFactory
{
public override void Create(CommandParser Parser)
{
Parser.AddCommand(
new Or(
new KeyWord("VERSION", false),
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RMUD.Commands
{
internal class Version : CommandFactory
{
public override void Create(CommandParser Parser)
{
Parser.AddCommand(
new Or(
new KeyWord("VERSION", false),
... | mit | C# |
4af9397061691a59081fc2f12a2a9cd8a5ed3c02 | Replace Array.Copy with Assigning | CosmosOS/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,zarlo/Cosmos,fanoI/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos | Tests/Cosmos.Compiler.Tests.Bcl/System/ArrayTests.cs | Tests/Cosmos.Compiler.Tests.Bcl/System/ArrayTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cosmos.TestRunner;
namespace Cosmos.Compiler.Tests.Bcl.System
{
class ArrayTests
{
public static void Execute()
{
byte[] xByteResult = { 1, 2, 3, 4, 5, 6, 7, 8 ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cosmos.TestRunner;
namespace Cosmos.Compiler.Tests.Bcl.System
{
class ArrayTests
{
public static void Execute()
{
if (true)
{
byte[]... | bsd-3-clause | C# |
6fc84985c334ab302ee4cab02e07cffcad024338 | Clean up | alvivar/Hasten | Experimental/Timeline/Plugins/TimelineFlow.cs | Experimental/Timeline/Plugins/TimelineFlow.cs |
// Timeline animation flow using TeaTime.
// @matnesis
// 2016/05/14 12:15 AM
using UnityEngine;
using matnesis.TeaTime;
[RequireComponent(typeof(Timeline))]
public class TimelineFlow : MonoBehaviour
{
public int index = 0;
private Timeline timeline;
void Start()
{
timeline = GetComponen... |
// Timeline animation flow using TeaTime.
// @matnesis ~
// 2016/05/14 12:15 AM
using UnityEngine;
using matnesis.TeaTime;
[RequireComponent(typeof(Timeline))]
public class TimelineFlow : MonoBehaviour
{
public int index = 0;
private Timeline timeline;
void Start()
{
timeline = GetCompon... | mit | C# |
61d3774fbe9c70c57b15fdc0d6c28a558b575cd0 | Fix Win64 namespace | pruiz/FreeSwitchSharp | FreeSwitchSharp.Win64/Win64LibrariesBundle.cs | FreeSwitchSharp.Win64/Win64LibrariesBundle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace FreeSwitchSharp.Win64
{
using FreeSwitchSharp.Native;
public class Win64LibrariesBundle : INativeLibraryBundle
{
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace FreeSwitchSharp.Win32
{
using FreeSwitchSharp.Native;
public class Win64LibrariesBundle : INativeLibraryBundle
{
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();
... | mpl-2.0 | C# |
e432efb4b5ae608302f579f5fb42cbdad59aafb5 | update to palaso usage api. | sillsdev/solid,sillsdev/solid,sillsdev/solid | src/SolidGui/Program.cs | src/SolidGui/Program.cs | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Palaso.Reporting;
using SolidGui.Properties;
namespace SolidGui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Palaso.Reporting;
using SolidGui.Properties;
namespace SolidGui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | mit | C# |
d6413f93dcf29a0fbe7375e0e2cea97673417861 | clean up old code | stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky | EyeInTheSky/StalkList.cs | EyeInTheSky/StalkList.cs | using System.Collections.Generic;
using System.Xml;
using System.Xml.XPath;
namespace EyeInTheSky
{
public class StalkList : SortedList<string,Stalk>
{
public Stalk search(RecentChange rc)
{
foreach (KeyValuePair<string,Stalk> s in this)
{
if(s.Value.mat... | using System.Collections.Generic;
using System.Xml;
using System.Xml.XPath;
namespace EyeInTheSky
{
public class StalkList : SortedList<string,Stalk>
{
public Stalk search(RecentChange rc)
{
foreach (KeyValuePair<string,Stalk> s in this)
{
if(s.Value.mat... | mit | C# |
9fee9f7eda12e9e6713dadf787a15df2e57e03b3 | test commit | lumenitb/HumanDetection,lumenrobot/HumanDetection | HumanDetection/Program.cs | HumanDetection/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace HumanDetection
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace HumanDetection
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | epl-1.0 | C# |
7fe18c7ff134cc948bb086f18c33eec22b56c42b | Update IShapeRendererState.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | src/Core2D/Model/Renderer/IShapeRendererState.cs | src/Core2D/Model/Renderer/IShapeRendererState.cs | using Core2D.Shapes;
using Core2D.Style;
namespace Core2D.Renderer
{
/// <summary>
/// Defines shape renderer state contract.
/// </summary>
public interface IShapeRendererState : IObservableObject, ISelection
{
/// <summary>
/// The X coordinate of current pan position.
//... | using Core2D.Shapes;
using Core2D.Style;
namespace Core2D.Renderer
{
/// <summary>
/// Defines shape renderer state contract.
/// </summary>
public interface IShapeRendererState : IObservableObject, ISelection
{
/// <summary>
/// The X coordinate of current pan position.
//... | mit | C# |
f290ebe2709268501acb4c69211f82525d29b8d3 | Remove change | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Controls/Dialog.xaml.cs | WalletWasabi.Fluent/Controls/Dialog.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
namespace WalletWasabi.Fluent.Controls
{
/// <summary>
/// A simple overlay Dialog control.
/// </summary>
public class Dialog : ContentControl
{
public static readonly StyledProperty<bool> IsDialogOpenProperty =
AvaloniaProperty.Re... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using ReactiveUI;
namespace WalletWasabi.Fluent.Controls
{
/// <summary>
/// A simple overlay Dialog control.
/// </summary>
public class Dialog : ContentControl
{
public static readonly StyledProperty<bool> IsDialogOpenProperty =
A... | mit | C# |
4ef24b0dc2a95c9de30ee16dcbe426abac2cd981 | Handle forcefull connection close. | vtsingaras/SharpOCSP | SharpOCSP/HttpHandler.cs | SharpOCSP/HttpHandler.cs | using System;
using System.Net;
using System.Threading;
using System.Text;
using System.IO;
namespace SharpOCSP
{
public class HttpHandler
{
private readonly HttpListener _listener = new HttpListener();
private readonly Func<HttpListenerRequest, byte[]> _responderMethod;
public HttpHandler(string[] prefixes,... | using System;
using System.Net;
using System.Threading;
using System.Text;
using System.IO;
namespace SharpOCSP
{
public class HttpHandler
{
private readonly HttpListener _listener = new HttpListener();
private readonly Func<HttpListenerRequest, byte[]> _responderMethod;
public HttpHandler(string[] prefixes,... | mit | C# |
8a621a8889b8109d9befe4bf486e5030d6b1dacc | Update Ledger.cs | MetacoSA/NBitpayClient | NBitpayClient/Ledger.cs | NBitpayClient/Ledger.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace NBitpayClient
{
public class Ledger
{
public const String LEDGER_AUD = "AUD";
public const String LEDGER_BTC = "BTC";
public const String LEDGER_CAD = "CAD";
public const String LEDGER_EUR = "EUR";
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace NBitpayClient
{
public class Ledger
{
public const String LEDGER_AUD = "AUD";
public const String LEDGER_BTC = "BTC";
public const String LEDGER_CAD = "CAD";
public const String LEDGER_EUR = "EUR";... | mit | C# |
2b55773c62dc451f4991d7c3d356b7402d20316e | test ParallelOptions | zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning | my_aspnetmvc_learning/Controllers/ParallelController.cs | my_aspnetmvc_learning/Controllers/ParallelController.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace my_aspnetmvc_learning.Controllers
{
public class ParallelController : Controller
{
// GET: Parallel
public Act... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace my_aspnetmvc_learning.Controllers
{
public class ParallelController : Controller
{
// GET: Parallel
public Act... | mit | C# |
0342f70a394e97612b1c20ee614c4bef555dbbe5 | Remove redundant code. | DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS | DanTup.DartAnalysis.Tests/FormattingTests.cs | DanTup.DartAnalysis.Tests/FormattingTests.cs | using System.Linq;
using System.Threading.Tasks;
using DanTup.DartAnalysis.Json;
using FluentAssertions;
using Xunit;
namespace DanTup.DartAnalysis.Tests
{
public class FormattingTests : Tests
{
// TODO: Clean up tests; map over to FluentAssertions
[Fact]
public async Task FormatText()
{
const string te... | using System.Linq;
using System.Threading.Tasks;
using DanTup.DartAnalysis.Json;
using FluentAssertions;
using Xunit;
namespace DanTup.DartAnalysis.Tests
{
public class FormattingTests : Tests
{
// TODO: Clean up tests; map over to FluentAssertions
[Fact]
public async Task FormatText()
{
const string te... | mit | C# |
262f7e57344795f1507ce0e5e2167a3f9c809bec | fix bug | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/Helpers/TestNodeBuilder.cs | WalletWasabi.Tests/Helpers/TestNodeBuilder.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using WalletWasabi.Helpers;
namespace WalletWasabi.Tests.Helpers
{
public class TestNodeBuilder
{
public static async Task<CoreNod... | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using WalletWasabi.Helpers;
namespace WalletWasabi.Tests.Helpers
{
public class TestNodeBuilder
{
public static async Task<CoreNod... | mit | C# |
a5a71fca5ba9f3b8442fd78a36762d15543334f5 | Use inheritence | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/Verifier.cs | WalletWasabi/Crypto/ZeroKnowledge/Verifier.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge
{
public static class Verifier
{
public static bool Verify(KnowledgeOfDiscreteLog proof, GroupElement publicPoint, GroupEle... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge
{
public static class Verifier
{
public static bool Verify(KnowledgeOfDiscreteLog proof, GroupElement publicPoint, GroupEle... | mit | C# |
df6cc8e49d38fa3dba65a79effb73a89d24beb7c | Hide the Ulterius Agent when its ran. | Ulterius/server | UlteriusAgent/Program.cs | UlteriusAgent/Program.cs | #region
using System;
using System.IO;
using System.Net.Security;
using System.Runtime.InteropServices;
using System.ServiceModel;
using System.Text;
using AgentInterface;
using UlteriusAgent.Networking;
#endregion
namespace UlteriusAgent
{
internal class Program
{
private const int SW_HIDE = 0;
... | #region
using System;
using System.IO;
using System.Net.Security;
using System.Runtime.InteropServices;
using System.ServiceModel;
using System.Text;
using AgentInterface;
using UlteriusAgent.Networking;
#endregion
namespace UlteriusAgent
{
internal class Program
{
private const int SW_HIDE = 0;
... | mpl-2.0 | C# |
223d38786d1f13f61205cec2a64290e6388275bf | Add --help option to UndisposedExe | ermshiperete/undisposed-fody,ermshiperete/undisposed-fody | UndisposedExe/Program.cs | UndisposedExe/Program.cs | // Copyright (c) 2014 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Undisposed;
namespace UndisposedExe
{
class MainClass
{
private static void Usage()
{
Console.WriteLine("Usage");
Console.WriteLine("Undisposed.exe [-o output... | // Copyright (c) 2014 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Undisposed;
namespace UndisposedExe
{
class MainClass
{
private static void Usage()
{
Console.WriteLine("Usage");
Console.WriteLine("Undisposed.exe [-o output... | mit | C# |
d10c0f15ed66c82c4669a9d51cde27cccec9cbb8 | Allow standalone program to process multiple files at once | ermshiperete/undisposed-fody,ermshiperete/undisposed-fody | UndisposedExe/Program.cs | UndisposedExe/Program.cs | // Copyright (c) 2014 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Undisposed;
namespace UndisposedExe
{
class MainClass
{
private static void Usage()
{
Console.WriteLine("Usage");
Console.WriteLine("Undisposed.exe [-o output... | // Copyright (c) 2014 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Undisposed;
namespace UndisposedExe
{
class MainClass
{
private static void Usage()
{
Console.WriteLine("Usage");
Console.WriteLine("Undisposed.exe [-o output... | mit | C# |
f2cd6551ff08c5671429bf8aab87fcc06e3eed8e | Add documentation to flags | Lohikar/XenoBot2 | XenoBot2.Shared/Flags.cs | XenoBot2.Shared/Flags.cs | using System;
namespace XenoBot2.Shared
{
[Flags]
public enum PermissionFlag
{
/// <summary>
/// No permissions required.
/// </summary>
None = 0,
/// <summary>
/// Invoker must be able to speak in the affected channel.
/// </summary>
User = 1,
/// <summary>
/// Invoker must be a moderator f... | using System;
namespace XenoBot2.Shared
{
[Flags]
public enum PermissionFlag
{
None = 0,
User = 1,
Moderator = 2,
Administrator = 4,
BotAdministrator = 8
}
[Flags]
public enum CommandFlag
{
None = 0,
NoPublicChannel = 1,
NoPrivateChannel = 2,
UsableWhileIgnored = 4,
NonDisableable = 8,
H... | mit | C# |
e45ccd7d61cfa68c19a5f13e0b6ec95d30109b95 | Change comment to doc comment | LianwMS/WebApi,chimpinano/WebApi,scz2011/WebApi,chimpinano/WebApi,congysu/WebApi,LianwMS/WebApi,abkmr/WebApi,congysu/WebApi,lewischeng-ms/WebApi,abkmr/WebApi,scz2011/WebApi,yonglehou/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,lungisam/WebApi | src/System.Web.Http/ModelBinding/IModelBinder.cs | src/System.Web.Http/ModelBinding/IModelBinder.cs | using System.Web.Http.Controllers;
namespace System.Web.Http.ModelBinding
{
/// <summary>
/// Interface for model binding.
/// </summary>
public interface IModelBinder
{
bool BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext);
}
}
| using System.Web.Http.Controllers;
namespace System.Web.Http.ModelBinding
{
// Interface for model binding
public interface IModelBinder
{
bool BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext);
}
}
| mit | C# |
d0bbb4935343093e898be314578df8cf5deec719 | remove comments and move public methods togather | DuncanButler/DemoCheckoutBasket | CheckoutBasket.API/Domain/Basket.cs | CheckoutBasket.API/Domain/Basket.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using CheckoutBasket.API.Events;
namespace CheckoutBasket.API.Domain
{
public class Basket
{
private IList<object> _items;
private Basket()
{
_items = new Lis... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using CheckoutBasket.API.Events;
namespace CheckoutBasket.API.Domain
{
public class Basket
{
private IList<object> _items;
private Basket()
{
_items = new Lis... | apache-2.0 | C# |
93a72764fbe3c5ef7a91b5ed1b33b6b2d47196c3 | Update to End Game Screen | MasonSchneider/BattleAntz | BattleAntz/Assets/Scripts/Menus/GameOverMenu.cs | BattleAntz/Assets/Scripts/Menus/GameOverMenu.cs | using UnityEngine;
using System.Collections;
public class GameOverMenu : MonoBehaviour {
private string gameResult;
private GUIStyle style = new GUIStyle();
public int workers;
public int armyants;
public int bullants;
public int fireants;
public int sugar;
public int killed;
// Use this for initializati... | using UnityEngine;
using System.Collections;
public class GameOverMenu : MonoBehaviour {
private string gameResult;
private GUIStyle style = new GUIStyle();
public int workers;
public int armyants;
public int bullants;
public int fireants;
public int sugar;
public int killed;
// Use this for initializati... | mit | C# |
c04325c0838bb90af2b689383d68c023cf28a91e | Add comment | mspons/DiceApi | test/DiceApi.Core.Tests/DieTest.cs | test/DiceApi.Core.Tests/DieTest.cs | using System;
using Xunit;
using DiceApi.Core;
namespace DiceApi.Core.Tests
{
/// <summary>
/// Test class for <see cref="Die" />.
/// </summary>
public class DieTest
{
/// <summary>
/// Verifies the constructor throws an ArgumentOutOfRangeException when given
/// an inval... | using System;
using Xunit;
using DiceApi.Core;
namespace DiceApi.Core.Tests
{
public class DieTest
{
/// <summary>
/// Verifies the constructor throws an ArgumentOutOfRangeException when given
/// an invalid number of sides.
/// </summary>
[Fact]
public void Co... | mit | C# |
144b5736d625a0afae357517d0b12a43af306d47 | Fix bug that caused exceptions to be swallowed | prescottadam/ConsoleWritePrettyOneDay | ConsoleWritePrettyOneDay/Spinner.cs | ConsoleWritePrettyOneDay/Spinner.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleWritePrettyOneDay
{
public static class Spinner
{
private static char[] _chars = new[] { '|', '/', '-', '\\', '|', '/', '-', '\\' };
/// <summary>
/// Displays a spinner while the provide... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleWritePrettyOneDay
{
public static class Spinner
{
private static char[] _chars = new[] { '|', '/', '-', '\\', '|', '/', '-', '\\' };
/// <summary>
/// Displays a spinner while the provide... | mit | C# |
6989e558b5c2789ba255236900b3707ab108472d | Remove NextFrame | LaserHydra/Oxide,bawNg/Oxide,bawNg/Oxide,Nogrod/Oxide-2,Visagalis/Oxide,Nogrod/Oxide-2,Visagalis/Oxide,LaserHydra/Oxide | Extensions/Oxide.Ext.CSharp/Covalence/Plugin.cs | Extensions/Oxide.Ext.CSharp/Covalence/Plugin.cs | using System;
using Oxide.Core;
using Oxide.Core.Libraries.Covalence;
namespace Oxide.Plugins
{
public class CovalencePlugin : CSharpPlugin
{
new static readonly Covalence covalence = Interface.Oxide.GetLibrary<Covalence>();
protected string game = covalence.Game;
protected IServer s... | using System;
using Oxide.Core;
using Oxide.Core.Libraries.Covalence;
namespace Oxide.Plugins
{
public class CovalencePlugin : CSharpPlugin
{
new static readonly Covalence covalence = Interface.Oxide.GetLibrary<Covalence>();
protected string game = covalence.Game;
protected IServer s... | mit | C# |
aff1bb8ba0d0f28c3d5e086952e91e76bbcfb905 | Fix private keys config parsing | Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize | RestImageResize/Config.cs | RestImageResize/Config.cs | using System.Collections.Generic;
using System.Linq;
using RestImageResize.Security;
using RestImageResize.Utils;
namespace RestImageResize
{
/// <summary>
/// Provides configuration options.
/// </summary>
internal static class Config
{
private static class AppSettingKeys
{
... | using System.Collections.Generic;
using System.Linq;
using RestImageResize.Security;
using RestImageResize.Utils;
namespace RestImageResize
{
/// <summary>
/// Provides configuration options.
/// </summary>
internal static class Config
{
private static class AppSettingKeys
{
... | mit | C# |
94c681261283f79e578641c8c00164385f0dc729 | Make everything of LoaderDDS internal. | pratikv/SLSharp,IgniteInteractiveStudio/SLSharp,hach-que/SLSharp,IgniteInteractiveStudio/SLSharp,hach-que/SLSharp,pratikv/SLSharp | IIS.SLSharp/Textures/Externals/LoaderStatics.cs | IIS.SLSharp/Textures/Externals/LoaderStatics.cs | #region --- License ---
/* Licensed under the MIT/X11 license.
* Copyright (c) 2006-2008 the OpenTK Team.
* This notice may not be removed from any source distribution.
* See license.txt for licensing details.
*/
#endregion
using OpenTK.Graphics.OpenGL;
namespace IIS.SLSharp.Textures.Externals
{
/// <summary... | #region --- License ---
/* Licensed under the MIT/X11 license.
* Copyright (c) 2006-2008 the OpenTK Team.
* This notice may not be removed from any source distribution.
* See license.txt for licensing details.
*/
#endregion
using OpenTK.Graphics.OpenGL;
namespace IIS.SLSharp.Textures.Externals
{
/// <summary... | mit | C# |
f03f11c54541cf3a8fc5ef8b2eea4aa89bf42d5e | Edit UrlParser.ReadJson( ... ) | tomnolan95/RedditSharp,chuggafan/RedditSharp-1,SirCmpwn/RedditSharp,ekaralar/RedditSharpWindowsStore,IAmAnubhavSaini/RedditSharp,epvanhouten/RedditSharp,CrustyJew/RedditSharp,RobThree/RedditSharp,justcool393/RedditSharp-1,angelotodaro/RedditSharp,theonlylawislove/RedditSharp,Jinivus/RedditSharp,pimanac/RedditSharp,nyan... | RedditSharp/UrlParser.cs | RedditSharp/UrlParser.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace RedditSharp
{
class UrlParser : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectType == typeof(String) || objectType == typeof(Uri);
}
public override object ... | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace RedditSharp
{
class UrlParser : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectType == typeof(String) || objectType == typeof(Uri);
}
public override object ... | mit | C# |
06b1d11027587aa02655d634eb42ffa30c4fa04f | Fix namespace | markmnl/FalconUDP | IPAddress.cs | IPAddress.cs |
namespace FalconUDP
{
public static class IPAddress
{
public const string Loopback = "127.0.0.1";
}
}
|
namespace FalconUDP.RT
{
public static class IPAddress
{
public const string Loopback = "127.0.0.1";
}
}
| mit | C# |
0cc0cffcdcb385c708fc6a0934717213a6296a69 | fix comment | Captain-Marvel/CSharp-Part2-Teamwork | SpaceGame/Game/Meteor.cs | SpaceGame/Game/Meteor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpaceGame
{
public class Meteor : IPrintable
{
// private fields
private int x;
private int y;
private char symbol;
private Consol... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpaceGame
{
public class Meteor : IPrintable
{
// private fields
private int x;
private int y;
private char symbol;
private Consol... | mit | C# |
2f74f139356d523ad844dafb083f85d018abaf2e | Update LiteDbConnectionProvider.cs | X-OFF/xoff | Framework/XOFF.LiteDB/LiteDbConnectionProvider.cs | Framework/XOFF.LiteDB/LiteDbConnectionProvider.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using LiteDB;
using LiteDB.Platform;
namespace XOFF.LiteDB
{
public class LiteDbConnectionProvider : ILiteDbConnectionProvider
{
private LiteDatabase _database;
private Se... | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using LiteDB;
namespace XOFF.LiteDB
{
public class LiteDbConnectionProvider : ILiteDbConnectionProvider
{
private LiteDatabase _database;
private Semaphore _semaphore;
publ... | mit | C# |
10a10007567c1e523e6c874b4f07b9ff5cf09b70 | Add link to Guava implementation of Cache. | NextMethod/Tamarind | Tamarind/Cache/ICache.cs | Tamarind/Cache/ICache.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Tamarind.Cache
{
// Guava Reference: https://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/common/cache/Cache.java
// TODO: NEEDS DOCUMENTATION.
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Tamarind.Cache
{
// TODO: NEEDS DOCUMENTATION.
public interface ICache<K, V>
{
V GetIfPresent(K key);
V Get(K key, Func<V> valueLoader);
Im... | mit | C# |
7fe9a36fbc6db1c1399c9b2ece305ab673090783 | Fix console project. | haefele/Ynab,haefele/YnabApi | src/Console/Program.cs | src/Console/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ynab;
using Ynab.Desktop;
using Ynab.DeviceActions;
using Ynab.Dropbox;
namespace Console
{
class Program
{
public static void Main(string[] args)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ynab;
using Ynab.Desktop;
using Ynab.Dropbox;
using Ynab.Items;
namespace Console
{
class Program
{
public static void Main(string[] args)
{
Run().Wait();
... | mit | C# |
fd922dc680564df456be88bc699991291efa78a5 | Remove Runner.consoleRunner references | sharper-library/Sharper.C.Testing | Sharper.C.Testing/Testing/InvariantRunner.cs | Sharper.C.Testing/Testing/InvariantRunner.cs | using System;
using System.Collections.Generic;
using Microsoft.FSharp.Core;
using Microsoft.FSharp.Collections;
using FsCheck;
namespace Sharper.C.Testing
{
public struct InvariantRunner
: IRunner
{
private readonly List<InvariantResult> results;
private InvariantRunner(List<InvariantRe... | using System;
using System.Collections.Generic;
using Microsoft.FSharp.Core;
using Microsoft.FSharp.Collections;
using FsCheck;
namespace Sharper.C.Testing
{
public struct InvariantRunner
: IRunner
{
private readonly List<InvariantResult> results;
private InvariantRunner(List<InvariantRe... | mit | C# |
8669114581815386999bdb74eb851cdc1c705cb6 | Remove unused using. | shrimpy/kudu,oliver-feng/kudu,badescuga/kudu,sitereactor/kudu,sitereactor/kudu,shrimpy/kudu,badescuga/kudu,chrisrpatterson/kudu,WeAreMammoth/kudu-obsolete,juvchan/kudu,kenegozi/kudu,duncansmart/kudu,WeAreMammoth/kudu-obsolete,barnyp/kudu,bbauya/kudu,kali786516/kudu,projectkudu/kudu,YOTOV-LIMITED/kudu,kali786516/kudu,sh... | Kudu.Core/Deployment/Generator/NodeSiteBuilder.cs | Kudu.Core/Deployment/Generator/NodeSiteBuilder.cs | using Kudu.Contracts.Settings;
using Kudu.Core.SourceControl.Git;
using System;
using System.Globalization;
using System.Threading.Tasks;
namespace Kudu.Core.Deployment.Generator
{
public class NodeSiteBuilder : BaseBasicBuilder
{
public NodeSiteBuilder(IEnvironment environment, IDeploymentSettingsMan... | using Kudu.Contracts.Settings;
using Kudu.Core.SourceControl.Git;
using System;
using System.Globalization;
using System.IO.Abstractions;
using System.Threading.Tasks;
namespace Kudu.Core.Deployment.Generator
{
public class NodeSiteBuilder : BaseBasicBuilder
{
public NodeSiteBuilder(IEnvironment envir... | apache-2.0 | C# |
628443596f7a7882f015eefc8d7e11ff6b9039a7 | remove redundant field | WojcikMike/docs.particular.net,SzymonPobiega/docs.particular.net,eclaus/docs.particular.net,pedroreys/docs.particular.net,pashute/docs.particular.net,yuxuac/docs.particular.net | Snippets/Snippets_5/Logging/BuiltInConfig.cs | Snippets/Snippets_5/Logging/BuiltInConfig.cs | using NServiceBus.Logging;
public class BuiltInConfig
{
public void ChangingDefaults()
{
#region OverrideLoggingDefaultsInCode
var defaultFactory = LogManager.Use<DefaultFactory>();
defaultFactory.Directory("pathToLoggingDirectory");
defaultFactory.Level(LogLevel.Debug);
... | using NServiceBus.Logging;
public class BuiltInConfig
{
string pathToLoggingDirectory = "";
public void ChangingDefaults()
{
#region OverrideLoggingDefaultsInCode
var defaultFactory = LogManager.Use<DefaultFactory>();
defaultFactory.Directory(pathToLoggingDirectory);
def... | apache-2.0 | C# |
d7be02f994d5fc952d14dacdccd4c9c1fa21bd8a | Add tests | skonves/Konves.KScript | tests/Konves.KScript.UnitTests/ExpressionTestFixture.cs | tests/Konves.KScript.UnitTests/ExpressionTestFixture.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Konves.KScript.UnitTests
{
[TestClass]
public class ExpressionTestFixture
{
[TestCategory(nameof(Expression))]
[TestMethod]
public ... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Konves.KScript.UnitTests
{
[TestClass]
public class ExpressionTestFixture
{
[TestCategory(nameof(Expression))]
[TestMethod]
public ... | apache-2.0 | C# |
a2f90c1a3b9adfa96902bd00871bbaf28fbbd4aa | Apply ReSharper magic. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | test/HelloCoreClrApp.Test/TestserverStartup.cs | test/HelloCoreClrApp.Test/TestserverStartup.cs | using System;
using HelloCoreClrApp.Data;
using HelloCoreClrApp.Data.Entities;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
namespace HelloCoreClrApp.Test
{
public class TestserverStartup : Startup
{
public TestserverStartup(IHostingEnvironment env)
: base(env)
... | using System;
using HelloCoreClrApp.Data;
using HelloCoreClrApp.Data.Entities;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
namespace HelloCoreClrApp.Test
{
public class TestserverStartup : Startup
{
public TestserverStartup(IHostingEnvironment env)
: base(env)
... | mit | C# |
c39f8ec7f0cec218feda8445c390926aa17e659a | make PocketBoolean internal | ceee/PocketSharp | PocketSharp/Models/PocketBoolean.cs | PocketSharp/Models/PocketBoolean.cs | namespace PocketSharp.Models
{
internal enum PocketBoolean
{
No = 0,
Yes = 1,
IsType = 2
}
}
| namespace PocketSharp.Models
{
public enum PocketBoolean
{
No = 0,
Yes = 1,
IsType = 2
}
}
| mit | C# |
fc1dee29a0d372e3c0ba6a8f152943ce7f881620 | Change DragOperationsMask to uint and make Every = UInt32.MaxValue | haozhouxu/CefSharp,rover886/CefSharp,dga711/CefSharp,battewr/CefSharp,dga711/CefSharp,illfang/CefSharp,joshvera/CefSharp,Haraguroicha/CefSharp,twxstar/CefSharp,Livit/CefSharp,dga711/CefSharp,NumbersInternational/CefSharp,haozhouxu/CefSharp,Octopus-ITSM/CefSharp,zhangjingpu/CefSharp,windygu/CefSharp,gregmartinhtc/CefSha... | CefSharp/DragOperationsMask.cs | CefSharp/DragOperationsMask.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
[Flags]
public enum DragOperationsMask : uint
{
None = 0,
Copy = 1,
Link ... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
[Flags]
public enum DragOperationsMask
{
None = 0,
Copy = 1,
Link = 2,
... | bsd-3-clause | C# |
1abe6274db0660127c6b6e0291df52f35c75e2c1 | Replace <inheritdoc/> by Hard-Coded Documentation | JKarathiya/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,QuantConnect/Lean,AlexCatarino/Lean,jameschch/Lean,jameschch/Lean,StefanoRaggi/Lean,JKarathiya/Lean,AlexCatarino/Lean,jameschch/Lean... | Common/Data/Custom/NullData.cs | Common/Data/Custom/NullData.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | apache-2.0 | C# |
7e0b214510fa6e3f4b1cd3f0b6d6474145ce5893 | Remove account and api key | jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew | TwilioAPI.cs | TwilioAPI.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Twilio;
using Twilio.Rest.Api.V2010.Account;
using Twilio.Types;
namespace VendingMachineNew
{
public class TwilioAPI
{
static void Main(string[] args)
{
SendSms... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Twilio;
using Twilio.Rest.Api.V2010.Account;
using Twilio.Types;
namespace VendingMachineNew
{
public class TwilioAPI
{
static void Main(string[] args)
{
SendSms... | mit | C# |
3df96746c6dc8951428d0a674b11faf07fd1d513 | Set Configuration.DefaultNameOrConnectionString for unit tests by default. | verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ZhaoRd/aspnetboilerplate,zquans/aspnetboilerplate,ryancyq/aspnetboilerplate,virtualcca/aspnetboilerplate,jaq316/aspnetboilerplate,ShiningRush/aspnetboilerplate,carldai0106/aspnetboilerplate,zquans/aspnetboilerplate,luchaoshuai/aspnetbo... | src/Abp.TestBase/TestBase/AbpTestBaseModule.cs | src/Abp.TestBase/TestBase/AbpTestBaseModule.cs | using System.Reflection;
using Abp.Modules;
namespace Abp.TestBase
{
[DependsOn(typeof(AbpKernelModule))]
public class AbpTestBaseModule : AbpModule
{
public override void PreInitialize()
{
Configuration.EventBus.UseDefaultEventBus = false;
Configuration.DefaultName... | using System.Reflection;
using Abp.Modules;
namespace Abp.TestBase
{
[DependsOn(typeof(AbpKernelModule))]
public class AbpTestBaseModule : AbpModule
{
public override void PreInitialize()
{
Configuration.EventBus.UseDefaultEventBus = false;
}
public override vo... | mit | C# |
5769d91d6b780fdb122bc5f5c7fbb5d0e2102138 | Update ExtractorService with new path for storing files | jeroen-corsius/smart-meter | SmartMeter.Business/Extractor/ExtractorService.cs | SmartMeter.Business/Extractor/ExtractorService.cs | using System;
using System.IO;
using SmartMeter.Business.Interface.Extractor;
namespace SmartMeter.Business.Extractor {
public class ExtractorService {
public void Execute() {
IReadSmartMeter smartMeterReader = new SmartMeterReader();
IWriteFile fileWriter = new FileWriter();
string f... | using System;
using System.IO;
using SmartMeter.Business.Interface;
using SmartMeter.Business.Interface.Extractor;
namespace SmartMeter.Business.Extractor {
public class ExtractorService {
public void Execute() {
IReadSmartMeter smartMeterReader = new SmartMeterReader();
IWriteFile fileWrit... | mit | C# |
6e4013a7a1aa96e4edfbc819623f2fa1ba8002b5 | Update CommandsController - mark fields as readomly | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.WebServer/Controllers/CommandsController.cs | Modix.WebServer/Controllers/CommandsController.cs | using Microsoft.AspNetCore.Mvc;
using Modix.Services.CommandHelp;
namespace Modix.WebServer.Controllers
{
[Route("~/api")]
public class CommandsController : Controller
{
private readonly CommandHelpService _commandHelpService;
public CommandsController(CommandHelpService commandHelpServic... | using Microsoft.AspNetCore.Mvc;
using Modix.Services.CommandHelp;
namespace Modix.WebServer.Controllers
{
[Route("~/api")]
public class CommandsController : Controller
{
private CommandHelpService _commandHelpService;
public CommandsController(CommandHelpService commandHelpService)
... | mit | C# |
17b483249afab985edbb1f176356957fe8cd14e3 | Comment on SquareBoundary | davidaramant/buddhabrot,davidaramant/buddhabrot | src/Buddhabrot.Core/Boundary/SquareBoundary.cs | src/Buddhabrot.Core/Boundary/SquareBoundary.cs | using System.Drawing;
namespace Buddhabrot.Core.Boundary;
/// <summary>
/// A square in screen coordinates (+Y is down)
/// </summary>
public readonly record struct SquareBoundary(
int X,
int Y,
int Scale)
{
public bool IsPoint => Scale == 0;
public int Length => 1 << Scale;
public int Quadra... | using System.Drawing;
namespace Buddhabrot.Core.Boundary;
public readonly record struct SquareBoundary(
int X,
int Y,
int Scale)
{
public bool IsPoint => Scale == 0;
public int Length => 1 << Scale;
public int QuadrantLength => 1 << (Scale - 1);
public Point Center => new(X + QuadrantLeng... | bsd-2-clause | C# |
a7fa3b11a2ef001745ab5169b55039abf036df5c | Fix DelayableAction delays persisting DAH serialization | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder | PathfinderAPI/Action/DelayablePathfinderAction.cs | PathfinderAPI/Action/DelayablePathfinderAction.cs | using System;
using System.Xml;
using Hacknet;
using Pathfinder.Util;
using Pathfinder.Util.XML;
namespace Pathfinder.Action
{
public abstract class DelayablePathfinderAction : PathfinderAction
{
[XMLStorage]
public string DelayHost;
[XMLStorage]
public string Delay;
... | using System;
using System.Xml;
using Hacknet;
using Pathfinder.Util;
using Pathfinder.Util.XML;
namespace Pathfinder.Action
{
public abstract class DelayablePathfinderAction : PathfinderAction
{
[XMLStorage]
public string DelayHost;
[XMLStorage]
public string Delay;
... | mit | C# |
2f4fa6670b1c88f9040957df90a58a5726fa183e | Update SettingsTable.cs | SE2-BAC/BAC-Tracker | BAC_Tracker/BAC_Tracker/BAC_Tracker.Android/Database/SettingsTable.cs | BAC_Tracker/BAC_Tracker/BAC_Tracker.Android/Database/SettingsTable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using SQLite;
namespace BAC_Tracker.Droid.Fragments
{
//Had to recreate the Person class in Android to get the SQLite working properly.
[Table("Settings")]
class Settings
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using SQLite;
namespace BAC_Tracker.Droid.Fragments
{
//Had to recreate the Person class in Android to get the SQLite working properly.
[Table("Settings")]
class Settings
{
... | apache-2.0 | C# |
a93c3cc2c4c0da69e5831f2476e222a20b87fbbb | add menu items | jdehlin/Twitta,jdehlin/Twitta | Source/Twitta.Website/Views/Shared/_Layout.cshtml | Source/Twitta.Website/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Twitta</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryval")
@Scripts.Render("~/... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Twitta</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryval")
@Scripts.Render("~/... | mit | C# |
b2cbb48cc3952d53acea7a677e8407f7e5e30ecb | Fix for shader preview window in material tool appearing and then just disappearing | xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE,xlgames-inc/XLE | Tools/ControlsLibrary/BasicControls/TextWindow.cs | Tools/ControlsLibrary/BasicControls/TextWindow.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ControlsLibrary.BasicControls
{
public partial class TextWindow : Form
{
public TextWindow()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ControlsLibrary.BasicControls
{
public partial class TextWindow : Form
{
public TextWindow()
{
... | mit | C# |
a0aa88cc73a3cf540734b4240dfbc92da433b68e | update docs on IPolygon | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Voxelgon/Geometry/Interfaces/IPolygon.cs | Assets/Voxelgon/Geometry/Interfaces/IPolygon.cs | using System.Collections.Generic;
using UnityEngine;
namespace Voxelgon.Geometry {
public interface IPolygon {
//PROPERTIES
//access each vertex individually by its index
Vector3 this[int index] { get; set; }
//the normal of the clockwise polygon
// if the polygon is in... | using System.Collections.Generic;
using UnityEngine;
namespace Voxelgon.Geometry {
public interface IPolygon {
//PROPERTIES
//access each vertex individually by its index
Vector3 this[int index] { get; set; }
//the normal of the clockwise polygon
Vector3 Normal { get; }... | apache-2.0 | C# |
43a5991ccf47a4b55c2d23e6acd09223bf3946e2 | read model | neuralaxis/carupano | Carupano/Configuration/ReadModelModelBuilder.cs | Carupano/Configuration/ReadModelModelBuilder.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Carupano.Configuration
{
public class ReadModelModelBuilder<T>
{
public ReadModelModelBuilder<T> RespondsTo<TQuery>()
{
return this;
}
public ReadModelModelBuilder<T> AutoConfigure()
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Carupano.Configuration
{
public class ReadModelModelBuilder<T>
{
public ReadModelModelBuilder<T> RespondsTo<TQuery>()
{
return this;
}
}
}
| mit | C# |
321c18c8a5233d5ce7447e527bb1eb434407f151 | Prueba 2| | ThinkUpStudios/TestGitHub | TestGit/Class1.cs | TestGit/Class1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestGit
{
class Class1
{
public string lalala { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestGit
{
class Class1
{
public Int32 lalala { get; set; }
}
}
| apache-2.0 | C# |
674100ec36eafc6b19ce268f8e55d8ca06fe206c | Remove test intead of fixing it 👍 | TheTree/branch,TheTree/branch,TheTree/branch | dotnet/Tests/Clients/JsonTests/OptionTests.cs | dotnet/Tests/Clients/JsonTests/OptionTests.cs | using System;
using Xunit;
using Branch.Clients.Json;
using System.Threading.Tasks;
using Branch.Clients.Http.Models;
using System.Collections.Generic;
namespace Branch.Tests.Clients.JsonTests
{
public class OptionTests
{
[Fact]
public void RespectOptions()
{
var options = new Options
{
... | using System;
using Xunit;
using Branch.Clients.Json;
using System.Threading.Tasks;
using Branch.Clients.Http.Models;
using System.Collections.Generic;
namespace Branch.Tests.Clients.JsonTests
{
public class OptionTests
{
[Fact]
public void RespectOptions()
{
var options = new Options
{
... | mit | C# |
9b18ab9fb438a88c2be8a54aa3f567a9b1c398da | Fix crash in UWP design mode (#735) | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs | Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs | using System;
using System.ComponentModel;
using Windows.ApplicationModel;
#if WINDOWS_UWP
namespace Xamarin.Forms.Platform.UWP
#else
namespace Xamarin.Forms.Platform.WinRT
#endif
{
public abstract class WindowsBasePage : Windows.UI.Xaml.Controls.Page
{
public WindowsBasePage()
{
if (!DesignMode.DesignMode... | using System;
using System.ComponentModel;
using Windows.ApplicationModel;
#if WINDOWS_UWP
namespace Xamarin.Forms.Platform.UWP
#else
namespace Xamarin.Forms.Platform.WinRT
#endif
{
public abstract class WindowsBasePage : Windows.UI.Xaml.Controls.Page
{
public WindowsBasePage()
{
Windows.UI.Xaml.Applicatio... | mit | C# |
e0223ba9c7de2d2ec6dfc679a44702bb720bc9cf | fix typo | sitofabi/duplicati,mnaiman/duplicati,agrajaghh/duplicati,sitofabi/duplicati,gerco/duplicati,sitofabi/duplicati,klammbueddel/duplicati,gerco/duplicati,agrajaghh/duplicati,duplicati/duplicati,AndersGron/duplicati,klammbueddel/duplicati,AndersGron/duplicati,AndersGron/duplicati,klammbueddel/duplicati,klammbueddel/duplicat... | Duplicati/Library/Backend/SharePoint/Strings.cs | Duplicati/Library/Backend/SharePoint/Strings.cs | using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Backend.Strings
{
internal static class SharePoint
{
public static string DisplayName { get { return LC.L(@"Microsoft SharePoint"); } }
public static string Description { get { return LC.L(@"Supports connections to a ShareP... | using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Backend.Strings
{
internal static class SharePoint
{
public static string DisplayName { get { return LC.L(@"Microsoft SharePoint"); } }
public static string Description { get { return LC.L(@"Supports connections to a ShareP... | lgpl-2.1 | C# |
49cf0275581ae8880a8d6cd0b7e95c3e11e44464 | Add test | sakapon/Samples-2015 | ExpressionsSample/ExpressionsConsole/Program.cs | ExpressionsSample/ExpressionsConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExpressionsConsole
{
class Program
{
static void Main(string[] args)
{
EntityTypeTest();
EntityTypeTimeT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExpressionsConsole
{
class Program
{
static void Main(string[] args)
{
EntityTest();
CsvTest();
}
static void E... | mit | C# |
2e4c5a0c970949d066663fcf4159447584ac8ad1 | Update NewSellerListing.cs | viagogo/gogokit.net | src/GogoKit/Models/Request/NewSellerListing.cs | src/GogoKit/Models/Request/NewSellerListing.cs | using System;
using GogoKit.Models.Response;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GogoKit.Models.Request
{
[DataContract]
public class NewSellerListing
{
[DataMember(Name = "number_of_tickets")]
public int? NumberOfTickets { get; set; }
[... | using System;
using GogoKit.Models.Response;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GogoKit.Models.Request
{
[DataContract]
public class NewSellerListing
{
[DataMember(Name = "number_of_tickets")]
public int? NumberOfTickets { get; set; }
[... | mit | C# |
774b29ff9cdf81eebd76e7fbaec3b2eedd410e34 | Bump LatestBreakingChange to 0.28.0 | gep13/cake,devlead/cake,gep13/cake,Sam13/cake,robgha01/cake,vlesierse/cake,devlead/cake,robgha01/cake,Sam13/cake,mholo65/cake,cake-build/cake,vlesierse/cake,ferventcoder/cake,cake-build/cake,mholo65/cake,ferventcoder/cake,patriksvensson/cake,patriksvensson/cake | src/Cake.Core/Constants.cs | src/Cake.Core/Constants.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;
namespace Cake.Core
{
internal static class Constants
{
public static readonly Versi... | // 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;
namespace Cake.Core
{
internal static class Constants
{
public static readonly Versi... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.