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 |
|---|---|---|---|---|---|---|---|---|
d5e4b2d5ce0f1cbe860e43e63cd1f9458fda774a | Update ModifyThroughSampleExcelFile.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-c... | Examples/CSharp/Articles/ModifyExistingStyle/ModifyThroughSampleExcelFile.cs | Examples/CSharp/Articles/ModifyExistingStyle/ModifyThroughSampleExcelFile.cs | using System.IO;
using System.Drawing;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.ModifyExistingStyle
{
public class ModifyThroughSampleExcelFile
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataD... | using System.IO;
using System.Drawing;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.ModifyExistingStyle
{
public class ModifyThroughSampleExcelFile
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Exampl... | mit | C# |
580e0b78f2a4f491152646f709403ff2c144bc03 | add TypeLogic.Start | AlejandroCano/framework,signumsoftware/framework,AlejandroCano/framework,signumsoftware/framework,avifatal/framework,avifatal/framework | Signum.Test/Environment/Starter.cs | Signum.Test/Environment/Starter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities;
using Signum.Engine.Maps;
using Signum.Engine;
using System.IO;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Signum.Entities.Basics;
using Signum.Engine.Dynamic... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities;
using Signum.Engine.Maps;
using Signum.Engine;
using System.IO;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Signum.Entities.Basics;
using Signum.Engine.Dynamic... | mit | C# |
3e6f106b1448624b7f22f9458812e6156d9aded0 | Clean up GenericComparer | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility/GenericComparer.cs | GoldenAnvil.Utility/GenericComparer.cs | using System;
using System.Collections.Generic;
namespace GoldenAnvil.Utility
{
public sealed class GenericComparer<T> : IComparer<T>
{
public GenericComparer(Func<T, T, int> compareFunc) =>
m_compareFunc = compareFunc ?? throw new ArgumentNullException(nameof(compareFunc));
public int Compare(T left, T rig... | using System;
using System.Collections.Generic;
namespace GoldenAnvil.Utility
{
public sealed class GenericComparer<T> : IComparer<T>
{
public GenericComparer(Func<T, T, int> compareFunc)
{
if (compareFunc == null)
throw new ArgumentNullException(nameof(compareFunc));
m_compareFunc = compareFunc;
}... | mit | C# |
cf739f4e829ace5f5ad229eade14628a3432c306 | Fix ordering of connection sections | YOTOV-LIMITED/VisualStudio,github/VisualStudio,GuilhermeSa/VisualStudio,github/VisualStudio,pwz3n0/VisualStudio,amytruong/VisualStudio,HeadhunterXamd/VisualStudio,naveensrinivasan/VisualStudio,github/VisualStudio,bradthurber/VisualStudio,luizbon/VisualStudio | src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs | src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs | using GitHub.Api;
using GitHub.Models;
using GitHub.Services;
using Microsoft.TeamFoundation.Controls;
using System.ComponentModel.Composition;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
[TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 11)]
[PartCreationPolicy(CreationPolic... | using GitHub.Api;
using GitHub.Models;
using GitHub.Services;
using Microsoft.TeamFoundation.Controls;
using System.ComponentModel.Composition;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
[TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 10)]
[PartCreationPolicy(CreationPolic... | mit | C# |
21fbe0d6d6b9bb52604e8a10d6976c7ca2120e37 | Include validation scripts | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | SnittListan/Views/Account/LogOn.cshtml | SnittListan/Views/Account/LogOn.cshtml | @model SnittListan.Models.LogOnModel
@{
ViewBag.Title = "Log On";
}
<h2>Log On</h2>
<p>
Please enter your user name and password. @Html.ActionLink("Register", "Register") if you don't have an account.
</p>
@section scripts {
@Content.Script("jquery.validate.min.js", Url)
@Content.Script("jq... | @model SnittListan.Models.LogOnModel
@{
ViewBag.Title = "Log On";
}
<h2>Log On</h2>
<p>
Please enter your user name and password. @Html.ActionLink("Register", "Register") if you don't have an account.
</p>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<scrip... | mit | C# |
80f439083ba8bafdd606e24f5a203ebdcbe1f863 | Update AvaloniaTextClipboard.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/AvaloniaTextClipboard.cs | src/Core2D/Editor/AvaloniaTextClipboard.cs | #nullable enable
using System.Threading.Tasks;
using Avalonia;
using Core2D.Model;
namespace Core2D.Editor;
public sealed class AvaloniaTextClipboard : ITextClipboard
{
async Task ITextClipboard.SetText(string? text)
{
if (text is { } && Application.Current?.Clipboard is { } clipboard)
{
... | #nullable enable
using System.Threading.Tasks;
using Avalonia;
using Core2D.Model;
namespace Core2D.Editor;
public sealed class AvaloniaTextClipboard : ITextClipboard
{
async Task ITextClipboard.SetText(string? text)
{
if (text is { })
{
await Application.Current?.Clipboard?.SetTe... | mit | C# |
cad7c5533dbd94d1e7aaf380461c45e0205a43ef | Update UnitTest | traitify/traitify.net,floradu88/traitify.net | TraitifyUnitTests/TraitifyUnitTests.cs | TraitifyUnitTests/TraitifyUnitTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using com.traitify.net.TraitifyLibrary;
namespace TraitifyUnitTests
{
[TestClass]
public class TraitifyUnitTests
{
[TestMethod]
public void TestCreateAssessment()
{
//Base URL: https://api-staging.traitif... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using com.traitify.net.TraitifyLibrary;
namespace TraitifyUnitTests
{
[TestClass]
public class TraitifyUnitTests
{
[TestMethod]
public void TestCreateAssessment()
{
//Base URL: https://api-staging.traitif... | mit | C# |
a5b36e233235c3810b7190272e0298b145e870de | Bump version | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Properties/AssemblyInfo.cs | src/SyncTrayzor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
5e97520b7cc220439009de889cde97503440fcbc | Update AssemblyInfo.cs | christopher-bimson/VstsMetrics | VstsMetrics/Properties/AssemblyInfo.cs | VstsMetrics/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("VstsMetrics")]
[assembly: AssemblyDescrip... | 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("Th... | agpl-3.0 | C# |
16172a9c93017aa96560e9826d5f3a2f3a9f2be5 | Change default handler in handler service | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Handlers/Services/MessageHandlerService.cs | src/Booma.Proxy.Client.Handlers/Services/MessageHandlerService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// Message handling service that aggregates handlers
/// and manages the try dispatching of them and accepts a default
/// handler to fall back to if it fails.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// Message handling service that aggregates handlers
/// and manages the try dispatching of them and accepts a default
/// handler to fall back to if it fails.... | agpl-3.0 | C# |
46086c3ac1cc824d6b351ead8bc4a0183305a856 | test refactoring | JonasSamuelsson/Maestro | src/Maestro.Tests/resolve_from_multiple_threads_simultaneously.cs | src/Maestro.Tests/resolve_from_multiple_threads_simultaneously.cs | using System.Threading.Tasks;
using Castle.Core.Internal;
using Xunit;
namespace Maestro.Tests
{
public class resolve_from_multiple_threads_simultaneously
{
[Fact]
public void test()
{
var container = new Container(x =>
{
x.Service<IGrandParent>().Use.Type<GrandParent>();
... | using System.Threading.Tasks;
using Castle.Core.Internal;
using Xunit;
namespace Maestro.Tests
{
public class resolve_from_multiple_threads_simultaneously
{
[Fact]
public void test()
{
var container = new Container(x =>
{
x.Service<IGrandParent>().Use.Type<GrandParent>();
... | mit | C# |
8134b7e49c1dc2c55cd0528feee392a47780ce54 | Improve stability in shutdown rush. | yfakariya/msgpack-rpc-cli,yonglehou/msgpack-rpc-cli | src/MsgPack.Rpc.Server/Rpc/Server/Protocols/TcpServerTransport.cs | src/MsgPack.Rpc.Server/Rpc/Server/Protocols/TcpServerTransport.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | apache-2.0 | C# |
62054c049964e796b0e70ced1b669b7d52477992 | Remove unused usings | Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Components/Watchdog/InteropConstants.cs | src/Tgstation.Server.Host/Components/Watchdog/InteropConstants.cs | namespace Tgstation.Server.Host.Components.Watchdog
{
static class InteropConstants
{
//interop values, match them up with the appropriate api.dm
//api version 4.0.0.0
public const string DMParamHostVersion = "server_service_version";
public const string DMParamInfoJson = "tgs_json";
public const stri... | using System;
using System.Collections.Generic;
using System.Text;
namespace Tgstation.Server.Host.Components.Watchdog
{
static class InteropConstants
{
//interop values, match them up with the appropriate api.dm
//api version 4.0.0.0
public const string DMParamHostVersion = "server_service_version";
pu... | agpl-3.0 | C# |
619cb178f3c22425b78660092d20a1b14fc87ea3 | Support EventHub Consumer Groups in Script | fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | mit | C# |
97c3ce15e886a1758f10e0a6a04524d973ef45d7 | Add UserRepository.FindByUsername | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/DbRepositories/UserRepository.cs | src/AtomicChessPuzzles/DbRepositories/UserRepository.cs | using MongoDB.Driver;
using AtomicChessPuzzles.Models;
using MongoDB.Bson;
namespace AtomicChessPuzzles.DbRepositories
{
public class UserRepository : IUserRepository
{
MongoSettings settings;
IMongoCollection<User> userCollection;
public UserRepository()
{
setting... | using MongoDB.Driver;
using AtomicChessPuzzles.Models;
using MongoDB.Bson;
namespace AtomicChessPuzzles.DbRepositories
{
public class UserRepository : IUserRepository
{
MongoSettings settings;
IMongoCollection<User> userCollection;
public UserRepository()
{
setting... | agpl-3.0 | C# |
e616586214b3608bfce6f691c03e5ab120d41eee | fix EntityTabRepeaterProxy | AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/framework,MehdyKarimpour/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/framework | Signum.React.Extensions.Selenium/LineProxies/EntityTabRepeaterProxy.cs | Signum.React.Extensions.Selenium/LineProxies/EntityTabRepeaterProxy.cs | using System;
using OpenQA.Selenium;
using Signum.Entities;
namespace Signum.React.Selenium
{
public class EntityTabRepeaterProxy : EntityBaseProxy
{
public override PropertyRoute ItemRoute => base.ItemRoute.Add("Item");
public EntityTabRepeaterProxy(IWebElement element, PropertyRout... | using System;
using OpenQA.Selenium;
using Signum.Entities;
namespace Signum.React.Selenium
{
public class EntityTabRepeaterProxy : EntityBaseProxy
{
public override PropertyRoute ItemRoute => base.ItemRoute.Add("Item");
public EntityTabRepeaterProxy(IWebElement element, PropertyRout... | mit | C# |
59b32934e322660983322ceccf37dfc48da56a7f | Change Expires to DateTimeOffset | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Http.Abstractions/CookieOptions.cs | src/Microsoft.AspNet.Http.Abstractions/CookieOptions.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;
namespace Microsoft.AspNet.Http
{
/// <summary>
/// Options used to create a new cookie.
/// </summary>
public class Cook... | // 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;
namespace Microsoft.AspNet.Http
{
/// <summary>
/// Options used to create a new cookie.
/// </summary>
public class Cook... | apache-2.0 | C# |
7bc0d85be6ee55dfb33531dbdcc26eb702580359 | Fix XmlPoke to save document. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/IO/XmlTasks.cs | source/Nuke.Common/IO/XmlTasks.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using JetBrains.Annotations;
using Nuke.Core;
na... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using JetBrains.Annotations;
using Nuke.Core;
na... | mit | C# |
60b8b2aa40d847502a092d6170b4c561cfefda5f | fix sync prop | darkcrash/bjd5,darkcrash/bjd5,darkcrash/bjd5,darkcrash/bjd5,darkcrash/bjd5 | Bjd.WebServer/OneHeader.cs | Bjd.WebServer/OneHeader.cs | using System;
using System.Text;
namespace Bjd
{
public class OneHeader
{
private string _Key;
private string _KeyUpper;
private byte[] _Val;
private string _ValString;
public string Key
{
get { return _Key; }
set
{
... | using System;
using System.Text;
namespace Bjd
{
public class OneHeader
{
public string Key { get; set; }
public string KeyUpper { get; set; }
public byte[] Val { get; set; }
public string ValString { get; set; }
public OneHeader(string key, byte[] val)
{
... | apache-2.0 | C# |
f13f1cc5aa935a6b42c0ac0b9480c91a2c33c7cb | replace localhost in deploy unit url with full hostname when returning unit info | asimov-deploy/asimov-deploy-winagent,akselsson/asimov-deploy-winagent | src/AsimovDeploy.WinAgent/Framework/Models/Units/WindowsServiceDeployUnit.cs | src/AsimovDeploy.WinAgent/Framework/Models/Units/WindowsServiceDeployUnit.cs | /*******************************************************************************
* Copyright (C) 2012 eBay 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/lic... | /*******************************************************************************
* Copyright (C) 2012 eBay 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/lic... | apache-2.0 | C# |
d98ab4e173c60b21b8ae3f6a8aa547533205ac55 | Fix Rollup integration tests | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/XPack/RollUp/GetRollupCapabilities/GetRollupCapabilitiesResponse.cs | src/Nest/XPack/RollUp/GetRollupCapabilities/GetRollupCapabilitiesResponse.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Elasticsearch.Net;
using Utf8Json;
namespace Nest
{
public interface IGetRollupCapabilitiesResponse : IResponse
{
IReadOnlyDictionary<IndexName, RollupCapabilities> Indices { get; }
}
[JsonF... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Elasticsearch.Net;
using Utf8Json;
namespace Nest
{
public interface IGetRollupCapabilitiesResponse : IResponse
{
IReadOnlyDictionary<IndexName, RollupCapabilities> Indices { get; }
}
[JsonF... | apache-2.0 | C# |
80e4bc8325c8e7cb81ffff449e96b8b0b92d5dc4 | test 2 | greghoover/gluon,greghoover/gluon,greghoover/gluon | hbar/hbar.Contract/Credits.cs | hbar/hbar.Contract/Credits.cs | // Credits
// Solution Name
// https://www.theguardian.com/science/2013/nov/10/what-is-heisenbergs-uncertainty-principle
// Protocol Buffers
// https://johnkoerner.com/csharp/IPC-in-net-core-using-protobuf/
// https://github.com/johnkoerner/SimpleIPCDotNetCore/tree/master/Client
| // Credits
// Solution Name
// https://www.theguardian.com/science/2013/nov/10/what-is-heisenbergs-uncertainty-principle
// Protocol Buffers
// https://johnkoerner.com/csharp/IPC-in-net-core-using-protobuf/
// https://github.com/johnkoerner/SimpleIPCDotNetCore/tree/master/Client
| mit | C# |
5ed8f86f9eb34ff3939c9a22437255be1c96dbeb | Add custom routes for HomeController | sergeysolovev/webpack-aspnetcore,sergeysolovev/webpack-aspnetcore,sergeysolovev/webpack-aspnetcore | samples/WebApp/Controllers/HomeController.cs | samples/WebApp/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebApp.Models;
namespace WebApp.Controllers
{
[Route("Home")]
public class HomeController : Controller
{
[Route("Index")]
[Route(... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebApp.Models;
namespace WebApp.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
r... | mit | C# |
b5abf7f928260115405a679eddc599bd685a359d | Fix crash after discarding autosave file | hozuki/DereTore,hozuki/DereTore,OpenCGSS/DereTore,OpenCGSS/DereTore,OpenCGSS/DereTore,hozuki/DereTore | DereTore.Applications.StarlightDirector/UI/Controls/Pages/SummaryPage.xaml.cs | DereTore.Applications.StarlightDirector/UI/Controls/Pages/SummaryPage.xaml.cs | using System;
using System.Windows;
using DereTore.Applications.StarlightDirector.Extensions;
namespace DereTore.Applications.StarlightDirector.UI.Controls.Pages {
public partial class SummaryPage : IDirectorPage {
public SummaryPage() {
InitializeComponent();
Table = new Observab... | using System;
using System.Windows;
using DereTore.Applications.StarlightDirector.Extensions;
namespace DereTore.Applications.StarlightDirector.UI.Controls.Pages {
public partial class SummaryPage : IDirectorPage {
public SummaryPage() {
InitializeComponent();
Table = new Observab... | mit | C# |
63c1f125e6b36bf513cef2149b36eaff3ef619b3 | Update tests. | JetBrains/Nitra,JetBrains/Nitra,rsdn/nitra,rsdn/nitra | Tests/!Positive/Json-2.cs | Tests/!Positive/Json-2.cs | // REFERENCE: Json.Grammar.dll
using N2;
using N2.Tests;
using System;
using System.IO;
namespace Sample.Json.Cs
{
class Program
{
static void Main()
{
Test(@"{ : 1}");
Test(@"{ a }");
Test(@"{ a: }");
Test(@"{ a:, }");
Test(@"{ 'a':, a:1}");
Test(@... | // REFERENCE: Json.Grammar.dll
using N2;
using N2.Tests;
using System;
using System.IO;
namespace Sample.Json.Cs
{
class Program
{
static void Main()
{
Test(@"{ : 1}");
Test(@"{ a }");
Test(@"{ a: }");
Test(@"{ a:, }");
Test(@"{ 'a':, a:1}");
Test(@... | apache-2.0 | C# |
67cd9bbc13daedb7f1a8ffc73eaba61fb82e410a | Remove unneeded blob telemetry (#3405) | Microsoft/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent | src/Microsoft.VisualStudio.Services.Agent/Blob/BlobStoreClientTelemetryTfs.cs | src/Microsoft.VisualStudio.Services.Agent/Blob/BlobStoreClientTelemetryTfs.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Services.WebApi;
using Microsoft.VisualStudio.Services.Content.Common.Tracing;
using Microsoft.VisualStudio.Services.Content.Common.Telemetry;
using Mic... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Services.WebApi;
using Microsoft.VisualStudio.Services.Content.Common.Tracing;
using Microsoft.VisualStudio.Services.Content.Common.Telemetry;
using Microsoft.VisualStudio... | mit | C# |
18eb67b207ce2cabb5b9da1f54f2cb04bfeb9112 | Fix for bug #530177 add unsafe to GFU when appropriate. (changeset 1278874) | v-codeel/roslyn,basoundr/roslyn,Pvlerick/roslyn,TyOverby/roslyn,stephentoub/roslyn,lorcanmooney/roslyn,SeriaWei/roslyn,xoofx/roslyn,ErikSchierboom/roslyn,natgla/roslyn,YOTOV-LIMITED/roslyn,v-codeel/roslyn,VSadov/roslyn,eriawan/roslyn,Maxwe11/roslyn,AArnott/roslyn,CaptainHayashi/roslyn,kuhlenh/roslyn,supriyantomaftuh/ro... | Src/Workspaces/CSharp/Extensions/ITypeSymbolExtensions.cs | Src/Workspaces/CSharp/Extensions/ITypeSymbolExtensions.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.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Symbols;
usi... | // 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.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Symbols;
usi... | apache-2.0 | C# |
00835a4857f56d4a4f5bb6c59b31a3b354dac364 | use sys author template if empty | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/TemplateSelectors/AuthorLabelTemplateSelector.cs | TCC.Core/TemplateSelectors/AuthorLabelTemplateSelector.cs | using System.Windows;
using System.Windows.Controls;
using TCC.Data;
using TCC.Data.Chat;
namespace TCC.TemplateSelectors
{
public class AuthorLabelTemplateSelector : DataTemplateSelector
{
public DataTemplate DefaultAuthorTemplate { get; set; }
public DataTemplate SystemAuthorTemplate { get; ... | using System.Windows;
using System.Windows.Controls;
using TCC.Data;
using TCC.Data.Chat;
namespace TCC.TemplateSelectors
{
public class AuthorLabelTemplateSelector : DataTemplateSelector
{
public DataTemplate DefaultAuthorTemplate { get; set; }
public DataTemplate SystemAuthorTemplate { get; ... | mit | C# |
5a15346d18ec66cb1bb224a5e10a24bb5c0f5811 | Update SetupDataPedigreeEnum.cs | ADAPT/ADAPT | source/ADAPT/Common/SetupDataPedigreeEnum.cs | source/ADAPT/Common/SetupDataPedigreeEnum.cs | /*******************************************************************************
* Copyright (C) 2018 AgGateway and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... | /*******************************************************************************
* Copyright (C) 2018 AgGateway and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... | epl-1.0 | C# |
58535ae5fcdd77a02e77a8938a25abab595eeac7 | replace heading with viewbag.title | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Views/Home/About.cshtml | AstroPhotoGallery/AstroPhotoGallery/Views/Home/About.cshtml | @{
ViewBag.Title = "About";
}
<h2>@ViewBag.Title</h2>
<br />
<div class="panel panel-default">
<div class="panel-heading resume-heading">
<div class="row">
<div class="col-sm-12">
<div>
<div class="well well-sm text-center" style="font-size: 25px; word-w... | @{
ViewBag.Title = "About";
}
<h2>About</h2>
<br />
<div class="panel panel-default">
<div class="panel-heading resume-heading">
<div class="row">
<div class="col-sm-12">
<div>
<div class="well well-sm text-center" style="font-size: 25px; word-wrap: brea... | mit | C# |
098b530ab0f7e938e9908a36e4072fe6e2342250 | fix VersionExtensions.TryParse | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | unity/JetBrains.Rider.Unity.Editor/EditorPlugin/NonUnity/VersionExtensions.cs | unity/JetBrains.Rider.Unity.Editor/EditorPlugin/NonUnity/VersionExtensions.cs | using System;
namespace JetBrains.Rider.Unity.Editor.NonUnity
{
public static class VersionExtensions
{
public static bool TryParse(string input, out Version version)
{
try
{
if (!input.Contains("."))
input += ".0"; // new Version fails if case of single digit
... | using System;
namespace JetBrains.Rider.Unity.Editor.NonUnity
{
public static class VersionExtensions
{
public static bool TryParse(string input, out Version version)
{
try
{
version = new Version(input);
return true;
}
catch (ArgumentException)
{
} // c... | apache-2.0 | C# |
e7385f32347a98543589b31b2137785ab304c02c | Change event message | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet | LOGGING/src/ILogger/ApplicationInsightsLoggerEventSource.cs | LOGGING/src/ILogger/ApplicationInsightsLoggerEventSource.cs | // -----------------------------------------------------------------------
// <copyright file="ApplicationInsightsLoggerEventSource.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// All rights reserved. 2013
// </copyright>
// -----------------------------------------------------------------------
... | // -----------------------------------------------------------------------
// <copyright file="ApplicationInsightsLoggerEventSource.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// All rights reserved. 2013
// </copyright>
// -----------------------------------------------------------------------
... | mit | C# |
6cd4cf18cd8cf5818707c2411a40651f8058f312 | Throw helpful error for unknown ObjectType (#667) | nkdAgility/vsts-sync-migration | src/MigrationTools/Configuration/MigrationClientConfigJsonConverter.cs | src/MigrationTools/Configuration/MigrationClientConfigJsonConverter.cs | using System;
using System.Linq;
using CommandLine;
using Newtonsoft.Json.Linq;
namespace MigrationTools.Configuration
{
public class MigrationClientConfigJsonConverter : JsonCreationConverter<IMigrationClientConfig>
{
protected override IMigrationClientConfig Create(Type objectType, JObject jObject)
... | using System;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace MigrationTools.Configuration
{
public class MigrationClientConfigJsonConverter : JsonCreationConverter<IMigrationClientConfig>
{
protected override IMigrationClientConfig Create(Type objectType, JObject jObject)
{
... | mit | C# |
155e5ec7f4d9094b6f20db2be5c6658bf9a2a5ae | Change warning verbiage when transparent sync is on | PetersonDave/Unicorn,GuitarRich/Unicorn,bllue78/Unicorn,MacDennis76/Unicorn,kamsar/Unicorn,rmwatson5/Unicorn,rmwatson5/Unicorn,MacDennis76/Unicorn,PetersonDave/Unicorn,GuitarRich/Unicorn,bllue78/Unicorn,kamsar/Unicorn | src/Unicorn/UI/Pipelines/GetContentEditorWarnings/SerializedWarning.cs | src/Unicorn/UI/Pipelines/GetContentEditorWarnings/SerializedWarning.cs | using System.Linq;
using Rainbow.Model;
using Rainbow.Storage.Sc;
using Sitecore.Configuration;
using Sitecore.Data.Items;
using Sitecore.Pipelines.GetContentEditorWarnings;
using Unicorn.Configuration;
using Unicorn.Data.DataProvider;
using Unicorn.Predicates;
namespace Unicorn.UI.Pipelines.GetContentEditorWarnings
{... | using System.Linq;
using Rainbow.Model;
using Rainbow.Storage.Sc;
using Sitecore.Configuration;
using Sitecore.Data.Items;
using Sitecore.Pipelines.GetContentEditorWarnings;
using Unicorn.Configuration;
using Unicorn.Predicates;
namespace Unicorn.UI.Pipelines.GetContentEditorWarnings
{
/// <summary>
/// Pipeline tha... | mit | C# |
2c8c914835c9529221746a0919c137a9c33057e1 | Remove incorrect generic constraint | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.Domain/IHandleComputed.cs | src/Aggregates.NET.Domain/IHandleComputed.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
public interface IHandleComputed<TCompute, TResponse> where TCompute : IComputed<TResponse>
{
TResponse Handle(TCompute query);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
public interface IHandleComputed<TCompute, TResponse> where TResponse : struct where TCompute : IComputed<TResponse>
{
TResponse Handle(TCompute query);
}
}
| mit | C# |
448bdfbabd1e9673baa0e96ffded1f96bad9c07b | Remove unused function | sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge | src/LfMerge/LanguageForge/Model/LfLexicon.cs | src/LfMerge/LanguageForge/Model/LfLexicon.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Collections.Generic;
using LfMerge.LanguageForge.Config;
using MongoDB.Bson;
namespace LfMerge.LanguageForge.Model
{
public class LfLexicon
{
private ILfProjectConfig Confi... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Collections.Generic;
using LfMerge.LanguageForge.Config;
using MongoDB.Bson;
namespace LfMerge.LanguageForge.Model
{
public class LfLexicon
{
private ILfProjectConfig Confi... | mit | C# |
c522a52d690358615d91ba9003874b249154d9fb | remove using clamd from fs project | brandonprry/gray_hat_csharp_code | ch14_automating_clamav/testing/Main.cs | ch14_automating_clamav/testing/Main.cs | using System;
using clamsharp;
namespace testing
{
class MainClass
{
public static void Main (string[] args)
{
using (ClamEngine e = new ClamEngine())
{
foreach (string file in args)
{
ClamResult result = e.ScanFile(file); //pretty simple!
if (result != null && result.ReturnCode == ... | using System;
using clamsharp;
using clamdsharp;
namespace testing
{
class MainClass
{
public static void Main (string[] args)
{
using (ClamEngine e = new ClamEngine())
{
foreach (string file in args)
{
ClamResult result = e.ScanFile(file); //pretty simple!
if (result != null && res... | bsd-3-clause | C# |
723e0f1c3ba776b7e73108324214c6660ebc85f8 | Update assembly description | NRules/NRules | src/NRules/NRules/Properties/AssemblyInfo.cs | src/NRules/NRules/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyTitle("NRules")]
[assembly: AssemblyDescription("Rules engine for .NET")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AllowPartially... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyTitle("NRules")]
[assembly: AssemblyDescription("Business rules engine for .NET")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: Allow... | mit | C# |
bf023b4cc3cf437ce8b574e641f635947b3d50f0 | Bump version | Yuisbean/WebMConverter,nixxquality/WebMConverter,o11c/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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("We... | mit | C# |
65a443d1103b50ecdf6c13ed556f1a762ce66741 | Update AssemblyInfo.cs | StevenThuriot/Horizon-Project | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Horizon")]
[assembly: AssemblyDescription(".NET Fast Very Late Binding invoker")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Steven Thuriot.be")]
[assembly: AssemblyProduct("Horizon")]
[assembly: AssemblyCop... | #region License
//
// Copyright 2015 Steven Thuriot
//
// 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 ap... | mit | C# |
066b8683a514f60b709415847df3fcea920840fa | Change assembly info to a non-varying version | couchbasedeps/dotnet-tpl35 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | //
// AssemblyInfo.cs
//
// Author:
// Jim Borden <jim.borden@couchbase.com>
//
// Copyright (c) 2015 Couchbase, Inc All rights reserved.
//
// 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 Li... | //
// AssemblyInfo.cs
//
// Author:
// Jim Borden <jim.borden@couchbase.com>
//
// Copyright (c) 2015 Couchbase, Inc All rights reserved.
//
// 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 Li... | mit | C# |
ec480df49b1d7492051e9231f041438061ceb4c9 | Increase version | smiley22/SlimDX.D3D11Control,qwert9001/SlimDX.D3D11Control | Properties/AssemblyInfo.cs | 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("Sl... | 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("Sl... | mit | C# |
b50ac9fa04b6626aeeafc7d71027774896629fd5 | Bump version to correspond to ASE | transistor1/SQLFormatterPlugin | Properties/AssemblyInfo.cs | 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("SQ... | 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("SQ... | bsd-3-clause | C# |
14d30a1d630edc971238697d62d07bdb176ecb6c | Update version to 1.2.10 | anonymousthing/ListenMoeClient | Properties/AssemblyInfo.cs | 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("Li... | 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("Li... | mit | C# |
a53c64cf9fee28d7903fed1a6dd3865b629707cb | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | jango2015/Autofac.Extras.DynamicProxy,autofac/Autofac.Extras.DynamicProxy | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DynamicProxy2")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DynamicProxy2")]
[assembly: AssemblyDescription("")]
| mit | C# |
512094c17bd2511b3c06de55ac4c7b3a51e83ee7 | Update tests | ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | // 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | mit | C# |
fdf5a6df698ef44b9172a886c982afbe45993c6f | Fix compile error | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | NakedLegacy/NakedLegacy.Reflector/Component/Container.cs | NakedLegacy/NakedLegacy.Reflector/Component/Container.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Resources;
using NakedFramework.Architecture.Adapter;
using NakedFramework.Architecture.Framework;
using NakedFramework.Architecture.Spec;
using NakedFramework.C... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Resources;
using NakedFramework.Architecture.Adapter;
using NakedFramework.Architecture.Framework;
using NakedFramework.Architecture.Spec;
using NakedFramework.C... | apache-2.0 | C# |
b1641037a244b76fecd22c774a0f368daf4d1292 | Fix typo in unit test assertion | shaynevanasperen/Magneto,shaynevanasperen/Data.Operations | samples/Samples.Tests/Controllers/UsersControllerTests/UsersControllerTests.cs | samples/Samples.Tests/Controllers/UsersControllerTests/UsersControllerTests.cs | using System.Threading.Tasks;
using FluentAssertions;
using Magneto;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Samples.Controllers;
using Samples.Domain;
using Samples.Models;
namespace Samples.Tests.Controllers.UsersControllerTests
{
public class GettingIndex : ScenarioFor<UsersController>... | using System.Threading.Tasks;
using FluentAssertions;
using Magneto;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Samples.Controllers;
using Samples.Domain;
using Samples.Models;
namespace Samples.Tests.Controllers.UsersControllerTests
{
public class GettingIndex : ScenarioFor<UsersController>... | mit | C# |
40133ea1fd9cd2924ac9b51891d2a1c5a823dea3 | add terminator to test | neutmute/loggly-csharp | source/Loggly.Tests/Loggly/Transports/SyslogTransports/SyslogMessageFixture.cs | source/Loggly.Tests/Loggly/Transports/SyslogTransports/SyslogMessageFixture.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Loggly.Transports.Syslog;
using Moq;
using NUnit.Framework;
namespace Loggly.Tests.Loggly.Transports.SyslogTransports
{
public class SyslogMessageFixture : Fixture
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Loggly.Transports.Syslog;
using Moq;
using NUnit.Framework;
namespace Loggly.Tests.Loggly.Transports.SyslogTransports
{
public class SyslogMessageFixture : Fixture
{
/// <summary>
... | mit | C# |
2ddd484332d70373e8d2c874b57211ad8e9691e2 | Delete some duplicated code from a mis-merge | jeffanders/roslyn,paulvanbrenk/roslyn,dotnet/roslyn,bartdesmet/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,stephentoub/roslyn,vslsnap/roslyn,amcasey/roslyn,bkoelman/roslyn,wvdd007/roslyn,eriawan/roslyn,tmat/roslyn,jkotas/roslyn,mmitche/roslyn,tmat/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,vslsnap/rosly... | src/Features/Core/Portable/Completion/CompletionOptions.cs | src/Features/Core/Portable/Completion/CompletionOptions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Completion
{
internal static class CompletionOp... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Completion
{
internal static class CompletionOp... | mit | C# |
49d1f5746f22b1d08cf5e5c6d7a102d894a3d73a | disable register integration test | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.IntegrationTests/Scenarios/RegisterScenario.cs | src/JoinRpg.IntegrationTests/Scenarios/RegisterScenario.cs | using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using HtmlAgilityPack;
using JoinRpg.IntegrationTests.TestInfrastructure;
using Shouldly;
using Xunit;
namespace JoinRpg.IntegrationTests.Scenarios
{
public class RegisterScenario : IClassFixture<JoinApplicatio... | using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using HtmlAgilityPack;
using JoinRpg.IntegrationTests.TestInfrastructure;
using Shouldly;
using Xunit;
namespace JoinRpg.IntegrationTests.Scenarios
{
public class RegisterScenario : IClassFixture<JoinApplicatio... | mit | C# |
e55e3cb13227bef360cc245913c8f54215cbb5bb | Fix issue in delete-transaction-device-action | haefele/YnabApi,haefele/Ynab | src/YnabApi/DeviceActions/DeleteTransactionDeviceAction.cs | src/YnabApi/DeviceActions/DeleteTransactionDeviceAction.cs | using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using YnabApi.Items;
namespace YnabApi.DeviceActions
{
public class DeleteTransactionDeviceAction : IDeviceAction
{
public Transaction Transaction { get; set; }
public IEnumerable<JObject> ToJsonForYdiff(string deviceId, KnowledgeG... | using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using YnabApi.Items;
namespace YnabApi.DeviceActions
{
public class DeleteTransactionDeviceAction : IDeviceAction
{
public Transaction Transaction { get; set; }
public IEnumerable<JObject> ToJsonForYdiff(string deviceId, KnowledgeG... | mit | C# |
1ecb1d122a55500204eaea01d2321a1a9c71c707 | Fix up TestSceneMultiplayer | peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayer.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.OnlinePlay.Components;
namespace osu.Game.Tests.Visual.Multiplayer
{
public... | // 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 NUnit.Framework;
using osu.Game.Screens.OnlinePlay.Components;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Multiplayer
{
public class TestSceneMultip... | mit | C# |
6a5300d6e393445ea0e85fb7d3573b41286d03c7 | fix lsobjectives (#12365) | 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.Server/Objectives/Commands/ListObjectivesCommand.cs | Content.Server/Objectives/Commands/ListObjectivesCommand.cs | using System.Linq;
using Content.Server.Administration;
using Content.Server.Players;
using Content.Shared.Administration;
using Robust.Server.Player;
using Robust.Shared.Console;
namespace Content.Server.Objectives.Commands
{
[AdminCommand(AdminFlags.Logs)]
public sealed class ListObjectivesCommand : IConsole... | using System.Linq;
using Content.Server.Administration;
using Content.Server.Players;
using Content.Shared.Administration;
using Robust.Server.Player;
using Robust.Shared.Console;
namespace Content.Server.Objectives.Commands
{
[AdminCommand(AdminFlags.Admin)]
public sealed class ListObjectivesCommand : IConsol... | mit | C# |
6754f32b3b9eff1acf83ff66f9046508a07e7010 | Add WidgetNamespace to EditorInterfaceControl | contentful/contentful.net | Contentful.Core/Models/Management/EditorInterfaceControl.cs | Contentful.Core/Models/Management/EditorInterfaceControl.cs | using Contentful.Core.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Represents how a specific field of a <see cref="ContentType"/> should be represented visually.
/// </summary>
[... | using Contentful.Core.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Represents how a specific field of a <see cref="ContentType"/> should be represented visually.
/// </summary>
[... | mit | C# |
49c6e4ec49d51aec0c6db42637521224086b7049 | Update ExerciseViewModel | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | DotvvmAcademy/DotvvmAcademy/ViewModels/ExerciseViewModel.cs | DotvvmAcademy/DotvvmAcademy/ViewModels/ExerciseViewModel.cs | using DotVVM.Framework.ViewModel;
using DotvvmAcademy.BL.Dtos;
using DotvvmAcademy.BL.Facades;
using DotvvmAcademy.Controls;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotvvmAcademy.ViewModels
{
public class ExerciseViewModel : DotvvmViewModelBase
{
pr... | using DotVVM.Framework.ViewModel;
using DotvvmAcademy.BL.Dtos;
using DotvvmAcademy.BL.Facades;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotvvmAcademy.ViewModels
{
public class ExerciseViewModel : DotvvmViewModelBase
{
private SampleFacade sampleFacad... | apache-2.0 | C# |
f20901e0870dae0f9119c0bc76e6630fae7dec6a | Change some variables. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex.Domain.Apps.Entities/Apps/RequestLog.cs | backend/src/Squidex.Domain.Apps.Entities/Apps/RequestLog.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
6a9580bd8e1167fd8ec97514d288a290c720d2ae | Return identity name | obsoleted/fnapp,obsoleted/fnapp | CSharpHttpTrigger/run.csx | CSharpHttpTrigger/run.csx | using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Security;
using System.Security.Claims;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage httpTrigger, string id, bool? activearg, TraceWriter log, CancellationToken cancellationToken)
{
... | using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Security;
using System.Security.Claims;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage httpTrigger, string id, bool? activearg, TraceWriter log, CancellationToken cancellationToken)
{
... | mit | C# |
cce7026b7fcec94fd37bd7d8b781abdc4ffc423d | Use TestID for N5 test description lookup | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Base/Noark5/Noark5BaseTest.cs | src/Arkivverket.Arkade.Core/Base/Noark5/Noark5BaseTest.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Arkivverket.Arkade.Core.Resources;
using Arkivverket.Arkade.Core.Testing;
using Arkivverket.Arkade.Core.Util;
using Serilog;
namespace Arkivverket.Arkade.Core.Base.Noark5
{
public abstract class Noark5BaseTest : IArkadeTest
... | using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Arkivverket.Arkade.Core.Resources;
using Arkivverket.Arkade.Core.Testing;
using Arkivverket.Arkade.Core.Util;
using Serilog;
namespace Arkivverket.Arkade.Core.Base.Noark5
{
public abstract class Noark5BaseTest : IArkadeTest
... | agpl-3.0 | C# |
1d3ea6acd25f18b384a85a76dba28a9fd992b2be | Improve readability of console. | andest01/trout-dash_backend,standersnerdery/trout-dash_backend,standersnerdery/trout-dash_backend,andest01/trout-dash_backend,standersnerdery/trout-dash_backend,standersnerdery/trout-dash_backend,andest01/trout-dash_backend,andest01/trout-dash_backend | TroutStreamMangler/TroutDash.DatabaseImporter.Convention/ExecuteShellCommand.cs | TroutStreamMangler/TroutDash.DatabaseImporter.Convention/ExecuteShellCommand.cs | using System;
using System.Diagnostics;
using System.IO;
namespace TroutDash.DatabaseImporter.Convention
{
public static class ExecuteShellCommand
{
public static void ExecuteProcess(string command, DirectoryInfo defaultDirectory = null)
{
var process = new Process();
... | using System;
using System.Diagnostics;
using System.IO;
namespace TroutDash.DatabaseImporter.Convention
{
public static class ExecuteShellCommand
{
public static void ExecuteProcess(string command)
{
var process = new Process();
var startInfo = new ProcessStartInfo
... | mit | C# |
ebc905e89ac43293becf280e335daf48047afc12 | fix test | zmira/abremir.AllMyBricks | abremir.AllMyBricks.Onboarding.Tests/Services/OnboardingServiceTests.cs | abremir.AllMyBricks.Onboarding.Tests/Services/OnboardingServiceTests.cs | using abremir.AllMyBricks.Core.Models;
using abremir.AllMyBricks.Onboarding.Configuration;
using abremir.AllMyBricks.Onboarding.Interfaces;
using abremir.AllMyBricks.Onboarding.Services;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace abremir.AllMyBricks.Onboarding.... | using abremir.AllMyBricks.Core.Models;
using abremir.AllMyBricks.Onboarding.Configuration;
using abremir.AllMyBricks.Onboarding.Interfaces;
using abremir.AllMyBricks.Onboarding.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace abremir.AllMyBricks.Onboarding.Tests.Services
{
[Te... | mit | C# |
5e9335c3356d051a2ac8c47c2a24dd4ec7a25eac | Document new method on IServiceContainer | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/Host/IServiceContainer.cs | src/Takenet.MessagingHub.Client/Host/IServiceContainer.cs | using System;
namespace Takenet.MessagingHub.Client.Host
{
/// <summary>
/// Defines a service container that allows the registration of service type instances.
/// </summary>
/// <seealso cref="System.IServiceProvider" />
public interface IServiceContainer : IServiceProvider
{
/// <su... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Takenet.MessagingHub.Client.Host
{
/// <summary>
/// Defines a service container that allows the registration of service type instances.
/// </summary>
/// <seealso cref="Syste... | apache-2.0 | C# |
14ad8d4fa34904cc61390717291cc47cece0f51d | Change ColoreException constructor access to internal. | CoraleStudios/Colore,danpierce1/Colore,Sharparam/Colore,WolfspiritM/Colore | Colore/ColoreException.cs | Colore/ColoreException.cs | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software... | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software... | mit | C# |
5fcd4e5b1f8e690a986a463a9d80056ad51b7642 | Update to remove WhistInfo constructor call | ashfordl/cards | ConsoleTesting/Program.cs | ConsoleTesting/Program.cs | // Program.cs
// <copyright file="Program.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using CardsLibrary;
namespace ConsoleTesting
{
/// <summary>
/// The main program (for testing at the moment).
/// </summary>
public class Program
... | // Program.cs
// <copyright file="Program.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using CardsLibrary;
namespace ConsoleTesting
{
/// <summary>
/// The main program (for testing at the moment).
/// </summary>
public clas... | mit | C# |
4e898dcae438acf992922e5b0774b64b3f46a5cd | Update App.xaml.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | Test/App.xaml.cs | Test/App.xaml.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Windows;
using System.Data;
using System.Xml;
using System.Configuration;
namespace Test
{
public partial class App : Application
... | using System;
using System.Windows;
using System.Data;
using System.Xml;
using System.Configuration;
namespace Test
{
public partial class App : Application
{
}
}
| mit | C# |
3c3e05b6f4e5fb87c476cd673e45ac5891684b01 | fix Rider does not recognize the UnityEditor.iOS.Xcode namespace #15 - automatic add references to iOSSupport | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | Assets/Plugins/Editor/Rider/RiderAssetPostprocessor.cs | Assets/Plugins/Editor/Rider/RiderAssetPostprocessor.cs | using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using UnityEditor;
namespace Assets.Plugins.Editor.Rider
{
public class RiderAssetPostprocessor : AssetPostprocessor
{
public static void OnGeneratedCSProjectFiles()
{
if (!RiderPlugin.Enabled)
return;
var currentD... | using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using UnityEditor;
namespace Assets.Plugins.Editor.Rider
{
public class RiderAssetPostprocessor : AssetPostprocessor
{
public static void OnGeneratedCSProjectFiles()
{
if (!RiderPlugin.Enabled)
return;
var currentD... | apache-2.0 | C# |
37ef12b416596b6800d3aaa5d9e70f0e59deb46e | Call reset before calculating leaderboard | TheEadie/PlayerRank,TheEadie/PlayerRank | PlayerRank/League.cs | PlayerRank/League.cs | using System.Collections.Generic;
using System.Linq;
using PlayerRank.Scoring;
namespace PlayerRank
{
public class League
{
private readonly List<Game> m_Games = new List<Game>();
public IEnumerable<PlayerScore> GetLeaderBoard(IScoringStrategy scoringStrategy)
{
scoringSt... | using System.Collections.Generic;
using System.Linq;
using PlayerRank.Scoring;
namespace PlayerRank
{
public class League
{
private readonly List<Game> m_Games = new List<Game>();
public IEnumerable<PlayerScore> GetLeaderBoard(IScoringStrategy scoringStrategy)
{
IList<Pla... | mit | C# |
8197a9b0dba381fd952af163ad2718e160542d6a | Fix position of usable object trigger | duaiwe/ld36 | src/Assets/GameObjects/UsableObjComponent/UsableObjectCS.cs | src/Assets/GameObjects/UsableObjComponent/UsableObjectCS.cs | using UnityEngine;
using System.Collections;
/**
* Using this component:
*
* 1. Implement the UsableObject interface (Assets/CommonScripts/UsableObject) on a script component of your game object.
* 2. Add the UsableObjectTpl Prefab as a child of your game object.
* 3. Adjust Position of Transform, Radius/Offset... | using UnityEngine;
using System.Collections;
/**
* Using this component:
*
* 1. Implement the UsableObject interface (Assets/CommonScripts/UsableObject) on a script component of your game object.
* 2. Add the UsableObjectTpl Prefab as a child of your game object.
* 3. Adjust Position of Transform, Radius/Offset... | mit | C# |
7fcfd49c403f23604c2ac8a7b1c9ee2ac4474bbe | Make the tests pertaining to an empty sources collection pass. | SeanFarrow/NBench.VisualStudio | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
public class NBenchTestDiscoverer : ITestDiscoverer
{
public void Di... | apache-2.0 | C# |
c2fe209ab4ba67a6f07ec6a0af1da4c64c1b0416 | Make the tests pertaining to the test case discovery sink being null pass. | SeanFarrow/NBench.VisualStudio | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | apache-2.0 | C# |
2c922bebe7cae2c1a32423d97b191687505dbe4c | move event handler into method per SMAPI best practices | Pathoschild/StardewMods | SkipIntro/SkipIntroMod.cs | SkipIntro/SkipIntroMod.cs | using System;
using System.Reflection;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley.Menus;
namespace Pathoschild.Stardew.SkipIntro
{
/// <summary>The mod entry point.</summary>
public class SkipIntroMod : Mod
{
/*********
** Public methods
*********/... | using System;
using System.Reflection;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley.Menus;
namespace Pathoschild.Stardew.SkipIntro
{
/// <summary>The mod entry point.</summary>
public class SkipIntroMod : Mod
{
/*********
** Public methods
*********/... | mit | C# |
29171b65311a88fc373c600aa7745e2ec19ab67b | Fix "Parts_Video" shape display | rtpHarry/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,ehe888/Orchard,Codinlab/Orchard,TalaveraTechnologySolutions/Orchard,dcinzona/Orchard-Harvest-Website,bigfont/orchard-cms-modules-and-themes,Cphusion/Orchard,grapto/Orchard.CloudBust,grapto/Orchard.CloudBust,salarvand/orchard,jersiovic/Orchard,asabbott/chica... | src/Orchard.Web/Modules/Orchard.MediaLibrary/Drivers/VideoPartDriver.cs | src/Orchard.Web/Modules/Orchard.MediaLibrary/Drivers/VideoPartDriver.cs | using Orchard.ContentManagement.Drivers;
using Orchard.MediaLibrary.Models;
namespace Orchard.MediaLibrary.Drivers {
public class VideoPartDriver : ContentPartDriver<VideoPart> {
protected override DriverResult Display(VideoPart part, string displayType, dynamic shapeHelper) {
return Com... | using Orchard.ContentManagement.Drivers;
using Orchard.MediaLibrary.Models;
namespace Orchard.MediaLibrary.Drivers {
public class VideoPartDriver : ContentPartDriver<VideoPart> {
protected override DriverResult Display(VideoPart part, string displayType, dynamic shapeHelper) {
return Com... | bsd-3-clause | C# |
36f1ec93ec82065b1c457bec49eae3dcb2327cc9 | Add some more tests for PropertyBuilder.Name | lggomez/corefx,alphonsekurian/corefx,zhenlan/corefx,ericstj/corefx,axelheer/corefx,marksmeltzer/corefx,krytarowski/corefx,jlin177/corefx,lggomez/corefx,alexperovich/corefx,marksmeltzer/corefx,wtgodbe/corefx,parjong/corefx,rjxby/corefx,stone-li/corefx,dotnet-bot/corefx,rubo/corefx,stephenmichaelf/corefx,alphonsekurian/c... | src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderName.cs | src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderName.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.Collections.Generic;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class PropertyBu... | // 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.Collections.Generic;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class PropertyBu... | mit | C# |
fbb84dcd10f96057a43258d73a1865d33cd66d57 | Update XML comment of FindAs | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata | src/Atata/ScopeSearch/FindAs.cs | src/Atata/ScopeSearch/FindAs.cs | namespace Atata
{
/// <summary>
/// Specifies the way <see cref="FindAttribute"/> should be used.
/// </summary>
public enum FindAs
{
/// <summary>
/// Use the attribute as a scope element locator.
/// </summary>
Scope,
/// <summary>
/// Use the attr... | namespace Atata
{
/// <summary>
/// Specifies the way <see cref="FindAttribute"/> should be used.
/// </summary>
public enum FindAs
{
/// <summary>
/// Use the attribute as a scope element locator.
/// </summary>
Scope,
/// <summary>
/// Use the attr... | apache-2.0 | C# |
018e554c19635d44f67f28bba4365a92d21d2fa9 | Fix test failure on CI | jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke | src/DwmApi.Tests/DwmApiFacts.cs | src/DwmApi.Tests/DwmApiFacts.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using PInvoke;
using Xunit;
using static PInvoke.DwmApi;
public class DwmApiFac... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using PInvoke;
using Xunit;
using static PInvoke.DwmApi;
public class DwmApiFac... | mit | C# |
9b83efa7be6272ef381607a36ae7aa5e0d95c564 | Remove unused preprocessor statements | mysticfall/Alensia | Assets/Alensia/Demo/MainMenuHandler.cs | Assets/Alensia/Demo/MainMenuHandler.cs | using System;
using System.Linq;
using Alensia.Core.Control;
using Alensia.Core.Game;
using Alensia.Core.I18n;
using Alensia.Core.UI;
using UniRx;
using UnityEngine;
using Zenject;
namespace Alensia.Demo
{
public class MainMenuHandler : UIHandler
{
[Inject, NonSerialized] public IGame Game;
[I... | using System;
using System.Linq;
using Alensia.Core.Control;
using Alensia.Core.Game;
using Alensia.Core.I18n;
using Alensia.Core.UI;
using UniRx;
using UnityEngine;
using Zenject;
#if UNITY_EDITOR
#endif
namespace Alensia.Demo
{
public class MainMenuHandler : UIHandler
{
[Inject, NonSerialized] publ... | apache-2.0 | C# |
601d1387fa3e2e3ab69587674b8cf9d0c0a2bdef | Make generate Excel action a button | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/Report/ViewReport.cshtml | CRP.Mvc/Views/Report/ViewReport.cshtml | @model CRP.Controllers.ViewModels.ReportViewModel
@{
ViewBag.Title = "ViewReport";
}
<div class="boundary">
<p>
@Html.ActionLink("Generate Excel Report", "CreateExcelReport", "Excel", new { id = Model.ItemReportId, itemId = Model.ItemId }, new { @class = "btn" })
</p>
<p>@Html.Actio... | @model CRP.Controllers.ViewModels.ReportViewModel
@{
ViewBag.Title = "ViewReport";
}
<div class="boundary">
<p>
@Html.ActionLink("Back to Item", "Details", "ItemManagement", null, null, "Reports", new { id = Model.ItemId }, null) |
@Html.ActionLink("Generate Excel Report", "CreateExc... | mit | C# |
60a6c0b1cab1f43f217863eb905bb12f0ccd4156 | Make sure IsWindows does not equal to IsMacOsX or IsLinux | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core.Tests/Platform.cs | source/Htc.Vita.Core.Tests/Platform.cs | using System;
using Xunit;
namespace Htc.Vita.Core.Tests
{
public static class Platform
{
[Fact]
public static void Default_0_GetMachineId()
{
if (!Runtime.Platform.IsWindows)
{
return;
}
var machineId = Runtime.Platform.G... | using System;
using Xunit;
namespace Htc.Vita.Core.Tests
{
public static class Platform
{
[Fact]
public static void Default_0_GetMachineId()
{
if (!Runtime.Platform.IsWindows)
{
return;
}
var machineId = Runtime.Platform.G... | mit | C# |
f55a441e62e357c13d7ca2b6226ff5fe827a15e0 | update ModelManager.cs | xianrendzw/CodeBuilder | CodeBuilder.WinForm/UI/ModelManager.cs | CodeBuilder.WinForm/UI/ModelManager.cs | using System.Collections.Generic;
using System.Linq;
namespace CodeBuilder.WinForm.UI
{
using PhysicalDataModel;
public class ModelManager
{
private static Dictionary<string, Model> models = new Dictionary<string, Model>(5);
public static void Add(string key, Model model)
{
... | using System.Collections.Generic;
using System.Linq;
namespace CodeBuilder.WinForm.UI
{
using PhysicalDataModel;
public class ModelManager
{
private static Dictionary<string, Model> models = new Dictionary<string, Model>(5);
public static void Add(string key, Model model)
{
... | mit | C# |
66f61c345919988d8e7af34ad1fabc9ae3060737 | Support grouping project templates | mrward/monodevelop-template-creator-addin,mrward/monodevelop-template-creator-addin | src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/CustomSolutionTemplate.cs | src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/CustomSolutionTemplate.cs | //
// CustomSolutionTemplate.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in t... | //
// CustomSolutionTemplate.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in t... | mit | C# |
aff64a429e88895ba34ea44d5b08edb22e2b0125 | Test non-digit case in CreditCardAttribute. | congysu/WebApi,abkmr/WebApi,LianwMS/WebApi,scz2011/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,chimpinano/WebApi,abkmr/WebApi,congysu/WebApi,LianwMS/WebApi,chimpinano/WebApi,lungisam/WebApi,scz2011/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi | test/Microsoft.Web.Mvc.Test/Test/CreditCardAttributeTest.cs | test/Microsoft.Web.Mvc.Test/Test/CreditCardAttributeTest.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Linq;
using System.Web.Mvc;
using Microsoft.TestCommon;
using Moq;
namespace Microsoft.Web.Mvc.Test
{
public class CreditCardAttributeTest
{
[Fact]
... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Linq;
using System.Web.Mvc;
using Microsoft.TestCommon;
using Moq;
namespace Microsoft.Web.Mvc.Test
{
public class CreditCardAttributeTest
{
[Fact]
... | mit | C# |
7d2bfacf57cff77a40fde484fd46d0765b72306b | Update StubBehavior.cs | XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | tests/Avalonia.Xaml.Interactivity.UnitTests/StubBehavior.cs | tests/Avalonia.Xaml.Interactivity.UnitTests/StubBehavior.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Collections.Generic;
namespace Avalonia.Xaml.Interactivity.UnitTests
{
public class StubBehavior : AvaloniaObject, IBehavior
{
pu... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Xaml.Interactivity.UnitTests
{
public class StubBehavior : AvaloniaObject, IBehavior
{
public int AttachCount
{
... | mit | C# |
0f7826066681671caf0e9fa0c7deaec81a4a7fb1 | Rephrase the Operator parser in anticipation of the type of the `peek` variable changing away from string to ReadOnlySpan<char>, to minimize the lines of code that will need further attention when that type change takes place. | plioi/parsley | src/Parsley/Grammar.Operator.cs | src/Parsley/Grammar.Operator.cs | namespace Parsley;
partial class Grammar
{
public static Parser<string> Operator(string symbol)
{
return input =>
{
var peek = input.Peek(symbol.Length);
if (peek == symbol)
{
input.Advance(symbol.Length);
return new Parsed<s... | namespace Parsley;
partial class Grammar
{
public static Parser<string> Operator(string symbol)
{
return input =>
{
var peek = input.Peek(symbol.Length);
if (peek == symbol)
{
input.Advance(peek.Length);
return new Parsed<str... | mit | C# |
fbe32ab860697a3bf7d200fd13e7a506d599d098 | Add CurrentSynchronizationContextDispatcher | masteryee/protoactor-dotnet,raskolnikoov/protoactor-dotnet,masteryee/protoactor-dotnet,raskolnikoov/protoactor-dotnet,AsynkronIT/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,tomliversidge/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,tomliversidge/protoactor-dotnet | src/Proto.Mailbox/Dispatcher.cs | src/Proto.Mailbox/Dispatcher.cs | // -----------------------------------------------------------------------
// <copyright file="Dispatcher.cs" company="Asynkron HB">
// Copyright (C) 2015-2017 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using S... | // -----------------------------------------------------------------------
// <copyright file="Dispatcher.cs" company="Asynkron HB">
// Copyright (C) 2015-2017 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using S... | apache-2.0 | C# |
54800aa4dfb932bb751366f967251f5b07423a30 | make the variable local | smoogipoo/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,pep... | osu.Game.Tests/Visual/Online/TestSceneGamemodeControl.cs | osu.Game.Tests/Visual/Online/TestSceneGamemodeControl.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.MathUtils;
using osu.Game.Overlays.Profile.Header.Components;
using osuTK.Graphics;
using System;
using System.Collecti... | // 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.MathUtils;
using osu.Game.Overlays.Profile.Header.Components;
using osuTK.Graphics;
using System;
using System.Collecti... | mit | C# |
fdcc29e4f842164401d6b51b9cc3198ec6fc8424 | Bump assembly version to 3.5.0 | hudl/HudlFfmpeg | Hudl.Ffmpeg/Properties/AssemblyInfo.cs | Hudl.Ffmpeg/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("Hu... | 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("Hu... | apache-2.0 | C# |
523867d306bacfc81017d439fe0747789b577eaf | Fix polly mesage handler | glennc/Kickr | src/Kickr.Polly/PollyMessageHandler.cs | src/Kickr.Polly/PollyMessageHandler.cs | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace Kickr.Polly
{
internal class PollyMessageHandler : DelegatingHandler
{
private readonly IOptionsMonitor<PollyOptions>... | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace Kickr.Polly
{
internal class PollyMessageHandler : DelegatingHandler
{
private readonly IOptionsMonitor<PollyOptions>... | apache-2.0 | C# |
167677660ce9bcd8fdca83b06b80e45a86990d53 | Remove no longer valid comment | RogerKratz/mbcache | MbCache/Configuration/IProxyFactory.cs | MbCache/Configuration/IProxyFactory.cs | using MbCache.Logic;
namespace MbCache.Configuration
{
/// <summary>
/// Creates the proxy.
/// </summary>
public interface IProxyFactory
{
/// <summary>
/// Called once after this object is instansiated.
/// </summary>
void Initialize(CacheAdapter cache);
/// <summary>
/// Creates the... | using MbCache.Logic;
namespace MbCache.Configuration
{
/// <summary>
/// Creates the proxy.
/// The implementation of this interface needs a default ctor
/// </summary>
public interface IProxyFactory
{
/// <summary>
/// Called once after this object is instansiated.
/// </summary>
void Init... | mit | C# |
2e0dfbfd871f4ba895a3c24935d3e550faf195d0 | Make /Message/Details/<ID> associable for people who are not logged on. | soltys/Messim,soltys/Messim | Messim.UI/Views/Message/Details.cshtml | Messim.UI/Views/Message/Details.cshtml | @using Messim.UI.Models
@{
var DisplayMessages = ViewData["DisplayMessages"] as IEnumerable<Message>;
var Model = ViewData["Message"] as Message;
ViewBag.Title = "Wiadomość " + @Model.ID;
}
<h2>Wiadomość</h2>
<div class="span12">
<p>@Model.Sender.Username napisał: @Model.Text</p>
<img ... | @using Messim.UI.Models
@{
var DisplayMessages = ViewData["DisplayMessages"] as IEnumerable<Message>;
var Model = ViewData["Message"] as Message;
ViewBag.Title = "Wiadomość " + @Model.ID;
}
<h2>Wiadomość</h2>
<div class="span12">
<p>@Model.Sender.Username napisał: @Model.Text</p>
<img src="@Mo... | mit | C# |
b193f685fba5c86ffaf1edc45fb89b24710e1a6e | Rename variable. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
pr... | using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
pr... | mit | C# |
d13cb0c3a82b0482358928bfe44603902b6c622b | Implement deletion of CountToNumber messages with a wrong number. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
pr... | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
private readonly DbSe... | mit | C# |
c226cfc9cc94b29d86b18a65feec7a228f2e7925 | Update particle extensions. | drawcode/game-lib-engine | Engine/Extensions/ParticleSystemExtentions.cs | Engine/Extensions/ParticleSystemExtentions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public static class ParticleSystemExtension {
public static void EnableEmission(this ParticleSystem particleSystem, bool enabled) {
var emission = particleSystem.emission;
emission.enabled = e... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public static class ParticleSystemExtension {
public static void EnableEmission(this ParticleSystem particleSystem, bool enabled) {
var emission = particleSystem.emission;
emission.enabled = e... | mit | C# |
0405124ce12bba22071cf2b16718511a2b7c0bf0 | add kill arg | abanu-desktop/abanu | src/panel/Program.cs | src/panel/Program.cs | using System;
using Gtk;
using System.Diagnostics;
using abanu.core;
namespace abanu.panel
{
class MainClass
{
public static void Main(string[] args)
{
Application.Init();
//var dwin = new DesktopWindow();
//dwin.Show();
/*GLib.ExceptionManager.UnhandledException += (e) => {
e.ExitApplicati... | using System;
using Gtk;
using abanu.core;
namespace abanu.panel
{
class MainClass
{
public static void Main(string[] args)
{
Application.Init();
//var dwin = new DesktopWindow();
//dwin.Show();
/*GLib.ExceptionManager.UnhandledException += (e) => {
e.ExitApplication = false;
CoreLib.Lo... | mit | C# |
5663c1f3891ea51ccb656028f2b8111bed7413fe | Fix build warning (#882) | Microsoft/clrmd,cshung/clrmd,Microsoft/clrmd,cshung/clrmd | src/Microsoft.Diagnostics.Runtime/src/DataReaders/Registers/VectorRegisterArea.cs | src/Microsoft.Diagnostics.Runtime/src/DataReaders/Registers/VectorRegisterArea.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.InteropServices;
namespace Microsoft.Diagnostics.Runtime
{
[StructLayout(La... | // 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.Runtime.InteropServices;
namespace Microsoft.Diagnostics.Runtime
{
[StructLayout(LayoutKind.Expli... | mit | C# |
324f8dd55ce9fab0efa3b32960c155cc6f3deda2 | Disable test parallelization to avoid test failures | libgit2/libgit2sharp,Zoxive/libgit2sharp,PKRoma/libgit2sharp,Zoxive/libgit2sharp | LibGit2Sharp.Tests/Properties/AssemblyInfo.cs | LibGit2Sharp.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// 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("libgit2sharp.Tests")]
[assem... | 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("libgit2sharp.Tests")]
[assembly: Assembly... | mit | C# |
3ecac7310a95411c613529d2f96adcf19809ca02 | Fix code analysis warning for StopwatchAsserter | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata.Tests/StopwatchAsserter.cs | src/Atata.Tests/StopwatchAsserter.cs | using System;
using System.Diagnostics;
using NUnit.Framework;
namespace Atata.Tests
{
public sealed class StopwatchAsserter : IDisposable
{
private readonly Stopwatch watch;
private readonly TimeSpan expectedTime;
private readonly TimeSpan toleranceTime;
public St... | using System;
using System.Diagnostics;
using NUnit.Framework;
namespace Atata.Tests
{
public class StopwatchAsserter : IDisposable
{
private readonly Stopwatch watch;
private readonly TimeSpan expectedTime;
private readonly TimeSpan toleranceTime;
public Stopwatch... | apache-2.0 | C# |
07c3af75f33cd58d06a24dad78cc4d83b82527e6 | Handle application errors more gracefully | martincostello/api,martincostello/api,martincostello/api | src/API/Program.cs | src/API/Program.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | mit | C# |
cbcdf79d45166bca69a33c688be9920f20754875 | Add slot property changed notification | amatukaze/HeavenlyWind | src/Game/Sakuno.ING.Game.Models/Models/PlayerShipSlot.cs | src/Game/Sakuno.ING.Game.Models/Models/PlayerShipSlot.cs | using System;
namespace Sakuno.ING.Game.Models
{
public sealed class PlayerShipSlot : Slot
{
public PlayerShip Owner { get; }
public int Index { get; }
public override SlotItem? Item => _slotItem;
private PlayerSlotItem? _slotItem;
public PlayerSlotItem? PlayerSlotIte... | using System;
namespace Sakuno.ING.Game.Models
{
public sealed class PlayerShipSlot : Slot
{
public PlayerShip Owner { get; }
public int Index { get; }
public override SlotItem? Item => _slotItem;
private PlayerSlotItem? _slotItem;
public PlayerSlotItem? PlayerSlotIte... | mit | C# |
a32fa38e7d8f89eae6f0f448ae9fabd86f510eb0 | add shortcut for Prepare landing window (default: F12). | neitsa/PrepareLanding,neitsa/PrepareLanding | src/GameOptions.cs | src/GameOptions.cs | using HugsLib.Settings;
using UnityEngine;
using Verse;
namespace PrepareLanding
{
public class GameOptions
{
private readonly ModSettingsPack _settingsPack;
public GameOptions(ModSettingsPack settingsPack, RimWorldEventHandler eventHandler)
{
_settingsPack = settingsPack;... | using HugsLib.Settings;
using Verse;
namespace PrepareLanding
{
public class GameOptions
{
private readonly ModSettingsPack _settingsPack;
public GameOptions(ModSettingsPack settingsPack, RimWorldEventHandler eventHandler)
{
_settingsPack = settingsPack;
event... | mit | C# |
ceadb381053edf7155b3dbfbd84dca5e758f3712 | Fix NullReferenceException (#1722) | matthchr/autorest,devigned/autorest,jianghaolu/AutoRest,matthchr/autorest,jhancock93/autorest,balajikris/autorest,lmazuel/autorest,brjohnstmsft/autorest,annatisch/autorest,jhancock93/autorest,hovsepm/AutoRest,annatisch/autorest,ljhljh235/AutoRest,veronicagg/autorest,vishrutshah/autorest,jhendrixMSFT/autorest,veronicagg... | src/modeler/AutoRest.Swagger/JsonConverters/ResponseRefConverter.cs | src/modeler/AutoRest.Swagger/JsonConverters/ResponseRefConverter.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using AutoRest.Swagger.Model;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace AutoRest.Swagger.JsonConverters
{
public class Resp... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using AutoRest.Swagger.Model;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace AutoRest.Swagger.JsonConverters
{
public class Resp... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.