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 |
|---|---|---|---|---|---|---|---|---|
9b1c2bee10c4726060929868939725b6e913d516 | Update changelog | zumicts/Audiotica | Apps/Audiotica.WindowsPhone/View/HomePage.xaml.cs | Apps/Audiotica.WindowsPhone/View/HomePage.xaml.cs | #region
using Windows.Storage;
using Windows.UI.Core;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
using Microsoft.Xbox.Music.Platform.Contract.DataModel;
#endregion
namespace Audiotica.View
{
public sealed partial... | #region
using Windows.Storage;
using Windows.UI.Core;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
using Microsoft.Xbox.Music.Platform.Contract.DataModel;
#endregion
namespace Audiotica.View
{
public sealed partial... | apache-2.0 | C# |
0d9ed9201fe0fac3b630473b4335d0d78587e1c0 | 解决一个由协程引起的Editor崩溃的Bug。 | winddyhe/knight | Assets/Plugins/Core/Coroutine/CoroutineHandler.cs | Assets/Plugins/Core/Coroutine/CoroutineHandler.cs | //======================================================================
// Copyright (C) 2015-2020 Winddy He. All rights reserved
// Email: hgplan@126.com
//======================================================================
using UnityEngine;
using System.Collections;
using System.Collections.Generi... | //======================================================================
// Copyright (C) 2015-2020 Winddy He. All rights reserved
// Email: hgplan@126.com
//======================================================================
using UnityEngine;
using System.Collections;
using System.Collections.Generi... | mit | C# |
18196ad1b837c77bb9f3c4d4afaa79da6d2ed1f8 | Comment on ShipManager.cs (This should have been in the last commit) | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs | Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
[RequireComponent (typeof (Rigidbody))]
public class ShipManager : MonoBehaviour {
public float portTransCutoff = 5;
//Setup Variables for gathering Ports
public enum Direction{
YawLeft,
YawRight,
... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
[RequireComponent (typeof (Rigidbody))]
public class ShipManager : MonoBehaviour {
public float portTransCutoff = 5;
//Setup Variables for gathering Ports
public enum Direction{
YawLeft,
YawRight,
... | apache-2.0 | C# |
6ee10fe98bca84115288e283d41eedb3425f12be | add grs | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/BTCPayNetworkProvider.Groestlcoin.cs | BTCPayServer/BTCPayNetworkProvider.Groestlcoin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitGroestlcoin()
{
var nbxplorerNetwork = NBXplorerNetworkProvider.GetFromCryptoCode("... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitGroestlcoin()
{
var nbxplorerNetwork = NBXplorerNetworkProvider.GetFromCryptoCode(... | mit | C# |
592a1cb2b66853b80b56e3289bdb00446ac48da0 | Disable broken test | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/UnitTests/GitHub.VisualStudio/TeamExplorer/Home/GraphsNavigationItemTests.cs | src/UnitTests/GitHub.VisualStudio/TeamExplorer/Home/GraphsNavigationItemTests.cs | using System;
using GitHub.Api;
using GitHub.Services;
using GitHub.VisualStudio.TeamExplorer.Home;
using NSubstitute;
using Xunit;
public class GraphsNavigationItemTests
{
public class TheExecuteMethod : TestBaseClass
{
[Theory(Skip = "Needs fixing with new TeamFoundation split assemblies")]
... | using System;
using GitHub.Api;
using GitHub.Services;
using GitHub.VisualStudio.TeamExplorer.Home;
using NSubstitute;
using Xunit;
public class GraphsNavigationItemTests
{
public class TheExecuteMethod : TestBaseClass
{
[Theory]
[InlineData("https://github.com/foo/bar.git", "https://github.co... | mit | C# |
94324211275fb4efafb7c230f13355a0b2ca555e | return when you fail | drcrook1/BioInformatics,drcrook1/BioInformatics,drcrook1/BioInformatics | Web/BioInfo.Web.Services/Implementations/SqlDeviceRegistration.cs | Web/BioInfo.Web.Services/Implementations/SqlDeviceRegistration.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BioInfo.Web.Core.Interfaces;
using BioInfo.Web.Core.EntityFramework;
namespace BioInfo.Web.Services.Implementations
{
public class SqlDeviceRegistration : IDeviceRegistration
{
pri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BioInfo.Web.Core.Interfaces;
using BioInfo.Web.Core.EntityFramework;
namespace BioInfo.Web.Services.Implementations
{
public class SqlDeviceRegistration : IDeviceRegistration
{
pri... | mit | C# |
3f942591e61e57d206c80797455c18739f1af76d | change default title | samaritanevent/Samaritans,samaritanevent/Samaritans | Samaritans/Samaritans/Views/Shared/_Layout.cshtml | Samaritans/Samaritans/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Do Gooders</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navba... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-i... | mit | C# |
15bc56642f475dbbb83f047b9208fc55f49f93d6 | Update ILiteDbDatabaseProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/LiteDB/ILiteDbDatabaseProvider.cs | TIKSN.Core/Data/LiteDB/ILiteDbDatabaseProvider.cs | using LiteDB;
namespace TIKSN.Data.LiteDB
{
/// <summary>
/// Create LiteDB database
/// </summary>
public interface ILiteDbDatabaseProvider
{
/// <summary>
/// Creates LiteDB database
/// </summary>
/// <returns></returns>
LiteDatabase GetDatabase()... | using LiteDB;
namespace TIKSN.Data.LiteDB
{
/// <summary>
/// Create LiteDB database
/// </summary>
public interface ILiteDbDatabaseProvider
{
/// <summary>
/// Creates LiteDB database
/// </summary>
/// <returns></returns>
LiteDatabase GetDatabase();
... | mit | C# |
2e4a005da1aff3bea13829a61b2af00a6ec87112 | Remove unneeded setter | arnovb-github/CmcLibNet | CmcLibNet.Attributes/CursorCreatableAttribute.cs | CmcLibNet.Attributes/CursorCreatableAttribute.cs | using System;
namespace Vovin.CmcLibNet.Attributes
{
/// <summary>
/// Indicates if a Commence cursor can be created on the Commence View type.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class CursorCreatableAttribute : Attribute
{
#region Properties
/// <s... | using System;
namespace Vovin.CmcLibNet.Attributes
{
/// <summary>
/// Indicates if a Commence cursor can be created on the Commence View type.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class CursorCreatableAttribute : Attribute
{
#region Properties
/// <s... | mit | C# |
e2b308f380150c262e42feea16b384582d86614d | Update Demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs | Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class Demo1_Queryable
{
public static void Init()
{
ConditionScreening();
Async();
}
private static void ConditionScreening... | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class Demo1_Queryable
{
public static void Init()
{
Async();
}
private static void Async()
{
Console.WriteLine("");... | apache-2.0 | C# |
b45ac59a2153f65cd39cc4c1a96d7e03cbe9d9cb | Update SteamNetworkingTest.cs | Facepunch/Facepunch.Steamworks,Facepunch/Facepunch.Steamworks,Facepunch/Facepunch.Steamworks | Facepunch.Steamworks.Test/SteamNetworkingTest.cs | Facepunch.Steamworks.Test/SteamNetworkingTest.cs | using System;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Steamworks.Data;
namespace Steamworks
{
[TestClass]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_api.dll" )]
public class Steam... | using System;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Steamworks.Data;
namespace Steamworks
{
[TestClass]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_api.dll" )]
public class Steam... | mit | C# |
925615320e4d8ae455738b5dc3fa1de8a170f71f | Update lazer default combo colours to match stable | smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,Neo... | osu.Game/Skinning/DefaultSkinConfiguration.cs | osu.Game/Skinning/DefaultSkinConfiguration.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 osuTK.Graphics;
namespace osu.Game.Skinning
{
/// <summary>
/// A skin configuration pre-populated with sane defaults.
/// </summary>
public class ... | // 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 osuTK.Graphics;
namespace osu.Game.Skinning
{
/// <summary>
/// A skin configuration pre-populated with sane defaults.
/// </summary>
public class ... | mit | C# |
8214f5de8d4b905f845981b4c7d48f76a47da282 | Remove HasTime constraint from RetryExample - not needed | louthy/language-ext,StanJav/language-ext | Samples/EffectsExamples/Examples/RetryExample.cs | Samples/EffectsExamples/Examples/RetryExample.cs | using LanguageExt;
using LanguageExt.Common;
using LanguageExt.Sys;
using LanguageExt.Sys.Traits;
using LanguageExt.Effects.Traits;
using static LanguageExt.Prelude;
namespace EffectsExamples
{
public class RetryExample<RT>
where RT : struct,
HasCancel<RT>,
HasConsole<RT>
{
r... | using LanguageExt;
using LanguageExt.Common;
using LanguageExt.Sys;
using LanguageExt.Sys.Traits;
using LanguageExt.Effects.Traits;
using static LanguageExt.Prelude;
namespace EffectsExamples
{
public class RetryExample<RT>
where RT : struct,
HasTime<RT>,
HasCancel<RT>,
HasConso... | mit | C# |
3be2e33521dde6b5297ee12802b2feac954db563 | Add both hands below hips extension | mrvux/kgp | src/KGP.Core/KinectMiniPoseExtensions.cs | src/KGP.Core/KinectMiniPoseExtensions.cs | using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGP
{
/// <summary>
/// Small list of extension methods for very basic pose detection
/// </summary>
public static class KinectMiniPoseExtensions
{
... | using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGP
{
/// <summary>
/// Small list of extension methods for very basic pose detection
/// </summary>
public static class KinectMiniPoseExtensions
{
... | mit | C# |
735b592dac9e77853ab684101b462ae42fc2a870 | Add acceleration to projectile | puzzud/Flipper | Assets/Scripts/ProjectileMovement.cs | Assets/Scripts/ProjectileMovement.cs | using UnityEngine;
using System.Collections;
public class ProjectileMovement : MonoBehaviour {
public Vector3 movementDirection;
public Vector3 startLocation;
public float speed;
public float accelerationConstant;
public int maxDistance;
public float distance;
public Weapon weapon;
// Use thi... | using UnityEngine;
using System.Collections;
public class ProjectileMovement : MonoBehaviour {
public Vector3 movementDirection;
public Vector3 startLocation;
public int speed;
public int maxDistance;
public float distance;
public Weapon weapon;
// Use this for initialization
void Start () {
... | mit | C# |
0ff2c186f4e2ccb76f7cbe9a77424e1d0658ecc3 | Fix parameter not bering passed | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Testing/TestRunHeadlessGameHost.cs | osu.Framework/Testing/TestRunHeadlessGameHost.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.IO;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Logging;
using osu.Framework.Pl... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.IO;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Logging;
using osu.Framework.Pl... | mit | C# |
c7677d896a0432a11c3810c09e18761f2b98b843 | Remove SliderTickJudgement | NeoAdonis/osu,DrabWeb/osu,peppy/osu,naoey/osu,peppy/osu-new,NeoAdonis/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,DrabWeb/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,Drezi126/osu,johnneijzen/osu,Nabile-Rahmani/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,na... | osu.Game.Rulesets.Osu/Judgements/OsuJudgement.cs | osu.Game.Rulesets.Osu/Judgements/OsuJudgement.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Osu.Objects.Drawables;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Osu.Objects.Drawables;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.... | mit | C# |
793bc0ad081d4f61d0a3aca4facd5516f94cb40e | revert last commit | dfensgmbh/biz.dfch.CS.Appclusive.Scheduler | src/biz.dfch.CS.Appclusive.Scheduler.Extensions/ContractClassForIScriptInvoker.cs | src/biz.dfch.CS.Appclusive.Scheduler.Extensions/ContractClassForIScriptInvoker.cs | /**
* Copyright 2015 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | /**
* Copyright 2015 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | apache-2.0 | C# |
3e7d8ad60542c2234dd1d001ef8ea4a37e5a69e7 | Remove HTML content type check from response filter because the check is performed in CassetteApplication instead. | BluewireTechnologies/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette | src/Cassette.Web/PlaceholderReplacingResponseFilter.cs | src/Cassette.Web/PlaceholderReplacingResponseFilter.cs | using System;
using System.IO;
using System.Web;
using Cassette.UI;
namespace Cassette.Web
{
public class PlaceholderReplacingResponseFilter : MemoryStream
{
public PlaceholderReplacingResponseFilter(HttpResponseBase response, IPlaceholderTracker placeholderTracker)
{
th... | using System;
using System.IO;
using System.Web;
using Cassette.UI;
namespace Cassette.Web
{
public class PlaceholderReplacingResponseFilter : MemoryStream
{
public PlaceholderReplacingResponseFilter(HttpResponseBase response, IPlaceholderTracker placeholderTracker)
{
th... | mit | C# |
69111c6b91c8f98636b89911e388b102f0901fa7 | Change data item "thread" to a discrete string value | eleven41/Eleven41.Logging.Loggly | Eleven41.Logging.Loggly/LogglyLog.cs | Eleven41.Logging.Loggly/LogglyLog.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eleven41.Logging
{
public class LogglyLog : LogglyBase, ILog
{
public LogglyLog()
{
}
public LogglyLog(Dictionary<string, object> data)
: base(data)
{
}
public void Log... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eleven41.Logging
{
public class LogglyLog : LogglyBase, ILog
{
public LogglyLog()
{
}
public LogglyLog(Dictionary<string, object> data)
: base(data)
{
}
public void Log... | mit | C# |
5b2ea3a8eb647fe52e77d268d5c378f835718c32 | Enable the cross-targeting test | nkolev92/sdk,nkolev92/sdk | test/Microsoft.NETCore.Build.Tests/GivenThatWeWantToBuildACrossTargetedLibrary.cs | test/Microsoft.NETCore.Build.Tests/GivenThatWeWantToBuildACrossTargetedLibrary.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.NETCore.TestFramework;
using Microsoft.NETCore.TestFramework.Assertions;
using Microsoft.NETCore.TestFramework.C... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.NETCore.TestFramework;
using Microsoft.NETCore.TestFramework.Assertions;
using Microsoft.NETCore.TestFramework.C... | mit | C# |
6a4dc13e848936e7c697f2dc1d98caa9a316e1b7 | Insert unity directive | bartlomiejwolk/AnimationPathAnimator | APEventsComponent/NodeEvent.cs | APEventsComponent/NodeEvent.cs | using UnityEngine;
namespace ATP.AnimationPathAnimator.APEventsComponent {
[System.Serializable]
// TODO Rename to NodeEventSlot.
public sealed class NodeEvent {
/// <summary>
/// Selected source game object.
/// </summary>
[SerializeField]
private GameObject sourc... | using UnityEngine;
namespace ATP.AnimationPathAnimator.APEventsComponent {
[System.Serializable]
// TODO Rename to NodeEventSlot.
public sealed class NodeEvent {
/// <summary>
/// Selected source game object.
/// </summary>
[SerializeField]
private GameObject sourc... | mit | C# |
2d0124f8d854731a46e93d52bd7ced782ea25a32 | Add `stale` check conclusion (#2080) | octokit/octokit.net,shiftkey/octokit.net,shiftkey/octokit.net,octokit/octokit.net,adamralph/octokit.net | Octokit/Models/Common/CheckStatus.cs | Octokit/Models/Common/CheckStatus.cs | using System;
using Octokit.Internal;
namespace Octokit
{
public enum CheckStatus
{
[Parameter(Value = "queued")]
Queued,
[Parameter(Value = "in_progress")]
InProgress,
[Parameter(Value = "completed")]
Completed,
}
public enum CheckConclusion
{
... | using System;
using Octokit.Internal;
namespace Octokit
{
public enum CheckStatus
{
[Parameter(Value = "queued")]
Queued,
[Parameter(Value = "in_progress")]
InProgress,
[Parameter(Value = "completed")]
Completed,
}
public enum CheckConclusion
{
... | mit | C# |
ae83d15601c66f84f32a5e8dab6e51202dac67d0 | tweak log settings | ArsenShnurkov/BitSharp | BitSharp.Node/LoggingModule.cs | BitSharp.Node/LoggingModule.cs | using Ninject;
using Ninject.Modules;
using NLog;
using NLog.Config;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Node
{
public class LoggingModule : NinjectModule
{
private rea... | using Ninject;
using Ninject.Modules;
using NLog;
using NLog.Config;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Node
{
public class LoggingModule : NinjectModule
{
private rea... | unlicense | C# |
38482e3638508520748122b4f7a811724b6e4e9e | Remove interface that is no longer user. | dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,dotnet/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,diryboy/roslyn,AmadeusW/roslyn,weltkante/roslyn,dotnet/roslyn,physhi/roslyn,weltka... | src/Features/Core/Portable/NavigateTo/INavigateToSearchService.cs | src/Features/Core/Portable/NavigateTo/INavigateToSearchService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | mit | C# |
847f17ea1a01072cae0240f91e033023e596013e | fix test case | hmah/boo,rmartinho/boo,wbardzinski/boo,rmartinho/boo,bamboo/boo,wbardzinski/boo,KidFashion/boo,rmartinho/boo,wbardzinski/boo,Unity-Technologies/boo,rmartinho/boo,bamboo/boo,bamboo/boo,BitPuffin/boo,BITechnologies/boo,BitPuffin/boo,boo-lang/boo,Unity-Technologies/boo,drslump/boo,KingJiangNet/boo,KingJiangNet/boo,drslump... | tests/BooCompiler.Tests/CompilerContextTest.cs | tests/BooCompiler.Tests/CompilerContextTest.cs | using Boo.Lang.Compiler;
using Boo.Lang.Compiler.Ast;
using Boo.Lang.Environments;
using NUnit.Framework;
namespace BooCompiler.Tests
{
[TestFixture]
public class CompilerContextTest
{
[Test]
public void CompileUnitIsProvidedToTheEnvironment()
{
var compileUnit = new CompileUnit();
Active... | using Boo.Lang.Compiler;
using Boo.Lang.Compiler.Ast;
using Boo.Lang.Environments;
using NUnit.Framework;
namespace BooCompiler.Tests
{
[TestFixture]
public class CompilerContextTest
{
[Test]
public void CompileUnitIsProvidedToTheEnvironment()
{
var compileUnit = new CompileUnit();
Active... | bsd-3-clause | C# |
4fc581e3893af197dca3f38be8d505ddfe7ed771 | Use Unity-defined uri launcher | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Examples/Demos/HandTracking/Scripts/LaunchUri.cs | Assets/MRTK/Examples/Demos/HandTracking/Scripts/LaunchUri.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
[AddComponentMenu("Scripts/MRTK/Examples/LaunchUri")]
public class LaunchUri : MonoBehaviour
{
/// <summary>
/// Launch a UWP slate app. ... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
[AddComponentMenu("Scripts/MRTK/Examples/LaunchUri")]
public class LaunchUri : MonoBehaviour
{
/// <summary>
/// Launch a U... | mit | C# |
69c2d7bd557682a013136c8fd2091bdcac608e02 | Update Settings.cs | LocalJoost/TemperatureReaderDemo | TemperatureReader.Shared/Settings.cs | TemperatureReader.Shared/Settings.cs | namespace TemperatureReader.Shared
{
public static class Settings
{
public static readonly string TemperatureBusConnectionString =
"Endpoint=sb://yournamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=XXXXXXXXXXXXXXXXXYOURKEYHEREXXXXXXXXXXXXXXXX";";
publ... | namespace TemperatureReader.Shared
{
public static class Settings
{
public static readonly string TemperatureBusConnectionString =
"Endpoint=sb://localjoosttemperaturebus.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=IWrd0nOx6GMvdr4hpWZpGxMstrQgegdnv9ngBzr63vk=... | mit | C# |
0069a634906912a1241363fb9afd54cc7461d561 | Clear ResponsiveExceptionFilter. | SaladLab/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced,SaladLab/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced | core/Akka.Interfaced/ResponsiveExceptionFilter.cs | core/Akka.Interfaced/ResponsiveExceptionFilter.cs | using System;
using System.Linq;
namespace Akka.Interfaced
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class ResponsiveExceptionAttribute : Attribute, IFilterPerClassFactory
{
private Func<Exception, bool> _filter;
public ResponsiveExceptionAttribute(Func<E... | using System;
using System.Linq;
namespace Akka.Interfaced
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class ResponsiveException
: Attribute, IFilterPerClassFactory, IPostRequestFilter
{
private Func<Exception, bool> _filter;
int IFilter.Order => 0;... | mit | C# |
4588febcfc3214cc0a8a83b9401e2f0679c94421 | Add Validation Messages to the Clone Section Screen | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Areas/PageBuilder/Views/Section/_Clone.cshtml | Portal.CMS.Web/Areas/PageBuilder/Views/Section/_Clone.cshtml | @model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.CloneViewModel
@{
Layout = "";
var pageList = Model.PageList.Select(x => new SelectListItem { Value = x.PageId.ToString(), Text = x.PageName });
}
<div class="panel-inner">
@using (Html.BeginForm("Clone", "Section", FormMethod.Post))
{
... | @model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.CloneViewModel
@{
Layout = "";
var pageList = Model.PageList.Select(x => new SelectListItem { Value = x.PageId.ToString(), Text = x.PageName });
}
<div class="panel-inner">
@using (Html.BeginForm("Clone", "Section", FormMethod.Post))
{
... | mit | C# |
28722a34e4a4a5781cb33525e40497f1e2a8b218 | Simplify logic in user profile validation | shanecharles/allReady,enderdickerson/allReady,anobleperson/allReady,auroraocciduusadmin/allReady,JowenMei/allReady,HamidMosalla/allReady,dpaquette/allReady,joelhulen/allReady,gftrader/allReady,binaryjanitor/allReady,forestcheng/allReady,pranap/allReady,JowenMei/allReady,BillWagner/allReady,jonatwabash/allReady,chinwobb... | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | mit | C# |
735663e59c9ae44141239898ee2bc21d2be8edf6 | Add group role to relationship | mattgwagner/alert-roster | AlertRoster.Web/Models/MemberGroup.cs | AlertRoster.Web/Models/MemberGroup.cs | namespace AlertRoster.Web.Models
{
public class MemberGroup
{
public int MemberId { get; private set; }
public virtual Member Member { get; private set; }
public int GroupId { get; private set; }
public virtual Group Group { get; private set; }
public GroupRole Role ... | namespace AlertRoster.Web.Models
{
public class MemberGroup
{
public int MemberId { get; private set; }
public virtual Member Member { get; private set; }
public int GroupId { get; private set; }
public virtual Group Group { get; private set; }
private MemberGroup()
... | mit | C# |
679175ddea4c1e39bc99d3c3c09630910cef23a3 | Remove unnecessary constructor | Krusen/Additio.Sitecore.DependencyConfigReader | src/Additio.Configuration/DependencyConfigReader.cs | src/Additio.Configuration/DependencyConfigReader.cs | using System;
using System.IO;
using System.Linq;
using System.Text;
using Sitecore.Configuration;
using Sitecore.Diagnostics;
namespace Additio.Configuration
{
public class DependencyConfigReader : ConfigReader
{
protected IDependencyResolver DependencyResolver { get; set; }
public Dependenc... | using System;
using System.IO;
using System.Linq;
using System.Text;
using Sitecore.Configuration;
using Sitecore.Diagnostics;
namespace Additio.Configuration
{
public class DependencyConfigReader : ConfigReader
{
protected IDependencyResolver DependencyResolver { get; set; }
public Dependenc... | unlicense | C# |
39e103127e3aceae7d4b35523a0611c619986505 | test green for #6 | awesome-inc/NuPlug | NuPlug/NuPlugPackageManager.cs | NuPlug/NuPlugPackageManager.cs | using System.Runtime.Versioning;
using NuGet;
namespace NuPlug
{
public class NuPlugPackageManager : PackageManager
{
public NuPlugPackageManager(IPackageRepository sourceRepository, string path)
: base(sourceRepository, path)
{}
public NuPlugPackageManager(IPackageReposit... | using System.Runtime.Versioning;
using NuGet;
namespace NuPlug
{
public class NuPlugPackageManager : PackageManager
{
public NuPlugPackageManager(IPackageRepository sourceRepository, string path)
: base(sourceRepository, path)
{}
public NuPlugPackageManager(IPackageReposit... | apache-2.0 | C# |
2d71595848317398812eb365ca7a654a7b496145 | Update documentation | autofac/Autofac | src/Autofac/Core/ComponentRegisteredEventArgs.cs | src/Autofac/Core/ComponentRegisteredEventArgs.cs | // This software is part of the Autofac IoC container
// Copyright � 2011 Autofac Contributors
// https://autofac.org
//
// 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
// restrict... | // This software is part of the Autofac IoC container
// Copyright � 2011 Autofac Contributors
// https://autofac.org
//
// 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
// restrict... | mit | C# |
2bede2f471b71503a01f6aa9167c8b03e9077b9b | Fix errors | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Dock.Model/ViewBase.cs | src/Dock.Model/ViewBase.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
namespace Dock.Model
{
/// <summary>
/// View base class.
/// </summary>
public abstract class ViewBase : Obse... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
namespace Dock.Model
{
/// <summary>
/// View base class.
/// </summary>
public abstract class ViewBase : Obse... | mit | C# |
ee42c70193cc61c747970c620c6efdb16bd09497 | Update NotificationManager.cs | piccoloaiutante/ScriptCs.MPNSTester | src/NotificationManager.cs | src/NotificationManager.cs | using ScriptCs.Contracts;
using ScriptCs.MpnsTester.Notifiers;
namespace ScriptCs.MpnsTester
{
public class NotificationManager : IScriptPackContext
{
public void RawDataSend(string message, string url)
{
var rawDataNotifier = new RawDataNotifier(url);
rawDataNotifier.... | using ScriptCs.Contracts;
using ScriptCs.MpnsTester.Notifiers;
namespace ScriptCs.MpnsTester
{
public class NotificationManager : IScriptPackContext
{
public void RawDataSend(string message, string url)
{
var rawDataNotifier = new RawDataNotifier(url);
rawDataNotifier.... | mit | C# |
2f3f4f3e4b8b660b05d6652a9b1261f09901bcea | Add new checks to verifier | peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks... | mit | C# |
757bb6911e6e7db4e4cbadaec7bb58858afc9780 | Fix license header from wrong project | EVAST9919/osu,ZLima12/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,ppy/osu,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,Frontear/osuKyzer,UselessToucan/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,smo... | osu.Game.Tests/Visual/TestCasePlaybackControl.cs | osu.Game.Tests/Visual/TestCasePlaybackControl.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Components;
using osu.Game.Tests.Beatmaps;
using OpenTK;
namespace osu.Game... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Components;
using osu.Game.Tests.Beatmaps;
using OpenTK;
namespac... | mit | C# |
0067657d0571e01a73275efc845a8b328719f768 | Modify method to abstract which will force a compile error if the implementation is not supplied in a derived class rather than throw a NotImplementedException() | csnate/cctray-jenkins-transport,csnate/cctray-jenkins-transport | JenkinsTransport/BuildParameters/BaseBuildParameter.cs | JenkinsTransport/BuildParameters/BaseBuildParameter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using ThoughtWorks.CruiseControl.Remote.Parameters;
namespace JenkinsTransport.BuildParameters
{
public abstract class BaseBuildParameter
{
public string Name { get; private set; }
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using ThoughtWorks.CruiseControl.Remote.Parameters;
namespace JenkinsTransport.BuildParameters
{
public abstract class BaseBuildParameter
{
public string Name { get; private set; }
publ... | mit | C# |
328b52d0561656962691c96eb7c3917e97d50e14 | Remove redundant method | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Servers/Kestrel/shared/test/TestResources.cs | src/Servers/Kestrel/shared/test/TestResources.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using ... | apache-2.0 | C# |
f98a200e43e8cf87549acac4cf3f3538f9e57343 | Fix settings save | SnpM/Lockstep-Framework,yanyiyun/LockstepFramework,erebuswolf/LockstepFramework | Settings/LSFSettingsManager.cs | Settings/LSFSettingsManager.cs | using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Lockstep {
public static class LSFSettingsManager {
public const string SETTINGS_NAME = "LockstepFrameworkSettings.asset";
static LSFSettings MainSettings;
static LSFSettingsManager () {
... | using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Lockstep {
public static class LSFSettingsManager {
public const string SETTINGS_NAME = "LockstepFrameworkSettings";
static LSFSettings MainSettings;
static LSFSettingsManager () {
... | mit | C# |
42351ba927369ae5d16146d2c42607a845671e21 | Fix dead link | blrchen/AzureSpeed,blrchen/AzureSpeed,blrchen/AzureSpeed,blrchen/AzureSpeed | AzureSpeed.Web.App/Views/Azure/Reference.cshtml | AzureSpeed.Web.App/Views/Azure/Reference.cshtml | @{
ViewBag.Title = "Reference";
}
<div class="container-fluid">
<div class="page-header">
<h3>@ViewBag.Title</h3>
</div>
<div class="row">
<div class="col-md-12">
<ul class="list-unstyled">
<li>
<a href="https://azure.microsoft.com/en-us/... | @{
ViewBag.Title = "Reference";
}
<div class="container-fluid">
<div class="page-header">
<h3>@ViewBag.Title</h3>
</div>
<div class="row">
<div class="col-md-12">
<ul class="list-unstyled">
<li>
<a href="https://azure.microsoft.com/en-us/... | mit | C# |
7202958d3ffe5e5eeb189155c3485e020231a3c5 | Cover CMAC -> Key property setter with null check test | sergezhigunov/OpenGost | tests/OpenGost.Security.Cryptography.Tests/CmacTest.cs | tests/OpenGost.Security.Cryptography.Tests/CmacTest.cs | using System;
using Xunit;
namespace OpenGost.Security.Cryptography
{
public abstract class CmacTest<T> : CryptoConfigRequiredTest
where T : CMAC, new()
{
protected void VerifyCmac(string dataHex, string keyHex, string digestHex)
{
var digestBytes = digestHex.HexToByteArray... | using Xunit;
namespace OpenGost.Security.Cryptography
{
public abstract class CmacTest<T> : CryptoConfigRequiredTest
where T : CMAC, new()
{
protected void VerifyCmac(string dataHex, string keyHex, string digestHex)
{
var digestBytes = digestHex.HexToByteArray();
... | mit | C# |
9d8c94ad97f7c7cb4f6175a2dce08742b9bf78bd | add clock and rearrange | vishgnu/dashing.net,vishgnu/dashing.net,vishgnu/dashing.net | src/dashing.net/Views/Dashboard/Sample.cshtml | src/dashing.net/Views/Dashboard/Sample.cshtml | @{
ViewBag.Title = "My Dash";
}
<div class="gridster">
<ul>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="welcome" data-view="Text" data-title="Hello" data-text="Commander!" data-moreinfo="Protip: You can drag the widgets around!"></div>
</li>
... | @{
ViewBag.Title = "My Dash";
}
<div class="gridster">
<ul>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="welcome" data-view="Text" data-title="Hello" data-text="Commander!" data-moreinfo="Protip: You can drag the widgets around!"></div>
</li>
... | mit | C# |
508f9849a3e0b667a076fcc1a762eb6ccbfe2d47 | fix for CyberTester to correctly find test cases in all subfolders | mcraveiro/Qart,avao/Qart,tudway/Qart | Src/Qart.Testing/TestSystem.cs | Src/Qart.Testing/TestSystem.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Qart.Testing
{
public class TestSystem
{
public IDataStore DataStorage { get; private set; }
public TestSystem(IDataStore dataStorage)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Qart.Testing
{
public class TestSystem
{
public IDataStore DataStorage { get; private set; }
public TestSystem(IDataStore dataStorage)
{
... | apache-2.0 | C# |
f7fd4dea3d522261def4f73a2690505b72b82894 | Test support - verify log entries | DejanMilicic/DotCommerce | source/DotCommerce.Persistence.SqlServer.Test/Infrastructure/Support/TestSupport.cs | source/DotCommerce.Persistence.SqlServer.Test/Infrastructure/Support/TestSupport.cs |
namespace DotCommerce.Persistence.SqlServer.Test.Infrastructure.Support
{
using System.Collections.Generic;
using System.Configuration;
using global::DotCommerce.Domain;
using global::DotCommerce.Interfaces;
using global::DotCommerce.Persistence.SqlServer.Test.Infrastructure.DTO;
using Respawn;
using Should... |
namespace DotCommerce.Persistence.SqlServer.Test.Infrastructure.Support
{
using System.Configuration;
using global::DotCommerce.Interfaces;
using global::DotCommerce.Persistence.SqlServer.Test.Infrastructure.DTO;
using Respawn;
public static class TestSupport
{
public static void AddProductToOrder(this IDo... | unlicense | C# |
f8efb0bf618e0c832a5cda0e8dfcf2ec4b541924 | Improve UsernameHistoryRepository. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Database/Repositories/Impl/UsernameHistoryRepository.cs | src/MitternachtBot/Services/Database/Repositories/Impl/UsernameHistoryRepository.cs | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class UsernameHistoryRepository : Repository<UsernameHistoryModel>, IUsernameHistoryRepository {
public UsernameHistoryRepository(DbCon... | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
using System.Linq.Expressions;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class UsernameHistoryRepository : Repository<UsernameHistoryModel>, IUsernameHistoryRepository
{
... | mit | C# |
17a14072329e122d3aaf6428a37922a0f7acdfc4 | update logics of spam checker | qihangnet/MZBlog,qihangnet/MZBlog,qihangnet/MZBlog | MZBlog.Core/Commands/Posts/NewCommentCommand.cs | MZBlog.Core/Commands/Posts/NewCommentCommand.cs | using iBoxDB.LocalServer;
using MZBlog.Core.Documents;
using System;
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
namespace MZBlog.Core.Commands.Posts
{
public class NewCommentCommand
{
public NewCommentCommand()
{
Id = ObjectId.NewObjectId();
}
public string Id { g... | using iBoxDB.LocalServer;
using MZBlog.Core.Documents;
using System;
using System.ComponentModel.DataAnnotations;
namespace MZBlog.Core.Commands.Posts
{
public class NewCommentCommand
{
public NewCommentCommand()
{
Id = ObjectId.NewObjectId();
}
public string Id { ... | mit | C# |
0fe3e79498552589651f8d1e110a74883b10de19 | add missing properties on user model | Odonno/gitter-api-pcl | GitterSharp/GitterSharp.Model/User.cs | GitterSharp/GitterSharp.Model/User.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace GitterSharp.Model
{
public class User
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("displayName")]
public ... | using Newtonsoft.Json;
namespace GitterSharp.Model
{
public class User
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("displayName")]
public string DisplayName { get; set; }
... | apache-2.0 | C# |
e08b65fbd6014a7b6b970bd2558a4cd073bda151 | Fix FindStream function | protyposis/Aurio,protyposis/Aurio | AudioAlign/AudioAlign.Audio/Streams/StreamExtensions.cs | AudioAlign/AudioAlign.Audio/Streams/StreamExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace AudioAlign.Audio.Streams {
public static class StreamExtensions {
/// <summary>
/// Searches for a stream of a given type in a hierarchy of nested streams.
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace AudioAlign.Audio.Streams {
public static class StreamExtensions {
/// <summary>
/// Searches for a stream of a given type in a hierarchy of nested streams.
///... | agpl-3.0 | C# |
dbf8020f1343d5b77a96b2d408a4c9abfd50852d | remove use of USE_GENERICS in PArray.cs | ingted/volante,ingted/volante,kjk/volante-obsolete,kjk/volante-obsolete,kjk/volante-obsolete,ingted/volante,kjk/volante-obsolete,ingted/volante | csharp/src/PArray.cs | csharp/src/PArray.cs | namespace NachoDB
{
using System;
/// <summary>
/// Common interface for all PArrays
/// </summary>
public interface GenericPArray
{
/// <summary> Get number of the array elements
/// </summary>
/// <returns>the number of related objects
///
... | namespace NachoDB
{
using System;
/// <summary>
/// Common interface for all PArrays
/// </summary>
public interface GenericPArray
{
/// <summary> Get number of the array elements
/// </summary>
/// <returns>the number of related objects
///
... | mit | C# |
fe383230c73ba0b74ea6ad7ac7c89792d008f204 | Update MessageFailedHandler.cs | yuxuac/docs.particular.net,eclaus/docs.particular.net,pedroreys/docs.particular.net,pashute/docs.particular.net,WojcikMike/docs.particular.net | Snippets/Snippets_5/Monitoring/MessageFailedHandler.cs | Snippets/Snippets_5/Monitoring/MessageFailedHandler.cs | namespace MonitoringNotifications.ServiceControl.Notifications
{
using System;
using global::ServiceControl.Contracts;
using NServiceBus;
#region MessageFailedHandler
internal class MessageFailedHandler : IHandleMessages<MessageFailed>
{
public void Handle(MessageFailed message)
{... | namespace MonitoringNotifications.ServiceControl.Notifications
{
using System;
using global::ServiceControl.Contracts;
using NServiceBus;
#region MessageFailedHandler 5.0
internal class MessageFailedHandler : IHandleMessages<MessageFailed>
{
public void Handle(MessageFailed message)
... | apache-2.0 | C# |
cda6a58f7d6c45ebef8eb970952983f02c21902c | Update src/Avalonia.Controls/Notifications/Notification.cs | wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,akrisiun/Perspex,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslaw... | src/Avalonia.Controls/Notifications/Notification.cs | src/Avalonia.Controls/Notifications/Notification.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Implements the INotification interfaces.
/// Can be displayed by... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Implements the INotification interfaces.
/// Can be displayed by... | mit | C# |
a7d8925f2fddc374afc64046690fe04f43a08a85 | Store common parameters in an object for NumericField | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | Drums/VDrumExplorer.Model/Schema/Fields/NumericField.cs | Drums/VDrumExplorer.Model/Schema/Fields/NumericField.cs | // Copyright 2019 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using VDrumExplorer.Model.Schema.Physical;
namespace VDrumExplorer.Model.Schema.Fields
{
/// <summary>
/// A field that is normally displayed as a number, w... | // Copyright 2019 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using VDrumExplorer.Model.Schema.Physical;
namespace VDrumExplorer.Model.Schema.Fields
{
/// <summary>
/// A field that is normally displayed as a number, w... | apache-2.0 | C# |
a64be42f39274195d02168befc1174445f4f6031 | Update AssemblyInfo.cs | qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,lances101/Wox,lances101/Wox,Wox-launcher/Wox,qianlifeng/Wox | Wox/Properties/AssemblyInfo.cs | Wox/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Wox")]
[assembly: AssemblyDescription("https://github.com/qianlifeng/Wox")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCo... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Wox")]
[assembly: AssemblyDescription("https://github.com/qianlifeng/Wox")]
[asse... | mit | C# |
4d33ba1ab41415eff5d1bc82142f3fc8924c662d | Update FormatRanges2.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as... | Examples/CSharp/Data/AddOn/NamedRanges/FormatRanges2.cs | Examples/CSharp/Data/AddOn/NamedRanges/FormatRanges2.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class FormatRanges2
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Asp... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class FormatRanges2
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils... | mit | C# |
007357c9020be71f07180391006170b7e97eeb7c | Include example of changing sql string. | majorsilence/My-FyiReporting,daniellor/My-FyiReporting,majorsilence/My-FyiReporting,maratoss/My-FyiReporting,chripf/My-FyiReporting,maratoss/My-FyiReporting,daniellor/My-FyiReporting,chripf/My-FyiReporting,chripf/My-FyiReporting,maratoss/My-FyiReporting,maratoss/My-FyiReporting,daniellor/My-FyiReporting,daniellor/My-Fy... | Examples/SampleApp2-SetData/SampleApp2-SetData/Form1.cs | Examples/SampleApp2-SetData/SampleApp2-SetData/Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SQLite;
namespace SampleApp2_SetData
{
public partial class Form1 : Form
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SQLite;
namespace SampleApp2_SetData
{
public partial class Form1 : Form
{
... | apache-2.0 | C# |
2d96be7108f7cdc94b2d724eb442418f63b3dc33 | Fix build warning | gafter/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,davkean/roslyn,ErikSchierboom/roslyn,tannergooding/roslyn,bartdesmet/roslyn,dotnet/roslyn,panopticoncentral/roslyn,wvdd007/roslyn,brettfo/roslyn,physhi/roslyn,tmat/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,jmarolf/roslyn,mgoertz-msft/roslyn,reaction1989/ro... | src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/LanguageServices/SyntaxGeneratorInternalExtensions/SyntaxGeneratorInternal.cs | src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/LanguageServices/SyntaxGeneratorInternalExtensions/SyntaxGeneratorInternal.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 Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.LanguageServices;
namespace Microsoft.CodeAnalysis... | // 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 Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.LanguageServices;
namespace Microsoft.CodeAnalysis... | mit | C# |
45b873e2fdc3685a48e8ffe10e662e44e3cde949 | Make HttpClientExtentions.SendAsync<T> obsolete | sahb1239/SAHB.GraphQLClient | src/SAHB.GraphQLClient/Http/HttpClientExtentions.cs | src/SAHB.GraphQLClient/Http/HttpClientExtentions.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace SAHB.GraphQLClient.Http
{
public static class HttpClientExtentions
{
[Obsolete]
public static Task<HttpResponseMessage> SendAsync<T>(this IHttpClient client, HttpMethod method, string url... | using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace SAHB.GraphQLClient.Http
{
public static class HttpClientExtentions
{
public static Task<HttpResponseMessage> SendAsync<T>(this IHttpClient client, HttpMethod method, string url, string authorizationToken = nul... | mit | C# |
82996ee40ae31d7049110fcdb59d6f9da3aef4cd | Update GetDataConnection.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-as... | Examples/CSharp/Articles/GetDataConnection.cs | Examples/CSharp/Articles/GetDataConnection.cs | using System;
using Aspose.Cells;
using Aspose.Cells.ExternalConnections;
namespace Aspose.Cells.Examples.Articles
{
class GetDataConnection
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = A... | using System;
using Aspose.Cells;
using Aspose.Cells.ExternalConnections;
namespace Aspose.Cells.Examples.Articles
{
class GetDataConnection
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.G... | mit | C# |
a4d66005779554a214f474282fc62ef3387a023b | Implement Trace | chkn/Tempest | iOS/Tempest/TraceSwitch.cs | iOS/Tempest/TraceSwitch.cs | //
// TraceSwitch.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2013 Eric Maupin
//
// 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 w... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tempest
{
class TraceSwitch
{
public TraceSwitch (string foo, string bar)
{
}
public bool TraceVerbose
{
get { return false; }
}
public bool TraceWarning
{
get { return false; }
}
public ... | mit | C# |
ea385e20aa051d080aec21a69c797e9ecac55964 | Use a mutex to guard cert creation on windows (#11546) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Servers/Kestrel/shared/test/TestResources.cs | src/Servers/Kestrel/shared/test/TestResources.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Security.Cryptography.X509Certificates;
namespace Microsoft.AspNetCore.Testing
{
public static class TestResources
... | apache-2.0 | C# |
192421577c412c6933b00c671f8eb807741c3f9e | change pw | bergthor13/Skermstafir,bergthor13/Skermstafir,bergthor13/Skermstafir | Skermstafir/Views/Account/_ChangePasswordPartial.cshtml | Skermstafir/Views/Account/_ChangePasswordPartial.cshtml | @using Microsoft.AspNet.Identity
@model Skermstafir.Models.ManageUserViewModel
@using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Breyta lykilorði</h4>
<hr />
@Html.ValidationSummary()
<div class=... | @using Microsoft.AspNet.Identity
@model Skermstafir.Models.ManageUserViewModel
<p>You're logged in as <strong>@User.Identity.GetUserName()</strong>.</p>
@using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Change Passw... | mit | C# |
ab091759c5c15c90025c5d30d821b4c09c992876 | Format code | ulrichb/ReSharperExtensionsShared | Src/ReSharperExtensionsShared/Debugging/DebugUtility.cs | Src/ReSharperExtensionsShared/Debugging/DebugUtility.cs | using System;
using System.Diagnostics;
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
namespace ReSharperExtensionsShared.Debugging
{
public static class DebugUtility
{
public static string FormatIncludingContext([CanBeNull] IDeclaredElement element)
{
if (element == n... | using System;
using System.Diagnostics;
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
namespace ReSharperExtensionsShared.Debugging
{
public static class DebugUtility
{
public static string FormatIncludingContext([CanBeNull] IDeclaredElement element)
{
if (element == n... | mit | C# |
bf5730f9626659621669d704f316ed608a3ce565 | Fix typo | SergeyTeplyakov/ErrorProne.NET | src/ErrorProne.NET/ErrorProne.NET/Annotations/ReadOnlyAttribute.cs | src/ErrorProne.NET/ErrorProne.NET/Annotations/ReadOnlyAttribute.cs | using System;
namespace ErrorProne.NET.Annotations
{
/// <summary>
/// Attribute that mimics readonly modifier on fields.
/// </summary>
/// <remarks>
/// The reason of this attribute is to get readonly behavior without paying the cost of
/// copying readonly fields of value types.
///
... | using System;
namespace ErrorProne.NET.Annotations
{
/// <summary>
/// Attribute that mimics readonly modifier on fields.
/// </summary>
/// <remarks>
/// The reason of this attirubte is to get readonly behavior without paying the cost of
/// copying readonly fields of value types.
///
... | mit | C# |
c9495bb601daa79f4deabc872fa34cc6e045f670 | add consul to services not needing health check | lvermeulen/Nanophone | src/Nanophone.RegistryHost.ConsulRegistry/HealthCheckExtensions.cs | src/Nanophone.RegistryHost.ConsulRegistry/HealthCheckExtensions.cs | using Consul;
using System;
using Nanophone.RegistryHost.ConsulRegistry.Logging;
namespace Nanophone.RegistryHost.ConsulRegistry
{
public static class HealthCheckExtensions
{
private static readonly ILog s_log = LogProvider.For<ConsulRegistryHost>();
public static bool NeedsStatusCheck(this H... | using Consul;
using System;
using Nanophone.RegistryHost.ConsulRegistry.Logging;
namespace Nanophone.RegistryHost.ConsulRegistry
{
public static class HealthCheckExtensions
{
private static readonly ILog s_log = LogProvider.For<ConsulRegistryHost>();
public static bool NeedsStatusCheck(this H... | mit | C# |
67675a5ae5d899a9a89914d93770fef72481a3e6 | correct spacing around paramref test | OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | tests/OmniSharp.Roslyn.CSharp.Tests/DocumentationConverterFacts.cs | tests/OmniSharp.Roslyn.CSharp.Tests/DocumentationConverterFacts.cs | using System.Threading.Tasks;
using OmniSharp.Roslyn.CSharp.Services.Documentation;
using Xunit;
namespace OmniSharp.Roslyn.CSharp.Tests
{
public class DocumentationConverterFacts
{
[Fact]
public void Converts_xml_documentation_to_plain_text()
{
var documentation = @"
<membe... | using System.Threading.Tasks;
using OmniSharp.Roslyn.CSharp.Services.Documentation;
using Xunit;
namespace OmniSharp.Roslyn.CSharp.Tests
{
public class DocumentationConverterFacts
{
[Fact]
public void Converts_xml_documentation_to_plain_text()
{
var documentation = @"
<membe... | mit | C# |
29c85b849a4caa56494069d62cfd4851adf8c431 | add BitBox02 support | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Hwi/Models/HardwareWalletModels.cs | WalletWasabi/Hwi/Models/HardwareWalletModels.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.Hwi.Models
{
/// <summary>
/// Source: https://github.com/bitcoin-core/HWI/pull/228
/// </summary>
public enum HardwareWalletModels
{
Unknown,
Coldcard,
Coldcard_Simulator,
DigitalBitBox_01,
DigitalBitBox_01_Simula... | using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.Hwi.Models
{
/// <summary>
/// Source: https://github.com/bitcoin-core/HWI/pull/228
/// </summary>
public enum HardwareWalletModels
{
Unknown,
Coldcard,
Coldcard_Simulator,
DigitalBitBox_01,
DigitalBitBox_01_Simula... | mit | C# |
e0ca5b126f3574fe935e7c30336b3929dea61d7a | Add SessionHash property and mark SessionHeight as obsolete. | clement911/ShopifySharp,addsb/ShopifySharp,nozzlegear/ShopifySharp | ShopifySharp/Entities/ShopifyClientDetails.cs | ShopifySharp/Entities/ShopifyClientDetails.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopifySharp
{
public class ShopifyClientDetails
{
/// <summary>
/// Shopify does not offer documentation for this field.
/// </summary>
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopifySharp
{
public class ShopifyClientDetails
{
/// <summary>
/// Shopify does not offer documentation for this field.
/// </summary>
... | mit | C# |
8fd451be90c67ef791d50a210625297b98f50ad8 | Fix typo in LineStyle.cs | AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css | src/AngleSharp.Css/Dom/LineStyle.cs | src/AngleSharp.Css/Dom/LineStyle.cs | namespace AngleSharp.Css.Dom
{
/// <summary>
/// An enumeration with all possible line styles.
/// </summary>
public enum LineStyle : byte
{
/// <summary>
/// No outline (outline-width is 0).
/// </summary>
None,
/// <summary>
/// Same as 'none', exce... | namespace AngleSharp.Css.Dom
{
/// <summary>
/// An enumeration with all possible line styles.
/// </summary>
public enum LineStyle : byte
{
/// <summary>
/// No outline (outline-width is 0).
/// </summary>
None,
/// <summary>
/// Same as 'none', exce... | mit | C# |
834bcda840dcd253fe8ad7de6c3bb6618cfe0a6f | Make VisitingMind's Mind readable by VV | 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.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs | Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs | using Content.Server.Mobs;
using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Mobs
{
[RegisterComponent]
public sealed class VisitingMindComponent : Component
{
public override string Name => "VisitingMind";
[ViewVariables]
... | using Content.Server.Mobs;
using Robust.Shared.GameObjects;
namespace Content.Server.GameObjects.Components.Mobs
{
[RegisterComponent]
public sealed class VisitingMindComponent : Component
{
public override string Name => "VisitingMind";
public Mind Mind { get; set; }
public over... | mit | C# |
f82d143016338c7592c5baf5e8789373978dc2a5 | Add AssemblyHashAlgorithm.GetName() ext method | jorik041/dnlib,kiootic/dnlib,Arthur2e5/dnlib,modulexcite/dnlib,picrap/dnlib,yck1509/dnlib,ilkerhalil/dnlib,ZixiangBoy/dnlib,0xd4d/dnlib | src/DotNet/AssemblyHashAlgorithm.cs | src/DotNet/AssemblyHashAlgorithm.cs | namespace dot10.DotNet {
/// <summary>
/// Any ALG_CLASS_HASH type in WinCrypt.h can be used by Microsoft's CLI implementation
/// </summary>
public enum AssemblyHashAlgorithm : uint {
/// <summary/>
None = 0,
/// <summary/>
MD2 = 0x8001,
/// <summary/>
MD4 = 0x8002,
/// <summary>This is a... | namespace dot10.DotNet {
/// <summary>
/// Any ALG_CLASS_HASH type in WinCrypt.h can be used by Microsoft's CLI implementation
/// </summary>
public enum AssemblyHashAlgorithm : uint {
/// <summary/>
None = 0,
/// <summary/>
MD2 = 0x8001,
/// <summary/>
MD4 = 0x8002,
/// <summary>This is a... | mit | C# |
bf43bae316ec6216e79beb95b2ba25137d91908d | Remove Marshal.GetHRForLastWin32Error call from Diagnostics.Process | mono/referencesource,evincarofautumn/referencesource | System/services/monitoring/system/diagnosticts/processwaithandle.cs | System/services/monitoring/system/diagnosticts/processwaithandle.cs | using System;
using System.Threading;
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
namespace System.Diagnostics {
internal class ProcessWaitHandle : WaitHandle {
[ResourceExposure(ResourceScope.None)]
[ResourceCons... | using System;
using System.Threading;
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
namespace System.Diagnostics {
internal class ProcessWaitHandle : WaitHandle {
[ResourceExposure(ResourceScope.None)]
[ResourceCons... | mit | C# |
61892ff03370a9d5d5fb2bb2ad688f91069a5286 | Bump version to 0.1.4 | exira/ges-runner | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("ges-runner")]
[assembly: AssemblyProductAttribute("Exira.EventStore.Runner")]
[assembly: AssemblyDescriptionAttribute("Exira.EventStore.Runner is a wrapper that uses Topshelf to run EventStore as a Windows Service")]
[assembly: AssemblyV... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("ges-runner")]
[assembly: AssemblyProductAttribute("Exira.EventStore.Runner")]
[assembly: AssemblyDescriptionAttribute("Exira.EventStore.Runner is a wrapper that uses Topshelf to run EventStore as a Windows Service")]
[assembly: AssemblyV... | mit | C# |
d226eba77f64380f3be0c640b7ca4cf2c333a657 | Build and publish nuget package | RockFramework/Rock.EmbeddedNativeLibrary | src/Properties/AssemblyInfo.cs | src/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("Ro... | 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("Ro... | mit | C# |
af75d22e07fdc0f2ddf19c59707be804bd3c484f | fix typo VisualResult(s) | mastersign/mediacategorizer-ui | processing/AnalyzeResultsAndWriteOutputProcess.cs | processing/AnalyzeResultsAndWriteOutputProcess.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using de.fhb.oll.mediacategorizer.edn;
using de.fhb.oll.mediacategorizer.settings;
using de.fhb.oll.mediacategorizer.tools;
namespace de.fhb.oll.mediacategorizer.processing
{
class Anal... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using de.fhb.oll.mediacategorizer.edn;
using de.fhb.oll.mediacategorizer.settings;
using de.fhb.oll.mediacategorizer.tools;
namespace de.fhb.oll.mediacategorizer.processing
{
class Anal... | mit | C# |
1dbfcd5853fef6bda289a05289912d6a20b6e2bf | fix null reference, modify previous | lvermeulen/Equalizer | src/Equalizer.Nanophone/RoundRobinAddressRouter.cs | src/Equalizer.Nanophone/RoundRobinAddressRouter.cs | using System;
using System.Collections.Generic;
using Equalizer.Core;
using Equalizer.Routers;
using Nanophone.Core;
namespace Equalizer.Nanophone
{
public class RoundRobinAddressRouter : BaseDiscriminatingRouter<RegistryInformation>
{
private readonly RoundRobinRouter<RegistryInformation> _router;
... | using System;
using System.Collections.Generic;
using Equalizer.Core;
using Equalizer.Routers;
using Nanophone.Core;
namespace Equalizer.Nanophone
{
public class RoundRobinAddressRouter : BaseDiscriminatingRouter<RegistryInformation>
{
private readonly RoundRobinRouter<RegistryInformation> _router;
... | mit | C# |
9b9bf73ece95bc7a02192d31ddb7ddd5d0eae9cd | Use UseServer() instead of UseKestrel() to allow override in tests | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/MusicStore/Program.cs | src/MusicStore/Program.cs | using Microsoft.AspNetCore.Hosting;
namespace MusicStore
{
public static class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
// We set the server by name before default args so that command line arguments can override it.
... | using Microsoft.AspNetCore.Hosting;
namespace MusicStore
{
public static class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
// We set the server before default args so that command line arguments can override it.
... | apache-2.0 | C# |
fd72ab10fa8e38f3576dc250d59dfa217e00ad9f | fix exception demo | tibel/Caliburn.Light | samples/Demo.ExceptionHandling/AppBootstrapper.cs | samples/Demo.ExceptionHandling/AppBootstrapper.cs | using System.Diagnostics;
using System.Windows;
using System.Windows.Threading;
using Caliburn.Light;
namespace Demo.ExceptionHandling
{
public class AppBootstrapper : BootstrapperBase
{
private SimpleContainer _container;
protected override void Configure()
{
_container =... | using System.Diagnostics;
using System.Windows;
using System.Windows.Threading;
using Caliburn.Light;
namespace Demo.ExceptionHandling
{
public class AppBootstrapper : BootstrapperBase
{
private SimpleContainer _container;
protected override void Configure()
{
_container =... | mit | C# |
3bf2ec8c0464b9bab163c9cd5b86b25d7f0c661a | Set some default | jdt/StickEmApp | Source/StickEmApp/StickEmApp/Entities/SalesResult.cs | Source/StickEmApp/StickEmApp/Entities/SalesResult.cs | namespace StickEmApp.Entities
{
public class SalesResult
{
public SalesResult()
{
Status = ResultType.Exact;
Difference = new Money(0);
}
public ResultType Status { get; set; }
public Money Difference { get; set; }
}
} | namespace StickEmApp.Entities
{
public class SalesResult
{
public ResultType Status { get; set; }
public Money Difference { get; set; }
}
} | mit | C# |
be3c6911f8aa6e188e33b2367452bf0e227097fd | Disable parallelization for RhinoMock using alternative way | AutoFixture/AutoFixture,Pvlerick/AutoFixture,sean-gilliam/AutoFixture,zvirja/AutoFixture | Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs | Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// 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: AssemblyCulture("")]
// Setting ComVisible... | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// 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: AssemblyCulture("")]
// Setting ComVisible... | mit | C# |
a85d60cfafdfde130c1a9b4eada34e0671776c2e | Add Instagram | jetebusiness/NEO-Default_Theme,jetebusiness/NEO-Default_Theme | Views/Shared/Blocks/Instagram/_InstagramMedia.cshtml | Views/Shared/Blocks/Instagram/_InstagramMedia.cshtml | @model IList<DomainCompany.Entities.InstagramMedia>
@if (Model != null && Model.Count() > 0)
{
var userName = @Model.FirstOrDefault().username;
<div class="ui container">
<div class="ui horizontal divider">
<a href="https://www.instagram.com/@userName/?hl=pt-br" title="@userName" target="_... | @model IList<DomainCompany.Entities.InstagramMedia>
@if (Model != null && Model.Count() > 0)
{
var userName = @Model.FirstOrDefault().username;
<div class="ui container">
<div class="ui horizontal divider">
<a href="https://www.instagram.com/@userName/?hl=pt-br" title="@userName" target="... | mpl-2.0 | C# |
3053c467c76ea1f51f34fc9cc1330ddc446ef6c5 | Fix description for Sebastian Jensen (#412) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/SebastianJensen.cs | src/Firehose.Web/Authors/SebastianJensen.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class SebastianJensen : IAmACommunityMember
{
public string FirstName => "Sebastian";
public string LastName => "Jensen";
public string StateOrRegion => "Pforzheim... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class SebastianJensen : IAmACommunityMember
{
public string FirstName => "Sebastian";
public string LastName => "Jensen";
public string StateOrRegion => "Pforzheim... | mit | C# |
4d04e6f4f61e2978550e4814aa15ec0c5539ac5f | make triples immutable :) | richorama/AzureStorageExtensions | AzureGraphStore/Triple.cs | AzureGraphStore/Triple.cs | using System;
namespace Two10.AzureGraphStore
{
public class Triple
{
public Triple(string subject, string property, string value)
{
if (string.IsNullOrWhiteSpace(subject)) throw new ArgumentNullException("subject");
if (string.IsNullOrWhiteSpace(property)) thr... | using System;
namespace Two10.AzureGraphStore
{
public class Triple
{
public Triple(string subject, string property, string value)
{
if (string.IsNullOrWhiteSpace(subject)) throw new ArgumentNullException("subject");
if (string.IsNullOrWhiteSpace(property)) thr... | mit | C# |
290ae373469bd43d66c6c965edb7e0c016ff797a | Add assertion of only usage game-wide | peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | osu.Game/Screens/Play/ScreenSuspensionHandler.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;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Platform;
nam... | mit | C# |
443b3aa7f96eebfda99ad1eb1144bc20fce12c9d | remove filesystem watcher | kreeben/resin,kreeben/resin | src/Sir.HttpServer/KeyValueConfiguration.cs | src/Sir.HttpServer/KeyValueConfiguration.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace Sir
{
public class KeyValueConfiguration : IConfigurationProvider
{
private IDictionary<string, string> _doc;
private readonly string _fileName;
public KeyValueConfiguration(string readFromFileName = null)
... | using System;
using System.Collections.Generic;
using System.IO;
namespace Sir
{
public class KeyValueConfiguration : IConfigurationProvider
{
private IDictionary<string, string> _doc;
private readonly string _fileName;
public KeyValueConfiguration(string readFromFileName = null)
... | mit | C# |
1d8dc96d75c526f3341f590a270e29de61cff2ee | Update TermFindSettingsAttribute | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/Attributes/TermFindSettingsAttribute.cs | src/Atata/Attributes/TermFindSettingsAttribute.cs | using System;
namespace Atata
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
public class TermFindSettingsAttribute : Attribute
{
public TermFindSettingsAttribute(FindTermBy by, TermFormat format = TermFormat.Inherit, TermMatch match = TermMatch.Inheri... | using System;
namespace Atata
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false, Inherited = true)]
public class TermFindSettingsAttribute : Attribute
{
public TermFindSettingsAttribute(Type finderAttributeType, TermFormat format = TermFormat.Inherit, Term... | apache-2.0 | C# |
d4e60da38f3f02458494b3089003e6b8a2c43c75 | Include build number in version | Netuitive/collectdwin,Netuitive/netuitive-windows-agent | src/CollectdWinService/Properties/AssemblyInfo.cs | src/CollectdWinService/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("CollectdWinService")]
[assembly:... | 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("CollectdWinService")]
[assembly: Assembl... | apache-2.0 | C# |
6a6c908b74925e1255357871cc6e07f33cab4897 | add meta tag to disable compatibility mode in IE | IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityS... | src/OnPremise/WebSite/Views/Shared/_Layout.cshtml | src/OnPremise/WebSite/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
@Styles.Render("~/Content/themes/base/css", "~/Content/css")
@RenderSection("styles", false)
@Sc... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<meta name="viewport" content="width=device-width" />
@Styles.Render("~/Content/themes/base/css", "~/Content/css")
@RenderSection("styles", false)
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<di... | bsd-3-clause | C# |
b642c97a57b86980e0c52950ebabf70d9a6fe86e | Fix phone number column in employees grid | dmytrokuzmin/RepairisCore,dmytrokuzmin/RepairisCore,dmytrokuzmin/RepairisCore | src/Repairis.Web.Mvc/Views/Employees/Index.cshtml | src/Repairis.Web.Mvc/Views/Employees/Index.cshtml | @{
ViewBag.Title = "Employees";
}
<h3>Employees</h3>
<p>
<a asp-action="Create" class="btn btn-success"><i class="fa fa-plus"></i> New employee</a>
</p>
<ej-grid id="Employees" allow-text-wrap="true" allow-selection="false" allow-sorting="true" allow-paging="true" allow-filtering="true" enable-touch="false... | @{
ViewBag.Title = "Employees";
}
<h3>Employees</h3>
<p>
<a asp-action="Create" class="btn btn-success"><i class="fa fa-plus"></i> New employee</a>
</p>
<ej-grid id="Employees" allow-text-wrap="true" allow-selection="false" allow-sorting="true" allow-paging="true" allow-filtering="true" enable-touch="false... | mit | C# |
13a0d4eadcd77c4e7a804a4335f6c03401e5dcf3 | Fix show-build-chain logic to properly detect cloned build configs. | ComputerWorkware/TeamCityApi | src/TeamCityApi/UseCases/ShowBuildChainUseCase.cs | src/TeamCityApi/UseCases/ShowBuildChainUseCase.cs | using System.Linq;
using System.Threading.Tasks;
using TeamCityApi.Helpers;
using TeamCityApi.Logging;
namespace TeamCityApi.UseCases
{
public class ShowBuildChainUseCase
{
private static readonly ILog Log = LogProvider.GetLogger(typeof(ShowBuildChainUseCase));
private readonly ITeamCityClien... | using System.Linq;
using System.Threading.Tasks;
using TeamCityApi.Helpers;
using TeamCityApi.Logging;
namespace TeamCityApi.UseCases
{
public class ShowBuildChainUseCase
{
private static readonly ILog Log = LogProvider.GetLogger(typeof(ShowBuildChainUseCase));
private readonly ITeamCityClien... | mit | C# |
6297bcb16ac9a6688612aacd39a5d56f643ccfe8 | Update version to 1.3.7 | anonymousthing/ListenMoeClient | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | 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("Listen.moe Client")]
[assembly: Ass... | mit | C# |
05422eb5f04f80def2e9d372d54f3a0caa94f40f | Fix a typo in WasmType | jonathanvdc/cs-wasm,jonathanvdc/cs-wasm | libwasm/WasmType.cs | libwasm/WasmType.cs | namespace Wasm
{
/// <summary>
/// An enumeration of WebAssembly language types.
/// </summary>
public enum WasmType : sbyte
{
/// <summary>
/// A 32-bit integer type.
/// </summary>
Int32 = -0x01,
/// <summary>
/// A 64-bit integer type.
/// ... | namespace Wasm
{
/// <summary>
/// An enumeration of WebAssembly language types.
/// </summary>
public enum WasmType : sbyte
{
/// <summary>
/// A 32-bit integer type.
/// </summary>
Int32 = -0x01,
/// <summary>
/// A 64-bit integer type.
/// ... | mit | C# |
9ec4009e495f0fcbda967e30a5c29d11a809fb09 | Update ICompositeCurrencyConverter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ICompositeCurrencyConverter.cs | TIKSN.Core/Finance/ICompositeCurrencyConverter.cs | namespace TIKSN.Finance
{
public interface ICompositeCurrencyConverter : ICurrencyConverter
{
void Add(ICurrencyConverter converter);
}
}
| namespace TIKSN.Finance
{
public interface ICompositeCurrencyConverter : ICurrencyConverter
{
void Add(ICurrencyConverter converter);
}
} | mit | C# |
446145337231bdb63a21d4fb46159e75c897886e | Update bot builder assembly version 1.12.9 | mmatkow/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBuilder,stevengum97/BotBuilder,dr-em/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,dr-em/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBuilder,Clairety/ConnectMe,mmatkow/BotBuilder,Clairety/ConnectMe,Clairety/ConnectMe,xiangyan99/B... | CSharp/Library/Properties/AssemblyInfo.cs | CSharp/Library/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | mit | C# |
1530828388294f5f6ec1e6634ef6bc07387c955e | Update sql server versions | KankuruSQL/KMO | KVersion.cs | KVersion.cs | namespace KMO
{
public static class KVersion
{
public const int Sp2017 = 1000;
public const int Cu2017 = 3048;
public const int Sp2016 = 5026;
public const int Cu2016 = 5264;
public const int Sp2014 = 6024;
public const int Cu2014 = 6214;
public... | namespace KMO
{
public static class KVersion
{
public const int Sp2017 = 1000;
public const int Cu2017 = 3008;
public const int Sp2016 = 4001;
public const int Cu2016 = 4457;
public const int Sp2014 = 5000;
public const int Cu2014 = 5557;
public... | mit | C# |
ad207dbb5b3e0a21f754af86edc340e3257784fd | Duplicate some methods from TransformExtensions for convenience | mysticfall/Alensia | Assets/Alensia/Core/Common/ComponentExtensions.cs | Assets/Alensia/Core/Common/ComponentExtensions.cs | using System.Collections.Generic;
using UnityEngine;
namespace Alensia.Core.Common
{
public static class ComponentExtensions
{
public static T GetOrAddComponent<T>(this Component component) where T : Component
{
return component.GetComponent<T>() ?? component.gameObject.AddComponen... | using UnityEngine;
namespace Alensia.Core.Common
{
public static class ComponentExtensions
{
public static T GetOrAddComponent<T>(this Component component) where T : Component
{
return component.GetComponent<T>() ?? component.gameObject.AddComponent<T>();
}
}
} | apache-2.0 | C# |
9eae551eda09ca03a8d17f5f938a20550fd6eb52 | Correct star image | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/Index.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/Index.cshtml | @model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel>
@{
ViewBag.Title = "Home";
ViewBag.PageID = "page-company-homepage";
}
<div class="das-dashboard-header das-section--header">
<div class="govuk-width-container das-dashboard-header_... | @model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel>
@{
ViewBag.Title = "Home";
ViewBag.PageID = "page-company-homepage";
}
<div class="das-dashboard-header das-section--header">
<div class="govuk-width-container das-dashboard-header_... | mit | C# |
d87dd89a369eee742425a9c7ed87848687f9a54f | Bump version to 0.7.5 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.