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 |
|---|---|---|---|---|---|---|---|---|
366133a2001270fdf692e79bb3ae4969b44f3323 | Save authorization information, when app is suspended. | henrikfroehling/TraktApiSharp | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | namespace TraktApiSharp.Example.UWP
{
using Services.SettingsServices;
using Services.TraktService;
using System.Threading.Tasks;
using Template10.Controls;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
... | namespace TraktApiSharp.Example.UWP
{
using Services.SettingsServices;
using System.Threading.Tasks;
using Template10.Controls;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
[Bindable]
sealed partial class App : Template10.Common.BootStrap... | mit | C# |
1cc9f50e7c5cd34ee81692b20237477457f68995 | Fix edit profile routing | BCITer/Jabber,BCITer/Jabber,BCITer/Jabber | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "EditProfile",
... | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "EditProfile",
url... | mit | C# |
5a044502cfe324e25e987852e7cfcf48c162c77b | Update AssemblyInfo.cs | rjasica/sign | sign/Properties/AssemblyInfo.cs | sign/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CommandLine;
[assembly: AssemblyTitle("sign")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("sign")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CommandLine;
[assembly: AssemblyTitle("sign")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("sign")]
[assembly: ... | mit | C# |
4400ae197348091e17c3465445648f7ee52faa98 | Update HowToCreateChart.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as... | Examples/CSharp/Charts/HowToCreateChart.cs | Examples/CSharp/Charts/HowToCreateChart.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Charts
{
public class HowToCreateChart
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Charts
{
public class HowToCreateChart
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Metho... | mit | C# |
d64f5722e13e488bc77b64b4dc16ed62f6d7df9e | Update WeaverConfigEntry.cs | Fody/Fody,GeertvanHorrik/Fody | Fody/ConfigFileFinder/WeaverConfigEntry.cs | Fody/ConfigFileFinder/WeaverConfigEntry.cs | public class WeaverConfigEntry
{
public WeaverConfigEntry(
WeaverConfigFile configFile,
string elementName,
string content,
int executionOrder)
{
ConfigFile = configFile;
ElementName = elementName;
Content = content;
ExecutionOrder = executionOrde... | public class WeaverConfigEntry
{
public WeaverConfigEntry(WeaverConfigFile configFile,
string elementName,
string content,
int executionOrder)
{
ConfigFile = configFile;
ElementName = elementName;
Content = content;
ExecutionOrder = executionOrder;
}
... | mit | C# |
288b3e2feb3ce7f43a2db713720e4b89f2761c98 | Change version number | mono/tao,OpenRA/tao,OpenRA/tao,mono/tao | Framework/Projects/Tao.Sdl/AssemblyInfo.cs | Framework/Projects/Tao.Sdl/AssemblyInfo.cs | #region License
/*
MIT License
Copyright 2003-2005 Tao Framework Team
http://www.taoframework.com
All rights reserved.
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, includin... | #region License
/*
MIT License
Copyright 2003-2005 Tao Framework Team
http://www.taoframework.com
All rights reserved.
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, includin... | mit | C# |
93c10b4bd094bc93e30c8fe9fa1c1d3fccc2daba | Modify collision response for asteroids | iridinite/shiftdrive | Client/Asteroid.cs | Client/Asteroid.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
private... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
private... | bsd-3-clause | C# |
274ea614f20570a10ff6b7be061ea86888d51414 | Update test to work with the new interface | jacksonh/MCloud,jacksonh/MCloud | src/test.cs | src/test.cs |
using System;
using System.Collections.Generic;
using MCloud;
using MCloud.Linode;
public class T {
public static void Main (string [] args)
{
if (args.Length < 1) {
Console.WriteLine ("You need to supply your Linode API key.");
return;
}
LinodeDriver driver = new LinodeDriver (args [0], null);
... |
using System;
using System.Collections.Generic;
using MCloud;
using MCloud.Linode;
public class T {
public static void Main (string [] args)
{
if (args.Length < 1) {
Console.WriteLine ("You need to supply your Linode API key.");
return;
}
LinodeDriver driver = new LinodeDriver (args [0], null);
... | mit | C# |
10540b16d9d91ca2aebdb2c8ee6785d8019e0f53 | ADd additional fields to edit for vehicles | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Vehicles/Edit.cshtml | Battery-Commander.Web/Views/Vehicles/Edit.cshtml | @model Vehicle
@using (Html.BeginForm("Save", "Vehicles", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => model.Uni... | @model Vehicle
@using (Html.BeginForm("Save", "Vehicles", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => model.Uni... | mit | C# |
a6b72aebb54b7829413701c3567a783e527f472c | 設定ファルの初期設定ファイル名が不適切であった :scream_cat: | BlackEllis/copy_and_authorization_tool | source/copy_and_authorization_tool/constant.cs | source/copy_and_authorization_tool/constant.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace copy_and_authorization_tool
{
class constant
{
// 引数でのキーワード
public const string RESOURCES_KEY_EXTERNAL = "EXTERNAL_FILE"; // 外部設定ファイル参照フォルダ設定オプション
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace copy_and_authorization_tool
{
class constant
{
// 引数でのキーワード
public const string RESOURCES_KEY_EXTERNAL = "EXTERNAL_FILE"; // 外部設定ファイル参照フォルダ設定オプション
pub... | mit | C# |
12f1169ee6e91ce60fbd4f8720078f6aa70c7ed3 | set rituals in datacontext of mainpage | kidchenko/windows-phone | DailyRitualsApp/DailyRitualsApp/MainPage.xaml.cs | DailyRitualsApp/DailyRitualsApp/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | mit | C# |
c662025e899a941ecc84429fcc162036ebcd0039 | Update Load to add O&M support | ADAPT/ADAPT | source/ADAPT/LoggedData/Load.cs | source/ADAPT/LoggedData/Load.cs | /*******************************************************************************
* Copyright (C) 2015, 2018, 2019 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* Copyright (C) 2019 Syngenta
* All rights reserved. This program and the accompanying materials
* are made available unde... | /*******************************************************************************
* Copyright (C) 2015, 2018, 2019 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public ... | epl-1.0 | C# |
6ecc1c204222adcd3e89aa0aea5eba54d2e49e25 | Allow invoices to be used in the AttachmentRepository | MatthewSteeples/XeroAPI.Net,TDaphneB/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net | source/XeroApi/Model/Invoice.cs | source/XeroApi/Model/Invoice.cs | using System;
namespace XeroApi.Model
{
public class Invoice : EndpointModelBase, IAttachmentParent
{
[ItemId]
public virtual Guid InvoiceID { get; set; }
[ItemNumber]
public string InvoiceNumber { get; set; }
[ItemUpdatedDate]
public DateTime? Up... | using System;
namespace XeroApi.Model
{
public class Invoice : EndpointModelBase
{
[ItemId]
public virtual Guid InvoiceID { get; set; }
[ItemNumber]
public string InvoiceNumber { get; set; }
[ItemUpdatedDate]
public DateTime? UpdatedDateUTC { get;... | mit | C# |
ba39de4d0a617645feae70b9b0a22339de4e3518 | Make 'Register' page prettier | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/Views/User/Register.cshtml | src/ChessVariantsTraining/Views/User/Register.cshtml | @section Title {Register}
@if (ViewBag.Error != null)
{
@foreach (string err in ViewBag.Error)
{
<div class="error">@err</div>
}
}
<h1>Register for an account</h1>
@{ Html.BeginForm("New", "User", FormMethod.Post); }
<p>Username: <input type="text" placeholder="Username" name="username"></p>
<p>Pas... | @section Title {Register}
@if (ViewBag.Error != null)
{
@foreach (string err in ViewBag.Error)
{
<div class="error">@err</div>
}
}
@{ Html.BeginForm("New", "User", FormMethod.Post); }
<input type="text" placeholder="Username" name="username">
<input type="password" name="password">
<input type="tex... | agpl-3.0 | C# |
dece1de8448f35ba1da0432346bd39891238115d | Add xml comment to TransitionType | Haraguroicha/CefSharp,ITGlobal/CefSharp,NumbersInternational/CefSharp,battewr/CefSharp,windygu/CefSharp,jamespearce2006/CefSharp,rover886/CefSharp,Octopus-ITSM/CefSharp,ITGlobal/CefSharp,zhangjingpu/CefSharp,haozhouxu/CefSharp,AJDev77/CefSharp,jamespearce2006/CefSharp,joshvera/CefSharp,yoder/CefSharp,rover886/CefSharp,... | CefSharp/IRequest.cs | CefSharp/IRequest.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp
{
public interface IRequest
{
string Url { get; set; }
string Me... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp
{
public interface IRequest
{
string Url { get; set; }
string Me... | bsd-3-clause | C# |
b801cffddb09dcdbf5ad3d9c2cb6866ab2d75abb | 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# |
2d095fef653cdbf892d15cdc83bf8079aaf2c1cb | Update ShellCommandHelpItem.cs | tiksn/TIKSN-Framework | TIKSN.Core/Shell/ShellCommandHelpItem.cs | TIKSN.Core/Shell/ShellCommandHelpItem.cs | using System.Collections.Generic;
namespace TIKSN.Shell
{
public class ShellCommandHelpItem
{
public ShellCommandHelpItem(string commandName, IEnumerable<string> parameters)
{
this.CommandName = commandName;
this.Parameters = string.Join(", ", parameters); //TODO: local... | using System.Collections.Generic;
namespace TIKSN.Shell
{
public class ShellCommandHelpItem
{
public ShellCommandHelpItem(string commandName, IEnumerable<string> parameters)
{
CommandName = commandName;
Parameters = string.Join(", ", parameters); //TODO: localize
... | mit | C# |
39f8e30dffd1e147e0793e170bad542f3b3c0348 | bump NuGet version | lukesampson/HastyAPI.FreshBooks | Properties/AssemblyInfo.cs | 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("Ha... | 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("Ha... | mit | C# |
95c0d63dce0ab61426b4e17f3fac7a462ebc37b3 | update pod | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/TheXamarinPodcast.cs | src/Firehose.Web/Authors/TheXamarinPodcast.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class TheXamarinPodcast : IAmACommunityMember, IAmAPodcast
{
public string FirstName => "The .NET MAUI";
public string LastName => "Podcast";
public string StateOr... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class TheXamarinPodcast : IAmACommunityMember, IAmAPodcast
{
public string FirstName => "The .NET MAUI Podcast";
public string LastName => "Podcast";
public string... | mit | C# |
f749826b3faeb6a27bca19ef0eb0caa452033b04 | Fix EnvironmentData parsing for some BFME maps | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Data/Map/EnvironmentData.cs | src/OpenSage.Game/Data/Map/EnvironmentData.cs | using System.IO;
using OpenSage.Data.Utilities.Extensions;
namespace OpenSage.Data.Map
{
public sealed class EnvironmentData : Asset
{
public const string AssetName = "EnvironmentData";
public float WaterMaxAlphaDepth { get; private set; }
public float DeepWaterAlpha { get; private se... | using System.IO;
using OpenSage.Data.Utilities.Extensions;
namespace OpenSage.Data.Map
{
public sealed class EnvironmentData : Asset
{
public const string AssetName = "EnvironmentData";
public float WaterMaxAlphaDepth { get; private set; }
public float DeepWaterAlpha { get; private se... | mit | C# |
4a506e64900c5601c6b79e2cd0b8ce2696922548 | Update Services.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/NakedObjects.Rest.Test.EndToEnd/Services.cs | Test/NakedObjects.Rest.Test.EndToEnd/Services.cs | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | apache-2.0 | C# |
2d9c036b89e164327222845b2f017a9cc5043dee | update Testing.WebApi version for release | aranasoft/cobweb | src/Testing.WebApi/Properties/AssemblyInfo.cs | src/Testing.WebApi/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("Co... | 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("Co... | bsd-3-clause | C# |
99adf8db1175d6e7dc312d2c8d7eae270c005e9d | Update VBEDriver.cs | CosmosOS/Cosmos,trivalik/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,trivalik/Cosmos,zarlo/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,fanoI/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,trivalik/Cosmos | source/Cosmos.HAL/Drivers/VBEDriver.cs | source/Cosmos.HAL/Drivers/VBEDriver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.HAL.Drivers
{
public class VBEDriver
{
private Core.IOGroup.VBE IO = Core.Global.BaseIOGroups.VBE;
public VBEDriver()
{
if (Cosmos.HA... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.HAL.Drivers
{
public class VBEDriver
{
private Core.IOGroup.VBE IO = Core.Global.BaseIOGroups.VBE;
public VBEDriver()
{
if (Cosmos.HA... | bsd-3-clause | C# |
c6eca5afe2dbc12d3a5a6046500f88bd8ccb3376 | Fix home page next show time | reactiveui/website,M-Zuber/live.asp.net,pakrym/kudutest,peterblazejewicz/live.asp.net,aspnet/live.asp.net,Janisku7/live.asp.net,pakrym/kudutest,aspnet/live.asp.net,TimMurphy/live.asp.net,hanu412/live.asp.net,M-Zuber/live.asp.net,SaarCohen/live.asp.net,peterblazejewicz/live.asp.net,SaarCohen/live.asp.net,reactiveui/webs... | src/live.asp.net/Controllers/HomeController.cs | src/live.asp.net/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using live.asp.net.Data;
using live.asp.net.Services;
using live.asp.net.ViewModels;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity;
namespace live.asp.net.Controllers
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using live.asp.net.Data;
using live.asp.net.Services;
using live.asp.net.ViewModels;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity;
namespace live.asp.net.Controllers
{
... | mit | C# |
399631dd19bc9c92bf15c44c737107d800bf8053 | Add Clark Kent to contact page | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
7879f14127e1415ba7ca3b2d610ff02d918488fb | Comment out Apple encoders on Linux. | jherby2k/AudioWorks | AudioWorks/tests/AudioWorks.Api.Tests/DataSources/AudioEncoderInfoDataSource.cs | AudioWorks/tests/AudioWorks.Api.Tests/DataSources/AudioEncoderInfoDataSource.cs | /* Copyright © 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks 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 Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks 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 Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | agpl-3.0 | C# |
a92e551077724b9a81ce02cd2983e76ffd421b9f | add stop before uninstall | mclear/Sesame,mclear/Sesame,mclear/Sesame | Service/NFCRingServiceHost/ProjectInstaller.cs | Service/NFCRingServiceHost/ProjectInstaller.cs | using System;
using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;
using System.Diagnostics;
using System.ServiceProcess;
namespace NFCRing.Service.Host
{
[RunInstaller(true)]
public class ProjectInstaller : Installer
{
private readonly ServiceInstaller _servi... | using System.ComponentModel;
using System.Configuration.Install;
using System.Diagnostics;
using System.ServiceProcess;
namespace NFCRing.Service.Host
{
[RunInstaller(true)]
public class ProjectInstaller : Installer
{
private readonly ServiceInstaller _serviceInstaller;
public ProjectInst... | apache-2.0 | C# |
d30d3e850f8846e5dd3fd8772bc0879ee91c98cb | Fix font sizes | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/Unity/CW_Scale.cs | Source/ContractsWindow.Unity/Unity/CW_Scale.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Unity
{
public class CW_Scale : CW_Popup
{
[SerializeField]
private Slider SliderScale = null;
[SerializeField]
private Toggle FontToggle = null;
... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Unity
{
public class CW_Scale : CW_Popup
{
[SerializeField]
private Slider SliderScale = null;
[SerializeField]
private Toggle FontToggle = null;
... | mit | C# |
df6049017c00a85079270d32703b23e4f5eb3d32 | Update EF-Client-Model to latest version of IdentityServer Client-Model | faithword/IdentityServer3.EntityFramework,buybackoff/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework,henkmeulekamp/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework | Source/Core.EntityFramework/Entities/Client.cs | Source/Core.EntityFramework/Entities/Client.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Core.EntityFramework.Entities
{
public class Client
{
[Key]
public virtual int Id { get; set; }
public virtu... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Core.EntityFramework.Entities
{
public class Client
{
[Key]
public virtual int Id { get; set; }
public virtu... | apache-2.0 | C# |
319d782a0c648ea114c9e88a9bf7b3f698eb8857 | Update 7.5 | ClickBuddy/ClickElo | ClickVayne/ClickVayne/Properties/AssemblyInfo.cs | ClickVayne/ClickVayne/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: AssemblyTi... | 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: AssemblyTi... | apache-2.0 | C# |
2220f3fe007a07170a487ec4916e85ef8d252590 | Split MemberOutputTests to separate asserts | bazubii/t4ts,AkosLukacs/t4ts,AkosLukacs/t4ts,bazubii/t4ts,dolly22/t4ts,cskeppstedt/t4ts,cskeppstedt/t4ts,dolly22/t4ts | T4TS.Tests/Output/MemberOutputAppenderTests.cs | T4TS.Tests/Output/MemberOutputAppenderTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T4TS.Tests
{
[TestClass]
public class MemberOutputAppenderTests
{
[TestMethod]
public void TypescriptVersion083Y... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T4TS.Tests
{
[TestClass]
public class MemberOutputAppenderTests
{
[TestMethod]
public void MemberOutputAppenderR... | apache-2.0 | C# |
4e095f8494923f0855ea40a0171a46457c8dc244 | bump to 1.12.6 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar 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... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar 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... | agpl-3.0 | C# |
482b52e6cc2aad897fabf3a6ee032f8202009a64 | Update timerdecorator test to prevent failed test | Hammerstad/Moya | TestMoya.Runner/Runners/TimerDecoratorTests.cs | TestMoya.Runner/Runners/TimerDecoratorTests.cs | namespace TestMoya.Runner.Runners
{
using System;
using System.Reflection;
using Moq;
using Moya.Attributes;
using Moya.Models;
using Moya.Runner.Runners;
using Xunit;
public class TimerDecoratorTests
{
private readonly Mock<ITestRunner> testRunnerMock;
private Time... | namespace TestMoya.Runner.Runners
{
using System;
using System.Reflection;
using System.Threading;
using Moq;
using Moya.Models;
using Moya.Runner.Runners;
using Xunit;
public class TimerDecoratorTests
{
private readonly Mock<ITestRunner> testRunnerMock;
private rea... | mit | C# |
afbbad651a0a72df8479068ab7b537b3fe53922b | Update DateTimeExtensions.cs | Flamtap/Flamtap | Flamtap/Flamtap/Extensions/DateTimeExtensions.cs | Flamtap/Flamtap/Extensions/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace Flamtap.Extensions
{
public static class DateTimeExtensions
{
/// <summary>
/// Get the week number of the year for this DateTime, according to the ISO 8601 standard.
/// </summary>
/// <remarks>
/// Presumes th... | using System;
using System.Globalization;
namespace Flamtap.Extensions
{
public static class DateTimeExtensions
{
/// <summary>
/// Get the week number of the year for this DateTime, according to the ISO 8601 standard.
/// </summary>
/// <remarks>
/// Presumes th... | mit | C# |
34e6a73f8896148eaf597a2572b7fe68af49ab0c | Add disposal check. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/SingleInstanceChecker.cs | WalletWasabi/Services/SingleInstanceChecker.cs | using NBitcoin;
using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace WalletWasabi.Services
{
public class SingleInstanceChecker : IDisposable
{
private const string MutexString = "WalletWasabiSingleIn... | using NBitcoin;
using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace WalletWasabi.Services
{
public class SingleInstanceChecker : IDisposable
{
private const string MutexString = "WalletWasabiSingleIn... | mit | C# |
79c9c52aeb1396d2051c781ec191bbca6b9c50a6 | add FileEmbedded (readFileFrom) | signumsoftware/extensions,signumsoftware/framework,MehdyKarimpour/extensions,signumsoftware/framework,MehdyKarimpour/extensions,AlejandroCano/extensions,signumsoftware/extensions,AlejandroCano/extensions | Signum.Entities.Extensions/Files/FileEmbedded.cs | Signum.Entities.Extensions/Files/FileEmbedded.cs | using Signum.Utilities;
using System;
using System.IO;
namespace Signum.Entities.Files
{
[Serializable]
public class FileEmbedded : EmbeddedEntity, IFile
{
public FileEmbedded()
{
}
public FileEmbedded(string readFileFrom)
{
this.FileName ... | using Signum.Utilities;
using System;
namespace Signum.Entities.Files
{
[Serializable]
public class FileEmbedded : EmbeddedEntity, IFile
{
[StringLengthValidator(AllowNulls = false, Min = 3, Max = 200)]
public string FileName { get; set; }
[NotNullValidator]
pu... | mit | C# |
2a1e0007b9378be15e21894d4b216f127119e521 | Remove obsolete Validation.IsFinite() in favour of float.IsFinite() | ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework | osu.Framework/Utils/Validation.cs | osu.Framework/Utils/Validation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK;
using osu.Framework.Graphics;
namespace osu.Framework.Utils
{
public static class Validation
{
/// <summary>
/// Returns whether the... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK;
using osu.Framework.Graphics;
using System;
namespace osu.Framework.Utils
{
public static class Validation
{
/// <summary>
/// Retur... | mit | C# |
e16b02ea2b2a68743917daa186c1acb55341bcb5 | Replace `NotImplementedException` with `NotSupportedException` in MigrationConverter | Weingartner/Migrations.Json.Net | Weingartner.Json.Migration/MigrationConverter.cs | Weingartner.Json.Migration/MigrationConverter.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Weingartner.Json.Migration
{
public class MigrationConverter : JsonConverter
{
protected IMigrateData<JToken> DataMigrator;
readonly Th... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Weingartner.Json.Migration
{
public class MigrationConverter : JsonConverter
{
protected IMigrateData<JToken> DataMigrator;
readonly Th... | mit | C# |
18c54c3a5a27a827197f4e3ec3b2f29770c37266 | Add Wade Winston Wilson to contacts | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
3caffb81e187e2d546fba85640791004d12e3ad5 | Add new element colours to TournamentGame | 2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu | osu.Game.Tournament/TournamentGame.cs | osu.Game.Tournament/TournamentGame.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Game.Graphics;
using osu.Game.Graphics.Cursor;
using osu.Game.Tournament.Models;
using osuTK.... | // 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.Cursor;
using osuTK.Graphics;
namespace osu.Game.Tournament
{
public class TournamentGame : TournamentGameBase
... | mit | C# |
f71e31a1cd5c8a327f6434baf9dbcf4da96f3265 | Fix the double buffer rent/free (#921) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.SignalR.Common/Internal/Formatters/BinaryMessageFormatter.cs | src/Microsoft.AspNetCore.SignalR.Common/Internal/Formatters/BinaryMessageFormatter.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Binary;
using System.Buffers;
using System.IO;
namespace Microsoft.AspNetCore.SignalR.Internal.Formatters
{
public stat... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Binary;
using System.Buffers;
using System.IO;
namespace Microsoft.AspNetCore.SignalR.Internal.Formatters
{
public stat... | apache-2.0 | C# |
b859b4cf371899af6e4cfe8322beb4b493903c51 | Update DashboardView.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | src/Core2D.Editor/Views/DashboardView.cs | src/Core2D.Editor/Views/DashboardView.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;
namespace Core2D.Editor.Views
{
/// <summary>
/// Dashboard view.
/// </summary>
public class DashboardView : ViewBase<ProjectEditor... | // 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;
namespace Core2D.Editor.Views
{
/// <summary>
/// Dashboard view.
/// </summary>
public class DashboardView : ViewBase<ProjectEditor... | mit | C# |
8b233178db6eb2dfc3b93b41992b6877a7a344a1 | Add comment. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | src/HelloCoreClrApp/IResourceProvider.cs | src/HelloCoreClrApp/IResourceProvider.cs | namespace HelloCoreClrApp
{
/// <summary>
/// Usage of a the ResourceProvider is only allowed in factory classes.
/// </summary>
public interface IResourceProvider
{
T CreateResource<T>() where T : class;
}
}
| namespace HelloCoreClrApp
{
public interface IResourceProvider
{
T CreateResource<T>() where T : class;
}
}
| mit | C# |
b9bc9295e83abb9637fd3725091ff989907eb2df | rework of ValueSyntax, final refactoring | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/ReniUI/Classification/SyntaxToken.cs | src/ReniUI/Classification/SyntaxToken.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Scanner;
using Reni.TokenClasses;
using Reni.Validation;
using ReniUI.Helper;
namespace ReniUI.Classification
{
sealed class SyntaxToken : Token
{
internal override Syntax Syntax { get; }
intern... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Scanner;
using Reni.TokenClasses;
using Reni.Validation;
using ReniUI.Helper;
namespace ReniUI.Classification
{
sealed class SyntaxToken : Token
{
internal SyntaxToken(Syntax syntax) => Syntax = syntax;... | mit | C# |
4413e4d3651829873475f37d3f9d769115386f18 | make log format better readable | mooware/mooftpserv | lib/DefaultLogHandler.cs | lib/DefaultLogHandler.cs | using System;
using System.IO;
using System.Net;
namespace mooftpserv
{
public class DefaultLogHandler : ILogHandler
{
private TextWriter Out;
private bool Verbose;
public DefaultLogHandler(TextWriter Output, bool Verbose)
{
this.Out = Output;
this.Verbo... | using System;
using System.IO;
using System.Net;
namespace mooftpserv
{
public class DefaultLogHandler : ILogHandler
{
private TextWriter Out;
private bool Verbose;
public DefaultLogHandler(TextWriter Output, bool Verbose)
{
this.Out = Output;
this.Verbo... | mit | C# |
18366b12d66a35b59f5f1aa0bf7175011a02adde | Fix slack message properties | taddison/blog-oms-to-slack | ClassLibrary/OMSToSlack/Models/SlackMessage.cs | ClassLibrary/OMSToSlack/Models/SlackMessage.cs | using Newtonsoft.Json;
public class SlackMessage
{
[JsonProperty("text")]
public string Text { get; set; }
[JsonProperty("channel")]
public string Channel { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("link_names")]
public bool LinkNames { ... | public class SlackMessage
{
public string Text { get; set; }
public string Channel { get; set; }
public string Username { get; set; }
public bool LinkNames { get; set; }
} | mit | C# |
a80e92e3fb6e1f882b0f0f2b1a1df1714802e3c1 | Add reason message to OuterLoopAttribute | roncain/buildtools,weshaggard/buildtools,chcosta/buildtools,ericstj/buildtools,weshaggard/buildtools,stephentoub/buildtools,mmitche/buildtools,ericstj/buildtools,stephentoub/buildtools,JeremyKuhne/buildtools,karajas/buildtools,dotnet/buildtools,ericstj/buildtools,ianhays/buildtools,JeremyKuhne/buildtools,MattGal/buildt... | src/xunit.netcore.extensions/Attributes/OuterLoopAttribute.cs | src/xunit.netcore.extensions/Attributes/OuterLoopAttribute.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 Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test method... | // 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 Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test method... | mit | C# |
f38eb0f6ca629ff0ffbe5b375082086776722fc9 | Add event serialization test | maxmind/minfraud-api-dotnet | MaxMind.MinFraud.UnitTest/Request/EventTest.cs | MaxMind.MinFraud.UnitTest/Request/EventTest.cs | using MaxMind.MinFraud.Request;
using System;
using System.Text.Json;
using Xunit;
namespace MaxMind.MinFraud.UnitTest.Request
{
public class EventTest
{
[Fact]
public void TestTransactionId()
{
var eventReq = new Event(transactionId: "t12");
Assert.Equal("t12",... | using MaxMind.MinFraud.Request;
using System;
using Xunit;
namespace MaxMind.MinFraud.UnitTest.Request
{
public class EventTest
{
[Fact]
public void TestTransactionId()
{
var eventReq = new Event(transactionId: "t12");
Assert.Equal("t12", eventReq.TransactionId)... | apache-2.0 | C# |
e2dd709132e2208cb190731d1ba5d6a7d96a7df6 | Change _About.cshtml colorado.ckan.net reference to data.opencolorado.org | opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API | CkanDotNet.Web/Views/Theme/Denver/_About.cshtml | CkanDotNet.Web/Views/Theme/Denver/_About.cshtml | @using CkanDotNet.Web.Models.Helpers
<div class="container">
<h2 class="container-title">About This Catalog</h2>
<div class="container-content">
<p>
This catalog was created in partnership with <a href="http://www.opencolorado.org" class="external">Open Colorado</a>.
</p>
<p>
To search for open data provided
by other... | @using CkanDotNet.Web.Models.Helpers
<div class="container">
<h2 class="container-title">About This Catalog</h2>
<div class="container-content">
<p>
This catalog was created in partnership with <a href="http://www.opencolorado.org" class="external">Open Colorado</a>.
</p>
<p>
To search for open data provided
by other... | apache-2.0 | C# |
4f162037d8095de9d88aacd076c91a1e9a046d5a | fix exception on listing non-crypted splitted file | yar229/WebDavMailRuCloud | MailRuCloud/MailRuCloudApi/Base/SplittedFile.cs | MailRuCloud/MailRuCloudApi/Base/SplittedFile.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace YaR.MailRuCloud.Api.Base
{
public class SplittedFile : File
{
public SplittedFile(IList<File> files)
{
_fileHeader = files.First(f => !f.ServiceInfo.SplitInfo.IsPart);
Files = files;
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace YaR.MailRuCloud.Api.Base
{
public class SplittedFile : File
{
public SplittedFile(IList<File> files)
{
_fileHeader = files.First(f => !f.ServiceInfo.SplitInfo.IsPart);
Files = files;
... | mit | C# |
0b5f58f185c64fb8deb750c80699cc4e87ac7463 | Add prompt functionality | tsolarin/readline,tsolarin/readline | src/ReadLine/ReadLine.cs | src/ReadLine/ReadLine.cs | using System.Collections.Generic;
namespace System
{
public static class ReadLine
{
private static KeyHandler _keyHandler;
private static List<string> _history;
public static Func<string, int, string[]> AutoCompletionHandler { private get; set; }
static ReadLine()
{
... | using System.Collections.Generic;
namespace System
{
public static class ReadLine
{
private static KeyHandler _keyHandler;
private static List<string> _history;
public static Func<string, int, string[]> AutoCompletionHandler { private get; set; }
static ReadLine()
{
... | mit | C# |
4b200291cc07aab9e0b31320788da923b7621cef | Update ShellProgressFactoryOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Shell/ShellProgressFactoryOptions.cs | TIKSN.Core/Shell/ShellProgressFactoryOptions.cs | namespace TIKSN.Shell
{
public class ShellProgressFactoryOptions
{
public ShellProgressFactoryOptions() => this.Accuracy = 1;
public int Accuracy { get; set; }
}
}
| namespace TIKSN.Shell
{
public class ShellProgressFactoryOptions
{
public ShellProgressFactoryOptions()
{
Accuracy = 1;
}
public int Accuracy { get; set; }
}
} | mit | C# |
ff7c5038e1ba805b343435f80f02d1b73a86f7f6 | Add check to ensure the collider the projectile hit is enabled. This feels like a good check to me, but you might disagree *shrug* (#612) | prime31/Nez,prime31/Nez,ericmbernier/Nez,prime31/Nez | Nez.Portable/ECS/Components/Physics/ProjectileMover.cs | Nez.Portable/ECS/Components/Physics/ProjectileMover.cs | using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace Nez
{
/// <summary>
/// moves taking collision into account only for reporting to any ITriggerListeners. The object will always move the full amount so it is up
/// to the caller to destroy it on impact if desired.
/// </summary>
public ... | using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace Nez
{
/// <summary>
/// moves taking collision into account only for reporting to any ITriggerListeners. The object will always move the full amount so it is up
/// to the caller to destroy it on impact if desired.
/// </summary>
public ... | mit | C# |
75afa84eaf5fe016a4224c88bf5518f6bf03dbe9 | add equality property for SuspendedResult | acple/ParsecSharp | ParsecSharp/Core/Result/SuspendedResult.cs | ParsecSharp/Core/Result/SuspendedResult.cs | using System;
using System.Runtime.InteropServices;
namespace ParsecSharp
{
[StructLayout(LayoutKind.Auto)]
public readonly struct SuspendedResult<TToken, T> : ISuspendedState<TToken>, IEquatable<SuspendedResult<TToken, T>>
{
public Result<TToken, T> Result { get; }
public ISuspendedState<... | using System;
using System.Runtime.InteropServices;
namespace ParsecSharp
{
[StructLayout(LayoutKind.Auto)]
public readonly struct SuspendedResult<TToken, T> : ISuspendedState<TToken>
{
public Result<TToken, T> Result { get; }
public ISuspendedState<TToken> Rest { get; }
IDisposab... | mit | C# |
ff444d2bfef3262c7ece5368308388f7c29f7863 | Fix UnityFiberFactory cancellation token | spicypixel/cs-concurrency-kit,spicypixel/cs-concurrency-kit,spicypixel/cs-concurrency-kit | Source/SpicyPixel.Threading.Unity/UnityFiberFactory.cs | Source/SpicyPixel.Threading.Unity/UnityFiberFactory.cs | /*
Author: Aaron Oneal, http://aarononeal.info
Copyright (c) 2012 Spicy Pixel, http://spicypixel.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limita... | /*
Author: Aaron Oneal, http://aarononeal.info
Copyright (c) 2012 Spicy Pixel, http://spicypixel.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limita... | mit | C# |
845161e8ef8e9ac3ac4480d4c08193cea533c184 | Revert mscorlib change for auto properties as default | x335/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs | WootzJs.Runtime/Properties/AssemblyInfo.cs | WootzJs.Runtime/Properties/AssemblyInfo.cs | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | mit | C# |
69b3ce4683ff6d6e1bcf515f085c8d03357036b2 | set cache hit context result default | aonweb/fluent-http | AonWeb.FluentHttp/Handlers/Caching/CacheHitContext.cs | AonWeb.FluentHttp/Handlers/Caching/CacheHitContext.cs | using AonWeb.FluentHttp.Helpers;
namespace AonWeb.FluentHttp.Handlers.Caching
{
public class CacheHitContext<TResult> : CacheHitContext
{
public CacheHitContext(ICacheContext context, TResult result)
: base(context, result)
{ }
internal CacheHitContext(CacheHitContext cont... | using AonWeb.FluentHttp.Helpers;
namespace AonWeb.FluentHttp.Handlers.Caching
{
public class CacheHitContext<TResult> : CacheHitContext
{
public CacheHitContext(ICacheContext context, TResult result)
: base(context, result)
{ }
internal CacheHitContext(CacheHitContext cont... | mit | C# |
6754ff4d1cf92e0940fcfddaa8be0b9920bf217c | Add comments in Logger | BYVoid/distribox | Distribox/Distribox.CommonLib/Logger.cs | Distribox/Distribox.CommonLib/Logger.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using log4net;
using log4net.Config;
namespace Distribox.CommonLib
{
public static class Logger
{
private static ILog _logger = null;
/// <summary>
/// Ensures the instan... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using log4net;
using log4net.Config;
namespace Distribox.CommonLib
{
public static class Logger
{
private static ILog _logger = null;
private static void EnsureInitialized()
... | mit | C# |
74c94ed2f09a755b204b44a77781b5902da1ae43 | Add ToString override for BBToken | GGG-KILLER/GUtils.NET | GUtils.Parsing.BBCode/Lexing/BBToken.cs | GUtils.Parsing.BBCode/Lexing/BBToken.cs | /*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... | /*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... | mit | C# |
f712e6177c8e8acb6ccff2efcb62cf29432ae422 | fix typo | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Models/PictureViewModel.cs | AstroPhotoGallery/AstroPhotoGallery/Models/PictureViewModel.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace AstroPhotoGallery.Models
{
public class PictureViewModel
{
public int Id { get; set; }
[Required]
[StringLength(50)]
[DisplayName("Title")]
public stri... | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace AstroPhotoGallery.Models
{
public class PictureViewModel
{
public int Id { get; set; }
[Required]
[StringLength(50)]
[DisplayName("Title")]
public stri... | mit | C# |
e716f43013e54d711957338a78f1b32f2ccbc8d1 | Update AdminController.cs | kdjmaja/Project,kdjmaja/Project,kdjmaja/Project | LibraryWebApp/src/LibraryWebApp/Controllers/AdminController.cs | LibraryWebApp/src/LibraryWebApp/Controllers/AdminController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LibraryWebApp.Interfaces;
using LibraryWebApp.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fw... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LibraryWebApp.Interfaces;
using LibraryWebApp.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fw... | apache-2.0 | C# |
c14d3f59733e206e067ca1b58c0de786b25dff05 | Bump version to 0.27.0 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
600fb800ba25d4dd66336d5b6123d69111976e04 | Test NuGet auto publish | damageboy/daemaged.ibnet | Daemaged.IBNet/Properties/AssemblyInfo.cs | Daemaged.IBNet/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... | mit | C# |
d4eaf3dd7f5880d2ffb1a1dd1a6a7621b56fe546 | Update Logger testcase | lailongwei/llbc,lailongwei/llbc,lailongwei/llbc,lailongwei/llbc,lailongwei/llbc | wrap/csllbc/testsuite/core/log/TestCase_Core_Log_Logger.cs | wrap/csllbc/testsuite/core/log/TestCase_Core_Log_Logger.cs | /**
* @file TestCase_Core_Log_Logger.cs
* @author Longwei Lai<lailongwei@126.com>
* @date 2016/07/10
* @version 1.0
*
* @brief
*/
using System;
using llbc;
using Console = llbc.SafeConsole;
class TestCase_Core_Log_Logger : ITestCase
{
public void Run(string[] args)
{
Console.WriteLine("C... | /**
* @file TestCase_Core_Log_Logger.cs
* @author Longwei Lai<lailongwei@126.com>
* @date 2016/07/10
* @version 1.0
*
* @brief
*/
using System;
using llbc;
using Console = llbc.SafeConsole;
class TestCase_Core_Log_Logger : ITestCase
{
public void Run(string[] args)
{
Console.WriteLine("C... | mit | C# |
663bbccc5b57dfec4d5a96aadcb2a9208cd4d9fc | Build and publish nuget package | RockFramework/Rock.Logging | Rock.Logging/Properties/AssemblyInfo.cs | Rock.Logging/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ro... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ro... | mit | C# |
a7834559bf9651fc61b3dcb6a3f137fa7758e252 | Update AssemblyInfo.cs | ipjohnson/Grace | Source/Grace/Properties/AssemblyInfo.cs | Source/Grace/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Grace")]
[assembly: AssemblyDescription("Grace is a po... | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Grace")]
[assembly: AssemblyDescription("Grace is a po... | mit | C# |
aefe042310bdeb59ff52a4cd349e2cf1c0b46c64 | Fix default database is not set properly the first time | Yonom/CupCake | CupCake.Client/Settings/Settings.cs | CupCake.Client/Settings/Settings.cs | using System;
using System.Collections.Generic;
using CupCake.Protocol;
namespace CupCake.Client.Settings
{
public class Settings
{
public Settings()
: this(false)
{
}
public Settings(bool isNew)
{
this.Accounts = new List<Account>();
... | using System;
using System.Collections.Generic;
using CupCake.Protocol;
namespace CupCake.Client.Settings
{
public class Settings
{
public Settings()
: this(false)
{
}
public Settings(bool isNew)
{
this.Accounts = new List<Account>();
... | mit | C# |
9d79d47ebd43e1a9f20f0be6ba9f9b9c435a03f9 | Change version number to 1.0. | stackia/DNSAgent | DNSAgent/Properties/AssemblyInfo.cs | DNSAgent/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("DNSAgent")]
[assembly: AssemblyDescripti... | 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("DNSAgent")]
[assembly: AssemblyDescripti... | mit | C# |
d5e217d93132506a1e0ab05a44979d04e5038a4d | Add further benchmarks to `BenchmarkLocalisableString` | peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework.Benchmarks/BenchmarkLocalisableString.cs | osu.Framework.Benchmarks/BenchmarkLocalisableString.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 BenchmarkDotNet.Attributes;
using osu.Framework.Localisation;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkLocalisableStrin... | // 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 BenchmarkDotNet.Attributes;
using osu.Framework.Localisation;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkLocalisableStrin... | mit | C# |
84655b0798d16f462ec24bb9727c91c2edcde55e | Change hover colour for news title | ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Overlays/Dashboard/Home/News/NewsTitleLink.cs | osu.Game/Overlays/Dashboard/Home/News/NewsTitleLink.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.Framework.Graphics.Containers;
using osu.Framework.Platform;
using osu.Game.Graphics;
using osu.G... | // 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.Framework.Graphics.Containers;
using osu.Framework.Platform;
using osu.Game.Graphics;
using osu.G... | mit | C# |
fc9ec267c01e1d540f479a05ed8d835afbb56a04 | Fix Type.GetTypeCode | jbevain/cecil,sailro/cecil,mono/cecil,SiliconStudio/Mono.Cecil,fnajera-rac-de/cecil | Mono/Type.cs | Mono/Type.cs | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
using System.Reflection;
#if NET_CORE
using System.Collections.Generic;
#endif
namespace Mono {
#if NET_CORE
enum TypeCode {
... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
using System.Reflection;
#if NET_CORE
using System.Collections.Generic;
#endif
namespace Mono {
#if NET_CORE
enum TypeCode {
... | mit | C# |
a391bb24511a8f6ceaf9e12e72489128c3d89d75 | Remove leftover function | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/WalletManager/GenerateWalletViewModel.cs | WalletWasabi.Gui/Tabs/WalletManager/GenerateWalletViewModel.cs | using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using ReactiveUI;
using Splat;
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Gui.ViewModels.Validati... | using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using ReactiveUI;
using Splat;
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Gui.ViewModels.Validati... | mit | C# |
3558ab7bfa087f4db6c9d875148e1cd808fc748e | update album art extraction helper | Legato-Dev/Legato | Legato.AlbumArtExtraction/Helper.cs | Legato.AlbumArtExtraction/Helper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Legato.AlbumArtExtraction
{
public static class Helper
{
public static void Skip(Stream stream, int skip)
{
if (skip > 0)
stream.Seek(skip, SeekOrigin.Current);
}
/// <summary>
/// 指定した... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Legato.AlbumArtExtraction
{
public static class Helper
{
public static void Skip(Stream stream, int skip)
{
if (skip > 0)
stream.Seek(skip, SeekOrigin.Current);
}
/// <summary>
/// ASCI... | mit | C# |
991758ac6dee60ce63cea3bc909cf6825c542160 | Add folder exists check | deeja/Pigeon | Pigeon.Zipper/Pipelines/FindLogs.cs | Pigeon.Zipper/Pipelines/FindLogs.cs | namespace Pigeon.Zipper.Pipelines
{
using System.IO;
using Sitecore.Diagnostics;
using Sitecore.Pipelines;
public class FindLogs: PigeonPipelineProcessor
{
public override void Process(PigeonPipelineArgs args)
{
Assert.IsNotNull(args, "args != null");
Asser... | namespace Pigeon.Zipper.Pipelines
{
using Sitecore.Diagnostics;
using Sitecore.Pipelines;
public class FindLogs: PigeonPipelineProcessor
{
public override void Process(PigeonPipelineArgs args)
{
Assert.IsNotNull(args, "args != null");
Assert.IsNotNull(args.FileD... | mit | C# |
0361fb16b479bc1317101a874750d61a2efba18b | Bump version | khalidabuhakmeh/NElasticsearch,synhershko/NElasticsearch | NElasticsearch/Properties/AssemblyInfo.cs | NElasticsearch/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("NE... | 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("NE... | apache-2.0 | C# |
e9be3dd4a5678d9339dff99342fc5061c2245fbb | Bump version to 8.18.0 | mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
bbb2398a8b4cee039a96883f4fa7a0ed9e18f92d | change retry button icon from ArrowCircleLeft to Redo | ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Screens/Ranking/RetryButton.cs | osu.Game/Screens/Ranking/RetryButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using 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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Gam... | mit | C# |
645a3c576d8069777f126b5b4221e2d799df635a | Remove unused using directives | Baggykiin/pass-winmenu | pass-winmenu/Properties/AssemblyInfo.cs | pass-winmenu/Properties/AssemblyInfo.cs | using System.Reflection;
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 with an assembly.
[assembly: AssemblyTitle("pass-winmenu")]
[as... | 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 ... | mit | C# |
44806f14481d1917b7126acc49e07ba22eb57f0d | Add api point to controller. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Web/Controllers/StatisticsController.cs | src/CK.Glouton.Web/Controllers/StatisticsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CK.Glouton.Lucene;
using CK.Glouton.Model.Lucene;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route("api/stats")]
public class StatisticsController : Controller
{
priv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CK.Glouton.Lucene;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route("api/stats")]
public class StatisticsController : Controller
{
LuceneStatistics luceneStatistics;
... | mit | C# |
7f68487afe2a875efb9ad52b4994648e2b4d97d5 | make window impl public | AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,akrisiun/Perspex,Perspex/Perspex,jkoritzinsky/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jk... | src/Avalonia.Native/WindowImpl.cs | src/Avalonia.Native/WindowImpl.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Native.Interop;
using Avalonia.Platform;
namespace Avalonia.Native
{
public class WindowImpl :... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Native.Interop;
using Avalonia.Platform;
namespace Avalonia.Native
{
class WindowImpl : Window... | mit | C# |
132bec180a271a921ce250a9adb695dce9b4a8d0 | Remove invalid test as the directory should not be deleted since multiple artifacts / dependencies maybe be unzipping into a folder or a child folder. | ComputerWorkware/TeamCityApi | src/TeamCityConsole.Tests/Utils/FileDownloaderTests.cs | src/TeamCityConsole.Tests/Utils/FileDownloaderTests.cs | using NSubstitute;
using Ploeh.AutoFixture.Xunit;
using TeamCityApi.Domain;
using TeamCityConsole.Tests.Helpers;
using TeamCityConsole.Utils;
using Xunit.Extensions;
namespace TeamCityConsole.Tests.Utils
{
public class FileDownloaderTests
{
[Theory]
[AutoNSubstituteData]
public void Sh... | using NSubstitute;
using Ploeh.AutoFixture.Xunit;
using TeamCityApi.Domain;
using TeamCityConsole.Tests.Helpers;
using TeamCityConsole.Utils;
using Xunit.Extensions;
namespace TeamCityConsole.Tests.Utils
{
public class FileDownloaderTests
{
[Theory]
[AutoNSubstituteData]
public void Sh... | mit | C# |
ff56c1c1854c50f4059d532cb7d107e04e552485 | Use correct path | RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag | src/NSwag.Sample.NET50/Startup.cs | src/NSwag.Sample.NET50/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json.Converters;
using NJsonSchema.Generation;
namespace NSwag.Sample.NETCore31
{
public class Start... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json.Converters;
using NJsonSchema.Generation;
namespace NSwag.Sample.NETCore31
{
public class Start... | mit | C# |
494c62a99bb4573646ac6d832e6eea62d6293fa1 | fix typo | puckipedia/CardsAgainstIRC | CardsAgainstIRC3/Game/DeckTypes/SubSet.cs | CardsAgainstIRC3/Game/DeckTypes/SubSet.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace CardsAgainstIRC3.Game.DeckTypes
{
[DeckType("subset")]
class SubSet : IDeckType
{
private IDeckType _deck;
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace CardsAgainstIRC3.Game.DeckTypes
{
[DeckType("subset")]
class SubSet : IDeckType
{
private IDeckType _deck;
... | mit | C# |
a1f544b62fe77d9a572d6b597dd0f9222e22c2a1 | Correct doc comment for ApiConventionTypeMatchBehavior (#7861) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchBehavior.cs | src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchBehavior.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.AspNetCore.Mvc.ApiExplorer
{
/// <summary>
/// The behavior for matching the type of a convention parameter.
/// </summ... | // 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.AspNetCore.Mvc.ApiExplorer
{
/// <summary>
/// The behavior for matching the name of a convention parameter.
/// </summ... | apache-2.0 | C# |
76367029ebc7c76626065cf4e0a94dc5551df7c5 | Update SHVersionAttribute docs | skwasjer/SilentHunter | src/SilentHunter.Core/Controllers/Decoration/SHVersionAttribute.cs | src/SilentHunter.Core/Controllers/Decoration/SHVersionAttribute.cs | using System;
namespace SilentHunter.Controllers.Decoration
{
/// <summary>
/// Currently unused, but can be used to hint that the field it is applied to belongs to a specific version.
/// </summary>
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
// ReSharper disable once InconsistentNaming
publ... | using System;
namespace SilentHunter.Controllers.Decoration
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class, AllowMultiple = true)]
// ReSharper disable once InconsistentNaming
public sealed class SHVersionAttribute : Attribute
{
/// <summary>
/// Declare the class... | apache-2.0 | C# |
e1de187a33b4825cb8fa4a6650f7505d147780a9 | Change "Search" widget "Base URL" default value | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/Search/Settings.cs | DesktopWidgets/Widgets/Search/Settings.cs | using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]
[DisplayName("URL Prefix")]
public string Base... | using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]
[DisplayName("Base URL")]
public string BaseUr... | apache-2.0 | C# |
d13378342765adfe9000613100b575d3cef9f345 | Add --debug option to compare | sethreno/schemazen,sethreno/schemazen | console/Compare.cs | console/Compare.cs | using System;
using System.IO;
using ManyConsole;
using NDesk.Options;
using SchemaZen.Library.Command;
namespace SchemaZen.console {
internal class Compare : ConsoleCommand {
private string _source;
private string _target;
private string _outDiff;
private bool _overwrite;
private bool _verbose;
private ... | using System;
using System.IO;
using ManyConsole;
using NDesk.Options;
using SchemaZen.Library.Command;
namespace SchemaZen.console {
internal class Compare : ConsoleCommand {
private string _source;
private string _target;
private string _outDiff;
private bool _overwrite;
private bool _verbose;
public ... | mit | C# |
bdac5fcdb6f7d3ae98bd8d5538a86a9a31337129 | Bump version to 0.9.5 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.9.5")]
[assembly: AssemblyInformationalVersionAttribute("0.9.5")]
[assembly: AssemblyFileVersionAttribute("0.9.5")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.9.4")]
[assembly: AssemblyInformationalVersionAttribute("0.9.4")]
[assembly: AssemblyFileVersionAttribute("0.9.4")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
fd8ba7a027e4956de0d7e214762fd07a026e303e | Update shadows. Update results screen. Update throttling speed modifier within safe range. | drawcode/game-lib-engine | Engine/Vehicle/AI/Scripts/TriggerSound.cs | Engine/Vehicle/AI/Scripts/TriggerSound.cs | using UnityEngine;
using System.Collections;
public class TriggerSound : MonoBehaviour {
public string tagName1 = "";
public string tagName2 = "";
public AudioClip triggerSound;
public float soundVolume = 1.0f;
private AudioSource triggerAudioSource;
void Awake() {
InitSound(out trigge... | using UnityEngine;
using System.Collections;
public class TriggerSound : MonoBehaviour
{
public string tagName1="";
public string tagName2 = "";
public AudioClip triggerSound;
public float soundVolume = 1.0f;
private AudioSource triggerAudioSource;
void Awake()
{
InitSound(out tri... | mit | C# |
794eba5d1a2ff8d8b37a1e3a61ee3c3b2ca6c9fc | Add ChannelFollowAdd MessageType (#1358) | AntiTcb/Discord.Net,RogueException/Discord.Net | src/Discord.Net.Core/Entities/Messages/MessageType.cs | src/Discord.Net.Core/Entities/Messages/MessageType.cs | namespace Discord
{
/// <summary>
/// Specifies the type of message.
/// </summary>
public enum MessageType
{
/// <summary>
/// The default message type.
/// </summary>
Default = 0,
/// <summary>
/// The message when a recipient is added.
... | namespace Discord
{
/// <summary>
/// Specifies the type of message.
/// </summary>
public enum MessageType
{
/// <summary>
/// The default message type.
/// </summary>
Default = 0,
/// <summary>
/// The message when a recipient is added.
... | mit | C# |
d9e68524b3731c72514c5af7f2abbaca04edc30f | Clean up debug stopwatch to better share code | redbluegames/unity-bulk-rename,redbluegames/unity-mulligan-renamer | Assets/RedBlueGames/MulliganRenamer/Tests/Editor/RBStopwatch.cs | Assets/RedBlueGames/MulliganRenamer/Tests/Editor/RBStopwatch.cs | using System;
using System.Diagnostics;
using System.Collections.Generic;
/// <summary>
/// Convenience class to use a stopwatch with a debug log with frequent resetting.
/// </summary>
public class RBStopwatch
{
private string name;
private Stopwatch stopwatch;
private bool disableLogs;
private Dicti... | using System;
using System.Diagnostics;
/// <summary>
/// Convenience class to use a stopwatch with a debug log with frequent resetting.
/// </summary>
public class RBStopwatch
{
/* Consts, Fields ========================================================================================================= */
priv... | mit | C# |
52f9dc24b767ad90459623f0d4d02b7a6f8fcacf | Fix a race condition in HarvestInfoCache.TryAdd(). | kbilsted/StatePrinter | StatePrinter/Introspection/HarvestInfoCache.cs | StatePrinter/Introspection/HarvestInfoCache.cs | // Copyright 2014 Kasper B. Graversen
//
// 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 Licen... | // Copyright 2014 Kasper B. Graversen
//
// 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 Licen... | apache-2.0 | C# |
9b476926e47d945e463e61ba4c2688f49e7896ef | Update Index.cshtml | kappy/DynamicMvcApplication,kappy/DynamicMvcApplication | DynamicMvcApplication/Views/Home/Index.cshtml | DynamicMvcApplication/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<p>
This is my home
</p>
<a href="http://www.google.pt" id="tstButton">click to test</a>
| @{
ViewBag.Title = "Home Page";
}
<p>
This is my home
</p>
<a href="http://www.google.pt" id="tstButton">
| apache-2.0 | C# |
d40022d3a303ca169a89b54c597f229535b0f333 | Improve Moikkaaja addon performance using Dictionary | attemoi/MoistureBot | Addins/Moikkaaja/Moikkaaja/Moikkaaja.cs | Addins/Moikkaaja/Moikkaaja/Moikkaaja.cs | using System;
using System.Text.RegularExpressions;
using System.Linq;
using MoistureBot.ExtensionPoints;
using MoistureBot.Steam;
using Mono.Addins;
using System.Collections.Generic;
[assembly:Addin("Moikkaaja", "1.0")]
[assembly:AddinDependency("MoistureBot", "1.0")]
[assembly:AddinAuthor("Atte Moisio")]
... | using System;
using System.Text.RegularExpressions;
using System.Linq;
using MoistureBot.ExtensionPoints;
using MoistureBot.Steam;
using Mono.Addins;
[assembly:Addin("Moikkaaja", "1.0")]
[assembly:AddinDependency("MoistureBot", "1.0")]
[assembly:AddinAuthor("Atte Moisio")]
[assembly:AddinDescription("Respon... | mit | C# |
c0db5039b594575378ff302e52434fa72f4dab9b | Allow the CommandRuntime to be set for a cmdlet. | sburnicki/Pash,sillvan/Pash,Jaykul/Pash,mrward/Pash,ForNeVeR/Pash,ForNeVeR/Pash,mrward/Pash,Jaykul/Pash,mrward/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,WimObiwan/Pash,sburnicki/Pash,ForNeVeR/Pash,sillvan/Pash,WimObiwan/Pash,Jaykul/Pash,ForNeVeR/Pash,Jaykul/Pash,sburnicki/Pash,sburnicki/Pash,WimObiwan/Pash,mrward/P... | Source/System.Management/Automation/Internal/InternalCommand.cs | Source/System.Management/Automation/Internal/InternalCommand.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System.Management.Automation.Host;
using System.Xml.Schema;
using Pash.Implementation;
namespace System.Management.Automation.Internal
{
public abstract class InternalCommand
{
internal CommandInfo Co... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System.Management.Automation.Host;
using System.Xml.Schema;
using Pash.Implementation;
namespace System.Management.Automation.Internal
{
public abstract class InternalCommand
{
internal CommandInfo Co... | bsd-3-clause | C# |
3339d33f7361795a71acfacd8b9ca600fc436c55 | Create datatables in Profile.cshtml | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/User/Profile.cshtml | SpaceBlog/SpaceBlog/Views/User/Profile.cshtml | @model SpaceBlog.Models.ApplicationUser
@{
ViewBag.Title = "User - ";
}
<div class="container">
<h2>@ViewBag.Title</h2>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.FullName)
</dt>
<dd>
@Html.Displ... | @model SpaceBlog.Models.ApplicationUser
@{
ViewBag.Title = "My Profile";
}
<div class="container">
<h2>@ViewBag.Title</h2>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.FullName)
</dt>
<dd>
@Html.Dis... | mit | C# |
e280c36b766bbb412d9b3e785555bc0ffbed6432 | Correct typo calss->class | cjmurph/PmsService,cjmurph/PmsService | PlexServiceCommon/AuxiliaryApplication.cs | PlexServiceCommon/AuxiliaryApplication.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace PlexServiceCommon
{
/// <summary>
/// Auxilliary application class.
/// This class represenets an application that should be run when plex runs
/// </summary>
[JsonObject(MemberSe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace PlexServiceCommon
{
/// <summary>
/// Auxilliary application class.
/// This calss represenets an application that should be run when plex runs
/// </summary>
[JsonObject(MemberSe... | mit | C# |
6911bbc524dd569e0485ae6d9432bafa61fc04a0 | Update test | sakapon/Samples-2017 | ProxySample/DynamicHttpConsole/Program.cs | ProxySample/DynamicHttpConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace DynamicHttpConsole
{
class Program
{
const string Uri_ZipCloud = "http://zipcloud.ibsnet.co.jp/api/search";
const string Uri_Cgis_Xml = "http://zip.cgis.biz/xml/zip.php";
static void Main(string[] ... | using System;
using System.Collections.Generic;
using System.Linq;
namespace DynamicHttpConsole
{
class Program
{
const string Uri_ZipCloud = "http://zipcloud.ibsnet.co.jp/api/search";
const string Uri_Cgis_Xml = "http://zip.cgis.biz/xml/zip.php";
static void Main(string[] ... | mit | C# |
e01bcdec965292ca33addb312be572f6024067eb | Add default path action provider for Mac | awaescher/RepoZ,awaescher/RepoZ | RepoZ.Api.Mac/IO/MacPathActionProvider.cs | RepoZ.Api.Mac/IO/MacPathActionProvider.cs | using System.Diagnostics;
using System.Collections.Generic;
using RepoZ.Api.IO;
namespace RepoZ.Api.Mac
{
public class MacPathActionProvider : IPathActionProvider
{
public IEnumerable<PathAction> GetFor(string path)
{
yield return createDefaultPathAction("Open in Finder", path);
}
private PathAction cre... | using System;
using System.Collections.Generic;
using RepoZ.Api.IO;
namespace RepoZ.Api.Mac
{
public class MacPathActionProvider : IPathActionProvider
{
public IEnumerable<PathAction> GetFor(string path)
{
yield return createPathAction("Open", "nil");
}
private PathAction createPathAction(string name, s... | mit | C# |
bb1fdd2e156648d12d4eb33fcc76836a4908b44b | Update tag line | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/DaveCarroll.cs | src/Firehose.Web/Authors/DaveCarroll.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DaveCarroll : IAmACommunityMember
{
public string FirstName => "Dave";
public string LastNa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DaveCarroll : IAmACommunityMember
{
public string FirstName => "Dave";
public string LastNa... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.