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 |
|---|---|---|---|---|---|---|---|---|
9d7615a19fa71815f90b7ac0da12cf8b110a6927 | Test that user is not null | jhofker/SmugSharp | SmugSharpTest/SmugMugUnitTests.cs | SmugSharpTest/SmugMugUnitTests.cs | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SmugSharp;
namespace SmugSharpTest
{
[TestClass]
public class UnitTest1
{
private string ApiKey { get { return Configuration.Authentication.ApiKey; } }
private string ApiSecret { get { return C... | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SmugSharp;
namespace SmugSharpTest
{
[TestClass]
public class UnitTest1
{
private string ApiKey { get { return Configuration.Authentication.ApiKey; } }
private string ApiSecret { get { return C... | mit | C# |
9e0aee6d8b42eb87a9d9d8c5857df3d7d4baf08d | add code generation to PieSlice | GeertvanHorrik/oxyplot,Kaplas80/oxyplot,objorke/oxyplot,NilesDavis/oxyplot,objorke/oxyplot,shoelzer/oxyplot,GeertvanHorrik/oxyplot,DotNetDoctor/oxyplot,DotNetDoctor/oxyplot,Isolocis/oxyplot,HermanEldering/oxyplot,oxyplot/oxyplot,Kaplas80/oxyplot,olegtarasov/oxyplot,olegtarasov/oxyplot,Jofta/oxyplot,ze-pequeno/oxyplot,G... | Source/OxyPlot/Series/PieSlice.cs | Source/OxyPlot/Series/PieSlice.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PieSlice.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Represent a slice of a <see cref="PieSeries" />.
// </summary>
// --... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PieSlice.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Represent a slice of a <see cref="PieSeries" />.
// </summary>
// --... | mit | C# |
c2fe56838b15a251a6ea69b9fd646fa1003072e8 | Add more methods to sort by | It423/todo-list,wrightg42/todo-list | Todo-List/Todo-List/NoteSorter.cs | Todo-List/Todo-List/NoteSorter.cs | // NoteSorter.cs
// <copyright file="NoteSorter.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace Todo_List
{
/// <summary>
/// A static class containing a list of notes and methods for sorting them.
/// </summary>
public sta... | // NoteSorter.cs
// <copyright file="NoteSorter.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace Todo_List
{
/// <summary>
/// A static class containing a list of notes and methods for sorting them.
/// </summary>
public sta... | mit | C# |
80f7e45a25253f650f4cab6f084dee0a720ba391 | Change Backend events to virtual | mminns/xwt,antmicro/xwt,mono/xwt,sevoku/xwt,hwthomas/xwt,iainx/xwt,directhex/xwt,TheBrainTech/xwt,residuum/xwt,steffenWi/xwt,mminns/xwt,akrisiun/xwt,lytico/xwt,cra0zy/xwt,hamekoz/xwt | Xwt.WPF/Xwt.WPFBackend/Backend.cs | Xwt.WPF/Xwt.WPFBackend/Backend.cs | //
// Backend.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// 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,... | //
// Backend.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// 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,... | mit | C# |
395ce12c55e48d0b317a01067fbb8de534a0162a | use interface for concrete tree | b3b00/csly,b3b00/sly | cpg/parser/parsgenerator/generator/ConcreteSyntaxTreeVisitor.cs | cpg/parser/parsgenerator/generator/ConcreteSyntaxTreeVisitor.cs | using System;
using parser.parsergenerator.syntax;
using System.Collections.Generic;
using cpg.parser.parsgenerator.syntax;
namespace parser.parsergenerator.generator
{
public class ConcreteSyntaxTreeVisitor<T>
{
public Type ParserClass { get; set; }
public ParserConfiguration<T> Configurati... | using System;
using parser.parsergenerator.syntax;
using System.Collections.Generic;
using cpg.parser.parsgenerator.syntax;
namespace parser.parsergenerator.generator
{
public class ConcreteSyntaxTreeVisitor<T>
{
public Type ParserClass { get; set; }
public ParserConfiguration<T> Configurati... | mit | C# |
b791a6a62f292b2403eda68559d2e3d947c32dae | Fix scanning for MyGet versions | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Tooling/LatestMyGetVersionAttribute.cs | source/Nuke.Common/Tooling/LatestMyGetVersionAttribute.cs | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Common.Utilities;
using Nuke.Common.ValueInjection;
namespace ... | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Common.Utilities;
using Nuke.Common.ValueInjection;
namespace ... | mit | C# |
3364ccf655bfe427ddf9b59bace24e26ff43b235 | Add test for multiple items | dsolovay/AutoSitecore | src/AutoSitecoreUnitTest/AutoSitecoreCustomizationTest.cs | src/AutoSitecoreUnitTest/AutoSitecoreCustomizationTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoSitecore;
using FluentAssertions;
using NSubstitute;
using Ploeh.AutoFixture;
using Sitecore;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Globalization;
using Xunit;
using Xu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoSitecore;
using FluentAssertions;
using NSubstitute;
using Ploeh.AutoFixture;
using Sitecore;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Globalization;
using Xunit;
using Xu... | mit | C# |
b177085b32f28e297f722a1d06d670c9a3865c52 | Fix question submission truncation bug | CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom | Services/src/CSClassroom/CSClassroom.WebApp/Views/Shared/_CodeEditor.cshtml | Services/src/CSClassroom/CSClassroom.WebApp/Views/Shared/_CodeEditor.cshtml | @model CodeEditorSettings
@if (Model.TextArea)
{
<textarea name="@Model.EditorName" style="display: none"></textarea>
}
<div id="wrapper-@Model.EditorName"></div>
<script>
function createEditor(text) {
$('#wrapper-@Model.EditorName').html('<pre id="@Model.EditorName"></pre>');
$('#@Model.Edit... | @model CodeEditorSettings
@if (Model.TextArea)
{
<textarea name="@Model.EditorName" style="display: none"></textarea>
}
<div id="wrapper-@Model.EditorName"></div>
<script>
function createEditor(text)
{
$('#wrapper-@Model.EditorName').html('<pre id="@Model.EditorName">' + (text != null ? text : ''... | mit | C# |
2c68ba879ac9c2dab343b160c814861274c1c180 | comment out for now | aritchie/userdialogs | src/Acr.UserDialogs.Android/Fragments/LoadingFragment.cs | src/Acr.UserDialogs.Android/Fragments/LoadingFragment.cs | //using System;
//using Android.Content;
//using Android.OS;
//using Android.Support.V7.App;
//using AndroidHUD;
//namespace Acr.UserDialogs.Fragments
//{
// public class LoadingFragment : AppCompatDialogFragment
// {
// public ProgressDialog Config { get; set; }
// public override void OnSaveIn... | using System;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Support.V7.App;
using AndroidHUD;
namespace Acr.UserDialogs.Fragments
{
public class LoadingFragment : AppCompatDialogFragment
{
public ProgressDialog Config { get; set; }
public override void OnSaveInsta... | mit | C# |
fa2d262146a3924403487fbc6153b3af9fec2237 | Update commented-out Database.SetInitializer | shrishrirang/azure-mobile-apps-quickstarts,Azure/azure-mobile-apps-quickstarts,shrishrirang/azure-mobile-apps-quickstarts,Azure/azure-mobile-apps-quickstarts,Azure/azure-mobile-apps-quickstarts,shrishrirang/azure-mobile-apps-quickstarts,lindydonna/azure-mobile-apps-quickstarts,Azure/azure-mobile-apps-quickstarts,Azure/... | backend/dotnet/Quickstart/ZUMOAPPNAMEService/App_Start/Startup.MobileApp.cs | backend/dotnet/Quickstart/ZUMOAPPNAMEService/App_Start/Startup.MobileApp.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server.Config;
using ZUMOAPPNAMEService.DataObjects;
using ZUMOAPPNAMEService.Models;
using Owin;
namespace ZUMOAPPNAMEService
{
public partial class Startup
{
public static vo... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server.Config;
using ZUMOAPPNAMEService.DataObjects;
using ZUMOAPPNAMEService.Models;
using Owin;
namespace ZUMOAPPNAMEService
{
public partial class Startup
{
public static vo... | apache-2.0 | C# |
f23e39237915011dfb7aed406f11805fb9a8a3c3 | Add method to GetPresignedUrlRequest and update to class | carbon/Amazon | src/Amazon.S3/Actions/GetUrlRequest.cs | src/Amazon.S3/Actions/GetUrlRequest.cs | using System;
namespace Amazon.S3
{
public class GetPresignedUrlRequest
{
public GetPresignedUrlRequest(
string method,
string host,
AwsRegion region,
string bucketName,
string objectKey,
TimeSpan expiresIn)
{
... | using System;
namespace Amazon.S3
{
public readonly struct GetPresignedUrlRequest
{
public GetPresignedUrlRequest(
string host,
AwsRegion region,
string bucketName,
string objectKey,
TimeSpan expiresIn)
{
... | mit | C# |
8b2d18503e583d538099f7aa63c8c04d4c91cbe7 | bump to 1.0 | jorisvergeer/Envify,Fody/Stamp | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Stamp")]
[assembly: AssemblyProduct("Stamp")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Stamp")]
[assembly: AssemblyProduct("Stamp")]
[assembly: AssemblyVersion("0.8.3")]
[assembly: AssemblyFileVersion("0.8.3")]
| mit | C# |
483db14ff75496ae46d088373d4fce997e8c6924 | Change library version to 0.8.1 | CurrencyCloud/currencycloud-net | Source/CurrencyCloud/Properties/AssemblyInfo.cs | Source/CurrencyCloud/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("CurrencyCloud")]
[assembly: AssemblyDescr... | 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("CurrencyCloud")]
[assembly: AssemblyDescr... | mit | C# |
c7ad9b5b5822866473489b97e5279fcd1a121e65 | Update SerializationRestFactory.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/SerializationRestFactory.cs | TIKSN.Core/Web/Rest/SerializationRestFactory.cs | using System;
using System.Collections.Generic;
using TIKSN.Serialization;
namespace TIKSN.Web.Rest
{
public class SerializationRestFactory : ISerializerRestFactory, IDeserializerRestFactory
{
private readonly IDictionary<string, Tuple<ISerializer<string>, IDeserializer<string>>> map;
public ... | using System;
using System.Collections.Generic;
using TIKSN.Serialization;
namespace TIKSN.Web.Rest
{
public class SerializationRestFactory : ISerializerRestFactory, IDeserializerRestFactory
{
private readonly IDictionary<string, Tuple<ISerializer<string>, IDeserializer<string>>> map;
public ... | mit | C# |
ff781b5fd5d8728fec8cc0aa7a68dcefb4e99d38 | change metadata documentation for parameter | dgg/NMoneys.Web,dgg/NMoneys.Web,dgg/NMoneys.Web | src/Web/Api/v1/Messages/MultiFormat.cs | src/Web/Api/v1/Messages/MultiFormat.cs | using NMoneys.Web.ApiModel.v1.Datatypes;
using NMoneys.Web.ApiModel.v1.Messages;
using ServiceStack.ServiceHost;
namespace NMoneys.Web.Api.v1.Messages
{
[Route("/v1/currencies/format", "POST", Summary = "")]
[Api("Allows formatting monetary amounts according to their currencies.")]
public class MultiFormat : IRetu... | using NMoneys.Web.ApiModel.v1.Datatypes;
using NMoneys.Web.ApiModel.v1.Messages;
using ServiceStack.ServiceHost;
namespace NMoneys.Web.Api.v1.Messages
{
[Route("/v1/currencies/format", "POST", Summary = "")]
[Api("Allows formatting monetary amounts according to their currencies.")]
public class MultiFormat : IRetu... | bsd-2-clause | C# |
59dd401b7a25a53fdf294568a9742dea66f0d566 | Add agent to web owin middleware | pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototyp... | src/Glimpse.Host.Web.Owin/GlimpseMiddleware.cs | src/Glimpse.Host.Web.Owin/GlimpseMiddleware.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Glimpse.Host.Web.Owin.Framework;
using Glimpse.Agent.Web;
namespace Glimpse.Host.Web.Owin
{
public class GlimpseMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _innerNext;
private readonly... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Glimpse.Host.Web.Owin.Framework;
namespace Glimpse.Host.Web.Owin
{
public class GlimpseMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _innerNext;
public GlimpseMiddleware(Func<IDictionar... | mit | C# |
94fab797716895235e2c9dd3c47355d29bfc38b7 | Add some cool docs about IDynamicEndpointMetadata. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Http/Routing/src/Matching/MatcherPolicy.cs | src/Http/Routing/src/Matching/MatcherPolicy.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing.Matching;
namespace Microsoft.AspNe... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing.Matching;
namespace Microsoft.AspNe... | apache-2.0 | C# |
f87e9b801716136e0ad43d124bc1b312b5b6212f | Remove unnecessary tooltip text | ZLima12/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,ppy/osu,2y... | osu.Game/Overlays/Profile/Sections/BeatmapMetadataContainer.cs | osu.Game/Overlays/Profile/Sections/BeatmapMetadataContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Graphics.Containers;
name... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Graphics.Containers;
name... | mit | C# |
6b2885a80be20f116e0a5207c4694ff5434cd7bd | Bump version number | chriscena/Helsenorge.Messaging | GlobalAssemblyInfo.cs | GlobalAssemblyInfo.cs | using System;
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: Asse... | using System;
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: Asse... | mit | C# |
83e908fc2d05a0867216f48cf5def8db86419b6a | add indexer to PipelineContext (as before) | dotJEM/web-host,dotJEM/web-host,dotJEM/web-host | src/DotJEM.Web.Host/Providers/AsyncPipeline/IPipelineContext.cs | src/DotJEM.Web.Host/Providers/AsyncPipeline/IPipelineContext.cs | using System;
using System.Collections.Generic;
namespace DotJEM.Web.Host.Providers.AsyncPipeline
{
public interface IPipelineContext
{
object this[string key] { get; set; }
bool TryGetValue(string key, out object value);
object GetParameter(string key);
IPipelineContext Rep... | using System;
using System.Collections.Generic;
namespace DotJEM.Web.Host.Providers.AsyncPipeline
{
public interface IPipelineContext
{
bool TryGetValue(string key, out object value);
object GetParameter(string key);
IPipelineContext Replace(params (string key, object value)[] values... | mit | C# |
7f1f8e56260a92096673d69a0549804e7a3c5fa1 | Use FontAwesome icons as bullets in Resources list | codingteam/codingteam.org.ru,codingteam/codingteam.org.ru | Views/Home/Resources.cshtml | Views/Home/Resources.cshtml | <h1>Resources</h1>
<p>Here is a list of codingteam affiliated online resources:</p>
<ul class="fa-ul">
<li>
<a href="https://github.com/codingteam/">
<i class="fa-li fa fa-github"></i> GitHub organization
</a>
</li>
<li>
<a href="https://gitter.im/codingteam">
... | <h1>Resources</h1>
<p>Here is a list of codingteam affiliated online resources:</p>
<ul>
<li>
<a href="https://github.com/codingteam/">
<i class="fa fa-github"></i> GitHub organization
</a>
</li>
<li>
<a href="https://gitter.im/codingteam">
<i class="fa fa-u... | mit | C# |
dce45bb2d19af726baabd75203075c91d4794d78 | Add test for anonymous type and InternalsVisibleTo | ProxyFoo/ProxyFoo | source/ProxyFoo.Tests/Functional/DuckUseCaseTests.cs | source/ProxyFoo.Tests/Functional/DuckUseCaseTests.cs | #region Apache License Notice
// Copyright © 2014, Silverlake Software LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | #region Apache License Notice
// Copyright © 2014, Silverlake Software LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | apache-2.0 | C# |
069f299b8a78e3bcadd52bb5bfc18429ff7fe4a0 | Remove duplicated CornerRadius | jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,grokys/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,SuperJMN/Avalonia,SuperJ... | src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs | src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs | using System;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Platform;
using Avalonia.Controls.Primitives;
using Avalonia.LogicalTree;
namespace Avalonia.Controls
{
public class MenuFlyoutPresenter : MenuBase
{
public MenuFlyoutPresenter()
:base(new DefaultMenuInteractionHandl... | using System;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Platform;
using Avalonia.Controls.Primitives;
using Avalonia.LogicalTree;
namespace Avalonia.Controls
{
public class MenuFlyoutPresenter : MenuBase
{
public static readonly StyledProperty<CornerRadius> CornerRadiusProperty =
... | mit | C# |
c2fd2466dc6cafbabdec5dce35f0ca20df6bb388 | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
57e9fa2c5be57b1f50ebfc49d74ea8f26cf62433 | Update Assets/MixedRealityToolkit/Utilities/CameraCache.cs | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Utilities/CameraCache.cs | Assets/MixedRealityToolkit/Utilities/CameraCache.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// The purpose of this class is to provide a cached reference to the ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// The purpose of this class is to provide a cached reference to the ... | mit | C# |
ffa9d6c7c512b7716465872c1e83f9000e71fc78 | Fix crash editing artifact | ermshiperete/BuildDependency | BuildDependencyManager/Dialogs/ImportDialogModel.cs | BuildDependencyManager/Dialogs/ImportDialogModel.cs | // Copyright (c) 2014-2015 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BuildDependency.TeamCity;
using BuildDependency.TeamCity.RestClasses;
namespace BuildDependency.Manag... | // Copyright (c) 2014-2015 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BuildDependency.TeamCity;
using BuildDependency.TeamCity.RestClasses;
namespace BuildDependency.Manag... | mit | C# |
2055625c6d48cd662849598dfc2a58ca2da19583 | Update AlphaStreamsSlippageModel.cs | JKarathiya/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,JKarathiya/Lean,AlexCatarino/Lean,QuantConnect/Lean,AlexCatarino/Lean,QuantConnect/Lean,QuantConnect/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,jameschch/Lean,QuantConnect/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,jameschch/Lean,jameschch/Lean,jameschch/Lean... | Common/Orders/Slippage/AlphaStreamsSlippageModel.cs | Common/Orders/Slippage/AlphaStreamsSlippageModel.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | apache-2.0 | C# |
1aebb2c09685ae7a1fa99b364ef73daa9c898aba | simplify build script | hpcsc/Sharpenter.BootstrapperLoader | build.cake.cs | build.cake.cs | using System.Diagnostics;
using IO = System.IO;
using System.Linq;
var target = Argument("target", "Default");
var buildConfiguration = "Release";
var solutionFile = "Sharpenter.BootstrapperLoader.sln";
var mainProject = "./Sharpenter.BootstrapperLoader";
var testProject = "./Sharpenter.BootstrapperLoader.Tests";
Tas... | using System.Diagnostics;
using IO = System.IO;
using System.Linq;
var target = Argument("target", "Default");
var buildConfiguration = "Release";
var solutionFile = "Sharpenter.BootstrapperLoader.sln";
var mainProject = "Sharpenter.BootstrapperLoader";
var testProject = "Sharpenter.BootstrapperLoader.Tests";
void Bu... | mit | C# |
76d90d39f9bceaa92499d01b222e66067816ba3f | Disable tinting option on Android | shrutinambiar/xamarin-forms-tinted-image | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.Droid/TintedImageRenderer.cs | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.Droid/TintedImageRenderer.cs | using System;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using System.ComponentModel;
using CrossPlatformTintedImage;
using CrossPlatformTintedImage.Droid;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPl... | using System;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using System.ComponentModel;
using CrossPlatformTintedImage;
using CrossPlatformTintedImage.Droid;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPl... | mit | C# |
1af077f8a6e23e3b9342fce553f97bae7a3b802f | Use Interlocked | tmds/Tmds.DBus | PendingCall.cs | PendingCall.cs | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Threading;
namespace NDesk.DBus
{
class PendingCall
{
Connection conn;
Message reply = null;
object lockObj = new object ();
public PendingCall (Connec... | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Threading;
namespace NDesk.DBus
{
class PendingCall
{
Connection conn;
Message reply = null;
object lockObj = new object ();
public PendingCall (Connec... | mit | C# |
c35b891381ea4638f65ebb532643731ec84b07a5 | Add support for OAuth | chuggafan/RedditSharp-1,ekaralar/RedditSharpWindowsStore,pimanac/RedditSharp,nyanpasudo/RedditSharp,RobThree/RedditSharp,IAmAnubhavSaini/RedditSharp,SirCmpwn/RedditSharp,angelotodaro/RedditSharp,CrustyJew/RedditSharp,tomnolan95/RedditSharp,theonlylawislove/RedditSharp,epvanhouten/RedditSharp,Jinivus/RedditSharp,justcoo... | RedditSharp/IWebAgent.cs | RedditSharp/IWebAgent.cs | using System.IO;
using System.Net;
namespace RedditSharp
{
public interface IWebAgent
{
CookieContainer Cookies { get; set; }
string AuthCookie { get; set; }
string AccessToken { get; set; }
HttpWebRequest CreateRequest(string url, string method);
HttpWebRequest CreateG... | using System.IO;
using System.Net;
namespace RedditSharp
{
public interface IWebAgent
{
CookieContainer Cookies { get; set; }
string AuthCookie { get; set; }
HttpWebRequest CreateRequest(string url, string method);
HttpWebRequest CreateGet(string url);
HttpWebRequest Cr... | mit | C# |
111205d2e67ce235e30471ea72260e70578a1075 | Fix failing test | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Core/Addml/Processes/AnalyseCountRecordsTest.cs | src/Arkivverket.Arkade.Test/Core/Addml/Processes/AnalyseCountRecordsTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Core.Addml;
using Arkivverket.Arkade.Core.Addml.Definitions;
using Arkivverket.Arkade.Core.Addml.Processes;
using Arkivverket.Arkade.Test.Core.Addm... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Core.Addml;
using Arkivverket.Arkade.Core.Addml.Definitions;
using Arkivverket.Arkade.Core.Addml.Processes;
using Arkivverket.Arkade.Test.Core.Addm... | agpl-3.0 | C# |
eeaeafe040120c41239523ae97b2f28e71befb7e | Mark render start point as graph part (obviously) | id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv | Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs | Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FeralTic.DX11;
namespace VVVV.DX11
{
public interface IAttachableWindow
{
void AttachContext(DX11RenderContext renderContext);
IntPtr WindowHandle { get; }
}
public interface IDX11RenderStartPo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FeralTic.DX11;
namespace VVVV.DX11
{
public interface IAttachableWindow
{
void AttachContext(DX11RenderContext renderContext);
IntPtr WindowHandle { get; }
}
public interface IDX11RenderStartPo... | bsd-3-clause | C# |
65faad85f5960ff82a7032d9ad8c7c9a15fd9c6a | Change "Ok" to "OK" in message dialogs | michael-reichenauer/GitMind | GitMind/Common/MessageDialogs/MessageDialog.xaml.cs | GitMind/Common/MessageDialogs/MessageDialog.xaml.cs | using System.Windows;
namespace GitMind.Common.MessageDialogs
{
/// <summary>
/// Interaction logic for MessageDialog.xaml
/// </summary>
public partial class MessageDialog : Window
{
public MessageDialog(
Window owner,
string message,
string title,
MessageBoxButton button,
MessageBoxImage imag... | using System.Windows;
namespace GitMind.Common.MessageDialogs
{
/// <summary>
/// Interaction logic for MessageDialog.xaml
/// </summary>
public partial class MessageDialog : Window
{
public MessageDialog(
Window owner,
string message,
string title,
MessageBoxButton button,
MessageBoxImage imag... | mit | C# |
1d6b7f3206a75fb97eaf41e609c9fb80c40b46eb | Add parser error message in SerializedClassLayout. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Serialized/SerializedClassLayout.cs | src/AsmResolver.DotNet/Serialized/SerializedClassLayout.cs | using System;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Serialized
{
/// <summary>
/// Represents a lazily initialized implementation of <see cref="ClassLayout"/> that is read from a
/// .NET metadata image.
/// </summa... | using System;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Serialized
{
/// <summary>
/// Represents a lazily initialized implementation of <see cref="ClassLayout"/> that is read from a
/// .NET metadata image.
/// </summ... | mit | C# |
e62657667a8751d463f13373ceb3e4216bc08f36 | modify comments | wanlitao/FCP.Routing | FCP.Routing.LoadBalance/Constants/LoadBalanceConstants.cs | FCP.Routing.LoadBalance/Constants/LoadBalanceConstants.cs | namespace FCP.Routing.LoadBalance
{
public static class LoadBalanceConstants
{
/// <summary>
/// Consistent Hash default virtual Nodes
/// </summary>
public const int DefaultVirtualNodesFactor = 5;
}
}
| namespace FCP.Routing.LoadBalance
{
/// <summary>
/// 负载均衡 常量
/// </summary>
public static class LoadBalanceConstants
{
/// <summary>
/// 一致性Hash默认虚拟节点数
/// </summary>
public const int DefaultVirtualNodesFactor = 5;
}
}
| apache-2.0 | C# |
9707fa2754c5db1debfb9a520a1d10c92adc6c3e | Change - finished compliance for to_number function. | jdevillard/JmesPath.Net | src/jmespath.net/Functions/ToNumberFunction.cs | src/jmespath.net/Functions/ToNumberFunction.cs | using System;
using System.Globalization;
using DevLab.JmesPath.Interop;
using Newtonsoft.Json.Linq;
namespace DevLab.JmesPath.Functions
{
public class ToNumberFunction : JmesPathFunction
{
public ToNumberFunction()
: base("to_number", 1)
{
}
public ov... | using System;
using DevLab.JmesPath.Interop;
using Newtonsoft.Json.Linq;
namespace DevLab.JmesPath.Functions
{
public class ToNumberFunction : JmesPathFunction
{
public ToNumberFunction()
: base("to_number", 1)
{
}
public override bool Validate(params J... | apache-2.0 | C# |
1823c77cd0b9799c5d66629fcc011018282c93dc | Add some complexity to test cases. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.IOs/10_HandleText/CalculateTextCharLength.cs | src/CSharpViaTest.IOs/10_HandleText/CalculateTextCharLength.cs | using System;
using System.Collections.Generic;
using Xunit;
namespace CSharpViaTest.IOs._10_HandleText
{
/*
* Description
* ===========
*
* This test will introduce the concept of Codepoint and surrogate pair to you. But
* for the most of the cases, the character can fit in 16-bit unic... | using System;
using System.Collections.Generic;
using Xunit;
namespace CSharpViaTest.IOs._10_HandleText
{
/*
* Description
* ===========
*
* This test will introduce the concept of Codepoint and surrogate pair to you. But
* for the most of the cases, the character can fit in 16-bit unic... | mit | C# |
9620105ca33961497bee100de7d1a0ae6a3f9070 | Fix NH-2339 (thanks to Timur Kristóf) | nhibernate/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,nkreipke/nhibernate-core,hazzik/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,ManufacturingIntelligence/nhibe... | src/NHibernate/Context/ReflectiveHttpContext.cs | src/NHibernate/Context/ReflectiveHttpContext.cs | using System;
using System.Collections;
using System.Linq.Expressions;
using System.Reflection;
namespace NHibernate.Context
{
/// <summary>
/// This class allows access to the HttpContext without referring to HttpContext at compile time.
/// The accessors are cached as delegates for performance.
/// </s... | using System;
using System.Collections;
using System.Linq.Expressions;
using System.Reflection;
namespace NHibernate.Context
{
/// <summary>
/// This class allows access to the HttpContext without referring to HttpContext at compile time.
/// The accessors are cached as delegates for performance.
/// </s... | lgpl-2.1 | C# |
66b0857cf2ddf7d0b7dd4c9776e9e926799cacba | Add next page command property | dnnsoftware/Dnn.AdminExperience.Library,valadas/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Library,RichardHowells/Dnn.Pl... | src/Dnn.PersonaBar.Library/Prompt/Models/ConsoleResultModel.cs | src/Dnn.PersonaBar.Library/Prompt/Models/ConsoleResultModel.cs | using Newtonsoft.Json;
namespace Dnn.PersonaBar.Library.Prompt.Models
{
/// <summary>
/// Standard response object sent to client
/// </summary>
public class ConsoleResultModel
{
// the returned result - text or HTML
[JsonProperty(PropertyName = "output")]
public string Out... | using Newtonsoft.Json;
namespace Dnn.PersonaBar.Library.Prompt.Models
{
/// <summary>
/// Standard response object sent to client
/// </summary>
public class ConsoleResultModel
{
// the returned result - text or HTML
[JsonProperty(PropertyName = "output")]
public string Out... | mit | C# |
dc6a748fb11815554378bb37c89f5912a0b6f63a | rename git temp folder | tsolarin/dotnet-globals,tsolarin/dotnet-globals | src/DotNet.Globals.Core/PackageResolvers/GitPackageResolver.cs | src/DotNet.Globals.Core/PackageResolvers/GitPackageResolver.cs | using System;
using System.IO;
using System.Linq;
using DotNet.Globals.Core.Utils;
namespace DotNet.Globals.Core.PackageResolvers
{
internal class GitPackageResolver : FolderPackageResolver
{
public GitPackageResolver(DirectoryInfo packagesFolder, string source, Options options) : base(packagesFolder, ... | using System;
using System.IO;
using System.Linq;
using DotNet.Globals.Core.Utils;
namespace DotNet.Globals.Core.PackageResolvers
{
internal class GitPackageResolver : FolderPackageResolver
{
public GitPackageResolver(DirectoryInfo packagesFolder, string source, Options options) : base(packagesFolder, ... | mit | C# |
012e5bca46ebc8bac27926b255b08d118ff7520c | Add idling to RIBAS metrics | MiXTelematics/MiX.Integrate.Api.Client | MiX.Integrate.Shared/Entities/Trips/TripRibasMetrics.cs | MiX.Integrate.Shared/Entities/Trips/TripRibasMetrics.cs | using System;
namespace MiX.Integrate.Shared.Entities.Trips
{
/// <summary>Encapsulates the RIBAS metrics of a trip</summary>
public class TripRibasMetrics
{
/// <summary>Unique identifier of the trip</summary>
public long TripId { get; set; }
/// <summary>Identifies the asset associated with the trip</sum... | using System;
namespace MiX.Integrate.Shared.Entities.Trips
{
/// <summary>Encapsulates the RIBAS metrics of a trip</summary>
public class TripRibasMetrics
{
/// <summary>Unique identifier of the trip</summary>
public long TripId { get; set; }
/// <summary>Identifies the asset associated with the trip</sum... | mit | C# |
371d9d2d298474c8b6ff84e48d3933568c878d71 | Update KeywordTokenScanner.cs | Zebrina/PapyrusScriptEditorVSIX,Zebrina/PapyrusScriptEditorVSIX | PapyrusScriptEditorVSIX/Language/KeywordTokenScanner.cs | PapyrusScriptEditorVSIX/Language/KeywordTokenScanner.cs | using Microsoft.VisualStudio.Text;
using Papyrus.Common;
using Papyrus.Common.Extensions;
using Papyrus.Language.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Papyrus.Language {
public class KeywordTokenScanner : TokenScan... | using Microsoft.VisualStudio.Text;
using Papyrus.Common;
using Papyrus.Common.Extensions;
using Papyrus.Language.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Papyrus.Language {
public class KeywordTokenScanner : TokenScan... | mit | C# |
da2f3c3932221eadef2845a11cdb25bbb9a98878 | Test commit example | aspose-imaging/Aspose.Imaging-for-.NET | Examples/CSharp/ModifyingAndConvertingImages/SupportBMPHeader.cs | Examples/CSharp/ModifyingAndConvertingImages/SupportBMPHeader.cs | using Aspose.Imaging;
using Aspose.Imaging.Examples.CSharp;
using Aspose.Imaging.ImageOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.ModifyingAndConvertingImages
{
class SupportBMPHeader
{
public static void Run() {
//ExStart:Su... | using Aspose.Imaging;
using Aspose.Imaging.Examples.CSharp;
using Aspose.Imaging.ImageOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.ModifyingAndConvertingImages
{
class SupportBMPHeader
{
public static void Run() {
//ExStart:Su... | mit | C# |
274273f6937d84c3a79c09771b23bf41794447ba | Increment build number | emoacht/ManagedNativeWifi | Source/ManagedNativeWifi/Properties/AssemblyInfo.cs | Source/ManagedNativeWifi/Properties/AssemblyInfo.cs | using System.Resources;
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 assembl... | using System.Resources;
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 assembl... | mit | C# |
6f271c3915af6383af1d5428260349a2cfefa680 | Undo diagnostics | dirkrombauts/SpecLogLogoReplacer | Tests/StepDefinitions.cs | Tests/StepDefinitions.cs | using System;
using System.Drawing;
using System.Drawing.Imaging;
using Aim.SpecLogLogoReplacer.Tests.Properties;
using Aim.SpecLogLogoReplacer.UI;
using NFluent;
using TechTalk.SpecFlow;
namespace Aim.SpecLogLogoReplacer.Tests
{
[Binding]
public class StepDefinitions
{
private string htmlFile;
priv... | using System;
using System.Drawing;
using System.Drawing.Imaging;
using Aim.SpecLogLogoReplacer.Tests.Properties;
using Aim.SpecLogLogoReplacer.UI;
using NFluent;
using TechTalk.SpecFlow;
namespace Aim.SpecLogLogoReplacer.Tests
{
[Binding]
public class StepDefinitions
{
private string htmlFile;
priv... | isc | C# |
99153bccb5b3165297c7be7b48935822362448c2 | support sending of html documents | digipost/digipost-client-lib-webapp-dotnet,digipost/digipost-client-lib-webapp,digipost/digipost-client-lib-webapp-dotnet,digipost/digipost-client-lib-webapp | DigipostClientLibWebapp/Controllers/Converter.cs | DigipostClientLibWebapp/Controllers/Converter.cs | using System;
using Digipost.Api.Client.Domain.Search;
using DigipostClientLibWebapp.Models;
namespace DigipostClientLibWebapp.Controllers
{
public class Converter
{
public static SendModel SearchDetailsToSendModel(SearchDetails searchDetails)
{
var sendModel = new SendMod... | using System;
using Digipost.Api.Client.Domain.Search;
using DigipostClientLibWebapp.Models;
namespace DigipostClientLibWebapp.Controllers
{
public class Converter
{
public static SendModel SearchDetailsToSendModel(SearchDetails searchDetails)
{
var sendModel = new SendMod... | apache-2.0 | C# |
0d59b73f9bde79c3b4a733e57f2d18cc453267b7 | Change signature | sakapon/Samples-2017 | DrawingSample/BitmapScaleConsole/BitmapHelper.cs | DrawingSample/BitmapScaleConsole/BitmapHelper.cs | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace BitmapScaleConsole
{
public static class BitmapHelper
{
public static Bitmap GetScreenBitmap(int x, int y, int width, int height)
{
var bitmap = new Bitmap(width, height);
using (... | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace BitmapScaleConsole
{
public static class BitmapHelper
{
public static Bitmap GetScreenBitmap(int x, int y, int width, int height)
{
var bitmap = new Bitmap(width, height);
using (... | mit | C# |
08d866331701e2a1083bab83c4c8e15753813c76 | Move foreign_keys PRAGMA to a separate SQL statement (outside of a transaction) | joelverhagen/CheckRepublic,joelverhagen/CheckRepublic,joelverhagen/CheckRepublic | src/Knapcode.CheckRepublic.Logic/Entities/Migrations/20160903202322_RemoveMachineNameFromCheckBatchMigration.cs | src/Knapcode.CheckRepublic.Logic/Entities/Migrations/20160903202322_RemoveMachineNameFromCheckBatchMigration.cs | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Knapcode.CheckRepublic.Logic.Entities.Migrations
{
public partial class RemoveMachineNameFromCheckBatchMigration : Migration
{
private const string DropMachineNameColumnSql = @"
CREATE TEMPORARY T... | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Knapcode.CheckRepublic.Logic.Entities.Migrations
{
public partial class RemoveMachineNameFromCheckBatchMigration : Migration
{
private const string DropMachineNameColumnSql = @"
PRAGMA foreign_key... | mit | C# |
e7bbbbca86a03cd8c909c66ca1eb3e07e7e6d240 | fix OperationalInsight searchResult backward compatible issue | devigned/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,C... | src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Models/PSSearchGetSearchResultsResponse.cs | src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Models/PSSearchGetSearchResultsResponse.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
b1c88e93ace382d31b6874f3d1cbc52525833ffc | Clear firstContext when ApplicationEntryPoint is destroyed | SlashGames/slash-framework,SlashGames/slash-framework,SlashGames/slash-framework | Source/Slash.Unity.StrangeIoC/Source/Initialization/ApplicationEntryPoint.cs | Source/Slash.Unity.StrangeIoC/Source/Initialization/ApplicationEntryPoint.cs | namespace Slash.Unity.StrangeIoC.Initialization
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using strange.extensions.context.impl;
using Slash.Reflection.Utils;
using Slash.Unity.InspectorExt.PropertyDrawers;
using Slash.Unity.StrangeIoC.Configs;
usi... | namespace Slash.Unity.StrangeIoC.Initialization
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using strange.extensions.context.impl;
using Slash.Reflection.Utils;
using Slash.Unity.InspectorExt.PropertyDrawers;
using Slash.Unity.StrangeIoC.Configs;
usi... | mit | C# |
ad6b2fe6d6efef1da4e4ec370d23caaba4459a67 | Bump version to 1.1.0 | mj1856/NodaTime.NetworkClock | NodaTime.NetworkClock/Properties/AssemblyInfo.cs | NodaTime.NetworkClock/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("NodaTime.NetworkClock")]
[assembly: AssemblyCopyright("Copyright © Matt Johnson. MIT Licensed.")]
[assembly: AssemblyTitle("NodaTime.NetworkClock")]
[assembly: AssemblyDescription("A NodaTime.IClock implementation that g... | using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("NodaTime.NetworkClock")]
[assembly: AssemblyCopyright("Copyright © 2014, Matt Johnson. MIT Licensed.")]
[assembly: AssemblyTitle("NodaTime.NetworkClock")]
[assembly: AssemblyDescription("A NodaTime.IClock implementation ... | mit | C# |
45a658388ed70b236634444ea783d6c7512817bc | update nuget | weitaolee/Orleans.EventSourcing | Orleans.EventSourcing/Properties/AssemblyInfo.cs | Orleans.EventSourcing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Orleans.EventSourcing")]
[assembly: AssemblyDescription("Orleans Event-Sourcing Libary")]
[assembly: AssemblyConfiguration("")]
... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Orleans.EventSourcing")]
[assembly: AssemblyDescription("Orleans Event-Sourcing Libary")]
[assembly: AssemblyConfiguration("")]
... | mit | C# |
8c00b1daa0d9b09b8cf857972d3a876c2548fb1b | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.TerminalServerClient/ValuesOut.cs | RegistryPlugin.TerminalServerClient/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TerminalServerClient
{
public class ValuesOut:IValueOut
{
public ValuesOut(int mru, string host, string user, DateTimeOffset lastmod)
{
MRUPosition = mru;
HostName = host;
Username =... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TerminalServerClient
{
public class ValuesOut:IValueOut
{
public ValuesOut(int mru, string host, string user, DateTimeOffset lastmod)
{
MRUPosition = mru;
HostName = host;
Username =... | mit | C# |
99e8b659f953105bb6a45df834b771cdf1656ce0 | Remove unused method | MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site | HeadRaceTiming-Site/Controllers/CrewApiController.cs | HeadRaceTiming-Site/Controllers/CrewApiController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using HeadRaceTimingSite.Models;
using Microsoft.EntityFrameworkCore;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
names... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using HeadRaceTimingSite.Models;
using Microsoft.EntityFrameworkCore;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
names... | mit | C# |
d5964e24ec1e745ae5868dcab13cf14376ca6972 | fix constructor for rest service | XamarinGarage/GiTracker | GiTracker/Services/Rest/RestService.cs | GiTracker/Services/Rest/RestService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using GiTracker.Services.HttpClientProvider;
namespace GiTracker.Services.Rest
{
internal class RestService : IRestService
{
protected readonly IHttpClientProvider HttpClientProvider;
public... | using System;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using GiTracker.Services.HttpClientProvider;
namespace GiTracker.Services.Rest
{
internal class RestService : IRestService
{
protected readonly IHttpClientProvider HttpClientProvider;
protec... | apache-2.0 | C# |
33822a5a063f3a4ca63884f656c002e5f077ebbf | Remove : to avoid jekyl problem with example | MarcosMeli/FileHelpers,aim00ver/FileHelpers,jbparker/FileHelpers,p07r0457/FileHelpers,xavivars/FileHelpers,guillaumejay/FileHelpers | FileHelpers.Examples/Examples/10.QuickStart/30.ReadFileFixed.cs | FileHelpers.Examples/Examples/10.QuickStart/30.ReadFileFixed.cs | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
namespace ExamplesFx
{
//-> Name:Read Fixed File
//-> Description:Example of how to read a Fixed Length layout file (eg COBOL output)
//-> AutoRun:true
public class ReadFixedFile
: ExampleBase
{
... | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
namespace ExamplesFx
{
//-> Name:Read Fixed File
//-> Description:Example of how to read a Fixed Length layout file (eg COBOL output):
//-> AutoRun:true
public class ReadFixedFile
: ExampleBase
{... | mit | C# |
4678c1ce804f5a94dfd6472e3f337bb02230bfdd | simplify conversion of visibility | PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer | StandUpTimer/Views/InverseVisibilityConverter.cs | StandUpTimer/Views/InverseVisibilityConverter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace StandUpTimer.Views
{
public class InverseVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var vis... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace StandUpTimer.Views
{
public class InverseVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var vis... | mit | C# |
633b34dcbdd1564c0347575a995501ba14660ac2 | fix failing linux test | toddams/RazorLight,toddams/RazorLight | tests/RazorLight.Tests/Utils/DirectoryUtils.cs | tests/RazorLight.Tests/Utils/DirectoryUtils.cs | using System.IO;
namespace RazorLight.Tests.Utils
{
public static class DirectoryUtils
{
public static string RootDirectory
{
get
{
var location = typeof(DirectoryUtils).Assembly.Location;
if (!Directory.Exists(location)) throw new DirectoryNotFoundException($"Could not find location [{location}].... | using System.IO;
namespace RazorLight.Tests.Utils
{
public static class DirectoryUtils
{
public static string RootDirectory => Directory.GetCurrentDirectory();
}
}
| apache-2.0 | C# |
79ac64a0885620f9755fb5cc82cb226c34cb21c5 | Split out editor save steps to try and catch test failure | smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Edit;
usi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Edit;
usi... | mit | C# |
242c63091fa79f9d58982a7e184079fb8309c7e7 | Revert "Update EventArgsCache.cs" | Fody/PropertyChanged | PropertyChanged.Fody/EventArgsCache.cs | PropertyChanged.Fody/EventArgsCache.cs | using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
public class EventArgsCache
{
public EventArgsCache(ModuleWeaver moduleWeaver)
{
this.moduleWeaver = moduleWeaver;
var attributes = TypeAttributes.AutoClass | TypeAttributes.AutoLayout | TypeAttributes... | using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
public class EventArgsCache
{
public EventArgsCache(ModuleWeaver moduleWeaver)
{
this.moduleWeaver = moduleWeaver;
var attributes = TypeAttributes.AutoClass | TypeAttributes.AutoLayout | TypeAttributes... | mit | C# |
87eebad8bd5bb0b93515de9be88af6e210f41de8 | remove credentials | MatthiWare/SmsAndCall | SmsAndCallClient/SmsAndCallClient/Api/Credentials.cs | SmsAndCallClient/SmsAndCallClient/Api/Credentials.cs | namespace MatthiWare.SmsAndCallClient.Api
{
internal static class Credentials
{
internal const string TWILIO_ACC_SID = "your sid token";
internal const string TWILIO_AUTH_TOKEN = "secret";
internal const string CLICKATELL_API_KEY = "secret";
}
}
| namespace MatthiWare.SmsAndCallClient.Api
{
internal static class Credentials
{
internal const string TWILIO_ACC_SID = "***REMOVED***";
internal const string TWILIO_AUTH_TOKEN = "***REMOVED***";
internal const string CLICKATELL_API_KEY = "";
}
}
| mit | C# |
f5ad27b1c0ae2e2a09834619790dff6d03adbd84 | Add dependency on Sequence and Fungus Script components | snozbot/fungus,kdoore/Fungus,lealeelu/Fungus,Nilihum/fungus,inarizushi/Fungus,RonanPearce/Fungus,tapiralec/Fungus,FungusGames/Fungus | Assets/Fungus/FungusScript/Scripts/EventHandler.cs | Assets/Fungus/FungusScript/Scripts/EventHandler.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
public class EventHandlerInfoAttribute : Attribute
{
public EventHandlerInfoAttribute(string category, string eventHandlerName, string helpText)
{
this.Category = category;
this.EventHandlerNa... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
public class EventHandlerInfoAttribute : Attribute
{
public EventHandlerInfoAttribute(string category, string eventHandlerName, string helpText)
{
this.Category = category;
this.EventHandlerNa... | mit | C# |
c575625a6dc9fa9fce8396d91660c3d126a14d33 | Set default text alignment to left for FlowDocument. | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer.Conversions/RtfXamlConverter.cs | CalDavSynchronizer.Conversions/RtfXamlConverter.cs | using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Markup;
using System.Xml;
namespace CalDavSynchronizer.Conversions
{
internal class RtfXamlConverter
{
public static string ConvertRtfToXaml (string rtfText)
{
if (string.IsNul... | using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Markup;
using System.Xml;
namespace CalDavSynchronizer.Conversions
{
internal class RtfXamlConverter
{
public static string ConvertRtfToXaml (string rtfText)
{
if (string.IsNul... | agpl-3.0 | C# |
92a969b0483ee9cf5fd7d34995f6193bdda32093 | Add SystemProgramming Lab2 Variant18 | pugachAG/univ,pugachAG/univ,pugachAG/univ | SystemProgramming/Lab2/Lab2/Program.cs | SystemProgramming/Lab2/Lab2/Program.cs | using Lab2.Automata;
using Lab2.Common;
using Lab2.IO;
using Lab2.RegularExpressions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2
{
class Program
{
public const string FileName = @"D:\Dev\univ\SystemProgramming\Lab2... | using Lab2.Automata;
using Lab2.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2
{
class Program
{
public const string FileName = @"D:\Dev\univ\SystemProgramming\Lab2\Lab2.Test\Assets\Automaton1Definition.txt";
... | mit | C# |
17fda44ff6729107e149b95f5b3be7cb566aef45 | Add obsolete flag to Interface | JC-Chris/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,tim-hoff/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,monostefan/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins | Settings/Refractored.Xam.Settings.Abstractions/ISettings.cs | Settings/Refractored.Xam.Settings.Abstractions/ISettings.cs |
using System;
namespace Refractored.Xam.Settings.Abstractions
{
/// <summary>
/// Main interface for settings
/// </summary>
public interface ISettings
{
/// <summary>
/// Gets the current value or the default that you specify.
/// </summary>
/// <typeparam name="T">Vaue of t (bool, int, fl... |
using System;
namespace Refractored.Xam.Settings.Abstractions
{
/// <summary>
/// Main interface for settings
/// </summary>
public interface ISettings
{
/// <summary>
/// Gets the current value or the default that you specify.
/// </summary>
/// <typeparam name="T">Vaue of t (bool, int, fl... | mit | C# |
9a39ea0f6be50646215911de333fb8e14ab59564 | Copy the internal address on reports | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Services/ReportService.cs | Battery-Commander.Web/Services/ReportService.cs | using BatteryCommander.Web.Models;
using FluentEmail.Core;
using System.IO;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class ReportService
{
private readonly Database db;
private readonly IFluentEmailFactory emailSvc;
public ReportService(Database d... | using BatteryCommander.Web.Models;
using FluentEmail.Core;
using System.IO;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class ReportService
{
private readonly Database db;
private readonly IFluentEmailFactory emailSvc;
public ReportService(Database d... | mit | C# |
c46541a6cbbf1e2700c32d43c1c12d2035b71d3f | Add remaining list columns | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Weapons/List.cshtml | Battery-Commander.Web/Views/Weapons/List.cshtml | @model WeaponListViewModel
@{
ViewBag.Title = "Master Authorization List";
}
<div class="page-header">
<h1>
@ViewBag.Title
@Html.ActionLink("Add New", "New", "Weapons", null, new { @class = "btn btn-default" })
</h1>
</div>
<div id="weapon-list">
<table class="table table-striped di... | @model WeaponListViewModel
@{
ViewBag.Title = "Master Authorization List";
}
<div class="page-header">
<h1>
@ViewBag.Title
@Html.ActionLink("Add New", "New", "Weapons", null, new { @class = "btn btn-default" })
</h1>
</div>
<div id="weapon-list">
<table class="table table-striped di... | mit | C# |
f1397bde7b0c536ccf9ec9c2dcc5a2d13f76f767 | Improve code coverage for Microsoft.Win32.Primitives | CherryCxldn/corefx,mellinoe/corefx,n1ghtmare/corefx,stormleoxia/corefx,nchikanov/corefx,rjxby/corefx,mmitche/corefx,Jiayili1/corefx,rajansingh10/corefx,n1ghtmare/corefx,billwert/corefx,SGuyGe/corefx,690486439/corefx,jlin177/corefx,brett25/corefx,elijah6/corefx,chenkennt/corefx,Ermiar/corefx,mafiya69/corefx,dhoehna/core... | src/Microsoft.Win32.Primitives/tests/Win32Exception.cs | src/Microsoft.Win32.Primitives/tests/Win32Exception.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using Xunit;
namespace Microsoft.Win32.Primitives.Tests
{
public static class Win32ExceptionTestType
{
[Fact... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using Xunit;
namespace Microsoft.Win32.Primitives.Tests
{
public static class Win32ExceptionTestType
{
[Fact... | mit | C# |
343b255c512f0e4d6543c8b1845fe1cec0db5489 | Fix for json property name on EndsWithPredicate | SuperDrew/MbDotNet,mattherman/MbDotNet,mattherman/MbDotNet | MbDotNet/Models/Predicates/EndsWithPredicate.cs | MbDotNet/Models/Predicates/EndsWithPredicate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using MbDotNet.Models.Predicates.Fields;
namespace MbDotNet.Models.Predicates
{
public class EndsWithPredicate<T> : PredicateBase where T : PredicateFields, new()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using MbDotNet.Models.Predicates.Fields;
namespace MbDotNet.Models.Predicates
{
public class EndsWithPredicate<T> : PredicateBase where T : PredicateFields, new()
{
... | mit | C# |
f81022eaa283792190fcfb0c594a35bf59255b0a | Update ui, closes #2217 | quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag | src/NSwagStudio/Views/SwaggerGenerators/WebApiToSwaggerGeneratorView.xaml.cs | src/NSwagStudio/Views/SwaggerGenerators/WebApiToSwaggerGeneratorView.xaml.cs | using System.Linq;
using System.Threading.Tasks;
using System.Windows.Controls;
using MyToolkit.Mvvm;
using NSwag.Commands;
using NSwag.Commands.Generation.WebApi;
using NSwagStudio.ViewModels.SwaggerGenerators;
namespace NSwagStudio.Views.SwaggerGenerators
{
public partial class WebApiToSwaggerGeneratorView : IS... | using System.Linq;
using System.Threading.Tasks;
using System.Windows.Controls;
using MyToolkit.Mvvm;
using NSwag.Commands;
using NSwag.Commands.Generation.WebApi;
using NSwagStudio.ViewModels.SwaggerGenerators;
namespace NSwagStudio.Views.SwaggerGenerators
{
public partial class WebApiToSwaggerGeneratorView : IS... | mit | C# |
73f1d112cacd34c9f3f7ff215ef32bb4d8ce3679 | Bump version to 3.2.2.0 | adjackura/compute-image-windows,ning-yang/compute-image-windows,GoogleCloudPlatform/compute-image-windows,illfelder/compute-image-windows,adjackura/compute-image-windows,GoogleCloudPlatform/compute-image-windows,illfelder/compute-image-windows,ning-yang/compute-image-windows | agent/Common/Properties/VersionInfo.cs | agent/Common/Properties/VersionInfo.cs | /*
* Copyright 2015 Google 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2015 Google 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | C# |
28deb9a33518af9525966f17a2faa2d9be054e94 | delete garbage in spawn manager so level1 compiles for everyone | GGProductions/LetterStorm,GGProductions/LetterStorm,GGProductions/LetterStorm | Assets/Scripts/SpawnManager.cs | Assets/Scripts/SpawnManager.cs | using UnityEngine;
using System.Collections;
public class SpawnManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
}
| using UnityEngine;
using System.Collections;
public class SpawnManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
IEnumerator EnemySpawn()
{
while()
{
}
}
}
| mit | C# |
3bb01fd59583939aa46e5e8e18189375cc222d24 | Fix close button animation not being applied correct on mouse down due to conflicting scales | NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu | osu.Game/Overlays/Chat/ChannelList/ChannelListItemCloseButton.cs | osu.Game/Overlays/Chat/ChannelList/ChannelListItemCloseButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Gr... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Gr... | mit | C# |
15d36e0d8479953ffdf37591888c22a000449ba9 | Update PedometerDatum.cs | predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus | Sensus.Shared/Probes/Movement/PedometerDatum.cs | Sensus.Shared/Probes/Movement/PedometerDatum.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Sensus.Probes.Movement
{
class PedometerDatum : Datum
{
double _steps;
public PedometerDatum(DateTimeOffset timestamp, double Steps) : base(timestamp)
{
_steps = Steps;
}
public o... | using System;
using System.Collections.Generic;
using System.Text;
namespace Sensus.Probes.Movement
{
class PedometerDatum : Datum
{
double _steps;
public PedometerDatum(DateTimeOffset timestamp, double Steps) : base(timestamp)
{
_steps = Steps;
}
public o... | apache-2.0 | C# |
f1fd40dcca30d348cbdad21ded8f6cef557a4fb8 | Fix test not working for various reasons | ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Tests/Visual/Online/TestSceneAccountCreationOverlay.cs | osu.Game.Tests/Visual/Online/TestSceneAccountCreationOverlay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Contai... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Contai... | mit | C# |
741408b5e2cae5fcacef59a690bcaffe3b62d5ea | Enable menu window to switch foreground state | emoacht/Monitorian | Source/Monitorian.Core/Views/MenuWindow.xaml.cs | Source/Monitorian.Core/Views/MenuWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Me... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Me... | mit | C# |
a3ddc273dac46fc2f3e1d4c97f30e910409584df | Bump version to 0.8.0 | whampson/bft-spec,whampson/cascara | Src/WHampson.Cascara/Properties/AssemblyInfo.cs | Src/WHampson.Cascara/Properties/AssemblyInfo.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | mit | C# |
95f607b4d755e73555918656418b84d691083c1a | update vs | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.PortalTemplate/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.PortalTemplate/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("Ap... | 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("Ap... | apache-2.0 | C# |
355ecc4499bf1357612c6c6607b65a46e84ea432 | Change cursor trail blending mode to match stable | UselessToucan/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyCursorTrail.cs | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyCursorTrail.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Configuration;... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Configuration;... | mit | C# |
df733afd631b5a1235adfd0c838e5a7af278740a | Update assembly version. | MatthewKing/DeviceId | src/DeviceId/Properties/AssemblyInfo.cs | src/DeviceId/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DeviceId")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DeviceId")]
[assembly: AssemblyCopyright("Copyright © Matthew King 2015-2016")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DeviceId")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DeviceId")]
[assembly: AssemblyCopyright("Copyright © Matthew King 2015-2016")]
[as... | mit | C# |
8c58f7ac1ad54e9b31e7eeae2cddaf881775ec94 | Print started | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Hosting/Program.cs | src/Microsoft.AspNet.Hosting/Program.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNet.Hosting.Internal;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Dependen... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNet.Hosting.Internal;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Dependen... | apache-2.0 | C# |
b16cc83d2d4599c85d3a8b6714461a276d4e7da5 | increment patch version | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
b22acb20cd497a1b758722f50e7521ba09c00b2b | Simplify header after syncing with LCA | dotnet/codeformatter,kharaone/codeformatter,shiftkey/Octokit.CodeFormatter,mmitche/codeformatter,rainersigwald/codeformatter,jaredpar/codeformatter,BertTank/codeformatter,BradBarnich/codeformatter,rollie42/codeformatter,david-mitchell/codeformatter,hickford/codeformatter,shiftkey/codeformatter,cbjugstad/codeformatter,M... | src/Microsoft.DotNet.CodeFormatting/Rules/HasCopyrightHeaderFormattingRule.cs | src/Microsoft.DotNet.CodeFormatting/Rules/HasCopyrightHeaderFormattingRule.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under MIT. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under MIT. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | mit | C# |
fffffefc7083c65941700e68262ecf825826bcee | Change link title to manage reservations | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
@if (Model.ReservedFundingToShow != null)
{
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
@if (Model.ReservedFundingToShow != null)
{
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | mit | C# |
3bd0fe18a53c73f8a69797778899aed83a887799 | Initialize bass with no sound | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/Platform/TestSceneTrackBass.cs | osu.Framework.Tests/Visual/Platform/TestSceneTrackBass.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 ManagedBass;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using ... | // 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.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using osu.Framework.Testi... | mit | C# |
fa4d72550bbeec2654338d41650a6cf26dec507f | fix coding style | EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Screens/TestSceneScreenExit.cs | osu.Framework.Tests/Visual/Screens/TestSceneScreenExit.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.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Screens;
using osu.Framewor... | // 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.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Screens;
using osu.Framewor... | mit | C# |
a1c6d08b87ce73122da0b7c89fb8579f473c1ccf | Add round reset cleanup for PlantSystem It now repopulates the entire seed database. | space-wizards/space-station-14,space-wizards/space-station-14-content,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,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Server/GameObjects/EntitySystems/PlantSystem.cs | Content.Server/GameObjects/EntitySystems/PlantSystem.cs | using System;
using System.Collections.Generic;
using Content.Server.Botany;
using Content.Server.GameObjects.Components.Botany;
using Content.Shared.GameTicking;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Timing;
usi... | using System;
using System.Collections.Generic;
using Content.Server.Botany;
using Content.Server.GameObjects.Components.Botany;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
using Robust... | mit | C# |
741f74b60a2a756fcb29dec2e3f9c397808bf802 | Test for IList<T> and IEnumerable<T> | grantcolley/dipmapper | DevelopmentInProgress.DipMapper.Test/TestDapperClass.cs | DevelopmentInProgress.DipMapper.Test/TestDapperClass.cs | using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.DipMapper.Test
{
public class TestDapperClass
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
public IEnumerable<TestDapperClass> TestDataClasses { ... | using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.DipMapper.Test
{
public class TestDapperClass
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
public IEnumerable<TestDapperClass> TestDataClasses { ... | apache-2.0 | C# |
eb70ac3b91c07cd376e2182821c0eca25d35b0d2 | Fix Thing Category Delete | cmoussalli/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,cmoussalli/DynThings | DynThings.WebPortal/Views/ThingCategorys/_Delete.cshtml | DynThings.WebPortal/Views/ThingCategorys/_Delete.cshtml | @model DynThings.Data.Models.ThingCategory
@using (Html.BeginForm("DeletePV", "ThingCategorys", FormMethod.Post, new { id = "ThingCategoryDeleteForm" }))
{
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button... | @model DynThings.Data.Models.ThingCategory
@using (Html.BeginForm("DeletePV", "ThingCategorys", FormMethod.Post, new { id = "ThingCategoryDeleteForm" }))
{
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button... | mit | C# |
6b6249b38927040d7a0ffa8888d03e705d436339 | simplify validation | corker/estuite | Estuite.Specs.UnitTests/describe_DefaultEventHandler.cs | Estuite.Specs.UnitTests/describe_DefaultEventHandler.cs | using System;
using System.Diagnostics;
using Estuite.Domain;
using Shouldly;
namespace Estuite.Specs.UnitTests
{
public class describe_DefaultEventHandler : nspec
{
private void before_each()
{
_aggregate = new AggregateUnderTest();
_target = new DefaultEventHandler();... | using System;
using System.Diagnostics;
using Estuite.Domain;
using Shouldly;
namespace Estuite.Specs.UnitTests
{
public class describe_DefaultEventHandler : nspec
{
private void before_each()
{
_aggregate = new AggregateUnderTest();
_target = new DefaultEventHandler();... | mit | C# |
77c274df2ab03f0aeb147e83230389a06f856e5c | Fix vaccum lock | mbdavid/LiteDB | LiteDB/Engine/Engine/Vaccum.cs | LiteDB/Engine/Engine/Vaccum.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace LiteDB.Engine
{
public partial class LiteEngine
{
/// <summary>
/// Read database searching for empty pages but non-linked in FreeListPage. Must run Checkpoint before and do lock reserved
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace LiteDB.Engine
{
public partial class LiteEngine
{
/// <summary>
/// Read database searching for empty pages but non-linked in FreeListPage. Must run Checkpoint before and do lock reserved
/// </summary>
... | mit | C# |
eec99dffac13f38894c14456dcdd8b2dad5fe1d3 | modify to log every 1000 messages and remove immediate dispatch setting | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Interfaces;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class Exp... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Interfaces;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class Exp... | mit | C# |
b98f7da5cc1f1c2b0a2bf5d3d818aaf19c233855 | Remove unused imports | messagebird/csharp-rest-api | MessageBird/Net/IRestClient.cs | MessageBird/Net/IRestClient.cs | using MessageBird.Net.ProxyConfigurationInjector;
using MessageBird.Resources;
namespace MessageBird.Net
{
// immutable, so no read/write properties
public interface IRestClient
{
string AccessKey { get; }
string Endpoint { get; }
IProxyConfigurationInjector ProxyConfigurationInjec... | using MessageBird.Net.ProxyConfigurationInjector;
using MessageBird.Resources;
using System;
using System.Net;
namespace MessageBird.Net
{
// immutable, so no read/write properties
public interface IRestClient
{
string AccessKey { get; }
string Endpoint { get; }
IProxyConfiguration... | isc | C# |
48a155c664c045af2cdc1b8e200c5a633700ff62 | Add tests to ensure client ip is copied from request telemetry if present | Microsoft/ApplicationInsights-SDK-Labs | WCF/Shared.Tests/ClientIpTelemetryInitializerTests.cs | WCF/Shared.Tests/ClientIpTelemetryInitializerTests.cs | using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.ServiceModel.Channels;
using System.Text;
namespace Microsoft.ApplicationInsights.Wcf.Tests
{
[TestClass]
public class ClientIpTelemetryInitialize... | using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.ServiceModel.Channels;
using System.Text;
namespace Microsoft.ApplicationInsights.Wcf.Tests
{
[TestClass]
public class ClientIpTelemetryInitialize... | mit | C# |
d0756e93450c94c94176399b75e331d10a076037 | Correct inconsistent use of tabs and spaces. | WhitePhantom88/PopulousStringEditor | PopulousStringEditor/Views/StringComparisonView.xaml.cs | PopulousStringEditor/Views/StringComparisonView.xaml.cs | using System.Windows.Controls;
namespace PopulousStringEditor.Views
{
/// <summary>
/// Interaction logic for StringComparisonView.xaml
/// </summary>
public partial class StringComparisonView : UserControl
{
/// <summary>Gets or sets the visibility of the referenced strings.</summary>
... | using System.Windows.Controls;
namespace PopulousStringEditor.Views
{
/// <summary>
/// Interaction logic for StringComparisonView.xaml
/// </summary>
public partial class StringComparisonView : UserControl
{
/// <summary>Gets or sets the visibility of the referenced strings.</summary>
p... | mit | C# |
fc634d2ed235b884347c3755564235cf8f2d44a4 | Rename test | damiensawyer/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,honestegg/cassette,damiensawyer/cassette | src/Cassette.UnitTests/BundleProcessing/CompileAsset.cs | src/Cassette.UnitTests/BundleProcessing/CompileAsset.cs | using System.IO;
using Cassette.IO;
using Cassette.Utilities;
using Moq;
using Should;
using Xunit;
using System.Linq;
namespace Cassette.BundleProcessing
{
public class CompileAsset_Tests
{
[Fact]
public void TransformCallsCompiler()
{
var asset = new Mock<I... | using System.IO;
using Cassette.IO;
using Cassette.Utilities;
using Moq;
using Should;
using Xunit;
using System.Linq;
namespace Cassette.BundleProcessing
{
public class CompileAsset_Tests
{
[Fact]
public void TransformCallsLessCompiler()
{
var asset = new Mo... | mit | C# |
dad1b6c8a1389602981236b917469d2a39b90adb | Update SpaceFolder.cs | KerbaeAdAstra/KerbalFuture | KerbalFuture/SpaceFolder.cs | KerbalFuture/SpaceFolder.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | mit | C# |
d55c413901f11ccd153c7fc70bf87a537aedd18d | split compound test case | Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor | src/CodeEditor.Text.Data.Tests/ContentTypeRegistryTest.cs | src/CodeEditor.Text.Data.Tests/ContentTypeRegistryTest.cs | using System.Reflection;
using CodeEditor.Composition;
using CodeEditor.Composition.Hosting;
using NUnit.Framework;
namespace CodeEditor.Text.Data.Tests
{
[TestFixture]
public class ContentTypeRegistryTest
{
private IContentTypeRegistry _registry;
[SetUp]
public void SetUp()
{
var container = new Compos... | using System.Reflection;
using CodeEditor.Composition;
using CodeEditor.Composition.Hosting;
using NUnit.Framework;
namespace CodeEditor.Text.Data.Tests
{
[TestFixture]
public class ContentTypeRegistryTest
{
private IContentTypeRegistry _registry;
[SetUp]
public void SetUp()
{
var container = new Compo... | mit | C# |
61f0a46f3454804af55de37e6ebab83c9759f53d | Add newline | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Reactive.Disposables;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets;
using WalletWasabi.Gui.Tabs.WalletManager.LoadWallet... | using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Reactive.Disposables;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets;
using WalletWasabi.Gui.Tabs.WalletManager.LoadWallet... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.