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.Linq;
using System.Threading.Tasks;
namespace Baldr.Modules.Account.V1.ApiModels
{
public class AccountParameter
{
}
}
| 16.166667 | 44 | 0.752577 | [
"Apache-2.0"
] | CodyALohse/Baldr | Baldr/Baldr/Modules/Account/V1/ApiModels/AccountParameter.cs | 196 | 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... | 48.730061 | 187 | 0.661841 | [
"Apache-2.0"
] | miltador-forks/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/CreateStreamingDistributionResponseUnmarshaller.cs | 7,943 | C# |
using System;
using LanguageExt;
using static LanguageExt.Prelude;
using Xunit;
namespace LanguageExt.Tests
{
public class NonNullTests
{
[Fact]
public void ValueCastTest1()
{
Assert.Throws<ValueIsNullException>(
() =>
{
F... | 23.727891 | 65 | 0.454415 | [
"MIT"
] | 1iveowl/language-ext | LanguageExt.Tests/NonNullTests.cs | 3,490 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 37.897436 | 143 | 0.556292 | [
"Apache-2.0"
] | olavloite/google-cloud-dotnet | tools/Google.Cloud.Tools.ReleaseManager/BatchRelease/ReleaseProposal.cs | 7,392 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnal... | 27.64 | 91 | 0.752533 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/AmplifyBackend/Generated/PropertyValueAssignmentAnalyzer.cs | 691 | C# |
using UnityEngine;
using Mirror;
[RequireComponent(typeof(Rigidbody))]
public class PlayerMotor : NetworkBehaviour
{
public Camera cam;
[SerializeField]
private GameObject projectile;
private Vector3 velocity;
private Vector3 rotation;
private Vector3 cameraRotation;
private Vector3 jump... | 21.171429 | 84 | 0.626856 | [
"MIT"
] | lolomist/unity | Assets/Scripts/PlayerMotor.cs | 1,484 | C# |
// 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;
using System.IO;
using System.Linq;
using Xunit;
namespace Microsoft.Win32.RegistryTests
{
public... | 45.530769 | 149 | 0.654334 | [
"MIT"
] | FrancisFYK/corefx | src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_CreateSubKey_str_rkpc.cs | 5,922 | C# |
// leveldb-sharp
//
// Copyright (c) 2011 The LevelDB Authors
// Copyright (c) 2013, Mirco Bauer <meebey@meebey.net>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redis... | 38.263736 | 79 | 0.66973 | [
"Apache-2.0"
] | NukkitReborn/DBViewer | DBViewer/leveldb-sharp/WriteBatch.cs | 3,482 | C# |
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using XMachine.Reflection;
namespace XMachine.Components.Identifiers
{
/// <summary>
/// The <see cref="XIdentifierReader"/> component uses a set of <see cref="XIdentifier{TType, TId}"/> objects to
/// allow an <see cref="XReader"/> to... | 26.375 | 125 | 0.607497 | [
"MIT"
] | Adam-Miettinen/XMachine | Components/Identifiers/XIdentifierReader.cs | 4,644 | C# |
using UnityEngine;
namespace clinvest.migraine
{
public static class ApplicationContext
{
private static string userName;
private static string userId;
private static string authToken;
private static GameObject activePanel;
public static string UserName
... | 19.966667 | 47 | 0.36394 | [
"MIT"
] | doomlab/Migraine-App | Migraine-App/Assets/Scripts/ApplicationContext.cs | 1,200 | C# |
using System;
namespace LinqAF.Impl
{
static partial class CommonImplementation
{
// single
public static TItem Single<TItem, TEnumerable, TEnumerator>(ref TEnumerable source)
where TEnumerable : struct, IStructEnumerable<TItem, TEnumerator>
where TEnumerator : struct, ... | 37.589147 | 135 | 0.601155 | [
"Apache-2.0"
] | kevin-montrose/LinqAF | LinqAF/Impl/CommonImplementation.Single.cs | 4,851 | C# |
namespace InnerCore.Api.DeConz.Models.Sensors.CLIP
{
public interface CLIPGenericStatus : IGeneralSensor
{
}
}
| 16.428571 | 52 | 0.782609 | [
"MIT"
] | Denifia/InnerCore.Api.DeConz | InnerCore.Api.DeConz/Models/Sensors/CLIP/CLIPGenericStatus.cs | 117 | C# |
using System.Data.Common;
using EntityFrameworkCore.Jet;
using Microsoft.EntityFrameworkCore;
namespace EFCore.Jet.Integration.Test.Model12_ComplexType
{
public class TestContext : DbContext
{
public TestContext(DbContextOptions options) : base(options) { }
public DbSet<Friend> Friends { get;... | 28.96 | 74 | 0.649171 | [
"Apache-2.0"
] | ckosti/EntityFrameworkCore.Jet | test/EFCore.Jet.Integration.Test/Model12_ComplexType/Context.cs | 726 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace eShop.Location.User.Models
{
public class Record
{
public Guid Id { get; set; }
public Guid LocationId { get; set; }
public string Code { get; set; }
public string UserName { get; set; }
publ... | 19.833333 | 44 | 0.610644 | [
"MIT"
] | charlessolar/eShopOnContainersDDD | src/Contexts/Location/Language/User/Models/Record.cs | 359 | 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 System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.FindUsages;
using Microsoft.CodeAnalysis.... | 40.056338 | 161 | 0.650492 | [
"Apache-2.0"
] | 20chan/roslyn | src/Features/LanguageServer/Protocol/Extensions/Extensions.cs | 2,846 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProjetoSecaoModel;
namespace ProjetoSecaoDao
{
public class ConferenciaDao
{
public List<Conferencia> GetConferencias()
{
List<Conferencia> conferencias;
... | 28.783784 | 162 | 0.547418 | [
"MIT"
] | RodolphoChagas/Conferencia | ProjetoSecaoDao/ConferenciaDao.cs | 2,135 | C# |
//
// (C) Copyright 2003-2019 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited war... | 36.314286 | 128 | 0.576449 | [
"MIT"
] | xin1627/RevitSdkSamples | SDK/Samples/FamilyCreation/ValidateParameters/CS/MessageForm.cs | 3,813 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
using System.Diagnostics;
namespace DiskSpace_Examiner
{
public class ScanResultFile
{
/// <summary>
... | 50.206349 | 227 | 0.546844 | [
"MIT"
] | WileEMan/DiskSpace-Examiner | Source/DiskSpace-Examiner/ScanResultFile.cs | 9,491 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may no... | 27.458599 | 109 | 0.520065 | [
"Apache-2.0"
] | ThinkGeo/GIS-Editor | MapSuiteGisEditor/GisEditorPluginCore/Plugins/AnnotationPlugin/Shares/Cursors.cs | 4,311 | C# |
namespace Dataflow.Pipeline.Core
{
using System;
using System.Linq;
using System.Reflection;
using Dataflow.Pipeline.DI;
using Microsoft.Extensions.DependencyInjection;
public static class PipepelineServiceCollectionExtensions
{
public static void RegisterPipeline<T>(this IServiceC... | 33.680851 | 127 | 0.566646 | [
"MIT"
] | goOrn/Dataflow.Pipeline | src/Dataflow.Pipeline/Core/PipepelineServiceCollectionExtensions.cs | 1,585 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "BRMA09_4H",
"name": [
"黑翼",
"Blackwing"
],
"text": [
"<b>英雄技能</b>\n召唤一个5/4的龙人。获得另一个英雄技能。",
"<b>Hero Power</b>\nSummon a 5/4 Dragonkin. Get a new Hero Power."
],
"CardClass": "NEUTRAL",
"type": "HERO_POWER",
"cost": 1,
"rarity": null,
"set": "BRM",
"col... | 16.107143 | 70 | 0.567627 | [
"MIT"
] | chi-rei-den/Silverfish | cards/BRM/BRMA09/Sim_BRMA09_4H.cs | 499 | C# |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation (XamlCompilationOptions.Compile)]
namespace danielCherrin_ProbCalc
{
public partial class App : Application
{
public App ()
{
InitializeComponent();
MainPage = new MainPage();
}
protected override void OnStart ()
... | 16.030303 | 60 | 0.691871 | [
"MIT"
] | ChannelPixel/danielCherrin_ProbCalc | danielCherrin_ProbCalc/danielCherrin_ProbCalc/App.xaml.cs | 529 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace AlwaysMoveForward.PointChart.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRout... | 32.72973 | 111 | 0.49711 | [
"MIT"
] | artieac/PointChart | src/Web/App_Start/RouteConfig.cs | 1,213 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Geopoiesis.Interfaces
{
public interface IInputStateHandler : IInputStateManager
{
IKeyboardStateManager KeyboardManager { get; set; }
IGamePadManager GamePadManager { get; set; }
IMouseStateManager ... | 25.571429 | 61 | 0.692737 | [
"MIT"
] | NemoKradXNA/GameJams | GeopoiesisLib/Interfaces/IInputStateHandler.cs | 360 | C# |
// <auto-generated />
using System;
using ComputerStore.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ... | 34.914163 | 125 | 0.491211 | [
"MIT"
] | RomanGL/ComputerStore | ComputerStore/Migrations/AppIdentityDb/20190710154506_Initial.Designer.cs | 8,137 | C# |
//------------------------------------------------------------------------------
// This code was generated by TemplateProcessor Version: 1.1.0.0
// using the template file: TemplateExtensions.txt.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//-----------... | 46.885919 | 151 | 0.581916 | [
"BSD-3-Clause"
] | mmrath/Highlander.Net | Metadata/FpML.V5r11/FpML.V5r11.Codes/FpMLCodesExt.cs | 340,298 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Yodii.Model
{
interface IDeferredActions
{
}
}
| 12.153846 | 33 | 0.721519 | [
"MIT"
] | mfkl/YodiiStaticProxy.Fody | Yodii.Model/Host/IDeferredActions.cs | 160 | 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("03... | 38.081081 | 84 | 0.741661 | [
"MIT"
] | petyakostova/Telerik-Academy | C#/C# 1 Contests/3/Ones-And-Zeros/03. Ones-And-Zeros/Properties/AssemblyInfo.cs | 1,412 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Labs_ASPToDo2.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | 19.333333 | 67 | 0.565517 | [
"MIT"
] | SebastianTrifa/c- | Labs_ASPToDo2/Controllers/HomeController.cs | 582 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | 38.210526 | 84 | 0.754132 | [
"MIT"
] | CuljakIvan/Xamarin | XFwithFbSDK/XFwithFbSDK/XFwithFbSDK.WinPhone/Properties/AssemblyInfo.cs | 1,455 | C# |
using System.Linq;
using System.Threading.Tasks;
using Acs1;
using Acs5;
using AElf.Contracts.Economic.TestBase;
using AElf.Contracts.MultiToken;
using AElf.Contracts.TokenConverter;
using AElf.Types;
using Google.Protobuf.WellKnownTypes;
using Shouldly;
using Xunit;
namespace AElf.Contracts.EconomicSystem.Tests.BVT
{... | 43.517241 | 119 | 0.623415 | [
"MIT"
] | lpo1015/AElf | test/AElf.Contracts.EconomicSystem.Tests/BVT/TreasuryBasicTests.cs | 10,096 | C# |
using System;
using System.IO;
using System.Text;
namespace ICSharpCode.SharpZipLib.Tar
{
/// <summary>
/// Used to advise clients of 'events' while processing archives
/// </summary>
public delegate void ProgressMessageHandler(TarArchive archive, TarEntry entry, string message);
/// <summary>
/// The TarArchiv... | 24.78125 | 120 | 0.645818 | [
"MIT"
] | WorkhorsyTest/SharpZipLibD | source/ICSharpCode/SharpZipLib/Tar/TarArchive.cs | 23,790 | C# |
using System;
using System.Runtime.InteropServices;
namespace Veldrid.Sdl2
{
public static unsafe partial class Sdl2Native
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
private delegate SDL_Keymod SDL_GetModState_t();
private static SDL_GetModState_t s_sdl_getModState = Sdl2Nat... | 35.941176 | 123 | 0.716858 | [
"MIT"
] | BSG-75/veldrid | src/Veldrid.SDL2/Sdl2.Keyboard.cs | 613 | C# |
using System;
using System.IO;
namespace Dicom.Imaging.LUT {
/// <summary>
/// Paletter color LUT implementation of <seealso cref="ILUT"/> maps PALETTE COLOR images
/// </summary>
public class PaletteColorLUT : ILUT {
#region Private Members
private int _first;
private Color32[] _lut;
#endregion
#regio... | 20.533333 | 90 | 0.651786 | [
"BSD-3-Clause"
] | chunhuxiao/fo-dicom | DICOM/Imaging/LUT/PaletteColorLUT.cs | 1,234 | C# |
using Comet.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Comet.Styles
{
public class ButtonStyle : ViewStyle
{
public StyleAwareValue<ControlState,Color> TextColor { get; set; }
public StyleAwareValue<ControlState, FontAttributes> TextFont { get; set; }
public Style... | 21.333333 | 77 | 0.763021 | [
"MIT"
] | VincentH-Net/Comet | src/Comet/Styles/ButtonStyle.cs | 386 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.Coyote.Actors.SystematicTesting.Tests
{
public class MustHandleEventTests : BaseActorSystematicTest
{
public MustHandleEventTests(ITestOutputHelper output)
... | 31.477987 | 98 | 0.529071 | [
"MIT"
] | arunt1204/coyote | Tests/Tests.Actors.SystematicTesting/EventHandling/MustHandleEventTests.cs | 5,007 | C# |
namespace ShoppingCartStore.Services.DataServices
{
using ShoppingCartStore.Common.BindingModels.Product;
using ShoppingCartStore.Common.ServiceModels.Wishlist;
using ShoppingCartStore.Common.ViewModels.Product;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface I... | 31.4 | 107 | 0.778662 | [
"MIT"
] | raulerivassanz/ShoppingCartStore | src/Services/ShoppingCartStore.Services.DataServices/IProductService.cs | 630 | C# |
using System;
using System.Collections.Generic;
namespace MultiBracketValidation
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
public static bool MultiHBracketValidation(string input)
{
var brack... | 31.029412 | 84 | 0.364929 | [
"MIT"
] | jeremymaya/data-structures-and-algorithms | challenges/MultiBracketValidation/MultiBracketValidation/Program.cs | 2,112 | C# |
using System.Runtime.InteropServices;
using FFXIVClientStructs.Common;
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
using FFXIVClientStructs.FFXIV.Client.UI.Misc;
using FFXIVClientStructs.FFXIV.Client.UI.Shell;
namespace FFXIVClientStructs.FFXIV.Client.UI
{
// Client::UI::UIModule
// Client::UI::UIModule... | 33.75641 | 118 | 0.585264 | [
"MIT"
] | 0ceal0t/FFXIVClientStructs | FFXIVClientStructs/FFXIV/Client/UI/UIModule.cs | 2,635 | C# |
#region License
//
// Author: Nate Kohari <nkohari@gmail.com>
// Copyright (c) 2007-2008, Enkari, Ltd.
//
// 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/licens... | 31.384615 | 94 | 0.551471 | [
"Apache-2.0"
] | ninject/ninject1 | src/Tests/Mocks/RequestsTagB.cs | 1,224 | C# |
using LineApiUseCaseSmartRetail.Enums;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Cosmos;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace LineApiUseCaseSmartRetail
{
/// <summary>
//... | 31.575 | 111 | 0.536025 | [
"Unlicense"
] | line/line-api-use-case-smart-retail-azure | backend/src/LineApiUseCaseSmartRetail/GetItemInfo.cs | 2,672 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TexturePackerLoader;
namespace MonoTarget
{
public class GameObject
{
public float Rotation;
public b... | 21.733333 | 109 | 0.569785 | [
"MIT"
] | DigitalOxCanada/MonoTarget | Day9/GameObject.cs | 1,306 | C# |
using System;
using System.Windows.Forms;
namespace XNALara
{
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args) {
try {
using (Game game = new G... | 24.08 | 76 | 0.465116 | [
"Apache-2.0"
] | AerysBat/XNALara | Program.cs | 602 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.Geolocation.Geofencing
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class GeofenceMonitor
{
#if __ANDROID__ || __IOS__ || NET46 |... | 45.585859 | 225 | 0.783736 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Geolocation.Geofencing/GeofenceMonitor.cs | 4,513 | C# |
using AutoMapper;
using DAL.Models;
using WebApi.DataTransferObjects;
using WebApi.ViewModels;
namespace WebApi
{
public class AutoMapping : Profile
{
public AutoMapping()
{
// ViewModels to Models
CreateMap<OrderViewModel, Order>(MemberList.Source);
CreateM... | 33.961538 | 100 | 0.645527 | [
"MIT"
] | gcasu/netcore-webapi | WebApi/AutoMapping.cs | 885 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using UnityEngine.Audio;
namespace Microsoft.MixedReality.SpectatorView
{
[Serializable]
internal ... | 33.636364 | 115 | 0.644144 | [
"MIT"
] | GooDtoLivE/MixedReality-SpectatorView | src/SpectatorView.Unity/Assets/SpectatorView/Scripts/StateSynchronization/NetworkedComponents/AudioSource/AudioMixerGroupAssetCache.cs | 1,112 | C# |
//
// NotWorkingAttribute.cs
//
// Author:
// Martin Baulig <martin.baulig@xamarin.com>
//
// Copyright (c) 2015 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software wit... | 39.5 | 116 | 0.760699 | [
"MIT"
] | xamarin/web-tests | Xamarin.WebTests.Framework/Xamarin.WebTests.TestAttributes/NotWorkingAttribute.cs | 1,661 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Snowflake.Configuration;
namespace Snowflake.Extensibility.Provisioning
{
/// <summary>
/// Represents a plugin initialized with a provision
/// A provisioned plugin has access to a logger, configuration options, and a content direct... | 30.153846 | 100 | 0.664541 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | SnowflakePowered/snowflake | src/Snowflake.Framework.Primitives/Extensibility/Provisioning/IProvisionedPlugin.cs | 786 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... | 38.130435 | 107 | 0.700684 | [
"ECL-2.0",
"Apache-2.0"
] | dimpu47/pulumi-gcp | sdk/dotnet/Compute/Outputs/ResourcePolicySnapshotSchedulePolicy.cs | 1,754 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using SBCA.UnifiedDataStandard.Component;
using SBCA.UnifiedDataStandard.QualityControl;
namespace SBCA.UnifiedDataStandard
{
public class UnifiedDataStandardFile
{
/// <... | 39.085271 | 158 | 0.570805 | [
"MIT"
] | sbca-uds/SBCA-Unified-Data-Standard | SBCA_DataStandard/UnifiedDataStandardFile.cs | 5,044 | C# |
using System.IO;
using FluentAssertions;
using NUnit.Framework;
// Cyotek Color Picker controls library
// Copyright © 2013-2017 Cyotek Ltd.
// http://cyotek.com/blog/tag/colorpicker
// Licensed under the MIT License. See license.txt for the full text.
// If you use this code in your applications, donatio... | 22.69281 | 83 | 0.605991 | [
"MIT"
] | Code-Artist/Cyotek.Windows.Forms.ColorPicker | Cyotek.Windows.Forms.ColorPicker.Tests/GimpPaletteSerializerTests.cs | 3,475 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 40.190476 | 122 | 0.700237 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/analytics/admin/v1alpha/google-analytics-admin-v1alpha-csharp/Google.Analytics.Admin.V1Alpha.StandaloneSnippets/AnalyticsAdminServiceClient.DeleteConversionEventRequestObjectSnippet.g.cs | 1,688 | C# |
using System;
using System.Collections;
using System.Reflection;
using System.Text;
using System.Collections.Generic;
using System.Linq;
namespace Python.Runtime
{
/// <summary>
/// A MethodBinder encapsulates information about a (possibly overloaded)
/// managed method, and is responsible for selecting th... | 35.250585 | 162 | 0.465852 | [
"MIT"
] | danabr/pythonnet | src/runtime/methodbinder.cs | 30,104 | 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... | 34.291139 | 107 | 0.666667 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/Translate/Generated/Model/ImportTerminologyResponse.cs | 2,709 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KidzCodeTurtlebot
{
public class Path
{
private List<Drive> path;
public Path()
{
this.path = new List<Drive>();
}
public Path(Li... | 21.370968 | 49 | 0.472453 | [
"BSD-3-Clause"
] | WisconsinRobotics/KidzCodeTurtlebot | KidzCodeTurtlebot/Path.cs | 1,327 | C# |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 1.0.9-262
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using Syst... | 43.497487 | 578 | 0.546037 | [
"Apache-2.0"
] | ategaw-cisco/intersight-powershell | csharp/swaggerClient/src/intersight/Model/SoftwarerepositoryAuthorization.cs | 17,312 | C# |
using InquirerCore.Validators;
using System;
using System.Collections.Generic;
using System.Text;
namespace InquirerCore.Prompts
{
public interface IPrompt
{
int[] Render();
string[] GetQuestion();
string Answer();
void Ask();
void SetValid(IValidator validator);
... | 20.277778 | 44 | 0.649315 | [
"MIT"
] | Ibrahim-Islam/Inquirer | src/Inquirer/Prompts/IPrompt.cs | 367 | C# |
// <copyright file="BucketMap{T}.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameLogic
{
using System;
using System.Collections.Generic;
using System.Linq;
using Interfaces;
us... | 39.859259 | 139 | 0.571641 | [
"MIT"
] | Apollyon221/OpenMU | src/GameLogic/BucketMap{T}.cs | 5,383 | C# |
namespace TheStore.Site.Controllers.Api
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using TheStore.Services.Interfaces;
using TheStore.Site.Areas.Admin.Models;
using TheStore.Site.ModelsFactories.Interfaces;
public class CategoryControlle... | 31.803922 | 126 | 0.609125 | [
"Apache-2.0"
] | MarioZisov/TheStore | Source/TheStore.Site/Controllers/Api/CategoryController.cs | 1,624 | C# |
using Cake.Common.Tests.Fixtures.Tools;
using Cake.Common.Tools.XUnit;
using Cake.Core;
using Cake.Core.IO;
using Cake.Testing;
using Cake.Testing.Xunit;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.XUnit
{
public sealed class XUnit2RunnerTests
{
public sealed class TheRunMethod
{
... | 35.670886 | 151 | 0.508801 | [
"MIT"
] | RichiCoder1/cake | src/Cake.Common.Tests/Unit/Tools/XUnit/XUnit2RunnerTests.cs | 14,092 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace OutronicShop.Backend.Database.Migrations
{
public partial class ProductsMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationB... | 19.833333 | 71 | 0.686275 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | mathieu900v/outronicshop | dotnet/srcs/OutronicShop.Backend.Database/Migrations/20210422150356_ProductsMigration.cs | 359 | C# |
namespace AutoMapper
{
/// <summary>
/// Converts source type to destination type instead of normal member mapping
/// </summary>
/// <typeparam name="TSource">Source type</typeparam>
/// <typeparam name="TDestination">Destination type</typeparam>
public interface ITypeConverter<in TSource, out TDe... | 32.157895 | 81 | 0.667758 | [
"MIT"
] | billrob/AutoMapper | src/AutoMapper/ITypeConverter.cs | 611 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using NeoGeniX.Forms;
namespace theCatalyst
{
public partial class theEditorLegacy : DarkForm
{
strin... | 27.237705 | 85 | 0.588023 | [
"Apache-2.0"
] | iAwesome404/ProshellCatalyst | Cairo Desktop/theCatalyst/theEditorLegacy.cs | 3,325 | C# |
using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayEcoLogisticsExpressNonserviceQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayEcoLogisticsExpressNonserviceQueryModel : AlipayObject
{
/// <sum... | 35.263158 | 218 | 0.670149 | [
"MIT"
] | gebiWangshushu/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoLogisticsExpressNonserviceQueryModel.cs | 718 | C# |
using System;
using System.Collections.Generic;
using OpenBveApi.Runtime;
namespace Plugin {
internal class RunOnceEvent : Event {
internal RunOnceEvent(Script script) {
this.Script = script;
this.Conditions = new List<Condition>();
this.Actions = new List<Action>();
}
}
internal class KeyDownEven... | 25.226667 | 85 | 0.692389 | [
"Apache-2.0"
] | joeyfoo/alstom-metropolis-for-openbve | alstom-metropolis-content/plugin/trainscript-train-plugin/SourceCode/Plugin/Tags.Events.cs | 1,894 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExchangeApi
{
public enum OrderType
{
Unknown = -1,
Market,
Limit,
}
}
| 14.6875 | 33 | 0.651064 | [
"MIT"
] | Eternity714/DeepQuant.ExchangeApi | src/ExchangeApi.Abstractions/OrderType.cs | 237 | C# |
#region Licencia
/*
Copyright 2013 Juan Diego Martinez
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... | 28.4 | 84 | 0.742455 | [
"Apache-2.0"
] | jdmartinez/Northwind | Northwind.Data/Repositories/IShipperRepository.cs | 996 | C# |
//-------------------------------------------------------------------------
// Copyright © 2019 Province of British Columbia
//
// 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://w... | 33.977273 | 75 | 0.575251 | [
"Apache-2.0"
] | WadeBarnes/healthgateway | Apps/WebClient/src/Server/Models/AcaPy/ConnectionState.cs | 1,496 | C# |
using UI.RadialMenu;
using UI.SelectionBox;
using UnityEngine;
using Zenject;
namespace UI {
/// <summary>
/// Installs UI elements that can be reused throughout the application. Normally injected in the project context.
/// </summary>
public class UIInstaller : MonoInstaller {
[SerializeField]... | 34.814815 | 117 | 0.642553 | [
"Apache-2.0"
] | dcasadevall/tabletop-combat-helper | Assets/Scripts/UI/UIInstaller.cs | 940 | C# |
using Test.Database;
using Test.InputModels;
using Test.Repository;
using System;
using System.Linq;
using System.Threading.Tasks;
using Threax.AspNetCore.Tests;
using Xunit;
namespace Test.Tests
{
public static partial class ValueTests
{
public class Repository : IDisposable
{
priv... | 35.766355 | 135 | 0.530442 | [
"MIT"
] | thereclusive/Threax.AspNetCore.Hypermedia | test/Threax.ModelGen.Tests/TestFiles/PluralNameTests/Tests/Value/ValueRepositoryTests.cs | 3,827 | C# |
/**********************************************************************************************************************
* Notifiable.NET (https://github.com/mkloubert/Notifiable.NET) *
* ... | 60.864865 | 121 | 0.400755 | [
"BSD-3-Clause"
] | mkloubert/Notifiable.NET | MarcelJoachimKloubert.Examples.Notifiable.WPF/MainWindow.xaml.cs | 4,506 | C# |
using Checkem.Windows.CustomComponents;
using Checkem.Models;
using System;
using Sphere.Readable;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Controls;
using System.Windows;
using System.Collections.Generic;
namespace Checkem.Views
{
public partial class DetailsPanel ... | 28.881783 | 162 | 0.511843 | [
"Apache-2.0"
] | Ballpits/checkem-applications | src/Checkem.Windows/Views/DetailsPanel.xaml.cs | 14,905 | C# |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 l... | 37.080247 | 180 | 0.533877 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | ONLYOFFICE/CommunityServer | module/ASC.Files.ThumbnailBuilder/Builder.cs | 12,016 | C# |
/*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 20220523
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.... | 39.697674 | 200 | 0.694786 | [
"MIT"
] | cliffano/pokeapi-clients | clients/csharp-netcore-functions/generated/generatedSrc/Functions/ContestEffectApi.cs | 1,707 | C# |
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using ESFA.DC.ILR1819.DataStore.Interface;
using ESFA.DC.ILR1819.DataStore.Model.File;
using ESFA.DC.ILR1819.DataStore.PersistData.Abstract;
namespace ESFA.DC.ILR1819.DataStore.PersistData.Persist
{
public sealed class StoreValidat... | 33.391304 | 124 | 0.74349 | [
"MIT"
] | SkillsFundingAgency/DC-ILR-1819-DataStore | src/ESFA.DC.ILR1819.DataStore.PersistData/Persist/StoreValidationOutput.cs | 770 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace M3PlusSimulator {
public class Command {
public int Value;
public int Size;
public bool IsHighDecoder;
public Operation Operation;
public Registrer Registrer;
public Controller Controller;
... | 36.47027 | 106 | 0.385356 | [
"MIT"
] | jeanklann/M3PlusMicrocontrollerSimulator | SimuladorM3Mais/Command.cs | 6,774 | C# |
using Dapper;
using Database.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace DapperNetStandard
{
public class Places
{
private const string language = "";
private const string projectId = "";
... | 31.225 | 137 | 0.582866 | [
"MIT"
] | marcominerva/SqlSat707 | DapperNetStandard/Database/Places.cs | 1,251 | C# |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Emotify.Models;
using Emotify.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
usin... | 33.793478 | 107 | 0.545513 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | TeamDman/emotify | app/Extensions/BuiltinExtensions.cs | 3,111 | C# |
namespace Stripe
{
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
[JsonConverter(typeof(StringEnumConverter))]
public enum PlanTierUpTo
{
/// <summary>Use this value to define a fallback tier.</summary>
[EnumMember(Value = "inf")]
... | 22.6 | 72 | 0.654867 | [
"Apache-2.0"
] | Furysoft/stripe-dotnet | src/Stripe.net/Services/Plans/PlanTierUpTo.cs | 339 | C# |
// Copyright by the contributors to the Dafny Project
// SPDX-License-Identifier: MIT
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using DafnyServer.CounterExampleGeneration;
using Microsoft.Boogie;
names... | 31.567568 | 137 | 0.636986 | [
"MIT"
] | UnknownGuardian/dafny | Source/DafnyServer/CounterExampleProvider.cs | 4,674 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using LiteNetLib.Utils;
namespace BeatTogether.DedicatedServer.Messaging.Abstractions
{
public interface IPacketRegistry
{
/// <summary>
/// Retrieves the identifiers of all registered packets.
/// <... | 45.619403 | 121 | 0.601014 | [
"MIT"
] | pythonology/BeatTogether.DedicatedServer | BeatTogether.DedicatedServer.Messaging/Abstractions/IPacketRegistry.cs | 6,115 | C# |
using UnityEngine;
namespace com.liteninja.soa.Events
{
[CreateAssetMenu(
fileName = "TransformEvent",
menuName = SOAConsts.MenuNameBase + "/Events/Transform Event",
order = SOAConsts.MenuOrderUnityObjectEvent + 3
)]
public class TransformEvent : AEvent<Transform>
{
}
}
| 22.642857 | 70 | 0.66877 | [
"MIT"
] | sponticelli/LiteNinja-ScriptableObjectArchitecture | Runtime/Events/TransformEvent.cs | 319 | 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.
namespac... | 49.918288 | 336 | 0.595136 | [
"MIT"
] | AzureAutomationTeam/azure-sdk-for-net | src/SDKs/Automation/Management.Automation/Generated/DscNodeConfigurationOperationsExtensions.cs | 12,829 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace PoolDays.Migrations
{
public partial class AddComments : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "CommentId",
table: ... | 38.618321 | 100 | 0.464519 | [
"MIT"
] | IvanGIvanov/ASP.NET-Core-PoolDays | PoolDays/Migrations/20210812134817_AddComments.cs | 5,061 | C# |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
usin... | 46.231707 | 159 | 0.625605 | [
"Apache-2.0"
] | DABH/openapi-generator | samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Api/StoreApi.cs | 22,746 | C# |
using System;
using Automated.Arca.Abstractions.Core;
using Automated.Arca.Abstractions.Specialized;
using Automated.Arca.Attributes.Specialized;
namespace Automated.Arca.Extensions.Specialized
{
public class ExtensionForDomainEventHandlerAttribute : ExtensionForSpecializedAttribute
{
public override Type Attribu... | 36.558824 | 121 | 0.820595 | [
"MIT"
] | georgehara/Arca | Automated.Arca.Extensions.Specialized/ExtensionForDomainEventHandlerAttribute.cs | 1,245 | C# |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Xunit;
namespace Frends.File.Tests
{
public class UnitTest : FileTestBase
{
public UnitTest()
{
TestFileContext.CreateFiles(
... | 39.106987 | 271 | 0.540562 | [
"MIT"
] | FrendsPlatform/Frends.File | Frends.File.Tests/UnitTest.cs | 17,940 | C# |
#region copyright
// Copyright 2015 Habart Thierry
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 33.125 | 81 | 0.710377 | [
"Apache-2.0"
] | appkins/SimpleIdentityServer | SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.EF/Mappings/ConsentScopeMapping.cs | 1,062 | C# |
namespace Shopping.Aggregator.Models {
public class BasketItemExtendedModel {
public int Quantity { get; set; }
public string Color { get; set; }
public decimal Price { get; set; }
public string ProductId { get; set; }
public string ProductName { get; set; }
//Produc... | 38.428571 | 47 | 0.613383 | [
"MIT"
] | mertKarasakal/AspnetMicroservices | src/ApiGateways/Shopping.Aggregator/Models/BasketItemExtendedModel.cs | 540 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using AsmResolver.Collections;
using AsmResolver.DotNet.Builder;
using AsmResolver.DotNet.Collections;
using AsmResolver.DotNet.Serialized;
using AsmResolver.DotNet.Signatures;
using AsmResolver.PE;
using AsmResolver.PE.Builder;
us... | 43.989324 | 137 | 0.62139 | [
"MIT"
] | dr4k0nia/AsmResolver | src/AsmResolver.DotNet/AssemblyDefinition.cs | 12,361 | C# |
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package printf defines an Analyzer that checks consistency
// of Printf format strings and arguments.
// package printf -- go2cs converted at 2020 October 09... | 36.004383 | 1,137 | 0.480217 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/printf.cs | 57,499 | C# |
using System;
using System.Numerics;
namespace L2RPPS.PacketStructs
{
public class SightEnterNotify
{
public uint PlayerCount { get; set; }
public ulong PlayerUserIdentification { get; set; } //PktOtherPlayer::SetId(uint64_t)
public string PlayerName { get; set; } //PktOtherPlayer::Set... | 53.515625 | 135 | 0.609927 | [
"Unlicense"
] | agc-software/L2Reverse | L2RPPS/PacketStructs/SightEnterNotify.cs | 3,427 | C# |
using FluentAssertions;
using NUnit.Engine;
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
using WireMock.Server;
namespace ReportPortal.NUnitExtension.Tests
{
public class SimpleTests
{
WireMockServer _server;
TestPackage _testPackage = new TestPackage("ReportPortal.... | 27.333333 | 121 | 0.647154 | [
"Apache-2.0"
] | AngryTester95/agent-net-nunit | test/ReportPortal.NUnitExtension.Tests/SimpleTests.cs | 1,230 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dotnet.Core.Simple.Models.ManageViewModels
{
public class FactorViewModel
{
public string Purpose { get; set; }
}
}
| 18.846154 | 52 | 0.726531 | [
"MIT"
] | rzvdaniel/DotNetCoreAspBoilerplate | Models/ManageViewModels/FactorViewModel.cs | 247 | C# |
using Cake.Common.Diagnostics;
using Cake.Common.Solution;
using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Pack;
using CodeCake.Abstractions;
using CSemVer;
using SimpleGitVersion;
using System.Collections.Generic;
using System.Linq;
using static CodeCake.Build;
namespace CodeCake
{
public ... | 35.348214 | 205 | 0.579944 | [
"MIT"
] | signature-opensource/CK-MQTT-OLD | CodeCakeBuilder/dotnet/Build.NuGetArtifactType.cs | 3,959 | C# |
namespace CreateAndFake.Toolbox.DuplicatorTool
{
/// <summary>Handles copying specific types for the duplicator.</summary>
public abstract class CopyHint
{
/// <summary>Tries to deep clone <paramref name="source"/>.</summary>
/// <param name="source">Object to clone.</param>
... | 43.9375 | 105 | 0.610242 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | CreateAndFake/CreateAndFake | src/CreateAndFake/Toolbox/DuplicatorTool/CopyHint.cs | 705 | C# |
using System;
using System.Web.Http;
namespace WebPackagingChild
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
GlobalConfiguration.Configure(WebApiConfig.Register);
}
protected void Session_Star... | 19.227273 | 82 | 0.611111 | [
"Apache-2.0"
] | Bigsby/PoC | DotNet/CrossDotNetting/WebPackagingChild/Global.asax.cs | 848 | C# |
using CommonUtil.Specification;
using Identity.API.Entities;
using System;
using System.Linq.Expressions;
namespace Identity.API.Logic.Specifications
{
public sealed class UserAccountWithUsernameSpec : Specification<AppUser>
{
private readonly string _email;
public UserAccountWithUsernameSpec... | 26.842105 | 76 | 0.705882 | [
"MIT"
] | DHJayasinghe/IdentityServer | Identity.API/Logic/Specifications/UserAccountWithUsernameSpec.cs | 512 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.5 | 153 | 0.587475 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/CompanyTaxGroupsCollectionRequestBuilder.cs | 2,475 | C# |
namespace Basket.Core.Entities
{
public class ShoppingCart
{
public string UserName { get; set; } = string.Empty;
public List<ShoppingCartItem> Items { get; set; } = new List<ShoppingCartItem>();
public ShoppingCart()
{
}
public ShoppingCart(string userName)
... | 19.388889 | 89 | 0.458453 | [
"MIT"
] | vishipayyallore/the-shop-microservice-dotnet6 | source/services/Basket/Basket.Core/Entities/ShoppingCart.cs | 700 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.