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 |
|---|---|---|---|---|---|---|---|---|
e5c0b8168763adc0d98fdc7883a4711a32a6e372 | Allow noop on text fields | kool79/Bumblebee,chrisblock/Bumblebee,chrisblock/Bumblebee,Bumblebee/Bumblebee,qchicoq/Bumblebee,kool79/Bumblebee,qchicoq/Bumblebee,toddmeinershagen/Bumblebee,toddmeinershagen/Bumblebee,Bumblebee/Bumblebee | Bumblebee/Interfaces/ITextField.cs | Bumblebee/Interfaces/ITextField.cs | namespace Bumblebee.Interfaces
{
public interface ITextField : IElement, IHasText
{
TCustomResult EnterText<TCustomResult>(string text) where TCustomResult : IBlock;
TCustomResult AppendText<TCustomResult>(string text) where TCustomResult : IBlock;
}
public interface ITextField<out TRe... | namespace Bumblebee.Interfaces
{
public interface ITextField : IElement, IHasText
{
TCustomResult EnterText<TCustomResult>(string text) where TCustomResult : IBlock;
TCustomResult AppendText<TCustomResult>(string text) where TCustomResult : IBlock;
}
public interface ITextField<out TRe... | mit | C# |
22ab6a625534c0c7c5fad205758f51bf5467e86b | Fix AndWe formatting issue | KernowCode/UBADDAS | KernowCode.KTest.Ubaddas/BehaviourExtensions.cs | KernowCode.KTest.Ubaddas/BehaviourExtensions.cs | using System;
using System.Reflection;
namespace KernowCode.KTest.Ubaddas
{
/// <summary>
/// Provides BDD statement extensions including 'As' and 'And'
/// </summary>
public static class BehaviourExtensions
{
/// <summary>
/// <para>Specifies the Persona to perform the following BD... | using System;
using System.Reflection;
namespace KernowCode.KTest.Ubaddas
{
/// <summary>
/// Provides BDD statement extensions including 'As' and 'And'
/// </summary>
public static class BehaviourExtensions
{
/// <summary>
/// <para>Specifies the Persona to perform the following BD... | mit | C# |
b1a5cd8dea6f0403aecf4a49ad8dd0f2978e38f2 | update to v5 | modernist/APIComparer,modernist/APIComparer,ParticularLabs/APIComparer,ParticularLabs/APIComparer | APIComparer/Program.cs | APIComparer/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using APIComparer;
using NuGet;
class Program
{
static void Main()
{
var nugetCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "NuGet", "Cache");
var rep... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using APIComparer;
using NuGet;
class Program
{
static void Main()
{
var nugetCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "NuGet", "Cache");
var rep... | mit | C# |
4f1db5af40c79e038737eef75ab6859641b12fa4 | Attach migration memo to `DatabasedSetting` class for visibility | NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Configuration/DatabasedSetting.cs | osu.Game/Configuration/DatabasedSetting.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.ComponentModel.DataAnnotations.Schema;
using osu.Game.Database;
namespace osu.Game.Configuration
{
[Table("Settings")]
public class DatabasedSetting... | // 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.ComponentModel.DataAnnotations.Schema;
using osu.Game.Database;
namespace osu.Game.Configuration
{
[Table("Settings")]
public class DatabasedSetting... | mit | C# |
a71e52da4caf53c88b772263d4b7fb89090a34ec | Fix enum ordering after adding source | peppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu | osu.Game/Screens/Select/Filter/SortMode.cs | osu.Game/Screens/Select/Filter/SortMode.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.ComponentModel;
namespace osu.Game.Screens.Select.Filter
{
public enum SortMode
{
[Description("Artist")]
Artist,
[Descrip... | // 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.ComponentModel;
namespace osu.Game.Screens.Select.Filter
{
public enum SortMode
{
[Description("Artist")]
Artist,
[Descrip... | mit | C# |
c007f8596ae032d3c21d05a127181d1280163229 | Fix issue when no match is made | smbecker/Eto.Parse,picoe/Eto.Parse,picoe/Eto.Parse,ArsenShnurkov/Eto.Parse,ArsenShnurkov/Eto.Parse,smbecker/Eto.Parse | Eto.Parse/Parser.cs | Eto.Parse/Parser.cs | using System;
using System.Text;
using System.Collections.Generic;
using Eto.Parse.Scanners;
using Eto.Parse.Parsers;
using System.Linq;
namespace Eto.Parse
{
public abstract partial class Parser : ICloneable
{
internal bool Reusable { get; set; }
public object Context { get; set; }
public event Action<Parse... | using System;
using System.Text;
using System.Collections.Generic;
using Eto.Parse.Scanners;
using Eto.Parse.Parsers;
using System.Linq;
namespace Eto.Parse
{
public abstract partial class Parser : ICloneable
{
internal bool Reusable { get; set; }
public object Context { get; set; }
public event Action<Parse... | mit | C# |
c6fb842a7210c4e8f690518ea86d244cb4643f3b | Change version number to 2.2.1 | SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuil... | AssemblyInfo.Shared.cs | AssemblyInfo.Shared.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the projec... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the projec... | mit | C# |
4b795157c6993cc3666662d78eb3f296eefc1445 | modify for zero arguments function | taqu/Utility,taqu/Utility | Assets/Flow/Functor.cs | Assets/Flow/Functor.cs | /**
@file Functor.cs
@author t-sakai
@date 2016/02/23
*/
namespace Flow
{
public struct ToFunctor0
{
public delegate void Func();
public static Functor Do(Func func)
{
return new Functor(func, null);
}
};
public struct ToFunctor1<T>
{
public de... | /**
@file Functor.cs
@author t-sakai
@date 2016/02/23
*/
namespace Flow
{
public struct ToFunctor0
{
public delegate void Func();
public static Functor Do(Func func, params System.Object[] args)
{
return new Functor(func, args);
}
};
public struct ToFuncto... | unlicense | C# |
374e90439fd04491780547f7a9c732a46d0e4f92 | Refactor `SetUpFixture` of Atata.IntegrationTests project | atata-framework/atata,atata-framework/atata | test/Atata.IntegrationTests/SetUpFixture.cs | test/Atata.IntegrationTests/SetUpFixture.cs | using System.Net.NetworkInformation;
using Atata.Cli;
using Atata.WebDriverSetup;
namespace Atata.IntegrationTests;
[SetUpFixture]
public class SetUpFixture
{
private CliCommand _dotnetRunCommand;
[OneTimeSetUp]
public async Task GlobalSetUpAsync() =>
await Task.WhenAll(
DriverSetup.... | using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading.Tasks;
using Atata.Cli;
using Atata.WebDriverSetup;
using NUnit.Framework;
namespace Atata.IntegrationTests
{
[SetUpFixture]
public class SetUpFixture
{
private CliComman... | apache-2.0 | C# |
a275a81fb8d089967c622d920c3909358b893f04 | Strengthen expected messaging on failed tests. | PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination | test/Pioneer.Pagination.Tests/ClampTests.cs | test/Pioneer.Pagination.Tests/ClampTests.cs | using Xunit;
namespace Pioneer.Pagination.Tests
{
/// <summary>
/// Clamp Tests
/// </summary>
public class ClampTests
{
private readonly PaginatedMetaService _sut = new PaginatedMetaService();
[Fact]
public void NextPageIsLastPageInCollectionWhenRequestedPageIsGreatedThen... | using Xunit;
namespace Pioneer.Pagination.Tests
{
/// <summary>
/// Clamp Tests
/// </summary>
public class ClampTests
{
private readonly PaginatedMetaService _sut = new PaginatedMetaService();
[Fact]
public void NextPageIsLastPageInCollectionWhenRequestedPageIsGreatedThen... | mit | C# |
f0e09683afefe9f5f3475623c9d544802e33ef65 | Update Consular.cs (#28) | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Basic/Consular.cs | trunk/DefaultCombat/Routines/Basic/Consular.cs | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
public class Consular : RotationBase
{
public override string Name
{
get { ... | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
public class Consular : RotationBase
{
public override string Name
{
get { ... | apache-2.0 | C# |
54874e754f18705eeae88f2842ca4cfae96a0928 | Update IAdUnitSelector.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/IAdUnitSelector.cs | TIKSN.Core/Advertising/IAdUnitSelector.cs | namespace TIKSN.Advertising
{
public interface IAdUnitSelector
{
AdUnit Select(AdUnitBundle adUnitBundle);
}
}
| namespace TIKSN.Advertising
{
public interface IAdUnitSelector
{
AdUnit Select(AdUnitBundle adUnitBundle);
}
} | mit | C# |
6b493047b3268da50b1599172c1c099a4ede48cd | Check folders by its tag | SteamDatabase/ValveResourceFormat | GUI/Controls/TreeViewFileSorter.cs | GUI/Controls/TreeViewFileSorter.cs | using System.Collections;
using System.Windows.Forms;
namespace GUI.Controls
{
internal class TreeViewFileSorter : IComparer
{
public int Compare(object x, object y)
{
var tx = x as TreeNode;
var ty = y as TreeNode;
var folderx = tx.Tag is TreeViewFolder;
... | using System.Collections;
using System.Windows.Forms;
namespace GUI.Controls
{
internal class TreeViewFileSorter : IComparer
{
public int Compare(object x, object y)
{
var tx = x as TreeNode;
var ty = y as TreeNode;
var folderx = tx.ImageKey == @"_folder";
... | mit | C# |
9edec2b53ef320da14364b03e4b7dfcf1971199c | Add comments to clarify tests. | duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,sitofabi/duplicati,duplicati/duplicati,sitofabi/duplicati,sitofabi/duplicati,sitofabi/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,sitofabi/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati | Duplicati/UnitTest/UtilityTests.cs | Duplicati/UnitTest/UtilityTests.cs | // Copyright (C) 2017, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// L... | // Copyright (C) 2017, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// L... | lgpl-2.1 | C# |
416b5c9785d7d2b85fea806cdbf95b370704399d | Add Created and Updated props to Product | pardahlman/akeneo-csharp | Akeneo/Model/Product.cs | Akeneo/Model/Product.cs | using System;
using System.Collections.Generic;
namespace Akeneo.Model
{
public class Product : ModelBase
{
/// <summary>
/// Product identifier, i.e. the value of the only `pim_catalog_identifier` attribute
/// </summary>
public string Identifier { get; set; }
/// <summary>
/// Whether the product i... | using System.Collections.Generic;
namespace Akeneo.Model
{
public class Product : ModelBase
{
/// <summary>
/// Product identifier, i.e. the value of the only `pim_catalog_identifier` attribute
/// </summary>
public string Identifier { get; set; }
/// <summary>
/// Whether the product is enable
///... | mit | C# |
ecb26efd73171a2984d00d30a5a63107cc198b68 | fix NullableColumnType bug | killwort/ClickHouse-Net | ClickHouse.Ado/Impl/ColumnTypes/NullableColumnType.cs | ClickHouse.Ado/Impl/ColumnTypes/NullableColumnType.cs | using System;
using System.Collections;
using System.Diagnostics;
using System.Linq;
using ClickHouse.Ado.Impl.ATG.Insert;
using ClickHouse.Ado.Impl.Data;
namespace ClickHouse.Ado.Impl.ColumnTypes {
internal class NullableColumnType : ColumnType {
public NullableColumnType(ColumnType innerType) => InnerTy... | using System;
using System.Collections;
using System.Diagnostics;
using System.Linq;
using ClickHouse.Ado.Impl.ATG.Insert;
using ClickHouse.Ado.Impl.Data;
namespace ClickHouse.Ado.Impl.ColumnTypes {
internal class NullableColumnType : ColumnType {
public NullableColumnType(ColumnType innerType) => InnerTy... | mit | C# |
f1d8ae8f39374b5a67d1656bf477cd69d5695c2a | Disable Edge DriverDownloadTest | rosolko/WebDriverManager.Net | WebDriverManager.Tests/EdgeConfigTests.cs | WebDriverManager.Tests/EdgeConfigTests.cs | using System;
using System.Text.RegularExpressions;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
namespace WebDriverManager.Tests
{
public class EdgeConfigTests : EdgeConfig
{
[Fact]
public void VersionTest()
{
var version = GetLatestVersion();
var reg... | using System;
using System.Text.RegularExpressions;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
namespace WebDriverManager.Tests
{
public class EdgeConfigTests : EdgeConfig
{
[Fact]
public void VersionTest()
{
var version = GetLatestVersion();
var reg... | mit | C# |
42e5e8e6108627a89c526b3e5002809bace03895 | Add support StringLexerSource.getName() to allow tokenizer working with Feature.LINEMARKERS (Currently NullReferenceException) | xtravar/CppNet,SiliconStudio/CppNet,manu-silicon/CppNet | StringLexerSource.cs | StringLexerSource.cs | /*
* Anarres C Preprocessor
* Copyright (c) 2007-2008, Shevek
*
* 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... | /*
* Anarres C Preprocessor
* Copyright (c) 2007-2008, Shevek
*
* 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... | apache-2.0 | C# |
d9f0ab6b52a54d4f694a95deac80d45bc580505d | Extend the array test | jonathanvdc/ecsc | tests/cs/arrays/Arrays.cs | tests/cs/arrays/Arrays.cs | using System;
public static class Program
{
private static void PrintAll(int[] Items)
{
for (int i = 0; i < Items.Length; i++)
{
Console.WriteLine(Items[i]);
}
}
public static void Main(string[] Args)
{
for (int i = 0; i < Args.Length; i++)
{
... | using System;
public static class Program
{
private static void PrintAll(int[] Items)
{
for (int i = 0; i < Items.Length; i++)
{
Console.WriteLine(Items[i]);
}
}
public static void Main(string[] Args)
{
for (int i = 0; i < Args.Length; i++)
{
... | mit | C# |
c928c9a227a5cdc926967e5f8990a6fa1a65e128 | Update Map.cs (#21) | AntShares/AntShares.SmartContract.Framework | Neo.SmartContract.Framework/Map.cs | Neo.SmartContract.Framework/Map.cs | using Neo.VM;
namespace Neo.SmartContract.Framework
{
public class Map<TKey, TValue>
{
[OpCode(OpCode.NEWMAP)]
public extern Map();
public extern TValue this[TKey key]
{
[OpCode(OpCode.PICKITEM)]
get;
[OpCode(OpCode.SETITEM)]
set... | using Neo.VM;
namespace Neo.SmartContract.Framework
{
public class Map<TKey, TValue>
{
[OpCode(OpCode.NEWMAP)]
public extern Map();
}
public static class MapHelper
{
[OpCode(OpCode.SETITEM)]
public extern static void Put<TKey, TValue>(this Map<TKey, TValue> map, TK... | mit | C# |
40c4fe26f048d7dcc87a6c92baffbcfb34a32a65 | Add support for basic auth | Xerosigma/halclient | HALClient/HalClient.cs | HALClient/HalClient.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Ecom.Hal.JSON;
using Newtonsoft.Json;
namespace Ecom.Hal
{
public class HalClient
{
public HalClient(Uri endpoint)
{
Client = new HttpClient {BaseAddress = endpoint};
}
... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Ecom.Hal.JSON;
using Newtonsoft.Json;
namespace Ecom.Hal
{
public class HalClient
{
public HalClient(Uri endpoint)
{
Client = new HttpClient {BaseAddress = endpoint};
}
public T Parse<T>(string content)
{
retu... | apache-2.0 | C# |
61a9e56ae653b382d3e6d84731c887fed2765d10 | Support fonts whose names do not start with letters | EdiWang/UWP-CharacterMap,EdiWang/UWP-CharacterMap,EdiWang/UWP-CharacterMap | CharacterMap/CharacterMap/Core/AlphaKeyGroup.cs | CharacterMap/CharacterMap/Core/AlphaKeyGroup.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Windows.Globalization.Collation;
namespace CharacterMap.Core
{
public class AlphaKeyGroup<T> : List<T>
{
const string GlobeGroupKey = "?";
public string Key { get; private set; }
//public... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Windows.Globalization.Collation;
namespace CharacterMap.Core
{
public class AlphaKeyGroup<T> : List<T>
{
const string GlobeGroupKey = "?";
public string Key { get; private set; }
//public... | mit | C# |
9a8a21fe0e0bae2cc45917279f081473c9e0fe42 | Add API to show up addin installation dialog for addin files | mono/mono-addins,mono/mono-addins | Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerWindow.cs | Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerWindow.cs | //
// AddinManagerWindow.cs
//
// Author:
// Lluis Sanchez Gual
//
// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without re... | //
// AddinManagerWindow.cs
//
// Author:
// Lluis Sanchez Gual
//
// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without re... | mit | C# |
8a0989ea1060f3268bfea3d2be0c57dd1a30c6c0 | Remove unnecessary spaces | farity/farity | Farity/Tap.cs | Farity/Tap.cs | using System;
namespace Farity
{
public static partial class F
{
/// <summary>
/// Runs the given function with the supplied value, then returns the value.
/// Functions that do not mutate the value provided are recommended.
/// </summary>
/// <typeparam name="T">The ty... | using System;
namespace Farity
{
public static partial class F
{
/// <summary>
/// Runs the given function with the supplied value, then returns the value.
/// Functions that do not mutate the value provided are recommended.
/// </summary>
/// <typeparam name="T">The ty... | mit | C# |
e7c32f47794728d2901c47f33e9e0d565e5e8b15 | Handle syllable buckets with no syllable data. | TheBerkin/Rant | Rant/Vocabulary/SyllableBuckets.cs | Rant/Vocabulary/SyllableBuckets.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rant.Vocabulary.Querying;
namespace Rant.Vocabulary
{
internal class SyllableBuckets
{
private readonly Dictionary<int, List<RantDictionaryEntry>> _buckets = new Dictionary<int, List<RantDicti... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rant.Vocabulary.Querying;
namespace Rant.Vocabulary
{
internal class SyllableBuckets
{
private readonly Dictionary<int, List<RantDictionaryEntry>> _buckets = new Dictionary<int, List<RantDicti... | mit | C# |
0a571278c975c3f496b928afed9f576d88c52769 | change TestCase to OsuTestCase | naoey/osu,2yangk23/osu,UselessToucan/osu,Frontear/osuKyzer,NeoAdonis/osu,ppy/osu,EVAST9919/osu,naoey/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,DrabWeb/osu,smoogipoo/osu,smoogipoo/osu,Nabile-Rahmani/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,naoey/osu,EVAST9919/osu,ppy/osu,peppy/os... | osu.Game.Tests/Visual/TestCaseVolumePieces.cs | osu.Game.Tests/Visual/TestCaseVolumePieces.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 System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Game.Overlays.Volume;
using OpenTK.Graphics;
namespace osu.Game.Tests.... | // 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 System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Overlays.Volume;
using OpenTK.Graphics... | mit | C# |
513f8c4591262e68e33c32cd00236a3660a57311 | Add helper method SetTextAndRefresh | StefH/ICSharpCode.TextEditorEx | ICSharpCode.TextEditorEx/TextEditorControlEx.cs | ICSharpCode.TextEditorEx/TextEditorControlEx.cs | using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ICSharpCode.TextEditor.Src.Actions;
using ICSharpCode.TextEditor.UserControls;
namespace ICSharpCode.TextEditor
{
[ToolboxBitmap("ICSharpCode.TextEditor.Resources.TextEditorControl.bmp")]
[ToolboxItem(true)]
public class ... | using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ICSharpCode.TextEditor.Src.Actions;
using ICSharpCode.TextEditor.UserControls;
namespace ICSharpCode.TextEditor
{
[ToolboxBitmap("ICSharpCode.TextEditor.Resources.TextEditorControl.bmp")]
[ToolboxItem(true)]
public class ... | lgpl-2.1 | C# |
e0afee1b902912b05ae7c80728396f657b5ca411 | add helper for full log url | remcoros/InspectR,remcoros/InspectR | InspectR/Helpers/InspectRUrlHelperExtensions.cs | InspectR/Helpers/InspectRUrlHelperExtensions.cs | namespace InspectR.Helpers
{
public static class InspectRUrlHelperExtensions
{
public static string Index(this UrlHelperExtensions.InspectRUrlHelper url)
{
return url.Url.Action("Index", "InspectR");
}
public static string Create(this UrlHelperExtensions.In... | namespace InspectR.Helpers
{
public static class InspectRUrlHelperExtensions
{
public static string Index(this UrlHelperExtensions.InspectRUrlHelper url)
{
return url.Url.Action("Index", "InspectR");
}
public static string Create(this UrlHelperExtensions.In... | mit | C# |
80b53c72e860cbdb0a63a25865483183c7a75363 | remove warnings from Operations.cshtml | joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Portal/Views/Finances/Operations.cshtml | JoinRpg.Portal/Views/Finances/Operations.cshtml | @model JoinRpg.Web.Models.FinOperationListViewModel
@{
ViewBag.Title = "Список финансовых операций";
ViewBag.CountString = Html.DisplayCount_OfX(Model.Items.Count(), "операция", "операции", "операций");
}
<h2>@ViewBag.Title</h2>
<partial name="_ListOperationsDropdown" model="Model" />
<partial name="_Opera... | @model JoinRpg.Web.Models.FinOperationListViewModel
@{
ViewBag.Title = "Список финансовых операций";
ViewBag.CountString = Html.DisplayCount_OfX(Model.Items.Count(), "операция", "операции", "операций");
}
<h2>@ViewBag.Title</h2>
@Html.Partial("_ListOperationsDropdown", Model)
@Html.Partial("_Operations", M... | mit | C# |
de05c3628c006991f5f0129bb7031b70e638432f | Fix bug with zoom when it didnt limit | AceSkiffer/SharpGraphEditor | src/SharpGraphEditor/Models/ZoomManager.cs | src/SharpGraphEditor/Models/ZoomManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.Micro;
namespace SharpGraphEditor.Models
{
public class ZoomManager : PropertyChangedBase
{
public double MaxZoom { get; } = 2;
public double CurrentZoom { get; private set; }
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.Micro;
namespace SharpGraphEditor.Models
{
public class ZoomManager : PropertyChangedBase
{
public int MaxZoom { get; } = 2;
public double CurrentZoom { get; private set; }
public ... | apache-2.0 | C# |
2ff17fed0fd873af3aab891cfe8f18bef25375c5 | patch assemblyinfo | rodkings/Untappd.Net,tparnell8/Untappd.Net,rodkings/Untappd.Net,tparnell8/Untappd.Net | src/Untappd.Net/Properties/AssemblyInfo.cs | src/Untappd.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("Un... | 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("Un... | mit | C# |
db22db1e60e7421fc3c2899df8d0116949e777d8 | create conditional approval from organization used wrong parameter | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Web/Views/ConditionalApproval/ByOrg.cshtml | Purchasing.Web/Views/ConditionalApproval/ByOrg.cshtml | @model System.Linq.IQueryable<Purchasing.Core.Domain.ConditionalApproval>
@{
ViewBag.Title = "Conditional Approvals by Organization";
}
@section SubNav
{
<ul class="navigation">
<li>@Html.ActionLink("Back to Organization", "Details", "Organization", new { id = ViewBag.OrganizationId }, new { @class="but... | @model System.Linq.IQueryable<Purchasing.Core.Domain.ConditionalApproval>
@{
ViewBag.Title = "Conditional Approvals by Organization";
}
@section SubNav
{
<ul class="navigation">
<li>@Html.ActionLink("Back to Organization", "Details", "Organization", new { id = ViewBag.OrganizationId }, new { @class="but... | mit | C# |
51f3543513129652a4db6530cec2b5c6351c73e2 | fix namespace | linpiero/Serenity,WasimAhmad/Serenity,linpiero/Serenity,linpiero/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,volkanceylan/Serenity,TukekeSoft/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,linpiero/Serenity,... | Serenity.Core/Services/AuditLog/AuditUpdateRequest.cs | Serenity.Core/Services/AuditLog/AuditUpdateRequest.cs | using System;
using System.Collections.Generic;
using Serenity.Web;
using Serenity.Data;
using Serenity.Services;
using EntityType = System.String;
namespace Serenity.Services
{
public class AuditUpdateRequest
{
public EntityType EntityType { get; private set; }
public IIdRow OldEn... | using System;
using System.Collections.Generic;
using Serenity.Web;
using Serenity.Data;
using Serenity.Services;
using EntityType = System.String;
public class AuditUpdateRequest
{
public EntityType EntityType { get; private set; }
public IIdRow OldEntity { get; private set; }
public IIdRow Ne... | mit | C# |
008bc1bb655b5ebd8517e2887c1c6555a0ae5448 | Extend RelayCommand | stadub/Net.Utils | Utils.Wpf/MvvmBase/RelayCommand.cs | Utils.Wpf/MvvmBase/RelayCommand.cs | using System;
using System.Windows.Input;
namespace Utils.Wpf.MvvmBase
{
public class RelayCommand : IRelayCommand
{
private readonly Action execute;
private readonly Func<bool> canExecute;
private bool status;
public RelayCommand(Action execute, Func<bool> canExecute = null)
... | using System;
using System.Windows.Input;
namespace Utils.Wpf.MvvmBase
{
public class RelayCommand : ICommand
{
private readonly Action execute;
private readonly Func<bool> canExecute;
private bool status;
public RelayCommand(Action execute, Func<bool> canExecute = null)
... | bsd-3-clause | C# |
90411513593dea61a54d374d287bf667d79fdfb3 | Remove extra space | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewLocator.cs | WalletWasabi.Fluent/ViewLocator.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent
{
[StaticView... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent
{
[StaticView... | mit | C# |
24852ece8fd321a6c979dcf19550423e8ca6ca88 | Remove Html tags | Xciles/programming.support,Xciles/programming.support | Webje/Botje/Programming.Bot/Business/StackOverflow.cs | Webje/Botje/Programming.Bot/Business/StackOverflow.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
using Programming.Bot.Domain.StackOverflow;
namespace Programming.Bot.Business
{
public static class StackOverflow... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
using Programming.Bot.Domain.StackOverflow;
namespace Programming.Bot.Business
{
public static class StackOverflow
{
private static readonly... | mit | C# |
5da9f67c170cf3f601b7efca5a595091c1988760 | Use common from address for backup | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Jobs/SqliteBackupJob.cs | Battery-Commander.Web/Jobs/SqliteBackupJob.cs | using BatteryCommander.Web.Services;
using FluentScheduler;
using SendGrid.Helpers.Mail;
using System;
using System.Collections.Generic;
namespace BatteryCommander.Web.Jobs
{
public class SqliteBackupJob : IJob
{
private const String Recipient = "mattgwagner+backup@gmail.com"; // TODO Make this config... | using BatteryCommander.Web.Services;
using FluentScheduler;
using SendGrid.Helpers.Mail;
using System;
using System.Collections.Generic;
namespace BatteryCommander.Web.Jobs
{
public class SqliteBackupJob : IJob
{
private const String Recipient = "mattgwagner+backup@gmail.com"; // TODO Make this config... | mit | C# |
dd06996e1f312b15df6e0f70ef7f2880472e4802 | Remove an insane lock. | Mikuz/Battlezeppelins,Mikuz/Battlezeppelins | Battlezeppelins/Controllers/BaseController.cs | Battlezeppelins/Controllers/BaseController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Battlezeppelins.Models;
namespace Battlezeppelins.Controllers
{
public abstract class BaseController : Controller
{
private static List<Player> playerList = new List<Player>();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Runtime.CompilerServices;
using Battlezeppelins.Models;
namespace Battlezeppelins.Controllers
{
public abstract class BaseController : Controller
{
private static List<Pl... | apache-2.0 | C# |
f6be4faac6892b0e9206a4e704d98723ef8567f5 | Update version: 1.3.0-alpha | toolhouse/monitoring-dotnet | Toolhouse.Monitoring/Properties/AssemblyInfo.cs | Toolhouse.Monitoring/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("Tool... | 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("Tool... | apache-2.0 | C# |
9a48a35a7f638e4cd68696da17246b28e89f0efa | Scale larger images down to make the face searching faster in testing | ProductiveRage/FacialRecognition | Tester/Program.cs | Tester/Program.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using FaceDetection;
namespace Tester
{
class Program
{
static void Main(string[] args)
{
var filename = "TigerWoods.gif";
var outputFilename = "Output.png";
// This strikes a reasonable balance between successful... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using FaceDetection;
namespace Tester
{
class Program
{
static void Main(string[] args)
{
var filename = "TigerWoods.gif";
var outputFilename = "Output.png";
var config = DefaultConfiguration.Instance;
var time... | mit | C# |
d4ab89acb3d166d291d932546ae55a57cc77b2b6 | Update release info | ironfede/openmcdf | sources/OpenMcdf/Properties/AssemblyInfo.cs | sources/OpenMcdf/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("Op... | 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("Op... | mpl-2.0 | C# |
6eb996ddaa4ff711f1e3ac80e019abd58f063e5e | Fix Translation tests when using updated REST support libraries | jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,evildour/google-cloud... | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/FakeTranslateService.cs | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/FakeTranslateService.cs | // Copyright 2017 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 applic... | // Copyright 2017 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 applic... | apache-2.0 | C# |
dce2249c548a8104597ec5b71a287329226eaa2c | bump 1.0.9 | crunchie84/HaagsTranslator | src/HaagsTranslator/Properties/AssemblyInfo.cs | src/HaagsTranslator/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("Ha... | 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("Ha... | mit | C# |
572909399edb7181905369bc4fd8d457397bda38 | fix vesrion tostring | gigya/microdot | Gigya.Microdot.Ninject/MicrodotInitializer.cs | Gigya.Microdot.Ninject/MicrodotInitializer.cs | using System;
using Gigya.Microdot.Hosting.Environment;
using Gigya.Microdot.Interfaces.Events;
using Gigya.Microdot.Interfaces.Logging;
using Gigya.Microdot.Interfaces.SystemWrappers;
using Gigya.Microdot.SharedLogic;
using Ninject;
namespace Gigya.Microdot.Ninject
{
public class MicrodotInitializer : IDisposa... | using System;
using Gigya.Microdot.Hosting.Environment;
using Gigya.Microdot.Interfaces.Events;
using Gigya.Microdot.Interfaces.Logging;
using Gigya.Microdot.Interfaces.SystemWrappers;
using Gigya.Microdot.SharedLogic;
using Ninject;
namespace Gigya.Microdot.Ninject
{
public class MicrodotInitializer : IDisposa... | apache-2.0 | C# |
fdc0dddbc47731614f0c3fe082779c7372291b03 | write out build configuration | adoprog/Sitecore-Courier,rauljmz/Sitecore-Courier,cmgutmanis/Sitecore-Courier,csteeg/Sitecore-Courier | Sitecore.Courier.Runner/Program.cs | Sitecore.Courier.Runner/Program.cs | namespace Sitecore.Courier.Runner
{
using Sitecore.Update;
using Sitecore.Update.Engine;
using System;
/// <summary>
/// Defines the program class.
/// </summary>
internal class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <pa... | namespace Sitecore.Courier.Runner
{
using Sitecore.Update;
using Sitecore.Update.Engine;
using System;
/// <summary>
/// Defines the program class.
/// </summary>
internal class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <pa... | mit | C# |
9d51ce6076a44d25e62cc60a9c65daed3c8b5c1a | make C# CallError enum up to date with C core | nicolasnoble/grpc,grpc/grpc,vjpai/grpc,donnadionne/grpc,grpc/grpc,jtattermusch/grpc,jtattermusch/grpc,jtattermusch/grpc,grpc/grpc,nicolasnoble/grpc,donnadionne/grpc,ctiller/grpc,nicolasnoble/grpc,stanley-cheung/grpc,stanley-cheung/grpc,grpc/grpc,ctiller/grpc,ctiller/grpc,ejona86/grpc,donnadionne/grpc,stanley-cheung/grp... | src/csharp/Grpc.Core/Internal/CallError.cs | src/csharp/Grpc.Core/Internal/CallError.cs | #region Copyright notice and license
// Copyright 2015 gRPC 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.apache.org/licenses/LICENSE-2.0
//
// Unless req... | #region Copyright notice and license
// Copyright 2015 gRPC 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.apache.org/licenses/LICENSE-2.0
//
// Unless req... | apache-2.0 | C# |
0c24a6d74b9268169bee914ceb0ddd66ab5a60ba | Write to console out of try catch | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfiguration.cs | src/AppHarbor/ApplicationConfiguration.cs | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecutor)
{
_fileSystem = file... | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecutor)
{
_fileSystem = file... | mit | C# |
75d848aadbfbe61e63cca995720d1b3ee7e70275 | rename argument 'key' to 'privateKey' to be clearer | Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum | src/Nethereum.Signer/TransactionSigner.cs | src/Nethereum.Signer/TransactionSigner.cs | using System.Numerics;
using Nethereum.Hex.HexConvertors.Extensions;
namespace Nethereum.Signer
{
public class TransactionSigner
{
public byte[] GetPublicKey(string rlp)
{
var transaction = new Transaction(rlp.HexToByteArray());
return transaction.Key.GetPubKey();
... | using System.Numerics;
using Nethereum.Hex.HexConvertors.Extensions;
namespace Nethereum.Signer
{
public class TransactionSigner
{
public byte[] GetPublicKey(string rlp)
{
var transaction = new Transaction(rlp.HexToByteArray());
return transaction.Key.GetPubKey();
... | mit | C# |
372d90de6ad53cb2e7319531f72d4fcc5abe29ce | Remove unnecessary assigns | smoogipoo/osu,ZLima12/osu,ZLima12/osu,EVAST9919/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu... | osu.Game/Online/Leaderboards/UpdateableRank.cs | osu.Game/Online/Leaderboards/UpdateableRank.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.Game.Scoring;
namespace osu.Game.Online.Leaderboards
{
public class UpdateableRank ... | // 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.Scoring;
namespace osu.Game.Online.Leaderboards
{
public class UpdateableRank ... | mit | C# |
f6029b829d2c865aa54473b222d5408bb27c545a | Fix RestClient BaseUrl change to Uri | Charcoals/PivotalTracker.NET,Charcoals/PivotalTracker.NET | PivotalTrackerDotNet/AAuthenticatedService.cs | PivotalTrackerDotNet/AAuthenticatedService.cs | using RestSharp;
namespace PivotalTrackerDotNet
{
using System;
public abstract class AAuthenticatedService
{
protected readonly string m_token;
protected RestClient RestClient;
protected AAuthenticatedService(string token)
{
m_token = token;
... | using RestSharp;
namespace PivotalTrackerDotNet
{
public abstract class AAuthenticatedService
{
protected readonly string m_token;
protected RestClient RestClient;
protected AAuthenticatedService(string token)
{
m_token = token;
RestClient = n... | mit | C# |
5ff333ef3972473c2b92255d5b2e31f865b67186 | use ReactiveUserControls | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Views/HomePageView.axaml.cs | WalletWasabi.Fluent/Views/HomePageView.axaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels;
namespace WalletWasabi.Fluent.Views
{
public class HomePageView : ReactiveUserControl<HomePageViewModel>
{
public HomePageView()
{
this.InitializeComponent();... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels;
namespace WalletWasabi.Fluent.Views
{
public class HomePageView : UserControl, IViewFor<HomePageViewModel>
{
public HomePageView()
{
this.InitializeComponent();
}
public HomePageVi... | mit | C# |
1cbebf92b25c25ef92692064d5e6e9fb1e7f7369 | Update IView.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D.Editor/Views/Interfaces/IView.cs | src/Core2D.Editor/Views/Interfaces/IView.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Core2D.Editor.Views.Interfaces
{
/// <summary>
/// View contract.
/// </summary>
public interface IView
{
/// <summary>
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Core2D.Editor.Views.Interfaces
{
/// <summary>
/// View contract.
/// </summary>
public interface IView
{
/// <summary>
... | mit | C# |
ccb34dfd6f7a8e72026ff8af0d5c47b3cdffd6eb | Use unchecked arithmetic | ektrah/nsec | src/Cryptography/CryptographicOperations.cs | src/Cryptography/CryptographicOperations.cs | using System;
using System.Runtime.CompilerServices;
namespace NSec.Cryptography
{
internal static class CryptographicOperations
{
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public static unsafe bool FixedTimeEquals(byte* left, byte* right, int length)
... | using System;
using System.Runtime.CompilerServices;
namespace NSec.Cryptography
{
internal static class CryptographicOperations
{
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public static unsafe bool FixedTimeEquals(byte* left, byte* right, int length)
... | mit | C# |
9d6116244d4647f8053ed38f6e5f8bef4d891589 | Enhance summary for IActiveTransactionProvider | abdllhbyrktr/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,Nongzhsh/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,Nongzhsh/aspnetboilerplate,oceanho/aspnetboilerplate,ilyhacker/aspnetboilerplate,luchaoshuai/aspnetboilerplate,andmattia/aspnetboilerplate,Nongzhsh/aspnetbo... | src/Abp/Data/IActiveTransactionProvider.cs | src/Abp/Data/IActiveTransactionProvider.cs | using System.Data;
namespace Abp.Data
{
public interface IActiveTransactionProvider
{
/// <summary>
/// Gets the active transaction or null if current UOW is not transactional.
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
IDbTransac... | using System.Data;
namespace Abp.Data
{
public interface IActiveTransactionProvider
{
/// <summary>
/// Gets the active transaction.
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
IDbTransaction GetActiveTransaction(ActiveTransactionP... | mit | C# |
215aa81735ca7644073d368f8093a9b3e11c5395 | Exclude Shouldly from code coverage | bbtsoftware/TfsUrlParser | setup.cake | setup.cake | #load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountNam... | #load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountNam... | mit | C# |
2d762daea8dcbdf3753069b5457e78a40535ab40 | Update App.xaml.cs | wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter | src/SimpleWavSplitter.Avalonia/App.xaml.cs | src/SimpleWavSplitter.Avalonia/App.xaml.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Logging.Serilog;
using Avalonia.Markup.Xaml;
namespace SimpleWavSplitter.Avalonia
{
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Logging.Serilog;
using Avalonia.Markup.Xaml;
namespace SimpleWavSplitter.Avalonia
{
... | mit | C# |
90b04283f259e108ebce82b4f1180c73ded1d3a6 | Define a const for read buffer size | detaybey/MimeBank | MimeBank/MimeChecker.cs | MimeBank/MimeChecker.cs | /*
* Programmed by Umut Celenli umut@celenli.com
*/
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MimeBank
{
/// <summary>
/// This is the main class to check the file mime type
/// Header list is loaded once
/// </summary>
public class MimeChecker
... | /*
* Programmed by Umut Celenli umut@celenli.com
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MimeBank
{
/// <summary>
/// This is the main class to check the file mime type
/// Header list is loaded once
/// </summary>
public cla... | apache-2.0 | C# |
93f163a25ecdfd72b38a083016b12eaf7e4b88cd | update changes data model | the-overground/bot-on-bot-backend | src/BotOnBot.Backend.DataModel/ChangesModel.cs | src/BotOnBot.Backend.DataModel/ChangesModel.cs | using System.Linq;
using Newtonsoft.Json;
namespace BotOnBot.Backend.DataModel
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class ChangesModel : ISerializable
{
[JsonProperty(PropertyName = "tiles")]
public TileModel[] Tiles;
[JsonProperty(PropertyName = ... | using System.Linq;
using Newtonsoft.Json;
namespace BotOnBot.Backend.DataModel
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class ChangesModel : ISerializable
{
[JsonProperty(PropertyName = "tiles")]
public TileModel[] Tiles;
[JsonProperty(PropertyName = ... | mit | C# |
97efccaf491b83dc950efdccf9bdbe01a91c2aac | Fix oops | khellang/Middleware,khellang/Middleware | src/ProblemDetails/ProblemDetailsExtensions.cs | src/ProblemDetails/ProblemDetailsExtensions.cs | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
namespace Hellang.Middleware.ProblemDetails
{
public static class ProblemDetailsExtensions
{
public static IS... | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
namespace Hellang.Middleware.ProblemDetails
{
public static class ProblemDetailsExtensions
{
public static IS... | mit | C# |
ae148ffd9bb3cb2f04172385fdce49c17b391cf3 | Fix bug. | bozoweed/Sanderling,exodus444/Sanderling,Arcitectus/Sanderling | src/sample/Sanderling.Sample.Read/Extension.cs | src/sample/Sanderling.Sample.Read/Extension.cs | using Mono.Terminal;
using System;
using System.Linq;
namespace Sanderling.Sample.Read
{
static public class Extension
{
static public int? TryParseInt(this string @string)
{
int Int;
if (!int.TryParse(@string, out Int))
{
return null;
}
return Int;
}
static public string ConsoleEditSt... | using Mono.Terminal;
using System;
using System.Linq;
namespace Sanderling.Sample.Read
{
static public class Extension
{
static public int? TryParseInt(this string @string)
{
int Int;
if (!int.TryParse(@string, out Int))
{
return null;
}
return Int;
}
static public string ConsoleEditSt... | apache-2.0 | C# |
465f9c0da48983237671540fc15bf49c4dfa87eb | Fix ActionTween (call base ctor) | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/src/Actions/Intervals/ActionTween.cs | bindings/src/Actions/Intervals/ActionTween.cs | using System;
namespace Urho.Actions
{
public class ActionTween : FiniteTimeAction
{
#region Properties
public float From { get; private set; }
public float To { get; private set; }
public string Key { get; private set; }
public Action<float, string> TweenAction { get; private set; }
#endregion Propert... | using System;
namespace Urho.Actions
{
public class ActionTween : FiniteTimeAction
{
#region Properties
public float From { get; private set; }
public float To { get; private set; }
public string Key { get; private set; }
public Action<float, string> TweenAction { get; private set; }
#endregion Propert... | mit | C# |
a25be57442f96ca016c0cc84c32dbd0395295785 | Enable legacy timestamps for Npgsql. Fixes #1762 | PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core | data/Piranha.Data.EF.PostgreSql/PostgreSqlDb.cs | data/Piranha.Data.EF.PostgreSql/PostgreSqlDb.cs | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using Microsoft.EntityFrameworkCore;
namespace Piranha.Data.EF.Postgr... | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using Microsoft.EntityFrameworkCore;
namespace Piranha.Data.EF.PostgreSql
{
[No... | mit | C# |
7323075aad2ef99080266bd644d2500a9d62dbfc | Add custom assembly name | tzachshabtay/MonoAGS | Source/Demo/iOS/Main.cs | Source/Demo/iOS/Main.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using AGS.Engine;
using AGS.Engine.IOS;
using DemoGame;
using Foundation;
using UIKit;
namespace DemoQuest.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] a... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using AGS.Engine.IOS;
using DemoGame;
using Foundation;
using UIKit;
namespace DemoQuest.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
... | artistic-2.0 | C# |
10e651b35876b298dedc4b601474548e70b006fd | Use lowercase OWIN keys per convention | stormpath/stormpath-dotnet-owin-middleware | src/Stormpath.Owin.Abstractions/OwinKeys.cs | src/Stormpath.Owin.Abstractions/OwinKeys.cs | // <copyright file="OwinKeys.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, 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/license... | // <copyright file="OwinKeys.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, 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/license... | apache-2.0 | C# |
bb1955cd546a83881ff94f44ab43c29fee46e3d1 | use of repository | Nexusger/GetTheBibTeX2,Nexusger/GetTheBibTeX2 | Dblp.WebUi/Controllers/PrefetchController.cs | Dblp.WebUi/Controllers/PrefetchController.cs | using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using Dblp.Domain.Abstract;
using Dblp.Domain.Entities;
namespace Dblp.WebUi.Controllers
{
public class PrefetchController : ApiController
{
private IDblpRepository _repository;
public PrefetchController(IDblpReposito... | using System.Collections.Generic;
using System.Web.Http;
using Dblp.Domain.Entities;
using Dblp.WebUi.Models;
namespace Dblp.WebUi.Controllers
{
public class PrefetchController : ApiController
{
// GET: api/Prefetch
public IEnumerable<SearchResultViewModel> Get()
{
var mock... | mit | C# |
a9f10a27e1645409940d4ea7582532f99ac4775d | Fix naming. | Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x | src/unity/Runtime/Services/IAdsManager.cs | src/unity/Runtime/Services/IAdsManager.cs | using System;
using System.Threading.Tasks;
namespace EE {
public class AdsObserver {
public Action OnClicked { get; set; }
}
public interface IAdsManager : IObserverManager<AdsObserver> {
bool IsBannerAdLoaded { get; }
bool IsBannerAdVisible { get; set; }
(float, float) B... | using System;
using System.Threading.Tasks;
namespace EE {
public class AdsObserver {
public Action OnClicked { get; set; }
}
public interface IAdsManager : IObserverManager<AdsObserver> {
bool isBannerAdLoaded { get; }
bool IsBannerAdVisible { get; set; }
(float, float) B... | mit | C# |
b3c482ad1f60f3226cc7ae693369a828bb166266 | Use static class for static methods. | theraot/Theraot | Framework.Core/System/Threading/MonitorEx.cs | Framework.Core/System/Threading/MonitorEx.cs | #if !(LESSTHAN_NET40 || NETSTANDARD1_0)
using System.Runtime.CompilerServices;
#endif
namespace System.Threading
{
public static class MonitorEx
{
#if !(LESSTHAN_NET40 || NETSTANDARD1_0)
[MethodImpl(MethodImplOptionsEx.AggressiveInlining)]
#endif
public static void Enter(object obj, ref bool l... | #if !(LESSTHAN_NET40 || NETSTANDARD1_0)
using System.Runtime.CompilerServices;
#endif
namespace System.Threading
{
public class MonitorEx
{
#if !(LESSTHAN_NET40 || NETSTANDARD1_0)
[MethodImpl(MethodImplOptionsEx.AggressiveInlining)]
#endif
public static void Enter(object obj, ref bool lockTake... | mit | C# |
5a799e2adb9a56c7f107e5e6f705a5961f7bf1bc | Fix query result projection regression | couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net | src/Couchbase.Lite/Query/QuerySelectResult.cs | src/Couchbase.Lite/Query/QuerySelectResult.cs | //
// QuerySelectResult.cs
//
// Author:
// Jim Borden <jim.borden@couchbase.com>
//
// Copyright (c) 2017 Couchbase, Inc All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a... | //
// QuerySelectResult.cs
//
// Author:
// Jim Borden <jim.borden@couchbase.com>
//
// Copyright (c) 2017 Couchbase, Inc All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a... | apache-2.0 | C# |
923d5101f722ae6981bd6511e1d88d090b94a88b | Format comments in ProblemDetails (#39340) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Http/Http.Extensions/src/ProblemDetails.cs | src/Http/Http.Extensions/src/ProblemDetails.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text.Json.Serialization;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Mvc;
/// <summary>
/// A machine-readable format for specifying errors in HTTP... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text.Json.Serialization;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Mvc;
/// <summary>
/// A machine-readable format for specifying errors in HTTP... | apache-2.0 | C# |
6998090716543a14fbeb119a96e7a8a9e111ee0a | Add hourly schedule | matteocontrini/locuspocusbot | LocusPocusBot/FetchSchedulerHostedService.cs | LocusPocusBot/FetchSchedulerHostedService.cs | using LocusPocusBot.Rooms;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace LocusPocusBot
{
public class FetchSchedulerHostedService : IHostedService
{
private readonly IRoomsService roomsService;
... | using LocusPocusBot.Rooms;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace LocusPocusBot
{
public class FetchSchedulerHostedService : IHostedService
{
private readonly IRoomsService roomsService;
... | mit | C# |
6f007cd4f0c8a4e9d809eb004b2208a80d236695 | add usings for login actions | tblocksharer/tblocksharer,tblocksharer/tblocksharer | src/TBlockSharer/Controllers/HomeController.cs | src/TBlockSharer/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using LinqToTwitter;
namespace TBlockSharer.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TBlockSharer.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | agpl-3.0 | C# |
d291324046a90cdda55f829ae5f095ad66d97b97 | Fix Job ErrorCodes not being set | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Jobs/JobException.cs | src/Tgstation.Server.Host/Jobs/JobException.cs | using System;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Jobs
{
/// <summary>
/// Operation exceptions thrown from the context of a <see cref="Models.Job"/>
/// </summary>
public sealed class JobException : Exception
{
/// <summary>
/// The <see cref="Api.Models.ErrorCode"/> associate... | using System;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Jobs
{
/// <summary>
/// Operation exceptions thrown from the context of a <see cref="Models.Job"/>
/// </summary>
public sealed class JobException : Exception
{
/// <summary>
/// The <see cref="Api.Models.ErrorCode"/> associate... | agpl-3.0 | C# |
fb3576bda16ee05f0240f0bdac359dab788b4bc4 | Revert "Swapping Silly UK English ;)" | jongleur1983/Nancy,MetSystem/Nancy,vladlopes/Nancy,thecodejunkie/Nancy,dbolkensteyn/Nancy,anton-gogolev/Nancy,malikdiarra/Nancy,hitesh97/Nancy,EliotJones/NancyTest,Novakov/Nancy,AcklenAvenue/Nancy,AIexandr/Nancy,jongleur1983/Nancy,JoeStead/Nancy,VQComms/Nancy,fly19890211/Nancy,asbjornu/Nancy,lijunle/Nancy,thecodejunkie... | src/Nancy/ISerializer.cs | src/Nancy/ISerializer.cs | namespace Nancy
{
using System.Collections.Generic;
using System.IO;
public interface ISerializer
{
/// <summary>
/// Whether the serializer can serialize the content type
/// </summary>
/// <param name="contentType">Content type to serialise</param>
... | namespace Nancy
{
using System.Collections.Generic;
using System.IO;
public interface ISerializer
{
/// <summary>
/// Whether the serializer can serialize the content type
/// </summary>
/// <param name="contentType">Content type to serialize</param>
... | mit | C# |
75d2ec597475fa625c96b97332b2fc4d1c141446 | Implement IDisposable interface in NumberOfClassificationSystemsTest | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Tests/Noark5/NumberOfClassificationSystemsTest.cs | src/Arkivverket.Arkade.Test/Tests/Noark5/NumberOfClassificationSystemsTest.cs | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using Arkivverket.Arkade.Tests.Noark5;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Tests.Noark5
{
public class NumberOfClassificationSystemsTest : IDisposable
{
private Stream _archi... | using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using Arkivverket.Arkade.Tests.Noark5;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Tests.Noark5
{
public class NumberOfClassificationSystemsTest
{
private TestResults RunTest(Stream conten... | agpl-3.0 | C# |
9aad26e73fee130a0624d8b862d0b8e71d4c173b | Switch to version 1.4.3 | Abc-Arbitrage/Zebus,biarne-a/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.4.3")]
[assembly: AssemblyFileVersion("1.4.3")]
[assembly: AssemblyInformationalVersion("1.4.3")]
| using System.Reflection;
[assembly: AssemblyVersion("1.4.2")]
[assembly: AssemblyFileVersion("1.4.2")]
[assembly: AssemblyInformationalVersion("1.4.2")]
| mit | C# |
ea1c50db7b9f8f57439d01ddac9ec462c9fd5ad0 | Add OrderingDomainException when the order doesn't exist with id orderId | skynode/eShopOnContainers,andrelmp/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,TypeW/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,dot... | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using Ordering.Domain.Exceptions;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Servi... | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure.Reposi... | mit | C# |
6d6925a79a8b5c413daef04fe9ea72d8fbf8f961 | Add ReplacementTextChange to OmniSharpInlineHint | shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,mavasani/roslyn,bartdesmet/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,dotnet/roslyn,jasonmalinows... | src/Tools/ExternalAccess/OmniSharp/InlineHints/OmniSharpInlineHintsService.cs | src/Tools/ExternalAccess/OmniSharp/InlineHints/OmniSharpInlineHintsService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | mit | C# |
2485f6692f988393c354d5f4e9af0b962622e976 | Handle oddity in watchdog naming convention | dasgarner/xibo-dotnetclient,xibosignage/xibo-dotnetclient | Control/WatchDogManager.cs | Control/WatchDogManager.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace XiboClient.Control
{
class WatchDogManager
{
public static void Start()
{
// Check to see if the WatchDog EXE exist... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace XiboClient.Control
{
class WatchDogManager
{
public static void Start()
{
// Check to see if the WatchDog EXE exist... | agpl-3.0 | C# |
5b1989765029ba46ed70469d29f741c539c8bfae | Update ISiteVariable.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/ISiteVariable.cs | src/api/ISiteVariable.cs | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
namespace Landis.SpatialModeling
{
/// <summary>
/// Represents a variable with values for the sites on a landscape.
/// </summary>
public ... | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.... | apache-2.0 | C# |
735f89b2eb0116a12d3e4afd4d60245e75d96d1b | Fix GlobalSuppressions | atata-framework/atata,atata-framework/atata | test/Atata.UnitTests/GlobalSuppressions.cs | test/Atata.UnitTests/GlobalSuppressions.cs | using System.Diagnostics.CodeAnalysis;
#pragma warning disable S103 // Lines should not be too long
[assembly: SuppressMessage("Major Code Smell", "S2743:Static fields should not be used in generic types", Justification = "<Pending>", Scope = "member", Target = "~F:Atata.UnitTests.DataProvision.DataVerificationProvi... | using System.Diagnostics.CodeAnalysis;
#pragma warning disable S103 // Lines should not be too long
[assembly: SuppressMessage("Major Code Smell", "S2743:Static fields should not be used in generic types", Justification = "<Pending>", Scope = "member", Target = "~F:Atata.Tests.DataProvision.DataVerificationProviderE... | apache-2.0 | C# |
862f0e0d2ecb61a86faa9100469422705f8bf622 | Fix BL-3614 Crash while checking for keyman | StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,andrew-polk/BloomDe... | src/BloomExe/web/controllers/KeybordingConfigAPI.cs | src/BloomExe/web/controllers/KeybordingConfigAPI.cs | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Api;
namespace Bloom.web.controllers
{
class KeybordingConfigApi
{
public void RegisterWithServer(EnhancedImageServer server)
{
server.RegisterEndpointHandler("keyboarding/useLongPress", (ApiRequest request) =>
{
try
{
/... | using System.Linq;
using System.Windows.Forms;
using Bloom.Api;
namespace Bloom.web.controllers
{
class KeybordingConfigApi
{
public void RegisterWithServer(EnhancedImageServer server)
{
server.RegisterEndpointHandler("keyboarding/useLongPress", (ApiRequest request) =>
{
//detect if some keyboarding ... | mit | C# |
5903462ec49affa057b4ee64bbd42d97c94e6972 | Update Demo | sunkaixuan/SqlSugar | Src/Asp.Net/PgSqlTest/UnitTest/UCodeFirst.cs | Src/Asp.Net/PgSqlTest/UnitTest/UCodeFirst.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public partial class NewUnitTest
{
public static void CodeFirst()
{
if (Db.DbMaintenance.IsAnyTable("UnitCodeTest1", false))
Db.Db... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public partial class NewUnitTest
{
public static void CodeFirst()
{
if (Db.DbMaintenance.IsAnyTable("UnitCodeTest1", false))
Db.Db... | apache-2.0 | C# |
b1dc7bbda59c05193ef1e5dcfad44f69dcfb0cb0 | Allow config.json path to work on non-Windows OS | Workshop2/noobot,noobot/noobot | src/Noobot.Core/Configuration/ConfigReader.cs | src/Noobot.Core/Configuration/ConfigReader.cs | using System;
using System.IO;
using System.Reflection;
using Newtonsoft.Json.Linq;
namespace Noobot.Core.Configuration
{
public class ConfigReader : IConfigReader
{
private JObject _currentJObject;
private readonly string _configLocation;
private readonly object _lock = new object();
... | using System;
using System.IO;
using System.Reflection;
using Newtonsoft.Json.Linq;
namespace Noobot.Core.Configuration
{
public class ConfigReader : IConfigReader
{
private JObject _currentJObject;
private readonly string _configLocation;
private readonly object _lock = new object();
... | mit | C# |
c380c868d57ac4c47b5687a02e805f2ebeda8d81 | Reduce memory logging interval to 5 mins | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Services/MemoryUsageLogger.cs | src/SyncTrayzor/Services/MemoryUsageLogger.cs | using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace SyncTrayzor.Services
{
public class MemoryUsageLogger
{
private static readonly Logger logger = LogManager.GetCurrent... | using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace SyncTrayzor.Services
{
public class MemoryUsageLogger
{
private static readonly Logger logger = LogManager.GetCurrent... | mit | C# |
3bd05d11dececbf9b8fd9a11d00d0711e56fabbb | Implement Prefab based pool. | dimixar/audio-controller-unity | AudioController/Assets/Source/ObjectPool.cs | AudioController/Assets/Source/ObjectPool.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
#region Public fields
public List<PrefabBasedPool> pools;
#endregion
#region Public methods and properties
public AudioObject GetFreeAudioObject(GameObject prefab = null)
{... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
#region Public methods and properties
//TODO: Add possibility to differentiate between prefabs
public AudioObject GetFreeAudioObject(GameObject prefab = null)
{
return null... | mit | C# |
63d44d313f9c838326785ea3ca3d5b4654e9c262 | Add support for local folder | tectronik/cordova-plugin-file-opener2-tectronik,tectronik/cordova-plugin-file-opener2-tectronik,tectronik/cordova-plugin-file-opener2-tectronik | src/wp8/FileOpener2.cs | src/wp8/FileOpener2.cs | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | mit | C# |
71fe67a647478aa52e54c4e43b091343fa433ed9 | Allow the DisposableTracker to be passed around | alex-davidson/clrspy | ClrSpy.UnitTests/Utils/DisposableTracker.cs | ClrSpy.UnitTests/Utils/DisposableTracker.cs | using System;
using System.Collections.Generic;
namespace ClrSpy.UnitTests.Utils
{
/// <summary>
/// RAII-style tracking of IDisposable instances. Once all disposables are created, ownership can
/// be transferred to the final container in an exception-safe manner.
/// </summary>
public... | using System;
using System.Collections.Generic;
namespace ClrSpy.UnitTests.Utils
{
/// <summary>
/// RAII-style tracking of IDisposable instances. Once all disposables are created, ownership can
/// be transferred to the final container in an exception-safe manner.
/// </summary>
public s... | unlicense | C# |
7a168b42c107615876cda079445b9237fa897435 | Fix comment | Mazyod/PhoenixSharp | Phoenix/DelayedExecutor.cs | Phoenix/DelayedExecutor.cs | using System;
using System.Threading.Tasks;
namespace Phoenix
{
public interface IDelayedExecution
{
void Cancel();
}
/**
* IDelayedExecutor
* This class is equivalent to javascript setTimeout/clearTimeout functions.
*/
public interface IDelayedExecutor
{
IDelay... | using System;
using System.Threading.Tasks;
namespace Phoenix
{
public interface IDelayedExecution
{
void Cancel();
}
/**
* IDelayedExecutor
* This class is equivalent to javascript setTimeout/clearTimeout functions.
*/
public interface IDelayedExecutor
{
IDelay... | mit | C# |
568f19e3ff921446ef0b0d31c8b897fcfb4637b7 | Increment version. | lookatmike/AirfoilMetadataAgent | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
95db5a7f40796f64a2e7e4bfab5761050e9b8f48 | Bump version to 1.1 | FatturaElettronicaPA/FatturaElettronicaPA.Forms | Properties/AssemblyInfo.cs | 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("FatturaElettronica.Forms")]
[assembly: As... | 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("FatturaElettronica.Forms")]
[assembly: As... | bsd-3-clause | C# |
7edef5bc97b5b25128f307084df7eedb6dce5437 | Fix environment variable name. | zooba/PTVS,Microsoft/PTVS,huguesv/PTVS,int19h/PTVS,huguesv/PTVS,Microsoft/PTVS,zooba/PTVS,int19h/PTVS,huguesv/PTVS,int19h/PTVS,huguesv/PTVS,Microsoft/PTVS,zooba/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,Microsoft/PTVS,Microsoft/PTVS,zooba/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,Microsoft/PTVS | Common/Tests/Utilities/VisualStudioPath.cs | Common/Tests/Utilities/VisualStudioPath.cs | // Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | // Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | apache-2.0 | C# |
3a6a3a067b4816b81bf1851b75640a8e73349221 | Rewrite test to cover failure case | smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
using osu.G... | mit | C# |
7ee1a3ca6cd35bc87dbd43850b8ccae65bee3446 | Fix failing unit test. | jtompkins/Haberdasher | Haberdasher.Tests/TestClasses/NoKeyClass.cs | Haberdasher.Tests/TestClasses/NoKeyClass.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Haberdasher.Tests.TestClasses
{
public class NoKeyClass
{
public int Name { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Haberdasher.Tests.TestClasses
{
public class NoKeyClass
{
public int Id { get; set; }
}
}
| mit | C# |
f67f6cc99ca914b152a355122589900437b6b91d | Fix switch case | peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Osu/Mods/OsuModFreezeFrame.cs | osu.Game.Rulesets.Osu/Mods/OsuModFreezeFrame.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 osu.Framework.Localisation;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.O... | // 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 osu.Framework.Localisation;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.O... | mit | C# |
04833e34a98691afdafea606f88a439f699de987 | change test items for to use select list | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/TestItems/_TestItemsForm.cshtml | Anlab.Mvc/Views/TestItems/_TestItemsForm.cshtml | @using System.Runtime.InteropServices.ComTypes
@model Anlab.Core.Domain.TestItem
@Html.HiddenFor(a => a.Category)
<div class="form-group">
<label asp-for="Analysis" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Analysis" class="form-control" />
<span asp-v... | @using System.Runtime.InteropServices.ComTypes
@model Anlab.Core.Domain.TestItem
@Html.HiddenFor(a => a.Category)
<div class="form-group">
<label asp-for="Analysis" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Analysis" class="form-control" />
<span asp-v... | mit | C# |
1c5e27a9b06469e9314247d63f6a7c13c99bddde | Use PropertyDescriptor | sakapon/Samples-2016,sakapon/Samples-2016 | BindingSample/PocoBindingWpf/MainWindow.xaml.cs | BindingSample/PocoBindingWpf/MainWindow.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.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.Media;
using System.Windows.Med... | mit | C# |
a1042ec4588f180aa03457e35ff0c6bfe50cc0da | Update changes | FireCube-/HarvesterBot | TexasHoldEm/Trainer.cs | TexasHoldEm/Trainer.cs | using System;
using System.Collections.Generic;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Trainer {
private int popSize;
private List<Gene> pop;
private int currentGene = 0;
private int generation = 1;
private const double crossoverSplit = 0.5;
private const double genepoolSi... | using System;
using System.Collections.Generic;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Trainer {
private int popSize;
private List<Gene> pop;
private int currentGene = 0;
private int generation = 1;
private const double crossoverSplit = 0.5;
private const double genepoolSi... | mit | C# |
8892f2c3dd2bb92d3738b122456223c30a1cea8d | Remove redundant check | UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Mods/OsuModApproachCircle.cs | osu.Game.Rulesets.Osu/Mods/OsuModApproachCircle.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 osu.Framework.Bindables;
using osu.Framework.Extensions.IEnumerableExtensions;
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 System;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using ... | mit | C# |
f4e86b60f28c708c49dc403a03c8c397dad5efa3 | Remove incorrect Assembly GUID | File-New-Project/EarTrumpet | EarTrumpet/UI/Helpers/SingleInstanceAppMutex.cs | EarTrumpet/UI/Helpers/SingleInstanceAppMutex.cs | using System.Globalization;
using System.Reflection;
using System.Threading;
namespace EarTrumpet.UI.Helpers
{
class SingleInstanceAppMutex
{
private static Mutex _mutex;
public static bool TakeExclusivity()
{
var assembly = Assembly.GetExecutingAssembly();
va... | using System.Globalization;
using System.Reflection;
using System.Threading;
namespace EarTrumpet.UI.Helpers
{
class SingleInstanceAppMutex
{
private static Mutex _mutex;
public static bool TakeExclusivity()
{
var assembly = Assembly.GetExecutingAssembly();
var... | mit | C# |
4c5845440f85ad0640ae5bf584e3d5be7423fd7d | bump version | Fody/MethodDecorator | MethodDecorator.Fody/Properties/AssemblyInfo.cs | MethodDecorator.Fody/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("MethodDecorator.Fody")]
[assembly: AssemblyDescription("Fody addin for AOP method decoration")]
[assembly: AssemblyCompany("Matt Ellis")]
[assembly: AssemblyProduct("MethodDecorator.Fody")]
[assembly: AssemblyCopyright("Copyright © Matt Ellis 2012")]
[assembly: Assem... | using System.Reflection;
[assembly: AssemblyTitle("MethodDecorator.Fody")]
[assembly: AssemblyDescription("Fody addin for AOP method decoration")]
[assembly: AssemblyCompany("Matt Ellis")]
[assembly: AssemblyProduct("MethodDecorator.Fody")]
[assembly: AssemblyCopyright("Copyright © Matt Ellis 2012")]
[assembly: Assem... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.