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 |
|---|---|---|---|---|---|---|---|---|
// 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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | 64.877743 | 102 | 0.802087 | [
"MIT"
] | chsienki/source-build-reference-packages | src/referencePackages/src/system.runtime/4.3.1/ref/net462/System.Runtime.cs | 20,698 | C# |
namespace ImportCsvToGraphite
{
using System;
using System.IO;
using System.Linq;
using System.Net.Sockets;
internal class Program
{
private static string _hostname = "localhost";
private static string _directory = "c:\\temp\\metrics";
private static int _por... | 45.780269 | 176 | 0.508767 | [
"MIT"
] | cskardon/ImportCsvToGraphite | ImportCsvToGraphite/ImportCsvToGraphite/Program.cs | 10,211 | C# |
using CsvHelper;
using LazyCache;
using LiveCharts;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
namespace CovidItalia
{
public static class Parser
{
public class Dati
{
public DateTime data { get; set; }
... | 40.772727 | 187 | 0.437497 | [
"CC0-1.0"
] | apd911/CovidUpdates | CovidItalia/Parser.cs | 20,633 | C# |
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using InvokeIR.Win32;
namespace PowerForensics.Ntfs
{
#region AttrDefClass
public class AttrDef
{
#region Constants
internal const int ATTRDEF_INDEX = 4;
#endregion Constants
#region Enu... | 29.305785 | 99 | 0.533277 | [
"Apache-2.0"
] | darkoperator/PowerForensics_Source | Invoke-IR.PowerForensics/PowerForensics/FileSystems/NTFS/MetadataFiles/AttrDef.cs | 3,548 | C# |
using System.Collections.Generic;
using System.Numerics;
namespace Raytracing
{
public record Triangle(IReadOnlyList<Vector3> Points)
{
public Vector3 A { get; } = Points[0];
public Vector3 B { get; } = Points[1];
public Vector3 C { get; } = Points[2];
public Vector3 Normal { ... | 24.933333 | 77 | 0.622995 | [
"MIT"
] | sqeezy/raytracing | src/Raytracing/Triangle.cs | 376 | 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("5B... | 37.648649 | 84 | 0.744436 | [
"MIT"
] | Avarea/Programming-Basics | Exams/5Butterfly/Properties/AssemblyInfo.cs | 1,396 | 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... | 54.106952 | 186 | 0.659024 | [
"Apache-2.0"
] | aws/aws-sdk-net | sdk/src/Services/LookoutforVision/Generated/_bcl35/AmazonLookoutforVisionClient.cs | 121,418 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Angle.Controllers
{
public class BlogController : Controller
{
public ActionResult Blog()
{
return View();
}
public ActionResult BlogAr... | 20.535714 | 46 | 0.516522 | [
"MIT"
] | saifabushamma/laravelTask | WB04HF123/mvc5/Angle/Angle/Controllers/BlogController.cs | 577 | C# |
using System.Collections.Generic;
using System.Text;
public class SpecialForce : Soldier
{
private const double OverallSkillMiltiplier = 3.5;
private const int SpecialForceRegenerateValue = 30;
public SpecialForce(string name, int age, double experience, double endurance)
: base(name, age, experi... | 25.852941 | 98 | 0.668942 | [
"MIT"
] | stoyanovmiroslav/CSharp-Fundamentals | CSharp OOP Advanced/CSharp Advanced Exams/C# OOP Advanced Exam - 20 August 2017/Last Army/Entities/Soldiers/SpecialForce.cs | 881 | C# |
//
// PricesEntity.cs
//
// Author:
// Igor Guerrero <igorgue@protonmail.com>
//
// Copyright (c) 2022 HODL Wallet
//
// 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 restric... | 31.555556 | 80 | 0.691147 | [
"MIT"
] | hodlwallet/liviano | Liviano.Services/Models/PricesEntity.cs | 1,990 | C# |
using Newtonsoft.Json.Linq;
namespace TidalUSDK.Extensions
{
public static class JsonExtensions
{
public static bool IsNullOrEmpty(this JToken token)
{
return token == null ||
token.Type == JTokenType.Array && !token.HasValues ||
token.Type == J... | 32.3125 | 89 | 0.560928 | [
"MIT"
] | SacredSkull/dotnet-tidal-usdk | TidalUSDK/Extensions/JsonExtensions.cs | 517 | C# |
namespace Gu.Localization.Analyzers.Tests.GULOC08DuplicateNeutralTests
{
using System.IO;
using System.Linq;
using Gu.Localization.Analyzers.Tests.Helpers;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public class Diagnostic
{
privat... | 45.25 | 259 | 0.672192 | [
"MIT"
] | GuOrg/Gu.Localization | Gu.Localization.Analyzers.Tests/GULOC08DuplicateNeutralTests/Diagnostic.cs | 2,174 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager;
namespace Azure.ResourceManager.Network.Models
{
public partial class Tr... | 37 | 134 | 0.538084 | [
"MIT"
] | Cardsareus/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/Models/TroubleshootingDetails.Serialization.cs | 2,442 | C# |
using IntermediatorBotSample.CommandHandling;
using IntermediatorBotSample.ConversationHistory;
using IntermediatorBotSample.MessageRouting;
using IntermediatorBotSample.Model;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Confi... | 44.480583 | 161 | 0.591618 | [
"MIT"
] | jyapurv/botderivador | IntermediatorBotSample/Middleware/HandoffMiddleware.cs | 9,166 | C# |
using Service.IndexPrices.Domain.Models.IndexInstructions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Service.IndexPrices.Grpc.Models.IndexInstructions
{
[DataContract]
public class IndexInst... | 24.388889 | 59 | 0.758542 | [
"MIT"
] | MyJetWallet/Service.IndexPrices | src/Service.IndexPrices.Grpc/Models/IndexInstructions/IndexInstructionCreateResponse.cs | 441 | C# |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microso... | 42.333333 | 86 | 0.560872 | [
"MIT"
] | cointoss1973/Prism4.1-WPF | Quickstarts/View-Switching Navigation/Silverlight/View-Switching Navigation/ViewSwitchingNavigation.Email/Views/ComposeEmailView.xaml.cs | 1,651 | C# |
/* Copyright 2019-present MongoDB Inc.
*
* 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 wr... | 29.265306 | 75 | 0.629707 | [
"Apache-2.0"
] | Anarh2404/mongo-csharp-driver | src/MongoDB.Driver.Core/Core/Events/ConnectionClosedReason.cs | 1,436 | 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... | 44.777344 | 158 | 0.613103 | [
"Apache-2.0"
] | sebtelko/pulumi-azure-native | sdk/dotnet/ContainerInstance/V20171001Preview/ContainerGroup.cs | 11,463 | C# |
using Sharpen;
namespace android.telephony.@internal.test
{
[Sharpen.NakedStub]
public interface SimulatedRadioControl
{
}
}
| 13 | 42 | 0.776923 | [
"Apache-2.0"
] | Conceptengineai/XobotOS | android/generated/android/telephony/internal/test/SimulatedRadioControl.cs | 130 | C# |
using NBitcoin;
using System.Net;
using WalletWasabi.BitcoinCore.Configuration;
using WalletWasabi.BitcoinCore.Configuration.Whitening;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BitcoinCore
{
public class ConfigTranslatorTests
{
[Fact]
public void TryGetRpcUserTests()
{
var config = new CoreConfig... | 36.040323 | 74 | 0.742672 | [
"MIT"
] | Kixunil/WalletWasabi | WalletWasabi.Tests/UnitTests/BitcoinCore/ConfigTranslatorTests.cs | 4,469 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UDPCommunication;
namespace TestUDPCommunicationIA
{
class Program
{
static void Main(string[] args)
{
UDPCommunicationIA udpia = new UDPCommunicationIA();
... | 31.4 | 149 | 0.51465 | [
"MIT"
] | intuiface/UDPCommunicationIA | source/UDPCommunication/TestUDPCommunicationIA/Program.cs | 1,572 | C# |
//---------------------------------------------------------------------------------
// Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk)
// 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 ... | 38.660465 | 140 | 0.567854 | [
"Apache-2.0"
] | ghuntley/Cheesebaron.MvxPlugins | AzureAccessControl/Cheesebaron.MvxPlugins.AzureAccessControl.Touch/Views/DefaultLoginIdentityProviderTableViewController.cs | 8,314 | C# |
using N2e.MarkDown.Abstractions;
using N2e.MarkDown.Core;
namespace N2e.MarkDown.Syntax
{
public class MarkdownInlineXml : MarkDownInline
{
public override char TriggerValue => '<';
public override char TriggerEnd => '>';
public override MdType TypeName => MdType.XmlElement;
pu... | 26.428571 | 61 | 0.683784 | [
"CC0-1.0"
] | gjkaal/n2e-Markdown | N2e.MarkDown/Syntax/MarkdownInlineXml.cs | 372 | C# |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license or other governing licenses that can be found in the LICENSE.md file or at
* https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE
*/
#endregion
namespace Krypton.Toolkit.Suite.Extended.Buttons
{
//... | 31.075419 | 208 | 0.525303 | [
"BSD-3-Clause"
] | Krypton-Suite/Extended-Toolk | Source/Krypton Toolkit/Main/Krypton.Toolkit.Suite.Extended.Buttons/Classes/Utilities/GlobalMethods.cs | 11,127 | C# |
namespace Newbe.Mahua.Samples.HotUpdate
{
/// <summary>
/// 本插件的基本信息
/// </summary>
public class PluginInfo : IPluginInfo
{
/// <summary>
/// 版本号,建议采用 主版本.次版本.修订号 的形式
/// </summary>
public string Version { get; set; } = "1.0.0";
/// <summary>
/// 插件名... | 24.742857 | 82 | 0.496536 | [
"MIT"
] | BOBO41/Newbe.Mahua.Framework | src/Newbe.Mahua.Samples.HotUpdate/PluginInfo.cs | 994 | C# |
namespace FPSCamera
{
using Configuration;
using CSkyL.Transform;
using CamController = CSkyL.Game.CamController;
using Control = CSkyL.Game.Control;
using CUtils = CSkyL.Game.Utils;
using Log = CSkyL.Log;
public class Controller : CSkyL.Game.Behavior
{
public bool IsActivated =... | 39.358779 | 99 | 0.540632 | [
"MIT"
] | Asu4ni/CitiesSkylines-FPSCamera | FPSCamera/Controller.cs | 10,312 | 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/codecapi.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 42.545455 | 145 | 0.748932 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/codecapi/CODECAPI_AVEncVideoCBRMotionTradeoffTests.cs | 1,874 | C# |
namespace SpaceEngineers.Core.Basics
{
using System;
/// <summary>
/// System.Type.MethodInfo extensions
/// </summary>
public static class MethodExtensions
{
/// <summary>
/// Call method by reflection
/// </summary>
/// <param name="declaringType">Type that dec... | 34.90625 | 96 | 0.621307 | [
"MIT"
] | warning-explosive/Core | Basics/MethodExtensions.cs | 1,117 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using SampleApp.Controls;
using SampleApp.Droid.Renderers;
using Xamarin.Forms;
using Xamarin.Forms.Platfo... | 32.886364 | 125 | 0.710435 | [
"MIT"
] | jingliancui/XamarinFormsSmartRefreshLayoutSample | 1.1.0/SampleApp/SampleApp/SampleApp.Android/Renderers/WaterDropRefreshRenderer.cs | 1,449 | C# |
//using System;
//using System.Collections.Generic;
//using System.Configuration;
//using System.Linq;
//using System.Net;
//using System.Net.Http;
//using System.Net.Http.Formatting;
//using System.Threading.Tasks;
//using System.Web.Http;
//using System.Web.Http.Description;
//using APTCWebb.Common;
//using APTCWebb... | 60.360465 | 241 | 0.636872 | [
"MIT"
] | DeePatrick/Ajman | V2.0/APTCWebb/Common/SendNotification.cs | 5,193 | C# |
// <auto-generated />
using System;
using CQRSApiTemplate.Infrastructure.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace CQRSApiTemplate.Infrastruc... | 38.690647 | 133 | 0.487728 | [
"MIT"
] | dekizard/CQRSApiTemplate | src/CQRSApiTemplate.Infrastructure/Persistence/Migrations/CQRSApiTemplateDbContextModelSnapshot.cs | 5,380 | 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.495726 | 106 | 0.566988 | [
"Apache-2.0"
] | MDanialSaleem/aws-sdk-net | sdk/src/Services/Outposts/Generated/Model/LineItem.cs | 3,217 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | 39.156716 | 126 | 0.610825 | [
"Apache-2.0"
] | resolutedreamer/BLE_UART_8001 | BLE_UART/App.xaml.cs | 5,249 | C# |
using Xunit;
using FluentAssertions;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using HotelCalifornia.Backend.Database;
using HotelCalifornia.Backend.Domain.Entities;
using HotelCalifornia.Backend.Core.Generators;
using HotelCalifornia.Backen... | 39.014706 | 98 | 0.64983 | [
"MIT"
] | TomaszKandula/HotelCalifornia | HotelCalifornia.UnitTests/Handlers/Booking/AddBookingCommandHandlerTest.cs | 2,653 | C# |
using System;
using UltimaOnline;
namespace UltimaOnline.Items
{
public class ElvenStoveSouthAddon : BaseAddon
{
public override BaseAddonDeed Deed { get { return new ElvenStoveSouthDeed(); } }
[Constructable]
public ElvenStoveSouthAddon()
{
AddComponent... | 25.555556 | 90 | 0.567081 | [
"MIT"
] | netcode-gamer/game.ultimaonline.io | UltimaOnline.Data/Items/Addons/ElvenStoveSouthAddon.cs | 1,610 | C# |
using System.Collections.Generic;
namespace Palaso.Base32
{
public partial class Base32Convert
{
private const string base32hexAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUV";
/// <summary>
/// base32hex encoding as defined by RFC4648
/// http://rfc.net/rfc4648.html
/// One property with this alphabet, wh... | 35.119048 | 99 | 0.722034 | [
"MIT"
] | JohnThomson/libpalaso | Palaso/Base32/Base32HexConvert.cs | 1,475 | 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.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the followin... | 39.40678 | 104 | 0.748387 | [
"MIT"
] | 21pages/WPF-Samples | Graphics/Geometery/Properties/AssemblyInfo.cs | 2,328 | C# |
using BoligApp.Bizz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... | 24.558824 | 63 | 0.700599 | [
"Unlicense"
] | gywerd/BoligApp | BoligApp.GUI/UiEditTennant.xaml.cs | 837 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.CompensationReview
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepT... | 21.836066 | 136 | 0.731982 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.CompensationReview/Bonus_PlanObjectType.cs | 1,332 | C# |
//
// DoNotRecurseInEqualityRule: flag recursive operator== and !=.
//
// Authors:
// Jesse Jones <jesjones@mindspring.com>
//
// Copyright (C) 2008 Jesse Jones
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), ... | 33.895161 | 106 | 0.674994 | [
"MIT"
] | SteveGilham/Gendarme | gendarme/rules/Gendarme.Rules.Correctness/DoNotRecurseInEqualityRule.cs | 4,203 | 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... | 42.367925 | 168 | 0.683812 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/APIGateway/Generated/Model/Internal/MarshallTransformations/DeleteDocumentationVersionResponseUnmarshaller.cs | 4,491 | C# |
using NUnit.Framework;
namespace JetBlack.Sspi.Test
{
[TestFixture]
public class SecurityContextFixture
{
[TestCase("Negotiate", SspiContextFlags.MutualAuth | SspiContextFlags.InitIdentify | SspiContextFlags.Confidentiality | SspiContextFlags.ReplayDetect | SspiContextFlags.SequenceDetect | SspiCo... | 39.511628 | 251 | 0.662154 | [
"MIT"
] | rob-blackbourn/JetBlack.Sspi | JetBlack.Sspi.Test/SecurityContextFixture.cs | 1,701 | C# |
namespace NultienShop.DataAccess.Domain.Models
{
public class Article : BaseEntity
{
public int ArticleId { get; set; }
public string ArticleName { get; set; }
public int ArticlePrice { get; set; }
}
} | 26.444444 | 47 | 0.630252 | [
"MIT"
] | nubara300/shop-nultien | Server/NultienShop.Common.Models/Models/Article.cs | 240 | 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.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.Cod... | 39.381188 | 166 | 0.604777 | [
"MIT"
] | BrianFreemanAtlanta/roslyn | src/Features/Core/Portable/GenerateMember/AbstractGenerateMemberService.cs | 7,957 | C# |
/* Generated by QSI
Date: 2020-08-12
Span: 2830:1 - 2838:24
File: src/postgres/include/nodes/parsenodes.h
*/
using Qsi.PostgreSql.Internal.Serialization;
namespace Qsi.PostgreSql.Internal.PG10.Types
{
[PgNode("AlterObjectSchemaStmt")]
internal class AlterObjectSchemaStmt : IPg10Node
{
public ... | 21.793103 | 71 | 0.666139 | [
"MIT"
] | ScriptBox99/chequer-qsi | Qsi.PostgreSql/Internal/PG10/Types/AlterObjectSchemaStmt.cs | 632 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using TableStorageClient.Interfaces;
namespace TableStorageClient.Classes
{
public class TableOperations<T>:ITableOperations<T> where T: TableEntity
{
public CloudTable Table { get; set; }
public TableOper... | 31.26087 | 90 | 0.710709 | [
"MIT"
] | akuryan/self-hosted-azure-devops-agents | autoscalingApp/AgentsMonitor/TableStorageClient/Classes/TableOperations.cs | 721 | C# |
using Assets.Tools.Script.Attributes;
using System;
namespace XQ.ProjectX.Config
{
public class TaskAddSceneElementToScene
{
[InspectorStyle("SceneId", "GameSceneIdSelector")]
public string SceneId = string.Empty;
[InspectorStyle("NPCId", "SceneElementIdSelector")]
public string ElementId = string.Empty;
}... | 21.533333 | 53 | 0.767802 | [
"MIT"
] | moto2002/kaituo_src | src/XQ.ProjectX.Config/TaskAddSceneElementToScene.cs | 323 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AH.Shared.MODEL;
namespace AH.DRUGS.MODEL
{
public class DrugCompany
{
public string ID { set; get; }
public string Name { set; get; }
public string NameBeng { set... | 25.92 | 58 | 0.62037 | [
"Apache-2.0"
] | atiq-shumon/DotNetProjects | Hospital_ERP_VS13-WCF_WF/AH.DRUGS/MODEL/DrugCompany.cs | 650 | C# |
using Newtonsoft.Json;
using R6Api.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace R6Api.Models
{
/// <summary>
/// Ranked Data for AS Region for Rainbow6
/// </summary>
public class RankedAS : IRegionRanked
{
/// <inheritdoc/>
[JsonProperty("AS_kills")]
public int ... | 25.614583 | 76 | 0.655144 | [
"MIT"
] | Cenngo/R6Tab.NET | R6TabApiWrapper/Models/Ranked/RankedAS.cs | 2,461 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 41.558824 | 153 | 0.624912 | [
"MIT"
] | GeertVL/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/MobileAppContentContainedAppsCollectionResponse.cs | 1,413 | C# |
using System;
using System.Security.Cryptography;
using Newtonsoft.Json;
namespace CryptoShredding.Serialization.JsonConverters;
public class EncryptionJsonConverter
: JsonConverter
{
private readonly ICryptoTransform _encryptor;
private readonly FieldEncryptionDecryption _fieldEncryptionDecryption;
... | 29.425 | 136 | 0.750212 | [
"MIT"
] | EventStore/samples | Crypto_Shredding/.NET/src/CryptoShredding/Serialization/JsonConverters/EncryptionJsonConverter.cs | 1,177 | C# |
using EngineeringWork.Core.Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EngineeringWork.Repository.Configuration
{
public class DailyRouteEntityTypeConfiguration : IEntityTypeConfiguration<DailyRoute>
{
public void Configure(EntityTypeBui... | 30.071429 | 89 | 0.750594 | [
"MIT"
] | piratezxe/Engineering | src/EngineeringWork.Repository/Configuration/DailyRouteEntityTypeConfiguration.cs | 421 | C# |
namespace System.Windows.Controls
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
internal class InputEventRouter : IDisposable
{
protected... | 31.228571 | 138 | 0.577615 | [
"MIT"
] | dotnetprojects/TreeViewEx | TreeViewEx/Controls/InputEventRouter.cs | 3,281 | C# |
using System.Net.Security;
using System.Text;
using Lib.Socket.Server.Models;
namespace DotNetCore.SslSocket.Server.Models
{
/// <summary>
/// Socket state object
/// </summary>
public class SslStreamState : IStateObject
{
/// <summary>
/// Client Socket
/// </summary>
... | 22.595745 | 52 | 0.518832 | [
"MIT"
] | KarateJB/DotNetCore.Socket.Sample | src/DotNetCore.SslSocket.Server/Models/SslStreamState.cs | 1,064 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace io.vertx.core.eventbus.impl
{
class Handlers<T>
{
private int pos;
public readonly List<T> List = new List<T>();
public T Choose()
{
while (true)
{
... | 21.047619 | 60 | 0.376697 | [
"Apache-2.0"
] | bicorz/vertx-eventbus | src/core/eventbus/impl/Handlers.cs | 886 | C# |
using HADES.Util;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace HADES.Controllers
{
public class DocumentationController : Controller
{
[Authorize]
public IActionResult Documentation()
{
if (!ConnexionUtil.CurrentUser(this.User).GetRole().... | 24.45 | 98 | 0.615542 | [
"MIT"
] | mikeyX101/HADES | HADES/Controllers/DocumentationController.cs | 491 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | 33.257576 | 97 | 0.615034 | [
"Apache-2.0"
] | FrancisChung/Lean | Common/Python/PythonInitializer.cs | 2,197 | C# |
using System;
using System.Runtime.InteropServices;
#pragma warning disable 0649
namespace Swifter.Tools
{
[StructLayout(LayoutKind.Sequential)]
internal struct FieldHandleStruct
{
public readonly IntPtr Handle;
public readonly ushort Index;
public readonly ushort Flag;
pu... | 21 | 41 | 0.708683 | [
"MIT"
] | BenLampson/Swifter.Json | Swifter.Core/Tools/Type/FieldHandleInfo.cs | 359 | C# |
#region Copyright & License
/*
Copyright (c) 2022, Integrated Solutions, Inc.
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 notice, t... | 55 | 754 | 0.800727 | [
"BSD-3-Clause"
] | ISI-Extensions/ISI.Extensions | src/ISI.Extensions.VisualStudio/SolutionApi/GetSolutionLock.cs | 2,750 | 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... | 39.396226 | 170 | 0.693008 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.IdentityManagement/Model/EntityAlreadyExistsException.cs | 2,088 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.VisualStudio.TestTools.Common;
using Microsoft.VisualStudi... | 38.165919 | 159 | 0.600752 | [
"Apache-2.0"
] | Cireson/EntityFramework6 | tools/VsIdeHostAdapter/TargetAddIn/HostSide/VsIdeHostAdapterRunConfigControl.cs | 8,511 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Extensions;
using BTCPayServer.Abstractions.Models;
using BTCPayServer.Models;
using BTCPayServer.Models.ServerViewModels;
using BTCPayServer.Storage.Models;
using BTCPayServer.Storage.Servic... | 40.078431 | 159 | 0.603311 | [
"MIT"
] | AlesioKanani/btcpayserver | BTCPayServer/Controllers/ServerController.Storage.cs | 12,264 | C# |
using UnityEngine;
namespace KDGame.Base
{
// 通用单例类
public class MonoSingleton<T> : MonoBehaviour where T : MonoSingleton<T>
{
private static T _instance = null;
public static T Instance
{
get
{
if (_instance == null)
... | 19.470588 | 77 | 0.429003 | [
"Apache-2.0"
] | Kerydic/AssetDemo | Assets/Scripts/Base/MonoSingleton.cs | 674 | C# |
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using IdSort.Properties;
using IdSort.Restructure;
namespace IdSort
{
public partial class MainForm : Form
{
/// <summary>
/// Curre... | 35.843902 | 215 | 0.579205 | [
"MIT"
] | mitchfizz05/IdSort | IdSort/MainForm.cs | 7,350 | C# |
namespace Shop.Module.Core.Abstractions.Models
{
public enum MediaType
{
Image = 0,
Video = 1,
File = 2
}
}
| 14.5 | 47 | 0.531034 | [
"MIT"
] | cn-cam/module-shop | src/server/src/Modules/Shop.Module.Core.Abstractions/Models/MediaType.cs | 147 | C# |
using System;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PcapDotNet.Packets;
using PcapDotNet.Packets.IpV4;
using PcapDotNet.Packets.Transport;
namespace PcapDotNet.Core.Test
{
internal class WiresharkDatagramComparerUdp : WiresharkDatagramComparer
{
protected ove... | 36.306667 | 109 | 0.47668 | [
"BSD-3-Clause"
] | okaywang/MyPcap | PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerUdp.cs | 2,725 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Relational.Metadata;
namespace Microso... | 36.459459 | 131 | 0.671609 | [
"Apache-2.0"
] | matteo-mosca-easydom/EntityFramework | src/EntityFramework.SqlServer/Metadata/ReadOnlySqlServerKeyExtensions.cs | 1,351 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace HelloWorldApp.BusinessObjects
{
[Serializable]
public partial class Person
{
}
}
| 14.583333 | 40 | 0.731429 | [
"Unlicense"
] | moljac/MonoVersalSharpSerializer | XamarinComponent.SharpSerializer/content/samples/SharpSerializer.Android/HelloWorldApp.MonoForAndroid/BusinessObjects.HolisticWare/Person.Serializable.cs | 177 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace AudiotPrism
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... | 20.88 | 61 | 0.641762 | [
"MIT"
] | kbdnr/Audiot | AudiotPrism/App.xaml.cs | 524 | C# |
using UnityEngine.Rendering.HighDefinition.Attributes;
using UnityEngine.Experimental.Rendering;
namespace UnityEngine.Rendering.HighDefinition
{
partial class Lit : RenderPipelineMaterial
{
// Currently we have only one materialId (Standard GGX), so it is not store in the GBuffer and we don't test for... | 45.036913 | 190 | 0.605395 | [
"MIT"
] | ACBGZM/JasonMaToonRenderPipeline | Packages/com.unity.render-pipelines.high-definition@10.5.0/Runtime/Material/Lit/Lit.cs | 13,421 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MainThread : MonoBehaviour
{
public static MainThread mainThread;
public GameObject Drop;
public GameObject StartB... | 39.75974 | 169 | 0.599543 | [
"Unlicense"
] | Jonysand/CodeLab1-yl7113-HW3 | Week3-CodeLab1-DataSave/Assets/Scripts/MainThread.cs | 6,125 | 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 ... | 20.71831 | 67 | 0.670972 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-smartag/Smartag/Model/V20180313/GetCloudConnectNetworkUseLimitResponse.cs | 1,471 | C# |
using System;
using System.Collections.Generic;
namespace LobotJR.Shared.Authentication
{
/// <summary>
/// The response object from the authorization code flow and refresh call.
/// </summary>
public class TokenResponse
{
/// <summary>
/// The oauth token to use when authenticatin... | 32.810811 | 84 | 0.574135 | [
"MIT"
] | EmpyrealHell/lobotjr | LobotJR.Shared/Authentication/TokenResponse.cs | 1,216 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | 40.743056 | 146 | 0.589398 | [
"Apache-2.0"
] | Zingasoft/Lean | Algorithm.CSharp/LongOnlyAlphaStreamAlgorithm.cs | 5,867 | C# |
using Never;
using Never.CommandStreams;
using Never.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace B2C.Admin.Web.Permissions.Commands
{
[Serializable, CommandDomain(Domain = "admin")]
... | 30.758065 | 160 | 0.640273 | [
"MIT"
] | shelldudu/never_application | src/admin/B2C.Admin.Web/Permissions/Commands/ChangeDepartmentInfoCommand.cs | 1,945 | C# |
using System;
using System.Web.Mvc;
namespace NoMoreSusi.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
} | 16.769231 | 44 | 0.591743 | [
"MIT"
] | Ico093/NoMoreSusi | NoMoreSusi.Web/Controllers/HomeController.cs | 220 | C# |
using System;
using System.Globalization;
using ClearHl7.Extensions;
using ClearHl7.Helpers;
using ClearHl7.Serialization;
using ClearHl7.V260.Types;
namespace ClearHl7.V260.Segments
{
/// <summary>
/// HL7 Version 2 Segment VND - Purchasing Vendor.
/// </summary>
public class VndSegment : ISegment
... | 40 | 181 | 0.567819 | [
"MIT"
] | kamlesh-microsoft/clear-hl7-net | src/ClearHl7/V260/Segments/VndSegment.cs | 3,762 | C# |
/*
Copyright 2014-2021 SourceGear, 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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | 40.062533 | 315 | 0.673417 | [
"Apache-2.0"
] | Chatina73/SQLitePCL.raw | src/SQLitePCLRaw.provider.winsqlite3/Generated/provider_winsqlite3.cs | 75,599 | C# |
// MIT License
//
// Copyright (c) 2017 Kyle Kingsbury
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, m... | 37.470588 | 81 | 0.680272 | [
"MIT"
] | KKings/Sitecore.Feature.Blog | src/Feature/Blog/code/Resolvers/MappedResolver.cs | 1,913 | C# |
using System.ComponentModel.DataAnnotations;
namespace LookupBusiness.Models
{
public class Shop
{
public int ShopId { get; set; }
[Required]
[StringLength(50)]
public string Name { get; set; }
[Required]
[StringLength(200)]
public string Offerings { get; set; }
[Required]
publi... | 25 | 79 | 0.658 | [
"MIT"
] | taylulz/LookupBusiness | APILookupBusiness/Models/Shop.cs | 500 | C# |
using System.Globalization;
namespace Microsoft.Recognizers.Text.NumberWithUnit.French
{
public class LengthParserConfiguration : FrenchNumberWithUnitParserConfiguration
{
public LengthParserConfiguration() : this(new CultureInfo(Culture.French)) { }
public LengthParserConfiguration(CultureIn... | 29.733333 | 86 | 0.730942 | [
"MIT"
] | Cicero96/Recognizers-Text | .NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/LengthParserConfiguration.cs | 448 | C# |
namespace WindowsIcon
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow
{
public MainWindow()
{
InitializeComponent();
}
}
}
| 17.214286 | 45 | 0.539419 | [
"MIT"
] | ChrisDiky/MaterialDesignInXaml.Examples | MahApps/WindowIcon/WindowsIcon/MainWindow.xaml.cs | 243 | C# |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012 - 2019 - 2019. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverle... | 31.5625 | 81 | 0.625743 | [
"BSD-3-Clause"
] | anuprakash/Krypton-NET-5.472 | Source/Krypton Docking Examples/Navigator + FloatingWindows/ContentDocument.cs | 1,013 | C# |
using System;
using System.IO;
using GroupDocs.Conversion.Options.Convert;
namespace GroupDocs.Conversion.Examples.CSharp.BasicUsage
{
/// <summary>
/// This example demonstrates how to convert XML file into TXT format.
/// For more details about Extended Markup Language (.xml) to Plain Text File Format (.... | 41.16129 | 159 | 0.664577 | [
"MIT"
] | groupdocs-conversion/GroupDocs.Conversion-for-.NET | Examples/GroupDocs.Conversion.Examples.CSharp/BasicUsage/ConvertToWordProcessing/ConvertToTxt/ConvertXmlToTxt.cs | 1,276 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
using Object = UnityEngine.Object;
namespace UnityEditor.Timeline
{
static class SequencerContextMenu
{
static readonly TimelineAction[] MarkerHeaderCommonOpera... | 46.109131 | 194 | 0.569338 | [
"MIT"
] | 16pxdesign/genetic-algorithm-unity | Library/PackageCache/com.unity.timeline@1.2.10/Editor/Actions/Menus/TimelineContextMenu.cs | 20,703 | C# |
using UnityEngine;
public class TrailComponent : MonoBehaviour
{
[SerializeField]
protected SpriteRenderer _renderer;
protected float _fadeStartTime;
protected float _fadeEndTime;
private void Awake()
{
_fadeStartTime = Time.time + 1.0f;
_fadeEndTime = _fadeStartT... | 20.078947 | 46 | 0.524246 | [
"MIT"
] | Red-Plus-Blue/Ludum-Dare-48 | Assets/Scripts/Components/TrailComponent.cs | 763 | 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
namespace DotNetNuke.Web.UI.WebControls
{
using System;
using System.Web.UI;
using System.Web.UI.WebCo... | 30.392857 | 116 | 0.625147 | [
"MIT"
] | Acidburn0zzz/Dnn.Platform | DNN Platform/DotNetNuke.Web/UI/WebControls/DnnImageButton.cs | 853 | C# |
using System.ComponentModel.DataAnnotations;
namespace Web.Models.Books
{
public class BooksCreateViewModel
{
[Required]
[MaxLength(80, ErrorMessage = "Author name cannot be longer than 80 characters")]
public string Author { get; set; }
[Required]
[MaxLength(80, Error... | 32.321429 | 114 | 0.624309 | [
"MIT"
] | viksuper555/Csharp-Programming | MyLibrary/Web/Models/Books/BooksCreateViewModel.cs | 907 | C# |
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace Aranasoft.Cobweb.Mvc.Validation.Fakes {
public class FakeHttpSessionState : HttpSessionStateBase {
private SessionStateItemCollection _objects;
... | 27.157895 | 84 | 0.582849 | [
"BSD-3-Clause"
] | aranasoft/cobweb | src/aspnet/src/mvc4.validation/Fakes/FakeHttpSessionState.cs | 2,064 | C# |
using System;
using System.Windows.Forms;
namespace PPDFramework
{
/// <summary>
/// フォーム拡張です。
/// </summary>
public static class FormExtention
{
/// <summary>
/// インボークします。
/// </summary>
/// <param name="control"></param>
/// <param name="action"></param>
... | 21.114286 | 70 | 0.404601 | [
"Apache-2.0"
] | KHCmaster/PPD | Win/PPDFramework/FormExtention.cs | 777 | C# |
namespace MassTransitBenchmark.Latency
{
using System;
using System.Threading.Tasks;
using MassTransit;
using MassTransit.AmazonSqsTransport;
public class AmazonSqsMessageLatencyTransport :
IMessageLatencyTransport
{
readonly AmazonSqsHostSettings _hostSettings;
readonl... | 30.285714 | 117 | 0.605542 | [
"ECL-2.0",
"Apache-2.0"
] | AlexanderMeier/MassTransit | tests/MassTransit.Benchmark/Latency/AmazonSqsMessageLatencyTransport.cs | 1,696 | C# |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//... | 32.317073 | 82 | 0.676981 | [
"Apache-2.0"
] | AndreyBogach/morelinq | MoreLinq.Test/BreakingSequence.cs | 1,325 | C# |
using System;
using LiteDB;
using Newtonsoft.Json.Linq;
namespace pony.Storage
{
public class PonyWriteEntity
{
private readonly BsonDocument _bsonDocument;
private PonyWriteEntity(BsonDocument bsonDocument)
{
_bsonDocument = bsonDocument;
}
public BsonVal... | 27.777778 | 83 | 0.574 | [
"MIT"
] | a-severin/pony | pony/Storage/PonyWriteEntity.cs | 1,502 | C# |
// Copyright 2004-2011 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/licenses/LICENSE-2.0
//
/... | 40.152091 | 260 | 0.721496 | [
"Apache-2.0"
] | flcdrg/Windsor | src/Castle.Windsor.Tests/SpecializedResolvers/ArrayResolverTestCase.cs | 10,562 | C# |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace PrefabInPrefabAsset
{
[CustomEditor(typeof(PrefabInPrefab))]
public class PrefabInPrefabEditor : Editor {
private SerializedProperty prefab;
private SerializedProperty moveComponents;
private SerializedProperty previewInEditor;
void OnEna... | 30.944444 | 138 | 0.802513 | [
"MIT"
] | anchan828/prefab_in_prefab | Assets/PrefabInPrefab/Editor/PrefabInPrefabEditor.cs | 1,116 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MoneyTaker
{
public partial class AddTradeForm : Form
{
private FormExchangeMa... | 24.461538 | 72 | 0.623428 | [
"Apache-2.0"
] | foryou8033j/MoneyTaker | MoneyTaker/Forms/SubForm/AddSubject/AddTradeForm.cs | 1,274 | C# |
namespace MultiMiner.Remoting.Server
{
public class Config
{
private const int UserPortMin = 49152;
public const int BroadcastPort = UserPortMin + 1475;
public const int RemotingPort = UserPortMin + 1473;
}
}
| 22.454545 | 60 | 0.663968 | [
"MIT"
] | mindfox/MultiMiner | MultiMiner.Remoting.Server/Config.cs | 249 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 71.918534 | 475 | 0.663486 | [
"MIT"
] | Agazoth/azure-powershell | src/LabServices/generated/cmdlets/StartAzLabServicesVMRedeployment_Redeploy.cs | 34,822 | C# |
#region usings
using System;
using AppSoftware.LicenceEngine.Common;
using AppSoftware.LicenceEngine.KeyGenerator;
using AppSoftware.LicenceEngine.KeyVerification;
using NUnit.Framework;
#endregion
namespace AppSoftware.LicenceEngine.Tests
{
[TestFixture]
public class PkvLicenceKeyTests
... | 42.503704 | 159 | 0.598118 | [
"MIT"
] | VarChar42/dotnet-licence-key-generator | AppSoftware.LicenceEngine.Tests/PkvLicenceKeyTests.cs | 5,740 | C# |
namespace Lucene.Net.Facet.Taxonomy.WriterCache
{
/*
* 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... | 28.578313 | 88 | 0.672007 | [
"Apache-2.0"
] | CerebralMischief/lucenenet | src/Lucene.Net.Facet/Taxonomy/WriterCache/LabelToOrdinal.cs | 2,374 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.