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 |
|---|---|---|---|---|---|---|---|---|
0cbc230b35e2c9bade21c31f6aad0a6e7df469a6 | Update UserEditWindow | atata-framework/atata-sample-app-tests | src/Atata.SampleApp.AutoTests.Components/UserEditWindow.cs | src/Atata.SampleApp.AutoTests.Components/UserEditWindow.cs | using Atata.Bootstrap;
using _ = Atata.SampleApp.AutoTests.UserEditWindow;
namespace Atata.SampleApp.AutoTests
{
public class UserEditWindow : BSModal<_>
{
[FindById]
public GeneralTabPane General { get; private set; }
[FindById]
public AdditionalTabPane Additional ... | using Atata.Bootstrap;
using _ = Atata.SampleApp.AutoTests.UserEditWindow;
namespace Atata.SampleApp.AutoTests
{
public class UserEditWindow : BSModal<_>
{
[FindById(TermCase.Lower)]
public GeneralTabPane General { get; private set; }
[FindById(TermCase.Lower)]
publ... | apache-2.0 | C# |
51e475f5d7d41dd9b303a42635249a17bbe10847 | Fix in MessageService for sl | blebougge/Catel | src/Catel.MVVM/Catel.MVVM.Shared/Services/MessageService.sl.cs | src/Catel.MVVM/Catel.MVVM.Shared/Services/MessageService.sl.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageService.sl.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ----------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageService.sl.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ----------------------------... | mit | C# |
7d7ef8cc828f3ab3102d10d54ca342669cf2b00a | remove methods already declared on base class | nrjohnstone/flappybird-unity | unity-flappybirds/Assets/Scripts/FixedColumnSpawner.cs | unity-flappybirds/Assets/Scripts/FixedColumnSpawner.cs | using System;
using Assets.Scripts.UnityAbstractions;
using UnityEngine;
namespace Assets.Scripts
{
public class FixedColumnSpawner : BaseColumnSpawner, IColumnSpawnStrategy
{
public float SpawnRate { get; set; }
public ITime Time { get; set; }
public float SpawnXPosition { get; set; }... | using System;
using Assets.Scripts.UnityAbstractions;
using UnityEngine;
namespace Assets.Scripts
{
public class FixedColumnSpawner : BaseColumnSpawner, IColumnSpawnStrategy
{
public float SpawnRate { get; set; }
public ITime Time { get; set; }
public float SpawnXPosition { get; set; }... | cc0-1.0 | C# |
b05c3a42ca9c604aace0a293197982c4fe6f9dc5 | Update ServiceCollectionExtensions.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Full/DependencyInjection/ServiceCollectionExtensions.cs | TIKSN.Framework.Full/DependencyInjection/ServiceCollectionExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using TIKSN.FileSystem;
using TIKSN.Network;
using TIKSN.Security.Antimalware;
using TIKSN.Settings;
using TIKSN.Shell;
using TIKSN.Speech;
namespace TIKSN.DependencyInjection
{
public static class ServiceCo... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using TIKSN.FileSystem;
using TIKSN.Network;
using TIKSN.Security.Antimalware;
using TIKSN.Settings;
using TIKSN.Shell;
using TIKSN.Speech;
namespace TIKSN.DependencyInjection
{
public static class ServiceCo... | mit | C# |
32bd82ef153d6c27d416acb722fb4148e0a0f51f | disable when in IL mode | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | 140-speedrun-timer/GameObservers/TitleScreenObserver.cs | 140-speedrun-timer/GameObservers/TitleScreenObserver.cs | using System.Reflection;
using UnityEngine;
namespace SpeedrunTimerMod.GameObservers
{
[GameObserver]
class TitleScreenObserver : MonoBehaviour
{
static FieldInfo _titleScreenStateField;
TitleScreen _titlescreen;
object _titleScreenStateStart;
object _prevTitleScreenState;
void Awake()
{
if (ModLoa... | using System.Reflection;
using UnityEngine;
namespace SpeedrunTimerMod.GameObservers
{
[GameObserver]
class TitleScreenObserver : MonoBehaviour
{
static FieldInfo _titleScreenStateField;
TitleScreen _titlescreen;
object _titleScreenStateStart;
object _prevTitleScreenState;
void Awake()
{
if (Applic... | unlicense | C# |
391092e3ea32a5c76c9add4b7d6f134c786f998c | Reset predict flag on mover updat.e | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Client/GameObjects/EntitySystems/MoverSystem.cs | Content.Client/GameObjects/EntitySystems/MoverSystem.cs | using Content.Shared.GameObjects.Components.Movement;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Physics;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Physics;
using Robust.Client.Player;
using Robust.Shared.GameObjects.Components;
using Robust.Shared.IoC;
... | using Content.Shared.GameObjects.Components.Movement;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Physics;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Physics;
using Robust.Client.Player;
using Robust.Shared.GameObjects.Components;
using Robust.Shared.IoC;
... | mit | C# |
3dc0dfc9f906cf37eaf19f704680e19c1730990c | Add back changes | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | using Avalonia.Threading;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Reactive.Disposables;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallet... | using Avalonia.Threading;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.Wall... | mit | C# |
fab9c9322ab31c2266dd34ddbf320792cc77a120 | Format CommonPart DateTime (#6656) | xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Contents/Views/CommonPart-Date.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Contents/Views/CommonPart-Date.Edit.cshtml | @using OrchardCore.Contents.ViewModels;
@model DateEditorViewModel
<div class="form-group" asp-validation-class-for="LocalDateTime">
<div class="row col-md-6 col-lg-3">
<label asp-for="LocalDateTime">@T["Created"]</label>
<input asp-for="LocalDateTime" asp-format="{0:yyyy-MM-ddTHH:mm}" class="form-... | @using OrchardCore.Contents.ViewModels;
@model DateEditorViewModel
<div class="form-group" asp-validation-class-for="LocalDateTime">
<div class="row col-md-6 col-lg-3">
<label asp-for="LocalDateTime">@T["Created"]</label>
<input asp-for="LocalDateTime" class="form-control" type="datetime-local" />
... | bsd-3-clause | C# |
3ab071b14ffa6dd9b829012b58d40bb9b0dfd88f | Fix cover's subtitle typo. | Sistrategia/Hatchery,Sistrategia/Hatchery | Application/Sistrategia.Hatchery.MvcApp/Views/Home/Cover.cshtml | Application/Sistrategia.Hatchery.MvcApp/Views/Home/Cover.cshtml |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Cover</title>
@Styles.Render("~/Content/cover")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="wrapper">
<div class="bg-img">
<div class="cover-header... |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Cover</title>
@Styles.Render("~/Content/cover")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="wrapper">
<div class="bg-img">
<div class="cover-header... | apache-2.0 | C# |
c1a8699fa9be4ab72d48203a22b6b7811eb6df1c | Update Twitch.cs | metaphorce/leaguesharp | MetaSmite/Champions/Twitch.cs | MetaSmite/Champions/Twitch.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Twitch
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Twitch
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | mit | C# |
6e3dbd064d2948b28885ee23fb8d64933e6ea523 | Patch 8141: EnumValuesConverter fix for nullable enums | ZHZG/PropertyTools,punker76/PropertyTools,ZHZG/PropertyTools,LavishSoftware/PropertyTools,jogibear9988/PropertyTools,Mitch-Connor/PropertyTools,johnsonlu/PropertyTools,objorke/PropertyTools,jogibear9988/PropertyTools | Source/PropertyEditor/Converters/EnumValuesConverter.cs | Source/PropertyEditor/Converters/EnumValuesConverter.cs | using System;
using System.Windows.Data;
namespace PropertyEditorLibrary
{
/// <summary>
/// Converts an Enum to a list of the enum type values
/// </summary>
[ValueConversion(typeof(Enum), typeof(string[]))]
public class EnumValuesConverter : IValueConverter
{
#region IValu... | using System;
using System.Windows.Data;
namespace PropertyEditorLibrary
{
/// <summary>
/// Converts an Enum to a list of the enum type values
/// </summary>
[ValueConversion(typeof(Enum), typeof(string[]))]
public class EnumValuesConverter : IValueConverter
{
#region IValu... | mit | C# |
f5e9c53df44e156769bc8cfcac33335d40c5f8df | Change load event of UI component to from Awake to Start | mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,genail/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity | src/Assets/Plugins/PatchKit/Scripts/UI/UIApiComponent.cs | src/Assets/Plugins/PatchKit/Scripts/UI/UIApiComponent.cs | using System.Collections;
using PatchKit.Api;
using UnityEngine;
namespace PatchKit.Unity.UI
{
public abstract class UIApiComponent : MonoBehaviour
{
private Coroutine _loadCoroutine;
private bool _isDirty;
private ApiConnection _apiConnection;
public bool LoadOnStart = true... | using System.Collections;
using PatchKit.Api;
using UnityEngine;
namespace PatchKit.Unity.UI
{
public abstract class UIApiComponent : MonoBehaviour
{
private Coroutine _loadCoroutine;
private bool _isDirty;
private ApiConnection _apiConnection;
public bool LoadOnAwake = true... | mit | C# |
62d1ba84476c22c56025ceb5ec56a2c379934632 | Remove invalid namespace | FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer | FubarDev.WebDavServer.FileSystem.InMemory/InMemoryFileSystem.cs | FubarDev.WebDavServer.FileSystem.InMemory/InMemoryFileSystem.cs | // <copyright file="InMemoryFileSystem.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System;
using System.Threading;
using System.Threading.Tasks;
using FubarDev.WebDavServer.Props.Store;
namespace FubarDev.WebDavServer.FileSystem.InMem... | // <copyright file="InMemoryFileSystem.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System;
using System.Threading;
using System.Threading.Tasks;
using FubarDev.WebDavServer.Props.Store;
using Microsoft.VisualStudio.Threading;
namespa... | mit | C# |
6883be336f23ef5da94f223c481d0b1937f232c1 | Rename test. | JohanLarsson/Gu.Wpf.UiAutomation | Gu.Wpf.UiAutomation.UnitTests/Extensions/EnumeranbleExtTests.cs | Gu.Wpf.UiAutomation.UnitTests/Extensions/EnumeranbleExtTests.cs | namespace Gu.Wpf.UiAutomation.UnitTests.Extensions
{
using System;
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class EnumeranbleExtTests
{
[TestCase("", false, 0)]
[TestCase("1, 2", false, 0)]
[TestCase("1", true, 1)]
public void TryGetSingle(... | namespace Gu.Wpf.UiAutomation.UnitTests.Extensions
{
using System;
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class EnumeranbleExtTests
{
[TestCase("", false, 0)]
[TestCase("1, 2", false, 0)]
[TestCase("1", true, 1)]
public void TryGetSingle(... | mit | C# |
2521a8ea4ef6c7badd6f4fb3687243793fce3864 | Rename fields | bartlomiejwolk/OnCollisionActivate | GameObjectSlot.cs | GameObjectSlot.cs | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the GameObjectActivator extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using UnityEngine;
// todo convert comments to xml
namespace GameObjectActivatorEx {
/// Obje... | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the GameObjectActivator extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using UnityEngine;
// todo convert comments to xml
namespace GameObjectActivatorEx {
/// Obje... | mit | C# |
18734abc087d27b2adb74797bc5b6803d7ce915b | Improve text converter | CatenaLogic/RepositoryCleaner | src/RepositoryCleaner/Converters/SpaceToTextConverter.cs | src/RepositoryCleaner/Converters/SpaceToTextConverter.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SpaceToTextConverter.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2015 CatenaLogic. All rights reserved.
// </copyright>
// -----------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SpaceToTextConverter.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2015 CatenaLogic. All rights reserved.
// </copyright>
// -----------------------------------------------... | mit | C# |
6c590401f9a7f5b3edfcc56e32a7f2aaff60c5bc | Improve history | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs | using Avalonia.Threading;
using AvalonStudio.Extensibility;
using NBitcoin;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using WalletWasabi.Models;
using WalletWasabi.Services;
namesp... | using Avalonia.Threading;
using AvalonStudio.Extensibility;
using NBitcoin;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using WalletWasabi.Models;
using WalletWasabi.Services;
namesp... | mit | C# |
df051eb71739b6a9c4b0b69f82db4593ee267a70 | Fix CivilianManager not finding MainManager instance correctly | harjup/LudumDare32,harjup/LudumDare32 | src/Assets/Scripts/CivilianManager.cs | src/Assets/Scripts/CivilianManager.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Assets.Scripts;
public class CivilianManager : Singleton<CivilianManager>
{
private float _leftBounds;
private float _rightBounds;
private float _vertical;
private GameObject _civilianPrefab;
p... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Assets.Scripts;
public class CivilianManager : Singleton<CivilianManager>
{
private float _leftBounds;
private float _rightBounds;
private float _vertical;
private GameObject _civilianPrefab;
p... | mit | C# |
d8572650d13d177cbd094370527bb3ba6919b787 | Fix incorrect StackOverflow url in footer (#62) | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Footer.cshtml | input/_Footer.cshtml | <div class="container bottom-footer">
<div class="col-lg-10 col-sm-10 col-xs-12">
<ul class="list-inline">
<li class="list-inline-item">
<a href="/donate" target="_blank">Donate</a>
</li>
<li class="list-inline-item">
<a href="/sponsorship" target... | <div class="container bottom-footer">
<div class="col-lg-10 col-sm-10 col-xs-12">
<ul class="list-inline">
<li class="list-inline-item">
<a href="/donate" target="_blank">Donate</a>
</li>
<li class="list-inline-item">
<a href="/sponsorship" target... | mit | C# |
b8d6ef64c72e9ca028216a839399731a09969f02 | Remove the usage of Parallel to run the populators | abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,tcmorris/Umbraco-CMS,KevinJump/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcemarc/Umbraco-CMS,Ni... | src/Umbraco.Examine/IndexRebuilder.cs | src/Umbraco.Examine/IndexRebuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Examine;
namespace Umbraco.Examine
{
/// <summary>
/// Utility to rebuild all indexes ensuring minimal data queries
/// </summary>
public class IndexRebuilder
{
private readonly IEnum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Examine;
namespace Umbraco.Examine
{
/// <summary>
/// Utility to rebuild all indexes ensuring minimal data queries
/// </summary>
public class IndexRebuilder
{
private readonly IEnum... | mit | C# |
c5d1a50668056c06aeffcfe11f848ee364cdfd54 | change serialization to json | prozum/solitude | Samples/OwinWebApi/Startup.cs | Samples/OwinWebApi/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Owin;
using System.Web.Http;
using System.Net.Http.Formatting;
namespace OwinWebApi
{
public class Startup
{
public void Configuration (IAppBuilder app)
{
var webApiConfiguration = Config... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Owin;
using System.Web.Http;
using System.Net.Http.Formatting;
namespace OwinWebApi
{
public class Startup
{
public void Configuration (IAppBuilder app)
{
var webApiConfiguration = Config... | mit | C# |
0ee77238e65ee16ff4e3a3c2d263257f13610f7e | fix upgrades | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Program.cs | Signum.Upgrade/Program.cs | using Signum.Upgrade.Upgrades;
using Signum.Utilities;
using System;
using System.Runtime.Intrinsics.Arm;
namespace Signum.Upgrade
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
Console.WriteLine(" ..:: Welcome to Signum Upgrade ::.... | using Signum.Upgrade.Upgrades;
using Signum.Utilities;
using System;
using System.Runtime.Intrinsics.Arm;
namespace Signum.Upgrade
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
Console.WriteLine(" ..:: Welcome to Signum Upgrade ::.... | mit | C# |
db6ea3e8f3c4efe25aa364a6df449aeea23f7b4d | Switch most methods to static | DMagic1/DMModuleScienceAnimateGeneric | Source/AsteroidScience.cs | Source/AsteroidScience.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace DMModuleScienceAnimateGeneric
{
public class AsteroidScience
{
protected static DMModuleScienceAnimateGeneric ModSci = FlightGlobals.ActiveVessel.FindPartModulesImplementing<DMModuleScien... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace DMModuleScienceAnimateGeneric
{
public class AsteroidScience
{
protected DMModuleScienceAnimateGeneric ModSci = FlightGlobals.ActiveVessel.FindPartModulesImplementing<DMModuleScienceAnima... | bsd-2-clause | C# |
8384e4dfae83e26156779346d5a959359375a5c7 | Enable pre-compile for all targets | ufna/VaRest,ufna/VaRest,ufna/VaRest | Source/VaRest/VaRest.Build.cs | Source/VaRest/VaRest.Build.cs | // Copyright 2014-2019 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaRest : ModuleRules
{
public VaRest(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrecompileForTargets = PrecompileTargetsType.Any... | // Copyright 2014-2019 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaRest : ModuleRules
{
public VaRest(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrivateIncludePaths.AddRange(
new string[] ... | mit | C# |
04975b63c167a664141445f9e9d1d431901b5ef5 | Check for bad hierarchies | EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils | ValueUtils/ValueObject.cs | ValueUtils/ValueObject.cs | using System;
using System.Reflection;
namespace ValueUtils
{
/// <summary>
/// Represents a C# object with value semantics.
/// ValueObjects implements GetHashCode, Equals, IEquatable<> and operators == and != for you.
/// A class deriving from ValueObject should pass itself as
///... | using System;
using System.Reflection;
namespace ValueUtils
{
/// <summary>
/// Represents a C# object with value semantics.
/// ValueObjects implements GetHashCode, Equals, IEquatable<> and operators == and != for you.
/// A class deriving from ValueObject should pass itself as
///... | apache-2.0 | C# |
7bf760d3742fd734b29c4f27ac369bc732b1e8a6 | Update Client.cs | RR-Studio/RealEstateCrm,RR-Studio/RealEstateCrm,RR-Studio/RealEstateCrm | WebApp/Entities/Client.cs | WebApp/Entities/Client.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Entities
{
/// <summary>
///
/// </summary>
public enum Gender
{
Male,
Female
}
public class Client
{
/// <summary>
///
/// </su... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Entities
{
/// <summary>
///
/// </summary>
public enum Gender
{
Мужчина,
Женщина
}
public class Client
{
/// <summary>
///
/// ... | mit | C# |
7217ef5ec5bb2cb7d92a37d64eef48db667ad137 | Move comment to PR | qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox | Wox.Infrastructure/Wox.cs | Wox.Infrastructure/Wox.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Wox.Infrastructure
{
public static class Constant
{
public static string DetermineDataDirectory()
{
string portableDataPath = Path.Combine(ProgramDirectory, "UserData");
if (Direc... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Wox.Infrastructure
{
public static class Constant
{
public static string DetermineDataDirectory()
{
// use the method of VSCode to enable portable mode
// https://code.visualstudi... | mit | C# |
db4acfa5367e661944777f2a3411ac8d260f2474 | Update CompositeAssemblyStringLocalizer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Localization/CompositeAssemblyStringLocalizer.cs | TIKSN.Core/Localization/CompositeAssemblyStringLocalizer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Resources;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
namespace TIKSN.Localization
{
public abstract class CompositeAssemblyStringLocalizer : CompositeStringLocalizer
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Resources;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
namespace TIKSN.Localization
{
public abstract class CompositeAssemblyStringLocalizer : CompositeStringLocalizer
{
... | mit | C# |
4fbda9e790afc3774d0328c41ed5dbe3614c8e2b | Update SimpleJsonBondDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/SimpleJsonBondDeserializer.cs | TIKSN.Core/Serialization/Bond/SimpleJsonBondDeserializer.cs | using Bond.Protocols;
using System.IO;
namespace TIKSN.Serialization.Bond
{
public class SimpleJsonBondDeserializer : DeserializerBase<string>
{
protected override T DeserializeInternal<T>(string serial)
{
var reader = new SimpleJsonReader(new StringReader(serial));
re... | using Bond.Protocols;
using System.IO;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class SimpleJsonBondDeserializer : DeserializerBase<string>
{
public SimpleJsonBondDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
}
... | mit | C# |
e8e26dfdc6b6e295831de9b8aaf28140a43cfc36 | add XML doc to Element class | OlegKleyman/Omego.Extensions | core/Omego.Extensions/Element.cs | core/Omego.Extensions/Element.cs | namespace Omego.Extensions
{
using System;
/// <summary>
/// Represents an element.
/// </summary>
/// <typeparam name="T">The type this value wraps.</typeparam>
public struct Element<T> : IEquatable<Element<T>>, IEquatable<T>
{
private readonly T value;
/// <summary>
... | namespace Omego.Extensions
{
using System;
public struct Element<T> : IEquatable<Element<T>>, IEquatable<T>
{
private readonly T value;
public Element(T value)
{
this.value = value;
Present = true;
}
public bool Present { get; }
pu... | unlicense | C# |
0e1c58ccc6dd423c75b48265852391c273978c60 | change the version to 1.2.4 | SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | apache-2.0 | C# |
cab002eaf996a006e148d6aaee290f5ff99f3f9c | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
17ee9e1013edb3c4b5e18ca0ae276cba37bfd3ad | Reset button!! | Jalict/Sneaky-Bastards,Jalict/Sneaky-Bastards,Jalict/Sneaky-Bastards | BurglarsVsGuards/Assets/CameraScript.cs | BurglarsVsGuards/Assets/CameraScript.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CameraScript : MonoBehaviour {
public AudioClip music;
public Transform targetPlayer;
Vector3 newPosition;
float currentCameraSize = 5;
float extraViewDistance = 9f;
float distanceBetweenPlayers;
bool zoomOut = fals... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CameraScript : MonoBehaviour {
public AudioClip music;
public Transform targetPlayer;
Vector3 newPosition;
float currentCameraSize = 5;
float extraViewDistance = 9f;
float distanceBetweenPlayers;
bool zoomOut = fals... | mit | C# |
6d4442a92966e4696a9f13b6b9a9023098cac437 | Update GitHubMarkdownProcessor.cs | SimonCropp/CaptureSnippets | src/CaptureSnippetsSimple/Processing/GitHubMarkdownProcessor.cs | src/CaptureSnippetsSimple/Processing/GitHubMarkdownProcessor.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace CaptureSnippets
{
public static class GitHubMarkdownProcessor
{
static Action<string> log;
static GitHubMarkdownProcessor()
{
log = s => { };
}
public static Act... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace CaptureSnippets
{
public static class GitHubMarkdownProcessor
{
static Action<string> log;
static GitHubMarkdownProcessor()
{
log = s => { };
}
public static Act... | mit | C# |
9f0d6831154cb6f14ec1c9c640c296c8f928436a | Update DateTimeUtils.cs | kingcean/DiscoverHollywood,kingcean/DiscoverHollywood,kingcean/DiscoverHollywood | DiscoverHollywood/Data/DateTimeUtils.cs | DiscoverHollywood/Data/DateTimeUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscoverHollywood.Data
{
public static class DateTimeUtils
{
static readonly DateTime begin = new DateTime(1970, 1, 1);
public static DateTime ParseFromJava(long milli... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscoverHollywood.Data
{
public static class DateTimeUtils
{
static readonly DateTime begin = new DateTime(1970, 1, 1);
public static DateTime ParseFromJava(int millis... | apache-2.0 | C# |
093b677025f3df23da2eff2aafa3a0ca428a83c1 | Add String.Empty static test (#859) | Microsoft/clrmd,Microsoft/clrmd,cshung/clrmd,cshung/clrmd | src/Microsoft.Diagnostics.Runtime.Tests/src/StaticFieldTests.cs | src/Microsoft.Diagnostics.Runtime.Tests/src/StaticFieldTests.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.IO;
using System.Linq;
using Xunit;
namespace Microsoft.Diagnostics.Runtime.Tests
{
... | // 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.IO;
using System.Linq;
using Xunit;
namespace Microsoft.Diagnostics.Runtime.Tests
{
... | mit | C# |
0c1250ffad6ded09747a451248d1fbb0c68373cf | update review migration to match the order in domain | marklaygo/aspCart,marklaygo/aspCart | src/aspCart.Infrastructure/Migrations/20170418062927_addReviewDomain.cs | src/aspCart.Infrastructure/Migrations/20170418062927_addReviewDomain.cs | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace aspCart.Infrastructure.Migrations
{
public partial class addReviewDomain : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTa... | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace aspCart.Infrastructure.Migrations
{
public partial class addReviewDomain : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTa... | mit | C# |
d7335db0b1b398f89c14504487a14af9e2a5abe7 | Update Variables.cs | zulaldogan/unity-csharp-beginner | Variables/Assets/Variables.cs | Variables/Assets/Variables.cs | using UnityEngine;
public class Variables : MonoBehaviour
{
public string myName = "Unity3D";
public float speed = 5.5f;
public bool isCool = true;
public int health = 100;
private int myAge = 26;
private int maxAmmoCount = 100;
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Variables : MonoBehaviour
{
public string myName = "Unity3D";
public float speed = 5.5f;
public bool isCool = true;
private int myAge = 26;
public int health = 100;
private int maxAmmoCount = 100;
}
| mit | C# |
6d914d9f176ffc407ee87ae153aa620771aa167e | Add back typo with JsonProperty and explain in comment why it's necessary. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Backend/Models/Responses/VersionsResponse.cs | WalletWasabi/Backend/Models/Responses/VersionsResponse.cs | using Newtonsoft.Json;
namespace WalletWasabi.Backend.Models.Responses
{
public class VersionsResponse
{
public string ClientVersion { get; set; }
// KEEP THE TYPO IN IT! Otherwise the response would not be backwards compatible.
[JsonProperty(PropertyName = "BackenMajordVersion")]
public string BackendMajor... | namespace WalletWasabi.Backend.Models.Responses
{
public class VersionsResponse
{
public string ClientVersion { get; set; }
public string BackendMajorVersion { get; set; }
}
}
| mit | C# |
ddb78d1c95b1e30d4bcdd837588f2dad60306b9d | update version to 1.3.55.0 | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | bsd-3-clause | C# |
aa396dd66b708c63fc40d4672ed45f3d64696506 | Update Options.cs | stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp | ZUGFeRDToExcelTest/Options.cs | ZUGFeRDToExcelTest/Options.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZUGFeRDToExcel
{
public class Options
{
public string InputFile { get; set; }
public string OutputFile { get; set; }
public bool Help { get; set; }
publ... | apache-2.0 | C# |
a87b3803414f00806513f45710faf569faf658b6 | Improve naming of tests to clearly indicate the feature to be tested | oliverzick/Delizious-Filtering | src/Library.Test/NotNullTests.cs | src/Library.Test/NotNullTests.cs | #region Copyright and license
// // <copyright file="NotNullTests.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 n... | #region Copyright and license
// // <copyright file="NotNullTests.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 n... | apache-2.0 | C# |
4a0f9dc451936384fc768a518c085884a34f6cc9 | Fix regex for files with whitespaces | robinrodricks/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP | FluentFTP/Helpers/Hashing/HashParser.cs | FluentFTP/Helpers/Hashing/HashParser.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace FluentFTP.Helpers.Hashing {
internal static class HashParser {
/// <summary>
/// Parses the received FTP hash response into a new FtpHash object.
/// </summary>
public static FtpHash Parse(stri... | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace FluentFTP.Helpers.Hashing {
internal static class HashParser {
/// <summary>
/// Parses the received FTP hash response into a new FtpHash object.
/// </summary>
public static FtpHash Parse(stri... | mit | C# |
9750fcba871c3370c850c4396191fcec0f1a4249 | Fix generated file name | veronicagg/autorest,yaqiyang/autorest,tbombach/autorest,John-Hart/autorest,begoldsm/autorest,ljhljh235/AutoRest,yaqiyang/autorest,balajikris/autorest,ljhljh235/AutoRest,sergey-shandar/autorest,haocs/autorest,jhancock93/autorest,dsgouda/autorest,hovsepm/AutoRest,annatisch/autorest,Azure/autorest,yugangw-msft/autorest,ya... | AutoRest/Generators/AzureResourceSchema/AzureResourceSchema/AzureResourceSchemaCodeGenerator.cs | AutoRest/Generators/AzureResourceSchema/AzureResourceSchema/AzureResourceSchemaCodeGenerator.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Rest.Generator.ClientModel;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Microsoft.Rest.Generator.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Rest.Generator.ClientModel;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Microsoft.Rest.Generator.... | mit | C# |
bb54e370ccb2d01fb2803bb1a10a289e74caa4d7 | Fix #822 - Add DestinationFolderHierarchy parameter | russgove/PnP,Chowdarysandhya/PnPTest,NexploreDev/PnP-PowerShell,werocool/PnP,joaopcoliveira/PnP,sandhyagaddipati/PnPSamples,BartSnyckers/PnP,darei-fr/PnP,andreasblueher/PnP,comblox/PnP,aammiitt2/PnP,machadosantos/PnP,perolof/PnP,OfficeDev/PnP,weshackett/PnP,bhoeijmakers/PnP,SteenMolberg/PnP,afsandeberg/PnP,hildabarbara... | Solutions/PowerShell.Commands/Commands/Publishing/AddHtmlPublishingPageLayout.cs | Solutions/PowerShell.Commands/Commands/Publishing/AddHtmlPublishingPageLayout.cs | using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
namespace OfficeDevPnP.PowerShell.Commands.PageLayout
{
[Cmdlet(VerbsCommon.Add, "SPOHtmlPublishingPageLayout")]
[CmdletHelp("Adds a HTML based publishing page layout",
Category = ... | using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
namespace OfficeDevPnP.PowerShell.Commands.PageLayout
{
[Cmdlet(VerbsCommon.Add, "SPOHtmlPublishingPageLayout")]
[CmdletHelp("Adds a HTML based publishing page layout",
Category = ... | mit | C# |
0c1206369ca4e41122df369433d5521ecc86d0b4 | Add summaries | JLChnToZ/LuckyPlayer | LuckyPlayer/LuckyPlayer/DestinyTuner.cs | LuckyPlayer/LuckyPlayer/DestinyTuner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JLChnToZ.LuckyPlayer {
/// <summary>
/// "Destiny Tuner": An extension of lucky controller which will balance the probs.
/// </summary>
/// <typeparam name="T"></type... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JLChnToZ.LuckyPlayer {
public class DestinyTuner<T> {
static DestinyTuner<T> defaultInstance;
public static DestinyTuner<T> Default {
get {
if(d... | mit | C# |
154e14f730cb570ac8f62998486b592463214c00 | Extend the box/unbox test again | jonathanvdc/ecsc | tests/cs/boxing/Boxing.cs | tests/cs/boxing/Boxing.cs | using System;
public struct Foo : ICloneable
{
public int CloneCounter { get; private set; }
public object Clone()
{
CloneCounter++;
return this;
}
}
public static class Program
{
public static ICloneable BoxAndCast<T>(T Value)
{
return (ICloneable)Value;
}
pu... | using System;
public struct Foo : ICloneable
{
public int CloneCounter { get; private set; }
public object Clone()
{
CloneCounter++;
return this;
}
}
public static class Program
{
public static ICloneable BoxAndCast<T>(T Value)
{
return (ICloneable)Value;
}
pu... | mit | C# |
74fbe8a5e32a4538aef77047b7bbb95bacda7b77 | Remove ToolTip | unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening... | PartPreviewWindow/OverflowMenuButton.cs | PartPreviewWindow/OverflowMenuButton.cs | /*
Copyright (c) 2018, John Lewin
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 following ... | /*
Copyright (c) 2018, John Lewin
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 following ... | bsd-2-clause | C# |
574cc19f24b6b77732210c9ea3e6390ce74ea313 | Add licence header. | RedNesto/osu-framework,ZLima12/osu-framework,paparony03/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,RedNesto/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,ppy/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-f... | osu.Framework/Input/MouseUpEventArgs.cs | osu.Framework/Input/MouseUpEventArgs.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
namespace osu.Framework.Input
{
public class MouseUpEventArgs : MouseEventArgs
{
}
} | namespace osu.Framework.Input
{
public class MouseUpEventArgs : MouseEventArgs
{
}
} | mit | C# |
9f8e724a7659e20bb9c8787c5daa65862ae21e0a | Fix background being cut off at the top of the screen (#4207) | NeoAdonis/osu,NeoAdonis/osu,naoey/osu,naoey/osu,johnneijzen/osu,EVAST9919/osu,ZLima12/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,naoey/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,p... | osu.Game/Screens/BackgroundScreenStack.cs | osu.Game/Screens/BackgroundScreenStack.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 osu.Framework.Graphics;
using osu.Framework.Screens;
using osuTK;
namespace osu.Game.Screens
{
public class BackgroundScreenS... | // 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 osu.Framework.Graphics;
using osu.Framework.Screens;
using osuTK;
namespace osu.Game.Screens
{
public class BackgroundScreenS... | mit | C# |
c1270d3577c2ff7b6da61866bd661ffe625093c2 | Normalize acronyms into C# style | kamsar/Leprechaun | src/Leprechaun/MetadataGeneration/StandardTypeNameGenerator.cs | src/Leprechaun/MetadataGeneration/StandardTypeNameGenerator.cs | using System;
using System.Text.RegularExpressions;
namespace Leprechaun.MetadataGeneration
{
/// <summary>
/// Generates class names and relative namespaces for code generation types
/// </summary>
public class StandardTypeNameGenerator : ITypeNameGenerator
{
private readonly string _namespaceRoot;
public ... | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Leprechaun.MetadataGeneration
{
/// <summary>
/// Generates class names and relative namespaces for code generation types
/// </summary>
public class StandardTypeNameGenerator : ITypeNameGenerator
{
private readonly strin... | mit | C# |
e914412fd5b1d6e4340a2039beb7429f3b7cb458 | Migrate tests to new IdentityModel style (5) | MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4 | test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs | test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel.Client;
using IdentityServer4.IntegrationTests.Clients;
using Microsoft.AspNetCore.Hosting;
using ... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel.Client;
using IdentityServer4.IntegrationTests.Clients;
using Microsoft.AspNetCore.Hosting;
using... | apache-2.0 | C# |
af4e95e0cd0be35e32a033043dc69a0d9ece31b9 | fix broken test | nataren/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,ZocDoc/ServiceStack,nataren/NServiceKit,timba/NServiceKit,timba/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,MindTouch/NServiceKit,MindTouch/NSer... | tests/ServiceStack.WebHost.Endpoints.Tests/WsdlMetadataTests.cs | tests/ServiceStack.WebHost.Endpoints.Tests/WsdlMetadataTests.cs | using NUnit.Framework;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Metadata;
using ServiceStack.WebHost.Endpoints.Tests.Support;
using ServiceStack.WebHost.Endpoints.Tests.Support.Operations;
namespace ServiceStack.WebHost.Endpoints.Tests
{
[TestFixture]
public class WsdlMetadataTests : Meta... | using NUnit.Framework;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Metadata;
using ServiceStack.WebHost.Endpoints.Tests.Support;
using ServiceStack.WebHost.Endpoints.Tests.Support.Operations;
namespace ServiceStack.WebHost.Endpoints.Tests
{
[TestFixture]
public class WsdlMetadataTests : Meta... | bsd-3-clause | C# |
1f5aa921483c12c32f1f4665099957bdc17f3efd | Fix how to find TeamCity queued builds. | skahal/Buildron,skahal/Buildron,skahal/Buildron | src/Buildron/Assets/_Assets/Scripts/Infrastructure/BuildsProviders/TeamCity/BuildQueueParser.cs | src/Buildron/Assets/_Assets/Scripts/Infrastructure/BuildsProviders/TeamCity/BuildQueueParser.cs | #region Usings
using System.Collections.Generic;
using System.Text.RegularExpressions;
#endregion
namespace Buildron.Infrastructure.BuildsProvider.TeamCity
{
/// <summary>
/// Build queue parser.
/// </summary>
public static class BuildQueueParser
{
#region Fields
private static Regex s_getBuildConfigurationI... | #region Usings
using System.Collections.Generic;
using System.Text.RegularExpressions;
#endregion
namespace Buildron.Infrastructure.BuildsProvider.TeamCity
{
/// <summary>
/// Build queue parser.
/// </summary>
public static class BuildQueueParser
{
#region Fields
private static Regex s_getBuildConfigurationI... | mit | C# |
609b485930f9e893fbed95742f1b6689f4b59c49 | Update WorkOrder_MenuFunctions.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Production/WorkOrder_MenuFunctions.cs | Test/AdventureWorksFunctionalModel/Production/WorkOrder_MenuFunctions.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# |
416b512554519dcf965a36d6f97c5c9c9bae9f5d | fix CreateResponse issue | elyen3824/myfinanalysis-data | data-provider/run.csx | data-provider/run.csx | using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
/* log.Info("C# HTTP trigger function processed a request.");
// Get request body
dynamic data = await req.Content.ReadAsAsync<object>();
// Set name to query string or body data
strin... | using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
string symbol = await GetValueFromQuery(req, "symbol");
string start = await GetValueFromQuery(req, "start");
string end = await G... | mit | C# |
af3d0bdc321c58cf9f15b99c631a0ccfb1b2d4e7 | Add documentation for range. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Utils/Range.cs | Source/Lib/TraktApiSharp/Utils/Range.cs | namespace TraktApiSharp.Utils
{
/// <summary>
/// Represents a range between two values.
/// </summary>
/// <typeparam name="T">The actual underlying data type.</typeparam>
public struct Range<T>
{
/// <summary>Initializes a new instance of the <see cref="Range" /> struct.</summary>
... | namespace TraktApiSharp.Utils
{
public struct Range<T>
{
public Range(T begin, T end)
{
Begin = begin;
End = end;
}
public T Begin { get; }
public T End { get; }
}
}
| mit | C# |
68e7071a0b3ddfb5e0e3635345e0709135d98461 | Revert private change | kant2002/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,munyirik/nodejstools,paladique/nodejstools,paulvanbrenk/nodejstools,paladique/nodejstools,munyirik/nodejstools,munyirik/nodejstools,AustinHull/nodejstools,Microsoft/nodejstools,paulvanbrenk/... | Nodejs/Product/Nodejs/TestFrameworks/TestFrameworkDirectories.cs | Nodejs/Product/Nodejs/TestFrameworks/TestFrameworkDirectories.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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,... | apache-2.0 | C# |
1d4ab8992be7bd3920d14cd8098dcb2f0bff133c | Add missing file with benchmarks | CDuke/NHasher | test/NHasher.Benchmarks/Benchmarks.cs | test/NHasher.Benchmarks/Benchmarks.cs | using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
namespace NHasher.Benchmarks
{
[ClrJob, CoreJob]
[MemoryDiagnoser]
public class Benchmarks
{
private byte[] _data;
private readonly MurmurHash3X64L128 _murmurHash3X64L128 = new MurmurHash3X64L128();... | using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using BenchmarkDotNet.Order;
namespace NHasher.Benchmarks
{
[ClrJob, CoreJob]
[MemoryDiagnoser]
public class Benchmarks
{
private const int N = 10000;
private readonly byte[] _data;
private ... | mit | C# |
81ba3db40e92d669e790b6b55101b710d65c104c | Mark function as static | munyirik/nodejstools,avitalb/nodejstools,mjbvz/nodejstools,AustinHull/nodejstools,paladique/nodejstools,mjbvz/nodejstools,kant2002/nodejstools,Microsoft/nodejstools,paulvanbrenk/nodejstools,lukedgr/nodejstools,lukedgr/nodejstools,mjbvz/nodejstools,avitalb/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejstools,paladi... | Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.cs | Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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,... | apache-2.0 | C# |
059c384029270026de0c9902948a490cb516c5b3 | validate player move active | bytePassion/OpenQuoridorFramework | QuoridorContestFramework/QCF.GameEngine/Analysis/GameAnalysis.cs | QuoridorContestFramework/QCF.GameEngine/Analysis/GameAnalysis.cs | using System.Diagnostics;
using QCF.Contest.Contracts.Coordination;
using QCF.Contest.Contracts.GameElements;
using QCF.Contest.Contracts.Moves;
namespace QCF.GameEngine.Analysis
{
internal static class GameAnalysis
{
public static bool IsMoveLegal(BoardState currentBoardState, Move potentialNextMove)
{
... | using System.Diagnostics;
using QCF.Contest.Contracts.Coordination;
using QCF.Contest.Contracts.GameElements;
using QCF.Contest.Contracts.Moves;
namespace QCF.GameEngine.Analysis
{
internal static class GameAnalysis
{
public static bool IsMoveLegal(BoardState currentBoardState, Move potentialNextMove)
{
... | apache-2.0 | C# |
e409f2dc6d28257b822ffa06230377c80402dae0 | add xmldoc | smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu | osu.Game/Online/API/Requests/GetUserRequest.cs | osu.Game/Online/API/Requests/GetUserRequest.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.Game.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | // 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.Game.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | mit | C# |
b33ed7fa52d7dc7f5d219e017bf9bcb5e26f9ff2 | fix missing using statement | tom-englert/ResXResourceManager | ResXManager.Scripting/SourceFilesProvider.cs | ResXManager.Scripting/SourceFilesProvider.cs | namespace ResXManager.Scripting
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Text.RegularExpressions;
using JetBrains.Annotations;
using tomenglertde.ResXManager.Infrastructure;
using tomenglertde.Re... | namespace ResXManager.Scripting
{
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Text.RegularExpressions;
using JetBrains.Annotations;
using tomenglertde.ResXManager.Infrastructure;
using tomenglertde.ResXManager.Model;
... | mit | C# |
92aa631b2482289289d51e3b82a815a7f4bb8773 | remove unused method declaration from interface | MarcBruins/MLPAutoComplete-Xamarin-iOS | MLPAutoCompleteTextField/IMLPAutoCompleteTextFieldDataSource.cs | MLPAutoCompleteTextField/IMLPAutoCompleteTextFieldDataSource.cs | using System;
using ObjCRuntime;
using Foundation;
using System.Collections;
using System.Threading.Tasks;
namespace MLPAutoComplete
{
public interface IMLPAutoCompleteTextFieldDataSource
{
/*
When you have the suggestions ready you must call the completionHandler block with
an NSArray of strings or objec... | using System;
using ObjCRuntime;
using Foundation;
using System.Collections;
using System.Threading.Tasks;
namespace MLPAutoComplete
{
public interface IMLPAutoCompleteTextFieldDataSource
{
/*
When you have the suggestions ready you must call the completionHandler block with
an NSArray of strings or objec... | mit | C# |
ff0e77969509ba4ac9b03b82cd26d87005457ac7 | add ConcurrentUserLogic | signumsoftware/framework,signumsoftware/framework | Signum.Engine.Extensions/ConcurrentUsers/ConcurrentUserLogic.cs | Signum.Engine.Extensions/ConcurrentUsers/ConcurrentUserLogic.cs | using Signum.Entities.ConcurrentUser;
namespace Signum.Engine.ConcurrentUser;
public static class ConcurrentUserLogic
{
public static Func<Type, bool> WatchSaveFor = null!;
public static void Start(SchemaBuilder sb, Func<Type, bool>? activatedFor = null)
{
if (sb.NotDefined(MethodBase.GetCurrentM... | using Signum.Entities.ConcurrentUser;
namespace Signum.Engine.ConcurrentUser;
public static class ConcurrentUserLogic
{
public static Func<Type, bool> WatchSaveFor = null!;
public static void Start(SchemaBuilder sb, Func<Type, bool>? activatedFor)
{
if (sb.NotDefined(MethodBase.GetCurrentMethod()... | mit | C# |
48982155c80c3fcac9c16c6a9250be931e674e30 | Update AssemblyInfo.cs | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/PortableAreas/Appleseed.Core/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/PortableAreas/Appleseed.Core/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("A... | 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("A... | apache-2.0 | C# |
af50d699fd4880ef5aa53bf265b625688ab25cbf | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
a5fcfd471c8408575dd09afb9c0775e1226b63e6 | Make assembly title match assembly name | Brightspace/D2L.Security.OAuth2 | src/D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs | src/D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle( "D2L.Security.WebApi" )]
[assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )]
[assembly: AssemblyCompany( "Desire2Learn" )]
[assembly: AssemblyProduct( "Brights... | using System.Reflection;
using System.Runtime.CompilerServices;
// Nuget: Title
[assembly: AssemblyTitle( "D2L Security For Web API" )]
// Nuget: Description
[assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )]
// Nuget: Author
[assembly: Assem... | apache-2.0 | C# |
f480a2eac4c270bce69029106ad5c6539768a7e4 | Copy values of PE header properties from module to new PEImage in ManagedPEImageBuilder. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Builder/ManagedPEImageBuilder.cs | src/AsmResolver.DotNet/Builder/ManagedPEImageBuilder.cs | using System;
using AsmResolver.PE;
namespace AsmResolver.DotNet.Builder
{
/// <summary>
/// Provides a default implementation of <see cref="IPEImageBuilder"/>.
/// </summary>
public class ManagedPEImageBuilder : IPEImageBuilder
{
/// <summary>
/// Creates a new instance of the <se... | using System;
using AsmResolver.PE;
namespace AsmResolver.DotNet.Builder
{
/// <summary>
/// Provides a default implementation of <see cref="IPEImageBuilder"/>.
/// </summary>
public class ManagedPEImageBuilder : IPEImageBuilder
{
/// <summary>
/// Creates a new instance of the <se... | mit | C# |
8576e78a378dda112e962cf0769f4d9a41e1d88b | fix sound effect throws exception | fmarrabal/Caliburn.Micro,Billpzoom/Caliburn.Micro,ryanJohn33/CMicro,Caliburn-Micro/Caliburn.Micro,ryanJohn33/CMicro,vgrigoriu/Caliburn.Micro,ehigh2014/Caliburn.Micro,suvjunmd/Caliburn.Micro,TriadTom/Caliburn.Micro,bitbonk/Caliburn.Micro,mwpowellhtx/Caliburn.Micro,mbruckner/Caliburn.Micro,chrisrpatterson/Caliburn.Micro,... | src/Caliburn.Micro.Extensions.WP71/SoundEffectPlayer.cs | src/Caliburn.Micro.Extensions.WP71/SoundEffectPlayer.cs | namespace Caliburn.Micro {
using System;
using System.Windows;
using System.Windows.Threading;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
/// <summary>
/// Service allowing to play a .wav sound effect
/// </summary>
public interface ISoundEffectPlayer {
... | namespace Caliburn.Micro {
using System;
using System.Windows;
using System.Windows.Threading;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
/// <summary>
/// Service allowing to play a .wav sound effect
/// </summary>
public interface ISoundEffectPlayer {
... | mit | C# |
c6933bd33052a8fafcd845bd22bb1f4620c29f18 | use androidClientHanlder for andriod httpClient by default (#1077) | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/Microsoft.Identity.Client/Http/HttpClientFactory.cs | src/Microsoft.Identity.Client/Http/HttpClientFactory.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Net.Http;
using System.Net.Http.Headers;
#if iOS
using Foundation;
using UIKit;
#endif
namespace Microsoft.Identity.Client.Http
{
internal class HttpClientFactory : IMsalHttpClientFactory
{
pr... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Net.Http;
using System.Net.Http.Headers;
#if iOS
using Foundation;
using UIKit;
#endif
namespace Microsoft.Identity.Client.Http
{
internal class HttpClientFactory : IMsalHttpClientFactory
{
pr... | mit | C# |
8ec2c35c4f6833a745eecc5ee98fb7c1eca7e422 | Change origin of nested objects inside JuiceStream to fix visibility issues | ppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu | osu.Game.Rulesets.Catch/Objects/Drawables/DrawableJuiceStream.cs | osu.Game.Rulesets.Catch/Objects/Drawables/DrawableJuiceStream.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
namespa... | mit | C# |
cf6da5d990cf9de8f369f8d5db68e34c72e67868 | Remove another unnecessary using | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/MemoryRepositories/PuzzlesBeingEditedRepository.cs | src/AtomicChessPuzzles/MemoryRepositories/PuzzlesBeingEditedRepository.cs | using System.Collections.Generic;
using System.Linq;
using AtomicChessPuzzles.Models;
namespace AtomicChessPuzzles.MemoryRepositories
{
public class PuzzlesBeingEditedRepository : IPuzzlesBeingEditedRepository
{
List<Puzzle> puzzles = new List<Puzzle>();
public void Add(Puzzle puzzle)
... | using System;
using System.Collections.Generic;
using System.Linq;
using AtomicChessPuzzles.Models;
namespace AtomicChessPuzzles.MemoryRepositories
{
public class PuzzlesBeingEditedRepository : IPuzzlesBeingEditedRepository
{
List<Puzzle> puzzles = new List<Puzzle>();
public void Add(Puzzle p... | agpl-3.0 | C# |
9a519d4c73ae6b163b70b5c697ee963d4b00e4f0 | reset disposed per run | ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Containers/TestSceneCompositeAsync.cs | osu.Framework.Tests/Visual/Containers/TestSceneCompositeAsync.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.Graphics.Containers;
namespace osu.Framework.Tests.Visual.Containers
{
public class TestSceneCompositeAsync : FrameworkTes... | // 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.Graphics.Containers;
namespace osu.Framework.Tests.Visual.Containers
{
public class TestSceneCompositeAsync : FrameworkTes... | mit | C# |
04c9883e13d8ae88d8c9d7aa9994770ad30f1a9b | enable features and add route | OdeToCode/AddFeatureFolders | sample/WebApplication/Startup.cs | sample/WebApplication/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using OdeToCode.AddFeatureFolders;
namespace WebApplication
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace WebApplication
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc... | mit | C# |
d67673a696db24c35426ff6a18774607bd498c9b | Fix startup | amweiss/WeatherLink | src/WeatherLink/Startup.cs | src/WeatherLink/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NSwag.AspNetCore;
using WeatherLink.Models;
... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NSwag.AspNetCore;
using WeatherLink.Models;
using WeatherLink.Services;
using NS... | mit | C# |
900c8c623d881b3c4cbde2519db89cf7a6018d4d | Update C# seed file. | exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests | fixture/CSharp/input_code/Seed.cs | fixture/CSharp/input_code/Seed.cs | using System;
namespace Occf.Learner.Core.Ts.Experiments {
internal class Seed {
public static void Main(string[] a) {
Contract.Requires(b);
Contract.Requires(b, "");
Contract.Requires<Exception>(b);
Contract.Requires<Exception>(b, "");
XXXXXXXX.Requires(b);
System.Diagnostics.Contracts.Contract.... | using System;
namespace Occf.Learner.Core.Ts.Experiments {
internal class Seed {
public static void Main(string[] a) {
Contract.Requires(b);
Contract.Requires(b, "");
Contract.Requires<Exception>(b);
Contract.Requires<Exception>(b, "");
XXXXXXXX.Requires(b);
System.Diagnostics.Contracts.Contract.... | apache-2.0 | C# |
10d4d2e2c5c72ca0db2fda608aedc8776c961a95 | Fix internals visibility | karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS | src/Windows/R/Platform.Core/Impl/Properties/AssemblyInfo.cs | src/Windows/R/Platform.Core/Impl/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Runtime.CompilerServices;
#if SIGN
[assembly: InternalsVisibleTo("Microsoft.R.Common.Core.Test, PublicKey=002400000480000094000000060200000024000052534... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Runtime.CompilerServices;
#if SIGN
[assembly: InternalsVisibleTo("Microsoft.R.Common.Core.Test, PublicKey=002400000480000094000000060200000024000052534... | mit | C# |
8773c0c1e7876bd321793e49ffd1f7a6055ba14a | Bump testframework from 5.2.0 to 5.2.1 | Brightspace/D2L.Security.OAuth2 | src/D2L.Security.OAuth2.TestFramework/Properties/AssemblyInfo.cs | src/D2L.Security.OAuth2.TestFramework/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: AssemblyTit... | 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: AssemblyTit... | apache-2.0 | C# |
75046728a96466ef3d7ca5f659e260f85f38da5a | Fix http post test (server was dead) | nopara73/DotNetTor | src/DotNetTor.Tests/PostTests.cs | src/DotNetTor.Tests/PostTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using DotNetTor.SocksPort;
using Xunit;
namespace DotNetTor.Tests
{
// For proper configuraion see https://github.com/nopara73/DotNetTor
public class PostTests
{
private static HttpClient _clie... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using DotNetTor.SocksPort;
using Xunit;
namespace DotNetTor.Tests
{
// For proper configuraion see https://github.com/nopara73/DotNetTor
public class PostTests
{
private static HttpClient _clie... | mit | C# |
e90744cfc45dbbc423012d9fc4c81e87139e453c | Fix plug | CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos | source/Cosmos.Core_Asm/MultibootImpl.cs | source/Cosmos.Core_Asm/MultibootImpl.cs | using Cosmos.Core;
using IL2CPU.API.Attribs;
using XSharp;
using XSharp.Assembler;
namespace Cosmos.Core_Asm
{
[Plug(Target = typeof(Multiboot2))]
public class Multiboot2Impl
{
[PlugMethod(Assembler = typeof(Multiboot2ImplAsm))]
public static uint GetMBIAddress()
{
retu... | using Cosmos.Core;
using IL2CPU.API.Attribs;
using XSharp;
using XSharp.Assembler;
namespace Cosmos.Core_Asm
{
[Plug(Target = typeof(Multiboot2))]
public class Multiboot2Impl
{
[PlugMethod(Assembler = typeof(Multiboot2ImplAsm))]
public uint GetMBIAddress()
{
return 0;
... | bsd-3-clause | C# |
83411577521f44787146de53783fa0c8fabbcad1 | Update ConfigurationValidationStrategyBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Configuration/ValidationStrategy/ConfigurationValidationStrategyBase.cs | TIKSN.Core/Configuration/ValidationStrategy/ConfigurationValidationStrategyBase.cs | using System;
using TIKSN.Configuration.Validator;
namespace TIKSN.Configuration.ValidationStrategy
{
public abstract class ConfigurationValidationStrategyBase<T> : IConfigurationValidationStrategy<T>
{
protected readonly IServiceProvider _serviceProvider;
protected ConfigurationValidationStr... | using System;
using TIKSN.Configuration.Validator;
namespace TIKSN.Configuration.ValidationStrategy
{
public abstract class ConfigurationValidationStrategyBase<T> : IConfigurationValidationStrategy<T>
{
protected readonly IServiceProvider _serviceProvider;
protected ConfigurationValidationStr... | mit | C# |
cf6e8af10b240fb579ef40c42f274ab2479f345f | Update version | jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,pilor/azure-sdk-for-net,jamestao/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,djyou/azure-sdk-for-net,djyou/azure-sdk-for-net,peshen/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,djyou/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,SiddharthChatrolaMs/azu... | src/SDKs/SqlManagement/Management.Sql/Properties/AssemblyInfo.cs | src/SDKs/SqlManagement/Management.Sql/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System;
using System.Resources;
// 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: AssemblyConfigurati... | using System.Reflection;
using System.Runtime.InteropServices;
using System;
using System.Resources;
// 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: AssemblyConfigurati... | mit | C# |
72f5a1ed8d6c8887865cefcd51d25ff1d67f5c44 | Disable flaky XML encoding test | manu-silicon/corefx,Chrisboh/corefx,n1ghtmare/corefx,chenkennt/corefx,VPashkov/corefx,matthubin/corefx,mazong1123/corefx,richlander/corefx,iamjasonp/corefx,richlander/corefx,weltkante/corefx,BrennanConroy/corefx,shimingsg/corefx,Alcaro/corefx,alexperovich/corefx,Ermiar/corefx,zmaruo/corefx,fernando-rodriguez/corefx,krk... | src/System.Xml.ReaderWriter/tests/XmlWriter/WriteWithEncoding.cs | src/System.Xml.ReaderWriter/tests/XmlWriter/WriteWithEncoding.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Text;
using System.Xml;
using Xunit;
public class XmlWriterTests
{
[Fact]
[ActiveIssue(1263)]
public static voi... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Text;
using System.Xml;
using Xunit;
public class XmlWriterTests
{
[Fact]
public static void WriteWithEncoding()
... | mit | C# |
f47727ff1ca6b9037a1702390075289786fc67a9 | Improve SystemInfo utility class | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Util/SystemInfo.cs | src/Arkivverket.Arkade.Core/Util/SystemInfo.cs | using System;
using System.IO;
using Arkivverket.Arkade.Core.Base;
namespace Arkivverket.Arkade.Core.Util
{
public static class SystemInfo
{
public static long GetAvailableDiskSpaceInBytes()
{
return GetAvailableDiskSpaceInBytes(ArkadeProcessingArea.RootDirectory.FullName);
... | using System;
using System.IO;
using Arkivverket.Arkade.Core.Base;
namespace Arkivverket.Arkade.Core.Util
{
public class SystemInfo
{
public static long GetAvailableDiskSpaceInBytes()
{
DirectoryInfo arkadeDirectory = ArkadeProcessingArea.RootDirectory;
string drive = P... | agpl-3.0 | C# |
0bd7ebe1da1ae7fd95f7b88a993aa9fff14c36ef | Simplify NullableSourceMapper and fix IsMatch to only map if nullable element type is same as non-nullable type | gentledepp/AutoMapper,lbargaoanu/AutoMapper,jbogard/AutoMapper,BlaiseD/AutoMapper,AutoMapper/AutoMapper,sh-sabooni/AutoMapper,TylerCarlson1/AutoMapper,AutoMapper/AutoMapper,mjalil/AutoMapper | src/AutoMapper/Mappers/NullableSourceMapper.cs | src/AutoMapper/Mappers/NullableSourceMapper.cs | using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace AutoMapper.Mappers
{
using Configuration;
public class NullableSourceMapper : IObjectMapper, IObjectMapExpression
{
public static TDestination Map<TDestination>(TDestination? source)
where TDestination... | using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace AutoMapper.Mappers
{
using Configuration;
public class NullableSourceMapper : IObjectMapper
{
public static TDestination Map<TDestination>(object source, ResolutionContext context)
{
return (TD... | mit | C# |
be8473e17327c848f53550bb109368324f20a85b | Remove incorrect comment | cbovar/ConvNetSharp | src/ConvNetSharp.Core/Layers/LeakyReluLayer.cs | src/ConvNetSharp.Core/Layers/LeakyReluLayer.cs | using System;
using System.Collections.Generic;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Core.Layers
{
/// <summary>
/// Implements LeakyReLU nonlinearity elementwise
/// x -> x > 0, x, otherwise 0.01x
/// </summary>
public class LeakyReluLayer<T> : LayerBase<T> where T : struct, ... | using System;
using System.Collections.Generic;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Core.Layers
{
/// <summary>
/// Implements LeakyReLU nonlinearity elementwise
/// x -> x > 0, x, otherwise 0.01x
/// the output is in [0, inf)
/// </summary>
public class LeakyReluLaye... | mit | C# |
f1f382cf3e0af95c04f6f35cdbef97d4f8306ce1 | Add developer exception page to webpack template | reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET | src/React.Template/reactnet-webpack/Startup.cs | src/React.Template/reactnet-webpack/Startup.cs | using JavaScriptEngineSwitcher.ChakraCore;
using JavaScriptEngineSwitcher.Extensions.MsDependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using React.AspNe... | using JavaScriptEngineSwitcher.ChakraCore;
using JavaScriptEngineSwitcher.Extensions.MsDependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using React.AspNet;
namespace React.Sample.Webpack.C... | mit | C# |
64f3cd34923683e760caadc4e75a100257513c41 | Use the default cache policy when making requests to external proxy urls. | MogulTestOrg9221/Project92108,18098924759/JabbR,yadyn/JabbR,mogulTest1/Project91409,mogultest2/Project13171008,mogulTest1/Project91404,JabbR/JabbR,mogulTest1/Project13171109,ajayanandgit/JabbR,aapttester/jack12051317,yadyn/JabbR,mogultest2/Project13171010,kudutest/FaizJabbr,mogultest2/Project13171010,fuzeman/vox,mogult... | JabbR/Http/ProxyHandler.cs | JabbR/Http/ProxyHandler.cs | using System;
using System.IO;
using System.Net;
using System.Net.Cache;
using System.Threading.Tasks;
using System.Web;
using JabbR.ContentProviders;
using SignalR.Hosting.AspNet;
namespace JabbR.Auth
{
/// <summary>
/// Proxies images through the jabbr server to avoid mixed mode https.
/// </summary>
... | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using JabbR.ContentProviders;
using SignalR.Hosting.AspNet;
namespace JabbR.Auth
{
/// <summary>
/// Proxies images through the jabbr server to avoid mixed mode https.
/// </summary>
public class ProxyHand... | mit | C# |
591c358001b6db866e30628b28f1a33f84065bdf | Fix RedoButton current game reference | Curdflappers/UltimateTicTacToe | Assets/Resources/Scripts/RedoButton.cs | Assets/Resources/Scripts/RedoButton.cs | using UnityEngine;
using UnityEngine.UI;
public class RedoButton : Button {
// Update is called once per frame
void Update ()
{
interactable = Game.CurrentGame.CanRedo();
}
}
| using UnityEngine;
using UnityEngine.UI;
public class RedoButton : Button {
// Update is called once per frame
void Update ()
{
interactable = game.CanRedo();
}
}
| mit | C# |
b07dd715ed51b4081369ef61ee275b9b5bf2643e | Set it up to be more test-friendly right away. | Jellybit/UnityAABB | Assets/Scripts/AABB/CollisionObject.cs | Assets/Scripts/AABB/CollisionObject.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent (typeof (BoxCollider2D))]
public class CollisionObject : MonoBehaviour {
//Usually, I let my character controller handle the collision checks, so that it can react, but I have this set
//to true by default because I a... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent (typeof (BoxCollider2D))]
public class CollisionObject : MonoBehaviour {
//Usually, I let my character controller handle the collision checks, so that it can react, but you can set this to
//true if you want it to ha... | mit | C# |
f91f7d4bfb129fe91c903866d817e79dbfa15570 | Increase height of select projects dialog | mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement.Gui/SelectProjectsDialog.UI.cs | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement.Gui/SelectProjectsDialog.UI.cs | //
// SelectProjectsDialog.UI.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in ... | //
// SelectProjectsDialog.UI.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in ... | mit | C# |
68b2e1f39fcf11c7c76ff6f89bd4afa027243330 | Fix admin menu. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Web/Areas/Admin/Views/Home/Index.cshtml | Infopulse.EDemocracy.Web/Areas/Admin/Views/Home/Index.cshtml | @{
ViewBag.Title = "eNarod - Admin page";
}
<div class="adminMainPage">
<div class="row">
<h2 class="col-md-12">Actions</h2>
</div>
<div class="row">
<div class="col-md-12" data-bind="visible: !isAuthorized()">
<a href="#" data-bind="click: showLoginDialog">Sign in</a>
</div>
</div>
<div class="row">
... | @{
ViewBag.Title = "eNarod - Admin page";
}
<div class="adminMainPage">
<div class="row">
<h2 class="col-md-12">Actions</h2>
</div>
<div class="row">
<div class="col-md-12" data-bind="visible: !isAuthorized">
<a href="#" data-bind="click: showLoginDialog">Sign in</a>
</div>
</div>
<div class="row">
<... | cc0-1.0 | C# |
6290ed09bc9f64e8fcb3b9eddfdc195dc0150f2a | Use long instead of int for field Id | MiXTelematics/MiX.Integrate.Api.Client | MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs | MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs | namespace MiX.Integrate.Shared.Entities.Assets
{
/// <summary>Instance of a custom asset detail data point/summary>
public class AdditionalDetailItem
{
public AdditionalDetailItem(long id, string label, string value)
{
Id = id;
Label = label;
Value = value;
}
/// <summary>Ident... | namespace MiX.Integrate.Shared.Entities.Assets
{
/// <summary>Instance of a custom asset detail data point/summary>
public class AdditionalDetailItem
{
public AdditionalDetailItem(int id, string label, string value)
{
Id = id;
Label = label;
Value = value;
}
/// <summary>Identi... | mit | C# |
a32599b71d73310555c29e7d06a63379238a6c48 | Fix auto splitter settings scroll bar not always appearing | Glurmo/LiveSplit,LiveSplit/LiveSplit,Glurmo/LiveSplit,Glurmo/LiveSplit | LiveSplit/LiveSplit.View/View/ComponentSettingsDialog.cs | LiveSplit/LiveSplit.View/View/ComponentSettingsDialog.cs | using LiveSplit.UI;
using LiveSplit.UI.Components;
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.View
{
public partial class ComponentSettingsDialog : Form
{
public XmlNode ComponentSettings { get; set; }
public IComponent Component { get... | using LiveSplit.UI;
using LiveSplit.UI.Components;
using System;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.View
{
public partial class ComponentSettingsDialog : Form
{
public XmlNode ComponentSettings { get; set; }
public IComponent Component { get; set; }
publ... | mit | C# |
29d53c0a48ecd5b0197be32a161138f264d1c61f | Add AsWeakQuery extension | kalinau/ObservableDataQuerying | ObservableData/ObservableData.Querying/ListExtensions.cs | ObservableData/ObservableData.Querying/ListExtensions.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using JetBrains.Annotations;
using ObservableData.Querying;
using ObservableData.Structures.Lists.Updates;
using ObservableData.Structures.Utils;
namespace ObservableData.Structures
{
public static class ListExtensions
{
[NotN... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using JetBrains.Annotations;
using ObservableData.Querying;
using ObservableData.Structures.Lists.Updates;
using ObservableData.Structures.Utils;
namespace ObservableData.Structures
{
public static class ListExtensions
{
[NotN... | mit | C# |
dff98001057c00503bc1c0ec7267d7cbb0f4ec7d | Add more helpers | Soul-Master/higgs,Soul-Master/higgs,Soul-Master/higgs,Soul-Master/higgs | Higgs.Core/Helpers/ReflectionHelper.cs | Higgs.Core/Helpers/ReflectionHelper.cs | using System;
using System.Reflection;
using System.Linq.Expressions;
namespace Higgs.Core.Helpers
{
public static class ReflectionHelper
{
public static string GetProductName(this Assembly a)
{
// Get all Product attributes on this assembly
var attributes = a.GetCustom... | using System;
using System.Reflection;
using System.Linq.Expressions;
namespace Higgs.Core.Helpers
{
public static class ReflectionHelper
{
public static string GetProductName(this Assembly a)
{
// Get all Product attributes on this assembly
var attributes = a.GetCustom... | mit | C# |
2fb9c63203dc8e434e5d02f4a939fc8468a762a1 | Use PortableClipboard in LanguageLookupDialog (for Linux) | ermshiperete/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,gmartin7/libpalaso | SIL.Windows.Forms.WritingSystems/LanguageLookupDialog.cs | SIL.Windows.Forms.WritingSystems/LanguageLookupDialog.cs | using System;
using System.Windows.Forms;
using SIL.WritingSystems;
using SIL.Windows.Forms.Miscellaneous;
namespace SIL.Windows.Forms.WritingSystems
{
public partial class LanguageLookupDialog : FormForUsingPortableClipboard
{
public LanguageLookupDialog()
{
InitializeComponent();
}
/// <summary>
///... | using System;
using System.Windows.Forms;
using SIL.WritingSystems;
namespace SIL.Windows.Forms.WritingSystems
{
public partial class LanguageLookupDialog : Form
{
public LanguageLookupDialog()
{
InitializeComponent();
}
/// <summary>
/// If you wouldn't be paying attention to their requested name, an... | mit | C# |
44dc36af48ad7f834cde3855aac5110f5c9d4aed | Update ReaderTests base class to validate Dispose | adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress | tests/SharpCompress.Test/ReaderTests.cs | tests/SharpCompress.Test/ReaderTests.cs | using System.IO;
using SharpCompress.Common;
using SharpCompress.IO;
using SharpCompress.Readers;
using SharpCompress.Test.Mocks;
using Xunit;
namespace SharpCompress.Test
{
public class ReaderTests : TestBase
{
protected void Read(string testArchive, CompressionType expectedCompression)
{
... | using System.IO;
using SharpCompress.Common;
using SharpCompress.IO;
using SharpCompress.Readers;
using SharpCompress.Test.Mocks;
using Xunit;
namespace SharpCompress.Test
{
public class ReaderTests : TestBase
{
protected void Read(string testArchive, CompressionType expectedCompression)
{
... | mit | C# |
c7c7115dedbd2d967a18cb8fbeb349792e262251 | Select Bundle dialog looks for zip files | sillsdev/Glyssen,sillsdev/Glyssen | ProtoScript/Dialogs/SelectBundleDialog.cs | ProtoScript/Dialogs/SelectBundleDialog.cs | using System;
using System.Windows.Forms;
namespace ProtoScript.Dialogs
{
class SelectBundleDialog : IDisposable
{
private const string kResourceBundleExtension = ".zip";
private readonly OpenFileDialog m_fileDialog;
public SelectBundleDialog()
{
m_fileDialog = new OpenFileDialog
{
InitialDirecto... | using System;
using System.Windows.Forms;
namespace ProtoScript.Dialogs
{
class SelectBundleDialog : IDisposable
{
private const string kResourceBundleExtension = ".bun";
private readonly OpenFileDialog m_fileDialog;
public SelectBundleDialog()
{
m_fileDialog = new OpenFileDialog
{
InitialDirecto... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.