content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Bender.Extensions
{
public static class DictionaryExtensions
{
/// <summary>
/// Finds a value in the dictionary by the given key and concatenates it with the specified string values separa... | 36.866667 | 160 | 0.562839 | [
"MIT"
] | ValentinLevitov/bender | Bender/Extensions/DictionaryExtensions.cs | 2,155 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.System... | 33.542373 | 93 | 0.532592 | [
"MIT"
] | JTOne123/AspNetCoreCertificates | examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth/Program.cs | 1,979 | C# |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
public class SA1111CSharp9Uni... | 30.5 | 91 | 0.775956 | [
"MIT"
] | AraHaan/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs | 368 | C# |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(SGT_GasGiant))]
public class SGT_Inspector_GasGiant : SGT_Inspector<SGT_GasGiant>
{
public override void OnInspector()
{
SGT_EditorGUI.Separator();
SGT_EditorGUI.BeginGroup("Gas Giant");
{
Target.GasGiantLightSource = SGT_EditorGUI.ObjectField("L... | 59.311828 | 340 | 0.750363 | [
"EPL-1.0"
] | Vrixyz/Planet-Factory | Visualizer/Assets/SpaceGraphicsToolkit/Required/Scripts/Editor/SGT_Inspector_GasGiant.cs | 5,516 | C# |
// * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributio... | 29.896825 | 103 | 0.702947 | [
"MIT"
] | mvbalaw/FluentWebControls | src/FluentWebControls/Extensions/DataColumnExtensions.cs | 3,767 | C# |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Framework.Analysis;
using Mosa.Compiler.Framework.IR;
using Mosa.Compiler.Framework.Trace;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Mosa.Compiler.Framework.Stages
{
/// <summary>
/// Sp... | 26.681818 | 134 | 0.699241 | [
"BSD-3-Clause"
] | marcelocaetano/MOSA-Project | Source/Mosa.Compiler.Framework/Stages/SparseConditionalConstantPropagationStage.cs | 6,459 | C# |
namespace Das.Marketo.RestApiClient.Configuration
{
public class MarketoConfiguration
{
public virtual string ApiBaseUrl { get; set; }
public virtual string ApiClientId { get; set; }
public virtual string ApiClientSecret { get; set; }
public virtual RegisterInterestProgramConfig... | 39.357143 | 110 | 0.676951 | [
"MIT"
] | SkillsFundingAgency/das-campaign-functions | src/Das.Marketo.RestApiClient/Configuration/MarketoConfiguration.cs | 1,104 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Newtonsoft.Json;
using UniQode.Common.Extensions;
using UniQode.Contracts.Services;
using UniQode.Entities.Data;
using UniQode.Entities.Enums;
using UniQode.Models.Admin;
using UniQode.Models.Shared;
using ... | 34.95858 | 154 | 0.499661 | [
"MIT"
] | uniQodeAB/uniqode-web | src/UniQode.Web/Controllers/MottoController.cs | 5,910 | C# |
using System;
using System.Collections;
using LibSterileSSH.SecureShell;
/*
class LibSterileSSH.SshBase:
This class is based on SharpSSH-1.1.1.13.src\SharpSSH\SshBase.cs .
*/
/*
* SshBase.cs
*
* Copyright (c) 2006 Tamir Gal, http://www.tamirgal.com, All rights reserved.
*
* Redistribution and us... | 23.085714 | 128 | 0.641955 | [
"BSD-3-Clause"
] | mickey-cube1/SterileSSH | SterileSSH/LibSterileSSH/SshBase.cs | 8,080 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Events;
using System.Collections.Concurrent;
using System.Text;
#if UNITY_WSA && !UNITY_EDITOR
using glo... | 44.169349 | 218 | 0.581947 | [
"MIT"
] | jongfeelkim-VIRNECT/MixedReality-WebRTC | libs/Microsoft.MixedReality.WebRTC.Unity/Assets/Microsoft.MixedReality.WebRTC.Unity/Scripts/PeerConnection.cs | 57,641 | C# |
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Common.Extensions;
using Sfa.Tl.ResultsAndCertification.Tests.Common.Helpers;
using Sfa.Tl.ResultsAndCertification.Web.Controllers;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.Provider;
using Sfa.Tl.R... | 39.074627 | 133 | 0.668067 | [
"MIT"
] | SkillsFundingAgency/tl-result-and-certification | src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/ProviderControllerTests/FindProviderGet/When_SearchResults_Found.cs | 2,620 | C# |
// Copyright 2007-2015 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.0 ... | 40.068966 | 97 | 0.666093 | [
"Apache-2.0"
] | Johavale19/Johanna | src/MassTransit/Pipeline/IPipe.cs | 1,162 | C# |
using System.Web.Http;
using System.Web.Routing;
namespace FieldEngineerLite.Service
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
WebApiConfig.Register();
}
}
} | 20.461538 | 63 | 0.654135 | [
"Apache-2.0"
] | mahizsas/FieldEngineerLite | FieldEngineerLite.Service/Global.asax.cs | 268 | C# |
// 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 Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal;
using Xunit;
namespace Microsoft.EntityFrameworkCore.Storage
{
public ... | 35.818182 | 111 | 0.718274 | [
"Apache-2.0"
] | belav/efcore | test/EFCore.SqlServer.Tests/Storage/SqlServerSqlGenerationHelperTest.cs | 788 | C# |
using System;
namespace Equinor.Lighthouse.Api.Domain.Exceptions;
public class ConcurrencyException : Exception
{
public ConcurrencyException(string message) : base(message)
{
}
public ConcurrencyException(string message, Exception innerException) : base(message, innerException)
{
}
} | 22.357143 | 105 | 0.744409 | [
"MIT"
] | equinor/lighthouse-api | src/Equinor.Lighthouse.Api.Domain/Exceptions/ConcurrencyException.cs | 315 | C# |
namespace DotNetInterview.Services.Data
{
using System;
using System.Linq;
using System.Threading.Tasks;
using DotNetInterview.Common;
using DotNetInterview.Data.Common.Repositories;
using DotNetInterview.Data.Models;
using DotNetInterview.Data.Models.Enums;
using DotNetInterview.Servi... | 40.206107 | 155 | 0.566546 | [
"MIT"
] | TonyDimitrov/SharedDotNetInterview | Services/DotNetInterview.Services.Data/UsersService.cs | 5,269 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 52.465409 | 141 | 0.657756 | [
"MIT"
] | Agazoth/azure-powershell | src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.cs | 8,184 | C# |
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// EduSourceInfo Data Structure.
/// </summary>
[Serializable]
public class EduSourceInfo : AopObject
{
/// <summary>
/// 供应商的LOGO
/// </summary>
[JsonProperty("logo")]
public string Logo { get; set; }
... | 18.166667 | 39 | 0.594495 | [
"MIT"
] | ArcherTrister/LeXun.Alipay.AopSdk | src/Alipay.AopSdk.Core/Domain/EduSourceInfo.cs | 573 | C# |
using System;
using Orleans.Runtime;
namespace Orleans.Configuration
{
/// <summary>
/// Settings for cluster membership.
/// </summary>
public class ClusterMembershipOptions
{
/// <summary>
/// The number of missed "I am alive" updates in the table from a silo that causes warning... | 54.153153 | 157 | 0.693063 | [
"MIT"
] | DamirAinullin/orleans | src/Orleans.Core/Configuration/Options/ClusterMembershipOptions.cs | 6,011 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Dfc.CourseDirectory.Core.DataStore.Sql;
using Dfc.CourseDirectory.Core.DataStore.Sql.Queries;
using Dfc.CourseDirectory.Core.Validation;
using Dfc.CourseDirectory.WebV2.Security;
using MediatR;
using OneOf;
using OneOf.Types;
namespace Dfc.Cour... | 32.240964 | 102 | 0.636024 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory | src/Dfc.CourseDirectory.WebV2/Features/NewApprenticeshipProvider/HidePassedNotification.cs | 2,678 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace Bunit.Docs.Samples
{
public class UnmatchedParams : ComponentBase
{
[Parameter(CaptureUnmatchedValues = true)]
public ... | 25.466667 | 67 | 0.782723 | [
"MIT"
] | Christian-Oleson/bUn | docs/samples/components/UnmatchedParams.cs | 382 | C# |
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
using Xamarin.Forms.Core.UITests;
#endif
namespace Xamarin.Forms.Controls.Issues
{
#if UITEST
[Category(UITestCategories.Frame)]
#endif
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Git... | 18.375 | 60 | 0.755102 | [
"MIT"
] | AlleSchonWeg/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/FrameBackgroundIssue.xaml.cs | 590 | C# |
namespace PWOProtocol
{
public class Pokemon
{
public int Uid { get; private set; }
public int PokedexId { get; private set; }
public int Level { get; private set; }
public int CurrentExperience { get; private set; }
public int RequiredExperience { get; private s... | 28.57971 | 79 | 0.492901 | [
"MIT"
] | Silv3rPRO/pwosparkle | PWOProtocol/Pokemon.cs | 1,974 | C# |
namespace Microsoft.MOM.Test.Operations.MOMSP1Inst.MAUIDialogs
{
using Maui.Core;
using Maui.Core.WinControls;
using Maui.Core.Utilities;
using System.ComponentModel;
public class IncompleteInstallationDetectedDialogNotFoundException : Window.Exceptions.WindowNotFoundException
{
p... | 39.826331 | 294 | 0.490013 | [
"MIT"
] | deusletum/MiyVeryOldCode | csharp/Inst_MOMSP1/MOMSP1Inst/IncompleteInstallationDetectedDialog.cs | 14,218 | C# |
using System;
using System.Collections.Generic;
using Grynwald.ChangeLog.Git;
using Octokit;
using Xunit;
namespace Grynwald.ChangeLog.Test.Git
{
/// <summary>
/// Tests for <see cref="GitCommit"/>
/// </summary>
public class GitCommitTest : EqualityTest<GitCommit, GitCommitTest>, IEqualityTestDataPro... | 34.4 | 136 | 0.457267 | [
"MIT"
] | ap0llo/changelo | src/ChangeLog.Test/Git/GitCommitTest.cs | 3,442 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 35.571429 | 137 | 0.655236 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/IVS/Generated/Model/Internal/MarshallTransformations/InternalServerExceptionUnmarshaller.cs | 3,237 | C# |
using System.ComponentModel.DataAnnotations;
using Yotalab.PlanningPoker.BlazorServerSide.Areas.Identity.Resources;
namespace Yotalab.PlanningPoker.BlazorServerSide.Areas.Identity.Data
{
public class LoginInputModel
{
[Required(ErrorMessageResourceName = nameof(DataAnnotationResources.EmailRequired), ErrorMes... | 53.217391 | 151 | 0.805556 | [
"MIT"
] | DirectumCompany/Yotalab.PlanningPoker | Yotalab.PlanningPoker.BlazorServerSide/Areas/Identity/Data/LoginInputModel.cs | 1,226 | C# |
using Elastic.Xunit.XunitPlumbing;
using Nest;
namespace Examples.Ml.AnomalyDetection.Apis
{
public class PutCalendarJobPage : ExampleBase
{
[U(Skip = "Example not implemented")]
public void Line37()
{
// tag::1b2ab75d3c8064fac6ecc63104396c02[]
var response0 = new SearchResponse<object>();
// end::1b2... | 24.888889 | 86 | 0.745536 | [
"Apache-2.0"
] | AnthAbou/elasticsearch-net | src/Examples/Examples/Ml/AnomalyDetection/Apis/PutCalendarJobPage.cs | 448 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Luaan.AutoPoke
{
public class PageInfo
{
public long PageStart { get; set; }
public long PageEnd { get; set; }
}
}
| 15.714286 | 37 | 0.722727 | [
"MIT"
] | Luaancz/AutoPoke | AutoPoke/PageInfo.cs | 222 | C# |
using System.Runtime.CompilerServices;
using PowerUtils.Validations.Exceptions;
namespace PowerUtils.Validations.GuardClauses
{
public static class GuardValidationUIntExtensions
{
/// <summary>
/// Throws an <see cref="PropertyException" /> if <paramref name="value"/> is greater than. Error co... | 41.016667 | 150 | 0.577272 | [
"MIT"
] | TechNobre/PowerUtils.GuardClauses.Validations | src/GuardClauses/GuardValidationUIntExtensions.cs | 7,385 | C# |
#region Header Licence
// ---------------------------------------------------------------------
//
// Copyright (c) 2009 Alexandre Mutel and Microsoft Corporation.
// All rights reserved.
//
// This code module is part of NShader, a plugin for visual studio
// to provide syntax highlighting for shader language... | 42.684411 | 319 | 0.553269 | [
"MIT"
] | Artromskiy/stride | sources/tools/Stride.VisualStudio.Package/NShader/NShaderLanguageService.cs | 22,452 | C# |
#region LICENSE
/*
MIT License
Copyright (c) 2018 Software free CAS Sharp
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 th... | 35.862745 | 111 | 0.706397 | [
"MIT"
] | bugbit/CASSharp | CASSharp/CASSharp.Core/Exprs/ListExpr.cs | 1,831 | C# |
using System;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.Cat.CatThreadPool
{
public class CatThreadPoolApiTests : ApiIntegrationTestBase<ReadOnlyCluster, ICatR... | 37.368421 | 186 | 0.751408 | [
"Apache-2.0"
] | Tchami/elasticsearch-net | src/Tests/Cat/CatThreadPool/CatThreadpoolApiTests.cs | 2,842 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// KoubeiMarketingCampaignMerchantActivityBatchqueryResponse.
/// </summary>
public class KoubeiMarketingCampaignMerchantActivityBatchqueryResponse... | 28.47619 | 89 | 0.670569 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Response/KoubeiMarketingCampaignMerchantActivityBatchqueryResponse.cs | 610 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace LiteDBTestLib.Modules
{
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
public string[] Phones { get; set; }
public bool IsActive { get; set; }
}
}
| 20.533333 | 44 | 0.616883 | [
"MIT"
] | li-rongcheng/CoreCmdPlayground | LiteDBTestLib/Modules/Customer.cs | 310 | C# |
using System;
namespace Equinor.ProCoSys.Preservation.Query.GetActionDetails
{
public class ActionDetailsDto
{
public ActionDetailsDto(
int id,
PersonDto createdBy,
DateTime createdAt,
string title,
string description,
DateTime? d... | 30.788462 | 62 | 0.557152 | [
"MIT"
] | equinor/pcs-preservation-api | src/Equinor.ProCoSys.Preservation.Query/GetActionDetails/ActionDetailsDto.cs | 1,603 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _04.Snowwhite
{
class Program
{
static void Main(string[] args)
{
var dwarfs = new Dictionary<string, int>();
string input = Console.ReadLine();
while (input != "Once upon a time")
... | 30.977778 | 100 | 0.411047 | [
"MIT"
] | anidz/softuni-cs-fundamentals | AssociativeArraysMoreExercise/04.Snowwhite/Program.cs | 1,396 | C# |
using UCDArch.Core.DomainModel;
namespace EligibilityList.Core.Domain
{
public class Title : DomainObjectWithTypedId<string>
{
public virtual string Name { get; set; }
public virtual string AbbreviatedName { get; set; }
}
}
| 22.166667 | 60 | 0.657895 | [
"MIT"
] | ucdavis/EligibilityList | EligibilityList.Core/Domain/Title.cs | 268 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using DemoMvc.Data;
using DemoMvc.Models;
using Microsoft.AspNetCore.Authorization;
namespace DemoMvc.Controlle... | 30.51462 | 121 | 0.512074 | [
"MIT"
] | DeltaVCode-Demo/cr-dotnet-401d5-mvc | DemoMvc/Controllers/PeopleController.cs | 5,218 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1effects_2.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
... | 33.466667 | 145 | 0.733068 | [
"MIT"
] | Ethereal77/terrafx.interop.windows | sources/Interop/Windows/um/d2d1effects_2/D2D1_EMBOSS_PROP.cs | 504 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Framework;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation.Schema;
using Sys... | 40.009137 | 122 | 0.634979 | [
"MIT"
] | yangzhinong/Open-XML-SDK | src/DocumentFormat.OpenXml/GeneratedCode/schemas-microsoft-com_office_excel.g.cs | 109,467 | C# |
namespace ChatApp.StockBot.MessageBroker
{
public class IntegrationEvent
{
}
} | 15 | 40 | 0.711111 | [
"MIT"
] | guiportooo/chat-app | backend/src/ChatApp.StockBot/MessageBroker/IntegrationEvent.cs | 90 | C# |
namespace MassTransit.Serialization
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Context;
using Metadata;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class RawJsonConsumeContext :
Deserializer... | 33.90991 | 118 | 0.553401 | [
"ECL-2.0",
"Apache-2.0"
] | ThierrIO/MassTransit | src/MassTransit/Serialization/RawJsonConsumeContext.cs | 3,764 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 37.193548 | 157 | 0.519514 | [
"MIT"
] | BigHam/squidex | backend/src/Squidex/Config/Authentication/GithubAuthenticationServices.cs | 1,156 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using NLog;
using NLog.Web;
namespace AspNetCoreNlog
{
... | 32.490196 | 128 | 0.56548 | [
"MIT"
] | damienbod/AspNetCoreNlog | src/AspNetCoreNlog/Program.cs | 1,659 | C# |
namespace _09.CollectionHierarchy.Interfaces
{
public interface IMyList : IAddRemoveCollection
{
}
}
| 16.285714 | 51 | 0.72807 | [
"MIT"
] | nikolaydechev/CSharp-OOP-Advanced | 01 InterfacesAndAbstraction/09. CollectionHierarchy/Interfaces/IMyList.cs | 116 | C# |
//-----------------------------------------------------------------------
// <copyright file="VNode.cs" company="Breanos GmbH">
// Copyright Notice:
// DAIPAN - This file, program or part of a program is considered part of the DAIPAN framework by Breanos GmbH for Industrie 4.0
// Published in 2018 by Gerhard Ede... | 40.836957 | 246 | 0.503593 | [
"CC0-1.0"
] | BREANOS-ABE/daipan | MessagingQueue/BreanosConnectors/OpcUaConnector/OpcNodeXmlConfiguration/VNode.cs | 3,759 | C# |
using System.Windows;
namespace Clean_Randomizer
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| 15.5 | 42 | 0.61828 | [
"MIT"
] | STulling/Medabots-Randomizer | Clean_Randomizer/App.xaml.cs | 188 | C# |
using Barista.Client.Level.UseCases;
namespace Barista.Client.Level.Logic
{
public class LevelLogicViewUseCasesRepository
{
public IMovementInputPerformedUseCase MovementInputPerformedUseCase { get; }
public IItemUIClickedUseCase ItemUIClickedUseCase { get; }
public ISetupLevelUseCase ... | 58.846154 | 92 | 0.757952 | [
"MIT"
] | Guillemsc/Barista | Assets/Barista-Client/Runtime/Level/Logic/LevelLogicViewUseCasesRepository.cs | 4,592 | C# |
using Xunit;
using System.Collections.Generic;
using EntityGraphQL.Schema;
using System.Linq;
using System;
using EntityGraphQL.Extensions;
namespace EntityGraphQL.Tests
{
public class FilteredFieldTests
{
[Fact]
public void TestUseConstFilter()
{
var schema = SchemaBuilder.... | 30.465347 | 126 | 0.461163 | [
"MIT"
] | EntityGraphQL/EntityGraphQL | src/tests/EntityGraphQL.Tests/QueryTests/FilteredFieldTests.cs | 3,077 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 36.485981 | 170 | 0.642674 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/S3Control/Generated/Model/Internal/MarshallTransformations/GetAccessPointPolicyRequestMarshaller.cs | 3,904 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Prism.CommonDialogPack
{
public class FileFilter
{
/// <summary>
/// テキスト
/// </summary>
public string Text { get; set; }
private List<string> extensions { get; } = new List... | 23.160714 | 112 | 0.551272 | [
"MIT"
] | Kuro4/Prism.CommonDialogPack | Prism.CommonDialogPack/FileFilter.cs | 1,319 | C# |
using System;
using System.Linq;
using OfficeDevPnP.Core;
namespace Microsoft.SharePoint.Client
{
/// <summary>
/// Enables: Ratings / Likes functionality on list in publishing web.
/// </summary>
public static partial class ListRatingExtensions
{
/// TODO: Replace Logging throughout
... | 38.77619 | 160 | 0.585165 | [
"MIT"
] | Sartor87/PnP-Sites-Core-cloned | Core/OfficeDevPnP.Core/AppModelExtensions/ListRatingExtensions.cs | 8,143 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Irony.Parsing;
namespace Irony.Samples {
[Language("Clarion", "0.1", "Clarion grammar.")]
public class ClarionGrammar : Grammar {
//Special words - those that may not be used as proc names
public reado... | 49.029536 | 147 | 0.642169 | [
"MIT"
] | Color-Of-Code/Irony | Irony.Samples/Clarion.cs | 11,622 | C# |
namespace SimpleBlog.Models
{
using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity;
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit https://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
public class BlogDbCon... | 28.652174 | 176 | 0.660091 | [
"MIT"
] | borisbotev/SimpleMVCBlog | SimpleBlog/SimpleBlog/Models/BlogDbContext.cs | 661 | C# |
using System;
namespace Zignificant.Models.Requests
{
public class HistoryUpdateRequest : HistoryCreateRequest
{
public int Id { get; set; }
}
}
| 15.272727 | 60 | 0.672619 | [
"MIT"
] | ijac213/zignificant | Zignificant.Models/Requests/HistoryUpdateRequest.cs | 170 | C# |
using ASP.NET_CORE_MongoDB.Contracts.Filters;
using ASP.NET_CORE_MongoDB.Entities;
using ASP.NET_CORE_MongoDB.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace ASP.NET_CORE_MongoDB.Builders
{
public class PeopleFilterBuilder : IBuildPeopleFilte... | 28.208333 | 72 | 0.624815 | [
"MIT"
] | dougglas1/ASP.NET_CORE_MongoDB | ASP.NET_CORE_MongoDB/Builders/PeopleFilterBuilder.cs | 1,356 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 33.084507 | 108 | 0.611963 | [
"Apache-2.0"
] | TallyUpTeam/aws-sdk-net | sdk/src/Services/DeviceFarm/Generated/Model/UpdateVPCEConfigurationRequest.cs | 4,698 | C# |
namespace MxM
{
public enum EEventWarpType
{
None,
Snap,
Linear,
Dynamic
}//End of class: EEventWarpType
}//End of namespace: MxM
| 13.615385 | 35 | 0.553672 | [
"MIT"
] | suweitao8/MotionMatchingTutorial | Assets/Plugins/MotionMatching/Code/MxM/Enumerations/EEventWarpType.cs | 179 | C# |
namespace Classbook.Data.Configurations
{
using Classbook.Data.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class NoteConfiguration : IEntityTypeConfiguration<Note>
{
public void Configure(EntityTypeBuilder<Note> builder)
... | 28.666667 | 67 | 0.568605 | [
"MIT"
] | ivan-nikolov/Classbook | Src/Data/Classbook.Data/Configurations/NoteConfiguration.cs | 862 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
namespace ControlAgent
{
class Commands
{
public static List<String> RunCommand(Command command)
{
Logger logger = new Logger();
logger.LogCommand(command);
... | 33.488372 | 134 | 0.534375 | [
"MIT"
] | zzzanderw/ControlAgent_Windows | ControlAgent/Commands.cs | 2,882 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 30.887218 | 110 | 0.599562 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/ApiGatewayV2/Generated/Model/Deployment.cs | 4,108 | C# |
using TechTalk.SpecFlow;
using AppiumWebdriver.Activities;
namespace AppiumWebdriver.Steps
{
[Binding]
public class MainActivitySteps
{
// Given I am on the main activity
[Given(@"I am on the main activity")]
public void GivenIAmOnTheMainActivity()
{
MainActivit... | 24.083333 | 59 | 0.596886 | [
"MIT"
] | kirbycope/cucumber-csharp | AppiumWebdriver/Steps/MainActivitySteps.cs | 580 | C# |
using System;
using System.IO;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using Uno.Extensions.Hosting;
namespace Uno.Extensions.Configuration
{
public static class HostBui... | 38.92126 | 147 | 0.613393 | [
"Apache-2.0"
] | twins2020/uno.extensions | src/Uno.Extensions.Configuration/HostBuilderExtensions.cs | 4,945 | C# |
using System;
using System.Linq;
using HotChocolate;
using StrawberryShake.CodeGeneration.Descriptors.TypeDescriptors;
namespace StrawberryShake.CodeGeneration.Extensions;
public static class TypeDescriptorExtensions
{
public static bool IsLeaf(this ITypeDescriptor typeDescriptor) =>
typeDescriptor.Kind =... | 32.353448 | 88 | 0.651745 | [
"MIT"
] | ChilliCream/prometheus | src/StrawberryShake/CodeGeneration/src/CodeGeneration/Extensions/TypeDescriptorExtensions.cs | 3,753 | C# |
// Copyright 2015-2017 Xamarin Inc. All rights reserved.
using System;
using System.Linq;
using Mono.Linker;
using Mono.Tuner;
using Mono.Cecil;
using Mono.Cecil.Cil;
#if MTOUCH
using MonoTouch;
using MonoTouch.Tuner;
using Xamarin.Bundler;
#elif MMP || MMP_TEST
using MonoMac;
using MonoMac.Tuner;
using Xamarin.Bundl... | 26.626506 | 167 | 0.727602 | [
"BSD-3-Clause"
] | NormanChiflen/xamarin-all-IOS | tools/linker/CoreHttpMessageHandler.cs | 2,210 | C# |
namespace VolleyManagement.Domain.TeamsAggregate
{
public class TeamTournamentDto
{
public int TeamId { get; set; }
public string TeamName { get; set; }
public int DivisionId { get; set; }
public string DivisionName { get; set; }
public int GroupId { get; set; }
... | 20.611111 | 49 | 0.603774 | [
"MIT"
] | VolleyManagement/volley-management | archive/src/VolleyManagement.Backend/VolleyManagement.Domain/TeamsAggregate/TeamTournamentDto.cs | 373 | C# |
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("Ra... | 41.75 | 84 | 0.776447 | [
"MIT"
] | totalkyos/ray-gun | Mindscape.Raygun4Net2/Properties/AssemblyInfo.cs | 1,005 | C# |
// 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.ExpressionEvaluator;
using Microsoft.CodeAnalysis.PooledObjects;
using System.Colle... | 43.542169 | 167 | 0.621334 | [
"Apache-2.0"
] | Ashera138/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Rewriters/LocalDeclarationRewriter.cs | 7,230 | C# |
using System;
using System.Collections.Generic;
namespace CarShop
{
class Program
{
static void Main(string[] args)
{
IEnumerable<Car> cars = new CarRepository().GetAll();
CarsView view = new CarsView(cars);
view.Render();
Console.Write("Press... | 18.619048 | 65 | 0.542199 | [
"CC0-1.0"
] | rajeeshckr/javascript-practical-design-patterns | managing-responsibilities/6-tactical-design-patterns-dotnet-managing-responsibilities-m6-exercise-files/1 CarShop Basic/CarShop/Program.cs | 393 | C# |
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("Di... | 38.567568 | 84 | 0.750526 | [
"BSD-3-Clause"
] | yavor87/sharpvectors | Samples/SharpVectorsSamples/DirectorySvgConverterSample/Properties/AssemblyInfo.cs | 1,430 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace Cobalt.Common.UI.Converters
{
public class HumanReadableTimeSpanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | 36.8 | 103 | 0.548007 | [
"MIT"
] | Enigmatrix/Cobalt | Cobalt.Common.UI/Converters/HumanReadableTimeSpanConverter.cs | 1,106 | C# |
using FluentValidation;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Ordering.Application.Behaviours;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Ordering.Application
{
public static ... | 32.275862 | 103 | 0.742521 | [
"MIT"
] | sarasn93/AspnetMicroservicesTest | src/Services/Ordering/Ordering.Application/ApplicationServiceRegistration.cs | 938 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Management.Automation.Runspaces;
using System.Collections;
using Microsoft.SharePoint.Client;
namespace PnP.PowerShell.Tests.Lists
{
[TestClass]
public class GetListItemTests
{
private static string listTitle;
pr... | 28.707692 | 74 | 0.57985 | [
"MIT"
] | tom-daly/powershell | src/Tests/Lists/GetPnPListItemTests.cs | 1,866 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Cms20190101.Models
{
public class PutMonitorGroupDynamicRuleResponse : TeaModel {
[NameInMap("RequestId")]
[Validation(Required=true)]
... | 22.548387 | 64 | 0.62804 | [
"Apache-2.0"
] | atptro/alibabacloud-sdk | cms-20190101/csharp/core/Models/PutMonitorGroupDynamicRuleResponse.cs | 699 | C# |
using System;
namespace Tacto {
public class HttpConnectionManager: ConnectionManager {
public const string UrlGMapsSearch = "http://www.google.com/maps/search/";
public HttpConnectionManager(string url)
: base( url )
{
this.URL = this.URL.Replace( 'º', ' ' )
.Replace( 'ª', ' ' )
.Replace( ... | 20.590909 | 76 | 0.598234 | [
"MIT"
] | Baltasarq/Tacto | Core/HttpConnectionManager.cs | 455 | C# |
// ----------------------------------------------------------------------------------
//
// 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://ww... | 48.151515 | 104 | 0.696035 | [
"MIT"
] | GossiTheDog/azure-powershell | src/Network/Network/Properties/AssemblyInfo.cs | 1,557 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 40.25641 | 153 | 0.619108 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/AccessPackageAssignmentAccessPackageAssignmentResourceRolesCollectionResponse.cs | 1,570 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using FASTER.core;
using NUnit.Framework;
namespace FASTER.test
{
[TestFixture]
internal class BlittableLogCompactionTests
{
private FasterKV<KeyStruct, ValueStruct> fht;
private IDevice log;
... | 36.063492 | 125 | 0.506778 | [
"MIT"
] | ColdwindY/FASTER | cs/test/BlittableLogCompactionTests.cs | 11,362 | C# |
namespace Idone.DAL.DTO
{
using System.Collections.Generic;
using LanguageExt;
/// <summary>
/// DTO права доступа для роли.
/// </summary>
public class DtoLinkRolePermissions : Record<DtoLinkRolePermissions>
{
/// <summary>
/// Конструктор по умолчанию.
/// </summ... | 26.848485 | 81 | 0.563205 | [
"MIT"
] | GregoryGhost/idone | Idone/Idone.DAL/DTO/DtoLinkRolePermissions.cs | 999 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable disable
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using M... | 42.277778 | 149 | 0.648883 | [
"MIT"
] | christiannagel/ProfessionalCSharp2021 | 3_Web/RazorAndMVC/MVCSample/Areas/Identity/Pages/Account/Manage/TwoFactorAuthentication.cshtml.cs | 3,807 | C# |
/*
* Written by James Leahy (c) 2017 DeFunc Art.
*/
using UnityEngine;
[CreateAssetMenu(fileName = "New LevelData", menuName = "LevelData", order = 1000)]
public class LevelData : ScriptableObject
{
public int levelIndex;
public int numberOfPlayerLives;
public bool isTimed;
public float timeLimit;
public ove... | 25.85 | 106 | 0.733075 | [
"MIT"
] | LifeIsJourney/50-unity-tips | #08-ScriptableObjects/LevelData.cs | 519 | C# |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* 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
... | 31.705263 | 154 | 0.573041 | [
"Apache-2.0"
] | Magicianred/spring-net | test/Spring/Spring.Core.Tests/Objects/Factory/Support/ManagedSetTests.cs | 3,012 | C# |
#if UNITY_EDITOR
using UnityEngine;
namespace O3DWB
{
public interface IPivotPointRenderer
{
#region Interface Methods
void Render(Vector3 pivotPoint, Color fillColor, Color borderLineColor, float sizeInPixels);
#endregion
}
}
#endif | 20.846154 | 100 | 0.708487 | [
"MIT"
] | AestheticalZ/Faithful-SCP-Unity | Assets/Octave3D World Builder/Scripts/Rendering/Objects/Object Pivot Points/IPivotPointRenderer.cs | 273 | C# |
namespace FlexProviders.Roles
{
public interface IFlexRoleProvider
{
bool IsUserInRole(string username, string roleName, string license = null);
string[] GetRolesForUser(string username, string license = null);
void CreateRole(string roleName);
bool DeleteRole(string roleN... | 47.0625 | 98 | 0.693227 | [
"MIT"
] | OdeToCode/Memflex | src/FlexProviders/Roles/IFlexRoleProvider.cs | 753 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ten_Thousand
{
class Game
{
private Player[] players;
private int currentPlayer;
private Die[] Dice;
private Random generator;
private int[][] s... | 38.039761 | 172 | 0.469217 | [
"MIT"
] | pkshah2017/Ten-Thousand | Ten Thousand/Ten Thousand/Game.cs | 19,136 | C# |
//
// DO NOT MODIFY! THIS IS AUTOGENERATED FILE!
//
namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Xilium.CefGlue.Interop;
// Role: PROXY
public sealed unsafe partial class CefXmlReader : I... | 23.725 | 77 | 0.491043 | [
"MIT"
] | stefan2410/ServiceStack.CefGlue | src/ServiceStack.CefGlue/CefGlue/Classes.g/CefXmlReader.g.cs | 1,898 | C# |
using System;
using WindowsAzure.Messaging;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Plugin.AzurePushNotifications;
namespace Gcm.Client
{
[Preserve(AllMembers = true)]
public abstract class GcmServiceBase : IntentService
{
private const string Wakelo... | 36.511905 | 158 | 0.516466 | [
"MIT"
] | KSemenenko/AzurePushNotificationsForXamarinForms | Plugin.AzurePushNotifications/Plugin.AzurePushNotifications.Android/GCM/GcmServiceBase.cs | 9,201 | C# |
using System;
using System.Linq;
using System.Net.Http.Formatting;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Web.Actions;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.Dictionary)]
[Mvc.PluginContro... | 40.342342 | 149 | 0.585529 | [
"MIT"
] | bharanijayasuri/umbraco8 | src/Umbraco.Web/Trees/DictionaryTreeController.cs | 4,480 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Codecs.Http.Tests.Multipart
{
using DotNetty.Codecs.Http.Multipart;
using Xunit;
public sealed class DiskFileUploadTest
{
[... | 27.421053 | 101 | 0.644914 | [
"MIT"
] | 15000775075/DotNetty | test/DotNetty.Codecs.Http.Tests/Multipart/DiskFileUploadTest.cs | 523 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Microsoft.Build.Tasks;
using Xunit;
usi... | 52.694915 | 170 | 0.637397 | [
"MIT"
] | AlexanderSemenyak/msbuild | src/Tasks.UnitTests/ResolveNonMSBuildProjectOutput_Tests.cs | 18,654 | C# |
namespace Cave.Progress
{
/// <summary>Provides an interface for progress tracking.</summary>
public interface IProgress
{
#region Properties
/// <summary>Gets a value indicating whether the progress is completed or not.</summary>
bool Completed { get; }
/// <summary>Gets ... | 37.675 | 149 | 0.619111 | [
"MIT"
] | CaveSystems/cave-io | Cave.IO/Progress/IProgress.cs | 1,509 | C# |
/*
* Copyright 2017 pi.pe gmbh .
*
* 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... | 27.125 | 75 | 0.687788 | [
"MIT"
] | GB28181/GB28181.Platform2016 | sipsorcery/src/net/SCTP/messages/params/StateCookie.cs | 870 | C# |
namespace EqualSums
{
using System;
using System.Linq;
public class Program
{
public static void Main(string[] args)
{
int[] input = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int previousElement = 0;
int sum = 0;
for (... | 22.355556 | 84 | 0.412525 | [
"MIT"
] | stoyantodorovbg/Programming-Fundamentals | ArraysExarcise/EqualSums/Program.cs | 1,008 | C# |
// Copyright (c) 2020 Flucto Team and others. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Runtime.CompilerServices;
using flucto.Graphics.Primitives;
usin... | 44.068966 | 134 | 0.595462 | [
"MIT"
] | flucto/flucto | flucto/Graphics/Vector2Extensions.cs | 5,114 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 28.285714 | 104 | 0.638384 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Compute/Inputs/PublicIPAddressSkuArgs.cs | 990 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Shooter.Factories
{
public class PlayerBulletFactory
{
publ... | 28.513043 | 116 | 0.537054 | [
"MIT"
] | GuiCarneiro/BulletHell | Shooter/Shooter/Factories/PlayerBulletFactory.cs | 3,281 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace ExcelNumberFormat
{
static internal class Formatter
{
static public string Format(object value, string formatString, CultureInfo culture)
{
var format = new NumberFormat(formatS... | 38.13834 | 191 | 0.484403 | [
"MIT"
] | asdobson/ExcelNumberFormat | src/ExcelNumberFormat/Formatter.cs | 28,949 | C# |
using System;
using System.Threading.Tasks;
using Bit.Owin.Contracts;
using Microsoft.Owin;
namespace Bit.Owin.Implementations
{
public class DefaultOwinActionFilterMiddleware : OwinMiddleware, IOwinActionFilter
{
public DefaultOwinActionFilterMiddleware()
: base(null)
{
}... | 24.017544 | 86 | 0.55515 | [
"MIT"
] | Jaguel/bit-framework | src/Server/Bit.Owin/Implementations/DefaultOwinActionFilterMiddleware.cs | 1,371 | C# |
using System;
using Acr.UserDialogs;
using Android.App;
using Android.Content.PM;
using Android.OS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
namespace Samples.Droid
{
[Activity(
Label = "User Dialogs",
Icon = "@drawable/icon",
MainLauncher = true,
ConfigurationC... | 22.588235 | 83 | 0.647135 | [
"MIT"
] | emclient/userdialogs | src/Samples/Samples.Droid/MainActivity.cs | 770 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.