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 |
|---|---|---|---|---|---|---|---|---|
b838d008875bdd4f50d706d57d79a27d885ca4ba | Change the AssemblyFileVersion for Ver 2.0 release. | xo-energy/dockpanelsuite,thijse/dockpanelsuite,compborg/dockpanelsuite,jorik041/dockpanelsuite,15070217668/dockpanelsuite,modulexcite/O2_Fork_dockpanelsuite,dockpanelsuite/dockpanelsuite,elnomade/dockpanelsuite,ArsenShnurkov/dockpanelsuite,transistor1/dockpanelsuite,Romout/dockpanelsuite,joelbyren/dockpanelsuite,150702... | WinFormsUI/Properties/AssemblyInfo.cs | WinFormsUI/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
[assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")]
[assembly: AssemblyDescription(".Net Docking Library for Windows Forms")]
[assembly: AssemblyConf... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
[assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")]
[assembly: AssemblyDescription(".Net Docking Library for Windows Forms")]
[assembly: AssemblyConf... | mit | C# |
93f93ef9bb217b389076e5f10b8560cb63a4fbc9 | Update build.cake (#958) | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | XPlat/ExposureNotification/build.cake | XPlat/ExposureNotification/build.cake | var TARGET = Argument("t", Argument("target", "ci"));
var OUTPUT_PATH = (DirectoryPath)"./output/";
var NUGET_VERSION = "0.13.0-preview";
Task("nuget")
.Does(() =>
{
MSBuild($"./source/Xamarin.ExposureNotification/Xamarin.ExposureNotification.csproj", c => c
.SetConfiguration("Release")
.WithRestore()
.WithTa... | var TARGET = Argument("t", Argument("target", "ci"));
var OUTPUT_PATH = (DirectoryPath)"./output/";
var NUGET_VERSION = "0.12.0-preview";
Task("nuget")
.Does(() =>
{
MSBuild($"./source/Xamarin.ExposureNotification/Xamarin.ExposureNotification.csproj", c => c
.SetConfiguration("Release")
.WithRestore()
.WithTa... | mit | C# |
f7c11009278fd1766cb2b422349ea166100d9881 | add loop using label | DasAllFolks/SharpGraphs | Graph/Graph.cs | Graph/Graph.cs | using System;
using System.Collections.Generic;
namespace Graph
{
public class Vertex
{
private bool hasLabel;
private string label;
public Vertex ()
{
this.hasLabel = false;
}
public Vertex (string label)
{
this.Label = label;
}
// XXXX: Remind self how to link to private field?
public... | using System;
using System.Collections.Generic;
namespace Graph
{
public class Vertex
{
private bool hasLabel;
private string label;
public Vertex ()
{
this.hasLabel = false;
}
public Vertex (string label)
{
this.Label = label;
}
// XXXX: Remind self how to link to private field?
public... | apache-2.0 | C# |
f7ec23f7caaf09d710a9cc731baf71621166ea49 | Update _Layout.cshtml | Telerik-Hackathon-2014/YourFood-WebAPI,Telerik-Hackathon-2014/YourFood-WebAPI | YourFood.Services/Views/Shared/_Layout.cshtml | YourFood.Services/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div clas... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div clas... | mit | C# |
1565bd4a6a3de9309bdd4ce9f30a40776dc9a348 | use default options | SimonCropp/NServiceBus.Jil | NServiceBus.Jil/JsonMessageSerializer.cs | NServiceBus.Jil/JsonMessageSerializer.cs | namespace NServiceBus.Jil
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using global::Jil;
using NServiceBus.Serialization;
/// <summary>
/// JSON message serializer.
/// </summary>
public class JsonMessageSerializer : IMessageSerializer
... | namespace NServiceBus.Jil
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using global::Jil;
using NServiceBus.Serialization;
/// <summary>
/// JSON message serializer.
/// </summary>
public class JsonMessageSerializer : IMessageSerializer
... | mit | C# |
b3ebd76707f5eda6c7bbcd099b8b9b7c99356c45 | bump version to 2.10.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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("PiwikTracker")]
[assembly: Assembl... | 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("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
7e2acb7c3153ec45e031f76d7de7fb54448f244c | use object pointer instead of context reference | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/Struct/AccessFeature.cs | src/reni2/Struct/AccessFeature.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.Debug;
using hw.Helper;
using Reni.Basics;
using Reni.Feature;
using Reni.ReniSyntax;
using Reni.TokenClasses;
using Reni.Type;
namespace Reni.Struct
{
sealed class AccessFeature
: DumpableObject
, IFeatu... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.Debug;
using hw.Helper;
using Reni.Basics;
using Reni.Feature;
using Reni.ReniSyntax;
using Reni.TokenClasses;
using Reni.Type;
namespace Reni.Struct
{
sealed class AccessFeature
: DumpableObject
, IFeatu... | mit | C# |
a218354fadc8860a185319620c6617e041d22704 | Bring assembly version up to date with tag | sbennett1990/signify.cs | SignifyCS/Properties/AssemblyInfo.cs | SignifyCS/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: AssemblyTi... | 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: AssemblyTi... | isc | C# |
ff48aa4cd996e138273991e756b20063ff93929d | make link_domain optional in mock api | sailthru/sailthru-net-client | Sailthru/Sailthru.Tests/Mock/BlastApi.cs | Sailthru/Sailthru.Tests/Mock/BlastApi.cs | using System;
using System.Collections.Generic;
using System.Threading;
using Newtonsoft.Json.Linq;
namespace Sailthru.Tests.Mock
{
public static class BlastApi
{
private static int currentId = 1000;
public static object ProcessPost(JObject request)
{
int blastId = Interlo... | using System;
using System.Collections.Generic;
using System.Threading;
using Newtonsoft.Json.Linq;
namespace Sailthru.Tests.Mock
{
public static class BlastApi
{
private static int currentId = 1000;
public static object ProcessPost(JObject request)
{
int blastId = Interlo... | mit | C# |
9a22b9cbbfd26f4b64be530ea43e7eccaf18d912 | correct base controller check | asadsahi/AspNetCoreSpa,asadsahi/AspNetCoreSpa,asadsahi/AspNetCoreSpa,asadsahi/AspNetCoreSpa | Server/Controllers/api/BaseController.cs | Server/Controllers/api/BaseController.cs | using AspNetCoreSpa.Server.Entities;
using AspNetCoreSpa.Server.Filters;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
namespace AspNetCoreSpa.Server.Controllers.api
{
[Authorize]
[ServiceFilter(typeof(ApiExceptionFilter))]
[ResponseCache(Loca... | using AspNetCoreSpa.Server.Entities;
using AspNetCoreSpa.Server.Filters;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
namespace AspNetCoreSpa.Server.Controllers.api
{
[Authorize]
[ServiceFilter(typeof(ApiExceptionFilter))]
[ResponseCache(Loca... | mit | C# |
1c5e2d2832b13fd9b60e46c430a77c4084e80357 | Update PerlinNoiseTurbulenceShaderView.xaml.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/Views/Style/Shaders/PerlinNoiseTurbulenceShaderView.xaml.cs | src/Draw2D/Views/Style/Shaders/PerlinNoiseTurbulenceShaderView.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 Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Draw2D.Views.Style.Shaders
{
public class PerlinNoiseTurbulenceShaderView : UserControl
{
... | // 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 Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Draw2D.Views.Style.Shaders
{
public class Path1DPathEffectView : UserControl
{
publ... | mit | C# |
1cdcbd658efcd9771769d3277cf442a482527086 | Remove not needed code | zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prot... | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
... | mit | C# |
6439eb0750a7f869d57ab5e9d959fff792afe1ae | fix typo | antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4,antlr/grammars-v4 | golang/CSharp/GoParserBase.cs | golang/CSharp/GoParserBase.cs | using System;
using System.Collections.Generic;
using System.IO;
using Antlr4.Runtime;
public abstract class GoParserBase : Parser
{
protected GoParserBase(ITokenStream input)
: base(input)
{
}
protected GoParserBase(ITokenStream input, TextWriter output, TextWriter errorOutput)
: base... | using System;
using System.Collections.Generic;
using System.IO;
using Antlr4.Runtime;
public abstract class GoParserBase : Parser
{
protected GoParserBase(ITokenStream input)
: base(input)
{
}
protected GoParserBase(ITokenStream input, TextWriter output, TextWriter errorOutput)
: base... | mit | C# |
5a34796463f818868bab3acabf8c6e0e968a970a | Remove reference to UseDefaultHostingConfiguration | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/WebSites/CorsMiddlewareWebSite/Startup.cs | test/WebSites/CorsMiddlewareWebSite/Startup.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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace CorsMiddlewareWebSite... | // 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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace CorsMiddlewareWebSite... | apache-2.0 | C# |
3684f4367c28988c87fa5aaa4889133dcee811aa | change version to v3.2.2 | shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2016 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2016 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
ee504002352ff6cf901aa3828ca5672e111ebb87 | Update crefs (#2087) | JamesNK/Newtonsoft.Json,jkorell/Newtonsoft.Json,TylerBrinkley/Newtonsoft.Json,PKRoma/Newtonsoft.Json,ze-pequeno/Newtonsoft.Json,oxwanawxo/Newtonsoft.Json | Src/Newtonsoft.Json/DateParseHandling.cs | Src/Newtonsoft.Json/DateParseHandling.cs | #region License
// Copyright (c) 2007 James Newton-King
//
// 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,... | #region License
// Copyright (c) 2007 James Newton-King
//
// 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,... | mit | C# |
2d0750d480826c24d4cf274f07e6b736bbab1482 | fix docs example with new Akka.IO | ali-ince/akka.net,amichel/akka.net,heynickc/akka.net,amichel/akka.net,ali-ince/akka.net,simonlaroche/akka.net,heynickc/akka.net,Silv3rcircl3/akka.net,Silv3rcircl3/akka.net,simonlaroche/akka.net | docs/examples/DocsExamples/Networking/IO/EchoConnection.cs | docs/examples/DocsExamples/Networking/IO/EchoConnection.cs | using Akka.Actor;
using Akka.IO;
using Akka.Util.Internal;
namespace DocsExamples.Networking.IO
{
public class EchoConnection : UntypedActor
{
private readonly IActorRef _connection;
public EchoConnection(IActorRef connection)
{
_connection = connection;
}
... | using Akka.Actor;
using Akka.IO;
namespace DocsExamples.Networking.IO
{
public class EchoConnection : UntypedActor
{
private readonly IActorRef _connection;
public EchoConnection(IActorRef connection)
{
_connection = connection;
}
protected override void O... | apache-2.0 | C# |
e6e43c0328131dcc56ae404718f3ef539ac945cd | Add TracingService | KpdApps/KpdApps.Common.MsCrm2015 | PluginState.cs | PluginState.cs | using System;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public class PluginState
{
public virtual IServiceProvider Provider { get; private set; }
private IPluginExecutionContext _context;
public virtual IPluginExecutionContext Context => _context ?? (_context = (IP... | using System;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public class PluginState
{
private IOrganizationService _service;
private IPluginExecutionContext _context;
public virtual IServiceProvider Provider { get; private set; }
public virtual IPluginExecutionContext Context => _context... | mit | C# |
bdab39f5c798005f930514a12f817597b43c39e3 | change player Age type from double to int | Team-LemonDrop/NBA-Statistics | NBAStatistics.Data.FillMongoDB/Models/Player.cs | NBAStatistics.Data.FillMongoDB/Models/Player.cs | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace NBAStatistics.Data.FillMongoDB.Models
{
public class Player : IEntity
{
public Player(
int teamId,
string season,
string leagueId,
string playerName,
string num,
... | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace NBAStatistics.Data.FillMongoDB.Models
{
public class Player : IEntity
{
public Player(
int teamId,
string season,
string leagueId,
string playerName,
string num,
... | mit | C# |
47d35f3ecae397cb51672afd6f2079c8694eb72d | Update QuadraticBezierSegment.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/ViewModels/Shapes/Path/Segments/QuadraticBezierSegment.cs | src/Core2D/ViewModels/Shapes/Path/Segments/QuadraticBezierSegment.cs | using System;
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Quadratic bezier path segment.
/// </summary>
public class QuadraticBezierSegment : PathSegment, IQuadraticBezierSegment
{
private IPointShape _point1;
private IP... | using System;
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Quadratic bezier path segment.
/// </summary>
public class QuadraticBezierSegment : PathSegment, IQuadraticBezierSegment
{
private IPointShape _point1;
private IP... | mit | C# |
a140440196eda89710e44f18b5d884b07476e260 | Add `AssemblyCompany`, `AssemblyCopyright` and `AssemblyProduct` attributes to the assembly. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Mvc.Razor.Host.VSRC1/Properties/AssemblyInfo.cs | src/Microsoft.AspNet.Mvc.Razor.Host.VSRC1/Properties/AssemblyInfo.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.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
[assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: ... | // 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.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
[assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: ... | apache-2.0 | C# |
620e503371b4a31974fd438e18e45fc623b823bb | Replace Xna's Clamp method with our own. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | ChamberLib/MathHelper.cs | ChamberLib/MathHelper.cs | using System;
namespace ChamberLib
{
public static class MathHelper
{
public static int RoundToInt(this float x)
{
return (int)Math.Round(x);
}
public static float ToRadians(this float degrees)
{
return degrees * 0.01745329251994f; // pi / 180
... | using System;
namespace ChamberLib
{
public static class MathHelper
{
public static int RoundToInt(this float x)
{
return (int)Math.Round(x);
}
public static float ToRadians(this float degrees)
{
return degrees * 0.01745329251994f; // pi / 180
... | lgpl-2.1 | C# |
8c553b535e6b763ce0d05d8e92844478f066e547 | add transaction to uow | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGetAll.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGetAll.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper;
using Dapper.FastCrud;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
using static Dapper.FastCrud.Sql;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<TEntity, TPk>
where T... | using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper;
using Dapper.FastCrud;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
using static Dapper.FastCrud.Sql;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<TEntity, TPk>
where T... | mit | C# |
833ddbe899a2879e12f06c69c88f71b0bac00626 | Fix broken build (#10541) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Servers/Kestrel/samples/PlaintextApp/Startup.cs | src/Servers/Kestrel/samples/PlaintextApp/Startup.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.IO;
using System.IO.Pipelines;
using System.Net;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
us... | // 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.IO;
using System.IO.Pipelines;
using System.Net;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
us... | apache-2.0 | C# |
a9142409d646957a48c651af3d2923cf44a90a00 | Fix Zap mod dedicated server. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | zap/main.cs | zap/main.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2009, mEthLab Interactive
//------------------------------------------------------------------------------
//-----------------------------------------------------------------------------
/... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2009, mEthLab Interactive
//------------------------------------------------------------------------------
//-----------------------------------------------------------------------------
/... | lgpl-2.1 | C# |
9622beab6001249818fc83d575b927c743f973dd | Fix compile warnings. (#200) | mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,m... | tests/managed/structs.cs | tests/managed/structs.cs | using System;
#pragma warning disable 660 // 'Point' defines operator == or operator != but does not override Object.Equals(object o)
#pragma warning disable 661 // 'Point' defines operator == or operator != but does not override Object.GetHashCode()
namespace Structs {
public struct Point {
public static readon... | using System;
namespace Structs {
public struct Point {
public static readonly Point Zero;
public Point (float x, float y)
{
X = x;
Y = y;
}
public float X { get; private set; }
public float Y { get; private set; }
public static bool operator == (Point left, Point right)
{
return ((lef... | mit | C# |
f587c58ec4c213d2072257d1d7d4adae242520ec | Improve keyframe (CssNode) | FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,zedr0n/Angle... | AngleSharp/Dom/Css/Selector/KeyframeSelector.cs | AngleSharp/Dom/Css/Selector/KeyframeSelector.cs | namespace AngleSharp.Dom.Css
{
using AngleSharp.Css;
using AngleSharp.Css.Values;
using System;
using System.Collections.Generic;
/// <summary>
/// Represents the keyframe selector.
/// </summary>
sealed class KeyframeSelector : CssNode, IKeyframeSelector
{
#region Fields
... | namespace AngleSharp.Dom.Css
{
using System;
using System.Collections.Generic;
using AngleSharp.Css.Values;
/// <summary>
/// Represents the keyframe selector.
/// </summary>
sealed class KeyframeSelector : IKeyframeSelector
{
#region Fields
readonly List<Percent> _sto... | mit | C# |
13760f401418a0dd9019c3030d77017fd2c5eccf | Fix gas tile overlays on shuttles | 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.Client/Atmos/Overlays/GasTileOverlay.cs | Content.Client/Atmos/Overlays/GasTileOverlay.cs | using Content.Client.Atmos.EntitySystems;
using Robust.Client.Graphics;
using Robust.Shared.Enums;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
using Robust.Shared.Maths;
namespace Content.Client.Atmos.Overlays
{
public class GasTileOverlay : Overlay
{
private read... | using Content.Client.Atmos.EntitySystems;
using Robust.Client.Graphics;
using Robust.Shared.Enums;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
using Robust.Shared.Maths;
namespace Content.Client.Atmos.Overlays
{
public class GasTileOverlay : Overlay
{
private read... | mit | C# |
608513b64312f685ed6255570bdd1c03c64e54a7 | Fix related to #AG231 - Mapper resolution is OK to be transient | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.Bootstrap/ObjectMaps/AutomapperModule.cs | Agiil.Bootstrap/ObjectMaps/AutomapperModule.cs | using System;
using Agiil.ObjectMaps;
using Autofac;
using AutoMapper;
namespace Agiil.Bootstrap.ObjectMaps
{
public class AutomapperModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.Register(GetMapperConfiguration)
... | using System;
using Agiil.ObjectMaps;
using Autofac;
using AutoMapper;
namespace Agiil.Bootstrap.ObjectMaps
{
public class AutomapperModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.Register(GetMapperConfiguration)
... | mit | C# |
9f7874c78d40a7e27aaeeaaa1787c0f5d987d51f | Use DomainCustomization rather than AutoMoqCustomization directly | appharbor/appharbor-cli | src/AppHarbor.Tests/AutoCommandDataAttribute.cs | src/AppHarbor.Tests/AutoCommandDataAttribute.cs | using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
namespace AppHarbor.Tests
{
public class AutoCommandDataAttribute : AutoDataAttribute
{
public AutoCommandDataAttribute()
: base(new Fixture().Customize(new DomainCustomization()))
{
}
}
}
| using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
namespace AppHarbor.Tests
{
public class AutoCommandDataAttribute : AutoDataAttribute
{
public AutoCommandDataAttribute()
: base(new Fixture().Customize(new AutoMoqCustomization()))
{
}
}
}
| mit | C# |
624f5d1f6a50183e55249cd350e0db11b70f8b33 | Update test | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Util/XmlUtilTest.cs | src/Arkivverket.Arkade.Test/Util/XmlUtilTest.cs | using Arkivverket.Arkade.Test.Tests.Noark5;
using Arkivverket.Arkade.Util;
using Xunit;
using FluentAssertions;
namespace Arkivverket.Arkade.Test.Util
{
public class XmlUtilTest
{
private string addmlXsd = ResourceUtil.ReadResource(ArkadeConstants.AddmlXsdResource);
private string addml = Tes... | using Arkivverket.Arkade.Test.Tests.Noark5;
using Arkivverket.Arkade.Util;
using Xunit;
using FluentAssertions;
using System.Xml.Schema;
namespace Arkivverket.Arkade.Test.Util
{
public class XmlUtilTest
{
private string addmlXsd = ResourceUtil.ReadResource(ArkadeConstants.AddmlXsdResource);
p... | agpl-3.0 | C# |
2976cd1ce4aef0eef6ae17591ec6434dd9d0a013 | Fix SliderTest.SlideHorizontally on Win 10 | JohanLarsson/Gu.Wpf.UiAutomation | Gu.Wpf.UiAutomation/AutomationElements/Thumb.cs | Gu.Wpf.UiAutomation/AutomationElements/Thumb.cs | namespace Gu.Wpf.UiAutomation
{
using System.Windows;
using System.Windows.Automation;
public class Thumb : UiElement
{
private const int DragSpeed = 500;
public Thumb(AutomationElement automationElement)
: base(automationElement)
{
}
public Transfo... | namespace Gu.Wpf.UiAutomation
{
using System.Windows.Automation;
public class Thumb : UiElement
{
public Thumb(AutomationElement automationElement)
: base(automationElement)
{
}
public TransformPattern TransformPattern => this.AutomationElement.TransformPattern(... | mit | C# |
fd0cd2c948e95eb25d24930f22c65e7a59c385e0 | Use less confusing placeholder icon for YAML | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-yaml/src/Psi/YamlProjectFileLanguageService.cs | resharper/resharper-yaml/src/Psi/YamlProjectFileLanguageService.cs | using JetBrains.Application.UI.Icons.Special.ThemedIcons;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.Settings;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.Text;
using JetBrains.UI.Icons;
namespace ... | using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.Settings;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Resources;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.Text;
using JetBrains.UI.Icons;
namespace JetBrains.... | apache-2.0 | C# |
6dc94b92a1502b7b7d9ad17651390d23d110414c | make AuthorizeResponse public | jbijlsma/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowh... | src/IdentityServer4/Models/AuthorizeResponse.cs | src/IdentityServer4/Models/AuthorizeResponse.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using IdentityServer4.Validation;
namespace IdentityServer4.Models
{
public class AuthorizeResponse
... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using IdentityServer4.Validation;
namespace IdentityServer4.Models
{
class AuthorizeResponse
{
... | apache-2.0 | C# |
53794bf030808426af54082c589057b1e41bcd5e | make use of the TextBrush | Ollienator/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Server,RedX2501/Bonobo-Git-Server,Webmine/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,snoopydo/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,yonglehou/Bonobo-Git-Server,KiritoStudio/Bonobo-Git-Server,hakim89/Bonobo-Git-Server,snoopydo/Bonobo-Git-Server,l... | Bonobo.Git.Server/Views/Repository/Blob.cshtml | Bonobo.Git.Server/Views/Repository/Blob.cshtml | @using Bonobo.Git.Server.Extensions
@model RepositoryTreeDetailModel
@{
Layout = "~/Views/Repository/_RepositoryLayout.cshtml";
ViewBag.Title = Resources.Repository_Tree_Title;
}
@if (Model != null)
{
@Html.Partial("_BranchSwitcher")
@Html.Partial("_AddressBar")
<div class="blob">
@{
... | @using Bonobo.Git.Server.Extensions
@model RepositoryTreeDetailModel
@{
Layout = "~/Views/Repository/_RepositoryLayout.cshtml";
ViewBag.Title = Resources.Repository_Tree_Title;
}
@if (Model != null)
{
@Html.Partial("_BranchSwitcher")
@Html.Partial("_AddressBar")
<div class="blob">
@{
... | mit | C# |
fbeddd8ec2048f7ec6504267c168a97228c2fb39 | Update CurrencyNotFoundException.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/CurrencyNotFoundException.cs | TIKSN.Core/Finance/CurrencyNotFoundException.cs | using System;
namespace TIKSN.Finance
{
//[System.Serializable]
public class CurrencyNotFoundException : Exception
{
public CurrencyNotFoundException()
{
}
public CurrencyNotFoundException(string message) : base(message)
{
}
public CurrencyNotFound... | namespace TIKSN.Finance
{
//[System.Serializable]
public class CurrencyNotFoundException : System.Exception
{
public CurrencyNotFoundException()
{
}
public CurrencyNotFoundException(string message) : base(message)
{
}
public CurrencyNotFoundExceptio... | mit | C# |
b097f2f3db33ba5f00f4146cdde59d2be37ef97c | Simplify name. | autofac/Autofac.WebApi.Owin | src/Autofac.Integration.WebApi.Owin/AutofacWebApiAppBuilderExtensions.cs | src/Autofac.Integration.WebApi.Owin/AutofacWebApiAppBuilderExtensions.cs | // Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Web.Http;
using Autofac.Integration.WebApi.Owin;
namespace Owin;
/// <summary>
/// Exten... | // Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Web.Http;
using Autofac.Integration.WebApi.Owin;
namespace Owin;
/// <summary>
/// Exten... | mit | C# |
e5c12dc7b9605657baa3087ffd0f25532f2c6172 | Use List<T> instead of IList<T> for struct enumeration in unsorted metadata table buffers. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Builder/Metadata/Tables/UnsortedMetadataTableBuffer.cs | src/AsmResolver.DotNet/Builder/Metadata/Tables/UnsortedMetadataTableBuffer.cs | using System;
using System.Collections.Generic;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Builder.Metadata.Tables
{
/// <summary>
/// Represents a metadata stream buffer that adds every new row at the end of the table, without a... | using System;
using System.Collections.Generic;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Builder.Metadata.Tables
{
/// <summary>
/// Represents a metadata stream buffer that adds every new row at the end of the table, without a... | mit | C# |
f52b5172ec95fd89ab106348016812087663039a | Update route name | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch | src/TeacherPouch/Controllers/ErrorController.cs | src/TeacherPouch/Controllers/ErrorController.cs | using System;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using TeacherPouch.ViewModels;
namespace TeacherPouch.Controllers
{
public class ErrorController : BaseController
{
public IActionResult Http404()
{
Response.StatusCode = (int)HttpStatusCode.NotFound;
retu... | using System;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using TeacherPouch.ViewModels;
namespace TeacherPouch.Controllers
{
public class ErrorController : BaseController
{
public IActionResult Http404()
{
Response.StatusCode = (int)HttpStatusCode.NotFound;
retu... | mit | C# |
71c603072906823028642dda66f9f0a0afdc76d5 | Add registration options for definition request | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/Definition.cs | src/PowerShellEditorServices.Protocol/LanguageServer/Definition.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Defi... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Defi... | mit | C# |
f93f08752b263cad9bcbe087aa23ba6d0a002df5 | Implement AdapterListCollection.Count | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/AdapterListCollection.cs | Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/AdapterListCollection.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | mit | C# |
aaa9685cf1508e44e8392a3be285b5d6ba612218 | Fix issues | seanshpark/corefx,fgreinacher/corefx,Jiayili1/corefx,seanshpark/corefx,ptoonen/corefx,zhenlan/corefx,zhenlan/corefx,ptoonen/corefx,Ermiar/corefx,wtgodbe/corefx,seanshpark/corefx,wtgodbe/corefx,Ermiar/corefx,seanshpark/corefx,mmitche/corefx,axelheer/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,mmitche/coref... | src/System.Diagnostics.PerformanceCounter/src/misc/EnvironmentHelpers.cs | src/System.Diagnostics.PerformanceCounter/src/misc/EnvironmentHelpers.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.ComponentModel;
using System.Security;
using System.Security.Principal;
namespace System
{
interna... | // 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.ComponentModel;
using System.Security;
using System.Security.Principal;
namespace System
{
interna... | mit | C# |
b3cdf9479c46bc3fb73ce2548ba6714c40802ed2 | Use common copy of System.Numerics.Hashing.HashHelpers | poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,poizan42/coreclr,mmitche/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,mmitche/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,mmitche/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/... | src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.cs | src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.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.
namespace System.Numerics.Hashing
{
internal static class HashHelpers
{
public static readonly int R... | // 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.
namespace System.Numerics.Hashing
{
// Please change the corresponding file in corefx if this is changed.
i... | mit | C# |
080b4ba9ed5e2dca6755ffb2403272f469fc4dc0 | Fix settings | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/Commands/ToolCommands.cs | WalletWasabi.Gui/Shell/Commands/ToolCommands.cs | using AvalonStudio.Commands;
using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using ReactiveUI;
using System.IO;
using System.Linq;
using WalletWasabi.Gui.Tabs.WalletManager;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class ToolCommands
{
public ToolCommands()
... | using AvalonStudio.Commands;
using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using ReactiveUI;
using System.IO;
using System.Linq;
using WalletWasabi.Gui.Tabs.WalletManager;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class ToolCommands
{
public ToolCommands()
... | mit | C# |
033ca07d7e8a6a5a948532cc2fe0ca6dcd6ef3a2 | Add tooltips for stickers | agens-no/iMessageStickerUnity | Assets/Stickers/Sticker.cs | Assets/Stickers/Sticker.cs | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Agens.Stickers
{
public class Sticker : ScriptableObject
{
[Tooltip("Name of the sticker")]
public string Name;
[Tooltip("Frames per second. Apple recommends 15+ FPS")]
public int Fps = 15;
[To... | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Agens.Stickers
{
public class Sticker : ScriptableObject
{
public string Name;
public int Fps = 15;
public int Repetitions = 0;
public int Index;
public bool Sequence;
public List<Textu... | mit | C# |
bc77a82ab31004fe8692b6b24012fc574951bcfe | Update DotNetXmlSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/DotNetXmlSerializer.cs | TIKSN.Core/Serialization/DotNetXmlSerializer.cs | using System.IO;
using System.Xml.Serialization;
namespace TIKSN.Serialization
{
public class DotNetXmlSerializer : SerializerBase<string>
{
protected override string SerializeInternal<T>(T obj)
{
var serializer = new XmlSerializer(obj.GetType());
var writer = new String... | using System.IO;
using System.Xml.Serialization;
namespace TIKSN.Serialization
{
public class DotNetXmlSerializer : SerializerBase<string>
{
protected override string SerializeInternal(object obj)
{
var serializer = new XmlSerializer(obj.GetType());
var writer = new Stri... | mit | C# |
0adb6997713d587e35853ffafdfb4054bf56605d | Test passing for dialect supporting SupportsIfExistsBeforeTableName (Postgres) | ngbrown/nhibernate-core,livioc/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,livioc/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nh... | src/NHibernate.Test/NHSpecificTest/NH1443/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH1443/Fixture.cs | using System.Text;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
namespace NHibernate.Test.NHSpecificTest.NH1443
{
[TestFixture]
public class Fixture
{
private static void Bug(Configuration cfg)
{
var su = new SchemaExport(cfg);
... | using System.Text;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
namespace NHibernate.Test.NHSpecificTest.NH1443
{
[TestFixture]
public class Fixture
{
private static void Bug(Configuration cfg)
{
var su = new SchemaExport(cfg);
... | lgpl-2.1 | C# |
b9b37dc8cde3a8d28070f3f42a0c2eb51f64a01e | Refactor code | Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,dsolovay/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager | src/SIM.Core/Common/AbstractInstanceActionCommand.cs | src/SIM.Core/Common/AbstractInstanceActionCommand.cs | namespace SIM.Core.Common
{
using System;
using System.Linq;
using Instances;
using Sitecore.Diagnostics.Base;
using Sitecore.Diagnostics.Base.Annotations;
public abstract class AbstractInstanceActionCommand<T> : AbstractCommand<T>
{
[CanBeNull]
public virtual string Name { get; [UsedImplicitly] ... | namespace SIM.Core.Common
{
using System;
using System.Linq;
using Instances;
using Sitecore.Diagnostics.Base;
using Sitecore.Diagnostics.Base.Annotations;
public abstract class AbstractInstanceActionCommand<T> : AbstractCommand<T>
{
[CanBeNull]
public virtual string Name { get; [UsedImplicitly] ... | mit | C# |
883dee3a84f3a72d9576e4489902849abe4df2ee | Fix having the wrong Index name in migration CuratedFeedPackageUniqueness.Down() | KuduApps/NuGetGallery,KuduApps/NuGetGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,JetBrains/ReSharperGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,JetBrains/ReSharperGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,K... | Website/Migrations/201304030226233_CuratedFeedPackageUniqueness.cs | Website/Migrations/201304030226233_CuratedFeedPackageUniqueness.cs | namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// ADD uniqueness constraint - as an Index, since it seems reasonable to look up curated package entries by ... | namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// ADD uniqueness constraint - as an Index, since it seems reasonable to look up curated package entries by ... | apache-2.0 | C# |
236e55a107ad752b837841d7696ace5ff479a2dd | Add an implementation IEqualityComparer<Type> to ensure the .Distinct call in the Locate() method works as expected. | SRoddis/Mongo.Migration | Mongo.Migration/Migrations/Locators/TypeMigrationDependencyLocator.cs | Mongo.Migration/Migrations/Locators/TypeMigrationDependencyLocator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Mongo.Migration.Extensions;
using Mongo.Migration.Migrations.Adapters;
namespace Mongo.Migration.Migrations.Locators
{
internal class TypeMigrationDependencyLocator<TMigrationType> : MigrationLocator<TMigrationType>
... | using System;
using System.Linq;
using System.Reflection;
using Mongo.Migration.Extensions;
using Mongo.Migration.Migrations.Adapters;
namespace Mongo.Migration.Migrations.Locators
{
internal class TypeMigrationDependencyLocator<TMigrationType> : MigrationLocator<TMigrationType>
where TMigrationType: clas... | mit | C# |
1fca171d58298a2ff65b9b0c95729cb49c35ceb6 | Add default and rename variable | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/ReferenceAnalysers/ProjectReferenceTestData.cs | NuGet.Extensions.Tests/ReferenceAnalysers/ProjectReferenceTestData.cs | using System.Collections.Generic;
using Moq;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ProjectReferenceTestData {
private const string AssemblyInPackageRepository = "Assembly11.dll";
public const string Pac... | using System.Collections.Generic;
using Moq;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ProjectReferenceTestData {
private const string AssemblyInPackageRepository = "Assembly11.dll";
public const string Pac... | mit | C# |
052ae794746a6a23fd02c414f5f9bf8c4e5a9b6b | Update RegularTestFixture.cs | MelleKoning/OpenCover.UI,OpenCoverUI/OpenCover.UI | OpenCover.UI.TestDiscoverer.TestResources/Xunit/RegularTestFixture.cs | OpenCover.UI.TestDiscoverer.TestResources/Xunit/RegularTestFixture.cs | using Xunit;
namespace OpenCover.UI.TestDiscoverer.TestResources.Xunit
{
public class RegularFacts
{
[Fact]
public void RegularTestMethod()
{
}
public class SubTestClass
{
[Fact]
public void RegularSubTestClassMethod()
{
}
publ... | using Xunit;
namespace OpenCover.UI.TestDiscoverer.TestResources.Xunit
{
public class RegularFacts
{
[Fact]
public void RegularTestMethod()
{
}
}
}
| mit | C# |
58e535ead38d00cf32154b020d3da4572d856e12 | Fix bug where prop was not serialized | openstardrive/server,openstardrive/server,openstardrive/server | OpenStardriveServer/Domain/Systems/Propulsion/Engines/EnginesState.cs | OpenStardriveServer/Domain/Systems/Propulsion/Engines/EnginesState.cs | using System;
using OpenStardriveServer.Domain.Systems.Standard;
namespace OpenStardriveServer.Domain.Systems.Propulsion.Engines;
public record EnginesState : StandardSystemBaseState
{
public int CurrentSpeed { get; init; }
public EngineSpeedConfig SpeedConfig { get; init; }
public int CurrentHeat { get; ... | using System;
using OpenStardriveServer.Domain.Systems.Standard;
namespace OpenStardriveServer.Domain.Systems.Propulsion.Engines;
public record EnginesState : StandardSystemBaseState
{
public int CurrentSpeed { get; init; }
public EngineSpeedConfig SpeedConfig { get; init; }
public int CurrentHeat { get; ... | apache-2.0 | C# |
78d624e22453dc635426345900f2d81f528469a0 | Fix a comment (#129) | ForNeVeR/wpf-math | src/WpfMath/CharSymbol.cs | src/WpfMath/CharSymbol.cs | using WpfMath.Utils;
namespace WpfMath
{
// Atom representing single character that can be marked as text symbol.
internal abstract class CharSymbol : Atom
{
protected CharSymbol(SourceSpan source, TexAtomType type = TexAtomType.Ordinary)
: base(source, type)
{
... | using WpfMath.Utils;
namespace WpfMath
{
// Atom representing single character that can be marked as text symbol.
internal abstract class CharSymbol : Atom
{
protected CharSymbol(SourceSpan source, TexAtomType type = TexAtomType.Ordinary)
: base(source, type)
{
... | mit | C# |
4ed30b3619954cb7f4ce2e334a6db99ee67a5818 | Add WindowsUtils.CreateSingleTickTimer | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Utils/WindowsUtils.cs | Core/Utils/WindowsUtils.cs | using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderWritePermission(string path){
string testFile = Path.Combine(path, ".test");
try{
Directory.CreateDirector... | using System.Diagnostics;
using System.IO;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderWritePermission(string path){
string testFile = Path.Combine(path, ".test");
try{
Directory.CreateDirectory(path);
us... | mit | C# |
b197e6d4fc108e4e31dfe2de6a950ee485bd2879 | Update TestSerilogLoggingSetup.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/DependencyInjection/TestSerilogLoggingSetup.cs | TIKSN.UnitTests.Shared/DependencyInjection/TestSerilogLoggingSetup.cs | using Serilog;
using TIKSN.Analytics.Logging.Serilog;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class TestSerilogLoggingSetup : SerilogLoggingSetupBase
{
private readonly ITestOutputHelper _testOutputHelper;
public TestSerilogLoggingSetup(ITestOutputHelper t... | using Microsoft.Extensions.Logging;
using Serilog;
using TIKSN.Analytics.Logging.Serilog;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class TestSerilogLoggingSetup : SerilogLoggingSetupBase
{
private readonly ITestOutputHelper _testOutputHelper;
public TestSer... | mit | C# |
30600e6c3be70b0f7834796828d0109ffcf72ae5 | Remove unused using. | FacilityApi/Facility | src/Facility.CodeGen.Console/CommonArgs.cs | src/Facility.CodeGen.Console/CommonArgs.cs | using System.Collections.Generic;
using System.Globalization;
using ArgsReading;
namespace Facility.CodeGen.Console
{
internal static class CommonArgs
{
public static bool ReadCleanFlag(this ArgsReader args) => args.ReadFlag("clean");
public static bool ReadDryRunFlag(this ArgsReader args) => args.ReadFlag("dry... | using System.Collections.Generic;
using System.Globalization;
using ArgsReading;
using Facility.Definition;
namespace Facility.CodeGen.Console
{
internal static class CommonArgs
{
public static bool ReadCleanFlag(this ArgsReader args) => args.ReadFlag("clean");
public static bool ReadDryRunFlag(this ArgsReader ... | mit | C# |
218a35eb76ebeba3db01b39006d031ef6f1f05d6 | Update MichaelRidland.cs | MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamar... | src/Firehose.Web/Authors/MichaelRidland.cs | src/Firehose.Web/Authors/MichaelRidland.cs | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
namespace Firehose.Web.Authors
{
public class MichaelRidland : IAmAXamarinMVP
{
public string FirstName => "Michael";
public string LastName => "Ridland";
public string StateOrRegion => "Sydney, Austra... | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
namespace Firehose.Web.Authors
{
public class MichaelRidland : IAmAXamarinMVP
{
public string FirstName => "Michael";
public string LastName => "Ridland";
public string StateOrRegion => "Sydney, Austra... | mit | C# |
bd5ea192ec0f7d121778c1f709dd8c517e197b94 | add ScheduleId to TaskInfo | grcodemonkey/iron_dotnet | src/IronSharp.IronWorker/Tasks/TaskInfo.cs | src/IronSharp.IronWorker/Tasks/TaskInfo.cs | using System;
using IronSharp.Core;
using Newtonsoft.Json;
namespace IronSharp.IronWorker
{
public class TaskInfo : IMsg, IInspectable
{
[JsonProperty("code_id", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string CodeId { get; set; }
[JsonProperty("code_name", DefaultV... | using System;
using IronSharp.Core;
using Newtonsoft.Json;
namespace IronSharp.IronWorker
{
public class TaskInfo : IMsg, IInspectable
{
[JsonProperty("code_id", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string CodeId { get; set; }
[JsonProperty("code_name", DefaultV... | mit | C# |
e5cfa8d3556f3e8173fde2d2993e36a746fe27ee | Simplify namespace handling | mkoscielniak/SSMScripter | SSMScripter/Scripter/Smo/SmoCreatableObject.cs | SSMScripter/Scripter/Smo/SmoCreatableObject.cs | using System;
using System.Collections.Specialized;
using MSmo = Microsoft.SqlServer.Management.Smo;
namespace SSMScripter.Scripter.Smo
{
public class SmoCreatableObject : SmoScriptableObject
{
public SmoCreatableObject(Microsoft.SqlServer.Management.Smo.SqlSmoObject obj)
: base(obj)
... | using System;
using System.Collections.Specialized;
namespace SSMScripter.Scripter.Smo
{
public class SmoCreatableObject : SmoScriptableObject
{
public SmoCreatableObject(Microsoft.SqlServer.Management.Smo.SqlSmoObject obj)
: base(obj)
{
}
public override ... | mit | C# |
c84d05076a30141278c23d99f9286c2c8e7c4b53 | Add overloads to exception to take in the Reason | rapidcore/rapidcore,rapidcore/rapidcore | src/Locking/DistributedAppLockException.cs | src/Locking/DistributedAppLockException.cs | using System;
namespace RapidCore.Locking
{
public class DistributedAppLockException : Exception
{
public DistributedAppLockException()
{
}
public DistributedAppLockException(string message)
: base(message)
{
}
public DistributedAppLockExcep... | using System;
namespace RapidCore.Locking
{
public class DistributedAppLockException : Exception
{
public DistributedAppLockException()
{
}
public DistributedAppLockException(string message)
: base(message)
{
}
public DistributedAppLockExcep... | mit | C# |
d22703b27496b0e1c5eaadc0a0985f7346599b26 | Fix for closing window. | cube-soft/Cube.Net,cube-soft/Cube.Net,cube-soft/Cube.Net | Applications/Rss/Reader/Xui/Triggers/CloseTrigger.cs | Applications/Rss/Reader/Xui/Triggers/CloseTrigger.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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-2.0 | C# |
da90cb0c045ed2ad5f32b63e98b5cdb13ed0232f | resolve again | IvoAtanasov/TableTennisChampionship,IvoAtanasov/TableTennisChampionship,IvoAtanasov/TableTennisChampionship | TableTennisChampionship/TableTennisChampionshipMain/ViewModels/TournamentPlayerInfo.cs | TableTennisChampionship/TableTennisChampionshipMain/ViewModels/TournamentPlayerInfo.cs | namespace TableTennisChampionshipMain.ViewModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TableTennisChampionshipMain.Infrastructure;
using TableTennisChampionship.Model.DataBaseModel;
using System.ComponentModel.DataAnnotations;
publi... |
namespace TableTennisChampionshipMain.ViewModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TableTennisChampionshipMain.Infrastructure;
using TableTennisChampionship.Model.DataBaseModel;
using System.ComponentModel.DataAnnotations;
pub... | mit | C# |
ef57b8eec49ca310ba9b6e2c6ace521ccc8443bf | make identity case insensitive | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | core/Engine/Engine.DataTypes/Identity.cs | core/Engine/Engine.DataTypes/Identity.cs | using System;
namespace Engine.DataTypes
{
public class Identity: Tuple<string, string>
{
public string Type => Item1;
public string Id => Item2;
public Identity(string type, string id)
: base(type.ToLower(), id.ToLower())
{
}
public const string Gl... | using System;
namespace Engine.DataTypes
{
public class Identity: Tuple<string, string>
{
public string Type => Item1;
public string Id => Item2;
public Identity(string type, string id)
: base(type, id)
{
}
public const string GlobalIdentityType = "... | mit | C# |
49b1c52df5e8d2bf03768dc35ba6575e88277bc7 | Add `Unmanaged` calling convention (#852) | jbevain/cecil | Mono.Cecil/MethodCallingConvention.cs | Mono.Cecil/MethodCallingConvention.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.
//
namespace Mono.Cecil {
public enum MethodCallingConvention : byte {
Default = 0x0,
C = 0x1,
StdCall = 0x2,
ThisCall = 0x3,
Fast... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
namespace Mono.Cecil {
public enum MethodCallingConvention : byte {
Default = 0x0,
C = 0x1,
StdCall = 0x2,
ThisCall = 0x3,
Fast... | mit | C# |
afd4740c609eafd48ab4cd6a539db47a3ba3778e | Use floats across the camera calculations /2 > 0.5f | paseb/HoloToolkit-Unity,HoloFan/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,willcong/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,dbastienMS/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity | Assets/HoloToolkit/Utilities/Scripts/Extensions/CameraExtensions.cs | Assets/HoloToolkit/Utilities/Scripts/Extensions/CameraExtensions.cs | using UnityEngine;
namespace HoloToolkit.Unity
{
public static class CameraExtensions
{
/// <summary>
/// Get the horizontal FOV from the stereo camera
/// </summary>
/// <returns></returns>
public static float GetHorizontalFieldOfViewRadians(this Camera camera)
... | using UnityEngine;
namespace HoloToolkit.Unity
{
public static class CameraExtensions
{
/// <summary>
/// Get the horizontal FOV from the stereo camera
/// </summary>
/// <returns></returns>
public static float GetHorizontalFieldOfViewRadians(this Camera camera)
... | mit | C# |
a046af0229646421e7c4e2274c8d069b105f9f71 | Clean up. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Fields/ByteArrayFields/UNameField.cs | WalletWasabi/Tor/Socks5/Models/Fields/ByteArrayFields/UNameField.cs | using System.Text;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
namespace WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields
{
public class UNameField : ByteArraySerializableBase
{
public UNameField(byte[] bytes)
{
Bytes = Guard.NotNullOrEmpty(nameof(bytes), bytes);
}
public... | using System.Text;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
namespace WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields
{
public class UNameField : ByteArraySerializableBase
{
#region Constructors
public UNameField(byte[] bytes)
{
Bytes = Guard.NotNullOrEmpty(nameof(bytes... | mit | C# |
10c9b3d971757d12f265e18fcf6c86c4c9d959e4 | Fix Dictionary type to be more useful | ilovepi/Compiler,ilovepi/Compiler | compiler/middleend/ir/ParseResult.cs | compiler/middleend/ir/ParseResult.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace compiler.middleend.ir
{
class ParseResult
{
public Operand Operand { get; set; }
public List<Instruction> Instructions { get; set; }
public Dictionary<int, Ssa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace compiler.middleend.ir
{
class ParseResult
{
public Operand Operand { get; set; }
public List<Instruction> Instructions { get; set; }
public Dictionary<SsaVaria... | mit | C# |
59de17dfb20252c87b83b3f52e738816a8f71315 | Change list to observablecollection | grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager | UI/WPF/Model/UserNode.cs | UI/WPF/Model/UserNode.cs | using System.Collections.ObjectModel;
using DevelopmentInProgress.DipSecure;
namespace DevelopmentInProgress.AuthorisationManager.WPF.Model
{
public class UserNode : EntityBase
{
public UserNode(UserAuthorisation userAuthorisation)
{
UserAuthorisation = userAuthorisation;
... | using System.Collections.Generic;
using DevelopmentInProgress.DipSecure;
namespace DevelopmentInProgress.AuthorisationManager.WPF.Model
{
public class UserNode : EntityBase
{
public UserNode(UserAuthorisation userAuthorisation)
{
UserAuthorisation = userAuthorisation;
... | apache-2.0 | C# |
507b383e5955a7de27905d8093162d6be86c4a13 | Update Bootstrap package in v4 test pages to v4.6.2 | atata-framework/atata-bootstrap,atata-framework/atata-bootstrap | test/Atata.Bootstrap.TestApp/Pages/v4/_Layout.cshtml | test/Atata.Bootstrap.TestApp/Pages/v4/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title - Atata.Bootstrap.TestApp v4</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1Ibc... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPv... | apache-2.0 | C# |
a6f5d3580a8add0633de58571b229715347b8239 | Fix warnings. | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/ClientAuthenticationTest.cs | src/Renci.SshNet.Tests/Classes/ClientAuthenticationTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class ClientAuthenticationTest
{
private ClientAuthentication _clientAuthentication;
[TestInitialize]
public void Init()
{
_cl... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class ClientAuthenticationTest
{
private ClientAuthentication _clientAuthentication;
[TestInitialize]
public void Init()
{
_cl... | mit | C# |
5cc73aa5225de32dbbc4f4a8c8c43be78e00dca9 | Rename "ConstructBuilder" to "FindRequestHandler" as "ConstructBuilder" is a weak name that no longer accurately describes what this does Also more detail in the error message | danhaller/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Ap... | src/SevenDigital.Api.Wrapper/EndpointResolution/RequestCoordinator.cs | src/SevenDigital.Api.Wrapper/EndpointResolution/RequestCoordinator.cs | using System;
using System.Collections.Generic;
using SevenDigital.Api.Wrapper.EndpointResolution.RequestHandlers;
using SevenDigital.Api.Wrapper.Http;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public class RequestCoordinator : IRequestCoordinator
{
private readonly IEnumerable<RequestHandl... | using System;
using System.Collections.Generic;
using SevenDigital.Api.Wrapper.EndpointResolution.RequestHandlers;
using SevenDigital.Api.Wrapper.Http;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public class RequestCoordinator : IRequestCoordinator
{
private readonly IEnumerable<RequestHandl... | mit | C# |
29c7a8df70ea0143ffaa243fa1ff997fd5bb23b8 | fix bug in fal copy. (#1052) | superyyrrzz/docfx,hellosnow/docfx,pascalberger/docfx,superyyrrzz/docfx,DuncanmaMSFT/docfx,dotnet/docfx,928PJY/docfx,pascalberger/docfx,928PJY/docfx,928PJY/docfx,hellosnow/docfx,hellosnow/docfx,superyyrrzz/docfx,DuncanmaMSFT/docfx,dotnet/docfx,LordZoltan/docfx,dotnet/docfx,LordZoltan/docfx,LordZoltan/docfx,pascalberger/... | src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs | src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common
{
using System;
using System.Collections.Immutable;
using System.IO;
public class RealFileWriter : FileWriterBase... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common
{
using System;
using System.Collections.Immutable;
using System.IO;
public class RealFileWriter : FileWriterBase... | mit | C# |
549c76bf53e332658be1965834a8832bdc565fae | Fix type of p4 | setchi/Unity-LineSegmentsIntersection | Assets/LineSegmentIntersection/Scripts/Math2d.cs | Assets/LineSegmentIntersection/Scripts/Math2d.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LineSegmentsIntersection
{
public static class Math2d
{
public static bool LineSegmentsIntersection(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, out Vector2 intersection)
{
intersection = Ve... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LineSegmentsIntersection
{
public static class Math2d
{
public static bool LineSegmentsIntersection(Vector2 p1, Vector2 p2, Vector2 p3, Vector3 p4, out Vector2 intersection)
{
intersection = Ve... | mit | C# |
f1f7f47ce0f653842644e3dfda41c84c22b62b0e | Fix calculation for Room.top & Room.bottom | Saduras/DungeonGenerator | Assets/SourceCode/Room.cs | Assets/SourceCode/Room.cs | using UnityEngine;
public class Room : MonoBehaviour
{
public float width { get { return transform.localScale.x; } }
public float length { get { return transform.localScale.z; } }
public float top
{
get {
return transform.localPosition.z + length / 2;
}
}
public float bottom
{
get {
retur... | using UnityEngine;
public class Room : MonoBehaviour
{
public float width { get { return transform.localScale.x; } }
public float length { get { return transform.localScale.z; } }
public float top
{
get {
return transform.localPosition.z + width / 2;
}
}
public float bottom
{
get {
return... | mit | C# |
abffd8293bec00982d72d40cd986a950d13122fe | Fix fat-finger made before the previous commit | Lunch-box/SimpleOrderRouting | CSharp/SimpleOrderRouting.Journey1/ExecutionState.cs | CSharp/SimpleOrderRouting.Journey1/ExecutionState.cs | namespace SimpleOrderRouting.Journey1
{
public class ExecutionState
{
public ExecutionState(InvestorInstruction investorInstruction)
{
this.Quantity = investorInstruction.Quantity;
this.Price = investorInstruction.Price;
this.Way = investorInstruction.Way;
... | namespace SimpleOrderRouting.Journey1
{
public class ExecutionState
{
public ExecutionState(InvestorInstruction investorInstruction)
{
this.Quantity = investorInstruction.Quantity;
this.Price = investorInstruction.Price;
this.Way = investorInstruction.Way;
... | apache-2.0 | C# |
984f9a550bdbcc5e6c293fa62244b22dc605582f | Fix random power use when cooldown | solfen/Rogue_Cadet | Assets/Scripts/SpecialPowers/PowerRandom.cs | Assets/Scripts/SpecialPowers/PowerRandom.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PowerRandom : BaseSpecialPower {
[SerializeField] private List<BaseSpecialPower> powers;
private BaseSpecialPower activePower = null;
protected override void Start() {
base.Start();
activePower = ... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PowerRandom : BaseSpecialPower {
[SerializeField] private List<BaseSpecialPower> powers;
private BaseSpecialPower activePower = null;
protected override void Start() {
base.Start();
activePower = ... | mit | C# |
167d3b1a6a156463a68513ed6f18cac64a1c4fab | Update WindowsRegistrySettingsServiceOptions.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Settings/WindowsRegistrySettingsServiceOptions.cs | TIKSN.Framework.Core/Settings/WindowsRegistrySettingsServiceOptions.cs | using Microsoft.Win32;
namespace TIKSN.Settings
{
public class WindowsRegistrySettingsServiceOptions
{
public WindowsRegistrySettingsServiceOptions() => this.RegistryView = RegistryView.Default;
public RegistryView RegistryView { get; set; }
public string SubKey { get; set; }
}
}... | using Microsoft.Win32;
namespace TIKSN.Settings
{
public class WindowsRegistrySettingsServiceOptions
{
public WindowsRegistrySettingsServiceOptions()
{
RegistryView = RegistryView.Default;
}
public RegistryView RegistryView { get; set; }
public string SubK... | mit | C# |
afb15950afb313a4f26bfdbb39d0666f6500485d | Improve ToString when Id is null | drewnoakes/dasher | Dasher.Schemata/Schema.cs | Dasher.Schemata/Schema.cs | using System.Collections.Generic;
using System.Xml.Linq;
using JetBrains.Annotations;
namespace Dasher.Schemata
{
public interface IWriteSchema
{
/// <summary>
/// Creates a deep copy of this schema within <paramref name="collection"/>.
/// </summary>
/// <param name="collection... | using System.Collections.Generic;
using System.Xml.Linq;
using JetBrains.Annotations;
namespace Dasher.Schemata
{
public interface IWriteSchema
{
/// <summary>
/// Creates a deep copy of this schema within <paramref name="collection"/>.
/// </summary>
/// <param name="collection... | apache-2.0 | C# |
f3dd77c8eb02a7212495eb29692d22f50156aff7 | Use HashSet to ensure no duplicate collidingObjects | JScott/ViveGrip | Assets/ViveGrip/Scripts/Internal/ViveGrip_TouchDetection.cs | Assets/ViveGrip/Scripts/Internal/ViveGrip_TouchDetection.cs | using UnityEngine;
using System.Collections.Generic;
public class ViveGrip_TouchDetection : MonoBehaviour {
private HashSet<ViveGrip_Object> collidingObjects = new HashSet<ViveGrip_Object>();
void Start () {
GetComponent<SphereCollider>().isTrigger = true;
}
void OnTriggerEnter(Collider other) {
Viv... | using UnityEngine;
using System.Collections.Generic;
public class ViveGrip_TouchDetection : MonoBehaviour {
private List<ViveGrip_Object> collidingObjects = new List<ViveGrip_Object>();
void Start () {
GetComponent<SphereCollider>().isTrigger = true;
}
void OnTriggerEnter(Collider other) {
ViveGrip_... | mit | C# |
740a6d9bb52fd9ea8894de60df87f585a91db7d8 | Support full range of comparison operators instead of IndexOf | adoprog/Sitecore-Mobile-Device-Detector | MobileDeviceDetector/Rules/Conditions/UserAgentCondition.cs | MobileDeviceDetector/Rules/Conditions/UserAgentCondition.cs | namespace Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions
{
using System;
using System.Web;
using Sitecore.Diagnostics;
using Sitecore.Rules;
using Sitecore.Rules.Conditions;
/// <summary>
/// UserAgentCondition
/// </summary>
/// <typeparam name="T"></typeparam>
public class UserAgent... | namespace Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions
{
using System;
using System.Web;
using Sitecore.Diagnostics;
using Sitecore.Rules;
using Sitecore.Rules.Conditions;
/// <summary>
/// UserAgentCondition
/// </summary>
/// <typeparam name="T"></typeparam>
public class UserAgent... | mit | C# |
795d109e9dfeab2eb1c3bbf1c893a0f6399edf7c | Fix twitter issue | libertyernie/WeasylSync | CrosspostSharp3/Program.cs | CrosspostSharp3/Program.cs | using ISchemm.WinFormsOAuth;
using Newtonsoft.Json;
using SourceWrappers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Tweetinvi;
using Tweetinvi.Logic.JsonConverters;
using Tweetinvi.Models;
namespace CrosspostSharp3 {
public clas... | using ISchemm.WinFormsOAuth;
using SourceWrappers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Tweetinvi;
namespace CrosspostSharp3 {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </s... | mit | C# |
d5e9c87364684e0d63525cb50ea72fe251f29d69 | Update AssemblyInfo.cs | mattyway/Hangfire.Autofac,HangfireIO/Hangfire.Autofac | HangFire.Autofac/Properties/AssemblyInfo.cs | HangFire.Autofac/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("HangFire.Autofac")]
[assembly: AssemblyDe... | 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("HangFire.Autofac")]
[assembly: AssemblyDe... | mit | C# |
a906a002cc2f94ffd724e4b46d1ee81a0d17f529 | Remove empty navigation list in anydiff module (invalid HTML). | dokipen/trac,dafrito/trac-mirror,exocad/exotrac,exocad/exotrac,exocad/exotrac,moreati/trac-gitsvn,moreati/trac-gitsvn,moreati/trac-gitsvn,moreati/trac-gitsvn,dafrito/trac-mirror,dokipen/trac,exocad/exotrac,dokipen/trac,dafrito/trac-mirror,dafrito/trac-mirror | templates/anydiff.cs | templates/anydiff.cs | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav"></div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.changeset_href ?>" method="get">
<table>
<tr>
<th><label for="old_path">From:</... | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav">
<h2>Navigation</h2><?cs
with:links = chrome.links ?>
<ul>
</ul><?cs
/with ?>
</div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.change... | bsd-3-clause | C# |
f3f165efa8806d490f87820ab4e72257d25bf72c | fix compression mode message | SignalGo/SignalGo-full-net | SignalGo.Shared/IO/Compressions/CompressionHelper.cs | SignalGo.Shared/IO/Compressions/CompressionHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SignalGo.Shared.IO.Compressions
{
public static class CompressionHelper
{
public static ICompression GetCompression(CompressMode compressMode, Func<ICompression> getCustomCompression)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SignalGo.Shared.IO.Compressions
{
public static class CompressionHelper
{
public static ICompression GetCompression(CompressMode compressMode, Func<ICompression> getCustomCompression)
{
... | mit | C# |
ef59521848f3dd54abd3acc986f711af4617d2c4 | Update String-Reversal.cs | DeanCabral/Code-Snippets | Console/String-Reversal.cs | Console/String-Reversal.cs | class StringReversal
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
Console.Write("Enter a word: ");
input = Console.ReadLine();
Console.WriteLine("The revers... | class StringReversal
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
Console.Write("Enter a word: ");
input = Console.ReadLine();
Console.WriteLine("The revers... | mit | C# |
176b9b16e8bde46d31f4d7e3bb490727233dc3cd | Write files without BOM | paulroho/ConvertToUtf8 | ConvertToUtf8/Converter.cs | ConvertToUtf8/Converter.cs | using System;
using System.IO;
using System.Text;
namespace ConvertToUtf8
{
public interface IConverter
{
void ConvertFile(string inputFile, string outputFile);
void ConvertFiles(string folder);
}
public class Converter : IConverter
{
public void ConvertFile(string inputFi... | using System;
using System.IO;
using System.Text;
namespace ConvertToUtf8
{
public interface IConverter
{
void ConvertFile(string inputFile, string outputFile);
void ConvertFiles(string folder);
}
public class Converter : IConverter
{
public void ConvertFile(string inputFi... | mit | C# |
57b0821e19d6d54ca7c83e7ffb74f43605846e8b | Revert "Rewrite folder write permission check to hopefully make it more reliable" | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Utils/WindowsUtils.cs | Core/Utils/WindowsUtils.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
Auth... | using System.Diagnostics;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
AuthorizationRuleCollec... | mit | C# |
952d46f58f6a5159ab10c90b148fcbd2b566b63c | Add Positions body param to PlaylistRemoveItemsRequest, #501 | JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET | SpotifyAPI.Web/Models/Request/PlaylistRemoveItemsRequest.cs | SpotifyAPI.Web/Models/Request/PlaylistRemoveItemsRequest.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SpotifyAPI.Web
{
public class PlaylistRemoveItemsRequest : RequestParams
{
/// <summary>
/// An array of objects containing Spotify URIs of the tracks or episodes to remove.
/// For example: { "tracks": [{ "uri": "spotify:track:4iV5W9uY... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SpotifyAPI.Web
{
public class PlaylistRemoveItemsRequest : RequestParams
{
/// <summary>
///
/// </summary>
/// <param name="tracks">
/// An array of objects containing Spotify URIs of the tracks or episodes to remove.
/// F... | mit | C# |
b8e1d50d0dc82932579020b832a1603920bce1a9 | Add Timeout | maxpiva/Nancy.Rest.Annotations | Atributes/Rest.cs | Atributes/Rest.cs | using System;
using Nancy.Rest.Annotations.Enums;
namespace Nancy.Rest.Annotations.Atributes
{
[AttributeUsage(AttributeTargets.Method)]
public class Rest : Attribute
{
public Verbs Verb { get; set; }
public string Route { get; set; }
public string ResponseContentType { get; set; }... | using System;
using Nancy.Rest.Annotations.Enums;
namespace Nancy.Rest.Annotations.Atributes
{
[AttributeUsage(AttributeTargets.Method)]
public class Rest : Attribute
{
public Verbs Verb { get; set; }
public string Route { get; set; }
public string ResponseContentType { get; set; }... | mit | C# |
39cfe75b9c2857f54b67fbb2aee1971bdece8cd3 | Fix typo in OnboardingRead and add SettlementsRead | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Connect/AppPermissions.cs | Mollie.Api/Models/Connect/AppPermissions.cs | namespace Mollie.Api.Models.Connect {
public static class AppPermissions {
public const string PaymentsRead = "payments.read";
public const string PaymentsWrite = "payments.write";
public const string RefundsRead = "refunds.read";
public const string RefundsWrite = "refunds.write";
... | namespace Mollie.Api.Models.Connect {
public static class AppPermissions {
public const string PaymentsRead = "payments.read";
public const string PaymentsWrite = "payments.write";
public const string RefundsRead = "refunds.read";
public const string RefundsWrite = "refunds.write";
... | mit | C# |
c14923f50b7de89b77ff324e85966542bc39e64b | add top script section in layout | mruhul/workshop-carsales-web-mvc,mruhul/workshop-carsales-web-mvc | Src/Carsales.Web/Features/Shared/Views/_Layout.cshtml | Src/Carsales.Web/Features/Shared/Views/_Layout.cshtml | @{
Layout = "~/Features/Shared/Views/_LayoutBasic.cshtml";
}
@if (IsSectionDefined("Head"))
{
@RenderSection("Head")
}
@if (IsSectionDefined("Styles"))
{
@RenderSection("Styles")
}
@if (IsSectionDefined("TopScripts"))
{
@RenderSection("TopScripts")
}
@{
Html.RenderPartial("_Header");
}
<section>
... | @{
Layout = "~/Features/Shared/Views/_LayoutBasic.cshtml";
}
@if (IsSectionDefined("Head"))
{
@RenderSection("Head")
}
@if (IsSectionDefined("Styles"))
{
@RenderSection("Styles")
}
@{
Html.RenderPartial("_Header");
}
<section>
@RenderBody()
</section>
@{
Html.RenderPartial("_Footer");
}
@if (Is... | mit | C# |
ed7382495a1b6608b108eb60c9507e2f6eec70b0 | Use BinaryReferenceAdapter | BenPhegan/NuGet.Extensions | NuGet.Extensions/Commands/ProjectAdapter.cs | NuGet.Extensions/Commands/ProjectAdapter.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Evaluation;
namespace NuGet.Extensions.Commands
{
public class ProjectAdapter : IProjectAdapter
{
private readonly Project _project;
private readonly string _packagesConfigFilename;
public Proje... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Evaluation;
namespace NuGet.Extensions.Commands
{
public class ProjectAdapter : IProjectAdapter
{
private readonly Project _project;
private readonly string _packagesConfigFilename;
public Proje... | mit | C# |
c420f373a5ddc8050a2d3f419282feb2c41326fa | Add warning message to ensure user is running the Azure Emulator | endjin/Endjin.Cancelable,endjin/Endjin.Cancelable | Solutions/Endjin.Cancelable.Demo/Program.cs | Solutions/Endjin.Cancelable.Demo/Program.cs | namespace Endjin.Cancelable.Demo
{
#region Using Directives
using System;
using System.Threading;
using System.Threading.Tasks;
using Endjin.Contracts;
using Endjin.Core.Composition;
using Endjin.Core.Container;
#endregion
public class Program
{
public static void Ma... | namespace Endjin.Cancelable.Demo
{
#region Using Directives
using System;
using System.Threading;
using System.Threading.Tasks;
using Endjin.Contracts;
using Endjin.Core.Composition;
using Endjin.Core.Container;
#endregion
public class Program
{
public static void Ma... | mit | C# |
9fff029b1be5ab035306d41c31026ba402e17735 | Fix formating | wojtpl2/ExtendedXmlSerializer,wojtpl2/ExtendedXmlSerializer | test/ExtendedXmlSerializer.Tests.Performance/LegacyExtendedXmlSerializerTest.cs | test/ExtendedXmlSerializer.Tests.Performance/LegacyExtendedXmlSerializerTest.cs | // MIT License
//
// Copyright (c) 2016-2018 Wojciech Nagórski
// Michael DeMond
//
// 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 witho... | // MIT License
//
// Copyright (c) 2016-2018 Wojciech Nagórski
// Michael DeMond
//
// 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 witho... | mit | C# |
c564dbfee18223c073e2394751f61392253a0805 | Update Account.cs | minhjemmesiden/Wakfusharp | Database/Models/Account.cs | Database/Models/Account.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;
namespace WakSharp.Database.Models
{
public class Account : Interfaces.IIdentificable
{
public int ID { get; set; }
public string Username { get; set; }
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;
namespace WakSharp.Database.Models
{
public class Account : Interfaces.IIdentificable
{
public int ID { get; set; }
public string Username { get; set; }
public string Pa... | mit | C# |
9c13ce4f12dc74684255551f3041a5e7d57d32ea | Add script to rotate camera | LucasBocanegra/unit-maze | Assets/Scripts/CameraController.cs | Assets/Scripts/CameraController.cs | using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour
{
public GameObject player;
float speed = 10f;
private Vector3 offset;
void Start()
{
transform.rotation = Quaternion.Euler(0, 0, 0);
player.transform.rotation = Quaternion.Euler(0, (180), 0);
offset = transform.po... | using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour
{
public GameObject player;
float speed = 2f; //10f;
private Vector3 offset;
void Start()
{
offset = transform.position - player.transform.position;
}
//private float speed = 2.0f;
/* void Update()
... | mit | C# |
db23c75a04eb6433f06485e0330150a9f5313f14 | Fix Climb -> Ladder | bunashibu/kikan | Assets/Scripts/SyncBattlePlayer.cs | Assets/Scripts/SyncBattlePlayer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
public class SyncBattlePlayer : MonoBehaviour {
void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) {
if (stream.isWriting) {
stream.SendNext(_renderer.flipX);
str... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
public class SyncBattlePlayer : MonoBehaviour {
void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) {
if (stream.isWriting) {
stream.SendNext(_renderer.flipX);
str... | mit | C# |
d131cf24f0be5eb9c79c7eaa7e390b78a9303b7c | Add input param. logger and get test string from cmd line | davidebbo/OutgoingHttpRequestWebJobsExtension | ExtensionSample/Program.cs | ExtensionSample/Program.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.Collections.Generic;
using System.IO;
using Microsoft.Azure.WebJobs;
using OutgoingHttpRequestWebJobsExtension;
namespace ExtensionsSample
{
public s... | // 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 System.Diagnostics;
using System.IO;
using System.Net.Mail;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions;
using Microsof... | apache-2.0 | C# |
855e6642449e261f8484ab40b4af28790328c082 | Add IEquatable | peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Colour/Colour4.cs | osu.Framework/Graphics/Colour/Colour4.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace osu.Framework.Graphics.Colour
{
public readonly struct Colour4 : IEquatable<Colour4>
{
/// <summary>
/// Represents the r... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Graphics.Colour
{
public readonly struct Colour4
{
/// <summary>
/// Represents the red component of the linear RGBA colou... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.