commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
8580b737f13784ad5ca3d39650c471fd7260ca90 | VotingApplication/VotingApplication.Web/Api/Models/DBViewModels/PollCreationRequestModel.cs | VotingApplication/VotingApplication.Web/Api/Models/DBViewModels/PollCreationRequestModel.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace VotingApplication.Web.Api.Models.DBViewModels
{
public class PollCreationRequestModel
{
[Required]
public string Name { get; set; }
[Required]
public string Creator { get; set; }
[Required]
p... | using System;
using System.ComponentModel.DataAnnotations;
namespace VotingApplication.Web.Api.Models.DBViewModels
{
public class PollCreationRequestModel
{
[Required]
public string Name { get; set; }
[Required]
public string Creator { get; set; }
[Required]
p... | Fix expiry date on create new poll | Fix expiry date on create new poll
New polls being created with expiry date of 01/01/0001 as ExpiryDate is
not nullable in the PollCreationRequestModel.
| C# | apache-2.0 | tpkelly/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,J... |
1bbba86dcda4b616fa1cdec94df13d19793a69f7 | TextFilePlugin.cs | TextFilePlugin.cs | #region
using System;
using Tabster.Core.Plugins;
#endregion
namespace TextFile
{
public class TextFilePlugin : ITabsterPlugin
{
#region Implementation of ITabsterPlugin
public string Author
{
get { return "Nate Shoffner"; }
}
public st... | #region
using System;
using Tabster.Core.Plugins;
#endregion
namespace TextFile
{
public class TextFilePlugin : ITabsterPlugin
{
#region Implementation of ITabsterPlugin
public string Author
{
get { return "Nate Shoffner"; }
}
public st... | Add Initialize() method to ITabsterPlugin | Add Initialize() method to ITabsterPlugin
| C# | apache-2.0 | GetTabster/Tabster.Plugin.TextFile |
01b1690708bf289a24b6a30bfca8ce0e820ed0a9 | Tests/ValidationTests.cs | Tests/ValidationTests.cs | using Core;
using StructureMap;
using System;
using Xunit;
namespace Tests
{
public class ValidationTests
{
[Fact]
public void VerifyValidConfiguration()
{
var container = new Container(x =>
{
x.For<IService>().Use<Service>();
});
... | using Core;
using StructureMap;
using System;
using Xunit;
namespace Tests
{
public class ValidationTests
{
[Fact]
public void MissingRequiredConstructorArgument()
{
var container = new Container(x =>
{
x.For<IService>().Use<ServiceWithCtorArg>()... | Add AssertConfigurationIsValid test for missing ctor parameter | Add AssertConfigurationIsValid test for missing ctor parameter
| C# | mit | kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap |
97658c2c8c479c035458ffaa41db3311f8f2435e | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/Disable2fa.cshtml | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/Disable2fa.cshtml | @page
@model Disable2faModel
@{
ViewData["Title"] = "Disable two-factor authentication (2FA)";
ViewData["ActivePage"] = "TwoFactorAuthentication";
}
<h2>@ViewData["Title"]</h2>
<div class="alert alert-warning" role="alert">
<p>
<span class="glyphicon glyphicon-warning-sign"></span>
<stron... | @page
@model Disable2faModel
@{
ViewData["Title"] = "Disable two-factor authentication (2FA)";
ViewData["ActivePage"] = "TwoFactorAuthentication";
}
<h2>@ViewData["Title"]</h2>
<div class="alert alert-warning" role="alert">
<p>
<span class="glyphicon glyphicon-warning-sign"></span>
<stron... | Use anchor tag helper instead of hard coded href | Use anchor tag helper instead of hard coded href | C# | mit | seancpeters/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating |
94e65a324456172971e1b387f039ec1fd7343c0d | osu.Game/Overlays/Settings/SettingsCheckbox.cs | osu.Game/Overlays/Settings/SettingsCheckbox.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.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsCheckbox : SettingsItem<bool>
{
... | // 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.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsCheckbox : SettingsItem<bool>
{
... | Fix settings checkboxes not being searchable | Fix settings checkboxes not being searchable
| C# | mit | ppy/osu,ppy/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,Z... |
7c222d046a4cc12046c55dc1451a6bede21d65aa | Craftitude-Api/RepositoryCache.cs | Craftitude-Api/RepositoryCache.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.IO;
using YaTools.Yaml;
using Raven;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Raven.Storage;
using Raven.Database;
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.IO;
using YaTools.Yaml;
using Raven;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Raven.Storage;
using Raven.Database;
... | Allow deletion and reading of saved package information. | Allow deletion and reading of saved package information.
| C# | agpl-3.0 | Craftitude-Team/Craftitude-Launcher,Craftitude-Team/Craftitude-Launcher |
b82ab2d43d32d8326e276a8a2ea3f1cfff5a3109 | Engine/Engine/Mappings/Mapping.cs | Engine/Engine/Mappings/Mapping.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine.Mappings
{
public interface IMapping<T>
{
void print();
T get_pos(ICoordinate coord);
bool pos_exists(ICoordinate coord);
bool add_to_pos(T addit... | using Engine.Mappings.Coordinates;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine.Mappings
{
public interface IMapWriteable<T>
{
bool can_move(ICoordinate<T> startCoord, ICoordinate<T> endCoord);
bool move(I... | Split apart and made generic the interfaces for maps following interface segregation and CQRS | Split apart and made generic the interfaces for maps following interface segregation and CQRS
| C# | mit | Journeyman08/Game |
9842351c288a5601ac8bfee010ed1564dc5321b6 | Lab4Orchestration/WinSerHost/Service1.cs | Lab4Orchestration/WinSerHost/Service1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceModel;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace WinSerHost
{
public partial class Service1 : ServiceBase
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceModel;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace WinSerHost
{
// For this service to work correctly,
//... | Add command in the comment. | Add command in the comment.
| C# | mit | tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin |
da814e28896887162dabcd828c2756aeeb4a1a1d | src/ZeroLog/Properties/AssemblyInfo.cs | src/ZeroLog/Properties/AssemblyInfo.cs | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("ZeroLog.Tests")]
[assembly: InternalsVisibleTo("ZeroLog.Benchmarks")]
| using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("ZeroLog.Tests")]
[assembly: InternalsVisibleTo("ZeroLog.Benchmarks")]
#if NETCOREAPP && !NETCOREAPP2_1
[module: SkipLocalsInit]
#endif
| Use SkipLocalsInit on .NET 5 | Use SkipLocalsInit on .NET 5
| C# | mit | Abc-Arbitrage/ZeroLog |
5e9dfedfc938fb207edac0e9fb4a52db92ae392d | src/SnakeApp/Models/Food.cs | src/SnakeApp/Models/Food.cs | using SnakeApp.Graphics;
using System;
namespace SnakeApp.Models
{
public class Food
{
public Food()
{
DateCreated = DateTime.Now;
}
public Food(byte score, Point position, byte secondsToLive) : this()
{
Score = score;
Position = position;
SecondsToLive = secondsToLive;
}
public Point Pos... | using SnakeApp.Graphics;
using System;
namespace SnakeApp.Models
{
public class Food
{
public Food()
{
DateCreated = DateTime.Now;
}
public Food(byte score, Point position, byte secondsToLive) : this()
{
Score = score;
Position = position;
SecondsToLive = secondsToLive;
}
public Point Pos... | Make the food TTL setter private. | Make the food TTL setter private.
| C# | mit | darkriszty/SnakeApp |
32b2014ee362e473bc6d204c1a752b5469a48584 | Gu.Wpf.Geometry.UiTests/MainWindowTests.cs | Gu.Wpf.Geometry.UiTests/MainWindowTests.cs | namespace Gu.Wpf.Geometry.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class MainWindowTests
{
[Test]
public void ClickAllTabs()
{
// Just a smoke test so that we do not explode.
using (var app = Application.Launch("Gu.Wpf.Geometry.D... | namespace Gu.Wpf.Geometry.UiTests
{
using System;
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class MainWindowTests
{
[Test]
public void ClickAllTabs()
{
// Just a smoke test so that we do not explode.
using (var app = Application.Launch(... | Add timeout waiting for MainWindow. | Add timeout waiting for MainWindow.
Attempt at fixing flaky UI-tests on AppVeyor.
| C# | mit | JohanLarsson/Gu.Wpf.Geometry |
2f2d65c84fb5168a276a59e27afbb4ccd02782bb | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaOperatori/ListaOperatoriResult.cs | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaOperatori/ListaOperatoriResult.cs | //-----------------------------------------------------------------------
// <copyright file="ListaOperatoriResult.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public... | //-----------------------------------------------------------------------
// <copyright file="ListaOperatoriResult.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public... | Add - Aggiunta proprietà lista sedi alla result degli utenti nella gestione utenti | Add - Aggiunta proprietà lista sedi alla result degli utenti nella gestione utenti
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
3a41fa40958e50403a0e1a4b959010ca7815ad19 | apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1.SmokeTests/FirestoreAdminSmokeTest.cs | apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1.SmokeTests/FirestoreAdminSmokeTest.cs | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Fix manual smoke test for Google.Cloud.Firestore.Admin.V1 | Fix manual smoke test for Google.Cloud.Firestore.Admin.V1
(Known breaking change for resource names.)
| C# | apache-2.0 | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet |
1d42c31d61e8e99dbe08a3d335253261085f72c4 | Assets/Scripts/Enemies/MouthOfEvilController.cs | Assets/Scripts/Enemies/MouthOfEvilController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouthOfEvilController : MonoBehaviour {
public List<EvilEyeScript> evilEyes;
public int mouthOfEvilHealth = 12;
private int hitsLeftInPhase;
public int maxHitsPerPhase = 4;
public bool isInPhase = false;
void Awake () ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouthOfEvilController : MonoBehaviour {
public List<EvilEyeScript> evilEyes;
public int mouthOfEvilHealth = 12;
private int hitsLeftInPhase;
public int maxHitsPerPhase = 4;
public bool isInPhase = false;
public int tota... | Add non-complete boss controller script | Add non-complete boss controller script
| C# | apache-2.0 | DavidnCothron/4232-capstone-project |
65ff9bc968802e9f2d7d0426e006d58b89e0be3f | PropertyChanged/ImplementPropertyChangedAttribute.cs | PropertyChanged/ImplementPropertyChangedAttribute.cs | using System;
namespace PropertyChanged
{
/// <summary>
/// Include a <see cref="Type"/> for notification.
/// The INotifyPropertyChanged interface is added to the type.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ImplementProp... | using System;
namespace PropertyChanged
{
/// <summary>
/// Specifies that PropertyChanged Notification will be added to a class.
/// PropertyChanged.Fody will weave the <c>INotifyPropertyChanged</c> interface and implementation into the class.
/// When the value of a property changes, the PropertyCha... | Improve the interface documentation for the attribute | Improve the interface documentation for the attribute
I had a discussion with a coworker. It went like:
Him: "Dude that's not going to work. You need to raise PropertyChanged when changing a property. Don't you know MVVM?"
Me: "It's compile-time weaved into the code".
Him: "What are you talking about?" (looking at ... | C# | mit | Fody/PropertyChanged,user1568891/PropertyChanged,0x53A/PropertyChanged |
eef82cc76418ef4fdb1143aa4bcb5c1c40d76fcd | NBi.NUnit/Builder/AbstractScalarBuilder.cs | NBi.NUnit/Builder/AbstractScalarBuilder.cs | using System;
using System.Collections.Generic;
using NBi.Xml.Constraints;
using NBi.Xml.Systems;
using NBi.NUnit.Builder.Helper;
using NBi.Core.Configuration;
using NBi.Core.Injection;
using NBi.Core.Variable;
using NBi.Core.Scalar.Resolver;
namespace NBi.NUnit.Builder
{
abstract class AbstractScalarBuilder : Ab... | using System;
using System.Collections.Generic;
using NBi.Xml.Constraints;
using NBi.Xml.Systems;
using NBi.NUnit.Builder.Helper;
using NBi.Core.Configuration;
using NBi.Core.Injection;
using NBi.Core.Variable;
using NBi.Core.Scalar.Resolver;
using NBi.Xml.Settings;
namespace NBi.NUnit.Builder
{
abstract class Ab... | Fix issue with Scalar testing where default connection-strings where not forwarded | Fix issue with Scalar testing where default connection-strings where not forwarded
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
2febb29dbd2bca2d0d7900a12c6856f9cea8f45b | source/Runtime/SharpLabObjectExtensions.cs | source/Runtime/SharpLabObjectExtensions.cs | using System.ComponentModel;
using System.Text;
using SharpLab.Runtime.Internal;
public static class SharpLabObjectExtensions {
// LinqPad/etc compatibility only
[EditorBrowsable(EditorBrowsableState.Never)]
public static void Dump<T>(this T value) {
value.Inspect(title: "Dump");
}
... | using System.ComponentModel;
using System.Text;
using SharpLab.Runtime.Internal;
public static class SharpLabObjectExtensions {
// LinqPad/etc compatibility only
[EditorBrowsable(EditorBrowsableState.Never)]
public static T Dump<T>(this T value)
=> value.Inspect(title: "Dump");
publ... | Return object from Dump/Inspect extension methods. | Return object from Dump/Inspect extension methods. | C# | bsd-2-clause | ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab |
7bbb16c7ac0b92362fb48ba7584548908bfe9b53 | src/AppHarbor/Commands/AddConfigCommand.cs | src/AppHarbor/Commands/AddConfigCommand.cs | using System;
namespace AppHarbor.Commands
{
public class AddConfigCommand : ICommand
{
public AddConfigCommand()
{
}
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| using System;
namespace AppHarbor.Commands
{
public class AddConfigCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
public AddConfigCommand(IApplicationConfiguration applicationConfiguration)
{
_applicationConfiguration = applicationConfiguration;
}
public vo... | Initialize AppConfigCommand with an IApplicationConfiguration | Initialize AppConfigCommand with an IApplicationConfiguration
| C# | mit | appharbor/appharbor-cli |
1b43b4a51a4da9ff06d3b155fce59575fb44d62a | src/FluentNHibernate/AutoMap/AutoMapper.cs | src/FluentNHibernate/AutoMap/AutoMapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.AutoMap
{
public class AutoMapper
{
private readonly List<IAutoMapper> _mappingRules;
public AutoMapper(Conventions conventions)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.AutoMap
{
public class AutoMapper
{
private readonly List<IAutoMapper> _mappingRules;
public AutoMapper(Conventions conventions)
... | Change automapper to whitelist classes rather than blacklist enums. | Change automapper to whitelist classes rather than blacklist enums.
git-svn-id: a161142445158cf41e00e2afdd70bb78aded5464@74 48f0ce17-cc52-0410-af8c-857c09b6549b
| C# | bsd-3-clause | MiguelMadero/fluent-nhibernate,narnau/fluent-nhibernate,owerkop/fluent-nhibernate,hzhgis/ss,owerkop/fluent-nhibernate,oceanho/fluent-nhibernate,lingxyd/fluent-nhibernate,hzhgis/ss,HermanSchoenfeld/fluent-nhibernate,bogdan7/nhibernate,bogdan7/nhibernate,narnau/fluent-nhibernate,lingxyd/fluent-nhibernate,chester89/fluent... |
9bc3bae184d51e6aca506d5f59c9709063394fc1 | AudioController/Assets/Source/ObjectPool.cs | AudioController/Assets/Source/ObjectPool.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField]
private GameObject _prefab;
private Stack<GameObject> _pool;
public GameObject prefab
{
set {
_prefab = value;
}
}
//TODO... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField]
private GameObject _defaultPrefab;
#region Public methods and properties
public GameObject defaultPrefab
{
set
{
_defaultPrefab = ... | Restructure to start implementing category based pool. | Restructure to start implementing category based pool.
| C# | mit | dimixar/audio-controller-unity |
f28f954afd0e07d7756a073de56aab210640563c | Menora/src/Program.cs | Menora/src/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Mono.Options;
namespace Menora
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] arg... | using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Mono.Options;
namespace Menora
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] arg... | Change default configuration file name. | Change default configuration file name.
| C# | bsd-2-clause | r3c/menora |
7555d04ea4d4aed20a09b305847fdb2b5dedf72a | Leetcode/CombinationSum.cs | Leetcode/CombinationSum.cs | namespace Playground.Leetcode
{
using System;
using System.Collections.Generic;
public static class CombinationSum
{
// Problem number 377. https://leetcode.com/problems/combination-sum-iv/
public static int CombinationSum4(int[] nums, int target)
{
//Array.Sort(nums... | namespace Playground.Leetcode
{
using System.Collections.Generic;
public static class CombinationSum
{
// Problem number 377. https://leetcode.com/problems/combination-sum-iv/
public static int CombinationSum4(int[] nums, int target)
{
var count = 0;
var coun... | Remove unnecessary using and comment. | Remove unnecessary using and comment.
| C# | mit | niarora/Playground |
020c613506c8796ac2bc2541740360e7ab62422b | Chapter09/NoNewExceptionAreAllowed/RepositoryExceptions/Persistence/UserNotFoundException.cs | Chapter09/NoNewExceptionAreAllowed/RepositoryExceptions/Persistence/UserNotFoundException.cs | using System;
namespace RepositoryExceptions.Persistence
{
/// <summary>
/// New exception introduced
/// </summary>
public class UserNotFoundException : Exception
{
public UserNotFoundException() : base()
{
}
public UserNotFoundException(string message) : base(mes... | using System;
namespace RepositoryExceptions.Persistence
{
/// <summary>
/// New exception introduced
/// </summary>
public class UserNotFoundException : EntityNotFoundException
{
public UserNotFoundException() : base()
{
}
public UserNotFoundException(string messa... | Make new exception inherit from known type. Tests ok. | Make new exception inherit from known type. Tests ok.
| C# | mit | Systemutvikler/AdaptiveCode2e |
07e3eee6609fd6e6f404b120fe68f286751a36f0 | sdk/Models/ChargeRequestStripeConnect.cs | sdk/Models/ChargeRequestStripeConnect.cs | namespace Paydock_dotnet_sdk.Models
{
public class ChargeRequestStripeConnect : ChargeRequestBase
{
public MetaData meta;
}
public class MetaData
{
public string stripe_direct_account_id;
public string stripe_destination_account_id;
public string stripe_transfer_group;
public Transfer[] stripe_trans... | namespace Paydock_dotnet_sdk.Models
{
public class ChargeRequestStripeConnect : ChargeRequestBase
{
public MetaData meta;
public Transfer[] transfer;
}
public class MetaData
{
public string stripe_direct_account_id;
public decimal stripe_application_fee;
public string stripe_destination_account_id;
... | Update stripe connect objects based on changes to the API | Update stripe connect objects based on changes to the API
| C# | mit | PayDockDev/paydock_dotnet_sdk |
52cfdf75f24059a54be5896e8c873741e5162026 | src/Microsoft.AspNet.Html.Abstractions/IHtmlContentBuilder.cs | src/Microsoft.AspNet.Html.Abstractions/IHtmlContentBuilder.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.
namespace Microsoft.AspNet.Html.Abstractions
{
/// <summary>
/// A builder for HTML content.
/// </summary>
public interface IHtmlConte... | // 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.
namespace Microsoft.AspNet.Html.Abstractions
{
/// <summary>
/// A builder for HTML content.
/// </summary>
public interface IHtmlConte... | Add AppendEncoded to the builder | Add AppendEncoded to the builder
This is needed because a builder may have an optimized path for an
unencoded string. There's also no 'common' encoded string implementation
so it's much more straightforward to put this on the interface.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
148a118004061adddc72d7ee334c857bf83cc5fa | SOVND.Client/Views/NewChannel.xaml.cs | SOVND.Client/Views/NewChannel.xaml.cs | using SOVND.Client.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
usin... | using SOVND.Client.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
usin... | Return name of channel so we can subscribe to it | Return name of channel so we can subscribe to it
| C# | epl-1.0 | GeorgeHahn/SOVND |
228cb896e4c09c2904a1c838836313879d0a4612 | src/Downlink.GitHub/GitHubCredentials.cs | src/Downlink.GitHub/GitHubCredentials.cs | namespace Downlink.GitHub
{
public class GitHubCredentials
{
public GitHubCredentials(string apiToken, string repoId)
{
Token = apiToken;
var segs = repoId.Split('/');
if (segs.Length != 2) throw new System.InvalidOperationException("Could not parse repository... | namespace Downlink.GitHub
{
public class GitHubCredentials
{
public GitHubCredentials(string apiToken, string repoId)
{
Token = apiToken;
var segs = repoId.Split('/');
if (segs.Length != 0) return;
if (segs.Length != 2) throw new System.InvalidOper... | Fix bug in GitHub backend | Fix bug in GitHub backend
| C# | mit | agc93/downlink,agc93/downlink |
7482015d7ff7e4cce197c5c591346f25447ca79d | Obvs.RabbitMQ/Properties/AssemblyInfo.cs | Obvs.RabbitMQ/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("Ob... | 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("Obvs.RabbitMQ")]
[assembly: AssemblyDescr... | Add author to assembly properties | Add author to assembly properties
| C# | mit | inter8ection/Obvs,inter8ection/Obvs.RabbitMQ |
3a7b01e747b431ff86c7f64ecb37d7e895da6d2d | PlatformSamples/AspNetCoreMvc/Program.cs | PlatformSamples/AspNetCoreMvc/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace AspNetCoreMvc
{
public class Program... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace AspNetCoreMvc
{
public class Program... | Use command line args when configuring the server | Use command line args when configuring the server
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui |
f222de07c357b62ae6f4cee8e5884aa5ae8c997d | LSDStay/PSXFinder.cs | LSDStay/PSXFinder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace LSDStay
{
public static class PSXFinder
{
public static Process FindPSX()
{
Process psx = Process.GetProcessesByName("psxfin").FirstOrDefault();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace LSDStay
{
public static class PSXFinder
{
public static Process FindPSX()
{
Process psx = Process.GetProcessesByName("psxfin").FirstOrDefault();
return ps... | Add methods for opening and closing PSX handle | Add methods for opening and closing PSX handle
| C# | mit | Figglewatts/LSDStay |
e11261e15d65f5c5bf952a1d8d7028ed289011d3 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate
assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned
3.1.0.
| C# | mit | autofac/Autofac.Extras.Moq |
26f4fd4897fcab8008968b8792e241bde1cc0c94 | src/Blogifier.Core/Services/MailKitService.cs | src/Blogifier.Core/Services/MailKitService.cs | using MailKit.Net.Smtp;
using MimeKit;
using System;
using System.Threading.Tasks;
namespace Blogifier.Core.Services
{
public class MailKitService : IEmailService
{
private readonly IDataService _db;
public MailKitService(IDataService db)
{
_db = db;
}
pub... | using MailKit.Net.Smtp;
using MimeKit;
using System;
using System.Threading.Tasks;
namespace Blogifier.Core.Services
{
public class MailKitService : IEmailService
{
private readonly IDataService _db;
public MailKitService(IDataService db)
{
_db = db;
}
pub... | Resolve a problem with Obsolete controller | Resolve a problem with Obsolete controller
The MailboxAddress uses an Obsolete constructor. The problem is resolved by adding the name of the sender. | C# | mit | blogifierdotnet/Blogifier.Core,blogifierdotnet/Blogifier.Core |
e57964e978999db4dfd00ab78560cd07dad3bb1b | src/Api/Models/Response/DomainsResponseModel.cs | src/Api/Models/Response/DomainsResponseModel.cs | using System;
using Bit.Core.Domains;
using System.Collections.Generic;
using Newtonsoft.Json;
using Bit.Core.Enums;
namespace Bit.Api.Models
{
public class DomainsResponseModel : ResponseModel
{
public DomainsResponseModel(User user)
: base("domains")
{
if(user == null... | using System;
using Bit.Core.Domains;
using System.Collections.Generic;
using Newtonsoft.Json;
using Bit.Core.Enums;
using System.Linq;
namespace Bit.Api.Models
{
public class DomainsResponseModel : ResponseModel
{
public DomainsResponseModel(User user)
: base("domains")
{
... | Rework models for global domains | Rework models for global domains
| C# | agpl-3.0 | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core |
5a92e34a6b234722b7b77d8e44e42871c760fc8c | AxosoftAPI.NET/Properties/AssemblyInfo.cs | AxosoftAPI.NET/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("AxosoftAPI.NET")]
[assembly: AssemblyDesc... | 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("AxosoftAPI.NET")]
[assembly: AssemblyDesc... | Change project version based on lateset NuGet package. | Change project version based on lateset NuGet package.
| C# | mit | Axosoft/AxosoftAPI.NET |
27a1860e4c68772a696d62ab415c2dbb4ecb9f66 | CertiPay.Common.Testing/TestExtensions.cs | CertiPay.Common.Testing/TestExtensions.cs | namespace CertiPay.Common.Testing
{
using ApprovalTests;
using Newtonsoft.Json;
using Ploeh.AutoFixture;
public static class TestExtensions
{
private static readonly Fixture _fixture = new Fixture { };
/// <summary>
/// Runs ApprovalTests's VerifyJson against a JSON.net se... | namespace CertiPay.Common.Testing
{
using ApprovalTests;
using Newtonsoft.Json;
using Ploeh.AutoFixture;
public static class TestExtensions
{
private static readonly Fixture _fixture = new Fixture { };
/// <summary>
/// Runs ApprovalTests's VerifyJson against a JSON.net se... | Update comments on test extensions | Update comments on test extensions
| C# | mit | mattgwagner/CertiPay.Common |
eaa88601a4051b8c1c22b2f360943d2e78b7002c | Common/Contract/Service/IPageExtractor.cs | Common/Contract/Service/IPageExtractor.cs | using MyDocs.Common.Contract.Storage;
using MyDocs.Common.Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyDocs.Common.Contract.Service
{
public interface IPageExtractor
{
IEnumerable<string> Support... | using MyDocs.Common.Contract.Storage;
using MyDocs.Common.Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyDocs.Common.Contract.Service
{
public interface IPageExtractor
{
IEnumerable<string> Support... | Use interfaces instead of concrete types in file definition | Use interfaces instead of concrete types in file definition
| C# | mit | eggapauli/MyDocs,eggapauli/MyDocs |
bdf1c3bf006c93dad0f0efefbebcb8b90dd589ea | src/DateTimeExtension.cs | src/DateTimeExtension.cs | using System;
namespace ExtensionMethods
{
public static class MyExtensionMethods
{
public static DateTime Tomorrow(this DateTime date)
{
return date.AddDays(1);
}
public static DateTime Yesterday(this DateTime date)
{
return date.Add... | using System;
namespace ExtensionMethods
{
public static class MyExtensionMethods
{
public static DateTime Tomorrow(this DateTime date)
{
return date.AddDays(1);
}
public static DateTime Yesterday(this DateTime date)
{
return date.Add... | Adjust rule for Age Calc. | Adjust rule for Age Calc.
| C# | apache-2.0 | raphaelheitor/calendary |
cb35905df29211bfc4853259c32ecdd9950680f6 | Assets/Scripts/TriggerDestroy.cs | Assets/Scripts/TriggerDestroy.cs | using UnityEngine;
using System.Collections;
public class TriggerDestroy : MonoBehaviour
{
public Transform owner;
public float ensureDestroyAfter = 5f;
void Update()
{
ensureDestroyAfter -= Time.deltaTime;
}
void OnTriggerEnter(Collider other)
{
if (other.transform.name != owner.name)
{
return;
... | using UnityEngine;
using System.Collections;
public class TriggerDestroy : MonoBehaviour
{
public Transform owner;
public float ensureDestroyAfter = 2f;
void Update()
{
ensureDestroyAfter -= Time.deltaTime;
if (ensureDestroyAfter <= 0) {
Destroy(gameObject);
}
}
void OnTriggerEnter(Collider other)
... | Fix safety measures. Destroy missing. | Fix safety measures. Destroy missing.
| C# | mit | toqueteos/bacon |
86892bf18f9f9350b1d39ed7a1f19d671b210521 | Utilities/FieldInfoExtensions.cs | Utilities/FieldInfoExtensions.cs | #region Apache License 2.0
// Copyright 2015 Thaddeus Ryker
//
// 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
//
// Unles... | #region Apache License 2.0
// Copyright 2015 Thaddeus Ryker
//
// 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
//
// Unles... | Improve accuracy of IsBackingField extension method. | Improve accuracy of IsBackingField extension method.
| C# | apache-2.0 | wiredwiz/DotSerialize |
5a1888b609bab6f777222e87a1283de797694261 | ClearMeasure.NumberCruncher.Console/Program.cs | ClearMeasure.NumberCruncher.Console/Program.cs | using System;
using System.Collections.Generic;
using ClearMeasure.NumberCruncher;
using ClearMeasure.NumberCruncher.PrinterFormatters;
namespace TheTesst
{
class Program
{
static void Main(string[] args)
{
var formatter = new DefaultPrinterFormatter(() => new FileResult... | using System;
using System.Collections.Generic;
using ClearMeasure.NumberCruncher;
using ClearMeasure.NumberCruncher.PrinterFormatters;
namespace TheTesst
{
class Program
{
static void Main(string[] args)
{
var formatter = new DefaultPrinterFormatter(() => new StringBuil... | Use StringBuilderResultStore in the console application | Use StringBuilderResultStore in the console application | C# | mit | mynkow/ClearMeasure |
f32780c7865d8f158d93f3f7e89b6e0ff7d4201a | Moya/Exceptions/MoyaException.cs | Moya/Exceptions/MoyaException.cs | namespace Moya.Exceptions
{
using System;
public class MoyaException : Exception
{
public MoyaException(String message) : base(message)
{
}
}
} | namespace Moya.Exceptions
{
using System;
/// <summary>
/// Represents errors that occur during execution of Moya.
/// </summary>
public class MoyaException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="MoyaException"/> class
/// with a sp... | Add xml documentation to moya exceptions | Add xml documentation to moya exceptions
| C# | mit | Hammerstad/Moya |
c454d860db9f91b7f2c54caa93134d5b3cefce42 | EDDiscovery/Controls/StatusStripCustom.cs | EDDiscovery/Controls/StatusStripCustom.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ExtendedControls
{
public class StatusStripCustom : StatusStrip
{
public const int WM_NCHITTEST = 0x84;
public const int WM_NCLBUTTONDOWN = 0xA1;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ExtendedControls
{
public class StatusStripCustom : StatusStrip
{
public const int WM_NCHITTEST = 0x84;
public const int WM_NCLBUTTONDOWN = 0xA1;
... | Work around faulty StatusStrip implementations | Work around faulty StatusStrip implementations
Some StatusStrip implementations apparently return HT_CLIENT
for the sizing grip where they should return HT_BOTTOMRIGHT.
| C# | apache-2.0 | andreaspada/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery |
99827425ed2777b67e2eb6da5538e8ccb7bb1cab | ErikLieben.Data/Repository/IRepository.cs | ErikLieben.Data/Repository/IRepository.cs | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T> : IEnumerable<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T i... | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T> : IEnumerable<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T i... | Add find first or default | Add find first or default
| C# | mit | eriklieben/ErikLieben.Data |
6a5c4cc05f3f91305d7b8fa5044881c02a8b1bd3 | src/MobileKidsIdApp/MobileKidsIdApp/Views/MainPage.cs | src/MobileKidsIdApp/MobileKidsIdApp/Views/MainPage.cs | using MobileKidsIdApp.ViewModels;
using Xamarin.Forms;
namespace MobileKidsIdApp.Views
{
public class MainPage : TabbedPage
{
private ApplicationBase CurrentApp => Application.Current as ApplicationBase;
public MainPage()
{
Page childListPage = CurrentApp.CreatePage<ChildP... | using MobileKidsIdApp.ViewModels;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
namespace MobileKidsIdApp.Views
{
public class MainPage : Xamarin.Forms.TabbedPage
{
private ApplicationBase CurrentApp => Xamarin.Forms.Application.Current as Applic... | Set tabs on Android to be on the bottom | Set tabs on Android to be on the bottom
| C# | apache-2.0 | HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp |
7f9d1a4dff0b6a3da10d857c92489859df99267a | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
using System.Threading.Tasks;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes;
private readonly IDiscoverableCol... | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
using System.Threading.Tasks;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes;
private readonly IDiscoverableCol... | Add Request Authorizer to master request runtime | Add Request Authorizer to master request runtime
| C# | mit | Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse... |
9d7b9018f434ec811a74a41be7b693ac782b53db | DereTore.Applications.StarlightDirector/Entities/CompiledScore.cs | DereTore.Applications.StarlightDirector/Entities/CompiledScore.cs | using System.Collections.Generic;
using System.IO;
using System.Text;
using CsvHelper;
using CsvHelper.Configuration;
using DereTore.Applications.StarlightDirector.Components;
using DereTore.Applications.StarlightDirector.Entities.Serialization;
namespace DereTore.Applications.StarlightDirector.Entities {
public ... | using System.Collections.Generic;
using System.IO;
using System.Text;
using CsvHelper;
using CsvHelper.Configuration;
using DereTore.Applications.StarlightDirector.Components;
using DereTore.Applications.StarlightDirector.Entities.Serialization;
namespace DereTore.Applications.StarlightDirector.Entities {
public ... | Use Unix line feed for score exportation. | Use Unix line feed for score exportation.
| C# | mit | OpenCGSS/DereTore,OpenCGSS/DereTore,hozuki/DereTore,hozuki/DereTore,hozuki/DereTore,OpenCGSS/DereTore |
772a3b9ab2ef7eb30889fc853f1870baa42a758c | Enigma/EnigmaUtilities/Components/Plugboard.cs | Enigma/EnigmaUtilities/Components/Plugboard.cs | // Plugboard.cs
// <copyright file="Plugboard.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace EnigmaUtilities.Components
{
/// <summary>
/// An implementation of the plug board component for the enigma machine.
/// </summary>
... | // Plugboard.cs
// <copyright file="Plugboard.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace EnigmaUtilities.Components
{
/// <summary>
/// An implementation of the plug board component for the enigma machine.
/// </summary>
... | Stop errors if invalid plugboard settings and inputted into the constructor The constructor would throw errors if the length of a string in the string array of settings was of length 1 or 0. Now it only adds plug settings with a length of 2 or above | Stop errors if invalid plugboard settings and inputted into the
constructor
The constructor would throw errors if the length of a string in the
string array of settings was of length 1 or 0. Now it only adds plug
settings with a length of 2 or above | C# | mit | It423/enigma-simulator,wrightg42/enigma-simulator |
a55b275585e04f29c0ce40bd225541ead2ed7c3d | debugger/ios-list-usb-devices/src/Program.cs | debugger/ios-list-usb-devices/src/Program.cs | using System;
using System.Threading;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.iOS.ListUsbDevices
{
internal static class Program
{
private static bool ourFinished;
private static int Main(string[] args)
{
if (args.Length != 2)
{
Consol... | using System;
using System.Net.Sockets;
using System.Threading;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.iOS.ListUsbDevices
{
internal static class Program
{
private static bool ourFinished;
private static int Main(string[] args)
{
if (args.Length != 2)
... | Fix listing iOS devices on Windows | Fix listing iOS devices on Windows
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
0511e0b47526cc972dba76b5f37692f09a1122a5 | Word2007/DaisyWord2007AddIn/ExceptionReport.cs | Word2007/DaisyWord2007AddIn/ExceptionReport.cs | using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
namespace Daisy.SaveAsDAISY.Addins.Word2007 {
public partial class ExceptionReport : Form {
private Exception ExceptionRaised { get; }
public ExceptionReport(Exception raised) {
InitializeComponent(... | using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
namespace Daisy.SaveAsDAISY.Addins.Word2007 {
public partial class ExceptionReport : Form {
private Exception ExceptionRaised { get; }
public ExceptionReport(Exception raised) {
InitializeComponent(... | Improve exception report to also get inner exceptions if possible | Improve exception report to also get inner exceptions if possible
| C# | bsd-3-clause | daisy/word-save-as-daisy,daisy/word-save-as-daisy,daisy/word-save-as-daisy,daisy/word-save-as-daisy |
2f237ca1658a8077bea84ed459f0ba46718ac5c4 | src/Metadata/BrokerMeta.cs | src/Metadata/BrokerMeta.cs | using System.Collections.Generic;
namespace kafka4net.Metadata
{
class BrokerMeta
{
public int NodeId;
public string Host;
public int Port;
// Not serialized, just a link to connection associated with this broker
internal Connection Conn;
public o... | using System;
using System.Collections.Generic;
namespace kafka4net.Metadata
{
class BrokerMeta
{
public int NodeId;
public string Host;
public int Port;
// Not serialized, just a link to connection associated with this broker
internal Connection Conn;
... | Fix comparer. Seed node all have NodeId=-99, so need to compare their fields. | Fix comparer. Seed node all have NodeId=-99, so need to compare their fields.
Fix #16.
| C# | apache-2.0 | vikmv/kafka4net,vikmv/kafka4net,vikmv/kafka4net,ntent-ad/kafka4net,ntent-ad/kafka4net,ntent-ad/kafka4net |
156817e9da2ae1feff5ac97a61e3bbb2f0113142 | StructsAndEnums.cs | StructsAndEnums.cs | using System.Drawing;
public struct FBAdSize {
SizeF size;
}
public struct FBAdStarRating {
float value;
int scale;
}
| using System.Drawing;
public struct FBAdSize {
public SizeF size;
}
public struct FBAdStarRating {
public float value;
public int scale;
}
| Fix the access level on the size and rating structs | Fix the access level on the size and rating structs
Test Plan: manual
Reviewers: justin, srimoyee, tberman
Reviewed By: tberman
Subscribers: tberman, peter, justin, stephan, serdar
Differential Revision: http://phabricator.thefactory.com/D3824
| C# | mit | thefactory/FBAudienceNetwork-Sharp |
24eebcbcccec4ac7011ee69f73725d1ee1d48d65 | consoleApp/Program.cs | consoleApp/Program.cs | using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World, I was created by my father, Bigsby, in an unidentified evironment!");
Console.WriteLine("Bigsby Gates was here!");
Co... | using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World, I was created by my father, Bigsby, in an unidentified evironment!");
Console.WriteLine("Bigsby Gates was here!");
Co... | Add Bigsby Jobs was here | Add Bigsby Jobs was here
| C# | apache-2.0 | Bigsby/NetCore,Bigsby/NetCore,Bigsby/NetCore |
beee091f135774e54f10944d5f83cfa122700b93 | IntervalReachedEventArgs.cs | IntervalReachedEventArgs.cs | using System;
using Microsoft.SPOT;
namespace IntervalTimer
{
public class IntervalReachedEventArgs : EventArgs
{
public String Message { get; set; }
public IntervalReachedEventArgs(String message)
{
Message = message;
}
}
}
| using System;
using Microsoft.SPOT;
namespace IntervalTimer
{
public class IntervalReachedEventArgs : EventArgs
{
public int DurationNumber { get; set; }
public IntervalReachedEventArgs(int durationNumber)
{
DurationNumber = durationNumber;
}
}
}
| Change IntervalReached event to contain duration position. | Change IntervalReached event to contain duration position.
| C# | mit | jcheng31/IntervalTimer |
362a5a39d0068d3a143fd245ef80a053995c6a8c | osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs | osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.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.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Osu.Mods
{
public ... | // 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.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.UI;
using osu.... | Scale the playfield to avoid off-screen objects | Scale the playfield to avoid off-screen objects
| C# | mit | ppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new |
134b585e640601d6ebc4cb735c5feb40eaee7289 | test/messaging/SmsMessageSerializationTests.cs | test/messaging/SmsMessageSerializationTests.cs | using System.Dynamic;
using System.Xml.Serialization;
using com.esendex.sdk.core;
using com.esendex.sdk.messaging;
using com.esendex.sdk.utilities;
using NUnit.Framework;
namespace com.esendex.sdk.test.messaging
{
[TestFixture]
public class SmsMessageSerializationTests
{
[Test]
... | using com.esendex.sdk.core;
using com.esendex.sdk.messaging;
using com.esendex.sdk.utilities;
using NUnit.Framework;
namespace com.esendex.sdk.test.messaging
{
[TestFixture]
public class SmsMessageSerializationTests
{
[TestCase(CharacterSet.Auto, @"<?xml version=""1.0"" encoding=""utf-8"... | Make characterset serialisation test explicit | Make characterset serialisation test explicit
| C# | bsd-3-clause | Codesleuth/esendex-dotnet-sdk |
4b88b4a9467e8af1ccfd5f8c36efc8d7f9cb90c3 | Assets/MMM/Trails/Scripts/SceneSwitcher.cs | Assets/MMM/Trails/Scripts/SceneSwitcher.cs | using UnityEngine;
using System.Collections;
/**
* Use Keyboard to switch between all scenes in build
* Wraps from last Scene back to first and vice versa
*/
namespace mmm {
public class SceneSwitcher : MonoBehaviour {
public KeyCode keyNext = KeyCode.Equals;
public KeyCode keyPrevious = Key... | using UnityEngine;
using System.Collections;
/**
* Use Keyboard to switch between all scenes in build
* Wraps from last Scene back to first and vice versa
*/
namespace mmm {
public class SceneSwitcher : MonoBehaviour {
public KeyCode keyNext = KeyCode.Equals;
public KeyCode keyPrevious = Key... | Fix for Scene Switcher negative wraparound | Fix for Scene Switcher negative wraparound
| C# | mit | momo-the-monster/workshop-trails |
3a5bc4ddf695c2376135c566b44c4229c1c50be2 | QueueDataGraphic/QueueDataGraphic/Form1.cs | QueueDataGraphic/QueueDataGraphic/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;
namespace QueueDataGraphic
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCom... | 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;
namespace QueueDataGraphic
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCom... | Call SetWidth and SetHeight method | Call SetWidth and SetHeight method
Call SetWidth and SetHeight method
| C# | apache-2.0 | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope |
81915b8d3f6529099ea5f9e61b950c2c1565cbd2 | src/Clide.Vsix/Properties/AssemblyInfo.cs | src/Clide.Vsix/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyDescription ("Clide.Vsix")]
[assembly: InternalsVisibleTo ("Clide.IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d9776e258bdf5f7c38f3c880404b9861ebbd235d8198315cdfda0f0c25b18608bdfd03e34bac9... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo ("Clide.IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d9776e258bdf5f7c38f3c880404b9861ebbd235d8198315cdfda0f0c25b18608bdfd03e34bac9d0ec95766e8c3928140c6eda581a9448066af7dfaf88d3b... | Remove duplicate attribute that fails the build | Remove duplicate attribute that fails the build
| C# | mit | clariuslabs/clide,clariuslabs/clide,clariuslabs/clide,tondat/clide,tondat/clide,tondat/clide |
5d9ee2382388908e7cc852a74107c60be2815a89 | Assets/Scripts/Stage/ControlDisplay.cs | Assets/Scripts/Stage/ControlDisplay.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ControlDisplay : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private SpriteRenderer controlRenderer;
[SerializeField]
private Text controlText;
#pr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ControlDisplay : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private SpriteRenderer controlRenderer;
[SerializeField]
private Text controlText;
#pr... | Fix incorrect control display key | Fix incorrect control display key
| C# | mit | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare |
349ae443a302a726ebf8ca3da207738a486a6a55 | src/Stormpath.Owin.Common.Views.Precompiled/ViewResolver.cs | src/Stormpath.Owin.Common.Views.Precompiled/ViewResolver.cs | // <copyright file="ViewResolver.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lic... | // <copyright file="ViewResolver.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lic... | Fix incorrect default view names | Fix incorrect default view names
| C# | apache-2.0 | stormpath/stormpath-dotnet-owin-middleware |
97618e563c2e9aa28bf8093700645af2e1f0494f | Sandra.UI.WF.Chess/SettingsTextBox.UIActions.cs | Sandra.UI.WF.Chess/SettingsTextBox.UIActions.cs | /*********************************************************************************
* SettingsTextBox.UIActions.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | /*********************************************************************************
* SettingsTextBox.UIActions.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | Implement TrySaveToFile() by using File.WriteAllText(). | Implement TrySaveToFile() by using File.WriteAllText().
| C# | apache-2.0 | PenguinF/sandra-three |
29518d60fdb183daa0104bd9e7ad88ed761bb31e | src/Glimpse.Server.Web/GlimpseServerWebOptions.cs | src/Glimpse.Server.Web/GlimpseServerWebOptions.cs | using System;
using System.Collections.Generic;
namespace Glimpse.Server
{
public class GlimpseServerWebOptions
{
public GlimpseServerWebOptions()
{
AllowedUserRoles = new List<string>();
}
public bool AllowRemote { get; set; }
public IList<string> Allowed... | using System;
namespace Glimpse.Server
{
public class GlimpseServerWebOptions
{
public bool AllowRemote { get; set; }
}
} | Revert "Add option for allowed user roles" | Revert "Add option for allowed user roles"
This reverts commit afa31ac8b25d9ed3fac1d5531cb83c897e876b4f.
| C# | mit | mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimp... |
e01d344a7a6daf4334ee890dcf016709f242d588 | UniProgramGen/ResultsTab.cs | UniProgramGen/ResultsTab.cs | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using UniProgramGen.Data;
namespace UniProgramGen
{
public partial class ResultsTab : UserControl
{
public ResultsTab()
{
InitializeComponent();
}
private List<Teacher> teachers;
pr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using UniProgramGen.Data;
namespace UniProgramGen
{
public partial class ResultsTab : UserControl
{
public ResultsTab()
{
InitializeComponent();
}
private List<Teacher> t... | Add dumping of solution based on dummy data | Add dumping of solution based on dummy data
| C# | bsd-2-clause | victoria92/university-program-generator,victoria92/university-program-generator |
0473183ae251e6c80fdf3c995a37a76e0804ccd0 | src/JsonToDictionaryConverter.cs | src/JsonToDictionaryConverter.cs | using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace template_designer
{
public class JsonToDictionaryConverter
{
public static Dictionary<string, object> DeserializeJsonToDictionary(string json)
{
var jObject = JObject.Parse(json);
var dict = Parse... | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace template_designer
{
public class JsonToDictionaryConverter
{
public static Dictionary<string, object> DeserializeJsonToDictionary(string json)
{
var jObject = JObject.Parse(json);
... | Improve json conversion: support more types + cleanup code | Improve json conversion: support more types + cleanup code
| C# | mit | tdesmet/template-designer |
50287dea334c6eee0f60e1ca867bdac46d8e2b4a | src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.cs | src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.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.
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal partial class CodeStyleOption2<T>
{
public st... | // 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.
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal partial class CodeStyleOption2<T>
{
public st... | Switch back to implicit operators for conversions to and from CodeStyleOption and CodeStyleOption2 respectively. These are needed to prevent InvalidCastException when user invokes `optionSet.WithChangedOption(..., new CodeStyleOption<bool>(...))` and any of our internal code base tries to fetch the option value with `o... | Switch back to implicit operators for conversions to and from CodeStyleOption and CodeStyleOption2 respectively. These are needed to prevent InvalidCastException when user invokes `optionSet.WithChangedOption(..., new CodeStyleOption<bool>(...))` and any of our internal code base tries to fetch the option value with `o... | C# | mit | panopticoncentral/roslyn,eriawan/roslyn,stephentoub/roslyn,gafter/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,tmat/roslyn,KirillOsenkov/roslyn,bartdesmet/roslyn,heejaechang/roslyn,sharwell/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,davkean/roslyn,ae... |
0334077bcd6bb79b378fe3fc5bd91c73223b2494 | UnityProject/Assets/Plantain/Trigger/TriggerPropagator.cs | UnityProject/Assets/Plantain/Trigger/TriggerPropagator.cs | using Plantain;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Plantain/Trigger/Propagator")]
public class TriggerPropagator : Trigger {
/// <summary>
/// A list of GameObjects that will have the current GameObject's triggers passed on to.
/// </summary>
public List<GameObject>... | using Plantain;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Plantain/Trigger/Propagator")]
public class TriggerPropagator : Trigger {
/// <summary>
/// Prevent a trigger from hopping any further than the targeted objects.
/// </summary>
public bool preventPropigation = false... | Add option for only 1 hop propagation | Add option for only 1 hop propagation
Sometimes, you don't want to go to the end of the line of propagators.
| C# | mit | Everspace/Plantain |
32c0dcb20dd8b483423648ae51735a58a96b1d21 | Samesound/Global.asax.cs | Samesound/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Samesound
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Star... | using Samesound.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Samesound
{
public class WebApiApplication : System.Web.HttpApplicati... | Add Database initializer to Global | Add Database initializer to Global
| C# | mit | uheerme/core,uheerme/core,uheerme/core |
0fc13c3d21e49324359e1c999581df0c21381b78 | Gamedalf/Views/Shared/_Title.cshtml | Gamedalf/Views/Shared/_Title.cshtml | @using Microsoft.AspNet.Identity
<div class="row">
<div class="col-md-6">
<h1>
@ViewBag.Title
<small>
@ViewBag.Lead
</small>
</h1>
</div>
<div class="col-md-6">
<ul class="nav nav-pills pull-right">
@i... | @using Microsoft.AspNet.Identity
@using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
}
<div class="row">
<div class="col-md-6">
<h1>
@ViewBag.Title
<small>
@Vie... | Fix logout form input button | Fix logout form input button
| C# | mit | lucasdavid/Gamedalf,lucasdavid/Gamedalf |
73fa923e07529135f3d2be355233c31f8222cefa | plugins/TcpSocketDataSender/TcpSocketManager.cs | plugins/TcpSocketDataSender/TcpSocketManager.cs | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace TcpSocketDataSender
{
public class TcpSocketManager : IDisposable
{
private TcpClient _tcpClient;
BinaryWriter _writer = null;
public int ServerPort = 7839;
public string ServerIp = "127.0.0.1... | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace TcpSocketDataSender
{
public class TcpSocketManager : IDisposable
{
private TcpClient _tcpClient;
BinaryWriter _writer = null;
public int ServerPo... | Make tcpSocketManager writes async to avoid blocking everything else | Fix: Make tcpSocketManager writes async to avoid blocking everything else
Fixes #40 | C# | mit | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion |
cbaad4eb56bf69a733b15c46f0332ec8b78f82cc | osu.Game/Skinning/LegacyAccuracyCounter.cs | osu.Game/Skinning/LegacyAccuracyCounter.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
using o... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
using o... | Adjust accuracy display to match stable | Adjust accuracy display to match stable
| C# | mit | NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu |
65eb8d29a2fb79cd0bb192be1a4b751a6bcf9641 | src/Program.cs | src/Program.cs | using System;
using System.IO;
using System.Linq;
namespace Cams
{
class Program
{
static void Main(string[] args)
{
string rawDir = Path.Combine(Settings.Path, "raw");
string processedDir = Path.Combine(Settings.Path, "processed");
var cameras = Directory.GetDirectories(rawDir).Select(BuildCamera);
... | using System;
using System.IO;
using System.Linq;
namespace Cams
{
class Program
{
static void Main(string[] args)
{
string rawDir = Path.Combine(Settings.Path, "raw");
string processedDir = Path.Combine(Settings.Path, "processed");
var cameras = Directory.GetDirectories(rawDir).Select(BuildCamera);
... | Add message to exit in debug mode | Add message to exit in debug mode
| C# | mit | chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp |
91f16f2f18da2a1e171f862a5432fe33bf10caac | src/GitHubFeeds/Properties/AssemblyInfo.cs | src/GitHubFeeds/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("GitHubFeeds")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Bradley Grainger")]
[assembly: AssemblyProduct("GitHubFeeds")]
[assembly: AssemblyCopyright("Copyright 2... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("GitHubFeeds")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Bradley Grainger")]
[assembly: AssemblyProduct("GitHubFeeds")]
[assembly: AssemblyCopyright("Copyright 2... | Allow compiler to set assembly version. | Allow compiler to set assembly version.
If the AssemblyFileVersion attribute is omitted, both it and
AssemblyVersion will be set to an automatically-generated version.
| C# | mit | bgrainger/GitHubFeeds |
f5e1c0584ee73c8ce34df955a3a5937f1e692629 | VotingApplication/VotingApplication.Web/Views/Routes/BasicCreate.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/BasicCreate.cshtml | <div ng-controller="CreateBasicPageController">
<div>
<h2>Regular Poller?</h2>
Register for more config options. It's free!
</div>
<form name="quickPollForm">
<div id="question-block">
Your Question <br />
<input id="question" placeholder="E.g. Where should ... | <div ng-controller="CreateBasicPageController">
<div>
<h2>Regular Poller?</h2>
Register for more config options. It's free!
</div>
<form name="quickPollForm" ng-submit="createPoll(pollQuestion)">
<div id="question-block">
Your Question <br />
<input id="ques... | Return now submits quick poll | Return now submits quick poll
Change ng-click on button to ng-submit on form to allow Return key to
submit form.
| C# | apache-2.0 | JDawes-ScottLogic/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,J... |
9e9303a398a09668cae0c603389b9abdc9d65d0b | src/GiveCRM.Web/Views/Shared/_GlobFooter.cshtml | src/GiveCRM.Web/Views/Shared/_GlobFooter.cshtml | | @using GiveCRM.Web.Infrastructure
@if (ConfigurationSettings.IsUserVoiceIntegrationEnabled)
{
<script type="text/javascript">
var uvOptions = { };
(function() {
var uv = document.createElement('script');
uv.type = 'text/javascript';
uv.async = true;
... | Add UserVoice widget to global footer. | Add UserVoice widget to global footer.
The widget is placed on the right hand side of the window, half-way down
the vertical space. It is "fixed" to the window, so it will remain in
place as the user scrolls the page.
The widget might be better placed at the very bottom of the <body> tag in
_Layout.cshtml to improve... | C# | mit | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM |
62cdd453d600c0db503bf9cbdb9f749ac60e04ce | src/CGO.Web/Views/Shared/_LoginPartial.cshtml | src/CGO.Web/Views/Shared/_LoginPartial.cshtml | @if (Request.IsAuthenticated) {
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-user" style="color: #f2105c"></i> @Session["DisplayName"]<span class="caret"></span></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Profile", "Profile", "User")</li>
<li class="divide... | @if (Request.IsAuthenticated) {
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-user" style="color: #f2105c"></i> @Session["DisplayName"]<span class="caret"></span></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Profile", "Profile", "User")</li>
<li class="divide... | Fix Log Out link so it works everywhere. | Fix Log Out link so it works everywhere.
No more 404 if trying to log out from the admin area.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
c0410df3433f0ca7df7e864b02ec7ed992a48a8d | source/fitSharpTest/NUnit/Fit/ParseOperatorTest.cs | source/fitSharpTest/NUnit/Fit/ParseOperatorTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using fitSharp.Machine.Engine;
using fitSharp.Machine.Model;
using NUnit.Framework;
using fitSharp.Samples.Fit;
using fitSharp.Fit.Operators;
namespace fitSharp.Test.NUnit.Fit {
public class ParseOperatorTest<ParseOperatorType>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using fitSharp.Machine.Engine;
using fitSharp.Machine.Model;
using NUnit.Framework;
using fitSharp.Samples.Fit;
using fitSharp.Fit.Operators;
namespace fitSharp.Test.NUnit.Fit {
public class ParseOperatorTest<ParseOperatorType>
... | Refactor Expose parse operator to deriving tests. Use [SetUp] attribute to recreate parser for every test. | Refactor Expose parse operator to deriving tests. Use [SetUp] attribute to recreate parser for every test.
| C# | epl-1.0 | kimgr/fitsharp,deftom/fitsharp,kimgr/fitsharp,deftom/fitsharp,deftom/fitsharp,kimgr/fitsharp |
285f8b1bc4596052e0ed37ac867b9859ce731249 | src/Daterpillar.NET/Data/SQLiteSchemaAggregator.cs | src/Daterpillar.NET/Data/SQLiteSchemaAggregator.cs | using System;
using System.Data;
namespace Gigobyte.Daterpillar.Data
{
public class SQLiteSchemaAggregator : SchemaAggregatorBase
{
public SQLiteSchemaAggregator(IDbConnection connection) : base(connection)
{
}
protected override string GetColumnInfoQuery(string tableName)
... | using System;
using System.Data;
using Gigobyte.Daterpillar.Transformation;
using System.Text.RegularExpressions;
namespace Gigobyte.Daterpillar.Data
{
public class SQLiteSchemaAggregator : SchemaAggregatorBase
{
public SQLiteSchemaAggregator(IDbConnection connection) : base(connection)
{
... | Add implementation details to SQLiteSchema Aggregator | Add implementation details to SQLiteSchema Aggregator
| C# | mit | Ackara/Daterpillar |
3ae374c4cc405eb2668a91ed2bd257022be10f7e | PsistatsApp/Program.cs | PsistatsApp/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
namespace Psistats.App
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
namespace Psistats.App
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | Fix last remaining critical issue in sonar | Fix last remaining critical issue in sonar
| C# | mit | psistats/windows-client,psistats/windows-client,psistats/windows-client |
8d62d53fdb8e6c16f5361c9e7cea83cf3837fa2f | src/System.Text.Utf8/tests/TypeConstraintsTests.cs | src/System.Text.Utf8/tests/TypeConstraintsTests.cs | using System.Reflection;
using Xunit;
namespace System.Text.Utf8.Tests
{
public class TypeConstraintsTests
{
[Fact]
public void Utf8StringIsAStruct()
{
var utf8String = "anyString"u8;
Assert.True(utf8String.GetType().GetTypeInfo().IsValueType);
}
... | using System.Reflection;
using Xunit;
namespace System.Text.Utf8.Tests
{
public class TypeConstraintsTests
{
private Utf8String _anyUtf8String;
public TypeConstraintsTests()
{
_anyUtf8String = "anyString"u8;
}
[Fact]
public void Utf8StringIsAStruct... | Replace hard coded string with field in utf8string tests where the value is irrelevant | Replace hard coded string with field in utf8string tests where the value is irrelevant
| C# | mit | benaadams/corefxlab,adamsitnik/corefxlab,ericstj/corefxlab,VSadov/corefxlab,VSadov/corefxlab,Vedin/corefxlab,Vedin/corefxlab,VSadov/corefxlab,Vedin/corefxlab,ericstj/corefxlab,weshaggard/corefxlab,nguerrera/corefxlab,hanblee/corefxlab,ericstj/corefxlab,whoisj/corefxlab,stephentoub/corefxlab,stephentoub/corefxlab,benaad... |
0ac7ab30b99d25fb0cecd596f65b69c8d1c8dab9 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.SignalR")]
[assembly: AssemblyDescription("")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.SignalR")]
| Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.SignalR |
425ffc49d2cd4751c59da57f52fab708b11a241e | src/Cake.Terraform/TerraformApplyRunner.cs | src/Cake.Terraform/TerraformApplyRunner.cs | using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Terraform
{
public class TerraformApplyRunner : TerraformRunner<TerraformApplySettings>
{
public TerraformApplyRunner(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator too... | using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Terraform
{
public class TerraformApplyRunner : TerraformRunner<TerraformApplySettings>
{
public TerraformApplyRunner(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator too... | Use fullpath for Plan in Apply command | Use fullpath for Plan in Apply command
| C# | mit | erikvanbrakel/Cake.Terraform,erikvanbrakel/Cake.Terraform |
859afa880a436bcc163745ff37bc9987a2e7a384 | Scripting/Parser/Parser.cs | Scripting/Parser/Parser.cs | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
namespace IronAHK.Scripting
{
partial class Parser : ICodeParser
{
Dictionary<string, CodeMemberMethod> methods;
Type core;
const string mainScope = "";
CodeEnt... | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
namespace IronAHK.Scripting
{
partial class Parser : ICodeParser
{
Dictionary<string, CodeMemberMethod> methods;
Type core;
const string mainScope = "";
CodeEnt... | Set correct base type for script instances. | Set correct base type for script instances.
| C# | bsd-2-clause | michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,polyethene/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,yatsek/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK |
c437672bf62fa9d18517e5a5cf58bcb432e8b178 | CkanDotNet.Web/Views/Shared/Package/_Rate.cshtml | CkanDotNet.Web/Views/Shared/Package/_Rate.cshtml | @using CkanDotNet.Api.Model
@model Package
<div class="container">
<h2 class="container-title">Rate this Package</h2>
<div class="container-content">
@Html.Partial("~/Views/Shared/_Rating.cshtml", Model, new ViewDataDictionary { { "editable", true } })
</div>
</div>
| @using CkanDotNet.Api.Model
@model Package
<div class="container">
<h2 class="container-title">Rate this Dataset</h2>
<div class="container-content">
@Html.Partial("~/Views/Shared/_Rating.cshtml", Model, new ViewDataDictionary { { "editable", true } })
</div>
</div>
| Change ui text "Package" to "Dataset" | Change ui text "Package" to "Dataset"
| C# | apache-2.0 | DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API |
208374cf3c80bbea3810058f53f27bd2f79a2502 | CommonMarkSharp/InlineParsers/LineBreakParser.cs | CommonMarkSharp/InlineParsers/LineBreakParser.cs | using CommonMarkSharp.Blocks;
using CommonMarkSharp.Inlines;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommonMarkSharp.InlineParsers
{
public class LineBreakParser : IParser<LineBreak>
{
public string Start... | using CommonMarkSharp.Blocks;
using CommonMarkSharp.Inlines;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CommonMarkSharp.InlineParsers
{
public class LineBreakParser : IParser<LineBre... | Use Regex in stead of string | Use Regex in stead of string
| C# | mit | MortenHoustonLudvigsen/CommonMarkSharp,binki/CommonMarkSharp,MortenHoustonLudvigsen/CommonMarkSharp |
6c974cc3ff66781083c2194ec529ab344d53c92a | src/Stripe.net/Services/Customers/StripeCustomerListOptions.cs | src/Stripe.net/Services/Customers/StripeCustomerListOptions.cs | using Newtonsoft.Json;
namespace Stripe
{
public class StripeCustomerListOptions : StripeListOptions
{
[JsonProperty("created")]
public StripeDateFilter Created { get; set; }
}
} | using Newtonsoft.Json;
namespace Stripe
{
public class StripeCustomerListOptions : StripeListOptions
{
[JsonProperty("created")]
public StripeDateFilter Created { get; set; }
[JsonProperty("email")]
public string Email { get; set; }
}
} | Add the ability to list customers via email address | Add the ability to list customers via email address
| C# | apache-2.0 | stripe/stripe-dotnet,richardlawley/stripe.net |
5032cd582349392ada18f5c85c1155d7166a3464 | src/Arango/Arango.Client/API/ArangoClient.cs | src/Arango/Arango.Client/API/ArangoClient.cs | using System.Collections.Generic;
using System.Linq;
using Arango.Client.Protocol;
namespace Arango.Client
{
public static class ArangoClient
{
private static List<Connection> _connections = new List<Connection>();
public static string DriverName
{
get { return ... | using System.Collections.Generic;
using System.Linq;
using Arango.Client.Protocol;
namespace Arango.Client
{
public static class ArangoClient
{
private static Dictionary<string, Connection> _connections = new Dictionary<string, Connection>();
public const string DriverName = "ArangoD... | Make driver name and version static properties constants and use dictionary structure for connections to simplify their retrieval. | Make driver name and version static properties constants and use dictionary structure for connections to simplify their retrieval.
| C# | mit | yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET |
7905d085f91dccab832b0cdfe0d76530e75eb702 | BlogTemplate/Pages/Post.cshtml.cs | BlogTemplate/Pages/Post.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BlogTemplate.Models;
namespace BlogTemplate.Pages
{
public class PostModel : PageModel
{
private Blog _blog;
public PostModel(Blog blog)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BlogTemplate.Models;
namespace BlogTemplate.Pages
{
public class PostModel : PageModel
{
private Blog _blog;
public PostModel(Blog blog)
{
... | Read in post data from the data store | Read in post data from the data store
| C# | mit | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate |
33f809041f5f75ee8a5b7c6a18a3e16d88b5a7c6 | food_tracker/NutritionItem.cs | food_tracker/NutritionItem.cs | namespace food_tracker {
public class NutritionItem {
public string name { get; set; }
public double calories { get; set; }
public double carbohydrates { get; set; }
public double sugars { get; set; }
public double fats { get; set; }
public double saturatedFats { get... | using System.ComponentModel.DataAnnotations;
namespace food_tracker {
public class NutritionItem {
[Key]
public int NutritionItemId { get; set; }
public string name { get; set; }
public string dayId { get; set; }
public double calories { get; set; }
public double ca... | Add defulat constructor and add day as an attribute | Add defulat constructor and add day as an attribute
| C# | mit | lukecahill/NutritionTracker |
ce7689b8151eec607c964c0e005acd975af8728d | src/Bugsnag/IClient.cs | src/Bugsnag/IClient.cs | using Bugsnag.Payload;
namespace Bugsnag
{
public interface IClient
{
void Notify(System.Exception exception, Request request = null);
void Notify(System.Exception exception, Severity severity, Request request = null);
void Notify(System.Exception exception, HandledState severity, Request request = nul... | using Bugsnag.Payload;
namespace Bugsnag
{
public interface IClient
{
void Notify(System.Exception exception, Request request = null);
void Notify(System.Exception exception, Severity severity, Request request = null);
void Notify(System.Exception exception, HandledState severity, Request request = nul... | Add before notify to client interface | Add before notify to client interface
@codehex noticed this was missing
| C# | mit | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet |
245144a3878cd1068dba492cfdb38c864298970e | SPAD.Interfaces/Base/ISPADBackgroundWorker.cs | SPAD.Interfaces/Base/ISPADBackgroundWorker.cs | using System;
using System.Threading;
namespace SPAD.neXt.Interfaces.Base
{
public interface ISPADBackgroundThread
{
string WorkerName { get; }
bool IsRunning { get; }
TimeSpan Interval { get; }
bool ScheduleOnTimeout { get; }
EventWaitHandle SignalHandle { get; }
... | using System;
using System.Threading;
namespace SPAD.neXt.Interfaces.Base
{
public interface ISPADBackgroundThread
{
string WorkerName { get; }
bool IsRunning { get; }
TimeSpan Interval { get; }
bool ScheduleOnTimeout { get; }
EventWaitHandle SignalHandle { get; }
... | Add support to set thread priority | Add support to set thread priority
| C# | mit | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt |
902a0a3255d2773988e74eaa27dc9a061c79b56d | osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.cs | osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Mania.Difficulty;
using osu.Game.Rulesets.Mania.Mods;
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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Mania.Difficulty;
using osu.Game.Rulesets.Mania.Mods;
using os... | Update max combo test value | Update max combo test value
| C# | mit | ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu |
eb8cadd497d0ad074ed8883ab1b56d809a3b8969 | DataStats/Properties/AssemblyInfo.cs | DataStats/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("Da... | 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("Da... | Update build properties with correct data | Update build properties with correct data
| C# | mit | jdsandifer/DataStats |
f85e5c24282928646b0ce3d40bda2694e18c70c2 | OWLib/Properties/AssemblyInfo.cs | OWLib/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("OWLib")]
[assembly: AssemblyDescription("... | 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("OWLib")]
[assembly: AssemblyDescription("... | Add unknown file version placeholder | Add unknown file version placeholder
| C# | mit | kerzyte/OWLib,overtools/OWLib |
7187da36f325ae64977670c52a1402504b166acf | SignalR.AspNet/AspNetResponse.cs | SignalR.AspNet/AspNetResponse.cs | using System.Threading.Tasks;
using System.Web;
using SignalR.Abstractions;
namespace SignalR.AspNet
{
public class AspNetResponse : IResponse
{
private readonly HttpRequestBase _request;
private readonly HttpResponseBase _response;
public AspNetResponse(HttpRequestBase request, HttpR... | using System.Threading.Tasks;
using System.Web;
using SignalR.Abstractions;
namespace SignalR.AspNet
{
public class AspNetResponse : IResponse
{
private readonly HttpRequestBase _request;
private readonly HttpResponseBase _response;
public AspNetResponse(HttpRequestBase request, HttpR... | Remove duplicate line (copy paste bug). | Remove duplicate line (copy paste bug).
| C# | mit | shiftkey/SignalR,shiftkey/SignalR |
236573121eb3fea4ec5d4e1977b04944a121f4a6 | DevelopmentInProgress.DipState/IDipState.cs | DevelopmentInProgress.DipState/IDipState.cs | using System.Collections.Generic;
namespace DevelopmentInProgress.DipState
{
public interface IDipState
{
int Id { get; }
string Name { get; }
bool IsDirty { get; }
bool InitialiseWithParent { get; }
DipStateType Type { get; }
DipStateStatus Status { get; }
... | using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.DipState
{
public interface IDipState
{
int Id { get; }
string Name { get; }
bool IsDirty { get; }
bool InitialiseWithParent { get; }
DipStateType Type { get; }
DipStateStatus Status... | Add additional methods to interface | Add additional methods to interface
Add additional methods to interface
| C# | apache-2.0 | grantcolley/dipstate |
efb75d4423b351c6562714a76b3ceb8a81ec7291 | LINQToTTreeHelpers/LINQToTreeHelpers/FutureUtils/FutureTFile.cs | LINQToTTreeHelpers/LINQToTreeHelpers/FutureUtils/FutureTFile.cs | using System.IO;
namespace LINQToTreeHelpers.FutureUtils
{
/// <summary>
/// Future TFile - really just a normal TFile, but gets written out in the future...
/// </summary>
public class FutureTFile : FutureTDirectory
{
private static ROOTNET.Interface.NTFile CreateOpenFile(string ... | using System;
using System.IO;
namespace LINQToTreeHelpers.FutureUtils
{
/// <summary>
/// Future TFile - really just a normal TFile, but gets written out in the future...
/// </summary>
public class FutureTFile : FutureTDirectory
{
private static ROOTNET.Interface.NTFile CreateO... | Make sure file is open before getting on with it. | Make sure file is open before getting on with it.
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
53edf8eec270fbc50befa59d685c002ee2121b5c | SoraBot/SoraBot.Bot/Extensions/ServiceCollectionExtensions.cs | SoraBot/SoraBot.Bot/Extensions/ServiceCollectionExtensions.cs | using Discord;
using Discord.Commands;
using Discord.Rest;
using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using SoraBot.Data.Configurations;
namespace SoraBot.Bot.Extensions
{
public static class ServiceCollectionExtensions
{
public static ... | using Discord;
using Discord.Commands;
using Discord.Rest;
using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using SoraBot.Data.Configurations;
namespace SoraBot.Bot.Extensions
{
public static class ServiceCollectionExtensions
{
public static ... | Fix issue with misspelled commandservice | Fix issue with misspelled commandservice
| C# | agpl-3.0 | Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2 |
ccb9b07f5752573c6f8d063e1e9946c96e0263fb | src/Examples/MyStudio/ViewModels/RibbonViewModel.cs | src/Examples/MyStudio/ViewModels/RibbonViewModel.cs | namespace MyStudio.ViewModels
{
using Catel;
using Catel.MVVM;
using MyStudio.Models;
using MyStudio.Services;
public class RibbonViewModel : ViewModelBase
{
private StudioStateModel model;
private ICommandsService commandsService;
public RibbonViewModel(StudioStateM... | namespace MyStudio.ViewModels
{
using Catel;
using Catel.MVVM;
using MyStudio.Models;
using MyStudio.Services;
public class RibbonViewModel : ViewModelBase
{
private StudioStateModel model;
private ICommandsService commandsService;
public RibbonViewModel(StudioStateM... | Fix for win7 null reference exception on start | Fix for win7 null reference exception on start
| C# | mit | auz34/js-studio |
831ae11c7e18545d83746e36a378d59cf678522b | src/SceneSkope.ServiceFabric.EventHubs/EventHubConfiguration.cs | src/SceneSkope.ServiceFabric.EventHubs/EventHubConfiguration.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.EventHubs;
using ServiceFabric.Utilities;
namespace SceneSkope.ServiceFabric.EventHubs
{
public static class EventHubConfiguration
{
public static async Task<EventHubClient> GetEventHubClientAsync(string sectionN... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.EventHubs;
using ServiceFabric.Utilities;
namespace SceneSkope.ServiceFabric.EventHubs
{
public static class EventHubConfiguration
{
public static async Task<EventHubClient> GetEventHubClientAsync(string sectionN... | Make the api changes public! | Make the api changes public!
| C# | mit | sceneskope/service-fabric-event-hubs |
56d7c5dd33e8533c4a6f1764bbf786396a96b831 | osu.Framework.Tests/IO/DllResourceStoreTest.cs | osu.Framework.Tests/IO/DllResourceStoreTest.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.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.IO.Stores;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.IO
{
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 System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.IO.Stores;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.IO
{
public class... | Fix CI complaining about no `ConfigureAwait()` | Fix CI complaining about no `ConfigureAwait()`
| C# | mit | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.