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;
namespace ConsoleApp5
{
class Program
{
static void Main(string[] args)
{
Person pepa = new Person();
pepa.Name = "Josef Kapusta";
pepa.Age = 12;
Console.WriteLine("Jmeno: {0}, Vek {1}", pepa.Name,... | 21.756757 | 74 | 0.504348 | [
"MIT"
] | Andy-Merhaut/sssvt-prg-maturita | ConsoleApp5/ConsoleApp5/Program.cs | 807 | C# |
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// Medication Status Codes
/// </summary>
public static class MedicationStatusCodes
{
/// <summary>
/// The medication is av... | 25.837209 | 65 | 0.612961 | [
"MIT"
] | FirelyTeam/fhir-codegen | src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/MedicationStatus.cs | 1,111 | C# |
namespace PhotoShare.Data.Configurations
{
public static class PhotoShareDbConfiguration
{
public const string ConnectionString = @"Server=DESKTOP-DEHICSC\SQLEXPRESS01;Database=PhotoShareDb;Integrated Security=True";
}
} | 34.428571 | 133 | 0.771784 | [
"MIT"
] | thelad43/Databases-Advanced-Entity-Framework-SoftUni | 08. Exercise Best Practices And Architecture/PhotoShareSystem/PhotoShare.Data/Configurations/PhotoShareDbConfiguration.cs | 243 | C# |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------... | 31.781395 | 113 | 0.438168 | [
"MIT"
] | 3quanfeng/azure-powershell | src/ConnectedKubernetes/generated/runtime/Iso/IsoDate.cs | 6,621 | C# |
using ExRam.Gremlinq.Core.Serialization;
namespace ExRam.Gremlinq.Core
{
public sealed class NoneStep : Step
{
public static readonly NoneStep Instance = new NoneStep();
private NoneStep()
{
}
public override void Accept(IGremlinQueryElementVisitor visitor)
{
... | 20.529412 | 72 | 0.584527 | [
"MIT"
] | SyntaxUnknown/ExRam.Gremlinq | ExRam.Gremlinq.Core/Queries/Steps/CoinStep.cs | 700 | C# |
using System;
using EventStore.Core.Messaging;
namespace EventStore.Projections.Core.Messages
{
public abstract class CoreProjectionManagementMessageBase : Message
{
private static readonly int TypeId = System.Threading.Interlocked.Increment(ref NextMsgId);
public override int MsgTypeId
... | 24.481481 | 99 | 0.645991 | [
"Apache-2.0",
"CC0-1.0"
] | cuteant/EventStore-DotNetty-Fork | src/EventStore.Projections.Core/Messages/CoreProjectionManagementMessageBase.cs | 663 | C# |
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Identity;
using Volo.Abp.ObjectExtending;
using Volo.Abp.Threading;
namespace EShopOnAbp.IdentityService
{
public static class IdentityServiceModuleExtensionConfigurator
{
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunne... | 36.986301 | 109 | 0.526296 | [
"MIT"
] | 271943794/eShopOnAbp | services/identity/src/EShopOnAbp.IdentityService.Domain.Shared/IdentityServiceModuleExtensionConfigurator.cs | 2,702 | C# |
using Sushi.Mediakiwi.Data.MicroORM;
using Sushi.MicroORM.Mapping;
using System;
using System.Threading.Tasks;
namespace Sushi.Mediakiwi.Data
{
[DataMap(typeof(ComponentTargetMap))]
public class ComponentTarget : IComponentTarget
{
public class ComponentTargetMap : DataMap<ComponentTarget>
... | 32.893023 | 87 | 0.569287 | [
"MIT"
] | Supershift/Sushi.Mediakiwi | src/Sushi.Mediakiwi.Data/Data/ComponentTarget.cs | 7,074 | C# |
// <auto-generated>
// 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
// re... | 40.189873 | 464 | 0.607874 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/databoxedge/Microsoft.Azure.Management.DataBoxEdge/src/Generated/Models/StorageAccountCredential.cs | 6,350 | C# |
using System;
using Mono.Cecil;
using Mono.Cecil.Rocks;
namespace DemonWeaver.Extensions
{
public static class MethodReferenceExtensions
{
public static MethodReference MakeGeneric(this MethodReference self, params TypeReference[] arguments)
{
var reference = new MethodReference(sel... | 35.925 | 116 | 0.643702 | [
"MIT"
] | GeorgePetri/Demon | DemonWeaver/Extensions/MethodReferenceExtensions.cs | 1,437 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Security.Claims;
using Profile4d.Data;
using Profile4d.Domain;
namespace Profile4d.Web.Api.Controllers
{
[ApiController]
[Route("[controller... | 23.731034 | 69 | 0.614647 | [
"MIT"
] | RicardoGaefke/profile4d | src/Web.Api/Controllers/DynamicContent/ArchetypeDiscover.cs | 3,441 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace RTSEngine.RTSEngine
{
public class Time
{
public static float time;
public Time()
{
}
//Wait fucntion
... | 17.333333 | 53 | 0.520979 | [
"MIT"
] | RTSProductions/RTSEngine | RTSEngine/RTSEngine/Time.cs | 574 | C# |
#if !NOJSONNET
using NBitcoin.DataEncoders;
using NBitcoin.Protocol;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime... | 33.016443 | 323 | 0.687215 | [
"MIT"
] | endink/NBitcoin | NBitcoin/RPC/RPCClient.cs | 54,215 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace NameChanger
{
public class MemoryBlock
{
private Scan scan;
private long address = 0;
private int size = 0;
public List<long> results = new List<long>(... | 33.128655 | 249 | 0.468667 | [
"Unlicense"
] | plumbwicked/Gta5-Name-Changer | NameChanger/Scan.cs | 5,667 | C# |
/**
* Copyright 2016 d-fens 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 in... | 27.42 | 76 | 0.661561 | [
"Apache-2.0"
] | dfensgmbh/biz.dfch.CS.Examples.DI | src/biz.dfch.CS.Examples.DI.StructureMap/InjectionDependingOnAppConfig/DefaultPlugin.cs | 1,373 | C# |
/*--------------------------------------------------------------------------------------
Copyright © 2013 Theodoros Bebekis
teo.bebekis@gmail.com
--------------------------------------------------------------------------------------*/
using System;
us... | 34.072368 | 141 | 0.505889 | [
"Unlicense"
] | tbebekis/Tripous | Tripous.Data/Metadata/MetaField.cs | 5,182 | 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... | 35.945946 | 159 | 0.628822 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/CodeStar/Generated/Model/Internal/MarshallTransformations/DisassociateTeamMemberRequestMarshaller.cs | 3,990 | C# |
using PKISharp.WACS.Plugins.Base.Options;
using PKISharp.WACS.Plugins.Interfaces;
using PKISharp.WACS.Services;
using System.Threading.Tasks;
namespace PKISharp.WACS.Plugins.Base.Factories
{
/// <summary>
/// StorePluginFactory base implementation
/// </summary>
/// <typeparam name="TPlugin"></typepar... | 36.555556 | 160 | 0.735562 | [
"Apache-2.0"
] | SparebankenVest/win-acme | src/main.lib/Plugins/Base/OptionsFactories/StorePluginOptionsFactory.cs | 989 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TEventStore.Exceptions;
using TEventStore.Test.DomainEvents;
using Xunit;
namespace TEventStore.Test
{
public class ExceptionHandlingTest
{
private readonly EventStoreRepository _eventStoreRepository;
public E... | 36.106007 | 121 | 0.610883 | [
"Apache-2.0"
] | nusreta/TEventStore | TEventStore.Test/ExceptionHandlingTest.cs | 10,220 | C# |
using Microsoft.Extensions.Logging;
using Roadie.Library.Caching;
using Roadie.Library.Configuration;
using Roadie.Library.MetaData.ID3Tags;
using Roadie.Library.Utility;
using System;
using System.IO;
using System.Linq;
namespace Roadie.Library.Inspect.Plugins.Directory
{
public class EnsureArtistConsistent : Fo... | 38.671642 | 118 | 0.567734 | [
"MIT"
] | sphildreth/roadie | Roadie.Api.Library/Inspect/Plugins/Directory/EnsureArtistConsistent.cs | 2,595 | C# |
using SujaySarma.Sdk.WikipediaApi.SerializationObjects;
using System;
using System.Collections.Generic;
using System.Text.Json;
namespace SujaySarma.Sdk.WikipediaApi.Data
{
/// <summary>
/// Implements the "/data/citation/*" endpoints
/// </summary>
public class CitationClient : WikipediaClient
{... | 38.432203 | 105 | 0.592282 | [
"Apache-2.0"
] | sujayvsarma/SujaySarma.Sdk.WikipediaApi | src/Data/CitationClient.cs | 4,537 | C# |
using AdventOfCode2018.Helpers;
using AdventOfCode2018.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace AdventOfCode2018
{
public partial class Day3
{
[Fact]
public void Part1()
{
#region // Arrange
string exampl... | 30.259542 | 105 | 0.54667 | [
"Unlicense"
] | TeddMcAdams/AdventOfCode2018 | AdventOfCode2018/AdventOfCode2018/Day3.cs | 3,966 | C# |
using NimbleSearch.Foundation.Abstractions.Pipelines.MapResult;
namespace NimbleSearch.Foundation.Core.Pipelines.MapResult
{
public class SetNoResultsMessage : MapResultProcessor
{
public override void Process(MapResultArgs args)
{
if (args.TotalSearchResults <= 0)
... | 29.333333 | 77 | 0.629545 | [
"MIT"
] | aokour/NimbleSearch | src/Foundation/NimbleSearch.Core/Code/Pipelines/MapResult/SetNoResultsMessage.cs | 442 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Newtonsoft.Json;
namespace Trackable.Models
{
public class User : ModelBase<string>
{
public string Email { get; set; }
public string Name { get; set; }
[JsonIgnore]
public s... | 19.85 | 60 | 0.622166 | [
"MIT"
] | Microsoft/Bing-Maps-Fleet-Tracker | Backend/src/Trackable.Models/User.cs | 397 | C# |
// Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x3D579F4F, 64)]
public class STUConfigVarExpressionData : STUInstance
{
[STUField(0x882D0868, 0, ReaderType = typeof(InlineInstanceFieldReader))] // size: 16
public STUConfigVarExpressionFragment[] m_... | 30.772727 | 96 | 0.65288 | [
"MIT"
] | Pandaaa2507/OWLib | TankLib/STU/Types/STUConfigVarExpressionData.cs | 677 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 60.696 | 272 | 0.705615 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/Windows10DeviceFirmwareConfigurationInterfaceRequest.cs | 15,174 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace PlayersAndMonsters
{
public class Knight:Hero
{
public Knight(string name, int level)
:base(name, level)
{
}
}
}
| 14.8125 | 45 | 0.616034 | [
"MIT"
] | tonkatawe/SoftUni-Advanced | OOP/Inheritance - Exercise/PlayersAndMonsters/Knight.cs | 239 | C# |
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace PyrusApiClient
{
[JsonConverter(typeof(StringEnumConverter))]
public enum SendSmsStatus
{
[EnumMember(Value = "sent")]
Sent,
[EnumMember(Value = "delivered")]
Delivered,
[EnumMember(Value = "delivery_... | 17.608696 | 45 | 0.738272 | [
"MIT"
] | Vanwards/pyrusapi-csharp | Enums/SendSmsStatus.cs | 407 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BackgroundMove : MonoBehaviour
{
private float startPos,length,temp,dist;
[SerializeField]
private GameObject cam;
[SerializeField]
private SpriteRenderer[] spriteRenderer;
[SerializeField]
private S... | 29.613636 | 95 | 0.649271 | [
"MIT"
] | pqowp90/The-jet-man | Assets/code/BackgroundMove.cs | 1,303 | C# |
////////////////////////////////////////////////////////////////////////////////
using Markdig.Renderers;
using Markdig.Syntax.Inlines;
namespace MG.MDV
{
/// <see cref="Markdig.Renderers.Html.Inlines.DelimiterInlineRenderer"/>
public class RendererInlineDelimiter : MarkdownObjectRenderer<RendererM... | 29.947368 | 101 | 0.567663 | [
"MIT"
] | 963148894/QFramework | QFramework/QFramework.Unity.Editor/EasyIMGUI/MarkdownView/Scripts/Renderer/RendererInlineDelimiter.cs | 571 | C# |
using System;
namespace Wrld.Transport
{
/// <summary>
/// Allows a coordinate to be matched to a point on a transport network.
/// </summary>
public class TransportPositioner
{
/// <summary>
/// Uniquely identifies this object instance.
/// </summary>
pu... | 39.744048 | 162 | 0.606859 | [
"BSD-2-Clause"
] | Itchy-Fingerz/wrld-unity-ar-samples | Assets/Wrld/Scripts/Transport/TransportPositioner.cs | 6,677 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F
// Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace net.r_eg.IeXod.... | 42.484444 | 191 | 0.617219 | [
"MIT"
] | 3F/IeXod | src/Build.OM.UnitTests/ObjectModelRemoting/Helpers/ViewValidation.cs | 9,561 | C# |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
* -------------------------------------------------------------------------------... | 39.555556 | 105 | 0.565543 | [
"MIT"
] | joelhoisko/Runtime | Source/Events/Relativity/Consumer/ITenantOffsetRepository.cs | 1,068 | 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... | 34.35443 | 107 | 0.644805 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/ApplicationDiscoveryService/Generated/Model/ListConfigurationsResponse.cs | 2,714 | C# |
using System;
using System.Linq;
using Avalonia;
using Avalonia.Controls;
using Avalonia.LogicalTree;
using Avalonia.Styling;
using DataBox.Primitives.Layout;
namespace DataBox.Controls;
public class DataBoxPanel : VirtualizingStackPanel, IStyleable
{
Type IStyleable.StyleKey => typeof(DataBoxPanel);
intern... | 24.136364 | 121 | 0.685499 | [
"MIT"
] | wieslawsoltes/CellPanelDemo | src/DataBox/Controls/DataBoxPanel.cs | 1,064 | C# |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | 36.910891 | 118 | 0.583423 | [
"Apache-2.0"
] | 0xFireball/exascript2 | Src/IronPython/Runtime/Types/PythonTypeUserDescriptorSlot.cs | 3,728 | C# |
namespace GSMTest
{
using System;
public class Display
{
private const int InitialNumber = 0;
private int width;
private int heigth;
private int depth;
private long numberOfColors;
public Display()
{
this.Width = InitialNumber;
... | 22.30303 | 105 | 0.40625 | [
"MIT"
] | TeeeeeC/TelerikAcademy2015-2016 | 03. OOP/01. DefiningClassesPart1/GSMCallHistoryTest/Display.cs | 2,210 | C# |
using System.Threading.Tasks;
using AElf.Kernel.Blockchain.Application;
using AElf.Kernel.SmartContract.Application;
using AElf.Kernel.Txn.Application;
using AElf.Types;
using Microsoft.Extensions.Logging;
namespace AElf.Kernel.TransactionPool.Application
{
internal class TransactionToAddressValidationProvider : I... | 36.883721 | 119 | 0.702396 | [
"MIT"
] | 380086154/AElf | src/AElf.Kernel.TransactionPool/Application/TransactionToAddressValidationProvider.cs | 1,586 | C# |
namespace SPICA.PICA.Commands
{
public enum PICATextureCombinerColorOp
{
Color = 0,
OneMinusColor = 1,
Alpha = 2,
OneMinusAlpha = 3,
Red = 4,
OneMinusRed = 5,
Green = 8,
OneMinusGreen = 9,
Blue = 12,
OneMinusBlue = 13
}
}
| 18.529412 | 42 | 0.501587 | [
"Unlicense"
] | AkelaSnow/SPICA | SPICA/PICA/Commands/PICATextureCombinerColorOp.cs | 317 | C# |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00021643", true, 0xE1FF)]
[Attributes(9)]
public class LteB41TxGainIndex0
{
[ElementsCo... | 21.666667 | 60 | 0.615385 | [
"MIT"
] | HomerSp/EfsTools | EfsTools/Items/Efs/LteB41TxGainIndex0I.cs | 455 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.28125 | 153 | 0.606035 | [
"MIT"
] | AzureMentor/msgraph-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IPlannerPlansCollectionPage.cs | 1,193 | 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 ... | 38.833333 | 97 | 0.767627 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-ecs/Ecs/Transform/V20140526/CreateActivationResponseUnmarshaller.cs | 1,631 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Owin;
using Whitelist_Administration_Tool.Model... | 36.054688 | 101 | 0.587866 | [
"MIT"
] | TannerBragg/MinecraftWhitelistAdminTool | src/UI/Whitelist Administration Tool/Whitelist Administration Tool/Account/Manage.aspx.cs | 4,617 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using GAPoTNumLib.Text.Linear.LineHeader;
namespace GAPoTNumLib.Text.Linear
{
public class LinearTextComposer
{
/// <summary>
/// The list of lines added to the text log
/// </summary>
private r... | 30.838063 | 142 | 0.548452 | [
"MIT"
] | ga-explorer/GAPoTNumLib | GAPoTNumLib/GAPoTNumLib/Text/Linear/LinearTextComposer.cs | 18,474 | C# |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ApacheJenaSample.Csv.Aotp.Mapper;
using ApacheJenaSample.Csv.Aotp.Model;
using TinyCsvParser;
namespace ApacheJenaSample.Csv.Aotp.Parser
{
public static... | 29.261905 | 101 | 0.603743 | [
"MIT"
] | bytefish/ApacheJenaSample | ApacheJenaSample/ApacheJenaSample.Csv.Aotp/Parser/Parsers.cs | 1,229 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solution.Base.Implementation.DTOs
{
public class WebApiPagedRequestDTO : BaseDTO
{
[JsonIgnore]
publ... | 21.035714 | 99 | 0.535654 | [
"MIT"
] | davidikin45/DigitalNomadDave | Solution.Base/Implementation/DTOs/WebApiPagedRequestDTO.cs | 1,180 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.Build.Framework;
using Microsoft.Build.Logging.StructuredLogger;
using NUnit.Framework;
using Xamarin.ProjectTools;
namespace Xamarin.Android.Build.Tests
{
[TestFixture, NonParall... | 30.674185 | 142 | 0.660103 | [
"MIT"
] | explorest/xamarin-android | tests/MSBuildDeviceIntegration/Tests/PerformanceTest.cs | 12,239 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Infrastructure.Migrations
{
public partial class Update1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Cre... | 45.346774 | 121 | 0.514138 | [
"MIT"
] | mecvillarina/Vider | src/backend/Infrastructure/Migrations/20220220090508_Update1.cs | 5,625 | C# |
// <auto-generated />
namespace Musicas.AcessoDados.Entity.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.4.4")]
public sealed parti... | 27.633333 | 95 | 0.623643 | [
"MIT"
] | guiagostini/Cursos-Tutoriais | Musicas/Musicas.AcessoDados.Entity/Migrations/202101261438547_AdicaoMusica.Designer.cs | 831 | 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... | 27.8875 | 101 | 0.550426 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-rancher2 | sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs | 2,231 | 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 Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities... | 39.78733 | 230 | 0.582623 | [
"Apache-2.0"
] | iseneirik/roslyn-pt | src/Compilers/CSharp/Test/Symbol/Symbols/MissingSpecialMember.cs | 96,725 | C# |
namespace FatturaElettronica.Common
{
/// <summary>
/// XML serialization options for BusinessObject instances.
/// </summary>
public class XmlOptions
{
/// <summary>
/// Format string to be applied on DateTime properties. This format will be ignored if the IgnoreXmlDateFormat attri... | 39.451613 | 142 | 0.611611 | [
"BSD-3-Clause"
] | andmattia/FatturaElettronica.Core | XmlOptions.cs | 1,225 | C# |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.RegularExpressions;
using static LiteDB.Constants;
namespace LiteDB
{
/// <summary>
/// Class that convert... | 40 | 259 | 0.547953 | [
"MIT"
] | AppyxDaniel/LiteDB | LiteDB/Client/Mapper/BsonMapper.cs | 24,922 | C# |
using System.Threading.Tasks;
namespace Proto.TestFixtures
{
public class DoNothingActor : IActor
{
public Task ReceiveAsync(IContext context) => Task.CompletedTask;
}
}
| 19.2 | 73 | 0.708333 | [
"Apache-2.0"
] | AsynkronIT/protoactor-dotnet-contrib | tests/Proto.TestFixtures/DoNothingActor.cs | 194 | C# |
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("FluentBuilder.Br")]
[assembly: AssemblyDe... | 41.114286 | 111 | 0.750521 | [
"MIT"
] | robsoncastilho/FluentBuilder | src/Nosbor.FluentBuilder.Br/Properties/AssemblyInfo.cs | 1,446 | C# |
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
using NetOffice.OfficeApi;
namespace NetOffice.OfficeApi.Behind
{
/// <summary>
/// DispatchInterface SmartArt... | 30.66092 | 193 | 0.610122 | [
"MIT"
] | igoreksiz/NetOffice | Source/Office/Behind/DispatchInterfaces/SmartArtQuickStyles.cs | 5,337 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// asso... | 43.053571 | 99 | 0.691414 | [
"MIT"
] | demidko/SVGE | SVGE/Properties/AssemblyInfo.cs | 2,414 | C# |
using System;
namespace Unity.WebRTC
{
public class RefCountedObject : IDisposable
{
internal IntPtr self;
protected bool disposed;
internal RefCountedObject(IntPtr ptr)
{
self = ptr;
WebRTC.Context.AddRefPtr(self);
}
public virtual voi... | 19.885714 | 62 | 0.479885 | [
"Apache-2.0"
] | GravitySketch/com.unity.webrtc | Runtime/Scripts/RefCountedObject.cs | 696 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Metaheuristics
{
public class DiscretePSOBL42SP : DiscretePSO
{
public TwoSPInstance Instance { get; protected set; }
protected int generatedSolutions;
public DiscretePSOBL42SP(TwoSPInstance instance, in... | 26.93617 | 96 | 0.654818 | [
"MIT"
] | yasserglez/metaheuristics | Common/2SP/DiscretePSOBL42SP.cs | 1,266 | C# |
using System.Runtime.Serialization;
namespace Xbox.Music
{
/// <summary>
///
/// </summary>
[DataContract]
public class Error
{
/// <summary>
/// The error code, as described in the following table of error codes.
/// </summary>
[DataMember]
public str... | 21.117647 | 79 | 0.54039 | [
"MIT",
"Unlicense"
] | luizbon/Xbox.Music | src/Xbox.Music/Models/Error.cs | 720 | C# |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | 50.043548 | 368 | 0.573984 | [
"ECL-2.0",
"Apache-2.0"
] | Gallio/mbunit-v3 | src/Gallio/Gallio.Tests/Runtime/Extensibility/PluginCatalogTest.cs | 31,027 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.Json;
namespace Zen.Utilities
{
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public class DataList<T> : IEnumerable<T> where T : IIdentifiedById
{
p... | 23.687943 | 116 | 0.469461 | [
"MIT"
] | gmoller/Zen.Utilities | Utilities/DataList.cs | 3,342 | C# |
/*
* Piping is a way to compose a handler piple line, allowing a handler be composed of
* smaller and potentially reusable operations.
*/
// ReSharper disable once CheckNamespace
namespace Cedar.CommandHandling.Example.Piping
{
using System.Threading.Tasks;
using Cedar.CommandHandling;
public class C... | 27.393939 | 86 | 0.594027 | [
"MIT"
] | heynickc/Cedar.CommandHandling | src/Cedar.CommandHandling.Example/02_Piping.cs | 906 | C# |
using System;
namespace PrismOutlook.Core
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class DependentViewAttribute : Attribute
{
public string Region { get; set; }
public Type Type { get; set; }
public DependentViewAttribute(string region, Type type)
... | 23.72 | 66 | 0.583474 | [
"MIT"
] | ComtelJeremy/PrismOutlook | PrismOutlook.Core/DependentViewAttribute.cs | 595 | C# |
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor;
namespace UnityEngine.Experimental.Input.Editor
{
internal class CopyPasteUtility
{
const string kInputAssetMarker = "INPUTASSET\n";
InputActionListTreeView m_TreeView;
... | 39.015674 | 139 | 0.493974 | [
"Apache-2.0"
] | sirslade/ssjAug2018 | Packages/com.unity.inputsystem/InputSystem/Editor/InputActionAsset/CopyPasteUtility.cs | 12,446 | C# |
// Copyright (c) 2019 DHGMS Solutions and Contributors. All rights reserved.
// This file is licensed to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System;
namespace Whipstaff.AspNetCore.Features.Generics
{
/// <summary>
/// Helper methods for d... | 33.682927 | 115 | 0.573497 | [
"MIT"
] | dpvreony/whipstaff | src/Whipstaff.AspNetCore/Features/Generics/GenericHelpers.cs | 1,383 | C# |
using System;
using System.Collections.Generic;
using De.Osthus.Ambeth.Cache;
using De.Osthus.Ambeth.Merge.Model;
using De.Osthus.Ambeth.Test.Model;
using De.Osthus.Ambeth.Cache.Model;
namespace De.Osthus.Ambeth.Xml.Test
{
public class CacheMock : ICache, IDisposableCache
{
public void Dispose()
... | 27.948529 | 116 | 0.524862 | [
"Apache-2.0"
] | Dennis-Koch/ambeth | ambeth/Ambeth.Test/ambeth/xml/CacheMock.cs | 3,803 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FizzBuzz
{
class Program
{
static void Main(string[] args)
{
foreach(var line in File.ReadAllLines(args[0]))
{
... | 27.114286 | 69 | 0.433087 | [
"MIT"
] | idstam/codeeval | csharp/FizzBuzz/Program.cs | 951 | C# |
// Copyright (c) Zuzana Dankovcikova. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using BugHunter.Core.ApiReplacementAnalysis;
using BugHunter.Core.Constants;
using BugHunter.Core.Helpers.DiagnosticDescri... | 42.977778 | 159 | 0.726991 | [
"MIT"
] | Kentico/bug-hunter | src/BugHunter.Analyzers/CmsApiReplacementRules/Analyzers/ClientScriptMethodsAnalyzer.cs | 1,934 | C# |
/*
* Copyright (c) 2018 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha
*
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;... | 29.96875 | 81 | 0.53415 | [
"MIT"
] | Bia10/piranha.core | core/Piranha/Services/PostTypeService.cs | 3,839 | C# |
using Bushtail_Sports.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bushtail_Sports.Viewmodel
{
public class VM_Settings : ViewModelBase
{
}
}
| 17.428571 | 44 | 0.770492 | [
"MIT"
] | Lamiput/Bushtail-Sports | Bushtail-Sports/Viewmodel/VM_Settings.cs | 246 | C# |
using System.Text.Json.Serialization;
namespace Iot.PnpDashboard.Devices.Dtdl
{
public class InterfaceSchema
{
[DTMI]
[JsonPropertyName("@id")]
public string Id { get; set; }
[IRI]
[JsonPropertyName("@type")]
public string Type { get; set; }
[JsonPrope... | 22.96 | 47 | 0.592334 | [
"MIT"
] | Azure-Samples/azure-iot-dashboard | src/Iot.Pnp.Dashboard/Devices/DTDL/InterfaceSchema.cs | 576 | C# |
using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// MybankCreditSceneprodVidGetModel Data Structure.
/// </summary>
[Serializable]
public class MybankCreditSceneprodVidGetModel : AlipayObject
{
/// <summary>
/// 支付宝版本号
... | 25.324324 | 82 | 0.563501 | [
"MIT"
] | gebiWangshushu/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankCreditSceneprodVidGetModel.cs | 1,039 | C# |
using System;
using System.Text.Json.Serialization;
using Trakx.Common.Serialisation.Converters;
namespace Trakx.Common.Sources.Messari.DTOs
{
public partial class MarketData
{
[JsonPropertyName("price_usd")]
public decimal? PriceUsd { get; set; }
[JsonPropertyName("price_btc")]
... | 34.65 | 77 | 0.698413 | [
"MIT"
] | fakecoinbase/trakxslashtrakx-tools | src/Trakx.Common/Sources/Messari/DTOs/MarketData.cs | 1,388 | 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... | 43.804124 | 178 | 0.655448 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/ElasticFileSystem/Generated/Model/MountTargetNotFoundException.cs | 4,249 | C# |
/*
Exemplary file for Chapter 4 - Data Storage.
Recipe: Writing a binary file.
*/
using CH04.Models;
using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Windows.Storage;
namespace CH04.ViewModels
{
[Imple... | 31.4125 | 113 | 0.549542 | [
"MIT"
] | PacktPublishing/Windows-Application-Development-Cookbook | Chapter 4/04-15 - Writing a binary file/MainViewModel.cs | 2,513 | C# |
using System.ComponentModel.DataAnnotations;
namespace MediaLibrary.Models
{
public class Genre : EntityBase
{
[Required]
public string Name { get; set; }
}
}
| 17.909091 | 48 | 0.624365 | [
"MIT"
] | mrbiglari/MediaLibrary | src/MediaLibrary/MediaLibrary/Entity/Genre/Genre.cs | 199 | C# |
namespace More.VisualStudio.Views
{
using Microsoft.CodeAnalysis.MSBuild;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
using System.Reflection;... | 41.065217 | 220 | 0.54685 | [
"MIT"
] | JTOne123/More | src/Sdk/More.VisualStudio.TemplateWizards/Views/TypePicker.Proxy.cs | 7,558 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VTrajectory : ITrajectory
{
private VTrajectoryData _data;
public StraightTrajectory[] _straights;
private float[] _xPos = new float[3];
private StraightTrajectory _currentTrajectory;
public void Init(... | 22.662651 | 67 | 0.572568 | [
"MIT"
] | BlueMonk1107/AirCombatGameDemo | Assets/Scripts/Logic/Trajectory/VTrajectory.cs | 1,943 | C# |
using System;
using System.Threading.Tasks;
using Crunch.NET.Request;
using Microsoft.Extensions.Logging;
namespace Bot.Builder.Community.Adapters.Crunch.Core
{
/// <summary>
/// Alexa Authorization Handler.
/// </summary>
public class AlexaAuthorizationHandler
{
/// <summary>
/// ... | 36.052632 | 152 | 0.590365 | [
"MIT"
] | heckej/Music-master | MusicMaster/MusicMasterBot/MusicMasterBot/Bot.Builder.Community.Adapters.Alexa.Core/AlexaAuthorizationHandler.cs | 3,427 | C# |
using System;
namespace UtmCliUtility
{
public static class EnumerableHelper
{
public static int FirstIndexOf<T>(this T[] array, Func<T, bool> predicate)
{
for (int i = 0; i < array.Length; i++)
{
if (predicate(array[i])) return i;
}
... | 24.322581 | 98 | 0.428382 | [
"MIT"
] | sharakadi/utm-cli-utility | EnumerableHelper.cs | 756 | 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://w... | 40.254902 | 187 | 0.616171 | [
"MIT"
] | FonsecaSergio/azure-powershell | src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatPool/RemoveAzureLoadBalancerInboundNatPoolConfigCommand.cs | 2,005 | C# |
// Copyright (c) Gurmit Teotia. Please see the LICENSE file in the project root for license information.
using System.Linq;
using Amazon.SimpleWorkflow;
using Guflow.Decider;
using Guflow.Tests.TestWorkflows;
using Moq;
using NUnit.Framework;
namespace Guflow.Tests.Decider
{
[TestFixture]
public class Activit... | 41.209524 | 216 | 0.693552 | [
"Apache-2.0"
] | Seekatar/guflow | Guflow.Tests/Decider/Activity/ActivityCompletedEventTests.cs | 4,329 | C# |
#region License
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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/lic... | 29.010989 | 106 | 0.647538 | [
"Apache-2.0"
] | ByteDecoder/Castle.Facilities.NHibernateIntegration | src/Castle.Facilities.NHibernateIntegration/SessionStores/AbstractSessionStore.cs | 5,099 | C# |
// Copyright 2019 faddenSoft. All Rights Reserved.
// See the LICENSE.txt file for distribution terms (Apache 2.0).
using System;
using System.Collections.Generic;
using PluginCommon;
namespace RuntimeData.Test2022 {
public class Test2022B : MarshalByRefObject, IPlugin, IPlugin_InlineBrk {
private IAppl... | 41.971963 | 99 | 0.524605 | [
"Apache-2.0"
] | Michaelangel007/6502bench | SourceGen/SGTestData/2022-extension-scripts-b.cs | 4,493 | C# |
using System;
using System.Linq;
using CMS.DataEngine;
using CMS.Ecommerce;
using CMS.Ecommerce.Web.UI;
using CMS.FormEngine.Web.UI;
using CMS.Helpers;
using CMS.SiteProvider;
using CMS.UIControls;
public partial class CMSModules_Ecommerce_FormControls_DepartmentSelector : SiteSeparatedObjectSelector
{
#region ... | 25.084175 | 149 | 0.594228 | [
"MIT"
] | BryanSoltis/KenticoMVCWidgetShowcase | CMS/CMSModules/Ecommerce/FormControls/DepartmentSelector.ascx.cs | 7,452 | C# |
using Saucery.Dojo;
using Saucery.Options.Base;
using Saucery.Options.ConcreteProducts;
namespace Saucery.Options.ConcreteCreators;
internal class EdgeCreator : Creator {
public override BaseOptions Create(BrowserVersion browserVersion, string testName) {
return new EdgeBrowserOptions(browserVersion, tes... | 25.375 | 88 | 0.773399 | [
"MIT"
] | Sauceforge/Saucery | Saucery/Options/ConcreteCreators/EdgeCreator.cs | 408 | C# |
#pragma checksum "D:\CastleChat\CastleChat\Views\Room\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "46e08a7b483874cbac43a0f385b1d02207927a1c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Room_Create)... | 57.852113 | 359 | 0.72112 | [
"MIT"
] | yosa12978/CastleChat | CastleChat/obj/Debug/netcoreapp3.1/Razor/Views/Room/Create.cshtml.g.cs | 8,215 | C# |
namespace StardewMods.FuryCore.Models.CustomEvents;
using System;
using System.Collections.Generic;
using StardewMods.FuryCore.Interfaces.CustomEvents;
using StardewMods.FuryCore.Interfaces.GameObjects;
/// <inheritdoc cref="StardewMods.FuryCore.Interfaces.CustomEvents.IGameObjectsRemovedEventArgs" />
internal class... | 36.409091 | 99 | 0.745318 | [
"MIT"
] | Brex09/StardewMods | FuryCore/Models/CustomEvents/GameObjectsRemovedEventArgs.cs | 803 | C# |
// Copyright 2017 Google Inc. 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 required by applicabl... | 36.314286 | 110 | 0.707317 | [
"Apache-2.0"
] | amanda-tarafa/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtension/VsVersion/VS15/ToolsPathProvider.cs | 1,273 | C# |
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Material.Demo.Pages
{
public class TypographyDemo : UserControl
{
public TypographyDemo()
{
this.InitializeComponent();
}
private void InitializeComponent()
{
Avaloni... | 18.1 | 45 | 0.60221 | [
"MIT"
] | Al-Dyachkov/Material.Avalonia | Material.Demo/Pages/TypographyDemo.axaml.cs | 364 | C# |
using System.Collections.Generic;
using RiotGamesApi.Enums;
using RiotGamesApi.Libraries.Lol.Enums;
using RiotGamesApi.Libraries.Lol.v3.NonStaticEndPoints.ChampionMastery;
using RiotGamesApi.Models;
using RiotGamesApi.Tests.Others;
using Xunit;
namespace RiotGamesApi.Tests.RiotGamesApis
{
public class CHAMPION_MA... | 34.4 | 83 | 0.6 | [
"MIT"
] | msx752/RiotGamesAPI | RiotGamesApi.Tests/RiotGamesApis/CHAMPION_MASTERY_V3.cs | 1,722 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace ModernSlavery.WebUI.Shared.Classes.Attributes
{
/// <summary>
/// This attribute is used in place of MaxLengthAttribute to avoid rendering of maxlength attributes onto form fields
/// The code was copied from ... | 45.354167 | 232 | 0.612311 | [
"MIT"
] | mccabesp/ModernSlavery-Beta | ModernSlavery.WebUI.Shared/Classes/Attributes/TextLengthAttribute.cs | 4,356 | C# |
using System;
using Quartz.Plugin.Xml;
using Quartz.Util;
namespace Quartz
{
public static class PluginConfigurationExtensions
{
public static T UseXmlSchedulingConfiguration<T>(
this T configurer,
Action<XmlSchedulingOptions> configure) where T : IPropertyConfigurationRoot
... | 28.680851 | 141 | 0.629822 | [
"Apache-2.0"
] | KravaNick/quartznet | src/Quartz.Plugins/PluginConfigurationExtensions.cs | 1,348 | C# |
// TODO LIST
/*
Add filters to ESPs?
Make ESP less laggy??
*/
// On Risk of Rain 2 Update: Update Unlockables.txt, Update Unreleased items list if needed
// On Menu update, Update Version Variable and ffs Update Assembly Version...
// When Adding A Button To A Menu, Update Menu Value Range in Navigation.UpdateIndexVal... | 39.354421 | 302 | 0.509737 | [
"MIT"
] | Mochongli/Umbra-Mod-Menu | Main.cs | 54,742 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL;
using GraphQL.Types;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using RESTfullDemo.GraphQLSchema;
namespace RESTfullDemo.Controllers
{
[Route("graphql")]
[ApiController]
pu... | 26.045455 | 91 | 0.626527 | [
"MIT"
] | dotnet9/ASP.NET-Core-Test | src/RESTfullDemo/Controllers/GraphQLController.cs | 1,148 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// RetailItemDescription Data Structure.
/// </summary>
[Serializable]
public class RetailItemDescription : AlipayObject
{
/// <summary>
... | 23.692308 | 53 | 0.594156 | [
"MIT"
] | gebiWangshushu/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/RetailItemDescription.cs | 682 | C# |
namespace GildedRose.Console
{
public class RetailItem
{
public const int MaxQuality = 50;
public RetailItem(Item item)
{
Item = item;
}
private Item Item { get; set; }
public string Name
{
get { return Item.Name; }
s... | 19.149254 | 57 | 0.41855 | [
"MIT"
] | nlinas/GildedRoseRefactor | src/GildedRose.Console/Items/RetailItem.cs | 1,283 | C# |
using RealTime.Controllers;
using Microsoft.AspNetCore.Mvc;
namespace RealTime.Extensions
{
public static class UrlHelperExtensions
{
public static string EmailConfirmationLink(this IUrlHelper urlHelper, string userId, string code, string scheme)
{
return urlHelper.Action(
... | 32.62963 | 124 | 0.607264 | [
"BSD-2-Clause"
] | earth-emoji/realtime | Extensions/UrlHelperExtensions.cs | 881 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Xaml;
namespace Microsoft.Maui.Controls.ControlGallery.TabIndexTest
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial cla... | 20.6 | 61 | 0.791262 | [
"MIT"
] | jongalloway/maui | src/ControlGallery/src/Xamarin.Forms.Controls/TabIndexTest/DaysOfWeekView.xaml.cs | 414 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.