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 |
|---|---|---|---|---|---|---|---|---|
f85ac240a73845cb1da90061473ae8fabfa4bda8 | Update MarcBruins.cs (#378) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/MarcBruins.cs | src/Firehose.Web/Authors/MarcBruins.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MarcBruins : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Marc";
public string Las... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MarcBruins : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Marc";
public string Las... | mit | C# |
00400f55e19032d45dd1e6a2130ca5e4452bb124 | update description to better match the behavior | jamesmanning/RunProcessAsTask | src/RunProcessAsTask/ProcessResults.cs | src/RunProcessAsTask/ProcessResults.cs | using System;
using System.Diagnostics;
namespace RunProcessAsTask
{
public sealed class ProcessResults : IDisposable
{
/// <summary>
/// Contains information about process after it has exited.
/// </summary>
public ProcessResults(Process process, DateTime processStar... | using System;
using System.Diagnostics;
namespace RunProcessAsTask
{
public sealed class ProcessResults : IDisposable
{
/// <summary>
/// Contains information about terminated process.
/// </summary>
public ProcessResults(Process process, DateTime processStartTime, st... | mit | C# |
c2f8a827bf176dc68301a7ea8777e4c6b4904c58 | Remove unused namespaces | extremecodetv/SocksSharp | src/SocksSharp/Proxy/IProxySettings.cs | src/SocksSharp/Proxy/IProxySettings.cs | using System.Net;
namespace SocksSharp.Proxy
{
public interface IProxySettings
{
NetworkCredential Credentials { get; set; }
string Host { get; set; }
int Port { get; set; }
int ConnectTimeout { get; set; }
int ReadWriteTimeOut { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace SocksSharp.Proxy
{
public interface IProxySettings
{
NetworkCredential Credentials { get; set; }
string Host { get; set; }
int Port { get; s... | mit | C# |
1f3adeefdb4cb6107c4b76aff05008b1c1d8c164 | Make limits long-er (#1192) | VSadov/corefxlab,Vedin/corefxlab,dotnet/corefxlab,ericstj/corefxlab,VSadov/corefxlab,stephentoub/corefxlab,tarekgh/corefxlab,whoisj/corefxlab,VSadov/corefxlab,Vedin/corefxlab,ericstj/corefxlab,Vedin/corefxlab,whoisj/corefxlab,joshfree/corefxlab,VSadov/corefxlab,stephentoub/corefxlab,ericstj/corefxlab,hanblee/corefxlab,... | src/System.IO.Pipelines/PipeOptions.cs | src/System.IO.Pipelines/PipeOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.IO.Pipelines
{
public class PipeOptions
{
public long MaximumSizeHigh { get; set; }
public long MaximumSizeLow { get; set; }
public IScheduler WriterSc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.IO.Pipelines
{
public class PipeOptions
{
public int MaximumSizeHigh { get; set; }
public int MaximumSizeLow { get; set; }
public IScheduler WriterSche... | mit | C# |
393ccd3f469706f972cb5b70cfffeb0c708df64f | Add ReasonPhrase to RaygunWebApiHttpExceptions | articulate/raygun4net,articulate/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,ddunkin/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,nelsonsar/raygun4net | Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs | Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Filters;
namespace Mindscape.Raygun4Net.WebApi
{
public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute
{
private readonly IRaygunWebApiClientProvider _cli... | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Filters;
namespace Mindscape.Raygun4Net.WebApi
{
public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute
{
private readonly IRaygunWebApiClientProvider _clientCreator;
internal RaygunWe... | mit | C# |
420f1fb874a7823fdd50b6d936e644631f740632 | Update HttpContextBaseExtension.cs | yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples | Simple.Common/Extensions/HttpContextBaseExtension.cs | Simple.Common/Extensions/HttpContextBaseExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Simple.Common.Extensions
{
public static class HttpContextBaseExtension
{
public static string GetClientIp(this HttpRequestBase request)
{
var ipAddress = request.Serve... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Simple.Common.Extensions
{
public static class HttpContextBaseExtension
{
public static string GetClientIp(this HttpRequestBase request)
{
string ip = string.Empty;
... | apache-2.0 | C# |
88e5044a6b1e1d29134e400defceb73ad9519840 | Remove 'using' directive from GC.cs | jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm | runtime/GC.cs | runtime/GC.cs | namespace __compiler_rt
{
/// <summary>
/// Garbage collection functionality that can be used by the compiler.
/// </summary>
public static unsafe class GC
{
private static extern void* GC_malloc(ulong size);
/// <summary>
/// Allocates a region of storage that is the given ... | using System.Runtime.InteropServices;
namespace __compiler_rt
{
/// <summary>
/// Garbage collection functionality that can be used by the compiler.
/// </summary>
public static unsafe class GC
{
private static extern void* GC_malloc(ulong size);
/// <summary>
/// Allocates... | mit | C# |
6cd440b1ef315553219b5a92e10a5459284d93f7 | Make Release.lowest_price nullable | David-Desmaisons/DiscogsClient | DiscogsClient/Data/Result/DiscogsRelease.cs | DiscogsClient/Data/Result/DiscogsRelease.cs | using System;
namespace DiscogsClient.Data.Result
{
public class DiscogsRelease : DiscogsReleaseBase
{
public DiscogsReleaseArtist[] extraartists { get; set; }
public DiscogsReleaseLabel[] labels { get; set; }
public DiscogsReleaseLabel[] companies { get; set; }
public DiscogsF... | using System;
namespace DiscogsClient.Data.Result
{
public class DiscogsRelease : DiscogsReleaseBase
{
public DiscogsReleaseArtist[] extraartists { get; set; }
public DiscogsReleaseLabel[] labels { get; set; }
public DiscogsReleaseLabel[] companies { get; set; }
public DiscogsF... | mit | C# |
2e0057e477ef68dde4f8cefc9213a55c113fd318 | Remove backpressure from benchmarks app (#2087) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | benchmarkapps/BenchmarkServer/Startup.cs | benchmarkapps/BenchmarkServer/Startup.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 BenchmarkServer.Hubs;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
nam... | // 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 BenchmarkServer.Hubs;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
nam... | apache-2.0 | C# |
a37d555d57256f75a75ef61a0c39f024fd8143ce | load categories from href | ArsenShnurkov/NS84.Syndication.Atom,jordanbtucker/NS84.Syndication.Atom | Publication/AtomPubOutOfLineCategories.cs | Publication/AtomPubOutOfLineCategories.cs | using System;
using System.Diagnostics;
using System.Xml.Linq;
namespace NerdSince1984.Syndication.Atom.Publication
{
[DebuggerDisplay("Href = {Href}")]
public class AtomPubOutOfLineCategories : AtomPubCategories
{
public AtomPubOutOfLineCategories(string href)
{
this.Href = href;
}
prote... | using System;
using System.Diagnostics;
using System.Xml.Linq;
namespace NerdSince1984.Syndication.Atom.Publication
{
[DebuggerDisplay("Href = {Href}")]
public class AtomPubOutOfLineCategories : AtomPubCategories
{
public AtomPubOutOfLineCategories(string href)
{
this.Href = href;
}
prote... | mit | C# |
c15804b7c73693d5ebe711c0af687e801707d614 | Add license #region. | PenguinF/sandra-three | Sandra.UI.WF/Storage/SubFolderNameType.cs | Sandra.UI.WF/Storage/SubFolderNameType.cs | #region License
/*********************************************************************************
* SubFolderNameType.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... | /*********************************************************************************
* SubFolderNameType.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... | apache-2.0 | C# |
248842b242ca2ec9c37f34518a2777ff1cefdd7c | select editor empty option text fix | volkanceylan/Serenity,dfaruque/Serenity,TukekeSoft/Serenity,volkanceylan/Serenity,linpiero/Serenity,TukekeSoft/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,TukekeSoft/Serenity,linpiero/Serenity,linpiero/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenity,linpiero/Serenity,WasimAhmad/Serenity,... | Serenity.Script.UI/Editor/SelectEditor.cs | Serenity.Script.UI/Editor/SelectEditor.cs | using jQueryApi;
using Serenity.ComponentModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Serenity
{
[Editor, DisplayName("Açılır Liste"), OptionsType(typeof(SelectEditorOptions))]
[Element("<input type=\"hidden\"/>"... | using jQueryApi;
using Serenity.ComponentModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Serenity
{
[Editor, DisplayName("Açılır Liste"), OptionsType(typeof(SelectEditorOptions))]
[Element("<input type=\"hidden\"/>"... | mit | C# |
dc94f0501d7d2106007952e870140eb2b29a32e5 | Add a 4th board cell status "Miss" to show that the user shoot to a blank spot. | vnads/Fight-Fleet,vnads/Fight-Fleet,vnads/Fight-Fleet | FightFleetApi/FightFleet/BoardCellStatus.cs | FightFleetApi/FightFleet/BoardCellStatus.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FightFleet
{
public enum BoardCellStatus
{
Blank = 0,
Ship = 1,
Hit = 2,
Miss = 3
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FightFleet
{
public enum BoardCellStatus
{
Blank = 0,
Ship = 1,
Hit = 2
}
}
| mit | C# |
d1af5524b5c98c3ff894ea533d924a777a67c28e | Fix issue with specified Working folder on command line | michael-reichenauer/GitMind | GitMind/Installation/Private/CommandLine.cs | GitMind/Installation/Private/CommandLine.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GitMind.Installation.Private
{
internal class CommandLine : ICommandLine
{
private readonly Lazy<IReadOnlyList<string>> lazyBranchNames;
private readonly string[] args;
public CommandLine()... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GitMind.Installation.Private
{
internal class CommandLine : ICommandLine
{
private readonly Lazy<IReadOnlyList<string>> lazyBranchNames;
private readonly string[] args;
public CommandLine()... | mit | C# |
aa3cac58ac48c8ed2a4cc01eb066470cf23a654d | Update assembly file | mattiasnordqvist/SlackbotAnchor | SlackbotAnchor/Properties/AssemblyInfo.cs | SlackbotAnchor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Slackbot Anchor")]
[assembly: AssemblyDescription("Access your slackbot from .Net. Not created by, affiliated with, or supported by Slack Technologies, Inc.")]
[assembly: AssemblyConfigurati... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Slackbot Anchor")]
[assembly: AssemblyDescription("Access your slackbot from .Net. Not created by, affiliated with, or supported by Slack Technologies, Inc.")]
[assembly: AssemblyConfigurati... | mit | C# |
df004d7a49e443cbd100e2e8bb5e2a9f9c8a090f | Adjust dialog text | UselessToucan/osu,EVAST9919/osu,ppy/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,naoey/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,DrabWeb/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,DrabWeb/osu,peppy/o... | osu.Game/Overlays/Chat/ExternalLinkDialog.cs | osu.Game/Overlays/Chat/ExternalLinkDialog.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Overlays.Chat
{
public class ExternalLinkDialog : PopupDialog
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Overlays.Chat
{
public class ExternalLinkDialog : PopupDialog
{
... | mit | C# |
7b7129b2f647fdfc799e9df7ad4532f2c5d9f02c | Update ShellUserConfirmation.cs | tiksn/TIKSN-Framework | TIKSN.Core/Shell/ShellUserConfirmation.cs | TIKSN.Core/Shell/ShellUserConfirmation.cs | using TIKSN.Progress;
namespace TIKSN.Shell
{
public class ShellUserConfirmation : IUserConfirmation
{
private readonly IShellCommandContext _shellCommandContext;
public ShellUserConfirmation(IShellCommandContext shellCommandContext) =>
this._shellCommandContext = shellCommandCont... | using TIKSN.Progress;
namespace TIKSN.Shell
{
public class ShellUserConfirmation : IUserConfirmation
{
private readonly IShellCommandContext _shellCommandContext;
public ShellUserConfirmation(IShellCommandContext shellCommandContext)
{
_shellCommandContext = shellCommandCo... | mit | C# |
27dadbb3cf021cc5dd3fc48fd05efabc751d5a58 | Add test for resolving nested types with namespaces | furesoft/cecil,joj/cecil,kzu/cecil,SiliconStudio/Mono.Cecil,saynomoo/cecil,sailro/cecil,ttRevan/cecil,fnajera-rac-de/cecil,xen2/cecil,gluck/cecil,cgourlay/cecil,mono/cecil,jbevain/cecil | Test/Mono.Cecil.Tests/NestedTypesTests.cs | Test/Mono.Cecil.Tests/NestedTypesTests.cs | using System;
using Mono.Cecil;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class NestedTypesTests : BaseTestFixture {
[Test]
public void NestedTypes ()
{
TestCSharp ("NestedTypes.cs", module => {
var foo = module.GetType ("Foo");
Assert.AreEqual ("Foo", foo.Name);
... | using System;
using Mono.Cecil;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class NestedTypesTests : BaseTestFixture {
[Test]
public void NestedTypes ()
{
TestCSharp ("NestedTypes.cs", module => {
var foo = module.GetType ("Foo");
Assert.AreEqual ("Foo", foo.Name);
... | mit | C# |
d67106260fed69d8a4ca91999d51a60d0606e93f | remove IAfterLoadSetting and associated function. No need for it | a9261/Opserver,VictoriaD/Opserver,volkd/Opserver,Janiels/Opserver,mqbk/Opserver,baflynn/Opserver,dteg/Opserver,manesiotise/Opserver,agrath/Opserver,opserver/Opserver,maurobennici/Opserver,wuanunet/Opserver,vebin/Opserver,michaelholzheimer/Opserver,vbfox/Opserver,vbfox/Opserver,manesiotise/Opserver,baflynn/Opserver,hotr... | Opserver.Core/Settings/PagerdutySettings.cs | Opserver.Core/Settings/PagerdutySettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StackExchange.Opserver
{
public class PagerDutySettings : Settings<PagerDutySettings>
{
public override bool Enabled { get { return APIKey.HasValue(); } }
public string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StackExchange.Opserver
{
public class PagerDutySettings : Settings<PagerDutySettings>, IAfterLoadActions
{
public override bool Enabled { get { return APIKey.HasValue(); } }
... | mit | C# |
039bf229742fd733ad4263c0ec3d15bdab5252f8 | Make use of LanguageRouteConstraintOption to filter available related cultures in CultureItem. | Talagozis/Talagozis.Website,Talagozis/Talagozis.Website,Talagozis/Talagozis.Website | Talagozis.Website/Models/Cms/CultureItem.cs | Talagozis.Website/Models/Cms/CultureItem.cs | using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Microsoft.Extensions.Options;
using Piranha.Extend.Fields;
using Talagozis.AspNetCore.Localization;
namespace Talagozis.Website.Models.Cms
{
public class CultureItem
{
// The id of the page
public string Id ... | using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Piranha.Extend.Fields;
namespace Talagozis.Website.Models.Cms
{
public class CultureItem
{
// The id of the page
public string Id { get; set; }
// The model
public CultureInfo cultureInfo { ... | mit | C# |
909792c866f362192e5a24769bb7c46fec15c68d | Test commit for jenkins | emilti/TravelAlbum,emilti/TravelAlbum,emilti/TravelAlbum | TravelCatalog/Controllers/HomeController.cs | TravelCatalog/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TravelCatalog.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TravelCatalog.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | mit | C# |
a05048fae4d636f6bf047fe7b1bd225daeceea02 | use more descriptive generic type name | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/Services/SeedService.cs | src/FilterLists.Services/Services/SeedService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Services
{
public class SeedService
{
private readonly FilterListsDbContext filterListsDbContext;
p... | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Services
{
public class SeedService
{
private readonly FilterListsDbContext filterListsDbContext;
p... | mit | C# |
608ceaf520c4bc6e0ea70e239819179ad02c10d6 | optimize async with automapper | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/Services/SeedService.cs | src/FilterLists.Services/Services/SeedService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using FilterLists.Data.Entities;
using FilterLists.Services.Models.Seed;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Services
{
public class SeedService
{
... | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using FilterLists.Data.Entities;
using FilterLists.Services.Models.Seed;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Services
{
public class SeedS... | mit | C# |
2aabdbaabaf622ad927d2db1b64394bf42c0fd0d | Use request.IsSecureConnection if no 'X-Forwarded-Proto' header | funnelweblog/FunnelWeb,funnelweblog/FunnelWeb,funnelweblog/FunnelWeb | src/FunnelWeb/Utilities/HttpRequestExtensions.cs | src/FunnelWeb/Utilities/HttpRequestExtensions.cs | using System;
using System.Web;
namespace FunnelWeb.Utilities
{
public static class HttpRequestExtensions
{
public static Uri GetOriginalUrl(this HttpRequest request)
{
return GetOriginalUrl(new HttpRequestWrapper(request));
}
public static Uri GetBaseUrl(this HttpRequestBase request)
{
... | using System;
using System.Web;
namespace FunnelWeb.Utilities
{
public static class HttpRequestExtensions
{
public static Uri GetOriginalUrl(this HttpRequest request)
{
return GetOriginalUrl(new HttpRequestWrapper(request));
}
public static Uri GetBaseUrl(this HttpRequestBase request)
{
... | bsd-3-clause | C# |
a38fbcf1a56006aba73b34bf056d0c54938fee80 | Bump version to 1.2.3 | e-rik/XRoadLib,e-rik/XRoadLib,janno-p/XRoadLib | src/XRoadLib/Attributes/XRoadServiceAttribute.cs | src/XRoadLib/Attributes/XRoadServiceAttribute.cs | using System;
using XRoadLib.Schema;
using XRoadLib.Serialization.Mapping;
namespace XRoadLib.Attributes
{
/// <summary>
/// Defines operation method.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class XRoadServiceAttribute : Attribute
{
private... | using System;
using XRoadLib.Schema;
using XRoadLib.Serialization.Mapping;
namespace XRoadLib.Attributes
{
/// <summary>
/// Defines operation method.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class XRoadServiceAttribute : Attribute
{
private... | mit | C# |
8df1a8b97abccec6e6beb0277cd5054cf9901204 | update texture size | Flugmango/GlobeVR | Assets/OverlayHandler.cs | Assets/OverlayHandler.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OverlayHandler : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
// adds Overlay to Globe
// @param type type of overlay, "none" fo... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OverlayHandler : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
// adds Overlay to Globe
// @param type type of overlay, "none" fo... | mit | C# |
7e19a420faee575f8408c082910823466adcad09 | Verify that type name matcher gets called with "help" | appharbor/appharbor-cli | src/AppHarbor.Tests/CommandDispatcherTest.cs | src/AppHarbor.Tests/CommandDispatcherTest.cs | using System;
using System.Linq;
using Castle.MicroKernel;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class CommandDispatcherTest
{
private static Type FooCommandType = typeof(FooCommand);
public class FooCommand : ICommand
{
public virtual void Ex... | using System;
using System.Linq;
using Castle.MicroKernel;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class CommandDispatcherTest
{
private static Type FooCommandType = typeof(FooCommand);
public class FooCommand : ICommand
{
public virtual void Ex... | mit | C# |
088c404e70dbdabf8dbe44e27a6bdb1e83c5f2c6 | Add required attribute to let a test pass | andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,Steph... | src/BloomTests/ProblemReporterDialogTests.cs | src/BloomTests/ProblemReporterDialogTests.cs | // Copyright (c) 2014-2015 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Reflection;
using NUnit.Framework;
using Bloom.MiscUI;
namespace BloomTests
{
[TestFixture]
[Category("RequiresUI")]
public class ProblemReporterDialogTest... | // Copyright (c) 2014-2015 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Reflection;
using NUnit.Framework;
using Bloom.MiscUI;
namespace BloomTests
{
[TestFixture]
[Category("RequiresUI")]
public class ProblemReporterDialogTest... | mit | C# |
e2416efbe09dd08a9a7b4595fbe522173c74105a | Update RobinManuelThiel.cs (#193) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/RobinManuelThiel.cs | src/Firehose.Web/Authors/RobinManuelThiel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts
{
public bool Filter(SyndicationItem item)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts
{
public bool Filter(SyndicationItem item)
... | mit | C# |
3561dc9b9966056802916473f622eb07a88855c8 | Update ISiteVar.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/ISiteVar.cs | src/api/ISiteVar.cs | // Copyright 2005-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
namespace Landis.SpatialModeling
{
/// <summary>
/// Represents a variable with values for the sites on a landscape.
/// </summary>
public ... | // Copyright 2005-2006 University of Wisconsin
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.... | apache-2.0 | C# |
c0f949fecf6a41b7e26f97d555c3e802141aa47e | Fix bug in assembly file versioning ("*" was included in file version string) | oysteinkrog/resharper-reformatutils,oysteinkrog/resharper-reformatutils | src/ReformatUtils/Properties/AssemblyInfo.cs | src/ReformatUtils/Properties/AssemblyInfo.cs | using System.Reflection;
using JetBrains.ActionManagement;
using JetBrains.Application.PluginSupport;
// 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: AssemblyT... | using System.Reflection;
using JetBrains.ActionManagement;
using JetBrains.Application.PluginSupport;
// 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: AssemblyT... | mit | C# |
1ccaefd941b87240e52a9204b368be7800b8b4a4 | remove the try catch block; the error shouldn't be ignored | cloudfoundry-incubator/garden-windows,cloudfoundry-incubator/garden-windows,cloudfoundry/garden-windows,cloudfoundry/garden-windows,stefanschneider/garden-windows,cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,stefanschneider/garden-windows | Containerizer/Program.cs | Containerizer/Program.cs | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
private static readonly Manua... | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
private static readonly Manua... | apache-2.0 | C# |
2414e0da96e75668647baba6216ddcf4e844c1b1 | Reset protagonist balance to 0 | leodenault/Beautiful-Dream-Forever,leodenault/Beautiful-Dream-Forever,leodenault/Beautiful-Dream-Forever,leodenault/Beautiful-Dream-Forever | Assets/src/model/Protagonist.cs | Assets/src/model/Protagonist.cs | using System;
class Protagonist {
private static Protagonist INSTANCE;
private static int MAX_MONEY = 99;
private int balance;
public int Balance {
get { return balance; }
}
private Inventory inventory;
public Inventory Inventory {
get { return inventory; }
}
private Outfit outfit;
private Protagoni... | using System;
class Protagonist {
private static Protagonist INSTANCE;
private static int MAX_MONEY = 99;
private int balance;
public int Balance {
get { return balance; }
}
private Inventory inventory;
public Inventory Inventory {
get { return inventory; }
}
private Outfit outfit;
private Protagoni... | mit | C# |
c918cb92395bcbe609f4c14d07178725194ff519 | Update CreateAssetMenu for ScriptableObjectExample | madsbangh/EasyButtons | Assets/EasyButtons/ScriptableObjectExample.cs | Assets/EasyButtons/ScriptableObjectExample.cs | using UnityEngine;
namespace EasyButtons
{
[CreateAssetMenu(fileName = "ScriptableObjectExample.asset", menuName = "EasyButtons/ScriptableObjectExample")]
public class ScriptableObjectExample : ScriptableObject
{
[Button]
public void SayHello()
{
Debug.Log("Hello");
... | using UnityEngine;
namespace EasyButtons
{
[CreateAssetMenu(fileName = "Example.asset", menuName = "New Example ScriptableObject")]
public class ScriptableObjectExample : ScriptableObject
{
[Button]
public void SayHello()
{
Debug.Log("Hello");
}
[Button... | mit | C# |
d0ffe3ba52c4a210cd9b32aaff6a2b840e3fd948 | Update Examples/.vs/Aspose.Email.Examples.CSharp/v15/Server/sqlite3/storage.ide-wal | aspose-email/Aspose.Email-for-.NET,asposeemail/Aspose_Email_NET | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | mit | C# |
f26fd83575aa2174f4b1ad92a32792a7d790d334 | Make VerseRefExtensionsTests.SendScrReference "By Hand Only" | sillsdev/Glyssen,sillsdev/Glyssen | GlyssenTests/Utilities/VerseRefExtensionsTests.cs | GlyssenTests/Utilities/VerseRefExtensionsTests.cs | using System;
using System.Threading;
using System.Windows.Forms;
using Glyssen.Utilities;
using NUnit.Framework;
using Paratext;
using SIL.Windows.Forms.Scripture;
namespace GlyssenTests.Utilities
{
class VerseRefExtensionsTests
{
[Test, Ignore("By Hand Only")]
public void SendScrReference()
{
DummyForm.S... | using System;
using System.Threading;
using System.Windows.Forms;
using Glyssen.Utilities;
using NUnit.Framework;
using Paratext;
using SIL.Windows.Forms.Scripture;
namespace GlyssenTests.Utilities
{
class VerseRefExtensionsTests
{
[Test]
public void SendScrReference()
{
DummyForm.Start();
// MAT 28:18... | mit | C# |
ec20bc8f1f5562e0bdfc731d2a98ace405174282 | Remove unused variable | DaveSenn/Extend | PortableExtensions.Testing/System.DateTime/DateTime.StartOfWeek.Test.cs | PortableExtensions.Testing/System.DateTime/DateTime.StartOfWeek.Test.cs | #region Using
using System;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class DateTimeExTest
{
[Test]
public void StartOfWeekTestCase()
{
var dateTime = new DateTime(2014, 3, 27);
var expected = new... | #region Using
using System;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class DateTimeExTest
{
[Test]
public void StartOfWeekTestCase()
{
var dateTime = new DateTime(2014, 3, 27);
var expected = new... | mit | C# |
c10ececf7f0735a7b11859755204c33f312b28a9 | Remove reference to obsolete `searchHighlight()` javascript function from ClearSilver footer template. | pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac | templates/footer.cs | templates/footer.cs | <?cs if:len(chrome.links.alternate) ?>
<div id="altlinks"><h3>Download in other formats:</h3><ul><?cs
each:link = chrome.links.alternate ?><?cs
set:isfirst = name(link) == 0 ?><?cs
set:islast = name(link) == len(chrome.links.alternate) - 1?><li<?cs
if:isfirst || islast ?> class="<?cs
if:isfirst ?>first<?c... | <script type="text/javascript">searchHighlight()</script><?cs
if:len(chrome.links.alternate) ?>
<div id="altlinks"><h3>Download in other formats:</h3><ul><?cs
each:link = chrome.links.alternate ?><?cs
set:isfirst = name(link) == 0 ?><?cs
set:islast = name(link) == len(chrome.links.alternate) - 1?><li<?cs
if:is... | bsd-3-clause | C# |
37cab4d3d0d2bfffe3aa15f41fa0314c52d7c91c | fix the back link to return to the metadata page | MindTouch/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,MindTouch/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,... | src/ServiceStack/WebHost.Endpoints/Support/Metadata/Controls/OperationControl.cs | src/ServiceStack/WebHost.Endpoints/Support/Metadata/Controls/OperationControl.cs | using System.Web;
using System.Web.UI;
using ServiceStack.Common;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Support.Templates;
namespace ServiceStack.WebHost.Endpoints.Support.Metadata.Controls
{
public class OperationControl
{
public ServiceEndpointsMetadataConfig MetadataConfig { get;... | using System.Web;
using System.Web.UI;
using ServiceStack.Common;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Support.Templates;
namespace ServiceStack.WebHost.Endpoints.Support.Metadata.Controls
{
public class OperationControl
{
public ServiceEndpointsMetadataConfig MetadataConfig { get;... | bsd-3-clause | C# |
3283770ff3b4bf49d16a3b6e6b1710362110571c | allow the base url to be over ridden | bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather | api/smoke/BellRichM.Identity.Api.Smoke/Controllers/UserControllerSetupTearDown.cs | api/smoke/BellRichM.Identity.Api.Smoke/Controllers/UserControllerSetupTearDown.cs | using FluentAssertions;
using Machine.Specifications;
using System;
using System.Net.Http;
namespace BellRichM.Identity.Api.Smoke.Controllers
{
public class UserControllerSetupTearDown : IAssemblyContext
{
public void OnAssemblyStart()
{
var baseURL = Environment.GetEnvironmentVariable("SMOKE_B... | using FluentAssertions;
using Machine.Specifications;
using System;
using System.Net.Http;
namespace BellRichM.Identity.Api.Smoke.Controllers
{
public class UserControllerSetupTearDown : IAssemblyContext
{
public void OnAssemblyStart()
{
UserControllerSmoke.Client = new HttpClient();
#p... | mit | C# |
527ba28039ef473c0801d7fdd3881f880be9afc1 | Fix parse error handling. | impworks/lens | Lens/LensCompiler.cs | Lens/LensCompiler.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Lens.Parser;
using Lens.SyntaxTree;
using Lens.SyntaxTree.Compiler;
using Lens.SyntaxTree.SyntaxTree;
namespace Lens
{
/// <summary>
/// LENS main compiler class.
/// https://github.com/impworks/lens
/// </summary>
public class LensCo... | using System;
using System.Collections.Generic;
using System.Reflection;
using Lens.Parser;
using Lens.SyntaxTree;
using Lens.SyntaxTree.Compiler;
using Lens.SyntaxTree.SyntaxTree;
namespace Lens
{
/// <summary>
/// LENS main compiler class.
/// https://github.com/impworks/lens
/// </summary>
public class LensCo... | mit | C# |
33e7272168fb0103dc7140856b04c6f93525aacc | Fix AutMap. | FiniteElement/reflector | Reflector/Program.cs | Reflector/Program.cs | using System;
namespace Reflector
{
class Test
{
public String Member = "Simple member!";
public Test[] Elements { get; set; }
public Test Property { get; set; }
public String Leaf { get; set; }
public String Method ()
{
return "Method!";
}
public String MethodWithParam (int a)
{
return... | using System;
namespace Reflector
{
class Test
{
public String Member = "Simple member!";
public Test[] Elements { get; set; }
public Test Property { get; set; }
public String Leaf { get; set; }
public String Method ()
{
return "Method!";
}
public String MethodWithParam (int a)
{
return... | mit | C# |
827360388fd600dd9bd5ff104d18fa849260dda7 | Update NumberNode.cs | dmanning23/Equationator | Source/NumberNode.cs | Source/NumberNode.cs | using System.Collections.Generic;
using System.Diagnostics;
using System;
using System.Globalization;
namespace Equationator
{
/// <summary>
/// This a node in the equation that holds a number.
/// </summary>
public class NumberNode : BaseNode
{
#region Members
/// <summary>
/// The actual number value of ... | using System.Collections.Generic;
using System.Diagnostics;
using System;
namespace Equationator
{
/// <summary>
/// This a node in the equation that holds a number.
/// </summary>
public class NumberNode : BaseNode
{
#region Members
/// <summary>
/// The actual number value of this node
/// </summary>
... | mit | C# |
d2a347e344b0e5898bb6997265b940883d909e0c | Update AddingLabelControl.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-... | Examples/CSharp/Charts/InsertingControlsintoCharts/AddingLabelControl.cs | Examples/CSharp/Charts/InsertingControlsintoCharts/AddingLabelControl.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Charts.InsertingControlsintoCharts
{
public class AddingLabelControl
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
str... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Charts.InsertingControlsintoCharts
{
public class AddingLabelControl
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cel... | mit | C# |
f99561cc816d5b16414d6b5bfcd4880c9a7b178e | Update ConvertWorksheettoImageFile.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Articles/ConvertingWorksheetToImage/ConvertWorksheettoImageFile.cs | Examples/CSharp/Articles/ConvertingWorksheetToImage/ConvertWorksheettoImageFile.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Rendering;
using System.Drawing;
namespace Aspose.Cells.Examples.Articles.ConvertingWorksheetToImage
{
public class ConvertWorksheettoImageFile
{
public static void Main(string[] args)
{
//ExStart:1
// The path to ... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Rendering;
using System.Drawing;
namespace Aspose.Cells.Examples.Articles.ConvertingWorksheetToImage
{
public class ConvertWorksheettoImageFile
{
public static void Main(string[] args)
{
// The path to the documents directory.... | mit | C# |
c772f00b6a88027e655f09dba616ef7cf60303fe | add urls | faniereynders/PokeApp | src/PokeApp.Api/Program.cs | src/PokeApp.Api/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using System.IO;
namespace PokeApp.Api
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseContentRoot(Directory.GetCurrentDirectory())
... | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using System.IO;
namespace PokeApp.Api
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseContentRoot(Directory.GetCurrentDirectory())
... | mit | C# |
fc3a20282c73f2b4a5c582c0e3be441d7301b4d8 | Simplify ProcessorCount tests to fix sporadic failures (#35465) | wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,ptoonen/corefx,ericstj/corefx,shimingsg/corefx,BrennanConroy/corefx,ptoonen/corefx,ericstj/corefx,shimingsg/corefx,shimingsg/corefx,shimingsg/corefx,ViktorHofer/corefx,ptoonen/corefx,BrennanConroy/corefx,wtgodbe/corefx,ptoonen/corefx,ericstj/corefx,shiming... | src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs | src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.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.Runtime.InteropServices;
using Xunit;
namespace System.Tests
{
public class EnvironmentProcessorCo... | // 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.Runtime.InteropServices;
using Xunit;
namespace System.Tests
{
public class EnvironmentProcessorCo... | mit | C# |
012b98985f943933a186f752978a8225f626129c | Set window title for authentication | github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs | using System;
using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
[Serializable]
class AuthenticationWindow : BaseWindow
{
[SerializeField] private AuthenticationView authView;
[MenuItem("GitHub/Authenticate")]
public static void Launch()
{
Open();
... | using System;
using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
[Serializable]
class AuthenticationWindow : BaseWindow
{
[SerializeField] private AuthenticationView authView;
[MenuItem("GitHub/Authenticate")]
public static void Launch()
{
Open();
... | mit | C# |
f3265e11e87caf84c9716ed8064c6be6c02fb928 | Use IConfiguration first, and the IConfigurationRoot. | schambers/fluentmigrator,igitur/fluentmigrator,amroel/fluentmigrator,eloekset/fluentmigrator,stsrki/fluentmigrator,spaccabit/fluentmigrator,eloekset/fluentmigrator,fluentmigrator/fluentmigrator,igitur/fluentmigrator,schambers/fluentmigrator,fluentmigrator/fluentmigrator,spaccabit/fluentmigrator,stsrki/fluentmigrator,am... | src/FluentMigrator.Runner.Core/Initialization/ConfigurationConnectionStringReader.cs | src/FluentMigrator.Runner.Core/Initialization/ConfigurationConnectionStringReader.cs | #region License
// Copyright (c) 2018, FluentMigrator Project
//
// 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 app... | #region License
// Copyright (c) 2018, FluentMigrator Project
//
// 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 ap... | apache-2.0 | C# |
74b2b6b232aafb9dd40179278574841427de26bd | Set Program class as public in standalone project template | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone.CSharp/Program.cs | src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone.CSharp/Program.cs | using Microsoft.AspNetCore.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Browser.Services;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace BlazorStandalone.CSharp
{
public class Program
{
static void Main(string[] args)
{
var serviceProvider = ... | using Microsoft.AspNetCore.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Browser.Services;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace BlazorStandalone.CSharp
{
class Program
{
static void Main(string[] args)
{
var serviceProvider = new Bro... | apache-2.0 | C# |
a4fc1d78bb1e31a67bd228cf0b35410933997947 | Remove unneeded methods from model | dukemiller/twitch-tv-viewer | twitch-tv-viewer/Models/TwitchChannel.cs | twitch-tv-viewer/Models/TwitchChannel.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace twitch_tv_viewer.Models
{
public class TwitchChannel : IComparable
{
public TwitchChannel()
{
}
public TwitchChannel(JToken data)
{
var channel = dat... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace twitch_tv_viewer.Models
{
public class TwitchChannel : IComparable
{
public TwitchChannel()
{
}
public TwitchChannel(JToken data)
{
var channel = dat... | mit | C# |
1a3bd54aff539bac974d3f354f1783cd7d75dc7d | Remove unnecessary exception variable. | maraf/WebCamImageCollector | src/WebCamImageCollector.RemoteControl.UI/ViewModels/Commands/CheckStatusCommand.cs | src/WebCamImageCollector.RemoteControl.UI/ViewModels/Commands/CheckStatusCommand.cs | using Neptuo;
using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WebCamImageCollector.RemoteControl.Services;
using Windows.UI.Popups;
namespace WebCamImageCollector.RemoteContr... | using Neptuo;
using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WebCamImageCollector.RemoteControl.Services;
using Windows.UI.Popups;
namespace WebCamImageCollector.RemoteContr... | apache-2.0 | C# |
819837f7a1e07bd3742581b957074eed8e282b5c | Use EventArgs.Empty in DelegateCommand (#3179) | Livit/CefSharp,Livit/CefSharp,Livit/CefSharp,Livit/CefSharp | CefSharp.Wpf/DelegateCommand.cs | CefSharp.Wpf/DelegateCommand.cs | // Copyright © 2013 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;
using System.Windows.Input;
namespace CefSharp.Wpf
{
/// <summary>
/// DelegateCommand
/// </summary>
/// <seealso cref="... | // Copyright © 2013 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;
using System.Windows.Input;
namespace CefSharp.Wpf
{
/// <summary>
/// DelegateCommand
/// </summary>
/// <seealso cref="... | bsd-3-clause | C# |
8afad4b8583bb8ea77e42c9248c1f0b9468314ce | Refactor Add public JSON property | jazd/Business,jazd/Business,jazd/Business | CSharp/Core/Profile/Profile.cs | CSharp/Core/Profile/Profile.cs | using System;
using System.IO;
namespace Business.Core.Profile
{
public class Profile
{
public ILog Log { get; set; }
public string SQLiteDatabasePath {
get {
String path;
if (String.IsNullOrEmpty(SQLiteProfile.Path))
path = "sandbox/Business/business.sqlite3";
else
path = SQLiteProfi... | using System;
using System.IO;
namespace Business.Core.Profile
{
public class Profile
{
public ILog Log { get; set; }
public string SQLiteDatabasePath {
get {
String path;
if (String.IsNullOrEmpty(SQLiteProfile.Path))
path = "sandbox/Business/business.sqlite3";
else
path = SQLiteProfi... | mit | C# |
63363aee08ff995f076c11829df2586e91e175f4 | Use Invoke | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | Core2D/Core/ObservableObject.cs | Core2D/Core/ObservableObject.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.ComponentModel;
using System.Runtime.CompilerServices;
namespace Core2D
{
/// <summary>
/// Base class for objects with observable property c... | // 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.ComponentModel;
using System.Runtime.CompilerServices;
namespace Core2D
{
/// <summary>
/// Base class for objects with observable property c... | mit | C# |
83704faa263810dfc0c5ec293aea219f7bde94e0 | Add endpoints for controlling game speed. | Rychard/GnomeServer,Rychard/GnomeServer,Rychard/GnomeServer,Rychard/GnomeServer | GnomeServer/Controllers/GameController.cs | GnomeServer/Controllers/GameController.cs | using System.Globalization;
using System.Net;
using Game;
using GnomeServer.Routing;
namespace GnomeServer.Controllers
{
[Route("Game")]
public sealed class GameController : ConventionRoutingController
{
[HttpGet]
[Route("Speed")]
public IResponseFormatter GetSpeed()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Game;
using GnomeServer.Extensions;
using GnomeServer.Routing;
namespace GnomeServer.Controllers
{
[Route("Game")]
public sealed class GameController : ConventionRoutingController
{
[HttpGet]
... | mit | C# |
37f874a853ddba8569498edc9f4e179de16cc2f7 | use settings in TestAsyncMethodRenameChecker | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter/AsyncHelpers/RenameCheckers/TestAsyncMethodRenameChecker.cs | AsyncConverter/AsyncHelpers/RenameCheckers/TestAsyncMethodRenameChecker.cs | using System.Collections.Generic;
using System.Linq;
using AsyncConverter.Settings;
using JetBrains.Application.Settings;
using JetBrains.Metadata.Reader.Impl;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
namespace AsyncConv... | using System.Collections.Generic;
using System.Linq;
using JetBrains.Metadata.Reader.Impl;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
namespace AsyncConverter.AsyncHelpers.RenameCheckers
{
[SolutionComponent]
internal class TestRenameChecker : IConcr... | mit | C# |
7cfe1aca0af242e5d68971b67bf2c21874ba5109 | Address review feedback. | dotnet/wcf,imcarolwang/wcf,imcarolwang/wcf,mconnew/wcf,StephenBonikowsky/wcf,imcarolwang/wcf,StephenBonikowsky/wcf,mconnew/wcf,dotnet/wcf,dotnet/wcf,mconnew/wcf | src/System.ServiceModel.Security/tests/ServiceModel/BinarySecretSecurityTokenTest.cs | src/System.ServiceModel.Security/tests/ServiceModel/BinarySecretSecurityTokenTest.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IdentityModel.Tokens;
using System.ServiceModel.Security.Tokens;
using Infrastructure.C... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IdentityModel.Tokens;
using System.ServiceModel.Security.Tokens;
using Infrastructure.C... | mit | C# |
3c2723fb509f8be68913b200f167539028460010 | Use convention model builder. | OmniSharp/omnisharp-scaffolding,OmniSharp/omnisharp-scaffolding | test/Microsoft.Framework.CodeGeneration.EntityFramework.Test/TestModels/TestModel.cs | test/Microsoft.Framework.CodeGeneration.EntityFramework.Test/TestModels/TestModel.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Framework.CodeGeneration.EntityFramework.Test.TestModels
{
public stati... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Framework.CodeGeneration.EntityFramework.Test.TestModels
{
public stati... | mit | C# |
8d1cba35df3750b7cb9740270739bcad21f14772 | Add CancelTransfersTest | jzebedee/lcapi | LCAPI/LcapiTests/AccountTest.cs | LCAPI/LcapiTests/AccountTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using LendingClub;
using Xunit;
namespace LcapiTests
{
public class AccountTest
{
private KeyValuePair<string, string> GetTestCredentials()
{
var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using LendingClub;
using Xunit;
namespace LcapiTests
{
public class AccountTest
{
private KeyValuePair<string, string> GetTestCredentials()
{
var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\... | agpl-3.0 | C# |
852b94729a7ac564b6dd7caeefa24430964ca005 | Fix version number | x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp | src/ScriptSharp.cs | src/ScriptSharp.cs | // ScriptSharp.cs
// Script#/Common
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("http://www.scriptsharp.com")]
[assembly: AssemblyProduct("Script#")]
[assembly: Ass... | // ScriptSharp.cs
// Script#/Common
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("http://www.scriptsharp.com")]
[assembly: AssemblyProduct("Script#")]
[assembly: Ass... | apache-2.0 | C# |
7aa3d4b6b08078dc9046f1417ce5e23404412da3 | Use async/await on integration tests | marcbarbosa/remember | Remember.Tests/RememberTests.cs | Remember.Tests/RememberTests.cs | using System;
using System.Runtime.Caching;
using System.Threading.Tasks;
using Xunit;
namespace Remember.Tests
{
public class RememberTests
{
public class Integration : IDisposable
{
private readonly IRemember remember = Remember.Instance;
[Fact]
public as... | using System;
using System.Runtime.Caching;
using Xunit;
namespace Remember.Tests
{
public class RememberTests
{
public class Integration : IDisposable
{
private readonly IRemember remember = Remember.Instance;
[Fact]
public void CallingAllMethods()
... | mit | C# |
71546c641c8705a7ad7d20c18cfabb600345d588 | Fix bad unit tests. | bchavez/Dwolla | source/Dwolla.Checkout.Tests/ValidationTests/DwollaServerCheckoutApiValidatorTests.cs | source/Dwolla.Checkout.Tests/ValidationTests/DwollaServerCheckoutApiValidatorTests.cs | using System;
using Dwolla.Checkout.Validators;
using FluentAssertions;
using FluentValidation;
using NUnit.Framework;
namespace Dwolla.Checkout.Tests.ValidationTests
{
[TestFixture]
public class DwollaServerCheckoutApiValidatorTests
{
private DwollaServerCheckoutApiValidator validator;
... | using System;
using Dwolla.Checkout.Validators;
using FluentAssertions;
using FluentValidation;
using NUnit.Framework;
namespace Dwolla.Checkout.Tests.ValidationTests
{
[TestFixture]
public class DwollaServerCheckoutApiValidatorTests
{
private DwollaServerCheckoutApiValidator validator;
... | mit | C# |
186255add4a1f9cd9ffd7108a9a291f51f4b618f | improve XML document to clarify. | jwChung/Experimentalism,jwChung/Experimentalism | src/Experimental/TheoremAttribute.cs | src/Experimental/TheoremAttribute.cs | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
using Xunit.Sdk;
namespace Jwc.Experimental
{
/// <summary>
/// 이 attribute는 method위에 선언되어 해당 method가 test-case라는 것을
/// 지칭하게 되며, non-parameterized test 뿐 아니라 parameterized test에도
/// 사용될 수 있다.
/// </summary>
... | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
using Xunit.Sdk;
namespace Jwc.Experimental
{
/// <summary>
/// 테스트 메소드를 지칭하는 어트리뷰트로써, test runner에 의해 실행된다.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public sealed class TheoremAttribute : FactAttr... | mit | C# |
91a0f528daa75c90a1c12309ea5723083fb79eee | Bump v2.4.0 | Gizeta/KanColleCacher | KanColleCacher/Properties/AssemblyInfo.cs | KanColleCacher/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using d_f_32.KanColleCacher;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle(AssemblyInfo.Title)]
[assembly: AssemblyDescription(AssemblyInfo.Description)]
[assembly: Assembl... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using d_f_32.KanColleCacher;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle(AssemblyInfo.Title)]
[assembly: AssemblyDescription(AssemblyInfo.Description)]
[assembly: Assembl... | mit | C# |
1a66f6f76050ec3320e06aece392e10a133df39c | update alert tests; auto-reset alerts | ceee/UptimeSharp | UptimeSharp.Tests/AlertsTest.cs | UptimeSharp.Tests/AlertsTest.cs | using System.Linq;
using System.Threading.Tasks;
using UptimeSharp.Models;
using Xunit;
namespace UptimeSharp.Tests
{
public class AlertsTest : TestsBase
{
public AlertsTest() : base() { }
[Fact]
public async Task AddInvalidAlertWithTypeSms()
{
await ThrowsAsync<UptimeSharpException>(async... | using System.Collections.Generic;
using System.Threading.Tasks;
using UptimeSharp.Models;
using Xunit;
namespace UptimeSharp.Tests
{
public class AlertsTest : TestsBase
{
public AlertsTest() : base() { }
[Fact]
public async Task AddInvalidAlertWithTypeSms()
{
await ThrowsAsync<UptimeSharpE... | mit | C# |
5f69604921150fa457b79ead2e0708dd3fa4fbee | update to 1.0.3.1 | rkttu/System.Net.FtpClient.Async,rkttu/System.Net.FtpClient.Async | System.Net.FtpClient.Async/System.Net.FtpClient.Async/Properties/AssemblyInfo.cs | System.Net.FtpClient.Async/System.Net.FtpClient.Async/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다.
// 어셈블리와 관련된 정보를 수정하려면
// 이 특성 값을 변경하십시오.
[assembly: AssemblyTitle("System.Net.FtpClient.Async Extensions")]
[assembly: AssemblyDescription("This component provides async extension... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다.
// 어셈블리와 관련된 정보를 수정하려면
// 이 특성 값을 변경하십시오.
[assembly: AssemblyTitle("System.Net.FtpClient.Async Extensions")]
[assembly: AssemblyDescription("This component provides async extension... | mit | C# |
bae25095951c1684627d186c83483688f137eaf3 | Correct the Example Name in Comment | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Articles/LoadWorkbookWithSpecificCultureInfoNumberFormat.cs | Examples/CSharp/Articles/LoadWorkbookWithSpecificCultureInfoNumberFormat.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class LoadWorkbookWithSpecificCultureInfoNumberFormat
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class LoadWorkbookWithSpecificCultureInfoNumberFormat
{
public... | mit | C# |
523e40a03b08f6d8887238c81beaf01d92fe7865 | Update IInputGrid.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/IInputGrid.cs | src/api/IInputGrid.cs | // Copyright 2005-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
namespace Landis.SpatialModeling
{
/// <summary>
/// An input grid of data values that are read from the upper-left corner
/// to the lower-righ... | // Copyright 2005-2006 University of Wisconsin
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.... | apache-2.0 | C# |
e4cc29d0c42bc6c062c3d777f3a95d2ab1e29762 | Update ViewBase.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.Editor/ViewBase.cs | src/Core2D.Editor/ViewBase.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Editor.Views.Interfaces;
namespace Core2D.Editor
{
/// <summary>
/// View base class.
/// </summary>
/// <typeparam name="T">The type... | // 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 Core2D.Editor.Views.Interfaces;
namespace Core2D.Editor
{
/// <summary>
/// View base class.
/// </summary>
/// <typeparam name="T">The type... | mit | C# |
3e889faea8ccd0de23f42899edd99ff39942757d | fix the empty space in the icon list of the Bit.BlazorUI demo project #2462 (#2490) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/BlazorUI/Playground/Bit.BlazorUI.Playground/Web/Pages/IconPage.razor.cs | src/BlazorUI/Playground/Bit.BlazorUI.Playground/Web/Pages/IconPage.razor.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Bit.BlazorUI.Playground.Web.Pages;
public partial class IconPage
{
private List<string> allIcons;
private List<string> filteredIcons;
private string searchText = string.Empty;
protected override void OnInitialized()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Bit.BlazorUI.Playground.Web.Pages;
public partial class IconPage
{
private List<string> allIcons;
private List<string> filteredIcons;
private string searchText = string.Empty;
protected override void OnInitialized()
{
... | mit | C# |
a62ffada4cbd6a6ad52122051d00c8deab0090ff | add indexor to simplify access to child tag content e.g. person["FirstName"] | mvbalaw/LinqToHtml | src/LinqToHtml/HTMLTag.cs | src/LinqToHtml/HTMLTag.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace LinqToHtml
{
public class HTMLTag
{
private readonly XmlNode _node;
public HTMLTag(XmlNode node)
{
_node = node;
}
public IEnumerable<HTMLTagAttribute> Attributes
{
get
{
if (_node.Attributes == null)
{
... | using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace LinqToHtml
{
public class HTMLTag
{
private readonly XmlNode _node;
public HTMLTag(XmlNode node)
{
_node = node;
}
public IEnumerable<HTMLTagAttribute> Attributes
{
get
{
if (_node.Attributes == null)
{
... | mit | C# |
8e267a4e203057326600c28711d8ae22d3abd093 | Update SimpleKalmanFilter.cs | joaopedronardari/SimpleKalmanFilter | src/SimpleKalmanFilter.cs | src/SimpleKalmanFilter.cs | class SimpleKalmanFilter
{
private double Q = 0.00001;
private double R = 0.01;
private double P = 1, X = 0, K;
private void MeasurementUpdate()
{
K = (P + Q) / (P + Q + R);
P = R * K;
}
public double Update(double measurement)
{
MeasurementUpdate();
dou... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleKalmanFilterApplication
{
class SimpleKalmanFilter
{
private double Q = 0.00001;
private double R = 0.01;
private double P = 1, X = 0, K;
private... | mit | C# |
43148ffc23cdaffc4a09fef8d1fd08f4d8dd5764 | Update svn properties. | TomDataworks/opensim,TomDataworks/opensim,Michelle-Argus/ArribasimExtract,zekizeki/agentservice,OpenSimian/opensimulator,RavenB/opensim,N3X15/VoxelSim,TomDataworks/opensim,RavenB/opensim,ft-/arribasim-dev-tests,TechplexEngineer/Aurora-Sim,rryk/omp-server,AlexRa/opensim-mods-Alex,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,zek... | OpenSim/Region/Environment/Modules/Terrain/TerrainUtil.cs | OpenSim/Region/Environment/Modules/Terrain/TerrainUtil.cs | using System;
using OpenSim.Region.Environment.Interfaces;
namespace OpenSim.Region.Environment.Modules.Terrain
{
public static class TerrainUtil
{
public static double MetersToSphericalStrength(double size)
{
return Math.Pow(2, size);
}
public static double Spheri... | using System;
using OpenSim.Region.Environment.Interfaces;
namespace OpenSim.Region.Environment.Modules.Terrain
{
public static class TerrainUtil
{
public static double MetersToSphericalStrength(double size)
{
return Math.Pow(2, size);
}
public static d... | bsd-3-clause | C# |
ccc4bc0992c07bd616720772c9dafea4bc530b28 | refactor RegistryBackedDictionary | JLospinoso/beamgun | BeamgunApp/Models/RegistryBackedDictionary.cs | BeamgunApp/Models/RegistryBackedDictionary.cs | using System;
using Microsoft.Win32;
namespace BeamgunApp.Models
{
public interface IDynamicDictionary
{
Guid GetWithDefault(string key, Guid defaultValue);
bool GetWithDefault(string key, bool defaultValue);
string GetWithDefault(string key, string defaultValue);
uint GetWithD... | using System;
using Microsoft.Win32;
namespace BeamgunApp.Models
{
public interface IDynamicDictionary
{
Guid GetWithDefault(string key, Guid defaultValue);
bool GetWithDefault(string key, bool defaultValue);
string GetWithDefault(string key, string defaultValue);
uint GetWithD... | agpl-3.0 | C# |
b3850cefb1dd60ff79bd1ea8fc55004ec11b7ad1 | Update ExtractPhase.cs | Desolath/Confuserex | Confuser.Protections/Compress/ExtractPhase.cs | Confuser.Protections/Compress/ExtractPhase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Confuser.Core;
using dnlib.DotNet;
using dnlib.DotNet.MD;
using dnlib.DotNet.Writer;
namespace Confuser.Protections.Compress {
internal class ExtractPhase : ProtectionPhase {
public ExtractPhase(Compressor parent) : base(pa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Confuser.Core;
using dnlib.DotNet;
using dnlib.DotNet.MD;
using dnlib.DotNet.Writer;
namespace Confuser.Protections.Compress {
internal class ExtractPhase : ProtectionPhase {
public ExtractPhase(Compressor parent) : base(pa... | mit | C# |
5c5b70d41972551f0b6686cb137835103a1e0c04 | Use FileShare.Read option in IHttpResponseExtensions.WriteFile | zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb | ZKWeb/ZKWebStandard/Extensions/IHttpResponseExtensions.cs | ZKWeb/ZKWebStandard/Extensions/IHttpResponseExtensions.cs | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.IO;
using ZKWebStandard.Web;
namespace ZKWebStandard.Extensions {
/// <summary>
/// Http response extension methods
/// </summary>
public static class IHttpResponseExtensions {
/// <summary>
/// Redirect to url by javasc... | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.IO;
using ZKWebStandard.Web;
namespace ZKWebStandard.Extensions {
/// <summary>
/// Http response extension methods
/// </summary>
public static class IHttpResponseExtensions {
/// <summary>
/// Redirect to url by javasc... | mit | C# |
064af123c9fbf2d3701265c8d6407a70853d95ad | Add size constant | ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework | osu.Framework/Audio/Track/BassAmplitudes.cs | osu.Framework/Audio/Track/BassAmplitudes.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.
// 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 ... | // 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.
// 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 ... | mit | C# |
596f4f7d2e6c62c7a4c3fa43ce161c5b71c388d8 | use spinner's clock to drive spinner | peppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Obje... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Obje... | mit | C# |
fa33e0bd6bc5c8abb6e88938c206bad2691ba0c7 | Fix background brightness being adjusted globally | peppy/osu,ppy/osu,naoey/osu,DrabWeb/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,ZLima12/osu,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,DrabWeb/osu,NeoAdonis/osu,peppy/osu,naoey/osu,NeoAdonis/osu,smo... | osu.Game/Graphics/Backgrounds/Background.cs | osu.Game/Graphics/Backgrounds/Background.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphic... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphic... | mit | C# |
ac9cb8ab49504fabe0ef5aad5c43c2da3a264c87 | Fix sorting on VoiceActorInformationGrid | sillsdev/Glyssen,sillsdev/Glyssen | Glyssen/Controls/VoiceActorInformationGrid.cs | Glyssen/Controls/VoiceActorInformationGrid.cs | using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
using Glyssen.VoiceActor;
using L10NSharp;
using SIL.ObjectModel;
namespace Glyssen.Controls
{
public partial class VoiceActorInformationGrid : UserControl
{
public event DataGridViewRowsRemovedEventHandler RowsRemoved;
public event Dat... | using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
using Glyssen.VoiceActor;
using L10NSharp;
namespace Glyssen.Controls
{
public partial class VoiceActorInformationGrid : UserControl
{
public event DataGridViewRowsRemovedEventHandler RowsRemoved;
public event DataGridViewRowEventHandle... | mit | C# |
0360fafb38905ade054bc82c864ae62998ae97d2 | add import prototype | 0xFireball/KJade,0xFireball/KJade | KJade/src/KJade.ViewEngine/KJadeViewEngine.cs | KJade/src/KJade.ViewEngine/KJadeViewEngine.cs | using KJade.Compiler.Html;
using Nancy;
using Nancy.Responses;
using Nancy.ViewEngines;
using Nancy.ViewEngines.SuperSimpleViewEngine;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
namespace KJade.ViewEngine
{
public class KJadeViewEngine : IViewEngine
{
priv... | using KJade.Compiler.Html;
using Nancy;
using Nancy.Responses;
using Nancy.ViewEngines;
using Nancy.ViewEngines.SuperSimpleViewEngine;
using System.Collections.Generic;
using System.IO;
namespace KJade.ViewEngine
{
public class KJadeViewEngine : IViewEngine
{
private readonly SuperSimpleViewEngine eng... | apache-2.0 | C# |
4419b61e48ff3a71fab37e891cedf34c06388637 | Drop in other CRUD methods | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/ACFTController.cs | Battery-Commander.Web/Controllers/ACFTController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
public class ACFTController : C... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
public class ACFTController : Controller
{
private readonly Database db;
public ACFT... | mit | C# |
424f6bd17426c17f6720a5eb82eb0b047af7c905 | Add ActionResulta carousel() | fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos | Fatec.Treinamento.Web/Controllers/HomeController.cs | Fatec.Treinamento.Web/Controllers/HomeController.cs | using Fatec.Treinamento.Data.Repositories;
using System.Web.Mvc;
namespace Fatec.Treinamento.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public PartialViewResult MenuAssuntos()
{
us... | using Fatec.Treinamento.Data.Repositories;
using System.Web.Mvc;
namespace Fatec.Treinamento.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public PartialViewResult MenuAssuntos()
{
us... | apache-2.0 | C# |
fa1f4304f6e7d9bdd1b3a84be3a4fc102ccc8a01 | Remove usings | ZLima12/osu,peppy/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,Frontear/osuKyzer,Nabile-Rah... | osu.Game/Screens/Play/HotkeyRetryOverlay.cs | osu.Game/Screens/Play/HotkeyRetryOverlay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input;
using OpenTK.Input;
using osu.Framework.Allocation;
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphi... | mit | C# |
bf4dd33fffb878bccce8048d7119b907bed56117 | Update applicationconfig.cs | StefH/KendoGridBinderEx | KendoGridBinderEx.Examples.MVC/ApplicationConfig.cs | KendoGridBinderEx.Examples.MVC/ApplicationConfig.cs | using System.Collections.Specialized;
using System.Configuration;
namespace KendoGridBinderEx.Examples.MVC
{
public static class ApplicationConfig
{
private static readonly NameValueCollection Config = ConfigurationManager.AppSettings;
public static bool MiniProfilerEnabled
{
... | using System.Collections.Specialized;
using System.Configuration;
namespace KendoGridBinderEx.Examples.MVC
{
public static class ApplicationConfig
{
private static readonly NameValueCollection Config = ConfigurationManager.AppSettings;
public static bool RepositoryDeleteAllowed
{
... | mit | C# |
f8df0d58f7f09af0212e8219b6b06b8e1158ed17 | handle write errors | tawnkramer/sdsandbox,tawnkramer/sdsandbox | sdsim/Assets/Scripts/Race/RaceSummary.cs | sdsim/Assets/Scripts/Race/RaceSummary.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class RaceSummary : MonoBehaviour
{
public Transform racerLayoutGroup;
public GameObject racerSummaryPrefab;
int race_heat = 1;
public void Init()
{
//clean out any previou... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class RaceSummary : MonoBehaviour
{
public Transform racerLayoutGroup;
public GameObject racerSummaryPrefab;
int race_heat = 1;
public void Init()
{
//clean out any previou... | bsd-3-clause | C# |
20906116e634ae2b9056ebd4deed3569d1b938fc | Fix fast Circle vs Circle test | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Physics/Collider/CirclevsCircle.cs | MadCat/NutEngine/Physics/Collider/CirclevsCircle.cs | using Microsoft.Xna.Framework;
using NutEngine.Physics.Shapes;
namespace NutEngine.Physics
{
public static partial class Collider
{
public static bool Collide(IBody<Circle> a, IBody<Circle> b, out IntersectionArea intersection)
{
// Probably here should be the sector collisions che... | using Microsoft.Xna.Framework;
using NutEngine.Physics.Shapes;
namespace NutEngine.Physics
{
public static partial class Collider
{
public static bool Collide(IBody<Circle> a, IBody<Circle> b, out IntersectionArea intersection)
{
// Probably here should be the sector collisions che... | mit | C# |
db718f3c283c48c513afc354d6e291d6ed5829cf | Use 'o' format for date. Fixed splitting problem with backtrace. | mroach/exceptional-net,mroach/exceptional-net | src/Exceptional.Core/ExceptionSummary.cs | src/Exceptional.Core/ExceptionSummary.cs | using System;
using System.Globalization;
using System.Linq;
using Newtonsoft.Json;
namespace Exceptional.Core
{
public class ExceptionSummary
{
[JsonProperty(PropertyName = "occurred_at")]
public string OccurredAt { get; set; }
[JsonProperty(PropertyName = "message")]
... | using System;
using System.Linq;
using Newtonsoft.Json;
namespace Exceptional.Core
{
public class ExceptionSummary
{
[JsonProperty(PropertyName = "occurred_at")]
public DateTime OccurredAt { get; set; }
[JsonProperty(PropertyName = "message")]
public string Message ... | apache-2.0 | C# |
32e4f1cbf14550c59c95ec402255f11851089bc3 | Fix incorrect AssemblyInformationalVersion. | dlemstra/OmniKassa | src/OmniKassa/Properties/AssemblyInfo.cs | src/OmniKassa/Properties/AssemblyInfo.cs | // Copyright 2017 Dirk Lemstra (https://github.com/dlemstra/OmniKassa).
// Licensed under the MIT License.
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyDescription("C# API for OmniKassa")]
[assembly: AssemblyCompany("Dirk Lemstra")]
[assembly: AssemblyConfiguration("Debug")]
[as... | // Copyright 2017 Dirk Lemstra (https://github.com/dlemstra/OmniKassa).
// Licensed under the MIT License.
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyDescription("C# API for OmniKassa")]
[assembly: AssemblyCompany("Dirk Lemstra")]
[assembly: AssemblyConfiguration("Debug")]
[as... | mit | C# |
2ceee43d9430309c2e63206947483c4391cc8e0d | fix syntax error from PR | IdentityModel/IdentityModel,IdentityModel/IdentityModel | src/Jwk/JsonWebKeySet.cs | src/Jwk/JsonWebKeySet.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... | apache-2.0 | C# |
b567cfb6106e2f48f552057e0e21c06d24c27bd5 | Verify should accept a guid activationKey | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | SnittListan.Test/RoutesTest.cs | SnittListan.Test/RoutesTest.cs | using System;
using System.Web.Routing;
using MvcContrib.TestHelper;
using SnittListan.Controllers;
using Xunit;
using System.Web.Mvc;
namespace SnittListan.Test
{
public class RoutesTest : IDisposable
{
public RoutesTest()
{
new RouteConfigurator(RouteTable.Routes).Configure();
}
public... | using System;
using System.Web.Routing;
using MvcContrib.TestHelper;
using SnittListan.Controllers;
using Xunit;
namespace SnittListan.Test
{
public class RoutesTest : IDisposable
{
public RoutesTest()
{
new RouteConfigurator(RouteTable.Routes).Configure();
}
public void Dispose()
{
... | mit | C# |
1235d2192601b02dfa55076f35e5163059512a79 | Update Expertise.cs | datanets/kask-kiosk,datanets/kask-kiosk | Models/Expertise.cs | Models/Expertise.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class Expertise
{
public int Applicant_ID { get; set; }
public int Skill_ID { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class Expertise
{
public int applicant_ID { get; set; }
public int skill_ID { get; set; }
}
} | mit | C# |
0ae28f2acff7b98c98cc85631643265159df5f0e | Remove override methods from Interactive Element Inspector | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Editor/Inspectors/UX/InteractiveElement/InteractiveElementInspector.cs | Assets/MRTK/SDK/Editor/Inspectors/UX/InteractiveElement/InteractiveElementInspector.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License
using Microsoft.MixedReality.Toolkit.UI.Interaction;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Editor
{
/// <summary>
/// Custom inspector for an InteractiveElement.
/// </summary>
[CustomEditor(typeof(Interac... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License
using Microsoft.MixedReality.Toolkit.UI.Interaction;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Editor
{
/// <summary>
/// Custom inspector for an InteractiveElement.
/// </summary>
[CustomEditor(typeof(Interac... | mit | C# |
b4b869a42902431f40766ec0ed276cf2c2db6b18 | Fix after event were renamed | SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia | samples/ControlCatalog/Pages/PointersPage.xaml.cs | samples/ControlCatalog/Pages/PointersPage.xaml.cs | using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
namespace ControlCatalog.Pages;
public class PointersPage : UserControl
{
public PointersPage()
{
this.InitializeComponent();
var border1 = this.Get<Border>("... | using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
namespace ControlCatalog.Pages;
public class PointersPage : UserControl
{
public PointersPage()
{
this.InitializeComponent();
var border1 = this.Get<Border>("... | mit | C# |
b7c6768af7c4461eef65fbc90483ecf50b3c9f28 | Update Delete.cshtml | Franklin89/Blog,Franklin89/Blog | src/MLSoftware.Web/Views/Post/Delete.cshtml | src/MLSoftware.Web/Views/Post/Delete.cshtml | @model MLSoftware.Web.ViewModels.PostViewModel
<ol class="breadcrumb">
<li><a asp-controller="Home" asp-action="Index">Home</a></li>
@if (Model.IsDraft)
{
<li><a asp-controller="Draft" asp-action="Index">Drafts</a></li>
}
<li class="active">@Model.Title</li>
</ol>
<div class="row">
<d... | @model MLSoftware.Web.ViewModels.PostViewModel
<ol class="breadcrumb">
<li><a asp-controller="Home" asp-action="Index">Home</a></li>
@if (Model.IsDraft)
{
<li><a asp-controller="Draft" asp-action="Index">Drafts</a></li>
}
<li class="active">@Model.Title</li>
</ol>
<div class="row">
<d... | mit | C# |
7f8cc2ba88eb3ba758285f15ada221708d55f5ce | Update HoldsValue property in MultiSchema.cs | EdonGashi/WpfMaterialForms | src/MaterialForms/DataSchema/MultiSchema.cs | src/MaterialForms/DataSchema/MultiSchema.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
using MaterialForms.Controls;
namespace MaterialForms
{
/// <summary>
/// Allows adding multiple schemas within the same row.
/// </summary>
public class MultiSchema : SchemaBase
{
public Mult... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
using MaterialForms.Controls;
namespace MaterialForms
{
/// <summary>
/// Allows adding multiple schemas within the same row.
/// </summary>
public class MultiSchema : SchemaBase
{
public Mult... | mit | C# |
fb4c950e8af57189278aad9f3cc8185fb22ec92a | Add key binding set to loop i/o params | reubeno/NClap | src/NClap/Repl/LoopInputOutputParameters.cs | src/NClap/Repl/LoopInputOutputParameters.cs | using System.IO;
using NClap.ConsoleInput;
using NClap.Utilities;
namespace NClap.Repl
{
/// <summary>
/// Parameters for constructing a loop with advanced line input. The
/// parameters indicate how the loop's textual input and output should
/// be implemented.
/// </summary>
public class Lo... | using System.IO;
using NClap.ConsoleInput;
using NClap.Utilities;
namespace NClap.Repl
{
/// <summary>
/// Parameters for constructing a loop with advanced line input. The
/// parameters indicate how the loop's textual input and output should
/// be implemented.
/// </summary>
public class Lo... | mit | C# |
13e66d39182d57f86644e09501a3e606814fef26 | use NRT | sharwell/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,dotnet/roslyn,diryboy/roslyn,weltkante/roslyn,wvdd007/... | src/Features/Core/Portable/ConvertLinq/ConvertForEachToLinqQuery/ExtendedSyntaxNode.cs | src/Features/Core/Portable/ConvertLinq/ConvertForEachToLinqQuery/ExtendedSyntaxNode.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Shared.Extension... | // 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.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalys... | mit | C# |
64cd1c6545d5e463fc07d688daaa715f5b46f595 | Fix build of test case | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla51642.xaml.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla51642.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 5... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 5... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.