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
5e7f78005d660ad334d29c664ca6fabdabd72e51
Update ToolIconConverter.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Converters/ToolIconConverter.cs
src/Core2D/Converters/ToolIconConverter.cs
#nullable enable using System; using System.Globalization; using Avalonia; using Avalonia.Data.Converters; using Core2D.Model.Editor; namespace Core2D.Converters; public class ToolIconConverter : IValueConverter { public static ToolIconConverter Instance = new(); public object? Convert(object? value, Type t...
#nullable enable using System; using System.Globalization; using Avalonia; using Avalonia.Data.Converters; using Core2D.Model.Editor; namespace Core2D.Converters; public class ToolIconConverter : IValueConverter { public static ToolIconConverter Instance = new(); public object? Convert(object? value, Type t...
mit
C#
643ed549d6084905780e67eeccfa441bafa86ed7
Add response DTO marker interface for service documentation
dnauck/License.Manager,dnauck/License.Manager
src/License.Manager.Core/Model/Customer.cs
src/License.Manager.Core/Model/Customer.cs
using ServiceStack.ServiceHost; namespace License.Manager.Core.Model { [Route("/customers", "POST")] [Route("/customers/{Id}", "PUT, DELETE")] [Route("/customers/{Id}", "GET, OPTIONS")] public class Customer : EntityBase, IReturn<Customer> { public string Name { get; set; } public ...
using ServiceStack.ServiceHost; namespace License.Manager.Core.Model { [Route("/customers", "POST")] [Route("/customers/{Id}", "PUT, DELETE")] [Route("/customers/{Id}", "GET, OPTIONS")] public class Customer : EntityBase { public string Name { get; set; } public string Company { ge...
mit
C#
e39f254ff9156287d0111780cfad9e3984ad9728
Initialize using UsePlatformDetect
wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter
src/SimpleWavSplitter.Avalonia/App.xaml.cs
src/SimpleWavSplitter.Avalonia/App.xaml.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 Avalonia; using Avalonia.Controls; using Avalonia.Diagnostics; using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; using Serilog; namespace SimpleWa...
// 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 Avalonia; using Avalonia.Controls; using Avalonia.Diagnostics; using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; using Serilog; namespace SimpleWa...
mit
C#
7f89bb0cc48b6d4f32937802d28530cd05ed6fdc
fix docs
icarus-consulting/Yaapii.Atoms
src/Yaapii.Atoms/Enumerable/Partitioned.cs
src/Yaapii.Atoms/Enumerable/Partitioned.cs
// MIT License // // Copyright(c) 2017 ICARUS Consulting GmbH // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, co...
// MIT License // // Copyright(c) 2017 ICARUS Consulting GmbH // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, co...
mit
C#
4ee3d5adb0fbfa3f6be081ca51cd78c7f3fecaac
Fix for WebSettingsSerializer
OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core
Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Serializers/WebSettingsSerializer.cs
Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Serializers/WebSettingsSerializer.cs
using Microsoft.SharePoint.Client; using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Serializers {...
using Microsoft.SharePoint.Client; using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Serializers {...
mit
C#
0d91d1cf9fdfcc666cfcf9eaee8eca76f5fadae6
Fix for two-digit year as specified by ICU.
FubarDevelopment/beanio-net
test/FubarDev.BeanIO.Test/Parser/Types/TypeHandlerLocaleTest.cs
test/FubarDev.BeanIO.Test/Parser/Types/TypeHandlerLocaleTest.cs
// <copyright file="TypeHandlerLocaleTest.cs" company="Fubar Development Junker"> // Copyright (c) 2016 Fubar Development Junker. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; us...
// <copyright file="TypeHandlerLocaleTest.cs" company="Fubar Development Junker"> // Copyright (c) 2016 Fubar Development Junker. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; u...
mit
C#
d36a0255a76cd8737772abed7b3c1951a73b69f8
fix RequiresNotMedia implementation
RPCS3/discord-bot
CompatBot/Commands/Attributes/RequiresNotMedia.cs
CompatBot/Commands/Attributes/RequiresNotMedia.cs
using System; using System.Threading.Tasks; using DSharpPlus.CommandsNext; using DSharpPlus.CommandsNext.Attributes; namespace CompatBot.Commands.Attributes { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)] internal class RequiresNotMedia: CheckBaseAttribute { public overrid...
using System; using System.Threading.Tasks; using DSharpPlus.CommandsNext; using DSharpPlus.CommandsNext.Attributes; namespace CompatBot.Commands.Attributes { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)] internal class RequiresNotMedia: CheckBaseAttribute { public overrid...
lgpl-2.1
C#
d12ca732aca6dfd40435ec76b2e48bc9c9e3825f
Update DbContextBulkTransaction.cs
borisdj/EFCore.BulkExtensions
EFCore.BulkExtensions/DbContextBulkTransaction.cs
EFCore.BulkExtensions/DbContextBulkTransaction.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace EFCore.BulkExtensions { internal static class DbContextBulkTransaction { public static void Execute<T>(DbContext context, IList<T> entities, OperationType operationType, BulkCon...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace EFCore.BulkExtensions { internal static class DbContextBulkTransaction { public static void Execute<T>(DbContext context, IList<T> entities, OperationType operationType, BulkCon...
mit
C#
fc9ce398671dbe1d12f2f8039166320212f87f4f
add properties to CarAdvert
mdavid626/artemis
src/Artemis.Web/Model/CarAdvert.cs
src/Artemis.Web/Model/CarAdvert.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Artemis.Web.Model { public class CarAdvert { public int Id { get; set; } public string Title { get; set; } public string Fuel { get; set; } public decimal Price { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Artemis.Web.Model { public class CarAdvert { } }
mit
C#
e5f8dc56347bcb1014de80e3600d314bdc958ffd
Add methods to access specific properties from a Fieldset
tomfulton/Archetype,imulus/Archetype,kjac/Archetype,tomfulton/Archetype,kipusoep/Archetype,imulus/Archetype,kgiszewski/Archetype,kipusoep/Archetype,kjac/Archetype,kgiszewski/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,kgiszewski/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,tomfulton/Ar...
app/Umbraco/Umbraco.Archetype/Models/Fieldset.cs
app/Umbraco/Umbraco.Archetype/Models/Fieldset.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Umbraco.Core; namespace Archetype.Umbraco.Models { public class Fieldset { public string Alias { get; set; } public IEnumerable<Property> Properties; public Fields...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Archetype.Umbraco.Models { public class Fieldset { public string Alias { get; set; } public IEnumerable<Property> Properties; public Fieldset() { ...
mit
C#
e5f585b283aa0dbfbfd6779c18b97ef8f750b462
Allow inline dictionary entries.
TheBerkin/Rant
Rant/Vocabulary/DicLexer.cs
Rant/Vocabulary/DicLexer.cs
using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using Rant.Stringes; namespace Rant.Vocabulary { internal static class DicLexer { public static IEnumerable<Token<DicTokenType>> Tokenize(string data) { var reader = new StringReader(data); while (true) { int...
using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using Rant.Stringes; namespace Rant.Vocabulary { internal static class DicLexer { public static IEnumerable<Token<DicTokenType>> Tokenize(string data) { var reader = new StringReader(data); while (true) { int...
mit
C#
4e0f2a3403bba97f49d4c3e7ba37377881b10a84
Update KeepAlive.cs
dotnetsheff/dotnetsheff-api,dotnetsheff/dotnetsheff-api
src/dotnetsheff.Api/KeepAlive/KeepAlive.cs
src/dotnetsheff.Api/KeepAlive/KeepAlive.cs
using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; namespace dotnetsheff.Api.KeepAlive { public static class KeepAlive { [FunctionName("KeepAlive")] public static void Run([TimerTrigger("0 */5 * * * *")]TimerInfo myTimer, TraceWriter log) { // Do nothing... ...
using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; namespace dotnetsheff.Api.KeepAlive { public static class KeepAlive { [FunctionName("KeepAlive")] public static void Run([TimerTrigger("5 * * * *")]TimerInfo myTimer, TraceWriter log) { // Do nothing... ...
mit
C#
24e163a72dd4aa7059371e716698d1d6d672b3b4
Fix compiling error on .net451
unvell/ReoGrid,unvell/ReoGrid
ReoGrid/Print/WPFPrinter.cs
ReoGrid/Print/WPFPrinter.cs
/***************************************************************************** * * ReoGrid - .NET Spreadsheet Control * * https://reogrid.net/ * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES O...
/***************************************************************************** * * ReoGrid - .NET Spreadsheet Control * * https://reogrid.net/ * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES O...
mit
C#
67668f2517eba1dd497ce932b0c172572fc126e4
Make public property
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Core2D.Avalonia/Editor/Tools/MoveTool.cs
src/Core2D.Avalonia/Editor/Tools/MoveTool.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. namespace Core2D.Editor.Tools { public class MoveTool : ToolBase { public PathTool PathTool { get; set; } public override string Title =>...
// 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. namespace Core2D.Editor.Tools { public class MoveTool : ToolBase { private readonly PathTool _pathTool; public override string Title => "...
mit
C#
8ab180eab8d257bb639b4c5df95772399f1e56f5
Fix bad unique ids in Spatialite, was losing the whole number :/
Smartrak/TileSharp,Smartrak/TileSharp
TileSharp.Data.Spatialite/SpatialiteDataSource.cs
TileSharp.Data.Spatialite/SpatialiteDataSource.cs
using System; using System.Collections.Generic; using System.Data.SQLite; using GeoAPI.Geometries; using NetTopologySuite.Features; using NetTopologySuite.Geometries; using NetTopologySuite.IO; namespace TileSharp.Data.Spatialite { public class SpatialiteDataSource : DataSource, IDisposable { private readonly str...
using System; using System.Collections.Generic; using System.Data.SQLite; using GeoAPI.Geometries; using NetTopologySuite.Features; using NetTopologySuite.Geometries; using NetTopologySuite.IO; namespace TileSharp.Data.Spatialite { public class SpatialiteDataSource : DataSource, IDisposable { private readonly str...
bsd-2-clause
C#
357fd844d7230f82c9f2af98ccf46dac7343386b
Fix TopicFilterComparer
chkr1011/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet
Frameworks/MQTTnet.NetStandard/Server/MqttTopicFilterComparer.cs
Frameworks/MQTTnet.NetStandard/Server/MqttTopicFilterComparer.cs
using System; namespace MQTTnet.Server { public static class MqttTopicFilterComparer { private static readonly char[] TopicLevelSeparator = { '/' }; public static bool IsMatch(string topic, string filter) { if (topic == null) throw new ArgumentNullException(nameof(topic));...
using System; namespace MQTTnet.Server { public static class MqttTopicFilterComparer { private static readonly char[] TopicLevelSeparator = { '/' }; public static bool IsMatch(string topic, string filter) { if (topic == null) throw new ArgumentNullException(nameof(topic));...
mit
C#
272bd1fd102ccfe314e2b6b556b26341d91ac741
Use a remote server
ravendb/ravendb.contrib
src/Raven.Client.Contrib.Tests/ServerStatusExtensionsTests.cs
src/Raven.Client.Contrib.Tests/ServerStatusExtensionsTests.cs
using System.Diagnostics; using Raven.Abstractions.Data; using Raven.Tests.Helpers; using Xunit; namespace Raven.Client.Contrib.Tests { public class ServerStatusExtensionsTests : RavenTestBase { [Fact] public void Can_Get_Server_Build_Number() { using (var store = NewRemote...
using System.Diagnostics; using Raven.Abstractions.Data; using Raven.Tests.Helpers; using Xunit; namespace Raven.Client.Contrib.Tests { public class ServerStatusExtensionsTests : RavenTestBase { [Fact] public void Can_Get_Server_Build_Number() { using (var store = NewDocume...
mit
C#
ca2ad851cd03462d755a9a9348a70ec17b7d0305
Check can get all the fields (except Layout and Tracking) #46
sergeyshushlyapin/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb,pveller/Sitecore.FakeDb
src/Sitecore.FakeDb.Tests/Data/Fields/FieldTypeManagerTest.cs
src/Sitecore.FakeDb.Tests/Data/Fields/FieldTypeManagerTest.cs
namespace Sitecore.FakeDb.Tests.Data.Fields { using FluentAssertions; using Sitecore.Data.Fields; using Xunit; public class FieldTypeManagerTest { // TODO: Implement Layout and Tracking fields. [Theory] [InlineData("Checkbox")] [InlineData("Date")] [InlineData("Datetime")] [InlineDat...
namespace Sitecore.FakeDb.Tests.Data.Fields { using FluentAssertions; using Sitecore.Data.Fields; using Xunit; public class FieldTypeManagerTest { [Fact] public void ShouldGetField() { // arrange using (var db = new Db { new DbItem("h...
mit
C#
3c9fbf51d24b247a26ca94548ed19b5d844d7731
Fix var name
lupidan/Tetris
Assets/Scripts/ComponentPool.cs
Assets/Scripts/ComponentPool.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ComponentPool<T> where T : MonoBehaviour { private Func<T> _instantiateAction; private Action<T> _getComponentAction; private Action<T> _returnComponentAction; private Stack<T> _pooledObjects; ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ComponentPool<T> where T : MonoBehaviour { private Func<T> _instantiateAction; private Action<T> _getComponentAction; private Action<T> _returnComponentAction; private Stack<T> _pooledObjects; ...
mit
C#
fabc076fcd1a4d92285be4c09e202d16fcc2f451
Make the `DynamicBuilder<T>` constructor public.
fffej/BobTheBuilder,alastairs/BobTheBuilder
BobTheBuilder/DynamicBuilder.cs
BobTheBuilder/DynamicBuilder.cs
using System; using System.Dynamic; using BobTheBuilder.ArgumentStore; namespace BobTheBuilder { public class DynamicBuilder<T> : DynamicObject, IDynamicBuilder<T> where T : class { private readonly IArgumentStore argumentStore; public DynamicBuilder(IArgumentStore argumentStore) ...
using System; using System.Dynamic; using BobTheBuilder.ArgumentStore; namespace BobTheBuilder { public class DynamicBuilder<T> : DynamicObject, IDynamicBuilder<T> where T : class { private readonly IArgumentStore argumentStore; protected DynamicBuilder(IArgumentStore argumentStore) ...
apache-2.0
C#
c3cbec2858824c46f79ca91f4846f6d5f9d51d68
Implement struct DisplayMode
alesliehughes/monoDX,alesliehughes/monoDX
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DisplayMode.cs
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DisplayMode.cs
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights ...
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights ...
mit
C#
62a4fe33310420c74ac3f49ea2c9eb0bf32f2027
IMprove unit tests
DaveSenn/Extend
PortableExtensions.Testing/System.Int64/Int64.PercentageOf.Test.cs
PortableExtensions.Testing/System.Int64/Int64.PercentageOf.Test.cs
#region Using using System; using NUnit.Framework; #endregion namespace PortableExtensions.Testing { [TestFixture] public partial class Int64ExTest { [Test] public void PercentageOfTestCase() { const Int64 number = 1000; const Int32 expected = 500; ...
#region Using using System; using NUnit.Framework; #endregion namespace PortableExtensions.Testing { [TestFixture] public partial class Int64ExTest { [Test] public void PercentageOfTestCase() { Int64 number = 1000; var expected = 500; var actua...
mit
C#
e7331305cfb472a768f188e2d91e3287a86f385d
Complete a bit of necessary but forgotten code cleanup.
stacybird/CS510CouchDB,stacybird/CS510CouchDB,stacybird/CS510CouchDB
CouchTrafficClient/QueryBase.cs
CouchTrafficClient/QueryBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using Newtonsoft.Json; using System.Windows.Forms; using System.Dynamic; namespace CouchTrafficClient { class QueryException : Exception { } class QueryBase { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using Newtonsoft.Json; using System.Windows.Forms; using System.Dynamic; namespace CouchTrafficClient { class QueryException : Exception { } class QueryBase { ...
apache-2.0
C#
a58f4f368edf8ce42a38af2ef3c66e7d3bd4e548
Increment version to 2.1.0
Coding-Enthusiast/Watch-Only-Bitcoin-Wallet
WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs
WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
3b465af516eb8494de7cac5b79c9ca494eca4051
Add comment
ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates
Source/ApiTemplate/Source/ApiTemplate/CustomJsonSerializerContext.cs
Source/ApiTemplate/Source/ApiTemplate/CustomJsonSerializerContext.cs
namespace ApiTemplate { using System.Text.Json.Serialization; using ApiTemplate.ViewModels; /// <summary> /// Enables faster serialization and de-serialization with fewer allocations by generating source code. /// </summary> [JsonSerializable(typeof(Car[]))] [JsonSerializable(typeof(Connect...
namespace ApiTemplate { using System.Text.Json.Serialization; using ApiTemplate.ViewModels; [JsonSerializable(typeof(Car[]))] [JsonSerializable(typeof(Connection<Car>[]))] [JsonSerializable(typeof(SaveCar[]))] public partial class CustomJsonSerializerContext : JsonSerializerContext { } ...
mit
C#
78e929fef78857c7019703daf3fb43cdbe022b06
Add push/pop matrix
JeremyAnsel/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit
Source/HelixToolkit.Wpf.SharpDX/Model/Elements2D/Abstract/Model2D.cs
Source/HelixToolkit.Wpf.SharpDX/Model/Elements2D/Abstract/Model2D.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Media = System.Windows.Media; using System.Windows; using SharpDX; namespace HelixToolkit.Wpf.SharpDX.Elements2D { using Core2D; public abstract class Model2D : Element2D, ITransformable2D...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Media = System.Windows.Media; using System.Windows; using SharpDX; namespace HelixToolkit.Wpf.SharpDX.Elements2D { using Core2D; public abstract class Model2D : Element2D, ITransformable2D...
mit
C#
ff071cb7a09e6906c6612437eb23c93e1905b96e
Test failed on integration. Trying to debug
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Tests.Integration.Presentation.Web/Security/ApiAccessibilityTests.cs
Tests.Integration.Presentation.Web/Security/ApiAccessibilityTests.cs
using System; using System.Net; using System.Threading.Tasks; using Core.DomainModel.Organization; using Tests.Integration.Presentation.Web.Tools; using Tests.Integration.Presentation.Web.Tools.Model; using Xunit; namespace Tests.Integration.Presentation.Web.Security { public class ApiAccessibilityTests : WithAut...
using System; using System.Net; using System.Threading.Tasks; using Core.DomainModel.Organization; using Tests.Integration.Presentation.Web.Tools; using Tests.Integration.Presentation.Web.Tools.Model; using Xunit; namespace Tests.Integration.Presentation.Web.Security { public class ApiAccessibilityTests : WithAut...
mpl-2.0
C#
49077b0f69c4aa1651d65db6537385f5f1587fc5
Add documentation for show airs.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowAirs.cs
Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowAirs.cs
namespace TraktApiSharp.Objects.Get.Shows { using Newtonsoft.Json; /// <summary>The air time of a Trakt show.</summary> public class TraktShowAirs { /// <summary>Gets or sets the day of week on which the show airs.</summary> [JsonProperty(PropertyName = "day")] public string Da...
namespace TraktApiSharp.Objects.Get.Shows { using Newtonsoft.Json; /// <summary> /// The air time of a Trakt show. /// </summary> public class TraktShowAirs { /// <summary> /// The day of week on which the show airs. /// </summary> [JsonProperty(PropertyName = "...
mit
C#
9cea63f3679d79afe5c85f54c47e212c9e2ca243
Remove delay test for CI for now
louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext
LanguageExt.Tests/DelayTests.cs
LanguageExt.Tests/DelayTests.cs
using LanguageExt; using static LanguageExt.Prelude; using System; using System.Reactive.Linq; using System.Threading; using Xunit; namespace LanguageExtTests { public class DelayTests { #if !CI [Fact] public void DelayTest1() { var span = TimeSpan.FromMilliseconds(500); ...
using LanguageExt; using static LanguageExt.Prelude; using System; using System.Reactive.Linq; using System.Threading; using Xunit; namespace LanguageExtTests { public class DelayTests { [Fact] public void DelayTest1() { var span = TimeSpan.FromMilliseconds(500); ...
mit
C#
c321ba5f787ff6743ab22fb8e75d6f0c37d06c42
Test to have json overall anser
xtremboy/studies
MicroServicesHelloWorld/CurrentDateTimeModule.cs
MicroServicesHelloWorld/CurrentDateTimeModule.cs
using System; using Nancy; namespace MicroServicesHelloWorld{ public class CurrentDateTimeModule: NancyModule { public CurrentDateTimeModule() { Get("/", _ => { var response = (Response)("\""+DateTime.UtcNow.ToString()+"\""); response.ContentType = "application/json"...
using System; using Nancy; namespace MicroServicesHelloWorld{ public class CurrentDateTimeModule: NancyModule { public CurrentDateTimeModule() { Get("/", _ => DateTime.UtcNow); } } }
mit
C#
ab38f9106f074d1d3a1e7438beb9013c18684130
Fix typo in the CbxBundle refactoring causing the bytecode to not get copied to exported projects.
blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon
Compiler/Wax/CbxBundleView.cs
Compiler/Wax/CbxBundleView.cs
using System.Collections.Generic; namespace Wax { public class CbxBundleView : JsonBasedObject { public string ByteCode { get { return this.GetString("byteCode"); } set { this.SetString("byteCode", value); } } public ResourceDatabase ResourceDB { get { return this.GetObject("resources")...
using System.Collections.Generic; namespace Wax { public class CbxBundleView : JsonBasedObject { public string ByteCode { get { return this.GetString("byteCode"); } set { this.SetString("byteCode", value); } } public ResourceDatabase ResourceDB { get { return this.GetObject("resources")...
mit
C#
90e29450f49ad19da53cf5c15233d03f2006988b
fix the test case no longer applying to the latest version of the Optional serializer
uwx/DSharpPlus,uwx/DSharpPlus
DSharpPlus.MSTest/TestJson.cs
DSharpPlus.MSTest/TestJson.cs
using DSharpPlus.Entities; using DSharpPlus.Net.Serialization; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; namespace DSharpPlus.Test { [TestClass] public class TestJson { [TestMethod] public void TestOptionalSerialization() { // ulong ...
using DSharpPlus.Entities; using DSharpPlus.Net.Serialization; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; namespace DSharpPlus.Test { [TestClass] public class TestJson { [TestMethod] public void TestOptionalSerialization() { // ulong ...
mit
C#
452f0517e72918cf541fb68bb0842adfc0bd38af
Improve the error message when GetValueFromEnumMember is unable to find the enum element
Jericho/CakeMail.RestClient
CakeMail.RestClient/Utilities/ExtensionMethods.cs
CakeMail.RestClient/Utilities/ExtensionMethods.cs
using System; using System.Linq; using System.Runtime.Serialization; namespace CakeMail.RestClient.Utilities { /// <summary> /// Various extension methods /// </summary> public static class ExtensionMethods { /// <summary> /// Convert a DateTime into a string that can be accepted by the CakeMail API. /// <...
using System; using System.Linq; using System.Runtime.Serialization; namespace CakeMail.RestClient.Utilities { /// <summary> /// Various extension methods /// </summary> public static class ExtensionMethods { /// <summary> /// Convert a DateTime into a string that can be accepted by the CakeMail API. /// <...
mit
C#
e0beff4f4bf42430b17fd7a6c8a4e29b360038e2
Fix a style error.
alldne/school,alldne/school
School/Lexer.cs
School/Lexer.cs
using System; using System.IO; namespace School { public class LexerException : Exception { public LexerException(string message) : base(message) { } } public abstract class Lexer { public const char EOF = '\x1a'; // represent end of file char public const int EOF_TYP...
using System; using System.IO; namespace School { public class LexerException : Exception { public LexerException(string message) : base(message) { } } public abstract class Lexer { public const char EOF = '\x1a'; // represent end of file char public const int EOF_TYP...
apache-2.0
C#
87792a862630ffe397e2ccbd2c98b000eb1a9a3b
Fix Extra GC Alloc
NewbieGameCoder/WaitForSecondsCache
WaitForSecondsCache.cs
WaitForSecondsCache.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class WaitForSecondsCache { const int unitSize = 8; const int cacheSize = 64; const int fractionalPartMultiplicand = 100; static LinkedList<int> cacheQueue = new LinkedList<int>(); static Dictionary<int, WaitFor...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class WaitForSecondsCache { const int unitSize = 8; const int cacheSize = 64; const int fractionalPartMultiplicand = 100; static LinkedList<int> cacheQueue = new LinkedList<int>(); static Dictionary<int, Stack<W...
mit
C#
1d972ac6e0793dc24d91bddcd32c59efc5b4a0b5
Comment out failing tests
schlos/denver-schedules-api,schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api
Schedules.API.Tests/Modules/ReminderTypesTests.cs
Schedules.API.Tests/Modules/ReminderTypesTests.cs
using NUnit.Framework; using System; using Nancy.Testing; using Schedules.API.Models; using System.Collections.Generic; namespace Schedules.API.Tests.Modules { [TestFixture()] public class ReminderTypesTests { Browser browser; [SetUp] public void SetUp() { browser = new Browser(new Custom...
using NUnit.Framework; using System; using Nancy.Testing; using Schedules.API.Models; using System.Collections.Generic; namespace Schedules.API.Tests.Modules { [TestFixture()] public class ReminderTypesTests { Browser browser; [SetUp] public void SetUp() { browser = new Browser(new Custom...
mit
C#
85bf9709157571d985222543d2ad95baf61f59b8
Make watermark darker
Dziemborowicz/Hourglass
Hourglass/WatermarkAdorner.cs
Hourglass/WatermarkAdorner.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; namespace Hourglass { public class WatermarkAdorner : Adorner { private r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; namespace Hourglass { public class WatermarkAdorner : Adorner { private r...
mit
C#
db52eec58f1eb9482632f0bced98410a371c66a8
Update CreatingSubtotals.cs
asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-sha...
Examples/CSharp/Data/Processing/CreatingSubtotals.cs
Examples/CSharp/Data/Processing/CreatingSubtotals.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Processing { public class CreatingSubtotals { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils....
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Processing { public class CreatingSubtotals { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflec...
mit
C#
0dcc0330608364f59ed2e8e9cd538d691b9840ec
Refactor Instruction.WriteTo
jonathanvdc/cs-wasm,jonathanvdc/cs-wasm
libwasm/Instructions/Instruction.cs
libwasm/Instructions/Instruction.cs
using System.IO; using System.Text; using Wasm.Binary; namespace Wasm.Instructions { /// <summary> /// Describes a WebAssembly stack machine instruction. /// </summary> public abstract class Instruction { /// <summary> /// Gets the operator for this instruction. /// </summar...
using System.IO; using System.Text; using Wasm.Binary; namespace Wasm.Instructions { /// <summary> /// Describes a WebAssembly stack machine instruction. /// </summary> public abstract class Instruction { /// <summary> /// Gets the operator for this instruction. /// </summar...
mit
C#
d269bcc0ac0ed97add2b159f109b1544d103eae1
Add a DebuggerDisplay attr
modulexcite/dnlib,Arthur2e5/dnlib,kiootic/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,picrap/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,yck1509/dnlib
src/DotNet/SimpleLazyList.cs
src/DotNet/SimpleLazyList.cs
using System.Diagnostics; namespace dot10.DotNet { /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">A <see cref="ICodedToken"/> type</typeparam> [DebuggerDisplay("Count = {Length}")] class SimpleLazyList<T> where T : class, IMDTokenProvider { [DebuggerBrows...
namespace dot10.DotNet { /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">A <see cref="ICodedToken"/> type</typeparam> class SimpleLazyList<T> where T : class, IMDTokenProvider { T[] elements; bool[] initialized; readonly MFunc<uint, T> readElementByRID; ...
mit
C#
c0a18312414f12d021e019a24f9d2f2e1f87d014
Update SkillController.cs
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.WebApp/Controllers/SkillsController.cs
NinjaHive.WebApp/Controllers/SkillsController.cs
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class SkillsController : Controller { private readonly IQueryPr...
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class SkillsController : Controller { private readonly IQueryPr...
apache-2.0
C#
257209b78de2cdde91212e1604126021bdc752e4
add assert to add test to empty tree
kusl/Tree
VisualTree/TreeLibraryTests/BinarySearchTreeTests.cs
VisualTree/TreeLibraryTests/BinarySearchTreeTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using TreeLibrary; namespace TreeLibraryTests { [TestClass] public class BinarySearchTreeTests { [TestMethod] public void CreateNullTree() { BinarySearchTree bst = new BinarySearchTree(); Assert.IsNull(bst....
using Microsoft.VisualStudio.TestTools.UnitTesting; using TreeLibrary; namespace TreeLibraryTests { [TestClass] public class BinarySearchTreeTests { [TestMethod] public void CreateNullTree() { BinarySearchTree bst = new BinarySearchTree(); Assert.IsNull(bst....
agpl-3.0
C#
01b47c1a7cec43cf23285cd68579a03143ebf063
Update BrowserTool.cs
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/UI/Avalonia/Dock/Tools/BrowserTool.cs
src/Core2D/UI/Avalonia/Dock/Tools/BrowserTool.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 DMC = Dock.Model.Controls; namespace Core2D.UI.Avalonia.Dock.Tools { /// <summary> /// Browser view. /// </summary> public class BrowserTool...
// 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 DMC=Dock.Model.Controls; namespace Core2D.UI.Avalonia.Dock.Tools { /// <summary> /// Browser view. /// </summary> public class BrowserTool :...
mit
C#
2bdd2d9d0dd273623246a8cef099cb0079bec364
add const helloworld
kuroblog/Helloworld
SourceCode/Helloworld/Helloworld.Basic/Program.cs
SourceCode/Helloworld/Helloworld.Basic/Program.cs
 namespace Helloworld.Basic { using System; class Program { private const string Helloworld = nameof(Helloworld); static void Main(string[] args) { Console.WriteLine(Helloworld); Console.ReadKey(); } } }
 namespace Helloworld.Basic { using System; class Program { static void Main(string[] args) { Console.WriteLine("Helloworld!"); Console.ReadKey(); } } }
mit
C#
346da57c108fdaa400de7647707b5cd6342f80c4
Add OnDelete and OnUpdate to the ForeignKey Clone method
modulexcite/fluentmigrator,DefiSolutions/fluentmigrator,daniellee/fluentmigrator,daniellee/fluentmigrator,lahma/fluentmigrator,tohagan/fluentmigrator,igitur/fluentmigrator,lahma/fluentmigrator,akema-fr/fluentmigrator,eloekset/fluentmigrator,KaraokeStu/fluentmigrator,bluefalcon/fluentmigrator,stsrki/fluentmigrator,IRlyD...
src/FluentMigrator/Model/ForeignKeyDefinition.cs
src/FluentMigrator/Model/ForeignKeyDefinition.cs
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
apache-2.0
C#
84bcca8920d0e472da6a385749f1e8def6aab523
Add Custom Error Page and Routing
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Global.asax.cs
Portal.CMS.Web/Global.asax.cs
using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Portal.CMS.Web { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(Rout...
using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Portal.CMS.Web { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(Rout...
mit
C#
6d0cc1f7706d3a720bda383e4071581ea51fc6ea
Remove GC debug setting
UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,Useless...
osu.Game/Overlays/Settings/Sections/Debug/GCSettings.cs
osu.Game/Overlays/Settings/Sections/Debug/GCSettings.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; namespace osu.Game.Overlays.Settings.Sections.Debug { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Runtime; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Configuration; using osu.Framework.Graphics; name...
mit
C#
595ff1db5965b3f57f0a3cb30d571a0fcbda9f76
add other sandbox params to form parser
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Parsers/FormBuilderTagParser.cs
src/StockportWebapp/Parsers/FormBuilderTagParser.cs
using System.Text.RegularExpressions; namespace StockportWebapp.Parsers { public class FormBuilderTagParser : ISimpleTagParser { private readonly TagReplacer _tagReplacer; protected Regex TagRegex => new("{{FORM:(.*)}}", RegexOptions.Compiled); public string GenerateHtml(string tagData...
using System.Text.RegularExpressions; namespace StockportWebapp.Parsers { public class FormBuilderTagParser : ISimpleTagParser { private readonly TagReplacer _tagReplacer; protected Regex TagRegex => new("{{FORM:(.*)}}", RegexOptions.Compiled); public string GenerateHtml(string tagData...
mit
C#
b5e3cc53888ccb9d71db0b9ee61b2f4b3c78b4a2
Remove logging of line start positions.
mrward/typescript-addin,chrisber/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin
src/TypeScriptBinding/Hosting/ScriptSnapshotShim.cs
src/TypeScriptBinding/Hosting/ScriptSnapshotShim.cs
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using Newtonsoft.Json; namespace ICSharpCode.TypeScriptBinding.Hosting { public class ScriptSnapshotShim : ISc...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using Newtonsoft.Json; namespace ICSharpCode.TypeScriptBinding.Hosting { public class ScriptSnapshotShim : ISc...
mit
C#
289839b47cca49fae0b9a8c65184345c31c556d7
hide next btn when no more pages
samilokan/csstemplatesforfree.com,victorantos/csstemplatesforfree.com,samilokan/csstemplatesforfree.com,victorantos/csstemplatesforfree.com
Views/App/CssTemplates.cshtml
Views/App/CssTemplates.cshtml
 <h3>css templates (page 1 of 31 )</h3> <nav> <ul class="pager"> <li class="previous"> <a href="/#!/csstemplates/{{(page > 0 ? 'page='+ (page-1): '')}}" ng-show="page > 1"><span aria-hidden="true">&larr;</span> Previous</a> </li> <li class="next"> <a href="/#!/csste...
 <h3>css templates (page 1 of 31 )</h3> <nav> <ul class="pager"> <li class="previous"> <a href="/#!/csstemplates/{{(page > 0 ? 'page='+ (page-1): '')}}" ng-show="page > 1"><span aria-hidden="true">&larr;</span> Previous</a> </li> <li class="next"> <a href="/#!/csste...
bsd-2-clause
C#
b5b078e813888fcb0d476c530f188bccf0e04256
Add missing NumericEncoding.cs file.
eylvisaker/AgateLib
AgateLib/Serialization/Xle/NumericEncoding.cs
AgateLib/Serialization/Xle/NumericEncoding.cs
// The contents of this file are subject to the Mozilla Public License // Version 1.1 (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.mozilla.org/MPL/ // // Software distributed under the License is dist...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AgateLib.Serialization.Xle { public enum NumericEncoding { Base64, Csv, } }
mit
C#
5beec19a4bdddb3c1e12bd4bb6ee18d3796e2730
Fix link name
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Units/List.cshtml
Battery-Commander.Web/Views/Units/List.cshtml
@model IEnumerable<Unit> <div class="page-header"> <h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1> </div> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th> <t...
@model IEnumerable<Unit> <div class="page-header"> <h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1> </div> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th> <t...
mit
C#
3ed53c9b28c5abdbc5d0de070d0d7bf337ebb7f5
Update storage assembly
AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/...
src/Storage/Commands.Storage/Properties/AssemblyInfo.cs
src/Storage/Commands.Storage/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apac...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apac...
apache-2.0
C#
1ffd16961e740be86be0ffa66ad9e3ba54f17efd
Fix typo.
congysu/WebApi,scz2011/WebApi,abkmr/WebApi,scz2011/WebApi,yonglehou/WebApi,abkmr/WebApi,lungisam/WebApi,yonglehou/WebApi,chimpinano/WebApi,lewischeng-ms/WebApi,lungisam/WebApi,LianwMS/WebApi,congysu/WebApi,lewischeng-ms/WebApi,LianwMS/WebApi,chimpinano/WebApi
src/System.Web.Http.Owin/HostAuthenticationAttribute.cs
src/System.Web.Http.Owin/HostAuthenticationAttribute.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; namespace System.Web.Http { /// <summary>Represents an authentication attribute that authentica...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; namespace System.Web.Http { /// <summary>Represents an authentication attribute that authentica...
mit
C#
889b48ad2e575b24b64e8ad876a81ffc7267289f
Remove whitespace to test how well Subversion works via GitHub.
smartfile/client-csharp
AssemblyInfo.cs
AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("SmartFileAPI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembl...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("SmartFileAPI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assemb...
bsd-3-clause
C#
cf3ba5fefbd71048b6200b9eb6201463ed7cc69a
fix null test for Player
MediaComplete/MediaComplete,MediaComplete/MediaComplete
MSOE.MediaComplete.Test/PlayerTest.cs
MSOE.MediaComplete.Test/PlayerTest.cs
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using MSOE.MediaComplete.Lib; using NAudio.Wave; namespace MSOE.MediaComplete.Test { [TestClass] public class PlayerTest { private readonly Player _player = Player.Instance; [TestInitialize] public ...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using MSOE.MediaComplete.Lib; using NAudio.Wave; namespace MSOE.MediaComplete.Test { [TestClass] public class PlayerTest { private readonly Player _player = Player.Instance; [TestInitialize] public ...
mit
C#
b18af75db847872936567e25007e96f0691e3093
Revert areas
MSPSpain/Website,pablovargan/Website,diegomrtnzg/Website,CodingFree/Website,CodingFree/Website,pablovargan/Website,MSPSpain/Website,MSPSpain/Website,pablovargan/Website,MSPSpain/Website,arcadiogarcia/Website,diegomrtnzg/Website,diegomrtnzg/Website,arcadiogarcia/Website,arcadiogarcia/Website,arcadiogarcia/Website,Coding...
MSPSpain.Web/App_Start/RouteConfig.cs
MSPSpain.Web/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace MSPSpain.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace MSPSpain.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
mit
C#
946cfb1cca5d6526f9386efab1c8744224b890d3
Update CreateTransparentImage.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell...
Examples/CSharp/Articles/CreateTransparentImage.cs
Examples/CSharp/Articles/CreateTransparentImage.cs
using System.IO; using Aspose.Cells; using Aspose.Cells.Rendering; using System.Drawing.Imaging; namespace Aspose.Cells.Examples.Articles { public class CreateTransparentImage { public static void Main() { //ExStart:1 // The path to the documents directory. ...
using System.IO; using Aspose.Cells; using Aspose.Cells.Rendering; using System.Drawing.Imaging; namespace Aspose.Cells.Examples.Articles { public class CreateTransparentImage { public static void Main() { // The path to the documents directory. string dataDir = Aspose....
mit
C#
19cc6a5e1dedca28c3b34cfee93dfe0237de780e
Update Credentials.cs
Developer-Autodesk/view.and.data-simplest-aspnet
FirstViewerWebApp/FirstViewerWebApp/Credentials.cs
FirstViewerWebApp/FirstViewerWebApp/Credentials.cs
namespace FirstViewerWebApp { public class Credentials { //replace your consumer key and secret key public static string CONSUMER_KEY = "please request your consumer key at http://developer.autodesk.com"; public static string CONSUMER_SECRET = "not set"; public static string BASE_URL = "http...
namespace FirstViewerWebApp { public class Credentials { //replace your consumer key and secret key public static string CONSUMER_KEY = "Cxv0RgtyfH2J1sJrnrKcwSBRXRmhagY6";//"please request your consumer key at http://developer.autodesk.com"; public static string CONSUMER_SECRET = "F5c49994f13e843...
mit
C#
50247ceea71fc6afa4ac86ef14f2f4c9a8467266
Fix build
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Server/Web/Structures/CurrentState.cs
Server/Web/Structures/CurrentState.cs
using Server.Context; using Server.System; using System; using System.Collections.Generic; using System.Linq; namespace Server.Web.Structures { public class CurrentState { public DateTime StartTime { get; set; } public List<string> CurrentPlayers { get; } = new List<string>(); public L...
using Server.Context; using Server.System; using System; using System.Collections.Generic; using System.Linq; namespace Server.Web.Structures { public class CurrentState { public DateTime StartTime { get; set; } public List<string> CurrentPlayers { get; } = new List<string>(); public L...
mit
C#
e161fb062f954deed5d413e3863aa924c70f48f4
Add Diana Prince (Wonder Woman)
jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox
ZirMed.TrainingSandbox/Views/Home/Contact.cshtml
ZirMed.TrainingSandbox/Views/Home/Contact.cshtml
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
mit
C#
22daafe1a635c817f1eef83c6d49d029113b98aa
Format InvalidationBatch
carbon/Amazon
src/Amazon.CloudFront/Models/InvalidationBatch.cs
src/Amazon.CloudFront/Models/InvalidationBatch.cs
using System; using System.Collections.Generic; using System.Xml.Linq; namespace Amazon.CloudFront { public sealed class InvalidationBatch { public InvalidationBatch(IList<string> paths) { if (paths is null) throw new ArgumentNullException(nameof(paths)); if (paths.Count == 0) thro...
using System; using System.Collections.Generic; using System.Xml.Linq; namespace Amazon.CloudFront { public class InvalidationBatch { public InvalidationBatch(IList<string> paths) { if (paths == null) throw new ArgumentNullException(nameof(paths)); if (paths.Count == 0) throw new ArgumentExce...
mit
C#
3873dbf54a1bfba15e6d3231f627f415c2c13f95
Hide some of the controller links that aren't finished
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Shared/_Layout.cshtml
BatteryCommander.Web/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Battery Commander</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-inverse...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Battery Commander</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-inverse...
mit
C#
0dac63856ef86d1e76bb86932b1802967c70acc8
reorder handlers for cors failed auth attempts
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.API/App_Start/HandlerConfig.cs
WebAPI.API/App_Start/HandlerConfig.cs
using System.Collections.ObjectModel; using System.Net.Http; using Ninject; using WebAPI.API.App_Start; using WebAPI.API.Handlers.Delegating; namespace WebAPI.API { public static class HandlerConfig { /// <summary> /// Registers the handlers in the order they appear. /// </summary> ...
using System.Collections.ObjectModel; using System.Net.Http; using Ninject; using WebAPI.API.App_Start; using WebAPI.API.Handlers.Delegating; namespace WebAPI.API { public static class HandlerConfig { /// <summary> /// Registers the handlers in the order they appear. /// </summary> ...
mit
C#
53f01e7562fa0770b4a2d67ded326dc6dd9e743b
Add ContentType.Clean(doc) to remove empty Content Types
Squirrel/Squirrel.Windows,JonMartinTx/AS400Report,GeertvanHorrik/Squirrel.Windows,bowencode/Squirrel.Windows,Squirrel/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,jochenvangasse/Squirrel.Windows,JonMartinTx/AS400Report,NeilSorensen/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,BloomBooks/Squirrel.Windows,NeilSor...
src/Squirrel/ContentType.cs
src/Squirrel/ContentType.cs
using System; using System.Linq; using System.Xml; namespace Squirrel { internal static class ContentType { public static void Clean(XmlDocument doc) { var typesElement = doc.FirstChild.NextSibling; if (typesElement.Name.ToLowerInvariant() != "types") { t...
using System; using System.Linq; using System.Xml; namespace Squirrel { internal static class ContentType { public static void Merge(XmlDocument doc) { var elements = new [] { Tuple.Create("Default", "diff", "application/octet" ), Tuple.Create("Defaul...
mit
C#
f4bc0973232b9a159390a85300788a78637dbe00
Remove unused field (win)
codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop
src/ui/windows/TogglDesktop/TogglDesktop/AboutWindowController.cs
src/ui/windows/TogglDesktop/TogglDesktop/AboutWindowController.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; namespace TogglDesktop { public partial class AboutWindowCont...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; namespace TogglDesktop { public partial class AboutWindowCont...
bsd-3-clause
C#
821556e392c8bf735e4aceab4a6c40af70e96f32
Fix Sample
yamachu/Mastodot
example/Program.cs
example/Program.cs
using System; using Mastodot; using Mastodot.Enums; using Mastodot.Utils; using Mastodot.Entities; using System.Reactive.Linq; namespace example { class Program { static void Main(string[] args) { var main = new Program(); /* Create and get AccessToken to connect Mastod...
using System; using Mastodot; using Mastodot.Enums; using Mastodot.Utils; using Mastodot.Entities; using System.Reactive.Linq; namespace example { class Program { static void Main(string[] args) { var main = new Program(); /* Create and get AccessToken to connect Mastod...
mit
C#
9ad09395189497a660e243f90f01751f1c1d2d80
Update EmotibleViewModel to Update fields in proper order.
runewake2/LetsMakeAnApp
Emotible/Emotible/ViewModels/EmotibleViewModel.cs
Emotible/Emotible/ViewModels/EmotibleViewModel.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Core; using Emotible.Layout; using Emotible.Model; namespace Emotible.ViewModels { public class EmotibleViewModel : BaseViewModel { ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Core; using Emotible.Layout; using Emotible.Model; namespace Emotible.ViewModels { public class EmotibleViewModel : BaseViewModel { ...
mit
C#
bf12ec8bacf4d0b75c19a1ae096c0e17054cf334
improve the EnumerateTestCommands method.
jwChung/Experimentalism,jwChung/Experimentalism
src/Experiment/NaiveFirstClassTheoremAttribute.cs
src/Experiment/NaiveFirstClassTheoremAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xunit; using Xunit.Sdk; namespace Jwc.Experiment { /// <summary> /// A test attribute used to adorn methods that creates first-class /// executable test cases. /// </summary> public class NaiveFirstC...
using System; using System.Collections.Generic; using System.Linq; using Xunit; using Xunit.Sdk; namespace Jwc.Experiment { /// <summary> /// A test attribute used to adorn methods that creates first-class /// executable test cases. /// </summary> public class NaiveFirstClassTheoremAttribute : Fa...
mit
C#
f3a83fe13a87c35effe0b64f8adec183ef1f7205
Fix bad merge
grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,JetBrains/ReSharperGallery,KuduApps/NuGetGallery,KuduApps/NuGetGallery,KuduApps/NuGetGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,mtia...
Website/Services/TestableStorageClientException.cs
Website/Services/TestableStorageClientException.cs
using System; using Microsoft.WindowsAzure.Storage; namespace NuGetGallery { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable", Justification = "This is for unit tests only.")] public class TestableStorageClientException : Exception { ...
using System; using System.Net; using Microsoft.WindowsAzure.Storage; namespace NuGetGallery { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable", Justification="This is for unit tests only.")] public class TestableStorageClientException : Excep...
apache-2.0
C#
9423164f8b44e13390b2ce78d8e69b1501bc2bb4
Fix syntax error.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
game/client/ui/shell/shell.cs
game/client/ui/shell/shell.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ //--------------------------------------------------------------------------...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ //--------------------------------------------------------------------------...
lgpl-2.1
C#
b9bc86b43a0d31f7f4d437b1de45b1e85c868c6c
Add disposal tracking for TempRoot
DustinCampbell/roslyn,gafter/roslyn,genlu/roslyn,AlekseyTs/roslyn,nguerrera/roslyn,xasx/roslyn,tmeschter/roslyn,aelij/roslyn,bartdesmet/roslyn,KirillOsenkov/roslyn,OmarTawfik/roslyn,diryboy/roslyn,physhi/roslyn,orthoxerox/roslyn,aelij/roslyn,Hosch250/roslyn,bkoelman/roslyn,jmarolf/roslyn,tmat/roslyn,cston/roslyn,jasonm...
src/Test/Utilities/Portable/TempFiles/TempRoot.cs
src/Test/Utilities/Portable/TempFiles/TempRoot.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.IO; using System.Runtime.CompilerServices; namespace Microsoft.CodeAnalysis.Test.Utilities {...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.IO; using System.Runtime.CompilerServices; namespace Microsoft.CodeAnalysis.Test.Utilities {...
mit
C#
1bd9273a9568d36f13914a24945690afd3ef144d
Throw better exception for invalid interfaces
krytarowski/corert,sandreenko/corert,yizhang82/corert,krytarowski/corert,gregkalapos/corert,krytarowski/corert,botaberg/corert,tijoytom/corert,tijoytom/corert,shrah/corert,sandreenko/corert,shrah/corert,shrah/corert,botaberg/corert,yizhang82/corert,sandreenko/corert,botaberg/corert,gregkalapos/corert,tijoytom/corert,bo...
src/Common/src/TypeSystem/Ecma/EcmaType.Interfaces.cs
src/Common/src/TypeSystem/Ecma/EcmaType.Interfaces.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Reflection; using System.Reflection.Metadata; using System.Threading; using Debug = Syste...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Reflection; using System.Reflection.Metadata; using System.Threading; using Debug = Syste...
mit
C#
d674e441052de1e831d8c8dba350241d024ea95f
Add .net workaround
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/Utilities/TypeCacheUtility.cs
Assets/MixedRealityToolkit/Utilities/TypeCacheUtility.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// Utility class to store subclasses of ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// Utility class to store subclasses of ...
mit
C#
476070a39aebb6a30ff53f9aa48497b36d7bd5f6
Fix issue where player input didn't respond well to low FPS (slower movement)
futurechris/zombai
Assets/Scripts/Models/Behaviors/PlayerControlBehavior.cs
Assets/Scripts/Models/Behaviors/PlayerControlBehavior.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlayerControlBehavior : AgentBehavior { // Get keyboard/touch input and convert it into a "plan" public override bool updatePlan(List<AgentPercept> percepts, int allottedWorkUnits) { if(_myself.MoveInUse) { return fal...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlayerControlBehavior : AgentBehavior { // Get keyboard/touch input and convert it into a "plan" public override bool updatePlan(List<AgentPercept> percepts, int allottedWorkUnits) { if(_myself.MoveInUse) { return fal...
mit
C#
d2f172974568ab7269575bbc846706e9623b63df
Update AttributeSettingsAttribute.TargetAttributeType to use FirstOrDefault method instead of SingleOrDefault
YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata
src/Atata/Attributes/AttributeSettingsAttribute.cs
src/Atata/Attributes/AttributeSettingsAttribute.cs
using System; using System.Linq; namespace Atata { /// <summary> /// Represents the base attribute settings class for other attributes. /// </summary> public abstract class AttributeSettingsAttribute : MulticastAttribute { /// <summary> /// Gets or sets the target attribute types. ...
using System; using System.Linq; namespace Atata { /// <summary> /// Represents the base attribute settings class for other attributes. /// </summary> public abstract class AttributeSettingsAttribute : MulticastAttribute { /// <summary> /// Gets or sets the target attribute types. ...
apache-2.0
C#
cd5616f85d2c03878792b74084ff181107c6551c
Remove unnecessary css class
Kentico/Mvc,Kentico/Mvc,Kentico/Mvc
src/DancingGoat/Views/Contacts/_SocialLinks.cshtml
src/DancingGoat/Views/Contacts/_SocialLinks.cshtml
@model IEnumerable<CMS.DocumentEngine.Types.SocialLink> @foreach (var link in Model) { <a class="followus-link" href="@link.Fields.Url" target="_blank"> @Html.AttachmentImage(link.Fields.Icon, link.Fields.Title) </a> }
@model IEnumerable<CMS.DocumentEngine.Types.SocialLink> @foreach (var link in Model) { <a class="followus-link" href="@link.Fields.Url" target="_blank"> @Html.AttachmentImage(link.Fields.Icon, link.Fields.Title, "cafe-image-tile-image") </a> }
mit
C#
a9447bab38eb112ac76af96b33a21a4427fb20ba
Fix a bug in form options
fredatgithub/WinFormTemplate
WinFormTemplate/FormOptions.cs
WinFormTemplate/FormOptions.cs
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
mit
C#
000ea711a63ccbc3af905c834d9254fa935ec6f9
Fix indentation
MarcBruins/FSCalendar-Xamarin-iOS
FSCalendar/LinkWith.cs
FSCalendar/LinkWith.cs
using ObjCRuntime; [assembly: LinkWith("libFSCalendar.a", LinkTarget.Arm64 | LinkTarget.ArmV7 | LinkTarget.Simulator | LinkTarget.Simulator64, Frameworks = "UIKit Foundation CoreGraphics", SmartLink = true, ForceLoad = true, LinkerFlags = "-ObjC -fobjc-arc")]
using ObjCRuntime; [assembly: LinkWith("libFSCalendar.a", LinkTarget.Arm64 | LinkTarget.ArmV7 | LinkTarget.Simulator | LinkTarget.Simulator64, Frameworks = "UIKit Foundation CoreGraphics", SmartLink = true, ForceLoad = true, LinkerFlags = "-ObjC -fobjc-arc")]
mit
C#
4ad2ce348f379d2bb34c0d7656e7076da98819e0
Change GetDealershipIdByName to GetDealershipByName in IDealershipService.
transactionCompleteDB/MAutoSS,transactionCompleteDB/MAutoSS
MAutoSS/MAutoSS.Services/Contracts/IDealershipService.cs
MAutoSS/MAutoSS.Services/Contracts/IDealershipService.cs
using System.Collections.Generic; using MAutoSS.DataModels; namespace MAutoSS.Services.Contracts { public interface IDealershipService { IEnumerable<Dealership> GetAllDealerships(); IEnumerable<string> GetAllDealershipsNames(); Dealership GetAllDealershipById(int id); Deale...
using System.Collections.Generic; using MAutoSS.DataModels; namespace MAutoSS.Services.Contracts { public interface IDealershipService { IEnumerable<Dealership> GetAllDealerships(); IEnumerable<string> GetAllDealershipsNames(); Dealership GetDealershipIdByName(string name); ...
mit
C#
804eb8c4b7dea93f4285473fb32411f78da6f7dd
Use exception filter attribute
GAnatoliy/geochallenger,GAnatoliy/geochallenger
GeoChallenger.Web.Api/Filters/ExceptionFilter.cs
GeoChallenger.Web.Api/Filters/ExceptionFilter.cs
using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; using NLog; namespace GeoChallenger.Web.Api.Filters { public class ExceptionFilter : ExceptionFilterAttribute { private readonly ILogger _log ...
using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; using NLog; namespace GeoChallenger.Web.Api.Filters { public class ExceptionFilter : IExceptionFilter { private readonly ILogger _log = LogMan...
mit
C#
a813fae21ab47ffa7774590dbc9852a5eefe43c2
add events to TccWindow class
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Windows/TccWindow.cs
TCC.Core/Windows/TccWindow.cs
using System; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Animation; namespace TCC.Windows { public class TccWindow : Window { public event Action Hidden; public event Action Showed; public void HideWindow() { ...
using System; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Animation; namespace TCC.Windows { public class TccWindow : Window { public void HideWindow() { var a = new DoubleAnimation(1, 0, TimeSpan.FromMilliseconds(150))...
mit
C#
37f0566507a3c082b707ff3a0aa8c451d406fa21
Switch back to GTK2 for now
illblew/TrueCraft,SirCmpwn/TrueCraft,flibitijibibo/TrueCraft,SirCmpwn/TrueCraft,SirCmpwn/TrueCraft,flibitijibibo/TrueCraft,flibitijibibo/TrueCraft,illblew/TrueCraft,illblew/TrueCraft
TrueCraft.Launcher/Program.cs
TrueCraft.Launcher/Program.cs
using System; using Xwt; using System.Threading; using System.Net; using TrueCraft.Core; namespace TrueCraft.Launcher { class Program { public static LauncherWindow Window { get; set; } [STAThread] public static void Main(string[] args) { if (RuntimeInfo.IsLinux) ...
using System; using Xwt; using System.Threading; using System.Net; using TrueCraft.Core; namespace TrueCraft.Launcher { class Program { public static LauncherWindow Window { get; set; } [STAThread] public static void Main(string[] args) { if (RuntimeInfo.IsLinux) ...
mit
C#
f76fa53e6fadfb9e71caf84022b9ceccf148aa5e
Fix after merge
github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity
src/UnitTests/Repository/RepositoryManagerTests.cs
src/UnitTests/Repository/RepositoryManagerTests.cs
using System.Threading; using GitHub.Unity; using NSubstitute; using NUnit.Framework; namespace UnitTests { [TestFixture] class RepositoryManagerTests { [Test, Ignore()] public void InitialTest() { NPathFileSystemProvider.Current = Substitute.For<IFileSystem>(); ...
using System.Threading; using GitHub.Unity; using NSubstitute; using NUnit.Framework; namespace UnitTests { [TestFixture] class RepositoryManagerTests : TestBase { [Test, Ignore()] public void InitialTest() { NPathFileSystemProvider.Current = Substitute.For<IFileSystem>(...
mit
C#
39cc6a8a83edd43f79079da1eaa81a82ea637303
Add label to the node colour key explaining what it is
willb611/SlimeSimulation
SlimeSimulation/View/WindowComponent/NodeHighlightKey.cs
SlimeSimulation/View/WindowComponent/NodeHighlightKey.cs
using Gtk; using SlimeSimulation.Controller.WindowComponentController; namespace SlimeSimulation.View.WindowComponent { public class NodeHighlightKey { public Widget GetVisualKey() { VBox key = new VBox(true, 10); key.Add(new Label("Node colour key")); var ...
using Gtk; using SlimeSimulation.Controller.WindowComponentController; namespace SlimeSimulation.View.WindowComponent { public class NodeHighlightKey { public Widget GetVisualKey() { VBox key = new VBox(true, 10); HBox sourcePart = new HBox(true, 10); source...
apache-2.0
C#
ef29905f217f4a8c72b2ccab1822bd9f8e08db5a
Remove bad test
ToJans/JabbR,mogulTest1/Project13231109,Createfor1322/jessica0122-1322,kudustress/JabbR,SonOfSam/JabbR,CrankyTRex/JabbRMirror,LookLikeAPro/JabbR,KuduautomationGithubOrganization/JabbrInitialSuccess,huanglitest/JabbRTest2,clarktestkudu1029/test08jabbr,MogulTestOrg/JabbrApp,kudupublic/test0704jabbr,mogulTest1/Project1316...
JabbR.Test/ChatTest.cs
JabbR.Test/ChatTest.cs
using System.Security.Principal; using System.Web; using JabbR.Models; using Moq; using SignalR; using SignalR.Hubs; using Xunit; namespace JabbR.Test { public class ChatTest { [Fact] public void JoinReturnsFalseIfNoCookies() { var repository = new InMemoryRepository(); ...
using System.Security.Principal; using System.Web; using JabbR.Models; using Moq; using SignalR; using SignalR.Hubs; using Xunit; namespace JabbR.Test { public class ChatTest { [Fact] public void JoinReturnsFalseIfNoCookies() { var repository = new InMemoryRepository(); ...
mit
C#
2afd29e9c879ce0693f96d85dcd373ceda21d043
Use existing OnDataContextChanged method.
wieslawsoltes/Perspex,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,jko...
src/Avalonia.ReactiveUI/ReactiveUserControl.cs
src/Avalonia.ReactiveUI/ReactiveUserControl.cs
using System; using System.Reactive.Disposables; using System.Reactive.Linq; using Avalonia; using Avalonia.VisualTree; using Avalonia.Controls; using ReactiveUI; namespace Avalonia.ReactiveUI { /// <summary> /// A ReactiveUI <see cref="UserControl"/> that implements the <see cref="IViewFor{TViewModel}"/> inte...
using System; using System.Reactive.Disposables; using System.Reactive.Linq; using Avalonia; using Avalonia.VisualTree; using Avalonia.Controls; using ReactiveUI; namespace Avalonia.ReactiveUI { /// <summary> /// A ReactiveUI <see cref="UserControl"/> that implements the <see cref="IViewFor{TViewModel}"/> inte...
mit
C#
077655a422a7978220d2964f3dc2c7a99d413d01
Fix Android
larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,u...
SetupWizard/AndroidNetworkTroubleshootingPage.cs
SetupWizard/AndroidNetworkTroubleshootingPage.cs
/* Copyright (c) 2016, Kevin Pope, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and th...
/* Copyright (c) 2016, Kevin Pope, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and th...
bsd-2-clause
C#
8a407a868688223504e194d168ddde2d56b13182
Update summary
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Src/Nager.Date/PublicHolidays/EstoniaProvider.cs
Src/Nager.Date/PublicHolidays/EstoniaProvider.cs
using Nager.Date.Contract; using Nager.Date.Model; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { /// <summary> /// Estonia /// https://en.wikipedia.org/wiki/Public_holidays_in_Estonia /// </summary> public class EstoniaProvider : IPublicHolidayProvider ...
using Nager.Date.Contract; using Nager.Date.Model; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { /// <summary> /// Estonia /// https://en.wikipedia.org/wiki/Public_holidays_in_Estonia /// </summary> public class EstoniaProvider : IPublicHolidayProvider ...
mit
C#
43965cfae722352e41c01d82b3baf23f94915274
Simplify TestLayer
charlenni/Mapsui,charlenni/Mapsui
Tests/Mapsui.Tests.Common/TestTools/TestLayer.cs
Tests/Mapsui.Tests.Common/TestTools/TestLayer.cs
using Mapsui.Extensions; using Mapsui.Layers; using Mapsui.Providers; using Mapsui.Styles; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mapsui.Tests.Common.TestTools { /// <summary> /// This layer calls the DataSource directly fr...
using Mapsui.Extensions; using Mapsui.Layers; using Mapsui.Providers; using Mapsui.Styles; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mapsui.Tests.Common.TestTools { /// <summary> /// This layer calls the DataSource directly fr...
mit
C#
8a7bf6adb5ba00d073b7ef8e9141288b5b10e948
Fix possible NRE in SpaceCleaner
Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fom...
UnityProject/Assets/Scripts/Tool/SpaceCleaner.cs
UnityProject/Assets/Scripts/Tool/SpaceCleaner.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; [RequireComponent(typeof(Pickupable))] public class SpaceCleaner : NetworkBehaviour, ICheckedInteractable<AimApply> { public int travelDistance = 6; private float travelTime => 1f / travelDistance; [Seriali...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; [RequireComponent(typeof(Pickupable))] public class SpaceCleaner : NetworkBehaviour, ICheckedInteractable<AimApply> { public int travelDistance = 6; public ReagentContainer reagentContainer; private float travelTime => 1f ...
agpl-3.0
C#
f1fa5e7c20a55a77ce5be9680a13585b4a47a340
Clean up server code
explunit/crypto-pitfalls
VulnServer1/Controllers/TransactionController.cs
VulnServer1/Controllers/TransactionController.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Web.Http; using Utils; namespace VulnServer1.Controllers { public struct TransactionResult { public string Status; publ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Web.Http; using Utils; namespace VulnServer1.Controllers { public struct TransactionResult { public string Status; publ...
mit
C#
4f88f0950c53dfe5898ca5d24c319f2d1b017eea
Allow null next middleware
bryceg/Owin.WebSocket
src/Owin.WebSocket/WebSocketConnectionMiddleware.cs
src/Owin.WebSocket/WebSocketConnectionMiddleware.cs
using System.Collections.Generic; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.Owin; using Microsoft.Practices.ServiceLocation; using System; namespace Owin.WebSocket { public class WebSocketConnectionMiddleware<T> : OwinMiddleware where T : WebSocketConnection ...
using System.Collections.Generic; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.Owin; using Microsoft.Practices.ServiceLocation; using System; namespace Owin.WebSocket { public class WebSocketConnectionMiddleware<T> : OwinMiddleware where T : WebSocketConnection ...
mit
C#
de0e35bf95e5edd08c49eebfb2dcbaafce2de728
Unify formatting
PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination
test/Pioneer.Pagination.Tests/ControlTextTests.cs
test/Pioneer.Pagination.Tests/ControlTextTests.cs
using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace Pioneer.Pagination.Tests { public class ControlTextTests { private readonly PioneerPaginationTagHelper _sut = new PioneerPaginationTagHelper(); priv...
using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace Pioneer.Pagination.Tests { public class ControlTextTests { private readonly PioneerPaginationTagHelper _sut = new PioneerPaginationTagHelper(); priv...
mit
C#
ef97758c750133aa390cee32784aa1326c6819cc
Update needs to be mapped before create so that post overrides get a chance to work. Closes gh-3
restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing
src/RestfulRouting/Mappings/ResourceMapping.cs
src/RestfulRouting/Mappings/ResourceMapping.cs
using System.Linq; using System.Web.Routing; namespace RestfulRouting.Mappings { public class ResourceMapping<TController> : Mapping { private RouteNames _names; private ResourceMapper _resourceMapper; public ResourceMapping(RouteNames names, ResourceMapper resourceMapper) { _names = names; Resourc...
using System.Linq; using System.Web.Routing; namespace RestfulRouting.Mappings { public class ResourceMapping<TController> : Mapping { private RouteNames _names; private ResourceMapper _resourceMapper; public ResourceMapping(RouteNames names, ResourceMapper resourceMapper) { _names = names; Resourc...
mit
C#
52afa42186494f14d0eeb633dac4673154085bee
update dispose pattern implementation
vladkol/MixedRealityToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/Services/BaseService.cs
Assets/MixedRealityToolkit/Services/BaseService.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; namespace Microsoft.MixedReality.Toolkit.Core.Services { /// <summary> /// The base service implements <see cref="Interfaces.IMixedRealityServ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; namespace Microsoft.MixedReality.Toolkit.Core.Services { /// <summary> /// The base service implements <see cref="Interfaces.IMixedRealityServ...
mit
C#
fe4d5c3d6f7abda2c37e56e39d846239a3ceb981
remove an extra slash in front of //api
ronin1/urbanairsharp
src/UrbanAirSharp/Request/ChannelTagRequest.cs
src/UrbanAirSharp/Request/ChannelTagRequest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UrbanAirSharp.Dto; using UrbanAirSharp.Request.Base; using UrbanAirSharp.Response; namespace UrbanAirSharp.Request { public class ChannelTagRequest : PostRequest<BaseResponse, TagOperation> { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UrbanAirSharp.Dto; using UrbanAirSharp.Request.Base; using UrbanAirSharp.Response; namespace UrbanAirSharp.Request { public class ChannelTagRequest : PostRequest<BaseResponse, TagOperation> { ...
mit
C#
59e39b7890d698b7b5d67c975dbc0e552d3b4b08
Add shipment for physical goods
conekta/conekta-.net
src/conekta/conekta/Models/Details.cs
src/conekta/conekta/Models/Details.cs
using System; using System.Collections.Generic; namespace conekta { public class Details { public string name { get; set; } public string phone { get; set; } public string email { get; set; } public Customer customer { get; set; } public List<LineItem> line_items { get; set; } public BillingAddress bill...
using System; using System.Collections.Generic; namespace conekta { public class Details { public string name { get; set; } public string phone { get; set; } public string email { get; set; } public Customer customer { get; set; } public List<LineItem> line_items { get; set; } public BillingAddress bill...
mit
C#
5fcf4b5c24e6fad424a2af777a96977c18770fbd
Remove set property from IAsset.Name
lucas-miranda/Raccoon
Raccoon/Core/IAsset.cs
Raccoon/Core/IAsset.cs
using System.IO; namespace Raccoon { public interface IAsset : System.IDisposable { string Name { get; } //string Filename { get; } string[] Filenames { get; } bool IsDisposed { get; } void Reload(); void Reload(Stream stream); } }
using System.IO; namespace Raccoon { public interface IAsset : System.IDisposable { string Name { get; set; } //string Filename { get; } string[] Filenames { get; } bool IsDisposed { get; } void Reload(); void Reload(Stream stream); } }
mit
C#
61d4d437242614b9044ff046ea073ed13cf90d27
Update MassRenameChildren.cs
UnityCommunity/UnityLibrary
Assets/Scripts/Editor/BatchTools/MassRenameChildren.cs
Assets/Scripts/Editor/BatchTools/MassRenameChildren.cs
// Renames child gameobjects in hierarchy (by replacting strings) // open wizard from GameObject/MassRenameChildren menu item using UnityEditor; using UnityEngine; namespace UnityLibrary { public class MassRenameChildren : ScriptableWizard { public string findString = ""; public string replace...
// Renames child gameobjects in hierarchy (by replacting strings) // open wizard from GameObject/MassRenameChildren menu item using UnityEditor; using UnityEngine; namespace UnityLibrary { public class MassRenameChildren : ScriptableWizard { public string findString = ""; public string replace...
mit
C#