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 |
|---|---|---|---|---|---|---|---|---|
29255ea3f95dce80cd696f570547b4ae52c0a3f6 | Align taxonomy filter to right so it doesn't brake the view (#10275) | xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Taxonomies/Views/ContentsAdminListTaxonomyFilter.cshtml | src/OrchardCore.Modules/OrchardCore.Taxonomies/Views/ContentsAdminListTaxonomyFilter.cshtml | @model TaxonomyContentsAdminFilterViewModel
<div class="form-group mb-n1 filter">
<div class="btn-group mt-1">
<select asp-for="SelectedContentItemId" asp-items="Model.Taxonomies" class="selectpicker taxonomy-selectpicker show-tick mr-2" data-header="@T["Filter by {0}", Model.DisplayText]" data-live-search... | @model TaxonomyContentsAdminFilterViewModel
<div class="form-group mb-n1 filter">
<div class="btn-group mt-1">
<select asp-for="SelectedContentItemId" asp-items="Model.Taxonomies" class="selectpicker taxonomy-selectpicker show-tick mr-2" data-header="@T["Filter by {0}", Model.DisplayText]" data-live-search... | bsd-3-clause | C# |
be9b8cac3fd04c559164a162c7e9afe20ff4fc91 | Increment version to v1.5 | phdesign/NppToolBucket | phdesign.NppToolBucket/Properties/AssemblyInfo.cs | phdesign.NppToolBucket/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("Np... | 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("Np... | apache-2.0 | C# |
a2929c0702b6e83127b9ed4f9999e53eab2b0ed7 | Add various clarifications to the web page | davidebbo/ForumScorer | ForumScorer/index.cshtml | ForumScorer/index.cshtml | @using Newtonsoft.Json;
@{
string dataFile = Server.MapPath("~/App_Data/data.json");
string json = File.ReadAllText(dataFile);
var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json);
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Forum ... | @using Newtonsoft.Json;
@{
string dataFile = Server.MapPath("~/App_Data/data.json");
string json = File.ReadAllText(dataFile);
var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json);
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Forum ... | apache-2.0 | C# |
9a706ad5bc222ee33e9563cb141eeb41590d253e | add docs to taskmessage | ddobric/durabletask,affandar/durabletask,Azure/durabletask | Framework/TaskMessage.cs | Framework/TaskMessage.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.... | // ----------------------------------------------------------------------------------
// 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.... | apache-2.0 | C# |
055b917d8d37250f841b77315be1cbef2da5c4cd | Add a no-op NameAcquired handler to silence the warnings | mono/dbus-sharp-glib,mono/dbus-sharp-glib | glib/GLib.cs | glib/GLib.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification. It is h... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification. It is h... | mit | C# |
e5d9d3c19e3f39e2ddc37449e0a54809aa79a5fb | Add link to MemoryStream.CopyToAsync source link. | tintoy/AWTY | test/AWTY.Http.IntegrationTests/DumbMemoryStream.cs | test/AWTY.Http.IntegrationTests/DumbMemoryStream.cs | using System.IO;
namespace AWTY.Http.IntegrationTests
{
/// <summary>
/// A non-optimised version of <see cref="MemoryStream"/> for use in tests.
/// </summary>
/// <remarks>
/// <see cref="MemoryStream"/>'s CopyToAsync performs a bunch of optimisations unless subclassed.
/// https:... | using System.IO;
namespace AWTY.Http.IntegrationTests
{
/// <summary>
/// A non-optimised version of <see cref="MemoryStream"/> for use in tests.
/// </summary>
/// <remarks>
/// <see cref="MemoryStream"/> performs a bunch of optimisations unless subclassed.
///
/// Unfortunate... | mit | C# |
980c93fa0d22d791710acac6e94c9be8bdc9ae7d | Update Weeks Index View | morarj/ACStalkMarket,morarj/ACStalkMarket,morarj/ACStalkMarket | ACStalkMarket/ACStalkMarket/Views/Weeks/Index.cshtml | ACStalkMarket/ACStalkMarket/Views/Weeks/Index.cshtml |
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Index</h2>
@Html.ActionLink("Add Week", "New", "Weeks", new { @class = "btn btn-primary" })
<table id="weeks" class="table table-bordered table-hover">
<thead>
<tr>
<th>Fecha de Inicio</th>
<th>F... |
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Index</h2>
| mit | C# |
9b7613957641128894040827f9ed5ddc9b080d4f | Update PlainTextOutputSpeech.cs | AreYouFreeBusy/AlexaSkillsKit.NET,AreYouFreeBusy/AlexaSkillsKit.NET,AreYouFreeBusy/AlexaSkillsKit.NET | AlexaSkillsKit.Lib/UI/PlainTextOutputSpeech.cs | AlexaSkillsKit.Lib/UI/PlainTextOutputSpeech.cs | // Copyright 2015 Stefan Negritoiu (FreeBusy). See LICENSE file for more information.
using System;
using System.Collections.Generic;
namespace AlexaSkillsKit.UI
{
public class PlainTextOutputSpeech : OutputSpeech
{
public override string Type {
get { return "PlainText"; }
}
... | // Copyright 2015 Stefan Negritoiu (FreeBusy). See LICENSE file for more information.
using System;
using System.Collections.Generic;
namespace AlexaSkillsKit.UI
{
public class PlainTextOutputSpeech : OutputSpeech
{
public override string Type {
get { return "PlainText"; }
}
... | mit | C# |
27473635ed2a9c2ffb2d29075133c79586808973 | Update version. | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | mit | C# |
cb2f34d3ddbf1fc5d5a085bc6a2290270f15aee7 | Update RadialPrescription.cs | ADAPT/ADAPT | source/ADAPT/Prescriptions/RadialPrescription.cs | source/ADAPT/Prescriptions/RadialPrescription.cs | /*******************************************************************************
* Copyright (C) 2015, 2018 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 Li... | /*******************************************************************************
* Copyright (C) 2015 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 License ... | epl-1.0 | C# |
3aaf66d52cb47b142c31e2ccfe0f9fb8e09c0900 | Initialize git repo on startup. | otac0n/GitReview,otac0n/GitReview,otac0n/GitReview | GitReview/Global.asax.cs | GitReview/Global.asax.cs | // -----------------------------------------------------------------------
// <copyright file="Global.asax.cs" company="(none)">
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
// </copyright>
// -----------------... | // -----------------------------------------------------------------------
// <copyright file="Global.asax.cs" company="(none)">
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
// </copyright>
// -----------------... | mit | C# |
73c3bc35043633ddb6dac43d663e0abde1c353dd | Add OData support to base controller | rileywhite/Bix | src/Bix/Repositories/Restful.WebApi/ItemsControllerBase.cs | src/Bix/Repositories/Restful.WebApi/ItemsControllerBase.cs | /***************************************************************************/
// Copyright 2013-2019 Riley White
//
// 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.ap... | /***************************************************************************/
// Copyright 2013-2019 Riley White
//
// 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.ap... | apache-2.0 | C# |
599b6e26f2748f50eda4c50a04ff287c39860963 | fix dispose ordering (#2344) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | src/OpenTelemetry/Metrics/PeriodicExportingMetricReader.cs | src/OpenTelemetry/Metrics/PeriodicExportingMetricReader.cs | // <copyright file="PeriodicExportingMetricReader.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// htt... | // <copyright file="PeriodicExportingMetricReader.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// htt... | apache-2.0 | C# |
e6bf808e71520d31265d8d628e741ff420507a0f | Fix assembly info. | marketinvoice/Machine.Specifications.TeamCityParallelRunner,ivanz/Machine.Specifications.TeamCityParallelRunner | ParallelMSpecRunner/Properties/AssemblyInfo.cs | ParallelMSpecRunner/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... | mit | C# |
d9d38b8f1eb3ae66297bad2aaef596c5cb89dc1a | Remove Canadian Styling of bool | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity... | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity... | mit | C# |
804ac9d31753a373334a48ed80da3a617c6b525b | Update MethodImplementer.cs | Smartasses/RequestHandler | Src/RequestHandler/Helper/MethodImplementer.cs | Src/RequestHandler/Helper/MethodImplementer.cs | using System;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace RequestHandler.Helper
{
class MethodImplementer
{
public void ImplementMethod(MethodInfo method, Type interfaceType, TypeBuilder type)
{
var requestType = method.GetParameters().Single... | using System;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace RequestHandler.Helper
{
class MethodImplementer
{
public void ImplementMethod(MethodInfo method, Type interfaceType, TypeBuilder type)
{
var requestType = method.GetParameters().Single... | mit | C# |
6cb2092c98d6e653bb164a9239a92dcd900c93d5 | Update V11 table index query with filter definition | sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/Schematic | src/SJP.Schematic.PostgreSql/Queries/GetV11TableIndexes.cs | src/SJP.Schematic.PostgreSql/Queries/GetV11TableIndexes.cs | namespace SJP.Schematic.PostgreSql.Queries;
internal static class GetV11TableIndexes
{
internal sealed record Query
{
public string SchemaName { get; init; } = default!;
public string TableName { get; init; } = default!;
}
internal sealed record Result
{
public string? In... | namespace SJP.Schematic.PostgreSql.Queries;
internal static class GetV11TableIndexes
{
internal sealed record Query
{
public string SchemaName { get; init; } = default!;
public string TableName { get; init; } = default!;
}
internal sealed record Result
{
public string? In... | mit | C# |
0f176b2a9d4da0f1a2af1e490f2b75eb206853c3 | Bump version | Yuisbean/WebMConverter,nixxquality/WebMConverter,o11c/WebMConverter | 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("We... | 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("We... | mit | C# |
e5b13d859994baa157f95b1bb9efc45e96b2d9ba | set version to 0.2.0 | tmds/Tmds.MDns | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | //Copyright (C) 2013 Tom Deseyn
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as published by the Free Software Foundation; either
//version 2.1 of the License, or (at your option) any later version.
//This library is distribut... | //Copyright (C) 2013 Tom Deseyn
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as published by the Free Software Foundation; either
//version 2.1 of the License, or (at your option) any later version.
//This library is distribut... | lgpl-2.1 | C# |
00f7e8bf2b441173d76d7770fdab8d8ccd951ec6 | Add new user constructor tests | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop | src/ZobShop.Tests/Models/UserTests/UserConstructorTests.cs | src/ZobShop.Tests/Models/UserTests/UserConstructorTests.cs | using Microsoft.AspNet.Identity.EntityFramework;
using NUnit.Framework;
using ZobShop.Models;
namespace ZobShop.Tests.Models.UserTests
{
[TestFixture]
public class UserConstructorTests
{
[Test]
public void Constructor_Should_InitializeUserCorrectly()
{
var user = new Us... | using Microsoft.AspNet.Identity.EntityFramework;
using NUnit.Framework;
using ZobShop.Models;
namespace ZobShop.Tests.Models.UserTests
{
[TestFixture]
public class UserConstructorTests
{
[Test]
public void Constructor_Should_InitializeUserCorrectly()
{
var user = new Us... | mit | C# |
b35a936f4e03f88cc3e79ed8b56534263839f315 | Fix issue where the file name wasn't getting specified. | NaosFramework/Naos.Database,NaosProject/Naos.Database | Naos.Database.MessageBus.Handlers/BackupMessageHandler.cs | Naos.Database.MessageBus.Handlers/BackupMessageHandler.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BackupMessageHandler.cs" company="Naos">
// Copyright 2015 Naos
// </copyright>
// ----------------------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BackupMessageHandler.cs" company="Naos">
// Copyright 2015 Naos
// </copyright>
// ----------------------------------------------------------------------------------------------... | mit | C# |
aaf57d7e8fea5f835442867db981b4451372e6a3 | Remove methods | jasonmalinowski/roslyn,tmat/roslyn,mgoertz-msft/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,diryboy/roslyn,AlekseyTs/roslyn,wvdd007/roslyn,diryboy/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,mavasani/ro... | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/NoOpPersistentStorageService.cs | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/NoOpPersistentStorageService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.PersistentStorage;
namespace Mi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.PersistentStorage;
namespace Mi... | mit | C# |
3186c8808b65947841978c6064912493c6e21585 | Correct var init | tomgrv/PA.Utilities | PA.Utilities.InnoSetupTask/Microsoft/SolutionProcessor.cs | PA.Utilities.InnoSetupTask/Microsoft/SolutionProcessor.cs | using Microsoft.Build.Evaluation;
using NuGet.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Reflection;
using System.Diagnostics;
using PA.Utilities.InnoSetupTask.InnoSetup;
using Microsoft.Bui... | using Microsoft.Build.Evaluation;
using NuGet.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Reflection;
using System.Diagnostics;
using PA.Utilities.InnoSetupTask.InnoSetup;
using Microsoft.Bui... | mit | C# |
145ab8b212994a98e381996ca1886597919d1f74 | Remove special groups from list of movement targets | joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | Joinrpg/Views/Shared/AvailClaimTargetsPartial.cshtml | Joinrpg/Views/Shared/AvailClaimTargetsPartial.cshtml | @using JoinRpg.Web.Models
@model CharacterGroupListViewModel
@functions {
private static string GetName(CharacterGroupListItemViewModel gr)
{
return gr.Name + (gr.AvaiableDirectSlots > 0 ? (" " + DisplayCount.OfX(gr.AvaiableDirectSlots, "вакансия", "вакансии", "вакансий")) : "");
}
}
@helper CreateValu... | @using JoinRpg.Web.Models
@model CharacterGroupListViewModel
@functions {
private static string GetName(CharacterGroupListItemViewModel gr)
{
return gr.Name + (gr.AvaiableDirectSlots > 0 ? (" " + DisplayCount.OfX(gr.AvaiableDirectSlots, "вакансия", "вакансии", "вакансий")) : "");
}
}
@helper CreateValu... | mit | C# |
04893edd0c95710b37766320a6a2721f5016fb0a | Add unit vectors | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/Geometry/PointDirection3.cs | SolidworksAddinFramework/Geometry/PointDirection3.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using SolidworksAddinFramework.OpenGl;
namespace SolidworksAddinFramework.Geometry
{
public struct PointDirection3
{
public readonly Vector3 Point;
public readonly Vector3 Direction;
/// <summary>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using SolidworksAddinFramework.OpenGl;
namespace SolidworksAddinFramework.Geometry
{
public struct PointDirection3
{
public readonly Vector3 Point;
public readonly Vector3 Direction;
/// <summary>... | mit | C# |
20e94797261448341d218bd82bcb02c5aa0ee6e8 | Add bold style to ZirMed on home page. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Index.cshtml | ZirMed.TrainingSandbox/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET - <strong>ZirMed</strong> Training Sandbox</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... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET - ZirMed Training Sandbox</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 mo... | mit | C# |
dca9d3be6004c9eb318a564dbc52023c198f8d13 | Clean up Disposewatch | MasterDevs/MasterDevs.Core,MasterDevs/MasterDevs.Lib | source/MasterDevs.Core/Import/Utils/Disposewatch.cs | source/MasterDevs.Core/Import/Utils/Disposewatch.cs | using MasterDevs.Core.Common.Service;
using System;
using System.Diagnostics;
namespace MasterDevs.Core.Common.Utils
{
public class Disposewatch : IDisposable
{
private const string DEFAULT_MESSAGE = @"Finished ";
private readonly Action<TimeSpan> _onFinished;
private bool _isDisposed... | using MasterDevs.Core.Common.Infrastructure;
using System;
using Debug = System.Diagnostics.Debug;
namespace MasterDevs.Core.Common.Utils
{
public class Disposewatch : IDisposable
{
private const string DEFAULT_Message = @"Finished ";
private readonly DateTime _startTime = DateTime.Now;
... | mit | C# |
fccce3e48096952797937e5f68969febcd9baada | Fix a typo | adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats | Database.Migrations/Migrations/4-ThisMonthsTestResultsView.cs | Database.Migrations/Migrations/4-ThisMonthsTestResultsView.cs | using BroadbandSpeedStats.Database.Schema;
using FluentMigrator;
namespace BroadbandSpeedTests.Database.Migrations.Migrations
{
[Migration(20170302)]
public class ThisMonthsTestResultsView : Migration
{
public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.ThisMonthsT... | using BroadbandSpeedStats.Database.Schema;
using FluentMigrator;
namespace BroadbandSpeedTests.Database.Migrations.Migrations
{
[Migration(20170300)]
public class ThisMonthsTestResultsView : Migration
{
public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.ThisMonthsT... | mit | C# |
2847b75f251797031d0df3a206e122c35afadeb4 | Change the bounding box type of the Xmas Bell's clapper end. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasBell/XmasBell.cs | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasBell/XmasBell.cs | using BulletML;
using Microsoft.Xna.Framework;
using XmasHell.Physics.Collision;
namespace XmasHell.Entities.Bosses.XmasBell
{
class XmasBell : Boss
{
public XmasBell(XmasHell game, PositionDelegate playerPositionDelegate) :
base(game, BossType.XmasBell, playerPositionDelegate)
{
... | using BulletML;
using Microsoft.Xna.Framework;
using XmasHell.Physics.Collision;
namespace XmasHell.Entities.Bosses.XmasBell
{
class XmasBell : Boss
{
public XmasBell(XmasHell game, PositionDelegate playerPositionDelegate) :
base(game, BossType.XmasBell, playerPositionDelegate)
{
... | mit | C# |
958aeeeea45a1ffa3952b20b0013db4638ef8c88 | Update LocalStorageFileSystemTests.cs | A51UK/File-Repository | File-Repository-Tests/LocalStorageFileSystemTests.cs | File-Repository-Tests/LocalStorageFileSystemTests.cs | /*
* Copyright 2017 Craig Lee Mark Adams
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace File_Repository_Tests
{
[TestClass]
public class LocalStorageFileSystemTests
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| apache-2.0 | C# |
f767b815ed551214db5e2da45383c0e0544234b8 | Fix build | Fody/LoadAssembliesOnStartup | src/MethodTimeLogger.cs | src/MethodTimeLogger.cs | using System.Reflection;
//using Catel.Logging;
using System;
/// <summary>
/// Note: do not rename this class or put it inside a namespace.
/// </summary>
internal static class MethodTimeLogger
{
#region Methods
public static void Log(MethodBase methodBase, long milliseconds, string message)
{
Log... | using System.Reflection;
using Catel.Logging;
using System;
/// <summary>
/// Note: do not rename this class or put it inside a namespace.
/// </summary>
internal static class MethodTimeLogger
{
#region Methods
public static void Log(MethodBase methodBase, long milliseconds, string message)
{
Log(m... | mit | C# |
2d43e4583d52959084b50d19a0477f54b200a71c | Change Assembly name | sitkoru/ModelSelector | 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: AssemblyConfigurat... | 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: AssemblyConfigurat... | mit | C# |
a6e43597876530dc225b8c015e19ffd430ca32d8 | allow resetting | Pondidum/RabbitHarness,Pondidum/RabbitHarness | RabbitHarness/TimeCache.cs | RabbitHarness/TimeCache.cs | using System;
using System.Diagnostics;
using RabbitMQ.Client;
namespace RabbitHarness
{
public class TimeCache
{
private static Lazy<DateTime> _start;
private static readonly Stopwatch Stopwatch;
static TimeCache()
{
Stopwatch = new Stopwatch();
Reset();
}
public static void Reset()
{
_sta... | using System;
using System.Diagnostics;
using RabbitMQ.Client;
namespace RabbitHarness
{
public class TimeCache
{
private static readonly Lazy<DateTime> Start;
private static readonly Stopwatch Stopwatch;
static TimeCache()
{
Stopwatch = new Stopwatch();
Start = new Lazy<DateTime>(() =>
{
var ... | lgpl-2.1 | C# |
b1aa01c85320cb882a24cc68ccd722dc7357355d | Update ConstructorGuards.cs | SixLabors/Fonts | tests/SixLabors.Fonts.Tests/ConstructorGuards.cs | tests/SixLabors.Fonts.Tests/ConstructorGuards.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using Xunit;
namespace SixLabors.Fonts.Tests
{
public class ConstructorGuards
{
[Fact]
public void FontClass_DefaultFontFamilyThrowsException()
{
ArgumentException ex = Assert.Thro... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using Xunit;
namespace SixLabors.Fonts.Tests
{
public class ConstructorGuards
{
[Fact]
public void FontClass_DefaultFontFamilyThrowsException()
{
ArgumentException ex = Assert.Thro... | apache-2.0 | C# |
2961b090c496ae956162d43c98eb6fdf28ea42e0 | Make Re internal | rdumont/net-semver,rdumont/net-semver,vtex/net-semver | SemanticVersioning/Re.cs | SemanticVersioning/Re.cs | using System.Text.RegularExpressions;
namespace SemanticVersioning
{
internal static class Re
{
public static Regex Full = new Regex(ReSrc.Full, RegexOptions.Compiled);
public static Regex Loose = new Regex(ReSrc.Loose, RegexOptions.Compiled);
public static Regex Comparator = new Regex... | using System.Text.RegularExpressions;
namespace SemanticVersioning
{
public static class Re
{
public static Regex Full = new Regex(ReSrc.Full, RegexOptions.Compiled);
public static Regex Loose = new Regex(ReSrc.Loose, RegexOptions.Compiled);
public static Regex Comparator = new Regex(R... | mit | C# |
f7a64c9ebe59802ea3f329b3251969bbaf158d73 | update message | zdjohn/asyncpipetosample | DemoActors/CallerActor.cs | DemoActors/CallerActor.cs | using Akka.Actor;
using AsyncRpcEmulator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoActors
{
public class CallerActor : ReceiveActor
{
private readonly IActorRef _receiver;
private readonly AsyncCallEmulato... | using Akka.Actor;
using AsyncRpcEmulator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoActors
{
public class CallerActor : ReceiveActor
{
private readonly IActorRef _receiver;
private readonly AsyncCallEmulato... | mit | C# |
34dd22d476cdbce45e9bc93e522ba709c29a743c | fix problem with event virtual function in AppFormContainer | dgx80/csharp-app-lib | Forms/AppFormContainer.cs | Forms/AppFormContainer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace AppLib.Forms
{
public abstract class AppFormContainer : Form, ApplicationFormInterface
{
public virtual void onOnload() { }
public virtual void onPostload() { }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace AppLib.Forms
{
public abstract class AppFormContainer : Form, ApplicationFormInterface
{
public void onOnload() { }
public void onPostload() { }
public void onN... | mit | C# |
65e804fe13a3c34e1bce25b3aa1f12ea6637238f | trim last slash from apiURL | paymill/paymill-net,paymill/paymill-net | PaymillWrapper/Paymill.cs | PaymillWrapper/Paymill.cs | using Newtonsoft.Json.Linq;
using PaymillWrapper.Models;
using PaymillWrapper.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Web;
using PaymillWrapper.Service;
namespace PaymillWrapper
{
public static cl... | using Newtonsoft.Json.Linq;
using PaymillWrapper.Models;
using PaymillWrapper.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Web;
using PaymillWrapper.Service;
namespace PaymillWrapper
{
public static cl... | mit | C# |
b0d62fd9a3921edaf744412b2bde5e061a5a2171 | Add method to subtract points from player | TheEadie/PlayerRank,TheEadie/PlayerRank | PlayerRank/PlayerScore.cs | PlayerRank/PlayerScore.cs | using System;
using System.Runtime.InteropServices;
namespace PlayerRank
{
public class PlayerScore
{
public string Name { get; set; }
public Points Points { get; internal set; }
public PlayerScore(string name)
{
Name = name;
Points = new Points... | using System;
using System.Runtime.InteropServices;
namespace PlayerRank
{
public class PlayerScore
{
public string Name { get; set; }
public Points Points { get; internal set; }
public PlayerScore(string name)
{
Name = name;
Points = new Points... | mit | C# |
559af0a8ebf214fcf99d89296e2485982dbef5be | Update DirectInputPadPlugin.Build.cs | katze7514/UEDirectInputPadPlugin,katze7514/UEDirectInputPadPlugin | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
"DirectInputPadPlugin/Public",
// ..... | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
"DirectInputPadPlugin/Public",
// ..... | mit | C# |
407b7ebf7270844598a297b72effa97f5fec49e5 | Use FFXIResourceManager.GetAreaName() instead of relying on the special behaviour of FFXIResourceManager.GetResourceString(). | Zastai/POLUtils | PlayOnline.FFXI.Utils.StrangeApparatus/MainWindow.cs | PlayOnline.FFXI.Utils.StrangeApparatus/MainWindow.cs | // $Id$
// Copyright 2004-2010 Tim Van Holder
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | // $Id$
// Copyright 2004-2010 Tim Van Holder
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | apache-2.0 | C# |
7e7120131234ec43003cba60fb62d204c27e3e9c | Fix tests | tom-englert/AutoProperties.Fody | Tests/ExtensionMethods.cs | Tests/ExtensionMethods.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Fody;
using JetBrains.Annotations;
namespace Tests
{
public static class ExtensionMethods
{
[NotNull]
public static dynamic GetInstance([NotNull] this Assembly assembly, [NotNull] string className,... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Fody;
using JetBrains.Annotations;
namespace Tests
{
public static class ExtensionMethods
{
[NotNull]
public static dynamic GetInstance([NotNull] this Assembly assembly, [NotNull] string className,... | mit | C# |
4d924a65f868876291c282de704c38d00aa98b46 | Fix DateTimeConverterTests ConvertBack | thomasgalliker/ValueConverters.NET | Tests/ValueConverters.NetFx.Tests/DateTimeConverterTests.cs | Tests/ValueConverters.NetFx.Tests/DateTimeConverterTests.cs | using System;
using System.Globalization;
using System.Windows.Data;
using FluentAssertions;
using Xunit;
namespace ValueConverters.NetFx.Tests
{
public class DateTimeConverterTests
{
private const string DefaultFormat = "g";
[Fact]
public void ShouldConvert()
{
... | using System;
using System.Globalization;
using System.Windows.Data;
using Xunit;
namespace ValueConverters.NetFx.Tests
{
public class DateTimeConverterTests
{
private const string DefaultFormat = "g";
[Fact]
public void ShouldConvert()
{
// Arrange
IV... | mit | C# |
49027f1f51d339abd8246872cd80c2179ddf10a5 | Use transient lifetime for pipeline registrations | jbogard/MediatR | samples/MediatR.Examples.LightInject/Program.cs | samples/MediatR.Examples.LightInject/Program.cs | using System;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using LightInject;
using MediatR.Pipeline;
namespace MediatR.Examples.LightInject
{
class Program
{
static Task Main(string[] args)
{
var writer = new WrappingWriter(Console.Out);
var m... | using System;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using LightInject;
using MediatR.Pipeline;
namespace MediatR.Examples.LightInject
{
class Program
{
static Task Main(string[] args)
{
var writer = new WrappingWriter(Console.Out);
var m... | apache-2.0 | C# |
e5aa11e60927d4b45d2bfd66109304463e46257b | Update RequestExtensions.cs | TheDarkCode/SwiftDotNet,TheDarkCode/SwiftDotNet,TheDarkCode/SwiftDotNet | src/Server/WebAPI/net461/SwiftDotNet.WebAPI/SwiftDotNet.WebAPI/Extensions/RequestExtensions.cs | src/Server/WebAPI/net461/SwiftDotNet.WebAPI/SwiftDotNet.WebAPI/Extensions/RequestExtensions.cs | using Newtonsoft.Json;
using SwiftDotNet.WebAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace SwiftDotNet.WebAPI.Extensions
{
public static class RequestExtensions
{
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SwiftDotNet.WebAPI.Extensions
{
class RequestExtensions
{
}
}
| mit | C# |
d55372a9498b160cb03a07d9f8d0bccd0f263881 | remove unused variable | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey/ViewModels/LoginPageViewModel.cs | client/BlueMonkey/BlueMonkey/ViewModels/LoginPageViewModel.cs | using BlueMonkey.LoginService;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace BlueMonkey.ViewModels
{
public class LoginPageViewModel : BindableBase
{
private readonly INavigationServ... | using BlueMonkey.LoginService;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace BlueMonkey.ViewModels
{
public class LoginPageViewModel : BindableBase
{
private readonly INavigationServ... | mit | C# |
0a4ad813ff971f549d34ac4ebc6c8cca9a741c36 | Change to change to ArgumentException and add separate empty check (#10001) | livarcocc/cli-1,dasMulli/cli,livarcocc/cli-1,livarcocc/cli-1,johnbeisner/cli,dasMulli/cli,dasMulli/cli,johnbeisner/cli,johnbeisner/cli | src/Microsoft.DotNet.Cli.Utils/ToolCommandName.cs | src/Microsoft.DotNet.Cli.Utils/ToolCommandName.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.DotNet.Cli.Utils
{
public struct ToolCommandName : IEquatable<ToolCommandName>
{
public ToolCo... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.DotNet.Cli.Utils
{
public struct ToolCommandName : IEquatable<ToolCommandName>
{
public ToolCo... | mit | C# |
0ff0f8c344f8823f7e61f7872f95d412b8ae07ef | fix for Test Module Flickr provider | sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules | webapp-net/Test/Models/TestFlickrImageModel.cs | webapp-net/Test/Models/TestFlickrImageModel.cs | using Sdl.Web.Common.Models;
using System.Globalization;
namespace Sdl.Web.Modules.Test.Models
{
[SemanticEntity(CoreVocabulary, "ExternalContentLibraryStubSchemaflickr", Prefix = "test", Public = true)]
public class TestFlickrImageModel : EclItem
{
[SemanticProperty("test:testProp1")]
pub... | using Sdl.Web.Common.Models;
using System.Globalization;
namespace Sdl.Web.Modules.Test.Models
{
[SemanticEntity(Vocab = CoreVocabulary, EntityName = "TestFlickrImage", Prefix = "test", Public = true)]
public class TestFlickrImageModel : EclItem
{
[SemanticProperty("test:testProp1")]
publi... | apache-2.0 | C# |
887e85250b300fba44682f56f82fa6dc60709e80 | Update API | ThomasMiconi/htmresearch,subutai/htmresearch,ywcui1990/nupic.research,marionleborgne/nupic.research,numenta/htmresearch,subutai/htmresearch,ywcui1990/htmresearch,ywcui1990/htmresearch,ThomasMiconi/htmresearch,ThomasMiconi/nupic.research,subutai/htmresearch,subutai/htmresearch,mrcslws/htmresearch,BoltzmannBrain/nupic.re... | vehicle-control/simulation/Assets/Scripts/API.cs | vehicle-control/simulation/Assets/Scripts/API.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using JsonFx;
public class DataDefinition {
public string name;
public string type;
}
public class API : MonoBehaviour {
public bool blockOnResponse = false;
public float updateRate = 30; // hertz
public float runSpeed = 1.0f;
pub... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using JsonFx;
public class DataDefinition {
public string name;
public string type;
}
public class API : MonoBehaviour {
public bool blockOnResponse = false;
public float updateRate = 30; // hertz
public float runSpeed = 1.0f;
pub... | agpl-3.0 | C# |
a03710b748ffc0d954c1187a6c57f31874987171 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
7f44dca0401ceb035fcce0c6a72ceec853ac79f3 | Fix PCL contract for Pause/Resume analysis change | syphe/ZXing.Net.Mobile,Redth/ZXing.Net.Mobile | Source/ZXing.Net.Mobile.WindowsRT/NotSupported.cs | Source/ZXing.Net.Mobile.WindowsRT/NotSupported.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace ZXing.Net.Mobile
{
public class NotSupported
{
// Windows Phone 8.1 Native and Windows 8 RT are not supported
// Microsoft left out the ab... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace ZXing.Net.Mobile
{
public class NotSupported
{
// Windows Phone 8.1 Native and Windows 8 RT are not supported
// Microsoft left out the ab... | apache-2.0 | C# |
b3846f7a9bf10085f9396847b96cf779b0084422 | Add IsJSONNullOrEmpty(this JToken JSONToken) | Vanaheimr/Styx | Styx/Illias/ExtensionMethods/JObjectExtentions.cs | Styx/Illias/ExtensionMethods/JObjectExtentions.cs | /*
* Copyright (c) 2010-2018 Achim 'ahzf' Friedland <achim.friedland@graphdefined.com>
* This file is part of Illias <http://www.github.com/Vanaheimr/Illias>
*
* 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 c... | /*
* Copyright (c) 2010-2018 Achim 'ahzf' Friedland <achim.friedland@graphdefined.com>
* This file is part of Illias <http://www.github.com/Vanaheimr/Illias>
*
* 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 c... | apache-2.0 | C# |
53a7322d1b8f0fb78b79c3449988ab9f352ad14b | bump version | eiriktsarpalis/TypeShape,eiriktsarpalis/TypeShape | src/TypeShape.CSharp/Properties/AssemblyInfo.cs | src/TypeShape.CSharp/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("TypeShape.CSharp")]
[assembly: AssemblyProductAttribute("TypeShape")]
[assembly: AssemblyDescriptionAttribute("Practical Generic Programming in F#")]
[assembly: AssemblyVersionAttribute("2.17")]
[assembly: AssemblyFileVersionAttribute("2... | 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("Typ... | mit | C# |
44b9bdc4f4e15767ac64040e34a4075cef7703b6 | Add CLSCompliant attribute. | Faithlife/System.Data.SQLite,david-mitchell/System.Data.SQLite,ddunkin/System.Data.SQLite,Faithlife/System.Data.SQLite | src/System.Data.SQLite/Properties/AssemblyInfo.cs | src/System.Data.SQLite/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("System.Data.SQLite")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("Logos Bible Software")]
[assembly: AssemblyProduct("System.Data.SQLite")]
[assembly: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("System.Data.SQLite")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("Logos Bible Software")]
[assembly: AssemblyProduct("System.Data.SQLite")]
[assembly: AssemblyCopyright("... | mit | C# |
55484617dd13c9b2ba5211735225aa14d8f9588f | Bump modeller version to 1.6.0 | xirqlz/blueprint41 | Blueprint41.Modeller/Properties/AssemblyInfo.cs | Blueprint41.Modeller/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("Bl... | 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("Bl... | mit | C# |
80f0ecc4109578a52327bd52e9d41b3cb8660773 | Add version info to the footer of the page | Rpinski/RefactoringEssentials,olathunberg/RefactoringEssentials,icsharpcode/RefactoringEssentials,olathunberg/RefactoringEssentials,SSkovboiSS/RefactoringEssentials,SSkovboiSS/RefactoringEssentials,Rpinski/RefactoringEssentials,icsharpcode/RefactoringEssentials | CodeConverterWebApp/Views/Shared/_Layout.cshtml | CodeConverterWebApp/Views/Shared/_Layout.cshtml | @using System.Diagnostics
@using System.Reflection
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Code Converter by Refactoring Essentials</title>
<link rel="stylesheet" href="~/Content/bootstra... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Code Converter by Refactoring Essentials</title>
<link rel="stylesheet" href="~/Content/bootstrap.min.css"/>
<link rel="stylesheet" href="~/Con... | mit | C# |
a11527daf8cc03988e8654be59a81c7eaf394883 | fix prox on droid | aritchie/sensors | Plugin.Sensors.Android/ProximityImpl.cs | Plugin.Sensors.Android/ProximityImpl.cs | using System;
using Android.Hardware;
namespace Plugin.Sensors
{
public class ProximityImpl : AbstractSensor<bool>, IProximity
{
public ProximityImpl() : base(SensorType.Proximity)
{
}
protected override bool ToReading(SensorEvent e)
{
return true;
... | using System;
using Android.Hardware;
namespace Plugin.Sensors
{
public class ProximityImpl : AbstractSensor<bool>
{
public ProximityImpl() : base(SensorType.Proximity)
{
}
protected override bool ToReading(SensorEvent e)
{
return true;
}
}
} | mit | C# |
876279c6d95a45e6cf52b575cb5827e892f48495 | update Debug.Assert | zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning | my_aspnetmvc_learning/Controllers/ImageController.cs | my_aspnetmvc_learning/Controllers/ImageController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace my_aspnetmvc_learning.Controllers
{
public class ImageController : Controller
{
private static readonly Logger logger = LogManager.GetCurrentClassL... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace my_aspnetmvc_learning.Controllers
{
public class ImageController : Controller
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
// GET: U... | mit | C# |
3740e279c496b0b9fea9ea4e617f499157353621 | Update Index.cshtml | khanh245/Omnilex,khanh245/Omnilex,khanh245/Omnilex | Omnilex/Omnilex-Website/Views/Home/Index.cshtml | Omnilex/Omnilex-Website/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>
... | mit | C# |
3c42f8eb1085e8e1f89dc4408d9ff830b0c5277d | Change ODataPackage so its Published property is included in output | NuGet/NuGet.Server | src/NuGet.Server/DataServices/ODataPackage.cs | src/NuGet.Server/DataServices/ODataPackage.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.Data.Services.Common;
namespace NuGet.Server.DataServices
{
[DataServiceKey("Id", "Version")]
[EntityPropertyMappin... | // 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.Data.Services.Common;
namespace NuGet.Server.DataServices
{
[DataServiceKey("Id", "Version")]
[EntityPropertyMappin... | apache-2.0 | C# |
77024336f979743c79adaa440386b7513b5f8ab0 | Update ContextState.cs | Lombiq/Orchard,SzymonSel/Orchard,hbulzy/Orchard,Praggie/Orchard,SzymonSel/Orchard,OrchardCMS/Orchard,Fogolan/OrchardForWork,bedegaming-aleksej/Orchard,johnnyqian/Orchard,omidnasri/Orchard,omidnasri/Orchard,jersiovic/Orchard,gcsuk/Orchard,SzymonSel/Orchard,armanforghani/Orchard,Praggie/Orchard,jtkech/Orchard,Lombiq/Orch... | src/Orchard/Environment/State/ContextState.cs | src/Orchard/Environment/State/ContextState.cs | using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc.Extensions;
namespace Orchard.Environment.State {
/// <summary>
/// Holds some state for the current HttpContext or Logical Context
/// </summary>
/// <typeparam name="T">The type o... | using System;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc.Extensions;
namespace Orchard.Environment.State {
/// <summary>
/// Holds some state for the current HttpContext or Logical Context
/// </summary>
/// <typeparam name="T">The type of data to store</typeparam>
... | bsd-3-clause | C# |
8073fe5ffee14acd237003bbbd876b59b814a85e | Disable test parallelization for PerfView tests | vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview | src/PerfView.Tests/Properties/AssemblyInfo.cs | src/PerfView.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Asse... | 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("Pe... | mit | C# |
a6424805bde11b2fc8d26325ae1d4259180e0e5e | Remove unused class. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Database/Models/CustomReaction.cs | src/MitternachtBot/Database/Models/CustomReaction.cs | namespace Mitternacht.Database.Models {
public class CustomReaction : DbEntity {
public ulong? GuildId { get; set; }
public string Response { get; set; }
public string Trigger { get; set; }
public bool IsRegex { get; set; }
public bool OwnerOnly { get; set; ... | namespace Mitternacht.Database.Models {
public class CustomReaction : DbEntity {
public ulong? GuildId { get; set; }
public string Response { get; set; }
public string Trigger { get; set; }
public bool IsRegex { get; set; }
public bool OwnerOnly { get; set; ... | mit | C# |
0eef21894561c17718fc641d94db16a193fabd03 | add missing new line | UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu-new,ppy/osu | osu.Game.Rulesets.Osu/Mods/OsuModDifficultyAdjust.cs | osu.Game.Rulesets.Osu/Mods/OsuModDifficultyAdjust.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModDifficultyAdjust... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModDifficultyAdjust... | mit | C# |
94b1fae053c8619211721bea0e25c23925c580b1 | Add more Menu examples | akrisiun/xwt,antmicro/xwt,hwthomas/xwt,iainx/xwt,hamekoz/xwt,cra0zy/xwt,residuum/xwt,TheBrainTech/xwt,steffenWi/xwt,mono/xwt,lytico/xwt | TestApps/Samples/Samples/MenuSamples.cs | TestApps/Samples/Samples/MenuSamples.cs | //
// MenuSamples.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// 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 restricti... | //
// MenuSamples.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// 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 restricti... | mit | C# |
e5433f7cf00c24b820feb5a29f4ce5cbc8564d83 | Improve performance of Batch (about 5x faster) | thomaslevesque/Linq.Extras | src/Linq.Extras/Batch.cs | src/Linq.Extras/Batch.cs | using System.Collections.Generic;
using JetBrains.Annotations;
using Linq.Extras.Internal;
namespace Linq.Extras
{
partial class XEnumerable
{
/// <summary>
/// Splits the input sequence into a sequence of batches of the specified size.
/// </summary>
/// <typeparam name="TSour... | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Linq.Extras.Internal;
namespace Linq.Extras
{
partial class XEnumerable
{
/// <summary>
/// Splits the input sequence into a sequence of batches of the specified size.
/// </summary>
/// <ty... | apache-2.0 | C# |
30aef66f5ac3ff31893b6faa0561d359aecf8791 | Switch to 1.2.3-new-subs01 | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.3")]
[assembly: AssemblyFileVersion("1.2.3")]
[assembly: AssemblyInformationalVersion("1.2.3-new-subs01")] | using System.Reflection;
[assembly: AssemblyVersion("1.2.2")]
[assembly: AssemblyFileVersion("1.2.2")]
[assembly: AssemblyInformationalVersion("1.2.2")] | mit | C# |
0326f053896c20ba1b357346d2acb17d38ea9519 | Remove unused using | EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Tests/Audio/AudioThreadTest.cs | osu.Framework.Tests/Audio/AudioThreadTest.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.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Audio.Track;
using osu.Framework.IO.Stores;
using osu.Frame... | // 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.Threading;
using System.Threading.Tasks;
using ManagedBass;
using NUnit.Framework;
using osu.Framework.Audio.Track;
using osu.Framework.IO.Stor... | mit | C# |
2cc2e6d5ef83f3f57846f3ab8b86611680ca9362 | Fix Uwp typo | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/API/Treehopper.UWP/Properties/AssemblyInfo.cs | NET/API/Treehopper.UWP/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("Treehopper.Uwp")]
[assembly: AssemblyDesc... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Treehopper.UWP")]
[assembly: AssemblyDesc... | mit | C# |
53eb17db51bb95abf13374c89d8bec0274f971b0 | Add a test for GetTargetFramework | srivatsn/MSBuildSdkDiffer | ProjectSimplifier.Tests/ProjectExtensionsTests.cs | ProjectSimplifier.Tests/ProjectExtensionsTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using ProjectSimplifier;
using ProjectSimplifier.Tests.Mocks;
using Xunit;
namespace ProjectSimplifier.Tests
{
public class ProjectExtensionsTests
{
[Theory]
[InlineData("net46", null, null, null, "net46")]
[InlineData(n... | using System;
using System.Collections.Generic;
using System.Linq;
using ProjectSimplifier;
using ProjectSimplifier.Tests.Mocks;
using Xunit;
namespace ProjectSimplifier.Tests
{
public class ProjectExtensionsTests
{
[Theory]
[InlineData("net46", null, null, "net46")]
[InlineData(null, "... | mit | C# |
9dfccddc3b165a4c72e9b92c683d9fe7b730c26f | Rename OnInit method to Page_Init to auto invoke | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Launchpad/SettingsLaunchpad.ascx.cs | R7.University.Launchpad/SettingsLaunchpad.ascx.cs | using System;
using System.Web.UI.WebControls;
using System.Linq;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.UI.UserControls;
using R7.University;
namespace R7.University.Launchpad
{
public partial class SettingsLaunchpad : ModuleSettingsBase
{
public voi... | using System;
using System.Web.UI.WebControls;
using System.Linq;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.UI.UserControls;
using R7.University;
namespace R7.University.Launchpad
{
public partial class SettingsLaunchpad : ModuleSettingsBase
{
public voi... | agpl-3.0 | C# |
f9efad787b779105be0c951dbf9d27ad56dd8dd8 | Increment minor version | emoacht/Monitorian | Source/Monitorian.Test/Properties/AssemblyInfo.cs | Source/Monitorian.Test/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Monitorian.Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Monitorian.Test")]
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Monitorian.Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Monitorian.Test")]
[assembly:... | mit | C# |
737beef0c795e53bd8c38342022695b16af380ac | update google analytics snippet per h5bp | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/www/Views/Shared/_js_GoogleAnalytics.cshtml | src/www/Views/Shared/_js_GoogleAnalytics.cshtml | <environment exclude="Development">
<script>
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
ga('create', 'UA-2294407-1', 'auto'); ga('set', 'anonymizeIp', true); ga('set', 'transport', 'beacon'); ga('send', 'pageview')
</script>
<script src="https://www.google... | <environment exclude="Development">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-2294407-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</environm... | mit | C# |
d65547172d126b91f3b7e1375cc5169b86a1694e | Update ITraceTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ITraceTelemeter.cs | TIKSN.Core/Analytics/Telemetry/ITraceTelemeter.cs | using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public interface ITraceTelemeter
{
Task TrackTraceAsync(string message);
Task TrackTraceAsync(string message, TelemetrySeverityLevel severityLevel);
}
}
| using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public interface ITraceTelemeter
{
Task TrackTrace(string message);
Task TrackTrace(string message, TelemetrySeverityLevel severityLevel);
}
}
| mit | C# |
6f1c0c789158ec6d9edf3e2258ed2eb72e869363 | Update ResetAdmin.cs | rsoeteman/umbraco-admin-reset | UmbracoAdminReset/UmbracoAdminReset/ResetAdmin.cs | UmbracoAdminReset/UmbracoAdminReset/ResetAdmin.cs | using System;
using System.IO;
using Umbraco.Core;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Web;
namespace UmbracoAdminReset
{
/// <summary>
/// Simple class to reset the admin user to username Admin and password Admin1234!
/// </summary>
public class ResetAdmin :ApplicationEve... | using System;
using System.IO;
using Umbraco.Core;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Web;
namespace UmbracoAdminReset
{
/// <summary>
/// Simpla class to reset the admin user to username Admin and password Admin1234!
/// </summary>
public class ResetAdmin :ApplicationEve... | mit | C# |
d777afc4542820c6df82e558536a9b8e16d6058b | Remove countdown at under 5 seconds | ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Online/Multiplayer/ServerShutdownNotification.cs | osu.Game/Online/Multiplayer/ServerShutdownNotification.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 Humanizer.Localisation;
using osu.Framework.Allocation;
using osu.Framework.Threading;
using osu.Game.Overlays.Notifications;
using osu.Game.Utils;
n... | // 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 Humanizer.Localisation;
using osu.Framework.Allocation;
using osu.Game.Overlays.Notifications;
using osu.Game.Utils;
namespace osu.Game.Online.Multip... | mit | C# |
6f9a6dde9b924ef85788f991dc74b25bbcc56965 | Fix ScheduledTasksApiController service request. | BarryFogarty/Merchello,ProNotion/Merchello,BarryFogarty/Merchello,Merchello/Merchello.Bazaar,BluefinDigital/Merchello,doronuziel71/Merchello,bjarnef/Merchello,clausjensen/Merchello,MindfireTechnology/Merchello,Merchello/Merchello,bjarnef/Merchello,Merchello/Merchello.Bazaar,clausjensen/Merchello,Merchello/Merchello.Baz... | src/Merchello.Web/WebApi/ScheduledTasksController.cs | src/Merchello.Web/WebApi/ScheduledTasksController.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Linq;
using Umbraco.Web.Mvc;
using Merchello.Core;
using Merchello.Core.Models;
using Merchello.Core.Services;
using Merchello.Core.Configuration;
using Merchello.Web.WebApi;
using Umbraco.Web;
... | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Linq;
using Umbraco.Web.Mvc;
using Merchello.Core;
using Merchello.Core.Models;
using Merchello.Core.Services;
using Merchello.Core.Configuration;
using Merchello.Web.WebApi;
using Umbraco.Web;
... | mit | C# |
e6c6ce8763364c109a47457014aa2b0ef663b91d | add support for ExpressionType.TypeEqual | esskar/Serialize.Linq | src/Serialize.Linq/Nodes/TypeBinaryExpressionNode.cs | src/Serialize.Linq/Nodes/TypeBinaryExpressionNode.cs | #region Copyright
// Copyright, Sascha Kiefer (esskar)
// Released under LGPL License.
//
// License: https://raw.github.com/esskar/Serialize.Linq/master/LICENSE
// Contributing: https://github.com/esskar/Serialize.Linq
#endregion
using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
... | #region Copyright
// Copyright, Sascha Kiefer (esskar)
// Released under LGPL License.
//
// License: https://raw.github.com/esskar/Serialize.Linq/master/LICENSE
// Contributing: https://github.com/esskar/Serialize.Linq
#endregion
using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
... | mit | C# |
efd16201c3ad58463a181afdfd4418480b6dfb38 | rename default controller (now Task) | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ForgetTheMilk/App_Start/RouteConfig.cs | ForgetTheMilk/ForgetTheMilk/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace ForgetTheMilk
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace ForgetTheMilk
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{... | apache-2.0 | C# |
5cc554e9fd97691a6332b2a5ffa55bfb9699e4b1 | Address PR comments | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | msal/src/Microsoft.Identity.Client/IAccount.cs | msal/src/Microsoft.Identity.Client/IAccount.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 do... | //------------------------------------------------------------------------------
//
// 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 do... | mit | C# |
52f5a15cb28ff20f3d00c69e706ce52734fcfafb | Move up more on printers that home down | larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl | MatterControlLib/ConfigurationPage/PrintLeveling/WizardPages/CalibrateProbeRemovePaperInstructions.cs | MatterControlLib/ConfigurationPage/PrintLeveling/WizardPages/CalibrateProbeRemovePaperInstructions.cs | /*
Copyright (c) 2019, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2019, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
f4869c0cd768b09e2398988cd7822c77fb5fbf72 | Fix shadow colour/shadow alpha not working | peppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Dra... | osu.Framework/Graphics/Sprites/SpriteTextDrawNode.cs | osu.Framework/Graphics/Sprites/SpriteTextDrawNode.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.OpenGL;
using osu.Framework.Graphics.OpenGL.V... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.OpenGL;
using osu.Framework.Graphics.OpenGL.Vertices;
using osu.Framework.Graphics... | mit | C# |
eb31983d666d30c4ae064c365461da5f80387ccb | Add UserProjectNotifications to DbContext | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions options) : base(options) { }
public DbSe... | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions options) : base(options) { }
public DbSe... | mit | C# |
92529cf80c600a2ab2ff867d3fe6e22798199374 | Add bridge response loggin | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Controllers/BridgeController.cs | src/Tgstation.Server.Host/Controllers/BridgeController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Host.Components;
using Tgstation.Server.Host.Components.Interop;
using Tgstation.Server.Host.Components.Inter... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Host.Components;
using Tgstation.Server.Host.Components.Interop;
using Tgstation.Server.Host.Components.Inter... | agpl-3.0 | C# |
a113096c2ef6a52918aab991d29066994588f1fc | Add Retail, and EXAGERATION factor to make buildings stand out more. | TNOCS/WorldExplorer,TNOCS/WorldExplorer,TNOCS/WorldExplorer,TNOCS/WorldExplorer | Assets/Scripts/MapzenGoWrappers/BuildingFactory.cs | Assets/Scripts/MapzenGoWrappers/BuildingFactory.cs | using UnityEngine;
using System.Collections;
using MapzenGo.Models.Settings;
using MapzenGo.Models.Enums;
public class BuildingFactory : MapzenGo.Models.Factories.BuildingFactory {
// Use this for initialization
public override void Start () {
Order = 2;
MergeMeshes = true;
_useTriangulatio... | using UnityEngine;
using System.Collections;
using MapzenGo.Models.Settings;
using MapzenGo.Models.Enums;
public class BuildingFactory : MapzenGo.Models.Factories.BuildingFactory {
// Use this for initialization
public override void Start () {
Order = 2;
MergeMeshes = true;
_useTriangulatio... | mit | C# |
8cff384a385f85dc193f09982c8b4eff6e0ada44 | Handle system wide installs of chrome | admoexperience/admo-kinect,admoexperience/admo-kinect | Admo/Utilities/SoftwareUtils.cs | Admo/Utilities/SoftwareUtils.cs | using System;
using System.Diagnostics;
using Microsoft.Win32;
namespace Admo.Utilities
{
public class SoftwareUtils
{
public static string GetChromeVersion()
{
//Handle both system wide and user installs of chrome
var pathLocal = Registry.GetValue(@"HKEY_CURRENT_USER\... | using System;
using System.Diagnostics;
using Microsoft.Win32;
namespace Admo.Utilities
{
public class SoftwareUtils
{
public static string GetChromeVersion()
{
var path = Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe", "", nu... | mit | C# |
fceac4c2ef1e69ca974f65519a7d0ffe44cf3403 | Implement IBaseClient | MiXTelematics/MiX.Integrate.Api.Client | MiX.Integrate.API.Client/DeviceConfigurationClient.cs | MiX.Integrate.API.Client/DeviceConfigurationClient.cs | using MiX.Integrate.Api.Client.Base;
using MiX.Integrate.Shared.Constants;
using MiX.Integrate.Shared.Entities.DeviceConfiguration;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace MiX.Integrate.Api.Client
{
public class DeviceConfigurationClient : BaseClient, IDeviceC... | using MiX.Integrate.Api.Client.Base;
using MiX.Integrate.Shared.Constants;
using MiX.Integrate.Shared.Entities.DeviceConfiguration;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace MiX.Integrate.Api.Client
{
public class DeviceConfigurationClient : BaseClient, IDeviceC... | mit | C# |
52031cd50e53d34a53b4b61681844c8244d6fbc4 | Fix expected argument ordering warnings. | googleapis/google-api-dotnet-client,googleapis/google-api-dotnet-client,googleapis/google-api-dotnet-client | Src/Support/IntegrationTests/AuthUriConstsTests.cs | Src/Support/IntegrationTests/AuthUriConstsTests.cs | /*
Copyright 2017 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | /*
Copyright 2017 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 | C# |
f321fc86b1c7b423119f916b41c1c37f570855b7 | Remove fileStream used for debugging | jrusbatch/compilify,jrusbatch/compilify,vendettamit/compilify,vendettamit/compilify | Core/Services/CSharpExecutor.cs | Core/Services/CSharpExecutor.cs | using System;
using System.IO;
using Compilify.Models;
namespace Compilify.Services
{
public class CSharpExecutor
{
public CSharpExecutor()
: this(new CSharpCompilationProvider()) { }
public CSharpExecutor(ICSharpCompilationProvider compilationProvider)
{
... | using System;
using System.IO;
using Compilify.Models;
namespace Compilify.Services
{
public class CSharpExecutor
{
public CSharpExecutor()
: this(new CSharpCompilationProvider()) { }
public CSharpExecutor(ICSharpCompilationProvider compilationProvider)
{
... | mit | C# |
f18a00dc1467036a74b5700dad2d3402dbf49d85 | Improve mouse grabbing on unpause in Potion | plrusek/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare | Assets/Resources/Microgames/Potion/Scripts/PotionIngredient.cs | Assets/Resources/Microgames/Potion/Scripts/PotionIngredient.cs | using UnityEngine;
using System.Collections;
public class PotionIngredient : MonoBehaviour
{
public float speedToPot;
public PotionPot pot;
public SpriteRenderer spriteRenderer;
public Collider2D theCollider;
private Rigidbody2D rigidThing;
private Vector2 grabOffset;
public State state;
public enum State... | using UnityEngine;
using System.Collections;
public class PotionIngredient : MonoBehaviour
{
public float speedToPot;
public PotionPot pot;
public SpriteRenderer spriteRenderer;
public Collider2D theCollider;
private Rigidbody2D rigidThing;
private Vector2 grabOffset;
public State state;
public enum State... | mit | C# |
6cd453158b3c8abd1b26813ffc85bc51ee6165ad | Set neutral resource language. | michaellperry/MyCon,michaellperry/MyCon | WP7/FacetedWorlds.MyCon/Properties/AssemblyInfo.cs | WP7/FacetedWorlds.MyCon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
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.
[ass... | 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("Fa... | mit | C# |
831791087293785f61ca255a3676f52b92040465 | Check handle before passing into RenderTarget | ThuCommix/Sharpex2D | Sharpex.GameLibrary/Framework/Surface/RenderTarget.cs | Sharpex.GameLibrary/Framework/Surface/RenderTarget.cs | using System;
using System.Windows.Forms;
using SharpexGL.Framework.Components;
namespace SharpexGL.Framework.Surface
{
public class RenderTarget : IComponent
{
#region IComponent Implementation
/// <summary>
/// Sets or gets the Guid of the Component.
/// </summary>
p... | using System;
using SharpexGL.Framework.Components;
namespace SharpexGL.Framework.Surface
{
public class RenderTarget : IComponent
{
#region IComponent Implementation
/// <summary>
/// Sets or gets the Guid of the Component.
/// </summary>
public Guid Guid
{
... | mit | C# |
ebc5dbb172ab3112e6b3935628c3139272e13faa | Fix TMP initialization | DMagic1/KSP_Better_Maneuvering | Source/BetterManeuvering/ManeuverTextMeshProHolder.cs | Source/BetterManeuvering/ManeuverTextMeshProHolder.cs | #region license
/*The MIT License (MIT)
ManeuverOrbitTextMeshProHolder - Extension of TextMeshProUGUI for handling dynamic text field updates
Copyright (c) 2016 DMagic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... | #region license
/*The MIT License (MIT)
ManeuverOrbitTextMeshProHolder - Extension of TextMeshProUGUI for handling dynamic text field updates
Copyright (c) 2016 DMagic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... | mit | C# |
7fdb9ea689cfdc681526d3e5d45465823358750c | fix a bug. | kanonmelodis/ElectronicObserver,CNA-Bld/ElectronicObserver,herix001/ElectronicObserver,Arathi/ElectronicObserver,tsanie/ElectronicObserver | ElectronicObserver/Observer/kcsapi/api_get_member/ship_deck.cs | ElectronicObserver/Observer/kcsapi/api_get_member/ship_deck.cs | using ElectronicObserver.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Observer.kcsapi.api_get_member {
public class ship_deck : APIBase {
public override void OnResponseReceived( dynamic data ) {
KCDatab... | using ElectronicObserver.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Observer.kcsapi.api_get_member {
public class ship_deck : APIBase {
public override void OnResponseReceived( dynamic data ) {
KCDatab... | mit | C# |
ae05faa6d2e96d49c0de9d2791d0bbb4d12c4e21 | Fix indentation | EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu... | osu.Game.Rulesets.Osu.Tests/TestSceneOsuPlayer.cs | osu.Game.Rulesets.Osu.Tests/TestSceneOsuPlayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
public class TestSceneOsuPlayer : PlayerTestScene
{... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
public class TestSceneOsuPlayer : PlayerTestSce... | mit | C# |
112818fb409e7ce0182e4a37c3447cdb78613935 | Remove second parameter, bug not picked up by compiler | mperdeck/jsnlog | JSNLog/PublicFacing/Configuration/Owin/AppBuilderExtensions.cs | JSNLog/PublicFacing/Configuration/Owin/AppBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Owin;
namespace JSNLog
{
public static class AppBuilderExtensions
{
public static void UseJSNLog(this IAppBuilder app)
{
app.Use<JsnlogMiddlewareComponent>();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Owin;
namespace JSNLog
{
public static class AppBuilderExtensions
{
public static void UseJSNLog(this IAppBuilder app, string loggerUrlRegex = null)
{
app.Use<JsnlogMiddlewareComponent>(logg... | mit | C# |
6b39ddadd4bff1ea1ed5a796eb2bba498d9400c6 | Add Collection window fixes | lic-nz/Malone | LIC.Malone.Client.Desktop/ViewModels/AddCollectionViewModel.cs | LIC.Malone.Client.Desktop/ViewModels/AddCollectionViewModel.cs | using System.Windows;
using Caliburn.Micro;
using System.Collections.Generic;
using LIC.Malone.Core;
namespace LIC.Malone.Client.Desktop.ViewModels
{
public class AddCollectionViewModel : Screen
{
#region Databound properties
private string _name;
public string Name
{
get { return _name; }
set
{
... | using System.Windows;
using Caliburn.Micro;
using System.Collections.Generic;
using LIC.Malone.Core;
namespace LIC.Malone.Client.Desktop.ViewModels
{
public class AddCollectionViewModel : Screen
{
#region Databound properties
private string _name;
public string Name
{
get { return _name; }
set
{
... | apache-2.0 | C# |
4e46565f6e24082c7739f71aba1033584d25e4b6 | Remove todo | 2yangk23/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,ppy/osu,Nabile-Rahmani/osu,Frontear/osuKyzer,peppy/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,naoey/osu,ZL... | osu.Game/Screens/Select/Carousel/CarouselGroup.cs | osu.Game/Screens/Select/Carousel/CarouselGroup.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Screens.Select.Carousel
{
/// <summary>
/// A group which ensures only one child is selected.
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Screens.Select.Carousel
{
/// <summary>
/// A group which ensures only one child is selected.
... | mit | C# |
18923709c322965948feb3f05c143d9a0ad5cf0a | Set nuget package version to 1.0.0 | Jericho/CakeMail.RestClient | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | mit | C# |
fbd8196db2038a97ce19cf54690146d4832a1d52 | add initial structure for fluent api mapping | TripleBounty/VideoRentalSystem | VideoRentalSystem/VideoRentalSystem/Data/VideoRentalContext.cs | VideoRentalSystem/VideoRentalSystem/Data/VideoRentalContext.cs | using System.Data.Entity;
using VideoRentalSystem.Models;
namespace VideoRentalSystem.Data
{
public class VideoRentalContext : DbContext
{
public VideoRentalContext()
: base("VideoRentalDBConnection")
{
}
public DbSet<Country> CountriesTable { get; set; }
... | using System.Data.Entity;
using VideoRentalSystem.Models;
namespace VideoRentalSystem.Data
{
public class VideoRentalContext : DbContext
{
public VideoRentalContext()
:base("VideoRentalDBConnection")
{
}
public DbSet<Country> CountriesTable { get; set; }
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.