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 Newtonsoft.Json;
using TMDbLib.Objects.Account;
using TMDbLib.Objects.Authentication;
using TMDbLib.Objects.General;
using TMDbLib.Utilities.Converters;
using ParameterType = TMDbLib.Rest.ParameterType;
using RestClient = TMDbLib.Rest.RestClient;
using RestRequest = TMDbLib.Rest.RestRequest;
using ... | 41.520913 | 207 | 0.601374 | [
"MIT"
] | Sl1MBoy/TMDbLib | TMDbLib/Client/TMDbClient.cs | 10,922 | C# |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace ApiClient
{
public class DataService
{
private static DataService _instance = new DataService();
private HttpClient _client = new HttpClient();
private string _baseUrl = "... | 22.641791 | 104 | 0.684245 | [
"MIT"
] | ArtUstimovInMoscowPolytech/BasicPhpApi | csharp/ApiClient/ApiClient/DataService.cs | 1,555 | C# |
using System;
namespace Milou.Deployer.Waws
{
public sealed class DeploymentException : Exception
{
public DeploymentException(string message) : base(message)
{
}
}
} | 18.545455 | 66 | 0.642157 | [
"MIT"
] | niklaslundberg/milou.deployer | src/Milou.Deployer.Waws/DeploymentException.cs | 206 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.daowei.order.confirm
/// </summary>
public class AlipayDaoweiOrderConfirmRequest : IAlipayRequest<AlipayDaoweiOrderConfirmResponse>
... | 22.532258 | 99 | 0.545097 | [
"MIT"
] | Msy1989/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDaoweiOrderConfirmRequest.cs | 2,808 | C# |
using System.Xml.Serialization;
namespace Amazon.Elb
{
public class DescribeTargetGroupAttributesResponse : IElbResponse
{
[XmlElement]
public DescribeTargetGroupAttributesResult DescribeTargetGroupAttributesResult { get; set; }
}
public class DescribeTargetGroupAttributesRe... | 29.606061 | 106 | 0.69089 | [
"MIT"
] | alexandercamps/Amazon | src/Amazon.Elb/Actions/DescribeTargetGroupAttributesResponse.cs | 979 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using TEA.MVVM;
using TestTools;
namespace TEA.MVVMTest {
public class OneSelectionRenderTest {
public enum Selection {
NoneSelection,
First,
Second,
Third,
}
... | 37.901961 | 145 | 0.559062 | [
"MIT"
] | Sinsjr2/TEA | src/TEA.MVVMTest/OneSelectionRenderTest.cs | 5,799 | C# |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine {
/... | 27.380952 | 59 | 0.733913 | [
"MIT"
] | UE4DotNet/Plugin | DotNet/DotNet/UE4/Generated/Engine/CylinderHeightAxis.cs | 575 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Fateblade.Haushaltsbuch.Logic.Foundation.OrchestratableDialogs.Contract;
namespace Fateblade.Haushaltsbuch.Logic.Foundation.OrchestratableDialogs.CommonUserInputDialogs.Contract.DataClasses
{
public class InfoDialogResult : IDialogResult
... | 25.705882 | 116 | 0.773455 | [
"MIT"
] | Fateblade/Haushaltsbuch | OrchestratableDialogs.CommonUserInputDialogs.Contract/DataClasses/InfoDialog.cs | 439 | 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... | 27.345679 | 135 | 0.599549 | [
"Apache-2.0"
] | ianb888/aws-sdk-net | sdk/src/Services/WorkLink/Generated/AmazonWorkLinkConfig.cs | 2,215 | C# |
using Abp.Application.Navigation;
using Abp.Authorization;
using Abp.Localization;
using tarea2.Authorization;
namespace tarea2.Web
{
/// <summary>
/// This class defines menus for the application.
/// It uses ABP's menu system.
/// When you add menu items here, they are automatically appear in angula... | 44.847222 | 107 | 0.403685 | [
"MIT"
] | jcarlos0605/Tarea2.net | tarea2/5.7.0/src/tarea2.Web/App_Start/tarea2NavigationProvider.cs | 6,460 | C# |
using Neo.SmartContract;
using Neo.VM;
using System;
namespace Neo.Wallets
{
public class AssetDescriptor
{
public UInt160 AssetId;
public string AssetName;
public byte Decimals;
public AssetDescriptor(UInt160 asset_id)
{
byte[] script;
using (S... | 28.457143 | 90 | 0.575301 | [
"MIT"
] | SeppPenner/neo | neo/Wallets/AssetDescriptor.cs | 998 | C# |
using System.Collections.Generic;
using System.Text;
using Nethereum.Hex.HexConvertors.Extensions;
namespace Nethereum.Signer
{
public class EthereumMessageSigner : MessageSigner
{
public override string EcRecover(byte[] message, string signature)
{
return base.EcRecover(HashPrefixe... | 32.333333 | 103 | 0.633717 | [
"MIT"
] | 6ara6aka/Nethereum | src/Nethereum.Signer/EthereumMessageSigner.cs | 1,649 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.694444 | 153 | 0.585214 | [
"MIT"
] | GeertVL/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IMuteParticipantsOperationRequestBuilder.cs | 1,285 | C# |
using Orchard.ContentManagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Orchard.CRM.Core.Models
{
public class TicketMenuItemPart : ContentPart<TicketMenuItemPartRecord>
{
}
} | 20.333333 | 75 | 0.782787 | [
"MIT"
] | AccentureRapid/OrchardCollaboration | src/Orchard.Web/Modules/Orchard.CRM.Core/Models/TicketMenuItemPart.cs | 244 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JunYueShouCardLogic : CardLogic
{
public override void Init()
{
base.Init();
this.Color = CardLogicColor.white;
this.displayName = LocalizationMgr.Instance.GetLocalizationWord("CT_N_175");
this.Desc = s... | 31.118644 | 149 | 0.724946 | [
"Apache-2.0"
] | Shadowrabbit/BigBiaDecompilation | Source/Assembly-CSharp/JunYueShouCardLogic.cs | 1,842 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... | 34.879397 | 136 | 0.50036 | [
"MIT"
] | kn1k/NewPlatform.Flexberry.ORM.ODataService | Tests/Objects/Driver.cs | 7,077 | C# |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace DemoStartUp
{
using System;
class Program
{
static void Main(string[] args)
{
const string host = "localhost";
const int port = 8089;
... | 27 | 114 | 0.483333 | [
"MIT"
] | 6bee/Remote.Linq-Samples | RemoteQueryable/10_UsingJsonSerializationOverWebApi/DemoStartUp/Program.cs | 1,082 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Ecas.Dyn365Service.Utils;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace Ecas.Dyn365Service.Controllers
{
/// <su... | 47.042857 | 216 | 0.634072 | [
"Apache-2.0"
] | arcshiftsolutions/EDUC-ECAS | web-api/Ecas.Dyn365Service/Controllers/MetadataController.cs | 3,295 | 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.
namespace Microsoft.AspNetCore.Components.WebAssembly.Http
{
/// <summary>
/// Specifies a value for the 'credentials' option on outbound HTTP r... | 34.517241 | 111 | 0.633367 | [
"Apache-2.0"
] | 1175169074/aspnetcore | src/Components/WebAssembly/WebAssembly/src/Http/BrowserRequestCredentials.cs | 1,001 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Bytewizer.TinyCLR.Numerics
{
public struct BigInteger : IComparable
{
//LSB on [0]
readonly uint[] data;
readonly short sign;... | 29.528055 | 156 | 0.409984 | [
"MIT"
] | bytewizer/runtime | src/Bytewizer.TinyCLR.Numerics/Numerics/BigInteger.cs | 85,779 | C# |
using Dictionary.Domain.Abstracts;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Dictionary.Data.Entities
{
public class Meaning : DBaseEntity
{
public Meaning()
{
WordTypes... | 24.794118 | 68 | 0.626335 | [
"MIT"
] | metekoroglu/Dictionary | Dictionary.Data/Entities/Meaning.cs | 845 | C# |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;
namespace HappyTesting.Editor {
internal static partial class Generator {
static readonly object parallellLock = new();
[MenuItem("Assets/HappyTesting/Generate T... | 39.363636 | 104 | 0.550231 | [
"MIT"
] | naninunenoy/HappyTesting | Assets/HappyTesting/Editor/Generator.cs | 3,512 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PTSharp
{
class MC
{
public static T[] Concat<T>(params T[][] arrays)
{
// return (from array in arrays from arr in array select arr).ToArray();
var result = new T[arrays.Sum(a => a.... | 50.675234 | 125 | 0.354742 | [
"MIT"
] | xfischer/PTSharp | MC.cs | 21,689 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.Mono.Cecil.Pdb;
using ILRuntime.Reflection;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Generated;
using ILRuntime.Runtime.Intepreter;
using LitJson;
using UnityEngi... | 29.440945 | 110 | 0.548007 | [
"MIT"
] | yzx4036/QFramework | Unity2019ILRuntime/Assets/QFramework/ILRuntime/Runtime/Framework/ScriptHelper/ILRuntimeHelper.cs | 3,815 | 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 System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using Moq;
using Newtonsoft.Json.Linq;
using... | 47.773234 | 278 | 0.618862 | [
"Apache-2.0"
] | BdDsl/NuGet.Client | test/NuGet.Core.Tests/NuGet.Credentials.Test/PluginManagerMock.cs | 12,851 | C# |
//
// Copyright 2020 Google LLC
//
// 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, Ver... | 38.861004 | 112 | 0.539096 | [
"Apache-2.0"
] | bluPhy/iap-desktop | sources/Google.Solutions.IapDesktop.Application/Services/Settings/ApplicationSettingsRepository.cs | 10,067 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
namespace Contoso.Branding.CustomCSSWeb
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
... | 21.375 | 68 | 0.719298 | [
"Apache-2.0"
] | AKrasheninnikov/PnP | Samples/Branding.CustomCSS/Branding.CustomCSSWeb/Global.asax.cs | 344 | C# |
using System;
namespace Open_Lab_04._01
{
class Program
{
public static bool DoubleLetters(string str)
{
for (var i = 0; i < str.Length -1; i++)
{
if (str[i] == str[i + 1])
{
return true;
}
... | 19.555556 | 52 | 0.416667 | [
"MIT"
] | matejslovak/Open-Lab-04.01 | Open-Lab-04.01/Program.cs | 530 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Machine.UrlStrong.Translation.Model;
namespace Machine.UrlStrong.Translation.Parsing
{
public class ParseResultBuilder : IParseListener
{
int _currentLineNumber;
string _currentLine;
string _namespa... | 26.409836 | 102 | 0.612973 | [
"MIT"
] | machine/machine.urlstrong | Source/Machine.UrlStrong.Translation/Parsing/ParseResultBuilder.cs | 3,224 | C# |
// Copyright © 2017 - 2018 Chocolatey Software, Inc
// Copyright © 2011 - 2017 RealDimensions Software, 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
//
// http://ww... | 38.297959 | 147 | 0.569807 | [
"Apache-2.0"
] | FranklinYu/choco | src/chocolatey.tests.integration/scenarios/ListScenarios.cs | 18,770 | C# |
using AutoMapper;
using HC.WeChat.QuestionOptions;
using HC.WeChat.QuestionOptions.Dtos;
namespace HC.WeChat.QuestionOptions.Mapper
{
/// <summary>
/// 配置QuestionOption的AutoMapper
/// </summary>
internal static class QuestionOptionMapper
{
public static void CreateMappings(IMapperConfigurationE... | 27.36 | 87 | 0.722222 | [
"MIT"
] | DonaldTdz/GAWeChat | aspnet-core/src/HC.WeChat.Application/QuestionOptions/Mapper/QuestionOptionMapper.cs | 690 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using RestAPIWithASPNET.Business;
using RestAPIWithAS... | 31.962264 | 109 | 0.603011 | [
"Apache-2.0"
] | murillo120/RestAPIWithASPNET | RestAPIWithASPNET/RestAPIWithASPNET/Startup.cs | 3,388 | C# |
// Copyright (c) 2018 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT licence. See License.txt in the project root for license information.
using AutoMapper;
using GenericBizRunner;
using Microsoft.EntityFrameworkCore;
using TestBizLayer.BizDTOs;
namespace Tests.DTOs
... | 34.8125 | 103 | 0.697487 | [
"MIT"
] | Anapher/EfCore.GenericBizRunner | Tests/DTOs/ServiceLayerBizOutDto.cs | 1,116 | 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/Audioclient.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... | 38.826923 | 145 | 0.653294 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | tests/Interop/Windows/um/Audioclient/IAudioAmbisonicsControlTests.cs | 2,021 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 46.105263 | 157 | 0.626142 | [
"Unlicense"
] | gkhachatryan/WPF_XAML_Examples | SoccerDataBinding/SoccerDataBinding/Properties/Settings.Designer.cs | 1,754 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerDemand.Application.CourseDemand.Services;
using SFA.DAS.EmployerDemand.Domain.Interfaces;
using SFA.DAS.Testing.AutoFixture;
names... | 35.285714 | 105 | 0.691498 | [
"MIT"
] | SkillsFundingAgency/das-employerdemand-api | src/SFA.DAS.EmployerDemand.Application.UnitTests/CourseDemand/Services/WhenGettingEmployerDemandsThatHaveNotBeenMet.cs | 1,235 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OPA.Statistics
{
/// <summary>
/// Analysis of Covariance
/// The implementation is based on ANCOVA tutorial at http://vassarstats.net/textbook/ch17pt1.html
///
/// For a regression model (x_i, y_i):
... | 40.30791 | 180 | 0.540052 | [
"MIT"
] | chen0040/cs-optimization-physical-algorithms | cs-optimization-physical-algorithms/Statistics/ANCOVA.cs | 14,269 | 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("Fl... | 37.641026 | 84 | 0.746594 | [
"MIT"
] | vincentnacar02/FlowEngine | FlowEngine/Properties/AssemblyInfo.cs | 1,471 | C# |
using dict = System.Collections.Generic.Dictionary<string, string>;
using list = System.Collections.Generic.List<string>;
namespace Plivo.XML
{
public class W : PlivoElement
{
public W(string body, dict parameters)
: base(body, parameters)
{
Nestables = new list() {
... | 24.038462 | 67 | 0.4448 | [
"MIT"
] | loki-NK/plivo-dotnet | src/Plivo/XML/W.cs | 625 | C# |
using System;
using System.Threading.Tasks;
namespace EzBus.Core.Middlewares
{
internal class HandleErrorMessageMiddleware : IPreMiddleware
{
private readonly IBroker broker;
private readonly IAddressConfig addressConfig;
private BasicMessage bm;
public HandleErrorMessageMiddl... | 30.930233 | 105 | 0.585714 | [
"MIT"
] | Zapote/EzBus | EzBus.Core/Middlewares/HandleErrorMessageMiddleware.cs | 1,332 | 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... | 29.333333 | 212 | 0.562384 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Web/V20200901/GetWebAppPremierAddOnSlot.cs | 4,312 | C# |
namespace Microsoft.Maui.Controls.Shapes
{
public sealed partial class RoundRectangle : Shape
{
public RoundRectangle() : base()
{
Aspect = Stretch.Fill;
}
public static readonly BindableProperty CornerRadiusProperty =
BindableProperty.Create(nameof(CornerRadius), typeof(CornerRadius), typeof(RoundRec... | 26.947368 | 115 | 0.75 | [
"MIT"
] | 10088/maui | src/Controls/src/Core/Shapes/RoundRectangle.cs | 514 | C# |
using System;
using ImgurAPIClient;
namespace ImgurAlbumDownloader {
class Program {
static void Main(string[] args) {
Console.WriteLine("Imgur Album Downloader");
Console.WriteLine("Copyright (c) 2018 Alex Ingram");
Console.WriteLine("");
if (args.Length == 0) {
Console.WriteLine("Usage: ImgurAlb... | 21.791667 | 78 | 0.674952 | [
"MIT"
] | ReimuHakurei/ImgurAlbumDownloader | Program.cs | 525 | C# |
#nullable enable
using System;
using Microsoft.Maui.Graphics;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Shapes;
using WDoubleCollection = Microsoft.UI.Xaml.Media.DoubleCollection;
using WPenLineCap = Microsoft.UI.Xaml.Media.PenLineCap;
using WPenLineJoin = Microsoft.UI.Xa... | 23.12381 | 114 | 0.705725 | [
"MIT"
] | davidbuckleyni/maui | src/Core/src/Platform/Windows/ContentPanel.cs | 4,858 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text.RegularExpressions;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
us... | 33.467085 | 171 | 0.500468 | [
"MIT"
] | creeperlv/PikaComic-UWP | BK20/LoginPage.xaml.cs | 11,082 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.Storage.Models;
namespace Azure.ResourceManager.Storage
{
public partial class FileServiceData : IUtf8JsonS... | 39.821138 | 136 | 0.475909 | [
"MIT"
] | AhmedLeithy/azure-sdk-for-net | sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/FileServiceData.Serialization.cs | 4,898 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace DesafioCast.Models
{
public class usuario
{
[Key]
public int Id { get; set; }
[Required(ErrorMessage = "O campo Nome é obrigatório.")]
pu... | 23.7 | 65 | 0.654008 | [
"MIT"
] | andersonbellini/desafio | DesafioCast/DesafioCast/Models/usuario.cs | 480 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ModelHashingPublicSetReadOnlyDictionaryOfNullableParent.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generat... | 65.68254 | 229 | 0.730788 | [
"MIT"
] | OBeautifulCode/OBeautifulCode.CodeGen | OBeautifulCode.CodeGen.ModelObject.Test/Models/Scripted/Hashing/PublicSet/ReadOnlyDictionaryOfNullable/ModelHashingPublicSetReadOnlyDictionaryOfNullableParent.cs | 4,140 | C# |
using MLAPI;
using UnityEngine;
namespace HelloWorld
{
public class HelloWorldManager : MonoBehaviour
{
void OnGUI()
{
GUILayout.BeginArea(new rect(10, 10, 300, 300));
if (!NetworkManager.Singletion.IsClient && !NetworkManager.Singletion.IsServer)
{
... | 29.028571 | 115 | 0.513287 | [
"MIT"
] | chom-cracker/Unity-Multiplayer-Tutorials | Assets/Tutorials/ConnectionApproval/Scripts/HelloWorldManager.cs | 2,032 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
#if STRIDE_GRAPHICS_API_DIRECT3D12
using System.Coll... | 38.45 | 163 | 0.762029 | [
"MIT"
] | Alan-love/xenko | sources/engine/Stride.Graphics/Direct3D12/CompiledCommandList.Direct3D12.cs | 769 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.Schemas.StructurePropertyTests
{
[TestClass]
public class StructurePropertyGetGuidValueTests : UnitTests
{
[TestMethod]
public void GetIdValue_WhenGuidOnFirstLevel_ReturnsGuid()
{
var ... | 31.474576 | 103 | 0.613893 | [
"MIT"
] | apetrut/structurizer | src/tests/UnitTests/Schemas/StructurePropertyTests/StructurePropertyGetGuidValueTests.cs | 1,859 | C# |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... | 36.657143 | 201 | 0.602786 | [
"MIT"
] | maksimkim/SpanNetty | src/DotNetty.Buffers/ArrayPooledUnsafeDirectByteBuffer.cs | 10,304 | C# |
using UnityEngine;
using UnityEngine.UI;
public class AttributesUI : MonoBehaviour {
private bool activated;
void Update()
{
if (activated != UIManager.Instance.ActiveAttributesUI)
{
ToggleUIActive();
}
}
public void ToggleUIActive()
{
activated =... | 21.130435 | 81 | 0.611111 | [
"MIT"
] | DominikaBogusz/Evilmine | Assets/Scripts/UI/AttributesUI.cs | 488 | C# |
using ApsiyonProject.Application.App.Common.Interfaces.Dtos.Flats;
using ApsiyonProject.Application.App.Common.Interfaces.Services.Flats;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApsiyonP... | 30.674419 | 79 | 0.705838 | [
"MIT"
] | emretuna01/ApsiyonProject | ApsiyonProject.Infrastructure/Controllers/Flats/FlatTypeApiController.cs | 1,321 | C# |
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Publishing;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
namespace SharePointPnP.PowerShell.Commands.Publishing
{
[Cmdlet(VerbsCommon.Get, "PnPPu... | 40.931818 | 137 | 0.676846 | [
"MIT"
] | phrueegsegger/PnP-PowerShell | Commands/Publishing/GetPublishingImageRendition.cs | 1,803 | C# |
using Informapp.InformSystem.WebApi.Client.Decorators;
using Informapp.InformSystem.IntegrationTool.Core.Loggers;
using System.Threading;
using System.Threading.Tasks;
namespace Informapp.InformSystem.IntegrationTool.Core.Uploaders
{
/// <summary>
/// Decorator class for <see cref="IUploader{TCommand}"/> to l... | 34.912281 | 96 | 0.633668 | [
"MIT"
] | InformappNL/informapp-api-dotnet-client | src/IntegrationTool.Core/Uploaders/LogUploaderDecorator.T1.cs | 1,992 | 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... | 58.743317 | 228 | 0.684773 | [
"Apache-2.0"
] | nechemiaseif/aws-sdk-net | sdk/src/Services/LicenseManager/Generated/_bcl35/AmazonLicenseManagerClient.cs | 215,353 | C# |
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TrainingCenter.QuadraticEquationBenchmark
{
class Program
{
static void Main()
{
Thread.CurrentThread.CurrentCulture = new CultureI... | 38.528302 | 150 | 0.566275 | [
"MIT"
] | bazile/Training | CSharp/L08-S02-Threads/ThreadsDemo-06.QuadraticEquationBenchmark/Program.cs | 6,774 | C# |
using WebGL;
namespace THREE
{
public class CubeGeometry : Geometry
{
public readonly double width;
public readonly double height;
public readonly double depth;
public readonly int widthSegments;
public readonly int heightSegments;
public readonly int depthSegments;
public CubeGeometry(double width, ... | 29.464286 | 129 | 0.558182 | [
"Apache-2.0"
] | jdarc/webgl.net | THREE/Extras/Geometries/CubeGeometry.cs | 3,302 | C# |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics;
using Autofac.Diagnostics;
namespace Autofac;
/// <summary>
/// Extensions to the container to provide convenience methods for tracing.
/// </s... | 38.657895 | 123 | 0.663376 | [
"MIT"
] | rcdailey/Autofac | src/Autofac/ContainerExtensions.cs | 2,940 | C# |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
using System.ComponentModel;
namespace WeifenLuo.WinFormsUI.Docking
{
public class InertButton : Button
{
private enum RepeatClickStatus
{
Disabled,
Started,
... | 31.806139 | 186 | 0.465106 | [
"MIT"
] | LJunJoy/NetworkDesigner | WinFormsUI/Docking/InertButton.cs | 19,070 | C# |
using OpenQA.Selenium;
using RuriLib.Functions.Files;
using RuriLib.LS;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using System.IO;
using System.Threading;
using System.Windows.Media;
namespace RuriLib
{
/// <summary>
/// The available ways to a... | 38.023077 | 166 | 0.533684 | [
"MIT"
] | Area51Crew/OB-M2-Browning | RuriLib/Blocks/SBlockElementAction.cs | 14,831 | C# |
//
// UnityOSC - Open Sound Control interface for the Unity3d game engine
//
// Copyright (c) 2012 Jorge Garcia Martin
//
// 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 re... | 23.892655 | 126 | 0.672736 | [
"MIT"
] | hku-ect/UnityVRStarterkit | Assets/UnityOSC-Toolkit/Scripts/OSC/OSCClient.cs | 4,229 | C# |
using Sharpen;
namespace android.net
{
[Sharpen.NakedStub]
public class DhcpInfo
{
}
}
| 9.2 | 22 | 0.717391 | [
"Apache-2.0"
] | Conceptengineai/XobotOS | android/generated/android/net/DhcpInfo.cs | 92 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace VaporNetworking
{
public class ServerModule : MonoBehaviour
{
/// <summary>
/// Other servermodules this one is dependant on
/// </summary>
private readonly List<Type> dependencies = new List<Type>... | 26.490196 | 92 | 0.541081 | [
"MIT"
] | Tyrant117/Vapor-Networking | Runtime/Server/ServerModule.cs | 1,353 | C# |
using System;
using System.Collections;
using UnityEngine;
namespace App.Scripts.TransitionScene
{
public class Fade
{
private IFade fade;
public Fade(IFade fade)
{
this.fade = fade;
fade.Range = cutoutRange;
}
private float cutoutRange;
//
// private void OnValidate()
// {
// Init();
/... | 23.828571 | 80 | 0.697842 | [
"MIT"
] | eyedropsP/UnityPractice | UnityPractices/Assets/TransitionScene/Fade.cs | 1,670 | C# |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.SDL
{
[NativeName("AnonymousName", "__AnonymousEnum_SDL_video_L10... | 33.675 | 71 | 0.672606 | [
"MIT"
] | ThomasMiz/Silk.NET | src/Windowing/Silk.NET.SDL/Enums/HitTestResult.gen.cs | 1,347 | 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: AssemblyTi... | 39.108108 | 85 | 0.729095 | [
"Unlicense"
] | IDWMaster/OpenServer | HttpServer/Properties/AssemblyInfo.cs | 1,450 | C# |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
/// <para>表示 [POST] /payscore/partner/permissions/terminate 接口的响应。</para>
/// </summary>
public class TerminatePayScorePartnerPermissionsByOpenIdResponse : TerminatePayScorePartnerPerm... | 28.384615 | 133 | 0.758808 | [
"MIT"
] | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdResponse.cs | 387 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rectangle_of_10_x_10_Stars
{
class Program
{
static void Main(string[] args)
{
int num = int.Parse(Console.ReadLine());
for (int i = 0; i < num... | 20.461538 | 52 | 0.468045 | [
"MIT"
] | 1ooIL40/FundamentalsRepo | new project 02.18/Rectangle of 10 x 10 Stars/Rectangle of 10 x 10 Stars/Program.cs | 534 | C# |
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.opentravel.org/OTA/2003/05")]
public enum GuaranteeTypeGuaranteeType
{
... | 24.064516 | 118 | 0.534853 | [
"MIT"
] | Franklin89/OTA-Library | src/OTA-Library/GuaranteeTypeGuaranteeType.cs | 746 | C# |
using System;
using Wbs.Everdigm.BLL;
using Wbs.Everdigm.Database;
namespace Wbs.Everdigm.Web
{
/// <summary>
/// 用户信息管理基类
/// </summary>
public class BaseAccountPage : BaseBLLPage
{
protected override void Page_Load(object sender, EventArgs e)
{
base.Page_Load(sender,... | 34.2 | 114 | 0.532164 | [
"Apache-2.0"
] | wanbangsoftware/Everdigm | Wbs.Everdigm.Web/Wbs.Everdigm.Web/classes/BaseAccountPage.cs | 1,740 | C# |
// Working Files List
// Visual Studio extension tool window that shows a selectable list of files
// that are open in the editor
// Copyright © 2016 Anthony Fung
// 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 ... | 31.186047 | 76 | 0.705444 | [
"Apache-2.0"
] | Ant-f/WorkingFilesList | Solution/WorkingFilesList.ToolWindow/ViewModel/Command/OpenOptionsPage.cs | 1,344 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Todo.Dto
{
public class AccountDto
{
public string Account { get; set; }
public string Password { get; set; }
}
}
| 17.928571 | 44 | 0.669323 | [
"MIT"
] | a975409/Todo | Todo/Dto/AccountDto.cs | 253 | 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://www.a... | 37.549822 | 117 | 0.559447 | [
"ECL-2.0",
"Apache-2.0"
] | citizenmatt/gallio | src/Common/Gallio.Common.Splash.Tests/SplashDocumentTest.cs | 21,103 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace SamuraiApp.Data
{
public class SamuraiContextNoTracking : SamuraiContext
{
public SamuraiContextNoTracking()
{
base.Ch... | 22.666667 | 88 | 0.732843 | [
"Apache-2.0"
] | sansindia85/EFCore6 | InteractEFCoreData/SamuraiApp/SamuraiApp.Data/SamuraiContextNoTracking.cs | 410 | C# |
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using HandlebarsDotNet.ObjectDescriptors;
using HandlebarsDotNet.PathStructure;
using HandlebarsDotNet.Runtime;
namespace HandlebarsDotNet
{
public readonly struct Context
{
private readonly DeferredValue<BindingContext, ... | 31.229167 | 107 | 0.621081 | [
"MIT"
] | Andrea-MariaDB-2/Handlebars.Net | source/Handlebars/Context.cs | 1,499 | C# |
namespace UblTr.Common
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oa... | 30.27451 | 172 | 0.558776 | [
"MIT"
] | canyener/Ubl-Tr | Ubl-Tr/Common/CommonAggregateComponents/StatusType.cs | 6,176 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Devices
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public enum ColorTe... | 27.052632 | 63 | 0.680934 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Devices/ColorTemperaturePreset.cs | 1,028 | 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.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Syste... | 55.626812 | 234 | 0.531492 | [
"Apache-2.0"
] | edespong/roslyn-analyzers | src/Microsoft.NetCore.Analyzers/Core/Security/DoNotCallDangerousMethodsInDeserialization.cs | 15,353 | C# |
// Licensed to the Mixcore Foundation under one or more agreements.
// The Mixcore Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsof... | 38.416667 | 190 | 0.543022 | [
"MIT"
] | robinson/mix.core | src/Mix.Cms.Api/Controllers/v1/ApiMenuController.cs | 5,534 | C# |
using NetOffice.Attributes;
namespace NetOffice.WordApi.Enums
{
/// <summary>
/// SupportByVersion Word 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff845050.aspx </remarks>
[SupportByVersion("Word", 9, 10, 11,... | 33.407407 | 121 | 0.525499 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | ehsan2022002/VirastarE | Office/Word/Enums/WdTabLeader.cs | 1,806 | C# |
using SimpleAccounting.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SimpleAccounti... | 34.413569 | 128 | 0.535202 | [
"MIT"
] | SimpleAccountingTeam2/Praneet-Thakur | SimpleAccouning.API/SimpleAccounting.Repository/SimpleAccountingContext.cs | 37,031 | C# |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using Jwt;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Exte... | 40.142857 | 148 | 0.612527 | [
"MPL-2.0"
] | AndyRadulescu/monitorizare-vot-ong | api/MonitorizareVot.Ong/src/MonitorizareVot.Api/Controllers/JwtController.cs | 7,027 | C# |
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.Interfaces.UserInterface;
using Robust.Client.UserInterface;
using Robust.Shared.IoC;
namespace Content.Client.UserInterface.Stylesheets
{
public sealed class StylesheetManager : IStylesheetManager
{
#pragma warning disable 649
[Dep... | 31.888889 | 82 | 0.729384 | [
"MIT"
] | ComicIronic/space-station-14 | Content.Client/UserInterface/Stylesheets/StylesheetManager.cs | 861 | 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("05... | 37.972973 | 84 | 0.745196 | [
"MIT"
] | pkemalov/ProgrammingBasics | ComplexConditionalStatements/05.invalidNumber/Properties/AssemblyInfo.cs | 1,408 | C# |
using System;
using System.Collections.Generic;
namespace Poynt.NET.Model
{
public class Hook
{
private const string TAG = "Hook";
public bool? Active { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public IList<string> EventTypes { get; set; }
pu... | 15.352941 | 46 | 0.66092 | [
"MIT"
] | segios/Poynt.NET | Poynt.NET.Model/Hook.cs | 522 | C# |
using System;
using System.Collections;
using TMPro;
using UnityEngine;
namespace NaturalSelectionSimulation
{
public class SimulationIterationController : MonoBehaviour
{
#region Private Variables
private int _iterationCount = 0; // simple counter for currentIteration number (our 'high-scor... | 29.833333 | 174 | 0.549082 | [
"MIT"
] | JohnMurwin/NaturalSelectionSimulation | Assets/NaturalSelectionSimulation/Scripts/SimulationStateSystem/SimulationIterationController.cs | 3,759 | C# |
/*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* 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 restr... | 35.931034 | 93 | 0.649712 | [
"MIT"
] | OfficeDevUnofficial/ews-managed-api | ews-managed-api/ComplexProperties/PhoneNumberEntry.cs | 3,126 | 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... | 26.191489 | 90 | 0.590577 | [
"MIT"
] | ChristianEder/autorest.csharp | test/vanilla/Expected/BodyComplex/Models/ByteWrapper.cs | 1,231 | 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("Mid... | 37.621622 | 84 | 0.746408 | [
"MIT"
] | bodyquest/SoftwareUniversity-Bulgaria | Technology Fundamentals C# Jan2019/4. Methods/Middle-Chars/Properties/AssemblyInfo.cs | 1,395 | C# |
// Part of fCraft | Copyright 2009-2015 Matvei Stefarov <me@matvei.org> | BSD-3 | See LICENSE.txt //Copyright (c) 2011-2013 Jon Baker, Glenn Marien and Lao Tszy <Jonty800@gmail.com> //Copyright (c) <2012-2014> <LeChosenOne, DingusBungus> | ProCraft Copyright 2014-2019 Joseph Beauvais <123DMWM@gmail.com>
using System;
... | 43.344828 | 305 | 0.542031 | [
"BSD-3-Clause"
] | 123DMWM/ProCraft | fCraft/Drawing/DrawOps/TriangleWireframeDrawOperation.cs | 3,773 | 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.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagn... | 53.562874 | 264 | 0.679262 | [
"Apache-2.0"
] | DavidKarlas/roslyn | src/Diagnostics/Roslyn/Core/Performance/SpecializedEnumerableCreationAnalyzer.cs | 8,947 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using EasyExplorer;
using System.IO;
using System.Runtime.InteropServices;
namespace ShellDll
{
internal class StreamStorageProvider : IFileInfoProvider, IDirInfoProvider
{
#region Fields
private ShellItem providerItem;
... | 27.725191 | 118 | 0.49275 | [
"MIT"
] | hgupta9/EasyExplorer | Shell/StreamStorage.cs | 10,896 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class homework33 : MonoBehaviour {
public GameObject cube;
public float movespeed;
public Material[] materials;
public Renderer rend;
// Use this for initialization
void Start () {
movespeed = 7f;
... | 25.090909 | 157 | 0.586957 | [
"MIT"
] | Bartlett-RC3/skilling-module-1-shawn8777 | Assets/Script/homework/homework33.cs | 1,106 | C# |
using System;
using System.Reflection;
using Basket.API.GrpcServices;
using Basket.API.Repositories;
using Basket.API.Repositories.Interfaces;
using Discount.Grpc.Protos;
using MassTransit;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.... | 32.860759 | 153 | 0.612866 | [
"MIT"
] | RAxzon/MicroservicesApp | src/Services/Basket/Basket.API/Startup.cs | 2,596 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis... | 47.589508 | 222 | 0.568029 | [
"Apache-2.0"
] | ObsidianMinor/roslyn | src/Test/Utilities/Portable/Diagnostics/OperationTestAnalyzer.cs | 103,414 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XOutput.Devices.XInput
{
/// <summary>
/// <see cref="IInputHelper{T}"/> for <see cref="XInputTypes"/>.
/// </summary>
public class XInputHelper : AbstractInputHelper<XInputTyp... | 31.591837 | 88 | 0.512489 | [
"MIT"
] | LLltirlec/XOutput | XOutput/Devices/XInput/XInputHelper.cs | 4,646 | C# |
using TheMountaineer.Fisobs;
using UnityEngine;
namespace TheMountaineer.Equipment
{
public class HardhatAbstract : AbstractPhysicalObject
{
public HardhatAbstract(World world, WorldCoordinate pos, EntityID id) :
base(world, HardhatFisob.instance.Type, null, pos, id)
{
... | 24.392857 | 79 | 0.581259 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | casheww/RW-Slugs | TheMountaineer/Equipment/HardhatAbstract.cs | 685 | C# |
using Nop.Web.Framework.Models;
namespace Nop.Plugin.Tax.Avalara.Models.Checkout
{
/// <summary>
/// Represents an address validation model
/// </summary>
public class AddressValidationModel : BaseNopModel
{
#region Properties
public string Message { get; set; }
public bo... | 21.090909 | 54 | 0.616379 | [
"MIT"
] | ASP-WAF/FireWall | Samples/NopeCommerce/Plugins/Nop.Plugin.Tax.Avalara/Models/Checkout/AddressValidationModel.cs | 466 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.