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.Runtime.Serialization;
namespace IDevman.SAPConnector.Exceptions
{
/// <summary>
/// SAP exception
/// </summary>
[Serializable]
public class SAPException : Exception
{
/// <summary>
/// SAP error code
/// </summary>
public int SAPEr... | 29.494118 | 102 | 0.556841 | [
"MIT"
] | idevman/sap-di-connector | sap-di-connector/Exceptions/SAPException.cs | 2,509 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JetBrains.Annotations;
namespace JoinRpg.Helpers.Web
{
public static class IdListUrlExtensions
{
public static string CompressIdList(this IEnumerable<int> list) => list.OrderBy(l => l).DeltaCompress().MagicJoin(... | 31.975806 | 151 | 0.352837 | [
"MIT"
] | Jeidoz/joinrpg-net | src/JoinRpg.Helpers.Web/IdListUrlExtensions.cs | 3,965 | C# |
/*
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''' This is the MIT License, with one addition:
''' I want attribution in source code form, which means any code of mine you use,
''' you must keep this entire license intact, including the next line:
'''
''' Nik Martin ... | 35.868852 | 91 | 0.618373 | [
"MIT"
] | dhanh/siutil | SiUtilsTest.cs | 2,188 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StructureMap.Pipeline;
using Ploeh.Samples.CacheModel;
namespace Ploeh.Samples.Menu.StructureMap
{
public partial class LeasedObjectCache : IObjectCache
{
private readonly IObjectCache objectCache;
priv... | 24.160377 | 73 | 0.52909 | [
"MIT"
] | owolp/Telerik-Academy | Module-2/Design-Patterns/Materials/DI.NET/DIContainers/StructureMapMenu/LeasedObjectCache.cs | 2,563 | 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("AWSSDK.CloudSearchDomain")]
[assembly: Ass... | 49.59375 | 315 | 0.758034 | [
"Apache-2.0"
] | andyhopp/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/CloudSearchDomain/Properties/AssemblyInfo.cs | 1,587 | C# |
using Alexa.NET.APL.JsonConverter;
using Newtonsoft.Json;
namespace Alexa.NET.APL.Audio
{
public class Selector : APLAMultiChildComponent
{
[JsonProperty("strategy",NullValueHandling = NullValueHandling.Ignore),
JsonConverter(typeof(APLValueEnumConverter<SelectorStrategy>))]
public AP... | 30.571429 | 79 | 0.71729 | [
"MIT"
] | stoiveyp/Alexa.NET.APL | Alexa.NET.APL/Audio/Selector.cs | 430 | C# |
namespace Rsdn.Community.Interaction.Requests.Update
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Relay.RequestModel;
public class UpdateDirectoryCommand : CommandBase
{
}
} | 23.166667 | 54 | 0.694245 | [
"MIT"
] | vborovikov/rsdn | src/RsdnCore/Community/Interaction/Requests/Update/UpdateDirectoryCommand.cs | 280 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Script.WebHost.Management.LinuxSpecialization;
using Microsoft.Extensions.Logging;
namespace... | 39.911111 | 197 | 0.709911 | [
"Apache-2.0",
"MIT"
] | ConnectionMaster/azure-functions-host | src/WebJobs.Script.WebHost/Models/RunFromPackageContext.cs | 1,798 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UserInterface
{
[AddComponentMenu(N... | 39.628311 | 231 | 0.54389 | [
"MIT"
] | dotmos/uGameFramework | Unity/Assets/Scripts/UserInterface/InputField/GMInputField.cs | 86,788 | C# |
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apa... | 47.784314 | 140 | 0.581179 | [
"Apache-2.0"
] | AhmerRaza/Google-Dotnet-Samples | Samples/Cloud Storage JSON API/v1beta1/Oauth2Authentication.cs | 7,313 | C# |
using MTProto.NET.Attributes;
using MTProto.NET.Enums;
namespace MTProto.NET.Schema.TL
{
[MTObject(0xfa0f3ca2)]
public class TLUpdatePinnedDialogs : TLAbsUpdate
{
public override uint Constructor
{
get
{
return 0xfa0f3ca2;
}
}
... | 24.666667 | 73 | 0.578078 | [
"MIT"
] | Gostareh-Negar/TeleNet | MTProto.NET/Schema/TL/_generated/TLUpdatePinnedDialogs.cs | 666 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using KamishibaServer.Models;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depen... | 30.065217 | 88 | 0.587852 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0",
"Unlicense"
] | wallstudio/BookEffecter | Server/KamishibaServer/KamishibaServer/Program.cs | 1,385 | C# |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace BetterChoiceShared.Views.LandingPage.LandingPageTemplate
{
public partial class LandingPageViewTemplate : StackLayout
{
public LandingPageViewTemplate()
{
InitializeComponent();
}
}
}
| 18.9375 | 66 | 0.792079 | [
"MIT"
] | vivekgits/BetterChoiceApp | BetterChoice/Views/LandingPage/LandingPageTemplate/LandingPageViewTemplate.xaml.cs | 305 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityStandardAssets.Characters.FirstPerson
{
public class CameraControl : MonoBehaviour
{
public Camera FirstPersonCamera;
public Camera PanoramicCamera;
public CreateMaze MazeData;
public... | 34.698925 | 187 | 0.557794 | [
"MIT"
] | sageorgisn/project_unity | project_unity/Assets/Standard Assets/Characters/FirstPersonCharacter/Scripts/CameraControl.cs | 3,229 | C# |
using UnityEngine;
using System.Collections;
public class StealerManager : MonoBehaviour {
[SerializeField]
private GameObject _Stealer;
[SerializeField]
private int _SentStealerTimes = 2;
void Update()
{
if (this._SentStealerTimes == 7 && GameManager.Instance.TimeLeft < 60.0f)
... | 30.019608 | 87 | 0.576747 | [
"MIT"
] | hilllo/VR-GameJam | VRGameJam/Assets/Scripts/StealerManager.cs | 1,533 | C# |
// Copyright 2021, Mikhail Paulyshka
// SPDX-License-Identifier: MIT
using System.Runtime.InteropServices;
namespace Mixaill.HwInfo.D3DKMT.Interop
{
/// <summary>
///
/// Reference: d3dkmthk.h::_D3DKMT_CLOSEADAPTER
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct _D3DKMT_CL... | 21.619048 | 51 | 0.632159 | [
"MIT"
] | Mixaill/Mixaill.HwInfo | Mixaill.HwInfo.D3DKMT/Interop/_D3DKMT_CLOSEADAPTER.cs | 456 | 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.ComponentModel.Composition;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Microsoft.V... | 41.897959 | 189 | 0.685582 | [
"Apache-2.0"
] | JeremyKuhne/project-system | src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/PackageRestore/PackageRestoreService.cs | 4,011 | C# |
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Reactive.Concurrency;
using System.Threading;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Avalonia.Input;... | 33.22807 | 133 | 0.557726 | [
"MIT"
] | SpawnProd/Avalonia | src/Avalonia.Controls/Application.cs | 11,364 | C# |
// Generated on 03/23/2022 09:51:48
using System;
using System.Collections.Generic;
using AmaknaProxy.API.GameData.D2O;
namespace AmaknaProxy.API.Protocol.Data
{
[D2oClass("EffectInstanceDate")]
public class EffectInstanceDate : EffectInstance
{
public uint year;
public uint month;
... | 21.052632 | 52 | 0.6775 | [
"MIT"
] | ImNotARobot742/DofusProtocol | DofusProtocol/D2Parser/Protocol/Data/effects/instances/EffectInstanceDate.cs | 400 | 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 ... | 14.501916 | 63 | 0.543725 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-emr/Emr/Model/V20160408/ListBackupsResponse.cs | 3,785 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using WebSocket4Net;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace DiceBot
{
class EtherCrash : DiceSite
{
string Token = "";
CookieContainer Cookies... | 40.729306 | 227 | 0.47012 | [
"MIT"
] | Devilla/DiceBot | DiceBot/EtherCrash.cs | 18,208 | C# |
using System;
using NetOffice;
namespace NetOffice.OWC10Api.Enums
{
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersionAttribute("OWC10", 1)]
[EntityTypeAttribute(EntityType.IsEnum)]
public enum DscJoinTypeEnum
{
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
///... | 22.363636 | 42 | 0.646341 | [
"MIT"
] | Engineerumair/NetOffice | Source/OWC10/Enums/DscJoinTypeEnum.cs | 738 | C# |
using System;
namespace ClosedXML.Excel
{
public interface IXLRangeRow : IXLRangeBase
{
/// <summary>
/// Gets the cell in the specified column.
/// </summary>
/// <param name="columnNumber">The cell's column.</param>
IXLCell Cell(Int32 columnNumber);
... | 37.139535 | 140 | 0.602797 | [
"MIT"
] | Gallardo13/ClosedXML | ClosedXML/Excel/Ranges/IXLRangeRow.cs | 4,663 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 31.666667 | 120 | 0.481579 | [
"MIT"
] | mgnz/squidex | src/Squidex.Web/Pipeline/EnforceHttpsMiddleware.cs | 1,523 | C# |
/*
* MX API
*
* The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture... | 37.407143 | 599 | 0.603399 | [
"MIT"
] | mxenabled/atrium-csharp | src/Atrium/Model/TransactionsResponseBody.cs | 5,237 | C# |
using Sharpen;
namespace dalvik.bytecode
{
[Sharpen.NakedStub]
public interface Opcodes
{
}
[Sharpen.NakedStub]
public abstract class OpcodesClass
{
}
}
| 10.866667 | 35 | 0.736196 | [
"Apache-2.0"
] | Conceptengineai/XobotOS | android/naked-stubs/dalvik/bytecode/Opcodes.cs | 163 | C# |
using System;
using System.Linq;
using RobloxAutomatization.Models;
namespace RobloxAutomatization.Services
{
public static class UserGenerator
{
public static RobloxUser GenerateUser()
{
var rnd = new Random();
var user = new RobloxUser
{
U... | 30.384615 | 101 | 0.529747 | [
"MIT"
] | suxrobGM/RobloxAutomatization | src/RobloxAutomatization/Services/UserGenerator.cs | 1,582 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated... | 38.85 | 85 | 0.592021 | [
"MIT"
] | ngdkhoi/QuanLyPhongMachTu | QuanLyPhongMachTu/QuanLyPhongMachTu/Model/Database.Context.cs | 1,556 | 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("Ch... | 39.083333 | 84 | 0.753376 | [
"MIT"
] | gravypower/Chips | src/Sitecore/Commands/Chips.Sitecore.Commands.Serialization/Properties/AssemblyInfo.cs | 1,410 | C# |
using System.Collections.Immutable;
using Righthand.Immutable;
namespace SloCovidServer.Models
{
public record HealthCentersDay : IModelDate
{
public int Year { get; init; }
public int Month { get; init; }
public int Day { get; init; }
public HealthCentersDayItem All { get; ini... | 34.789474 | 167 | 0.638124 | [
"MIT"
] | overlordtm/data-api | sources/SloCovidServer/SloCovidServer/Models/HealthCentersDay.cs | 3,307 | C# |
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface BuildingBlocks
/// SupportByVersion Word, 12,14,... | 35.791667 | 195 | 0.692084 | [
"MIT"
] | DominikPalo/NetOffice | Source/Word/DispatchInterfaces/BuildingBlocks.cs | 10,310 | 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... | 42.443299 | 178 | 0.685936 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/_bcl45+netstandard/DescribeNetworkInsightsPathsPaginator.cs | 4,117 | C# |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Threading.Tasks;
using Azos.Wave.Mvc;
using ... | 37.640909 | 176 | 0.703417 | [
"MIT"
] | davidbrun/azos | src/Azos.Wave/Security/Services/OAuthControllerBase.override.cs | 8,283 | C# |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | 25.798561 | 103 | 0.516453 | [
"MIT"
] | alexsyeo/PSharp | Tests/LanguageServices.Tests/Declarations/NameofTests.cs | 3,588 | C# |
using CafesApi.Models;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
namespace CafesApi.Infrastructure
{
public class CafesDbContext
{
private readonly IMongoDatabase _db;
public CafesDbContext(IOptions<DbSettings> options)
{
var client = new MongoClient(option... | 25.35 | 80 | 0.682446 | [
"MIT"
] | Savage3D/AspNetCore-MongoDB | CafesApi/Infrastructure/CafesDbContext.cs | 509 | C# |
#region MIT License
/*Copyright (c) 2012-2013 Robert Rouhani <robert.rouhani@gmail.com>
SharpFont based on Tao.FreeType, Copyright (c) 2003-2007 Tao Framework Team
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to dea... | 38.492537 | 113 | 0.742924 | [
"MIT"
] | GabrielFrigo4/SDL-Sharp | SDL-Sharp/SharpFont/Orientation.cs | 2,581 | C# |
using System;
namespace LibHac.Fs
{
public partial class FileSystemClient
{
public Result GetDirectoryEntryCount(out long count, DirectoryHandle handle)
{
return handle.Directory.GetEntryCount(out count);
}
public Result ReadDirectory(out long entriesRea... | 30.530612 | 116 | 0.534759 | [
"BSD-3-Clause"
] | CaitSith2/libhac | src/LibHac/Fs/FileSystemClient.Directory.cs | 1,450 | C# |
// <auto-generated>
// ReSharper disable All
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Tanneryd.BulkOperations.EFCore.Tests
{
// ReservedSqlKeyword
public class ReservedSqlKeywordConfiguration : IEntityTypeConfiguration<ReservedSqlKeyword>
{
... | 40.961538 | 137 | 0.701408 | [
"Apache-2.0"
] | mtanneryd/ef-core-bulk-operations | Tanneryd.BulkOperations.EFCore/Tanneryd.BulkOperations.EFCore.Tests/Models/EF/ReservedSqlKeywordConfiguration.cs | 1,065 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter;
using Microsoft.Protocols.TestTools;
using... | 45.009479 | 201 | 0.651153 | [
"MIT"
] | LiuXiaotian/WindowsProtocolTestSuites | TestSuites/FileServer/src/SMB2Model/Adapter/Signing/SigningAdapter.cs | 9,289 | C# |
using GreaterShare.BackgroundServices.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Storage;
using System.IO;
using Windows.Storage.FileProperties;
using System.Collections;
namespace GreaterShare.Bac... | 34.395604 | 139 | 0.576837 | [
"Apache-2.0"
] | waynebaby/GreaterShareUWP | GreaterShare/GreaterShare.BackgroundServices/Service/PicLibFolderScanService.cs | 6,262 | C# |
// Copyright (c) 2017 Samsung Electronics Co., 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/licenses/LICENSE-2.0
//
// Unless required by applicable la... | 28.355164 | 127 | 0.443191 | [
"Apache-2.0"
] | Reni-90/TizenFX | src/Tizen.NUI/src/public/InputMethod.cs | 11,257 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 30.596154 | 83 | 0.639849 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Tsf/V20180326/Models/CreateConfigResponse.cs | 1,711 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace FabActUtil
{
... | 40.631179 | 117 | 0.527045 | [
"MIT"
] | Bhaskers-Blu-Org2/service-fabric-services-and-actors-dotnet | src/FabActUtil/Tool.cs | 10,686 | C# |
namespace CK.MQTT.Sdk
{
internal interface IPacketIdProvider
{
ushort GetPacketId();
}
}
| 13.75 | 40 | 0.627273 | [
"MIT"
] | signature-opensource/CK-MQTT-OLD | CK.MQTT.Client/Sdk/IPacketIdProvider.cs | 112 | 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("Ev... | 38.027027 | 84 | 0.745558 | [
"MIT"
] | Stelmashenko-A/EventEmitter | EventEmitter.Core/Properties/AssemblyInfo.cs | 1,410 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.GameCommons;
using Charlotte.Commons;
namespace Charlotte.Games.Surfaces
{
// サーフェス - キャラクタ(登場人物)
public class Surface_Chara : Surface
{
private double A = 0.0;
private double Bright = 0.5;
private D2Point ... | 25.712121 | 94 | 0.655863 | [
"MIT"
] | soleil-taruto/Elsa | e20201156_Udongedon_Hatena/Elsa20200001/Elsa20200001/Games/Surfaces/Surface_Chara.cs | 3,688 | C# |
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace CodeTiger.CodeAnalysis.Analyzers.Reliability
{
/// <summary>
/// Analyzes exception handling... | 42.428571 | 110 | 0.670455 | [
"MIT"
] | csdahlberg/CodeTiger.CodeAnalysis | CodeTiger.CodeAnalysis/Analyzers/Reliability/ExceptionHandlingReliabilityAnalyzer.cs | 2,378 | C# |
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange
//
// Copyright (c) 2005-2019 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// cop... | 36.557047 | 120 | 0.564531 | [
"MIT"
] | marcindawidziuk/PikaPDF | src/PikaPDF.Core/Fonts.OpenType/IndexToLocationTable.cs | 5,449 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Dreamteck
{
public class MeshUtility
{
private static Vector3[] tan1 = new Vector3[0];
private static Vector3[] tan2 = new Vector3[0];
private static Vector4[] meshTangents = new ... | 39.436879 | 202 | 0.459842 | [
"MIT"
] | Finalet/Tap-drift | Tap drift 1.2.2/Assets/Dreamteck/Utilities/MeshUtility.cs | 27,803 | C# |
namespace Vostok.Clusterclient.Transport.SystemNetHttp.Helpers
{
internal static class Constants
{
public const int LOHObjectSizeThreshold = 84 * 1000;
}
} | 25.142857 | 63 | 0.721591 | [
"MIT"
] | vostok/clusterclient.transport.systemnethttp | Vostok.ClusterClient.Transport.SystemNetHttp/Helpers/Constants.cs | 178 | C# |
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading.Tasks;
using DotNetCore.CAP.Internal;
using DotNetCore.CAP.Messages;
using DotNetCore.CAP.Transport;
using ... | 33.88 | 125 | 0.600945 | [
"MIT"
] | Allen-dududu/CAP | src/DotNetCore.CAP.RabbitMQ/ITransport.RabbitMQ.cs | 2,543 | 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 System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Si... | 32.516129 | 242 | 0.739087 | [
"MIT"
] | ThomasMiz/Silk.NET | src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrD3D11EnableOverloads.gen.cs | 1,008 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 40.590909 | 161 | 0.618888 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/GraphServiceAgreementAcceptancesCollectionRequestBuilder.cs | 2,679 | C# |
using System.Diagnostics;
/*
* Copyright (c) 2008, DIaLOGIKa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
*... | 44.770833 | 81 | 0.698464 | [
"BSD-3-Clause"
] | datadiode/B2XTranslator | src/Spreadsheet/XlsFileFormat/Ptg/PtgInt.cs | 2,149 | C# |
using System;
namespace Automation
{
class Device10EventArgs : EventArgs
{
public string speed, length;
public bool running;
public static event EventHandler<Device10EventArgs> event1;
public Device10EventArgs() { }
public Device10EventArgs(bool runningInfo, string spe... | 26.533333 | 88 | 0.621859 | [
"MIT"
] | SymCors/Altes-Automation | Automation/Device10EventArgs.cs | 798 | C# |
using System;
using Chatter.Domain.Core.Commands;
namespace Chatter.Domain.Topics.Commands.Base
{
public abstract class BaseTopicCommand : Command
{
public int Id { get; protected set; }
public int UserId { get; protected set; }
public int CategoryId { get; protected set; }
pub... | 34.411765 | 57 | 0.652991 | [
"MIT"
] | laurolnunes/forum-de-discussao | src/Chatter.Domain/Topics/Commands/Base/BaseTopicCommand.cs | 587 | C# |
/*************************************************************************************
Toolkit for WPF
Copyright (C) 2007-2019 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/m... | 30.333333 | 106 | 0.587912 | [
"MIT"
] | O-Debegnach/Supervisor-de-Comercio | wpftoolkit-master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/RichTextBox/Formatters/RtfFormatter.cs | 2,004 | 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... | 31.046809 | 101 | 0.570861 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/SimpleSystemsManagement/Generated/Model/Activation.cs | 7,296 | C# |
// Copyright (c) to owners found in https://github.com/arlm/WinApi/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
namespace WinApi.PeCoff
{
public struct IMAGE_DOS_HEADER : IEquatable<IMAGE_DOS... | 27.791667 | 114 | 0.469265 | [
"MIT"
] | arlm/WinApi | src/WinApi.PeCoff/IMAGE_DOS_HEADER.cs | 5,338 | C# |
// Created by Kearan Petersen : https://www.blumalice.wordpress.com | https://www.linkedin.com/in/kearan-petersen/
using UnityEngine;
namespace SOFlow.Fading
{
public class MaterialFadable : Fadable
{
/// <summary>
/// Indicates whether a renderer or material should be used as a reference.
... | 32.235294 | 115 | 0.588321 | [
"MIT"
] | BLUDRAG/SOFlow-Extensions | Assets/SOFlow Extensions/Fading/Fadables/MaterialFadable.cs | 2,742 | C# |
// <auto-generated/>
// Contents of: hl7.fhir.r3.core version: 3.0.2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Serialization;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Utility;
using Hl7.Fhir.Validation;
/*
... | 41.173913 | 167 | 0.677333 | [
"MIT"
] | FirelyTeam/fhir-codegen | generated/CSharpFirely2_R3/Generated/HealthcareService.cs | 43,562 | C# |
using System;
namespace MK.Ext
{
public static class DateTimeExt
{
public static bool IsInRange(this DateTime t, DateTime? tfrom, DateTime? ttrim)
{
if (!tfrom.HasValue || t >= tfrom.Value)
if (!ttrim.HasValue || t < ttrim.Value)
return true;
return false;
}
}
} | 19.066667 | 81 | 0.664336 | [
"MIT"
] | maxkoryukov/MK.Lib | src/MK.Lib/Ext/DateTimeExt.cs | 288 | C# |
namespace PiControlPanel.Domain.Contracts.Application
{
using System;
using System.Threading.Tasks;
using PiControlPanel.Domain.Models.Paging;
using PiControlPanel.Domain.Models.Hardware.Memory;
/// <summary>
/// Application layer service for operations on Memory model.
/// </summary>
... | 38.604651 | 92 | 0.648193 | [
"MIT"
] | HritwikSinghal/pi-control-panel | src/Domain/PiControlPanel.Domain.Contracts/Application/IMemoryService.cs | 1,662 | C# |
using ATS.Api.DTO;
using ATS.Api.Models;
using AutoMapper;
namespace ATS.Api.Profiles
{
public class CandidateProfile : Profile
{
public CandidateProfile()
{
CreateMap<Candidate, CandidateReadDTO>();
CreateMap<CandidateCreateDTO, Candidate>();
CreateMap<Cand... | 21.647059 | 55 | 0.627717 | [
"MIT"
] | msborges/desafio-totvs | ats-backend/DesafioATS/ATS.Api/Profiles/CandidateProfile.cs | 370 | C# |
// <auto-generated />
using System;
using Data_CS.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Data_CS.... | 36.542373 | 125 | 0.442094 | [
"MIT"
] | Haris-Basic/RSI-2020 | Webapp/Data_CS/Migrations/20210731214658_new property.Designer.cs | 28,030 | C# |
/*
Copyright (c) Shubham Saudolla
https://github.com/shubham-saudolla
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TextureGenerator
{
public static Texture2D TextureFromColorMap(Color[] colorMap, int width, int height)
{
Texture2D texture = new... | 27.076923 | 96 | 0.616477 | [
"MIT"
] | shubham-saudolla/Landmass-Generation | Landmass Generation/Assets/Scripts/TextureGenerator.cs | 1,058 | C# |
using System;
using System.Runtime.InteropServices;
using System.Linq;
namespace SteamNative
{
internal static partial class Platform
{
internal class Mac : Interface
{
internal IntPtr _ptr;
public bool IsValid { get{ return _ptr != IntPtr.Zero; } }
//
// Constructor sets pointer to native class
... | 76.532829 | 639 | 0.76063 | [
"MIT"
] | Lohoris/Facepunch.Steamworks | Facepunch.Steamworks/SteamNative/SteamNative.Platform.Mac.cs | 374,169 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.517241 | 153 | 0.589154 | [
"MIT"
] | Aliases/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IWorkbookFunctionsRank_AvgRequestBuilder.cs | 1,088 | C# |
//
// PureMVC C# Multicore
//
// Copyright(c) 2017 Saad Shams <saad.shams@puremvc.org>
// Your reuse is governed by the Creative Commons Attribution 3.0 License
//
using PureMVC.Interfaces;
namespace PureMVC.Patterns.Command
{
/// <summary>
/// A SimpleCommand subclass used by SimpleCommandTest.
/// <... | 28.9375 | 109 | 0.631749 | [
"MIT"
] | anyechushang/MyPureMVC | Assets/PureMVCTests/Patterns/Command/SimpleCommandTestCommand.cs | 928 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Unity.VisualScripting
{
public static class GraphGUI
{
public const float MinZoomForControls = 0.7f;
public const float MinZoom = 0.25f;
public const float MaxZoom = 1;
... | 37.851662 | 238 | 0.522095 | [
"MIT"
] | 2PUEG-VRIK/UnityEscapeGame | 2P-UnityEscapeGame/Library/PackageCache/com.unity.visualscripting@1.6.1/Editor/VisualScripting.Core/Graph/GraphGUI.cs | 29,600 | C# |
//
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public sealed class BRequest_RemoteArrayTypes1dim_setDouble : BMethodRequest, BSerializable
{
#region Execute
public override int getRemoteId() { return ... | 25.27907 | 149 | 0.74241 | [
"MIT"
] | markusessigde/byps | csharp/bypstest-ser/src-ser/byps/test/api/remote/BRequest_RemoteArrayTypes1dim_setDouble.cs | 1,089 | 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;
namespace Microsoft.ML.Probabilistic.Factors
{
using System.Runtime.Serialization;
/// <summ... | 38.781818 | 125 | 0.642288 | [
"MIT"
] | 0xflotus/infer | src/Runtime/Factors/ImproperMessageException.cs | 2,133 | C# |
using System;
using Core;
using UnityEngine;
using UnityEngine.UI;
public class PlayerUI : MonoBehaviour, IBroadcastListener<PlayerSharedData>, IBroadcastListener<KeyCode>
{
private PlayerSharedData _playerSharedData;
private Text _text;
public void Setup(PlayerSharedData playerSharedData)
{
... | 33.483871 | 116 | 0.720617 | [
"Unlicense"
] | Sieunguoimay/UnityLaboratory | Assets/Scripts/Player/PlayerUI.cs | 1,040 | C# |
using SAFE.Data;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SAFE.AppendOnlyDb
{
public interface IStreamAD : IData
{
Task<Result<Pointer>> AppendAsync(StoredValue value);
Task<Result<Pointer>> TryAppendAsync(StoredValue value, ExpectedVersion e... | 36.4 | 97 | 0.702381 | [
"BSD-3-Clause"
] | oetyng/SAFE.AppendOnlyDb | SAFE.AppendOnlyDb/Database/Interfaces/IStreamAD.cs | 1,094 | C# |
// <auto-generated />
using System;
using Com.Danliris.Service.Packing.Inventory.Infrastructure;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Sto... | 34.685845 | 188 | 0.478407 | [
"MIT"
] | AndreaZain/com-danliris-service-packing-inventory | src/Com.Danliris.Service.Packing.Inventory.Infrastructure/Migrations/20210913034226_update_LocalSalesNotes_approval.Designer.cs | 220,049 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using StereoKit;
using StereoKitApp.HLRuffles;
using StereoKitApp.Utils;
namespace StereoKitApp.UIs
{
public class ConnectionMenu
{
public string CurrentIpInput { get; private set... | 27.825301 | 92 | 0.437108 | [
"MIT"
] | Strepto/CubeCraft_StereoKit | UIs/ConnectionMenu.cs | 4,621 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08._2D_Rectangle_Area
{
class Program
{
static void Main(string[] args)
{
var x1 = double.Parse(Console.ReadLine());
var y1 = double.Parse(Cons... | 28.916667 | 64 | 0.586455 | [
"MIT"
] | Filirien/Programing-Basics-August-2017 | Simple Calculations/07. 2D Rectangle Area/2D Rectangle Area.cs | 696 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorServerRadzenDebug
{
public class Program
{
... | 26.111111 | 70 | 0.651064 | [
"MIT"
] | harperjohn/radzenBlazorJohn | BlazorServerRadzenDebug/Program.cs | 705 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 32.571429 | 153 | 0.592105 | [
"MIT"
] | gurry/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Models/Generated/DefaultDeviceCompliancePolicy.cs | 912 | C# |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace AerovelenceMod.Content.Items.Weapons.Ranged
{
public class LightBolt : ModProjectile
{
public override void SetDefaults()
{
pro... | 41.722222 | 159 | 0.596094 | [
"MIT"
] | Arcri/AerovelenceMod | Content/Items/Weapons/Ranged/LightBolt.cs | 2,253 | C# |
using System.Collections.Generic;
using System.Linq;
using PostSharp.Patterns.Contracts;
using ThreatsManager.AutoGenRules.Engine;
using ThreatsManager.AutoGenRules.Schemas;
using ThreatsManager.AutoThreatGeneration.Engine;
using ThreatsManager.Interfaces.ObjectModel;
using ThreatsManager.Interfaces.ObjectModel.En... | 38.11985 | 118 | 0.517292 | [
"MIT"
] | simonec73/threatsmanager | Sources/Extensions/ThreatsManager.AutoThreatGeneration/Actions/ActionsHelper.cs | 10,180 | C# |
// Copyright 2013, 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... | 38.130081 | 100 | 0.668443 | [
"Apache-2.0"
] | Zocdoc/googleads-adwords-dotnet-lib | examples/adxbuyer/CSharp/v201309/BasicOperations/AddPlacements.cs | 4,690 | C# |
namespace O10.Client.Mobile.Base.Interfaces
{
public interface INotificationService
{
void ShowMessage(string msg, bool longMessage = false, bool asyncCall = false);
}
}
| 23.875 | 87 | 0.706806 | [
"Apache-2.0"
] | muaddibco/O10city | Client/Mobile/O10.Client.Mobile.Base/Interfaces/INotificationService.cs | 193 | C# |
using System;
namespace Elders.Cronus.Pipeline.Hosts
{
public interface ICronusHost : IDisposable
{
bool Start();
bool Stop();
}
} | 16 | 46 | 0.61875 | [
"Apache-2.0"
] | mynkow/Cronus | src/Elders.Cronus/Pipeline/Hosts/ICronusHost.cs | 162 | C# |
using Microsoft.Extensions.Logging;
using OnceMi.Framework.Entity.Admin;
using OnceMi.Framework.IRepository;
using System;
namespace OnceMi.Framework.Repository
{
public class JobHistoriyRepository : BaseUnitOfWorkRepository<JobHistories, long>, IJobHistoryRepository
{
private readonly ILogger<JobHist... | 30.952381 | 108 | 0.712308 | [
"MIT"
] | oncemi/OnceMi.Framework | src/OnceMi.Framework.Repository/Admin/JobHistoriyRepository.cs | 652 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Research.Naiad;
using Microsoft.Research.Naiad.Diagnostics;
namespace Musketeer {
public interface Example {
string Usage { get; }
void Execute(string[] args);
... | 34.208333 | 105 | 0.605359 | [
"Apache-2.0"
] | camsas/Musketeer | src/translation/naiad_templates/NaiadMusketeer/Program.cs | 1,642 | C# |
/*
* Copyright 2011 Shou Takenaka
*
* 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 ... | 36.188679 | 111 | 0.650678 | [
"Apache-2.0"
] | AutomateThePlanet/AutomateThePlanet-Learning-Series | dotnet/Development-Series/FidelyOpenSourceDotNetSearchQueryCompiler/Core/Compilation/Evaluators/GuardianEvaluator.cs | 1,920 | C# |
using ATSPM.IRepositories;
using ATSPM.Application.Models;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace ATSPM.Infrastructure.Repositories.EntityFramework
{
public class DirectionTypeRepository : IDirectionTypeRepository
{
private readonly MOEContext db;
... | 32.3 | 108 | 0.620433 | [
"Apache-2.0"
] | avenueconsultants/ATSPM | ATSPM.Repositories.EntityFramework/DirectionTypeRepository.cs | 1,617 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.PowerFx.Core.Localization;
using Microsoft.PowerFx.Core.Types;
#pragma warning disable SA1402 // File may only contain a single type
#pragma warning disable SA1649 // File name should match first type name
namespace Microsoft... | 30.514286 | 82 | 0.695693 | [
"MIT"
] | CarlosFigueiraMSFT/Power-Fx | src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Cot.cs | 1,070 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class SSynchronizeAnimationToParentDefinition :... | 35.259259 | 147 | 0.745798 | [
"MIT"
] | smorey2/GameEstate | src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/SSynchronizeAnimationToParentDefinition.cs | 952 | C# |
/*
* SPAR Engine API
*
* Allow clients to fetch SPAR Engine Analytics through APIs.
*
* The version of the OpenAPI document: 2
* Contact: analytics.api.support@factset.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serial... | 33.512821 | 121 | 0.618975 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/SPAREngine/v2/src/FactSet.SDK.SPAREngine/Model/AbstractOpenAPISchema.cs | 2,614 | C# |
//-----------------------------------------------------------------------
// <copyright file="ClusterSingletonManagerDownedSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net... | 35.15 | 157 | 0.582741 | [
"Apache-2.0"
] | hueifeng/akka.net | src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Singleton/ClusterSingletonManagerDownedSpec.cs | 6,329 | C# |
namespace EV3VisualLogger.UI.View {
partial class MyTextBox {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 35.333333 | 107 | 0.583333 | [
"MIT"
] | Yunato/EV3VisualLogger | EV3VisualLogger/UI/View/MyTextBox.Designer.cs | 1,274 | 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("AWSSDK.CloudHSMV2")]
[assembly: AssemblyDe... | 52.0625 | 402 | 0.759904 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/CloudHSMV2/Properties/AssemblyInfo.cs | 1,666 | C# |
using System;
using Core.Tests.Actor.Domain.Model;
using Symbiote.Core;
namespace Core.Tests.Actor.Domain.Memoization
{
public class VehicleMemento : IVehicleMemento, IMemento<Vehicle>
{
public string Vin { get; set; }
public string Make { get; set; }
public string Model { get; set; }
... | 25.314286 | 68 | 0.542889 | [
"Apache-2.0"
] | code-attic/Symbiote | tests/Core.Tests/Actor/Domain/Memoization/VehicleMemento.cs | 888 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using API.ViewModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace Web.Controllers
{
public class DashboardCon... | 33.662651 | 111 | 0.51879 | [
"MIT"
] | fhmanwar/PostSeminarFeedback | Web/Controllers/DashboardController.cs | 5,590 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
namespace GraphQL.Upload.AspNetCore
{
public static class JsonElementExtension
{
public static Dictionary<string, object> ToDictionnary(this JsonElement element)
{
return element.EnumerateObje... | 33.586667 | 95 | 0.4474 | [
"MIT"
] | valentintintin/graphql-dotnet-upload | src/GraphQL.Upload.AspNetCore/JsonElementExtension.cs | 2,519 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.Graph;
using System.Collections.Generic;
using Helpers;
namespace Credentials
{
public static partial class Credentials
{
public static async Task<IActionResult> create(HttpRequest req, string... | 36.065217 | 104 | 0.617842 | [
"MIT"
] | Teejeeh/api-management-developer-portal | api/Credentials/create.cs | 1,659 | C# |
using BrewLib.Audio;
using StorybrewCommon.Mapset;
using StorybrewCommon.Storyboarding;
using StorybrewEditor.Mapset;
using StorybrewEditor.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace StorybrewEditor.Storyboarding
{
public class EditorGeneratorContext : Gene... | 31.698276 | 202 | 0.620887 | [
"MIT"
] | Coosu/storybrew | editor/Storyboarding/EditorGeneratorContext.cs | 3,679 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace LiveChat
{
public class Program
{
pu... | 24.16 | 76 | 0.692053 | [
"MIT"
] | mohsenRi/Live-Chat | LiveChat/Program.cs | 606 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.