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 |
|---|---|---|---|---|---|---|---|---|
c20d2e4938b99b28a72700834d203d4cee40b34d | Update Program.cs | wangzheng888520/CefSharp,wangzheng888520/CefSharp,wangzheng888520/CefSharp,wangzheng888520/CefSharp | CefSharp.WinForms.Example/Program.cs | CefSharp.WinForms.Example/Program.cs | // Copyright © 2010-2015 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;
using System.Windows.Forms;
using CefSharp.Example;
using CefSharp.WinForms.Example.Minimal;
namespace CefSharp.WinForms.Example
{
... | // Copyright © 2010-2015 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;
using System.Windows.Forms;
using CefSharp.Example;
using CefSharp.WinForms.Example.Minimal;
namespace CefSharp.WinForms.Example
{
... | bsd-3-clause | C# |
d0cbed069cc496f0ea741bdad188939144aa5f84 | add country code to company file | MYOB-Technology/AccountRight_Live_API_.Net_SDK,tungripe/AccountRight_Live_API_.Net_SDK,sawilde/AccountRight_Live_API_.Net_SDK | MYOB.API.SDK/SDK/Contracts/CompanyFile.cs | MYOB.API.SDK/SDK/Contracts/CompanyFile.cs | using System;
using System.Runtime.Serialization;
namespace MYOB.AccountRight.SDK.Contracts
{
/// <summary>
/// CompanyFile
/// </summary>
public class CompanyFile
{
/// <summary>
/// The CompanyFile Identifier
/// </summary>
public Guid Id { get; set; }
... | using System;
using System.Runtime.Serialization;
namespace MYOB.AccountRight.SDK.Contracts
{
/// <summary>
/// CompanyFile
/// </summary>
public class CompanyFile
{
/// <summary>
/// The CompanyFile Identifier
/// </summary>
public Guid Id { get; set; }
... | mit | C# |
deac39008fe6e6a86406f192225f36a5ac0df839 | Update EdgeBase.cs to support new ReversePath property. | panthernet/GraphX,slate56/GraphX,edgardozoppi/GraphX,jorgensigvardsson/GraphX,perturbare/GraphX,slate56/GraphX | GraphX.PCL.Common/Models/EdgeBase.cs | GraphX.PCL.Common/Models/EdgeBase.cs | using GraphX.Measure;
using GraphX.PCL.Common.Enums;
using GraphX.PCL.Common.Interfaces;
namespace GraphX.PCL.Common.Models
{
/// <summary>
/// Base class for graph edge
/// </summary>
/// <typeparam name="TVertex">Vertex class</typeparam>
public abstract class EdgeBase<TVertex> : IGraphXEdge<TVer... | using GraphX.Measure;
using GraphX.PCL.Common.Enums;
using GraphX.PCL.Common.Interfaces;
namespace GraphX.PCL.Common.Models
{
/// <summary>
/// Base class for graph edge
/// </summary>
/// <typeparam name="TVertex">Vertex class</typeparam>
public abstract class EdgeBase<TVertex> : IGraphXEdge<TVer... | apache-2.0 | C# |
4ee05704adf4d448d380f2038232e064e80762d3 | Remove empty OnGet function. | Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net | LearnosityDemo/Pages/Index.cshtml.cs | LearnosityDemo/Pages/Index.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace LearnosityDemo.Pages
{
public class IndexModel : PageModel
{
private readonly ILogge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace LearnosityDemo.Pages
{
public class IndexModel : PageModel
{
private readonly ILogge... | apache-2.0 | C# |
ee3cd636282db58a42ed22f80ab6aea99edd58dc | add standard controller/id route | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache/App_Start/ConfigureRoutes.cs | NuCache/App_Start/ConfigureRoutes.cs | using System.Web.Http;
using System.Web.Mvc;
namespace NuCache
{
public static class ConfigureRoutes
{
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "Root",
routeTemplate: "api/v2/",
defaults: new { controller = "Packages", action = "Get"}
);
con... | using System.Web.Http;
using System.Web.Mvc;
namespace NuCache
{
public static class ConfigureRoutes
{
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "Root",
routeTemplate: "api/v2/",
defaults: new { controller = "Packages", action = "Get"}
);
con... | lgpl-2.1 | C# |
a2c95501b2c62c5f613c074671e01f9b3a4d43d3 | optimize StringLengthValidationRule | tibel/Caliburn.Light | src/Caliburn.Core/Validation/StringLengthValidationRule.cs | src/Caliburn.Core/Validation/StringLengthValidationRule.cs | using System.Globalization;
namespace Caliburn.Light
{
/// <summary>
/// Performs a length validation of a <see cref="string"/>.
/// </summary>
public class StringLengthValidationRule : ValidationRule<string>
{
private readonly int _minimumLength;
private readonly int _maximumLengt... | using System.Globalization;
namespace Caliburn.Light
{
/// <summary>
/// Performs a length validation of a <see cref="string"/>.
/// </summary>
public class StringLengthValidationRule : ValidationRule<string>
{
private readonly int _minimumLength;
private readonly int _maximumLengt... | mit | C# |
0511100b6b27fdb0dd7e194584451b6a7607d2fd | Remove unused usings. | jrick/Paymetheus,decred/Paymetheus,madferreiro/Paymetheus-Fork,btcsuite/Paymetheus | Paymetheus.Rpc/ConnectTimeoutException.cs | Paymetheus.Rpc/ConnectTimeoutException.cs | // Copyright (c) 2016 The btcsuite developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using System;
namespace Paymetheus.Rpc
{
[Serializable]
public class ConnectTimeoutException : Exception
{
public ConnectTimeoutException() : base()... | // Copyright (c) 2016 The btcsuite developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Paymetheus.Rpc
{
[Serializable]
pu... | isc | C# |
361c65ef19caa4040fa1ddd26245537b4cd5b284 | Update anchor within help link (follow-up to r3671). Closes #3647. | dokipen/trac,moreati/trac-gitsvn,dafrito/trac-mirror,exocad/exotrac,dokipen/trac,dokipen/trac,dafrito/trac-mirror,dafrito/trac-mirror,moreati/trac-gitsvn,exocad/exotrac,moreati/trac-gitsvn,exocad/exotrac,exocad/exotrac,dafrito/trac-mirror,moreati/trac-gitsvn | templates/anydiff.cs | templates/anydiff.cs | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav"></div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.changeset_href ?>" method="get">
<table>
<tr>
<th><label for="old_path">From:</... | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav"></div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.changeset_href ?>" method="get">
<table>
<tr>
<th><label for="old_path">From:</... | bsd-3-clause | C# |
50ce4a5225e1f62c622001a02c9f66e2e86012a3 | Fix to not use a test filter in NUnit when no filters has been declared in Giles. This was causing NUnit to not run the tests | michaelsync/Giles,codereflection/Giles,codereflection/Giles,codereflection/Giles,michaelsync/Giles,michaelsync/Giles,michaelsync/Giles | src/Runners/Giles.Runner.NUnit/NUnitRunner.cs | src/Runners/Giles.Runner.NUnit/NUnitRunner.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Giles.Core.Runners;
using NUnit.Core;
using NUnit.Core.Filters;
namespace Giles.Runner.NUnit
{
public class NUnitRunner : IFrameworkRunner
{
IEnumerable<string> filters;
public SessionResults RunAs... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Giles.Core.Runners;
using Giles.Core.Utility;
using NUnit.Core;
using NUnit.Core.Filters;
namespace Giles.Runner.NUnit
{
public class NUnitRunner : IFrameworkRunner
{
IEnumerable<string> filte... | mit | C# |
1fa570f1238302ba0af2749fc69d66978f66fb7b | Update copyright. | FantasticFiasco/teamcity-backup | src/TeamCityBackup/Properties/AssemblyInfo.cs | src/TeamCityBackup/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("TeamCity Backup")]
[assembly: Asse... | 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("TeamCity Backup")]
[assembly: Asse... | apache-2.0 | C# |
86e4187032094c108eadaebed0251104bb46c67c | Update help responder with new commands | prinzo/Attack-Of-The-Fines-TA15,prinzo/Attack-Of-The-Fines-TA15,prinzo/Attack-Of-The-Fines-TA15 | FineBot/FineBot.BotRunner/Responders/HelpResponder.cs | FineBot/FineBot.BotRunner/Responders/HelpResponder.cs | using System;
using System.Text;
using FineBot.BotRunner.Extensions;
using FineBot.BotRunner.Responders.Interfaces;
using FineBot.Enums;
using MargieBot.Models;
namespace FineBot.BotRunner.Responders
{
public class HelpResponder : IFineBotResponder
{
public bool CanRespond(ResponseContext context)
... | using System;
using System.Text;
using FineBot.BotRunner.Extensions;
using FineBot.BotRunner.Responders.Interfaces;
using FineBot.Enums;
using MargieBot.Models;
namespace FineBot.BotRunner.Responders
{
public class HelpResponder : IFineBotResponder
{
public bool CanRespond(ResponseContext context)
... | mit | C# |
e604e17df7ea0a7481cf3a94a5e3ea1d533b2b22 | Fix the rat for now. | tgiphil/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,trivalik/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos | source/Cosmos.Core.Memory/HeapSmall.cs | source/Cosmos.Core.Memory/HeapSmall.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Native = System.UInt32;
namespace Cosmos.Core.Memory {
//TODO Remove empty pages as necessary
unsafe static public class HeapSmall {
public const Native PrefixBytes = 4 * sizeof(Native);
public static Native mMaxItemSize;
private st... | using System;
using System.Linq;
using System.Threading.Tasks;
using Native = System.UInt32;
namespace Cosmos.Core.Memory {
//TODO Remove empty pages as necessary
unsafe static public class HeapSmall {
public const Native PrefixBytes = 4 * sizeof(Native);
public static Native mMaxItemSize;
private st... | bsd-3-clause | C# |
b6378c7ae22ef88365a604a34289f574d6decae1 | fix speed | smoogipooo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods... | mit | C# |
50985d1b1d952b7d922c0a4ccd3936218061cc26 | Fix disposal logic | peppy/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,ZLima12/osu,johnneijzen/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/o... | osu.Game/Rulesets/UI/FallbackSampleStore.cs | osu.Game/Rulesets/UI/FallbackSampleStore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu... | mit | C# |
30c6011c6fe1b68a90fe8fd0bf4b28be1dd21b45 | add benchmarks | kaosborn/KaosCollections | Bench/BtreeBench03/BtreeBench03.cs | Bench/BtreeBench03/BtreeBench03.cs | //
// Program: BtreeBench03.cs
// Purpose: Benchmark BtreeDictionary fill percent.
//
// Usage notes:
// • Run in Debug build for diagnostics.
//
using System;
using System.Reflection;
using Kaos.Collections;
[assembly: AssemblyVersion ("0.1.0.0")]
namespace BenchApp
{
public class BtreeBench03
{
sta... | //
// Program: BtreeBench03.cs
// Purpose: Benchmark BtreeDictionary fill percent.
//
// Usage notes:
// • Run in Debug build for diagnostics.
//
using System;
using System.Reflection;
using Kaos.Collections;
[assembly: AssemblyVersion ("0.1.0.0")]
namespace BenchApp
{
public class BtreeBench03
{
sta... | mit | C# |
b74b745651ad325819d8182b2d0fcbee06997379 | remove \t in favour of spaces | Senthilvera/google-api-dotnet-client,line21c/google-api-dotnet-client,amnsinghl/google-api-dotnet-client,eshangin/google-api-dotnet-client,LPAMNijoel/google-api-dotnet-client,chrisdunelm/google-api-dotnet-client,chenneo/google-api-dotnet-client,DJJam/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,rburgst... | Src/GoogleApis/Apis/Discovery/IService.cs | Src/GoogleApis/Apis/Discovery/IService.cs | /*
Copyright 2010 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | /*
Copyright 2010 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | apache-2.0 | C# |
e2379c1d3eae8de652142b9bc420bff12e04498e | Format GlacierJobTier | carbon/Amazon | src/Amazon.S3/Models/GlacierJobTier.cs | src/Amazon.S3/Models/GlacierJobTier.cs | namespace Amazon.S3
{
public enum GlacierJobTier : byte
{
Standard = 0, // $0.01 per GB + $0.05 per 1,000 requests [3-5 hours]
Expedited = 1, // $0.03 per GP + $10.00 per 1000 requests [1-5 minutes]
Bulk = 2 // $0.0025 per GB + $0.025 per 1,000 requests [5-12 hours]
... | namespace Amazon.S3
{
public enum GlacierJobTier
{
Standard = 0,
Expedited = 1,
Bulk = 2
}
}
/*
POST /ObjectName?restore&versionId=VersionID HTTP/1.1
Host: BucketName.s3.amazonaws.com
Date: date
Authorization: authorization string (see Authenticating Requests (A... | mit | C# |
83af477416c1b08a9a44d4a78f0ef275c6bc73c2 | Remove unmatched variables | mstevenson/SeudoBuild | UnityBuildServer/TextReplacements.cs | UnityBuildServer/TextReplacements.cs | using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace UnityBuildServer
{
/// <summary>
/// Register in-line variables to replace in strings and their replacement values.
/// Variables begin and end with the % character.
/// Example: %project_name% variable could be replaced... | using System.Collections.Generic;
namespace UnityBuildServer
{
/// <summary>
/// Register in-line variables to replace in strings and their replacement values.
/// Variables begin and end with the % character.
/// Example: %project_name% variable could be replaced with the string MyProject.
/// </... | mit | C# |
cfc4b118c8fb90a938c33990508f8507d97dadc8 | Return null if invalid offset and seek to the offset | 0xd4d/dnlib,kiootic/dnlib,modulexcite/dnlib,ZixiangBoy/dnlib,picrap/dnlib,Arthur2e5/dnlib,yck1509/dnlib,ilkerhalil/dnlib,jorik041/dnlib | dot10/dotNET/StringsStream.cs | dot10/dotNET/StringsStream.cs | using System.Text;
using dot10.IO;
namespace dot10.dotNET {
/// <summary>
/// Represents the #Strings stream
/// </summary>
public class StringsStream : DotNetStream {
/// <inheritdoc/>
public StringsStream(IImageStream imageStream, StreamHeader streamHeader)
: base(imageStream, streamHeader) {
}
/// ... | using System.Text;
using dot10.IO;
namespace dot10.dotNET {
/// <summary>
/// Represents the #Strings stream
/// </summary>
public class StringsStream : DotNetStream {
/// <inheritdoc/>
public StringsStream(IImageStream imageStream, StreamHeader streamHeader)
: base(imageStream, streamHeader) {
}
/// ... | mit | C# |
c1c0b9a9db1c9a35114fd0535fc49ed3b5671e9d | Add realtime to room categories | peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Online/Multiplayer/RoomCategory.cs | osu.Game/Online/Multiplayer/RoomCategory.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Online.Multiplayer
{
public enum RoomCategory
{
Normal,
Spotlight,
Realtime,
}
}
| // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Online.Multiplayer
{
public enum RoomCategory
{
Normal,
Spotlight
}
}
| mit | C# |
c57d1de4267f61c89e4245955145b6e56184a212 | Fix tests | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.SystemConfig/Metadata/MetadataUniqueName.cs | InfinniPlatform.SystemConfig/Metadata/MetadataUniqueName.cs | using System;
using System.Linq;
namespace InfinniPlatform.Core.Metadata
{
public class MetadataUniqueName : IEquatable<MetadataUniqueName>
{
private const char NamespaceSeparator = '.';
public MetadataUniqueName(string ns, string name)
{
Namespace = ns;
Name ... | using System;
using System.Linq;
namespace InfinniPlatform.Core.Metadata
{
public class MetadataUniqueName : IEquatable<MetadataUniqueName>
{
private const char NamespaceSeparator = '.';
public MetadataUniqueName(string ns, string name)
{
Namespace = ns;
Name ... | agpl-3.0 | C# |
fb07b49b71366d8fba0bd656a7c9471bf587217e | Fix issue where ratio was always returning "1" | janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent | Components/TemplateHelpers/Images/Ratio.cs | Components/TemplateHelpers/Images/Ratio.cs | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return (float)Width / (... | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return (float)Width / (... | mit | C# |
51d051760cf889c6613f679df0697e45dcd7369e | Fix absence of extension in snippet URL when no language type was specified on the code block | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix/Utilities/FormatUtilities.cs | Modix/Utilities/FormatUtilities.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
namespace Modix.Utilities
{
public static class FormatUtilities
{
private static Regex _buildContentRegex = new Regex(@"```([^\s]+|)");
/// <summa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
namespace Modix.Utilities
{
public static class FormatUtilities
{
private static Regex _buildContentRegex = new Regex(@"```([^\s]+|)");
/// <summa... | mit | C# |
0f7912dc50a40b8cca9a7ea2b6f50abd7ed338cb | Comment FiberResult | spicypixel/cs-concurrency-kit,spicypixel/cs-concurrency-kit,spicypixel/cs-concurrency-kit | Source/SpicyPixel.Threading/FiberResult.cs | Source/SpicyPixel.Threading/FiberResult.cs | using System;
namespace SpicyPixel.Threading
{
/// <summary>
/// An instruction to stop fiber execution and set a result on the fiber.
/// </summary>
public sealed class FiberResult : FiberInstruction
{
object result;
/// <summary>
/// Gets the result of the fiber executio... | using System;
namespace SpicyPixel.Threading
{
public sealed class FiberResult : FiberInstruction
{
object result;
public object Result {
get { return result; }
}
public FiberResult(object result)
{
this.result = result;
}
}
}
| mit | C# |
9a7ef5cea13402ca632c4cc0b2621906273ca4fd | Make FeeParser throw if the fee parsed is not low, medium or high (previously defaulted to medium0 | mikedennis/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,bokobza/StratisBitc... | Stratis.Bitcoin/Features/Wallet/FeeType.cs | Stratis.Bitcoin/Features/Wallet/FeeType.cs | using System;
namespace Stratis.Bitcoin.Features.Wallet
{
/// <summary>
/// An indicator of how fast a transaction will be accepted in a block.
/// </summary>
public enum FeeType
{
/// <summary>
/// Slow.
/// </summary>
Low = 0,
/// <summary>
/// Av... | using System;
namespace Stratis.Bitcoin.Features.Wallet
{
/// <summary>
/// An indicator on how fast a transaction will be accepted in a block
/// </summary>
public enum FeeType
{
/// <summary>
/// Slow.
/// </summary>
Low = 0,
/// <summary>
/// Ava... | mit | C# |
28674c33d2b4ee235a4d5e4dd291253bbbeccc72 | Tag version 0.3.0.0. | m5219/POGOLib,AeonLucid/POGOLib | POGOLib/Properties/AssemblyInfo.cs | POGOLib/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("POGOLib.Official")]
[assembly: AssemblyD... | 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("POGOLib.Official")]
[assembly: AssemblyD... | mit | C# |
664cfe80166be3f0ce355ac47f11c6a8c1d85f6a | Update InputStateTester.cs to compile with updated App framework. | eylvisaker/AgateLib | Tests/Input/InputState/InputStateTester.cs | Tests/Input/InputState/InputStateTester.cs | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.InputLib;
namespace Tests.InputStateTester
{
class InputStateTester : AgateApplication
{
#region IAgateTest Me... | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.InputLib;
namespace Tests.InputStateTester
{
class InputStateTester : AgateApplication
{
#region I... | mit | C# |
6594992252292890adf37883f4971d8d53f0a903 | Update version | GAnatoliy/ViewModelLoader | ViewModelLoader/Properties/AssemblyInfo.cs | ViewModelLoader/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("Vi... | 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("Vi... | mit | C# |
c18ed3365d7209daad99a4adfd331cead792fe38 | Add comments | sakapon/Samples-2015 | WpfSample/ResolutionWpf/MainWindow.xaml.cs | WpfSample/ResolutionWpf/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
2f92875b970478b5d1d0b0b10a86624e20f65f67 | Fix contacts initializing bug | DevelopersGuild/famine-games | Assets/Scripts/Hub.cs | Assets/Scripts/Hub.cs | using UnityEngine;
using System.Collections;
using System;
public class Hub : MonoBehaviour {
static public int maxContact = 6;
static public int minContact = 2;
private System.Random rnd;
public int contacts;
// Use this for initialization
void Awake () {
rnd = new System.Random(Sys... | using UnityEngine;
using System.Collections;
using System;
public class Hub : MonoBehaviour {
static public int maxContact = 6;
static public int minContact = 2;
private System.Random rnd;
public int contacts;
// Use this for initialization
void Start () {
rnd = new System.Random(Sys... | mit | C# |
1060a2a9bab4561c70a977d6ed08e4194338a808 | Make ListFilter default constructor protected | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Filters/ListFilter.cs | ShopifySharp/Filters/ListFilter.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace ShopifySharp.Filters
{
/// <summary>
/// A generic class for filtering the results of a .ListAsync command.
/// </summary>
public class ListFilter<T> : Parameterizable
{
/// <summary>
/// A unique ID used to access ... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace ShopifySharp.Filters
{
/// <summary>
/// A generic class for filtering the results of a .ListAsync command.
/// </summary>
public class ListFilter<T> : Parameterizable
{
/// <summary>
/// A unique ID used to access ... | mit | C# |
8f1f3d12b49fc174294187b793dfc078ebc0d17a | bump version | Fody/Janitor | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.5.1")]
[assembly: AssemblyFileVersion("1.5.1")]
| using System.Reflection;
[assembly: AssemblyVersion("1.5.0")]
[assembly: AssemblyFileVersion("1.5.0")]
| mit | C# |
53cdce74d18b57dbc85dc9e03e053cc6409d51a9 | bump version 2.2.1 | Fody/PropertyChanged | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyCompany("Simon Cropp and Contributors")]
[assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")]
[assembly: AssemblyVersion("2.2.1")... | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyCompany("Simon Cropp and Contributors")]
[assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")]
[assembly: AssemblyVersion("2.2.0")... | mit | C# |
9b8fa89c2d340c46ea1079213f6e66020b40ace2 | patch working directory | brthor/Dockerize.NET,brthor/Dockerize.NET | DockerfileTemplate.cs | DockerfileTemplate.cs | namespace Brthor.Dockerize
{
public static class DockerfileTemplate
{
public static string Generate(DockerizeConfiguration config, string outputBinaryName)
{
var addUser = config.Username == null
? ""
: $@"RUN groupadd -r {config.Username} && useradd... | namespace Brthor.Dockerize
{
public static class DockerfileTemplate
{
public static string Generate(DockerizeConfiguration config, string outputBinaryName)
{
var addUser = config.Username == null
? ""
: $@"RUN groupadd -r {config.Username} && useradd... | mit | C# |
d4e9a787cbd9ca0b0c974b0bfae2dc86327a6660 | Update SmallAppliances.cs | jkanchelov/Telerik-OOP-Team-StarFruit | TeamworkStarFruit/CatalogueLib/Products/SmallAppliances.cs | TeamworkStarFruit/CatalogueLib/Products/SmallAppliances.cs | namespace CatalogueLib
{
using System.Text;
using CatalogueLib.Products.Enumerations;
public abstract class SmallAppliances : Product
{
public SmallAppliances()
{
}
public SmallAppliances(int ID, decimal price, bool isAvailable, Brand brand, double ... | namespace CatalogueLib
{
using System.Text;
using CatalogueLib.Products.Enumerations;
public abstract class SmallAppliances : Product
{
public SmallAppliances()
{
}
public SmallAppliances(int ID, decimal price, bool isAvailable, Brand brand, double ... | mit | C# |
4148d355474dc1d099e504585ed6e800e09d4b5b | Change logger to singleton | wgraham17/Foundatio,exceptionless/Foundatio,Bartmax/Foundatio,FoundatioFx/Foundatio | src/JobSample/Program.cs | src/JobSample/Program.cs | using System;
using System.Threading.Tasks;
using Foundatio.Jobs;
using Foundatio.JobSample.Jobs;
using Foundatio.Logging;
using Foundatio.Logging.NLog;
using SimpleInjector;
namespace Foundatio.JobSample {
public class Program {
public static int Main() {
var loggerFactory = new LoggerFactory... | using System;
using System.Threading.Tasks;
using Foundatio.Jobs;
using Foundatio.JobSample.Jobs;
using Foundatio.Logging;
using Foundatio.Logging.NLog;
using SimpleInjector;
namespace Foundatio.JobSample {
public class Program {
public static int Main() {
var loggerFactory = new LoggerFactory... | apache-2.0 | C# |
705335cf7854b4d9857d1640cbe9ca702ab7b55f | Fix handling peer exchange message when it's not completed. | amacal/leak | sources/Leak.Core/Extensions/PeerExchange/PeerExchangeHandler.cs | sources/Leak.Core/Extensions/PeerExchange/PeerExchangeHandler.cs | using Leak.Core.Bencoding;
using Leak.Core.Common;
using Leak.Core.Messages;
using System;
using System.Collections.Generic;
using System.Text;
namespace Leak.Core.Extensions.PeerExchange
{
public class PeerExchangeHandler : ExtenderHandler
{
private readonly PeerExchangeConfiguration configuration;
... | using Leak.Core.Bencoding;
using Leak.Core.Common;
using Leak.Core.Messages;
using System;
using System.Collections.Generic;
using System.Text;
namespace Leak.Core.Extensions.PeerExchange
{
public class PeerExchangeHandler : ExtenderHandler
{
private readonly PeerExchangeConfiguration configuration;
... | mit | C# |
3c43967993aaf3c2fa286e739dc975e32910e1ee | Rename db param to descriptorBuilder | CSGOpenSource/elasticsearch-net,robrich/elasticsearch-net,elastic/elasticsearch-net,joehmchan/elasticsearch-net,starckgates/elasticsearch-net,abibell/elasticsearch-net,tkirill/elasticsearch-net,UdiBen/elasticsearch-net,wawrzyn/elasticsearch-net,geofeedia/elasticsearch-net,TheFireCookie/elasticsearch-net,starckgates/ela... | src/Nest/DSL/Query/Functions/FunctionScoreFunctionsDescriptor.cs | src/Nest/DSL/Query/Functions/FunctionScoreFunctionsDescriptor.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq.Expressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nest
{
public class FunctionScoreFunctionsDescriptor<T> : IEnumerable<FunctionScoreFunction<T>> where T : class
{
internal List<FunctionScoreFu... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq.Expressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nest
{
public class FunctionScoreFunctionsDescriptor<T> : IEnumerable<FunctionScoreFunction<T>> where T : class
{
internal List<FunctionScoreFu... | apache-2.0 | C# |
75c12289cb6ab620ec075b51dcad2b65e1b16275 | Add TODO | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania | src/WebClient/Program.cs | src/WebClient/Program.cs | using Microsoft.AspNetCore.Hosting;
using System.IO;
// TODO: numarul de locuinte autorizate in fiecare luna/semestru (Beniamin Petrovai)
// Ar merge si o piramida a varstelor implementata. (review Google Play 21.03.2019)
namespace WebClient
{
public class Program
{
public static void Main(string[] ar... | using Microsoft.AspNetCore.Hosting;
using System.IO;
// TODO: numarul de locuinte autorizate in fiecare luna/semestru (Beniamin Petrovai)
namespace WebClient
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestre... | mit | C# |
85bf4e81a789b274a043ed11a2954c9a496ec70d | Insert missing function calls | jlucansky/Camunda.Api.Client | Camunda.Api.Client/UserTask/UserTaskService.cs | Camunda.Api.Client/UserTask/UserTaskService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Camunda.Api.Client.UserTask
{
public class UserTaskService
{
private IUserTaskRestService _api;
internal UserTaskService(IUserTaskRestService api)
{
_api = api;
}
public TaskResource... | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Camunda.Api.Client.UserTask
{
public class UserTaskService
{
private IUserTaskRestService _api;
internal UserTaskService(IUserTaskRestService api)
{
_api = api;
}
public TaskResource... | mit | C# |
62e72aa2008e4cbe2c62817e1d5e835150e6e74d | Set current directory for initial script. | uoinfusion/Infusion | Infusion.EngineScripts/Scripts/ScriptEngine.cs | Infusion.EngineScripts/Scripts/ScriptEngine.cs | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Infusion.EngineScripts
{
public sealed class ScriptEngine
{
private readonly IScriptEngine[] engines;
private string scriptRootPath;
public ScriptEngine(params IScriptEngine[] engines)
... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Infusion.EngineScripts
{
public sealed class ScriptEngine
{
private readonly IScriptEngine[] engines;
private string scriptRootPath;
public ScriptEngine(params IScriptEngine[] engines)
{
... | mit | C# |
0f5f9cd581221b6330441da045f6324b32d9fa65 | make DbContextExtensions public | JSONAPIdotNET/JSONAPI.NET,SphtKr/JSONAPI.NET,SathishN/JSONAPI.NET,DefactoSoftware/JSONAPI.NET,danshapir/JSONAPI.NET | JSONAPI.EntityFramework/DbContextExtensions.cs | JSONAPI.EntityFramework/DbContextExtensions.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Reflection;
namespace JSONAPI.EntityFramework
{
/// <summary>
/// Extensions on DbContext useful for JSONAPI.NET
/// </s... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Reflection;
namespace JSONAPI.EntityFramework
{
internal static class DbContextExtensions
{
internal static IEnumera... | mit | C# |
3faffa87bb4895a82fb7325e15b5abc5b22af8f2 | add ILoginService method | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.LoginService/ILoginService.cs | client/BlueMonkey/BlueMonkey.LoginService/ILoginService.cs | using BlueMonkey.Business;
using System.Threading.Tasks;
namespace BlueMonkey.LoginService
{
public interface ILoginService
{
Task<AuthUser> LoginAsync();
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BlueMonkey.LoginService
{
public class Class1
{
}
}
| mit | C# |
56578d797aa35b96ee1fe72400b52a9374e7871c | Check for objects existing using their equals operation rather than Ids | TheEadie/LazyStorage,TheEadie/LazyStorage,TheEadie/LazyLibrary | LazyLibrary/Storage/Memory/MemoryRepository.cs | LazyLibrary/Storage/Memory/MemoryRepository.cs | using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace LazyLibrary.Storage.Memory
{
internal class MemoryRepository<T> : IRepository<T> where T : IStorable
{
private List<T> repository = new List<T>();
public T GetById(int id)
{
retur... | using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace LazyLibrary.Storage.Memory
{
internal class MemoryRepository<T> : IRepository<T> where T : IStorable
{
private List<T> repository = new List<T>();
public T GetById(int id)
{
retur... | mit | C# |
6248f6da55730e7e20bac601ddb0fb5a7217f2fe | Change how indexes are built to fix field selection errors. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM/Schema/SchemaIndexBuilder.cs | Silk.Data.SQL.ORM/Schema/SchemaIndexBuilder.cs | using Silk.Data.Modelling;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Silk.Data.SQL.ORM.Schema
{
public interface ISchemaIndexBuilder
{
SchemaIndex Build(Table table, ISchemaField[] entityFields);
}
public class SchemaIndexBuilder<T>... | using Silk.Data.Modelling;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Silk.Data.SQL.ORM.Schema
{
public interface ISchemaIndexBuilder
{
SchemaIndex Build(Table table, ISchemaField[] entityFields);
}
public class SchemaIndexBuilder<T>... | mit | C# |
7d107e726bce4abe72923291350f054a2e04f21a | Put the scratch and warehouse directories up on WASB in the Shark test service. This gets CTAS to work. | mooso/BlueCoffee,mooso/BlueCoffee,mooso/BlueCoffee,mooso/BlueCoffee | TestServices/ElectricBlobs/Shark/WorkerRole.cs | TestServices/ElectricBlobs/Shark/WorkerRole.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;
using Microsoft.WindowsAzure.Storage;
using Microsoft.Experimental.A... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;
using Microsoft.WindowsAzure.Storage;
using Microsoft.Experimental.A... | mit | C# |
6a10ff93af584050988f69b5e069839474639e3e | Fix sonarqube markup that sub has lhs and rhs identical | steven-r/Oberon0Compiler | oberon0/Expressions/Arithmetic/SubExpression.cs | oberon0/Expressions/Arithmetic/SubExpression.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Oberon0.Compiler.Definitions;
using Oberon0.Compiler.Solver;
namespace Oberon0.Compiler.Expressions.Arithmetic
{
[Export(typeof(ICalculatable))]
cl... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Oberon0.Compiler.Definitions;
using Oberon0.Compiler.Solver;
namespace Oberon0.Compiler.Expressions.Arithmetic
{
[Export(typeof(ICalculatable))]
cl... | mit | C# |
8285ce28ae0ad1507d4bf5eed886d61ba22fc6a5 | Make GetMatchedType virtual | appharbor/appharbor-cli | src/AppHarbor/TypeNameMatcher.cs | src/AppHarbor/TypeNameMatcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace AppHarbor
{
public class TypeNameMatcher<T>
{
private readonly IEnumerable<Type> _candidateTypes;
public TypeNameMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !typeof(T).IsAssignableFrom(x)))
{
th... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AppHarbor
{
public class TypeNameMatcher<T>
{
private readonly IEnumerable<Type> _candidateTypes;
public TypeNameMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !typeof(T).IsAssignableFrom(x)))
{
th... | mit | C# |
e8a72793588b4827e12955e18f17ed7ca15a1c26 | update version again | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | bsd-3-clause | C# |
a49ac9edcf157ce185dfe2ac52005e2ffb6ae7dd | Add comments | Abc-Arbitrage/Zebus | src/Abc.Zebus/Directory/PeerUpdateAction.cs | src/Abc.Zebus/Directory/PeerUpdateAction.cs | namespace Abc.Zebus.Directory
{
public enum PeerUpdateAction
{
Stopped,
Started,
/// <summary> Peer subscriptions are updated </summary>
Updated,
Decommissioned,
}
}
| namespace Abc.Zebus.Directory
{
public enum PeerUpdateAction
{
Stopped,
Started,
Updated,
Decommissioned,
}
} | mit | C# |
4a9b59d22c4869b32784bd134a26f367aa80bd64 | Add FederatedAmazonCredentials#GetSessionCredentials | appharbor/appharbor-cli | src/AppHarbor/FederatedAmazonCredentials.cs | src/AppHarbor/FederatedAmazonCredentials.cs | using Amazon.Runtime;
namespace AppHarbor
{
public class FederatedAmazonCredentials
{
public string AccessKeyId { get; set; }
public string SecretAccessKey { get; set; }
public string SessionToken { get; set; }
public SessionAWSCredentials GetSessionCredentials()
{
return new SessionAWSCredentials(Acc... | namespace AppHarbor
{
public class FederatedAmazonCredentials
{
public string AccessKeyId { get; set; }
public string SecretAccessKey { get; set; }
public string SessionToken { get; set; }
}
}
| mit | C# |
368c894f9b7afae08e46673e9ff47899be01992e | Update GeoffreyHuntley.cs (#160) | MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin | src/Firehose.Web/Authors/GeoffreyHuntley.cs | src/Firehose.Web/Authors/GeoffreyHuntley.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GeoffreyHuntley : IAmAMicrosoftMVP, IAmAXamarinMVP
{
public string FirstName => "Geoffrey";
public string LastName => "Huntley";
public string ShortBioOrTagL... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GeoffreyHuntley : IAmAMicrosoftMVP
{
public string FirstName => "Geoffrey";
public string LastName => "Huntley";
public string ShortBioOrTagLine => "has been... | mit | C# |
c5c012e900647c3381fd2bf4bf6f0b3535fe2ff2 | Set nuget version to 1.0.0-beta1 | kevinkuszyk/FluentAssertions.Ioc.Ninject,kevinkuszyk/FluentAssertions.Ioc.Ninject | src/FluentAssertions.Ioc.Ninject/Properties/AssemblyInfo.cs | src/FluentAssertions.Ioc.Ninject/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fl... | apache-2.0 | C# |
06787b5389cdf53242492ac5f8263fd252807126 | include score in results | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/Maw.Domain/Search/MultimediaCategory.cs | src/Maw.Domain/Search/MultimediaCategory.cs | using SolrNet.Attributes;
namespace Maw.Domain.Search
{
public class MultimediaCategory {
[SolrUniqueKey("solr_id")]
public string SolrId { get; set; }
[SolrField("id")]
public int Id { get; set; }
[SolrField("year")]
public int Year { get; set; }
[SolrFi... | using SolrNet.Attributes;
namespace Maw.Domain.Search
{
public class MultimediaCategory {
[SolrUniqueKey("solr_id")]
public string SolrId { get; set; }
[SolrField("id")]
public int Id { get; set; }
[SolrField("year")]
public int Year { get; set; }
[SolrFi... | mit | C# |
0fc762cb449c9f7e78e77cb784cdccc11b828199 | Implement new 'CanCreate' methods. Fixes #838 | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/MySqlConnectorFactory.cs | src/MySqlConnector/MySqlConnectorFactory.cs | using System.Data.Common;
namespace MySqlConnector
{
public sealed class MySqlConnectorFactory : DbProviderFactory
{
public static readonly MySqlConnectorFactory Instance = new();
public override DbCommand CreateCommand() => new MySqlCommand();
public override DbConnection CreateConnection() => new MySqlConne... | using System.Data.Common;
namespace MySqlConnector
{
public sealed class MySqlConnectorFactory : DbProviderFactory
{
public static readonly MySqlConnectorFactory Instance = new();
public override DbCommand CreateCommand() => new MySqlCommand();
public override DbConnection CreateConnection() => new MySqlConne... | mit | C# |
c5dd11c9534b632bf3524589d2a36e521b44c771 | Fix spaces for tabs | gregsochanik/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Schema/Tracks/Track.cs | src/SevenDigital.Api.Schema/Tracks/Track.cs | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDigital.Api.Schema.Pricing;
using SevenDigital.Api.Schema.Releases;
namespace ... | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDigital.Api.Schema.Pricing;
using SevenDigital.Api.Schema.Releases;
namespace ... | mit | C# |
e23b52d59ff6323e7aae7a1948c05bb57f425c2a | Add basic bindable instantiation benchmark | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.cs | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkBinda... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
public class BenchmarkBindableInstantiation
{... | mit | C# |
eda22e29ba99c0dd421a45414ab1923cc6bd6c74 | Fix wrong dimensions when iterating over feature footprint | MHeasell/Mappy,MHeasell/Mappy | Mappy/Data/Feature.cs | Mappy/Data/Feature.cs | namespace Mappy.Data
{
using System;
using System.Drawing;
using Mappy.Collections;
/// <summary>
/// Represents the "blueprint" for a feature.
/// Contains metadata about the feature.
/// </summary>
public class Feature
{
public string Name { get; set; }
... | namespace Mappy.Data
{
using System;
using System.Drawing;
using Mappy.Collections;
/// <summary>
/// Represents the "blueprint" for a feature.
/// Contains metadata about the feature.
/// </summary>
public class Feature
{
public string Name { get; set; }
... | mit | C# |
c7cf8a55b8964d2671d8e84a9474142bd247625f | Add DOTNET_HOST_PATH for dotnet nuget commands | dasMulli/cli,livarcocc/cli-1,johnbeisner/cli,dasMulli/cli,johnbeisner/cli,dasMulli/cli,johnbeisner/cli,livarcocc/cli-1,livarcocc/cli-1 | src/dotnet/commands/dotnet-nuget/Program.cs | src/dotnet/commands/dotnet-nuget/Program.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
using Microsoft.DotNet.Cli;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Micr... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
using Microsoft.DotNet.Cli;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Micr... | mit | C# |
762f6ec3cd06d33ba6ed3dc4dc83b7b28c174d74 | Make tests runnable on mono | rflechner/FAKE,haithemaraissia/FAKE,hitesh97/FAKE,MichalDepta/FAKE,daniel-chambers/FAKE,mat-mcloughlin/FAKE,RMCKirby/FAKE,darrelmiller/FAKE,xavierzwirtz/FAKE,brianary/FAKE,xavierzwirtz/FAKE,darrelmiller/FAKE,jayp33/FAKE,mfalda/FAKE,xavierzwirtz/FAKE,ovu/FAKE,xavierzwirtz/FAKE,beeker/FAKE,leflings/FAKE,NaseUkolyCZ/FAKE,... | src/test/Test.FAKECore/AssemblyInfoSpecs.cs | src/test/Test.FAKECore/AssemblyInfoSpecs.cs | using System;
using System.Collections.Generic;
using System.IO;
using Fake;
using Machine.Specifications;
namespace Test.FAKECore
{
public class when_accessing_internals
{
It should_have_access_to_FAKE_internals =
() => AssemblyInfoFile.getDependencies(new List<AssemblyInfoFile.Attribute>(... | using System;
using System.Collections.Generic;
using System.IO;
using Machine.Specifications;
namespace Test.FAKECore
{
public class when_accessing_internals
{
It should_have_access_to_FAKE_internals =
() => AssemblyInfoFile.getDependencies(new List<AssemblyInfoFile.Attribute>());
}
... | apache-2.0 | C# |
50ecea74338f7a358b2655b2a6c3b526017a7fb5 | update CommanderTest for the newline | haruair/csharp-command | test/Haruair.Command.Tests/CommanderTest.cs | test/Haruair.Command.Tests/CommanderTest.cs | using NUnit.Framework;
using System;
using System.IO;
namespace Haruair.Command.Tests
{
[TestFixture ()]
public class CommanderTest
{
Commander commander;
TextWriter originalSw;
StringWriter sw;
[SetUp()]
public void Init ()
{
this.commander = new Commander ();
this.commander.Add (typeof(HelloCo... | using NUnit.Framework;
using System;
using System.IO;
namespace Haruair.Command.Tests
{
[TestFixture ()]
public class CommanderTest
{
Commander commander;
TextWriter originalSw;
StringWriter sw;
[SetUp()]
public void Init ()
{
this.commander = new Commander ();
this.commander.Add (typeof(HelloCo... | mit | C# |
709304d4b01d62bf3692b9762ce4e8b876017219 | Add instructions | mdileep/NFugue | src/NFugue/Staccato/IInstruction.cs | src/NFugue/Staccato/IInstruction.cs | using NFugue.Patterns;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NFugue.Staccato
{
public interface IInstruction
{
string OnIstructionReceived(IEnumerable<string> instructions);
}
public class Choice : IInstruction
{
public Lis... | namespace NFugue.Staccato
{
public interface IInstruction
{
string OnIstructionReceived(string[] instructions);
}
} | apache-2.0 | C# |
bf8dce0ee32b71d73d9de7d2814ddadd43a7c52e | Fix return statement | DaveSenn/Extend | PortableExtensions/System.DateTime/DateTime.LastDayOfWeek.cs | PortableExtensions/System.DateTime/DateTime.LastDayOfWeek.cs | #region Usings
using System;
#endregion
namespace PortableExtensions
{
/// <summary>
/// Class containing some extension methods for <see cref="DateTime" />.
/// </summary>
public static partial class DateTimeEx
{
/// <summary>
/// Returns the last day of the given week.
... | #region Usings
using System;
#endregion
namespace PortableExtensions
{
/// <summary>
/// Class containing some extension methods for <see cref="DateTime" />.
/// </summary>
public static partial class DateTimeEx
{
/// <summary>
/// Returns the last day of the given week.
... | mit | C# |
4f1647e0a16edad1283e2685df71832e895b3033 | change keyHeader to name (#10877) | hyonholee/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,markcowl/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,ayeletshpigelman/azure... | sdk/core/Azure.Core/src/Shared/AzureKeyCredentialPolicy.cs | sdk/core/Azure.Core/src/Shared/AzureKeyCredentialPolicy.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.Pipeline;
namespace Azure.Core
{
internal class AzureKeyCredentialPolicy : HttpPipelineSynchronousPolicy
{
private readonly string _name;
private readonly AzureKeyCredential _crede... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.Pipeline;
namespace Azure.Core
{
internal class AzureKeyCredentialPolicy : HttpPipelineSynchronousPolicy
{
private readonly string _keyHeader;
private readonly AzureKeyCredential _... | mit | C# |
1a25c742e1ea8b22804d0ccbe3bf1ce4d8d55747 | test 3re | emksaz/testgit2,emksaz/testgit2,emksaz/testgit2 | testgit23/testgit23/Views/Home/Index.cshtml | testgit23/testgit23/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | apache-2.0 | C# |
5327b6b781f4be1e60ac6451806db0b61185e208 | Use KnockoutBindingGroup.AddValue in HierarchyRepeaterLevel | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/Framework/Framework/Controls/HierarchyRepeaterLevel.cs | src/Framework/Framework/Controls/HierarchyRepeaterLevel.cs | using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Binding;
using DotVVM.Framework.Binding.Expressions;
using DotVVM.Framework.Hosting;
using DotVVM.Framework.Utils;
namespace DotVVM.Framework.Controls
{
/// <summary>
/// A container for a level of the <see cref="Hierarc... | using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Binding;
using DotVVM.Framework.Binding.Expressions;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Controls
{
/// <summary>
/// A container for a level of the <see cref="HierarchyRepeater"/>.
/// </summa... | apache-2.0 | C# |
4087dbc23ce30f252900efb40c976460a9bc957f | Update version to 1.3.0 | TheOtherTimDuncan/TOTD-Mailer | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
// 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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Other Tim Duncan")]
[assembly: Asse... | using System.Reflection;
// 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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Other Tim Duncan")]
[assembly: Asse... | mit | C# |
b2be35afd09ca57050b27cb523935dff878394dc | Correct function instance output blob. | brendankowitz/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,vasant... | src/Microsoft.Azure.Jobs.Host/Loggers/FunctionOutputLog.cs | src/Microsoft.Azure.Jobs.Host/Loggers/FunctionOutputLog.cs | using System;
using System.IO;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Microsoft.Azure.Jobs
{
// Wrap facilities for logging a function's output.
// This means capturing console out, redirecting to a textwriter that is available at a blob.
// Handle incremental updates to get real-time updat... | using System;
using System.IO;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Microsoft.Azure.Jobs
{
// Wrap facilities for logging a function's output.
// This means capturing console out, redirecting to a textwriter that is available at a blob.
// Handle incremental updates to get real-time updat... | mit | C# |
15b54533d12eba28b275f306b2c2c80c3276ebc9 | Convert comma to underline in enum names, closes https://github.com/RSuter/NSwag/issues/2009 | RSuter/NJsonSchema,NJsonSchema/NJsonSchema | src/NJsonSchema.CodeGeneration/DefaultEnumNameGenerator.cs | src/NJsonSchema.CodeGeneration/DefaultEnumNameGenerator.cs | //-----------------------------------------------------------------------
// <copyright file="DefaultEnumNameGenerator.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico ... | //-----------------------------------------------------------------------
// <copyright file="DefaultEnumNameGenerator.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico ... | mit | C# |
c9b58dcf65e781e1f0bb4e1cd497aec315ee296f | Add benchmarks for Instant/unix time conversions (#573) | jskeet/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,nodatime/nodatime,malcolmr/nodatime | src/NodaTime.Benchmarks/NodaTimeTests/InstantBenchmarks.cs | src/NodaTime.Benchmarks/NodaTimeTests/InstantBenchmarks.cs | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Globalization;
using BenchmarkDotNet.Attributes;
namespace NodaTime.Benchmarks.NodaTimeTests
{
public class InstantBenchmarks
{
... | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Globalization;
using BenchmarkDotNet.Attributes;
namespace NodaTime.Benchmarks.NodaTimeTests
{
public class InstantBenchmarks
{
... | apache-2.0 | C# |
f941d3938cc957cf1f5c5993b5f93c201a3696cb | Add appropriate tag styling | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Support.Web/Views/Account/SubHeader.cshtml | src/SFA.DAS.EAS.Support.Web/Views/Account/SubHeader.cshtml | @model SFA.DAS.EAS.Support.Core.Models.Account
@{
Layout = null;
}
<div class="grid-row">
<div class="column-full">
<h5 class="heading-small">
<a href="/" class="govuk-back-link">
Home
</a>
</h5>
<h1 class="heading-large">
@(Model?.... | @model SFA.DAS.EAS.Support.Core.Models.Account
@{
Layout = null;
}
<div class="grid-row">
<div class="column-full">
<h5 class="heading-small">
<a href="/" class="govuk-back-link">
Home
</a>
</h5>
<h1 class="heading-large">
@(Model?.... | mit | C# |
be6499ba67d9d5e3e18638876665e32fe803e66a | Add test coverage for generic method definition handle roundtripping (#17754) | seanshpark/corefx,ViktorHofer/corefx,the-dwyer/corefx,tijoytom/corefx,cydhaselton/corefx,ericstj/corefx,gkhanna79/corefx,mmitche/corefx,fgreinacher/corefx,richlander/corefx,Ermiar/corefx,Jiayili1/corefx,JosephTremoulet/corefx,JosephTremoulet/corefx,richlander/corefx,MaggieTsang/corefx,tijoytom/corefx,BrennanConroy/core... | src/System.Runtime/tests/System/HandleTests.cs | src/System.Runtime/tests/System/HandleTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime;
using System.Reflection;
using Xunit;
public static class HandleTests
{
[F... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime;
using System.Reflection;
using Xunit;
public static class HandleTests
{
pu... | mit | C# |
617596cba468e035652f979961c92dec10f0bcf8 | Fix some newline issues | umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,NikRimington/Umbraco-CMS,rasmuseeg/Umbraco-CMS,arknu/Umbraco-CMS,madsoulswe/Umbraco-CMS,tompipe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,KevinJump/Umbraco-CMS,bjar... | src/Umbraco.Core/Strings/Css/StylesheetRule.cs | src/Umbraco.Core/Strings/Css/StylesheetRule.cs | using System;
using System.Linq;
using System.Text;
namespace Umbraco.Core.Strings.Css
{
internal class StylesheetRule
{
public string Name { get; set; }
public string Selector { get; set; }
public string Styles { get; set; }
public override string ToString()
{
... | using System;
using System.Linq;
using System.Text;
namespace Umbraco.Core.Strings.Css
{
internal class StylesheetRule
{
public string Name { get; set; }
public string Selector { get; set; }
public string Styles { get; set; }
public override string ToString()
{
... | mit | C# |
75fb45cbd6fee6aeae7092000e1360becc93a014 | Remove unnecessary using directive | ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate | src/Abp/Reflection/ProxyHelper.cs | src/Abp/Reflection/ProxyHelper.cs | using Castle.DynamicProxy;
using System;
namespace Abp.Reflection
{
public static class ProxyHelper
{
/// <summary>
/// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
/// </summary>
public static object UnProxy(object obj)
... | using Abp.Extensions;
using Castle.DynamicProxy;
using System;
namespace Abp.Reflection
{
public static class ProxyHelper
{
/// <summary>
/// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
/// </summary>
public static objec... | mit | C# |
51ffe29f5c17e651b548403953b4d248f8705eed | Make changes per review | mdavid/nuget,mdavid/nuget | src/VsExtension/FontAndColorsRegistrationAttribute.cs | src/VsExtension/FontAndColorsRegistrationAttribute.cs | using Microsoft.VisualStudio.Shell;
namespace NuGet.Tools {
/// <summary>
/// This class is used to create a registry key for the FontAndColors category
/// </summary>
public class FontAndColorsRegistrationAttribute : RegistrationAttribute {
// this GUID is used by all VSPackages th... | using Microsoft.VisualStudio.Shell;
namespace NuGet.Tools {
/// <summary>
/// This class is used to create a registry key for the FontAndColors category
/// </summary>
public class FontAndColorsRegistrationAttribute : RegistrationAttribute {
// this GUID is used by all VSPackages th... | apache-2.0 | C# |
185c56b0e9b2aafed67e28fee21a215f1dc091b7 | Add Cli basic tests | codetasy/cli | src/Codetasy.Cli.Tests/CliTest.cs | src/Codetasy.Cli.Tests/CliTest.cs | using System;
using Xunit;
using Codetasy.Cli;
using System.Collections.Generic;
using System.IO;
namespace Codetasy.Cli.Tests
{
public class CliTest
{
[Fact]
public void CanExecuteCommand()
{
var executed = false;
var arguments = new [] {"hello"}... | using System;
using Xunit;
using Codetasy.Cli;
namespace Codetasy.Cli.Tests
{
public class CliTest
{
[Fact]
public void CanInstantiate()
{
var args = new string[0];
var cli = new Cli(args);
Assert.IsType<Cli>(cli);
}
}
}
... | mit | C# |
72f8347ea3e4ada80fb6b592678e146db0c98a77 | Refactor code. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Home/Index.cshtml | src/CompetitionPlatform/Views/Home/Index.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<div class="projects-filter-buttons">
<div class="col-md-12">
<a asp-area="" asp-controller="Home" asp-action="Index" class="btn btn-primary btn-sm">All Projects</a>
<a asp-area=... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<div class="projects-filter-buttons">
<div class="col-md-12">
<a asp-area="" asp-controller="Home" asp-action="Index" class="btn btn-primary btn-sm">All Projects</a>
<a asp-area=... | mit | C# |
38cdb6690dc8bfa70bda3ba19b092ad58d449cb3 | Add a dropdown for selecting organizations | github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PublishWindow.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PublishWindow.cs | using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
public class PublishWindow : EditorWindow
{
private const string PublishTitle = "Publish this repository to GitHub";
private string repoName = "";
private string repoDescription = "";
private int selectedOrg = 0;
... | using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
public class PublishWindow : EditorWindow
{
private const string PublishTitle = "Publish this repository to GitHub";
private string repoName = "";
private string repoDescription = "";
private bool togglePrivate = fa... | mit | C# |
52c6b56a41cb262811030e91beeaaea86565e2bf | Fix for account type dropdown in edit vs new mode. | grae22/BoozeHoundCloud,grae22/BoozeHoundCloud,grae22/BoozeHoundCloud | BoozeHoundCloud/Areas/Core/Views/Account/AccountForm.cshtml | BoozeHoundCloud/Areas/Core/Views/Account/AccountForm.cshtml | @model BoozeHoundCloud.Areas.Core.ViewModels.AccountFormViewModel
@{
bool isNewAccount = (Model.Id == 0);
var formTitle = "";
if (isNewAccount)
{
formTitle = "Create Account";
}
else
{
formTitle = "Edit Account";
}
ViewBag.Title = formTitle;
}
<h2>@formTitle</h2>
@using (Html.BeginForm("... | @model BoozeHoundCloud.Areas.Core.ViewModels.AccountFormViewModel
@{
bool isNewAccount = (Model.Id == 0);
var formTitle = "";
if (isNewAccount)
{
formTitle = "Create Account";
}
else
{
formTitle = "Edit Account";
}
ViewBag.Title = formTitle;
}
<h2>@formTitle</h2>
@using (Html.BeginForm("... | mit | C# |
cacbc6a0f37e6b5c83fde638a8fc26a520eea120 | Update namespace for InputHints | yakumo/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder | CSharp/Library/Microsoft.Bot.Connector.Shared/InputHints.cs | CSharp/Library/Microsoft.Bot.Connector.Shared/InputHints.cs | using System;
using System.Linq;
namespace Microsoft.Bot.Connector
{
/// <summary>
/// Indicates whether the bot is accepting, expecting, or ignoring input
/// </summary>
public static class InputHints
{
/// <summary>
/// The sender is passively ready for input but is not waiting ... | using System;
using System.Linq;
namespace Microsoft.Bot.Schema
{
/// <summary>
/// Indicates whether the bot is accepting, expecting, or ignoring input
/// </summary>
public static class InputHints
{
/// <summary>
/// The sender is passively ready for input but is not waiting on ... | mit | C# |
7fbeb9ecc7a78fed1ef88d45b42eed54d13a19d7 | Add failing test coverage for tournament startup states | smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs | osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Tournament.Components;... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Scr... | mit | C# |
7e781501443b62d2b3dc4102b2375c35252c7f42 | add basic content wiki sidebar | smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu | osu.Game/Overlays/Wiki/WikiSidebar.cs | osu.Game/Overlays/Wiki/WikiSidebar.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Overlays.Wiki
{
p... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Overlays.Wiki
{
public class WikiSidebar : OverlaySidebar
{
}
}
| mit | C# |
fe5202b3d2ad7dbd0606b6e83e9e11fd80c1b251 | Fix test. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNet.PipelineCore.Tests/HeaderDictionaryTests.cs | test/Microsoft.AspNet.PipelineCore.Tests/HeaderDictionaryTests.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.PipelineCore.Collections;
using Xunit;
namespace Microsoft.Asp... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.PipelineCore.Collections;
using Xunit;
namespace Microsoft.Asp... | apache-2.0 | C# |
93a23a68eea8b067692aaa41fff6a2858ca4abbd | fix test case name | NCTUGDC/HearthStone | HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs | HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
class CardManagerUnitTest
{
[TestMethod]
public void CardManagerInstance... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
class CardManagerUnitTest
{
[TestMethod]
public void StaticInstanceTestM... | apache-2.0 | C# |
ee58e9bafca9fedcd34993566716da14bb018c5b | Add RemoveReport Test with AdminController [#136389281] | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | using Moq;
using NSubstitute;
using revashare_svc_webapi.Client.Controllers;
using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.AdminLogic;
using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_s... | using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.AdminLogic;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_svc_webapi.Logic.ServiceClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using... | mit | C# |
2f87a6135ad2b2a119725585755560fcfb408b8f | Add support for the "payments" and “profile” properties in the "_links" object of the SubscriptionResponseLinks class | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Subscription/SubscriptionResponseLinks.cs | Mollie.Api/Models/Subscription/SubscriptionResponseLinks.cs | using Mollie.Api.Models.Customer;
using Mollie.Api.Models.List;
using Mollie.Api.Models.Payment.Response;
using Mollie.Api.Models.Profile.Response;
using Mollie.Api.Models.Url;
namespace Mollie.Api.Models.Subscription {
public class SubscriptionResponseLinks {
/// <summary>
/// The API resourc... | using Mollie.Api.Models.Customer;
using Mollie.Api.Models.Url;
namespace Mollie.Api.Models.Subscription {
public class SubscriptionResponseLinks {
/// <summary>
/// The API resource URL of the subscription itself.
/// </summary>
public UrlObjectLink<SubscriptionResponse> Self {... | mit | C# |
e2f4eea7bbb941d3c912ed54900d4432e0bcfb96 | update loader to correctly load genes instead of nets | jobeland/GeneticAlgorithm | NeuralNetwork.GeneticAlgorithm/Utils/NeuralNetworkLoader.cs | NeuralNetwork.GeneticAlgorithm/Utils/NeuralNetworkLoader.cs | using ArtificialNeuralNetwork;
using Newtonsoft.Json;
using System.IO;
using ArtificialNeuralNetwork.Factories;
using ArtificialNeuralNetwork.Genes;
namespace NeuralNetwork.GeneticAlgorithm.Utils
{
public class NeuralNetworkLoader : INeuralNetworkLoader
{
private readonly string _directory;
... | using ArtificialNeuralNetwork;
using Newtonsoft.Json;
using System.IO;
namespace NeuralNetwork.GeneticAlgorithm.Utils
{
public class NeuralNetworkLoader : INeuralNetworkLoader
{
private readonly string _directory;
public NeuralNetworkLoader(string directory)
{
_directory ... | mit | C# |
541512b26445bcf02ecc04b57b1886ddf4bffb6d | Use existing file encoding if provided override is invalid | allansson/Calamari,allansson/Calamari | source/Calamari/Integration/Substitutions/FileSubstituter.cs | source/Calamari/Integration/Substitutions/FileSubstituter.cs | using System;
using System.IO;
using System.Text;
using Calamari.Deployment;
using Calamari.Integration.FileSystem;
using Octostache;
namespace Calamari.Integration.Substitutions
{
public class FileSubstituter : IFileSubstituter
{
readonly ICalamariFileSystem fileSystem;
public FileSubstitute... | using System;
using System.IO;
using System.Text;
using Calamari.Deployment;
using Calamari.Integration.FileSystem;
using Octostache;
namespace Calamari.Integration.Substitutions
{
public class FileSubstituter : IFileSubstituter
{
readonly ICalamariFileSystem fileSystem;
public FileSubstitute... | apache-2.0 | C# |
5a14a8cce0dc670e89144abcd006db56b68fd5d5 | add ActiveDirectoryController | signumsoftware/framework,signumsoftware/extensions,signumsoftware/framework,signumsoftware/extensions | Signum.React.Extensions/Authorization/ActiveDirectoryController.cs | Signum.React.Extensions/Authorization/ActiveDirectoryController.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Signum.Engine;
using Signum.Engine.Authorization;
using Signum.Engine.Mailing;
using Signum.Engine.Operations;
using Signum.Entities;
using Signum.Entities.Author... | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Signum.Engine;
using Signum.Engine.Authorization;
using Signum.Engine.Mailing;
using Signum.Engine.Operations;
using Signum.Entities;
using Signum.Entities.Author... | mit | C# |
58e61280a3d47561a0df98f7667a88ecc8dbc563 | Fix null annotation of SyntaxFactory.UsingStatement (#51984) | eriawan/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,weltkante/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,wvdd007/roslyn,dotnet/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,physhi/roslyn,AmadeusW/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mav... | src/Compilers/CSharp/Portable/Syntax/UsingStatementSyntax.cs | src/Compilers/CSharp/Portable/Syntax/UsingStatementSyntax.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 Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
public partial cl... | // 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 Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
public partial cl... | mit | C# |
00c09e0b832e8ad222262fced8a3ab62ae5ccb30 | add comment for clarity to defensive blueprints | Construktion/Construktion,Construktion/Construktion | Construktion/Blueprints/DefaultBlueprints.cs | Construktion/Blueprints/DefaultBlueprints.cs | namespace Construktion.Blueprints
{
using System;
using System.Collections;
using System.Collections.Generic;
using Recursive;
using Simple;
public class DefaultBlueprints : IEnumerable<Blueprint>
{
private readonly IEnumerable<Blueprint> _defaultBlueprints;
public DefaultBlueprints() : thi... | namespace Construktion.Blueprints
{
using System;
using System.Collections;
using System.Collections.Generic;
using Recursive;
using Simple;
public class DefaultBlueprints : IEnumerable<Blueprint>
{
private readonly IEnumerable<Blueprint> _defaultBlueprints;
public DefaultBlueprints() : thi... | mit | C# |
f86800844a1611177fc1228406d168441b2d3d56 | Update IIndex.cs | tamasflamich/nmemory | Main/Source/NMemory.Shared/Indexes/IIndex.cs | Main/Source/NMemory.Shared/Indexes/IIndex.cs | // ----------------------------------------------------------------------------------
// <copyright file="IIndex.cs" company="NMemory Team">
// Copyright (C) NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation file... | // ----------------------------------------------------------------------------------
// <copyright file="IIndex.cs" company="NMemory Team">
// Copyright (C) NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation file... | mit | C# |
0e52f29f4fa348480ec08c49b1aca51cfd190b8c | Add app.Map("/sub" | vlko/DevDays2015-MVC6 | devdays/Startup.cs | devdays/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
namespace devdays
{
public class Startup
{
// For more information on how to configure your applic... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
namespace devdays
{
public class Startup
{
// For more information on how to configure your applic... | mit | C# |
d1c1c8ada308acb837e291a1d776300072e6bcd1 | Fix canDisarm datafield (#11963) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/CombatMode/SharedCombatModeComponent.cs | Content.Shared/CombatMode/SharedCombatModeComponent.cs | using Content.Shared.Actions;
using Content.Shared.Actions.ActionTypes;
using Content.Shared.Targeting;
using Content.Shared.Verbs;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robu... | using Content.Shared.Actions;
using Content.Shared.Actions.ActionTypes;
using Content.Shared.Targeting;
using Content.Shared.Verbs;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robu... | mit | C# |
c046f4503f119071fd49e4409ff4e1a1b02b2673 | Add Football-API's testing key complete. | tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer | DailySoccer2015/ApiApp/Repositories/FootballService.cs | DailySoccer2015/ApiApp/Repositories/FootballService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApiApp.Models;
using System.Net;
using RestSharp;
namespace ApiApp.Repositories
{
/// <summary>
/// ตัวเชื่อมต่อกับฟุตบอลเซอร์วิส
/// </summary>
public class FootballService : IFoo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApiApp.Models;
using System.Net;
using RestSharp;
namespace ApiApp.Repositories
{
/// <summary>
/// ตัวเชื่อมต่อกับฟุตบอลเซอร์วิส
/// </summary>
public class FootballService : IFoo... | mit | C# |
fe744b26a37e9bb093a3e370b1a1b33f97bd93d7 | Remove more references | Xenoleth/Reverb-MVC,Xenoleth/Reverb-MVC,Xenoleth/Reverb-MVC | Reverb/Reverb.Data/UnitOfWork/SaveContext.cs | Reverb/Reverb.Data/UnitOfWork/SaveContext.cs | using Reverb.Data.Contracts;
namespace Reverb.Data.SaveChanges
{
public class SaveContext : ISaveContext
{
private readonly IReverbDbContext context;
public SaveContext(IReverbDbContext context)
{
//Guard.WhenArgument(context, "context").IsNull().Throw();
this... | using Bytes2you.Validation;
using Reverb.Data.Contracts;
namespace Reverb.Data.SaveChanges
{
public class SaveContext : ISaveContext
{
private readonly IReverbDbContext context;
public SaveContext(IReverbDbContext context)
{
Guard.WhenArgument(context, "context").IsNull().... | mit | C# |
4777b221e251b4adf94aeff11970d9f00f84df51 | Fix a bug where RequiredFieldChecker skipped fields of a value type if those were not marked with the RequiredAttribute. | lukyad/Eco | Eco/SettingsVisitors/RequiredFieldChecker.cs | Eco/SettingsVisitors/RequiredFieldChecker.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Eco.Extensions;
namespace Eco.SettingsVisitors
{
public class RequiredFieldChecker : TwinSettingsVisitorBase
{
readonly HashSet<Tuple<object, FieldInfo>> _... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Eco.Extensions;
namespace Eco.SettingsVisitors
{
public class RequiredFieldChecker : TwinSettingsVisitorBase
{
readonly HashSet<Tuple<object, FieldInfo>> _... | apache-2.0 | C# |
33ae9f8bd285b7ae85bac39b81bc957dcafe2147 | Handle nullable types. | JohanLarsson/Gu.ChangeTracking,JohanLarsson/Gu.State,JohanLarsson/Gu.State | Gu.State/EqualBy/Comparers/EquatableEqualByComparer.cs | Gu.State/EqualBy/Comparers/EquatableEqualByComparer.cs | namespace Gu.State
{
using System;
using System.Collections.Generic;
using System.Reflection;
internal static class EquatableEqualByComparer
{
internal static bool TryGet(Type type, MemberSettings settings, out EqualByComparer comparer)
{
if (settings.IsEquatable(type) ... | namespace Gu.State
{
using System;
using System.Collections.Generic;
using System.Reflection;
internal static class EquatableEqualByComparer
{
internal static bool TryGet(Type type, MemberSettings settings, out EqualByComparer comparer)
{
if (settings.IsEquatable(type) ... | mit | C# |
7ad8f083fe5b3d68e1c21cb9f11c64c0bd3e4393 | Update SettingsServiceTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core.Tests/Settings/SettingsServiceTests.cs | TIKSN.Framework.Core.Tests/Settings/SettingsServiceTests.cs | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.DependencyInjection;
using TIKSN.FileSystem;
namespace TIKSN.Settings.Tests
{
public partial class SettingsServiceTests
{
partial void SetupDenepdencies()
{
services.AddFrameworkPl... | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.DependencyInjection;
using TIKSN.FileSystem;
namespace TIKSN.Settings.Tests
{
public partial class SettingsServiceTests
{
partial void SetupDenepdencies()
{
PlatformDependencyRegis... | mit | C# |
4e7e471cf788486d9f26f99ad267676b115645f2 | Add entities while enumerating | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Components/EntityManager.cs | MadCat/NutEngine/Components/EntityManager.cs | using System;
using System.Collections.Generic;
namespace NutEngine
{
public class EntityManager
{
public List<Entity> Entities { get; } = new List<Entity>();
private static Dictionary<Type, Type[]> Dependencies = new Dictionary<Type, Type[]>();
private List<Entity> toBeAdded = new Li... | using System;
using System.Collections.Generic;
namespace NutEngine
{
public class EntityManager
{
public List<Entity> Entities { get; } = new List<Entity>();
private static Dictionary<Type, Type[]> Dependencies = new Dictionary<Type, Type[]>();
public void Update(float deltaTime)
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.