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 |
|---|---|---|---|---|---|---|---|---|
2be4648650aad1ce171adc0915b6ce8ec7d690cb | Fix Top_level_projection_track_entities_before_passing_to_client_method | azabluda/InfoCarrier.Core | test/InfoCarrier.Core.FunctionalTests/InMemory/LazyLoadProxyInfoCarrierTest.cs | test/InfoCarrier.Core.FunctionalTests/InMemory/LazyLoadProxyInfoCarrierTest.cs | // Copyright (c) on/off it-solutions gmbh. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
namespace InfoCarrier.Core.FunctionalTests.InMemory
{
using System.Linq;
using InfoCarrier.Core.FunctionalTests.TestUtilities;
using Microsof... | // Copyright (c) on/off it-solutions gmbh. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
namespace InfoCarrier.Core.FunctionalTests.InMemory
{
using InfoCarrier.Core.FunctionalTests.TestUtilities;
using Microsoft.EntityFrameworkCore;
... | mit | C# |
02a1e50443b1254aaa00b603e152b7c9df61522f | make read-only service method no track | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/Services/FilterListService.cs | src/FilterLists.Services/Services/FilterListService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using FilterLists.Data.Entities;
using FilterLists.Services.Models;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Services
{
public class FilterListService
{
... | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using FilterLists.Data;
using FilterLists.Data.Entities;
using FilterLists.Services.Models;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Services.Services
{
public class FilterListService
{
... | mit | C# |
90450a56a6551dee92da0b1d2c9ad7ee1e0d0287 | Add Privacy Policy content | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Views/PrivacyPolicy/Index.cshtml | src/LondonTravel.Site/Views/PrivacyPolicy/Index.cshtml | @{
ViewBag.MetaDescription = SR.PrivacyPolicyMetaDescription;
ViewBag.Title = SR.PrivacyPolicyMetaTitle;
}
<div>
<h1>@SR.PrivacyPolicyTitle</h1>
<p>
Your privacy is important to us.
</p>
<p>
It is London Travel's policy to respect your privacy regarding any information we may co... | @{
ViewBag.MetaDescription = SR.PrivacyPolicyMetaDescription;
ViewBag.Title = SR.PrivacyPolicyMetaTitle;
}
<div>
<h1>@SR.PrivacyPolicyTitle</h1>
<p>
@* TODO Add content *@
This is where the Privacy Policy for the London Travel Alexa skill will be.
</p>
</div>
| apache-2.0 | C# |
edfe6ea6a4ccaaf3f4cba1b7f88f28705318ddbc | Add XmlnsPrefix | MahApps/MahApps.Metro.IconPacks | src/MahApps.Metro.IconPacks/Properties/AssemblyInfo.cs | src/MahApps.Metro.IconPacks/Properties/AssemblyInfo.cs | using System.Runtime.InteropServices;
#if !(NETFX_CORE || WINDOWS_UWP)
using System.Windows;
using System.Windows.Markup;
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
[assembly: XmlnsPrefix(@"http://metro.mahapps.com/winfx/xaml/iconpacks", "iconpacks")]
[assembly: ... | using System.Runtime.InteropServices;
#if !(NETFX_CORE || WINDOWS_UWP)
using System.Windows;
using System.Windows.Markup;
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
[assembly: XmlnsDefinition("http://metro.mahapps.com/winfx/xaml/iconpacks", "MahApps.Metro.IconPac... | mit | C# |
55b38430b433320bbb9fc0f425ddc8589fc34a77 | Fix /Puzzle/Mixed | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/Utilities.cs | src/ChessVariantsTraining/Utilities.cs | using System;
namespace ChessVariantsTraining
{
public static class Utilities
{
public static string SanitizeHtml(string unsafeHtml)
{
return unsafeHtml.Replace("&", "&")
.Replace("<", "<")
.Replace(">", ">")
... | using System;
namespace ChessVariantsTraining
{
public static class Utilities
{
public static string SanitizeHtml(string unsafeHtml)
{
return unsafeHtml.Replace("&", "&")
.Replace("<", "<")
.Replace(">", ">")
... | agpl-3.0 | C# |
02b75232c544d7d41144556f33c2426bd6779a33 | Update MainWindow.xaml.cs | Virusface/Cauldron,Capgemini/Cauldron,reflection-emit/Cauldron | Samples/Win32_WPF_ParameterPassing/MainWindow.xaml.cs | Samples/Win32_WPF_ParameterPassing/MainWindow.xaml.cs | using Cauldron.Core.Reflection;
using Cauldron;
using System.Diagnostics;
using System.Windows;
namespace Win32_WPF_ParameterPassing
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
// This is only meant for Lazy people
... | using Cauldron.Core.Reflection;
using Cauldron;
using System.Diagnostics;
using System.Windows;
namespace Win32_WPF_ParameterPassing
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
// This is online meant for Lazy people
... | mit | C# |
ce2189cf170f651fea7cd3a99b88c081cc0f6b4e | add description to assembly info. | T-Alex/Common | TAlex.Common.Configuration/Properties/AssemblyInfo.cs | TAlex.Common.Configuration/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("TA... | 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("TA... | mit | C# |
fbac74faf1730ceeddad1a5820d6d3405dd5de0c | Change version to 3.5.1 | WaltChen/NDatabase,WaltChen/NDatabase | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System;
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.
[ass... | using System;
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.
[ass... | apache-2.0 | C# |
27a2ae5742e51adad73db9166a27b076785b25aa | Make recompense | agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro | api/Deq.Search.Soe/Configuration/UserConfiguration.cs | api/Deq.Search.Soe/Configuration/UserConfiguration.cs | using Deq.Search.Soe.Extensions;
using Deq.Search.Soe.Infastructure;
using Deq.Search.Soe.Models.Configuration;
using ESRI.ArcGIS.esriSystem;
namespace Deq.Search.Soe.Configuration {
#region License
//
// Copyright (C) 2012 AGRC
// Permission is hereby granted, free of charge, to any person obtainin... | using Deq.Search.Soe.Extensions;
using Deq.Search.Soe.Infastructure;
using Deq.Search.Soe.Models.Configuration;
using ESRI.ArcGIS.esriSystem;
namespace Deq.Search.Soe.Configuration {
#region License
//
// Copyright (C) 2012 AGRC
// Permission is hereby granted, free of charge, to any person obtainin... | mit | C# |
83c00bcae17a26b1e29f0ae3bd70b72516057d6a | write warnings to a file, not stdout | edyoung/prequel | GenerateDocs/Program.cs | GenerateDocs/Program.cs | using Prequel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenerateDocs
{
/// <summary>
/// Output markdown text for info about the program's options, to keep docs in sync with code
/// </summary>
class ... | using Prequel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenerateDocs
{
/// <summary>
/// Output markdown text for info about the program's options, to keep docs in sync with code
/// </summary>
class Program
{
... | mit | C# |
2586453ab97a422fb06ffbab1cd7aa8a95134aae | Update the sample project a little to match the newer API. | mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-... | sample/mango-project/MangoProject.cs | sample/mango-project/MangoProject.cs |
using Mango;
using Mango.Templates.Minge;
namespace MangoProject {
//
// A mango application is made of MangoModules and MangoApps
// There really isn't any difference between a Module and an App
// except that the server will load the MangoApp first. A mango
// application can only have one MangoApp, but as m... |
using Mango;
using Mango.Templates.Minge;
namespace MangoProject {
//
// A mango application is made of MangoModules and MangoApps
// There really isn't any difference between a Module and an App
// except that the server will load the MangoApp first. A mango
// application can only have one MangoApp, but as m... | mit | C# |
8f491662d14e1113e2fef7181fd2ef083da83b3a | Update Index.cshtml | IBM-Bluemix/asp.net5-helloworld,IBM-Bluemix/asp.net5-helloworld | src/dotnetHelloWorld/Views/Home/Index.cshtml | src/dotnetHelloWorld/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Hello World!";
}
<div class="container">
<h1>Welcome.</h1>
<div id="nameInput" class="input-group-lg center-block helloInput">
<p class="lead">What is your name?</p>
<input id="user_name" type="text" class="form-control" placeholder="name" aria-describedby="sizing-a... | @{
ViewData["Title"] = "Hello World!";
}
<div class="container">
<h1>Welcome.</h1>
<div id="nameInput" class="input-group-lg center-block helloInput">
<p class="lead">What is your name?</p>
<input id="user_name" type="text" class="form-control" placeholder="name" aria-describedby="sizing-a... | apache-2.0 | C# |
7f5771efb63954b3603f7460c91e9d0fff870eeb | Remove unneccesary consume call | northspb/RawRabbit,pardahlman/RawRabbit | src/RawRabbit/Operations/Subscriber.cs | src/RawRabbit/Operations/Subscriber.cs | using System;
using System.Threading.Tasks;
using RawRabbit.Common;
using RawRabbit.Configuration.Subscribe;
using RawRabbit.Consumer.Contract;
using RawRabbit.Context;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.Operations.Contracts;
using RawRabbit.Serialization;
namespace RawRabbit.O... | using System;
using System.Threading.Tasks;
using RawRabbit.Common;
using RawRabbit.Configuration.Subscribe;
using RawRabbit.Consumer.Contract;
using RawRabbit.Context;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.Operations.Contracts;
using RawRabbit.Serialization;
namespace RawRabbit.O... | mit | C# |
420b4b2fe006285032448e7c065f1b68727063c5 | Increment to RC6 | kamsar/Unicorn,MacDennis76/Unicorn,PetersonDave/Unicorn,bllue78/Unicorn,GuitarRich/Unicorn,MacDennis76/Unicorn,PetersonDave/Unicorn,bllue78/Unicorn,rmwatson5/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn | src/Unicorn/Properties/AssemblyInfo.cs | src/Unicorn/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("Unicorn")]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Unicorn")]
[assembly: AssemblyDescription... | mit | C# |
77bac0cbf5a538bd46db9055bfcecd033eaeeef8 | Update NewPost.cshtml | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Admin/NewPost.cshtml | src/WebSite/Views/Admin/NewPost.cshtml | @model Core.ViewModels.PublicationViewModel
@{
ViewData["Title"] = "Add new publication";
}
<h1>@ViewData["Title"]</h1>
<form>
<div class="form-group">
<label for="link">Link</label>
<input type="url" class="form-control" id="link" placeholder="Link">
</div>
<div class="form-group">
... | @model Core.ViewModels.PublicationViewModel
@{
ViewData["Title"] = "Add new publication";
}
<h1>@ViewData["Title"]</h1>
<form>
<div class="form-group">
<label for="link">Link</label>
<input type="url" class="form-control" id="link" placeholder="Link">
</div>
<div class="form-group">
... | mit | C# |
f37da538ac7ee42a709c302454192b23a7f01504 | fix endpoint for create | MasterDevs/ChromeDevTools | source/ChromeDevTools/RemoteChromeProcess.cs | source/ChromeDevTools/RemoteChromeProcess.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace MasterDevs.ChromeDevTools
{
public class RemoteChromeProcess : IChromeProcess
{
private readonly HttpClient http;
public RemoteChromeProcess(string remoteDebuggingUri)
: this(new Ur... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace MasterDevs.ChromeDevTools
{
public class RemoteChromeProcess : IChromeProcess
{
private readonly HttpClient http;
public RemoteChromeProcess(string remoteDebuggingUri)
: this(new Ur... | mit | C# |
1374409b29b5b5ffd630398ba3675e01cc5b3cea | Update AlphaStreamsSlippageModel.cs | QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,JKarathiya/Lean,QuantConnect/Lean,QuantConnect/Lean,jameschch/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,JKarathiya/Lean,jameschch/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean... | Common/Orders/Slippage/AlphaStreamsSlippageModel.cs | Common/Orders/Slippage/AlphaStreamsSlippageModel.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | apache-2.0 | C# |
65e687e06a0c838591f633e0a9ee006dd90e3cec | Simplify ClassReport by defering to an ExecutionSummary for tallies. | fixie/fixie | src/Fixie.Execution/Listeners/ClassReport.cs | src/Fixie.Execution/Listeners/ClassReport.cs | namespace Fixie.Execution.Listeners
{
using System;
using System.Collections.Generic;
public class ClassReport
{
readonly List<CaseCompleted> cases;
readonly ExecutionSummary summary;
public ClassReport(string name)
{
cases = new List<CaseCompleted>();
... | namespace Fixie.Execution.Listeners
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ClassReport
{
readonly List<CaseCompleted> cases;
public ClassReport(string name)
{
cases = new List<CaseCompleted>();
Name = name;
... | mit | C# |
1ef498c6f4639c7a2e949b657356b535016fa2f7 | Fix AssemblyVersion | dmitry-shechtman/AsyncInit | AsyncInit.Unity/Portable/Properties/AssemblyInfo.cs | AsyncInit.Unity/Portable/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ditto.AsyncInit.Unity")]
[assembly: AssemblyDescription("Unity Container Async Extensions")]
[assembly: AssemblyVersion("1.5.0.*")]
[assembly: ComVisible(false)]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ditto.AsyncInit.Unity")]
[assembly: AssemblyDescription("Unity Container Async Extensions")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
| apache-2.0 | C# |
a9e47dca09003b0d1ec16820b51600a641251187 | Fix mouse double click (works now also for ListViewItem) | gep13/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,digital-carver/ChocolateyGUI,chocolatey/ChocolateyGUI,gep13/ChocolateyGUI,chocolatey/ChocolateyGUI,chocolatey/ChocolateyGUI | Source/ChocolateyGui/Views/RemoteSourceView.xaml.cs | Source/ChocolateyGui/Views/RemoteSourceView.xaml.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright company="Chocolatey" file="RemoteSourceView.xaml.cs">
// Copyright 2014 - Present Rob Reynolds, the maintainers of Chocolatey, and RealDimensions Software, LLC
// </copyright>
// ----... | // --------------------------------------------------------------------------------------------------------------------
// <copyright company="Chocolatey" file="RemoteSourceView.xaml.cs">
// Copyright 2014 - Present Rob Reynolds, the maintainers of Chocolatey, and RealDimensions Software, LLC
// </copyright>
// ----... | apache-2.0 | C# |
f0337d6c8914b85ce25b6ff4ef4a170cf37b43db | Use "." instead of ":" in env var key. | paritoshmmmec/NEventStore,jamiegaines/NEventStore,chris-evans/NEventStore,marcoaoteixeira/NEventStore,gael-ltd/NEventStore,AGiorgetti/NEventStore,D3-LucaPiombino/NEventStore,NEventStore/NEventStore,adamfur/NEventStore,nerdamigo/NEventStore,deltatre-webplu/NEventStore | src/tests/EventStore.Persistence.AcceptanceTests/EnviromentConnectionFactory.cs | src/tests/EventStore.Persistence.AcceptanceTests/EnviromentConnectionFactory.cs | namespace EventStore.Persistence.AcceptanceTests
{
using System;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using SqlPersistence;
public class EnviromentConnectionFactory : IConnectionFactory
{
private readonly string providerInvariantName;
privat... | namespace EventStore.Persistence.AcceptanceTests
{
using System;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using SqlPersistence;
public class EnviromentConnectionFactory : IConnectionFactory
{
private readonly string providerInvariantName;
privat... | mit | C# |
3afcbcc204e0babca6398ab2bb67a8c2631892a6 | Update SMSTodayAMController.cs | dkitchen/bpcc,dkitchen/bpcc | src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs | src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs | using BPCCScheduler.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Twilio;
namespace BPCCScheduler.Controllers
{
public class SMSTodayAMController : SMSApiController
{
//public IEnumerable<SMSMessage> Get... | using BPCCScheduler.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Twilio;
namespace BPCCScheduler.Controllers
{
public class SMSTodayAMController : SMSApiController
{
//public IEnumerable<SMSMessage> Get... | mit | C# |
48adcd43aa1e86d2e2e8aeb6885c0f3710124071 | Handle Char and DateTime correctly | bluefalcon/fluentmigrator,mstancombe/fluentmigrator,FabioNascimento/fluentmigrator,istaheev/fluentmigrator,wolfascu/fluentmigrator,DefiSolutions/fluentmigrator,KaraokeStu/fluentmigrator,spaccabit/fluentmigrator,mstancombe/fluentmig,fluentmigrator/fluentmigrator,swalters/fluentmigrator,daniellee/fluentmigrator,fluentmig... | src/FluentMigrator.Runner/Generators/ConstantFormatter.cs | src/FluentMigrator.Runner/Generators/ConstantFormatter.cs | using System;
namespace FluentMigrator.Runner.Generators
{
public class ConstantFormatter : IConstantFormatter
{
public string Format(object value)
{
if (value == null)
{
return "null";
}
string stringValue = value as string;
if (stringValue != null)
{
return "'" + stringValue.Replace... | using System;
namespace FluentMigrator.Runner.Generators
{
class ConstantFormatter : IConstantFormatter
{
public string Format(object value)
{
if (value == null)
{
return "null";
}
string stringValue = value as string;
if (stringValue != null)
{
return "'" + stringValue.Replace("'", "... | apache-2.0 | C# |
53f263b58dd7f0afb27f7cdabf4b5ff9c72b03f5 | Update FluidityListViewFieldConfig.cs | mattbrailsford/umbraco-fluidity,mattbrailsford/umbraco-fluidity,mattbrailsford/umbraco-fluidity | src/Fluidity/Configuration/FluidityListViewFieldConfig.cs | src/Fluidity/Configuration/FluidityListViewFieldConfig.cs | // <copyright file="FluidityListViewFieldConfig.cs" company="Matt Brailsford">
// Copyright (c) 2017 Matt Brailsford and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
using System;
using System.Linq.Expressions;
namespace Fluidity.Configuration
{
/// <summary>
/// Un typed ... | // <copyright file="FluidityListViewFieldConfig.cs" company="Matt Brailsford">
// Copyright (c) 2017 Matt Brailsford and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
using System;
using System.Linq.Expressions;
namespace Fluidity.Configuration
{
/// <summary>
/// Un typed ... | apache-2.0 | C# |
fdf3d179a0298b0737af069a3abed7be39d281ac | Correct SetUpAttribute xmldoc | appel1/nunit,nunit/nunit,mikkelbu/nunit,JustinRChou/nunit,jadarnel27/nunit,jadarnel27/nunit,agray/nunit,nunit/nunit,OmicronPersei/nunit,mjedrzejek/nunit,jnm2/nunit,agray/nunit,ggeurts/nunit,appel1/nunit,agray/nunit,mikkelbu/nunit,ggeurts/nunit,NikolayPianikov/nunit,jnm2/nunit,OmicronPersei/nunit,NikolayPianikov/nunit,m... | src/NUnitFramework/framework/Attributes/SetUpAttribute.cs | src/NUnitFramework/framework/Attributes/SetUpAttribute.cs | // ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | // ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | mit | C# |
01227a75d3f820805a29a292c2f397e0bd9a5357 | Fix xmldoc references. | RedNesto/osu-framework,smoogipooo/osu-framework,default0/osu-framework,RedNesto/osu-framework,ZLima12/osu-framework,naoey/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,paparony0... | osu.Framework/Graphics/Containers/AsyncLoadContainer.cs | osu.Framework/Graphics/Containers/AsyncLoadContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Threading.Tasks;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Threading.Tasks;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// ... | mit | C# |
1f7ec13f22fdca91fba6e97db39d6fc9a0e30486 | fix https://nuget.codeplex.com/workitem/3460 "NullReferenceException if requireApiKey = true, but the header X-NUGET-APIKEY isn't present" | indsoft/NuGet2,oliver-feng/nuget,mrward/NuGet.V2,indsoft/NuGet2,jholovacs/NuGet,jholovacs/NuGet,RichiCoder1/nuget-chocolatey,mrward/NuGet.V2,antiufo/NuGet2,OneGet/nuget,pratikkagda/nuget,mono/nuget,mono/nuget,oliver-feng/nuget,mrward/nuget,RichiCoder1/nuget-chocolatey,GearedToWar/NuGet2,GearedToWar/NuGet2,OneGet/nuget,... | src/Server/Infrastructure/PackageAuthenticationService.cs | src/Server/Infrastructure/PackageAuthenticationService.cs | using System;
using System.Collections.Specialized;
using System.Security.Principal;
using System.Web.Configuration;
namespace NuGet.Server.Infrastructure
{
public class PackageAuthenticationService : IPackageAuthenticationService
{
public bool IsAuthenticated(IPrincipal user, string apiKey, ... | using System;
using System.Collections.Specialized;
using System.Security.Principal;
using System.Web.Configuration;
namespace NuGet.Server.Infrastructure
{
public class PackageAuthenticationService : IPackageAuthenticationService
{
public bool IsAuthenticated(IPrincipal user, string apiKey, ... | apache-2.0 | C# |
6fc692c0cb13f4f2762141bf131bb3fa4552a4c9 | Add missing .dtd file contents. | parjong/corefx,jlin177/corefx,nchikanov/corefx,stephenmichaelf/corefx,jlin177/corefx,fgreinacher/corefx,krytarowski/corefx,krk/corefx,Ermiar/corefx,mmitche/corefx,richlander/corefx,jlin177/corefx,Ermiar/corefx,mmitche/corefx,YoupHulsebos/corefx,rubo/corefx,ravimeda/corefx,zhenlan/corefx,the-dwyer/corefx,twsouthwick/cor... | src/System.Security.Cryptography.Xml/tests/TestHelpers.cs | src/System.Security.Cryptography.Xml/tests/TestHelpers.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.IO;
namespace System.Security.Cryptography.Xml.Tests
{
internal static class TestHelpers
{
... | // 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.IO;
namespace System.Security.Cryptography.Xml.Tests
{
internal static class TestHelpers
{
... | mit | C# |
ac547b06ad4c5ae9d402aa85062a498095f4dacf | add test for serializing and deserializing 'null' string | bjornicus/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet | test/Confluent.Kafka.UnitTests/Serialization/String.cs | test/Confluent.Kafka.UnitTests/Serialization/String.cs | // Copyright 2016-2017 Confluent 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... | // Copyright 2016-2017 Confluent 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... | apache-2.0 | C# |
de95de8c5267af3e12d331142f6226ba5cec3df2 | Add default values to options | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi | Okanshi.InfluxDBObserver/InfluxDbObserverOptions.cs | Okanshi.InfluxDBObserver/InfluxDbObserverOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Okanshi.Observers {
public class InfluxDbObserverOptions {
public string DatabaseName { get; }
public string RetentionPolicy { get; set; }
public Func<Tag, bool> TagToFieldSelector { get; set; } = x => false;
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Okanshi.Observers {
public class InfluxDbObserverOptions {
public string DatabaseName { get; }
public string RetentionPolicy { get; set; }
public Func<Tag, bool> TagToFieldSelector { get; set; }
... | mit | C# |
d92edc8d62b5bc1e82764a2abcbac1030ded90e6 | Replace string with nameof | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Logging/LogArea.cs | src/Avalonia.Base/Logging/LogArea.cs | namespace Avalonia.Logging
{
/// <summary>
/// Specifies the area in which a log event occurred.
/// </summary>
public static class LogArea
{
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = nameof(Property)... | namespace Avalonia.Logging
{
/// <summary>
/// Specifies the area in which a log event occurred.
/// </summary>
public static class LogArea
{
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = "Property";
... | mit | C# |
821ba2830aaece371c5fcc3b3868d6d2fd0330f5 | implement Call, SMS and unshare | atabaksahraei/ifn661 | healthbook/healthbook/View/PatientShareView.xaml.cs | healthbook/healthbook/View/PatientShareView.xaml.cs | using Xamarin.Forms;
using healthbook.ViewModel;
using xBeacons;
using System;
using healthbook.Model.BL;
using System.Text;
using ImageCircle.Forms.Plugin.iOS;
using System.Collections.Generic;
using System.Linq;
namespace healthbook
{
public partial class PatientShareView : ContentPage
{
#region const
publi... | using Xamarin.Forms;
using healthbook.ViewModel;
using xBeacons;
using System;
using healthbook.Model.BL;
using System.Text;
using ImageCircle.Forms.Plugin.iOS;
using System.Collections.Generic;
using System.Linq;
namespace healthbook
{
public partial class PatientShareView : ContentPage
{
#region const
publi... | mit | C# |
d7f21d03bad081f75308e450f0628467bc5324b3 | Allow chaining of ignored members | derekgreer/expectedObjects | src/ExpectedObjects/ConfigurationContextExtensions.cs | src/ExpectedObjects/ConfigurationContextExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ExpectedObjects.Strategies;
namespace ExpectedObjects
{
public static class ConfigurationContextExtensions
{
internal static IConfigurationContext UseAllStrategies(this IConfigurationContext configurationContext)
... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ExpectedObjects.Strategies;
namespace ExpectedObjects
{
public static class ConfigurationContextExtensions
{
internal static IConfigurationContext UseAllStrategies(this IConfigurationContext configurationContext)
... | mit | C# |
25c3959810078ff3600fcf55621aa0f0cf2107de | add a hello world sample | oneminot/iTextSharpSample | iTextSharpSample/iTextSharpSample.Console/Program.cs | iTextSharpSample/iTextSharpSample.Console/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using iTextSharp.text;
namespace iTextSharpSample.Console
{
class Program
{
static void Main(string[] args)
{
var myDocument = new iTextSharp.text.Do... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iTextSharpSample.Console
{
class Program
{
static void Main(string[] args)
{
}
}
}
| agpl-3.0 | C# |
f56802e8ac323127968d709ce581cee6012135d4 | Update JsonReflectionUtilities.cs | RSuter/NJsonSchema,NJsonSchema/NJsonSchema | src/NJsonSchema/Generation/JsonReflectionUtilities.cs | src/NJsonSchema/Generation/JsonReflectionUtilities.cs | //-----------------------------------------------------------------------
// <copyright file="JsonReflectionUtilities.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico Suter... | //-----------------------------------------------------------------------
// <copyright file="JsonReflectionUtilities.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico Suter... | mit | C# |
a1c406ca947947645917d6990e7079f63436f581 | Update ValidationAttribute.cs | WebApiContrib/WebAPIContrib.Core,WebApiContrib/WebAPIContrib.Core | src/WebApiContrib.Core/Filters/ValidationAttribute.cs | src/WebApiContrib.Core/Filters/ValidationAttribute.cs | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Collections.Generic;
namespace WebApiContrib.Core.Filters
{
public class ValidationAttribute : ActionFilterAttribute
{
public bool AllowNulls { get; set; }
public override void OnActionExec... | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Collections.Generic;
namespace WebApiContrib.Core.Filters
{
public class ValidationAttribute : ActionFilterAttribute
{
public bool AllowNull { get; set; }
public override void OnActionExecu... | mit | C# |
abc2da739692e82a84a7d086464bee96a7d7597d | Test method removed | drussilla/LearnWordsFast,drussilla/LearnWordsFast | src/LearnWordsFast/ApiControllers/UserController.cs | src/LearnWordsFast/ApiControllers/UserController.cs | using System.Threading.Tasks;
using LearnWordsFast.DAL.Models;
using LearnWordsFast.ViewModels;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
namespace LearnWordsFast.ApiControllers
{
[Route("api/user")]
public class UserController : ApiController
{
... | using System.Threading.Tasks;
using LearnWordsFast.DAL.Models;
using LearnWordsFast.ViewModels;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
namespace LearnWordsFast.ApiControllers
{
[Route("api/user")]
public class UserController : ApiController
{
... | mit | C# |
13add0c355eb4b06a9a97c5f55f13a23a65f25e7 | Update the ViewModel we return as JSON to the Upgrade Installer Step - Has logic for checking latest logic (Needs bullet proof testing & discussion most likely) | lars-erik/Umbraco-CMS,tompipe/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,NikRimington/Umbraco-CMS,gavinfaux/Umbraco-CMS,kgiszewski/Umbraco-CMS,romanlytvyn/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,romanlytvyn/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,hfloyd/Umbraco-C... | src/Umbraco.Web/Install/InstallSteps/UpgradeStep.cs | src/Umbraco.Web/Install/InstallSteps/UpgradeStep.cs | using Semver;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Web.Install.Models;
namespace Umbraco.Web.Install.InstallSteps
{
/// <summary>
/// This step is purely here to show the button to commence the upgrade
/// </summary>
[InstallSetupStep(InstallationType.Upgrade,
"Up... | using Umbraco.Web.Install.Models;
namespace Umbraco.Web.Install.InstallSteps
{
/// <summary>
/// This step is purely here to show the button to commence the upgrade
/// </summary>
[InstallSetupStep(InstallationType.Upgrade,
"Upgrade", "upgrade", 1, "Upgrading Umbraco to the latest and greatest ... | mit | C# |
b3be4015e1dd30ce275e86b15638c8b4a381125d | Add calibrate command to the factory to be able to be parsed | admoexperience/admo-kinect,admoexperience/admo-kinect | classes/lib/CommandFactory.cs | classes/lib/CommandFactory.cs | using System;
using System.Collections.Generic;
using Admo.classes.lib.commands;
using NLog;
using Newtonsoft.Json;
namespace Admo.classes.lib
{
class CommandFactory
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly Dictionary<string, Type> ... | using System;
using System.Collections.Generic;
using Admo.classes.lib.commands;
using NLog;
using Newtonsoft.Json;
namespace Admo.classes.lib
{
class CommandFactory
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly Dictionary<string, Type> ... | mit | C# |
e030266e9575f3d24be45cc8fc3b61d88a32b182 | Fix test name | NeoAdonis/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,peppy/osu | osu.Game.Tests/Online/TestSceneBeatmapDownloading.cs | osu.Game.Tests/Online/TestSceneBeatmapDownloading.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.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Overlays.Notifications;
using osu.Game.Tests.V... | // 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.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Overlays.Notifications;
using osu.Game.Tests.V... | mit | C# |
f1238c18ab385cc9923e4644a30927336529ec1b | Fix typo | OdeToCode/AddFeatureFolders | src/OdeToCode.AddFeatureFolders/FeatureFolderOptions.cs | src/OdeToCode.AddFeatureFolders/FeatureFolderOptions.cs | using System;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
namespace OdeToCode.AddFeatureFolders
{
/// <summary>
/// Options to control the behavior of feature folders
/// </summary>
public class FeatureFolderOptions
{
public FeatureFolderOptions()
{
FeatureFolderN... | using System;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
namespace OdeToCode.AddFeatureFolders
{
/// <summary>
/// Options to control the behavior of feature folders
/// </summary>
public class FeatureFolderOptions
{
public FeatureFolderOptions()
{
FeatureFolderN... | mit | C# |
f7d0ed8a49122b39b4111dbbbcef9c1ec7f7bcf4 | Fix typo. | ogaudefroy/AspNetRoutingFeatureToggle | AspNetRoutingFeatureToggle/FeatureToggleRouteHandler.cs | AspNetRoutingFeatureToggle/FeatureToggleRouteHandler.cs | namespace AspNetRoutingFeatureToggle
{
using System;
using System.Web;
using System.Web.Routing;
/// <summary>
/// A custom route handler implementing A/B testing with route handling.
/// </summary>
public class FeatureToggleRouteHandler : IRouteHandler
{
private rea... | namespace AspNetRoutingFeatureToggle
{
using System;
using System.Web;
using System.Web.Routing;
/// <summary>
/// A custom route handler implementing A/B testing with route handling.
/// </summary>
public class FeatureToggleRouteHandler : IRouteHandler
{
private rea... | mit | C# |
0d481e4cdd11f541b515c45a17cbb14dad68183e | add implementation for WindowsPhone 8.0 | B1naryStudio/Xamarin.Badge | Badge/Badge.Plugin.WindowsPhone8/BadgeImplementation.cs | Badge/Badge.Plugin.WindowsPhone8/BadgeImplementation.cs | using System.Linq;
using Badge.Plugin.Abstractions;
using Microsoft.Phone.Shell;
namespace Badge.Plugin
{
/// <summary>
/// Implementation for Badge
/// </summary>
public class BadgeImplementation : IBadge
{
public void ClearBadge()
{
SetBadge(0);
}
public void SetBadge(int... | using Badge.Plugin.Abstractions;
using System;
namespace Badge.Plugin
{
/// <summary>
/// Implementation for Badge
/// </summary>
public class BadgeImplementation : IBadge
{
public void ClearBadge()
{
throw new NotImplementedException();
}
public void SetBadge(int badgeNum... | mit | C# |
d6b9462452bdb7b02a7c91471a185b3fa0016fea | Update XPathGeometryTypeConverter.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Serializer.Xaml/Converters/XPathGeometryTypeConverter.cs | src/Serializer.Xaml/Converters/XPathGeometryTypeConverter.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;
using System.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Path;
using... | // 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;
using System.Globalization;
#if NETSTANDARD
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Path;
using Co... | mit | C# |
c783a19e41b431763eec7e725be5f97df78f0e32 | Fix mania frame conversion not working at all | 2yangk23/osu,ZLima12/osu,DrabWeb/osu,Frontear/osuKyzer,naoey/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,naoey/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,2yangk23/osu,ZLima12/osu,smoogipoo/osu,peppy/osu,smoogipooo... | osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs | osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.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.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Replay... | // 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.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Replay... | mit | C# |
07b94f5a608b1840bfb0c63695a421ae00cfcd03 | Use account mycouchtester | danielwertheim/mycouch,danielwertheim/mycouch | src/Tests/MyCouch.IntegrationTests/TestClientFactory.cs | src/Tests/MyCouch.IntegrationTests/TestClientFactory.cs | namespace MyCouch.IntegrationTests
{
internal static class TestClientFactory
{
internal static IClient CreateDefault()
{
return new Client("http://mycouchtester:1q2w3e4r@localhost:5984/" + TestConstants.TestDbName);
}
}
} | namespace MyCouch.IntegrationTests
{
internal static class TestClientFactory
{
internal static IClient CreateDefault()
{
return new Client("http://localhost:5984/" + TestConstants.TestDbName);
}
}
} | mit | C# |
150c4e8e10dd05a885f6a49af7fc49c49277f761 | make properties nullable | ChrisEby/Mandrill.net,ericthornton/Mandrill.net,feinoujc/Mandrill.net | src/Mandrill.net/Model/WebHook/MandrillEventLocation.cs | src/Mandrill.net/Model/WebHook/MandrillEventLocation.cs | using System.Runtime.Serialization;
using Newtonsoft.Json.Serialization;
namespace Mandrill.Model
{
public class MandrillEventLocation
{
public string CountryShort { get; set; }
public string Country { get; set; }
public string Region { get; set; }
public string City { get; ... | using System.Runtime.Serialization;
using Newtonsoft.Json.Serialization;
namespace Mandrill.Model
{
public class MandrillEventLocation
{
public string CountryShort { get; set; }
public string Country { get; set; }
public string Region { get; set; }
public string City { get; ... | mit | C# |
21e6351c5354467ad641f5fee2971438b50b2ad6 | Allow DI for LoginOverlay to resolve to null in non-graphical environments (fix tests) | peppy/osu,peppy/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu-new,smoogipooo/osu,2yangk23/osu,peppy/osu | osu.Game/Online/Placeholders/LoginPlaceholder.cs | osu.Game/Online/Placeholders/LoginPlaceholder.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Overlays;
namespace... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Overlays;
namespace... | mit | C# |
6b682936b9abd4ce311f4990a74107c52649a80a | Fix typo | henkmollema/CryptoHelper,henkmollema/CryptoHelper | test/CryptoHelper.Tests/CryptoHelperTests.cs | test/CryptoHelper.Tests/CryptoHelperTests.cs | using Xunit;
namespace CryptoHelper.Tests
{
public class CryptoHelperTests
{
private const string Password = "VerySecurePassword";
[Fact]
public void HashPassword_Returns_HashedPassword()
{
var hashed = Crypto.HashPassword(Password);
Assert.NotEmpty(has... | using Xunit;
namespace CryptoHelper.Tests
{
public class CryptoHelperTests
{
private const string Password = "VerySecuryPassword";
[Fact]
public void HashPassword_Returns_HashedPassword()
{
var hashed = Crypto.HashPassword(Password);
Assert.NotEmpty(has... | mit | C# |
587074bd9026d7d3c565bbe416faa71bfaf50040 | Increment minor version | emoacht/ManagedNativeWifi | Source/ManagedNativeWifi/Properties/AssemblyInfo.cs | Source/ManagedNativeWifi/Properties/AssemblyInfo.cs | using System.Resources;
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 assembl... | using System.Resources;
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 assembl... | mit | C# |
d78603a8dcacdbed34b29bcef48c076857e7a2a8 | Add tests | skonves/Konves.KScript | tests/Konves.KScript.UnitTests/ExpressionTestFixture.cs | tests/Konves.KScript.UnitTests/ExpressionTestFixture.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Konves.KScript.UnitTests
{
[TestClass]
public class ExpressionTestFixture
{
[TestCategory(nameof(Expression))]
[TestMethod]
public ... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Konves.KScript.UnitTests
{
[TestClass]
public class ExpressionTestFixture
{
[TestCategory(nameof(Expression))]
[TestMethod]
public ... | apache-2.0 | C# |
161801b847ab083f2d40403747d51fd79fc6897b | add test code | jezzay/Test-Travis-CI,jezzay/Test-Travis-CI | TestWebApp/TestWebApp/Controllers/HomeController.cs | TestWebApp/TestWebApp/Controllers/HomeController.cs | using System.Web.Mvc;
using Newtonsoft.Json;
namespace TestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page test";
var data = new {firstname = "test", lastname = "lastname"};
string json... | using System.Web.Mvc;
namespace TestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page test";
return View();
}
}
}
| mit | C# |
399c7a87b607e8da6bf9147ed34763ee6affecb3 | Update LocationId.cs | timeanddate/libtad-net | TimeAndDate.Services/DataTypes/Places/LocationId.cs | TimeAndDate.Services/DataTypes/Places/LocationId.cs | using System;
namespace TimeAndDate.Services.DataTypes.Places
{
/// <summary>
/// LocationId class represents the different kinds of IDs that Time and Date API
/// does support. See <see cref="https://dev.timeanddate.com/docs/type-locationid" />
/// for detailed information.
/// </summary>
public class LocationId... | using System;
namespace TimeAndDate.Services.DataTypes.Places
{
/// <summary>
/// LocationId class represents the different kinds of IDs that Time and Date API
/// does support. See <see cref="https://services.timeanddate.com/api/doc/v2/type-locationid.html" />
/// for detailed information.
/// </summary>
public ... | mit | C# |
1e12f4539c0619b7520fb6fcb49a1f9b56a834f1 | Revert "intentional break, don't use: unnecessary constructor" | ParagonTruss/UnitClassLibrary | UnitClassLibrary/ElectricCurrent/ElectricCurrent.cs | UnitClassLibrary/ElectricCurrent/ElectricCurrent.cs | using System;
namespace UnitClassLibrary
{
public partial class ElectricCurrent
{
#region _fields and Internal Properties
internal ElectricCurrentType InternalUnitType
{
get { return _internalUnitType; }
}
private ElectricCurrentType _internalUnitType;
private double _intrinsicValue;
public Ele... | using System;
namespace UnitClassLibrary
{
public partial class ElectricCurrent
{
#region _fields and Internal Properties
internal ElectricCurrentType InternalUnitType
{
get { return _internalUnitType; }
}
private ElectricCurrentType _internalUnitType;
private double _intrinsicValue;
public Ele... | lgpl-2.1 | C# |
68a739c397f727e89c6e6ad4d2b022b268838015 | Add IsMouseOver method, to check whether the mouse is hovering over the menu | eamonwoortman/django-unity3d-example,eamonwoortman/django-unity3d-example,eamonwoortman/django-unity3d-example | Unity/Assets/Scripts/ExampleProject/SavegameMenu.cs | Unity/Assets/Scripts/ExampleProject/SavegameMenu.cs | using UnityEngine;
using System.Collections;
public class SavegameMenu : MonoBehaviour {
public GUISkin Skin;
public delegate void LoadSaveButtonPressed(string filename);
public LoadSaveButtonPressed OnSaveButtonPressed;
public LoadSaveButtonPressed OnLoadButtonPressed;
private Rect windowRect =... | using UnityEngine;
using System.Collections;
public class SavegameMenu : MonoBehaviour {
public GUISkin Skin;
public delegate void LoadSaveButtonPressed(string filename);
public LoadSaveButtonPressed OnSaveButtonPressed;
public LoadSaveButtonPressed OnLoadButtonPressed;
private Rect windowRect =... | mit | C# |
c9fb7c88ecfdfaaf731ff3f3ed124dfff6c64b28 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: August 20, 2021<br /><br />
<strong>Now offering</strong><br /><br />
Crude Fiber<br />
</div>
... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: August 20, 2021<br /><br />
<strong>Now offering</strong><br /><br />
Crude Fiber<br />
</div>
... | mit | C# |
7d9b0713c868e3e26ab0dac05de6662842a5d2d5 | Fix FrameLoadEndEventHandler param name (wasn't updated when I previously expanded the event handler to include args) | haozhouxu/CefSharp,Haraguroicha/CefSharp,zhangjingpu/CefSharp,ruisebastiao/CefSharp,gregmartinhtc/CefSharp,ruisebastiao/CefSharp,AJDev77/CefSharp,jamespearce2006/CefSharp,windygu/CefSharp,joshvera/CefSharp,joshvera/CefSharp,Octopus-ITSM/CefSharp,AJDev77/CefSharp,illfang/CefSharp,jamespearce2006/CefSharp,AJDev77/CefShar... | CefSharp/FrameLoadEndEventArgs.cs | CefSharp/FrameLoadEndEventArgs.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Event arguments to the FrameLoadEnd event handler set up in IWebBrowser.
/// </s... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Event arguments to the FrameLoadEnd event handler set up in IWebBrowser.
/// </s... | bsd-3-clause | C# |
45b45759faa6860e1cdb82638e0e3b33e58f76b3 | bump version | samiy-xx/keysndr,samiy-xx/keysndr,samiy-xx/keysndr | KeySndr.Base/Properties/AssemblyInfo.cs | KeySndr.Base/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("Ke... | 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("Ke... | mit | C# |
b939ac5dffdc486ff0a07038788eacdec23018c3 | Remove C# 6 syntax usage | uoko-J-Go/IdentityServer,johnkors/Thinktecture.IdentityServer.v3,uoko-J-Go/IdentityServer,chicoribas/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,huoxudong125/Thinktecture.IdentityServer.v3,uoko-J-Go/IdentityServer,IdentityServer/IdentityServer3,roflkins/IdentityServer3,IdentityServer/IdentityServer3,johnkors/T... | source/Core/Extensions/JwtSecurityTokenExtensions.cs | source/Core/Extensions/JwtSecurityTokenExtensions.cs | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | apache-2.0 | C# |
788542ace3393a09be7e008b7db3bff57a50f9e9 | Fix for compiled speak views | Fortis-Collection/fortis | src/Fortis.Mvc/Pipelines/GetModel/GetFromView.cs | src/Fortis.Mvc/Pipelines/GetModel/GetFromView.cs | using System.Linq;
using System.Web.Compilation;
using System.Web.Mvc;
using Fortis.Model;
using Sitecore.Mvc.Pipelines.Response.GetModel;
using Sitecore.Mvc.Presentation;
namespace Fortis.Mvc.Pipelines.GetModel
{
using System.Collections.Generic;
using System.IO;
using System.Web;
using System.Web.Caching;
pu... | using System.Linq;
using System.Web.Compilation;
using System.Web.Mvc;
using Fortis.Model;
using Sitecore.Mvc.Pipelines.Response.GetModel;
using Sitecore.Mvc.Presentation;
namespace Fortis.Mvc.Pipelines.GetModel
{
using System.Web;
using System.Web.Caching;
public class GetFromView : GetModelProcessor
{
prote... | mit | C# |
e02d627f5818026cc048f3ece5e937100f2f8417 | Add missing namespace from service registration | pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Pro... | src/Glimpse.Server.Web/GlimpseServerServices.cs | src/Glimpse.Server.Web/GlimpseServerServices.cs | using Glimpse.Agent;
using Glimpse.Server;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServerServices
{
public static IEnumerable<IServiceDescriptor> GetDefaultServices()
... | using Glimpse.Server;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServerServices
{
public static IEnumerable<IServiceDescriptor> GetDefaultServices()
{
return ... | mit | C# |
b1b5adec6e9101a15dcfc44372cf802cb0d4b7cf | Build fix #3 | blattodephobia/BG_Composers,blattodephobia/BG_Composers | BGC.Web/Areas/Administration/Controllers/AccountController.cs | BGC.Web/Areas/Administration/Controllers/AccountController.cs | using BGC.Core;
using BGC.Utilities;
using BGC.Web.Areas.Administration.ViewModels;
using BGC.Web.Areas.Administration.ViewModels.Permissions;
using CodeShield;
using Microsoft.AspNet.Identity;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
us... | using BGC.Core;
using BGC.Utilities;
using BGC.Web.Areas.Administration.ViewModels;
using BGC.Web.Areas.Administration.ViewModels.Permissions;
using CodeShield;
using Microsoft.AspNet.Identity;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
us... | mit | C# |
0db0433e29385ebec4afea35042ec512d33922d1 | remove obsolete braces | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Data/W3d/W3dVertexInfluence.cs | src/OpenSage.Game/Data/W3d/W3dVertexInfluence.cs | using System.IO;
using System.Runtime.InteropServices;
namespace OpenSage.Data.W3d
{
/// <summary>
/// Vertex Influences. For "skins" each vertex can be associated with a different bone.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct W3dVertexInfluence
{
public usho... | using System.IO;
using System.Runtime.InteropServices;
namespace OpenSage.Data.W3d
{
/// <summary>
/// Vertex Influences. For "skins" each vertex can be associated with a different bone.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct W3dVertexInfluence
{
public usho... | mit | C# |
417da2b36a0b91cbf28b3eaaca5168be27133bcf | add homework link at home/index | hatelove/MyMvcHomework,hatelove/MyMvcHomework,hatelove/MyMvcHomework | MyMoney/MyMoney/Views/Home/Index.cshtml | MyMoney/MyMoney/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<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-prim... | @{
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# |
a152c1c969890c2479e7abda80410fca1e43f7e7 | Make ExistingProject test run iff it can | ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge | src/LfMerge.Core.Tests/LanguageDepotProjectTests.cs | src/LfMerge.Core.Tests/LanguageDepotProjectTests.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using System.Net.NetworkInformation;
using NUnit.Framework;
namespace LfMerge.Core.Tests
{
[TestFixture]
public class LanguageDepotProjectTests
{
privat... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using System.Net.NetworkInformation;
using NUnit.Framework;
namespace LfMerge.Core.Tests
{
[TestFixture]
public class LanguageDepotProjectTests
{
privat... | mit | C# |
5859fc6535c317d2ed10d91872e2d0b51eff0861 | Bump assembly version to 4.0.323. | rubyu/CreviceApp,rubyu/CreviceApp | CreviceApp/Properties/AssemblyInfo.cs | CreviceApp/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Crevice4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Crevice4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | mit | C# |
292561cc5ef7deeecc1f0513db4ed591bda8ac8c | Update version, release notes and minimal api version. | maraf/Money,maraf/Money,maraf/Money | src/Money.Blazor.Host/Services/ApiVersionChecker.cs | src/Money.Blazor.Host/Services/ApiVersionChecker.cs | using Money.Events;
using Money.Queries;
using Neptuo;
using Neptuo.Events;
using Neptuo.Queries;
using Neptuo.Queries.Handlers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Money.Se... | using Money.Events;
using Money.Queries;
using Neptuo;
using Neptuo.Events;
using Neptuo.Queries;
using Neptuo.Queries.Handlers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Money.Se... | apache-2.0 | C# |
6f0618623a322e5985245dd404b945314d7b7c85 | add debugger display for TankObject and derivatives | smellyriver/tank-inspector-pro,smellyriver/tank-inspector-pro,smellyriver/tank-inspector-pro | src/Smellyriver.TankInspector.Core/TankInspector.Pro/Data/Entities/TankObject.cs | src/Smellyriver.TankInspector.Core/TankInspector.Pro/Data/Entities/TankObject.cs | using System;
using System.Diagnostics;
namespace Smellyriver.TankInspector.Pro.Data.Entities
{
[DebuggerDisplay("{Name} ({ElementName})")]
public abstract class TankObject : XQueryableWrapper, IEquatable<TankObject>
{
public string Key
{
get { return this["@key"]; }
}... | using System;
namespace Smellyriver.TankInspector.Pro.Data.Entities
{
public abstract class TankObject : XQueryableWrapper, IEquatable<TankObject>
{
public string Key
{
get { return this["@key"]; }
}
public string ElementName
{
get { return bas... | mit | C# |
ad9cf5bcd30c3aa2bccd2a6ac78e8e927d1717cf | Fix a typo (#18135) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Features/JsonPatch/src/Helpers/GetValueResult.cs | src/Features/JsonPatch/src/Helpers/GetValueResult.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.JsonPatch.Helpers
{
/// <summary>
/// Return value for the helper method used by Copy/Move. Needed to ensure we ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.JsonPatch.Helpers
{
/// <summary>
/// Return value for the helper method used by Copy/Move. Needed to ensure we ... | apache-2.0 | C# |
64e0519ad2fa60d3d380d101cd50e9b178716eed | Update GameManager.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/GameManager.cs | Real_Game/Assets/Scripts/GameManager.cs | using UnityEngine;
using System.Collections;
public class GameManager : MonoBehaviour {
// Score based stuff
public float highScore = 0f;
//Level based stuff
public int currentLevel = 0;
public int unlockedLevel;
// Things that deal with GUI or whatever
public Rect stopwatchRect;
public Rect stopwatchBoxR... | using UnityEngine;
using System.Collections;
public class GameManager : MonoBehaviour {
// Score based stuff
public float highScore = 0f;
//Level based stuff
public int currentLevel = 0;
public int unlockedLevel;
// Things that deal with GUI or whatever
public Rect stopwatchRect;
public Rect stopwatchBox... | mit | C# |
224d86920e7d78cead1bedc64ca06688fec3fc76 | Fix indentation; add braces around single-line if. | MetSystem/Nancy,nicklv/Nancy,blairconrad/Nancy,lijunle/Nancy,SaveTrees/Nancy,JoeStead/Nancy,phillip-haydon/Nancy,ccellar/Nancy,felipeleusin/Nancy,jchannon/Nancy,albertjan/Nancy,malikdiarra/Nancy,tareq-s/Nancy,thecodejunkie/Nancy,AlexPuiu/Nancy,ccellar/Nancy,danbarua/Nancy,joebuschmann/Nancy,davidallyoung/Nancy,jongleur... | src/Nancy.Demo.Authentication.Basic/UserValidator.cs | src/Nancy.Demo.Authentication.Basic/UserValidator.cs | namespace Nancy.Demo.Authentication.Basic
{
using Nancy.Authentication.Basic;
using Nancy.Security;
public class UserValidator : IUserValidator
{
public IUserIdentity Validate(string username, string password)
{
if (username == "demo" && password == "demo")
... | namespace Nancy.Demo.Authentication.Basic
{
using Nancy.Authentication.Basic;
using Nancy.Security;
public class UserValidator : IUserValidator
{
public IUserIdentity Validate(string username, string password)
{
if (username == "demo" && password == "demo")
return new DemoUserIden... | mit | C# |
97e7ec326a6dc5969d2c84e9d957b57bfd277531 | Update Program.cs | brentstineman/ServiceFabricPubSub,mcollier/ServiceFabricPubSub,digimaun/ServiceFabricPubSub,flyingoverclouds/ServiceFabricPubSub | src/ServiceFabricPubSub/SubscriberService/Program.cs | src/ServiceFabricPubSub/SubscriberService/Program.cs | using Microsoft.ServiceFabric.Services.Runtime;
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace SubscriberService
{
internal static class Program
{
/// <summary>
/// This is the entry point of the service host process.
/// </summa... | using Microsoft.ServiceFabric.Services.Runtime;
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace SubscriberService
{
internal static class Program
{
/// <summary>
/// This is the entry point of the service host process.
/// </summa... | mit | C# |
38f66234324e8cc8b1358c4cc94b12df6b1571ca | Modify the signature of Parser<TToken, TResult>, make TOutput covariance | linerlock/parseq | Parseq/Parser.cs | Parseq/Parser.cs | /*
* Parseq - a monadic parser combinator library for C#
*
* Copyright (c) 2012 - 2013 WATANABE TAKAHISA <x.linerlock@gmail.com> All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | /*
* Parseq - a monadic parser combinator library for C#
*
* Copyright (c) 2012 - 2013 WATANABE TAKAHISA <x.linerlock@gmail.com> All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | mit | C# |
9a8b378d8ec88179904a597020e023aa4eaa2558 | Update SteamLoginPatch.cs | TorchAPI/Torch | Torch.Server/Patches/SteamLoginPatch.cs | Torch.Server/Patches/SteamLoginPatch.cs | using System.Reflection;
using NLog;
using Steamworks;
using Torch.Managers.PatchManager;
using Torch.Utils;
namespace Torch.Patches
{
[PatchShim]
public static class SteamLoginPatch
{
private static readonly ILogger Log = LogManager.GetCurrentClassLogger();
#pragma warning disable CS0649... | using System.Reflection;
using NLog;
using Steamworks;
using Torch.Managers.PatchManager;
using Torch.Utils;
namespace Torch.Patches
{
[PatchShim]
public static class SteamLoginPatch
{
private static readonly ILogger Log = LogManager.GetCurrentClassLogger();
#pragma warning disable CS0649... | apache-2.0 | C# |
12cf30459808c0a9ab04043693d87b6cd21d5505 | Update ModDaycore icon | peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu | osu.Game/Rulesets/Mods/ModDaycore.cs | osu.Game/Rulesets/Mods/ModDaycore.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.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Rulesets.Mods
{
... | // 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.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Rulesets.Mods
{
... | mit | C# |
87d77b07ed246662bb54457431e754385cd9a101 | Use temporary redirect to swagger | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates | Source/Content/ApiTemplate/Controllers/HomeController.cs | Source/Content/ApiTemplate/Controllers/HomeController.cs | namespace ApiTemplate.Controllers
{
using ApiTemplate.Constants;
using Microsoft.AspNetCore.Mvc;
[Route("")]
[ApiExplorerSettings(IgnoreApi = true)]
public class HomeController : ControllerBase
{
/// <summary>
/// Redirects to the swagger page.
/// </summary>
///... | namespace ApiTemplate.Controllers
{
using ApiTemplate.Constants;
using Microsoft.AspNetCore.Mvc;
[Route("")]
[ApiExplorerSettings(IgnoreApi = true)]
public class HomeController : ControllerBase
{
/// <summary>
/// Redirects to the swagger page.
/// </summary>
///... | mit | C# |
8abb6c09c71656982d28530c686ee8b896f3870e | remove OverrideIsNamespaceAllowed | signumsoftware/framework,signumsoftware/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/framework,MehdyKarimpour/extensions,AlejandroCano/extensions,MehdyKarimpour/extensions | Signum.React.Extensions/UserQueries/UserQueryServer.cs | Signum.React.Extensions/UserQueries/UserQueryServer.cs | using Signum.React.Json;
using Signum.Utilities;
using System.Linq;
using System.Reflection;
using Signum.Entities.UserQueries;
using Signum.Engine.Basics;
using Signum.React.UserAssets;
using Signum.React.Facades;
using Signum.Engine.UserQueries;
using Signum.Engine.Authorization;
using Microsoft.AspNetCore.... | using Signum.React.Json;
using Signum.Utilities;
using System.Linq;
using System.Reflection;
using Signum.Entities.UserQueries;
using Signum.Engine.Basics;
using Signum.React.UserAssets;
using Signum.React.Facades;
using Signum.Engine.UserQueries;
using Signum.Engine.Authorization;
using Microsoft.AspNetCore.... | mit | C# |
7421f95d0e46f099bb5462f74c1d55e31bc6d47f | Fix build | sboulema/CodeNav,sboulema/CodeNav | CodeNav.Shared/CodeViewUserControlTop.xaml.cs | CodeNav.Shared/CodeViewUserControlTop.xaml.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Controls;
using CodeNav.Helpers;
using CodeNav.Models;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Outlining;
using Task = System.Threading.Tasks.Task;
namespace Code... | using System.Collections.Generic;
using System.Windows.Controls;
using CodeNav.Helpers;
using CodeNav.Models;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Outlining;
namespace CodeNav
{
/// <summary>
/// Interaction logic for CodeViewUserContro... | mit | C# |
ab7257db18788af8410dfc09e26218d182fd13df | update version to 2.0.0 (service cache support) | sportingsolutions/SS.Integration.UnifiedDataAPIClient.DotNet,sportingsolutions/SS.Integration.UnifiedDataAPIClient.DotNet | SportingSolutions.Udapi.Sdk/Properties/AssemblyInfo.cs | SportingSolutions.Udapi.Sdk/Properties/AssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | apache-2.0 | C# |
329e5b2b6472bed433faa6e5b8952e38cc0b1b1c | fix NRE | gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Client/Systems/VesselImmortalSys/VesselImmortalEvents.cs | Client/Systems/VesselImmortalSys/VesselImmortalEvents.cs | using LunaClient.Base;
using LunaClient.Systems.Lock;
using LunaClient.Systems.SettingsSys;
using LunaCommon.Locks;
namespace LunaClient.Systems.VesselImmortalSys
{
public class VesselImmortalEvents : SubSystem<VesselImmortalSystem>
{
/// <summary>
/// Set vessel immortal state just when the v... | using LunaClient.Base;
using LunaClient.Systems.Lock;
using LunaClient.Systems.SettingsSys;
using LunaCommon.Locks;
namespace LunaClient.Systems.VesselImmortalSys
{
public class VesselImmortalEvents : SubSystem<VesselImmortalSystem>
{
/// <summary>
/// Set vessel immortal state just when the v... | mit | C# |
56b075af9fd1dded7a4a925303a489975d3c36eb | Update version | 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/Properties/AssemblyInfo.cs | NET/API/Treehopper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Treehopper")]
[assembly:
AssemblyDescription("Treeho... | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Treehopper")]
[assembly:
AssemblyDescription("Treeho... | mit | C# |
02b96212a3db6998e0e26dc920c5e1e91b8c2bf5 | Fix a null-requiredBy value. | benjamin-bader/stiletto,benjamin-bader/stiletto | Stiletto.Fody/Validation/CompilerParameterizedBinding.cs | Stiletto.Fody/Validation/CompilerParameterizedBinding.cs | /*
* Copyright © 2013 Ben Bader
*
* 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... | /*
* Copyright © 2013 Ben Bader
*
* 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... | apache-2.0 | C# |
d3c6b500ae7de5c5b2069c8fc003d533efa53f73 | Fix BasicTabControl not working by default | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/UserInterface/BasicTabControl.cs | osu.Framework/Graphics/UserInterface/BasicTabControl.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osuTK.Graphics;
namespace osu.Framework.Graphics.UserInterface
{
public class BasicTabControl<T> : TabControl<T>
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osuTK.Graphics;
namespace osu.Framework.Graphics.UserInterface
{
public class BasicTabControl<T> : TabControl<T>
{
... | mit | C# |
1c2d930b8ca27f8bc0493270c6f3018a5d04951a | Add NULL-check | whitestone-no/Cambion | src/Serializers/MessagePack/MessagePackSerializer.cs | src/Serializers/MessagePack/MessagePackSerializer.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Whitestone.Cambion.Interfaces;
using Whitestone.Cambion.Types;
using MessagePack_Serializer = MessagePack.MessagePackSerializer;
namespace Whitestone.Cambion.Serializer.MessagePack
{
public class MessagePackSerializer : ISerializer
{
... | using System.IO;
using System.Threading.Tasks;
using Whitestone.Cambion.Interfaces;
using Whitestone.Cambion.Types;
using MessagePack_Serializer = MessagePack.MessagePackSerializer;
namespace Whitestone.Cambion.Serializer.MessagePack
{
public class MessagePackSerializer : ISerializer
{
public async T... | mit | C# |
a1780c9c6bf2aa034f6f01fb35bf2bf2ec9537bd | make mice randomly squeak | fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/NPC/AI/MouseAI.cs | UnityProject/Assets/Scripts/NPC/AI/MouseAI.cs | using UnityEngine;
using System.Collections.Generic;
using System.Collections;
/// <summary>
/// AI brain for mice
/// used to get hunted by Runtime and squeak
/// </summary>
public class MouseAI : MobAI
{
private string mouseName;
private string capMouseName;
private float timeForNextRandomAction;
pri... | using UnityEngine;
using System.Collections.Generic;
using System.Collections;
/// <summary>
/// AI brain for mice
/// used to get hunted by Runtime and squeak
/// </summary>
public class MouseAI : MobAI
{
private string mouseName;
private string capMouseName;
private float timeForNextRandomAction;
pri... | agpl-3.0 | C# |
1449a4edfb81850fbf8116ced7f9fdf8ae6b549e | Mark exception as serializable | CoraleStudios/Colore | src/Colore/ColoreException.cs | src/Colore/ColoreException.cs | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="Corale">
// Copyright © 2015-2019 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this soft... | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="Corale">
// Copyright © 2015-2019 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this soft... | mit | C# |
de1b763d963f8be612d93889e08e43f67c98d0d5 | Update IControllerModelConvention.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IControllerModelConvention.cs | src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IControllerModelConvention.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.ApplicationModels
{
/// <summary>
/// Allows customization of the <see cref="ControllerModel"/>.
/// </su... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.ApplicationModels
{
/// <summary>
/// Allows customization of the of the <see cref="ControllerModel"/>.
/... | apache-2.0 | C# |
af4fb2e155a9a5740681eadc91cb5a86b81a2f78 | Use FallbackCredentials | SharpeRAD/Cake.AWS.S3 | src/S3.Tests/Tests/S3Tests.cs | src/S3.Tests/Tests/S3Tests.cs | #region Using Statements
using System;
using System.Diagnostics;
using Xunit;
using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Diagnostics;
#endregion
namespace Cake.AWS.S3.Tests
{
public class S3Tests
{
[Fact]
public void Test_Syn()
{
SyncSe... | #region Using Statements
using System;
using Xunit;
using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Diagnostics;
#endregion
namespace Cake.AWS.S3.Tests
{
public class S3Tests
{
[Fact]
public void Test_Syn()
{
IS3Manager manager = CakeHelper.Crea... | mit | C# |
1a4339fbdb52b3db33a87b88d0a60ca5447ec013 | Use the connection's cancellation token (#189) | andrasm/prometheus-net | Prometheus.AspNetCore/MetricServerMiddleware.cs | Prometheus.AspNetCore/MetricServerMiddleware.cs | using Microsoft.AspNetCore.Http;
using System.IO;
using System.Threading.Tasks;
namespace Prometheus
{
/// <summary>
/// Prometheus metrics export middleware for ASP.NET Core.
///
/// You should use IApplicationBuilder.UseMetricServer extension method instead of using this class directly.
/// </s... | using Microsoft.AspNetCore.Http;
using System.IO;
using System.Threading.Tasks;
namespace Prometheus
{
/// <summary>
/// Prometheus metrics export middleware for ASP.NET Core.
///
/// You should use IApplicationBuilder.UseMetricServer extension method instead of using this class directly.
/// </s... | mit | C# |
866e4c38db08e45c46f6c09766b520e1201c327a | Add some documentation | rucila/FileHelpers,MarcosMeli/FileHelpers,guillaumejay/FileHelpers,rucila/FileHelpers,jawn/FileHelpers,senthilmsv/FileHelpers,jawn/FileHelpers,regisbsb/FileHelpers,phaufe/FileHelpers,tablesmit/FileHelpers,xavivars/FileHelpers,regisbsb/FileHelpers,tablesmit/FileHelpers,p07r0457/FileHelpers,phaufe/FileHelpers,jbparker/Fi... | FileHelpers.Tests/Tests/Helpers/ForwardReaderTests.cs | FileHelpers.Tests/Tests/Helpers/ForwardReaderTests.cs | using System;
using FileHelpers;
using FileHelpers.Detection;
using FileHelpers.Dynamic;
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
namespace FileHelpers.Tests
{
[TestFixture]
public class ForwardReaderTests
{
[Test(Description="Check if we read forw... | using System;
using FileHelpers;
using FileHelpers.Detection;
using FileHelpers.Dynamic;
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
namespace FileHelpers.Tests
{
[TestFixture]
public class ForwardReaderTests
{
[Test]
public void BasicPropert... | mit | C# |
a6f279b6d31b47a53e867fe63c3bc419ac8eef2f | Fix restart service bug | michael-reichenauer/GitMind | GitMind/ApplicationHandling/Private/RestartService.cs | GitMind/ApplicationHandling/Private/RestartService.cs | using System;
using System.Diagnostics;
using GitMind.ApplicationHandling.SettingsHandling;
using GitMind.Utils;
namespace GitMind.ApplicationHandling.Private
{
internal class RestartService : IRestartService
{
private static readonly char[] QuoteChar = "\"".ToCharArray();
public bool TriggerRestart(string w... | using System;
using System.Diagnostics;
using GitMind.ApplicationHandling.SettingsHandling;
using GitMind.Utils;
namespace GitMind.ApplicationHandling.Private
{
internal class RestartService : IRestartService
{
private static readonly char[] QuoteChar = "\"".ToCharArray();
public bool TriggerRestart(string w... | mit | C# |
24a7c28ecd1cfbab72379a36ae1c273705de3822 | Implement IOptions<MemcachedClientOptions> | cnblogs/EnyimMemcachedCore,DukeCheng/EnyimMemcachedCore,DukeCheng/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore | Enyim.Caching/Configuration/MemcachedClientOptions.cs | Enyim.Caching/Configuration/MemcachedClientOptions.cs | using Enyim.Caching.Memcached;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Enyim.Caching.Configuration
{
public class MemcachedClientOptions : IOptions<MemcachedClientOptions>
{
public MemcachedProtocol ... | using Enyim.Caching.Memcached;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Enyim.Caching.Configuration
{
public class MemcachedClientOptions
{
public MemcachedProtocol Protocol { get; set; } = MemcachedP... | apache-2.0 | C# |
14fdbe964fdf0522d98fb0421d4018f7daffe405 | Fix for pull request issue resetting pull requests. (#655) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/Handlers/PullRequestHandler.cs | tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/Handlers/PullRequestHandler.cs | using Azure.Sdk.Tools.CheckEnforcer.Configuration;
using Azure.Sdk.Tools.CheckEnforcer.Integrations.GitHub;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Identity.Client;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... | using Azure.Sdk.Tools.CheckEnforcer.Configuration;
using Azure.Sdk.Tools.CheckEnforcer.Integrations.GitHub;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Identity.Client;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... | mit | C# |
3ab029bc4afa8b816c3face2798b2b126f32666c | Split another code. | sdcb/sdmap | sdmap/test/sdmap.test/IntegratedTest/NamespaceTest.cs | sdmap/test/sdmap.test/IntegratedTest/NamespaceTest.cs | using sdmap.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test.IntegratedTest
{
public class NamespaceTest
{
[Fact]
public void CanReferenceOtherInOneNamespace()
{
var code =
... | using sdmap.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test.IntegratedTest
{
public class NamespaceTest
{
[Fact]
public void CanReferenceOtherInOneNamespace()
{
var code = "namespace... | mit | C# |
c825ac7f797501f73d680e6ef53de34b5c9f4227 | Update MT ContactsSample thumbnail | xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,nexussays/Xamarin.Mobile | MonoTouch/Samples/ContactsSample/DetailContactView.cs | MonoTouch/Samples/ContactsSample/DetailContactView.cs | using System;
using Xamarin.Contacts;
using MonoTouch.UIKit;
using System.Text;
using System.Globalization;
using System.Drawing;
namespace ContactsSample
{
/// <summary>
/// Detail contact view. This view displays the details of a contact.
/// </summary>
public class DetailContactView : UIViewController
{
Cont... | using System;
using Xamarin.Contacts;
using MonoTouch.UIKit;
using System.Text;
using System.Globalization;
using System.Drawing;
namespace ContactsSample
{
/// <summary>
/// Detail contact view. This view displays the details of a contact.
/// </summary>
public class DetailContactView : UIViewController
{
Cont... | apache-2.0 | C# |
57758bd9f24dd42e959d0d7c11c54ee4deb43f34 | Make codefixer for explicit interface polymorph analyzer | FonsDijkstra/CConst | CConst/CConst/ConstPolymorphismCodeFixProvider.cs | CConst/CConst/ConstPolymorphismCodeFixProvider.cs | using System;
using System.Composition;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnal... | using System;
using System.Composition;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnal... | mit | C# |
7eed2b3a0662cd880f9bf52b03483b856a8b1cd4 | Use new automatic test running functionality | yawaramin/TDDUnit | Program.cs | Program.cs | using System;
namespace TDDUnit {
class TestTestCase : TestCase {
public TestTestCase(string name) : base(name) {
}
public override void SetUp() {
base.SetUp();
m_result = new TestResult();
}
public void TestTemplateMethod() {
WasRunObj test = new WasRunObj("TestMethod");
... | using System;
namespace TDDUnit {
class TestTestCase : TestCase {
public TestTestCase(string name) : base(name) {
}
public override void SetUp() {
base.SetUp();
m_result = new TestResult();
}
public void TestTemplateMethod() {
WasRunObj test = new WasRunObj("TestMethod");
... | apache-2.0 | C# |
8367f69af8f4b20a868ee7691376d2aa2a4e3b2f | Update AssemblyInfo.cs | skid9000/Crunchyroll-Downloader | Crunchyroll-Downloader/Properties/AssemblyInfo.cs | Crunchyroll-Downloader/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | agpl-3.0 | C# |
4dd43562c871beda6f04507bbbf7a30c90af0fed | Update unit tests | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core.Tests/Base/TestSuiteTest.cs | src/Arkivverket.Arkade.Core.Tests/Base/TestSuiteTest.cs | using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.Core.Testing;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Core.Tests.Base
{
public class TestSuiteTest
{
private readonly TestResult _testResultWithError = new TestResult(ResultType.Error, new Location(""), "feil");
... | using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.Core.Testing;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Core.Tests.Base
{
public class TestSuiteTest
{
private readonly TestResult _testResultWithError = new TestResult(ResultType.Error, new Location(""), "feil");
... | agpl-3.0 | C# |
ca74fa9c050150697b904d95bec19533f50a7731 | Increase assembly version to 1.0. | safakgur/Dawn.SocketAwaitable | src/Dawn.SocketAwaitable/Properties/AssemblyInfo.cs | src/Dawn.SocketAwaitable/Properties/AssemblyInfo.cs | // Copyright
// ----------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="https://github.com/safakgur/Dawn.SocketAwaitable">
// MIT
// </copyright>
// <license>
// This source code is subject to terms and condit... | // Copyright
// ----------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="https://github.com/safakgur/Dawn.SocketAwaitable">
// MIT
// </copyright>
// <license>
// This source code is subject to terms and condit... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.