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 |
|---|---|---|---|---|---|---|---|---|
467444fd7a95748a95260a394cf66cf825891694 | Remove the training link | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Navbar.cshtml | input/_Navbar.cshtml | @{
var pages = new Dictionary<string, string>
{
{ "Blog", Context.GetLink("blog") },
{ "Book", Context.GetLink("book") },
{ "Documentation", Context.GetLink("docs") },
{ "Extensions", Context.GetLink("reactive-extensions") },
{ "API", Context.GetLink("api") },
{ "... | @{
var pages = new Dictionary<string, string>
{
{ "Blog", Context.GetLink("blog") },
{ "Training", Context.GetLink("training") },
{ "Book", Context.GetLink("book") },
{ "Documentation", Context.GetLink("docs") },
{ "Extensions", Context.GetLink("reactive-extensions") },
... | mit | C# |
fac20769c369ee682eef20808cf0e3e1fdc40aea | Fix SandBox.LoginPost redirect issue (empty ReturnUrl). | ianbattersby/Simple.Http,markrendle/Simple.Web,markrendle/Simple.Web,markrendle/Simple.Web,ianbattersby/Simple.Http,ianbattersby/Simple.Http | src/Sandbox/LoginPost.cs | src/Sandbox/LoginPost.cs | namespace Sandbox
{
using System;
using Models;
using Simple.Web;
using Simple.Web.Authentication;
using Simple.Web.Behaviors;
using Simple.Web.Helpers;
[UriTemplate("/login")]
public class LoginPost : IPost<Login>, ILogin
{
private static readonly Guid MarkGuid... | namespace Sandbox
{
using System;
using Models;
using Simple.Web;
using Simple.Web.Authentication;
using Simple.Web.Behaviors;
using Simple.Web.Helpers;
[UriTemplate("/login")]
public class LoginPost : IPost<Login>, ILogin
{
private static readonly Guid MarkGuid... | mit | C# |
88642323010d16b48740d178e53cd6342c58f113 | Add http.host and http.path annotations | criteo/zipkin4net,criteo/zipkin4net | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
using Criteo.Profiling.Tracing.Utils;
using Microsoft.AspNetCore.Http.Extensions;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuil... | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
using Criteo.Profiling.Tracing.Utils;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
... | apache-2.0 | C# |
e3274ed908492ff478076da270c6ba1071b27034 | Make translation work with inheritance | pdfforge/translatable | Source/TranslationTest/MainWindowTranslation.cs | Source/TranslationTest/MainWindowTranslation.cs | namespace Translatable.TranslationTest
{
public class MainWindowTranslation : ITranslatable
{
protected IPluralBuilder PluralBuilder { get; set; } = new DefaultPluralBuilder();
public string Title { get; protected set; } = "Main window title";
public string SampleText { get; protected... | namespace Translatable.TranslationTest
{
public class MainWindowTranslation : ITranslatable
{
private IPluralBuilder PluralBuilder { get; set; } = new DefaultPluralBuilder();
public string Title { get; private set; } = "Main window title";
public string SampleText { get; private set; ... | mit | C# |
65a405346b9549858fd2ad25bd4a6040dec89132 | Update RunPoolingSystem.cs | cdrandin/Simple-Object-Pooling | Source/RunPoolingSystem.cs | Source/RunPoolingSystem.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class RunPoolingSystem : MonoBehaviour
{
public bool test;
public List<GameObject> objects_to_pool;
public List<GameObject> objects_in_the_pool;
// Use this for initialization
void Start ()
{
}
// Update is called on... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class RunPoolingSystem : MonoBehaviour
{
public List<GameObject> objects_to_pool;
public List<GameObject> objects_in_the_pool;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void U... | mit | C# |
f1fa3c6c5608026a50a035dc8189788ac518e219 | Update SynologyConnectionSettings.cs | DotNetDevs/Synology,DotNetDevs/Synology | Synology/Settings/SynologyConnectionSettings.cs | Synology/Settings/SynologyConnectionSettings.cs | using Synology.Interfaces;
namespace Synology.Settings
{
public class SynologyConnectionSettings : ISynologyConnectionSettings
{
public string WebApiUrl { get; }
public string Username { get; }
public string Password { get; }
public string BaseHost { get; }
public bool ... | using Synology.Interfaces;
namespace Synology.Settings
{
public class SynologyConnectionSettings : ISynologyConnectionSettings
{
public string WebApiUrl { get; }
public string Username { get; }
public string Password { get; }
public string BaseHost { get; }
public bool ... | apache-2.0 | C# |
7ed124fe88aff9d6a5ca3a7a18fc7657bb7b0bfe | Fix assembly load bug. | terry-u16/MaterialChartPlugin | MaterialChartPlugin/MaterialChartPlugin.cs | MaterialChartPlugin/MaterialChartPlugin.cs | using Grabacr07.KanColleViewer.Composition;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MaterialChartPlugin.Views;
using MaterialChartPlugin.ViewModels;
using Livet;
namespace MaterialChartPlugin
{
... | using Grabacr07.KanColleViewer.Composition;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MaterialChartPlugin.Views;
using MaterialChartPlugin.ViewModels;
using Livet;
namespace MaterialChartPlugin
{
... | mit | C# |
5213950ab2755b2e4aaadc19d9f589c3b069165b | Update Parser.cs | Mooophy/cs143,Mooophy/cs143,Mooophy/cs143,Mooophy/cs143,Mooophy/cs143 | Dragon/Source/Parser.cs | Dragon/Source/Parser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dragon
{
public class Parser
{
private Lexer _lexer;
private Token _look;
public Env Top;
public int Used;
public Parser(Lexer lex)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dragon
{
public class Parser
{
private Lexer _lexer;
private Token _look;
public Env Top;
public int Used;
public Parser(Lexer lex)
{
... | mit | C# |
f19987f0f69a86e2217bd5081d55ae03d87c120d | disable test parallelization | nrjohnstone/Fluency | test/Fluency.Tests/Properties/AssemblyInfo.cs | test/Fluency.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assem... | 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("Flu... | apache-2.0 | C# |
a4eac0c7ca795f791a3dfce95bddf97635c33125 | Make extract area test actually test something. | itinero/routing,itinero/routing | test/Itinero.Test/RouterDbExtractAreaTests.cs | test/Itinero.Test/RouterDbExtractAreaTests.cs | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | apache-2.0 | C# |
9614805fa0905e7c0dd455c383652e08ff26906f | Fix #21 | Mataniko/IV-Play | Forms/Propertiesview.cs | Forms/Propertiesview.cs | #region
using IV_Play.Data;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
#endregion
namespace IV_Play
{
/// <summary>
/// Rom Properties view
/// </summary>
public partial class PropertiesView : Form
{
private Game _game;
public P... | #region
using IV_Play.Data;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
#endregion
namespace IV_Play
{
/// <summary>
/// Rom Properties view
/// </summary>
public partial class PropertiesView : Form
{
private Game _game;
public P... | mit | C# |
96d732ce748635a9d5dbab24a7beef63faa18aa4 | make private | dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,mavasani/roslyn... | src/Workspaces/Core/Portable/FindSymbols/SymbolTree/SymbolTreeInfoCacheService.MetadataInfo.cs | src/Workspaces/Core/Portable/FindSymbols/SymbolTree/SymbolTreeInfoCacheService.MetadataInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.FindSymbols.SymbolTree
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.FindSymbols.SymbolTree
... | mit | C# |
601ea8463bb03bb113310172cd0e880bd8523a89 | Update "Database" | DRFP/Personal-Library | _Build/PersonalLibrary/Library/Database.cs | _Build/PersonalLibrary/Library/Database.cs | using Library.Model;
using System;
using System.Collections.Generic;
namespace Library {
public class Database {
public static List<Book> Books() {
var books = new List<Book>();
books.Add(new Book {
slfID = 1,
booTitle = "Title",
boo... | using Library.Model;
using System;
using System.Collections.Generic;
namespace Library {
public class Database {
public static List<Book> Books() {
var books = new List<Book>();
books.Add(new Book {
slfID = 1,
booTitle = "Title",
boo... | mit | C# |
259e64579b867f4e1aa0538b6885af308140cff4 | fix incorrect case comparison | nerai/CMenu | src/ExampleMenu/Util.cs | src/ExampleMenu/Util.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleMenu;
namespace ExampleMenu
{
public class Util
{
/// <summary>
/// Loose string comparison. Returns the best match using increasingly inaccurate comparisons.
/// Also makes sure there is a sole match at that le... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleMenu;
namespace ExampleMenu
{
public class Util
{
/// <summary>
/// Loose string comparison. Returns the best match using increasingly inaccurate comparisons.
/// Also makes sure there is a sole match at that le... | mit | C# |
5888fa4654b5f97e0093b590979faee48e2ddb45 | fix update sdk version number | NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity | ncmb_unity/Assets/NCMB/Script/CommonConstant.cs | ncmb_unity/Assets/NCMB/Script/CommonConstant.cs | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
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... | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
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... | apache-2.0 | C# |
05ae25fb6943689897b2b6578353f7da6581ee98 | Make tests actually test the string output | smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Tests/Input/KeyCombinationTest.cs | osu.Framework.Tests/Input/KeyCombinationTest.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.Input.Bindings;
namespace osu.Framework.Tests.Input
{
[TestFixture]
public class KeyCombinationTest
{
priv... | // 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.Input.Bindings;
using osu.Framework.Input.States;
using osuTK.Input;
using KeyboardState = osu.Framework.Input.States.KeyboardS... | mit | C# |
08e2f32bca371cc535538b6fca249893d0ce5b40 | Fix Screensaver inhibit/uninhibit | mono/f-spot,mono/f-spot,Yetangitu/f-spot,mans0954/f-spot,Sanva/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,mono/f-spot,GNOME/f-spot,GNOME/f-spot,mono/f-spot,Sanva/f-spot,mono/f-spot,mans0954/f-spot,dkoeb/f-spot,mono/f-spot,Yetangitu/f-spot,dkoeb/f-spot,dkoeb/f-spot,dkoeb/f-spot,GN... | src/Core/FSpot.Platform/FSpot.Platform/ScreenSaver.cs | src/Core/FSpot.Platform/FSpot.Platform/ScreenSaver.cs | //
// ScreenSaver.cs
//
// Author:
// Stephane Delcroix <sdelcroix@src.gnome.org>
// Stephen Shaw <sshaw@decriptor.com>
//
// Copyright (C) 2007-2009 Novell, Inc.
// Copyright (C) 2007-2009 Stephane Delcroix
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and a... | //
// ScreenSaver.cs
//
// Author:
// Stephane Delcroix <sdelcroix@src.gnome.org>
//
// Copyright (C) 2007-2009 Novell, Inc.
// Copyright (C) 2007-2009 Stephane Delcroix
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "S... | mit | C# |
51475e73663fa2d6ea75b8f3094855740fd85c62 | Remove partial declaration | vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/VkPhysicalDeviceMemoryProperties.cs | CSGL.Vulkan/VkPhysicalDeviceMemoryProperties.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public struct VkMemoryType {
public VkMemoryPropertyFlags propertyFlags;
public int heapIndex;
internal VkMemoryType(Unmanaged.VkMemoryType other) {
propertyFlags = other.propertyFlags;
heapInd... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public partial struct VkMemoryType {
public VkMemoryPropertyFlags propertyFlags;
public int heapIndex;
internal VkMemoryType(Unmanaged.VkMemoryType other) {
propertyFlags = other.propertyFlags;
... | mit | C# |
3313a0d787fba546c6520cc89f210b49310c3505 | Update Program.cs | jbogard/MediatR | samples/MediatR.Examples.Stashbox/Program.cs | samples/MediatR.Examples.Stashbox/Program.cs | using Stashbox;
using Stashbox.Configuration;
using System;
using System.IO;
using System.Threading.Tasks;
namespace MediatR.Examples.Stashbox
{
class Program
{
static Task Main()
{
var writer = new WrappingWriter(Console.Out);
var mediator = BuildMediator(writer);
... | using Stashbox;
using Stashbox.Configuration;
using System;
using System.IO;
using System.Threading.Tasks;
namespace MediatR.Examples.Stashbox
{
class Program
{
static Task Main()
{
var writer = new WrappingWriter(Console.Out);
var mediator = BuildMediator(writer);
... | apache-2.0 | C# |
2825cbcd856ceea71ab394b02ab6096807f62456 | Update the version number from 1.0.0.0 to 1.1.0.0. | treytomes/DB2LinqPadDriver | DB2DataContextDriver/Properties/AssemblyInfo.cs | DB2DataContextDriver/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
2524ebb93f0ae26d3f8a6ec495e6af82034375fe | Add basic Get for a post | tvanfosson/dapper-integration-testing | DapperTesting/Core/Data/DapperPostRepository.cs | DapperTesting/Core/Data/DapperPostRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Dapper;
using DapperTesting.Core.Model;
namespace DapperTesting.Core.Data
{
public class DapperPostRepository : DapperRepositoryBase, IPostRepository
{
public DapperPostRepository(IConnectionFactory connectionFactory, string co... | using System;
using System.Collections.Generic;
using DapperTesting.Core.Model;
namespace DapperTesting.Core.Data
{
public class DapperPostRepository : DapperRepositoryBase, IPostRepository
{
public DapperPostRepository(IConnectionFactory connectionFactory, string connectionStringName) : base(connecti... | mit | C# |
b5e04c5d6c17ebe429eff45bfa89b441ff2c1646 | Use the full library name of libc (#2213) | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | binding/Binding.Shared/PlatformConfiguration.cs | binding/Binding.Shared/PlatformConfiguration.cs | using System;
using System.Runtime.InteropServices;
#if WINDOWS_UWP
using Windows.ApplicationModel;
using Windows.System;
#endif
#if HARFBUZZ
namespace HarfBuzzSharp
#else
namespace SkiaSharp
#endif
{
internal static class PlatformConfiguration
{
private const string LibCLibrary = "libc";
public static bool I... | using System;
using System.Runtime.InteropServices;
#if WINDOWS_UWP
using Windows.ApplicationModel;
using Windows.System;
#endif
#if HARFBUZZ
namespace HarfBuzzSharp
#else
namespace SkiaSharp
#endif
{
internal static class PlatformConfiguration
{
public static bool IsUnix { get; }
public static bool IsWindows... | mit | C# |
86848941873534272fbf67f7ebe4bf257d602cc4 | Fix the build | tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs | src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs | using System.Collections.Generic;
using System.Threading;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// For accessing the disk in a synchronous manner
/// </summary>
interface ISynchronousIOManager
{
/// <summary>
/// Enumerate files in a given <paramref name="path"/>
/// </summary>
/// <param n... | using System.Collections.Generic;
using System.Threading;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// For accessing the disk in a synchronous manner
/// </summary>
interface ISynchronousIOManager
{
/// <summary>
/// Enumerate files in a given <paramref name="path"/>
/// </summary>
/// <param n... | agpl-3.0 | C# |
b8b355d813a931cc067a2275c80da2dc7c43b29a | Fix ComplexNavigationsOwnedQuery tests | azabluda/InfoCarrier.Core | test/InfoCarrier.Core.FunctionalTests/InMemory/ComplexNavigationsOwnedQueryInfoCarrierFixture.cs | test/InfoCarrier.Core.FunctionalTests/InMemory/ComplexNavigationsOwnedQueryInfoCarrierFixture.cs | namespace InfoCarrier.Core.FunctionalTests.InMemory
{
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.TestModels.ComplexNavigationsModel;
public class ComplexNavigationsOwnedQueryInfoCarrierFixture : ComplexNavigationsOwnedQueryFixtureBase<TestStoreBase>
{
privat... | namespace InfoCarrier.Core.FunctionalTests.InMemory
{
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.TestModels.ComplexNavigationsModel;
public class ComplexNavigationsOwnedQueryInfoCarrierFixture : ComplexNavigationsOwnedQueryFixtureBase<TestStoreBase>
{
privat... | mit | C# |
259d97bcfd11d2738c18579a88f20180128f4456 | Fix restarting in build breaking the game | plrusek/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare | Assets/Scripts/Global/MicrogameCollection.cs | Assets/Scripts/Global/MicrogameCollection.cs | using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
[ExecuteInEditMode]
public class MicrogameCollection : MonoBehaviour
{
[SerializeField]
private List<Stage.Microgame> finishedMicrogames, stageReadyMicrogames, unfinishedMicrogames, bossMicrogames;
public enum Restrict... | using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
[ExecuteInEditMode]
public class MicrogameCollection : MonoBehaviour
{
[SerializeField]
private List<Stage.Microgame> finishedMicrogames, stageReadyMicrogames, unfinishedMicrogames, bossMicrogames;
public enum Restrict... | mit | C# |
13d92530b3939085ed8fde879a32a813dd9cf892 | Add missing documentation to Kernel32 native methods class. | danpierce1/Colore,Sharparam/Colore,CoraleStudios/Colore,WolfspiritM/Colore | Corale.Colore/Native/Kernel32/NativeMethods.cs | Corale.Colore/Native/Kernel32/NativeMethods.cs | // ---------------------------------------------------------------------------------------
// <copyright file="NativeMethods.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software a... | // ---------------------------------------------------------------------------------------
// <copyright file="NativeMethods.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software a... | mit | C# |
d1251222ccfcbebf763c7f8732db00a7b40f8fb2 | Add SlopeTo, AngleTo, NearestPointOnLine | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility.Windows/PointUtility.cs | GoldenAnvil.Utility.Windows/PointUtility.cs | using System;
using System.Windows;
namespace GoldenAnvil.Utility.Windows
{
public static class PointUtility
{
public static Point WithOffset(this Point point, Point that)
{
return new Point(point.X + that.X, point.Y + that.Y);
}
public static double DistanceTo(this Point point, Point target)
{
var... | using System;
using System.Windows;
namespace GoldenAnvil.Utility.Windows
{
public static class PointUtility
{
public static Point WithOffset(this Point point, Point that)
{
return new Point(point.X + that.X, point.Y + that.Y);
}
public static double DistanceTo(this Point point, Point target)
{
var... | mit | C# |
c399073595222ab8b692a8ed549257c54e6800ff | バージョンアップ。 | kingkino/Implem.Pleasanter,Implem/Implem.Pleasanter,kingkino/Implem.Pleasanter,Implem/Implem.Pleasanter,Implem/Implem.Pleasanter | Implem.Pleasanter/Properties/AssemblyInfo.cs | Implem.Pleasanter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Implem.Pleasanter")]
[assembly: AssemblyDescription("Web tool that helps the efficiency of business")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Implem.Pleasanter")]
[assembl... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Implem.Pleasanter")]
[assembly: AssemblyDescription("Web tool that helps the efficiency of business")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Implem.Pleasanter")]
[assembl... | agpl-3.0 | C# |
65fd796e09ed4c39f0ea56e57886a4e3db15365c | Fix Plugin registration namespace | sevoku/MonoDevelop.Xwt | Properties/AddinInfo.cs | Properties/AddinInfo.cs | using Mono.Addins;
[assembly:Addin (
"Xwt",
Namespace = "MonoDevelop",
Version = "1.0"
)]
[assembly:AddinName ("Xwt Project Support")]
[assembly:AddinCategory ("IDE extensions")]
[assembly:AddinDescription (
"Adds Xwt cross-platform UI project and file templates, " +
"including executable projects for supporte... | using Mono.Addins;
[assembly:Addin (
"MonoDevelop.Xwt",
Namespace = "MonoDevelop.Xwt",
Version = "1.0"
)]
[assembly:AddinName ("Xwt Project Support")]
[assembly:AddinCategory ("IDE extensions")]
[assembly:AddinDescription (
"Adds Xwt cross-platform UI project and file templates, " +
"including executable proje... | mit | C# |
0469c3a2fd9b07e963ac3a8aaca7b5007a428235 | Remove ArchiveLaterTask if content item is deleted (#8308) | hbulzy/Orchard,LaserSrl/Orchard,LaserSrl/Orchard,OrchardCMS/Orchard,LaserSrl/Orchard,hbulzy/Orchard,Lombiq/Orchard,OrchardCMS/Orchard,LaserSrl/Orchard,hbulzy/Orchard,hbulzy/Orchard,Lombiq/Orchard,hbulzy/Orchard,LaserSrl/Orchard,OrchardCMS/Orchard,OrchardCMS/Orchard,Lombiq/Orchard,Lombiq/Orchard,Lombiq/Orchard,OrchardCM... | src/Orchard.Web/Modules/Orchard.ArchiveLater/Handlers/ArchiveLaterPartHandler.cs | src/Orchard.Web/Modules/Orchard.ArchiveLater/Handlers/ArchiveLaterPartHandler.cs | using Orchard.ArchiveLater.Models;
using Orchard.ArchiveLater.Services;
using Orchard.ContentManagement.Handlers;
namespace Orchard.ArchiveLater.Handlers {
public class ArchiveLaterPartHandler : ContentHandler {
private readonly IArchiveLaterService _archiveLaterService;
public ArchiveLaterPartHa... | using Orchard.ArchiveLater.Models;
using Orchard.ArchiveLater.Services;
using Orchard.ContentManagement.Handlers;
namespace Orchard.ArchiveLater.Handlers {
public class ArchiveLaterPartHandler : ContentHandler {
private readonly IArchiveLaterService _archiveLaterService;
public ArchiveLaterPartHa... | bsd-3-clause | C# |
4344d78a4d960a71490a186f822a5b9c94a3bbb8 | Make inputexception message tests more robust | gregsochanik/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api... | src/SevenDigital.Api.Wrapper.Integration.Tests/Exceptions/ErrorConditionTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/Exceptions/ErrorConditionTests.cs | using System;
using NUnit.Framework;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Wrapper.Exceptions;
using SevenDigital.Api.Schema.ArtistEndpoint;
using SevenDigital.Api.Schema.LockerEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.Exceptions
{
[TestFixture]
public class ErrorCondit... | using System;
using NUnit.Framework;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Wrapper.Exceptions;
using SevenDigital.Api.Schema.ArtistEndpoint;
using SevenDigital.Api.Schema.LockerEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.Exceptions
{
[TestFixture]
public class ErrorCondit... | mit | C# |
aa497df0804c403a35e667a6c027e99899b31738 | Update TiledMapImporter.cs | eumario/Nez,ericmbernier/Nez,prime31/Nez,Blucky87/Nez,prime31/Nez,prime31/Nez | Nez.PipelineImporter/Tiled/TiledMapImporter.cs | Nez.PipelineImporter/Tiled/TiledMapImporter.cs | using System;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Xna.Framework.Content.Pipeline;
namespace Nez.TiledMaps
{
[ContentImporter( ".tmx", DefaultProcessor = "TiledMapProcessor", DisplayName = "Tiled Map Importer" )]
public class TiledMapImporter : ContentImporter<TmxMap>
{
public overri... | using System;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Xna.Framework.Content.Pipeline;
namespace Nez.TiledMaps
{
[ContentImporter( ".tmx", DefaultProcessor = "TiledMapProcessor", DisplayName = "Tiled Map Importer" )]
public class TiledMapImporter : ContentImporter<TmxMap>
{
public overri... | mit | C# |
5a02e477bfc0f52a9fb273faaa3b574517999aee | Create temp directories in temp folder | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/TestData/Isolation.cs | NuGet.Extensions.Tests/TestData/Isolation.cs | using System.IO;
namespace NuGet.Extensions.Tests.TestData
{
public class Isolation
{
public static DirectoryInfo GetIsolatedTestSolutionDir()
{
var solutionDir = new DirectoryInfo(GetRandomTempDirectoryPath());
CopyFilesRecursively(new DirectoryInfo(Paths.TestSolution... | using System.IO;
namespace NuGet.Extensions.Tests.TestData
{
public class Isolation
{
public static DirectoryInfo GetIsolatedTestSolutionDir()
{
var solutionDir = new DirectoryInfo(Path.GetRandomFileName());
CopyFilesRecursively(new DirectoryInfo(Paths.TestSolutionForA... | mit | C# |
16219ef84137fc2a3c5ecc7429b2d045f587a1f6 | fix DbContext creation | rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityS... | src/Libraries/Thinktecture.IdentityServer.Core.Repositories/IdentityServerConfigurationContext.cs | src/Libraries/Thinktecture.IdentityServer.Core.Repositories/IdentityServerConfigurationContext.cs | /*
* Copyright (c) Dominick Baier. All rights reserved.
* see license.txt
*/
using System;
using System.Configuration;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using Thinktecture.IdentityServer.Repositories.Sql.Configuration;
namespace Thinktect... | /*
* Copyright (c) Dominick Baier. All rights reserved.
* see license.txt
*/
using System;
using System.Configuration;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using Thinktecture.IdentityServer.Repositories.Sql.Configuration;
namespace Thinktect... | bsd-3-clause | C# |
0d9554647ac05f5a913c27b0f8da66d7a664daaf | fix examples | acple/ParsecSharp | ParsecSharp.Examples/ReversePolishCalculator.cs | ParsecSharp.Examples/ReversePolishCalculator.cs | using System;
using System.Linq;
using static ParsecSharp.Parser;
using static ParsecSharp.Text;
namespace ParsecSharp.Examples
{
// 逆ポーランド記法の式をパーサで計算してみるネタ
public static class ReversePolishCalculator
{
// 整数または小数にマッチし、double にして返す
private static readonly Parser<char, double> Num =
... | using System;
using System.Linq;
using static ParsecSharp.Parser;
using static ParsecSharp.Text;
namespace ParsecSharp.Examples
{
// 逆ポーランド記法の式をパーサで計算してみるネタ
public static class ReversePolishCalculator
{
// 整数または小数にマッチし、double にして返す
private static readonly Parser<char, double> num =
... | mit | C# |
5dca357ffc4aded5a1f67d00e4864fdb7a65ec58 | Remove duplicate config | joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Portal/Helpers/ApiSecretsStorage.cs | JoinRpg.Portal/Helpers/ApiSecretsStorage.cs | using System.Configuration;
using JetBrains.Annotations;
namespace JoinRpg.Portal.Helpers
{
[UsedImplicitly]
internal class ApiSecretsStorage
{
internal static string GoogleClientId => ConfigurationManager.AppSettings["GoogleClientId"];
internal static string GoogleClientSecret =>
... | using System.Configuration;
using JetBrains.Annotations;
using JoinRpg.Dal.Impl;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Portal.Helpers
{
[UsedImplicitly]
internal class ApiSecretsStorage : IMailGunConfig, IJoinDbContextConfiguration
{
public string ApiDomain => ConfigurationManager.Ap... | mit | C# |
37ef42a633586abc13e43bdad74731b25ad55742 | Add RemainingTime and env vars to dotnetcore2.0 example | lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda | examples/dotnetcore2.0/Function.cs | examples/dotnetcore2.0/Function.cs | // Compile with:
// docker run --rm -v "$PWD":/var/task lambci/lambda:build-dotnetcore2.0 dotnet publish -c Release -o pub
// Run with:
// docker run --rm -v "$PWD"/pub:/var/task lambci/lambda:dotnetcore2.0 test::test.Function::FunctionHandler "some"
using System;
using System.Collections;
using Amazon.Lambda.Core;
... | // Compile with:
// docker run --rm -v "$PWD":/var/task lambci/lambda:build-dotnetcore2.0 dotnet publish -c Release -o pub
// Run with:
// docker run --rm -v "$PWD"/pub:/var/task lambci/lambda:dotnetcore2.0 test::test.Function::FunctionHandler "some"
using Amazon.Lambda.Core;
[assembly: LambdaSerializer(typeof(Amazo... | mit | C# |
c7ae1825dd9e87dee13418e983bb546dbcfe51a9 | Fix for new Boo assemblies. | ayende/rhino-dsl | Rhino.DSL.Tests/OrderDSL/BaseOrderActionsDSL.cs | Rhino.DSL.Tests/OrderDSL/BaseOrderActionsDSL.cs | namespace Rhino.DSL.Tests.OrderDSL
{
using System.Collections;
using System.Collections.Specialized;
using Boo.Lang;
using Boo.Lang.Compiler.Ast;
public abstract class BaseOrderActionsDSL
{
public delegate bool Condition();
public delegate void Action();
protected OrderedDictionary conditionsA... | namespace Rhino.DSL.Tests.OrderDSL
{
using System.Collections;
using System.Collections.Specialized;
using Boo.Lang.Compiler.Ast;
using Boo.Lang.Compiler.MetaProgramming;
public abstract class BaseOrderActionsDSL
{
public delegate bool Condition();
public delegate void Action();
protected Orde... | bsd-3-clause | C# |
64cb282734dcc729dff0ac6c7bcbb1738ea26ea3 | comment out ProfilerFilterAttribute for now | AlejandroCano/framework,avifatal/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework | Signum.React/Filters/ProfilerFilterAttribute.cs | Signum.React/Filters/ProfilerFilterAttribute.cs | using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Filters;
using Signum.Utilities;
using Signum.Utilities.ExpressionTrees;
using System;
using System.Linq;
namespace Signum.React.Filters
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
publ... | using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Filters;
using Signum.Utilities;
using Signum.Utilities.ExpressionTrees;
using System;
using System.Linq;
namespace Signum.React.Filters
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
publ... | mit | C# |
148be8c4107aed0e2082c2a63b52bb6e1b7ed136 | Remove use of SqlServerDatabase! | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/IdentitySample.Mvc/Models/SampleData.cs | samples/IdentitySample.Mvc/Models/SampleData.cs | using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Data.Entity.SqlServer;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel;
namespace IdentitySample.Models
{
... | using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Data.Entity.SqlServer;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel;
namespace IdentitySample.Models
{
... | apache-2.0 | C# |
5afbb1eb5a6cbe915d510a2979bf58473f805127 | add canonical link | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Web/Views/Shared/_Layout.cshtml | src/FilterLists.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>FilterLists | @ViewData["Title"]</title>
<base href="~/"/>
<meta name="description" content="FilterLists is the independent, comprehensive directory of filt... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>FilterLists | @ViewData["Title"]</title>
<base href="~/"/>
<meta name="description" content="FilterLists is the independent, comprehensive directory of filt... | mit | C# |
0c4cd6fde5d5b7c11a8a92f1d9db95efe4d28089 | fix VersionFilterAttribute for the exception case | avifatal/framework,AlejandroCano/framework,signumsoftware/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework | Signum.React/Filters/VersionFilterAttribute.cs | Signum.React/Filters/VersionFilterAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace Signum.React.Filters
{
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace Signum.React.Filters
{
public ... | mit | C# |
8fd418ffc1fb9f64c74399b7622493d81a791126 | Add default ApplicationConfigurationException constructor | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfigurationException.cs | src/AppHarbor/ApplicationConfigurationException.cs | using System;
namespace AppHarbor
{
public class ApplicationConfigurationException : Exception
{
public ApplicationConfigurationException()
{
}
public ApplicationConfigurationException(string message)
: base(message)
{
}
}
}
| using System;
namespace AppHarbor
{
public class ApplicationConfigurationException : Exception
{
public ApplicationConfigurationException(string message)
: base(message)
{
}
}
}
| mit | C# |
358f7a587b6885386d68253bfeee3234338aae65 | Update PopupAction.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors | src/Avalonia.Xaml.Interactions/Core/PopupAction.cs | src/Avalonia.Xaml.Interactions/Core/PopupAction.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Metadata;
using Avalonia.Xaml.Interactivity;
namespa... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Metadata;
using Avalonia.Xaml.Interactivity;
namespa... | mit | C# |
893708a4c46047af6fb14bc0f2c33b3ca6adc527 | Fix faulty assert in Utilities.SelectBucketIndex (dotnet/coreclr#17863) | mmitche/corefx,ericstj/corefx,Jiayili1/corefx,ViktorHofer/corefx,Jiayili1/corefx,Jiayili1/corefx,ericstj/corefx,ericstj/corefx,Jiayili1/corefx,Jiayili1/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,mmitche/corefx,ericstj/corefx,mmitche/corefx,ptoonen/corefx,ptoonen/co... | src/Common/src/CoreLib/System/Buffers/Utilities.cs | src/Common/src/CoreLib/System/Buffers/Utilities.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.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.Buffers
{
internal static cla... | // 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.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.Buffers
{
internal static cla... | mit | C# |
a9863b8951e330af7689211a0507c4b5f6ad735f | Remove extra using declaration. | mohtamohit/CppSharp,inordertotest/CppSharp,nalkaro/CppSharp,xistoso/CppSharp,inordertotest/CppSharp,SonyaSa/CppSharp,zillemarco/CppSharp,txdv/CppSharp,inordertotest/CppSharp,u255436/CppSharp,Samana/CppSharp,KonajuGames/CppSharp,ddobrev/CppSharp,ddobrev/CppSharp,genuinelucifer/CppSharp,zillemarco/CppSharp,mydogisbox/Cpp... | src/Generator/Passes/ResolveIncompleteDeclsPass.cs | src/Generator/Passes/ResolveIncompleteDeclsPass.cs | using System;
namespace CppSharp.Passes
{
public class ResolveIncompleteDeclsPass : TranslationUnitPass
{
public ResolveIncompleteDeclsPass()
{
}
public override bool VisitClassDecl(Class @class)
{
if (@class.Ignore)
return false;
... | using System;
using CppSharp.Types;
namespace CppSharp.Passes
{
public class ResolveIncompleteDeclsPass : TranslationUnitPass
{
public ResolveIncompleteDeclsPass()
{
}
public override bool VisitClassDecl(Class @class)
{
if (@class.Ignore)
re... | mit | C# |
63f04116a37db1917497fd836941864c9347db7f | add timeout to spec | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework.Spec/ModelDocSpecs.cs | SolidworksAddinFramework.Spec/ModelDocSpecs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using FluentAssertions;
using SolidWorks.Interop.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using FluentAssertions;
using SolidWorks.Interop.... | mit | C# |
07f0b651364f4b5400cadb517783c117920e6694 | Bump version to 0.9.1.0 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]... | mit | C# |
28584f8be9d020b931c001a8cf2aaa5eb1045208 | fix the build | JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop | src/Tests/WInterop.Tests/Theming/ThemesTests.cs | src/Tests/WInterop.Tests/Theming/ThemesTests.cs | // Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using WInterop.Windows;
using Xunit;
namespace WindowsTests
{
public class ThemesTests
{
[Fact]
public unsafe vo... | // Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using WInterop.Windows;
using Xunit;
namespace WindowsTests
{
public class ThemesTests
{
[Fact]
public unsafe vo... | mit | C# |
7ed52f44d9cc773350fdbc224b4e013267d831ae | fix type of fallback in MemberAssignBinder | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/ExpressionTree/MemberAssignBinder.cs | CobaltAHK/ExpressionTree/MemberAssignBinder.cs | using System;
using System.Dynamic;
#if CustomDLR
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
namespace CobaltAHK.ExpressionTree
{
public class MemberAssignBinder : SetMemberBinder
{
public MemberAssignBinder(string member) : base(member, true) { }
public override DynamicMetaObjec... | using System;
using System.Dynamic;
#if CustomDLR
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
namespace CobaltAHK.ExpressionTree
{
public class MemberAssignBinder : SetMemberBinder
{
public MemberAssignBinder(string member) : base(member, true) { }
public override DynamicMetaObjec... | mit | C# |
34166e2977a49453ec7775c959f7b8d09b2efdd5 | Add reference links to original material. | countincognito/Zametek.Utility | src/Zametek.Utility/SafeTypes/SafeEnumString.cs | src/Zametek.Utility/SafeTypes/SafeEnumString.cs | using System;
namespace Zametek.Utility
{
/// <summary>
/// Based on the following:
/// https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/enumeration-classes-over-enum-types
/// https://lostechies.com/jimmybogard/2008/08/12/enumeration-classes/
/// h... | using System;
namespace Zametek.Utility
{
public abstract class SafeEnumString<T>
: SafeEnumBase<string>, IEquatable<T>, IComparable<T>, IComparable where T : SafeEnumString<T>
{
public SafeEnumString(string value)
: base(value)
{
if (string.IsNullOrWhiteSpace(va... | bsd-2-clause | C# |
50a072ac774cc8fa9d0c48fb0a8f5405b0a837df | Add tests for Spinner.Wait(Task) | prescottadam/ConsoleWritePrettyOneDay | ConsoleWritePrettyOneDay.Tests/SpinnerTests.cs | ConsoleWritePrettyOneDay.Tests/SpinnerTests.cs | using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConsoleWritePrettyOneDay.Tests
{
[TestClass]
public class SpinnerTests
{
[TestMethod]
public void Wait_ExecutesAction()
{
// ARRANGE
bool result = false... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConsoleWritePrettyOneDay.Tests
{
[TestClass]
public class SpinnerTests
{
[TestMethod]
public void Wait_ExecutesAction()
{
// ARRANGE
bool result = false;
Action action = ... | mit | C# |
0408a256f71eb95ca69b789a3b4d46381f86f644 | Update tests | aalhour/C-Sharp-Algorithms | UnitTest/AlgorithmsTests/BinarySearcherTest.cs | UnitTest/AlgorithmsTests/BinarySearcherTest.cs | using System.Collections.Generic;
using Xunit;
using Algorithms.Search;
namespace UnitTest.AlgorithmsTests
{
public static class BinarySearcherTest
{
[Fact]
public static void BinarySearchTest()
{
//list of ints
IList<int> list = new List<int> { 9, 3, 7, 1, 6,... | using System.Collections.Generic;
using Xunit;
using Algorithms.Search;
namespace UnitTest.AlgorithmsTests
{
public static class BinarySearcherTest
{
[Fact]
public static void MergeSortTest()
{
//a list of int
IList<int> list = new List<int> {9, 3, 7, 1, 6, 10... | mit | C# |
f7db600776ad1a4d2e42f935d4a62f577727d320 | Bump lobby name | samoatesgames/Ludumdare30,samoatesgames/Ludumdare30,SamOatesJams/Ludumdare30,samoatesgames/Ludumdare30,SamOatesJams/Ludumdare30,SamOatesJams/Ludumdare30 | Unity/Assets/Scripts/Network/NetworkManager.cs | Unity/Assets/Scripts/Network/NetworkManager.cs | using UnityEngine;
using System.Collections;
public class NetworkManager : MonoBehaviour {
private bool m_isConnectedToLobby = false;
public GameObject LocalPlayer = null;
// Use this for initialization
void Start ()
{
PhotonNetwork.autoJoinLobby = false;
}
// Update is called once... | using UnityEngine;
using System.Collections;
public class NetworkManager : MonoBehaviour {
private bool m_isConnectedToLobby = false;
public GameObject LocalPlayer = null;
// Use this for initialization
void Start ()
{
PhotonNetwork.autoJoinLobby = false;
}
// Update is called once... | mit | C# |
c0d81a4dfa251f4c6e62d117c86a72821e15643b | Add comments for XBox360PlayerIndex enum | mina-asham/XBox360ControllerManager | XBox360ControllerManager/XBox360PlayerIndex.cs | XBox360ControllerManager/XBox360PlayerIndex.cs | namespace XBox360ControllerManager
{
/// <summary>
/// Represent player/gamepad index
/// </summary>
public enum XBox360PlayerIndex : ushort
{
/// <summary>
/// Player one
/// </summary>
One = 0,
/// <summary>
/// Player two
/// </summary>
... | namespace XBox360ControllerManager
{
public enum XBox360PlayerIndex : ushort
{
One = 0,
Two = 1,
Three = 2,
Four = 3
}
}
| mit | C# |
59686f6a90b72d5bbd442123b98bb2737074396f | fix exception when server have no errors | ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth | GalleryMVC_With_Auth/Views/Errors/Index.cshtml | GalleryMVC_With_Auth/Views/Errors/Index.cshtml | @model Exception
<h2>Ошибка!</h2>
@if (Server.GetLastError()!= null)
{
<h3>Server.GetLastError().Message</h3>
} | @model Exception
<h2>Ошибка!</h2>
@Server.GetLastError().Message | apache-2.0 | C# |
b517744283639277c58b573d1c6184daa3ea5847 | Check if property exists before accessing or setting it | mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp | sources/custom/Object.cs | sources/custom/Object.cs | // Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any ... | // Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any ... | agpl-3.0 | C# |
42497889a928adedeacf9767613ae3b3045f77bf | Update UmbracoMicrosoftAuthExtensions.cs | umbraco/UmbracoIdentityExtensions | src/App_Start/UmbracoMicrosoftAuthExtensions.cs | src/App_Start/UmbracoMicrosoftAuthExtensions.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.Owin;
using Owin;
using Umbraco.Core;
using Umbraco.Web.Security.Identity;
using Microsoft.Owin.Security.MicrosoftAccount;
namesp... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.Owin;
using Owin;
using Umbraco.Core;
using Umbraco.Web.Security.Identity;
using Microsoft.Owin.Security.MicrosoftAccount;
namesp... | mit | C# |
f85f5d5f535f228ba7f9d08b4c884dd93937dcc2 | change return value SimpleBizwebService post and get method to string | vinhch/BizwebSharp | src/BizwebSharp/Services/SimpleBizwebService.cs | src/BizwebSharp/Services/SimpleBizwebService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using BizwebSharp.Infrastructure;
using RestSharp.Portable;
namespace BizwebSharp.Services
{
public class SimpleBizwebService : BaseService
{
public SimpleBizwebService(BizwebAuthorizationState authState) : base(authState)
{
... | using System.Collections.Generic;
using System.Threading.Tasks;
using BizwebSharp.Infrastructure;
using RestSharp.Portable;
namespace BizwebSharp.Services
{
public class SimpleBizwebService : BaseService
{
public SimpleBizwebService(BizwebAuthorizationState authState) : base(authState)
{
... | mit | C# |
10f01c5e3d25d9a1e305ac11028fa9a40ceb090e | Fix merging mistake | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/CoordinatorParameters.cs | WalletWasabi/Crypto/CoordinatorParameters.cs | using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Crypto
{
public class CoordinatorParameters
{
public CoordinatorParameters(GroupElement cw, GroupElement i)
{
Cw = CryptoGuard.NotNullOrInfinity(nameof(cw), cw);
I = CryptoGuard.NotNullOrInfinity(nameof(i), i);
}
public GroupElement Cw { get; }... | using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Crypto
{
public class CoordinatorParameters
{
public CoordinatorParameters(GroupElement cw, GroupElement i)
{
Cw = CryptoGuard.NotInfinity(nameof(cw), cw);
I = CryptoGuard.NotInfinity(nameof(i), i);
}
public GroupElement Cw { get; }
public Gr... | mit | C# |
eac0abed3a383082ae054e4f9e58342452ef4a03 | Fix #242 | zapadi/redmine-net-api | src/redmine-net-api/Internals/XmlTextReaderBuilder.cs | src/redmine-net-api/Internals/XmlTextReaderBuilder.cs | using System.IO;
using System.Xml;
namespace Redmine.Net.Api.Internals
{
public static class XmlTextReaderBuilder
{
#if NET20
public static XmlReader Create(StringReader stringReader)
{
return XmlReader.Create(stringReader, new XmlReaderSettings()
{
Prohi... | using System.IO;
using System.Xml;
namespace Redmine.Net.Api.Internals
{
internal static class XmlTextReaderBuilder
{
#if NET20
public static XmlReader Create(StringReader stringReader)
{
return XmlReader.Create(stringReader, new XmlReaderSettings()
{
Pro... | apache-2.0 | C# |
3b25539b725493d8d8de9d858c1e7636061aca44 | Use the AvailableVariables property instead of doing GetProperties() everywhere. | ermshiperete/GitVersion,dpurge/GitVersion,ermshiperete/GitVersion,dpurge/GitVersion,gep13/GitVersion,Philo/GitVersion,pascalberger/GitVersion,onovotny/GitVersion,asbjornu/GitVersion,onovotny/GitVersion,onovotny/GitVersion,dpurge/GitVersion,gep13/GitVersion,DanielRose/GitVersion,dpurge/GitVersion,pascalberger/GitVersion... | src/GitVersionTask.Tests/GetVersionTaskTests.cs | src/GitVersionTask.Tests/GetVersionTaskTests.cs | using System.Linq;
using GitVersion;
using GitVersionTask;
using Microsoft.Build.Framework;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class GetVersionTaskTests
{
[Test]
public void OutputsShouldMatchVariableProvider()
{
var taskProperties = typeof(GetVersion)
.GetProp... | using System.Linq;
using GitVersion;
using GitVersionTask;
using Microsoft.Build.Framework;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class GetVersionTaskTests
{
[Test]
public void OutputsShouldMatchVariableProvider()
{
var taskProperties = typeof(GetVersion)
.GetProp... | mit | C# |
542be9d417ae93177a0db79ef79419451a54c25b | Update AssemblyInfo.cs | PixelsForGlory/ProceduralVoxelMesh,afuzzyllama/ProceduralVoxelMesh | ProceduralVoxelMesh/Properties/AssemblyInfo.cs | ProceduralVoxelMesh/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
40a0e8421aade3bb799e8a59273cfeb7ecff3e91 | Change from Log to LogError when reporting a python error | zentuit/soomla-unity3d-core,vedi/soomla-unity3d-core,zentuit/soomla-unity3d-core,zentuit/soomla-unity3d-core,ravalum/soomla-unity3d-core,noctorus/soomla-unity3d-core,ravalum/soomla-unity3d-core,ravalum/soomla-unity3d-core,noctorus/soomla-unity3d-core,vedi/soomla-unity3d-core,ravalum/soomla-unity3d-core,ravalum/soomla-u... | Soomla/Assets/Soomla/Editor/SoomlaPostBuild.cs | Soomla/Assets/Soomla/Editor/SoomlaPostBuild.cs | using UnityEngine;
using System.Collections;
using UnityEditor.Callbacks;
using UnityEditor;
using System.Diagnostics;
using System.IO;
public class PostProcessScriptStarter : MonoBehaviour {
[PostProcessBuild(1000)]
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) {
#if UNITY_IOS... | using UnityEngine;
using System.Collections;
using UnityEditor.Callbacks;
using UnityEditor;
using System.Diagnostics;
using System.IO;
public class PostProcessScriptStarter : MonoBehaviour {
[PostProcessBuild(1000)]
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) {
#if UNITY_IOS... | apache-2.0 | C# |
89eb27b8a014ab2904cddc1a0a7cf465c3deea60 | change MediaFilesPerPage | Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject | EntertainmentSystem/Common/EntertainmentSystem.Common/Constants/GlobalConstants.cs | EntertainmentSystem/Common/EntertainmentSystem.Common/Constants/GlobalConstants.cs | namespace EntertainmentSystem.Common.Constants
{
public class GlobalConstants
{
public const string StringEmpty = "";
public const string AdministratorRoleName = "Administrator";
public const string AdministratorAreaName = "Administration";
public const string ModeratorRoleNam... | namespace EntertainmentSystem.Common.Constants
{
public class GlobalConstants
{
public const string StringEmpty = "";
public const string AdministratorRoleName = "Administrator";
public const string AdministratorAreaName = "Administration";
public const string ModeratorRoleNam... | mit | C# |
118289877c2409c723413f0967853f50779f0248 | Update SDK version to 4.0.3 | NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity | ncmb_unity/Assets/NCMB/Script/CommonConstant.cs | ncmb_unity/Assets/NCMB/Script/CommonConstant.cs | /*******
Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
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 requir... | /*******
Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
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 requir... | apache-2.0 | C# |
bd4db65a43ca87ab2af786c26b80cb5c4586aab2 | update email | lderache/LeTruck,lderache/LeTruck,lderache/LeTruck | src/mvc5/TheTruck.Web/Views/Home/Contact.cshtml | src/mvc5/TheTruck.Web/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<p>
We would love to hear your feedback about products and suggestions.
</p>
<address>
<strong>Support:</strong> <a href="mailto:letruckteam@outlook.com">letruckteam@outlook.com</a><br />
</address> | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<p>
We would love to hear your feedback about products and suggestions.
</p>
<address>
<strong>Support:</strong> <a href="mailto:contact@letruck.net">contact@letruck.net</a><br />
</address> | mit | C# |
347661f0d0cfb6057621dc86c66d2adcc78ba9b2 | Fix unit test | okolobaxa/uploadcare-csharp | Uploadcare.Tests/Uploaders/FileUploaderTest.cs | Uploadcare.Tests/Uploaders/FileUploaderTest.cs | using System.IO;
using System.Threading.Tasks;
using Uploadcare.Upload;
using Xunit;
namespace Uploadcare.Tests.Uploaders
{
public class FileUploaderTest
{
[Fact]
public async Task fileuploader_upload_assert()
{
var client = UploadcareClient.DemoClient();
var file ... | using System.IO;
using System.Threading.Tasks;
using Uploadcare.Upload;
using Xunit;
namespace Uploadcare.Tests.Uploaders
{
public class FileUploaderTest
{
[Fact]
public async Task fileuploader_upload_assert()
{
var client = UploadcareClient.DemoClient();
var file ... | mit | C# |
b41aa578ff8781a71935ab8cf24296448cf51dd9 | Change masking char. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/TogglePasswordBox.cs | WalletWasabi.Gui/Controls/TogglePasswordBox.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Data;
using Avalonia.Styling;
using System;
using ReactiveUI;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls
{
public class TogglePasswordBox : ExtendedTextBox, IStyleable
{
Type IStyleable.StyleKey => type... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Data;
using Avalonia.Styling;
using System;
using ReactiveUI;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls
{
public class TogglePasswordBox : ExtendedTextBox, IStyleable
{
Type IStyleable.StyleKey => type... | mit | C# |
708a48760754c5edc38f0ce3cd21f4da72784c3e | Switch to version 1.2.6 | rbouallou/Zebus,AtwooTM/Zebus,biarne-a/Zebus,Abc-Arbitrage/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.6")]
[assembly: AssemblyFileVersion("1.2.6")]
[assembly: AssemblyInformationalVersion("1.2.6")]
| using System.Reflection;
[assembly: AssemblyVersion("1.2.5")]
[assembly: AssemblyFileVersion("1.2.5")]
[assembly: AssemblyInformationalVersion("1.2.5")]
| mit | C# |
7914c322381f1fb3207d045bf0c574bab0648ef7 | Use XWT's default size for ComboBoxEntry | iainx/xwt,mono/xwt,sevoku/xwt,cra0zy/xwt,akrisiun/xwt,mminns/xwt,mminns/xwt,steffenWi/xwt,hamekoz/xwt,TheBrainTech/xwt,lytico/xwt,antmicro/xwt,directhex/xwt,residuum/xwt,hwthomas/xwt | Xwt.WPF/Xwt.WPFBackend/ComboBoxEntryBackend.cs | Xwt.WPF/Xwt.WPFBackend/ComboBoxEntryBackend.cs | //
// ComboBoxEntryBackend.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without... | //
// ComboBoxEntryBackend.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without... | mit | C# |
7bcfc6b83723b33e6c0e5463498292aadd18bed2 | add OnCollisionEnter2D and move NotifyBirdDied to virtual method to allow stubbing in tests | nrjohnstone/flappybird-unity | unity-flappybirds/Assets/Scripts/BirdController.cs | unity-flappybirds/Assets/Scripts/BirdController.cs | using UnityEngine;
namespace Assets.Scripts
{
public class BirdController
{
public float upForce = 150f;
public bool isDead { get; private set; }
private readonly IAnimator _anim;
private readonly IRigidbody2D _rb2d;
private readonly IInput _input;
public BirdC... | using UnityEngine;
namespace Assets.Scripts
{
public class BirdController
{
public float upForce = 150f;
private bool isDead = false;
private readonly IAnimator _anim;
private readonly IRigidbody2D _rb2d;
private readonly IInput _input;
public BirdController(II... | cc0-1.0 | C# |
c4bb5196e914a0e888bc11815becfe17e7dbea65 | fix #159 | Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria | Assembly-CSharp/Memoria/Configuration/Access/Battle.cs | Assembly-CSharp/Memoria/Configuration/Access/Battle.cs | using System;
namespace Memoria
{
public sealed partial class Configuration
{
public static class Battle
{
public static Boolean NoAutoTrance => Instance._battle.NoAutoTrance;
public static Int32 Speed => GetBattleSpeed();
public static Int32 EncounterInterva... | using System;
namespace Memoria
{
public sealed partial class Configuration
{
public static class Battle
{
public static Boolean NoAutoTrance => Instance._battle.NoAutoTrance;
public static Int32 Speed => Math.Max(Instance._battle.Speed, Instance._hacks.BattleSpeed);
... | mit | C# |
0e4e9a9c1c48321e66bd1307ebad70c361f7c7b6 | Update DisplayHideRowColumnHeaders.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,ma... | Examples/CSharp/Worksheets/Display/DisplayHideRowColumnHeaders.cs | Examples/CSharp/Worksheets/Display/DisplayHideRowColumnHeaders.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class DisplayHideRowColumnHeaders
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Ex... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class DisplayHideRowColumnHeaders
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(... | mit | C# |
8442489aa773a11609da66cf732f7099a3e7b2f4 | Add comments to constructors, use constructor chaining. | jcheng31/WundergroundAutocomplete.NET | WundergroundClient/Autocomplete/AutocompleteRequest.cs | WundergroundClient/Autocomplete/AutocompleteRequest.cs | using System;
namespace WundergroundClient.Autocomplete
{
enum ResultFilter
{
CitiesOnly,
HurricanesOnly,
CitiesAndHurricanes
}
class AutocompleteRequest
{
private const String BaseUrl = "http://autocomplete.wunderground.com/";
private readonly String _sea... | using System;
namespace WundergroundClient.Autocomplete
{
enum ResultFilter
{
CitiesOnly,
HurricanesOnly,
CitiesAndHurricanes
}
class AutocompleteRequest
{
private String _searchString;
private ResultFilter _filter = ResultFilter.CitiesOnly;
private... | mit | C# |
9b834e3ac6f2abb5892c3a953653eea1c4e6e35e | change tests to work with NUnit 3.7.x | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | NunitUpgrade/NunitUpgrade/TestsForNUnit3/DebtCalculatorTestNew.cs | NunitUpgrade/NunitUpgrade/TestsForNUnit3/DebtCalculatorTestNew.cs | using System;
using System.IO;
using MyBizLogic;
using NUnit.Framework;
namespace TestsForNUnit3
{
/// <summary>
/// NUnit 3.7.x tests
/// </summary>
[TestFixture]
public class DebtCalculatorTestNew
{
private DebtCalculator _testee;
[OneTimeSetUp]
public void SetUp()... | using System;
using System.IO;
using MyBizLogic;
using NUnit.Framework;
namespace TestsForNUnit3
{
[TestFixture]
class DebtCalculatorTestOld : AssertionHelper
{
private DebtCalculator _testee;
[TestFixtureSetUp]
public void SetUp()
{
_testee = new DebtCalculat... | apache-2.0 | C# |
7c00a9944936a22aab6e59c51a6fbe2b4cacfbf4 | Initialize the server with a report-state command | openstardrive/server,openstardrive/server,openstardrive/server | OpenStardriveServer/HostedServices/ServerInitializationService.cs | OpenStardriveServer/HostedServices/ServerInitializationService.cs | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using OpenStardriveServer.Domain;
using OpenStardriveServer.Domain.Database;
using OpenStardriveServer.Domain.Systems;
namespace OpenStardriveServer.HostedServices;
public class ServerInitiali... | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using OpenStardriveServer.Domain.Database;
using OpenStardriveServer.Domain.Systems;
namespace OpenStardriveServer.HostedServices;
public class ServerInitializationService : BackgroundService
... | apache-2.0 | C# |
dadbe2b8f5884aee5065742a25039899c988584d | fix noob error | aritchie/userdialogs | src/Acr.UserDialogs.Shared/UserDialogs.cs | src/Acr.UserDialogs.Shared/UserDialogs.cs | using System;
#if __ANDROID__
using Android.App;
using Acr.Support.Android;
#endif
namespace Acr.UserDialogs {
public static class UserDialogs {
static readonly Lazy<IUserDialogs> instance = new Lazy<IUserDialogs>(() => {
#if PCL
throw new ArgumentException("This is the PCL library, not the ... | using System;
#if __ANDROID__
using Android.App;
using Acr.Support.Android;
#endif
namespace Acr.UserDialogs {
public static class UserDialogs {
static readonly Lazy<IUserDialogs> instance = new Lazy<IUserDialogs>(() => {
#if PCL
throw new ArgumentException("This is the PCL library, not the ... | mit | C# |
07df8a683f25f88e4bc5922a35ce2eb70a35ef56 | Fix typo in TokenErrorResult.cs (#2742) | MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | src/Endpoints/Results/TokenErrorResult.cs | src/Endpoints/Results/TokenErrorResult.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Hosting;
using Microsoft.AspNetCore.Http;
using IdentityServer4.Extensions;
using System;... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Hosting;
using Microsoft.AspNetCore.Http;
using IdentityServer4.Extensions;
using System;... | apache-2.0 | C# |
80a1a271d8c1a8a863888c232a20049437ea3c2e | Update DiagnosticAnalyzer.cs | filipw/RemoveRegionAnalyzerAndCodeFix | RemoveRegionAnalyzerAndCodeFix/RemoveRegionAnalyzerAndCodeFix/DiagnosticAnalyzer.cs | RemoveRegionAnalyzerAndCodeFix/RemoveRegionAnalyzerAndCodeFix/DiagnosticAnalyzer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace... | mit | C# |
39d6c8370e6cf2f5004094427072e164e9d1500c | Add XML comments to TermSettingsAttribute | atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata/Attributes/TermSettingsAttribute.cs | src/Atata/Attributes/TermSettingsAttribute.cs | using System;
namespace Atata
{
/// <summary>
/// Specifies the term settings.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum)]
public class TermSettingsAttribute : MulticastAttribute, ITermSettings
{
... | using System;
namespace Atata
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum)]
public class TermSettingsAttribute : MulticastAttribute, ITermSettings
{
public TermSettingsAttribute()
{
}
public TermSe... | apache-2.0 | C# |
0a78a4f8f19a3f7c79dc2f03097e418275099f90 | Support single hyphen argument. | ejball/Facility,FacilityApi/Facility | src/Facility.Definition/Console/ArgsReader.cs | src/Facility.Definition/Console/ArgsReader.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Facility.Definition.Console
{
/// <summary>
/// Helps process command-line arguments.
/// </summary>
public sealed class ArgsReader
{
/// <summary>
/// Creates a reader for the specified command-line arguments.
/// </summary>
pu... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Facility.Definition.Console
{
/// <summary>
/// Helps process command-line arguments.
/// </summary>
public sealed class ArgsReader
{
/// <summary>
/// Creates a reader for the specified command-line arguments.
/// </summary>
pu... | mit | C# |
af28a5d36fcfbd77c4d1ad3e8f4040cf5c98ba6e | Add Version/PackageIdentity to CatalogPageEntity. | StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes | src/NuGetCatalog/CatalogPageEntry.cs | src/NuGetCatalog/CatalogPageEntry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using NuGet.Packaging.Core;
using NuGet.Versioning;
using static NuGetCatalog.Globals;
namespace NuGetCatalog
{
public sealed class CatalogPageEntry
{
private readonly JToken _c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using static NuGetCatalog.Globals;
namespace NuGetCatalog
{
public sealed class CatalogPageEntry
{
private readonly JToken _content;
internal CatalogPageEntry(dynamic c... | mit | C# |
c1908075bf771314181c4d7a1799cd1037505b8e | Use new resource name | stofte/ream-query | src/ReamQuery.Resources/Resources.cs | src/ReamQuery.Resources/Resources.cs | namespace ReamQuery.Resource
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using Newtonsoft.Json;
public static class Resources
{
static Assembly _assembly;
... | namespace ReamQuery.Resource
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using Newtonsoft.Json;
public static class Resources
{
static Assembly _assembly;
... | mit | C# |
36ed634b5a0ca429f8486cedc42349d5adcad349 | Remove a useless line. | tangxuehua/enode,Aaron-Liu/enode | src/ENode/Command/Impl/DefaultCommandService.cs | src/ENode/Command/Impl/DefaultCommandService.cs | using System;
using System.Threading;
using ENode.Infrastructure;
namespace ENode.Commanding
{
public class DefaultCommandService : ICommandService
{
private ICommandQueueRouter _commandQueueRouter;
private ICommandAsyncResultManager _commandAsyncResultManager;
public DefaultCommandSe... | using System;
using System.Threading;
using ENode.Infrastructure;
namespace ENode.Commanding
{
public class DefaultCommandService : ICommandService
{
private ICommandQueueRouter _commandQueueRouter;
private ICommandAsyncResultManager _commandAsyncResultManager;
public DefaultCommandSe... | mit | C# |
235d74f4ba2b1d51d8659ae6ca5bcf3fb63ac943 | Add Check | sunkaixuan/SqlSugar | Src/Asp.Net/SqlSugar/CacheScheme/CacheSchemeMain.cs | Src/Asp.Net/SqlSugar/CacheScheme/CacheSchemeMain.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
internal class CacheSchemeMain
{
public static T GetOrCreate<T>(ICacheService cacheService, QueryBuilder queryBuilder, Func<T> getData, int cacheDurationInSeconds, SqlSugarProvider context)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
internal class CacheSchemeMain
{
public static T GetOrCreate<T>(ICacheService cacheService, QueryBuilder queryBuilder, Func<T> getData, int cacheDurationInSeconds, SqlSugarProvider context)
... | apache-2.0 | C# |
532f173c62e37d77bab74b8f9bf491e7981e182c | Increase version number | cryovat/gengo-dotnet | Winterday.External.Gengo/Properties/AssemblyInfo.cs | Winterday.External.Gengo/Properties/AssemblyInfo.cs | //
// AssemblyInfo.cs
//
// Author:
// Jarl Erik Schmidt <github@jarlerik.com>
//
// Copyright (c) 2013 Jarl Erik Schmidt
//
// 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 r... | //
// AssemblyInfo.cs
//
// Author:
// Jarl Erik Schmidt <github@jarlerik.com>
//
// Copyright (c) 2013 Jarl Erik Schmidt
//
// 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 r... | mit | C# |
5820793d1119f82bfeb772a835cfdd220277a356 | Make TestMultiplayerRoomContainer inherit TestRoomContainer | peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu | osu.Game/Tests/Visual/Multiplayer/TestMultiplayerRoomContainer.cs | osu.Game/Tests/Visual/Multiplayer/TestMultiplayerRoomContainer.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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
u... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
u... | mit | C# |
4e6b240e77c80ee4e0ebef669d4f62b68c54ad47 | Clean up Translation code health test | evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,iantalarico/google-cloud-dotnet,benwulfe/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/gcloud-dot... | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/CodeHealthTest.cs | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/CodeHealthTest.cs | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applic... | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applic... | apache-2.0 | C# |
cf5ada1d4bbc4b1476971644ee0451a0c37e95c9 | Update TextFieldDriver.cs | phillipsj/Orchard,Codinlab/Orchard,Dolphinsimon/Orchard,grapto/Orchard.CloudBust,grapto/Orchard.CloudBust,Serlead/Orchard,SzymonSel/Orchard,hannan-azam/Orchard,SouleDesigns/SouleDesigns.Orchard,johnnyqian/Orchard,jimasp/Orchard,sfmskywalker/Orchard,fassetar/Orchard,tobydodds/folklife,omidnasri/Orchard,yersans/Orchard,o... | src/Orchard.Web/Modules/Orchard.Fields/Drivers/TextFieldDriver.cs | src/Orchard.Web/Modules/Orchard.Fields/Drivers/TextFieldDriver.cs | using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Fields;
using Orchard.Core.Common.Settings;
using Orchard.Tokens;
using System;
using System.Collections.Generic;
namespace Orchard.Fields.Drivers {
// The original driver of the TextField is in Orchard.Core, where... | using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Fields;
using Orchard.Core.Common.Settings;
using Orchard.Tokens;
using System;
using System.Collections.Generic;
namespace Orchard.Fields.Drivers {
// The original driver of the TextField is in Orchard.Core, where... | bsd-3-clause | C# |
4317cf56925c84dd3506d4e5f0b2943b8bc3eeb4 | Fix options provider. | reaction1989/roslyn,brettfo/roslyn,aelij/roslyn,sharwell/roslyn,dotnet/roslyn,genlu/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,reaction1989/roslyn,wvdd007/roslyn,mgoertz-msft/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,bartdesmet/roslyn,sharwell/roslyn,eriawan/roslyn,tmat/roslyn,dirybo... | src/Workspaces/Core/Portable/Editing/GenerationOptionsProvider.cs | src/Workspaces/Core/Portable/Editing/GenerationOptionsProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Options;
using Microsoft... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Options;
using Microsoft... | mit | C# |
b54eb56169e08757e85abe78b1113e7425108717 | Move new judgement binding to `LoadComplete` to ensure containers are loaded | smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Screens/Play/HUD/HealthDisplay.cs | osu.Game/Screens/Play/HUD/HealthDisplay.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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Judgements;... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Judgements;... | mit | C# |
a856fdcd55f34d20cf4e36dd527af4de2d3c4f2a | Update StringExtensions.cs | UnityCommunity/UnityLibrary | Assets/Scripts/Extensions/StringExtensions.cs | Assets/Scripts/Extensions/StringExtensions.cs | using UnityEngine;
using System.Globalization;
// e.g. "#FFFFFF".ToColor()
namespace UnityLibrary
{
public static class StringExtensions
{
public static Color ToColor(this string hex) {
hex = hex.Replace("0x", "");
hex = hex.Replace("#", "");
byte a = 255;
... | using UnityEngine;
using System.Globalization;
namespace UnityLibrary
{
public static class StringExtensions
{
public static Color ToColor(this string hex) {
hex = hex.Replace("0x", "");
hex = hex.Replace("#", "");
byte a = 255;
byte r = byte.Parse(hex.S... | mit | C# |
898c49c19db9ab54cd5eaf2bd91156aaac5b573d | remove unnecessary assignments | naoey/osu,NeoAdonis/osu,smoogipooo/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,Frontear/osuKyzer,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,DrabWeb/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,NeoAdonis/osu,Nabile-Rahmani/osu,2yangk23/osu,jo... | osu.Game/Overlays/BeatmapSet/HeaderButton.cs | osu.Game/Overlays/BeatmapSet/HeaderButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Framework.Allocation;
namespace osu.Game.Overlays.Beatm... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Framework.Allocation;
namespace osu.Game.Overlays.Beatm... | mit | C# |
0166a4795031f2f0a52f1751cad548a4c499a1d8 | add route attribute for change accessibilty api | B1naryStudio/Azimuth,B1naryStudio/Azimuth | Azimuth/ApiControllers/PlaylistsController.cs | Azimuth/ApiControllers/PlaylistsController.cs | using System.IdentityModel;
using System;
using System.Management.Instrumentation;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Azimuth.Services;
using Azimuth.Shared.Enums;
namespace Azimuth.ApiControllers
{
public class PlaylistsController : ApiControll... | using System.IdentityModel;
using System;
using System.Data.SqlClient;
using System.IdentityModel;
using System.Management.Instrumentation;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Azimuth.Services;
using Azimuth.Shared.Enums;
namespace Azimuth.ApiContro... | mit | C# |
b3943e706a721f5c7aef70d872e282d46ecdeada | Update List.cshtml | 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# |
3e828a6521917bb2d0eac85b7f3668ff73415bae | Remove second build step from TC, thanks to Sean | rippo/testing.casperjs.presentation.vscode.50mins,rippo/testing.casperjs.presentation.vscode.50mins,rippo/testing.casperjs.presentation.vscode.50mins,rippo/testing.casperjs.presentation.vscode.50mins | Casper.Mvc/Casper.Mvc/Views/Home/Index.cshtml | Casper.Mvc/Casper.Mvc/Views/Home/Index.cshtml | @{ViewBag.Title = "Home";}
<div class="jumbotron">
<h1>CasperJS Testing!!!</h1>
<p>CasperJS is a navigation scripting & testing utility for PhantomJS written in Javascript</p>
<p><a target="_blank" href="http://casperjs.org/" class="btn btn-primary btn-lg" role="button">Learn more</a></p>
</div>
<div cl... | @{ViewBag.Title = "Home";}
<div class="jumbotron">
<h1>CasperJS Testing!</h1>
<p>CasperJS is a navigation scripting & testing utility for PhantomJS written in Javascript</p>
<p><a target="_blank" href="http://casperjs.org/" class="btn btn-primary btn-lg" role="button">Learn more</a></p>
</div>
<div clas... | mit | C# |
c369ecea27a4cfa48fbe5708d0188d249b4ff521 | Bump Build | tsebring/ArkSavegameToolkitNet | ArkSavegameToolkitNet/Properties/AssemblyInfo.cs | ArkSavegameToolkitNet/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("AR... | 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("AR... | mit | C# |
c5a073cee84589a4ed093610b5374f44037f8069 | Improve enable paybutton view | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Stores/PayButtonEnable.cshtml | BTCPayServer/Views/Stores/PayButtonEnable.cshtml | @{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.PayButton, "Please confirm you want to allow outside world to create invoices in your store (via API).");
ViewBag.MainTitle = "Pay Button";
}
<div class="row">
<div class="col-md-10">
<form method="post">
... | @{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.PayButton, "Please confirm you want to allow outside world to create invoices in your store (via API).");
ViewBag.MainTitle = "Pay Button";
}
<div class="row">
<div class="col-md-10">
<form method="post">
... | mit | C# |
3e4d5a81ab681e6dc7db1ed452878cce0c657edb | Update IExchangeRateRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/Data/IExchangeRateRepository.cs | TIKSN.Core/Finance/ForeignExchange/Data/IExchangeRateRepository.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Data;
namespace TIKSN.Finance.ForeignExchange.Data
{
public interface IExchangeRateRepository : IQueryRepository<ExchangeRateEntity, int>,
IRepository<ExchangeRateEntity>
{
Task<Ex... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Data;
namespace TIKSN.Finance.ForeignExchange.Data
{
public interface IExchangeRateRepository : IQueryRepository<ExchangeRateEntity, int>, IRepository<ExchangeRateEntity>
{
Task<ExchangeRa... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.