commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
99298f472ba7f5deb7707abc268f2963798c4254 | Increment version code | akorb/SteamShutdown | SteamShutdown/Properties/AssemblyInfo.cs | SteamShutdown/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("SteamShutdown")]
[assembly: Assemb... | 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("SteamShutdown")]
[assembly: Assemb... | mit | C# |
5fc6196bef3c6f641d7040ba6140d28988b8270e | Remove length object from all JSON messages | mstrother/BmpListener | BmpListener/Bgp/BgpMessage.cs | BmpListener/Bgp/BgpMessage.cs | using System;
using System.Linq;
using Newtonsoft.Json;
namespace BmpListener.Bgp
{
public abstract class BgpMessage
{
protected BgpMessage(ref ArraySegment<byte> data)
{
var bgpHeader = new BgpHeader(data);
Type = bgpHeader.Type;
var offset = data.Offset + ... | using System;
using System.Linq;
using Newtonsoft.Json;
namespace BmpListener.Bgp
{
public abstract class BgpMessage
{
protected BgpMessage(ref ArraySegment<byte> data)
{
var bgpHeader = new BgpHeader(data);
Type = bgpHeader.Type;
var offset = data.Offset + ... | mit | C# |
a8b9c836d6805cd903722df2c270327dc31b83f6 | Add missing lock | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | msal/src/Microsoft.Identity.Client/Internal/ModuleInitializer.cs | msal/src/Microsoft.Identity.Client/Internal/ModuleInitializer.cs | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | mit | C# |
89880d4dadc429058ca857e08c50b38ce71c0962 | Set correct command | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors | samples/XamlTestApplicationPcl/ViewModels/MainWindowViewModel.cs | samples/XamlTestApplicationPcl/ViewModels/MainWindowViewModel.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Windows.Input;
using XamlTestApplication.ViewModels.Core;
namespace XamlTestApplication.ViewModels
{
public class MainWindowViewModel : ... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Windows.Input;
using XamlTestApplication.ViewModels.Core;
namespace XamlTestApplication.ViewModels
{
public class MainWindowViewModel : ... | mit | C# |
35512dc3a8b9b313a00f9cb9dedfd3c0da8a674c | use minified version of JS | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/MultiSelect.cshtml | src/StockportWebapp/Views/stockportgov/Shared/MultiSelect.cshtml | @model StockportWebapp.ViewModels.MultiSelect
<input type="hidden" id="@Model.ValueControlId-limit" value="@Model.Limit" />
<input type="hidden" class="multi-select-control" value="@Model.ValueControlId" />
@for (var i = 1; i <= Model.Limit; i++)
{
<div class="grid-100 grid-parent @Model.ValueControlId-div">
... | @model StockportWebapp.ViewModels.MultiSelect
<input type="hidden" id="@Model.ValueControlId-limit" value="@Model.Limit" />
<input type="hidden" class="multi-select-control" value="@Model.ValueControlId" />
@for (var i = 1; i <= Model.Limit; i++)
{
<div class="grid-100 grid-parent @Model.ValueControlId-div">
... | mit | C# |
2046cbe2d987fa12b46f6acfcd40a91a5cb283f1 | Add missing exceptions to server xmldoc | UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu | osu.Game/Online/RealtimeMultiplayer/IMultiplayerServer.cs | osu.Game/Online/RealtimeMultiplayer/IMultiplayerServer.cs | using System.Threading.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining the spectator server instance.
/// </summary>
public interface IMultiplayerServer
{
/// <summary>
/// Request to join a multiplayer room.
/// </summary>
... | using System.Threading.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining the spectator server instance.
/// </summary>
public interface IMultiplayerServer
{
/// <summary>
/// Request to join a multiplayer room.
/// </summary>
... | mit | C# |
0cdad77bbdb660384462f4e9ced596e0c150eae0 | Make StateChanged action more verbose in its arguments. | DrabWeb/osu-framework,peppy/osu-framework,default0/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,RedNesto/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,default0/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima1... | osu.Framework/Graphics/Containers/OverlayContainer.cs | osu.Framework/Graphics/Containers/OverlayContainer.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// An element which starts hidden and can be toggled to visible.
... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// An element which starts hidden and can be toggled to visible.
... | mit | C# |
53f11ceb8e150eb06c257552f29620dce073a0cb | tweak CSL syntax | stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky | EyeInTheSky/StalkNodes/OrNode.cs | EyeInTheSky/StalkNodes/OrNode.cs | using System;
using System.Xml;
namespace EyeInTheSky.StalkNodes
{
class OrNode : DoubleChildLogicalNode
{
#region Overrides of StalkNode
public override bool match(RecentChange rc)
{
return (LeftChildNode.match(rc) || RightChildNode.match(rc));
}
public s... | using System;
using System.Xml;
namespace EyeInTheSky.StalkNodes
{
class OrNode : DoubleChildLogicalNode
{
#region Overrides of StalkNode
public override bool match(RecentChange rc)
{
return (LeftChildNode.match(rc) || RightChildNode.match(rc));
}
public s... | mit | C# |
b54bf49cb9617c995beb4c83561c34f1d3627582 | fix CR | NuGet/NuGet.Services.Dashboard,NuGet/NuGet.Services.Dashboard,NuGet/NuGet.Services.Dashboard | NuGet.Services.Dashboard.Operations/Tasks/DashBoardTasks/IssLogCleanUptask.cs | NuGet.Services.Dashboard.Operations/Tasks/DashBoardTasks/IssLogCleanUptask.cs | using System;
using System.IO;
namespace NuGetGallery.Operations.Tasks.DashBoardTasks
{
[Command("IssCleanUpTask", "clean up old iss log in current dir", AltName = "clean")]
class IssLogCleanUptask : OpsTask
{
public override void ExecuteCommand()
{
var dirs = Directory.Enumera... | using System;
using System.IO;
namespace NuGetGallery.Operations.Tasks.DashBoardTasks
{
[Command("IssCleanUpTask", "clean up old iss log in current dir", AltName = "clean")]
class IssLogCleanUptask : OpsTask
{
public override void ExecuteCommand()
{
try
{
... | apache-2.0 | C# |
83a5ce577e88db5bf7b5d52121b985d0b45f115d | 修改 Sample 样式 | lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK | Samples/Shared/Senparc.Weixin.Sample.Shared/Views/Shared/_IconsPartial.cshtml | Samples/Shared/Senparc.Weixin.Sample.Shared/Views/Shared/_IconsPartial.cshtml | <p class="no-text-indent">
<a href="https://mysenparc.visualstudio.com/Senparc%20SDK/_build/latest?definitionId=36" target="_blank"><img src="https://mysenparc.visualstudio.com/Senparc%20SDK/_apis/build/status/Weixin%20SDK/Senparc.Weixin%20Dev-%E5%86%85%E9%83%A8-%E8%87%AA%E5%8A%A8-.Net6" alt="Build status"></a>
... | <p>
<a href="https://mysenparc.visualstudio.com/Senparc%20SDK/_build/latest?definitionId=36" target="_blank"><img src="https://mysenparc.visualstudio.com/Senparc%20SDK/_apis/build/status/Weixin%20SDK/Senparc.Weixin%20Dev-%E5%86%85%E9%83%A8-%E8%87%AA%E5%8A%A8-.Net6" alt="Build status"></a>
<a href="https://git... | apache-2.0 | C# |
415451429689466fe2c5401618d06fae761234d8 | Test for checking Fork update | Apathak-tba/ApathakMailTest,Apathak-tba/ApathakMailTest,Apathak-tba/ApathakMailTest | MailTest/MailTest/LogOut.aspx.cs | MailTest/MailTest/LogOut.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MailTest
{
public partial class LogOut : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// Modifying fil... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MailTest
{
public partial class LogOut : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | mit | C# |
39eafc8eeea16c293e8b33830736e9cb292ca5d0 | Fix Alarm component to dispose it's delegates | lucas-miranda/Raccoon | Raccoon/Core/Components/Alarm.cs | Raccoon/Core/Components/Alarm.cs | namespace Raccoon.Components {
public class Alarm : Component {
public Alarm(uint interval, System.Action action) {
NextActivationTimer = Interval = interval;
Action = action;
}
public System.Action Action { get; set; }
public uint Timer { get; private set; ... | namespace Raccoon.Components {
public class Alarm : Component {
public Alarm(uint interval, System.Action action) {
NextActivationTimer = Interval = interval;
Action = action;
}
public System.Action Action { get; set; }
public uint Timer { get; private set; ... | mit | C# |
902b8e38d057b651f6b67bc75f34be785faee7c0 | Add GetPrivateMessages | SirCmpwn/RedditSharp,Jinivus/RedditSharp,CrustyJew/RedditSharp,tomnolan95/RedditSharp,nyanpasudo/RedditSharp,epvanhouten/RedditSharp,ekaralar/RedditSharpWindowsStore,IAmAnubhavSaini/RedditSharp,chuggafan/RedditSharp-1,pimanac/RedditSharp,angelotodaro/RedditSharp,justcool393/RedditSharp-1,RobThree/RedditSharp,theonlylaw... | RedditSharp/AuthenticatedUser.cs | RedditSharp/AuthenticatedUser.cs | using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class AuthenticatedUser : RedditUser
{
private const string ModeratorUrl = "/reddits/mine/moderator.json";
private const string UnreadMessagesUrl = "/message/unread.json?mark=true&limit=25";
private const... | using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class AuthenticatedUser : RedditUser
{
private const string ModeratorUrl = "/reddits/mine/moderator.json";
private const string UnreadMessagesUrl = "/message/unread.json?mark=true&limit=25";
private const... | mit | C# |
4f087ceae3c961a4141516f5e3f55a236ee6d6c3 | Fix VideoResponse parse exception | Naxiz/TeleBotDotNet,LouisMT/TeleBotDotNet | Responses/Types/VideoResponse.cs | Responses/Types/VideoResponse.cs | using TeleBotDotNet.Json;
namespace TeleBotDotNet.Responses.Types
{
public class VideoResponse
{
public string FileId { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public int Duration { get; private set; }
public Ph... | using TeleBotDotNet.Json;
namespace TeleBotDotNet.Responses.Types
{
public class VideoResponse
{
public int FileId { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public int Duration { get; private set; }
public Photo... | mit | C# |
f1dacf72cfcbb5f506a1bb2c31853326be42745a | Fix bools not being parsed correctly from config (case sensitivity). | EVAST9919/osu-framework,naoey/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,default0/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework... | osu.Framework/Configuration/BindableBool.cs | osu.Framework/Configuration/BindableBool.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Configuration
{
public class BindableBool : Bindable<bool>
{
public BindableBool(bool value = false)
... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Configuration
{
public class BindableBool : Bindable<bool>
{
public BindableBool(bool value = false)
... | mit | C# |
aaa7c7eb0593c9b04c728aee778ff1de5a08f6bc | Handle null case explicitly in `SpectatorState.Equals()` | peppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Online/Spectator/SpectatorState.cs | osu.Game/Online/Spectator/SpectatorState.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using MessagePack;
using osu.Game.Online.API;
namespace osu.Gam... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using MessagePack;
using osu.Game.Online.API;
namespace osu.Gam... | mit | C# |
558a9ef4c2b45cd7812e71ad03cd7775db18147e | Update TestCaseActiveState to cover Window.CursorInWindow state | smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Platform/TestSceneActiveState.cs | osu.Framework.Tests/Visual/Platform/TestSceneActiveState.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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Platform;
using osuT... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Platform;
using osuT... | mit | C# |
fe6c369e0765ce8fd8d16229d40e3944c76b6ea4 | Fix incorrect channel | DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,ZLima12/osu,johnneijzen/osu,EVAST9919/osu,naoey/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,DrabWeb/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,s... | osu.Game/Screens/Multi/Match/Components/MatchChatDisplay.cs | osu.Game/Screens/Multi/Match/Components/MatchChatDisplay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Online.Chat;
using osu.Game.Online.Multiplayer;
namespace osu.Game.Screens.Multi.Match.Components
{
public class Matc... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Online.Chat;
using osu.Game.Online.Multiplayer;
namespace osu.Game.Screens.Multi.Match.Components
{
public class Matc... | mit | C# |
5606b201976d20e7f1747dd1425e2c9e936346d8 | change Toxy info to Toxy 1.1 | tonyqus/toxy,yixiangling/toxy,yixiangling/toxy | ToxyFramework/Properties/AssemblyInfo.cs | ToxyFramework/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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.
[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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.
[asse... | apache-2.0 | C# |
aa42023754233b8758d31fe70bfbe424ecfd93c7 | Add comment about Exclusive tracks. | smoogipooo/osu-framework,Tom94/osu-framework,default0/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,Nabile-Rahmani/osu-framework,paparony03/osu-framework,ZLima12... | osu.Framework/Audio/Track/TrackManager.cs | osu.Framework/Audio/Track/TrackManager.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using osu.Framework.IO.Stores;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectio... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using osu.Framework.IO.Stores;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectio... | mit | C# |
bf0b83512c0b89b1488fe40aedd8250fc892b685 | Add missing await | timeanddate/libtad-net | TimeAndDate.Services/AccountService.cs | TimeAndDate.Services/AccountService.cs | using System;
using System.Threading.Tasks;
using System.Collections.Specialized;
using System.Net;
using TimeAndDate.Services.Common;
using System.Collections.Generic;
using System.Xml;
using TimeAndDate.Services.DataTypes.Account;
namespace TimeAndDate.Services
{
public class AccountService : BaseService
{
/// ... | using System;
using System.Threading.Tasks;
using System.Collections.Specialized;
using System.Net;
using TimeAndDate.Services.Common;
using System.Collections.Generic;
using System.Xml;
using TimeAndDate.Services.DataTypes.Account;
namespace TimeAndDate.Services
{
public class AccountService : BaseService
{
/// ... | mit | C# |
a0fde5805433d9567b0ceae601d154395fce2bf5 | Make WeightRange class, convert fields to props | roman-yagodin/R7.News,roman-yagodin/R7.News,roman-yagodin/R7.News | R7.News/Models/WeightRange.cs | R7.News/Models/WeightRange.cs | //
// WeightRange.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2017 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundatio... | //
// WeightRange.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2017 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundatio... | agpl-3.0 | C# |
7af273814456bcf561ac01e71b0ce9794feb3076 | Update AssemblyInfo.cs | wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom,wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom | src/Avalonia.Controls.PanAndZoom/Properties/AssemblyInfo.cs | src/Avalonia.Controls.PanAndZoom/Properties/AssemblyInfo.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Resources;
using System.Reflection;
[assembly: AssemblyTitle("Avalonia.Controls.PanAndZoom")]
[assembly: AssemblyDescription("")]
[assembly: Assembly... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Resources;
using System.Reflection;
using Avalonia.Metadata;
[assembly: AssemblyTitle("Avalonia.Controls.PanAndZoom")]
[assembly: AssemblyDescription... | mit | C# |
d5fc31f2449465f831516416a5d161891a495897 | Clarify ServerTimestampAttribute documentation | jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet | apis/Google.Cloud.Firestore/Google.Cloud.Firestore/ServerTimestampAttribute.cs | apis/Google.Cloud.Firestore/Google.Cloud.Firestore/ServerTimestampAttribute.cs | // Copyright 2018, 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 i... | // Copyright 2018, 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 i... | apache-2.0 | C# |
3f07471cff190164436626bf719aab3173936d3b | Make tests for delete collection methods. | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET | src/Arango/Arango.Test/CollectionTests.cs | src/Arango/Arango.Test/CollectionTests.cs | using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Arango.Client;
namespace Arango.Test
{
[TestClass]
public class CollectionTests
{
private ArangoDatabase _database;
public CollectionTests()
{
string alias = "test";
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Arango.Test
{
[TestClass]
public class CollectionTests
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| mit | C# |
301be3c24cbec6767e46d660dc17bcafed5d1333 | Fix argument checks in MemoryCacheStore | shaynevanasperen/Data.Operations,shaynevanasperen/Magneto | src/Magneto.Microsoft/MemoryCacheStore.cs | src/Magneto.Microsoft/MemoryCacheStore.cs | using System;
using System.Threading.Tasks;
using Magneto.Configuration;
using Magneto.Core;
using Microsoft.Extensions.Caching.Memory;
namespace Magneto.Microsoft
{
public class MemoryCacheStore : ICacheStore<MemoryCacheEntryOptions>
{
readonly IMemoryCache _memoryCache;
public MemoryCacheStore(IM... | using System;
using System.Threading.Tasks;
using Magneto.Configuration;
using Magneto.Core;
using Microsoft.Extensions.Caching.Memory;
namespace Magneto.Microsoft
{
public class MemoryCacheStore : ICacheStore<MemoryCacheEntryOptions>
{
readonly IMemoryCache _memoryCache;
public MemoryCacheStore(IM... | mit | C# |
5c714e247efe90c23d12359d6531a75196e3c6c9 | Update Assembly versions | ErikEJ/EntityFramework.SqlServerCompact,ErikEJ/EntityFramework7.SqlServerCompact | src/Provider40/Properties/AssemblyInfo.cs | src/Provider40/Properties/AssemblyInfo.cs | using System.Reflection;
using Microsoft.EntityFrameworkCore.Design;
[assembly: DesignTimeProviderServices("EFCore.SqlCe.Design.Internal.SqlCeDesignTimeServices")]
#if SQLCE35
[assembly: AssemblyTitle("EntityFrameworkCore.SqlServerCompact35")]
[assembly: AssemblyProduct("EntityFrameworkCore.SqlServerCompact35")]
#els... | using System.Reflection;
using Microsoft.EntityFrameworkCore.Design;
[assembly: DesignTimeProviderServices("EFCore.SqlCe.Design.Internal.SqlCeDesignTimeServices")]
#if SQLCE35
[assembly: AssemblyTitle("EntityFrameworkCore.SqlServerCompact35")]
[assembly: AssemblyProduct("EntityFrameworkCore.SqlServerCompact35")]
#els... | apache-2.0 | C# |
22e41c7ddd227a875553641b2ac0cbde482d6188 | Fix error when items had invariant language versions (versions compared could be incorrectly the default language instead of the invariant language) | bllue78/Unicorn,kamsar/Unicorn,MacDennis76/Unicorn,bllue78/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn,PetersonDave/Unicorn,MacDennis76/Unicorn,rmwatson5/Unicorn | src/Unicorn/Data/ISourceItemExtensions.cs | src/Unicorn/Data/ISourceItemExtensions.cs | using System;
using System.Linq;
namespace Unicorn.Data
{
public static class SourceItemExtensions
{
/// <summary>
/// Helper method to get a specific version from a source item, if it exists
/// </summary>
/// <returns>Null if the version does not exist or the version if it exists</returns>
public static... | using System;
using System.Linq;
using Sitecore.Data.Managers;
using Sitecore.Globalization;
namespace Unicorn.Data
{
public static class SourceItemExtensions
{
/// <summary>
/// Helper method to get a specific version from a source item, if it exists
/// </summary>
/// <returns>Null if the version does not... | mit | C# |
69e1382b760315ba28e93e70aface8047a41812a | Add Padding == and != operators, and implement IEquatable<T> | l8s/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto | Source/Eto/Drawing/Padding.cs | Source/Eto/Drawing/Padding.cs | using System;
using System.ComponentModel;
namespace Eto.Drawing
{
[TypeConverter(typeof(PaddingConverter))]
public struct Padding : IEquatable<Padding>
{
public int Top { get; set; }
public int Left { get; set; }
public int Right { get; set; }
public int Bottom { get; set; }
public static readonly Pad... | using System;
using System.ComponentModel;
namespace Eto.Drawing
{
[TypeConverter(typeof(PaddingConverter))]
public struct Padding
{
public int Top { get; set; }
public int Left { get; set; }
public int Right { get; set; }
public int Bottom { get; set; }
public static readonly Padding Empty = new Paddi... | bsd-3-clause | C# |
9f9ac5a4e273f589a412fff933aacdef50416af9 | Add DetailedErrorPolicy in global configuration | uheerme/core,uheerme/core,uheerme/core | 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 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... | mit | C# |
78fc808db6055d1790369a5b21f60c6223d749be | Add comment | sharwell/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,mavasani/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,mavasani/roslyn,diryboy/roslyn,diryboy/roslyn,dotnet/roslyn,diryboy/roslyn,CyrusNajmabadi/rosl... | src/EditorFeatures/Core/GoToImplementation/GoToImplementationCommandHandler.cs | src/EditorFeatures/Core/GoToImplementation/GoToImplementationCommandHandler.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using System.Threading;
using System.Threading.Tasks;
using ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using System.Threading;
using System.Threading.Tasks;
using ... | mit | C# |
7cd12b251d9faff32328e378e12f8e9b59fd963d | Build SMA with version 0.0.0.0 | bingbing8/PowerShell,daxian-dbw/PowerShell,bmanikm/PowerShell,bingbing8/PowerShell,jsoref/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,TravisEz13/PowerShell,kmosher/PowerShell,JamesWTruher/PowerShell-1,KarolKaczmarek/PowerShell,KarolKaczmarek/PowerShell,KarolKaczmarek/PowerShell,jsoref/PowerShell,bmanikm/Powe... | src/System.Management.Automation/System.Management.Automation.assembly-info.cs | src/System.Management.Automation/System.Management.Automation.assembly-info.cs | using System.Runtime.CompilerServices;
using System.Reflection;
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")]
[assembly:InternalsVisibleTo("Microsoft.PowerSh... | using System.Runtime.CompilerServices;
using System.Reflection;
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")]
[assembly:InternalsVisibleTo("Microsoft.PowerSh... | mit | C# |
2c6dba704918d7bc1c25f411c428e2d2134bfed0 | Update SiblingElement.cs | thelgevold/xpathitup | XPathFinder/SiblingElement.cs | XPathFinder/SiblingElement.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XPathItUp
{
internal class SiblingElement:Base, ISibling
{
public static SiblingElement Create(string tag, List<string> expressionParts, string siblingType,int tagIndex)
{
retu... | /*
Copyright (C) 2010 Torgeir Helgevold
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed ... | mit | C# |
2776e831092cf0562762dd00f98b052d2166e20e | Fix Benchmark requiring a clock within Load. | Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,RedNesto/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,paparony03/osu-framework,naoey/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framewor... | osu.Framework.VisualTests/Benchmark.cs | osu.Framework.VisualTests/Benchmark.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Diagnostics;
using osu.Framework.GameModes.Testing;
namespace osu.Framework.VisualTests
{
public class Benchmark : Ba... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Diagnostics;
using osu.Framework.GameModes.Testing;
namespace osu.Framework.VisualTests
{
public class Benchmark : Ba... | mit | C# |
cf6d95cba11f4247f45fc711e7e7a1035da0faf8 | Rename some methods to be more .NET (#1255) | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | binding/Binding/SKRotationScaleMatrix.cs | binding/Binding/SKRotationScaleMatrix.cs | using System;
namespace SkiaSharp
{
public unsafe partial struct SKRotationScaleMatrix
{
public static readonly SKRotationScaleMatrix Empty;
public static readonly SKRotationScaleMatrix Identity = new SKRotationScaleMatrix (1, 0, 0, 0);
public SKRotationScaleMatrix (float scos, float ssin, float tx, float t... | using System;
namespace SkiaSharp
{
public unsafe partial struct SKRotationScaleMatrix
{
public static readonly SKRotationScaleMatrix Empty;
public static readonly SKRotationScaleMatrix Identity = new SKRotationScaleMatrix (1, 0, 0, 0);
public SKRotationScaleMatrix (float scos, float ssin, float tx, float t... | mit | C# |
fd667bb3e819033e76c816cc3e2d0ce7bcd8a9fb | Change to www | pjf/StuffManager | StuffManager/Settings.cs | StuffManager/Settings.cs | using System;
namespace StuffManager
{
static class Settings
{
// The root address of KerbalStuff
public static String KS_ROOT = "https://www.kerbalstuff.com";
//API String for KerbalStuff
public static String KS_API = KS_ROOT + "/api";
//String for getting a user via... | using System;
namespace StuffManager
{
static class Settings
{
// The root address of KerbalStuff
public static String KS_ROOT = "https://beta.kerbalstuff.com";
//API String for KerbalStuff
public static String KS_API = KS_ROOT + "/api";
//String for getting a user vi... | mit | C# |
7177a0b4b62db0808e8ff356702e640717fe5565 | remove unnecessary using | Kingloo/Pingy | src/Model/IP.cs | src/Model/IP.cs | using System.Net;
namespace Pingy.Model
{
public class IP : PingBase
{
public IP(IPAddress ip)
{
Address = ip;
DisplayName = Address.ToString();
}
}
} | using System;
using System.Net;
namespace Pingy.Model
{
public class IP : PingBase
{
public IP(IPAddress ip)
{
Address = ip;
DisplayName = Address.ToString();
}
}
} | unlicense | C# |
a2cc139ad340c6eb0a8a8a0ea2d9db1a901a89d3 | Update AHCI.cs | CosmosOS/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,fanoI/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,zarlo/Cosmos | source/Cosmos.Core/MemoryGroup/AHCI.cs | source/Cosmos.Core/MemoryGroup/AHCI.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.Core.MemoryGroup
{
public class AHCI
{
public MemoryBlock DataBlock;
public AHCI(uint aSectorSize)
{
DataBlock = new Core.MemoryBlock(0x0046C000, aSectorSize * 1024);
DataBlock.F... | using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.Core.MemoryGroup
{
public class AHCI
{
public MemoryBlock DataBlock;
public AHCI(uint aSectorSize)
{
DataBlock = new Core.MemoryBlock(0x0046C000, aSectorSize * 256);
DataBlock.Fi... | bsd-3-clause | C# |
ccad45fccef3aa303bb00f92b784e61093cf6116 | Annotate PlatformID as a moved type | shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,BrennanConroy/corefx,wtgodbe/corefx,ptoonen/corefx,ViktorHofer/corefx,wtgodbe/corefx,ptoonen/corefx,wtgodbe/corefx,ericstj/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,wtgodbe/coref... | src/Common/src/CoreLib/System/PlatformID.cs | src/Common/src/CoreLib/System/PlatformID.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel;
namespace System
{
#if PROJECTN
[Internal.Runtime.CompilerServices.RelocatedType("... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel;
namespace System
{
public enum PlatformID
{
[EditorBrowsable(EditorBro... | mit | C# |
f0b268ccdc002cd7de6b1521b8959e5de43df5b7 | Clear scroll does indeed return an empty response | cstlaurent/elasticsearch-net,KodrAus/elasticsearch-net,cstlaurent/elasticsearch-net,azubanov/elasticsearch-net,RossLieberman/NEST,CSGOpenSource/elasticsearch-net,KodrAus/elasticsearch-net,adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,azubanov/elasticsearch-net,RossLieberman/NEST... | src/Nest/CommonAbstractions/Response/EmptyResponse.cs | src/Nest/CommonAbstractions/Response/EmptyResponse.cs | using Newtonsoft.Json;
namespace Nest
{
public interface IEmptyResponse : IResponse
{
}
[JsonObject]
public class EmptyResponse : BaseResponse, IEmptyResponse
{
}
} | using Newtonsoft.Json;
namespace Nest
{
public interface IEmptyResponse : IResponse
{
}
[JsonObject]
//TODO Only used by clearscroll, does it really not return anything useful?
public class EmptyResponse : BaseResponse, IEmptyResponse
{
}
} | apache-2.0 | C# |
6122babf893c9369fc4b3ff56e41643bfbd15bbd | Update version for publishing to Nuget. | grantcolley/wpfcontrols | DevelopmentInProgress.WPFControls/Properties/AssemblyInfo.cs | DevelopmentInProgress.WPFControls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
33799d248c7aa5d7cc495cea96872ed1bfbe75c4 | Add back private setter in NameRecord | SixLabors/Fonts | src/SixLabors.Fonts/Tables/General/Name/NameRecord.cs | src/SixLabors.Fonts/Tables/General/Name/NameRecord.cs | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Text;
using SixLabors.Fonts.Utilities;
using SixLabors.Fonts.WellKnownIds;
namespace SixLabors.Fonts.Tables.General.Name
{
internal class NameRecord
{
private readonly string value;
... | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Text;
using SixLabors.Fonts.Utilities;
using SixLabors.Fonts.WellKnownIds;
namespace SixLabors.Fonts.Tables.General.Name
{
internal class NameRecord
{
private readonly string value;
... | apache-2.0 | C# |
919d5deb73efb710c125998ec97449039c467bd3 | Refactor to use linq expression | appharbor/appharbor-cli | src/AppHarbor/CompressionExtensions.cs | src/AppHarbor/CompressionExtensions.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames)
{
var archive = TarArchive.Cr... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames)
{
var archive = TarArchive.Cr... | mit | C# |
57fbed8de8028e19e951168b9579f0b4153bca7e | Update Fun token image URL. | funfair-tech/CoinBot | src/CoinBot.Discord/Commands/CommandBase.cs | src/CoinBot.Discord/Commands/CommandBase.cs | using Discord;
using Discord.Commands;
using System;
namespace CoinBot.Discord.Commands
{
public abstract class CommandBase : ModuleBase
{
protected static void AddAuthor(EmbedBuilder builder)
{
builder.WithAuthor(new EmbedAuthorBuilder
{
Name = "FunFair CoinBot - right click above to block",
Url ... | using Discord;
using Discord.Commands;
using System;
namespace CoinBot.Discord.Commands
{
public abstract class CommandBase : ModuleBase
{
protected static void AddAuthor(EmbedBuilder builder)
{
builder.WithAuthor(new EmbedAuthorBuilder
{
Name = "FunFair CoinBot - right click above to block",
Url ... | mit | C# |
83dc4ed352978d6ac08e2b700db601dcdcd41574 | Add data contract attribute to Discrepancy.cs | Ackara/Daterpillar | src/Daterpillar.Core/Compare/Discrepancy.cs | src/Daterpillar.Core/Compare/Discrepancy.cs | using System.Runtime.Serialization;
namespace Gigobyte.Daterpillar.Compare
{
[DataContract]
public class Discrepancy
{
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gigobyte.Daterpillar.Compare
{
public class Discrepancy
{
}
}
| mit | C# |
96ed73a9b0baf607c56d29b497c1d53ce9a53a3a | Fix HasMore | exceptionless/Foundatio.Repositories | src/Elasticsearch/Queries/Builders/PagableQueryBuilder.cs | src/Elasticsearch/Queries/Builders/PagableQueryBuilder.cs | using System;
using Foundatio.Repositories.Queries;
namespace Foundatio.Repositories.Elasticsearch.Queries.Builders {
public class PagableQueryBuilder : IElasticQueryBuilder {
public void Build<T>(QueryBuilderContext<T> ctx) where T : class, new() {
var pagableQuery = ctx.GetQueryAs<IPagableQu... | using System;
using Foundatio.Repositories.Queries;
namespace Foundatio.Repositories.Elasticsearch.Queries.Builders {
public class PagableQueryBuilder : IElasticQueryBuilder {
public void Build<T>(QueryBuilderContext<T> ctx) where T : class, new() {
var pagableQuery = ctx.GetQueryAs<IPagableQu... | apache-2.0 | C# |
32dddd566ff86d875984a71d2323d2be0a270b82 | update the main function to create an output pin configuraiton, open a gpio connection, create a loop that toggles the LED for 25 seconds. | cdemaskey/coffee-roaster,cdemaskey/coffee-roaster | coffee-roaster/coffee-roaster/Program.cs | coffee-roaster/coffee-roaster/Program.cs | using Raspberry.IO.GeneralPurpose;
using System;
using System.Threading;
namespace coffee_roaster
{
internal class Program
{
private static void Main(string[] args)
{
var led1 = ConnectorPin.P1Pin07.Output();
var connection = new GpioConnection(led1);
for(... | using System;
namespace coffee_roaster
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("\n\nPress any key to exit");
Console.ReadKey();
}
}
} | mit | C# |
dae21ad0e685d011bc831c7dc58e6ff46bcd43c2 | Update _Layout.cshtml | pacoferre/polymercrud,pacoferre/polymercrud,pacoferre/polymercrud | src/PolymerCRUD/Views/Shared/_Layout.cshtml | src/PolymerCRUD/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Polymer CRUD">
<title>@ViewData["Title"] - Polymer CRUD</title>
<!-- Place favicon.ico in th... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Polymer CRUD">
<title>@ViewData["Title"] - Polymer CRUD</title>
<!-- Place favicon.ico in th... | mit | C# |
7b65e257bcc6ce34deab3d189a7b92319cd43a08 | Add API. | mika-f/Orion,OrionDevelop/Orion | Source/Orion.Service.Mastodon/Clients/NotificationsClient.cs | Source/Orion.Service.Mastodon/Clients/NotificationsClient.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Orion.Service.Mastodon.Helpers;
using Orion.Service.Mastodon.Models;
using Orion.Service.Shared;
using Orion.Service.Shared.Extensions;
namespace Orion.Service.Mastodon.Clients
{
public class NotificationsClient : ApiClient<MastodonClient>
... | using System.Collections.Generic;
using System.Threading.Tasks;
using Orion.Service.Mastodon.Helpers;
using Orion.Service.Mastodon.Models;
using Orion.Service.Shared;
namespace Orion.Service.Mastodon.Clients
{
public class NotificationsClient : ApiClient<MastodonClient>
{
internal NotificationsClient... | mit | C# |
28e342f2ecbf02b2a90f4f5286c58c56a28147f0 | clean up code | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/IFramework.Log4Net/Log4NetProvider.cs | Src/iFramework.Plugins/IFramework.Log4Net/Log4NetProvider.cs | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Reflection;
using IFramework.Config;
using log4net;
using log4net.Config;
using log4net.Repository;
using Microsoft.Extensions.Logging;
namespace IFramework.Log4Net
{
public class Log4NetProvider : ILoggerProvider
... | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Reflection;
using System.Text;
using System.Xml;
using IFramework.Config;
using log4net;
using log4net.Config;
using log4net.Repository;
using Microsoft.Extensions.Logging;
namespace IFramework.Log4Net
{
public class Log4NetProvider ... | mit | C# |
ae75a4a9c4560a58e010eef012d4594a7ae1bed1 | Fix warning | tom-englert/TomsToolbox | src/TomsToolbox.Composition.MicrosoftExtensions/IsExternalInit.cs | src/TomsToolbox.Composition.MicrosoftExtensions/IsExternalInit.cs | // ReSharper disable All
namespace System.Runtime.CompilerServices
{
internal class IsExternalInit { }
}
| namespace System.Runtime.CompilerServices
{
public class IsExternalInit { }
}
| mit | C# |
c61002c796406c3d8e86193bc6c41a3f3da98eaa | Select first item by default in "Select Item" window | danielchalmers/DesktopWidgets | DesktopWidgets/WindowViewModels/SelectItemViewModel.cs | DesktopWidgets/WindowViewModels/SelectItemViewModel.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using GalaSoft.MvvmLight;
namespace DesktopWidgets.WindowViewModels
{
public class SelectItemViewModel : ViewModelBase
{
private object _selectedItem;
public SelectItemViewModel(IEnumerable<object> items)
{
... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using GalaSoft.MvvmLight;
namespace DesktopWidgets.WindowViewModels
{
public class SelectItemViewModel : ViewModelBase
{
private object _selectedItem;
public SelectItemViewModel(IEnumerable<object> items)
{
... | apache-2.0 | C# |
4336be6ab6c1cc43227ca4fb1efe189e25a265c2 | Update sys version to v2.0-a3 #269 | FanrayMedia/Fanray,FanrayMedia/Fanray,FanrayMedia/Fanray | src/Fan/Helpers/SysVersion.cs | src/Fan/Helpers/SysVersion.cs | namespace Fan.Helpers
{
public class SysVersion
{
public static string CurrentVersion = "v2.0-a3";
}
}
| namespace Fan.Helpers
{
public class SysVersion
{
public static string CurrentVersion = "v2.0-a2";
}
}
| apache-2.0 | C# |
137ab5b27edd3f21af016c979d6baa3659b29cc3 | Undo time acceleration | ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framew... | osu.Framework/Platform/HeadlessGameHost.cs | osu.Framework/Platform/HeadlessGameHost.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Input.Handlers;
using osu.Framework.Logging;
using osu.Framework.Timing;
namespace osu.Framework.Platform
{
//... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Input.Handlers;
using osu.Framework.Logging;
using osu.Framework.Timing;
namespace osu.Framework.Platform
{
//... | mit | C# |
cd255bd67bab75616aa3e86108e43455775c46f8 | Rename Reflection extensions class. | WimObiwan/Pash,ForNeVeR/Pash,sillvan/Pash,ForNeVeR/Pash,WimObiwan/Pash,Jaykul/Pash,mrward/Pash,sburnicki/Pash,sburnicki/Pash,sillvan/Pash,mrward/Pash,Jaykul/Pash,JayBazuzi/Pash,ForNeVeR/Pash,Jaykul/Pash,sburnicki/Pash,JayBazuzi/Pash,mrward/Pash,WimObiwan/Pash,sillvan/Pash,mrward/Pash,Jaykul/Pash,sillvan/Pash,JayBazuzi/... | Source/Pash.System.Management/Extensions/Reflection.cs | Source/Pash.System.Management/Extensions/Reflection.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Extensions.Reflection
{
static class _
{
public static T GetValue<T>(this FieldInfo fieldInfo, object obj = null)
{
return (T)fieldInfo.GetValue(obj);
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Extensions.Reflection
{
static class Extensions
{
public static T GetValue<T>(this FieldInfo fieldInfo, object obj = null) { return (T)fieldInfo.GetValue(obj); }
}
}
| bsd-3-clause | C# |
e36b15eb8a004f30788603de7fa537305f7dff53 | refresh after cookie set | YAFNET/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET | yafsrc/YetAnotherForum.NET/Controls/CookieConsent.ascx.cs | yafsrc/YetAnotherForum.NET/Controls/CookieConsent.ascx.cs | /* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... | /* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... | apache-2.0 | C# |
3e80c5f415e2ea61265bd34b2d0aa77b84fb77fc | comment about not needing to dispose of anything | iiwaasnet/aspnet-identity-mongo,Dedice/aspnet-identity-mongo,s4lvo/aspnet-identity-mongo,abbasmhd/aspnet-identity-mongo,winterdouglas/aspnet-identity-mongo,Malkiat-Singh/aspnet-identity-mongo,g0t4/aspnet-identity-mongo,iiwaasnet/aspnet-identity-mongo,FelschR/aspnetcore-identity-documentdb,s4lvo/aspnet-identity-mongo,Fe... | src/AspNet.Identity.MongoDB/UserStore.cs | src/AspNet.Identity.MongoDB/UserStore.cs | namespace AspNet.Identity.MongoDB
{
using System.Threading.Tasks;
using global::MongoDB.Bson;
using global::MongoDB.Driver.Builders;
using Microsoft.AspNet.Identity;
public class UserStore<TUser> : IUserStore<TUser>
where TUser : IdentityUser
{
private readonly IdentityContext _Context;
public UserStore(... | namespace AspNet.Identity.MongoDB
{
using System.Threading.Tasks;
using global::MongoDB.Bson;
using global::MongoDB.Driver.Builders;
using Microsoft.AspNet.Identity;
public class UserStore<TUser> : IUserStore<TUser>
where TUser : IdentityUser
{
private readonly IdentityContext _Context;
public UserStore(... | mit | C# |
91fe6a24a875c78a8949e351b4ab1eb9f7a09242 | Fix incorrect namespace | nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp | src/Core/CoreLib/Threading/TaskStatus.cs | src/Core/CoreLib/Threading/TaskStatus.cs | // TaskStatus.cs
// Script#/Libraries/CoreLib
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System.Threading {
[Imported]
[IgnoreNamespace]
[NamedValues]
public enum TaskStatus {
Pe... | // TaskStatus.cs
// Script#/Libraries/CoreLib
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System {
[Imported]
[IgnoreNamespace]
[NamedValues]
public enum TaskStatus {
Pending,
... | apache-2.0 | C# |
9fc48c3d0d741bd2dde8bf26f04da0ec632acf3d | Add Lerp() to DoubleUtil | KodamaSakuno/Sakuno.Base | src/Sakuno.Base/DoubleUtil.cs | src/Sakuno.Base/DoubleUtil.cs | using System;
using System.Runtime.CompilerServices;
namespace Sakuno
{
public static class DoubleUtil
{
const double _epsilon = 2.2204460492503131E-15;
public static readonly object Zero = 0.0;
public static readonly object One = 1.0;
public static readonly object NaN = doubl... | using System;
using System.Runtime.CompilerServices;
namespace Sakuno
{
public static class DoubleUtil
{
const double _epsilon = 2.2204460492503131E-15;
public static readonly object Zero = 0.0;
public static readonly object One = 1.0;
public static readonly object NaN = doubl... | mit | C# |
b6c46028b654177f090a3495bac82af3c96353fa | Clean up using statements | cjbhaines/Log4Net.Async,squirmy/Log4Net.Async | src/Log4Net.Async/LoggingEventContext.cs | src/Log4Net.Async/LoggingEventContext.cs | namespace Log4Net.Async
{
using log4net.Core;
internal class LoggingEventContext
{
public LoggingEventContext(LoggingEvent loggingEvent, object httpContext)
{
LoggingEvent = loggingEvent;
HttpContext = httpContext;
}
public LoggingEvent LoggingEvent... |
namespace Log4Net.Async
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Log4Net;
using log4net.Core;
internal class LoggingEventContext
{
public LoggingEventContext(LoggingEvent loggingEvent, object httpContext)
{
... | mit | C# |
6b6e7296bd39261cbc02b590d14bec9602e65d5a | Update to Rx 2.2.2. | PombeirP/RxSchedulers.Switch | solution/src/app/GlobalAssemblyInfo.cs | solution/src/app/GlobalAssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="Pedro Pombeiro">
// © 2012 Pedro Pombeiro. All rights reserved.
// </copyright>
// --------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="Pedro Pombeiro">
// © 2012 Pedro Pombeiro. All rights reserved.
// </copyright>
// --------------------------------------------------------------... | mit | C# |
255cbdd23770e10ababe2c804707309da5f56807 | fix missing namespace | isse-augsburg/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp | Models/SelfOrganizingPillProduction/Analysis/ModelCheckingTests.cs | Models/SelfOrganizingPillProduction/Analysis/ModelCheckingTests.cs | using NUnit.Framework;
using SafetySharp.Analysis;
using SafetySharp.Modeling;
using SafetySharp.CaseStudies.SelfOrganizingPillProduction.Modeling;
using static SafetySharp.Analysis.Operators;
namespace SafetySharp.CaseStudies.SelfOrganizingPillProduction.Analysis
{
public class ModelCheckingTests
{
[... | using NUnit.Framework;
using SafetySharp.Analysis;
using SafetySharp.Modeling;
using SafetySharp.CaseStudies.SelfOrganizingPillProduction.Modeling;
using static SafetySharp.Analysis.Operators;
namespace SafetySharp.CaseStudies.SelfOrganizingPillProduction.Analysis
{
public class ModelCheckingTests
{
[... | mit | C# |
f7e5632d773e22695ca5d366503630342d967827 | Update input data | pugachAG/univ,pugachAG/univ,pugachAG/univ | NumericalMethodsMathematicalPhysics/NMMP/Common/Lab3/InputData3.cs | NumericalMethodsMathematicalPhysics/NMMP/Common/Lab3/InputData3.cs | using Common.RealAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Lab3
{
public static class InputData3
{
public static double sigma = 0.5;
public static int K = 50;
public static double tau =... | using Common.RealAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Lab3
{
public static class InputData3
{
public static double sigma = 0.5;
public static int K = 100;
public static double tau ... | mit | C# |
c6e857521f1d255f46a057601ffa2c4d08e65887 | Rename a variable | willb611/SlimeSimulation | SlimeSimulation/View/WindowComponent/FlowResultNodeHighlightKey.cs | SlimeSimulation/View/WindowComponent/FlowResultNodeHighlightKey.cs | using Gtk;
using SlimeSimulation.Controller.WindowComponentController;
namespace SlimeSimulation.View.WindowComponent
{
public class FlowResultNodeHighlightKey : VBox
{
public FlowResultNodeHighlightKey() : base(true, 10)
{
Add(new Label("Node colour key"));
var source... | using Gtk;
using SlimeSimulation.Controller.WindowComponentController;
namespace SlimeSimulation.View.WindowComponent
{
public class FlowResultNodeHighlightKey : VBox
{
public FlowResultNodeHighlightKey() : base(true, 10)
{
Add(new Label("Node colour key"));
var source... | apache-2.0 | C# |
8e39f023d9bf3fcb33c70351e6e274493e033a37 | Fix for code coverage. | dlemstra/Magick.NET,dlemstra/Magick.NET | Tests/Magick.NET.Tests/Web/Configuration/MagickWebSettingsTests.cs | Tests/Magick.NET.Tests/Web/Configuration/MagickWebSettingsTests.cs | //=================================================================================================
// Copyright 2013-2017 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy ... | //=================================================================================================
// Copyright 2013-2017 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy ... | apache-2.0 | C# |
668dfad76040c9b63f9f61b4f99d76d29b4e8788 | test 45345 | emksaz/testgit2,emksaz/testgit2,emksaz/testgit2 | testgit23/testgit23/Views/Home/Index.cshtml | testgit23/testgit23/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | apache-2.0 | C# |
ff92c97b894e7dc4e522a18d6a349f745c25c3f0 | Add % symbol on WinRate Table Page | Joey-Softwire/ELO,Variares/ELOSYSTEM,Variares/ELOSYSTEM,richardadalton/EloRate,richardadalton/EloRate,Joey-Softwire/ELO | src/EloWeb/Views/Tables/WinRate.cshtml | src/EloWeb/Views/Tables/WinRate.cshtml | @model System.Collections.Generic.IEnumerable<EloWeb.Models.Player>
@{
ViewBag.Title = "Win Rate Leaderboard";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Win Rate Leaderboard</h2>
<h4>
@Html.ActionLink("Add Game", "Create", "Games") | @Html.ActionLink("Add Player", "Create", "Players")
</h4>
<table cl... | @model System.Collections.Generic.IEnumerable<EloWeb.Models.Player>
@{
ViewBag.Title = "Win Rate Leaderboard";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Win Rate Leaderboard</h2>
<h4>
@Html.ActionLink("Add Game", "Create", "Games") | @Html.ActionLink("Add Player", "Create", "Players")
</h4>
<table cl... | unlicense | C# |
129416835f2e7d78d7cbf5b120c7d9708de953f9 | Remove stray `string.Empty` specification | peppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Models/RealmBeatmapMetadata.cs | osu.Game/Models/RealmBeatmapMetadata.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using Realms;
#nullable enable
namespace osu.Game.Models
{
[ExcludeFromD... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using Realms;
#nullable enable
namespace osu.Game.Models
{
[ExcludeFromD... | mit | C# |
ec1298b8ae8e3e77aaf754eb59dc7103de4821be | Allow XR Plug-in Management settings to be configured post-build | Chaser324/unity-build-actions | UnityBuild-XRPluginManagement/Editor/XRPluginManagement.cs | UnityBuild-XRPluginManagement/Editor/XRPluginManagement.cs | using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.XR.Management;
using UnityEngine;
using UnityEngine.XR.Management;
namespace SuperSystems.UnityBuild
{
public class XRPluginManagement : BuildAction, IPreBuildPerPlatformAction, IPostBuildPerPlatformAction
{
[Header("X... | using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.XR.Management;
using UnityEngine;
using UnityEngine.XR.Management;
namespace SuperSystems.UnityBuild
{
public class XRPluginManagement : BuildAction, IPreBuildAction, IPreBuildPerPlatformAction
{
[Header("XR Settings")... | mit | C# |
853e904a79ab49b21e7d56a17728d58dc3183102 | increment minor version | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | apache-2.0 | C# |
720d2049021e19d2c11f81278318efff237d562b | Remove duplicated test | inputfalken/Sharpy | Tests/FileTests.cs | Tests/FileTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using NUnit.Framework;
using Sharpy.Implementation.DataObjects;
using Sharpy.Properties;
namespace Tests {
[TestFixture]
internal class FileTests {
[Test]
public void Name_Contains_No_N... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using NUnit.Framework;
using Sharpy.Implementation.DataObjects;
using Sharpy.Properties;
namespace Tests {
[TestFixture]
internal class FileTests {
[Test]
public void Name_Contains_No_N... | mit | C# |
4ab8872f03ce5aabf0fd301ded5a65f1a53053e0 | Fix instantiation of DbInitializer | corstijank/blog-dotnet-jenkins,corstijank/blog-dotnet-jenkins | TodoApi/Startup.cs | TodoApi/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using TodoApi.Data;
using TodoApi.Models;
namespace TodoApi
{
public class Star... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using TodoApi.Data;
using TodoApi.Models;
namespace TodoApi
{
public class Star... | apache-2.0 | C# |
c345e81902470ba373560430e47b6ab4ce3158b5 | Simplify template | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Stores/TestWebhook.cshtml | BTCPayServer/Views/Stores/TestWebhook.cshtml | @model EditWebhookViewModel
@using BTCPayServer.Client.Models;
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().StoreName);
}
<div class="row">
<div class="col-lg-8">
<form method="po... | @model EditWebhookViewModel
@using BTCPayServer.Client.Models;
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().StoreName);
}
<div class="row">
<div class="col-lg-8">
<form method="po... | mit | C# |
92e05fca710c16ac591d11c1a2a7c3479a5d5f55 | Fix reversed boolean | pingzing/digi-transit-10 | DigiTransit10/Controls/NavCommandBar.xaml.cs | DigiTransit10/Controls/NavCommandBar.xaml.cs | using Windows.UI.Xaml.Controls;
namespace DigiTransit10.Controls
{
public sealed partial class NavCommandBar : CommandBar
{
public NavCommandBar()
{
this.InitializeComponent();
Views.Busy.BusyChanged += BusyView_BusyChanged;
}
private void BusyView_Busy... | using Windows.UI.Xaml.Controls;
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
namespace DigiTransit10.Controls
{
public sealed partial class NavCommandBar : CommandBar
{
public NavCommandBar()
{
this.InitializeComponent();
... | mit | C# |
a3e0f8303069a16488967d7e0913c05aecbcb14d | Remove memoization of compilation assemblies from ReferenceInfo | dotnet/roslyn,KevinRansom/roslyn,weltkante/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,wvdd007/roslyn... | src/Features/Core/Portable/UnusedReferences/ReferenceInfo.cs | src/Features/Core/Portable/UnusedReferences/ReferenceInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Microsoft.CodeA... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Microsoft.CodeA... | mit | C# |
77aab59478f1c069c4992c69617502697be2ca6c | add 15.11 siebel workflow related files | oracle/Accelerators,oracle/Accelerators,oracle/Accelerators,oracle/Accelerators | casemgmt/ebs/cx/projects/Accelerator.EBS.ServiceStatusBarAddIn/Logs/DefaultLog.cs | casemgmt/ebs/cx/projects/Accelerator.EBS.ServiceStatusBarAddIn/Logs/DefaultLog.cs | /* *********************************************************************************************
* This file is part of the Oracle Service Cloud Accelerator Reference Integration set published
* by Oracle Service Cloud under the MIT license (MIT) included in the original distribution.
* Copyright (c) 2014, 2015... | /* *********************************************************************************************
* This file is part of the Oracle Service Cloud Accelerator Reference Integration set published
* by Oracle Service Cloud under the MIT license (MIT) included in the original distribution.
* Copyright (c) 2014, 2015... | mit | C# |
a10ecb17f3a03fdce64fc9615fc42628447b7911 | Clean up Program.cs | bfriesen/CSharpinator | src/CSharpifier.Console/Program.cs | src/CSharpifier.Console/Program.cs | using System;
using System.IO;
using System.Xml.Linq;
namespace CSharpifier
{
class Program
{
static void Main(string[] args)
{
XDocument xDocument;
if (args.Length == 0)
{
Console.WriteLine("Must include path to document as first argument."... | using System;
using System.IO;
using System.Xml.Linq;
namespace CSharpifier
{
class Program
{
static void Main(string[] args)
{
XDocument xDocument;
if (args == null)
{
xDocument = XDocument.Parse(@"
<foo>
<bars>
<bar id=""1"">abc</bar... | mit | C# |
06b8199d0d149094c6e8142d8a1503b592a722b4 | Fix release build | Cyberboss/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host.Watchdog/IActiveAssemblyDeleter.cs | src/Tgstation.Server.Host.Watchdog/IActiveAssemblyDeleter.cs | namespace Tgstation.Server.Host.Watchdog
{
/// <summary>
/// For deleting <see cref="System.Reflection.Assembly"/>s used by the program
/// </summary>
interface IActiveAssemblyDeleter
{
/// <summary>
/// Deletes an <see cref="System.Reflection.Assembly"/> that is in use by the runtime
/// </summary>
/// <... | using System.Reflection;
namespace Tgstation.Server.Host.Watchdog
{
/// <summary>
/// For deleting <see cref="Assembly"/>s used by the program
/// </summary>
interface IActiveAssemblyDeleter
{
/// <summary>
/// Deletes an <paramref name="assembly"/> that is in use by the runtime
/// </summary>
/// <param... | agpl-3.0 | C# |
9ef98a674c4f50a7e36faca4eba9f8b8996ac07f | Kill commented out code so Scott isn't sad | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement | Commencement.Mvc/App_Start/FilterConfig.cs | Commencement.Mvc/App_Start/FilterConfig.cs | using System;
using System.Web;
using System.Web.Mvc;
using Serilog;
namespace Commencement.Mvc
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleAndLogErrorAttribute());
}
}
[Attri... | using System;
using System.Web;
using System.Web.Mvc;
using Serilog;
namespace Commencement.Mvc
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleAndLogErrorAttribute());
}
}
[Attri... | mit | C# |
74bbbce95401354873ccbbfd558bc066bad80955 | Add some labels to AddGameObjectViewModelBase | leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Models/AddGameObjectViewModelBase.cs | Joinrpg/Models/AddGameObjectViewModelBase.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace JoinRpg.Web.Models
{
public class AddGameObjectViewModelBase
{
public int ProjectId { get; set; }
[Required, DisplayName("Является частью локаций")]
public List<int> ParentCharacterGr... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using JoinRpg.DataModel;
namespace JoinRpg.Web.Models
{
public class AddGameObjectViewModelBase
{
[Required]
public int ProjectId { get; set; }
[Required]
public List<int> ParentCharacterGroupIds { get; set; } = new Lis... | mit | C# |
e74afba37a131ef6b8c288caec14f1aed852c900 | comment setTimeouts | apimatic/unirest-net,Knight1988/unirest-net | unirest-net/unirest-net/src/http/Unirest.cs | unirest-net/unirest-net/src/http/Unirest.cs | using System.Net.Http;
using unirest_net.request;
namespace unirest_net.http
{
public class Unirest
{
// Should add overload that takes URL object
public static HttpRequest get(string url)
{
return new HttpRequest(HttpMethod.Get, url);
}
public static Http... | using System.Net.Http;
using unirest_net.request;
namespace unirest_net.http
{
public class Unirest
{
// Should add overload that takes URL object
public static HttpRequest get(string url)
{
return new HttpRequest(HttpMethod.Get, url);
}
public static Http... | mit | C# |
230fa69c964dee69698ff781062c8d38cae5683e | Apply suggestions from code review | CyrusNajmabadi/roslyn,gafter/roslyn,KirillOsenkov/roslyn,reaction1989/roslyn,tannergooding/roslyn,wvdd007/roslyn,ErikSchierboom/roslyn,mgoertz-msft/roslyn,jasonmalinowski/roslyn,AmadeusW/roslyn,aelij/roslyn,stephentoub/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,jmarolf/roslyn,physhi/roslyn,eriawan/roslyn,davkean/roslyn,... | src/EditorFeatures/TestUtilities/ChangeSignature/AddedParameterOrExistingIndex.cs | src/EditorFeatures/TestUtilities/ChangeSignature/AddedParameterOrExistingIndex.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ChangeSignature;
namespace Microsoft.CodeAnalysis.Test.Utilities.ChangeSignature
{
internal sealed class AddedParameterOrEx... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ChangeSignature;
namespace Microsoft.CodeAnalysis.Test.Utilities.ChangeSignature
{
internal class AddedParameterOrExistingI... | mit | C# |
4e8ab66bdf6dae23c08f449bc6d70eced9d374ba | Remove redunded Remove-AzureRmSqlDatabaseAuditing Cmdlet alias | naveedaz/azure-powershell,AzureRT/azure-powershell,ClogenyTechnologies/azure-powershell,seanbamsft/azure-powershell,pankajsn/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,seanbamsft/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechno... | src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs | src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
bb18960e078ed725945b7ef2e8deb7b9ad6b068c | Edit it | sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp | websocket-sharp/Server/IWebSocketSession.cs | websocket-sharp/Server/IWebSocketSession.cs | #region License
/*
* IWebSocketSession.cs
*
* The MIT License
*
* Copyright (c) 2013-2014 sta.blockhead
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... | #region License
/*
* IWebSocketSession.cs
*
* The MIT License
*
* Copyright (c) 2013-2014 sta.blockhead
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... | mit | C# |
81b8950ee211fcc4023cdc89dbdf2d235be473e9 | Fix tests. | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Test/GU0082IdenticalTestCaseTests/Diagnostics.cs | Gu.Analyzers.Test/GU0082IdenticalTestCaseTests/Diagnostics.cs | namespace Gu.Analyzers.Test.GU0082IdenticalTestCaseTests
{
using Gu.Roslyn.Asserts;
using NUnit.Framework;
internal class Diagnostics
{
private static readonly TestMethodAnalyzer Analyzer = new TestMethodAnalyzer();
private static readonly ExpectedDiagnostic ExpectedDiagnostic = Expect... | namespace Gu.Analyzers.Test.GU0082IdenticalTestCaseTests
{
using Gu.Roslyn.Asserts;
using NUnit.Framework;
internal class Diagnostics
{
private static readonly TestMethodAnalyzer Analyzer = new TestMethodAnalyzer();
private static readonly ExpectedDiagnostic ExpectedDiagnostic = Expect... | mit | C# |
a7bc6fcb10c894ca32282d16e6d7db1337f74313 | Change directory | sakapon/Samples-2015 | AzureMLSample/ColorDataConsole/Program.cs | AzureMLSample/ColorDataConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace ColorDataConsole
{
static class Program
{
static void Main(string[] args)
{
CreateColorData();
CreateColorData... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace ColorDataConsole
{
static class Program
{
static void Main(string[] args)
{
CreateColorDataJP();
}
static... | mit | C# |
dea0fcd483fda1f6e86421928368d94b8ced5be4 | Update Assert.cs | stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp | ZUGFeRD-Test/Assert.cs | ZUGFeRD-Test/Assert.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ZUGFeRD_Test
{
public class Assert
{
public static bool AreEqual(object o1, object o2)
{
if (!o1.Equals(o2))
{
throw new Exception();
}
... | apache-2.0 | C# |
20645312e5d7c93e8ecc576626b328b0dfd4b2f8 | Bump version to 0.9.4 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
493297f1df600866331af28c1330f4e605476438 | Bump version to 0.10.6 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
679df86cd9dceb7bae7099f2d503450c74ea0c7b | update version 1.1.3 | clabnet/DataTestLoader,clabnet/DataTestLoader | DataTestLoader/Properties/AssemblyInfo.cs | DataTestLoader/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... | apache-2.0 | C# |
f53601451b54af864aa974a9e615833a38202d40 | Make site name sitei | shibayan/kudu,EricSten-MSFT/kudu,projectkudu/kudu,barnyp/kudu,sitereactor/kudu,projectkudu/kudu,EricSten-MSFT/kudu,kenegozi/kudu,oliver-feng/kudu,shrimpy/kudu,dev-enthusiast/kudu,kenegozi/kudu,YOTOV-LIMITED/kudu,bbauya/kudu,duncansmart/kudu,puneet-gupta/kudu,juoni/kudu,shanselman/kudu,puneet-gupta/kudu,chrisrpatterson/... | Kudu.FunctionalTests/GitStabilityTests.cs | Kudu.FunctionalTests/GitStabilityTests.cs | using System.Linq;
using System.Threading.Tasks;
using Kudu.Core.Deployment;
using Kudu.FunctionalTests.Infrastructure;
using Xunit;
namespace Kudu.FunctionalTests
{
public class GitStabilityTests
{
[Fact]
public void NSimpleDeployments()
{
string repositoryName = "HelloKud... | using System.Linq;
using System.Threading.Tasks;
using Kudu.Core.Deployment;
using Kudu.FunctionalTests.Infrastructure;
using Xunit;
namespace Kudu.FunctionalTests
{
public class GitStabilityTests
{
[Fact]
public void NSimpleDeployments()
{
string repositoryName = "HelloKud... | apache-2.0 | C# |
f2b9d73561b388f9ceef109b3e0b758f42c30dd3 | Remove broken test | MichalDepta/FAKE,brianary/FAKE,Kazark/FAKE,rflechner/FAKE,xavierzwirtz/FAKE,MiloszKrajewski/FAKE,wooga/FAKE,RMCKirby/FAKE,MichalDepta/FAKE,leflings/FAKE,NaseUkolyCZ/FAKE,modulexcite/FAKE,RMCKirby/FAKE,ovu/FAKE,gareth-evans/FAKE,yonglehou/FAKE,mfalda/FAKE,dlsteuer/FAKE,modulexcite/FAKE,daniel-chambers/FAKE,satsuper/FAKE... | src/test/Test.FAKECore/FileHandling/CleanDirectorySpecs.cs | src/test/Test.FAKECore/FileHandling/CleanDirectorySpecs.cs | using System.IO;
using Machine.Specifications;
namespace Test.FAKECore.FileHandling
{
public class when_cleaning_directory_after_creating_test_structure : BaseFunctions
{
Establish context = CreateTestFileStructure;
Because of = () => CleanDir(TestData.TestDir);
It should_be_writeabl... | using System.IO;
using Machine.Specifications;
namespace Test.FAKECore.FileHandling
{
public class when_cleaning_empty_directory_after_creating_test_structure : BaseFunctions
{
Establish context = CreateTestDirStructure;
Because of = () => CleanDir(TestData.TestDir);
It should_cleane... | apache-2.0 | C# |
342c1a7048b4bb425f09f521b1f325a4eccc3562 | edit TrackDrawer | ChristianHemann/HTW_Motorsport_Simulator | Assets/Scripts/UnityInterface/TrackDrawer.cs | Assets/Scripts/UnityInterface/TrackDrawer.cs | using CalculationComponents;
using CalculationComponents.TrackComponents;
using Output;
using UnityEngine;
namespace UnityInterface
{
public class TrackDrawer : MonoBehaviour
{
private ImportantClasses.Vector2[] _positions;
public GameObject Cone;
void Start()
{
//... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CalculationComponents;
using MathNet.Numerics.LinearAlgebra;
using UnityEngine;
namespace UnityInterface
{
public class TrackDrawer : MonoBehaviour
{
private ImportantClasses.Vector2[] _positions;
publi... | bsd-2-clause | C# |
9d5f4ff365dd157acc9a80071b31a812500a2330 | Change Camera Speed | ReiiYuki/KU-Structure | Assets/Scripts/UtilityScript/CameraZoomer.cs | Assets/Scripts/UtilityScript/CameraZoomer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoomer : MonoBehaviour {
public float orthoZoomSpeed = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoomer : MonoBehaviour {
public float perspectiveZoomSpeed = 0.00000001f; // The rate of change of the field of view in perspective mode.
public float orthoZoomSpeed = 0.00000001f; // The rate of c... | mit | C# |
47781ff33638c619fae47f7a80633d64bcc87771 | Update Blueprint41/TypeConversion/DateTimeToLong.cs | xirqlz/blueprint41 | Blueprint41/TypeConversion/DateTimeToLong.cs | Blueprint41/TypeConversion/DateTimeToLong.cs | using Blueprint41.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blueprint41.TypeConversion
{
internal class DateTimeToLong : Conversion<DateTime, long>
{
protected override long Converter(DateTime value)
{
... | using Blueprint41.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blueprint41.TypeConversion
{
internal class DateTimeToLong : Conversion<DateTime, long>
{
protected override long Converter(DateTime value)
{
... | mit | C# |
a2ca2be4d74694a69f9e7024568670a8cbd19296 | Expand report model | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/Models/Report.cs | src/AtomicChessPuzzles/Models/Report.cs | using MongoDB.Bson.Serialization.Attributes;
namespace AtomicChessPuzzles.Models
{
public class Report
{
[BsonElement("_id")]
public string ID { get; set; }
[BsonElement("type")]
public string Type { get; set; }
[BsonElement("reporter")]
public string Reporter... | using MongoDB.Bson.Serialization.Attributes;
namespace AtomicChessPuzzles.Models
{
public class Report
{
[BsonElement("_id")]
public string ID { get; set; }
[BsonElement("type")]
public string Type { get; set; }
[BsonElement("reporter")]
public string Reporter... | agpl-3.0 | C# |
10694169a4490823b5f0f0e8200a8ff5d0d61e40 | Add AddStarToWikiTestAsync | ats124/backlog4net | src/Backlog4net.Test/StarMethodsTest.cs | src/Backlog4net.Test/StarMethodsTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Backlog4net.Test
{
using Api;
using Api.Option;
using Backlog4net.Internal.Json;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Backlog4net.Test
{
using Api;
using Api.Option;
using Backlog4net.Internal.Json;... | mit | C# |
0c655b8fc941565f6304aa7845e91f5d7eb87618 | Add shared CssBoolean instances | Carbon/Css | src/Carbon.Css/Ast/Values/CssBoolean.cs | src/Carbon.Css/Ast/Values/CssBoolean.cs | namespace Carbon.Css
{
public sealed class CssBoolean : CssValue
{
public static readonly CssBoolean True = new CssBoolean(true);
public static readonly CssBoolean False = new CssBoolean(false);
public CssBoolean(bool value)
: base(NodeKind.Boolean)
{
... | namespace Carbon.Css
{
public sealed class CssBoolean : CssValue
{
public CssBoolean(bool value)
: base(NodeKind.Boolean)
{
Value = value;
}
public bool Value { get; }
public override CssNode CloneNode() => new CssBoolean(Value);
... | mit | C# |
d74f124f83b425242bcb07a3e456b190f9d95ebe | remove dependency on static Metric class | cvent/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,huoxudong125/Metrics.N... | Src/Metrics/Reporters/ScheduledReporter.cs | Src/Metrics/Reporters/ScheduledReporter.cs | using System;
namespace Metrics.Reporters
{
public class ScheduledReporter
{
private readonly Timer reportTime = null;
private readonly Func<Reporter> reporter;
private readonly TimeSpan interval;
private readonly MetricsRegistry registry;
private System.Threading.Time... | using System;
namespace Metrics.Reporters
{
public class ScheduledReporter
{
private readonly Timer reportTime = null;
private readonly Func<Reporter> reporter;
private readonly TimeSpan interval;
private readonly MetricsRegistry registry;
private System.Threading.Time... | apache-2.0 | C# |
90591a184a4c374a43931a4a56044ea98e72b70a | Add 'Internal' and 'Gateway' to known source values. | clement911/ShopifySharp,addsb/ShopifySharp,nozzlegear/ShopifySharp | ShopifySharp/Entities/ShopifyOrderRisk.cs | ShopifySharp/Entities/ShopifyOrderRisk.cs | using Newtonsoft.Json;
using System;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify order risk.
/// </summary>
public class ShopifyOrderRisk : ShopifyObject
{
/// <summary>
/// Use this flag when a fraud check is accompanied with a call to the Orders AP... | using Newtonsoft.Json;
using System;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify order risk.
/// </summary>
public class ShopifyOrderRisk : ShopifyObject
{
/// <summary>
/// Use this flag when a fraud check is accompanied with a call to the Orders AP... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.