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 |
|---|---|---|---|---|---|---|---|---|
54cebd8e879d40fab4dd9d8b3822bc71daa4ded5 | make Player nullable | svmnotn/friendly-guacamole | Assets/src/data/Player.cs | Assets/src/data/Player.cs | public class Player {
public int score;
public string type;
public Player(string type){
this.type = type;
this.score = 0;
}
}
| public struct Player {
public int score;
public string type;
public Player(string type){
this.type = type;
this.score = 0;
}
}
| mit | C# |
fa787247783e1dda7b67a7b75b6ffe73f3930cc6 | Increase assembly version to 'beta01' | Jericho/CakeMail.RestClient | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | mit | C# |
c324dde4dd159b869d34420e27b6107522529b31 | Update SolutionVersion to 2.11.1 | Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("2.11.1.0")]
[assembly: AssemblyFileVersion("2.11.1.0")]
[assembly: AssemblyInformationalVersion("2.11.1")]
| using System.Reflection;
[assembly: AssemblyVersion("2.11.0.0")]
[assembly: AssemblyFileVersion("2.11.0.0")]
[assembly: AssemblyInformationalVersion("2.11.0")]
| mit | C# |
c1b4acbfd6130ad3874ccf3a0b96246f3a0565d0 | Swap colon for dash in progress messages | unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterC... | PrinterCommunication/Io/SendProgressStream.cs | PrinterCommunication/Io/SendProgressStream.cs | /*
Copyright (c) 2015, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | /*
Copyright (c) 2015, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | bsd-2-clause | C# |
56d616c6cba9dd6b6f42135b150e9ad8a2c2ac67 | add missing license headers (#2730) | msft-shahins/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder | CSharp/Library/Microsoft.Bot.Builder/Fibers/StackStoreFactory.cs | CSharp/Library/Microsoft.Bot.Builder/Fibers/StackStoreFactory.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Builder SDK GitHub:
// https://github.com/Microsoft/BotBuilder
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
// Permission i... | using System;
using Microsoft.Bot.Builder.Dialogs;
namespace Microsoft.Bot.Builder.Internals.Fibers
{
public interface IStackStoreFactory<C>
{
IStore<IFiberLoop<C>> StoreFrom(string taskId, IBotDataBag dataBag);
}
public sealed class StoreFromStack<C> : IStackStoreFactory<C>
{
p... | mit | C# |
5ce5dfab1a000b7dc973a347b44fce55ceea4d79 | Edit and Show Subtitle views edited | bergthor13/Skermstafir,bergthor13/Skermstafir,bergthor13/Skermstafir | Skermstafir/Views/Subtitle/EditSubtitle.cshtml | Skermstafir/Views/Subtitle/EditSubtitle.cshtml | @model Skermstafir.Models.SubtitleModel
@{
ViewBag.Title = "Edit Subtitle";
}
<div class="subtitle-box">
<div class="box-title">
<p>Gladiator</p>
<p class="votes-req-page">▲ 15</p>
</div>
<div class="flokkar">
<input type="checkbox" id="genre1" />
<label for="genre1">Kvikmyndir</label>
... | @model Skermstafir.Models.SubtitleModel
@{
ViewBag.Title = "Edit Subtitle";
}
<div class="subtitle-box">
<div class="box-title">
<p>Gladiator</p>
<p class="votes-req-page">▲ 15</p>
</div>
<div class="flokkar disabled">
<input type="checkbox" id="genre1" />
<la... | mit | C# |
a43cf8460767939ba3faec18e1ebc5cb2f5c5e73 | test for build failure | Volodya7/VILab,Volodya7/VILab,Volodya7/VILab,Volodya7/VILab | VILab.API/Startup.cs | VILab.API/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Mvc.Fo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Mvc.Fo... | mit | C# |
6397dda6c08b07431740b766e3dfd7ba3722a28d | Improve title | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs | using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinInfoTabViewModel : WasabiDocumentTabViewModel
{
public CoinInfoTabViewModel(CoinViewModel coin) : base(string.Empty)
{
Coin = coin;
Title = $"Details of {coin.OutputIndex}:{coin.TransactionId[0..7]}";
... | using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinInfoTabViewModel : WasabiDocumentTabViewModel
{
public CoinInfoTabViewModel(CoinViewModel coin) : base(string.Empty)
{
Coin = coin;
Title = $"{coin.TransactionId[0..7]}'s Details";
}
public CoinVie... | mit | C# |
fa3511d0d2aebf2c001a2a0c8fe6d33acc553a86 | Update DeletingAColumn.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as... | Examples/CSharp/RowsColumns/InsertingAndDeleting/DeletingAColumn.cs | Examples/CSharp/RowsColumns/InsertingAndDeleting/DeletingAColumn.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting
{
public class DeletingAColumn
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting
{
public class DeletingAColumn
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDi... | mit | C# |
b1b0381d2282a408f0b16e94bc9caf2912595ec9 | Add texture brush test shapes. | l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Test/Eto.Test/Sections/Drawing/TextureBrushesSection2.cs | Source/Eto.Test/Eto.Test/Sections/Drawing/TextureBrushesSection2.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Drawing
{
class TextureBrushesSection2 : Scrollable
{
Bitmap image = TestIcons.Textures;
public TextureBrushesSection2()
{
var w = image.Size.Width / 3; // same as height
var img = image.Clone(new Rectangle(w, w, w, w));
va... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Drawing
{
class TextureBrushesSection2 : Scrollable
{
Bitmap image = TestIcons.Textures;
public TextureBrushesSection2()
{
var w = image.Size.Width / 3; // same as height
var img = image.Clone(new Rectangle(w, w, w, w));
va... | bsd-3-clause | C# |
f00c0ca54bf922359dce3a22043fe8b3ba4d8f9a | Update TransactionHistory.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Production/TransactionHistory.cs | Test/AdventureWorksFunctionalModel/Production/TransactionHistory.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | apache-2.0 | C# |
495b92208f6282492eedf1e6f045299a0cce7fac | Update StarScythe.cs | Minesap/TheMinepack | Projectiles/StarScythe.cs | Projectiles/StarScythe.cs | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace TheMinepack.Projectiles
{
public class StarScytheProjectile : ModProjectile
{
public override void SetDefaults()
{
proj... | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Minepack.Projectiles
{
public class StarScythe : ModProjectile
{
public override void SetDefaults()
{
projectile.Cl... | mit | C# |
37044bb9fd53f0501a1f67a2b91d34fa8a429bfb | test to check the cancellation list is being maintained | rmacdonaldsmith/ForgetMeNot-Akka | src/Core.Tests/Cancellation/WhenCancelled.cs | src/Core.Tests/Cancellation/WhenCancelled.cs | using System;
using Akka.Actor;
using Akka.TestKit.NUnit;
using ForgetMeNot.Core.Cancellation;
using ForgetMeNot.Messages;
using NUnit.Framework;
namespace ForgetMeNot.Core.Tests.Cancellation
{
public class WhenCancelled : TestKit
{
[Test]
public void ShouldAllowNonCancelledRemindersThrough()
... | using System;
using Akka.Actor;
using Akka.TestKit.NUnit;
using ForgetMeNot.Core.Cancellation;
using ForgetMeNot.Messages;
using NUnit.Framework;
namespace ForgetMeNot.Core.Tests.Cancellation
{
public class WhenCancelled : TestKit
{
[Test]
public void ShouldAllowNonCancelledRemindersThrough()
... | mit | C# |
bc7c8574e954f127ab0253861fd0022318f2620d | Improve comparison order to avoid reading blob values by mistake | kamsar/Rainbow,MacDennis76/Rainbow,PetersonDave/Rainbow | src/Rainbow/Diff/Fields/DefaultComparison.cs | src/Rainbow/Diff/Fields/DefaultComparison.cs | using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class DefaultComparison : IFieldComparer
{
public bool CanCompare(IItemFieldValue field1, IItemFieldValue field2)
{
return field1 != null && field2 != null;
}
public bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (field... | using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class DefaultComparison : IFieldComparer
{
public bool CanCompare(IItemFieldValue field1, IItemFieldValue field2)
{
return field1 != null && field2 != null;
}
public bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (field... | mit | C# |
8a54eb77f1535b52570390c6dcaa6ff1fd2f8fb6 | update totpHelperTest | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | test/WeihanLi.Common.Test/HelpersTest/TotpHelperTest.cs | test/WeihanLi.Common.Test/HelpersTest/TotpHelperTest.cs | using System.Threading;
using WeihanLi.Common.Helpers;
using Xunit;
namespace WeihanLi.Common.Test.HelpersTest
{
public class TotpHelperTest
{
private readonly object _lock = new object();
[Fact]
public void Test()
{
lock (_lock)
{
TotpH... | using System.Threading;
using WeihanLi.Common.Helpers;
using Xunit;
namespace WeihanLi.Common.Test.HelpersTest
{
public class TotpHelperTest
{
private readonly object _lock = new object();
[Fact]
public void Test()
{
lock (_lock)
{
TotpH... | mit | C# |
ac08d2c9711b694fa228e91ecb5e081951a4c3d0 | Add field in savegame | Xeeynamo/KingdomHearts | OpenKh.Kh2/SaveData/DriveForm.cs | OpenKh.Kh2/SaveData/DriveForm.cs | /*
Kingdom Save Editor
Copyright (C) 2021 Luciano Ciccariello
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later ver... | /*
Kingdom Save Editor
Copyright (C) 2021 Luciano Ciccariello
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later ver... | mit | C# |
602ef2b41e4168e82f5a7a601fe303a4d4b809d1 | Add initial category selection | zaynetro/PicMatcher | PicMatcher/Pages/SettingsPage.cs | PicMatcher/Pages/SettingsPage.cs | using System;
using Xamarin.Forms;
using System.Collections.Generic;
namespace PicMatcher
{
public class SettingsPage : ContentPage
{
GameSettings _settings;
Dictionary<string, Category> _catsHash = new Dictionary<string, Category> ();
Dictionary<string, Language> _langHash = new Dictionary<string, Language>... | using System;
using Xamarin.Forms;
using System.Collections.Generic;
namespace PicMatcher
{
public class SettingsPage : ContentPage
{
GameSettings _settings;
Dictionary<string, Category> _catsHash = new Dictionary<string, Category> ();
Dictionary<string, Language> _langHash = new Dictionary<string, Language>... | mit | C# |
c6dab57f566f786b315a3e25e7f35053d591676c | Update BracketPush.cs | ErikSchierboom/xcsharp,GKotfis/csharp,exercism/xcsharp,robkeim/xcsharp,GKotfis/csharp,ErikSchierboom/xcsharp,exercism/xcsharp,robkeim/xcsharp | exercises/bracket-push/BracketPush.cs | exercises/bracket-push/BracketPush.cs | using System;
public static class BracketPush
{
public static bool IsPaired(string input)
{
throw new NotImplementedException();
}
}
| using System.Linq;
public static class BracketPush
{
public static bool IsPaired(string input)
{
var brackets = new string(input.Where(c => "[]{}()".Contains(c)).ToArray());
var previousLength = brackets.Length;
while (brackets.Length > 0)
{
brackets = brackets.Rep... | mit | C# |
ec4e1ad61dedb3167e6ef511cc180c0e48957f01 | Remove comment | insthync/unity-utilities | UnityUtilities/Scripts/Misc/UnityUtils.cs | UnityUtilities/Scripts/Misc/UnityUtils.cs | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | mit | C# |
870eb92e5c5d29aa25bdf1f6e4ad87acd7be0f63 | Fix ParentProvider not being set on MyFilteringProcessor (#3370) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | docs/trace/extending-the-sdk/MyFilteringProcessor.cs | docs/trace/extending-the-sdk/MyFilteringProcessor.cs | // <copyright file="MyFilteringProcessor.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.a... | // <copyright file="MyFilteringProcessor.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.a... | apache-2.0 | C# |
3a5b21c0f5caafc98e93783f5d014dbc34841f8c | Update "reset all bindings" button to better match new key binding row widths | smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Overlays/KeyBinding/KeyBindingsSubsection.cs | osu.Game/Overlays/KeyBinding/KeyBindingsSubsection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
u... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
u... | mit | C# |
fedf04ad6760b4fa2ce20b2ac3133912a82ab7d4 | Remove extra read | SteamDatabase/ValveResourceFormat | ValveResourceFormat/ResourceTypes/Panorama.cs | ValveResourceFormat/ResourceTypes/Panorama.cs | using System;
using System.IO;
using System.Text;
namespace ValveResourceFormat.ResourceTypes
{
public class Panorama : Blocks.ResourceData
{
public byte[] Data { get; private set; }
public override void Read(BinaryReader reader)
{
reader.BaseStream.Position = this.Offset;... | using System;
using System.IO;
using System.Text;
namespace ValveResourceFormat.ResourceTypes
{
public class Panorama : Blocks.ResourceData
{
public byte[] Data { get; private set; }
public override void Read(BinaryReader reader)
{
reader.BaseStream.Position = this.Offset;... | mit | C# |
f498afb46f487aa24977f20b69e6f7c77105efcd | Make Add and Increment internal | paparony03/osu-framework,Nabile-Rahmani/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,ZLima12/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,default0/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-fra... | osu.Framework/Statistics/FrameStatistics.cs | osu.Framework/Statistics/FrameStatistics.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
namespace osu.Framework.Statistics
{
internal class FrameStatistics
{
internal read... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
namespace osu.Framework.Statistics
{
internal class FrameStatistics
{
internal read... | mit | C# |
9a02c0c326bef1a8f2999644d17458b5dc864fdb | Fix typo in CounterValue.cs | AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css | src/AngleSharp.Css/Values/Primitives/CounterValue.cs | src/AngleSharp.Css/Values/Primitives/CounterValue.cs | namespace AngleSharp.Css.Values
{
using AngleSharp.Text;
using System;
/// <summary>
/// Sets a CSS counter.
/// </summary>
struct CounterValue : ICssPrimitiveValue, IEquatable<CounterValue>
{
#region Fields
private readonly String _name;
private readonly Int32 _val... | namespace AngleSharp.Css.Values
{
using AngleSharp.Text;
using System;
/// <summary>
/// Sets a CSS counter.
/// </summary>
struct CounterValue : ICssPrimitiveValue, IEquatable<CounterValue>
{
#region Fields
private readonly String _name;
private readonly Int32 _val... | mit | C# |
4806b9e52ff191537d181d29406f071cbc110931 | Fix EF Core issue, where `MySqlGeometry.Value` of type `ReadOnlySpan<byte>` will throw an exception in `Microsoft.EntityFrameworkCore.Storage.Internal.DbParameterCollectionExtensions.FormatParameterValue(StringBuilder builder, object parameterValue)`. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/MySql.Data.Types/MySqlGeometry.cs | src/MySqlConnector/MySql.Data.Types/MySqlGeometry.cs | using System;
using System.Buffers.Binary;
namespace MySql.Data.Types
{
/// <summary>
/// Represents MySQL's internal GEOMETRY format: https://dev.mysql.com/doc/refman/8.0/en/gis-data-formats.html#gis-internal-format
/// </summary>
public sealed class MySqlGeometry
{
/// <summary>
/// Constructs a <see cref="... | using System;
using System.Buffers.Binary;
namespace MySql.Data.Types
{
/// <summary>
/// Represents MySQL's internal GEOMETRY format: https://dev.mysql.com/doc/refman/8.0/en/gis-data-formats.html#gis-internal-format
/// </summary>
public sealed class MySqlGeometry
{
/// <summary>
/// Constructs a <see cref="... | mit | C# |
822d1045fbbd02e654f40d05760b41fe31079c29 | Insert new files, Alura, C# e seus Fundamentos, Aula 3 | fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs | alura/c-sharp/CaixaEletronico.cs | alura/c-sharp/CaixaEletronico.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CaixaEletronico
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
pr... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CaixaEletronico
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
pr... | mit | C# |
ad6d90c6085cc3805db5422381973acafc8bd5a3 | Check InputStream on when seekable. | ianbattersby/Simple.Http,markrendle/Simple.Web,ianbattersby/Simple.Http,markrendle/Simple.Web,markrendle/Simple.Web,ianbattersby/Simple.Http | src/Simple.Web/Behaviors/Implementations/SetInput.cs | src/Simple.Web/Behaviors/Implementations/SetInput.cs | namespace Simple.Web.Behaviors.Implementations
{
using MediaTypeHandling;
using Behaviors;
using Http;
/// <summary>
/// This type supports the framework directly and should not be used from your code.
/// </summary>
public static class SetInput
{
/// <summary>
... | namespace Simple.Web.Behaviors.Implementations
{
using MediaTypeHandling;
using Behaviors;
using Http;
/// <summary>
/// This type supports the framework directly and should not be used from your code.
/// </summary>
public static class SetInput
{
/// <summary>
... | mit | C# |
d67251ba8d47456ade1073ff1c59f35e37dbd184 | Fix bug with require token field in register page | RenetConsulting/angularcore.net,RenetConsulting/angularcore.net,RenetConsulting/angularcore.net,RenetConsulting/angularcore.net | Business/Application.Business/Models/ResetPasswordFromMailModel.cs | Business/Application.Business/Models/ResetPasswordFromMailModel.cs | namespace Application.Business.Models
{
using System.ComponentModel.DataAnnotations;
public class ResetPasswordFromMailModel
{
[Required]
[DataType(DataType.EmailAddress)]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength(... | namespace Application.Business.Models
{
using System.ComponentModel.DataAnnotations;
public class ResetPasswordFromMailModel
{
[Required]
[DataType(DataType.EmailAddress)]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength(... | mit | C# |
9161c5992954d5538054bc73cd5dd8bcc7e415cc | Solve day 16 part 2 | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2016/Day16Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2016/Day16Tests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | apache-2.0 | C# |
45a0682aead329042f6cf3e1cceada9c068ee347 | Fix rename | nigel-sampson/talks,nigel-sampson/talks | Ignite-2015/Hubb.Core/ViewModels/NoFodyLoginViewModel.cs | Ignite-2015/Hubb.Core/ViewModels/NoFodyLoginViewModel.cs | using System;
using System.Threading.Tasks;
using Caliburn.Micro;
using Hubb.Core.Services;
namespace Hubb.Core.ViewModels
{
public class NoFodyLoginViewModel : Screen
{
private readonly IAppNavigationService navigation;
private readonly IAuthenticationService authentication;
private ... | using System;
using System.Threading.Tasks;
using Caliburn.Micro;
using Hubb.Core.Services;
namespace Hubb.Core.ViewModels
{
public class FodyLoginViewModel : Screen
{
private readonly IAppNavigationService navigation;
private readonly IAuthenticationService authentication;
private st... | mit | C# |
9ea44ecdd977fe4ab255e237938a426a9c42e206 | add url option for PostToServiceOptions | linpiero/Serenity,WasimAhmad/Serenity,linpiero/Serenity,linpiero/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,linpiero/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimA... | Serenity.Script.Imports/Services/PostToServiceOptions.cs | Serenity.Script.Imports/Services/PostToServiceOptions.cs | using System;
using System.Html;
using System.Runtime.CompilerServices;
using jQueryApi;
using System.Collections.Generic;
namespace Serenity
{
/// <summary>
/// Options for the Q.Externals.PostToService function
/// </summary>
[Imported, Serializable]
public class PostToServiceOptions... | using System;
using System.Html;
using System.Runtime.CompilerServices;
using jQueryApi;
using System.Collections.Generic;
namespace Serenity
{
/// <summary>
/// Options for the Q.Externals.PostToService function
/// </summary>
[Imported, Serializable]
public class PostToServiceOptions... | mit | C# |
512536f5fe3465b329c1ccb6f7a2a7e23d8d6a65 | Fix unconditional null in `Equals` implementation | ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu | osu.Game/Online/Chat/Message.cs | osu.Game/Online/Chat/Message.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.Chat
{
public class Me... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.Chat
{
public class Me... | mit | C# |
3c1a4b89ff9cc61e45755ba9a9596b9345bdd6eb | test cases | jefking/King.Azure.Imaging,jefking/King.Azure.Imaging,jefking/King.Azure.Imaging | King.Azure.Imaging.Unit.Test/ImageTaskFactoryTests.cs | King.Azure.Imaging.Unit.Test/ImageTaskFactoryTests.cs | namespace King.Azure.Imaging.Unit.Test
{
using King.Service;
using NSubstitute;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[TestFixture]
public class ImageTaskFactoryTests
{
... | namespace King.Azure.Imaging.Unit.Test
{
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[TestFixture]
public class ImageTaskFactoryTests
{
}
}
| mit | C# |
9eda2f2df126f28079b05e9c87955fb08dd63364 | Remove box surrounding close button | ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/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.Game.Graphics;
using osu.Game.Graphics.Us... | mit | C# |
d7b93012739c363ee42bddee59b0a4fc21015c3f | Update OptionAttribute.cs | primo-ppcg/BF-Crunch | src/argparse/OptionAttribute.cs | src/argparse/OptionAttribute.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using ppcg.math;
using ppcg.text;
namespace ppcg.argparse {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class OptionAttribute : ... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using ppcg.math;
using ppcg.text;
namespace ppcg.argparse {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class OptionAttribute :... | mit | C# |
4587928832abf3dc70a546e503b47a5a856ae617 | Fix max X position when moving paddle with keyboard | ZombieUnicornStudio/Arkapongout | Assets/Scripts/Paddle.cs | Assets/Scripts/Paddle.cs | using UnityEngine;
public class Paddle : MonoBehaviour {
public int lifes = 3;
public AudioClip powerUpSound;
[Range(0f, 40f)]
public float speed = 20;
public float minXpos = -15;
public float maxXpos = 15;
AudioSource audioSrc;
void Awake () {
audioSrc = GetComponent<AudioSource>();
}
void OnTriggerE... | using UnityEngine;
public class Paddle : MonoBehaviour {
public int lifes = 3;
public AudioClip powerUpSound;
[Range(0f, 40f)]
public float speed = 20;
public float minXpos = -20;
public float maxXpos = 20;
AudioSource audioSrc;
void Awake () {
audioSrc = GetComponent<AudioSource>();
}
void OnTriggerE... | mit | C# |
530563b73256f40a3f605d40c199266967448e5e | Implement IEquatable for Date | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresher/Utilities/Date.cs | code/SoftwareThresher/SoftwareThresher/Utilities/Date.cs | using System;
namespace SoftwareThresher.Utilities {
public class Date : IEquatable<Date> {
readonly DateTime date;
public static Date NullDate => new Date(DateTime.MinValue);
public Date(DateTime dateTime) {
date = dateTime.Date;
}
public double DaysOld => Math.Floor((Dat... | using System;
namespace SoftwareThresher.Utilities {
public class Date
{
readonly DateTime date;
public static Date NullDate => new Date(DateTime.MinValue);
public Date(DateTime dateTime)
{
date = dateTime.Date;
}
public double DaysOld => Math.Floor((DateTime.Tod... | mit | C# |
b9ee2272e1a86835b253e55d1af0e7e0ddd1925f | bump file version too | FacturAPI/facturapi-net | facturapi-net/Properties/AssemblyInfo.cs | facturapi-net/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("Fac... | 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("Fac... | mit | C# |
ba53241df3ce7d89c5c8e3037c1b99de7602d6ed | Update Get.cs | ovation22/PragmaticTDD,ovation22/PragmaticTDD | Pragmatic.TDD.Services.Tests/HorseServiceTests/Get.cs | Pragmatic.TDD.Services.Tests/HorseServiceTests/Get.cs | using Autofac;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pragmatic.TDD.Services.Interfaces;
using Pragmatic.TDD.Services.Tests.Factories;
namespace Pragmatic.TDD.Services.Tests.HorseServiceTests
{
[TestClass]
public class Get : TestBase
{
private IHorseService _horseServi... | using Autofac;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pragmatic.TDD.Services.Interfaces;
using Pragmatic.TDD.Services.Tests.Factories;
namespace Pragmatic.TDD.Services.Tests.HorseServiceTests
{
[TestClass]
public class Get : TestBase
{
private IHorseService _horseServi... | mit | C# |
ef6533c9987368f09048159449d7ababbdd05226 | Mark as sealed | DotNetKit/DotNetKit.Wpf.Printing | DotNetKit.Wpf.Printing.Demo/Printing/ScaleSelector.cs | DotNetKit.Wpf.Printing.Demo/Printing/ScaleSelector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
namespace DotNetKit.Wpf.Printing.Demo.Printing
{
public sealed class ScaleSelector
: BindableBase
{
double scale = 1;
public double Scale
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
namespace DotNetKit.Wpf.Printing.Demo.Printing
{
public class ScaleSelector
: BindableBase
{
double scale = 1;
public double Scale
{
... | mit | C# |
9d4d6aaf8479ebf494b38a58976bc7c9da85764f | Change Any to Count as conversion might not always succeed | baks/code-cracker,giggio/code-cracker,adraut/code-cracker,carloscds/code-cracker,ElemarJR/code-cracker,thomaslevesque/code-cracker,AlbertoMonteiro/code-cracker,code-cracker/code-cracker,kindermannhubert/code-cracker,GuilhermeSa/code-cracker,code-cracker/code-cracker,carloscds/code-cracker,thorgeirk11/code-cracker,jhanc... | src/CSharp/CodeCracker/Refactoring/ParameterRefactoryAnalyzer.cs | src/CSharp/CodeCracker/Refactoring/ParameterRefactoryAnalyzer.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.CSharp.Refactoring
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class Par... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.CSharp.Refactoring
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class Par... | apache-2.0 | C# |
f511c89dcc60cce74a2d26c7ea099169bdb1367e | Format whitespace | milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net.Tests/CssAttributeTests.cs | PreMailer.Net/PreMailer.Net.Tests/CssAttributeTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PreMailer.Net.Tests
{
[TestClass]
public class CssAttributeTests
{
[TestMethod]
public void StandandUnimportantRule_ReturnsAttribute()
{
var attribute = CssAttribute.FromRule("color: red");
Assert.AreEqual("color", attribute.Sty... | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PreMailer.Net.Tests
{
[TestClass]
public class CssAttributeTests
{
[TestMethod]
public void StandandUnimportantRule_ReturnsAttribute()
{
var attribute = CssAttribute.FromRule("color: red");
... | mit | C# |
e7b0aadbcb4932770f3d6dffd6d83e9d3ec8dde3 | Add code task | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Division/Components/DivisionSettings.cs | R7.University.Division/Components/DivisionSettings.cs | //
// DivisionSettings.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014-2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free... | //
// DivisionSettings.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014-2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free... | agpl-3.0 | C# |
90d0a6638bc6e696941eddb8064fe1ac97cd6649 | bump version to 5.2.2.13807 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("He... | 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("He... | mit | C# |
c93cfc922939be6a2503154b65280257b0246d2b | fix tests | arsouza/Aritter,arsouza/Aritter,aritters/Ritter | tests/Application.Seedwork.Tests/Services/AppService_Constructor.cs | tests/Application.Seedwork.Tests/Services/AppService_Constructor.cs | using FluentAssertions;
using Xunit;
namespace Application.Seedwork.Tests.Services
{
public class AppService_Constructor
{
[Fact]
public void CreateAnInstanceOfAppService()
{
var appService = new TestAppService(null);
appService.Should().NotBeNull();
}
... | using FluentAssertions;
namespace Application.Seedwork.Tests.Services
{
public class AppService_Constructor
{
public void CreateAnInstanceOfAppService()
{
var appService = new TestAppService(null);
appService.Should().NotBeNull();
}
}
}
| mit | C# |
66ebe2ee6679866d46b497a6b1318d8bc5cab5e3 | Change anchors in line with new ScrollingPlayfield implementation | smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,UselessToucan/osu,smoogipooo/osu,ZLima12/osu,naoey/osu,DrabWeb/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,peppy/osu,Frontear/osuKyzer,UselessToucan/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu,naoe... | osu.Game.Rulesets.Catch/Objects/Drawable/DrawableCatchHitObject.cs | osu.Game.Rulesets.Catch/Objects/Drawable/DrawableCatchHitObject.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Drawables;
using OpenTK;
using osu.Game.Rulesets... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Drawables;
using OpenTK;
using osu.Game.Rulesets... | mit | C# |
b1b305c150aeb2bb5c6df0a7d62a9f72e5fcba3e | add method AddToc | peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu | osu.Game/Overlays/Wiki/WikiSidebar.cs | osu.Game/Overlays/Wiki/WikiSidebar.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics;
using osu.Game.Graphics.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Overlays.Wiki
{
p... | mit | C# |
ab3b257d9bc2225345751be07a90ec5825ecfadd | Update ExceptionContractResolver - add namespace, update to use var as standard | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.Services/Utilities/ExceptionContractResolver.cs | Modix.Services/Utilities/ExceptionContractResolver.cs | using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Modix.Services.Utilities
{
public class ExceptionContractResolver : DefaultContractResolver
{
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
... | using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
public class ExceptionContractResolver : DefaultContractResolver
{
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
{
JsonProperty property = base.CreatePropert... | mit | C# |
8b65c37a5807a7eeacf43c084314c5500011265e | Make sure Fiddler is turned off by default | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient.IntegrationTests/Program.cs | Source/CakeMail.RestClient.IntegrationTests/Program.cs | using System;
namespace CakeMail.RestClient.IntegrationTests
{
public class Program
{
public static void Main()
{
Console.WriteLine("{0} Executing all CakeMail API methods ... {0}", new string('=', 10));
try
{
ExecuteAllMethods();
}
catch (Exception e)
{
Console.WriteLine("");
Con... | using System;
namespace CakeMail.RestClient.IntegrationTests
{
public class Program
{
public static void Main()
{
Console.WriteLine("{0} Executing all CakeMail API methods ... {0}", new string('=', 10));
try
{
ExecuteAllMethods();
}
catch (Exception e)
{
Console.WriteLine("");
Con... | mit | C# |
912909da785b0e1f4c234809aa39ea1abbf12073 | Update FluentEmailSmtpBuilderExtensions.cs | lukencode/FluentEmail,lukencode/FluentEmail | src/Senders/FluentEmail.Smtp/FluentEmailSmtpBuilderExtensions.cs | src/Senders/FluentEmail.Smtp/FluentEmailSmtpBuilderExtensions.cs | using FluentEmail.Core.Interfaces;
using FluentEmail.Smtp;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Net.Mail;
namespace Microsoft.Extensions.DependencyInjection
{
public static class FluentEmailSmtpBuilderExtensions
{
public static FluentEmailServicesBuilde... | using FluentEmail.Core.Interfaces;
using FluentEmail.Smtp;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Net.Mail;
namespace Microsoft.Extensions.DependencyInjection
{
public static class FluentEmailSmtpBuilderExtensions
{
public static FluentEmailServicesBuilde... | mit | C# |
02356030c87f2395f2c595c08bddff2a57ec9530 | fix merge mistake | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Login/LoginViewModel.cs | WalletWasabi.Fluent/ViewModels/Login/LoginViewModel.cs | using System.Threading.Tasks;
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.Login.PasswordFinder;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Fluent.ViewModels.Wallets;
using WalletWasabi.Userfacing;
namespace WalletWasab... | using System.Threading.Tasks;
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.Login.PasswordFinder;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Fluent.ViewModels.Wallets;
using WalletWasabi.Userfacing;
namespace WalletWasab... | mit | C# |
dc343996693cda5ec85b95ffffccecd897968e82 | fix link. | zhukaixy/open3mod,zhukaixy/open3mod,dayo7116/open3mod,acgessler/open3mod,dayo7116/open3mod,acgessler/open3mod | open3mod/DonationDialog.cs | open3mod/DonationDialog.cs | ///////////////////////////////////////////////////////////////////////////////////
// Open 3D Model Viewer (open3mod) (v0.1)
// [DonationDialog.cs]
// (c) 2012-2013, Open3Mod Contributors
//
// Licensed under the terms and conditions of the 3-clause BSD license. See
// the LICENSE file in the root folder of the reposi... | ///////////////////////////////////////////////////////////////////////////////////
// Open 3D Model Viewer (open3mod) (v0.1)
// [DonationDialog.cs]
// (c) 2012-2013, Open3Mod Contributors
//
// Licensed under the terms and conditions of the 3-clause BSD license. See
// the LICENSE file in the root folder of the reposi... | bsd-3-clause | C# |
a34433c042eeb2df8c47a43181852afbb091293f | remove unused stuff in notification area vm | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Windows/Widgets/NotificationAreaViewModel.cs | TCC.Core/Windows/Widgets/NotificationAreaViewModel.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Windows.Threading;
using TCC.Data;
using TCC.Settings;
using TCC.ViewModels;
namespace TCC.Windows.Widgets
{
public class NotificationAreaViewModel : TccWindowViewModel
{
private readonly ConcurrentQueue<NotificationInf... | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Windows.Threading;
using TCC.Data;
using TCC.Settings;
using TCC.ViewModels;
namespace TCC.Windows.Widgets
{
public class NotificationAreaViewModel : TccWindowViewModel
{
public event Action NotificationAddedEvent;
... | mit | C# |
cc8a99b75a7f80dd858bdab50c34d06438e5e2da | add FormatVersion to LogEventDataSerializer | vostok/core | Vostok.Core/Logging/Airlock/LogEventDataSerializer.cs | Vostok.Core/Logging/Airlock/LogEventDataSerializer.cs | using System;
using System.IO;
using Vostok.Airlock;
using Vostok.Commons.Binary;
namespace Vostok.Logging.Airlock
{
public class LogEventDataSerializer : IAirlockSerializer<LogEventData>, IAirlockDeserializer<LogEventData>
{
private const byte FormatVersion = 1;
public LogEventData Deserializ... | using System;
using Vostok.Airlock;
using Vostok.Commons.Binary;
namespace Vostok.Logging.Airlock
{
public class LogEventDataSerializer : IAirlockSerializer<LogEventData>, IAirlockDeserializer<LogEventData>
{
public LogEventData Deserialize(IAirlockSource source)
{
var reader = sou... | mit | C# |
6b2b47a8e6718456410036e42fe4b3728387a2db | Fix code completion disappearing/reseting because C# part of .cshtml in regenerated Razor AddIn generation of C# projection content inside .cshtml depends on code completion being visible hence it needs to know state. Since we are using Roslyn code completion API which doesn't have method to check if code completion is... | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Editor/DefaultVisualStudioCompletionBroker.cs | src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Editor/DefaultVisualStudioCompletionBroker.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 Microsoft.VisualStudio.Editor.Razor;
using Microsoft.VisualStudio.Text.Editor;
using MonoDevelop.Ide.CodeCompletion;
namespace Mic... | // 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 Microsoft.VisualStudio.Editor.Razor;
using Microsoft.VisualStudio.Text.Editor;
using MonoDevelop.Ide.CodeCompletion;
namespace Mic... | apache-2.0 | C# |
eaedc84c4c221d3d6f7ca4f25d5341a8079558f6 | Update AssemblyInfo | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras | src/Atata.WebDriverExtras/Properties/AssemblyInfo.cs | src/Atata.WebDriverExtras/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Atata.WebDriverExtras")]
[assembly: AssemblyDescription("A set of extension methods and other extra classes for Selenium WebDriver.")]
[assembly: Guid("a08c24d1-7904-4a0c-bf07-5aef4a520d82")]
[assembly: AssemblyCompany("Yevgeniy... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Atata.WebDriverExtras")]
[assembly: AssemblyDescription("A set of extension methods and other extra classes for Selenium WebDriver.")]
[assembly: Guid("a08c24d1-7904-4a0c-bf07-5aef4a520d82")]
[assembly: AssemblyCompany("Yevgeniy... | apache-2.0 | C# |
33a9c7b5f9b2262fd2103155def0c9427f2d18ba | Create a valid order | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Test/Helpers/CreateValidEntities.cs | Test/Helpers/CreateValidEntities.cs | using System;
using System.Collections.Generic;
using System.Text;
using Anlab.Core.Domain;
namespace Test.Helpers
{
public static class CreateValidEntities
{
public static Order Order(int? counter, bool populateAllFields = false)
{
var rtValue = new Order();
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Test.Helpers
{
public static class CreateValidEntities
{
}
}
| mit | C# |
f9e89adba843cde475639c6bb8b829afa30179c6 | Add missing docs. | SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Controls/TransitioningContentControl.cs | src/Avalonia.Controls/TransitioningContentControl.cs | using System;
using System.Threading;
using Avalonia.Animation;
namespace Avalonia.Controls;
/// <summary>
/// Displays <see cref="Content"/> according to a <see cref="FuncDataTemplate"/>.
/// Uses <see cref="PageTransition"/> to move between the old and new content values.
/// </summary>
public class Transitioning... | using System;
using System.Threading;
using Avalonia.Animation;
namespace Avalonia.Controls;
public class TransitioningContentControl : ContentControl
{
private CancellationTokenSource? _lastTransitionCts;
private object? _displayedContent;
/// <summary>
/// Defines the <see cref="PageTransition... | mit | C# |
e1addac69b6a442671c17fa1f948754f125c50a5 | Update seated mode. | Eusth/VRGIN.Template | VRGIN.Template/GenericSeatedMode.cs | VRGIN.Template/GenericSeatedMode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using VRGIN.Controls;
using VRGIN.Core;
using VRGIN.Helpers;
using VRGIN.Modes;
namespace VRGIN.Template
{
class GenericSeatedMode : SeatedMode
{
protected override IEnumerable<IShortcut> CreateSho... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VRGIN.Controls;
using VRGIN.Core;
using VRGIN.Helpers;
using VRGIN.Modes;
namespace VRGIN.Template
{
class GenericSeatedMode : SeatedMode
{
protected override IEnumerable<IShortcut> CreateShortcuts()
{
... | mit | C# |
b82c717ab965c997bae038ead72d75c2468dcf27 | Update ImageShapeControl.xaml.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D.UI/Views/Shapes/ImageShapeControl.xaml.cs | src/Core2D.UI/Views/Shapes/ImageShapeControl.xaml.cs | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Core2D.Editor;
using Core2D.Editors;
using Core2D.Shapes;
using Core2D.UI.Views.Editors;
namespace Core2D.UI.Views.Shapes
{
/// <summary>
/// Interaction logic for <see cref="ImageShapeControl"/> xaml.
/// </summary>
public class ImageShapeCon... | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Core2D.Editor;
using Core2D.Editors;
using Core2D.Shapes;
using Core2D.UI.Views.Editors;
namespace Core2D.UI.Views.Shapes
{
/// <summary>
/// Interaction logic for <see cref="ImageShapeControl"/> xaml.
/// </summary>
public class ImageShapeCon... | mit | C# |
44e44931fe4050e82b2877047b5104d779147f78 | Remove nameof for log event name (#17807) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Middleware/HostFiltering/src/LoggerExtensions.cs | src/Middleware/HostFiltering/src/LoggerExtensions.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 Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.HostFiltering
{
internal static class LoggerExtensions
{
... | // 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 Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.HostFiltering
{
internal static class LoggerExtensions
{
... | apache-2.0 | C# |
56c7dba38a6efaadc390b2e360f2ffa20f2739e3 | Fix API Key Authentication attribute which wasn't picking up apiKey value. | skbkontur/NuGetGallery,mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_d... | src/NuGetGallery/Filters/ApiKeyAuthorizeAttribute.cs | src/NuGetGallery/Filters/ApiKeyAuthorizeAttribute.cs | using System;
using System.Globalization;
using System.Net;
using System.Web.Mvc;
using Ninject;
namespace NuGetGallery.Filters
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public sealed class ApiKeyAuthorizeAttribute : ActionFilterAttribute
... | using System;
using System.Globalization;
using System.Net;
using System.Web.Mvc;
using Ninject;
namespace NuGetGallery.Filters
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public sealed class ApiKeyAuthorizeAttribute : ActionFilterAttribute
... | apache-2.0 | C# |
2f20e1bf49a709f51e685e0c6a466cc876168a2e | Fix Bamboo detection (#943) | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/CI/Bamboo/Bamboo.cs | source/Nuke.Common/CI/Bamboo/Bamboo.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using Nuke.Common.Utilities;
namespace Nuke.Common.CI.Bamboo
{
/// <summary>
/// Interface a... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using Nuke.Common.Utilities;
namespace Nuke.Common.CI.Bamboo
{
/// <summary>
/// Interface a... | mit | C# |
1745dfd162cde419194c0bd26bfa92c8c2d7fb8b | Apply security policy to Glimpse so only I can use it for now | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/GlimpseSecurityPolicy.cs | BatteryCommander.Web/GlimpseSecurityPolicy.cs | using Glimpse.AspNet.Extensions;
using Glimpse.Core.Extensibility;
namespace BatteryCommander.Web
{
public class GlimpseSecurityPolicy : IRuntimePolicy
{
public RuntimePolicy Execute(IRuntimePolicyContext policyContext)
{
// You can perform a check like the one below to control Glim... | /*
// Uncomment this class to provide custom runtime policy for Glimpse
using Glimpse.AspNet.Extensions;
using Glimpse.Core.Extensibility;
namespace BatteryCommander.Web
{
public class GlimpseSecurityPolicy:IRuntimePolicy
{
public RuntimePolicy Execute(IRuntimePolicyContext policyContext)
{
... | mit | C# |
a06638f663547d06bde9ee29f70559cbdafe91c2 | Make S3HeaderNames const | carbon/Amazon | src/Amazon.S3/Helpers/S3HeaderNames.cs | src/Amazon.S3/Helpers/S3HeaderNames.cs | namespace Amazon.S3
{
internal static class S3HeaderNames
{
public const string StorageClass = "x-amz-storage-class";
public const string VersionId = "x-amz-version-id";
public const string ContentSha256 ... | namespace Amazon.S3
{
internal static class S3HeaderNames
{
public static readonly string StorageClass = "x-amz-storage-class";
public static readonly string VersionId = "x-amz-version-id";
public static readonly string Content... | mit | C# |
1852539b9c4bb20c0670d3fd1d073732137a0097 | Add random tags | Auxes/Dogey | src/Dogey.SQLite/Modules/TagsModule.cs | src/Dogey.SQLite/Modules/TagsModule.cs | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Dogey.SQLite.Modules
{
[Group("tags")]
[Remarks("Search and view available tags.")]
public class TagsModule : ModuleBase<SocketCommandContext>
{
private TagD... | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System.Linq;
using System.Threading.Tasks;
namespace Dogey.SQLite.Modules
{
[Group("tags")]
[Remarks("Search and view available tags.")]
public class TagsModule : ModuleBase<SocketCommandContext>
{
private TagDatabase _db;
... | apache-2.0 | C# |
b86a9861b581694d81f02cc6dd813c742bffc950 | Update AutofacCompositionRootSetupBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/DependencyInjection/AutofacCompositionRootSetupBase.cs | TIKSN.Core/DependencyInjection/AutofacCompositionRootSetupBase.cs | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using TIKSN.PowerShell;
namespace TIKSN.DependencyInjection
{
public abstract class AutofacCompositionRootSetupBase : CompositionRootSetupBase
... | using Autofac;
using Autofac.Core;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using TIKSN.PowerShell;
namespace TIKSN.DependencyInjection
{
public abstract class AutofacCompositionRootSetupBase : CompositionRootSetupBase
... | mit | C# |
c51d6402416bbf1f15c248e1070fde74a36bdfd1 | Add support for searching beatmap author at song select | EVAST9919/osu,2yangk23/osu,UselessToucan/osu,Drezi126/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu,naoey/osu,DrabWeb/osu,Nabile-Rahmani/osu,tacchinotacchi/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,Damnae/osu,peppy/osu-new,naoey/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,Frontear/osuKyzer,naoey/osu,ppy/... | osu.Game/Database/BeatmapMetadata.cs | osu.Game/Database/BeatmapMetadata.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey, AutoIncrement]
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey, AutoIncrement]
... | mit | C# |
5c2d5d9ee49f57bf11cd6cc49bd364333d5ad2ef | Fix bug when hitting Enter on last row (PG-234) | sillsdev/Glyssen,sillsdev/Glyssen | Glyssen/Controls/DataGridViewOverrideEnter.cs | Glyssen/Controls/DataGridViewOverrideEnter.cs | using System.Windows.Forms;
using SIL.Windows.Forms.Widgets.BetterGrid;
namespace Glyssen.Controls
{
/// <summary>
/// DataGridView with Enter moving to right (instead of down)
/// </summary>
public class DataGridViewOverrideEnter : BetterGrid
{
public DataGridViewOverrideEnter()
{
AllowUserToAddRows = tr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SIL.Windows.Forms.Widgets.BetterGrid;
namespace Glyssen.Controls
{
//DataGridView with Enter moving to right (instead of down)
public class DataGridViewOverrideEnter ... | mit | C# |
e2091ed4d4732795965f01823b88634c9c17e5d8 | fix MahApps Progress sample | DingpingZhang/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit | MahMaterialDragablzMashUp/DialogsViewModel.cs | MahMaterialDragablzMashUp/DialogsViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using MahApps.Metro.Controls;
using MahApps.Metro.Cont... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using MahApps.Metro.Controls;
using MahApps.Metro.Cont... | mit | C# |
3218b8a6aff7cebbfa963eb9df145e93580f522c | Fix press space to start game launch bomb | solfen/Rogue_Cadet | Assets/Scripts/SpecialPowers/SpecialPower.cs | Assets/Scripts/SpecialPowers/SpecialPower.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpecialPower : MonoBehaviour {
public float manaCost;
public float coolDownDuration;
public string button;
public bool isBomb = false; //tmp
[HideInInspector]
public float mana;
public float maxMa... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpecialPower : MonoBehaviour {
public float manaCost;
public float coolDownDuration;
public string button;
public bool isBomb = false; //tmp
[HideInInspector]
public float mana;
public float maxMa... | mit | C# |
f279719a66c0aa9891204632d578697d797a3005 | Change version to 1.3 | BoBiene/ContromeToOpenHAB | ContromeToOpenHAB/Properties/AssemblyInfo.cs | ContromeToOpenHAB/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Assem... | apache-2.0 | C# |
c7d5d28b8cc5abcefe5e51807bc92ac3dc428610 | Fix overlay hide animation playing at the wrong point in time. | paparony03/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,naoey/osu-framework,Tom94/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,NeoAdo... | osu.Framework/Graphics/Performance/PerformanceOverlay.cs | osu.Framework/Graphics/Performance/PerformanceOverlay.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Graphics.Performance
{
class PerformanceOverla... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Graphics.Performance
{
class PerformanceOverla... | mit | C# |
f4dd1a4820c4a9a8fd8a6c52d9db5706d370cab8 | Check for null | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | SnittListan/Controllers/AbstractController.cs | SnittListan/Controllers/AbstractController.cs | using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using Elmah;
namespace SnittListan.Controllers
{
public class AbstractController : Controller
{
protected override void OnActionExecuting(ActionExecutingContext filterContext)
... | using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using Elmah;
namespace SnittListan.Controllers
{
public class AbstractController : Controller
{
protected override void OnActionExecuting(ActionExecutingContext filterContext)
... | mit | C# |
bfd4d1bc8884c9303604e73c8a0a1e8a39df64e4 | Correct installation of AutoMapper profiles | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | Snittlistan/Installers/AutoMapperInstaller.cs | Snittlistan/Installers/AutoMapperInstaller.cs | using AutoMapper;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Snittlistan.Installers
{
public class AutoMapperInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
... | using AutoMapper;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Snittlistan.Installers
{
public class AutoMapperInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
... | mit | C# |
d0b5e6c7e68f33f026eb3179a6a85663b9729aeb | Add console app demo | jadiaz/string-duplicates | StringDuplicates/SimpleLibraryDemo/Program.cs | StringDuplicates/SimpleLibraryDemo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleLibrary;
namespace SimpleLibraryDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Simple Library Demonstration Application");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleLibrary;
namespace SimpleLibraryDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Simple Library Demonstration Application");
... | mit | C# |
8ecd422ec362a64da54c3aa5b06e823c9445f92b | Add a newline | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DynamicData/DynamicData/StateBagKey.cs | src/DynamicData/DynamicData/StateBagKey.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace DotVVM.Framework.Controls.DynamicData
{
public struct StateBagKey : IEquatable<StateBagKey>
{
public object Provider { get; private set; }
public PropertyInfo Property { get; private set; }
public Stat... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace DotVVM.Framework.Controls.DynamicData
{
public struct StateBagKey : IEquatable<StateBagKey>
{
public object Provider { get; private set; }
public PropertyInfo Property { get; private set; }
public Stat... | apache-2.0 | C# |
7bcca9c10690e7f235d06b6b5336d23d93ad083b | Rename parameter | appharbor/appharbor-cli | src/AppHarbor/Commands/LoginAuthCommand.cs | src/AppHarbor/Commands/LoginAuthCommand.cs | using System.IO;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor", alias: "login")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
private readonly IMaskedInput _maskedInput;
private re... | using System.IO;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor", alias: "login")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
private readonly IMaskedInput _maskedInput;
private re... | mit | C# |
07c8a97249449c55a1a263ad4947e919080e0267 | Fix Luc | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/LucFullenwarth.cs | src/Firehose.Web/Authors/LucFullenwarth.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class LucFullenwarth : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Luc";
public string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
public class LucFullenwarth : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Luc";
public string LastName => "Fullenwarth";
p... | mit | C# |
58628dff758d6bca939d9896111eba49129d6ebf | Make Exception property in FailedEventArgs readonly | ProgTrade/nUpdate,ProgTrade/nUpdate | nUpdate.WithoutTAP/UpdateEventArgs/FailedEventArgs.cs | nUpdate.WithoutTAP/UpdateEventArgs/FailedEventArgs.cs | // Copyright © Dominic Beger 2017
using System;
namespace nUpdate.UpdateEventArgs
{
/// <summary>
/// Provides data for any event that represents a failure of an operation.
/// </summary>
public class FailedEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instan... | // Copyright © Dominic Beger 2017
using System;
namespace nUpdate.UpdateEventArgs
{
/// <summary>
/// Provides data for any event that represents a failure of an operation.
/// </summary>
public class FailedEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instan... | mit | C# |
85a0c578984cf58b3a75f1490b1b7c379c884b6f | Update WindowDrag.cs | Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fom... | UnityProject/Assets/Scripts/UI/WindowDrag.cs | UnityProject/Assets/Scripts/UI/WindowDrag.cs | using UnityEngine;
public class WindowDrag : MonoBehaviour
{
public bool resetPositionOnDisable = false;
private float offsetX;
private float offsetY;
private Vector3 startPositon;
private RectTransform rectTransform;
void Start () {
// Save initial window start positon
startPositon = gameObject... | using UnityEngine;
public class WindowDrag : MonoBehaviour
{
public bool resetPositionOnDisable = false;
private float offsetX;
private float offsetY;
private Vector3 startPositon;
void Start () {
// Save initial window start positon
startPositon = gameObject.transform.position;
}
void OnDis... | agpl-3.0 | C# |
10aceda1e46722d03a9b3f4d988c94690bf29a62 | Declare as static class | oliverzick/Delizious-Filtering | src/Library/HashCode.cs | src/Library/HashCode.cs | #region Copyright and license
// <copyright file="HashCode.cs" company="Oliver Zick">
// Copyright (c) 2016 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except i... | #region Copyright and license
// <copyright file="HashCode.cs" company="Oliver Zick">
// Copyright (c) 2016 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except i... | apache-2.0 | C# |
d6cfd7f0c5327b0ad4f73852a3239842ccd199f0 | Add annotation to DHtml enum | magicmonty/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,irfanah/pickles,ludwigjossieaux/pickles,irfanah/pickles,blorgbeard/pickles,irfanah/pickles,irfanah/pickles,picklesdoc/pickles,dirkrombaut... | src/Pickles/Pickles/DocumentationFormat.cs | src/Pickles/Pickles/DocumentationFormat.cs | #region License
/*
Copyright [2011] [Jeffrey Cameron]
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... | #region License
/*
Copyright [2011] [Jeffrey Cameron]
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... | apache-2.0 | C# |
894466f58b845b00b91accd105f7ce088593cbbb | Update NumberFormatting.cs | keith-hall/Extensions,keith-hall/Extensions | src/NumberFormatting.cs | src/NumberFormatting.cs | using System.Text.RegularExpressions;
namespace HallLibrary.Extensions
{
public static class NumberFormatting
{
private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture
private static readonly ... | using System.Text.RegularExpressions;
namespace HallLibrary.Extensions
{
public static class NumberFormatting
{
private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture
private static readonly ... | apache-2.0 | C# |
304c49821cab0cfa92de90c1e09026e96fa90406 | fix control catalog. | jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,grokys/Perspex,Sup... | samples/ControlCatalog/ViewModels/CursorPageViewModel.cs | samples/ControlCatalog/ViewModels/CursorPageViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia;
using Avalonia.Input;
using Avalonia.Media.Imaging;
using Avalonia.Platform;
using MiniMvvm;
namespace ControlCatalog.ViewModels
{
public class CursorPageViewModel : ViewModelBase
{
public CursorPageViewModel()
... | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia;
using Avalonia.Input;
using Avalonia.Media.Imaging;
using Avalonia.Platform;
using ReactiveUI;
namespace ControlCatalog.ViewModels
{
public class CursorPageViewModel : ReactiveObject
{
public CursorPageViewModel()
... | mit | C# |
da5d823ca46ee8ad33f8b510385840ffb856759f | Adjust incorrect namespace | zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike... | src/Glimpse.Server.Web/Resources/HelloGlimpseResource.cs | src/Glimpse.Server.Web/Resources/HelloGlimpseResource.cs | using Glimpse.Web;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.Server.Web.Resources
{
public class HelloGlimpseResource : IRequestHandler
{
public bool WillHandle(IContext context)
{
return context.Request.Path.StartsWith("/Glimpse");
}
... | using Glimpse.Web;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.Server.Resources
{
public class HelloGlimpseResource : IRequestHandler
{
public bool WillHandle(IContext context)
{
return context.Request.Path.StartsWith("/Glimpse");
}
... | mit | C# |
9c74ed410e3a016be1153810bb7775bf8e4a1624 | Use cast instead of .AsQueryable() | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Database/DatabaseCollection.cs | src/Tgstation.Server.Host/Database/DatabaseCollection.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Tgstation.Server.Host.Database
{
/// <inheritdoc />
sealed class DatabaseCollection<TModel> : IDatabaseCollection<TModel> where TModel : class
{... | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Tgstation.Server.Host.Database
{
/// <inheritdoc />
sealed class DatabaseCollection<TModel> : IDatabaseCollection<TModel> where TModel : class
{... | agpl-3.0 | C# |
0ca5f6879139f2bc46bb0d1b872403adf22db72e | Add class ProgressRecord stubs | sillvan/Pash,mrward/Pash,ForNeVeR/Pash,Jaykul/Pash,WimObiwan/Pash,ForNeVeR/Pash,sburnicki/Pash,WimObiwan/Pash,mrward/Pash,mrward/Pash,sburnicki/Pash,mrward/Pash,sillvan/Pash,Jaykul/Pash,Jaykul/Pash,Jaykul/Pash,WimObiwan/Pash,sburnicki/Pash,ForNeVeR/Pash,sburnicki/Pash,sillvan/Pash,WimObiwan/Pash,sillvan/Pash,ForNeVeR/P... | Source/System.Management/Automation/ProgressRecord.cs | Source/System.Management/Automation/ProgressRecord.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Management.Automation
{
public class ProgressRecord
{
public int ActivityId
{
get
{
throw new NotImplementedExc... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Management.Automation
{
public class ProgressRecord
{
//public ProgressRecord(int activityId, string activity, string stat... | bsd-3-clause | C# |
7ce7e83e153e6de3cf3deda2cee963449146933f | comment class | jtattermusch/google-api-dotnet-client,SimonAntony/google-api-dotnet-client,RavindraPatidar/google-api-dotnet-client,eshangin/google-api-dotnet-client,ephraimncory/google-api-dotnet-client,mjacobsen4DFM/google-api-dotnet-client,hoangduit/google-api-dotnet-client,amnsinghl/google-api-dotnet-client,MesutGULECYUZ/google-ap... | Src/GoogleApis.Tools.CodeGen/ServiceClassGenerator.cs | Src/GoogleApis.Tools.CodeGen/ServiceClassGenerator.cs | /*
Copyright 2010 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | /*
Copyright 2010 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | apache-2.0 | C# |
3799a055f3b277a10bc2009083f104c8f1ddc91c | Clean up warnings where preparing AntlrGeneratedFiles test project | DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | test-assets/test-projects/AntlrGeneratedFiles/Program.cs | test-assets/test-projects/AntlrGeneratedFiles/Program.cs | using System;
[assembly: CLSCompliant(true)]
namespace Test
{
class Program
{
static void Main(string[] args)
{
new GrammarParser(null);
}
}
}
| using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
new GrammarParser(null);
}
}
}
| mit | C# |
ab617916d63abde507e3c54af10c85bcb54eeb39 | update Invoke to abstract | AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions,AspectCore/AspectCore-Framework | src/AspectCore.Lite.Abstractions/Attributes/InterceptorAttribute.cs | src/AspectCore.Lite.Abstractions/Attributes/InterceptorAttribute.cs | using System;
using System.Threading.Tasks;
namespace AspectCore.Lite.Abstractions
{
[NonAspect]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
public abstract class InterceptorAttribute : Attribute, IInterceptor
... | using System;
using System.Threading.Tasks;
namespace AspectCore.Lite.Abstractions
{
[NonAspect]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
public abstract class InterceptorAttribute : Attribute, IInterceptor
... | mit | C# |
6a5002495c1408ba9027f9daa003e47c31f20c55 | use already defined variable, instead of mapping the path twice | madsoulswe/Umbraco-CMS,kgiszewski/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,bjarnef/Umbraco-CMS,abryukhov/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tompipe/Umbraco-CMS,NikRimington/Umbraco-CMS,umbraco/Umbraco-CMS,WebCentrum/Umbraco-CMS,tcmorr... | src/Umbraco.Web/UmbracoApplication.cs | src/Umbraco.Web/UmbracoApplication.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.I... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.I... | mit | C# |
d7e206878bac7ccc558693d40d39726b17c020f4 | optimize GetRootDir | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Unity.Rider/Integration/UnityEditorIntegration/EditorPlugin/PluginPathsProvider.cs | resharper/resharper-unity/src/Unity.Rider/Integration/UnityEditorIntegration/EditorPlugin/PluginPathsProvider.cs | using System.IO;
using System.Reflection;
using JetBrains.Application.Environment;
using JetBrains.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.Integration.UnityEditorIntegration.EditorPlugin
{
[SolutionComponent]
public class PluginPathsProvider
{
private ... | using System.IO;
using System.Reflection;
using JetBrains.Application.Environment;
using JetBrains.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.Integration.UnityEditorIntegration.EditorPlugin
{
[SolutionComponent]
public class PluginPathsProvider
{
private ... | apache-2.0 | C# |
6d0e55f59ae7b918b5f3d0aaa25dc86b64cda18e | use integral calculation to prevent wrong fractional rounding | datastax/csharp-driver,maxwellb/csharp-driver,mintsoft/csharp-driver,maxwellb/csharp-driver,datastax/csharp-driver | src/Cassandra/Serialization/Primitive/DateTimeOffsetSerializer.cs | src/Cassandra/Serialization/Primitive/DateTimeOffsetSerializer.cs | //
// Copyright (C) 2012-2016 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | //
// Copyright (C) 2012-2016 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | apache-2.0 | C# |
4e48c0cb822beec61758ddc3a31d957451d26eb0 | Change end. | eternnoir/NWorkflow | src/NWorkflow/Flow.cs | src/NWorkflow/Flow.cs | using NLogging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NWorkflow
{
public class Flow : IFlow
{
private ILogger logger;
public RecoveryMode RecoveryMode
{
get
{
... | using NLogging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NWorkflow
{
public class Flow : IFlow
{
private ILogger logger;
public RecoveryMode RecoveryMode
{
get
... | mit | C# |
442b7b452cfd0af716c2d84bba0f5a9c67dc30fd | Add xml comments to IDocumentBuilder (#1540) | graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet | src/GraphQL/Execution/IDocumentBuilder.cs | src/GraphQL/Execution/IDocumentBuilder.cs | using GraphQL.Language.AST;
namespace GraphQL.Execution
{
/// <summary>
/// Creates a <see cref="Document">Document</see> representing a GraphQL AST from a plain GraphQL query string
/// </summary>
public interface IDocumentBuilder
{
/// <summary>
/// Parse a GraphQL request and ret... | using GraphQL.Language.AST;
namespace GraphQL.Execution
{
public interface IDocumentBuilder
{
Document Build(string body);
}
}
| mit | C# |
52ccec7f296fb41627a73b11a5b075d82eb09901 | edit xml summary | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialog/IDialogViewModel.cs | WalletWasabi.Fluent/ViewModels/Dialog/IDialogViewModel.cs | namespace WalletWasabi.Fluent.ViewModels.Dialog
{
/// <summary>
/// Interface that abstracts <see cref="DialogViewModelBase{TResult}"/>.
/// </summary>
public interface IDialogViewModel
{
/// <summary>
/// Gets or sets if the dialog is opened/closed.
/// </summary>
bo... | namespace WalletWasabi.Fluent.ViewModels.Dialog
{
public interface IDialogViewModel
{
bool IsDialogOpen { get; set; }
}
}
| mit | C# |
19996be76027e1f4e01b951ef66bbf5417f67872 | Fix nullability in UserAvatar | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.DataModel/Users/UserAvatar.cs | src/JoinRpg.DataModel/Users/UserAvatar.cs | namespace JoinRpg.DataModel.Users
{
#nullable enable
/// <summary>
/// Avatar for user
/// </summary>
public class UserAvatar
{
/// <summary>
/// Primary key
/// </summary>
public int UserAvatarId { get; set; }
/// <summary>
/// <see cref="User"/>
... | namespace JoinRpg.DataModel.Users
{
#nullable enable
/// <summary>
/// Avatar for user
/// </summary>
public class UserAvatar
{
/// <summary>
/// Primary key
/// </summary>
public int UserAvatarId { get; set; }
/// <summary>
/// <see cref="User"/>
... | mit | C# |
1b5e932172c7d27830419c46ef96ab20ab28a2f7 | bump version | jesseh77/UrlFilter | src/UrlFilter/Properties/AssemblyInfo.cs | src/UrlFilter/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 assembly.
[ass... | 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 assembly.
[ass... | mit | C# |
dfa5fec9045cdcabc802d99bc9d83854be185d75 | Rename ITerminationHandler methods and add method for when an Assume cannot be satisfied. | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | symbooglix/symbooglix/Core/ExecutorHandlers/TerminationHandler.cs | symbooglix/symbooglix/Core/ExecutorHandlers/TerminationHandler.cs | using System;
namespace symbooglix
{
public interface ITerminationHandler
{
void handleSuccess(ExecutionState s);
void handleFailingAssert(ExecutionState s);
void handleFailingEnsures(ExecutionState s);
void handleUnsatisfiableAssume(ExecutionState s);
}
}
| using System;
namespace symbooglix
{
public interface ITerminationHandler
{
void handleSuccess(ExecutionState s);
void handleAssertFail(ExecutionState s);
void handleEnsuresFail(ExecutionState s);
}
}
| bsd-2-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.