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 |
|---|---|---|---|---|---|---|---|---|
6c0082e526b4dc4b5d76af4dec7929c572dfb90b | fix interface | CodeComb/EmailSender,CodeComb/EmailSender | src/CodeComb.Net.EmailSender/IEmailSender.cs | src/CodeComb.Net.EmailSender/IEmailSender.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CodeComb.Net.EmailSender
{
public interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string message);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CodeComb.Net.EmailSender
{
interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string message);
}
}
| apache-2.0 | C# |
f5d27329dd1175838777f18ab3e426548491c1fd | bump default ua | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/UserAgentService.cs | src/FilterLists.Services/UserAgentService.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace FilterLists.Services
{
[UsedImplicitly]
public static class UserAgentService
{
private const string UaStringSource = "https://techblog.willshouse.com/2012/01/03/most-common-us... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace FilterLists.Services
{
[UsedImplicitly]
public static class UserAgentService
{
private const string UaStringSource = "https://techblog.willshouse.com/2012/01/03/most-common-us... | mit | C# |
a84d9aa25be9f77efa40ba2632a587d6ad4e71ca | Remove Down() from Migrator (it is not used by the engine) | jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,jackawatts/ionfar-sharepoint-migration | src/IonFar.SharePoint.Migration/Migration.cs | src/IonFar.SharePoint.Migration/Migration.cs | using Microsoft.SharePoint.Client;
namespace IonFar.SharePoint.Migration
{
/// <summary>
/// Base class for code-based migrations.
/// </summary>
public abstract class Migration : IMigration
{
public abstract void Up(ClientContext clientContext, IUpgradeLog logger);
protected stri... | using Microsoft.SharePoint.Client;
namespace IonFar.SharePoint.Migration
{
/// <summary>
/// Base class for code-based migrations.
/// </summary>
public abstract class Migration : IMigration
{
public abstract void Up(ClientContext clientContext, IUpgradeLog logger);
public virtual... | mit | C# |
be2761c6cb788536e6f6883d11eccae2db1861bb | bump version | ghorsey/OpenGraph-Net,ghorsey/OpenGraph-Net | src/OpenGraph-Net/Properties/AssemblyInfo.cs | src/OpenGraph-Net/Properties/AssemblyInfo.cs | // <copyright file="AssemblyInfo.cs">
// Copyright Geoff Horsey
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modi... | // <copyright file="AssemblyInfo.cs" company="SHHH Innovations LLC">
// Copyright SHHH Innovations LLC
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes... | mit | C# |
efc7fb50f504d2a74f4bdefb2607368506210968 | Fix StartDate nullability in VoiceChatScheduled | MrRoundRobin/telegram.bot | src/Telegram.Bot/Types/VoiceChatScheduled.cs | src/Telegram.Bot/Types/VoiceChatScheduled.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object represents a service message about a voice chat scheduled in the chat.
/// </summary>
public class VoiceChatScheduled
{
/// <summary>
/// Point in time... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object represents a service message about a voice chat scheduled in the chat.
/// </summary>
public class VoiceChatScheduled
{
/// <summary>
/// Point in time... | mit | C# |
b5bf2b469359449463611ff195566c580e70c154 | Make ThreadSafeFlags public | shrah/corert,gregkalapos/corert,schellap/corert,shrah/corert,schellap/corert,botaberg/corert,mjp41/corert,mjp41/corert,krytarowski/corert,krytarowski/corert,krytarowski/corert,yizhang82/corert,kyulee1/corert,sandreenko/corert,shrah/corert,tijoytom/corert,kyulee1/corert,manu-silicon/corert,schellap/corert,botaberg/corer... | src/TypeSystem/src/Common/ThreadSafeFlags.cs | src/TypeSystem/src/Common/ThreadSafeFlags.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using Interlocked = System.Threading.Interlocked;
namespace Internal.TypeSystem
{
public struct ThreadSafeFlags
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using Interlocked = System.Threading.Interlocked;
namespace Internal.TypeSystem
{
struct ThreadSafeFlags
{
priv... | mit | C# |
315b0ac4405e0cb21394aacca18f2b3c6c09c860 | Throw for necessary settings | kohsuke/winsw | src/Core/WinSWCore/Configuration/DefaultSettings.cs | src/Core/WinSWCore/Configuration/DefaultSettings.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Xml;
using WMI;
namespace winsw.Configuration
{
/// <summary>
/// Default WinSW settings
/// </summary>
public sealed class DefaultWinSWSettings : IWinSWConfiguration
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Xml;
using WMI;
namespace winsw.Configuration
{
/// <summary>
/// Default WinSW settings
/// </summary>
public sealed class DefaultWinSWSettings : IWinSWConfiguration
{
... | mit | C# |
e27f34cd8d51233e21d6107e0445864629d9f1f1 | Update src/Bootstrap/Views/Shared/_validationSummary.cshtml | mohamedabdlaal/twitter.bootstrap.mvc,erichexter/twitter.bootstrap.mvc,erichexter/twitter.bootstrap.mvc,mohamedabdlaal/twitter.bootstrap.mvc | src/Bootstrap/Views/Shared/_validationSummary.cshtml | src/Bootstrap/Views/Shared/_validationSummary.cshtml | @{
// NOTE: This constant controls whether property validation failures will be excluded from the summary
const bool ExcludePropertyFailures = true;
var renderSummary = false;
if (ExcludePropertyFailures)
{
// Here we need to figure out if there are going to be any validation failure... | @if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×</a>
@Html.ValidationSummary(true)
</div>
}
| apache-2.0 | C# |
a06546bc82c6dfea59bd7ca76ead50278bec5bed | Add comments about relative Service address. | mrwizard82d1/learning_wcf,mrwizard82d1/learning_wcf | labs/ch1/ServiceFromScratch/Host/Program.cs | labs/ch1/ServiceFromScratch/Host/Program.cs | using System;
using System.ServiceModel;
using HelloIndigo;
namespace Host
{
class Program
{
static void Main()
{
// A side effect (although perhaps documented) of supplying
// a Uri to the ServiceHost contstructor is that this Uri
// becomes the base addr... | using System;
using System.ServiceModel;
using HelloIndigo;
namespace Host
{
class Program
{
static void Main()
{
using (
var host = new ServiceHost(typeof (HelloIndigoService),
new Uri("http://localhost:8000/HelloIndigo")))
{
... | epl-1.0 | C# |
3bae3f9240b89eb687f4ea1e20d9d3497be99877 | Add todo for MSBuildHelper | Julien-Mialon/Cake.Storm,Julien-Mialon/Cake.Storm | integration/src/Cake.Storm.Fluent/Helpers/MSBuildHelper.cs | integration/src/Cake.Storm.Fluent/Helpers/MSBuildHelper.cs | using System.Collections.Generic;
using System.Linq;
namespace Cake.Storm.Fluent.Helpers
{
public static class MSBuildHelper
{
//TODO: the quote must be on the entire list and not on each separated value
public static string PropertyValue(string value)
{
value = value.Replace(",", "%2c");
if... | using System.Collections.Generic;
using System.Linq;
namespace Cake.Storm.Fluent.Helpers
{
public static class MSBuildHelper
{
public static string PropertyValue(string value)
{
value = value.Replace(",", "%2c");
if (value.Any(char.IsWhiteSpace))
{
value = $"\"{value}\"";
}
... | mit | C# |
f2e1f5bb3c43bffcb7b88347948fa8b015df55e1 | Rename members of FindFirstFileExFlags | AArnott/pinvoke,fearthecowboy/pinvoke,vbfox/pinvoke,jmelosegui/pinvoke | src/Kernel32.Shared/Kernel32+FindFirstFileExFlags.cs | src/Kernel32.Shared/Kernel32+FindFirstFileExFlags.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="FindF... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="FindF... | mit | C# |
156b99795ecf10dc902879d66f52d3e52a77f77f | Improve assertions. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/IO/XmlTasks.cs | source/Nuke.Common/IO/XmlTasks.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using JetBrains.Annotations;
using Nuke.Core;
#if !NETCORE
using System.Collectio... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using JetBrains.Annotations;
using Nuke.Core;
#if !NETCORE
using System.Collectio... | mit | C# |
c5a5f02e4eae87f496e51dc6a30fe2191137e61f | Add build problem issuing in TeamCityOutputSink. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/OutputSinks/TeamCityOutputSink.cs | source/Nuke.Core/OutputSinks/TeamCityOutputSink.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Core.BuildServers;
using Nuke.Core.Utilities;
namespace Nuke.Core.OutputSinks
{
public class TeamCityOutputSink : ConsoleOutputSink
{
... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Core.BuildServers;
using Nuke.Core.Utilities;
namespace Nuke.Core.OutputSinks
{
public class TeamCityOutputSink : ConsoleOutputSink
{
... | mit | C# |
34b46282280195cc5e1b16c3ed06ea8ec350766c | Mark old References syntax as obsolete | bluefalcon/fluentmigrator,amroel/fluentmigrator,fluentmigrator/fluentmigrator,akema-fr/fluentmigrator,wolfascu/fluentmigrator,eloekset/fluentmigrator,mstancombe/fluentmig,dealproc/fluentmigrator,tommarien/fluentmigrator,wolfascu/fluentmigrator,amroel/fluentmigrator,lahma/fluentmigrator,KaraokeStu/fluentmigrator,MetSyst... | src/FluentMigrator/Builders/IColumnOptionSyntax.cs | src/FluentMigrator/Builders/IColumnOptionSyntax.cs | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
/... | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
/... | apache-2.0 | C# |
c0efd221afeac70bb18923fb4c77058a0a33e929 | Fix nullRef when processing empty entities (imported from main endpoind to extended one) | Acumatica/cb-cli | Utils/Sorter.cs | Utils/Sorter.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace PX.Api.ContractBased.Maintenance.Cli.Utils
{
static class Sorter
{
public static void Sort(this XDocument original)
{
XElement root = original.Elements().Single();
XNamespac... | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace PX.Api.ContractBased.Maintenance.Cli.Utils
{
static class Sorter
{
public static void Sort(this XDocument original)
{
XElement root = original.Elements().Single();
XNamespac... | mit | C# |
5e5eae7d2823c5c465d735c4a1f7f4e28e8f169c | Fix property ref | nikeee/HolzShots | src/HolzShots.Windows/Forms/Controls/PluginItem.cs | src/HolzShots.Windows/Forms/Controls/PluginItem.cs | using System.ComponentModel;
using System.Windows.Forms;
using HolzShots.Composition;
using Semver;
using System.Diagnostics;
namespace HolzShots.Windows.Forms.Controls
{
public partial class PluginItem : UserControl
{
private IPluginMetadata _model = new DummyMetadata();
public PluginItem()
... | using System.ComponentModel;
using System.Windows.Forms;
using HolzShots.Composition;
using Semver;
using System.Diagnostics;
namespace HolzShots.Windows.Forms.Controls
{
public partial class PluginItem : UserControl
{
private IPluginMetadata _model = new DummyMetadata();
public PluginItem()
... | agpl-3.0 | C# |
1e5645c4cbfcc42fd2901195ba7c9007adc8f28b | Update Version | daryllabar/DLaB.Xrm.XrmToolBoxTools | DLaB.VSSolutionAccelerator/Properties/AssemblyInfo.cs | DLaB.VSSolutionAccelerator/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("DLaB.VSSolutionAccelerator")]
[assembly: ... | 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("DLaB.VSSolutionAccelerator")]
[assembly: ... | mit | C# |
7883da95089293800585b01533a455374e957944 | Add subtasks to main screen on tasks | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/Views/Qualification/List.cshtml | BatteryCommander.Web/Views/Qualification/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Qualification>
@using BatteryCommander.Common.Models;
@{
ViewBag.Title = "Qualifications";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Add New", "New")
</p>
<table class="table table-striped">
<tr>
<th>
@Html.DisplayNameFor(model... | @model IEnumerable<BatteryCommander.Common.Models.Qualification>
@using BatteryCommander.Common.Models;
@{
ViewBag.Title = "Qualifications";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Add New", "New")
</p>
<table class="table table-striped">
<tr>
<th>
@Html.DisplayNameFor(model... | mit | C# |
cd46fa18a10c9a36eba6c107bed0afefdd77f74b | Add raw key blob formats | ektrah/nsec | src/Cryptography/KeyBlobFormat.cs | src/Cryptography/KeyBlobFormat.cs | namespace NSec.Cryptography
{
public enum KeyBlobFormat
{
None = 0,
// --- Secret Key Formats ---
RawSymmetricKey = -1,
RawPrivateKey = -2,
// --- Public Key Formats ---
RawPublicKey = 1,
}
}
| namespace NSec.Cryptography
{
public enum KeyBlobFormat
{
None,
}
}
| mit | C# |
9ed38fb8c86b07806930950d62d335399bd62e84 | Set the kind to Message | mrahhal/Konsola | src/Konsola/Parser/_Exceptions.cs | src/Konsola/Parser/_Exceptions.cs | using System;
namespace Konsola.Parser
{
public enum CommandLineExceptionKind
{
/// <summary>
/// A command is invalid.
/// </summary>
InvalidCommand,
/// <summary>
/// No command has been specified.
/// </summary>
NoCommand,
/// <summary>
/// A mandatory parameter is missing.
/// </summary>... | using System;
namespace Konsola.Parser
{
public enum CommandLineExceptionKind
{
/// <summary>
/// A command is invalid.
/// </summary>
InvalidCommand,
/// <summary>
/// No command has been specified.
/// </summary>
NoCommand,
/// <summary>
/// A mandatory parameter is missing.
/// </summary>... | mit | C# |
5d46cdc7fee38223c8e126824540df427f5ff190 | Update AssemblyInfo.cs | NimaAra/Easy.Compression | Easy.Compression.Benchmark/Properties/AssemblyInfo.cs | Easy.Compression.Benchmark/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Easy.Compression.Benchmark")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Easy.Compression.Benchmark")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
| mit | C# |
6ec5cedffb8dad505a1c963b417d0e5a37295f82 | Reduce allocations- create custom properties by demand | tzachshabtay/MonoAGS | Source/Engine/AGS.Engine/Misc/AGSCustomProperties.cs | Source/Engine/AGS.Engine/Misc/AGSCustomProperties.cs | using System;
using AGS.API;
namespace AGS.Engine
{
public class AGSCustomProperties : AGSComponent, ICustomProperties
{
private AGSCustomPropertiesPerType<int> _ints;
private AGSCustomPropertiesPerType<float> _floats;
private AGSCustomPropertiesPerType<string> _strings;
privat... | using System;
using AGS.API;
namespace AGS.Engine
{
public class AGSCustomProperties : AGSComponent, ICustomProperties
{
public AGSCustomProperties()
{
Ints = new AGSCustomPropertiesPerType<int>();
Floats = new AGSCustomPropertiesPerType<float>();
Strings = ... | artistic-2.0 | C# |
fdfd976eb01a431f58815a9e35895bbb6b09dd1b | Update Program.cs | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | InternalVisibleToExample/DotNetCore/InternalVisibleToExample/Program.cs | InternalVisibleToExample/DotNetCore/InternalVisibleToExample/Program.cs | using System;
using Logic;
namespace InternalVisibleToExample
{
class Program
{
static void Main(string[] args)
{
var report = new ReportGenerator();
report.GenerateReport();
Console.WriteLine("Hello World");
}
}
}
| using System;
using Logic;
namespace InternalVisibleToExample
{
class Program
{
static void Main(string[] args)
{
var report = new ReportGenerator();
report.GenerateReport();
}
}
}
| apache-2.0 | C# |
85bd56d540473bbb39177f0652b8f84159a82c34 | update 1.0.0.2 version of the GoogleAnalyticsClientDotNet | poumason/GoogleAnalyticsClientDotNet | Library/GoogleAnalyticsClientDotNet.Portable/Properties/AssemblyInfo.cs | Library/GoogleAnalyticsClientDotNet.Portable/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | apache-2.0 | C# |
a4c4d64979dcfb42bf08904cb7723855ed1aea2c | Update NetworkConnectivityServiceBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Network/NetworkConnectivityServiceBase.cs | TIKSN.Core/Network/NetworkConnectivityServiceBase.cs | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace TIKSN.Network
{
public abstract class NetworkConnectivityServiceBase : INetworkConnectivityService
{
private readonly Subject<InternetConnectivityState> manualChecks;
protected IObservable<InternetConnectivityS... | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace TIKSN.Network
{
public abstract class NetworkConnectivityServiceBase : INetworkConnectivityService
{
protected IObservable<InternetConnectivityState> internetConnectivityStateInternal;
private readonly Subject<... | mit | C# |
34b98f0d4b770f9bbe219089888cf27f648299f3 | Add controller random sleep in Management sample | SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples | Management/src/AspDotNetCore/CloudFoundry/Controllers/HomeController.cs | Management/src/AspDotNetCore/CloudFoundry/Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Threading;
using System;
namespace CloudFoundry.Controllers
{
public class HomeController : Controller
{
private readonly ILogger _logger;
private readonly Random _random;
public HomeController(ILogger<Ho... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Threading;
using System;
namespace CloudFoundry.Controllers
{
public class HomeController : Controller
{
private readonly ILogger _logger;
public HomeController(ILogger<HomeController> logger)
{
... | apache-2.0 | C# |
1120434ceb24be89030972b82240b7057d4ad17a | Fix casting | gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Server/Web/Structures/Settings/ServerDebugSettings.cs | Server/Web/Structures/Settings/ServerDebugSettings.cs | using Server.Settings.Structures;
namespace Server.Web.Structures.Settings
{
public class ServerDebugSettings
{
public float SimulatedLossChance => DebugSettings.SettingsStore.SimulatedLossChance;
public float SimulatedDuplicatesChance => DebugSettings.SettingsStore.SimulatedDuplicatesChance;
... | using Server.Settings.Structures;
namespace Server.Web.Structures.Settings
{
public class ServerDebugSettings
{
public int SimulatedLossChance => DebugSettings.SettingsStore.SimulatedLossChance;
public int SimulatedDuplicatesChance => DebugSettings.SettingsStore.SimulatedDuplicatesChance;
... | mit | C# |
9b865eae390dc49689d8f2948c17a6f0a373a6fc | Remove redundant property settings | Fewzion/ObjectComparer,rexcfnghk/ObjectComparer | Voyagers.Utilities.ObjectComparer/Attributes/IgnoreVarianceAttribute.cs | Voyagers.Utilities.ObjectComparer/Attributes/IgnoreVarianceAttribute.cs | using System;
namespace Voyagers.Utilities.ObjectComparer.Attributes
{
/// <summary>
/// Attribute that instructs <c>ObjectComparer</c> to ignore variances on a property or the whole class
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, Inherited = false)]
publi... | using System;
namespace Voyagers.Utilities.ObjectComparer.Attributes
{
/// <summary>
/// Attribute that instructs <c>ObjectComparer</c> to ignore variances on a property or the whole class
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inheri... | apache-2.0 | C# |
e71652bddbf7823838876e1aa1007b8e3e5a1fdd | Implement search query filter | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/SearchPageViewModel.cs | WalletWasabi.Fluent/ViewModels/SearchPageViewModel.cs | using System;
using System.Collections.ObjectModel;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Search;
namespace WalletWasabi.Fluent.ViewModels
{
public class SearchPageViewModel : NavBar... | using System.Collections.ObjectModel;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Search;
namespace WalletWasabi.Fluent.ViewModels
{
public class SearchPageViewModel : NavBarItemViewModel
... | mit | C# |
07f401810e29ed7735f0b68667740d723bd497d5 | Refactor the redisconnection factory slightly | jrusbatch/compilify,appharbor/ConsolR,appharbor/ConsolR,vendettamit/compilify,jrusbatch/compilify,vendettamit/compilify | Web/Infrastructure/DependencyInjection/RedisModule.cs | Web/Infrastructure/DependencyInjection/RedisModule.cs | using System;
using System.Configuration;
using System.Linq;
using Autofac;
using Autofac.Integration.Mvc;
using BookSleeve;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RedisModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... | using System;
using System.Configuration;
using System.Linq;
using Autofac;
using Autofac.Integration.Mvc;
using BookSleeve;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RedisModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... | mit | C# |
de4bba6aabe07a6c48e22e171780380de5fe289d | Remove unused code. | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET | src/Arango/Arango.Client/Protocol/Document.cs | src/Arango/Arango.Client/Protocol/Document.cs | using System.Net;
namespace Arango.Client.Protocol
{
internal class Document
{
private string ApiUri { get { return "_api/document/"; } }
private ArangoNode Node { get; set; }
internal Document(ArangoNode node)
{
Node = node;
}
intern... | using System.Net;
namespace Arango.Client.Protocol
{
internal class Document
{
private string ApiUri { get { return "_api/document/"; } }
private ArangoNode Node { get; set; }
/*internal RequestMethod RequestMethod { get; set; }
internal string Handle { get; set; }
... | mit | C# |
878a87253963f305b18de5d1b963d4ee4041fff7 | Use Shouldly for asserts | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2019/Day02Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2019/Day02Tests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2019
{
using System.Collections.Generic;
using Shouldly;
using Xunit;
using Xunit... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2019
{
using System.Collections.Generic;
using Xunit;
using Xunit.Abstractions;
... | apache-2.0 | C# |
942e2bea5df778574232327daea543ee114b4a07 | Update mvpmember | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JeromeBezetTorres.cs | src/Firehose.Web/Authors/JeromeBezetTorres.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JM2K69 : IAmAMicrosoftMVP
{
public string FirstName => "Jerome";
public string LastName =>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JM2K69 : IAmACommunityMember
{
public string FirstName => "Jerome";
public string LastName... | mit | C# |
daad7a18e7c80fa2471cf4c91fbbca5619c78f30 | update servicebus messaging to support sessions | spikesoftware/IndieGamesLab | src/IGL.Service/ServiceBusMessagingFactory.cs | src/IGL.Service/ServiceBusMessagingFactory.cs | using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
using System;
using System.Configuration;
namespace IGL.Service
{
static public class ServiceBusMessagingFactory
{
public static string ConnectionString = ConfigurationManager.AppSettings["AzureServiceBusConnectionString"];
... | using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
using System;
using System.Configuration;
namespace IGL.Service
{
static public class ServiceBusMessagingFactory
{
public static string ConnectionString = ConfigurationManager.AppSettings["AzureServiceBusConnectionString"];
... | mit | C# |
2d3b782f6a44a4bd6f3befe9386f4506eebc18a5 | Fix routing in fields setup (#1136) | joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.Portal/Views/GameField/_FieldNavigation.cshtml | src/JoinRpg.Portal/Views/GameField/_FieldNavigation.cshtml | @using JoinRpg.Web.Models.FieldSetup
@model FieldNavigationModel
<ul class="nav nav-tabs">
@*//TODO дисаблить поля, к которым нет доступа *@
<nav-link asp-controller="GameField" asp-action="Index" asp-route-ProjectId="@Model.ProjectId">
Активные
</nav-link>
<nav-link asp-controller="GameField"... | @using JoinRpg.Web.Models.FieldSetup
@model FieldNavigationModel
<ul class="nav nav-tabs">
@*//TODO дисаблить поля, к которым нет доступа *@
<nav-link asp-controller="GameField" asp-action="Index">
Активные
</nav-link>
<nav-link asp-controller="GameField" asp-action="DeletedList" title="Только... | mit | C# |
d5a366effc076d2b2b69894105adf399ac6bee20 | fix casing for y-coordinate | solomobro/Instagram,solomobro/Instagram,solomobro/Instagram | src/Solomobro.Instagram/Models/Coordinates.cs | src/Solomobro.Instagram/Models/Coordinates.cs | using System.Runtime.Serialization;
namespace Solomobro.Instagram.Models
{
[DataContract]
public class Coordinates
{
internal Coordinates() { }
[DataMember(Name = "x")]
public float X { get; internal set; }
[DataMember(Name = "y")]
public float Y { get; internal s... | using System.Runtime.Serialization;
namespace Solomobro.Instagram.Models
{
[DataContract]
public class Coordinates
{
internal Coordinates() { }
[DataMember(Name = "x")]
public float X { get; internal set; }
[DataMember(Name = "Y")]
public float Y { get; internal s... | apache-2.0 | C# |
6be457ffcca62860ca706b4812051448dd26826b | fix typo | valit-stack/Valit,valit-stack/Valit | src/Valit/Errors/ErrorMessages.cs | src/Valit/Errors/ErrorMessages.cs | namespace Valit.Errors
{
internal static class ErrorMessages
{
internal static string Required => "The {0} field is required.";
internal static string IsTrue => "The {0} field is not true.";
internal static string IsFalse => "The {0} field is not false.";
internal static string I... | namespace Valit.Errors
{
internal static class ErrorMessages
{
internal static string Required => "The {0} field is required.";
internal static string IsTrue => "The {0} field is not true.";
internal static string IsFalse => "The {0} field is not false.";
internal static string I... | mit | C# |
7fdd88cdf70aa12b1dc518dda398aa20c31b8892 | Fix snippets for new PubSub builder | googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet | tools/Google.Cloud.Docs.Snippets/EmulatorSnippets.cs | tools/Google.Cloud.Docs.Snippets/EmulatorSnippets.cs | // Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# |
3cafab030ad468c58960540303e4ba11f8ae02b0 | Fix issue where WPF designer does not show toolbar images at design time. | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/VsChromium/Views/ImageSourceFactory.cs | src/VsChromium/Views/ImageSourceFactory.cs | // Copyright 2015 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.Concurrent;
using System.ComponentModel.Composition;
using System.Reflection;
using System.Windows.Media;
... | // Copyright 2015 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.Concurrent;
using System.ComponentModel.Composition;
using System.Reflection;
using System.Windows.Media;
... | bsd-3-clause | C# |
8ad8c2b6d0fc800648ccd95210263aa60541559c | Reset the ScoreMultiplier to 1 | NeoAdonis/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,peppy/osu-new,ZLima12/osu,johnneijzen/osu,smoogipooo/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,DrabWeb/os... | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.G... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.G... | mit | C# |
90e8212cad9257e558932819d08fbfcd6257cd0a | Use different control identifiers for create button based on state | ethanmoffat/EndlessClient | EndlessClient/ControlSets/IntermediateControlSet.cs | EndlessClient/ControlSets/IntermediateControlSet.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EndlessClient.Controllers;
using EndlessClient.GameExecution;
using EndlessClient.UIControls;
using EOLib.Graphics;
using Microsoft.Xna.Framework;
usin... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EndlessClient.Controllers;
using EndlessClient.GameExecution;
using EndlessClient.UIControls;
using EOLib.Graphics;
using Microsoft.Xna.Framework;
usin... | mit | C# |
f0521e5e17a139de747bb7719bca1ad198acc056 | make it public | GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstream... | sources/custom/Adapter.cs | sources/custom/Adapter.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 ... | lgpl-2.1 | C# |
43138d0a59958dad66adc6ee707910949e9902d9 | Remove new lines and whitespace to conserve space | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net/Filters/RaygunXmlDataFilter.cs | Mindscape.Raygun4Net/Filters/RaygunXmlDataFilter.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Xml.Linq;
namespace Mindscape.Raygun4Net.Filters
{
public class RaygunXmlDataFilter : IRaygunDataFilter
{
private const string FILTERED_VALUE = "[FILTERED]";
public bool CanParse(string data)
{
if (!string.IsNullOrE... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Xml.Linq;
namespace Mindscape.Raygun4Net.Filters
{
public class RaygunXmlDataFilter : IRaygunDataFilter
{
private const string FILTERED_VALUE = "[FILTERED]";
public bool CanParse(string data)
{
if (!string.IsNullOrE... | mit | C# |
acf5b686c299069edc8b73a7594921f52c1437e6 | fix S_DUNGEON_COOL_TIME_LIST | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Parsing/Messages/S_DUNGEON_COOL_TIME_LIST.cs | TCC.Core/Parsing/Messages/S_DUNGEON_COOL_TIME_LIST.cs | using System.Collections.Generic;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_DUNGEON_COOL_TIME_LIST : ParsedMessage
{
public readonly Dictionary<uint, short> DungeonCooldowns;
public S_DUNGEON_COOL_TIME_LIST(TeraMessa... | using System.Collections.Generic;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_DUNGEON_COOL_TIME_LIST : ParsedMessage
{
public readonly Dictionary<uint, short> DungeonCooldowns;
public S_DUNGEON_COOL_TIME_LIST(TeraMessa... | mit | C# |
d5b4aabe93407047154eb56e6af8bd170680418b | fix a test | corker/estuite | Estuite.Specs.UnitTests/describe_AggregateOfString.cs | Estuite.Specs.UnitTests/describe_AggregateOfString.cs | using System;
using Estuite.Domain;
using NSpec;
using Shouldly;
namespace Estuite.Specs.UnitTests
{
[Tag("describe_Aggregate")]
public class describe_AggregateOfString : nspec
{
private void before_each()
{
_id = "A";
}
private void when_create()
{
... | using System;
using Estuite.Domain;
using NSpec;
using Shouldly;
namespace Estuite.Specs.UnitTests
{
[Tag("describe_Aggregate")]
public class describe_AggregateOfString : nspec
{
private void before_each()
{
_id = "";
}
private void when_create()
{
... | mit | C# |
017d390d6510446f1892feb2f407db9b732de78c | Fix csharp version | Livefyre/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,Livefyre/protobuf | csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs | csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs | #region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that t... | #region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that t... | bsd-3-clause | C# |
70a1affccafb47b5f30949db85bb50fa7c9d7822 | Update backwards-compatibility stuff. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | game/server/base/compat.cs | game/server/base/compat.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright notices are in the file named COPYING.
//------------------------------------------------------------------------------
//-----------------------------------------------------------------... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright notices are in the file named COPYING.
//------------------------------------------------------------------------------
//-----------------------------------------------------------------... | lgpl-2.1 | C# |
88834a709bd10525a7a0cb5885157c6ab66c951d | Fix asset usages for field, when script component is assigned to field in Inspector | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AssetHierarchy/Elements/IScriptComponentHierarchy.cs | resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AssetHierarchy/Elements/IScriptComponentHierarchy.cs | using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.References;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.Elements
{
public interface IScriptComponentHierarchy : IComponentHierarchy
{
ExternalReference ScriptReference { get; }
}
} | using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.References;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.Elements
{
public interface IScriptComponentHierarchy : IHierarchyElement
{
ExternalReference ScriptReference { get; }
}
} | apache-2.0 | C# |
353d1d4b97561be375d79a6f9d81b2db228695b2 | Make sure shrink is the default | pabloengine/pablo | Pablo/Graphics/BaseTypes/DimensionBehavior.cs | Pablo/Graphics/BaseTypes/DimensionBehavior.cs | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | mpl-2.0 | C# |
810da71c206292aaa658b40243322657c66a2d1c | Build and publish SQS package | RockFramework/Rock.Messaging | Rock.Messaging.SQS/Properties/AssemblyInfo.cs | Rock.Messaging.SQS/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("Ro... | 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("Ro... | mit | C# |
dd0362f49335c7c61e7789352b58bea672ea936c | Fix `InvPayload.CreateGroup()` (#1314) | AntShares/AntShares | src/neo/Network/P2P/Payloads/InvPayload.cs | src/neo/Network/P2P/Payloads/InvPayload.cs | using Neo.IO;
using System;
using System.Collections.Generic;
using System.IO;
namespace Neo.Network.P2P.Payloads
{
public class InvPayload : ISerializable
{
public const int MaxHashesCount = 500;
public InventoryType Type;
public UInt256[] Hashes;
public int Size => sizeof(In... | using Neo.IO;
using System;
using System.Collections.Generic;
using System.IO;
namespace Neo.Network.P2P.Payloads
{
public class InvPayload : ISerializable
{
public const int MaxHashesCount = 500;
public InventoryType Type;
public UInt256[] Hashes;
public int Size => sizeof(In... | mit | C# |
6093c1c2ab28bdbfa3164928168d069c073e39c8 | fix protocol messages | persimmon-projects/dotnet-test-persimmon,persimmon-projects/dotnet-test-persimmon | src/dotnet-test-persimmon/Sinks/Messages.cs | src/dotnet-test-persimmon/Sinks/Messages.cs | namespace Persimmon.Runner.Sinks
{
public static class Messages
{
public const string TestCompleted = "TestRunner.TestCompleted";
public const string WaitingCommand = "TestRunner.WaitingCommand";
public const string TestFound = "TestDiscovery.TestFound";
public const stri... | namespace Persimmon.Runner.Sinks
{
public static class Messages
{
public const string TestCompleted = "Persimmon.TestRunner.TestCompleted";
public const string WaitingCommand = "Persimmon.TestRunner.WaitingCommand";
public const string TestFound = "Persimmon.TestDiscovery.TestFoun... | mit | C# |
9abe10a93e5cef3fdafb25a57611cc2fc664a1ff | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
2daccc22d2bc97cd89f88b41bf2c7bd790aff54b | Remove redundant null check | andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders | src/NetEscapades.AspNetCore.SecurityHeaders/Headers/HeaderPolicyBase.cs | src/NetEscapades.AspNetCore.SecurityHeaders/Headers/HeaderPolicyBase.cs | using System;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// A base implementation of <see cref="IHeaderPolicy" />
/// </summary>
public abstract class HeaderPolicyBase : IHeaderPolicy
{
/// <summary>
/// Create ... | using System;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// A base implementation of <see cref="IHeaderPolicy" />
/// </summary>
public abstract class HeaderPolicyBase : IHeaderPolicy
{
/// <summary>
/// Create ... | mit | C# |
1673575eee8ab01863bd822e24a81330bce709db | remove references to old projects in AssemblyInfo | couchbaselabs/Linq2Couchbase,brantburnett/Linq2Couchbase | Src/Couchbase.Linq/Properties/AssemblyInfo.cs | Src/Couchbase.Linq/Properties/AssemblyInfo.cs | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
/... | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
... | apache-2.0 | C# |
37c0481f836480b875d8a1b5b403a4b074cca774 | Update IExceptionTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/IExceptionTelemeter.cs | TIKSN.Core/Analytics/Telemetry/IExceptionTelemeter.cs | using System;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public interface IExceptionTelemeter
{
Task TrackExceptionAsync(Exception exception);
Task TrackExceptionAsync(Exception exception, TelemetrySeverityLevel severityLevel);
}
}
| using System;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public interface IExceptionTelemeter
{
Task TrackException(Exception exception);
Task TrackException(Exception exception, TelemetrySeverityLevel severityLevel);
}
}
| mit | C# |
db60d300431519cd937978a1bc21429f56b8e734 | add 2 test cases for IEnumerable<Card> Cards | NCTUGDC/HearthStone | HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs | HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
class CardManagerUnitTest
{
[TestMethod]
public void StaticInstanceTestM... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
class CardManagerUnitTest
{
[TestMethod]
public void StaticInstanceTestM... | apache-2.0 | C# |
cf93d7feaa5b1cde93ce30c1dd503148be4ef4bf | Fix AnyColor.ToImageflowDynamic | imazen/imageflow-dotnet | src/Imageflow/Fluent/AnyColor.cs | src/Imageflow/Fluent/AnyColor.cs | using Imageflow.Bindings;
namespace Imageflow.Fluent
{
public struct AnyColor
{
private ColorKind kind;
private SrgbColor srgb;
public static AnyColor Black => new AnyColor {kind = ColorKind.Black};
public static AnyColor Transparent => new AnyColor {kind = ColorKind.Transparen... | using Imageflow.Bindings;
namespace Imageflow.Fluent
{
public struct AnyColor
{
private ColorKind kind;
private SrgbColor srgb;
public static AnyColor Black => new AnyColor {kind = ColorKind.Black};
public static AnyColor Transparent => new AnyColor {kind = ColorKind.Transparen... | agpl-3.0 | C# |
eb4ba8181bec98d62f07826c4a639525ea00c0e5 | Move assembly customizable attributes inside build-generated macro. | LianwMS/WebApi,congysu/WebApi,scz2011/WebApi,yonglehou/WebApi,chimpinano/WebApi,lewischeng-ms/WebApi,congysu/WebApi,chimpinano/WebApi,lungisam/WebApi,LianwMS/WebApi,abkmr/WebApi,scz2011/WebApi,yonglehou/WebApi,lungisam/WebApi,abkmr/WebApi,lewischeng-ms/WebApi | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Microsoft Open Technologies, Inc.")]
[assembly: Assembl... | mit | C# |
4d0ca01972e3768766d49036e892e2dc15056ace | Update assembly version to Silverlight 3 Beta version | slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,slozier/ironpython... | Merlin/Main/Hosts/SilverLight/SilverlightVersion.cs | Merlin/Main/Hosts/SilverLight/SilverlightVersion.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | apache-2.0 | C# |
b3652102e6cb4e35ba99309af31d5bd065f338ed | Add Task Properties | zindlsn/RosaroterTiger | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
namespace DataService
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
namespace DataService
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byt... | mit | C# |
7cf6f0ef65ec79255cb2f9ee1be797b6f98f41f4 | Update ReadingLargeExcelFiles.cs | aspose-cells/Aspose.Cells-for-.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,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecel... | Examples/CSharp/Articles/OptimizingMemoryUsage/ReadingLargeExcelFiles.cs | Examples/CSharp/Articles/OptimizingMemoryUsage/ReadingLargeExcelFiles.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.OptimizingMemoryUsage
{
public class ReadingLargeExcelFiles
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.OptimizingMemoryUsage
{
public class ReadingLargeExcelFiles
{
public static void Main()
{
//ExEnd:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.U... | mit | C# |
1a4f780b51c8695cc475fcbd648b84f7b79b1260 | Create constructor for PartsTableAdapter class | BartoszBaczek/WorkshopRequestsManager | Project/WorkshopManager/WorkshopManager/SqlDatabase/PartsTableAdapter.cs | Project/WorkshopManager/WorkshopManager/SqlDatabase/PartsTableAdapter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkshopManager.SqlDatabase
{
using PartsTableAdapterExtension;
class PartsTableAdapter
{
public Get Get;
public PartsTableAdapter()
{
Get = n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkshopManager.SqlDatabase
{
using PartsTableAdapterExtension;
class PartsTableAdapter
{
}
}
namespace PartsTableAdapterExtension
{
using WorkshopManager.SqlDatabase.MyS... | mit | C# |
7fed99c4b54733e068c24680442446849ded2bad | use ! instead of check | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Behaviors/FocusFirstTextBoxInItemsControlBehavior.cs | WalletWasabi.Fluent/Behaviors/FocusFirstTextBoxInItemsControlBehavior.cs | using Avalonia.Controls;
using Avalonia.LogicalTree;
using Avalonia.Xaml.Interactivity;
using System;
namespace WalletWasabi.Fluent.Behaviors
{
internal class FocusFirstTextBoxInItemsControlBehavior : Behavior<ItemsControl>
{
protected override void OnAttached()
{
base.OnAttached();
AssociatedObject!.Layo... | using Avalonia.Controls;
using Avalonia.LogicalTree;
using Avalonia.Xaml.Interactivity;
using System;
namespace WalletWasabi.Fluent.Behaviors
{
internal class FocusFirstTextBoxInItemsControlBehavior : Behavior<ItemsControl>
{
protected override void OnAttached()
{
base.OnAttached();
if (AssociatedObject i... | mit | C# |
988678218cdaee979dfccb7d81974ac65dc235e3 | Return the global position instead the local position in GetActiveCheckPointPosition() function | santiandrade/Unity-CheckPoints | Assets/Scripts/CheckPoint.cs | Assets/Scripts/CheckPoint.cs | using UnityEngine;
public class CheckPoint : MonoBehaviour
{
#region Public Variables
/// <summary>
/// Indicate if the checkpoint is activated
/// </summary>
public bool Activated = false;
#endregion
#region Private Variables
private Animator thisAnimator;
#endregion
#r... | using UnityEngine;
public class CheckPoint : MonoBehaviour
{
#region Public Variables
/// <summary>
/// Indicate if the checkpoint is activated
/// </summary>
public bool Activated = false;
#endregion
#region Private Variables
private Animator thisAnimator;
#endregion
#r... | mit | C# |
89b6eb5e1c8a9c40abaa48248ebea75e1f4272c3 | Fix copyright and using directives for PurityTest. | malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,nodatime/nodatime,jskeet/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,nodatime/nodatime,zaccharles/nodatime | src/NodaTime.Test/Annotations/PurityTest.cs | src/NodaTime.Test/Annotations/PurityTest.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using JetBrains.Annotations;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Noda... | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using JetBrains.Annotations;
using... | apache-2.0 | C# |
490fb86f9eca5f43625e816172049c87ced4aa96 | Make base class abstract and add documentation | DrabWeb/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,DrabWeb/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,peppy/osu-new,EVAST99... | osu.Game/Tests/Visual/TestCaseRateAdjustedBeatmap.cs | osu.Game/Tests/Visual/TestCaseRateAdjustedBeatmap.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.
namespace osu.Game.Tests.Visual
{
/// <summary>
/// Test case which adjusts the beatmap's rate to match any speed adjustments in visual tests.
/// </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.
namespace osu.Game.Tests.Visual
{
public class TestCaseRateAdjustedBeatmap : ScreenTestCase
{
protected override void Update()
{
base.... | mit | C# |
7d78b275104efe005a14fe487d8a9b8e529a6f14 | Use Trace.WriteLine rather than Debug.WriteLine in LogWriter | Deadpikle/NetSparkle,Deadpikle/NetSparkle | src/NetSparkle/LogWriter.cs | src/NetSparkle/LogWriter.cs | using NetSparkleUpdater.Enums;
using NetSparkleUpdater.Interfaces;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkleUpdater
{
/// <summary>
/// A simple class to handle log information for NetSparkl... | using NetSparkleUpdater.Enums;
using NetSparkleUpdater.Interfaces;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkleUpdater
{
/// <summary>
/// A simple class to handle log information for NetSparkl... | mit | C# |
33ee3a2cf6e5b1ca955b9166d8a29deaeaad7669 | Remove unused Strings.Common members. | mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,duplicati/duplicati | Duplicati/Library/Interface/Strings.cs | Duplicati/Library/Interface/Strings.cs | using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Interface.Strings {
internal static class CommandLineArgument {
public static string AliasesHeader { get { return LC.L(@"aliases"); } }
public static string DefaultValueHeader { get { return LC.L(@"default value"); } }
p... | using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Interface.Strings {
internal static class CommandLineArgument {
public static string AliasesHeader { get { return LC.L(@"aliases"); } }
public static string DefaultValueHeader { get { return LC.L(@"default value"); } }
p... | lgpl-2.1 | C# |
af4a9c5ec40d23292f3852ddc9c0d3d8a9a4894c | Remove unused method. | nozzlegear/davenport.net | Davenport/Infrastructure/DavenportException.cs | Davenport/Infrastructure/DavenportException.cs | using System;
using System.Linq;
using System.Net.Http;
namespace Davenport.Infrastructure
{
public class DavenportException : Exception
{
public DavenportException(string message) : base(message)
{
}
public int StatusCode { get; set; }
public string StatusTe... | using System;
using System.Linq;
using System.Net.Http;
namespace Davenport.Infrastructure
{
public class DavenportException : Exception
{
public DavenportException(string message) : base(message)
{
}
public int StatusCode { get; set; }
public string StatusTe... | mit | C# |
daf4c55ea79c1cbd55030c5be4e481ed48917af9 | Update CWD to null on special case of CWD command | robinrodricks/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP | FluentFTP/Client/BaseClient/Execute.cs | FluentFTP/Client/BaseClient/Execute.cs | using System;
using FluentFTP.Client.Modules;
using FluentFTP.Helpers;
namespace FluentFTP.Client.BaseClient {
public partial class BaseFtpClient {
/// <summary>
/// Executes a command
/// </summary>
/// <param name="command">The command to execute</param>
/// <returns>The servers reply to the command</r... | using System;
using FluentFTP.Client.Modules;
using FluentFTP.Helpers;
namespace FluentFTP.Client.BaseClient {
public partial class BaseFtpClient {
/// <summary>
/// Executes a command
/// </summary>
/// <param name="command">The command to execute</param>
/// <returns>The servers reply to the command</r... | mit | C# |
ac82303314e3f21b1a97b93c381ecf238ce406ba | Fix RD classifier | MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSh... | src/Windows/R/Editor/Impl/RData/Classification/RdClassifierProvider.cs | src/Windows/R/Editor/Impl/RData/Classification/RdClassifierProvider.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using Microsoft.R.Editor.RData.ContentTypes;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classifica... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using Microsoft.R.Editor.RData.ContentTypes;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classifica... | mit | C# |
94b7565d65a4ceb33071c60706aaf8681c59da47 | Clean code | michael-reichenauer/GitMind | GitMind/Utils/Git/Private/CredentialService.cs | GitMind/Utils/Git/Private/CredentialService.cs | using System;
using System.Windows.Forms;
using GitMind.Common.Tracking;
using GitMind.MainWindowViews;
using GitMind.Utils.UI;
namespace GitMind.Utils.Git.Private
{
internal class CredentialService : ICredentialService
{
private readonly WindowOwner owner;
public CredentialService(WindowOwner owner)
{
... | using System;
using System.Windows.Forms;
using System.Windows.Threading;
using GitMind.Common.Tracking;
using GitMind.MainWindowViews;
using GitMind.Utils.UI;
using Application = System.Windows.Application;
namespace GitMind.Utils.Git.Private
{
internal class CredentialService : ICredentialService
{
private rea... | mit | C# |
9a081e2eab7592c525b200a5464894e6df4ddedc | add (missing) synchronous methods | tc-dev/tc-dev.Core | src/tc-dev.Core/Identity/IAppRoleManager.cs | src/tc-dev.Core/Identity/IAppRoleManager.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using tc_dev.Core.Identity.Models;
namespace tc_dev.Core.Identity
{
public interface IAppRoleManager : IDisposable
{
AppIdentityResult Create(AppRole role);
Task<AppIdentityResult> CreateAsync(AppRole role);
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using tc_dev.Core.Identity.Models;
namespace tc_dev.Core.Identity
{
public interface IAppRoleManager : IDisposable
{
AppIdentityResult Create(AppRole role);
Task<AppIdentityResult> CreateAsync(AppRole role);
... | mit | C# |
1b24acdc25047c9bde316f4b407b3ea02d1a904e | add error code for duplicate request | LykkeCity/bitcoinservice,LykkeCity/bitcoinservice | src/Core/Exceptions/BackendException.cs | src/Core/Exceptions/BackendException.cs | using System;
namespace Core.Exceptions
{
public class BackendException : Exception
{
public ErrorCode Code { get; private set; }
public string Text { get; private set; }
public BackendException(string text, ErrorCode code)
: base(text)
{
Code = code;
... | using System;
namespace Core.Exceptions
{
public class BackendException : Exception
{
public ErrorCode Code { get; private set; }
public string Text { get; private set; }
public BackendException(string text, ErrorCode code)
: base(text)
{
Code = code;
... | mit | C# |
cd36e94d11e714b0d8eae07057427488aec069c3 | Update version vue | David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium | JavascriptFramework/Vue/VueVersions.cs | JavascriptFramework/Vue/VueVersions.cs | using Neutronium.Core.Infra;
using Neutronium.Core.JavascriptFramework;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersion
{
public string Name { get; }
public string Version { get; }
public bool SupportRuntime { get; }
public DebugToolsUI DebugToolsUI { g... | using Neutronium.Core.Infra;
using Neutronium.Core.JavascriptFramework;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersion
{
public string Name { get; }
public string Version { get; }
public bool SupportRuntime { get; }
public DebugToolsUI DebugToolsUI { g... | mit | C# |
9185fde8a9eaa02bb376050d3c2acb68e2bfb508 | Fix using Java Class instead. | JonDouglas/xamarin-android-tutorials | AppWidget/PairOfDice/PairOfDice/AppWidget.cs | AppWidget/PairOfDice/PairOfDice/AppWidget.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Appwidget;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Math = Java.Lang.Math;
namespace PairOfDice
{
[BroadcastReceiver(Label ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Appwidget;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Math = Java.Lang.Math;
namespace PairOfDice
{
[BroadcastReceiver(Label ... | apache-2.0 | C# |
9aadeebd73bb8e62199c08fd4dbd1e2b5abe89d5 | Check if managed exception (Android) | Microsoft/ApplicationInsights-Xamarin | ApplicationInsightsXamarinSDK/Droid/Utils.cs | ApplicationInsightsXamarinSDK/Droid/Utils.cs | using System;
using Android.Runtime;
namespace AI.XamarinSDK.Android
{
public class Utils
{
public static readonly string[] JAVA_EXCEPTION_PREFIXES = {"java.lang.", "android."};
public static bool IsManagedException(Exception exception){
string exceptionType = exception.GetBaseException ().GetType ().ToStri... | using System;
using Android.Runtime;
namespace AI.XamarinSDK.Android
{
public class Utils
{
public Utils ()
{
}
public static bool IsManagedException(Exception exception){
// TODO: Check exception type (java.lang., android.) or exception source (entry assembly name) to determine whether the exception is... | mit | C# |
f48297785da3be5eaea10b345978deedadb3ef6b | update stats | kreeben/resin,kreeben/resin | src/Sir.HttpServer/Views/_Layout.cshtml | src/Sir.HttpServer/Views/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
<style>
a {
text-decoration: none;
color: orangered;
}
a.result-link {
color: mediumblue;
}
... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
<style>
a {
text-decoration: none;
color: orangered;
}
a.result-link {
color: mediumblue;
}
... | mit | C# |
d4efaeda7e421e5235a3404498d83ae13283c636 | set zoneEmphasis to 0 if value!=null and value can not be resolved to int | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Utilities/JsonConverters/EmphasisJsonConverter.cs | Core/OfficeDevPnP.Core/Utilities/JsonConverters/EmphasisJsonConverter.cs | using Newtonsoft.Json;
using System;
namespace OfficeDevPnP.Core.Utilities.JsonConverters
{
/// <summary>
/// Converts Emphasis values into the supported integer format
/// </summary>
public class EmphasisJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
... | using Newtonsoft.Json;
using System;
namespace OfficeDevPnP.Core.Utilities.JsonConverters
{
/// <summary>
/// Converts Emphasis values into the supported integer format
/// </summary>
public class EmphasisJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
... | mit | C# |
23ec11ba669af8d72c53a0f06154502f16c612b9 | Fix documentation on SecurityHeadersMiddleware | andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders | src/NetEscapades.AspNetCore.SecurityHeaders/SecurityHeadersMiddleware.cs | src/NetEscapades.AspNetCore.SecurityHeaders/SecurityHeadersMiddleware.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// An ASP.NET Core middleware for adding security headers.
/// </summary>
public class SecurityHeadersMiddleware
{
private readonly... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// An ASP.NET Core middleware for adding security headers.
/// </summary>
public class SecurityHeadersMiddleware
{
private readonly... | mit | C# |
8f59028528c8775ae88ca5825be8c3d008e8ead0 | Remove unused namespaces. | Mooophy/meetu,Mooophy/meetu,Mooophy/meetu | MeetU/MeetU/API/DbMonitorController.cs | MeetU/MeetU/API/DbMonitorController.cs | using System.Linq;
using System.Web.Http;
using MeetU.Models;
namespace MeetU.API
{
public class UsersDiffProfilesView
{
public IQueryable<UserNotInProfiles> UserIds { get; set; }
public IQueryable<ProfileNotInUsers> ProfileIds { get; set; }
}
public class DbMonitorController : ApiCont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using MeetU.Models;
namespace MeetU.API
{
public class UsersDiffProfilesView
{
public IQueryable<UserNotInProfiles> UserIds { get; set; }
public IQueryable<Profile... | mit | C# |
77b1217111de0a52077d5f9df120fa8622711cd0 | Add tests | mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,dotnet/roslyn-analyzers,pakdev/roslyn-analyzers,pakdev/roslyn-analyzers,mavasani/roslyn-analyzers | src/Roslyn.Diagnostics.Analyzers/UnitTests/BlankLines/BlankLinesTests.cs | src/Roslyn.Diagnostics.Analyzers/UnitTests/BlankLines/BlankLinesTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Roslyn.Diagnostics.CSharp.Analyzers... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Roslyn.Diagnostics.CSharp.Analyzers... | mit | C# |
6423ce25dc39aa5d247b2115dd7648f00870dcfe | Make enumerator UNC first. | AIWolfSharp/AIWolfCore,AIWolfSharp/AIWolf_NET | AIWolfLib/Species.cs | AIWolfLib/Species.cs | //
// Species.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// 種族
/// </summary>
#else
/// <summary>
/// Enumeration type for species.
/// </... | //
// Species.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// 種族
/// </summary>
#else
/// <summary>
/// Enumeration type for species.
/// </... | mit | C# |
90f69dd60778fc820ef853622375645ae1cae1cb | Add NetBSD support for the sysconf(_SC_NPROCESSORS_ONLN) call | khdang/corefx,tstringer/corefx,iamjasonp/corefx,kkurni/corefx,jcme/corefx,Ermiar/corefx,nchikanov/corefx,ViktorHofer/corefx,alexperovich/corefx,mmitche/corefx,cydhaselton/corefx,rahku/corefx,kkurni/corefx,cydhaselton/corefx,Chrisboh/corefx,billwert/corefx,YoupHulsebos/corefx,khdang/corefx,krytarowski/corefx,pallavit/co... | src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs | src/System.Runtime.Extensions/tests/System/Environment.ProcessorCount.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.InteropServices;
using Xunit;
namespace System.Tests
{
public class EnvironmentProcessorCo... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.InteropServices;
using Xunit;
namespace System.Tests
{
public class EnvironmentProcessorCo... | mit | C# |
71a44ab4d02995786c2e907b720169ddc7849929 | Update test class | ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework.Tests/IO/FontStoreTest.cs | osu.Framework.Tests/IO/FontStoreTest.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.Graphics;
using osu.Framework.IO.Stores;
using osu.Framework.Text;
namespace osu.Framework.Tests.IO
{
[TestFixture]
pu... | // 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.IO.Stores;
using osu.Framework.Text;
namespace osu.Framework.Tests.IO
{
[TestFixture]
pu... | mit | C# |
a76022a7378cc20b6586d47b64bb4561edde66e7 | Test reference hint path | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/MSBuild/AdapterTests.cs | NuGet.Extensions.Tests/MSBuild/AdapterTests.cs | using System;
using System.Linq;
using Microsoft.Build.Evaluation;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.TestData;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace NuGet.Extensions.Tests.MSBuild
{
[TestFixture]
public class AdapterTests
{
private const str... | using System;
using System.Linq;
using Microsoft.Build.Evaluation;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.TestData;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.MSBuild
{
[TestFixture]
public class AdapterTests
{
private const string _expectedBinaryDependencyAssemb... | mit | C# |
3e606cacc70cb04de67759ed51422abcff61e77f | Update TestConfigurationRootSetup.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/DependencyInjection/TestConfigurationRootSetup.cs | TIKSN.UnitTests.Shared/DependencyInjection/TestConfigurationRootSetup.cs | using Microsoft.Extensions.Configuration;
using TIKSN.Configuration;
namespace TIKSN.DependencyInjection.Tests
{
public class TestConfigurationRootSetup : ConfigurationRootSetupBase
{
protected override void SetupConfiguration(IConfigurationBuilder builder)
{
base.SetupConfiguration... | using Microsoft.Extensions.Configuration;
using TIKSN.Configuration;
namespace TIKSN.DependencyInjection.Tests
{
public class TestConfigurationRootSetup : ConfigurationRootSetupBase
{
protected override void SetupConfiguration(IConfigurationBuilder builder)
{
base.SetupConfiguratio... | mit | C# |
15b96af94de001236964d2d992ea9eecd918a488 | Fix TagHelper import declaration | peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples | ProgressBarComponent/Views/_ViewImports.cshtml | ProgressBarComponent/Views/_ViewImports.cshtml | @using ProgressBarComponent
@using ProgressBarComponent.TagHelpers
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
@addTagHelper "*, ProgressBarComponent"
| @using ProgressBarComponent
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
@addTagHelper "ProgressBarTagHelper, ProgressBarComponent"
| mit | C# |
6e7b16f62dc1f50bb598ed04afb110eae0010a44 | Fix BCryptOpenAlgorithmProviderFlags enum values | AArnott/pinvoke | src/BCrypt/BCrypt+BCryptOpenAlgorithmProviderFlags.cs | src/BCrypt/BCrypt+BCryptOpenAlgorithmProviderFlags.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="BCryp... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="BCryp... | mit | C# |
6fe345a531f8fad8aa149190e2b8be999dbc577b | Fix unit tests. | adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless | Source/Api.Tests/Miscellaneous/DeltaTests.cs | Source/Api.Tests/Miscellaneous/DeltaTests.cs | using System;
using Exceptionless.Api.Utility;
using Xunit;
namespace Exceptionless.Api.Tests.Miscellaneous {
public class DeltaTests {
[Fact]
public void CanSetUnknownProperties() {
dynamic delta = new Delta<SimpleMessageA>();
delta.Data = "Blah";
Assert.DoesNo... | using System;
using Exceptionless.Api.Utility;
using Xunit;
namespace Exceptionless.Api.Tests.Miscellaneous {
public class DeltaTests {
[Fact]
public void CanSetUnknownProperties() {
dynamic delta = new Delta<SimpleMessageA>();
delta.Data = "Blah";
Assert.DoesNo... | apache-2.0 | C# |
4cbd5013b48c5be5a025f10f9a2fccd5ebafd87f | Replace client.GetStringAsync(url) with better HttpClient code that also allows for compression | christophwille/viennarealtime,christophwille/viennarealtime | Source/WienerLinien.Api/DefaultHttpClient.cs | Source/WienerLinien.Api/DefaultHttpClient.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace WienerLinien.Api
{
public class DefaultHttpClient : IHttpClient
{
public async... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace WienerLinien.Api
{
public class DefaultHttpClient : IHttpClient
{
public async Task<string> GetS... | mit | C# |
d31ccae31a220f41b6eedd175c8f09c7e9b9d93e | use InMemoryScoreFactory for local updating. | CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper | Upchurch.Ingress/DependencyResolution/IoC.cs | Upchurch.Ingress/DependencyResolution/IoC.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IoC.cs" company="Web Advanced">
// Copyright 2012 Web Advanced (www.webadvanced.com)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IoC.cs" company="Web Advanced">
// Copyright 2012 Web Advanced (www.webadvanced.com)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | mit | C# |
bc2ce46c690fe41bc2a588cc768110731a873b9e | Use the new PrimaryCountry field | StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/... | src/BloomExe/CollectionCreating/LanguageIdControl.cs | src/BloomExe/CollectionCreating/LanguageIdControl.cs | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Collection;
using Bloom.ToPalaso;
namespace Bloom.CollectionCreating
{
public partial class LanguageIdControl : UserControl, IPageControl
{
public CollectionSettings _collectionInfo;
private Action<UserControl, bool> _setNextButtonState;
... | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Collection;
using Bloom.ToPalaso;
namespace Bloom.CollectionCreating
{
public partial class LanguageIdControl : UserControl, IPageControl
{
public CollectionSettings _collectionInfo;
private Action<UserControl, bool> _setNextButtonState;
... | mit | C# |
ed7d30e40acec9ef367489eb1892929fd905e64e | Remove unused ActionItem.Icon. | PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto | Source/Eto/Forms/Actions/ActionItem.cs | Source/Eto/Forms/Actions/ActionItem.cs | using System;
namespace Eto.Forms
{
public partial interface IActionItem
{
ToolBarItem GenerateToolBarItem(Generator generator, ToolBarTextAlign textAlign);
int Order { get; }
}
public abstract partial class ActionItemBase : IActionItem
{
int order = 500;
public abstract ToolBarItem GenerateToolBarI... | using System;
namespace Eto.Forms
{
public partial interface IActionItem
{
ToolBarItem GenerateToolBarItem(Generator generator, ToolBarTextAlign textAlign);
int Order { get; }
}
public abstract partial class ActionItemBase : IActionItem
{
int order = 500;
public abstract ToolBarItem GenerateToolBarI... | bsd-3-clause | C# |
3c3e54658a78aba524ee5f1cf6f928e35609773e | fix travis build | MetaG8/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,DeonHeyns/Metrics.NET,mnadel/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.N... | Src/Metrics/Graphite/GraphiteReport.cs | Src/Metrics/Graphite/GraphiteReport.cs | using Metrics.MetricData;
using Metrics.Reporters;
namespace Metrics.Graphite
{
public class GraphiteReport : BaseReport
{
private readonly GraphiteSender sender;
public GraphiteReport(GraphiteSender sender)
{
this.sender = sender;
}
protected override voi... | using Metrics.MetricData;
using Metrics.Reporters;
namespace Metrics.Graphite
{
public class GraphiteReport : BaseReport
{
private readonly GraphiteSender sender;
public GraphiteReport(GraphiteSender sender)
{
this.sender = sender;
}
protected override voi... | apache-2.0 | C# |
81acaa5bec7df7b4d6e652f34af6aa32085c0115 | modify the thrift configure. | ziyunhx/storm-net-adapter,ziyunhx/storm-net-adapter,ziyunhx/storm-net-adapter,ziyunhx/storm-net-adapter,ziyunhx/storm-net-adapter | Storm.Net.Adapter/DRPC/ThriftConfig.cs | Storm.Net.Adapter/DRPC/ThriftConfig.cs | using System.Text;
namespace Storm.DRPC
{
/// <summary>
/// the thrift config class.
/// </summary>
public class ThriftConfig
{
/// <summary>
/// the server host.
/// </summary>
public string Host { get; set; }
/// <summary>
/// the server port.
... | using System.Text;
namespace Storm.DRPC
{
public class ThriftConfig
{
/// <summary>
/// 服务器地址
/// </summary>
public string Host { get; set; }
/// <summary>
/// 服务端口
/// </summary>
public int Port { get; set; }
/// <summary>
/// 传输... | apache-2.0 | C# |
b2839772816d4282889087e7044c8fc275ef695d | Remove unnecessary decoration | qianlifeng/Wox,lances101/Wox,Wox-launcher/Wox,qianlifeng/Wox,Wox-launcher/Wox,lances101/Wox,qianlifeng/Wox | Wox.Core/Plugin/JsonRPCPluginLoader.cs | Wox.Core/Plugin/JsonRPCPluginLoader.cs | using System.Collections.Generic;
using System.Linq;
using Wox.Plugin;
namespace Wox.Core.Plugin
{
internal class JsonRPCPluginLoader<T> : IPluginLoader where T : JsonRPCPlugin, new()
{
public IEnumerable<PluginPair> LoadPlugin(List<PluginMetadata> pluginMetadatas)
{
T jsonRPCPlugi... | using System.Collections.Generic;
using System.Linq;
using Wox.Plugin;
namespace Wox.Core.Plugin
{
internal class JsonRPCPluginLoader<T> : IPluginLoader where T : JsonRPCPlugin, new()
{
public virtual IEnumerable<PluginPair> LoadPlugin(List<PluginMetadata> pluginMetadatas)
{
T json... | mit | C# |
781bad39d5e596e2e12edd8ef357546762730ce3 | Build nuget package. | rlyczynski/XSerializer,QuickenLoans/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Ass... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Ass... | mit | C# |
306b2a9ad5b92f6ff7eda27844ed10027abc2e26 | update route pattern for new endpoints | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/Initialisation/RouteInitialisation.cs | Dashen/Initialisation/RouteInitialisation.cs | using System.Web.Http;
using System.Web.Http.SelfHost;
namespace Dashen.Initialisation
{
public class RouteInitialisation : IDashboardInitialisation
{
public void ApplyTo(HttpSelfHostConfiguration config)
{
config.Routes.MapHttpRoute(
"Home",
"",
new { controller = "Index" }
);
config.Rout... | using System.Web.Http;
using System.Web.Http.SelfHost;
namespace Dashen.Initialisation
{
public class RouteInitialisation : IDashboardInitialisation
{
public void ApplyTo(HttpSelfHostConfiguration config)
{
config.Routes.MapHttpRoute(
"Home",
"",
new { controller = "Index" }
);
config.Rout... | lgpl-2.1 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.