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
09080d8e2ed771e677cf51b826bab877b4f2e39d
Change name of marketplaceBankAccount
balanced/balanced-csharp
scenarios/snippets/order-credit-marketplace.cs
scenarios/snippets/order-credit-marketplace.cs
BankAccount marketplaceBankAccount = Marketplace.Mine.owner_customer.bank_accounts.First(); Dictionary<string, object> creditPayload = new Dictionary<string, object>(); creditPayload.Add("amount", 2000); creditPayload.Add("description", "Credit from order escrow to marketplace bank account"); Credit credit = order.Cred...
BankAccount marketplaceAccount = Marketplace.Mine.owner_customer.bank_accounts.First(); Dictionary<string, object> creditPayload = new Dictionary<string, object>(); creditPayload.Add("amount", 2000); creditPayload.Add("description", "Credit from order escrow to marketplace bank account"); Credit credit = order.CreditTo...
mit
C#
eb5211e7a50b8f30c58e0f197901b12e6573edbf
Switch the option on push command to be false by default. This makes it cleaner to turn off publishing. "nuget push -co vs. nuget push -pub-"
mono/nuget,GearedToWar/NuGet2,mrward/NuGet.V2,mrward/NuGet.V2,jmezach/NuGet2,antiufo/NuGet2,pratikkagda/nuget,pratikkagda/nuget,OneGet/nuget,chester89/nugetApi,antiufo/NuGet2,OneGet/nuget,mrward/nuget,oliver-feng/nuget,mrward/NuGet.V2,kumavis/NuGet,OneGet/nuget,ctaggart/nuget,mrward/NuGet.V2,mrward/nuget,RichiCoder1/nu...
src/CommandLine/Commands/PushCommand.cs
src/CommandLine/Commands/PushCommand.cs
namespace NuGet.Commands { using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using NuGet.Common; [Export(typeof(ICommand))] [Command(typeof(NuGetResources), "push", "PushCommandDescription", AltName="pu", MinArgs = ...
namespace NuGet.Commands { using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using NuGet.Common; [Export(typeof(ICommand))] [Command(typeof(NuGetResources), "push", "PushCommandDescription", AltName="pu", MinArgs = ...
apache-2.0
C#
7b834d88e77b0b067a62972ac0257915e1e71b6e
Update PageControl.xaml.cs
Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D.UI/Views/PageControl.xaml.cs
src/Core2D.UI/Views/PageControl.xaml.cs
using Avalonia.Controls; using Avalonia.Controls.PanAndZoom; using Avalonia.Markup.Xaml; namespace Core2D.UI.Views { /// <summary> /// Interaction logic for <see cref="PageControl"/> xaml. /// </summary> public class PageControl : UserControl { private ScrollViewer _scrollViewer; p...
using Avalonia.Controls; using Avalonia.Controls.PanAndZoom; using Avalonia.Markup.Xaml; namespace Core2D.UI.Views { /// <summary> /// Interaction logic for <see cref="PageControl"/> xaml. /// </summary> public class PageControl : UserControl { private ScrollViewer _scrollViewer; p...
mit
C#
3a872eac896fc5dac3cdae5196f1bffa43b0407c
Add permission and remarks
Auxes/Dogey
src/Dogey.SQLite/Modules/GuildModule.cs
src/Dogey.SQLite/Modules/GuildModule.cs
using Discord; using Discord.Commands; using System.Threading.Tasks; namespace Dogey.SQLite.Modules { public class GuildModule : ModuleBase<SocketCommandContext> { private ConfigDatabase _db; protected override void BeforeExecute() { _db = new ConfigDatabase(); } ...
using Discord.Commands; using System.Threading.Tasks; namespace Dogey.SQLite.Modules { public class GuildModule : ModuleBase<SocketCommandContext> { private ConfigDatabase _db; protected override void BeforeExecute() { _db = new ConfigDatabase(); } pr...
apache-2.0
C#
de07804952c2de14b01835f3ed2e5263b440de91
Fix for blinking tests issue
pshort/nsupertest
NSuperTest/Registration/RegistrationDiscoverer.cs
NSuperTest/Registration/RegistrationDiscoverer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace NSuperTest.Registration { public static class AssemblyExtensions { public static IEnumerable<Type> GetLoadableTypes(this Assembly assembly) { try ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NSuperTest.Registration { public class RegistrationDiscoverer { public IEnumerable<IRegisterServers> FindRegistrations() { var type = typeof(IRegisterServers); va...
mit
C#
1aa0a826e8aea16f771b036db559aa563a1e6903
Raise an exception when the returned value is null.
dlemstra/Magick.NET,dlemstra/Magick.NET
src/Magick.NET/Native/NativeInstance.cs
src/Magick.NET/Native/NativeInstance.cs
// Copyright 2013-2019 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-2019 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#
4eede296d25ed7c5b918d7f514b422c5980d8027
add available proteomes download
rmillikin/MetaMorpheus
GUI/DownloadUniProtDatabaseWindow.xaml.cs
GUI/DownloadUniProtDatabaseWindow.xaml.cs
using MzLibUtil; using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; us...
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace MetaMorp...
mit
C#
3fa6821e92d9a9ec8d9bf64ff8c5ebd54568d097
Change document handle to id.
yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET
src/Arango/Arango.Client/API/ArangoDocument.cs
src/Arango/Arango.Client/API/ArangoDocument.cs
//using System; using System.Collections.Generic; using System.Dynamic; namespace Arango.Client { public class ArangoDocument { public string ID { get; set; } public string Revision { get; set; } public dynamic JsonObject { get; set; } public ArangoDocument() ...
//using System; using System.Collections.Generic; using System.Dynamic; namespace Arango.Client { public class ArangoDocument { public string Handle { get; set; } public string Revision { get; set; } public dynamic JsonObject { get; set; } public ArangoDocument() ...
mit
C#
6d9331c49d36ce9590cd6c1cae6c69f41dbc8679
Improve documentation of 0100664 mode usage
OidaTiftla/libgit2sharp,dlsteuer/libgit2sharp,AMSadek/libgit2sharp,vivekpradhanC/libgit2sharp,libgit2/libgit2sharp,psawey/libgit2sharp,psawey/libgit2sharp,yishaigalatzer/LibGit2SharpCheckOutTests,dlsteuer/libgit2sharp,oliver-feng/libgit2sharp,PKRoma/libgit2sharp,jamill/libgit2sharp,GeertvanHorrik/libgit2sharp,xoofx/lib...
LibGit2Sharp/Mode.cs
LibGit2Sharp/Mode.cs
namespace LibGit2Sharp { /// <summary> /// Git specific modes for entries. /// </summary> public enum Mode { // Inspired from http://stackoverflow.com/a/8347325/335418 /// <summary> /// 000000 file mode (the entry doesn't exist) /// </summary> Nonexisten...
namespace LibGit2Sharp { /// <summary> /// Git specific modes for entries. /// </summary> public enum Mode { // Inspired from http://stackoverflow.com/a/8347325/335418 /// <summary> /// 000000 file mode (the entry doesn't exist) /// </summary> Nonexisten...
mit
C#
ca24f81f7f5f789723f942b9acad04949e8a7cdf
fix to partial view locations for areas
stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing
src/RestfulRouting/RestfulRoutingViewEngine.cs
src/RestfulRouting/RestfulRoutingViewEngine.cs
using System.Web.Mvc; namespace RestfulRouting { public class RestfulRoutingViewEngine : WebFormViewEngine { public RestfulRoutingViewEngine() { AreaMasterLocationFormats = new[] { "~/Views/{2}/{1}/{0}.master", "~/Views/{2}/Shared/{0}.master", }; AreaViewLocatio...
using System.Web.Mvc; namespace RestfulRouting { public class RestfulRoutingViewEngine : WebFormViewEngine { public RestfulRoutingViewEngine() { AreaMasterLocationFormats = new[] { "~/Views/{2}/{1}/{0}.master", "~/Views/{2}/Shared/{0}.master", }; Ar...
mit
C#
ba6d20bd985d06ba83d6091d68f7fceeecf48488
Bump version after the sidechain commit (#3304)
bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoi...
src/Stratis.Bitcoin/Properties/AssemblyInfo.cs
src/Stratis.Bitcoin/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("Str...
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("Str...
mit
C#
c4835920b2dccd5d2259cb97ee94ae554db36fe7
allow setting default fore/back color
nerai/Unlog
src/Unlog.AdditionalTargets/WpfRtfLogTarget.cs
src/Unlog.AdditionalTargets/WpfRtfLogTarget.cs
using System; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using Unlog.Util; namespace Unlog.AdditionalTargets { public class WpfRtfLogTarget : ILogTarget { private readonly RichTextBox _RTF; private Color _Fore; private Color _Back; public Color DefaultForegr...
using System; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using Unlog.Util; namespace Unlog.AdditionalTargets { public class WpfRtfLogTarget : ILogTarget { private readonly RichTextBox _RTF; private Color _Fore; private Color _Back; public WpfRtfLogTarget ...
mit
C#
510e940d555a782600fbdf82c92ac8ac6d83ebbd
Comment to Balance
NikIvRu/NectarineProject
Mall/Basic/Balnce.cs
Mall/Basic/Balnce.cs
namespace Mall.Staff { abstract class Balnce { //Balance for employes and clients protected decimal Balance { get; set; } abstract public void GetPaid(decimal sum) { } abstract public bool Pay(decimal sum) { return true; } } }
namespace Mall.Staff { abstract class Balnce { protected decimal Balance { get; set; } abstract public void GetPaid(decimal sum) { } abstract public bool Pay(decimal sum) { return true; } } }
mit
C#
4c4cc620fe88d0da1b9ea28706d71eccb094231f
Change comments header
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
src2/WpfMinesweeper/App.xaml.cs
src2/WpfMinesweeper/App.xaml.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="App.xaml.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // Interaction logic for App.xaml // </summary> // --------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="App.xaml.cs" company=""> // // </copyright> // <summary> // Interaction logic for App.xaml // </summary> // ------------------------------------------------------------------...
mit
C#
2fda0b71fe44891089d59ecdfbbc10bffdd8d340
Add method to get a computer’s printers
christianz/printnode-net
PrintNodeComputer.cs
PrintNodeComputer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using PrintNodeNet.Http; namespace PrintNodeNet { public sealed class PrintNodeComputer { [JsonProperty("id")] public long Id { get; set; } [JsonProper...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using PrintNodeNet.Http; namespace PrintNodeNet { public sealed class PrintNodeComputer { [JsonProperty("id")] public long Id { get; set; } [JsonProper...
mit
C#
00a8a8a141fc4cd0802466f9bd6fb16a0a47223a
Add ReadAsLocalTimeProperty to Connection.
mongodb-csharp/mongodb-csharp,samus/mongodb-csharp,zh-huan/mongodb
source/MongoDB/Configuration/MongoConfiguration.cs
source/MongoDB/Configuration/MongoConfiguration.cs
using MongoDB.Configuration.Mapping; using MongoDB.Serialization; namespace MongoDB.Configuration { /// <summary> /// /// </summary> public class MongoConfiguration { /// <summary> /// MongoDB-CSharp default configuration. /// </summary> public static ...
using MongoDB.Configuration.Mapping; using MongoDB.Serialization; namespace MongoDB.Configuration { /// <summary> /// /// </summary> public class MongoConfiguration { /// <summary> /// MongoDB-CSharp default configuration. /// </summary> public static ...
apache-2.0
C#
8b0325613a293d8bd3f55af06a55bbfa3715e4b2
Optimize InstrumentFieldsMiddleware when metrics are disabled (#3130)
graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Instrumentation/InstrumentFieldsMiddleware.cs
src/GraphQL/Instrumentation/InstrumentFieldsMiddleware.cs
namespace GraphQL.Instrumentation { /// <summary> /// Middleware required for Apollo tracing to record performance metrics of field resolvers. /// </summary> public class InstrumentFieldsMiddleware : IFieldMiddleware { /// <inheritdoc/> public ValueTask<object?> ResolveAsync(IResolve...
namespace GraphQL.Instrumentation { /// <summary> /// Middleware required for Apollo tracing to record performance metrics of field resolvers. /// </summary> public class InstrumentFieldsMiddleware : IFieldMiddleware { /// <inheritdoc/> public async ValueTask<object?> ResolveAsync(IR...
mit
C#
77f8df930f7530d4e20d187c517729125498ecd8
Build edit page for enabled RPs
rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,IdentityServer/IdentityServer2,kjnilsson/Thinktect...
src/OnPremise/WebSite/ViewModels/RelyingPartyViewModel.cs
src/OnPremise/WebSite/ViewModels/RelyingPartyViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Thinktecture.IdentityServer.Web.ViewModels { public class RelyingPartyViewModel { public string ID { get; set; } public string DisplayName { get; set; } public bool Enabled { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Thinktecture.IdentityServer.Web.ViewModels { public class RelyingPartyViewModel { public int ID { get; set; } public string DisplayName { get; set; } } }
bsd-3-clause
C#
ffd17f9c4cbb2b99fd59e5c01d08f34a28df9ee5
rename the test to clarify.
jwChung/Experimentalism,jwChung/Experimentalism
test/ExperimentalUnitTest/Scenario.cs
test/ExperimentalUnitTest/Scenario.cs
using Xunit; namespace Jwc.Experimental { public class Scenario { [Theorem] public void TheoremAttributeOnMethodIndicatesTestCase() { Assert.True(true, "excuted."); } } }
using Xunit; namespace Jwc.Experimental { public class Scenario { [Theorem] public void TheoremActAsFactAttribute() { Assert.True(true, "Excuted"); } } }
mit
C#
883872b1d9ed38f9dc5e3a26c5bc1ec39450bd46
Change htmlEncoder to optional in FormDataSetExtensions.CreateBody
AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp
src/AngleSharp/Html/Forms/FormDataSetExtensions.cs
src/AngleSharp/Html/Forms/FormDataSetExtensions.cs
namespace AngleSharp.Html.Forms { using AngleSharp.Html.Forms.Submitters; using AngleSharp.Io; using AngleSharp.Text; using System; using System.IO; using System.Text; static class FormDataSetExtensions { public static Stream CreateBody(this FormDataSet formDataSet, String encty...
namespace AngleSharp.Html.Forms { using AngleSharp.Html.Forms.Submitters; using AngleSharp.Io; using AngleSharp.Text; using System; using System.IO; using System.Text; static class FormDataSetExtensions { public static Stream CreateBody(this FormDataSet formDataSet, String encty...
mit
C#
94a67d946e31035b28042ee8c0645eb72dca13f0
Implement Servers model.
DimensionDataResearch/cloudcontrol-client-core
src/DD.CloudControl.Client/Models/Server/Server.cs
src/DD.CloudControl.Client/Models/Server/Server.cs
using Newtonsoft.Json; using System.Collections.Generic; using System; namespace DD.CloudControl.Client.Models.Server { /// <summary> /// Represents an MCP 2.0 Server (virtual machine). /// </summary> public class Server : Resource { /// <summary> /// The server name. /// </summary> [JsonP...
using Newtonsoft.Json; using System.Collections.Generic; using System; namespace DD.CloudControl.Client.Models.Server { /// <summary> /// Represents an MCP 2.0 Server (virtual machine). /// </summary> public class Server : Resource { /// <summary> /// The server name. /// </summary> [JsonP...
mit
C#
53f7f0a9f08d041e639ed071350f852c7e7ac1bd
Update in creation of table
pontazaricardo/DBMS_Parser_Insert
main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs
main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace dbms_objects_data { class Table { public DataTable table = new DataTable(); public Table() { } public bool insertRows(str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace dbms_objects_data { class Table { public DataTable table = new DataTable(); public Table() { } public bool insertRows(str...
mpl-2.0
C#
1b1b74961fc0cb258dad9cb0c1c12125f7bc1079
fix Signum.Upgrade
signumsoftware/framework,signumsoftware/framework
Signum.Upgrade/Program.cs
Signum.Upgrade/Program.cs
using Signum.Utilities; using System; namespace Signum.Upgrade; class Program { static void Main(string[] args) { Console.WriteLine(); Console.WriteLine(" ..:: Welcome to Signum Upgrade ::.."); Console.WriteLine(); SafeConsole.WriteLineColor(ConsoleColor.DarkGray...
using Signum.Utilities; using System; namespace Signum.Upgrade; class Program { static void Main(string[] args) { Console.WriteLine(); Console.WriteLine(" ..:: Welcome to Signum Upgrade ::.."); Console.WriteLine(); SafeConsole.WriteLineColor(ConsoleColor.DarkGray...
mit
C#
69615a76b5563e2d240d439b9d6392e1cc34ec50
remove discus from drafts
boyarincev/boyarincev.net,boyarincev/boyarincev.net
Snow/themes/snowbyte/_layouts/post.cshtml
Snow/themes/snowbyte/_layouts/post.cshtml
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel> @using System.Collections.Generic @{ Layout = "default.cshtml"; } <div class="post"> <h1>@Model.Title</h1> <div class="meta"> <p class="posted">@Model.PostDate.ToString("dd MMM yyyy")</p> <ul class="categor...
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel> @using System.Collections.Generic @{ Layout = "default.cshtml"; } <div class="post"> <h1>@Model.Title</h1> <div class="meta"> <p class="posted">@Model.PostDate.ToString("dd MMM yyyy")</p> <ul class="categor...
mit
C#
2eba48db81e3e0c62079437cfb178ac9fbe0307e
Reformat IFiles
coryrwest/B2.NET
src/IFiles.cs
src/IFiles.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using B2Net.Models; namespace B2Net { public interface IFiles { Task<B2File> Delete(string fileId, string fileName, CancellationToken cancelToken = default(CancellationToken)); Task<B2File> DownloadById(string fileId, Cancell...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using B2Net.Models; namespace B2Net { public interface IFiles { Task<B2File> Delete(string fileId, string fileName, CancellationToken cancelToken = default(CancellationToken)); Task<B2File> DownloadById(string fileId, ...
mit
C#
c61b5bb979d682a5d7bf527578e4b82b7adc78bf
Add expiration to client secret
chicoribas/IdentityServer3,jonathankarsh/IdentityServer3,delRyan/IdentityServer3,delloncba/IdentityServer3,roflkins/IdentityServer3,angelapper/IdentityServer3,openbizgit/IdentityServer3,ryanvgates/IdentityServer3,bodell/IdentityServer3,tonyeung/IdentityServer3,charoco/IdentityServer3,tuyndv/IdentityServer3,uoko-J-Go/Id...
source/Core/Models/ClientSecret.cs
source/Core/Models/ClientSecret.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
C#
5abf26dbf6badcf4191cd9b8d26eaf071759452f
Change meter name to Microsoft.Orleans (#8107)
waynemunro/orleans,hoopsomuah/orleans,waynemunro/orleans,dotnet/orleans,hoopsomuah/orleans,dotnet/orleans
src/Orleans.Core/Diagnostics/Metrics/Instruments.cs
src/Orleans.Core/Diagnostics/Metrics/Instruments.cs
using System.Diagnostics.Metrics; namespace Orleans.Runtime; internal static class Instruments { internal static readonly Meter Meter = new("Microsoft.Orleans"); }
using System.Diagnostics.Metrics; namespace Orleans.Runtime; internal static class Instruments { internal static readonly Meter Meter = new("Orleans"); }
mit
C#
8b2c370635ca9e2fab55bb7e2c1bd8b10e8bacda
add new route for vote with code
KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem
VotingSystem.Web/App_Start/RouteConfig.cs
VotingSystem.Web/App_Start/RouteConfig.cs
namespace VotingSystem.Web { using System.Web.Mvc; using System.Web.Routing; public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( na...
namespace VotingSystem.Web { using System.Web.Mvc; using System.Web.Routing; public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name...
mit
C#
2922998dddb3ab81209ad06ec6bf491c7e23ed0d
Create test for inherited private validator function
dbrizov/NaughtyAttributes
Assets/NaughtyAttributes/Scripts/Test/ValidateInputTest.cs
Assets/NaughtyAttributes/Scripts/Test/ValidateInputTest.cs
using UnityEngine; namespace NaughtyAttributes.Test { public class ValidateInputTest : MonoBehaviour { [ValidateInput("NotZero0", "int0 must not be zero")] public int int0; private bool NotZero0(int value) { return value != 0; } public ValidateInputNest1 nest1; public ValidateInp...
using UnityEngine; namespace NaughtyAttributes.Test { public class ValidateInputTest : MonoBehaviour { [ValidateInput("NotZero0", "int0 must not be zero")] public int int0; private bool NotZero0(int value) { return value != 0; } public ValidateInputNest1 nest1; } [System.Seriali...
mit
C#
09b20b57eb580782b64161ace9b34b8ae2ecdd4b
simplify generator
robkeim/xcsharp,exercism/xcsharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,robkeim/xcsharp,exercism/xcsharp
generators/Exercises/Generators/SgfParsing.cs
generators/Exercises/Generators/SgfParsing.cs
using System; using System.Collections.Generic; using System.Linq; using Exercism.CSharp.Output; using Exercism.CSharp.Output.Rendering; using Newtonsoft.Json.Linq; namespace Exercism.CSharp.Exercises.Generators { public class SgfParsing : GeneratorExercise { protected override void UpdateTestMethod(T...
using System; using System.Collections.Generic; using System.Linq; using Exercism.CSharp.Output; using Exercism.CSharp.Output.Rendering; using Newtonsoft.Json.Linq; namespace Exercism.CSharp.Exercises.Generators { public class SgfParsing : GeneratorExercise { protected override void UpdateTestMethod(T...
mit
C#
ffdebd0ea720748ef612298160643729834114f7
Update BlockRef to use some ChunkBlockStorage
copygirl/EntitySystem
src/World/BlockRef.cs
src/World/BlockRef.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using EntitySystem.Components.World; using EntitySystem.Utility; namespace EntitySystem.World { public class BlockRef : IEntityRef { public ChunkManager ChunkManager { get; private set; } public BlockPos Position { get; ...
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using EntitySystem.Components.World; using EntitySystem.Utility; namespace EntitySystem.World { public class BlockRef : IEntityRef { public ChunkManager ChunkManager { get; private set; } public BlockPos Position { get; private set; }...
mit
C#
9793ef6296932edae4892c11256c2d19055f0b0b
Use I18N where possible. Added OpenUserFile() method.
Zastai/POLUtils
PlayOnline.FFXI/Character.cs
PlayOnline.FFXI/Character.cs
using System; using System.IO; using Microsoft.Win32; using PlayOnline.Core; namespace PlayOnline.FFXI { public class Character { internal Character(string ContentID) { this.ID_ = ContentID; this.DataDir_ = Path.Combine(POL.GetApplicationPath(AppID.FFXI), Path.Combine("User", ContentID)); } ...
using System; using System.IO; using Microsoft.Win32; using PlayOnline.Core; namespace PlayOnline.FFXI { public class Character { #region Data Members public string ID { get { return this.ID_; } } public string Name { get { string value = String.Format("Unknown Character ({0})", this.ID_...
apache-2.0
C#
420e84ef6a7ce9bd67d444f60a3013f123a2266b
Use POL.OpenPOLUtilsConfigKey() where applicable. Adjusted retrieval of character name mappings to avoid problems/crashes if the registry entry is somehow not a string value.
Vicrelant/polutils,Vicrelant/polutils,graspee/polutils,graspee/polutils
PlayOnline.FFXI/Character.cs
PlayOnline.FFXI/Character.cs
using System; using System.IO; using Microsoft.Win32; using PlayOnline.Core; namespace PlayOnline.FFXI { public class Character { internal Character(string ContentID) { this.ID_ = ContentID; this.DataDir_ = Path.Combine(POL.GetApplicationPath(AppID.FFXI), Path.Combine("User", ContentID)); } ...
using System; using System.IO; using Microsoft.Win32; using PlayOnline.Core; namespace PlayOnline.FFXI { public class Character { internal Character(string ContentID) { this.ID_ = ContentID; this.DataDir_ = Path.Combine(POL.GetApplicationPath(AppID.FFXI), Path.Combine("User", ContentID)); } ...
apache-2.0
C#
c3e7deb62760559b6a0d24d8b2941ddfe217d579
Fix CA
tom-englert/Wax
Wax.Model/Wix/WixNames.cs
Wax.Model/Wix/WixNames.cs
namespace tomenglertde.Wax.Model.Wix { using System.Diagnostics.Contracts; using System.Xml.Linq; using JetBrains.Annotations; public class WixNames { [NotNull] private readonly string _namespace; public WixNames([NotNull] string @namespace) { Con...
namespace tomenglertde.Wax.Model.Wix { using System.Diagnostics.Contracts; using System.Xml.Linq; using JetBrains.Annotations; public class WixNames { [NotNull] private readonly string _namespace; public WixNames([NotNull] string @namespace) { Con...
mit
C#
ab1e46330d81f047ad514d0a6f75b389d29ec573
Add and adapt MetallkeferController
emazzotta/unity-tower-defense
Assets/Scripts/Enemies/MetallKeferController.cs
Assets/Scripts/Enemies/MetallKeferController.cs
using UnityEngine; using System.Collections; public class MetallKeferController : MonoBehaviour { public GameObject towerBasesWaypoint; private GameObject baseStart; // Use this for initialization void Start () { this.FindInititalWaypoint (); } // Update is called once per frame void Update () { } v...
using UnityEngine; using System.Collections; public class MetallKeferController : MonoBehaviour { private GameObject baseStart; // Use this for initialization void Start () { this.FindInititalWaypoint (); } // Update is called once per frame void Update () { } void FindInititalWaypoint() { Debug.Lo...
mit
C#
3f87b52706ce0b304107d9b9a5c8a60bf38a946e
add subscription models
grokify/ringcentral-sdk-csharp-simple
RingCentralSimple/Request.cs
RingCentralSimple/Request.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace RingCentralSimple.Model { public class Base { public string ToJson() { return JsonConvert.SerializeObject( this, Formatting.None, new JsonSerializerSett...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace RingCentralSimple.Model { public class Base { public string ToJson() { return JsonConvert.SerializeObject( this, Formatting.None, new JsonSerializerSett...
mit
C#
2a584ecb8760a64653aad6f9e46d027ade6700d5
update existing object type
thestonefox/VRTK,TMaloteaux/SteamVR_Unity_Toolkit,red-horizon/VRTK,mattboy64/SteamVR_Unity_Toolkit,gpvigano/VRTK,virror/VRTK,Fulby/VRTK,gpvigano/SteamVR_Unity_Toolkit,gomez-addams/SteamVR_Unity_Toolkit,adamjweaver/VRTK,thestonefox/SteamVR_Unity_Toolkit,Innoactive/IA-unity-VR-toolkit-VRTK
Assets/VRTK/Scripts/Internal/VRTK_PlayerObject.cs
Assets/VRTK/Scripts/Internal/VRTK_PlayerObject.cs
//==================================================================================== // // Purpose: Provide a way of tagging game objects as player specific objects to // allow other scripts to identify these specific objects without needing to use tags // or without needing to append the name of the game object. /...
//==================================================================================== // // Purpose: Provide a way of tagging game objects as player specific objects to // allow other scripts to identify these specific objects without needing to use tags // or without needing to append the name of the game object. /...
mit
C#
450f944007f8d0029ad5f283acc975fd5e8d3cdc
Write tests
mdsol/mauth-client-dotnet
tests/Medidata.MAuth.Tests/UtilityExtensionsTest.cs
tests/Medidata.MAuth.Tests/UtilityExtensionsTest.cs
using System; using System.Threading.Tasks; using Medidata.MAuth.Core; using Medidata.MAuth.Tests.Infrastructure; using Xunit; namespace Medidata.MAuth.Tests { public static class UtilityExtensionsTest { [Fact] public static async Task TryParseAuthenticationHeader_WithValidAuthHeader_WillSucce...
using System; using System.Threading.Tasks; using Medidata.MAuth.Core; using Medidata.MAuth.Tests.Infrastructure; using Xunit; namespace Medidata.MAuth.Tests { public static class UtilityExtensionsTest { [Fact] public static async Task TryParseAuthenticationHeader_WithValidAuthHeader_WillSucce...
mit
C#
45e23e1ad95a440ec75c0d8095deabfc32183eff
Add unqualified name lookup to the MissingMemberName test
jonathanvdc/ecsc
tests/cs-errors/misspelled-name/MisspelledMemberName.cs
tests/cs-errors/misspelled-name/MisspelledMemberName.cs
using static System.Console; public class Counter { public Counter() { } public int Count; public Counter Increment() { Count++; return this; } } public static class Program { public static readonly Counter printCounter = new Counter(); public static void Main() { ...
using static System.Console; public class Counter { public Counter() { } public int Count; public Counter Increment() { Count++; return this; } } public static class Program { public static readonly Counter printCounter = new Counter(); public static void Main() { ...
mit
C#
620006fa7689f779b248b2d9fa720afa9f596552
Test for sequence in JSON
xtrmstep/xtrmstep.extractor
Extractor/Extractor.Core.Tests/FileReaderTests.cs
Extractor/Extractor.Core.Tests/FileReaderTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Xtrmstep.Extractor.Core.Tests { public class FileReaderTests { const string testDataFolder = @"c:\TestData\"; [Fact(DisplayName = "Read JSON Files / One e...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Xtrmstep.Extractor.Core.Tests { public class FileReaderTests { const string testDataFolder = @"f:\TestData\"; [Fact(DisplayName = "Read JSON Files / One e...
mit
C#
5f85a2587d1ceb94315dc388be71dcf7c8cd37b7
implement much of the match logic
Aggrathon/rps_tournament
Assets/Scripts/RPS/Match.cs
Assets/Scripts/RPS/Match.cs
using System.Collections.Generic; public class Match { public enum RPS { Rock = 0, Paper = 1, Scissors = 2 } private IRPSPlayer player1; private IRPSPlayer player2; private bool player1HasPlayed; private bool player2HasPlayed; private LinkedList<RPS> player1Choices; private LinkedList<RPS> player2C...
using System.Collections.Generic; public class Match { private IRPSPlayer player1; private IRPSPlayer player2; public Match(IRPSPlayer player1, IRPSPlayer player2) { this.player1 = player1; this.player2 = player2; } }
mit
C#
fda448d6083bd1701e5e3c459507da116f48495d
fix for infinite DG
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/ClassSpecific/ClassAbnormalityTracker.cs
TCC.Core/ClassSpecific/ClassAbnormalityTracker.cs
using System; using System.Collections.Generic; using TCC.Data; using TCC.Data.Skills; using TCC.Parsing.Messages; namespace TCC.ClassSpecific { public class ClassAbnormalityTracker { protected static readonly List<ulong> MarkedTargets = new List<ulong>(); public static event Action<ulong> Mar...
using System; using System.Collections.Generic; using TCC.Data; using TCC.Data.Skills; using TCC.Parsing.Messages; namespace TCC.ClassSpecific { public class ClassAbnormalityTracker { protected static readonly List<ulong> MarkedTargets = new List<ulong>(); public static event Action<ulong> Mar...
mit
C#
0109167e0513ac670a2efdb5088dc57298f07047
Add anti-parallelization attribute to get all tests running under NUnit
madelson/MedallionShell
MedallionShell.Tests/Properties/AssemblyInfo.cs
MedallionShell.Tests/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("Me...
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("Me...
mit
C#
f2fa4c357b0d233d9266a36a7cf2d261fe5ca853
Work on AstReflection.
rsdn/nitra,JetBrains/Nitra,JetBrains/Nitra,rsdn/nitra
Nitra.Visualizer/ViewModels/AstNodeViewModel.cs
Nitra.Visualizer/ViewModels/AstNodeViewModel.cs
using Nitra.ClientServer.Client; using Nitra.ClientServer.Messages; using ReactiveUI; using ReactiveUI.Fody.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using JetBrains.Util; namespace Nitra.Vis...
using Nitra.ClientServer.Client; using Nitra.ClientServer.Messages; using ReactiveUI; using ReactiveUI.Fody.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nitra.Visualizer.ViewModels { public class AstNodeViewMod...
apache-2.0
C#
7ce2ddb4001a6cb5cefd4c788f2255ed23135357
fix moneromoney util
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer.Common/Altcoins/Monero/Utils/MoneroMoney.cs
BTCPayServer.Common/Altcoins/Monero/Utils/MoneroMoney.cs
using System.Globalization; namespace BTCPayServer.Services.Altcoins.Monero.Utils { public class MoneroMoney { public static decimal Convert(long piconero) { var amt = piconero.ToString(CultureInfo.InvariantCulture).PadLeft(12, '0'); amt = amt.Length == 12 ? $"0.{amt}" :...
using System.Globalization; namespace BTCPayServer.Services.Altcoins.Monero.Utils { public class MoneroMoney { public static decimal Convert(long atoms) { var amt = atoms.ToString(CultureInfo.InvariantCulture).PadLeft(12, '0'); amt = amt.Length == 12 ? $"0.{amt}" : amt.I...
mit
C#
c7f67a111dad10c1b691e0f4eb0de33ca578587b
Remove Console.WriteLine
akatakritos/SassSharp
SassSharp/SassCompiler.cs
SassSharp/SassCompiler.cs
using SassSharp.Ast; using SassSharp.Tokens; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp { public class SassCompiler { public string Compile(string sass) { var tokenizer = new Tokenizer(); ...
using SassSharp.Ast; using SassSharp.Tokens; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp { public class SassCompiler { public string Compile(string sass) { var tokenizer = new Tokenizer(); ...
mit
C#
aeee80e13bf961bdba7d64e93b1be1c62bfdcd88
Remove culture
laedit/SemanticReleaseNotesParser,laedit/SemanticReleaseNotesParser,laedit/AV-GH-release-notes
SemanticReleaseNotesParser.Core/Properties/AssemblyInfo.cs
SemanticReleaseNotesParser.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SemanticReleaseNotesParser.Core")] [assemb...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SemanticReleaseNotesParser.Core")] [assemb...
apache-2.0
C#
fa7be52fa71ab991d7911c558b05ed48f2a1cda3
Revert "Force fix for new databases"
stevenhillcox/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,J...
VotingApplication/VotingApplication.Web.Api/Global.asax.cs
VotingApplication/VotingApplication.Web.Api/Global.asax.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; using VotingApplication.Data.Context; using VotingApplicati...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; using VotingApplication.Data.Context; using VotingApplicati...
apache-2.0
C#
e40327226bd482b5b9cec20f5248aeb4929876f7
Update code task
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/Skins/SkinObjects/EpsilonMenuBase.cs
R7.Epsilon/Skins/SkinObjects/EpsilonMenuBase.cs
// // File: EpsilonMenuBase.cs // Project: R7.Epsilon // // Author: Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015-2019 Roman M. Yagodin, R7.Labs // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as publi...
// // File: EpsilonMenuBase.cs // Project: R7.Epsilon // // Author: Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015-2019 Roman M. Yagodin, R7.Labs // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as publi...
agpl-3.0
C#
e77b0a65a72eb7daeb005537a73d45334cc9f119
save of DGML fixed
ronin4net/Plainion.GraphViz,plainionist/Plainion.GraphViz,ronin4net/Plainion.GraphViz,plainionist/Plainion.GraphViz
src/Plainion.GraphViz.Modules.Documents/DGMLExporter.cs
src/Plainion.GraphViz.Modules.Documents/DGMLExporter.cs
using System; using System.IO; using System.Security; using Plainion.GraphViz.Model; namespace Plainion.GraphViz.Modules.Documents { class DgmlExporter { public static void Export(IGraph graph, Func<Node, string> GetNodeLabel, TextWriter writer) { Contract.RequiresNotNul...
using System; using System.IO; using Plainion.GraphViz.Model; namespace Plainion.GraphViz.Modules.Documents { class DgmlExporter { public static void Export(IGraph graph, Func<Node, string> GetNodeLabel, TextWriter writer) { Contract.RequiresNotNull(graph, "graph"); ...
bsd-3-clause
C#
f10b86c9ec58018681d4df4e4a7a023da7c58dca
Fix RelationMapperProfiler
tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,NikRimington/Umbraco-CMS,rasmuseeg/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,rasmuseeg/Umbraco-CMS,leekelleher/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/U...
src/Umbraco.Web/Models/Mapping/RelationMapperProfile.cs
src/Umbraco.Web/Models/Mapping/RelationMapperProfile.cs
using AutoMapper; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Web.Models.ContentEditing; namespace Umbraco.Web.Models.Mapping { internal class RelationMapperProfile : Profile { public RelationMapperProfile() { // FROM IRelationType to RelationTypeDisplay ...
using AutoMapper; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Web.Models.ContentEditing; namespace Umbraco.Web.Models.Mapping { internal class RelationMapperProfile : Profile { public RelationMapperProfile() { // FROM IRelationType to RelationTypeDisplay ...
mit
C#
bc48ccef88b3ccd5231aaa3882d5d9e953923b1f
Add recurring job for reading status
mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager
SupportManager.Control/SupportManagerService.cs
SupportManager.Control/SupportManagerService.cs
using Hangfire; using StructureMap; using SupportManager.Contracts; using SupportManager.Control.Infrastructure; using Topshelf; namespace SupportManager.Control { public class SupportManagerService : ServiceControl { private readonly IContainer container; private BackgroundJobServer jobServer;...
using Hangfire; using StructureMap; using SupportManager.Control.Infrastructure; using Topshelf; namespace SupportManager.Control { public class SupportManagerService : ServiceControl { private readonly IContainer container; private BackgroundJobServer jobServer; public SupportManagerS...
mit
C#
eb3926e52cae67b32ba4832806ef185a4fc60f2c
fix cookies
FirebrandTech/fcs-sdk-net,FirebrandTech/fcs-sdk-net,FirebrandTech/fcs-sdk-net
Src/Framework/IContext.cs
Src/Framework/IContext.cs
// Copyright © 2010-2015 Firebrand Technologies using System; using System.Web; using System.Web.Security; using ServiceStack; using ServiceStack.Logging; namespace Fcs.Framework { public interface IContext { string CurrentUserName { get; } HttpCookie GetRequestCookie(string name); void S...
// Copyright © 2010-2015 Firebrand Technologies using System; using System.Web; using System.Web.Security; namespace Fcs.Framework { public interface IContext { string CurrentUserName { get; } HttpCookie GetRequestCookie(string name); void SetResponseCookie(string name, string value, Date...
mit
C#
5169a8f3b883929bc9af61bbac3ad449b8d7c6b1
Make Project visible by default.
ForNeVeR/ProjectAutomata
Importer.cs
Importer.cs
using System.Collections.Generic; using Microsoft.Office.Interop.MSProject; namespace ProjectAutomata { class Importer { public void Import(string fileName) { var tasks = GetTasks(fileName); var project = OpenProject(); CreateTasks(project, tasks); } private IEnumerable<TaskDescription> GetTasks(...
using System.Collections.Generic; using Microsoft.Office.Interop.MSProject; namespace ProjectAutomata { class Importer { public void Import(string fileName) { var tasks = GetTasks(fileName); var project = OpenProject(); CreateTasks(project, tasks); } private IEnumerable<TaskDescription> GetTasks(...
mit
C#
cb3e032b6228c04d44fc8414eb8e4f5dcd3433eb
Make sure grid is not still initializing when verifying its data
2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano
test/GlobalSearch.cs
test/GlobalSearch.cs
using NUnit.Framework; using OpenQA.Selenium; using System.Linq; namespace Vidyano.Test { [TestFixture("chrome")] [TestFixture("safari")] [TestFixture("firefox")] [TestFixture("edge")] [TestFixture("ie")] [Parallelizable(ParallelScope.Fixtures)] public class GlobalSearch: BrowserStackTestB...
using NUnit.Framework; using OpenQA.Selenium; using System.Linq; namespace Vidyano.Test { [TestFixture("chrome")] [TestFixture("safari")] [TestFixture("firefox")] [TestFixture("edge")] [TestFixture("ie")] [Parallelizable(ParallelScope.Fixtures)] public class GlobalSearch: BrowserStackTestB...
mit
C#
502c48416913fac5ea777da555afc4c7d7d0bf74
Make WbEntityEditEntry sealed.
CXuesong/WikiClientLibrary
WikiClientLibrary.Wikibase/WbEntityEditEntry.cs
WikiClientLibrary.Wikibase/WbEntityEditEntry.cs
using System; using System.Collections.Generic; using System.Text; namespace WikiClientLibrary.Wikibase { /// <summary> /// Represents an item of coarse-grained modification information on <see cref="WbEntity"/>. /// </summary> public sealed class WbEntityEditEntry { private WbEntityEditE...
using System; using System.Collections.Generic; using System.Text; namespace WikiClientLibrary.Wikibase { /// <summary> /// Represents an item of coarse-grained modification information on <see cref="WbEntity"/>. /// </summary> public class WbEntityEditEntry { private WbEntityEditEntrySta...
apache-2.0
C#
5964bb9c134c29dfa1b7023c851e7f660eac4d13
Check hack to generate partial methods in c#
vjacquet/WmcSoft
WmcSoft.CodeDom.Tests/CodeDomExtensionsTests.cs
WmcSoft.CodeDom.Tests/CodeDomExtensionsTests.cs
using System; using System.CodeDom; using System.CodeDom.Compiler; using System.IO; using System.Text; using Microsoft.CSharp; using Xunit; using Xunit.Abstractions; namespace WmcSoft.CodeDom.Tests { public class CodeDomExtensionsTests { private readonly ITestOutputHelper _output; public Code...
using System; using System.CodeDom; using Xunit; namespace WmcSoft.CodeDom.Tests { public class CodeDomExtensionsTests { [Fact] public void CanCreateTryCatchFinallyBlocks() { var compileUnit = new CodeCompileUnit(); var samples = new CodeNamespace("Samples"); ...
mit
C#
0a9411f09fcc74bafd348718158b14ab02363387
Update PrimeNumbers.cs
DanielaPopova/TelerikAcademy_Homeworks,DanielaPopova/TelerikAcademy_Homeworks,DanielaPopova/TelerikAcademy_Homeworks
C#2/Arrays_HW/Problem15_PrimeNumbers/PrimeNumbers.cs
C#2/Arrays_HW/Problem15_PrimeNumbers/PrimeNumbers.cs
// 100/100 bgcoder namespace Homeworks { using System; class Program { static void Main() { int length = int.Parse(Console.ReadLine()); byte[] isPrime = new byte[length + 1]; int biggestPrime = 0; for (int i = 2; i <= length; i++) ...
using System; class PrimeNumbers { static void Main() { //60/100 bgcoder - timeLimit int num = int.Parse(Console.ReadLine()); int[] array = new int[num + 1]; int maxNum = int.MinValue; int count = 2; for (int i = 2; i <= num; i++) { array[i...
mit
C#
f1bfc9d56a5233622a36252ee5bb8769792f1e1c
Fix converter for possible null values.
igitur/ClosedXML,b0bi79/ClosedXML,ClosedXML/ClosedXML
ClosedXML/Utils/OpenXmlHelper.cs
ClosedXML/Utils/OpenXmlHelper.cs
using DocumentFormat.OpenXml; namespace ClosedXML.Utils { internal static class OpenXmlHelper { public static BooleanValue GetBooleanValue(bool value, bool defaultValue) { return value == defaultValue ? null : new BooleanValue(value); } public static bool GetBoolea...
using DocumentFormat.OpenXml; namespace ClosedXML.Utils { internal static class OpenXmlHelper { public static BooleanValue GetBooleanValue(bool value, bool defaultValue) { return value == defaultValue ? null : new BooleanValue(value); } public static bool GetBoolea...
mit
C#
de249140c017a508db7ed8ce68c648d76728e3e2
Fix an issue where SUBTOTAL would include non-tokenized subtotal precedents.
jetreports/EPPlus
EPPlus/FormulaParsing/Excel/Functions/CellStateHelper.cs
EPPlus/FormulaParsing/Excel/Functions/CellStateHelper.cs
/* Copyright (C) 2011 Jan Källman * * 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 (at your option) any later version. * This libr...
/* Copyright (C) 2011 Jan Källman * * 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 (at your option) any later version. * This libr...
lgpl-2.1
C#
d3efd35417d9bb0603c923ce66f68d1248c40d07
Fix cross thread error
nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Win/HourGlass.cs
MultiMiner.Win/HourGlass.cs
using System; using System.Windows.Forms; using System.Runtime.InteropServices; using MultiMiner.Utility; namespace MultiMiner.Win { public class HourGlass : IDisposable { public HourGlass() { Enabled = true; } public void Dispose() { Enabled = ...
using System; using System.Windows.Forms; using System.Runtime.InteropServices; using MultiMiner.Utility; namespace MultiMiner.Win { public class HourGlass : IDisposable { public HourGlass() { Enabled = true; } public void Dispose() { Enabled = ...
mit
C#
35d04bd22355bcc5d873524c1f66c2a70366db58
increment TableIO ver
nabehiro/TableIO
src/TableIO/Properties/AssemblyInfo.cs
src/TableIO/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TableIO")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TableIO")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assemb...
apache-2.0
C#
d585354d4ecbfca1066d7b886c0f056efd7c89ef
Increment version to 2.0.0
MacDennis76/Unicorn,bllue78/Unicorn,kamsar/Unicorn,PetersonDave/Unicorn,rmwatson5/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn,MacDennis76/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,PetersonDave/Unicorn,bllue78/Unicorn
src/Unicorn/Properties/AssemblyInfo.cs
src/Unicorn/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Unicorn")] [assembly: AssemblyDescription...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Unicorn")] [assembly: AssemblyDescription...
mit
C#
b8749164a20129a0f220d9f61b05333138fef5f2
Revert the CWD update change
robinrodricks/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP
FluentFTP/Client/BaseClient/Execute.cs
FluentFTP/Client/BaseClient/Execute.cs
using System; using FluentFTP.Client.Modules; using FluentFTP.Helpers; namespace FluentFTP.Client.BaseClient { public partial class BaseFtpClient { /// <summary> /// Executes a command /// </summary> /// <param name="command">The command to execute</param> /// <returns>The servers reply to the command</r...
using System; using FluentFTP.Client.Modules; using FluentFTP.Helpers; namespace FluentFTP.Client.BaseClient { public partial class BaseFtpClient { /// <summary> /// Executes a command /// </summary> /// <param name="command">The command to execute</param> /// <returns>The servers reply to the command</r...
mit
C#
cf25e98eb6becdc60cc74fc1e17a5c4e698e13f7
fix Upgrade_20210824_UpdateNugets
signumsoftware/framework,signumsoftware/framework
Signum.Upgrade/Upgrades/Upgrade_20210824_UpdateNugets.cs
Signum.Upgrade/Upgrades/Upgrade_20210824_UpdateNugets.cs
using Signum.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20210824_UpdateNugets : CodeUpgradeBase ...
using Signum.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20210824_UpdateNugets : CodeUpgradeBase ...
mit
C#
e6f4cf34043f1bac3e7acdc42ca6db54984ab479
Update BigAppliances.cs
jkanchelov/Telerik-OOP-Team-StarFruit
TeamworkStarFruit/CatalogueLib/Products/BigAppliances.cs
TeamworkStarFruit/CatalogueLib/Products/BigAppliances.cs
namespace CatalogueLib { using System.Text; using CatalogueLib.Products.Enumerations; public abstract class BigAppliances : Product { public BigAppliances() { } public BigAppliances(int ID, decimal price, bool isAvailable, Brand brand, string Color, string CountryOfOr...
namespace CatalogueLib { using System.Text; using CatalogueLib.Products.Enumerations; public abstract class BigAppliances : Product { public BigAppliances() { } public BigAppliances(int ID, decimal price, bool isAvailable, Brand brand, string Color, string CountryOfOr...
mit
C#
ad739f06bc52fd8504d87e61408ef7f8cd1eecc6
Use calculated property.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Models/TransactionBuilding/PaymentIntent.cs
WalletWasabi/Models/TransactionBuilding/PaymentIntent.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.Helpers; namespace WalletWasabi.Models.TransactionBuilding { public class PaymentIntent { public IEnumerable<DestinationRequest> Requests { get; } public ChangeStrategy ChangeStrategy { get; }...
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.Helpers; namespace WalletWasabi.Models.TransactionBuilding { public class PaymentIntent { public IEnumerable<DestinationRequest> Requests { get; } public ChangeStrategy ChangeStrategy { get; }...
mit
C#
9040a7586ce0a81cfa1f810d448a729328a67df4
fix bug
sagivo/ggj16
Assets/Scripts/GameController.cs
Assets/Scripts/GameController.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; public class GameController : BaseObject { //Color originalColor; Item pressedItem; public Image[] lifeImages; public int life = 3; public Sprite decImage; public static GameController game; public Text t; // Use this for initialization ne...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class GameController : BaseObject { //Color originalColor; Item pressedItem; public Image[] lifeImages; public int life = 3; public Sprite decImage; public static GameController game; public Text t; // Use this for initialization ne...
apache-2.0
C#
b02c06f210ce74e37394dc2c38966925a0b770ab
Make randompath failsafe
emazzotta/unity-tower-defense
Assets/Scripts/GameController.cs
Assets/Scripts/GameController.cs
using UnityEngine; using System.Collections; using System; public class GameController : MonoBehaviour { public GameObject originalBase; public GameObject baseFolder; private GameObject gameField; private GameObject[,] bases; private GameObject[] waypoints; private int gameFieldWidth = 0; private int gameFi...
using UnityEngine; using System.Collections; using System; public class GameController : MonoBehaviour { public GameObject originalBase; public GameObject baseFolder; private GameObject gameField; private GameObject[,] bases; private GameObject[] waypoints; private int gameFieldWidth = 0; private int gameFi...
mit
C#
e9c07873087d1e4ececebb6f9a74c03d6101d583
Support list of package sources
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
AspNetCoreSdkTests/NuGetPackageSource.cs
AspNetCoreSdkTests/NuGetPackageSource.cs
using System; using System.Linq; namespace AspNetCoreSdkTests { public class NuGetPackageSource { public static NuGetPackageSource None { get; } = new NuGetPackageSource { Name = nameof(None), SourceArgumentLazy = new Lazy<string>(string.Empty), }; publ...
using System; namespace AspNetCoreSdkTests { public class NuGetPackageSource { public static NuGetPackageSource None { get; } = new NuGetPackageSource { Name = nameof(None), SourceArgumentLazy = new Lazy<string>(string.Empty), }; public static NuGetPack...
apache-2.0
C#
56ea75cb666d5ef7bcb6092218ea9ff370e25783
fix doco
Fody/PropertyChanged,0x53A/PropertyChanged,user1568891/PropertyChanged
PropertyChanged/ImplementPropertyChangedAttribute.cs
PropertyChanged/ImplementPropertyChangedAttribute.cs
using System; using System.ComponentModel; namespace PropertyChanged { /// <summary> /// Specifies that PropertyChanged Notification will be added to a class. /// <para> /// PropertyChanged.Fody will weave the <see cref="INotifyPropertyChanged"/> interface and implementation into the class. /// W...
using System; namespace PropertyChanged { /// <summary> /// Specifies that PropertyChanged Notification will be added to a class. /// <para> /// PropertyChanged.Fody will weave the <c>INotifyPropertyChanged</c> interface and implementation into the class. /// When the value of a property changes, ...
mit
C#
c8576df38e57d7a648b7db373ffa4a3bdd2e9e26
Remove DataService namespace
zindlsn/RosaroterTiger
RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs
RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RosaroterPanterWPF { public class Color { public byte R { get; set; } public byte G { get; set; } public byte B { get; set; } public Color() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RosaroterPanterWPF { namespace DataService { public class Color { public byte R { get; set; } public byte G { get; set; } public byt...
mit
C#
7a862d822c52021c913bf6621a79d81893052b57
Tweak mapping test page
jnoellsch/ektron-fluentapi
Src/Ektron.SharedSource.Sandbox/MappingTests.aspx.cs
Src/Ektron.SharedSource.Sandbox/MappingTests.aspx.cs
using System; using System.Web.UI; using Ektron.Cms.Common; using Ektron.Cms.Content; using Ektron.Cms.Framework.Content; using Ektron.SharedSource.FluentApi; using Ektron.SharedSource.FluentApi.Mapping; namespace Ektron.SharedSource.Sandbox { public partial class MappingTests : Page { protected void ...
using System; using System.Web.UI; using Ektron.Cms.Content; using Ektron.Cms.Framework.Content; using Ektron.SharedSource.FluentApi; using Ektron.SharedSource.FluentApi.Mapping; namespace Ektron.SharedSource.Sandbox { public partial class MappingTests : Page { protected void Page_Load(object sender, ...
mit
C#
34fe4641d87f9051d8576465c892abdd8756bad7
Add startup time measurement
medoni/Wox,Megasware128/Wox,dstiert/Wox,zlphoenix/Wox,dstiert/Wox,JohnTheGr8/Wox,kayone/Wox,Megasware128/Wox,medoni/Wox,dstiert/Wox,zlphoenix/Wox,JohnTheGr8/Wox,kayone/Wox,danisein/Wox,kayone/Wox,yozora-hitagi/Saber,Launchify/Launchify,jondaniels/Wox,jondaniels/Wox,danisein/Wox,yozora-hitagi/Saber,Launchify/Launchify
Wox/App.xaml.cs
Wox/App.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using Wox.CommandArgs; using Wox.Core.Plugin; using Wox.Helper; using Wox.Infrastructure; namespace Wox { public partial class App : Application, ISingleInstanceApp { private const string Unique = "Wox_Unique_Appl...
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using Wox.CommandArgs; using Wox.Core.Plugin; using Wox.Helper; namespace Wox { public partial class App : Application, ISingleInstanceApp { private const string Unique = "Wox_Unique_Application_Mutex"; pu...
mit
C#
ce111480fc0b285962f6b9cd1fbf48854baae6c6
Rename Card Values
Olorin71/RetreatCode,Olorin71/RetreatCode
c#/TexasHoldEmSolution/TexasHoldEm/CardValue.cs
c#/TexasHoldEmSolution/TexasHoldEm/CardValue.cs
namespace TexasHoldEm { public enum CardValue { Ace = 14, King = 13, Queen = 12, Jack = 11, Ten = 10, Nine = 9, Eight = 8, Seven = 7, Six = 6, Five = 5, Four = 4, Three = 3, Two = 2 } }
namespace TexasHoldEm { public enum CardValue { A = 14, K = 13, Q = 12, J = 11, Ten = 10, Nine = 9, Eight = 8, Seven = 7, Six = 6, Five = 5, Four = 4, Three = 3, Two = 2 } }
mit
C#
128ac7cc7923286aa1a0e15881161e6f8057f697
Fix for iOS
HiP-App/HiP-Forms
Sources/HipMobileUI.iOS/AppDelegate.cs
Sources/HipMobileUI.iOS/AppDelegate.cs
using de.upb.hip.mobile.pcl.Common; using de.upb.hip.mobile.pcl.Common.Contracts; using Foundation; using HipMobileUI.iOS.Contracts; using HipMobileUI.Navigation; using HipMobileUI.Pages; using UIKit; namespace HipMobileUI.iOS { // The UIApplicationDelegate for the application. This class is responsible for launc...
using de.upb.hip.mobile.pcl.Common; using de.upb.hip.mobile.pcl.Common.Contracts; using Foundation; using HipMobileUI.iOS.Contracts; using HipMobileUI.Navigation; using UIKit; namespace HipMobileUI.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Int...
apache-2.0
C#
0acdec547fc342ffbc85353453062492d9e13022
modify json serialization options.
tangxuehua/ecommon,Aaron-Liu/ecommon
src/Extensions/ECommon.JsonNet/NewtonsoftJsonSerializer.cs
src/Extensions/ECommon.JsonNet/NewtonsoftJsonSerializer.cs
using System; using System.Collections.Generic; using System.Reflection; using ECommon.Serializing; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; namespace ECommon.JsonNet { /// <summary>Json.Net implementationof IJsonSerializer. /// ...
using System; using System.Collections.Generic; using System.Reflection; using ECommon.Serializing; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; namespace ECommon.JsonNet { /// <summary>Json.Net implementationof IJsonSerializer. /// ...
mit
C#
c8b600802b49f859e56c1db63bc610b33da485e0
Use an actual available choice for LaTeX
verybadcat/CSharpMath
CSharpMath.Ios.Example/IosMathViewController.cs
CSharpMath.Ios.Example/IosMathViewController.cs
using UIKit; namespace CSharpMath.Ios.Example { public class IosMathViewController : UIViewController { public override void ViewDidLoad() { View.BackgroundColor = UIColor.White; var latexView = IosMathLabels.MathView(Rendering.Tests.MathData.IntegralColorBoxCorrect, 50); // WJWJWJ latex here ...
using UIKit; namespace CSharpMath.Ios.Example { public class IosMathViewController : UIViewController { public override void ViewDidLoad() { View.BackgroundColor = UIColor.White; var latexView = IosMathLabels.MathView(Rendering.Tests.MathData.ColorBox, 50); // WJWJWJ latex here latexView.Conte...
mit
C#
22dfa4bacf9496dd04e7af2e961f844b0902a906
mark assembly as alpha
ntent-ad/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metric...
Src/Metrics/Properties/AssemblyInfo.cs
Src/Metrics/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Metrics")] [assembly: AssemblyDescription...
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("Me...
apache-2.0
C#
902e846b84d6e2100d64e4a0b5bdf2679d8ecfee
Fix Otk_Reporter to workaround bug in gmcs.
eylvisaker/AgateLib
Drivers/AgateOTK/Otk_Reporter.cs
Drivers/AgateOTK/Otk_Reporter.cs
using System; using System.Collections.Generic; using System.Text; using AgateLib.Drivers; namespace AgateOTK { class Otk_Reporter : AgateDriverReporter { public override IEnumerable<AgateDriverInfo> ReportDrivers() { yield return new AgateDriverInfo( ...
using System; using System.Collections.Generic; using System.Text; using AgateLib.Drivers; namespace AgateOTK { class Otk_Reporter : AgateDriverReporter { public override IEnumerable<AgateDriverInfo> ReportDrivers() { yield return new AgateDriverInfo( ...
mit
C#
611a08956205b352a535fe1d0f665e0c1711e1cc
Fix the release lookup link
flagbug/Espera,punker76/Espera
Espera/Espera.Core/MusicBrainzArtworkFetcher.cs
Espera/Espera.Core/MusicBrainzArtworkFetcher.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Xml.Linq; using Newtonsoft.Json.Linq; using ReactiveMarrow; using ReactiveUI; namespace Espera.Core { public class MusicBrainzArtworkFetcher : IArtworkFetcher { private ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Xml.Linq; using Newtonsoft.Json.Linq; using ReactiveMarrow; using ReactiveUI; namespace Espera.Core { public class MusicBrainzArtworkFetcher : IArtworkFetcher { private ...
mit
C#
92e3dffe562b3087e177925ff25fde856b731652
fix bug
fredatgithub/DeleteLine
FluentAssertionsUnitTests/UnitTestAllMethods.cs
FluentAssertionsUnitTests/UnitTestAllMethods.cs
using NUnit.Framework; using FluentAssertions; namespace FluentAssertionsUnitTests { [TestFixture] public class UnitTestAllMethods { [Test] public void Should_Start_With_Example() { const string actual = "ABCDEFGHI"; actual.Should().StartWith("AB").And.EndWith("HI").And.Contain("EF").And...
using Microsoft.VisualStudio.TestTools.UnitTesting; using NUnit.Framework; using FluentAssertions; namespace FluentAssertionsUnitTests { [TestClass] public class UnitTestAllMethods { [TestCase] public void Should_Start_With_Example() { const string actual = "ABCDEFGHI"; actual.Should().S...
mit
C#
ff4e5adfab4f2d480c2b0e771a0f478e0f03f868
clean up
jefking/King.Service
King.Service/InitializeRunner.cs
King.Service/InitializeRunner.cs
namespace King.Service { using System; using System.Reflection; /// <summary> /// Initialize Runner /// </summary> public class InitializeRunner : InitializeTask { #region Members /// <summary> /// Instance /// </summary> protected readonly object in...
namespace King.Service { using System; using System.Reflection; /// <summary> /// Initialize Runner /// </summary> public class InitializeRunner : InitializeTask { #region Members /// <summary> /// Instance /// </summary> protected readonly object in...
mit
C#
c09755cfbff589dfbf74ee47bf2501988a24bf9f
Remove SetCoverTaskbarWhenMaximized method from IWindowImpl
jkoritzinsky/Avalonia,MrDaedra/Avalonia,SuperJMN/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,akrisiun/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkori...
src/Avalonia.Controls/Platform/IWindowImpl.cs
src/Avalonia.Controls/Platform/IWindowImpl.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 System; using Avalonia.Controls; namespace Avalonia.Platform { /// <summary> /// Defines a platform-specific window implementation. ///...
// 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 System; using Avalonia.Controls; namespace Avalonia.Platform { /// <summary> /// Defines a platform-specific window implementation. ///...
mit
C#
ec9957d623bc2025341b87fd059203c3311075ff
Update version for NuGet
jehugaleahsa/NRest
NRest/Properties/AssemblyInfo.cs
NRest/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NRest")] [assembly: AssemblyDescription("A simple REST client for making API calls using a fluent syntax.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Truncon")] [assembly: AssemblyProduct("N...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NRest")] [assembly: AssemblyDescription("A simple REST client for making API calls using a fluent syntax.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Truncon")] [assembly: AssemblyProduct("N...
unlicense
C#
ddac3f23ae75409784e49a39819c052a7d516c7c
Move away from v0 approach.
EusthEnoptEron/Sketchball
Sketchball/Elements/Ball.cs
Sketchball/Elements/Ball.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sketchball.Elements { public class Ball : PinballElement, IPhysics { public Vector2 Velocity { get; set; } ...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sketchball.Elements { public class Ball : PinballElement, IPhysics { private Vector2 v; private Vector2 v0; long t = 0; public V...
mit
C#
e14a60040c0eb09065424885ecfbe54132a8f14f
fix file header comment
t-ashula/bl4n
bl4n/Data/IStatus.cs
bl4n/Data/IStatus.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IStatus.cs"> // bl4n - Backlog.jp API Client library // this file is part of bl4n, license under MIT license. http://t-ashula.mit-license.org/2015/ // </copyright> // ---------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IIssue.cs"> // bl4n - Backlog.jp API Client library // this file is part of bl4n, license under MIT license. http://t-ashula.mit-license.org/2015/ // </copyright> // ----------...
mit
C#
40941c5b60a4413eedab7c582008e35f6d7573f9
Update addin info showing that addin uses TypeScript 1.5.3
mrward/typescript-addin,mrward/typescript-addin
src/TypeScriptBinding/Properties/AddinInfo.cs
src/TypeScriptBinding/Properties/AddinInfo.cs
 using System; using Mono.Addins; using Mono.Addins.Description; [assembly:Addin ("TypeScript", Namespace = "MonoDevelop", Version = "0.6", Category = "Web Development")] [assembly:AddinName ("TypeScript")] [assembly:AddinDescription ("Adds TypeScript support. Updated to use TypeScript 1.5.3")] [assembly:AddinDe...
 using System; using Mono.Addins; using Mono.Addins.Description; [assembly:Addin ("TypeScript", Namespace = "MonoDevelop", Version = "0.6", Category = "Web Development")] [assembly:AddinName ("TypeScript")] [assembly:AddinDescription ("Adds TypeScript support. Updated to use TypeScript 1.4")] [assembly:AddinDepe...
mit
C#
1828a30c1dcd0df2db8dd18583dc6d5397d4eaf2
Make the custom action not have to use Debugger.Launch to prove that it works.
jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes
ConsoleApps/FunWithSpikes/Wix.CustomActions/CustomAction.cs
ConsoleApps/FunWithSpikes/Wix.CustomActions/CustomAction.cs
using Microsoft.Deployment.WindowsInstaller; using System; using System.IO; namespace Wix.CustomActions { public class CustomActions { [CustomAction] public static ActionResult CloseIt(Session session) { try { string fileFullPath = Path.Combine(E...
using System; using Microsoft.Deployment.WindowsInstaller; namespace Wix.CustomActions { using System.IO; using System.Diagnostics; public class CustomActions { [CustomAction] public static ActionResult CloseIt(Session session) { try { ...
mit
C#
417dc888832a8a9a5b0130403b6e4a893bccd036
Remove unneeded space
PearMed/Pear-Interaction-Engine
Scripts/EventListeners/Resize.cs
Scripts/EventListeners/Resize.cs
using Pear.InteractionEngine.Utils; using UnityEngine; using Pear.InteractionEngine.Events; using Pear.InteractionEngine.Interactions; namespace Pear.InteractionEngine.EventListeners { /// <summary> /// Resize a game object based on change in event /// </summary> public class Resize : MonoBehaviour, IEv...
using Pear.InteractionEngine.Utils; using UnityEngine; using Pear.InteractionEngine.Events; using Pear.InteractionEngine.Interactions; namespace Pear.InteractionEngine.EventListeners { /// <summary> /// Resize a game object based on change in event /// </summary> public class Resize : MonoBehaviour, IEv...
mit
C#
08faef694bde8b66b7234c231ea58b89a058a951
Add change handling for difficulty section
ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu
osu.Game/Screens/Edit/Timing/DifficultySection.cs
osu.Game/Screens/Edit/Timing/DifficultySection.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.Allocation; using osu.Framework.Bindables; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Screens.Edit.Timing { internal class Difficu...
// 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.Allocation; using osu.Framework.Bindables; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Screens.Edit.Timing { internal class Difficu...
mit
C#
7ac04d04782837946bf6247434d8303d99e1760a
Fix potential crash when exiting editor test mode
ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu
osu.Game/Screens/Edit/GameplayTest/EditorPlayer.cs
osu.Game/Screens/Edit/GameplayTest/EditorPlayer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Screens; using osu.Game.Beatmaps; using osu.Game.Overlays; using osu.Game.Screens.Play; namespace ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Screens; using osu.Game.Beatmaps; using osu.Game.Overlays; using osu.Game.Screens.Play; namespace ...
mit
C#
240e968200f13af5abbf52bdbe67fb1e1eabcd9a
Teste usando o validation helper em portugues, assim aumenta a cobertura de testes. Nao sei se isto eh legal.
LiteFx/LiteFx,LiteFx/LiteFx,LiteFx/LiteFx
LiteFx.Specs/ValidationSpecs/Category.cs
LiteFx.Specs/ValidationSpecs/Category.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LiteFx.Validation.PtBr; namespace LiteFx.Specs.ValidationSpecs { class Category : EntityBaseWithValidation<int> { public string Name { get; set; } public override void ConfigureValidation()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LiteFx.Validation; namespace LiteFx.Specs.ValidationSpecs { class Category : EntityBaseWithValidation<int> { public string Name { get; set; } public override void ConfigureValidation() ...
mit
C#
7ec3e532a8b7613efee59aebb20f83f43e44554b
Update to Abp.Zero 0.7.0.0
volkd/module-zero,AndHuang/module-zero,daywrite/module-zero,volkd/module-zero,asauriol/module-zero,AndHuang/module-zero,andmattia/module-zero,Jerome2606/module-zero,abdllhbyrktr/module-zero,lemestrez/module-zero,CooperLiu/module-zero,lemestrez/module-zero,chilin/module-zero,ilyhacker/module-zero,aspnetboilerplate/modul...
sample/ModuleZeroSampleProject.Core/Users/UserManager.cs
sample/ModuleZeroSampleProject.Core/Users/UserManager.cs
using Abp.Authorization; using Abp.Authorization.Users; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Zero.Configuration; using ModuleZeroSampleProject.Authorization; using ModuleZeroSampleProject.MultiTenancy; namespace ...
using Abp.Authorization; using Abp.Authorization.Users; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Zero.Configuration; using ModuleZeroSampleProject.Authorization; using ModuleZeroSampleProject.MultiTenancy; namespace ...
mit
C#
08e7a3e122162029a5d86816e861e60f53747c94
Add LChflagsCanSetHiddenFlag plug
CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos
source/Cosmos.System2_Plugs/Interop/System.NativeImpl.cs
source/Cosmos.System2_Plugs/Interop/System.NativeImpl.cs
using IL2CPU.API.Attribs; using System; using System.IO; namespace Cosmos.System_Plugs.Interop { [Plug("Interop+Sys, System.Private.CoreLib")] class SysImpl { [PlugMethod(Signature = "System_Void__Interop_Sys_GetNonCryptographicallySecureRandomBytes_System_Byte___System_Int32_")] public st...
using IL2CPU.API.Attribs; using System; using System.IO; namespace Cosmos.System_Plugs.Interop { [Plug("Interop+Sys, System.Private.CoreLib")] class SysImpl { [PlugMethod(Signature = "System_Void__Interop_Sys_GetNonCryptographicallySecureRandomBytes_System_Byte___System_Int32_")] public st...
bsd-3-clause
C#
abd4c753ef09ee2f3098e2d5fe019bd003bdd32a
update assembly info
levid-gc/IdentityServer3.Dapper
source/IdentityServer3.Dapper/Properties/AssemblyInfo.cs
source/IdentityServer3.Dapper/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("Ide...
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("Ide...
apache-2.0
C#
10f1e785034974f759d3bbbb1f641999bc757f99
Fix MemoryBlobStorage
yufeih/Nine.Storage,studio-nine/Nine.Storage
src/Nine.Storage.Abstractions/Blobs/MemoryBlobStorage.cs
src/Nine.Storage.Abstractions/Blobs/MemoryBlobStorage.cs
namespace Nine.Storage.Blobs { using System; using System.Collections.Concurrent; using System.IO; using System.Threading; using System.Threading.Tasks; public class MemoryBlobStorage : IBlobStorage { private readonly ConcurrentDictionary<string, byte[]> _store = new ConcurrentDict...
namespace Nine.Storage.Blobs { using System; using System.Collections.Concurrent; using System.IO; using System.Threading; using System.Threading.Tasks; public class MemoryBlobStorage : IBlobStorage { private readonly ConcurrentDictionary<string, MemoryStream> _store = new Concurre...
mit
C#
6d94006cd8418ea5c8dc22bb9a1f16543f77c936
Use correct casing
DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
src/OmniSharp.Abstractions/Models/v2/CodeFoldingBlock.cs
src/OmniSharp.Abstractions/Models/v2/CodeFoldingBlock.cs
namespace OmniSharp.Models.V2 { public class CodeFoldingBlock { public CodeFoldingBlock(Range textSpan, string type) { Range = textSpan; Type = type; } /// <summary> /// The span of text to collapse. /// </summary> public Range Ra...
namespace OmniSharp.Models.V2 { public class CodeFoldingBlock { public CodeFoldingBlock(Range textSpan, string type) { Range = textSpan; Type = type; } /// <summary> /// The span of text to collapse. /// </summary> public Range Ra...
mit
C#
4f12029a96c8d64a9f14dbee159ebbde2be0931a
Handle null better
stormpath/stormpath-dotnet-owin-middleware
src/Stormpath.Owin.Middleware/RequireCustomDataFilter.cs
src/Stormpath.Owin.Middleware/RequireCustomDataFilter.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Stormpath.Owin.Abstractions; using Stormpath.SDK.Account; using Stormpath.SDK.Sync; namespace Stormpath.Owin.Middleware { public sealed class RequireCustomDataFilter : IAuthorizationFilter { private readonly ...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Stormpath.Owin.Abstractions; using Stormpath.SDK.Account; using Stormpath.SDK.Sync; namespace Stormpath.Owin.Middleware { public sealed class RequireCustomDataFilter : IAuthorizationFilter { private readonly ...
apache-2.0
C#
b86f2aaea56f7cc57cec0af3a1128cfbe84aeca3
Make MT Contact ctor/setters public
xamarin/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,xamarin/Xamarin.Mobile,nexussays/Xamarin.Mobile,orand/Xamarin.Mobile,moljac/Xamarin.Mobile
MonoTouch/MonoMobile.Extensions/Contacts/Contact.cs
MonoTouch/MonoMobile.Extensions/Contacts/Contact.cs
using System.Collections.Generic; using MonoTouch.AddressBook; using MonoTouch.Foundation; using MonoTouch.UIKit; using System; using System.Runtime.InteropServices; namespace Xamarin.Contacts { public class Contact { public Contact() { } internal Contact (ABPerson person) { Id = person.Id.ToString()...
using System.Collections.Generic; using MonoTouch.AddressBook; using MonoTouch.Foundation; using MonoTouch.UIKit; using System; using System.Runtime.InteropServices; namespace Xamarin.Contacts { public class Contact { internal Contact (ABPerson person) { Id = person.Id.ToString(); this.person = person; }...
apache-2.0
C#