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 |
|---|---|---|---|---|---|---|---|---|
65a2913dc5851222b4d17e0e0da23651d512a2a5 | Implement IDisposable | nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Xgminer/Miner.cs | MultiMiner.Xgminer/Miner.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer
{
public class Miner : IDisposable
{
privat... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer
{
public class Miner
{
private Process mine... | mit | C# |
669395e404d4c639b08993c7d1b4bbc5cab64e55 | Add missing ReCaptcha TagHelper registration (#6886) | stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore/OrchardCore.ReCaptcha.Core/ServiceCollectionExtensions.cs | src/OrchardCore/OrchardCore.ReCaptcha.Core/ServiceCollectionExtensions.cs | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using OrchardCore.ReCaptcha.ActionFilters.Detection;
using OrchardCore.ReCaptcha.Configuration;
using OrchardCore.ReCaptcha.Services;
using OrchardCore.ReCaptcha.TagHelpers;
using Polly;
namespace OrchardCore.ReCaptcha.Co... | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using OrchardCore.ReCaptcha.ActionFilters.Detection;
using OrchardCore.ReCaptcha.Configuration;
using OrchardCore.ReCaptcha.Services;
using Polly;
namespace OrchardCore.ReCaptcha.Core
{
public static class ServiceColl... | bsd-3-clause | C# |
9ca0e06e9f752673074fbbddd0a9f43746d91e7c | Use GetAwaiter().GetResult() | stratisproject/NStratis | NBitcoin.Tests/WebClient.cs | NBitcoin.Tests/WebClient.cs | #if NOWEBCLIENT
using System;
using System.IO;
using System.Net.Http;
namespace NBitcoin.Tests
{
public class WebClient
{
public void DownloadFile(string url, string file)
{
HttpClient client = new HttpClient();
// The default value is 100,000 milliseconds (100 seconds) and
// that's not long enough t... | #if NOWEBCLIENT
using System;
using System.IO;
using System.Net.Http;
namespace NBitcoin.Tests
{
public class WebClient
{
public void DownloadFile(string url, string file)
{
HttpClient client = new HttpClient();
// The default value is 100,000 milliseconds (100 seconds).
// That's long enough to downl... | mit | C# |
eef72b18f69e1c4eac444935621c1c75f0261698 | Bump version to v2.3.0 | rickyah/ini-parser,rickyah/ini-parser | src/IniFileParser/Properties/AssemblyInfo.cs | src/IniFileParser/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("INIParser")]
[assembly: AssemblyDescripti... | 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("INIParser")]
[assembly: AssemblyDescripti... | mit | C# |
5121ff02263f88c72dcbe643c74f13485c074608 | Fix MapperBenchmarks interation count discrepancy | KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin | src/Kirkin.Tests/Mapping/MapperBenchmarks.cs | src/Kirkin.Tests/Mapping/MapperBenchmarks.cs | using AutoMapper;
using Kirkin.Mapping;
using Kirkin.Reflection;
using Xunit;
namespace Kirkin.Tests.Mapping
{
public class MapperBenchmarks
{
[Fact]
public void AutomapperClone()
{
MapperConfiguration config = new MapperConfiguration(c => c.CreateMap<Dummy, Dummy>());
... | using AutoMapper;
using Kirkin.Mapping;
using Kirkin.Reflection;
using Xunit;
namespace Kirkin.Tests.Mapping
{
public class MapperBenchmarks
{
[Fact]
public void AutomapperClone()
{
MapperConfiguration config = new MapperConfiguration(c => c.CreateMap<Dummy, Dummy>());
... | mit | C# |
03f976c72b9aca11a6a305c674804eaa26132adc | Update EntityUnitOfWork.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityUnitOfWork.cs | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityUnitOfWork.cs | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityUnitOfWork : UnitOfWorkBase
{
private readonly DbContext[] _dbContexts;
public EntityUnitOfWork(DbContext[] dbContexts) =>... | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityUnitOfWork : UnitOfWorkBase
{
private readonly DbContext[] _dbContexts;
public EntityUnitOfWork(DbContext[] dbContexts) =>... | mit | C# |
71cdeee501d87726c1aeee0eeff0cc93779c7706 | Clear IsBusy on Wallet load error | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs | using AvalonStudio.Extensibility;
using ReactiveUI;
using Splat;
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
publ... | using AvalonStudio.Extensibility;
using ReactiveUI;
using Splat;
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
publ... | mit | C# |
e2090024f64425ca2318212398feea05761ab99d | Make the new InvalidPatternException constructor internal, and give it some documentation. | zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,zaccharles/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,jskeet/nodatime,nodatime/nodatime,zaccharles/nodatime,malcolmr/nodatime | src/NodaTime/Text/InvalidPatternException.cs | src/NodaTime/Text/InvalidPatternException.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// ht... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// ht... | apache-2.0 | C# |
df14fc6fb14aff5b0b516c3629ea6d2b4f650864 | Add AssemblyInformationVersion for nuget. | chariothy/MultiTargetFrameworkDemo,chariothy/MultiTargetFrameworkDemo | MultiTarget/Properties/AssemblyInfo.cs | MultiTarget/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("Mu... | 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("Mu... | mit | C# |
f04abecf2f27c5ee84f57ff44d41b14aea8556d4 | use GetComponentInParent() instead | yasokada/unity-150912-findParentCanvasOfPanel | Assets/FindParentCanvas.cs | Assets/FindParentCanvas.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.2 2015/09/15
* - brush up getMyParentCanvasName() by using GetComponentInParent()
* v0.1 2015/09/12
* - getMyParentCanvasName() worked as expected
*/
public class FindParentCanvas : MonoBehaviour {
string getMyParentCanvasName(Ga... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.1 2015/09/12
* - getMyParentCanvasName() worked as expected
*/
public class FindParentCanvas : MonoBehaviour {
string getMyParentCanvasName(GameObject panel) {
GameObject parentGO;
GameObject targetGO = panel;
for (int loop=0;... | mit | C# |
4306e89e1567a640d16c7c29943c16e618457d72 | fix issue where rrp is not zero and price is zero, we only care about price being zero to indicate a free item | danbadge/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,bettiolo/SevenDigi... | src/SevenDigital.Api.Schema/Pricing/Price.cs | src/SevenDigital.Api.Schema/Pricing/Price.cs | using System;
using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Pricing
{
[XmlRoot("price")]
[Serializable]
public class Price
{
[XmlElement("currency")]
public Currency Currency { get; set; }
[XmlElement("value")]
public string Value { get; set; }
[XmlElement("formatt... | using System;
using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Pricing
{
[XmlRoot("price")]
[Serializable]
public class Price
{
[XmlElement("currency")]
public Currency Currency { get; set; }
[XmlElement("value")]
public string Value { get; set; }
[XmlElement("formatt... | mit | C# |
e742615ab7dc90a7d6cc4a0f7d772a39e97c878d | Improve test | David-Desmaisons/EasyActor | Concurrent.Test/Dispatchers/RateLimiterDispatcherTests.cs | Concurrent.Test/Dispatchers/RateLimiterDispatcherTests.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Concurrent.Dispatchers;
using FluentAssertions;
using RateLimiter;
using Xunit;
using Xunit.Abstractions;
namespace Concurrent.Test.Dispatchers
{
public class RateLimiterDispatcherTests
{
private readon... | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Concurrent.Dispatchers;
using FluentAssertions;
using RateLimiter;
using Xunit;
using Xunit.Abstractions;
namespace Concurrent.Test.Dispatchers
{
public class RateLimiterDispatcherTests
{
private readon... | mit | C# |
768d9a57e48ba2a6a32c908b9381383b9793c015 | Update OpeningFilesThroughPath.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-sha... | Examples/CSharp/Files/Handling/OpeningFilesThroughPath.cs | Examples/CSharp/Files/Handling/OpeningFilesThroughPath.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFilesThroughPath
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Ce... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFilesThroughPath
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Aspose.Ce... | mit | C# |
fdc05abd9feeb0cdeb4a380bf919fa62a98a6342 | Check account call. | bchavez/Coinbase | Source/Coinbase.Tests/Integration/IntegrationTests.cs | Source/Coinbase.Tests/Integration/IntegrationTests.cs | using System.IO;
using System.Net;
using System.Threading.Tasks;
using Flurl.Http;
using NUnit.Framework;
using Z.ExtensionMethods;
namespace Coinbase.Tests.Integration
{
[Explicit]
public class IntegrationTests
{
protected CoinbaseApi client;
public IntegrationTests()
{
Directory... | using System.IO;
using System.Net;
using System.Threading.Tasks;
using Flurl.Http;
using NUnit.Framework;
using Z.ExtensionMethods;
namespace Coinbase.Tests.Integration
{
[Explicit]
public class IntegrationTests
{
protected CoinbaseApi client;
public IntegrationTests()
{
Directory... | mit | C# |
f6cdb389f81e435d2767199636a5108395a2003e | Set correct output type for RemoveRoleDefinition | juvchan/azure-powershell,hallihan/azure-powershell,TaraMeyer/azure-powershell,PashaPash/azure-powershell,yadavbdev/azure-powershell,jianghaolu/azure-powershell,tonytang-microsoft-com/azure-powershell,PashaPash/azure-powershell,zaevans/azure-powershell,hallihan/azure-powershell,arcadiahlyy/azure-powershell,ClogenyTechno... | src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/RemoveAzureRoleDefinitionCommand.cs | src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/RemoveAzureRoleDefinitionCommand.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
c75d2eae7d5c7093595af8b6346612d6c14d195d | fix Entourage test | HearthSim/HearthDb | HearthDb.Tests/UnitTest1.cs | HearthDb.Tests/UnitTest1.cs | #region
using HearthDb.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endregion
namespace HearthDb.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void BasicTest()
{
Assert.AreEqual("Flame Lance", Cards.All["AT_001"].Name);
Assert.AreEqual("Flammenlanze", Cards.All["AT_0... | #region
using HearthDb.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endregion
namespace HearthDb.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void BasicTest()
{
Assert.AreEqual("Flame Lance", Cards.All["AT_001"].Name);
Assert.AreEqual("Flammenlanze", Cards.All["AT_0... | mit | C# |
817f02089fcb826d4fa8994333ed27731dd83df8 | fix S_DUNGEON_COOL_TIME_LIST again | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Parsing/Messages/S_DUNGEON_COOL_TIME_LIST.cs | TCC.Core/Parsing/Messages/S_DUNGEON_COOL_TIME_LIST.cs | using System;
using System.Collections.Generic;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_DUNGEON_COOL_TIME_LIST : ParsedMessage
{
public readonly Dictionary<uint, short> DungeonCooldowns;
public S_DUNGEON_COOL_TIME_... | using System.Collections.Generic;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_DUNGEON_COOL_TIME_LIST : ParsedMessage
{
public readonly Dictionary<uint, short> DungeonCooldowns;
public S_DUNGEON_COOL_TIME_LIST(TeraMessa... | mit | C# |
427cf8cf771901ee56d9f92e7977e5c03b0b99a3 | Fix error? | Vytek/HazelTestUDPClientUnity | Assets/Scripts/NetworkCube.cs | Assets/Scripts/NetworkCube.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NetworkCube : MonoBehaviour {
//The ID of the client that owns this player (so we can check if it's us updating)
public ushort objectID;
public bool DEBUG = true;
Vector3 lastPosition = Vector3.zero;
Vect... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NetworkCube : MonoBehaviour {
//The ID of the client that owns this player (so we can check if it's us updating)
public ushort objectID;
public bool DEBUG = true;
Vector3 lastPosition = Vector3.zero;
Vect... | mit | C# |
e9bce922f06f64884a7a3da8304c8884f11166ee | Support piping a WebAssembly file to wasm-dump | jonathanvdc/cs-wasm,jonathanvdc/cs-wasm | wasm-dump/Program.cs | wasm-dump/Program.cs | using System;
using System.IO;
using Wasm.Binary;
namespace Wasm.Dump
{
public static class Program
{
private static MemoryStream ReadStdinToEnd()
{
// Based on Marc Gravell's answer to this StackOverflow question:
// https://stackoverflow.com/questions/1562417/read-bin... | using System;
using System.IO;
using Wasm.Binary;
namespace Wasm.Dump
{
public static class Program
{
public static int Main(string[] args)
{
if (args.Length != 1)
{
Console.Error.WriteLine("usage: wasm-dump file.wasm");
return 1;
... | mit | C# |
faad90ccd836645ca9489e0c14efc6b0314eaa5e | change EmptyPosition to class | acple/ParsecSharp | ParsecSharp/Data/Internal/EmptyPosition.cs | ParsecSharp/Data/Internal/EmptyPosition.cs | namespace ParsecSharp.Internal
{
public class EmptyPosition : IPosition
{
public static IPosition Initial { get; } = new EmptyPosition();
public int Line => 0;
public int Column => -1;
private EmptyPosition()
{ }
public int CompareTo(IPosition other)
... | namespace ParsecSharp.Internal
{
public readonly struct EmptyPosition : IPosition
{
public static EmptyPosition Initial => default;
public int Line => 0;
public int Column => -1;
public int CompareTo(IPosition other)
=> (other is EmptyPosition) ? 0 : -1;
p... | mit | C# |
57cd90a7db9653640a41103321864e1c565cdf44 | Update console to show parsing duration | CSGO-Analysis/CSGO-Analyzer | DemoParser-Console/Program.cs | DemoParser-Console/Program.cs | using DemoParser_Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoParser_Console
{
class Program
{
static void Main(string[] args)
{
DateTime begin;
DateTime end;
Stream inputStream = new FileStr... | using DemoParser_Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoParser_Console
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(DateTime.Now);
Stream inputStream = new FileStream(... | mit | C# |
16c47e721b2ff43708e60cd15ef0d5025eb82d73 | Fix Grafeas smoke test to use client builder | jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Grafeas.V1/Grafeas.V1.SmokeTests/GrafeasSmokeTest.cs | apis/Grafeas.V1/Grafeas.V1.SmokeTests/GrafeasSmokeTest.cs | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# |
33c0fd7e459d9ae2060e5c392db4c274cd8701c1 | Add GitCommandException taking a message | appharbor/appharbor-cli | src/AppHarbor/GitCommandException.cs | src/AppHarbor/GitCommandException.cs | using System;
namespace AppHarbor
{
public class GitCommandException : Exception
{
public GitCommandException(string message)
: base(message)
{
}
}
}
| using System;
namespace AppHarbor
{
public class GitCommandException : Exception
{
}
}
| mit | C# |
186208213a2eaede992b17f7b4ab38cd5d8a10ec | Order Fonts Alphabetically | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Services/Generic/FontService.cs | Portal.CMS.Services/Generic/FontService.cs | using Portal.CMS.Entities;
using Portal.CMS.Entities.Entities.Themes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Services.Generic
{
public interface IFontService
{
Font Get(int fontId);
List<Font> Get();
int Create(string fontName, string ... | using Portal.CMS.Entities;
using Portal.CMS.Entities.Entities.Themes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Services.Generic
{
public interface IFontService
{
Font Get(int fontId);
List<Font> Get();
int Create(string fontName, string ... | mit | C# |
ac5b6bfe77c94d81a271aa1b4a4e813541761e92 | Update PlayerMovement.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/PlayerMovement.cs | Real_Game/Assets/Scripts/PlayerMovement.cs | using UnityEngine;
using System.Collections;
public class PlayerMovement : MonoBehaviour {
public GameManager manager;
public float moveSpeed;
private float maxSpeed = 5f;
public int deathCount;
public GameObject deathParticals;
private Vector3 input;
private Vector3 spawn;
// Use this for initialization
... | using UnityEngine;
using System.Collections;
public class PlayerMovement : MonoBehaviour {
public GameManager manager;
public float moveSpeed;
private float maxSpeed = 5f;
public GameObject deathParticals;
private Vector3 input;
private Vector3 spawn;
// Use this for initialization
void Start ()
{
spa... | mit | C# |
2bbc771769cb37b5f92f32ec635d73dde6c98b6d | Update GetListOfSubscriptions.cs | devkale/sample-code-csharp,AuthorizeNet/sample-code-csharp,akankaria/sample-code-csharp,rmorrin/sample-code-csharp | RecurringBilling/GetListOfSubscriptions.cs | RecurringBilling/GetListOfSubscriptions.cs | using System;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample
{
class GetListOfSubscriptions
{
public static void Run(Str... | using System;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample
{
class GetListSubscriptions
{
public static void Run(Strin... | mit | C# |
0fdce021a5b4293c06edc84ad815dc1b6439a58b | Optimize Success. | Faithlife/Parsing | src/Faithlife.Parsing/Parser-Then.cs | src/Faithlife.Parsing/Parser-Then.cs | namespace Faithlife.Parsing;
public static partial class Parser
{
/// <summary>
/// Executes one parser after another.
/// </summary>
public static IParser<TAfter> Then<TBefore, TAfter>(this IParser<TBefore> parser, Func<TBefore, IParser<TAfter>> convertValueToNextParser)
=> Create(position => parser.TryParse(po... | namespace Faithlife.Parsing;
public static partial class Parser
{
/// <summary>
/// Executes one parser after another.
/// </summary>
public static IParser<TAfter> Then<TBefore, TAfter>(this IParser<TBefore> parser, Func<TBefore, IParser<TAfter>> convertValueToNextParser)
=> Create(position => parser.TryParse(po... | mit | C# |
088cf24a6b6e43194d68ae18ace9e9fce8020b60 | Revert "Base directory for Avalonia" | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Program.cs | WalletWasabi.Gui/Program.cs | using Avalonia;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui
{
internal class Pro... | using Avalonia;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui
{
internal class Pro... | mit | C# |
2ae2957e436e244a7a960daab3c7c967798a71cb | Implement IRCMessage | Luke-Wolf/wolfybot | WolfyBot.Core/IRCMessage.cs | WolfyBot.Core/IRCMessage.cs | //
// Copyright 2014 luke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | //
// Copyright 2014 luke
//
// 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... | apache-2.0 | C# |
f8fb972cd57afbd82461333533a26a934ff7ac1d | 修正 HtmlText 属性默认行为 | yonglehou/Jumony,zpzgone/Jumony,wukaixian/Jumony,yonglehou/Jumony,wukaixian/Jumony,zpzgone/Jumony | Ivony.Html.Parser/DomTextNode.cs | Ivony.Html.Parser/DomTextNode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Ivony.Html.Parser
{
/// <summary>
/// IHtmlTextNode 的一个实现
/// </summary>
public class DomTextNode : DomNode, IHtmlTextNode
{
private readonly string raw;
/// <summary>
/// 创建 DomT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Ivony.Html.Parser
{
/// <summary>
/// IHtmlTextNode 的一个实现
/// </summary>
public class DomTextNode : DomNode, IHtmlTextNode
{
private readonly string raw;
/// <summary>
/// 创建 DomT... | apache-2.0 | C# |
1fa95571bcbad2402ab0bedb8d300cd878fffa6b | Update AnimatedBar.cs | sant0ro/Yupi,sant0ro/Yupi,sant0ro/Yupi,TheDoct0r11/Yupi,TheDoct0r11/Yupi,TheDoct0r11/Yupi,sant0ro/Yupi,sant0ro/Yupi,TheDoct0r11/Yupi | Yupi/Core/Io/AnimatedBar.cs | Yupi/Core/Io/AnimatedBar.cs | /**
Because i love chocolat...
88 88
"" 88
88
8b d8 88 88 8b,dPPYba, 88 88
`8b d8' 88 88 88P' "8a 88 88
`8b d8' 88 88 88... | /**
Because i love chocolat...
88 88
"" 88
88
8b d8 88 88 8b,dPPYba, 88 88
`8b d8' 88 88 88P' "8a 88 88
`8b d8' 88 88 88... | mit | C# |
c66699b7c76377b6809601313a0e12c56f52c1bb | Add unit test for all action method on CropController | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Oogstplanner.Tests/Controllers/CropControllerTest.cs | Oogstplanner.Tests/Controllers/CropControllerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using NUnit.Framework;
using Oogstplanner.Services;
using Oogstplanner.Controllers;
using Oogstplanner.Models;
using Oogstplanner.Repositories;
namespace Oogstplanner.Tests
{
[TestFixture]
public class CropControllerTest... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using NUnit.Framework;
using Oogstplanner.Services;
using Oogstplanner.Controllers;
using Oogstplanner.Models;
using Oogstplanner.Repositories;
namespace Oogstplanner.Tests
{
[TestFixture]
public class CropControllerTest... | mit | C# |
f1426e287b74dce56b5b5dd53d1cb7c33ba9d30d | Hide redact button in sample when gateway is already redacted | philjones88/SpreedlyCoreSharp | SpreedlyCoreSharp.WebSample/Views/Gateways/Gateways.cshtml | SpreedlyCoreSharp.WebSample/Views/Gateways/Gateways.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<System.Collections.Generic.List<SpreedlyCoreSharp.Domain.Gateway>>
@{
ViewBag.Active = "Gateway";
Layout = "_Layout.cshtml";
}
<div class="span12">
<a href="/gateways/add-test-gateway" class="btn" onclick="return confirm('Are you sure you want to add a ... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<System.Collections.Generic.List<SpreedlyCoreSharp.Domain.Gateway>>
@{
ViewBag.Active = "Gateway";
Layout = "_Layout.cshtml";
}
<div class="span12">
<a href="/gateways/add-test-gateway" class="btn" onclick="return confirm('Are you sure you want to add a ... | mit | C# |
fdca5e92a12fd77a407ae15c2f08bb1de5132d0a | Fix 'set description' link | rijkshuisstijl/Rijkshuisstijl.VersionManager | Views/VersionManager/SetDescription.cshtml | Views/VersionManager/SetDescription.cshtml | @model Rijkshuisstijl.VersionManager.ViewModels.Admin.SetDescriptionViewModel
@{
Layout.Title = T("Edit the description");
}
<div id="version-description">
<div class="errormessages">
@Html.ValidationSummary()
</div>
@using (Html.BeginFormAntiForgeryPost())
{
@Html.HiddenFor(... | @model Rijkshuisstijl.VersionManager.ViewModels.Admin.SetDescriptionViewModel
@{
Layout.Title = T("Edit the description");
}
<div id="version-description">
<div class="errormessages">
@Html.ValidationSummary()
</div>
@using (Html.BeginFormAntiForgeryPost("SetDescription"))
{
... | bsd-2-clause | C# |
395d5f2eee14f9c6d7b5fc7dbb762146740237f2 | Fix NRE | jlucansky/refit,jlucansky/refit,onovotny/refit,paulcbetts/refit,paulcbetts/refit,PKRoma/refit,onovotny/refit | Refit/HttpUtility.NetStandard.cs | Refit/HttpUtility.NetStandard.cs | using Microsoft.AspNetCore.WebUtilities;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace System.Web
{
class HttpUtility
{
internal static NameValueCollec... | using Microsoft.AspNetCore.WebUtilities;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace System.Web
{
class HttpUtility
{
internal static NameValueCollec... | mit | C# |
237d87bc143fc4b8593b465d8b50b2aa2ab610ce | Add MessageCountPart to Recipient object | messagebird/csharp-rest-api | MessageBird/Objects/Recipient.cs | MessageBird/Objects/Recipient.cs | using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace MessageBird.Objects
{
public class Recipient
{
public enum RecipientStatus
{
// Message status
[EnumMember(Value = "scheduled")]
Scheduled,... | using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace MessageBird.Objects
{
public class Recipient
{
public enum RecipientStatus
{
// Message status
[EnumMember(Value = "scheduled")]
Scheduled,... | isc | C# |
f8b523942216ceb05d389c44c751edfd6a948ff8 | Update Assorted.cs | mcintyre321/OneOf | OneOf/Types/Assorted.cs | OneOf/Types/Assorted.cs |
namespace OneOf.Types
{
public struct Yes { }
public struct No { }
public struct Maybe { }
public struct Unknown { }
public struct True { }
public struct False { }
public struct All { }
public struct Some { }
public struct None
{
public static OneOf<T, None> O... |
namespace OneOf.Types
{
public struct Yes { }
public struct No { }
public struct Maybe { }
public struct Unknown { }
public struct True { }
public struct False { }
public struct All { }
public struct Some { }
public struct None { }
public struct NotFound { }
public st... | mit | C# |
70caa51a8ab52503cc33d4db4a67b60c9399e127 | add assembly properties | andrewyakonyuk/NBass | NBass/Properties/AssemblyInfo.cs | NBass/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
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 ... | 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("NB... | mit | C# |
79af77ac511c14e01cb5d43ccdccbfa2bc04213f | 修改 xml | toolgood/ToolGood.ReadyGo,toolgood/ToolGood.ReadyGo | ToolGood.ReadyGo3/Gadget/Events/SqlErrorEventArgs.cs | ToolGood.ReadyGo3/Gadget/Events/SqlErrorEventArgs.cs | using System;
namespace ToolGood.ReadyGo3.Gadget.Events
{
/// <summary>
/// sql错误事件事件参数
/// </summary>
public class SqlErrorEventArgs : System.EventArgs
{
/// <summary>
/// sql错误事件事件参数
/// </summary>
/// <param name="sql"></param>
/// <param na... | using System;
namespace ToolGood.ReadyGo3.Gadget.Events
{
/// <summary>
/// sql错误事件事件参数
/// </summary>
public class SqlErrorEventArgs : System.EventArgs
{
/// <summary>
/// sql错误事件事件参数
/// </summary>
/// <param name="sql"></param>
/// <param na... | apache-2.0 | C# |
7ee0c26c855d472e63be063d64bd6866e10aacc5 | Add WriteAttributeStringAsync | AMDL/amdl2maml | amdl2maml/Converter/Writers/BlockWriter.cs | amdl2maml/Converter/Writers/BlockWriter.cs | using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Xml;
namespace Amdl.Maml.Converter.Writers
{
class BlockWriter
{
private readonly XmlWriter writer;
public BlockWriter(XmlWriter writer)
{
this.writer = writer;
}
[MethodImpl... | using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Xml;
namespace Amdl.Maml.Converter.Writers
{
class BlockWriter
{
private readonly XmlWriter writer;
public BlockWriter(XmlWriter writer)
{
this.writer = writer;
}
[MethodImpl... | apache-2.0 | C# |
c0f39514b9aba1295ba168ad29b541ba92d4b1a7 | Fix legacy droplet scale | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu | osu.Game.Rulesets.Catch/Skinning/LegacyDropletPiece.cs | osu.Game.Rulesets.Catch/Skinning/LegacyDropletPiece.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.Textures;
using osuTK;
namespace osu.Game.Rulesets.Catch.Skinning
{
public class LegacyDropletPiece : LegacyCatchHitObjectPiece
{
... | // 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.Textures;
namespace osu.Game.Rulesets.Catch.Skinning
{
public class LegacyDropletPiece : LegacyCatchHitObjectPiece
{
protect... | mit | C# |
4e85478f1e1bd8caf508f1b42012deffa53c9ec2 | Fix login link on register page | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/Views/Account/Register.cshtml | Zk/Views/Account/Register.cshtml | @{
ViewBag.Title = "Registreer je vandaag bij de Oogstplanner";
}
<div class="flowtype-area">
<!-- START RESPONSIVE RECTANGLE LAYOUT -->
<!-- Top bar -->
<div id="top">
</div>
<!-- Fixed main screen -->
<div id="login" class="bg imglogin">
<div class="row">
<div class="mainbox col-md-12 col-sm-12 col-xs-12"... | @{
ViewBag.Title = "Registreer je vandaag bij de Oogstplanner";
}
<div class="flowtype-area">
<!-- START RESPONSIVE RECTANGLE LAYOUT -->
<!-- Top bar -->
<div id="top">
</div>
<!-- Fixed main screen -->
<div id="login" class="bg imglogin">
<div class="row">
<div class="mainbox col-md-12 col-sm-12 col-xs-12"... | mit | C# |
665da09ed76c5a74bd688ddf2a41c5dd325b3ba7 | disable HD for taiko | johnneijzen/osu,2yangk23/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,UselessToucan/osu,johnneijzen/osu,ppy/osu,ppy/osu,peppy/osu,UselessToucan/o... | osu.Game.Rulesets.Taiko/Mods/TaikoModHidden.cs | osu.Game.Rulesets.Taiko/Mods/TaikoModHidden.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.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModHidden : ModHidden
{
public override string Description => @... | // 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.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModHidden : ModHidden
{
public override string Description => @... | mit | C# |
24d51748be139edfa10947f1bbea931144f015dc | Remove unused field | whampson/cascara,whampson/bft-spec | Src/WHampson.Bft/TemplateFile.cs | Src/WHampson.Bft/TemplateFile.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | mit | C# |
30af76cadb35983bf23a343fc5bf00c1a8e14963 | Add language option to Find | LordMike/TMDbLib | TMDbLib/Client/TMDbClientFind.cs | TMDbLib/Client/TMDbClientFind.cs | using System.Net;
using System.Threading;
using System.Threading.Tasks;
using TMDbLib.Objects.Find;
using TMDbLib.Rest;
using TMDbLib.Utilities;
namespace TMDbLib.Client
{
public partial class TMDbClient
{
/// <summary>
/// FindAsync movies, people and tv shows by an external id.
/// T... | using System.Net;
using System.Threading;
using System.Threading.Tasks;
using TMDbLib.Objects.Find;
using TMDbLib.Rest;
using TMDbLib.Utilities;
namespace TMDbLib.Client
{
public partial class TMDbClient
{
/// <summary>
/// FindAsync movies, people and tv shows by an external id.
/// T... | mit | C# |
1812b654a5156ea5365789175d81779022c441f7 | add null checks for Text and Html. | l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto/Forms/Clipboard.cs | Source/Eto/Forms/Clipboard.cs | using System;
using Eto;
using Eto.Drawing;
using System.IO;
namespace Eto.Forms
{
public interface IClipboard : IInstanceWidget
{
string[] Types { get; }
void SetString (string value, string type);
void SetData (byte[] value, string type);
string GetString (string type);
byte[] GetData (string typ... | using System;
using Eto;
using Eto.Drawing;
using System.IO;
namespace Eto.Forms
{
public interface IClipboard : IInstanceWidget
{
string[] Types { get; }
void SetString (string value, string type);
void SetData (byte[] value, string type);
string GetString (string type);
byte[] GetData (string typ... | bsd-3-clause | C# |
771972cb3737df32719984f40d0ea542ca4e9d0e | Add Document.EmbeddedSource for later | fnajera-rac-de/cecil,jbevain/cecil,sailro/cecil,mono/cecil | Mono.Cecil.Cil/Document.cs | Mono.Cecil.Cil/Document.cs | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
namespace Mono.Cecil.Cil {
public enum DocumentType {
Other,
Text,
}
public enum DocumentHashAlgorithm {
None,
MD5,... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
namespace Mono.Cecil.Cil {
public enum DocumentType {
Other,
Text,
}
public enum DocumentHashAlgorithm {
None,
MD5,... | mit | C# |
8698ccb086c4d3062bb95e91a8c7cc0c35697c52 | add api for update cards | netxph/cards | src/Cards.Web/Controllers/Api/CardsController.cs | src/Cards.Web/Controllers/Api/CardsController.cs | using Cards.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Cards.Web.Controllers.Api
{
public class CardsController : ApiController
{
public Card Post(Card card)
{
return Card.Creat... | using Cards.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Cards.Web.Controllers.Api
{
public class CardsController : ApiController
{
public Card Create(Card card)
{
return Card.Cre... | mit | C# |
cb5b3d8e57698dbac830ed8cc172669e529465c7 | Simplify x86 hook | diryboy/roslyn,heejaechang/roslyn,wvdd007/roslyn,weltkante/roslyn,weltkante/roslyn,dotnet/roslyn,weltkante/roslyn,tmat/roslyn,bartdesmet/roslyn,panopticoncentral/roslyn,shyamnamboodiripad/roslyn,panopticoncentral/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,sharwell/roslyn,AlekseyTs/roslyn,KevinRansom/roslyn,eriaw... | src/EditorFeatures/XunitHook/XunitDisposeHook.cs | src/EditorFeatures/XunitHook/XunitDisposeHook.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.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
usin... | // 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.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
usin... | mit | C# |
520dd682b0d38fd9d080c0eb5698d691e831a6e5 | Remove redundant class | simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,arst/SimplCommerce,arst/SimplCommerce,arst/SimplCommerce,arst/SimplCommerce,simplcommerce/SimplCommerce | src/HvCommerce.Web/RouteConfigs/CategoryRoute.cs | src/HvCommerce.Web/RouteConfigs/CategoryRoute.cs | using System;
using System.Threading.Tasks;
using HvCommerce.Core.ApplicationServices;
using Microsoft.AspNet.Routing;
namespace HvCommerce.Web.RouteConfigs
{
public class CategoryRoute : ICategoryRoute
{
private readonly IRouter _target;
private readonly ICategoryService _categoryService;
... | using System;
using System.Threading.Tasks;
using HvCommerce.Core.ApplicationServices;
using Microsoft.AspNet.Routing;
namespace HvCommerce.Web.RouteConfigs
{
public class CategoryRoute : Attribute, ICategoryRoute
{
private readonly IRouter _target;
private readonly ICategoryService _categoryS... | apache-2.0 | C# |
f4bb52452dce675da94a64504ceeddc4163d1bb0 | Add FolderScanProgress event | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | using Newtonsoft.Json;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | using Newtonsoft.Json;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | mit | C# |
390d3a30a0fc39be456469774045cb3cc0b414fd | Put comment text between quotes | igece/SoxSharp | src/OutputFormatOptions.cs | src/OutputFormatOptions.cs | using System.Text;
namespace SoxSharp
{
/// <summary>
/// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input file.
/// </summary>
public class OutputFormatOptions : FormatOptions
{
/// <summary>
/// Compression factor for output f... | using System.Text;
namespace SoxSharp
{
/// <summary>
/// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input file.
/// </summary>
public class OutputFormatOptions : FormatOptions
{
/// <summary>
/// Compression factor for output f... | apache-2.0 | C# |
f465d6e6d76256170b876c183e861427ff62c8a7 | remove whitespace at start of namespaces | DigDes/SoapCore | src/SoapCore/Namespaces.cs | src/SoapCore/Namespaces.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SoapCore
{
public static class Namespaces
{
#pragma warning disable SA1310 // Field names must not contain underscore
public const string XMLNS_XSD = "http://www.w3.org/2001/XMLSchema";
public const string XMLNS_XSI = "http://w... | using System;
using System.Collections.Generic;
using System.Text;
namespace SoapCore
{
public static class Namespaces
{
#pragma warning disable SA1310 // Field names must not contain underscore
public const string XMLNS_XSD = " http://www.w3.org/2001/XMLSchema";
public const string XMLNS_XSI = " http:... | mit | C# |
1317ebef46be20c147f9fc74c747cd4a9c66f926 | add variables | appharbor/AppHarbor.Web.Security | AppHarbor.Web.Security/KeyedHashValidation.cs | AppHarbor.Web.Security/KeyedHashValidation.cs | using System;
using System.Linq;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public class KeyedHashValidation : Validation
{
private readonly KeyedHashAlgorithm _algorithm;
public KeyedHashValidation(KeyedHashAlgorithm algorithm, byte[] secretKey)
{
_algorithm = algorithm;
_a... | using System;
using System.Linq;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public class KeyedHashValidation : Validation
{
private readonly KeyedHashAlgorithm _algorithm;
public KeyedHashValidation(KeyedHashAlgorithm algorithm, byte[] secretKey)
{
_algorithm = algorithm;
_a... | mit | C# |
219d7cd51958519b96f4d9e4bb1d178700569655 | Add frozen tier support to ILM phases (#5354) (#5367) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/XPack/Ilm/Phases.cs | src/Nest/XPack/Ilm/Phases.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Runtime.Serialization;
namespace Nest
{
[ReadAs(typeof(Phases))]
public interface IP... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Runtime.Serialization;
namespace Nest
{
[ReadAs(typeof(Phases))]
public interface IP... | apache-2.0 | C# |
70ea1d9f632bf176800153cb09859247c1bcc7ed | fix Firefox warning (#378) (Resolve #377) | DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit | AjaxControlToolkit/AjaxFileUpload/AjaxFileUploadHandler.cs | AjaxControlToolkit/AjaxFileUpload/AjaxFileUploadHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.SessionState;
namespace AjaxControlToolkit {
// Map this handler as AjaxFileUploadHandler.axd
public class AjaxFileUploadHandler : IHttpHandler, IReadOnlySessionState {
public bool... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.SessionState;
namespace AjaxControlToolkit {
// Map this handler as AjaxFileUploadHandler.axd
public class AjaxFileUploadHandler : IHttpHandler, IReadOnlySessionState {
public bool... | bsd-3-clause | C# |
d463ca39ba3f56f4de1e6f3ff48e0636a7d3241b | Update CopyingColumns.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell... | Examples/CSharp/Articles/CopyRowsColumns/CopyingColumns.cs | Examples/CSharp/Articles/CopyRowsColumns/CopyingColumns.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.CopyRowsColumns
{
public class CopyingColumns
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.CopyRowsColumns
{
public class CopyingColumns
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Me... | mit | C# |
1df4ffe548ae6c77280cfef0a913372223bd59d3 | Build warning fix | simontaylor81/Syrup,simontaylor81/Syrup | ShaderEditorApp/ViewModel/Scene/ScenePrimitiveViewModel.cs | ShaderEditorApp/ViewModel/Scene/ScenePrimitiveViewModel.cs | using ReactiveUI;
using SlimDX;
using SRPCommon.Scene;
using SRPCommon.UserProperties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using System.Windows.Input;
namespace ShaderEditorApp.ViewModel.Scene
{
abstract class ScenePrimitiveViewMode... | using ReactiveUI;
using SlimDX;
using SRPCommon.Scene;
using SRPCommon.UserProperties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using System.Windows.Input;
namespace ShaderEditorApp.ViewModel.Scene
{
abstract class ScenePrimitiveViewMode... | mit | C# |
b2c5986544e0d94a0c5cb0d17bcb64c8274edec1 | Add MoveToBlock closes #15 | Yonom/BotBits,EEJesse/BotBits | BotBits/Packages/Actions/ActionsExtensions.cs | BotBits/Packages/Actions/ActionsExtensions.cs | namespace BotBits
{
public static class ActionsExtensions
{
public static void GetCrown(this Actions actions)
{
actions.GetCrown(0, 0);
}
public static void CompleteLevel(this Actions actions)
{
actions.CompleteLevel(0, 0);
}
... | namespace BotBits
{
public static class ActionsExtensions
{
public static void GetCrown(this Actions actions)
{
actions.GetCrown(0, 0);
}
public static void CompleteLevel(this Actions actions)
{
actions.CompleteLevel(0, 0);
}
... | mit | C# |
4bdde2b8b517724b44469a9dfb2e283b3d5be9a0 | Remove code that runs login screen | NiallHow/Software-Eng,M-Zuber/MyHome | MyHome.UI/Program.cs | MyHome.UI/Program.cs | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using FrameWork;
namespace MyHome.UI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Appl... | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using FrameWork;
namespace MyHome.UI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Appl... | mit | C# |
77c3e930f6016c1c2aff0632e3dae30701c9391d | Fix for ?? operator priority | MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit | src/MassTransit.AmazonSqsTransport/Topology/AmazonSqsHostEqualityComparer.cs | src/MassTransit.AmazonSqsTransport/Topology/AmazonSqsHostEqualityComparer.cs | // Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
... | // Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
... | apache-2.0 | C# |
c16fc06cb9fd28c21556f83855498985739e41e8 | Modify warning about policy behavior (#924) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Authorization/DefaultAuthorizationPolicyProvider.cs | src/Microsoft.AspNetCore.Authorization/DefaultAuthorizationPolicyProvider.cs | // Copyright (c) .NET Foundation. 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.Threading.Tasks;
using Microsoft.Extensions.Options;
namespace Microsoft.AspNetCore.Authorization
{
/// <summary>
//... | // Copyright (c) .NET Foundation. 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.Threading.Tasks;
using Microsoft.Extensions.Options;
namespace Microsoft.AspNetCore.Authorization
{
/// <summary>
//... | apache-2.0 | C# |
9cec603d46ac5a550332e0c967b5f9a4bb62375d | Add RuntimeModeValidators() extension method | abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbr... | src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Collections.cs | src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Collections.cs | using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Packaging;
using Umbraco.Cms.Infrastructure.Persistence;
using Umbraco.Cms.Infrastructure.Persistence.Mappers;
using Umbraco.Cms.Infrastructure.Runtime;
namespace Umbraco.Extensions;
/// <summary>
/// Provides extension methods to the <see cref="I... | using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Packaging;
using Umbraco.Cms.Infrastructure.Persistence;
using Umbraco.Cms.Infrastructure.Persistence.Mappers;
namespace Umbraco.Extensions;
/// <summary>
/// Provides extension methods to the <see cref="IUmbracoBuilder" /> class.
/// </summary>
p... | mit | C# |
d787cde8102491a6ed09d05786d396b0704f646a | Add punctuation | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/CharCountIndicatorTable.cs | WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/CharCountIndicatorTable.cs | using System;
namespace Gma.QrCodeNet.Encoding.DataEncodation
{
public static class CharCountIndicatorTable
{
/// <remarks>ISO/IEC 18004:2000 Table 3 Page 18</remarks>
public static int[] GetCharCountIndicatorSet()
{
return new int[] { 8, 16, 16 };
}
public static int GetBitCountInCharCountIndicator(in... | using System;
namespace Gma.QrCodeNet.Encoding.DataEncodation
{
public static class CharCountIndicatorTable
{
/// <remarks>ISO/IEC 18004:2000 Table 3 Page 18</remarks>
public static int[] GetCharCountIndicatorSet()
{
return new int[] { 8, 16, 16 };
} //
public static int GetBitCountInCharCountIndicator... | mit | C# |
b22112350ae5c2fc591652f8553935c4a301cc87 | remove static | punker76/Markdown-Edit,jokamjohn/Markdown-Edit,dsuess/Markdown-Edit,mike-ward/Markdown-Edit,Tdue21/Markdown-Edit,chris84948/Markdown-Edit,Pulgafree/Markdown-Edit | src/MarkdownEdit/MarkdownConverters/CommonMarkConverter.cs | src/MarkdownEdit/MarkdownConverters/CommonMarkConverter.cs | using System;
using System.IO;
using System.Text.RegularExpressions;
using CommonMark;
using MarkdownEdit.Properties;
namespace MarkdownEdit
{
public class CommonMarkConverter : IMarkdownConverter
{
private readonly Func<string, string> _uriResolver = Utility.Memoize<string, string>(UriResolver);
... | using System;
using System.IO;
using System.Text.RegularExpressions;
using CommonMark;
using MarkdownEdit.Properties;
namespace MarkdownEdit
{
public class CommonMarkConverter : IMarkdownConverter
{
private static readonly Func<string, string> _uriResolver = Utility.Memoize<string, string>(UriResolver... | mit | C# |
a3d9fcc821b4b17ddecdd7164e90d16ba64f9169 | use the right sp! | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance/Data/ExpiredFundsRepository.cs | src/SFA.DAS.EmployerFinance/Data/ExpiredFundsRepository.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EmployerFinance.Extensions;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Sql.Client;
using SFA.DAS.EmployerFinance.Models.ExpiredFunds;
namespace SFA.DAS.EmployerFinance.Data
{
public class Exp... | using System;
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EmployerFinance.Extensions;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Sql.Client;
using SFA.DAS.EmployerFinance.Models.ExpiredFunds;
namespace SFA.DAS.EmployerFinance.Data
{
public class Exp... | mit | C# |
6361141f8efdeb65c19261c5d08cc5140959d64b | Enable nullable: System.Management.Automation.IDispatch (#14185) | daxian-dbw/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,Jame... | src/System.Management.Automation/engine/COM/ComDispatch.cs | src/System.Management.Automation/engine/COM/ComDispatch.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Runtime.InteropServices;
using COM = System.Runtime.InteropServices.ComTypes;
#nullable enable
namespace System.Management.Automation
{
/// <summary>
/// The IDispatch interface.
/// </summary>
[Guid("00020400-000... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Runtime.InteropServices;
using COM = System.Runtime.InteropServices.ComTypes;
namespace System.Management.Automation
{
/// <summary>
/// The IDispatch interface.
/// </summary>
[Guid("00020400-0000-0000-c000-00000... | mit | C# |
e78395dc8d4e739c8145626819e60a207c7cb841 | Split the CanCombineTwoNs test code into two line. | sdcb/sdmap | sdmap/test/sdmap.test/IntegratedTest/NamespaceTest.cs | sdmap/test/sdmap.test/IntegratedTest/NamespaceTest.cs | using sdmap.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test.IntegratedTest
{
public class NamespaceTest
{
[Fact]
public void CanReferenceOtherInOneNamespace()
{
var code = "namespace... | using sdmap.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test.IntegratedTest
{
public class NamespaceTest
{
[Fact]
public void CanReferenceOtherInOneNamespace()
{
var code = "namespace... | mit | C# |
3ad38824648c2ad5f9b163be6765894cea208be3 | Make EthernetDevice compile again and dispose resources better | shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg | trunk/src/bindings/EthernetDevice.cs | trunk/src/bindings/EthernetDevice.cs |
using System;
using System.Runtime.InteropServices;
namespace TAPCfg {
public class EthernetDevice : IDisposable {
private const int MTU = 1522;
private IntPtr handle;
private bool disposed = false;
public EthernetDevice() {
handle = tapcfg_init();
}
public void Start() {
tapcfg_start(handle);
... |
using System;
using System.Runtime.InteropServices;
namespace TAPCfg {
public class EthernetDevice : IDisposable {
private const int MTU = 1522;
private IntPtr handle;
public EthernetDevice() {
handle = tapcfg_init();
}
public void Start() {
tapcfg_start(handle);
}
public byte[] Read() {
in... | lgpl-2.1 | C# |
8336056636a9311c9336253c80016ab271a67a8e | fix problem with Result.cs properties in linux | ilovepi/Compiler,ilovepi/Compiler | compiler/frontend/Result.cs | compiler/frontend/Result.cs | using System;
namespace compiler
{
public enum Kind
{
Constant,
Variable,
Register,
Conditional
}
public struct Result
{
/// <summary>
/// Const, Variable, Register, Conditional
/// </summary>
public int Kind { get; }
/// <summary>
/// Numeric value
... | using System;
namespace compiler
{
public enum Kind
{
Constant,
Variable,
Register,
Conditional
}
public struct Result
{
private int kind; // const, var, register, conditional
private int value; // numeric value
private int id; //id number
private int regno; // register n... | mit | C# |
b14ab254fe2e60d4f3fc5e81d81210264a7761f6 | fix hpm again | radasuka/ShinraMeter,Seyuna/ShinraMeter,neowutran/TeraDamageMeter,neowutran/ShinraMeter | DamageMeter.UI/SkillDetail/SkillDetailDps.xaml.cs | DamageMeter.UI/SkillDetail/SkillDetailDps.xaml.cs | using System;
using System.Windows;
using System.Windows.Input;
using Lang;
namespace DamageMeter.UI.SkillDetail
{
/// <summary>
/// Logique d'interaction pour SkillContent.xaml
/// </summary>
public partial class SkillDetailDps
{
public SkillDetailDps(Tera.Game.Skill skill, SkillAggre... | using System;
using System.Windows;
using System.Windows.Input;
using Lang;
namespace DamageMeter.UI.SkillDetail
{
/// <summary>
/// Logique d'interaction pour SkillContent.xaml
/// </summary>
public partial class SkillDetailDps
{
public SkillDetailDps(Tera.Game.Skill skill, SkillAggre... | mit | C# |
548b169b6ba226f52d1e8117d934d280e71b6b67 | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
e5104c2fea9b11e7a6f23cf4ffe08f754d10be0c | Remove duplicate UIComponentDefinitionAttribute.Properties property; Remove duplicate IPropertySettings interface from UIComponentDefinitionAttribute | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata | src/Atata/Attributes/UIComponentDefinitionAttribute.cs | src/Atata/Attributes/UIComponentDefinitionAttribute.cs | using System.Linq;
namespace Atata
{
public abstract class UIComponentDefinitionAttribute : ScopeDefinitionAttribute
{
protected UIComponentDefinitionAttribute(string scopeXPath = DefaultScopeXPath)
: base(scopeXPath)
{
}
public string ComponentTypeName { get... | using System.Linq;
namespace Atata
{
public abstract class UIComponentDefinitionAttribute : ScopeDefinitionAttribute, IPropertySettings
{
protected UIComponentDefinitionAttribute(string scopeXPath = DefaultScopeXPath)
: base(scopeXPath)
{
}
public PropertyBag... | apache-2.0 | C# |
61230348c5704bca7184ae73ae7e3531a2163317 | Write to console on failed apu write | izik1/JAGBE | JAGBE/GB/Computation/Apu.cs | JAGBE/GB/Computation/Apu.cs | using System;
namespace JAGBE.GB.Computation
{
internal sealed class Apu
{
private byte NR50;
private byte NR51;
private byte NR52;
internal void Clear()
{
this.NR50 = 0;
this.NR51 = 0;
}
internal byte GetRegister(byte num)
... | namespace JAGBE.GB.Computation
{
internal sealed class Apu
{
private byte NR50;
private byte NR51;
private byte NR52;
internal void Clear()
{
this.NR50 = 0;
this.NR51 = 0;
}
internal byte GetRegister(byte num)
{
... | mit | C# |
23a9948a781a7c500dc9773e188f3afead264a18 | Adjust AssemblyInfo | Makar8000/ACT-Discord-Triggers | ACT_DiscordTriggers/ACT_DiscordTriggers/Properties/AssemblyInfo.cs | ACT_DiscordTriggers/ACT_DiscordTriggers/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("AC... | 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("AC... | mit | C# |
9e12df615006e94837d25aca83daa8635cdd44eb | Fix lock of scrapes list | dipeshc/BTDeploy | src/MonoTorrent/MonoTorrent.Tracker/RequestMonitor.cs | src/MonoTorrent/MonoTorrent.Tracker/RequestMonitor.cs | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.Client;
using MonoTorrent.Common;
namespace MonoTorrent.Tracker
{
public class RequestMonitor
{
#region Member Variables
private SpeedMonitor announces;
private SpeedMonitor scrapes;
... | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.Client;
using MonoTorrent.Common;
namespace MonoTorrent.Tracker
{
public class RequestMonitor
{
#region Member Variables
private SpeedMonitor announces;
private SpeedMonitor scrapes;
... | mit | C# |
cc32835f640f3a3ddd2a7963ea810bbd6179c6c4 | Add Radius() to circle geo shape filter descriptor | ststeiger/elasticsearch-net,tkirill/elasticsearch-net,tkirill/elasticsearch-net,wawrzyn/elasticsearch-net,adam-mccoy/elasticsearch-net,KodrAus/elasticsearch-net,gayancc/elasticsearch-net,RossLieberman/NEST,CSGOpenSource/elasticsearch-net,robertlyson/elasticsearch-net,wawrzyn/elasticsearch-net,robertlyson/elasticsearch-... | src/Nest/DSL/Filter/GeoShapeCircleFilterDescriptor.cs | src/Nest/DSL/Filter/GeoShapeCircleFilterDescriptor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nest.Resolvers;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters.Filters;
using Newtonsoft.Json;
using Elasticsearch.Net;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nest.Resolvers;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters.Filters;
using Newtonsoft.Json;
using Elasticsearch.Net;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public ... | apache-2.0 | C# |
90093052964338991566beb936a7e52b82201fe5 | Change visibility of members of ExportInfo; expose DefaultPriority. | bfriesen/Rock.StaticDependencyInjection,RockFramework/Rock.StaticDependencyInjection | src/StaticDependencyInjection/ExportInfo.Generated.cs | src/StaticDependencyInjection/ExportInfo.Generated.cs | using System;
namespace Rock.StaticDependencyInjection
{
/// <summary>
/// Provides information about an export.
/// </summary>
internal class ExportInfo
{
/// <summary>
/// The default priority for an instance of <see cref="ExportInfo"/> if not specified.
/// </summary>
... | using System;
namespace Rock.StaticDependencyInjection
{
/// <summary>
/// Provides information about an export.
/// </summary>
internal class ExportInfo
{
private const int _defaultPriority = -1;
private readonly Type _targetClass;
private readonly int _priority;
... | mit | C# |
dede5e7050fc29f613e5da584b40a55df59645d5 | allow test of eidas signitures | crocs-muni/roca,crocs-muni/roca,crocs-muni/roca,crocs-muni/roca | csharp/RocaTest/Program.cs | csharp/RocaTest/Program.cs | using System;
using System.IO;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.X509;
using iTextSharp.text.pdf;
using System.Collections.Generic;
using System.Security.Cryptography.Pkcs;
namespace RocaTest
{
class Program
{
static void Main(string[] args)
{
foreach ... | using System;
using System.IO;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.X509;
namespace RocaTest
{
class Program
{
static void Main(string[] args)
{
foreach (string certFile in Directory.GetFiles("data"))
{
if (TestCert(certFile))... | mit | C# |
8e5c781667fc5d76bf5f24937249ff3abc2b15b4 | make class public | IUMDPI/IUMediaHelperApps | Packager/Exceptions/NormalizeOriginalException.cs | Packager/Exceptions/NormalizeOriginalException.cs | using System;
namespace Packager.Exceptions
{
public class NormalizeOriginalException : AbstractEngineException
{
public NormalizeOriginalException(string baseMessage, params object[] parameters) : base(baseMessage, parameters)
{
}
public NormalizeOriginalException(Exception i... | using System;
namespace Packager.Exceptions
{
internal class NormalizeOriginalException : AbstractEngineException
{
public NormalizeOriginalException(string baseMessage, params object[] parameters) : base(baseMessage, parameters)
{
}
public NormalizeOriginalException(Exception... | apache-2.0 | C# |
861a43f7b3246f8aa397fb789fdcb4c41a1a98b0 | Add GetHashCode() to RuntimeHelpers | dot42/api | System/Runtime/CompilerServices/RuntimeHelpers.cs | System/Runtime/CompilerServices/RuntimeHelpers.cs | // Copyright (C) 2014 dot42
//
// Original filename: RuntimeHelpers.cs
//
// 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
//
... | // Copyright (C) 2014 dot42
//
// Original filename: RuntimeHelpers.cs
//
// 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
//
... | apache-2.0 | C# |
9a92bc05dbccaaf1974f7f07d576c177f10d8760 | fix json types | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer.Client/Models/InvoicePaymentMethodDataModel.cs | BTCPayServer.Client/Models/InvoicePaymentMethodDataModel.cs | using System;
using System.Collections.Generic;
using BTCPayServer.JsonConverters;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace BTCPayServer.Client.Models
{
public class InvoicePaymentMethodDataModel
{
public string Destination { get; set; }
public string PaymentLink { get... | using System;
using System.Collections.Generic;
using BTCPayServer.JsonConverters;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace BTCPayServer.Client.Models
{
public class InvoicePaymentMethodDataModel
{
public string Destination { get; set; }
public string PaymentLink { get... | mit | C# |
a17928ee735eccdceea77e21b9da43bafded03ef | Update ChangePassword form markup | peterblazejewicz/aspnet-5-bootstrap-4,peterblazejewicz/aspnet-5-bootstrap-4 | WebApplication/Views/Manage/ChangePassword.cshtml | WebApplication/Views/Manage/ChangePassword.cshtml | @model ChangePasswordViewModel
@{
ViewData["Title"] = "Change Password";
}
<h2>@ViewData["Title"].</h2>
<form asp-controller="Manage" asp-action="ChangePassword" method="post" role="form">
<h4>Change Password Form</h4>
<hr />
<div asp-validation-summary="ValidationSummary.All" class="text-da... | @model ChangePasswordViewModel
@{
ViewData["Title"] = "Change Password";
}
<h2>@ViewData["Title"].</h2>
<form asp-controller="Manage" asp-action="ChangePassword" method="post" role="form">
<h4>Change Password Form</h4>
<hr />
<div asp-validation-summary="ValidationSummary.All" class="text-da... | mit | C# |
c2dc35359f3aa4475ddf0ba95d7297e1fd082c80 | Enable `MaximizeBox` for `PatchingWizard` | kc284/xenadmin,kc284/xenadmin,xenserver/xenadmin,xenserver/xenadmin,kc284/xenadmin,kc284/xenadmin,kc284/xenadmin,xenserver/xenadmin | XenAdmin/Wizards/PatchingWizard/PatchingWizard.Designer.cs | XenAdmin/Wizards/PatchingWizard/PatchingWizard.Designer.cs | using System.Windows.Forms;
namespace XenAdmin.Wizards.PatchingWizard
{
partial class PatchingWizard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up... | using System.Windows.Forms;
namespace XenAdmin.Wizards.PatchingWizard
{
partial class PatchingWizard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up... | bsd-2-clause | C# |
211c8192c0704477396943b1f86c4652ae88071b | Fix sample | StanleyGoldman/NRules,NRules/NRules,StanleyGoldman/NRules,prashanthr/NRules | samples/SimpleRulesTest/SimpleRulesTest/Program.cs | samples/SimpleRulesTest/SimpleRulesTest/Program.cs | using NRules;
using NRules.Fluent;
namespace SimpleRulesTest
{
internal class Program
{
private static void Main(string[] args)
{
var dwelling = new Dwelling {Address = "1 Main Street, New York, NY", Type = DwellingTypes.SingleHouse};
var dwelling2 = new Dwelling {Addre... | using NRules;
using NRules.Fluent;
namespace SimpleRulesTest
{
internal class Program
{
private static void Main(string[] args)
{
var dwelling = new Dwelling {Address = "1 Main Street, New York, NY", Type = DwellingTypes.SingleHouse};
var dwelling2 = new Dwelling {Addre... | mit | C# |
16fbb8fa0dac761b3e5a7fef0e8a74e615d6c10c | Fix setting control size when it is visible | PowerOfCode/Eto,l8s/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Gtk/Forms/GtkContainer.cs | Source/Eto.Platform.Gtk/Forms/GtkContainer.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.GtkSharp
{
public interface IGtkContainer
{
void SetLayout(Layout inner);
object ContainerObject { get; }
}
public abstract class GtkContainer<T, W> : GtkControl<T, W>, IContainer, IGtkContainer
where T: Gtk.Widget
where W: Co... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.GtkSharp
{
public interface IGtkContainer
{
void SetLayout(Layout inner);
object ContainerObject { get; }
}
public abstract class GtkContainer<T, W> : GtkControl<T, W>, IContainer, IGtkContainer
where T: Gtk.Widget
where W: Co... | bsd-3-clause | C# |
9f6a220099dc45c41812bc1b8e4a3cb1330ec679 | Fix broken (admittedly crappy) test. | TicketSolutionsPtyLtd/TeamCityBuildChanges,BenPhegan/TeamCityBuildChanges | TeamCityBuildChanges.Tests/HtmlOutputTests.cs | TeamCityBuildChanges.Tests/HtmlOutputTests.cs | using System.Globalization;
using NUnit.Framework;
using TeamCityBuildChanges.Output;
using TeamCityBuildChanges.Testing;
namespace TeamCityBuildChanges.Tests
{
[TestFixture]
public class HtmlOutputTests
{
[Test]
public void CanRenderSimpleTemplate()
{
var result = new ... | using NUnit.Framework;
using TeamCityBuildChanges.Output;
using TeamCityBuildChanges.Testing;
namespace TeamCityBuildChanges.Tests
{
[TestFixture]
public class HtmlOutputTests
{
[Test]
public void CanRenderSimpleTemplate()
{
var result = new RazorOutputRenderer(@".\temp... | mit | C# |
da025ad462e626db89a4acab347f0b03e361b9de | exclude from netcore | hazzik/Humanizer,MehdiK/Humanizer | src/Humanizer.Tests/ApiApprover/DiffPlexReporter.cs | src/Humanizer.Tests/ApiApprover/DiffPlexReporter.cs | #if NET46
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using ApprovalTests.Core;
using DiffPlex;
using DiffPlex.DiffBuilder;
using DiffPlex.DiffBuilder.... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using ApprovalTests.Core;
using DiffPlex;
using DiffPlex.DiffBuilder;
using DiffPlex.DiffBuilder.Model;
usi... | mit | C# |
9b44f4418a1effef56ac371eb731ad37944aecf9 | Remove commented out line | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/Views/Shared/_Layout.cshtml | src/AtomicChessPuzzles/Views/Shared/_Layout.cshtml | @using Microsoft.AspNet.Http;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
@if (IsSectionDefined("Title"))
{
@RenderSection("title");@: | Atomic Chess Puzzles
}
else
{
@:No title | Atomic Chess Puzzles
}
</tit... | @using Microsoft.AspNet.Http;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
@if (IsSectionDefined("Title"))
{
@RenderSection("title");@: | Atomic Chess Puzzles
}
else
{
@:No title | Atomic Chess Puzzles
}
</tit... | agpl-3.0 | C# |
359cb3ad102c0005b99bbcc832da2127c4f356f7 | Mark as Serializable | RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,livioc/nhibernate-core,fredericDelaporte/nhibernate-core,M... | src/NHibernate/Dialect/BitwiseFunctionOperation.cs | src/NHibernate/Dialect/BitwiseFunctionOperation.cs | using System;
using System.Collections;
using NHibernate.Dialect.Function;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.Type;
namespace NHibernate.Dialect
{
[Serializable]
public class BitwiseFunctionOperation : ISQLFunction
{
private readonly string _functionName;
private SqlStringBui... | using System.Collections;
using NHibernate.Dialect.Function;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.Type;
namespace NHibernate.Dialect
{
public class BitwiseFunctionOperation : ISQLFunction
{
private readonly string _functionName;
private SqlStringBuilder _sqlBuffer;
private Que... | lgpl-2.1 | C# |
cf2781724ad71a34e1cb24c6c6a61f000178021b | Set proper version for WixUiClient | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows | src/Shimmer.WiXUiClient/Properties/AssemblyInfo.cs | src/Shimmer.WiXUiClient/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | mit | C# |
8ca15e20d262ebafdea2cc38c8497e1ec53a931e | Add missing imports | smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-fr... | osu.Framework.Android/AndroidGameWindow.cs | osu.Framework.Android/AndroidGameWindow.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.Configuration;
using osu.Framework.Platform;
using osuTK.Graphics;
using System;
using System.Collections.Generic;
namespace osu.Framework.Android
{... | // 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.Configuration;
using osu.Framework.Platform;
using osuTK.Graphics;
namespace osu.Framework.Android
{
public class AndroidGameWindow : GameWindow... | mit | C# |
fef1f8c21c0f9c0d858d4f672e093640ec54ba7e | Use ProvideBindingRedirection for GHfVS assemblies | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/Properties/AssemblyInfo.cs | src/GitHub.VisualStudio/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
[assembly: AssemblyTitle("GitHub.VisualStudio")]
[assembly: AssemblyDescription("GitHub for Visual Studio VSPackage")]
[assembly: Guid("fad77eaa-3fe1-4c4b-88dc-3753b6263cd7")]
[assembly: ProvideBindingRed... | using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
[assembly: AssemblyTitle("GitHub.VisualStudio")]
[assembly: AssemblyDescription("GitHub for Visual Studio VSPackage")]
[assembly: Guid("fad77eaa-3fe1-4c4b-88dc-3753b6263cd7")]
[assembly: ProvideCodeBase(AssemblyName = ... | mit | C# |
69776e272f52944b0e0deb780eb4b393bf1e9e18 | Fix assembly name | takenet/lime-csharp | src/Lime.Transport.Http/Properties/AssemblyInfo.cs | src/Lime.Transport.Http/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: AssemblyConfigurat... | 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: AssemblyConfigurat... | apache-2.0 | C# |
766543a80c79b7d12b39c2a1982e88f1620d1fbc | Add RestPostComment object | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Rest/Entities/Feeds/RestPostComment.cs | src/NTwitch.Rest/Entities/Feeds/RestPostComment.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class RestPostComment : RestEntity, IPostComment
{
public string Body { get; }
public DateTime CreatedAt { get; }
public IEnumerable<IEmote> Emotes { get; }
public bool... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.Rest.Entities.Feeds
{
public class RestPostComment
{
}
}
| mit | C# |
e8a6a6a0f6a458369090a8b2dd94d23a7f9d661e | Change lbo methods to internal | AshleyPoole/Noobot.Modules | src/Noobot.Modules.LoadBalancerDotOrg/LboPlugin.cs | src/Noobot.Modules.LoadBalancerDotOrg/LboPlugin.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using Common.Logging;
using Newtonsoft.Json;
using Noobot.Core.Configuration;
using Noobot.Core.Plugins;
using Noobot.Modules.LoadBalancerDotOrg.Models;
namespace Noobot.Modules.LoadBalancerDotOrg
{
public class LboPlugin : IPl... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using Common.Logging;
using Newtonsoft.Json;
using Noobot.Core.Configuration;
using Noobot.Core.Plugins;
using Noobot.Modules.LoadBalancerDotOrg.Models;
namespace Noobot.Modules.LoadBalancerDotOrg
{
public class LboPlugin : IPl... | mit | C# |
27f20386dfd32a61e22f59a9f62bb9cf99357fbf | Add confirmation button to recovery codes view (#984) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Manage/GenerateRecoveryCodes.cshtml | BTCPayServer/Views/Manage/GenerateRecoveryCodes.cshtml | @model GenerateRecoveryCodesViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.TwoFactorAuthentication, "Recovery codes");
}
<div class="alert alert-warning" role="alert">
<p>
<span class="fa fa-warning"></span>
<strong>Put these codes in a safe place.</strong>
</p>
<p>
... | @model GenerateRecoveryCodesViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.TwoFactorAuthentication, "Recovery codes");
}
<div class="alert alert-warning" role="alert">
<p>
<span class="fa fa-warning"></span>
<strong>Put these codes in a safe place.</strong>
</p>
<p>
... | mit | C# |
a8957b9b5e2e8c8bc6ab902759da179c69149e4a | Add dynamic method constuctor codes (didn't use it yet, other developer may learn something from the function) | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/Utils/Reflection.cs | Scripts/Utils/Reflection.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection.Emit;
namespace LiteNetLibManager.Utils
{
public class Reflection
{
private static readonly Dictionary<string, Func<object>> expressionActivators = new Dictionary<string, Func<object>>();
pri... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace LiteNetLibManager.Utils
{
public class Reflection
{
private static readonly Dictionary<string, ObjectActivator> objectActivators = new Dictionary<string, ObjectActivator>();
private static string tempTypeN... | mit | C# |
54330a6be2298053343b54a1fc9dac19ab26da34 | Make DebugAssertFailureException serializable in all available builds | physhi/roslyn,DustinCampbell/roslyn,diryboy/roslyn,xasx/roslyn,brettfo/roslyn,eriawan/roslyn,xasx/roslyn,dpoeschl/roslyn,dotnet/roslyn,wvdd007/roslyn,dpoeschl/roslyn,sharwell/roslyn,diryboy/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,ErikSchierboom/roslyn,bkoelman/roslyn,tmat/roslyn,nguerrera/roslyn,DustinCampbell/ro... | src/Test/Utilities/Portable/ThrowingTraceListener.cs | src/Test/Utilities/Portable/ThrowingTraceListener.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
#if !NETSTANDARD1_3
using System.Runtime.Serialization;
#endif
namespace Microsoft.CodeAnalysis
{
// To enable ... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis
{
// To enable this for a process, add the following to the app.config for the ... | mit | C# |
f829d8cb93d524ee044f4658d2ea52c1349fc2e3 | change namespace | naamunds/cli,jonsequitur/cli,johnbeisner/cli,nguerrera/cli,harshjain2/cli,weshaggard/cli,nguerrera/cli,AbhitejJohn/cli,weshaggard/cli,MichaelSimons/cli,livarcocc/cli-1,weshaggard/cli,livarcocc/cli-1,harshjain2/cli,AbhitejJohn/cli,Faizan2304/cli,blackdwarf/cli,nguerrera/cli,svick/cli,naamunds/cli,ravimeda/cli,EdwardBlai... | test/Microsoft.DotNet.Compiler.Common.Tests/Tests.cs | test/Microsoft.DotNet.Compiler.Common.Tests/Tests.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 Microsoft.DotNet.ProjectModel;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
namespace Microsoft.DotNet.Cli.Compiler.Common.T... | // 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 Microsoft.DotNet.ProjectModel;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
namespace Microsoft.DotNet.Cli.Compiler.Common
{... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.