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 |
|---|---|---|---|---|---|---|---|---|
8382881127d2384848d24bbf8a12925ddd365e65 | Remove requirement for [schema_owner] = 'dbo' | Seddryck/NBi,Seddryck/NBi | NBi.Core/Structure/Relational/Builders/SchemaDiscoveryCommandBuilder.cs | NBi.Core/Structure/Relational/Builders/SchemaDiscoveryCommandBuilder.cs | using NBi.Core.Structure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Structure.Relational.Builders
{
class SchemaDiscoveryCommandBuilder : RelationalDiscoveryCommandBuilder
{
protected override strin... | using NBi.Core.Structure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Structure.Relational.Builders
{
class SchemaDiscoveryCommandBuilder : RelationalDiscoveryCommandBuilder
{
protected override strin... | apache-2.0 | C# |
521105a378324a9a0bd0751615ec52aa4155ec21 | Update DisabledFacetTest.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Metamodel.Test/Facet/DisabledFacetTest.cs | NakedFramework/NakedFramework.Metamodel.Test/Facet/DisabledFacetTest.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | apache-2.0 | C# |
e53896d604476baa9af2d0befe104dcd1df967a9 | Add space before hint. (#7966) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Users/Views/UserFields.cshtml | src/OrchardCore.Modules/OrchardCore.Users/Views/UserFields.cshtml | @model SummaryAdminUserViewModel
<h5 class="float-left">@Model.User.UserName <span class="hint dashed">@Model.User.Email</span></h5>
@if (!Model.User.IsEnabled)
{
<span class="badge badge-danger ml-2" title="@T["Disabled"]">
<i class="fas fa-user-alt-slash"></i> @T["Disabled"]
</span>
}
| @model SummaryAdminUserViewModel
<h5 class="float-left">@Model.User.UserName<span class="hint dashed">@Model.User.Email</span></h5>
@if (!Model.User.IsEnabled)
{
<span class="badge badge-danger ml-2" title="@T["Disabled"]">
<i class="fas fa-user-alt-slash"></i> @T["Disabled"]
</span>
}
| bsd-3-clause | C# |
8ca9c442fd2c05a8fa6bf9c34a28762c333b6af2 | allow domaineventbus without eventsubscriberprovider | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/iFramework.MessageQueue.ZeroMQ/DomainEventBus.cs | Src/iFramework.Plugins/iFramework.MessageQueue.ZeroMQ/DomainEventBus.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IFramework.Infrastructure;
using IFramework.Message;
using IFramework.Message.Impl;
using System.Collections;
using IFramework.Event;
using System.Collections.Concurrent;
using IFramework.MessageQueue.MessageFormat;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IFramework.Infrastructure;
using IFramework.Message;
using IFramework.Message.Impl;
using System.Collections;
using IFramework.Event;
using System.Collections.Concurrent;
using IFramework.MessageQueue.MessageFormat;
... | mit | C# |
10cc3798463ad445407962a5dd3d9804818131ad | Move FilterOperator outside of ApiFilter | CalebChalmers/KAGTools | KAGTools/Data/ApiFilter.cs | KAGTools/Data/ApiFilter.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KAGTools.Data
{
public struct ApiFilter
{
public ApiFilter(string field, object value, FilterOperator op = FilterOperat... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KAGTools.Data
{
public struct ApiFilter
{
public ApiFilter(string field, object value, FilterOperator op = FilterOperat... | mit | C# |
afa288582500903422eb57e227b838b82c4b0276 | Bump version to 0.5.0 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.5.0")]
[assembly: AssemblyInformationalVersionAttribute("0.5.0")]
[assembly: AssemblyFileVersionAttribute("0.5.0")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.4.0")]
[assembly: AssemblyInformationalVersionAttribute("0.4.0")]
[assembly: AssemblyFileVersionAttribute("0.4.0")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
d812262f32851691813a0566eaa5a8d43bcbc66c | Add store external tokens to OpenID Client recipe step (#10373) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.OpenId/Recipes/OpenIdClientSettingsStep.cs | src/OrchardCore.Modules/OrchardCore.OpenId/Recipes/OpenIdClientSettingsStep.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using OrchardCore.OpenId.Services;
using OrchardCore.OpenId.Settings;
using OrchardCore.Recipes.Models;
using OrchardCore.Recipes.Services;
namespace OrchardCore.OpenId.Recipes
{
/// <summary>
/// This recipe step sets gen... | using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using OrchardCore.OpenId.Services;
using OrchardCore.OpenId.Settings;
using OrchardCore.Recipes.Models;
using OrchardCore.Recipes.Services;
namespace OrchardCore.OpenId.Recipes
{
/// <summary>
/// This recipe step sets gen... | bsd-3-clause | C# |
92ff40930b7d4dd7be93f502a17cbfa1150bf42c | Update NinjectWebCommon.cs | TheDarkCode/SwiftDotNet,TheDarkCode/SwiftDotNet,TheDarkCode/SwiftDotNet | src/Server/WebAPI/net461/SwiftDotNet.WebAPI/SwiftDotNet.WebAPI/App_Start/NinjectWebCommon.cs | src/Server/WebAPI/net461/SwiftDotNet.WebAPI/SwiftDotNet.WebAPI/App_Start/NinjectWebCommon.cs | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(DryverlessAds.AffiliateApi.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(DryverlessAds.AffiliateApi.App_Start.NinjectWebCommon), "Stop")]
namespace DryverlessAds.AffiliateApi.App_Start
{
using S... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SwiftDotNet.WebAPI.App_Start
{
class NinjectWebCommon
{
}
}
| mit | C# |
ba00adc29348272e4f55a98efbf53cc7d292b32c | Enable middleware to extract trace from incoming request headers. | criteo/zipkin4net,criteo/zipkin4net | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
var extractor = new ZipkinHttpT... | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
app.Use(async (context, next) =... | apache-2.0 | C# |
cdd70d134ca74df3c0a6e1a1c7234607a3f5a2e5 | Correct href in <see/> tag | mikebarker/Plethora.NET | src/Plethora.Common/MathEx.cs | src/Plethora.Common/MathEx.cs | using System;
namespace Plethora
{
public static class MathEx
{
/// <summary>
/// Returns the greatest common divisor of two numbers.
/// </summary>
/// <param name="a">The first number.</param>
/// <param name="b">The second number.</param>
/// <returns>The gre... | using System;
namespace Plethora
{
public static class MathEx
{
/// <summary>
/// Returns the greatest common divisor of two numbers.
/// </summary>
/// <param name="a">The first number.</param>
/// <param name="b">The second number.</param>
/// <returns>The gre... | mit | C# |
af56e5c9f724aad319d86dd452644b0e891df2c3 | Throw an exception of [CallerMemberName] misbehaves. | orospakr/sharpify,orospakr/sharpify,orospakr/sharpify | ShopifyAPIAdapterLibrary/ShopifyAPIAdapterLibrary.Models/ShopifyResourceModel.cs | ShopifyAPIAdapterLibrary/ShopifyAPIAdapterLibrary.Models/ShopifyResourceModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace ShopifyAPIAdapterLibrary.Models
{
public class ShopifyResourceModel : IResourceModel
{
public ev... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace ShopifyAPIAdapterLibrary.Models
{
public class ShopifyResourceModel : IResourceModel
{
public ev... | mit | C# |
dcf3ae5765dc5ce9eb39ae4cbdf7d5c47ee74f9c | Reduce exposure of public API | oliver-feng/libgit2sharp,AArnott/libgit2sharp,nulltoken/libgit2sharp,AArnott/libgit2sharp,carlosmn/libgit2sharp,rcorre/libgit2sharp,dlsteuer/libgit2sharp,github/libgit2sharp,xoofx/libgit2sharp,mono/libgit2sharp,jeffhostetler/public_libgit2sharp,mono/libgit2sharp,psawey/libgit2sharp,Skybladev2/libgit2sharp,libgit2/libgi... | LibGit2Sharp/IndexEntry.cs | LibGit2Sharp/IndexEntry.cs | using System;
using System.Runtime.InteropServices;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
public class IndexEntry
{
public IndexEntryState State { get; private set; }
public string Path { get; private set; }
public ObjectId Id { get; private set; }
internal static... | using System;
using System.Runtime.InteropServices;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
public class IndexEntry
{
public IndexEntryState State { get; set; }
public string Path { get; private set; }
public ObjectId Id { get; private set; }
internal static IndexEn... | mit | C# |
1bed1f68d3258b761370b02cf427557a8396edbe | Add settings for EmailServiceProducer. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/AzureRepositories/Settings/BaseSettings.cs | src/CompetitionPlatform/Data/AzureRepositories/Settings/BaseSettings.cs | using Lykke.EmailSenderProducer.Interfaces;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public class BaseSettings
{
public AzureSettings Azure { get; set; }
public AuthenticationSettings Authentication { get; set; }
public NotificationsSettings Notifications { get; ... | namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public class BaseSettings
{
public AzureSettings Azure { get; set; }
public AuthenticationSettings Authentication { get; set; }
public NotificationsSettings Notifications { get; set; }
}
public class Authentication... | mit | C# |
2627b502f03415d25186c034a17038695dd7a84e | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.RunMRU/ValuesOut.cs | RegistryPlugin.RunMRU/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.RunMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string valueName, string executable, int mruPosition, DateTimeOffset? openedOn)
{
Executable = executable;
ValueName = valueName;
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.RunMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string valueName, string executable, int mruPosition, DateTimeOffset? openedOn)
{
Executable = executable;
ValueName = valueName;
... | mit | C# |
99cadd73d6e1de4d4661d9d167d2c79aabfd3351 | Fix workspace references in liveshare unit tests. | tannergooding/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,eriawan/roslyn,tmat/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,wvdd007/roslyn,gafter/roslyn,tmat/roslyn,mgoertz-msft/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,genlu/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,genlu/roslyn,jmarolf/... | src/VisualStudio/LiveShare/Test/MockDocumentNavigationServiceFactory.cs | src/VisualStudio/LiveShare/Test/MockDocumentNavigationServiceFactory.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.Composition;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnal... | // 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.Composition;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnal... | mit | C# |
968ae02176be9c25a3678cbd46b6ff2785bcafed | Update Console Program with the Repository call - Update GetRoleMessage | penblade/Training.CSharpWorkshop | Training.CSharpWorkshop/Program.cs | Training.CSharpWorkshop/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class Program
{
public static void Main(string[] args)
{
Process();
}
public static void Process()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class Program
{
public static void Main(string[] args)
{
Process();
}
public static void Process()
... | mit | C# |
a9e88207cb461f015554947a86e009f15fe0f8e7 | Update StaticCache_Tests.cs | hikalkan/samples,hikalkan/samples,hikalkan/samples,hikalkan/samples | SingletonVsStatic/SingletonVsStatic.StaticLib.Tests/StaticCache_Tests.cs | SingletonVsStatic/SingletonVsStatic.StaticLib.Tests/StaticCache_Tests.cs | using Xunit;
namespace SingletonVsStatic.StaticLib.Tests
{
public class StaticCache_Tests
{
static StaticCache_Tests()
{
StaticCache.Add("TestKey1", "TestValue1");
StaticCache.Add("TestKey2", "TestValue2");
}
[Fact]
public void Should_Contain_In... | using Xunit;
namespace SingletonVsStatic.StaticLib.Tests
{
public class StaticCache_Tests
{
public StaticCache_Tests()
{
StaticCache.Add("TestKey1", "TestValue1");
StaticCache.Add("TestKey2", "TestValue2");
}
[Fact]
public void Should_Contain_In... | mit | C# |
8f496095a9a42d5ada559ad3cb565511284ade70 | Change version to 0.9.0.0 for the premature build | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | 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("TweetDick")]
[assembly: AssemblyDescripti... | 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("TweetDick")]
[assembly: AssemblyDescripti... | mit | C# |
da7464670c132ecb93d03580b15bdaad060a89c9 | Add ResolveByName attribute to StyledElement property | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/AddClassAction.cs | src/Avalonia.Xaml.Interactions/Custom/AddClassAction.cs | using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Adds a specified <see cref="AddClassAction.ClassName"/> to the <see cref="IStyledElement.Classes"/> collection when invoked.
/// </summary>
public class AddClassAction : AvaloniaObject, IAction... | using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Adds a specified <see cref="AddClassAction.ClassName"/> to the <see cref="IStyledElement.Classes"/> collection when invoked.
/// </summary>
public class AddClassAction : AvaloniaObject, IAction
{
/// <summary>
... | mit | C# |
874ceeca8a9fa6152a0b2d0f4faa91771613d5a8 | Update StartupSettings.cs | quartz-software/kephas,quartz-software/kephas | src/Kephas.Application/Configuration/StartupSettings.cs | src/Kephas.Application/Configuration/StartupSettings.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StartupSettings.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the projec... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StartupSettings.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the projec... | mit | C# |
8f5c9f6b30d5b7d7ff1ecbcb0cae887c6092f34a | fix bug where bool props would always be set to true even if provided value of false | galaktor/autofac-extensions | CommandLine/Args/Prop.cs | CommandLine/Args/Prop.cs | // Copyright (c) 2013 Raphael Estrada
// License: The MIT License - see "LICENSE" file for details
// Author URL: http://www.galaktor.net
// Author E-Mail: galaktor@gmx.de
using System;
using System.Linq;
using System.Reflection;
using Autofac.Core;
namespace Autofac.CommandLine.Args
{
public class Prop... | // Copyright (c) 2013 Raphael Estrada
// License: The MIT License - see "LICENSE" file for details
// Author URL: http://www.galaktor.net
// Author E-Mail: galaktor@gmx.de
using System;
using System.Linq;
using System.Reflection;
using Autofac.Core;
namespace Autofac.CommandLine.Args
{
public class Prop... | mit | C# |
233bfce42198493fe7c854bb91cbfea18ff557c8 | allow complex default values through inheritance | workabyte/PowerArgs,BlackFrog1/PowerArgs,workabyte/PowerArgs,adamabdelhamed/PowerArgs,BlackFrog1/PowerArgs,adamabdelhamed/PowerArgs | PowerArgs/Hooks/DefaultValueAttribute.cs | PowerArgs/Hooks/DefaultValueAttribute.cs | using System;
namespace PowerArgs
{
/// <summary>
/// Use this attribute to set the default value for a parameter. Note that this only
/// works for simple types since only compile time constants can be passed to an attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTa... | using System;
namespace PowerArgs
{
/// <summary>
/// Use this attribute to set the default value for a parameter. Note that this only
/// works for simple types since only compile time constants can be passed to an attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTa... | mit | C# |
a9f6ad312a757475426e8fd6ec25a7d717d86808 | Remove list element when switching scene | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 | Proto/Assets/Scripts/UI/LeaderboardUI.cs | Proto/Assets/Scripts/UI/LeaderboardUI.cs | using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LeaderboardUI : MonoBehaviour
{
[SerializeField] private RectTransform _scoresList;
[SerializeField] private Text _sceneTitle;
[SerializeField] private string _defaultScene = "Tuto";
... | using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LeaderboardUI : MonoBehaviour
{
[SerializeField] private RectTransform _scoresList;
[SerializeField] private Text _sceneTitle;
[SerializeField] private string _defaultScene = "Tuto";
private const strin... | mit | C# |
40111b09bba17653e6bc4e887b21e68d169c1c34 | Increment version to v1.0.0.8 | TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/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("XeroApi")]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XeroApi")]
[assembly: AssemblyDescription... | mit | C# |
fb435ccfc5fc2a032bd0b77813539696b4f41e8f | Allow an IScheduler to be specified in settings | jskeet/gax-dotnet,googleapis/gax-dotnet,jskeet/gax-dotnet,googleapis/gax-dotnet | src/Google.Api.Gax/ServiceSettingsBase.cs | src/Google.Api.Gax/ServiceSettingsBase.cs | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file or at
* https://developers.google.com/open-source/licenses/bsd
*/
using Grpc.Core;
using System;
namespace Google.Api.Gax
{
/// <summary>
/// Common s... | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file or at
* https://developers.google.com/open-source/licenses/bsd
*/
using Grpc.Core;
using System;
namespace Google.Api.Gax
{
/// <summary>
/// Common s... | bsd-3-clause | C# |
4b489b52efdf1635a17fefcf740765967837ea2f | Bump version again | mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,rasmuseeg/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,hfloyd/Umbraco-CMS,tcmorris/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Um... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
e01a5b15b1f0bf66148dc9d844638938bb07d6cb | Save layout works | JakobChristensen/Sitecore.ContentDelivery | src/Sitecore.ContentDelivery/Constants.cs | src/Sitecore.ContentDelivery/Constants.cs | // © 2015-2017 by Jakob Christensen. All rights reserved.
namespace Sitecore.ContentDelivery
{
public static class Constants
{
public const string AppDataDatabasesDirectory = "/App_Data/Sitecore.ContentDelivery/Databases";
public const string BasePath = "ContentDelivery.BasePath";
pub... | // © 2015-2017 by Jakob Christensen. All rights reserved.
namespace Sitecore.ContentDelivery
{
public static class Constants
{
public const string AppDataDatabasesDirectory = "/App_Data/Sitecore.ContentDelivery/Databases";
public const string BasePath = "ContentDelivery.BasePath";
pub... | mit | C# |
d3a445a35347202e340dcf8bf5c6c7016a31fc0d | Fix compile error. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | test/HelloCoreClrApp.Test/TestserverStartup.cs | test/HelloCoreClrApp.Test/TestserverStartup.cs | using System;
using HelloCoreClrApp.Data;
using HelloCoreClrApp.Data.Entities;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace HelloCoreClrApp.Test
{
public class TestserverStartup : Startup
{
public TestserverStartup(IHostingEnviro... | using System;
using HelloCoreClrApp.Data;
using HelloCoreClrApp.Data.Entities;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
namespace HelloCoreClrApp.Test
{
public class TestserverStartup : Startup
{
public TestserverStartup(IHostingEnvironment env)
: base(env)
... | mit | C# |
4c162561160a6dcb83500d8c80e6e2f36b33f655 | Fix for content type NULL in rare cercumstances | danielwertheim/mycouch,danielwertheim/mycouch | source/projects/MyCouch.Net45/Responses/Materializers/BasicResponseMaterializer.cs | source/projects/MyCouch.Net45/Responses/Materializers/BasicResponseMaterializer.cs | using System.Net.Http;
using MyCouch.Extensions;
namespace MyCouch.Responses.Materializers
{
public class BasicResponseMaterializer
{
public virtual void Materialize(Response response, HttpResponseMessage httpResponse)
{
response.RequestUri = httpResponse.RequestMessage.RequestUri;... | using System.Net.Http;
using MyCouch.Extensions;
namespace MyCouch.Responses.Materializers
{
public class BasicResponseMaterializer
{
public virtual void Materialize(Response response, HttpResponseMessage httpResponse)
{
response.RequestUri = httpResponse.RequestMessage.RequestUri;... | mit | C# |
06ae6b2bcc81bc3bdda6f9d61c75c04f1144c97f | move to class level variables | jefking/King.B-Trak | King.B-Trak/Synchronizer.cs | King.B-Trak/Synchronizer.cs | namespace King.BTrak
{
using King.Azure.Data;
using System;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Threading.Tasks;
/// <summary>
///
/// </summary>
public class Synchronizer : ISynchronizer
{
#region Members
/// <summary>
/... | namespace King.BTrak
{
using King.Azure.Data;
using System;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Threading.Tasks;
/// <summary>
///
/// </summary>
public class Synchronizer : ISynchronizer
{
#region Members
/// <summary>
/... | mit | C# |
faaf270e51135d1a8e34665d2051de5007518a63 | Bump version to 0.6.0 | whampson/bft-spec,whampson/cascara | Src/WHampson.Bft/Properties/AssemblyInfo.cs | Src/WHampson.Bft/Properties/AssemblyInfo.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | mit | C# |
50963adcbf82d2cb797cf435764a42dc1f25a44a | Set fixed height and add debug messages for OnAppearing/OnDisappearing | esskar/TelerikListViewPoc | TelerikListViewPoc/Controls/BookListCell.cs | TelerikListViewPoc/Controls/BookListCell.cs | using System.Diagnostics;
using Telerik.XamarinForms.DataControls.ListView;
using TelerikListViewPoc.Components;
using Xamarin.Forms;
namespace TelerikListViewPoc.Controls
{
public class BookListCell : ListViewTemplateCell
{
public BookListCell()
{
var titleLabel = new Label
... | using Telerik.XamarinForms.DataControls.ListView;
using TelerikListViewPoc.Components;
using Xamarin.Forms;
namespace TelerikListViewPoc.Controls
{
public class BookListCell : ListViewTemplateCell
{
public BookListCell()
{
var titleLabel = new Label
{
... | mit | C# |
b6eb090ed0f8ac213806d010ef8ac35327ca4888 | Fix PKCS7Padding padding | miniter/SSH.NET,sshnet/SSH.NET,Bloomcredit/SSH.NET,GenericHero/SSH.NET | Renci.SshClient/Renci.SshNet/Security/Cryptography/Ciphers/Paddings/PKCS7Padding.cs | Renci.SshClient/Renci.SshNet/Security/Cryptography/Ciphers/Paddings/PKCS7Padding.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Renci.SshNet.Security.Cryptography.Ciphers.Paddings
{
/// <summary>
/// Implements PKCS7 cipher padding
/// </summary>
public class PKCS7Padding : CipherPadding
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Renci.SshNet.Security.Cryptography.Ciphers.Paddings
{
/// <summary>
/// Implements PKCS7 cipher padding
/// </summary>
public class PKCS7Padding : CipherPadding
{
/// <summary>
... | mit | C# |
be87440a2362b31e53b97542f802245b8cb16754 | Fix collider on audiotrigger | pierre-galaup/globalgamejam2016 | Assets/AudioTriggerHandler.cs | Assets/AudioTriggerHandler.cs | using UnityEngine;
using System.Collections;
public class AudioTriggerHandler : MonoBehaviour
{
[SerializeField]
private MonoBehaviour ScriptToRun;
[SerializeField]
private AudioClip Clip;
[SerializeField] private AudioSource audioSource;
public void OnTriggerEnter(Collider other)
{
... | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(AudioSource))]
public class AudioTriggerHandler : MonoBehaviour
{
[SerializeField]
private MonoBehaviour ScriptToRun;
[SerializeField]
private AudioClip Clip;
private AudioSource audioSource;
public void Awake()
{
... | cc0-1.0 | C# |
c6bab56464daec94558959649be8eaf448d10720 | Bump version number | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | adal/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Properties/AssemblyInfo.cs | adal/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Properties/AssemblyInfo.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | mit | C# |
a82f6ef4c6618c2a6ab09ab53933ab04a885b7fd | create MappingTester.Source on request instead of in the constructor in case the user already has a TSource they want to use | mvbalaw/Mapper | MvbaMapper/MappingTester.cs | MvbaMapper/MappingTester.cs | using System.Collections.Generic;
using System.Linq;
using CodeQuery;
using MvbaCore;
namespace MvbaMapper
{
public class MappingTester<TSource, TDestination>
where TSource : class, new()
{
private readonly Dictionary<string, object> _propertyValues = new Dictionary<string, object>();
private TS... | using System.Collections.Generic;
using System.Linq;
using CodeQuery;
using MvbaCore;
namespace MvbaMapper
{
public class MappingTester<TSource, TDestination>
where TSource : new()
{
private readonly Dictionary<string, object> _propertyValues = new Dictionary<string, object>();
private readonly ... | mit | C# |
5c9cd4f3ebcfb738fb8fb66a6bbdc19500b90a14 | change screenshot counter | accu-rate/SumoVizUnity,accu-rate/SumoVizUnity | Assets/Scripts/Screenshots/NormalScreenshots.cs | Assets/Scripts/Screenshots/NormalScreenshots.cs | using UnityEngine;
using System.Collections;
using System.IO;
public class NormalScreenshots : MonoBehaviour {
public int superSizeFactor = 1;
public int fps = 25;
private PlaybackControl pc;
private int count = 0;
void Start () {
pc = GameObject.Find("PlaybackControl").GetComponent<PlaybackControl>();
T... | using UnityEngine;
using System.Collections;
using System.IO;
public class NormalScreenshots : MonoBehaviour {
public int superSizeFactor = 1;
public int fps = 25;
private PlaybackControl pc;
private int count = 0;
void Start () {
pc = GameObject.Find("PlaybackControl").GetComponent<PlaybackControl>();
T... | mit | C# |
2fc47c6b2fb0ecd98c0a89cce430a22c7f195f54 | Use struct instead of class for event/notification data. | modulexcite/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,DartVS/DartVS | DanTup.DartAnalysis/Events/ServerStatusEvent.cs | DanTup.DartAnalysis/Events/ServerStatusEvent.cs | using System;
namespace DanTup.DartAnalysis
{
#region JSON deserialisation objects
class ServerStatusEvent
{
public ServerAnalysisStatus analysis = null;
}
class ServerAnalysisStatus
{
public bool analyzing = false;
}
#endregion
public struct ServerStatusNotification
{
public bool IsAnalysing { ge... | using System;
namespace DanTup.DartAnalysis
{
#region JSON deserialisation objects
class ServerStatusEvent
{
public ServerAnalysisStatus analysis = null;
}
class ServerAnalysisStatus
{
public bool analyzing = false;
}
#endregion
public class ServerStatusNotification
{
public bool IsAnalysing { get... | mit | C# |
0fec10413ae7c85849587609efeea4beefa9bcd5 | Update SDK version to 4.0.2 | NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity | ncmb_unity/Assets/NCMB/Script/CommonConstant.cs | ncmb_unity/Assets/NCMB/Script/CommonConstant.cs | /*******
Copyright 2017-2018 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requir... | /*******
Copyright 2017-2018 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requir... | apache-2.0 | C# |
b70fb1e2c19586c9a88dbd929167439cb05f041b | Update BindingSyntaxExtensions.cs | justinyoo/EntityFramework.Testing,scott-xu/EntityFramework.Testing,justinyoo/EntityFramework.Testing | src/EntityFramework.Testing.Moq.Ninject/BindingSyntaxExtensions.cs | src/EntityFramework.Testing.Moq.Ninject/BindingSyntaxExtensions.cs | //-----------------------------------------------------------------------------------------------------
// <copyright file="BindingSyntaxExtensions.cs" company="Scott Xu">
// Copyright (c) 2014 Scott Xu.
// </copyright>
//-----------------------------------------------------------------------------------------------... | //-----------------------------------------------------------------------------------------------------
// <copyright file="BindingSyntaxExtensions.cs" company="Scott Xu">
// Copyright (c) 2014 Scott Xu.
// </copyright>
//-----------------------------------------------------------------------------------------------... | apache-2.0 | C# |
655a63bd61dca22f94055156c5ca10519f65d197 | Update StringExtension to validate email | SSWConsulting/SSWTV.DevSuperPower.DI,SSWConsulting/SSWTV.DevSuperPower.DI,SSWConsulting/SSWTV.DevSuperPower.DI | src/Step-0-No-DI/AdamS.StoreTemp/Models/Common/StringExtensions.cs | src/Step-0-No-DI/AdamS.StoreTemp/Models/Common/StringExtensions.cs | using System.Text.RegularExpressions;
namespace AdamS.StoreTemp.Models.Common
{
public static class StringExtensions
{
public static bool IsValidEmailAddress(this string emailAddress)
{
Regex regex = new Regex(@"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$");
Match m... | namespace AdamS.StoreTemp.Models.Common
{
public static class StringExtensions
{
public static bool IsValidEmailAddress(this string emailAddress)
{
return !string.IsNullOrWhiteSpace(emailAddress);
}
}
} | apache-2.0 | C# |
fe507d8dafd37b9ab3ac5f2d5b919b6b9d723bf5 | Comment typo fix | madelson/DistributedLock | DistributedLock.Tests/Infrastructure/Shared/MariaDbCredentials.cs | DistributedLock.Tests/Infrastructure/Shared/MariaDbCredentials.cs | using MySqlConnector;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Medallion.Threading.Tests
{
internal static class MariaDbCredentials
{
// MARIADB SETUP NOTE
//
// In order to enable application name tracking, we must enable the perfor... | using MySqlConnector;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Medallion.Threading.Tests
{
internal static class MariaDbCredentials
{
// MARIADB SETUP NOTE
//
// In order to enable application name tracking, we mus enable the perform... | mit | C# |
6cd0df2dbc2361421aacb69b770ecbd17b107852 | Add more | martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager | MediaManager/Platforms/Ios/Video/PlayerViewController.cs | MediaManager/Platforms/Ios/Video/PlayerViewController.cs | using AVKit;
namespace MediaManager.Platforms.Ios.Video
{
public class PlayerViewController : AVPlayerViewController
{
protected static MediaManagerImplementation MediaManager => CrossMediaManager.Apple;
public override void ViewWillAppear(bool animated)
{
base.ViewWillApp... | using AVKit;
namespace MediaManager.Platforms.Ios.Video
{
public class PlayerViewController : AVPlayerViewController
{
protected static MediaManagerImplementation MediaManager => CrossMediaManager.Apple;
public override void ViewWillAppear(bool animated)
{
base.ViewWillApp... | mit | C# |
c5de1afefaaf087a2ddbfbc3cfd3498ee7611564 | Save and retrive excluded file types setting | BigEggTools/PowerMode | PowerMode/Settings/SettingsRepository.GeneralSettings.cs | PowerMode/Settings/SettingsRepository.GeneralSettings.cs | namespace BigEgg.Tools.PowerMode.Settings
{
using System;
public static partial class SettingsRepository
{
private static readonly string GENERAL_SETTINGS_CATELOG = "General";
public static GeneralSettings GetGeneralSettings(IServiceProvider serviceProvider)
{
if (ser... | namespace BigEgg.Tools.PowerMode.Settings
{
using System;
public static partial class SettingsRepository
{
private static readonly string GENERAL_SETTINGS_CATELOG = "General";
public static GeneralSettings GetGeneralSettings(IServiceProvider serviceProvider)
{
if (ser... | mit | C# |
951b5c7e4d1ef1917402110e6329935b119d6b8d | Replace ASN array with IList | mstrother/BmpListener | BmpListener/Bgp/BgpMessage.cs | BmpListener/Bgp/BgpMessage.cs | using System;
namespace BmpListener.Bgp
{
public abstract class BgpMessage
{
protected const int BgpHeaderLength = 19;
protected BgpMessage(ArraySegment<byte> data)
{
Header = new BgpHeader(data);
var offset = data.Offset + BgpHeaderLength;
var coun... | using System;
using System.Linq;
namespace BmpListener.Bgp
{
public abstract class BgpMessage
{
protected const int BgpHeaderLength = 19;
protected BgpMessage(ref ArraySegment<byte> data)
{
Header = new BgpHeader(data);
var offset = data.Offset + BgpHeaderLengt... | mit | C# |
ea2111f0f4d7848c1d86b66e90dca23ded9fc04a | refactor viewModel | Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject | EntertainmentSystem/Web/EntertainmentSystem.Web/Areas/Administration/ViewModels/AdminUserViewModel.cs | EntertainmentSystem/Web/EntertainmentSystem.Web/Areas/Administration/ViewModels/AdminUserViewModel.cs | namespace EntertainmentSystem.Web.Areas.Administration.ViewModels
{
using System.ComponentModel.DataAnnotations;
using Common.Constants;
using Data.Models;
using Infrastructure.Mapping;
using Web.ViewModels;
public class AdminUserViewModel : BaseViewModel<string>, IMapFrom<ApplicationUser>
... | namespace EntertainmentSystem.Web.Areas.Administration.ViewModels
{
using System.ComponentModel.DataAnnotations;
using Common.Constants;
using Data.Models;
using Infrastructure.Mapping;
using Web.ViewModels;
public class AdminUserViewModel : BaseViewModel<string>, IMapFrom<ApplicationUser>
... | mit | C# |
ce9101b26ed50eaeb2a245cbf5cdbd9bafd700dd | handle infinite timeout on winstore/wp8.1 | tim-hoff/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,monostefan/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins | Geolocator/Geolocator/Geolocator.Plugin.WindowsPhone81/Timeout.cs | Geolocator/Geolocator/Geolocator.Plugin.WindowsPhone81/Timeout.cs | //
// Copyright 2011-2013, Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | //
// Copyright 2011-2013, Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | mit | C# |
e387ddcb3681e8df0d4d39ad329c358fb236c2b3 | fix typo (#446) | twilio/twilio-csharp | src/Twilio/Types/OutboundCallPriceWithOrigin.cs | src/Twilio/Types/OutboundCallPriceWithOrigin.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Twilio.Types
{
/// <summary>
/// POCO for outbound call price with origin
/// </summary>
public class OutboundCallPriceWithOrigin {
/// <summary>
/// Base price of outbound call
/// </summary>
[JsonPrope... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Twilio.Types
{
/// <summary>
/// POCO for outbound call price with origin
/// </summary>
public class OutboundCallPriceWithOrigin {
/// <summary>
/// Base price of outbound call
/// </summary>
[JsonPrope... | mit | C# |
e316ceb44dc410931099c2124e35b04e87d00004 | make class abstract | NebulousConcept/b2-csharp-client | b2-csharp-client/B2.Client/Rest/Request/MultipartPostRestRequest.cs | b2-csharp-client/B2.Client/Rest/Request/MultipartPostRestRequest.cs | using System.Net.Http;
using B2.Client.Rest.Request.Param;
namespace B2.Client.Rest.Request
{
/// <summary>
/// A multipart REST request using HTTP POST.
/// </summary>
public abstract class MultipartPostRestRequest : MultipartRestRequest
{
/// <summary>
/// Create a new multipar... | using System.Net.Http;
using B2.Client.Rest.Request.Param;
namespace B2.Client.Rest.Request
{
/// <summary>
/// A multipart REST request using HTTP POST.
/// </summary>
public class MultipartPostRestRequest : MultipartRestRequest
{
/// <summary>
/// Create a new multipart POST re... | mit | C# |
1d3cd2d05a062f41de07c397a187537bcad81370 | Fix XWT assembly and type names when locating XWT backends | mono/guiunit | src/framework/GuiUnit/XwtMainLoopIntegration.cs | src/framework/GuiUnit/XwtMainLoopIntegration.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GuiUnit
{
public class XwtMainLoopIntegration : IMainLoopIntegration
{
// List of Xwt backends we will try to use in order of priority
Tuple<string,string>[] backends = new[] {
Tuple.Create ("Xwt.Gtk.dll", "Xwt.GtkBackend.Gtk... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GuiUnit
{
public class XwtMainLoopIntegration : IMainLoopIntegration
{
// List of Xwt backends we will try to use in order of priority
Tuple<string,string>[] backends = new[] {
Tuple.Create ("Xwt.Gtk.dll", "Xwt.GtkBackend.Gtk... | mit | C# |
4c2f697858f4838549a8e6d1bfe15557311b3342 | Fix import tracer to property trace all imports | jefflinse/MSBuildTracer | MSBuildTracer/ImportTracer.cs | MSBuildTracer/ImportTracer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using MBEV = Microsoft.Build.Evaluation;
using MBEX = Microsoft.Build.Execution;
namespace MSBuildTracer
{
class ImportTracer
{
private MBEV.Projec... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using MBEV = Microsoft.Build.Evaluation;
using MBEX = Microsoft.Build.Execution;
namespace MSBuildTracer
{
class ImportTracer
{
private MBEV.Projec... | mit | C# |
7a1525b7f4c631130fa21f4c766287a98bbc337b | Fix MediatR examples exception handlers overrides | jbogard/MediatR | samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlersOverrides.cs | samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlersOverrides.cs | using MediatR.Pipeline;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace MediatR.Examples.ExceptionHandler.Overrides;
public class CommonExceptionHandler : AsyncRequestExceptionHandler<PingResourceTimeout, Pong>
{
private readonly TextWriter _writer;
public Commo... | using MediatR.Pipeline;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace MediatR.Examples.ExceptionHandler.Overrides;
public class CommonExceptionHandler : AsyncRequestExceptionHandler<PingResourceTimeout, Pong>
{
private readonly TextWriter _writer;
public Commo... | apache-2.0 | C# |
2cd41b96564a6229efee1110175327f50f03df49 | Add Price test | Spreads/Spreads | tests/Spreads.Extensions.Tests/DataTypesTest.cs | tests/Spreads.Extensions.Tests/DataTypesTest.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using System.Runtime.InteropServices;
using System.Threading;
using Spreads.DataTypes;
using Spreads.Serialization;
using Spreads.Stora... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using System.Runtime.InteropServices;
using System.Threading;
using Spreads.DataTypes;
using Spreads.Serialization;
using Spreads.Stora... | mpl-2.0 | C# |
5597306ee8295737e2022ed77c9e3bcceaa9564a | Remove Playing property from SongModel | GeorgeHahn/SOVND | SOVND.Lib/Models/SongModel.cs | SOVND.Lib/Models/SongModel.cs | namespace SOVND.Lib.Models
{
public class SongModel
{
public string SongID { get; set; }
public string Voters { get; set; }
public int Votes { get; set; }
public long Votetime { get; set; }
public bool Removed { get; set; }
}
} | namespace SOVND.Lib.Models
{
public class SongModel
{
public string SongID { get; set; }
public string Voters { get; set; }
public int Votes { get; set; }
public long Votetime { get; set; }
public bool Removed { get; set; }
public bool Playing { get; set; }
}
... | epl-1.0 | C# |
6035869f05545d8f18b7c07b291c71ddd25c348d | Move from MSTest to NUnit | aloisdg/SharpResume | SharpResume.Tests/UnitTest.cs | SharpResume.Tests/UnitTest.cs | using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using SharpResume.Model;
using Assert = NUnit.Framework.Assert;
namespace SharpResume.Tests
{
[TestFixture]
public class UnitTest
{
const string JsonName = "resume.json";
static readonly string _json = File.Re... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using SharpResume.Model;
using Assert = Microsoft.VisualStudio.TestTools.UnitTesting.Assert;
namespace Sharp... | mit | C# |
fc54ffc96e428c8ec609ccc8267183ba72c842f9 | fix build | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Helpers.cs | test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Helpers.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
namespace Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest
{
public class Helpers
{
public stati... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.Extensions.PlatformAbstractions;
namespace Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest
{
... | apache-2.0 | C# |
ccb64a98c40b656cf12f70153698464555ef7e8e | Fix comment (which was in an unsaved file, unfortunately) | googleapis/google-cloudevents-dotnet,googleapis/google-cloudevents-dotnet | src/Google.Events.Protobuf/Cloud/PubSub/V1/ConverterAttributes.cs | src/Google.Events.Protobuf/Cloud/PubSub/V1/ConverterAttributes.cs | // Copyright 2020, 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 i... | // Copyright 2020, 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 i... | apache-2.0 | C# |
d3e5beb5e1e410758803646f4fa4b681b822e994 | Disable F# test. | sdanyliv/linq2db,fraillt/linq2db,barsgroup/bars2db,lvaleriu/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,AK107/linq2db,fraillt/linq2db,ronnyek/linq2db,rechkalov/linq2db,scratch-net/linq2db,LinqToDB4iSeries/linq2db,giuliohome/linq2db,genusP/linq2db,linq2db/linq2db,AK107/linq2db,yonglehou/linq2db,inickvel/linq2db,M... | Tests/Linq/Linq/FSharpTest.cs | Tests/Linq/Linq/FSharpTest.cs | using System;
using NUnit.Framework;
namespace Tests.Linq
{
[TestFixture]
public class FSharpTest : TestBase
{
[Test, DataContextSource]
public void LoadSingle(string context)
{
using (var db = GetDataContext(context))
FSharp.WhereTest.LoadSingle(db);
}
[Test, DataContextSource]
... | using System;
using NUnit.Framework;
namespace Tests.Linq
{
[TestFixture]
public class FSharpTest : TestBase
{
[Test, DataContextSource]
public void LoadSingle(string context)
{
using (var db = GetDataContext(context))
FSharp.WhereTest.LoadSingle(db);
}
[Test, DataContextSource]
public void... | mit | C# |
e2c93e748418feb07699de9066d39afe1555641b | Add timings | kamsar/Leprechaun | src/Leprechaun.Console/Program.cs | src/Leprechaun.Console/Program.cs | using System;
using System.Diagnostics;
using System.Xml;
using Leprechaun.CodeGen;
using Leprechaun.Console.Variables;
namespace Leprechaun.Console
{
class Program
{
static void Main(string[] args)
{
// args:
// -watch
// -config=c:\foo.config
// ??
var timer = new Stopwatch();
timer.Start()... | using System.Xml;
using Leprechaun.CodeGen;
using Leprechaun.Console.Variables;
namespace Leprechaun.Console
{
class Program
{
static void Main(string[] args)
{
// args:
// -watch
// -config=c:\foo.config
// ??
var configuration = BuildConfiguration();
var orchestrator = configuration.Shared... | mit | C# |
0a6c2444ec570fc08bb5db0a9fcc75fd008f7546 | Fix nested if statement | stevedesmond-ca/dotnet-libyear | src/LibYear.Lib/PackageVersion.cs | src/LibYear.Lib/PackageVersion.cs | using System;
using NuGet.Versioning;
namespace LibYear.Lib
{
public class PackageVersion : NuGetVersion
{
public bool IsWildcard { get; }
public PackageVersion(string version)
: this(Parse(version))
{
}
public PackageVersion(bool isWildcard)
: this(0, 0, 0)
{
IsWildcard = isWildcard;
}
p... | using System;
using NuGet.Versioning;
namespace LibYear.Lib
{
public class PackageVersion : NuGetVersion
{
public bool IsWildcard { get; private set; }
public PackageVersion(string version)
: this(Parse(version))
{
}
public PackageVersion(bool isWildcard)
: this(0,0,0)
{
IsWildcard = isWildcar... | mit | C# |
add533cdc6fb091222ceb14ac47c4a94eb72d01d | Allow manual changing of Value | jcmoyer/Yeena | Yeena/Data/PersistentCache.cs | Yeena/Data/PersistentCache.cs | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | apache-2.0 | C# |
c4ba83bdf316d1d5b65d87d264cfa03f1605d7e3 | Remove mispredict testing code. | space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/GameObjects/EntitySystems/SharedCombatModeSystem.cs | Content.Shared/GameObjects/EntitySystems/SharedCombatModeSystem.cs | using Content.Shared.GameObjects.Components.Mobs;
using Content.Shared.GameObjects.EntitySystemMessages;
using Content.Shared.Interfaces;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Random;
using Robust.Shared.IoC;
using Robust.Shared.Random;
using Logger = R... | using Content.Shared.GameObjects.Components.Mobs;
using Content.Shared.GameObjects.EntitySystemMessages;
using Content.Shared.Interfaces;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Random;
using Robust.Shared.IoC;
using Robust.Shared.Random;
using Logger = R... | mit | C# |
0a7c47dd673f7347932ffaf685f695cdaaff2e9f | update about | tolu/tobiaslundin.se | src/Views/Home/About.cshtml | src/Views/Home/About.cshtml | @{
ViewBag.Title = "About";
}
<h2>@ViewBag.Title.</h2>
<h3>LinkedIn motto</h3>
<p>My dream is to find, or create, the job that makes a perfect blend of social life, hobbies and work.</p>
<p>Meanwhile I´ll keep learning about new technologies and best practices, meeting exciting people and getting to know differe... | @{
ViewBag.Title = "About";
}
<h2>@ViewBag.Title.</h2>
<h3>LinkedIn motto</h3>
<p>My dream is to find, or create, the job that makes a perfect blend of social life, hobbies and work. And I´ll tell you, Netlight is a pretty damn good place to be for that recipe!</p>
<p>Meanwhile I´ll keep learning about new techn... | mit | C# |
323728833fb87df9d9eeea746f9b4f24295e1797 | Prepare for a release - this will go out with v2 R255 | xibosignage/xibo-windows-client-watchdog | 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("Xi... | 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("Xi... | agpl-3.0 | C# |
a38d72edf383e7f4c26e18d7ab698fad86b75a47 | Update CombineMultipleWorkbooksSingleWorkbook.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as... | Examples/CSharp/Articles/CombineMultipleWorkbooksSingleWorkbook.cs | Examples/CSharp/Articles/CombineMultipleWorkbooksSingleWorkbook.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class CombineMultipleWorkbooksSingleWorkbook
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.E... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class CombineMultipleWorkbooksSingleWorkbook
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | mit | C# |
f50cdf5ac7ae56c41f022edab867ca7062b1d0de | Add logging to missing underlying enum type | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/extractor/Semmle.Extraction.CIL/Entities/CustomAttributeDecoder.cs | csharp/extractor/Semmle.Extraction.CIL/Entities/CustomAttributeDecoder.cs | using System;
using System.Reflection.Metadata;
namespace Semmle.Extraction.CIL.Entities
{
/// <summary>
/// Helper class to decode the attribute structure.
/// Note that there are some unhandled cases that should be fixed in due course.
/// </summary>
internal class CustomAttributeDecoder : ICusto... | using System;
using System.Reflection.Metadata;
namespace Semmle.Extraction.CIL.Entities
{
/// <summary>
/// Helper class to decode the attribute structure.
/// Note that there are some unhandled cases that should be fixed in due course.
/// </summary>
internal class CustomAttributeDecoder : ICusto... | mit | C# |
d8374b76cc712153a10ed6d36f1ad3dfc68d0d6e | Return IEnumerable<FulfillmentOrder> instead of ListResult<FulfillmentOrder> | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Services/FulfillmentOrders/FulfillmentOrderService.cs | ShopifySharp/Services/FulfillmentOrders/FulfillmentOrderService.cs | using System.Net.Http;
using ShopifySharp.Filters;
using System.Collections.Generic;
using System.Threading.Tasks;
using ShopifySharp.Infrastructure;
using System;
using System.Threading;
using ShopifySharp.Lists;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify fulfillment orders... | using System.Net.Http;
using ShopifySharp.Filters;
using System.Collections.Generic;
using System.Threading.Tasks;
using ShopifySharp.Infrastructure;
using System;
using System.Threading;
using ShopifySharp.Lists;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify fulfillment orders... | mit | C# |
111f494ab8cb2b1c25335db6b20b52af18ff1d39 | Fix TestResult mapping | cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium | Src/MaintainableSelenium/MaintainableSelenium.VisualAssertions/Infrastructure/Persistence/Mappings/TestResultMap.cs | Src/MaintainableSelenium/MaintainableSelenium.VisualAssertions/Infrastructure/Persistence/Mappings/TestResultMap.cs | using FluentNHibernate.Mapping;
using MaintainableSelenium.VisualAssertions.Screenshots.Domain;
namespace MaintainableSelenium.VisualAssertions.Infrastructure.Persistence.Mappings
{
public class TestResultMap : ClassMap<TestResult>
{
public TestResultMap()
{
Id(x => x.Id);
... | using FluentNHibernate.Mapping;
using MaintainableSelenium.VisualAssertions.Screenshots.Domain;
namespace MaintainableSelenium.VisualAssertions.Infrastructure.Persistence.Mappings
{
public class TestResultMap : ClassMap<TestResult>
{
public TestResultMap()
{
Id(x => x.Id);
... | mit | C# |
c95647ff91ab64f93bb1f2ab583cf5d064b41a55 | fix feedback | AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/NewAzureRmAnalysisServicesFirewallConfig.cs | src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/NewAzureRmAnalysisServicesFirewallConfig.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
6915db67f2c071742814afde0ec9e877402e6812 | Update tests to properly return tasks. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNet.Authentication.Test/OpenIdConnect/OpenIdConnectAuthenticationHandlerForTestingAuthenticate.cs | test/Microsoft.AspNet.Authentication.Test/OpenIdConnect/OpenIdConnectAuthenticationHandlerForTestingAuthenticate.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 System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Authentication.OpenIdConnect;
using M... | // 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 System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Authentication.OpenIdConnect;
using M... | apache-2.0 | C# |
cb7f4d6462be63e97cbb3a99c7f713e969cbaf6a | Correct UniformRandomSelection constructor. | geoem/MSolve,geoem/MSolve | ISAAR.MSolve.Analyzers/Optimization/Algorithms/Metaheuristics/GeneticAlgorithms/Selections/UniformRandomSelection.cs | ISAAR.MSolve.Analyzers/Optimization/Algorithms/Metaheuristics/GeneticAlgorithms/Selections/UniformRandomSelection.cs | using ISAAR.MSolve.Analyzers.Optimization.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Troschuetz.Random;
namespace ISAAR.MSolve.Analyzers.Optimization.Algorithms.Metaheuristics.GeneticAlgorithms.Selections
{
class UniformRandom... | using ISAAR.MSolve.Analyzers.Optimization.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Troschuetz.Random;
namespace ISAAR.MSolve.Analyzers.Optimization.Algorithms.Metaheuristics.GeneticAlgorithms.Selections
{
class UniformRandom... | apache-2.0 | C# |
98d3ebcc1192b6bac82229719fe059738bc932d3 | Fix crash when acrobat is not correctly installed | xcomponent/xcomponent.ui,Invivoo-software/xcomponent.ui | UI/Pdf/WinFormPdfHost.cs | UI/Pdf/WinFormPdfHost.cs | using System;
using System.Windows.Forms;
namespace XComponent.Common.UI.Pdf
{
public partial class WinFormPdfHost : UserControl
{
public WinFormPdfHost()
{
InitializeComponent();
if(!DesignMode)
axAcroPDF1.setShowToolbar(true);
}
public voi... | using System.Windows.Forms;
namespace XComponent.Common.UI.Pdf
{
public partial class WinFormPdfHost : UserControl
{
public WinFormPdfHost()
{
InitializeComponent();
if(!DesignMode)
axAcroPDF1.setShowToolbar(true);
}
public void LoadFile(str... | apache-2.0 | C# |
58899eb48a7d28e12b70ed9aa74035786c215093 | Teste 789 | Thiago-Caramelo/patchsearch | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PatchSearch
{
// teste teste
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
return;
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PatchSearch
{
// teste teste
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
return;
}
... | mit | C# |
2c5a0bb463cccceef741f871f99a149eacec796f | Use the right name for cmdlet | ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Network/Commands.Network/AzureFirewall/NatRuleCollection/NewAzureFirewallNatRuleCollectionCommand.cs | src/ResourceManager/Network/Commands.Network/AzureFirewall/NatRuleCollection/NewAzureFirewallNatRuleCollectionCommand.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
fefcc46159775d5e8a70405b469bed0b1bcd32aa | add DefaultSlug there | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Domain/Post.cs | src/Tugberk.Domain/Post.cs | using System.Collections.Generic;
using System.Linq;
namespace Tugberk.Domain
{
public class Post
{
public string Id { get; set; }
public string Language { get; set; }
public string Title { get; set; }
public string Abstract { get; set; }
public string Content { get; s... | using System.Collections.Generic;
using System.Linq;
namespace Tugberk.Domain
{
public class Post
{
public string Id { get; set; }
public string Language { get; set; }
public string Title { get; set; }
public string Abstract { get; set; }
public string Content { get; se... | agpl-3.0 | C# |
463d4080854d79984df0214a21cddde73de69ece | test fixed | IMCubator/Sandbox | bdinsight/BdInsight.Core.Tests/Class1.cs | bdinsight/BdInsight.Core.Tests/Class1.cs | using Xunit;
namespace BdInsight.Core.Tests
{
public class Class1
{
[Fact]
public void PassingTest()
{
Assert.Equal(4, Add(2, 2));
}
[Fact]
public void FailingTest()
{
Assert.NotEqual(5, Add(2, 2));
}
int Add(int... | using Xunit;
namespace BdInsight.Core.Tests
{
public class Class1
{
[Fact]
public void PassingTest()
{
Assert.Equal(4, Add(2, 2));
}
[Fact]
public void FailingTest()
{
Assert.NotEqual(5, Add(2, 2));
}
int Add(int... | mit | C# |
54462fa1f676cbb997878bba0ebd52d1311727d9 | check os | CoinVault/Nako,CoinVault/Nako,CoinVault/Nako,CoinVault/Nako | core/Program.cs | core/Program.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="SoftChains">
// Copyright 2016 Dan Gershony
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
// ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="SoftChains">
// Copyright 2016 Dan Gershony
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
// ... | mit | C# |
24cb4663d91db1933b37253c8c1df2c16525818e | fix ios http stack bug (#2192) | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Platforms/iOS/IosHttpClientFactory.cs | src/client/Microsoft.Identity.Client/Platforms/iOS/IosHttpClientFactory.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Net.Http;
using Microsoft.Identity.Client.Http;
using UIKit;
namespace Microsoft.Identity.Client.Platforms.iOS
{
internal class IosHttpClientFactory : IMsalHttpClientFactory
{
public HttpClien... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Net.Http;
using Microsoft.Identity.Client.Http;
using UIKit;
namespace Microsoft.Identity.Client.Platforms.iOS
{
internal class IosHttpClientFactory : IMsalHttpClientFactory
{
public HttpClien... | mit | C# |
4d26ca9028d9a93522ea9272a72e1cba06eb6e71 | Move call to UseFluentActions before UseMvc in api test project | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions | test/WebApps/SimpleApi/Startup.cs | test/WebApps/SimpleApi/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
namespace SimpleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
servi... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
namespace SimpleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
servi... | mit | C# |
36ebc115ec70f1ef1440dbd68516600bc83b9fc5 | fix breaking change after upgrade | Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode | MakingDotNETApplicationsFaster/MakingDotNETApplicationsFaster/CoreConfig.cs | MakingDotNETApplicationsFaster/MakingDotNETApplicationsFaster/CoreConfig.cs | using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Order;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
namespace MakingDotNETApplicationsFaster
{
public class CoreConfig : ManualConfig
{
public C... | using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Order;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
namespace MakingDotNETApplicationsFaster
{
public class CoreConfig : ManualConfig
{
public C... | mit | C# |
f99e353eadf11d9b5e8f7772a75d9bc7cdc2bdc4 | Update WorkspaceClientCapabilities type | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/WorkspaceClientCapabilities.cs | src/PowerShellEditorServices.Protocol/LanguageServer/WorkspaceClientCapabilities.cs | namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class WorkspaceClientCapabilities
{
/// <summary>
/// The client supports applying batch edits to the workspace by
/// by supporting the request `workspace/applyEdit'
/// /// </summary>
bool Ap... | namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class WorkspaceClientCapabilities
{
/// <summary>
/// The client supports applying batch edits to the workspace by
/// by supporting the request `workspace/applyEdit'
/// /// </summary>
bool Ap... | mit | C# |
748054c05919078980474ed86cad86f5dfebe664 | Change access modifier for constants. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Core/TraktConstants.cs | Source/Lib/TraktApiSharp/Core/TraktConstants.cs | namespace TraktApiSharp.Core
{
internal static class TraktConstants
{
internal static string OAuthBaseAuthorizeUrl => "https://trakt.tv";
internal static string OAuthAuthorizeUri => "oauth/authorize";
internal static string OAuthTokenUri => "oauth/token";
internal static string... | namespace TraktApiSharp.Core
{
public static class TraktConstants
{
public static string OAuthBaseAuthorizeUrl => "https://trakt.tv";
public static string OAuthAuthorizeUri => "oauth/authorize";
public static string OAuthTokenUri => "oauth/token";
public static string OAuthRevo... | mit | C# |
000653c887f65b438b65bce212831f075e6a8ef3 | remove of ref | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/WebSites/Appleseed/DesktopModules/CoreModules/MVC/MVCModule.ascx.cs | Master/Appleseed/WebSites/Appleseed/DesktopModules/CoreModules/MVC/MVCModule.ascx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Appleseed.Framework.Web.UI.WebControls;
//using System.Web.Mvc;
//using Microsoft.Web.Mvc;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Appleseed.Framework;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Appleseed.Framework.Web.UI.WebControls;
using System.Web.Mvc;
//using Microsoft.Web.Mvc;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Appleseed.Framework;
... | apache-2.0 | C# |
97ee7413492336a718d8f4a8b188073b2df436b1 | Update NetworkFileSystemTest to test new specs | HatfieldConsultants/Hatfield.EnviroData.FileSystems | Test/Hatfield.EnviroData.FileSystems.NetworkFileSystem.Test/NetworkFileSystemTest.cs | Test/Hatfield.EnviroData.FileSystems.NetworkFileSystem.Test/NetworkFileSystemTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using NUnit.Framework;
namespace Hatfield.EnviroData.FileSystems.NetworkFileSystem.Test
{
[TestFixture]
public class NetworkFileSystemTest
{
[Test]
[ExpectedException(typeof(IOException)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using NUnit.Framework;
namespace Hatfield.EnviroData.FileSystems.NetworkFileSystem.Test
{
[TestFixture]
public class NetworkFileSystemTest
{
[Test]
[ExpectedException(typeof(IOException)... | mpl-2.0 | C# |
41ce004a6b8c3339a349bfbefed67e375eb762dd | Fix warning | Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions | Extensions/ShapeTracing/Startup.cs | Extensions/ShapeTracing/Startup.cs | using Microsoft.Extensions.DependencyInjection;
using OrchardCore.DisplayManagement.Implementation;
using OrchardCore.Modules;
namespace Lombiq.HelpfulExtensions.Extensions.ShapeTracing
{
[Feature(FeatureIds.ShapeTracing)]
public class Startup : StartupBase
{
public override void Configure... | using Microsoft.Extensions.DependencyInjection;
using OrchardCore.DisplayManagement.Implementation;
using OrchardCore.Modules;
namespace Lombiq.HelpfulExtensions.Extensions.ShapeTracing
{
[Feature(FeatureIds.ShapeTracing)]
public class Startup
{
public void ConfigureServices(IServiceCollec... | bsd-3-clause | C# |
6dc07c84cf5e1cc2199a1b74b97e48fdde3a6bc8 | Revert "Update _TermsAndConditionBody.cshtml" | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml | <p>To use this service you agree to:</p>
<ul class="list list-bullet">
<li>Sign out at the end of each session</li>
<li>Input truthful and accurate information</li>
<li>Adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li>
<l... | <p>To use this service you agree to:</p>
<ul class="list list-bullet">
<li>sign out at the end of each session</li>
<li>input truthful and accurate information</li>
<li>adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li>
<l... | mit | C# |
b2134657df2b5685c76d93e690870abf215d336f | Fix #1419077 - Update the copyright year. | PintaProject/Pinta,PintaProject/Pinta,jakeclawson/Pinta,PintaProject/Pinta,jakeclawson/Pinta,Mailaender/Pinta,Mailaender/Pinta,Fenex/Pinta,Fenex/Pinta | Pinta/Dialogs/AboutPintaTabPage.cs | Pinta/Dialogs/AboutPintaTabPage.cs | // AboutPintaTabPage.cs
//
// Author:
// Viktoria Dudka (viktoriad@remobjects.com)
//
// Copyright (c) 2009 RemObjects Software
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without... | // AboutPintaTabPage.cs
//
// Author:
// Viktoria Dudka (viktoriad@remobjects.com)
//
// Copyright (c) 2009 RemObjects Software
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without... | mit | C# |
c5183b6f69106d15e5863c9bad4e9cd1aa4367eb | make text file report overwrite the file at each pass | MetaG8/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET,alhardy/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metric... | Src/Metrics/Reporters/TextFileReport.cs | Src/Metrics/Reporters/TextFileReport.cs | using System;
using System.IO;
using System.Text;
namespace Metrics.Reporters
{
public class TextFileReport : HumanReadableReport
{
private readonly string fileName;
private StringBuilder buffer = new StringBuilder();
public TextFileReport(string fileName)
{
Direct... | using System;
using System.Collections.Generic;
using System.IO;
namespace Metrics.Reporters
{
public class TextFileReport : HumanReadableReport
{
private readonly string fileName;
private readonly List<string> buffer = new List<string>();
public TextFileReport(string fileName)
... | apache-2.0 | C# |
2ed04f05b456e68d794fd196b2296d5872586f62 | Update CoinCounter.cs | mikkokok/DinosaurGame | Assets/CoinCounter.cs | Assets/CoinCounter.cs | using UnityEngine;
using System.Collections;
public class CoinCounter : MonoBehaviour
{
public static int coincount;
public static void Addcoin () {
coincount++;
//Debug.Log("coincount: "+coincount ); // For debugging
if (coincount == 10)
{
Destroy(GameObject.FindW... | using UnityEngine;
using System.Collections;
public class CoinCounter : MonoBehaviour
{
public static int coincount;
public static void Addcoin () {
coincount++;
//Debug.Log("coincount: "+coincount ); // For debugging
if (coincount == 10)
{
Destroy(GameObject.FindW... | apache-2.0 | C# |
83570fcc3c92263b3f6ed7f834f01d61217325bb | Make AddStyleSheet create the <head> element if it doesn't exist yet | tombogle/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,marksvc/libpalaso,marksvc/libpalaso,chrisvire/libpalaso,hatton/libpalaso,andrew-polk/libpalaso,chrisvire/libpalaso,gtryus/libpalaso,hatton/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,ermshiperet... | Palaso/Xml/XmlDomExtensions.cs | Palaso/Xml/XmlDomExtensions.cs | using System;
using System.IO;
using System.Xml;
namespace Palaso.Xml
{
public static class XmlDomExtensions
{
public static XmlDocument StripXHtmlNameSpace(this XmlDocument node)
{
XmlDocument x = new XmlDocument();
x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered"));
return x;
}
public st... | using System;
using System.IO;
using System.Xml;
namespace Palaso.Xml
{
public static class XmlDomExtensions
{
public static XmlDocument StripXHtmlNameSpace(this XmlDocument node)
{
XmlDocument x = new XmlDocument();
x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered"));
return x;
}
public st... | mit | C# |
02d17d180f98ae00bdbeb9f7334b93b2dffbc461 | Update Program.cs | box/box-windows-sdk-v2 | Box.V2.Samples.Core.File.Upload/Program.cs | Box.V2.Samples.Core.File.Upload/Program.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Box.V2.Config;
using Box.V2.Models;
using Box.V2.Auth;
using System.Diagnostics;
using Box.V2.Utility;
namespace Box.V2.Core.Sample
{
public class Program
{
private static void Main(string[] args)
{
try
... | using System;
using System.IO;
using System.Threading.Tasks;
using Box.V2.Config;
using Box.V2.Models;
using Box.V2.Auth;
using System.Diagnostics;
using Box.V2.Utility;
namespace Box.V2.Core.Sample
{
public class Program
{
private static void Main(string[] args)
{
try
... | apache-2.0 | C# |
81f0971db93b156b58b9c0b6fa8d82c94a44bd5c | Bump version from 1.3 to 1.4 | AlexxEG/FalloutLauncher | FalloutLauncher/Properties/AssemblyInfo.cs | FalloutLauncher/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("Fa... | 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("Fa... | mit | C# |
0d8ad7b1ff7239c974641b8c44bd82fe1d4e148b | Fix Log4Net path for loading config file | vebin/MassTransit,abombss/MassTransit,ccellar/MassTransit,lahma/MassTransit,abombss/MassTransit,petedavis/MassTransit,ccellar/MassTransit,lahma/MassTransit,D3-LucaPiombino/MassTransit,abombss/MassTransit,ccellar/MassTransit,lahma/MassTransit,jsmale/MassTransit,lahma/MassTransit,ccellar/MassTransit,petedavis/MassTransit... | src/Loggers/MassTransit.Log4NetIntegration/Logging/Log4NetLogger.cs | src/Loggers/MassTransit.Log4NetIntegration/Logging/Log4NetLogger.cs | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | apache-2.0 | C# |
7fe05d872d173f3eb5499b33af61ab7bc966c943 | Add implementation for SlothEvent | CindyB/sloth | Sloth/Sloth/Core/SlothEvent.cs | Sloth/Sloth/Core/SlothEvent.cs | using Sloth.Interfaces.Core;
using System;
namespace Sloth.Core
{
public class SlothEvent : ISlothEvent
{
private string controlName;
private uint message;
private string windowsName;
public SlothEvent()
{
controlName = string.Empty;
message = u... | using Sloth.Interfaces.Core;
using System;
namespace Sloth.Core
{
public class SlothEvent : ISlothEvent
{
public string ControlName
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImp... | mit | C# |
5f45edf4b6d54ecbe403bb1c02f9b89653b674cf | Update SolrNet/Impl/ISolrQueryBody.cs | SolrNet/SolrNet,SolrNet/SolrNet | SolrNet/Impl/ISolrQueryBody.cs | SolrNet/Impl/ISolrQueryBody.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SolrNet.Impl
{
/// <summary>
/// Represents the body of a query to be sent to Solr.
/// </summary>
public interface ISolrQueryBody
{
/// <summary>
/// Convert the body into a string to send to Solr.
... | using System;
using System.Collections.Generic;
using System.Text;
namespace SolrNet.Impl
{
/// <summary>
/// Represents the body of a query to be sent to Solr.
/// </summary>
public interface ISolrQueryBody
{
/// <summary>
/// Convert the body into a string to send to Solr.
... | apache-2.0 | C# |
ae4dc19b1643a7764aa697a64c813dc1a1e74331 | Update Flip method of Player. | DerTraveler/into-the-thick-of-it | Assets/Script/Player.cs | Assets/Script/Player.cs | /* Copyright (c) 2016 Kevin Fischer
*
* 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/. */
using UnityEngine;
using System.Collections;
public class Player : MonoBe... | /* Copyright (c) 2016 Kevin Fischer
*
* 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/. */
using UnityEngine;
using System.Collections;
public class Player : MonoBe... | mpl-2.0 | C# |
4c80fbd0eedbae3bb030655bc3b2df28b33c8e39 | Add helper functions for Semester. | tsinghua-io/learn | Base/Models/Semester.cs | Base/Models/Semester.cs | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using LearnTsinghua.Services;
namespace LearnTsinghua.Models
{
public class BasicSemester : IResource
{
public string Id { get; set; }
public DateTime BeginAt { get; set; }
public string DocId()
{
... | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using LearnTsinghua.Services;
namespace LearnTsinghua.Models
{
public class BasicSemester : IResource
{
public string Id { get; set; }
public DateTime BeginAt { get; set; }
public string DocId()
{
... | mit | C# |
35410597bd2fa249eb555b7a07b2dc6bbfffee89 | Format Timestamp | carbon/Amazon | src/Amazon.Ssm/Models/Timestamp.cs | src/Amazon.Ssm/Models/Timestamp.cs | using System;
using System.Text.Json.Serialization;
using Amazon.Ssm.Converters;
namespace Amazon.Ssm;
[JsonConverter(typeof(TimestampConverter))]
public readonly struct Timestamp
{
private readonly double _value;
public Timestamp(double value)
{
_value = value;
}
publ... | using System;
using System.Text.Json.Serialization;
using Amazon.Ssm.Converters;
namespace Amazon.Ssm
{
[JsonConverter(typeof(TimestampConverter))]
public readonly struct Timestamp
{
private readonly double value;
public Timestamp(double value)
{
this.va... | mit | C# |
fad891b549be9ca7ae4ac3d02db649cc0dd255df | Make DelegateNamer public | droyad/Assent | src/Assent/Namers/DelegateNamer.cs | src/Assent/Namers/DelegateNamer.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Assent.Namers
{
public class DelegateNamer : INamer
{
readonly Func<TestMetadata, string> _f;
public DelegateNamer(Func<TestMetadata, string> f)
{
_f = f;
}
public string GetName(... | using System;
using System.Collections.Generic;
using System.Text;
namespace Assent.Namers
{
class DelegateNamer : INamer
{
readonly Func<TestMetadata, string> _f;
public DelegateNamer(Func<TestMetadata, string> f)
{
_f = f;
}
public string GetName(TestMet... | mit | C# |
2aed1f7a085fcac5646a61a3a18bfbb94a4b7772 | add sounds | svmnotn/cuddly-octo-adventure | Game/UI/MainWindow.cs | Game/UI/MainWindow.cs | namespace COA.Game.UI {
using System;
using System.Media;
using System.Windows.Forms;
using Controls;
using Data;
internal partial class MainWindow : Form {
UserControl current;
internal UserControl Current {
get { return current; }
set {
if(current != null) {
current... | namespace COA.Game.UI {
using System;
using System.Windows.Forms;
using Controls;
using Data;
internal partial class MainWindow : Form {
UserControl current;
internal UserControl Current {
get { return current; }
set {
if(current != null) {
current.Visible = false;
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.