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 |
|---|---|---|---|---|---|---|---|---|
0dd5b3bac881b6aa620adcc953650c1336ba8ea9 | add IsMaxed property to Counter | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/Counter.cs | TCC.Core/Data/Counter.cs | using System;
using System.Windows.Threading;
namespace TCC.Data
{
public class Counter : TSPropertyChanged
{
//TODO use events here
private int _val;
private bool _isMaxed;
private readonly DispatcherTimer _expire;
private readonly bool _autoexpire;
public int... | using System;
using System.Windows.Threading;
namespace TCC.Data
{
public class Counter : TSPropertyChanged
{
//TODO use events here
private int _val;
private readonly DispatcherTimer _expire;
private readonly bool _autoexpire;
public event Action Maxed;
public... | mit | C# |
78905df6bed536abf6fe3d295f9e03ab522adbd8 | Remove todo comments | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/SmartHeaderTests.cs | WalletWasabi.Tests/UnitTests/SmartHeaderTests.cs | using NBitcoin;
using NBitcoin.DataEncoders;
using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Blockchain;
using WalletWasabi.Blockchain.Blocks;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class SmartHeaderTests
{
[Fact]
public void ConstructorTests()
{
v... | using NBitcoin;
using NBitcoin.DataEncoders;
using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Blockchain;
using WalletWasabi.Blockchain.Blocks;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class SmartHeaderTests
{
// TODO
// equality
// comparision
// line... | mit | C# |
b4b5e5fb28d2ccc4f3578c13a1c1a5da5e173993 | Fix issue with navigation controller allowing children to be garbage collected when still in use | bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Platform.iOS/Forms/Controls/NavigationHandler.cs | Source/Eto.Platform.iOS/Forms/Controls/NavigationHandler.cs | using System;
using MonoTouch.UIKit;
using Eto.Forms;
using MonoTouch.ObjCRuntime;
using Eto.Drawing;
using System.Collections.Generic;
using System.Linq;
namespace Eto.Platform.iOS.Forms.Controls
{
internal class RotatableNavigationController : UINavigationController
{
[Obsolete]
public override bool ShouldAuto... | using System;
using MonoTouch.UIKit;
using Eto.Forms;
using MonoTouch.ObjCRuntime;
using Eto.Drawing;
namespace Eto.Platform.iOS.Forms.Controls
{
internal class RotatableNavigationController : UINavigationController
{
[Obsolete]
public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation t... | bsd-3-clause | C# |
2d7d846cda28aed28b50e50ce6f53d9be8979db1 | add NotOnPrimativeType test | brettfo/roslyn,panopticoncentral/roslyn,sharwell/roslyn,tannergooding/roslyn,AlekseyTs/roslyn,physhi/roslyn,panopticoncentral/roslyn,gafter/roslyn,wvdd007/roslyn,stephentoub/roslyn,bartdesmet/roslyn,physhi/roslyn,diryboy/roslyn,AmadeusW/roslyn,genlu/roslyn,jmarolf/roslyn,aelij/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,... | src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfTests.cs | src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfTests.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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.ConvertNa... | // 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.ConvertNa... | mit | C# |
74ad5126c06c6098171954623bbaf9eb87a0ceed | Update DataMigration.cs comments (#9239) | xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore/OrchardCore.Data.Abstractions/DataMigration.cs | src/OrchardCore/OrchardCore.Data.Abstractions/DataMigration.cs | using YesSql.Sql;
namespace OrchardCore.Data.Migration
{
/// <summary>
/// A <see cref="DataMigration"/> is discovered through method reflection
/// and runs sequentially from the Create() method through UpdateFromX().
/// </summary>
/// <example>
/// Usage of method implementations:
/// <c... | using YesSql.Sql;
namespace OrchardCore.Data.Migration
{
/// <summary>
/// A <see cref="DataMigration"/> is discovered through method reflection
/// and runs sequentially from the Create() method through UpdateFromX().
/// </summary>
/// <example>
/// Usage of method implementations:
/// <c... | bsd-3-clause | C# |
761df62629496a24395eb76e30ad4f7cea50324b | Make sure our directories are there in SQLite3 | shana/Akavache,akavache/Akavache,martijn00/Akavache,kmjonmastro/Akavache,mms-/Akavache,PureWeen/Akavache,Loke155/Akavache,ghuntley/AkavacheSandpit,bbqchickenrobot/Akavache,shana/Akavache,shiftkey/Akavache,christer155/Akavache,MarcMagnin/Akavache,MathieuDSTP/MyAkavache,gimsum/Akavache,jcomtois/Akavache | Akavache.Sqlite3/Registrations.cs | Akavache.Sqlite3/Registrations.cs | using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
namespace Akavache.Sqlite3
{
public class Registrations : IWantsToRegisterStuff
{
public void Regist... | using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Akavache.Sqlite3
{
public class Registrations : IWantsToRegisterStuff
{
public void Register(Action<Func<object>, Type, string> registerFunct... | mit | C# |
4d60ea4a45079dd029467b97442c5252951585d4 | comment formatting | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit.Tools/ReserializeAssetsUtility/ReserializeAssetsUtility.cs | Assets/MixedRealityToolkit.Tools/ReserializeAssetsUtility/ReserializeAssetsUtility.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
/// <summary>
/// Adds m... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
/// <summary>
/// Adds m... | mit | C# |
581d79772f0b9da578f329272a99cc1ab39f5fe1 | Set the right version in the AssemblyInfo | shanegrueling/Genkan | Genkan/Properties/AssemblyInfo.cs | Genkan/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("Ge... | 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("Ge... | mit | C# |
1e9064494a732540c42e9a34e6b912b0a80d5565 | Update IBase.cs | KernowCode/UBADDAS | KernowCode.KTest.Ubaddas/IBase.cs | KernowCode.KTest.Ubaddas/IBase.cs | using System;
namespace KernowCode.KTest.Ubaddas
{
/// <summary>
/// BDD initiator
/// </summary>
public interface IBase : IAs
{
/// <summary>
/// <para>Specifies the start of the 'Given' section of BDD</para>
/// <para>This can be followed by 'And' and 'When'</para>
... | using System;
namespace KernowCode.KTest.Ubaddas
{
/// <summary>
/// BDD initiator
/// </summary>
public interface IBase : IAs
{
/// <summary>
/// <para>Specifies the start of the 'Given' section of BDD</para>
/// <para>This can be followed by 'And' and 'When'</para>
... | mit | C# |
203fc5d7fa2c91d086c86abf1b5e0a8dc537f8f5 | Update ExplicitNull.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/ExplicitNull.cs | main/Smartsheet/Api/Models/ExplicitNull.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | apache-2.0 | C# |
1068fc3e2b07c58f7b28e595c781d73e3365b91a | Fix the missing click on the custom select | lehmamic/columbus,lehmamic/columbus | Diskordia.Columbus.Bots/FareDeals/SingaporeAirlines/PageObjects/CustomSelectElement.cs | Diskordia.Columbus.Bots/FareDeals/SingaporeAirlines/PageObjects/CustomSelectElement.cs | using System;
using System.Collections.Generic;
using System.Linq;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Support.UI;
using Polly;
namespace Diskordia.Columbus.Bots.FareDeals.SingaporeAirlines.PageObjects
{
public class CustomSelectElement
{
private readonly IWebDriver dr... | using System;
using System.Collections.Generic;
using System.Linq;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Support.UI;
using Polly;
namespace Diskordia.Columbus.Bots.FareDeals.SingaporeAirlines.PageObjects
{
public class CustomSelectElement
{
private readonly IWebDriver dr... | mit | C# |
9ee016aa4e18e5f41b3a6243875012abf0ea1476 | Bump version | MacDennis76/Rainbow,kamsar/Rainbow,PetersonDave/Rainbow | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Connective DX")]
[assembly: AssemblyProduct("Rainbow")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Connective DX")]
[assembly: AssemblyProduct("Rainbow")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.... | mit | C# |
bbb12d05d13d2276c0205f4257de5c2813f8fed9 | Bump to v0.9 - this is going to be the beta for 1.0 | andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | mit | C# |
dcd4142d93d9cc6c49a52f1cc844c7375cb13a99 | Update script 10369. | F0rTh3H0rd3/LevelingQuestsTNB,TheNoobCompany/LevelingQuestsTNB | Profiles/Quester/Scripts/10369.cs | Profiles/Quester/Scripts/10369.cs | WoWUnit wowUnit = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(questObjective.Entry, questObjective.IsDead), questObjective.IgnoreBlackList);
if(wowUnit.IsValid)
{
nManager.Wow.Helpers.Quest.GetSetIgnoreFight = true;
MovementManager.FindTarget(wowUnit, CombatClass.GetAggroRange);
Thread.Sleep(10... | WoWUnit wowUnit = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(questObjective.Entry, questObjective.IsDead), questObjective.IgnoreBlackList);
if(wowUnit.IsValid)
{
nManager.Wow.Helpers.Quest.GetSetIgnoreFight = true;
MovementManager.FindTarget(wowUnit, CombatClass.GetAggroRange);
Thread.Sleep(10... | mit | C# |
2d19f37dc6100a605b725e8d1eeb938109c43e06 | Add missing `new` method in `UserTrackingScrollContainer` for scrolling into view | smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game/Graphics/Containers/UserTrackingScrollContainer.cs | osu.Game/Graphics/Containers/UserTrackingScrollContainer.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;
namespace osu.Game.Graphics.Containers
{
public class UserTrackingScrollContainer : UserTrackingScrollContainer<Drawable>
{
... | // 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;
namespace osu.Game.Graphics.Containers
{
public class UserTrackingScrollContainer : UserTrackingScrollContainer<Drawable>
{
... | mit | C# |
8763ed933e4cca38417b07c22717aa9160a08271 | remove kinematic from carried boxes | jkloo/ScienceTeam | Assets/scripts/CarryableController.cs | Assets/scripts/CarryableController.cs | using UnityEngine;
using System.Collections;
public class CarryableController : MonoBehaviour {
private Animator anim;
private bool carried = false;
private Vector2 startPosition;
private CameraFollow cameraFollow;
void Awake()
{
anim = GetComponent<Animator>();
startPosition... | using UnityEngine;
using System.Collections;
public class CarryableController : MonoBehaviour {
private Animator anim;
private bool carried = false;
private Vector2 startPosition;
private CameraFollow cameraFollow;
void Awake()
{
anim = GetComponent<Animator>();
startPosition... | mit | C# |
dc3fa9436172d7264cbca8168fb8cc9e6fb0284a | Add Equatable to RelabelingFunction | lou1306/CIV,lou1306/CIV | CIV.Ccs/Helpers/RelabelingFunction.cs | CIV.Ccs/Helpers/RelabelingFunction.cs | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace CIV.Ccs
{
public class RelabelingFunction : ICollection<KeyValuePair<string, string>>, IEquatable<RelabelingFunction>
{
readonly IDictionary<string, string> dict = new Dictionary<string, string>();
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace CIV.Ccs
{
public class RelabelingFunction : ICollection<KeyValuePair<string, string>>
{
readonly IDictionary<string, string> dict = new Dictionary<string, string>();
public int Count => dict.Count;
pu... | mit | C# |
b2e99796cef8f589d96684c0872c83c0523e5bb4 | Add extension method LastName | inputfalken/Sharpy | Sharpy/src/GeneratorExtensions.cs | Sharpy/src/GeneratorExtensions.cs | using GeneratorAPI;
using Sharpy.Enums;
using Sharpy.Implementation;
using Sharpy.IProviders;
namespace Sharpy {
/// <summary>
/// </summary>
public static class GeneratorExtensions {
/// <summary>
/// <para>
/// Provider Contains various methods for generating common da... | using GeneratorAPI;
using Sharpy.Enums;
using Sharpy.Implementation;
using Sharpy.IProviders;
namespace Sharpy {
/// <summary>
/// </summary>
public static class GeneratorExtensions {
/// <summary>
/// <para>
/// Provider Contains various methods for generating common da... | mit | C# |
35814e024e04b67027dae58dc4e76c1bbe61a370 | Revert AssemblyVersion to 1.0.0.0 | jterry75/Docker.DotNet,ahmetalpbalkan/Docker.DotNet,jterry75/Docker.DotNet | Docker.DotNet/Properties/AssemblyInfo.cs | Docker.DotNet/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
// 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("Docker.DotNet")... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
// 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("Docker.DotNet")... | apache-2.0 | C# |
9652d5350d44e02468e27a1124d8ab096e721413 | Improve comment | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Wabisabi/IssuanceRequest.cs | WalletWasabi/Wabisabi/IssuanceRequest.cs | using System.Collections.Generic;
using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Wabisabi
{
/// <summary>
/// Represents a request for issuance a new credential.
/// </summary>
public class IssuanceRequest
{
internal IssuanceRequest(GroupElement ma, IEnumerable<GroupElement> bitCommitments)
{
Ma... | using System.Collections.Generic;
using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Wabisabi
{
/// <summary>
/// Represents a request for issuance a new credential.
/// </summary>
public class IssuanceRequest
{
internal IssuanceRequest(GroupElement ma, IEnumerable<GroupElement> bitCommitments)
{
Ma... | mit | C# |
1a3c76caa8f1582c9a4f5b9efdba93feb20b7c80 | Remove bucket name | visualeyes/cabinet,visualeyes/cabinet,visualeyes/cabinet | src/Cabinet.Web.SelfHostTest/App_Start/Startup.IOC.cs | src/Cabinet.Web.SelfHostTest/App_Start/Startup.IOC.cs | using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using Autofac;
using Autofac.Integration.WebApi;
using Cabinet.Core;
using Cabinet.FileSystem;
using Cabinet.S3;
using Cabinet.Web.SelfHostTest.Framework;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.Hosting;
using Microsoft.Owin.Stat... | using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using Autofac;
using Autofac.Integration.WebApi;
using Cabinet.Core;
using Cabinet.FileSystem;
using Cabinet.S3;
using Cabinet.Web.SelfHostTest.Framework;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.Hosting;
using Microsoft.Owin.Stat... | mit | C# |
b87478f6e2c3f245c34a5c11e714a74d4c90e9e9 | replace 'as' with direct cast to avoid possible nullref | NeoAdonis/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
u... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
u... | mit | C# |
a5dcd8db86e45357872c73921e02f015897c969b | Fix cat pending tasks | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Cat/CatPendingTasks/CatPendingTasksRecord.cs | src/Nest/Cat/CatPendingTasks/CatPendingTasksRecord.cs | using System.Runtime.Serialization;
using Utf8Json;
namespace Nest
{
[DataContract]
public class CatPendingTasksRecord : ICatRecord
{
[DataMember(Name ="insertOrder")]
[JsonFormatter(typeof(NullableStringIntFormatter))]
public int? InsertOrder { get; set; }
[DataMember(Name ="priority")]
public string P... | using System.Runtime.Serialization;
namespace Nest
{
[DataContract]
public class CatPendingTasksRecord : ICatRecord
{
[DataMember(Name ="insertOrder")]
public int? InsertOrder { get; set; }
[DataMember(Name ="priority")]
public string Priority { get; set; }
[DataMember(Name ="source")]
public string ... | apache-2.0 | C# |
2d6107592d09546b31f0abdb49c231ec99e9312f | fix typo | Pathoschild/StardewMods | LookupAnything/Framework/ModConfig.cs | LookupAnything/Framework/ModConfig.cs | namespace Pathoschild.Stardew.LookupAnything.Framework
{
/// <summary>The parsed mod configuration.</summary>
internal class ModConfig
{
/*********
** Accessors
*********/
/// <summary>Whether to close the lookup UI when the lookup key is release.</summary>
public boo... | namespace Pathoschild.Stardew.LookupAnything.Framework
{
/// <summary>The parsed mod configuration.</summary>
internal class ModConfig
{
/*********
** Accessors
*********/
/// <summary>Whether to close the lookup UI when the lookup key is release.</summary>
public boo... | mit | C# |
7a3efddf4e60882cd471ee4cde3ab3a837b8ebfc | Remove un-needed temp variable | KevinRansom/roslyn,gafter/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,jmarolf/roslyn,AmadeusW/roslyn,mavasani/roslyn,eriawan/roslyn,AmadeusW/roslyn,ErikSchierboom/roslyn,genlu/roslyn,tannergooding/roslyn,aelij/roslyn,mavasani/roslyn,dotnet/roslyn,tannergooding/roslyn,aelij/roslyn,mgoertz-msft/roslyn,tmat/roslyn,gafte... | src/Features/Core/Portable/MakeClassAbstract/AbstractMakeClassAbstractCodeFixProvider.cs | src/Features/Core/Portable/MakeClassAbstract/AbstractMakeClassAbstractCodeFixProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullable enable
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeAc... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullable enable
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeAc... | mit | C# |
ec7ecde3d5688f45ca9fd2a09b2b560d2a30e2bf | Update RemoteNLogViewerOptionsPartialConfigurationValidator.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs | TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs | using FluentValidation;
using TIKSN.Configuration.Validator;
namespace TIKSN.Analytics.Logging.NLog
{
public class
RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<
RemoteNLogViewerOptions>
{
public RemoteNLogViewerOptionsPartialConfigur... | using FluentValidation;
using TIKSN.Configuration.Validator;
namespace TIKSN.Analytics.Logging.NLog
{
public class
RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<
RemoteNLogViewerOptions>
{
public RemoteNLogViewerOptionsPartialConfigur... | mit | C# |
d5bf9a800de97fe01c59319d2f048641ad9c120b | Revert "Remove unimplemented tests" | slvnperron/NUnit-retry | src/NUnit-retry.Tests/FixtureTests.cs | src/NUnit-retry.Tests/FixtureTests.cs | // /////////////////////////////////////////////////////////////////////
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// /////////////////////////////////////////////////////////////... | // /////////////////////////////////////////////////////////////////////
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// /////////////////////////////////////////////////////////////... | mit | C# |
281ea971908bb2c608f368efacc9303aab40295e | Update anchor within help link (follow-up to r3671). Closes #3647. | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac | templates/anydiff.cs | templates/anydiff.cs | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav"></div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.changeset_href ?>" method="get">
<table>
<tr>
<th><label for="old_path">From:</... | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav"></div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.changeset_href ?>" method="get">
<table>
<tr>
<th><label for="old_path">From:</... | bsd-3-clause | C# |
d198d89004f2c6c5274492e18dbbcaef70266009 | test fix | coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,... | data-api/csharp-ws/CoinAPI.WebSocket.V1.Tests/TestOrderBook3.cs | data-api/csharp-ws/CoinAPI.WebSocket.V1.Tests/TestOrderBook3.cs | using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestOrderBook3
{
[TestMethod]
public void TestOrderBook3... | using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestOrderBook3
{
[TestMethod]
public void TestOrderBook3... | mit | C# |
ac2e14def650f79412d3d3c5a73a0ce71dab9956 | update assmebly info | bcatcho/transition,bcatcho/transition | Transition/Properties/AssemblyInfo.cs | Transition/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Transition")]
[assembly: AssemblyDescription ("A state machine language and interpreter")]
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Transition")]
[assembly: AssemblyDescription ("A state machine language and interpreter")]
[ass... | mit | C# |
78dea0156a9bcb6458e98fbf4719d18f27cffa69 | Use TextWriter overload for template filling. Change was requested by pull request reviewer. | rexm/Handlebars.Net,rexm/Handlebars.Net | source/Handlebars.Benchmark/LargeArray.cs | source/Handlebars.Benchmark/LargeArray.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Attributes;
using HandlebarsDotNet;
namespace HandlebarsNet.Benchmark
{
public class LargeArray
{
private object _data;
private HandlebarsTemplate<TextWriter, object, object> _default;
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Attributes;
using HandlebarsDotNet;
namespace HandlebarsNet.Benchmark
{
public class LargeArray
{
private object _data;
private HandlebarsTemplate<object, object> _default;
[Params... | mit | C# |
cde0db515fc86cbfeac74865eebd3376a09136cf | Use Stopwatch's .Restart() instead of .Reset() & .Start() (fixes #30) | akamsteeg/SwissArmyKnife | src/SwissArmyKnife/StopwatchExtensions.cs | src/SwissArmyKnife/StopwatchExtensions.cs | using System;
using System.Diagnostics;
namespace SwissArmyKnife
{
/// <summary>
/// Extension methods for <see cref="Stopwatch"/>
/// </summary>
public static class StopwatchExtensions
{
/// <summary>
/// Get the current value of the <see cref="Stopwatch"/>
/// and restart... | using System;
using System.Diagnostics;
namespace SwissArmyKnife
{
/// <summary>
/// Extension methods for <see cref="Stopwatch"/>
/// </summary>
public static class StopwatchExtensions
{
/// <summary>
/// Get the current value of the <see cref="Stopwatch"/>
/// and restart... | mit | C# |
b47d04c049328aa07745db6449d9d29b9b165458 | Add error to see if CI is blocking Deployment | monkey3310/appveyor-shields-badges | AppveyorShieldBadges/Program.cs | AppveyorShieldBadges/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace AppveyorShieldBadges
{
public class Program
{
public static void Main(string[] args)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace AppveyorShieldBadges
{
public class Program
{
public static void Main(string[] args)
{
... | mit | C# |
0b4e32d797d4d7f197702f9a21ed1a2d688fe418 | fix bug (null terminate does not work) | oggy83/BlendReader | BlendReader/Util/ConvertUtil.cs | BlendReader/Util/ConvertUtil.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Blender
{
public static class ConvertUtil
{
public static String CharArray2String(object obj)
{
var sb = new StringBuilder();
object[] array = (object[])obj;
foreach (object o in ar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Blender
{
public static class ConvertUtil
{
public static String CharArray2String(object obj)
{
var sb = new StringBuilder();
object[] array = (object[])obj;
foreach (object o in ar... | mit | C# |
8ea8330e7f5f6b6181a879382455006738acea9c | Use UITest compiler directive instead of ENABLE_TEST_CLOUD | jamesmontemagno/Coffee-Filter,hoanganhx86/Coffee-Filter | CoffeeFilter.iOS/AppDelegate.cs | CoffeeFilter.iOS/AppDelegate.cs | using UIKit;
using Foundation;
namespace CoffeeFilter.iOS
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
const string GoogleMapsAPIKey = "AIzaSyAAOpU0qjK0LBTe2UCCxPQP1iTaSv_Xihw";
public override UIWindow Window { get; set; }
public override bool FinishedLaunching (UIApplica... | using UIKit;
using Foundation;
namespace CoffeeFilter.iOS
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
const string GoogleMapsAPIKey = "AIzaSyAAOpU0qjK0LBTe2UCCxPQP1iTaSv_Xihw";
public override UIWindow Window { get; set; }
public override bool FinishedLaunching (UIApplica... | mit | C# |
1fb9359d9072cf6ed857e68be948271ae22ca2f5 | Fix HeldPrefix having different name on client. | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Client/GameObjects/Components/Items/ItemComponent.cs | Content.Client/GameObjects/Components/Items/ItemComponent.cs | using Content.Shared.GameObjects;
using Content.Shared.GameObjects.Components.Items;
using Robust.Client.Graphics;
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.ResourceManagement;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Components.Renderable;
using Robust.Shared.IoC;
... | using Content.Shared.GameObjects;
using Content.Shared.GameObjects.Components.Items;
using Robust.Client.Graphics;
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.ResourceManagement;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Components.Renderable;
using Robust.Shared.IoC;
... | mit | C# |
5c75e90f2b870c1b52409fb11abc7230b69338aa | Add support for dialog viewmodels supplied by a Func factory. | mthamil/SharpEssentials | SharpEssentials.Controls/Commands/OpenDialogCommand.cs | SharpEssentials.Controls/Commands/OpenDialogCommand.cs | // Sharp Essentials
// Copyright 2014 Matthew Hamilton - matthamilton@live.com
//
// 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
// ... | // Sharp Essentials
// Copyright 2014 Matthew Hamilton - matthamilton@live.com
//
// 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# |
5f52fe11a7380d28187c57232a93b24af146788a | Add a default value for changeset.workitems. | guyboltonking/git-tfs,guyboltonking/git-tfs,adbre/git-tfs,PKRoma/git-tfs,irontoby/git-tfs,TheoAndersen/git-tfs,steveandpeggyb/Public,allansson/git-tfs,jeremy-sylvis-tmg/git-tfs,WolfVR/git-tfs,allansson/git-tfs,NathanLBCooper/git-tfs,bleissem/git-tfs,jeremy-sylvis-tmg/git-tfs,codemerlin/git-tfs,hazzik/git-tfs,jeremy-syl... | GitTfs/Core/TfsChangesetInfo.cs | GitTfs/Core/TfsChangesetInfo.cs | using System.Collections.Generic;
using System.Linq;
namespace Sep.Git.Tfs.Core
{
public class TfsChangesetInfo
{
public IGitTfsRemote Remote { get; set; }
public long ChangesetId { get; set; }
public string GitCommit { get; set; }
public IEnumerable<ITfsWorkitem> Workitems { g... | using System.Collections.Generic;
namespace Sep.Git.Tfs.Core
{
public class TfsChangesetInfo
{
public IGitTfsRemote Remote { get; set; }
public long ChangesetId { get; set; }
public string GitCommit { get; set; }
public IEnumerable<ITfsWorkitem> Workitems { get; set; }
}
}
| apache-2.0 | C# |
0133ee962da47e25fcc6255a94833f34db73955b | Change JoystickSettingsStrings.cs text | NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Localisation/JoystickSettingsStrings.cs | osu.Game/Localisation/JoystickSettingsStrings.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.Localisation;
namespace osu.Game.Localisation
{
public static class JoystickSettingsStrings
{
private const string prefix = @"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.Localisation;
namespace osu.Game.Localisation
{
public static class JoystickSettingsStrings
{
private const string prefix = @"osu.Gam... | mit | C# |
d7f2f98c7807431537aee76b584dd54b0145f7d9 | fix bug | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Behaviors/SplitViewAutoBehavior.cs | WalletWasabi.Fluent/Behaviors/SplitViewAutoBehavior.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Xaml.Interactivity;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
namespace WalletWasabi.Fluent.Behaviors
{
public class SplitViewAutoBehavior : Behavior<SplitView>
{
private CompositeDisp... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Xaml.Interactivity;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
namespace WalletWasabi.Fluent.Behaviors
{
public class SplitViewAutoBehavior : Behavior<SplitView>
{
private CompositeDisp... | mit | C# |
726322c523653ce2670a65834c76dfea9ee5bea9 | Improve handling of bad format for intervals | Seddryck/NBi,Seddryck/NBi | NBi.Core/Calculation/Predicate/Numeric/NumericWithinRange.cs | NBi.Core/Calculation/Predicate/Numeric/NumericWithinRange.cs | using NBi.Core.ResultSet;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Scalar.Interval;
using NBi.Core.Scalar.Caster;
namespace NBi.Core.Calculation.Predicate.Numeric
{
class NumericWithinRange : Abst... | using NBi.Core.ResultSet;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Scalar.Interval;
using NBi.Core.Scalar.Caster;
namespace NBi.Core.Calculation.Predicate.Numeric
{
class NumericWithinRange : Abst... | apache-2.0 | C# |
ed9edb8759359a8ad2394e377727ab23f28d2070 | remove extra stack creation via curly brace in switch statements | cra0zy/MonoGame.Extended,LithiumToast/MonoGame.Extended,HyperionMT/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended,Aurioch/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended | Source/MonoGame.Extended/Graphics/PrimitiveTypeExtensions.cs | Source/MonoGame.Extended/Graphics/PrimitiveTypeExtensions.cs | using System;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGame.Extended.Graphics
{
public static class PrimitiveTypeExtensions
{
internal static int GetPrimitiveCount(this PrimitiveType primitiveType, int verticesOrIndicesCount)
{
switch (primitiveType)
{
... | using System;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGame.Extended.Graphics
{
public static class PrimitiveTypeExtensions
{
internal static int GetPrimitiveCount(this PrimitiveType primitiveType, int verticesOrIndicesCount)
{
switch (primitiveType)
{
... | mit | C# |
c55b58c6386fa8948682ece4e5da3b06cad3678d | Update EntityQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | TIKSN.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRep... | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRepository<TEntity, TIdentity>
... | mit | C# |
63f965d794f7315415965e6ccd2bc16c22fbdb96 | Remove location from model | codevlabs/Glimpse,rho24/Glimpse,Glimpse/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,codevlabs/Glimpse,rho24/Glimpse,dudzon/Glimpse,flcdrg/Glimpse,Glimpse/Glimpse,SusanaL/Glimpse,sorenhl/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,dudzon/Glimpse,elkingtonmcb/Glimpse,codevlabs/Glimpse,SusanaL/Glimpse,p... | source/Glimpse.Mvc4.MusicStore.Sample/Models/Album.cs | source/Glimpse.Mvc4.MusicStore.Sample/Models/Album.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity.Spatial;
namespace MvcMusicStore.Models
{
public class Album {
[ScaffoldColumn(false)]
public int AlbumId { get; set; }
public int GenreId { get; set; }
... | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity.Spatial;
namespace MvcMusicStore.Models
{
public class Album {
[ScaffoldColumn(false)]
public int AlbumId { get; set; }
public int GenreId { get; set; }
... | apache-2.0 | C# |
5ed19cacf3629bb263212aff05ac95ece06ebaff | Make IOperationCodeable contravariant | HelloKitty/Booma.Proxy | src/Booma.Packet.Common/Message/IOperationCodeable.cs | src/Booma.Packet.Common/Message/IOperationCodeable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Booma.Proxy;
namespace Booma
{
public interface IOperationCodeable<TOperationCodeType>
public interface IOperationCodeable<out TOperationCodeType>
where TOperationCodeType : Enum
{
TOperati... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Booma.Proxy;
namespace Booma
{
public interface IOperationCodeable<TOperationCodeType>
where TOperationCodeType : Enum
{
TOperationCodeType OperationCode { get; }
}
}
| agpl-3.0 | C# |
ad88f717d68a79cdaf27d3526eddc98cb600b337 | fix typo | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui,tebben/Mapsui | Mapsui/UI/InfoEventArgs.cs | Mapsui/UI/InfoEventArgs.cs | using System;
using Mapsui.Geometries;
using Mapsui.Layers;
using Mapsui.Providers;
namespace Mapsui.UI
{
public class InfoEventArgs : EventArgs
{
/// <summary>
/// The layer to which the touched feature belongs
/// </summary>
public ILayer Layer { get; set; }
/// <summ... | using System;
using Mapsui.Geometries;
using Mapsui.Layers;
using Mapsui.Providers;
namespace Mapsui.UI
{
public class InfoEventArgs : EventArgs
{
/// <summary>
/// The layer to which the touched feature belongs
/// </summary>
public ILayer Layer { get; set; }
/// <summ... | mit | C# |
84714108acdb029e827fe13ac894c0f0a16b2d65 | Fix missing s in Expression(s) | couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net | src/Couchbase.Lite.Shared/Query/IndexConfiguration.cs | src/Couchbase.Lite.Shared/Query/IndexConfiguration.cs | //
// IndexConfiguration.cs
//
// Copyright (c) 2021 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-... | //
// IndexConfiguration.cs
//
// Copyright (c) 2021 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-... | apache-2.0 | C# |
f7593e2446569755e288577871860d089770aa7b | Update LogWithNameAttribute.cs | destructurama/attributed | src/Destructurama.Attributed/Attributed/LogWithNameAttribute.cs | src/Destructurama.Attributed/Attributed/LogWithNameAttribute.cs | // Copyright 2015-2018 Destructurama Contributors, Serilog Contributors
//
// 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 ... | // Copyright 2015-2018 Destructurama Contributors, Serilog Contributors
//
// 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# |
cba228f56e3940422fab9f8a17b5855dbbc0ac0f | Augmente le stress quand on ne remarque pas un élève | Steguer/GreatParanoidTeacher | Assets/Scripts/Student.cs | Assets/Scripts/Student.cs | using UnityEngine;
using System.Collections;
public class Student : MonoBehaviour {
public float Timer;
public int EnrageCountHit = 10;
public float TimerFail;
public int incrementStress = 1;
private Animator animator;
private bool isClickable = false;
private float TimerFailCopy;
private int numCheat;... | using UnityEngine;
using System.Collections;
public class Student : MonoBehaviour {
private Animator animator;
private bool isClickable = false;
public float Timer;
public float TimerFail;
private float TimerFailCopy;
public int EnrageCountHit = 10;
private int numCheat;
// Use this for initia... | mit | C# |
50430e277ebdc7cceba0c5780c8199489b6bafbf | Fix for test Legacy.MasterDetailTest.MasterDetail | lnu/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,ngbrown/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nh... | src/NHibernate/Hql/Ast/ANTLR/Tree/HqlSqlWalkerTreeNodeStream.cs | src/NHibernate/Hql/Ast/ANTLR/Tree/HqlSqlWalkerTreeNodeStream.cs | using System;
using Antlr.Runtime.Tree;
namespace NHibernate.Hql.Ast.ANTLR.Tree
{
[CLSCompliant(false)]
public class HqlSqlWalkerTreeNodeStream : CommonTreeNodeStream
{
public HqlSqlWalkerTreeNodeStream(object tree) : base(tree) {}
public HqlSqlWalkerTreeNodeStream(ITreeAdaptor adaptor, object tree) :... | using System;
using Antlr.Runtime.Tree;
namespace NHibernate.Hql.Ast.ANTLR.Tree
{
[CLSCompliant(false)]
public class HqlSqlWalkerTreeNodeStream : CommonTreeNodeStream
{
public HqlSqlWalkerTreeNodeStream(object tree) : base(tree) {}
public HqlSqlWalkerTreeNodeStream(ITreeAdaptor adaptor, object tree) :... | lgpl-2.1 | C# |
db53909c61753cb9a4121d9960d0b764d586186a | add DontDestroyOnLoad() for ToggleComm | yasokada/unity-150923-udpRs232c,yasokada/unity-150831-udpMonitor | Assets/udpMonitorScript.cs | Assets/udpMonitorScript.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr = null; // monitor Thread
static bool created = false;
public Toggle ToggleComm;
... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr = null; // monitor Thread
static bool created = false;
public Toggle ToggleComm;
... | mit | C# |
9e3568b0a1a537b2b69f3a72f1695684c5e30d72 | add readSetting() | yasokada/unity-150923-udpRs232c,yasokada/unity-150831-udpMonitor | Assets/udpMonitorScript.cs | Assets/udpMonitorScript.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr; // monitor Thread
public Toggle ToggleComm;
private string ipadr1;
private string ipadr2;
private int port;
void Start () {
ToggleComm.isOn = false; // ... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr; // monitor Thread
public Toggle ToggleComm;
void Start () {
monThr = new Thread (new ThreadStart (FuncMonData));
monThr.Start ();
}
void Update () {
... | mit | C# |
27043bec591e481c712e4ed7bac1906122f7d33b | Remove custom SQL CE checks from IsConnectionStringConfigured | KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjern... | src/Umbraco.Core/Extensions/ConfigConnectionStringExtensions.cs | src/Umbraco.Core/Extensions/ConfigConnectionStringExtensions.cs | // Copyright (c) Umbraco.
// See LICENSE for more details.
using Umbraco.Cms.Core.Configuration;
namespace Umbraco.Extensions
{
public static class ConfigConnectionStringExtensions
{
public static bool IsConnectionStringConfigured(this ConfigConnectionString databaseSettings)
=> databaseSe... | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.IO;
using System.Linq;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration;
namespace Umbraco.Extensions
{
public static class ConfigConnectionStringExtensions
{
public static bool IsConnectionStringConfigur... | mit | C# |
8e8f33ec7b5fb0a24f279692c76ba3d214997bc2 | Remove null hinting for now | ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,ZLima12/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipooo/osu,johnneijzen/osu,smo... | osu.Game/Rulesets/RulesetInfo.cs | osu.Game/Rulesets/RulesetInfo.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.Diagnostics.CodeAnalysis;
using Newtonsoft.Json;
namespace osu.Game.Rulesets
{
public class RulesetInfo : IEquatable<RulesetInfo>
{
... | // 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.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace osu.Game.Rulesets
{
public class RulesetInfo : IEq... | mit | C# |
a1d82ea1eb801906a48314ecf85977f017e9afec | Fix yfrog preview | fin-alice/Mystique,azyobuzin/Mystique | Casket/Uploaders/YFrog.cs | Casket/Uploaders/YFrog.cs | using Acuerdo.External.Uploader;
using Dulcet.ThirdParty;
using Dulcet.Twitter.Credential;
namespace Casket.Uploaders
{
public class YFrog : IUploader
{
private static string _appkey = "238DGHOTa6a8f8356246fb3d3e9c7dae65cb3970";
public string UploadImage(OAuth credential, string path, string ... | using Acuerdo.External.Uploader;
using Dulcet.ThirdParty;
using Dulcet.Twitter.Credential;
namespace Casket.Uploaders
{
public class YFrog : IUploader
{
private static string _appkey = "238DGHOTa6a8f8356246fb3d3e9c7dae65cb3970";
public string UploadImage(OAuth credential, string path, string ... | mit | C# |
97a2f6e93d39abd68b5a8793afa62b2df7a26172 | Introduce custom IObserver | citizenmatt/ndc-london-2013 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | mit | C# |
ff886964d6a0fdb9433ee21b122dc27e686ef09f | Make HtmlTemplateBundle.GetTemplateId internal. | damiensawyer/cassette,honestegg/cassette,damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette | src/Cassette/HtmlTemplates/HtmlTemplateBundle.cs | src/Cassette/HtmlTemplates/HtmlTemplateBundle.cs | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | mit | C# |
801c3b24246c2c5eed8e30be58b2d21d838112e6 | Disable release of ComObject on finalizer by default (using backward compatible behavior) | jwollen/SharpDX,waltdestler/SharpDX,Ixonos-USA/SharpDX,wyrover/SharpDX,VirusFree/SharpDX,VirusFree/SharpDX,Ixonos-USA/SharpDX,weltkante/SharpDX,shoelzer/SharpDX,RobyDX/SharpDX,weltkante/SharpDX,sharpdx/SharpDX,davidlee80/SharpDX-1,fmarrabal/SharpDX,VirusFree/SharpDX,Ixonos-USA/SharpDX,VirusFree/SharpDX,waltdestler/Shar... | Source/SharpDX/Configuration.cs | Source/SharpDX/Configuration.cs | // Copyright (c) 2010-2011 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modif... | // Copyright (c) 2010-2011 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modif... | mit | C# |
f754ca50155f40c268b708445d498e6f6760c095 | make test more resilient to potentially slow runners | ntent-ad/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metric... | Src/Metrics.Tests/ClockTests.cs | Src/Metrics.Tests/ClockTests.cs | using System.Threading;
using FluentAssertions;
using Metrics.Utils;
using Xunit;
namespace Metrics.Tests
{
public class ClockTests
{
[Fact]
public void ClockDefaultCanMeasureTime()
{
var startDefault = Clock.Default.Nanoseconds;
var startSystem = Clock.SystemDa... | using System.Threading;
using FluentAssertions;
using Metrics.Utils;
using Xunit;
namespace Metrics.Tests
{
public class ClockTests
{
[Fact]
public void ClockDefaultCanMeasureTime()
{
var start = Clock.Default.Nanoseconds;
Thread.Sleep(20);
var end =... | apache-2.0 | C# |
4c3cb15afeab172a89196f1b67a8c9094cb3f2bd | use volatile write to set the atomic long value instead of compare exchange. Performance seems a lot better. | MetaG8/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,mnadel/Metrics.NET,Liwoj/Metrics.NET,DeonHeyns/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,ntent-ad/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,alhardy/Metrics.NET,MetaG8/Me... | Src/Metrics/Utils/AtomicLong.cs | Src/Metrics/Utils/AtomicLong.cs | #if PADDED_ATOMIC_LONG
using System.Runtime.InteropServices;
#endif
using System.Threading;
namespace Metrics.Utils
{
/// <summary>
/// Atomic long.
/// TBD: implement optimizations behind LongAdder from
/// <a href="https://github.com/dropwizard/metrics/blob/master/metrics-core/src/main/java/com/coda... | #if PADDED_ATOMIC_LONG
using System.Runtime.InteropServices;
#endif
using System.Threading;
namespace Metrics.Utils
{
/// <summary>
/// Atomic long.
/// TBD: implement optimizations behind LongAdder from
/// <a href="https://github.com/dropwizard/metrics/blob/master/metrics-core/src/main/java/com/coda... | apache-2.0 | C# |
62617537fa55def7e9d631e636c4e396c129665b | Change icon from scary bug to box-alt | KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,madsoulswe/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,madsoulswe/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,KevinJump/Umbraco-CMS,rasmuseeg/Umbraco-CMS,hfloyd/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,arknu/Umbra... | src/Umbraco.Web/Trees/LogViewerTreeController.cs | src/Umbraco.Web/Trees/LogViewerTreeController.cs | using System.Net.Http.Formatting;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.LogViewer)]
[Tree(Constants.Applications.Settings, Constants.Trees.LogViewer,... | using System.Net.Http.Formatting;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.LogViewer)]
[Tree(Constants.Applications.Settings, Constants.Trees.LogViewer,... | mit | C# |
91bb1a3a676b7f3b3a70777e571e9200f4ec681c | Refactor LengthRowStyleTests | JohanLarsson/Gu.Wpf.PropertyGrid | Gu.Wpf.PropertyGrid.UiTests/TypedRowTests/LengthRowStyleTests.cs | Gu.Wpf.PropertyGrid.UiTests/TypedRowTests/LengthRowStyleTests.cs | namespace Gu.Wpf.PropertyGrid.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class LengthRowStyleTests
{
private static readonly string WindowName = "LengthRowStyleWindow";
[Test]
public void CorrectValuesAndSuffixes()
{
using (var app = ... | namespace Gu.Wpf.PropertyGrid.UiTests
{
using NUnit.Framework;
using TestStack.White.UIItems;
public class LengthRowStyleTests : WindowTests
{
protected override string WindowName { get; } = "LengthRowStyleWindow";
[Test]
public void CorrectValuesAndSuffixes()
{
... | mit | C# |
680dc50b8451fba4990331e186e1769a4da44c96 | Remove type constraint for ChildrenOfType<T> | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Testing/TestingExtensions.cs | osu.Framework/Testing/TestingExtensions.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.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | // 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.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | mit | C# |
83429d2f221567198f19b1a618f785a260ad578f | make cinema incompatible with repel | ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Osu/Mods/OsuModCinema.cs | osu.Game.Rulesets.Osu/Mods/OsuModCinema.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.... | mit | C# |
c57e68e74e178a611bbd4c4bd4c4a30e10588a74 | Remove obsoleted RuntimeInfo methods and properties. | ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/RuntimeInfo.cs | osu.Framework/RuntimeInfo.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.Runtime.InteropServices;
namespace osu.Framework
{
public static class RuntimeInfo
{
/// <summary>
/// Returns the abs... | // 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.Runtime.InteropServices;
namespace osu.Framework
{
public static class RuntimeInfo
{
/// <summary>
/// Returns the abs... | mit | C# |
5e7cffd711ca6b1efa51cb2399d1d5b42ae9073f | handle images that fail to download | TomPeters/wallr,TomPeters/wallr,TomPeters/wallr | Wallr.Core/IImageStream.cs | Wallr.Core/IImageStream.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Serilog;
using Wallr.Interfaces;
using Wallr.Platform;
namespace Wallr.Core
{
public interface IImageStream
{
// Should be able to have duplicates in the stream, so need another unique id here
int Capacity { get; }
... | using System.Collections.Generic;
using System.Linq;
using Serilog;
using Wallr.Interfaces;
using Wallr.Platform;
namespace Wallr.Core
{
public interface IImageStream
{
// Should be able to have duplicates in the stream, so need another unique id here
int Capacity { get; }
IReadOnlyLis... | mit | C# |
b4be5c5a180d4fa2a299fb7d965a463223c35b27 | allow overriding dispose calls for Activator derived classes | pragmatrix/Konstruktor2 | Konstruktor2/Activator.cs | Konstruktor2/Activator.cs | using System;
using System.Diagnostics;
using Konstruktor2.Detail;
namespace Konstruktor2
{
public class Activator<ParamT, ResultT> : IDisposable
where ResultT : class
{
readonly Func<ParamT, Owned<ResultT>> _generator;
Owned<ResultT> _generated_;
ParamT _param;
public ParamT Param
{
... | using System;
using System.Diagnostics;
using Konstruktor2.Detail;
namespace Konstruktor2
{
public class Activator<ParamT, ResultT> : IDisposable
where ResultT : class
{
readonly Func<ParamT, Owned<ResultT>> _generator;
Owned<ResultT> _generated_;
ParamT _param;
public ParamT Param
{
... | bsd-3-clause | C# |
4a937f69d861339432410dc83ae257f4e996bc5b | change ExceptionHelper | AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions,AspectCore/AspectCore-Framework | src/AspectCore.Lite/Common/ExceptionHelper.cs | src/AspectCore.Lite/Common/ExceptionHelper.cs | using System;
namespace AspectCore.Lite.Common
{
internal static class ExceptionHelper
{
public static void ThrowArgumentNull<T>(T instance , string paramName)
{
if (instance == null)
{
throw new ArgumentNullException(paramName);
}
}
... | using System;
namespace AspectCore.Lite.Common
{
public static class ExceptionHelper
{
public static void ThrowArgumentNull<T>(T instance , string paramName)
{
if (instance == null)
{
throw new ArgumentNullException(paramName);
}
}
... | mit | C# |
993314cb2046c81cb42845a4241ffc394b096187 | Fix error if model type 'object' was requested | kamsar/Blade | Source/Blade/Razor/SitecoreRazorRenderingType.cs | Source/Blade/Razor/SitecoreRazorRenderingType.cs | using System;
using System.Linq;
using System.Reflection;
using Sitecore.Web.UI;
using System.Collections.Specialized;
using System.Web.UI;
using Blade.Views;
using System.Web.Compilation;
namespace Blade.Razor
{
/// <summary>
/// This is a Sitecore Rendering Type class that tells Sitecore how to handle a Razor vie... | using System;
using System.Linq;
using Sitecore.Web.UI;
using System.Collections.Specialized;
using System.Web.UI;
using Blade.Views;
using System.Web.Compilation;
namespace Blade.Razor
{
/// <summary>
/// This is a Sitecore Rendering Type class that tells Sitecore how to handle a Razor view as a Rendering when it ... | mit | C# |
3820e9d10ea257d400bd8f260b6387ede1e24dc2 | Add WPA3 values | emoacht/ManagedNativeWifi | Source/ManagedNativeWifi/AuthenticationMethod.cs | Source/ManagedNativeWifi/AuthenticationMethod.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManagedNativeWifi
{
/// <summary>
/// Authentication method to be used to connect to wireless LAN
/// </summary>
/// <remarks>
/// Equivalent to authentication element in prof... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManagedNativeWifi
{
/// <summary>
/// Authentication method to be used to connect to wireless LAN
/// </summary>
/// <remarks>
/// Equivalent to authentication element in prof... | mit | C# |
9b6f7b019a18e31dabc5a0e62eafa1235dccb0b9 | Update ContextState.cs | omidnasri/Orchard,jersiovic/Orchard,jtkech/Orchard,omidnasri/Orchard,johnnyqian/Orchard,Fogolan/OrchardForWork,IDeliverable/Orchard,rtpHarry/Orchard,AdvantageCS/Orchard,AdvantageCS/Orchard,hannan-azam/Orchard,Lombiq/Orchard,LaserSrl/Orchard,mvarblow/Orchard,Fogolan/OrchardForWork,OrchardCMS/Orchard,Dolphinsimon/Orchard... | src/Orchard/Environment/State/ContextState.cs | src/Orchard/Environment/State/ContextState.cs | using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc.Extensions;
namespace Orchard.Environment.State {
/// <summary>
/// Holds some state for the current HttpContext or Logical Context
/// </summary>
/// <typeparam name="T">The type o... | using System;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc;
namespace Orchard.Environment.State {
/// <summary>
/// Holds some state for the current HttpContext or thread
/// </summary>
/// <typeparam name="T">The type of data to store</typeparam>
public class Cont... | bsd-3-clause | C# |
00a5ecb10c338fd877d03071323e837012a9f3fe | Add <exception> tags to CreateReader. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver/IO/IBinaryStreamReaderFactory.cs | src/AsmResolver/IO/IBinaryStreamReaderFactory.cs | using System;
using System.IO;
namespace AsmResolver.IO
{
/// <summary>
/// Provides members for creating new binary streams.
/// </summary>
public interface IBinaryStreamReaderFactory : IDisposable
{
/// <summary>
/// Gets the maximum length a single binary stream reader produced b... | using System;
namespace AsmResolver.IO
{
/// <summary>
/// Provides members for creating new binary streams.
/// </summary>
public interface IBinaryStreamReaderFactory : IDisposable
{
/// <summary>
/// Gets the maximum length a single binary stream reader produced by this factory ca... | mit | C# |
4e9ea01784d4df1e339ad7a14c1bc2a657baeacd | Allow replace separator in crypt helper | ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks | src/BuildingBlocks.CopyManagement/CryptHelper.cs | src/BuildingBlocks.CopyManagement/CryptHelper.cs | using System.Security.Cryptography;
using System.Text;
namespace BuildingBlocks.CopyManagement
{
public static class CryptHelper
{
public static string ToFingerPrintMd5Hash(this string value, char? separator = '-')
{
var cryptoProvider = new MD5CryptoServiceProvider();
... | using System.Security.Cryptography;
using System.Text;
namespace BuildingBlocks.CopyManagement
{
public static class CryptHelper
{
public static string ToFingerPrintMd5Hash(this string value)
{
var cryptoProvider = new MD5CryptoServiceProvider();
var encoding =... | apache-2.0 | C# |
05df51d8e2e78ebeaad38e3f41c10730195fc3cb | Add Options setup registration in DI container | mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,... | src/Glimpse.Agent.Web/GlimpseAgentWebServices.cs | src/Glimpse.Agent.Web/GlimpseAgentWebServices.cs | using Glimpse.Agent;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
using System.Collections.Generic;
using Glimpse.Agent.Web;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse
{
public class GlimpseAgentWebServic... | using Glimpse.Agent;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
using System.Collections.Generic;
using Glimpse.Agent.Web.Options;
namespace Glimpse
{
public class GlimpseAgentWebServices
{
public static IEnumerable<IServiceDescriptor> Ge... | mit | C# |
a663b33df7b3734171514757e55a0841b3836a37 | Update StringExtensions.cs | CaptiveAire/Seq.App.YouTrack | src/Seq.App.YouTrack/Helpers/StringExtensions.cs | src/Seq.App.YouTrack/Helpers/StringExtensions.cs | // Copyright 2014-2019 CaptiveAire Systems
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | // Seq.App.YouTrack - Copyright (c) 2019 CaptiveAire
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Seq.App.YouTrack.Helpers
{
public static class StringExtensions
{
public static bool IsSet(this string str) => !string.IsNullOrWhiteSpace(str);
publi... | apache-2.0 | C# |
c04f14f80745bb8a3766487d186deb125aae98e1 | clean up using user agent service constructor | wangkanai/Detection | src/Services/Defaults/DefaultUserAgentService.cs | src/Services/Defaults/DefaultUserAgentService.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Wangkanai.Detection.Models;
namespace Wangkanai.D... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Wangkanai.Detection.Models;
namespace Wangkanai.D... | apache-2.0 | C# |
5050905d6a6c065d3c40291974639b5fe93a2745 | Add missing documentation | seiggy/AsterNET.ARI,seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,skrusty/AsterNET.ARI | AsterNET.ARI/StasisEndpoint.cs | AsterNET.ARI/StasisEndpoint.cs | namespace AsterNET.ARI
{
public class StasisEndpoint
{
/// <summary>
/// </summary>
/// <param name="host"></param>
/// <param name="port"></param>
/// <param name="username"></param>
/// <param name="password"></param>
/// <param name="ssl">Use SSL/TLS f... | namespace AsterNET.ARI
{
public class StasisEndpoint
{
/// <summary>
/// </summary>
/// <param name="host"></param>
/// <param name="port"></param>
/// <param name="username"></param>
/// <param name="password"></param>
public StasisEndpoint(string host, ... | mit | C# |
85ba9e230e0d82eb9755827f5e6cce34edf95422 | Make public | vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/VulkanException.cs | CSGL.Vulkan/VulkanException.cs | using System;
namespace CSGL.Vulkan {
public class VulkanException : Exception {
public VkResult Result { get; private set; }
public VulkanException(string message) : base(message) { }
public VulkanException(VkResult result, string message) : base(message) {
Result = result;
... | using System;
namespace CSGL.Vulkan {
class VulkanException : Exception {
public VkResult Result { get; private set; }
public VulkanException(string message) : base(message) { }
public VulkanException(VkResult result, string message) : base(message) {
Result = result;
... | mit | C# |
24888165919b6df7899a9cfa05abd82399edfe7e | Fix typo in Model-Repositories Service Register | Jaskaranbir/InstaPost,Jaskaranbir/InstaPost,Jaskaranbir/InstaPost,Jaskaranbir/InstaPost | Api/DIServiceRegister/ModelRepositories.cs | Api/DIServiceRegister/ModelRepositories.cs | using Api.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespace Api.DIServiceRegister {
public class ModelRepositories
{
public static void Register(IServiceCollection services) {
services.AddScoped<IAdministratorsRepository, AdministratorsRepository>();
serv... | using Api.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespace Api.DIServiceRegister {
public class Repositories
{
public static void Register(IServiceCollection services) {
services.AddSingleton<IAdministratorsRepository, AdministratorsRepository>();
servic... | apache-2.0 | C# |
0bfe43c202d19e73a3f183b64e5a0f3c6e59d45e | Prepare for CodeMatcher | pardeike/Harmony | Harmony/CodeInstruction.cs | Harmony/CodeInstruction.cs | using Harmony.ILCopying;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
namespace Harmony
{
public class CodeInstruction
{
public OpCode opcode;
public object operand;
public List<Label> labels = new List<Label>();
public List<ExceptionBlock> blocks = new List<ExceptionBlo... | using Harmony.ILCopying;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
namespace Harmony
{
public class CodeInstruction
{
public OpCode opcode;
public object operand;
public List<Label> labels = new List<Label>();
public List<ExceptionBlock> blocks = new List<ExceptionBlo... | mit | C# |
0bd3f17752448faca3d9833f59c9b440104daa89 | Update IBundleUrlHelper.cs | irii/Bundler,irii/Bundler | Bundler/Infrastructure/IBundleUrlHelper.cs | Bundler/Infrastructure/IBundleUrlHelper.cs | using System.Collections.Generic;
namespace Bundler.Infrastructure {
public interface IBundleUrlHelper {
string ToAbsolute(string virtualUrl);
/// <summary>
/// Returns dictionary with all query parameters
/// </summary>
/// <param name="query"></param>
/// <return... | using System.Collections.Generic;
namespace Bundler.Infrastructure {
public interface IBundleUrlHelper {
string ToAbsolute(string virtualUrl);
/// <summary>
/// Returns a case insensetive dictionary with all query parameters
/// </summary>
/// <param name="query"></param>
... | mit | C# |
3ea4d28cf65b237684eb3c8f1fa4e3f54d6921ff | Update ElmahTarget.cs | NLog/NLog.Etw,naveensrinivasan/NLog.Etw,304NotModified/NLog.Etw,304NotModified/NLog-Contrib,zbrad/NLog.Etw,NLog/NLog-Contrib | NLog.Elmah/ElmahTarget.cs | NLog.Elmah/ElmahTarget.cs | // Copyright 2013 Kim Christensen, Todd Meinershagen, et. al.
//
// 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 re... | // Copyright 2013 Kim Christensen, Todd Meinershagen, et. al.
//
// 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 re... | apache-2.0 | C# |
0cb7a14b682fcddf7683868962de2a43fabeceab | Change Football-API's key from testing key to Joker server. | tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer | DailySoccer2015/ApiApp/Repositories/FootballService.cs | DailySoccer2015/ApiApp/Repositories/FootballService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApiApp.Models;
using System.Net;
using RestSharp;
namespace ApiApp.Repositories
{
/// <summary>
/// ตัวเชื่อมต่อกับฟุตบอลเซอร์วิส
/// </summary>
public class FootballService : IFoo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApiApp.Models;
using System.Net;
using RestSharp;
namespace ApiApp.Repositories
{
/// <summary>
/// ตัวเชื่อมต่อกับฟุตบอลเซอร์วิส
/// </summary>
public class FootballService : IFoo... | mit | C# |
726a976df889dcaca44085de8e312fb5a6c3b11b | Improve LinkPickerAttribute | Gibe/Gibe.DittoProcessors | Gibe.DittoProcessors/Processors/LinkPickerAttribute.cs | Gibe.DittoProcessors/Processors/LinkPickerAttribute.cs | using Gibe.DittoProcessors.Processors.Models;
using Gibe.UmbracoWrappers;
using Newtonsoft.Json;
using Our.Umbraco.Ditto;
namespace Gibe.DittoProcessors.Processors
{
public class LinkPickerAttribute : DittoProcessorAttribute
{
private readonly IUmbracoWrapper _umbracoWrapper;
public LinkPickerAttribute(IUmbrac... | using Gibe.DittoProcessors.Processors.Models;
using Newtonsoft.Json;
using Our.Umbraco.Ditto;
namespace Gibe.DittoProcessors.Processors
{
public class LinkPickerAttribute : DittoProcessorAttribute
{
public override object ProcessValue()
{
if (string.IsNullOrEmpty(Value?.ToString()))
{
return null;
... | mit | C# |
116ab1e112ada6e181ef584301524a2df9de766e | Set the current HTTP Context on errors in the middleware | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.AspNet5/RaygunAspNetMiddleware.cs | Mindscape.Raygun4Net.AspNet5/RaygunAspNetMiddleware.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.OptionsModel;
using Microsoft.Extensions.DependencyInjection;
namespace Mindscape.Raygun4Net.AspNet5
{
public interface IRaygunSettingsProvide... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.OptionsModel;
using Microsoft.Extensions.DependencyInjection;
namespace Mindscape.Raygun4Net.AspNet5
{
public interface IRaygunSettingsProvide... | mit | C# |
8f5d107169315c5c10e815be58c91b480b16d719 | Add documentation and remove unused using statements | peasy/Samples,peasy/Samples,peasy/Samples,ahanusa/facile.net,ahanusa/Peasy.NET,peasy/Peasy.NET | Facile.Core/ExecutionResult.cs | Facile.Core/ExecutionResult.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Facile.Core
{
/// <summary>
/// Defines the result of a command's execution
/// </summary>
public class ExecutionResult
{
public bool Success { get; set; }
public IEnumerable<ValidationResult> ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Core
{
public class ExecutionResult
{
public bool Success { get; set; }
public IEnumerable<ValidationResult> Errors ... | mit | C# |
8127526921684e8d32dc985a3fec6ddcbd50860f | Fix typo in android ColorExtension | Wumpf/chinesecheckers | HalmaAndroid/ColorExtension.cs | HalmaAndroid/ColorExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace HalmaAndroid
{
static class ColorExtension
{
public static Android.Graphics.Colo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace HalmaAndroid
{
static class ColorExtension
{
public static Android.Graphics.Colo... | mit | C# |
b7bfda498c1b6e553f603921ca7d07b5130f3f1f | fix entity without empty constructor | remcoros/InspectR,remcoros/InspectR | InspectR/Data/InspectorInfo.cs | InspectR/Data/InspectorInfo.cs | using System;
namespace InspectR.Data
{
public class InspectorInfo
{
public Guid Id { get; protected set; }
public string UniqueKey { get; protected set; }
public bool IsPrivate { get; set; }
public DateTime DateCreated { get; protected set; }
public I... | using System;
namespace InspectR.Data
{
public class InspectorInfo
{
public Guid Id { get; protected set; }
public string UniqueKey { get; protected set; }
public bool IsPrivate { get; set; }
public DateTime DateCreated { get; protected set; }
public I... | mit | C# |
b7e9bfa8507cc646d4c7cf6c1b96a3a4135dab66 | adjust code so that HasTable returns a boolean from the database indicating that the table exists (or not) | DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,DBCG/Dataphor | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | bsd-3-clause | C# |
e23348a66003e43c4cdc089405dd524e652a8eda | Add semicolon character | fredatgithub/UsefulFunctions | FonctionsUtiles.Fred.Csharp/Punctuation.cs | FonctionsUtiles.Fred.Csharp/Punctuation.cs | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | mit | C# |
a507a06916e803f770fd6971e6c22022977c4d54 | fix compile error | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Shared/EntryPoint.cs | Content.Shared/EntryPoint.cs | using System;
using System.Collections.Generic;
using Content.Shared.Maps;
using Robust.Shared.ContentPack;
using Robust.Shared.Interfaces.Map;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
namespace Content.Shared
{
public class EntryPoint : GameShared
{
#pragma warning disable 649
... | using System;
using System.Collections.Generic;
using Content.Shared.Maps;
using Robust.Shared.ContentPack;
using Robust.Shared.Interfaces.Map;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
namespace Content.Shared
{
public class EntryPoint : GameShared
{
#pragma warning disable 649
... | mit | C# |
0f59ff7b4d5c3784ddea590d28c5df412fd56098 | remove unused methods from MarshalUtils | muxi/grpc,jtattermusch/grpc,vjpai/grpc,nicolasnoble/grpc,pszemus/grpc,vjpai/grpc,sreecha/grpc,stanley-cheung/grpc,ejona86/grpc,ctiller/grpc,donnadionne/grpc,donnadionne/grpc,pszemus/grpc,nicolasnoble/grpc,carl-mastrangelo/grpc,nicolasnoble/grpc,ctiller/grpc,stanley-cheung/grpc,ctiller/grpc,ejona86/grpc,sreecha/grpc,sre... | src/csharp/Grpc.Core/Internal/MarshalUtils.cs | src/csharp/Grpc.Core/Internal/MarshalUtils.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# |
5d31729eac7f11c440b55989b3dbf2cdd7073afa | 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# |
dc3c91bde78c04487811fc0baa21007e5572b9f7 | Add TODO to handle serialization for null key | mattherman/MbDotNet,mattherman/MbDotNet,SuperDrew/MbDotNet | MbDotNet/Models/Imposters/HttpsImposter.cs | MbDotNet/Models/Imposters/HttpsImposter.cs | using MbDotNet.Models.Stubs;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MbDotNet.Models.Imposters
{
public class HttpsImposter : Imposter
{
[JsonProperty("stubs")]
public ICollection<HttpStub> Stubs { get; private set; }
// TODO Need to not include key... | using MbDotNet.Models.Stubs;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MbDotNet.Models.Imposters
{
public class HttpsImposter : Imposter
{
[JsonProperty("stubs")]
public ICollection<HttpStub> Stubs { get; private set; }
[JsonProperty("key")]
p... | mit | C# |
2e1d90f3a36b93461305b5d4473d1a0a95794b79 | Allow constructing touch position input with a touch | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework/Input/StateChanges/TouchPositionInput.cs | osu.Framework/Input/StateChanges/TouchPositionInput.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.Input.StateChanges.Events;
using osu.Framework.Input.States;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Input.StateChanges
{
/// <su... | // 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.Input.StateChanges.Events;
using osu.Framework.Input.States;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Input.StateChanges
{
/// <su... | mit | C# |
9cc248ce0f0107a122a0a565ff1200971711efd8 | Fix build | CatenaLogic/JiraCli | src/JiraCli/Logging/OutputLogListener.cs | src/JiraCli/Logging/OutputLogListener.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OutputLogListener.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved.
// </copyright>
// --------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OutputLogListener.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved.
// </copyright>
// --------------------------------------------------... | mit | C# |
c102e33504c0e25518a4c2b307da25491868f0fe | Update NDebug.cs | NMSLanX/Natasha | Natasha/Engine/Debug/NDebug.cs | Natasha/Engine/Debug/NDebug.cs | namespace Natasha
{
public static class NDebug
{
public static bool UseLog;
static NDebug() => UseLog = true;
public static void Error(string title,string content)
{
NDebugWriter<NError>.Recoder(title,content);
}
public static void Warning(string ti... | namespace Natasha
{
public static class NDebug
{
public static bool UseLog;
public static void Error(string title,string content)
{
NDebugWriter<NError>.Recoder(title,content);
}
public static void Warning(string title, string content)
{
... | mpl-2.0 | C# |
cc52e3987ad9ce355bb2619e337e47057d7b8738 | Fix AudioFactory on Linux | sillsdev/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,tombogle/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,mccarthyrb/libpalaso,ermshiperete/libpalaso,andrew-polk/libpa... | SIL.Media/AudioFactory.cs | SIL.Media/AudioFactory.cs | using System;
#if MONO
using SIL.Media.AlsaAudio;
#endif
namespace SIL.Media
{
public class AudioFactory
{
public static ISimpleAudioSession CreateAudioSession(string filePath)
{
#if MONO
//return new AudioGStreamerSession(filePath);
return new AudioAlsaSession(filePath);
#else
return new AudioIrrKlangS... | using System;
namespace SIL.Media
{
public class AudioFactory
{
public static ISimpleAudioSession CreateAudioSession(string filePath)
{
#if MONO
//return new AudioGStreamerSession(filePath);
return new AudioAlsaSession(filePath);
#else
return new AudioIrrKlangSession(filePath);
#endif
}
[Obsolete... | mit | C# |
91d57852b66d0796f1a3799bcd44af7d7ca63949 | Remove a redundant ToArray call | chitoku-k/NowPlayingLib | NowPlayingLib/SonyDatabase/MediaManager.cs | NowPlayingLib/SonyDatabase/MediaManager.cs | using SonyMediaPlayerXLib;
using SonyVzProperty;
using System;
using System.Data.OleDb;
using System.IO;
using System.Linq;
namespace NowPlayingLib.SonyDatabase
{
/// <summary>
/// x-アプリのデータベースから曲情報を取得します。
/// </summary>
public class MediaManager
{
/// <summary>
/// データベースのパス。
... | using SonyMediaPlayerXLib;
using SonyVzProperty;
using System;
using System.Data.OleDb;
using System.IO;
using System.Linq;
namespace NowPlayingLib.SonyDatabase
{
/// <summary>
/// x-アプリのデータベースから曲情報を取得します。
/// </summary>
public class MediaManager
{
/// <summary>
/// データベースのパス。
... | mit | C# |
c75555c5f7e8f7dc35e66a3111d27dbdacad6286 | add sub type to component list. fixes #19 | pburls/dewey | Dewey.ListItems/Component.cs | Dewey.ListItems/Component.cs | using Dewey.State;
using System;
using System.Collections.Generic;
namespace Dewey.ListItems
{
static class ComponentExtensions
{
public static void Write(this Component component)
{
Console.ForegroundColor = (ConsoleColor)ItemColor.ComponentItem;
Console.WriteLine(comp... | using Dewey.State;
using System;
using System.Collections.Generic;
namespace Dewey.ListItems
{
static class ComponentExtensions
{
public static void Write(this Component component)
{
Console.ForegroundColor = (ConsoleColor)ItemColor.ComponentItem;
Console.WriteLine("{0}... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.