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 |
|---|---|---|---|---|---|---|---|---|
cb3af09b197466af0ab8fc8f35ff7cf72e53943b | Add IEndpoint restriction to RegisterEndpointDeliveryService. | justinjstark/Delivered,justinjstark/Verdeler | Verdeler/Distributor.cs | Verdeler/Distributor.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Verdeler
{
public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable
{
private readonly List<IEndpointRepository> _endpointRepositories
= new List<IEndpointRepos... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Verdeler
{
public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable
{
private readonly List<IEndpointRepository> _endpointRepositories
= new List<IEndpointRepos... | mit | C# |
6d0723aa7de285b58fa0f723baf1fb0ed841d4a9 | Fix crashes when no arguments or no input | TRex22/Windows-Wifi-Manager,shanselman/Windows-Wifi-Manager | WifiProfiles/Program.cs | WifiProfiles/Program.cs | using NetSh;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WifiProfiles
{
class Program
{
static void Main(string[] args)
{
var profiles = NetShWrapper.GetWifiProfiles();
bool sawBadWifi = f... | using NetSh;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WifiProfiles
{
class Program
{
static void Main(string[] args)
{
var profiles = NetShWrapper.GetWifiProfiles();
bool sawBadWifi = f... | mit | C# |
3db53ea3fc4544f67bbd49799222d630e96f3298 | Add some more docs | flagbug/Espera,punker76/Espera | Espera/Espera.Core/Analytics/IAnalyticsEndpoint.cs | Espera/Espera.Core/Analytics/IAnalyticsEndpoint.cs | using System.Globalization;
using System.IO;
using System.Threading.Tasks;
namespace Espera.Core.Analytics
{
public interface IAnalyticsEndpoint
{
Task AuthenticateUserAsync(string analyticsToken);
/// <summary>
/// Creates a new user and returns a unique authentication token.
... | using System.Globalization;
using System.IO;
using System.Threading.Tasks;
namespace Espera.Core.Analytics
{
public interface IAnalyticsEndpoint
{
Task AuthenticateUserAsync(string analyticsToken);
Task<string> CreateUserAsync();
/// <summary>
/// Records runtime information ... | mit | C# |
1b24539644aaab33aef8581cca93945ca8746f16 | Update version number | markembling/MarkEmbling.PostcodesIO | MarkEmbling.PostcodesIO/Properties/AssemblyInfo.cs | MarkEmbling.PostcodesIO/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("Mar... | 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("Ma... | mit | C# |
ca1edfbf29cb2a184e28cd9e449f366e1edf7549 | Add extensions to store values in the bot state | ObjectivityLtd/Bot.Common.Dialogs | Objectivity.Bot.BaseDialogs/Utils/ContextHelper.cs | Objectivity.Bot.BaseDialogs/Utils/ContextHelper.cs | namespace Objectivity.Bot.BaseDialogs.Utils
{
using System;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
public static class ContextHelper
{
public static T GetValueFromContext<T>(this IDialogContext context, string key)
{
... | namespace Objectivity.Bot.BaseDialogs.Utils
{
using System;
using Microsoft.Bot.Builder.Dialogs;
public static class ContextHelper
{
public static T GetValueFromContext<T>(IDialogContext context, string key)
{
if (context == null)
{
throw new Arg... | mit | C# |
29c5e7dd353007bae2adfccf49562abb72e854d0 | Update to follow dev branch | wangkanai/Detection | src/Services/ResponsiveService.cs | src/Services/ResponsiveService.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Text;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.DependencyInjection.Options;
using Wangkanai.Detection.Models... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Text;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.DependencyInjection.Options;
using Wangkanai.Detection.Models... | apache-2.0 | C# |
402cc0684719059eaa7db03288c42aaa9c789788 | Fix none flag | aritchie/bluetoothle,aritchie/bluetoothle | Plugin.BluetoothLE.Abstractions/AdapterFeatures.cs | Plugin.BluetoothLE.Abstractions/AdapterFeatures.cs | using System;
namespace Plugin.BluetoothLE
{
[Flags]
public enum AdapterFeatures
{
None = -1,
ControlAdapterState = 1,
OpenSettings = 2,
ViewPairedDevices = 4,
LowPoweredScan = 8,
ServerAdvertising = 16,
ServerGatt = 32,
// AdvertiseManufac... | using System;
namespace Plugin.BluetoothLE
{
[Flags]
public enum AdapterFeatures
{
None = 0,
ControlAdapterState = 1,
OpenSettings = 2,
ViewPairedDevices = 4,
LowPoweredScan = 8,
ServerAdvertising = 16,
ServerGatt = 32,
// AdvertiseManufact... | mit | C# |
939c19f72d45867cf072f9cdcf39a6b54ef9c121 | Remove commented out code. | mcneel/RhinoCycles | Settings/OptionsDialogCollapsibleSectionUIPanel.cs | Settings/OptionsDialogCollapsibleSectionUIPanel.cs | /**
Copyright 2014-2017 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | /**
Copyright 2014-2017 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | apache-2.0 | C# |
783d1a7d3866415d888e62e57bf0c90e55fb5e5e | Add copyright info in DLL properties. | nzgeek/ElitePlayerJournal | src/Properties/AssemblyInfo.cs | src/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("Eli... | 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("Eli... | mit | C# |
25c7dc9ef0f7716a08878733b9cba18063cfef48 | Revert unnecessary change | ppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu | osu.Game/Online/Chat/DrawableLinkCompiler.cs | osu.Game/Online/Chat/DrawableLinkCompiler.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.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Conta... | // 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.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Conta... | mit | C# |
0e04260b3c0083e831de9b429eaa4e9d4c964dff | Move ToolbarUserArea initialisation to BDL | smoogipoo/osu,peppy/osu-new,DrabWeb/osu,ppy/osu,naoey/osu,Drezi126/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,Frontear/osuKyzer,UselessToucan/osu,2yangk23/osu,peppy/osu,naoey/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,Nabile-Rahmani/osu,johnnei... | osu.Game/Overlays/Toolbar/ToolbarUserArea.cs | osu.Game/Overlays/Toolbar/ToolbarUserArea.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using OpenTK;
... | // 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.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using OpenTK;
namespace osu.Game.Overlays.Toolb... | mit | C# |
629b473151cfe27abbfe09e454c9a374fa7ade0e | add logging to AbpDefaultRequestCultureProvider | carldai0106/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspne... | src/Abp.AspNetCore/AspNetCore/Localization/AbpDefaultRequestCultureProvider.cs | src/Abp.AspNetCore/AspNetCore/Localization/AbpDefaultRequestCultureProvider.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
using Abp.Configuration;
using Abp.Extensions;
using Abp.Localization;
using Castle.Core.Logging;
namespace Abp.AspNetCore.Localization
{
public class AbpDefaultR... | using System.Threading.Tasks;
using Abp.Configuration;
using Abp.Extensions;
using Abp.Localization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
namespace Abp.AspNetCore.Localization
{
public class AbpDefaultRequestCultureProvider : Req... | mit | C# |
5541d3ce96ab7f44625d9d29ccadd1833420d19a | Add TabHeaderHeight property. | PenguinF/sandra-three | Eutherion/Win/Controls/GlyphTabControl.cs | Eutherion/Win/Controls/GlyphTabControl.cs | #region License
/*********************************************************************************
* GlyphTabControl.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | #region License
/*********************************************************************************
* GlyphTabControl.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | apache-2.0 | C# |
6e71026a5761fe1e778c6780910686d970632027 | Update DocumentWindow.xaml.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/UI/Avalonia/Windows/DocumentWindow.xaml.cs | src/Core2D/UI/Avalonia/Windows/DocumentWindow.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.Markup.Xaml;
using Dock.Avalonia.Controls;
namespace Core2D.UI.Avalonia.Windows
{
/// <summary>
/// Interaction logic for <... | // 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.Markup.Xaml;
using Avalonia.ThemeManager;
using Dock.Avalonia.Controls;
namespace Core2D.UI.Avalonia.Windows
{
/// <summary>
... | mit | C# |
cb9c7e6ffc8a4cf3e3c1bd517042c868b05bac61 | Support for basic auth in web api & odata | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.WebApi/Implementations/DefaultWebApiGlobalActionFilterProviders.cs | src/Server/Bit.WebApi/Implementations/DefaultWebApiGlobalActionFilterProviders.cs | using System.Web.Http;
using Bit.WebApi.ActionFilters;
using Bit.WebApi.Contracts;
namespace Bit.WebApi.Implementations
{
public class GlobalHostAuthenticationFilterProvider : IWebApiConfigurationCustomizer
{
public virtual void CustomizeWebApiConfiguration(HttpConfiguration webApiConfiguration)
... | using System.Web.Http;
using Bit.WebApi.ActionFilters;
using Bit.WebApi.Contracts;
namespace Bit.WebApi.Implementations
{
public class GlobalHostAuthenticationFilterProvider : IWebApiConfigurationCustomizer
{
public virtual void CustomizeWebApiConfiguration(HttpConfiguration webApiConfiguration)
... | mit | C# |
e950214ceb07da422ef229d26cf928624f4a3b40 | Update AbsolutePositioning.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,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-sh... | Examples/CSharp/DrawingObjects/Pictures/PositioningPictures/AbsolutePositioning.cs | Examples/CSharp/DrawingObjects/Pictures/PositioningPictures/AbsolutePositioning.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Pictures.PositioningPictures
{
public class AbsolutePositioning
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir ... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Pictures.PositioningPictures
{
public class AbsolutePositioning
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.... | mit | C# |
13d6c30da555893d1e09d2f8a2821285c33cd202 | Fix MySQL foreign key stuff | Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Models/Migrations/20190219042440_MYFixRevInfoIndex.cs | src/Tgstation.Server.Host/Models/Migrations/20190219042440_MYFixRevInfoIndex.cs | using Microsoft.EntityFrameworkCore.Migrations;
namespace Tgstation.Server.Host.Models.Migrations
{
/// <summary>
/// Make commit shas non-unique per Instance for MSSQL
/// </summary>
public partial class MYFixRevInfoIndex : Migration
{
/// <summary>
/// Applies the migration
/// </summary>
/// <param na... | using Microsoft.EntityFrameworkCore.Migrations;
namespace Tgstation.Server.Host.Models.Migrations
{
/// <summary>
/// Make commit shas non-unique per Instance for MSSQL
/// </summary>
public partial class MYFixRevInfoIndex : Migration
{
/// <summary>
/// Applies the migration
/// </summary>
/// <param na... | agpl-3.0 | C# |
03a207e56ed52946d83890fb81439f2de747a4d2 | Set log level to DEBUG | boumenot/Grobid.NET | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | apache-2.0 | C# |
048ad581547a0aa777462b2fae005009a92f4282 | Refactor broker vars | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | src/InEngine.Core/Queuing/Commands/RepublishFailed.cs | src/InEngine.Core/Queuing/Commands/RepublishFailed.cs | using System;
using System.Linq;
using CommandLine;
namespace InEngine.Core.Queuing.Commands
{
public class RepublishFailed : AbstractCommand
{
[Option("limit", DefaultValue = 100, HelpText = "The maximum number of messages to republish.")]
public int Limit { get; set; }
[Option("seco... | using System;
using System.Linq;
using CommandLine;
namespace InEngine.Core.Queuing.Commands
{
public class RepublishFailed : AbstractCommand
{
[Option("limit", DefaultValue = 100, HelpText = "The maximum number of messages to republish.")]
public int Limit { get; set; }
[Option("seco... | mit | C# |
73a8f654bf7e6d0b86d87f6326c3f17cbfaf885a | Fix crash when creating a new project if osu!'s folder could not be found. | Damnae/storybrew | editor/Util/OsuHelper.cs | editor/Util/OsuHelper.cs | using Microsoft.Win32;
using System;
using System.IO;
namespace StorybrewEditor.Util
{
public static class OsuHelper
{
public static string GetOsuPath()
{
using (var registryKey = Registry.ClassesRoot.OpenSubKey("osu\\DefaultIcon"))
{
if (registryKey == ... | using Microsoft.Win32;
using System.IO;
namespace StorybrewEditor.Util
{
public static class OsuHelper
{
public static string GetOsuPath()
{
using (var registryKey = Registry.ClassesRoot.OpenSubKey("osu\\DefaultIcon"))
{
if (registryKey == null)
... | mit | C# |
a723a5f55294d5bfe8348b9317b87f1c434c45ce | replace duplicate short name, with backward compatibility (#23) | esskar/Serialize.Linq | src/Serialize.Linq/Nodes/ConditionalExpressionNode.cs | src/Serialize.Linq/Nodes/ConditionalExpressionNode.cs | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Serialize.Linq.Interfaces;
namespace Serialize.Linq.Nodes
{
#region DataContract
#if !SERIALIZE_LINQ_OPTIMIZE_SIZE
[DataContract]
#else
[DataContract(Name = "IF")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
... | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Serialize.Linq.Interfaces;
namespace Serialize.Linq.Nodes
{
#region DataContract
#if !SERIALIZE_LINQ_OPTIMIZE_SIZE
[DataContract]
#else
[DataContract(Name = "IF")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
... | mit | C# |
0e3969794a4278ce81165598a942e53f407760d1 | Clean up LingeringNetworkStream | murador/xsp,murador/xsp,arthot/xsp,arthot/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp,stormleoxia/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp | src/Mono.WebServer/LingeringNetworkStream.cs | src/Mono.WebServer/LingeringNetworkStream.cs | //
// Mono.WebServer.LingeringNetworkStream
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) Copyright 2004 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Soft... | //
// Mono.WebServer.LingeringNetworkStream
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) Copyright 2004 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Soft... | mit | C# |
999bac4c33cd33234972afabdac3ac4c90747237 | Add version information and description to the assembly | Domysee/Pather.CSharp | src/Pather.CSharp/Properties/AssemblyInfo.cs | src/Pather.CSharp/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("Pat... | 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("Pat... | mit | C# |
65de100acff6a2b2d2556258cc12d02e0f3fbd14 | Fix Repository.Info.IsEmpty | ethomson/libgit2sharp,jorgeamado/libgit2sharp,ethomson/libgit2sharp,Skybladev2/libgit2sharp,AMSadek/libgit2sharp,jeffhostetler/public_libgit2sharp,jamill/libgit2sharp,OidaTiftla/libgit2sharp,whoisj/libgit2sharp,mono/libgit2sharp,AArnott/libgit2sharp,psawey/libgit2sharp,vivekpradhanC/libgit2sharp,AMSadek/libgit2sharp,yi... | LibGit2Sharp/RepositoryInformation.cs | LibGit2Sharp/RepositoryInformation.cs | using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Provides high level information about a repository.
/// </summary>
public class RepositoryInformation
{
private readonly Repository repo;
internal RepositoryInformation(Repository repo, string posixPath, string ... | using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Provides high level information about a repository.
/// </summary>
public class RepositoryInformation
{
private readonly Repository repo;
internal RepositoryInformation(Repository repo, string posixPath, string ... | mit | C# |
ccb85ea470fed3f7bc0b8304afaff917a7972c86 | fix (from the comments) | Code-Inside/Samples,Code-Inside/Samples,rlerwill/Samples,rlerwill/Samples,amshen/Samples,Code-Inside/Samples,rlerwill/Samples,Code-Inside/Samples,amshen/Samples,amshen/Samples | 2015/WebApiBasicAuth/WebApiBasicAuth/Filters/IdentityBasicAuthenticationAttribute.cs | 2015/WebApiBasicAuth/WebApiBasicAuth/Filters/IdentityBasicAuthenticationAttribute.cs | using System.Collections.Generic;
using System.Net;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
namespace WebApiBasicAuth.Filters
{
public class IdentityBasicAuthenticationAttribute : BasicAuthenticationAttribute
{
protected over... | using System.Collections.Generic;
using System.Net;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
namespace WebApiBasicAuth.Filters
{
public class IdentityBasicAuthenticationAttribute : BasicAuthenticationAttribute
{
protected over... | mit | C# |
d420a338ce342ac849dbe547f0dadd68d23db5ea | Update Program.cs | vishipayyallore/CSharp-DotNet-Core-Samples | LearningDesignPatterns/Source/DataStructures/LinkedLists/LinkedList.Demos/Program.cs | LearningDesignPatterns/Source/DataStructures/LinkedLists/LinkedList.Demos/Program.cs | using System;
using static System.Console;
namespace LinkedList.Demos
{
class Program
{
static void Main(string[] args)
{
DisplayMonths();
var node = new Node { Value = 101 };
WriteLine(node);
node.NextNode = new Node { Value = 102 };
... | using System;
using static System.Console;
namespace LinkedList.Demos
{
class Program
{
static void Main(string[] args)
{
DisplayMonths();
var node = new Node { Value = 101 };
WriteLine(node);
node.NextNode = new Node { Value = 102 };
... | apache-2.0 | C# |
f57464c382b09c27e8d6ea9804c4c71694254563 | increase size of offlimits list | ChrisMissal/birthdayclub | Core/Givers.cs | Core/Givers.cs | namespace Core
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Givers
{
private readonly Shuffler _shuffler = new Shuffler();
private readonly IList<Person> _inPlay;
private readonly Queue<Person> _offLimits;
private reado... | namespace Core
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Givers
{
private readonly Shuffler _shuffler = new Shuffler();
private readonly IList<Person> _inPlay;
private readonly Queue<Person> _offLimits;
private reado... | mit | C# |
0ccd01bc78995dc40dd4e5dcecf5f6902fb07c6f | Change color to read to test sub-module. | purple-movies/expanse_bundle_lib | RandomColor.cs | RandomColor.cs | using UnityEngine;
using System.Collections;
public class RandomColor : MonoBehaviour {
void Start () {
// var c = new Color(Random.value, Random.value, Random.value, 1f);
var c = new Color(1f, 0, 0f, 1f);
GetComponent<Renderer>().material.color = c;
}
}
| using UnityEngine;
using System.Collections;
public class RandomColor : MonoBehaviour {
void Start () {
// var c = new Color(Random.value, Random.value, Random.value, 1f);
var c = new Color(0, 0, 1f, 1f);
GetComponent<Renderer>().material.color = c;
}
}
| apache-2.0 | C# |
5b39db85bc4eb0061f3c2574be0135bbe5d72487 | Bump version to 0.31.1 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
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.Assembl... | #pragma warning disable 436
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.Assembl... | mit | C# |
a5499a908d8a7d740fc2873ce16298c08c34deae | remove usings. | jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,jkori... | tests/Avalonia.Controls.UnitTests/ApplicationTests.cs | tests/Avalonia.Controls.UnitTests/ApplicationTests.cs | using System;
using Avalonia.Data;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Controls.UnitTests
{
public class ApplicationTests
{
[Fact]
public void Throws_ArgumentNullException_On_Run_If_MainWindow_Is_Null()
{
using (UnitTestApplication.Start(TestServices.S... | using System;
using System.Collections.Generic;
using System.Reactive.Subjects;
using Avalonia.Data;
using Avalonia.Threading;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Controls.UnitTests
{
public class ApplicationTests
{
[Fact]
public void Throws_ArgumentNullException_On_Run_I... | mit | C# |
47864c9dece57fa2d689c8089a62cd23800ce55e | Update XTemplatesTests.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | tests/Core2D.UnitTests/Collections/XTemplatesTests.cs | tests/Core2D.UnitTests/Collections/XTemplatesTests.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Collections;
using Xunit;
namespace Core2D.UnitTests
{
public class XTemplatesTests
{
[Fact]
[Trait("Core2D", "Collections")]... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Collections;
using Xunit;
namespace Core2D.UnitTests
{
public class XTemplatesTests
{
[Fact]
[Trait("Core2D", "Collections")]... | mit | C# |
2fe35090b71598bd14b6fc161e6ad7bb33eba60a | fix broken syntax | AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper | NuKeeper/Github/IGithub.cs | NuKeeper/Github/IGithub.cs | using System.Threading.Tasks;
namespace NuKeeper.Github
{
interface IGithub
{
Task<OpenPullRequestResult> OpenPullRequest(OpenPullRequestRequest request);
}
}
| using System.Threading.Tasks;
namespace NuKeeper.Github
{
interface IGithub
{
Task<OpenPullRequestResult> OpenPullRequest(OpenPullRequestRequest);
}
}
| apache-2.0 | C# |
959fa2ef1ac45c783524570a4f98cd8680367290 | Bump version | Naxiz/TeleBotDotNet,LouisMT/TeleBotDotNet | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TeleBotDotNet")]
[assembly: AssemblyDescr... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TeleBotDotNet")]
[assembly: AssemblyDescr... | mit | C# |
c944b38839888c404f959ef5752dbe33958e81a6 | Update AssemblyInfo.cs | splauer1us/IAG-Unity-DataAccess | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ia... | 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("Ia... | mit | C# |
2eb476a539693e57472a8028950875ffbdd9ad0f | Use resource manager in routable template | DonnotRain/Orchard,LaserSrl/Orchard,SzymonSel/Orchard,fortunearterial/Orchard,OrchardCMS/Orchard-Harvest-Website,m2cms/Orchard,NIKASoftwareDevs/Orchard,KeithRaven/Orchard,geertdoornbos/Orchard,arminkarimi/Orchard,yonglehou/Orchard,xiaobudian/Orchard,OrchardCMS/Orchard-Harvest-Website,MetSystem/Orchard,grapto/Orchard.Cl... | src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml | src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml | @model Orchard.Core.Routable.ViewModels.RoutableEditorViewModel
@using Orchard.Utility.Extensions
@Script.Require("Slugify");
<fieldset>
@Html.LabelFor(m => m.Title)
@Html.TextBoxFor(m => m.Title, new { @class = "large text" })
</fieldset>
<fieldset class="permalink">
<label class="sub" for="Slug... | @model Orchard.Core.Routable.ViewModels.RoutableEditorViewModel
@using Orchard.Utility.Extensions
<fieldset>
@Html.LabelFor(m => m.Title)
@Html.TextBoxFor(m => m.Title, new { @class = "large text" })
</fieldset>
<fieldset class="permalink">
<label class="sub" for="Slug">@T("Permalink")<br /><span>... | bsd-3-clause | C# |
4b2ddff6b2182a4e5b40a2467ad99c159881c6e6 | Make church properties read-only | brwml/MatchMakerTool | Reporting/Models/Church.cs | Reporting/Models/Church.cs | namespace MatchMaker.Reporting.Models;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Linq;
using Ardalis.GuardClauses;
/// <summary>
/// Defines the <see cref="Church" /> class
/// </summary>
[DataContract]
[DebuggerDisplay("Church {Name} ({Id})")]
public class Church
... | namespace MatchMaker.Reporting.Models;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Linq;
using Ardalis.GuardClauses;
/// <summary>
/// Defines the <see cref="Church" /> class
/// </summary>
[DataContract]
[DebuggerDisplay("Church {Name} ({Id})")]
public class Church
... | mit | C# |
ad70f67e22673d30936c8d82ceff05161ba27285 | fix kill sound thing | hagish/tektix,hagish/tektix,hagish/tektix | taktik/Assets/Scripts/Unit.cs | taktik/Assets/Scripts/Unit.cs | using UnityEngine;
using System.Collections;
public class Unit : MonoBehaviour {
public enum UnitType {
SCISSOR = 0,
ROCK = 1,
PAPER = 2,
}
public int PlayerId;
public UnitType Type;
public int Lives = 2;
void OnTriggerEnter(Collider other)
{
Unit otherU... | using UnityEngine;
using System.Collections;
public class Unit : MonoBehaviour {
public enum UnitType {
SCISSOR = 0,
ROCK = 1,
PAPER = 2,
}
public int PlayerId;
public UnitType Type;
public int Lives = 2;
void OnTriggerEnter(Collider other)
{
Unit otherU... | mit | C# |
f48bce95303228b6ae039ca181e632b2250d71fc | Tidy ListGameMode up | kerzyte/OWLib,overtools/OWLib | OverTool/List/ListGameMode.cs | OverTool/List/ListGameMode.cs | using System;
using System.Collections.Generic;
using System.IO;
using CASCExplorer;
using OWLib;
using OWLib.Types.STUD;
namespace OverTool.List {
public class ListGameMode : IOvertool {
public string Title => "List Game Modes";
public char Opt => 'E';
public string Help => "No additional... | using System;
using System.Collections.Generic;
using System.IO;
using CASCExplorer;
using OWLib;
using OWLib.Types.STUD;
namespace OverTool.List {
public class ListGameMode : IOvertool {
public string Title => "List Game Modes";
public char Opt => 'E';
public string Help => "No additional... | mit | C# |
112287b60948fe8b0d75b3c18f126dc4690ada34 | Make class abstract. | sharpjs/PSql,sharpjs/PSql | PSql.Core/_Commands/Cmdlet.cs | PSql.Core/_Commands/Cmdlet.cs | using System;
using System.Management.Automation;
using System.Management.Automation.Host;
namespace PSql
{
/// <summary>
/// Base class for PSql cmdlets.
/// </summary>
public abstract class Cmdlet : System.Management.Automation.Cmdlet
{
private static readonly string[]
Host... | using System;
using System.Management.Automation;
using System.Management.Automation.Host;
namespace PSql
{
public class Cmdlet : System.Management.Automation.Cmdlet
{
private static readonly string[]
HostTag = { "PSHOST" };
public void WriteHost(string message,
bool ... | isc | C# |
132be5d18652b586e09ffe3069752ede8dda1a78 | Optimize constructor for OriginalBoard. | SaxxonPike/roton,SaxxonPike/roton | Source/Roton/Emulation/Original/OriginalBoard.cs | Source/Roton/Emulation/Original/OriginalBoard.cs | using System.Runtime.CompilerServices;
using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Original
{
[Context(Context.Original)]
public sealed class OriginalBoard : IBoard
{
private readonly IMemory _memory;
public Origi... | using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Original
{
[Context(Context.Original)]
public sealed class OriginalBoard : IBoard
{
private readonly IMemory _memory;
public OriginalBoard(IMemory memory)
{
... | isc | C# |
86e7f138adce9e1a4930257b32146181b8a5a656 | make SendPacket protected | flyrpc/flyrpc-csharp | flyrpc/flyrpc/Client.cs | flyrpc/flyrpc/Client.cs | using System;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
namespace flyrpc
{
public class Client {
private Protocol protocol;
private Router router;
private byte nextSeq = 0;
private Dictionary<int, Action<Client, int, byte[]>> callbacks;
private Dictionary<i... | using System;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
namespace flyrpc
{
public class Client {
private Protocol protocol;
private Router router;
private byte nextSeq = 0;
private Dictionary<int, Action<Client, int, byte[]>> callbacks;
private Dictionary<i... | apache-2.0 | C# |
d1065186fa7ac6e1b6b403d06f9a9b6a31af5a67 | Add another integration test. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | test/IntegrationTest.cs | test/IntegrationTest.cs | using System.Net;
using FluentAssertions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Newtonsoft.Json;
using Xunit;
namespace HelloWorldApp
{
public class IntegrationTest
{
private TestServer server;
public IntegrationTest()
{
server = new... | using System.Net;
using FluentAssertions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Newtonsoft.Json;
using Xunit;
namespace HelloWorldApp
{
public class IntegrationTest
{
private TestServer server;
public IntegrationTest()
{
server = new... | mit | C# |
9b252d71ab114b919aef78683808f117b59b8257 | Add update API to app | jongalloway/aspnetcore-workshop,jongalloway/aspnetcore-workshop,jongalloway/aspnetcore-workshop,jongalloway/aspnetcore-workshop,DamianEdwards/aspnetcore-workshop | App/AttendeeList/Controllers/AttendeesApiController.cs | App/AttendeeList/Controllers/AttendeesApiController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AttendeeList
{
[Route("/api/[controller]")]
public class AttendeesApiController : Controller
{
private readonly WorkshopCon... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AttendeeList
{
[Route("/api/[controller]")]
public class AttendeesApiController : Controller
{
private readonly WorkshopContext _context;
... | mit | C# |
290cec0854c67b923e810a8a440c55151bcb8a85 | Mark SingleInstance.OnDestroy() as virtual so extending scripts have the opportunity to do their own cleanup when Unity calls this function on their behalf. | NeerajW/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,paseb/HoloToolkit-Unity,willcong/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity | Assets/HoloToolkit/Utilities/Scripts/SingleInstance.cs | Assets/HoloToolkit/Utilities/Scripts/SingleInstance.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// A simplified version of the Singleton class which doesn't depend on the Instance being se... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// A simplified version of the Singleton class which doesn't depend on the Instance being se... | mit | C# |
c01853d1fdb13e044ecc1985067938bdf45c8f0f | Fix duplicate randomsentience sound | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/StationEvents/Events/RandomSentience.cs | Content.Server/StationEvents/Events/RandomSentience.cs | using System.Linq;
using Content.Server.Chat.Managers;
using Content.Server.Ghost.Roles.Components;
using Content.Server.Mind.Commands;
using Content.Server.StationEvents.Components;
using Robust.Shared.Random;
namespace Content.Server.StationEvents.Events;
public sealed class RandomSentience : StationEvent
{
[D... | using System.Linq;
using Content.Server.Chat.Managers;
using Content.Server.Ghost.Roles.Components;
using Content.Server.Mind.Commands;
using Content.Server.StationEvents.Components;
using Robust.Shared.Random;
namespace Content.Server.StationEvents.Events;
public sealed class RandomSentience : StationEvent
{
[D... | mit | C# |
ceb99c37aa38a30046920da402fe6976797c07ca | Fix r# nag. | JohanLarsson/Gu.Wpf.ValidationScope | Gu.Wpf.ValidationScope.Ui.Tests/Helpers/WindowTests.cs | Gu.Wpf.ValidationScope.Ui.Tests/Helpers/WindowTests.cs | namespace Gu.Wpf.ValidationScope.Ui.Tests
{
using NUnit.Framework;
using TestStack.White;
using TestStack.White.UIItems.WindowItems;
using TestStack.White.WindowsAPI;
public abstract class WindowTests
{
private Application application;
public static Window StaticWindow { get; ... | namespace Gu.Wpf.ValidationScope.Ui.Tests
{
using NUnit.Framework;
using TestStack.White;
using TestStack.White.UIItems.WindowItems;
using TestStack.White.WindowsAPI;
public abstract class WindowTests
{
private Application application;
public static Window StaticWindow { get; ... | mit | C# |
d009bb2b235c3940c1a2c76cd7afed087879f625 | comment back to thread redirect | BCITer/Jabber,BCITer/Jabber,BCITer/Jabber | JabberBCIT/JabberBCIT/Views/Forum/CreateComment.cshtml | JabberBCIT/JabberBCIT/Views/Forum/CreateComment.cshtml | @model JabberBCIT.Models.Comment
@{
ViewBag.Title = "CreateComment";
}
@Styles.Render("~/Content/createForumPost.css")
<div class="container">
<div class="row forum">
<div class="col-md-offset-1 col-md-10">
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
... | @model JabberBCIT.Models.Comment
@{
ViewBag.Title = "CreateComment";
}
@Styles.Render("~/Content/createForumPost.css")
<div class="container">
<div class="row forum">
<div class="col-md-offset-1 col-md-10">
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
... | mit | C# |
19125fbabdc8406920659402ee4b0ef9069e68c2 | update console to new interface. | Jasily/jasily.frameworks.cli-csharp | Jasily.Frameworks.Cli.NetFramework/IO/ConsoleOutput.cs | Jasily.Frameworks.Cli.NetFramework/IO/ConsoleOutput.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jasily.Frameworks.Cli.IO
{
internal class ConsoleOutput : IOutput
{
private void SetColor(OutputLevel level)
{
switch (level)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jasily.Frameworks.Cli.IO
{
internal class ConsoleOutput : IOutput
{
private void SetColor(OutputLevel level)
{
switch (level)
{
... | mit | C# |
ae507022d8149414f672297c40e012a909cc8ed6 | Make sure required services are registered | mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pet... | src/Glimpse.Server.Web/GlimpseServerWebServices.cs | src/Glimpse.Server.Web/GlimpseServerWebServices.cs | using Glimpse.Agent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Glimpse.Server.Web;
using Glimpse.Web;
using Microsoft.Extensions.OptionsModel;
namespace Glimpse
{
public class GlimpseServerWebServices
{
public static IServiceCollection GetDefaultServ... | using Glimpse.Agent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Glimpse.Server.Web;
using Glimpse.Web;
using Microsoft.Extensions.OptionsModel;
namespace Glimpse
{
public class GlimpseServerWebServices
{
public static IServiceCollection GetDefaultServ... | mit | C# |
26b85a75bfe40a976f41dca018b669505fa3c8f5 | Refactor for extensibility | kyubisation/FluentRestBuilder,kyubisation/FluentRestBuilder | src/FluentRestBuilder/Pipes/InputOutputPipe.cs | src/FluentRestBuilder/Pipes/InputOutputPipe.cs | // <copyright file="InputOutputPipe.cs" company="Kyubisation">
// Copyright (c) Kyubisation. All rights reserved.
// </copyright>
namespace FluentRestBuilder.Pipes
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
public abstract class InputOutputPipe<TInput> :
OutputPipe<TInput>,
... | // <copyright file="InputOutputPipe.cs" company="Kyubisation">
// Copyright (c) Kyubisation. All rights reserved.
// </copyright>
namespace FluentRestBuilder.Pipes
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
public abstract class InputOutputPipe<TInput> :
OutputPipe<TInput>,
... | mit | C# |
514c624fcff4231b2d7a03526842351076241b0c | Fix InvalidSearchApiTests expected status code and message (#4590) | elastic/elasticsearch-net,elastic/elasticsearch-net | tests/Tests/Search/Search/InvalidSearchApiTests.cs | tests/Tests/Search/Search/InvalidSearchApiTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Search.Search
{
public class InvalidSearchApiTests : S... | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Search.Search
{
public class InvalidSearchApiTests : S... | apache-2.0 | C# |
c951f1aab0818154625dd324797477ba5f0c5b5c | Prueba de subir a GitHub | JuanQuijanoAbad/UniversalSync,JuanQuijanoAbad/UniversalSync | UniversalSync_Client_Console/Program.cs | UniversalSync_Client_Console/Program.cs | using System;
using StorageAzure;
namespace UniversalSync_Client_Console
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
var filesPaths = SelectFolder.RecursiveAndFiles();
var repository = new Blob(new Configuration());
... | using System;
using StorageAzure;
namespace UniversalSync_Client_Console
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
var filesPaths = SelectFolder.RecursiveAndFiles();
var repository = new Blob(new Configuration());
... | mit | C# |
8b4c45d906abe77ad9e885ebe3bfe0caae2880c6 | Update Create Comment Ajax Form | csyntax/BlogSystem | Source/BlogSystem.Web/Views/Comments/_CreateComment.cshtml | Source/BlogSystem.Web/Views/Comments/_CreateComment.cshtml | @model BlogSystem.Web.ViewModels.Comment.CommentViewModel
<h3>Leave a Comment</h3>
@if (User.Identity.IsAuthenticated)
{
using (Ajax.BeginForm("Create", "Comments", new { id = ViewData["id"].ToString() }, new AjaxOptions { HttpMethod = "Post", InsertionMode = InsertionMode.Replace, UpdateTargetId = "comments", O... | @model BlogSystem.Web.ViewModels.Comment.CommentViewModel
<h3>Leave a Comment</h3>
@if (User.Identity.IsAuthenticated)
{
using (Ajax.BeginForm("Create", "Comments", new { id = ViewData["id"].ToString() }, new AjaxOptions { HttpMethod = "Post", InsertionMode = InsertionMode.Replace, UpdateTargetId = "comments", O... | mit | C# |
9df40e8ccbf1108599401ecc05099bb5938f50fc | Add Program | networm/Unity3dScriptTemplatesTool | Unity3dScriptTemplatesTool/Program.cs | Unity3dScriptTemplatesTool/Program.cs | using Microsoft.Win32;
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace Unity3dScriptTemplatesTool
{
class Program
{
static void Main(string[] args)
{
// find reg key
const string userRoot = "HKEY_CURRENT_USER";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unity3dScriptTemplatesTool
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
5e070276e09fee1bad13f416b103e7d4c253eccf | Implement link property and added add link method | lucasbrendel/chain | Chain/Chain.cs | Chain/Chain.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chain
{
public interface IChain
{
IList<ILink> Links { get; }
void ConnectAllLinks();
void LoopLinks(int amountOfLoops);
void RunLinks();
void A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chain
{
public interface IChain
{
IList<ILink> Links { get; }
void ConnectAllLinks();
void LoopLinks(int amountOfLoops);
void RunLinks();
}
pub... | mit | C# |
4078ca1d228843ae6397e805affa8d7cb1fca9f7 | Update to use fluent API to fix build break. | OmniSharp/omnisharp-scaffolding,OmniSharp/omnisharp-scaffolding | test/Microsoft.Framework.CodeGeneration.EntityFramework.Test/TestModels/TestModel.cs | test/Microsoft.Framework.CodeGeneration.EntityFramework.Test/TestModels/TestModel.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Framework.CodeGeneration.EntityFramework.Test.TestModels
{
public stati... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Framework.CodeGeneration.EntityFramework.Test.TestModels
{
public stati... | mit | C# |
8f386040c0e8b595b36c3002f36edb0037cea6c8 | Add Register*ChatMessage methods to interface | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs | src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs | using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id);
void RegisterMove(Game subject, Move move);
void RegisterGameOutcome(Game subject, stri... | using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id);
void RegisterMove(Game subject, Move move);
void RegisterGameOutcome(Game subject, stri... | agpl-3.0 | C# |
8296e3dfb9d3f3f7a968bb3e056e1e3354e38d53 | Update WindowAlwaysOnTop.cs | UnityCommunity/UnityLibrary | Assets/Scripts/Helpers/Windows/WindowAlwaysOnTop.cs | Assets/Scripts/Helpers/Windows/WindowAlwaysOnTop.cs | // keep executable window always on top, good for multiplayer testing
using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace UnityLibrary
{
public class WindowAlwaysOnTop : MonoBehaviour
{
#if !UNITY_STANDALONE_LINUX
// https://stackoverflow.com/a/34703664/5452781
pr... | // keep executable window always on top, good for multiplayer testing
using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace UnityLibrary
{
public class WindowAlwaysOnTop : MonoBehaviour
{
// https://stackoverflow.com/a/34703664/5452781
private static readonly IntPtr ... | mit | C# |
f237a72cc4016ed2b22c9dd7e1db18f1d284b620 | Update Program.cs | hprose/hprose-dotnet | examples/Limiter/Program.cs | examples/Limiter/Program.cs | using Hprose.RPC;
using Hprose.RPC.Plugins.Limiter;
using System;
using System.Net;
using System.Threading.Tasks;
class MyService {
public int Sum(int x, int y) {
return x + y;
}
}
public interface IMyService {
Task<int> Sum(int x, int y);
}
class Program {
static async Task RunClient() {
... | using System;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
using Hprose.RPC;
using Hprose.RPC.Plugins.Limiter;
class MyService {
public int Sum(int x, int y) {
return x + y;
}
}
public interface IMyService {
Task<int> Sum(int x, int y);
}
class Program {
static a... | mit | C# |
6d6c5a9d56ecd7f1e3a46da5717eb3681860fc3e | tweak how exceptions are logged | TheTree/branch,TheTree/branch,TheTree/branch | dotnet/Packages/Crpc/Middleware/ExceptionMiddleware.cs | dotnet/Packages/Crpc/Middleware/ExceptionMiddleware.cs | using System;
using System.Threading.Tasks;
using Branch.Packages.Bae;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Sentry;
namespace Branch.Packages.Crpc.Middleware
{
public sealed class ExceptionMiddleware : IMiddleware
{
p... | using System;
using System.Threading.Tasks;
using Branch.Packages.Bae;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Branch.Packages.Crpc.Middleware
{
public sealed class ExceptionMiddleware : IMiddleware
{
private readonl... | mit | C# |
dc6d9824e5289cd5220e70b109b91e76e8ea09e6 | Fix the `SampleTypeEqualityComparer`. | fffej/BobTheBuilder,alastairs/BobTheBuilder | BobTheBuilder.Tests/SampleTypeEqualityComparer.cs | BobTheBuilder.Tests/SampleTypeEqualityComparer.cs | using System.Collections.Generic;
namespace BobTheBuilder.Tests
{
internal class SampleTypeEqualityComparer : IEqualityComparer<SampleType>
{
public bool Equals(SampleType x, SampleType y)
{
if (ReferenceEquals(x, y))
{
return true;
}
... | using System.Collections.Generic;
namespace BobTheBuilder.Tests
{
internal class SampleTypeEqualityComparer : IEqualityComparer<SampleType>
{
public bool Equals(SampleType x, SampleType y)
{
if (ReferenceEquals(x, y))
{
return true;
}
... | apache-2.0 | C# |
f086d33d1adfa1b53ece2b4788fc0f3c7784db52 | use app config to query any database insteead of using hardcoded sproc | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Controller/Helpers.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Controller/Helpers.cs | using Appleseed.Base.Alerts.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Dapper;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Configuration;
namespace Appleseed.Base.Alerts.Controller
{
class Helpers
{
... | using Appleseed.Base.Alerts.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Dapper;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Configuration;
namespace Appleseed.Base.Alerts.Controller
{
class Helpers
{
... | apache-2.0 | C# |
9304d6a75f39748f3a6e8d81a790140fc846e50c | Remove unused warnings | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityGGVHand.cs | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityGGVHand.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input
{
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
#if UNITY_WSA
using UnityEngine;
using UnityEngine.XR.WSA.Input;
#endif
... | mit | C# |
52ad2a21a7483f40ba065408197f87d4f5b03bf1 | Disable Test CalDavToOutlookToCalDavRoundTrip.KeepsCustomProperties | aluxnimm/outlookcaldavsynchronizer,DoCode/Outlook-CalDav-Synchronizer | CalDavSynchronizerTestAutomation/SynchronizerTests/CalDavToOutlookToCalDavRoundTrip.cs | CalDavSynchronizerTestAutomation/SynchronizerTests/CalDavToOutlookToCalDavRoundTrip.cs | using System;
using CalDavSynchronizerTestAutomation.Infrastructure;
using NUnit.Framework;
namespace CalDavSynchronizerTestAutomation.SynchronizerTests
{
[TestFixture]
public class CalDavToOutlookToCalDavRoundTrip
{
//[Test]
public void KeepsCustomProperties ()
{
var eventData = @"
BEGIN:VCAL... | using System;
using CalDavSynchronizerTestAutomation.Infrastructure;
using NUnit.Framework;
namespace CalDavSynchronizerTestAutomation.SynchronizerTests
{
[TestFixture]
public class CalDavToOutlookToCalDavRoundTrip
{
[Test]
public void KeepsCustomProperties ()
{
var eventData = @"
BEGIN:VCALEN... | agpl-3.0 | C# |
f670f1e84defd720d6607967a1e0c5ead0c0fd2a | Update Result.cs | maximn/google-maps,mklimmasch/google-maps,mklimmasch/google-maps,maximn/google-maps | GoogleMapsApi/Entities/Geocoding/Response/Result.cs | GoogleMapsApi/Entities/Geocoding/Response/Result.cs | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GoogleMapsApi.Entities.Geocoding.Response
{
/// <summary>
/// When the geocoder returns results, it places them within a (JSON) results array. Even if the geocoder returns no results (such as if the address doesn't exist) it still... | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GoogleMapsApi.Entities.Geocoding.Response
{
/// <summary>
/// When the geocoder returns results, it places them within a (JSON) results array. Even if the geocoder returns no results (such as if the address doesn't exist) it still... | bsd-2-clause | C# |
8ccc6c9a0cc2b2cd82a7461ae31708b872682483 | Support slashes in slugs | synhershko/NSemble,synhershko/NSemble | NSemble.Web/Modules/ContentPages/ContentPagesModule.cs | NSemble.Web/Modules/ContentPages/ContentPagesModule.cs | using System;
using NSemble.Core.Models;
using NSemble.Core.Nancy;
using NSemble.Modules.ContentPages.Models;
using Raven.Client;
namespace NSemble.Modules.ContentPages
{
public class ContentPagesModule : NSembleModule
{
public static readonly string HomepageSlug = "home";
public ContentPages... | using System;
using NSemble.Core.Models;
using NSemble.Core.Nancy;
using NSemble.Modules.ContentPages.Models;
using Raven.Client;
namespace NSemble.Modules.ContentPages
{
public class ContentPagesModule : NSembleModule
{
public static readonly string HomepageSlug = "home";
public ContentPages... | apache-2.0 | C# |
e5b670cd63939f5e39381a12e78d708ad5889ce5 | Fix access denied issue when access process information in RemoteProcessService | jmptrader/SuperSocket,jmptrader/SuperSocket,mdavid/SuperSocket,chucklu/SuperSocket,mdavid/SuperSocket,jmptrader/SuperSocket,fryderykhuang/SuperSocket,memleaks/SuperSocket,chucklu/SuperSocket,chucklu/SuperSocket,kerryjiang/SuperSocket,ZixiangBoy/SuperSocket,ZixiangBoy/SuperSocket,fryderykhuang/SuperSocket,mdavid/SuperSo... | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | apache-2.0 | C# |
e73fdb117d27107cb4a04e7d9014d93c02fe5fd0 | clean up comments | forki/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,michaKFromParis/octokit.net,gabrielweyer/octokit.net,devkhan/octokit.net,thedillonb/octokit.net,geek0r/octokit.net,ivandrofly/octokit.net,chunkychode/octokit.net,rlugojr/octokit.net,octokit/octokit.net,hahmed/octokit.net,alfhenrik/octokit.net,ChrisMissal/octok... | Octokit/Models/Request/SearchQualifierOperator.cs | Octokit/Models/Request/SearchQualifierOperator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit
{
public enum SearchQualifierOperator
{
GreaterThan, // >
LessThan, // <
LessThanOrEqualTo, // <=
GreaterThanOrEqualTo// >=
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit
{
/// <summary>
/// Used for date and int comparisions in searches
/// </summary>
public enum SearchQualifierOperator
{
GreaterThan, // >
LessThan, ... | mit | C# |
90aa677480ff936e8dc54f6813d56daa01eb2847 | fix version | KleinerHacker/net-effects | net.effects/net.effects/Properties/AssemblyInfo.cs | net.effects/net.effects/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | apache-2.0 | C# |
1d4433b1ae059e93c4c47f92f3605c0aec3f0b24 | Enable LoginTests. | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | XamarinApp/MyTrips/MyTrips.UITests/Tests/LoginTests.cs | XamarinApp/MyTrips/MyTrips.UITests/Tests/LoginTests.cs | using System;
using NUnit.Framework;
using Xamarin.UITest;
namespace MyTrips.UITests
{
[TestFixture (Platform.iOS)]
public class LoginTests : AbstractSetup
{
public LoginTests (Platform platform) : base (platform)
{
}
[Test]
public void AppLaunchesSuccessfully()
{
app.Screenshot("App Launch");
}... | using System;
using NUnit.Framework;
using Xamarin.UITest;
namespace MyTrips.UITests
{
// [TestFixture (Platform.iOS)]
public class LoginTests : AbstractSetup
{
public LoginTests (Platform platform) : base (platform)
{
}
[Test]
public void AppLaunchesSuccessfully()
{
app.Screenshot("App Launch");
... | mit | C# |
723b4f0749486f11b046d3eca98b40de453c6c34 | Move position input before button input like before | EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Android/Input/AndroidTouchHandler.cs | osu.Framework.Android/Input/AndroidTouchHandler.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 Android.Views;
using osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges;
using osu.Framework.Platform;
using osuTK.Input;
namespace osu.Framewor... | // 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 Android.Views;
using osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges;
using osu.Framework.Platform;
using osuTK.Input;
namespace osu.Framewor... | mit | C# |
5aa1f10d2cde25e4deb4276dfa76808a34201cd4 | Hide row when ColumnFilter is false | mcintyre321/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables | Mvc.JQuery.Datatables/Views/Shared/DataTable.cshtml | Mvc.JQuery.Datatables/Views/Shared/DataTable.cshtml | @using Mvc.JQuery.Datatables
@model DataTableVm
<table id="@Model.Id" class="display" >
<thead>
<tr>
@foreach (var column in Model.Columns)
{
<th>@column</th>
}
</tr>
@if (Model.ColumnFilter)
{
<tr>
@for... | @using Mvc.JQuery.Datatables
@model DataTableVm
<table id="@Model.Id" class="display" >
<thead>
<tr>
@foreach (var column in Model.Columns)
{
<th>@column</th>
}
</tr>
<tr>
@foreach (var column in Model.Columns)
{
... | mit | C# |
6b52f73d3098bebb19e9a9ddbfd86c3a4927ae62 | Optimize BundleConfig | ivantomchev/ImdbLiteSE,ivantomchev/ImdbLiteSE,ivantomchev/ImdbLiteSE | Source/Web/ImdbLite.Web/App_Start/BundleConfig.cs | Source/Web/ImdbLite.Web/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
namespace ImdbLite.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
RegisterScriptBundle... | using System.Web;
using System.Web.Optimization;
namespace ImdbLite.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new Scri... | mit | C# |
83ad56876c18edd3b1d1cc9cbe119e9fa2be9e39 | Update AssemblyInfo.cs | mcintyre321/Noodles,mcintyre321/Noodles | Noodles.AspMvc.Templates/Properties/AssemblyInfo.cs | Noodles.AspMvc.Templates/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("No... | 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("No... | mit | C# |
c11427dfd1efa2229afc971d5c239876900076ba | Remove local variable in test helper | tsqllint/tsqllint,tsqllint/tsqllint | TSQLLint.Tests/UnitTests/Rules/RulesTestHelper.cs | TSQLLint.Tests/UnitTests/Rules/RulesTestHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.SqlServer.TransactSql.ScriptDom;
using NUnit.Framework;
using TSQLLint.Lib.Parser;
using TSQLLint.Lib.Rules.RuleViolations;
using TSQLLint.Tests.Helpers;
namespace TSQLLint.Tests.UnitTests.Rules
{
public static clas... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.SqlServer.TransactSql.ScriptDom;
using NUnit.Framework;
using TSQLLint.Lib.Parser;
using TSQLLint.Lib.Rules.RuleViolations;
using TSQLLint.Tests.Helpers;
namespace TSQLLint.Tests.UnitTests.Rules
{
public static clas... | mit | C# |
74cc0be142dc9aeb8d6d7ea1b04aa5d9f5e1d22c | Update DeviceInfoImplementation.cs | LostBalloon1/Xamarin.Plugins,tim-hoff/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,monostefan/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins | DeviceInfo/DeviceInfo/DeviceInfo.Plugin.WindowsPhone81/DeviceInfoImplementation.cs | DeviceInfo/DeviceInfo/DeviceInfo.Plugin.WindowsPhone81/DeviceInfoImplementation.cs | /*
* Ported with permission from: Thomasz Cielecki @Cheesebaron
* AppId: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins
*/
//---------------------------------------------------------------------------------
// Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk)
// Licensed under the Apache License, Versio... | using DeviceInfo.Plugin.Abstractions;
using System;
using System.Threading.Tasks;
using Windows.Devices.Enumeration.Pnp;
using Windows.System;
using Windows.System.Profile;
using System.Linq;
using Windows.UI.Xaml.Controls;
using System.Text.RegularExpressions;
using Windows.Security.ExchangeActiveSyncProvisioning;
n... | mit | C# |
173ab1adb76fdc7f38d8ced4f0db1e3b2f859fc0 | Update key | jCho23/MobileAzureDevDays,jCho23/MobileAzureDevDays,jCho23/MobileAzureDevDays,jCho23/MobileAzureDevDays,jCho23/MobileAzureDevDays,jCho23/MobileAzureDevDays | Xamarin/MobileAzureDevDays/Services/TextAnalysis.cs | Xamarin/MobileAzureDevDays/Services/TextAnalysis.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.ProjectOxford.Text.Core;
using Microsoft.ProjectOxford.Text.Sentiment;
namespace MobileAzureDevDays.Services
{
static class TextAnalysis
{
const string sentimentAPIKey = "ADD KEY";
... | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.ProjectOxford.Text.Core;
using Microsoft.ProjectOxford.Text.Sentiment;
namespace MobileAzureDevDays.Services
{
static class TextAnalysis
{
const string sentimentAPIKey = "b94d27788b514a33b... | mit | C# |
d1853ea55bfc0ddd04c7785ebb246a9865877389 | Fix incorrect formatting for switch/case | smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu | osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.cs | osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Screens.Select.Leaderboards;
using osu.Framework.Graphics.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Screens.Select.Leaderboards;
using osu.Framework.Graphics.... | mit | C# |
00178a1d4b6e7d8e73f427105341ae00cdc9107e | Add comments explaining behavior of DependencyContext.Default | serilog/serilog-framework-configuration,serilog/serilog-settings-configuration | src/Serilog.Settings.Configuration/Settings/Configuration/Assemblies/AssemblyFinder.cs | src/Serilog.Settings.Configuration/Settings/Configuration/Assemblies/AssemblyFinder.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Extensions.DependencyModel;
namespace Serilog.Settings.Configuration.Assemblies
{
abstract class AssemblyFinder
{
public abstract IReadOnlyList<AssemblyName> FindAssembliesContainingName(string nameToFind);
... | using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Extensions.DependencyModel;
namespace Serilog.Settings.Configuration.Assemblies
{
abstract class AssemblyFinder
{
public abstract IReadOnlyList<AssemblyName> FindAssembliesContainingName(string nameToFind);
... | apache-2.0 | C# |
dd5eca53442d873092965dc4b7d662dc4b89500b | Remove unused method | ReuseReduceRecycle/HitagiBot | HitagiBot/Services/Geocoder.cs | HitagiBot/Services/Geocoder.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Geocoding.Google;
namespace HitagiBot.Services
{
public static class Geocoder
{
private static readonly GoogleGeocoder GeocoderHandle =
new GoogleGeocoder(Program.Config["Tokens:Google Geocoder"]);
... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Geocoding.Google;
namespace HitagiBot.Services
{
public static class Geocoder
{
private static readonly GoogleGeocoder GeocoderHandle =
new GoogleGeocoder(Program.Config["Tokens:Google Geocoder"]);
... | bsd-3-clause | C# |
36d6b722ea325c53e4e31796136fffc1942d9d3e | Fix Call list example for C# | teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snip... | rest/call/list-get-example-4/list-get-example-4.cs | rest/call/list-get-example-4/list-get-example-4.cs | // Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at twilio.com/user/account
string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
string AuthToken = "your_... | // Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at twilio.com/user/account
string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
string AuthToken = "your_... | mit | C# |
73bf4c576d43262ce4f69a8735e066a9e41dcbe5 | fix incorrect property has change logic check | carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerpla... | src/Abp.Zero.EntityFramework/EntityHistory/Extensions/DbPropertyEntryExtensions.cs | src/Abp.Zero.EntityFramework/EntityHistory/Extensions/DbPropertyEntryExtensions.cs | using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace Abp.EntityHistory.Extensions
{
internal static class DbPropertyEntryExtensions
{
internal static object GetNewValue(this DbPropertyEntry propertyEntry)
{
if (propertyEntry.EntityEntry.State == EntityState.D... | using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace Abp.EntityHistory.Extensions
{
internal static class DbPropertyEntryExtensions
{
internal static object GetNewValue(this DbPropertyEntry propertyEntry)
{
if (propertyEntry.EntityEntry.State == EntityState.D... | mit | C# |
1fca41c593113e3b8b0d6fead7c7a876998a16ac | Make UserInputManager test much more simple | smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-fram... | osu.Framework.Tests/Platform/UserInputManagerTest.cs | osu.Framework.Tests/Platform/UserInputManagerTest.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;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture]
public class UserInputManag... | // 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.Graphics;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture... | mit | C# |
dc38aeac4392d44b1b99aa3b4a18e47aa5373f21 | Remove unnecessary local definition of colour logic from taiko judgement | ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,peppy/osu | osu.Game.Rulesets.Taiko/UI/DrawableTaikoJudgement.cs | osu.Game.Rulesets.Taiko/UI/DrawableTaikoJudgement.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Taiko.UI
{
/// <summary>
... | // 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.Game.Rulesets.Objects.Drawables;
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Framework.Graphics;
usi... | mit | C# |
bf69874737e97872defcbad1b8c86e65557ae2be | Fix against pulled code from someone elses merge. | lambdakris/templating,seancpeters/templating,rschiefer/templating,danroth27/templating,seancpeters/templating,lambdakris/templating,rschiefer/templating,lambdakris/templating,mlorbetske/templating,seancpeters/templating,mlorbetske/templating,danroth27/templating,seancpeters/templating,danroth27/templating,rschiefer/tem... | src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/Macros/EvaluateMacro.cs | src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/Macros/EvaluateMacro.cs | using System;
using System.Text;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.Core.Operations;
using Microsoft.TemplateEngine.Orchestrator.RunnableProjects.Macros.Config;
using Newtonsoft.Json.Linq;
namespace Microsoft.TemplateEngine.Orchest... | using System;
using System.Text;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.Core.Operations;
using Microsoft.TemplateEngine.Orchestrator.RunnableProjects.Macros.Config;
using Newtonsoft.Json.Linq;
namespace Microsoft.TemplateEngine.Orchest... | mit | C# |
c50590c00ec3af040817760b27ad342b9e99c45f | Fix LockFileCache when SDK and trimming task are using different NuGet dlls | ericstj/standard,ericstj/standard,weshaggard/standard,weshaggard/standard | Microsoft.Packaging.Tools.Trimming/tasks/Microsoft.NET.Build.Tasks/LockFileCache.cs | Microsoft.Packaging.Tools.Trimming/tasks/Microsoft.NET.Build.Tasks/LockFileCache.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Microsoft.Build.Framework;
using NuGet.Common;
using NuGet.ProjectModel;
namespace Microsoft.NET.Build.Tas... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Microsoft.Build.Framework;
using NuGet.Common;
using NuGet.ProjectModel;
namespace Microsoft.NET.Build.Tas... | mit | C# |
0c92a5acadba74cb926ea05932703b16e4266bbf | Move the method to static to avoid calling for an instance of the object. This method is simply to create an asbstration level for the prefix. | GSoft-SharePoint/Dynamite-Components,GSoft-SharePoint/Dynamite-Components,GSoft-SharePoint/Dynamite-Components | Source/GSoft.Dynamite.Publishing.Contracts/Constants/PublishingResultSourceInfos.cs | Source/GSoft.Dynamite.Publishing.Contracts/Constants/PublishingResultSourceInfos.cs | using System.Collections.Generic;
using GSoft.Dynamite.Search;
using Microsoft.Office.Server.Search.Administration;
using Microsoft.Office.Server.Search.Query;
namespace GSoft.Dynamite.Publishing.Contracts.Constants
{
/// <summary>
/// Holds the Result Source infos for the Publishing module
/// </summary>... | using System.Collections.Generic;
using GSoft.Dynamite.Search;
using Microsoft.Office.Server.Search.Administration;
using Microsoft.Office.Server.Search.Query;
namespace GSoft.Dynamite.Publishing.Contracts.Constants
{
/// <summary>
/// Holds the Result Source infos for the Publishing module
/// </summary>... | mit | C# |
d3a5e3ae23aaec58f857333c4b9dd19110955451 | clarify code | NTumbleBit/NTumbleBit,DanGould/NTumbleBit | NTumbleBit.TumblerServer/Program.cs | NTumbleBit.TumblerServer/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using NBitcoin;
using NTumbleBit.Common;
using Microsoft.Extensions.Logging.Console;
using Microsoft.Extensions.Logging;
using ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using NBitcoin;
using NTumbleBit.Common;
using Microsoft.Extensions.Logging.Console;
using Microsoft.Extensions.Logging;
using ... | mit | C# |
ca2ab48fdbc37ad23a3a904057563ee09e4b5444 | Improve performance when getting a KH2 message | Xeeynamo/KingdomHearts | OpenKh.Engine/Kh2MessageProvider.cs | OpenKh.Engine/Kh2MessageProvider.cs | using OpenKh.Kh2;
using OpenKh.Kh2.Messages;
using System.Collections.Generic;
using System.Linq;
namespace OpenKh.Engine
{
public class Kh2MessageProvider : IMessageProvider
{
private Dictionary<int, byte[]> _messages = new Dictionary<int, byte[]>();
public IMessageEncoder Encoder { get; set... | using OpenKh.Kh2;
using OpenKh.Kh2.Messages;
using System.Collections.Generic;
using System.Linq;
namespace OpenKh.Engine
{
public class Kh2MessageProvider : IMessageProvider
{
private List<Msg.Entry> _messages;
public IMessageEncoder Encoder { get; set; } = Encoders.InternationalSystem;
... | mit | C# |
3bee36f6a2faf447cb863984b562013e93436a01 | Add index to Action column | NeoAdonis/osu,ppy/osu,naoey/osu,smoogipoo/osu,Drezi126/osu,EVAST9919/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,Damnae/osu,DrabWeb/osu,NeoAdonis/osu,Nabile-Rahmani/osu,peppy/osu-new,peppy/osu,naoey/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,ppy/osu,Frontear/osuKyzer,DrabWeb/osu,smoogipooo/osu,... | osu.Game/Input/Bindings/DatabasedKeyBinding.cs | osu.Game/Input/Bindings/DatabasedKeyBinding.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.Input.Bindings;
using osu.Game.Rulesets;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace osu.Game.Input.Binding... | // 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.Input.Bindings;
using osu.Game.Rulesets;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace osu.Game.Input.Binding... | mit | C# |
20c04df658139654c284793d2805060666e32190 | Fix label/input binding in attachment form | dafrito/trac-mirror,moreati/trac-gitsvn,moreati/trac-gitsvn,dokipen/trac,exocad/exotrac,exocad/exotrac,dokipen/trac,dafrito/trac-mirror,dafrito/trac-mirror,moreati/trac-gitsvn,moreati/trac-gitsvn,dokipen/trac,dafrito/trac-mirror,exocad/exotrac,exocad/exotrac | templates/attachment.cs | templates/attachment.cs | <?cs include "header.cs" ?>
<?cs include "macros.cs" ?>
<div id="page-content">
<h3>Add Attachment to
<a href="<?cs var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
<div id="main">
<div id="main-content">
<fieldset>
<form action="<?cs var:cgi_location ?>" method="post"
enc... | <?cs include "header.cs" ?>
<?cs include "macros.cs" ?>
<div id="page-content">
<h3>Add Attachment to
<a href="<?cs var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
<div id="main">
<div id="main-content">
<fieldset>
<form action="<?cs var:cgi_location ?>" method="post"
enc... | bsd-3-clause | C# |
9b3bb93c7f3610f2b6a4a6396ab92b76b72072ca | Remove unnecessary lock. | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/Core/Configuration/ConfigurationFileLocator.cs | src/Core/Configuration/ConfigurationFileLocator.cs | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Reflec... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Reflec... | bsd-3-clause | C# |
f2e606db9905d2afe8ea354acf1285b6e465a561 | Fix for unbind on unbound collection | cybergen/bri-lib | BriLib/Scripts/Collection/TemplateDuplicator.cs | BriLib/Scripts/Collection/TemplateDuplicator.cs | using System.Collections.Generic;
using UnityEngine;
namespace BriLib
{
public class TemplateDuplicator : MonoBehaviour
{
[SerializeField] private GameObject _listEntryTemplate;
[SerializeField] private Transform _listParent;
private Dictionary<object, IView> _viewMap = new Dictionary<object, IView>();... | using System.Collections.Generic;
using UnityEngine;
namespace BriLib
{
public class TemplateDuplicator : MonoBehaviour
{
[SerializeField] private GameObject _listEntryTemplate;
[SerializeField] private Transform _listParent;
private Dictionary<object, IView> _viewMap = new Dictionary<object, IView>();... | mit | C# |
f80f8da989209027a7fac1339077e4c004e5bf8b | Unify common options with CppSharp. | mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,m... | binder/Options.cs | binder/Options.cs | using CppSharp;
using CppSharp.Generators;
namespace MonoEmbeddinator4000
{
public enum CompilationTarget
{
SharedLibrary,
StaticLibrary,
Application
}
public class Options : DriverOptions
{
public Options()
{
Project = new Proje... | using CppSharp;
using CppSharp.Generators;
namespace MonoEmbeddinator4000
{
public enum CompilationTarget
{
SharedLibrary,
StaticLibrary,
Application
}
public class Options
{
public Options()
{
Project = new Project();
... | mit | C# |
18f73d13eff95d6b51b44fdec7e2d043c6d10864 | remove absolute namespace in script | DutchBeastman/ProefBekwaamheidIceCubeGames | Assets/Scripts/Audio/AudioClips.cs | Assets/Scripts/Audio/AudioClips.cs | // Created by: Jeremy Bond
// Date: 27/05/2016
using UnityEngine;
public class AudioClips : MonoBehaviour
{
[SerializeField] private AudioClip[] digSounds;
[SerializeField] private AudioClip[] buttonPushSounds;
[SerializeField] private AudioClip walkingSound;
[SerializeField] private AudioClip LosingLifeSound;
... | // Created by: Jeremy Bond
// Date: 27/05/2016
using UnityEngine;
using System.Collections;
public class AudioClips : MonoBehaviour
{
[SerializeField] private AudioClip[] digSounds;
[SerializeField] private AudioClip[] buttonPushSounds;
[SerializeField] private AudioClip walkingSound;
[SerializeField] private A... | mit | C# |
0eb07038575b24cc8f6601397866f87d246d51fc | Add damping multiplier to seperations steps | Saduras/DungeonGenerator | Assets/SourceCode/RoomSeperator.cs | Assets/SourceCode/RoomSeperator.cs | using UnityEngine;
[RequireComponent(typeof(RoomGenerator))]
public class RoomSeperator : MonoBehaviour
{
public int steps = 100;
public float damp = 0.5f;
Room[] _rooms;
public void Run()
{
int stepCount = 0;
var generator = this.GetComponent<RoomGenerator> ();
_rooms = generator.generatedRooms;
... | using UnityEngine;
[RequireComponent(typeof(RoomGenerator))]
public class RoomSeperator : MonoBehaviour
{
public int steps = 100;
Room[] _rooms;
public void Run()
{
int stepCount = 0;
var generator = this.GetComponent<RoomGenerator> ();
_rooms = generator.generatedRooms;
if (_rooms.Length <= 0) {
... | mit | C# |
76fcff3a26a16379b5e2a59ab6a2ca234879a887 | Update HtmlWebViewExtender.cs (#96) | randigtroja/Flashback | Flashback.Uwp/Extensions/HtmlWebViewExtender.cs | Flashback.Uwp/Extensions/HtmlWebViewExtender.cs | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace FlashbackUwp.Extensions
{
/// <summary>
/// Så vi kan binda direkt till "html" från vymodellen
/// </summary>
public class HtmlWebViewExtender
{
public static string GetHTML(DependencyObject obj) => (string)obj.GetValue(HTMLPr... | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace FlashbackUwp.Extensions
{
/// <summary>
/// Så vi kan binda direkt till "html" från vymodellen
/// </summary>
public class HtmlWebViewExtender
{
public static string GetHTML(DependencyObject obj)
{
return ... | mit | C# |
31f1d15cc3222dbc34bbc0700f04eec56670c492 | Use empty array of the specified type | civicsource/http,civicsource/webapi-utils | Core/CsvArrayConverterAttribute.cs | Core/CsvArrayConverterAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System.Net.Http;
namespace Archon.WebApi
{
public class CsvArrayConverterAttribute : ActionFilterAttribute
{
readonly string n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System.Net.Http;
namespace Archon.WebApi
{
public class CsvArrayConverterAttribute : ActionFilterAttribute
{
readonly string n... | mit | C# |
240e95f3b99da92f896a7c3c723cad39ec3425ce | Allow name to be over ridden | m0wo/ucreate,nicbell/ucreate,nicbell/ucreate,m0wo/ucreate,m0wo/ucreate,nicbell/ucreate | NicBell.UCreate/Attributes/PropertyAttribute.cs | NicBell.UCreate/Attributes/PropertyAttribute.cs | using NicBell.UCreate.Helpers;
using NicBell.UCreate.Interfaces;
using System;
using System.Runtime.CompilerServices;
using Umbraco.Core.Models;
namespace NicBell.UCreate.Attributes
{
/// <summary>
/// Makes property as part of the generated type
/// </summary>
[AttributeUsage(AttributeTargets.Propert... | using NicBell.UCreate.Helpers;
using NicBell.UCreate.Interfaces;
using System;
using System.Runtime.CompilerServices;
using Umbraco.Core.Models;
namespace NicBell.UCreate.Attributes
{
/// <summary>
/// Makes property as part of the generated type
/// </summary>
[AttributeUsage(AttributeTargets.Propert... | unlicense | C# |
8f5ab4a0540b20e4f2892e8873218c4b8918133d | change universal version to 1.0.0.9 | poumason/Mixpanel.Net.Client,poumason/MixpanelClientDotNet | Library/MixpanelClientDotNet.UWP/Properties/AssemblyInfo.cs | Library/MixpanelClientDotNet.UWP/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("Mi... | 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("Mi... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.