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 |
|---|---|---|---|---|---|---|---|---|
/*
* 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... | 36.873874 | 181 | 0.638163 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/AWSSupport/Generated/Model/Internal/MarshallTransformations/DescribeTrustedAdvisorCheckResultRequestMarshaller.cs | 4,093 | C# |
using StarDust.CasparCG.net.Models;
using System;
using System.Collections.Generic;
namespace StarDust.CasparCG.net.AmcpProtocol
{
/// <summary>
/// Use when we receive the templates information
/// </summary>
public class TLSEventArgs : EventArgs
{
/// <summary>
/// Ctor
... | 23.068966 | 61 | 0.585949 | [
"MIT"
] | dust63/StartDust.CasparCG.net | src/StarDust.CasparCg.net.AmcpProtocol/EventArgs/TLSEventArgs.cs | 671 | C# |
// Generated by gencs from std_msgs/Byte.msg
// DO NOT EDIT THIS FILE BY HAND!
using System;
using System.Collections;
using System.Collections.Generic;
using SIGVerse.RosBridge;
using UnityEngine;
namespace SIGVerse.RosBridge
{
namespace std_msgs
{
[System.Serializable]
public class Byte : RosMessage
{
... | 16.113636 | 46 | 0.681241 | [
"MIT"
] | Ohara124c41/TUB-MSc_Thesis | SEK_01_MkI/Assets/SIGVerse/Common/ROSBridge/messaging/std_msgs/Byte.cs | 709 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 40.775 | 124 | 0.710607 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/dataproc/v1/google-cloud-dataproc-v1-csharp/Google.Cloud.Dataproc.V1.StandaloneSnippets/WorkflowTemplateServiceClient.GetWorkflowTemplateAsyncSnippet.g.cs | 1,631 | C# |
namespace LeetCode.Naive.Problems;
/// <summary>
/// Problem: https://leetcode.com/problems/reorganize-string/
/// Submission: https://leetcode.com/submissions/detail/238308970/
/// </summary>
internal class P0767
{
public class Solution
{
public string ReorganizeString(string S)
{
... | 24.591837 | 87 | 0.491286 | [
"MIT"
] | viacheslave/algo | leetcode/c#/Problems/P0767.cs | 1,205 | C# |
using System.Threading.Tasks;
using AJ3.Core.Contracts;
using AJ3.WebApp.Models.Student;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
namespace AJ3.WebApp.Components
{
public class StudentMiniProfileViewComponent : ViewComponent
{
private readonly IStudentManager _studentManager;
private ... | 33.296296 | 116 | 0.705228 | [
"MIT"
] | DennisPitallano/DSSMS | AJ3/AJ3.WebApp/Components/StudentMiniProfileViewComponent.cs | 901 | C# |
using System.Collections.Generic;
using AdaptiveExpressions.Converters;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.Dialogs.Declarative;
using Microsoft.Bot.Builder.Dialogs.Declarative.Converters;
using Microsoft.Bot.Builder.Dialogs.Declarative.Resources;
usi... | 40.892857 | 115 | 0.774672 | [
"MIT"
] | Amit-singh96/Test1 | libraries/Bot.Builder.Community.Components.CallDialogs/CallDialogsBotComponent.cs | 1,147 | 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 enable
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Micros... | 36.636364 | 124 | 0.681762 | [
"MIT"
] | 06needhamt/roslyn | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeService.cs | 1,614 | C# |
namespace System.Windows.Forms
{
[Flags]
public enum DrawItemState
{
Checked = 8,
ComboBoxEdit = 4096,
Default = 32,
Disabled = 4,
Focus = 16,
Grayed = 2,
HotLight = 64,
Inactive = 128,
NoAccelerator = 256,
NoFocusRect = 512,
... | 18.35 | 31 | 0.479564 | [
"MIT"
] | Meragon/Unity-WinForms | System/Windows/Forms/DrawItemState.cs | 369 | C# |
//-----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//-----------------------------------------------------------------------
namespace HR.TA.Common.Provisioning.Entities.FalconEntities.Attract
{
using System.Runtime.S... | 37.666667 | 92 | 0.588496 | [
"MIT"
] | QPC-database/msrecruit-scheduling-engine | common/HR.TA.CommonLibrary/HR.TA.Talent/FalconEntities/Attract/NoteAttachment.cs | 1,130 | C# |
using Prism.Mvvm;
using Xamarin.Forms;
namespace Prism.DI.Forms.Tests.Mocks.Views
{
public class AutowireViewTablet : Page
{
public AutowireViewTablet()
{
ViewModelLocator.SetAutowireViewModel(this, true);
}
}
}
| 18.714286 | 62 | 0.641221 | [
"MIT"
] | Adam--/Prism | tests/Forms/Prism.DI.Forms.Tests/Mocks/Views/AutowireViewTablet.cs | 264 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Xunit;
using Enumerable = Tutorial.LinqToObjects.EnumerableEx... | 35.360465 | 114 | 0.558369 | [
"MIT"
] | Dixin/FunctionalProgramming-LINQ | Tutorial.Tests.External.Shared/LinqToObjects/LongCountTests.cs | 3,041 | 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 System.Fabric.ImageB... | 52.006383 | 294 | 0.592235 | [
"MIT"
] | AndreyTretyak/service-fabric | src/prod/src/managed/ImageBuilderExe/ImageBuilderExe.cs | 48,886 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.StackHCI.Models
{
/// <summary> The type of identity that created the resource. </summary>
public ... | 46.672414 | 132 | 0.670853 | [
"MIT"
] | AntonioVT/azure-sdk-for-net | sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/CreatedByType.cs | 2,707 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace TicTacToe_Simple
{
static class Program
{
static void Main()
{
List<List<char>> spaces = new List<List<char>>();
// Create 3 rows with 3 columns
for(int i = 0; i < 3; ++i)
... | 38.271523 | 150 | 0.422045 | [
"Unlicense"
] | ZinoByte/TechClub | TicTacToe/TicTacToe-Simple/Program.cs | 5,781 | C# |
using UnityEngine;
using System.Collections;
public class Danger : MonoBehaviour {
float xStart;
float xChange;
// Use this for initialization
void Start () {
xStart = transform.position.x;
xChange = Random.Range(1.0f, 2.0f) * Time.deltaTime;
}
// Update is called once per frame
void ... | 22.44 | 72 | 0.600713 | [
"MIT"
] | Naxos84/unity-for-beginner | 2d_jump_and_run/2D-JumpAndRun/Assets/scripts/Danger.cs | 563 | 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: AssemblyTit... | 38.378378 | 85 | 0.727465 | [
"BSD-3-Clause"
] | airzero24/portscan | portscan/Properties/AssemblyInfo.cs | 1,423 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Byteology.GuardClauses
{
/// <summary>
/// Contains extension methods for <see cref="IGuardClause{T}"/> whose generic type argument is <see cref="IEnumerable{T}"/>.
/// </summary>
public static class Enumerabl... | 39.795276 | 130 | 0.552829 | [
"MIT"
] | Byteology/guard-clauses | Byteology.GuardClauses/Extensions/EnumerableExtensions.cs | 5,056 | C# |
/*
Copyright 2019 Gfi Informatique
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 writing, softwa... | 30.111111 | 72 | 0.735547 | [
"Apache-2.0"
] | UMI3D/UMI3D-Tangram | Projet-Tangram/Assets/UMI3D SDK/common/Dto/interactions/Parameter/BooleanParameterDto.cs | 815 | 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.Net.Sockets;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Connections.Features;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Inter... | 35.24 | 168 | 0.590238 | [
"MIT"
] | KristofferStrube/aspnetcore | src/Servers/Kestrel/Transport.Quic/src/Internal/QuicStreamContext.FeatureCollection.cs | 2,643 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 38.171429 | 153 | 0.593563 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/EventDeltaCollectionResponse.cs | 1,336 | C# |
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd 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 re... | 40.044444 | 159 | 0.589266 | [
"Apache-2.0",
"MIT"
] | AchoWang/TizenFX | src/Tizen.Applications.ComponentBased.ComponentManager/Tizen.Applications/ComponentRunningContext.cs | 12,616 | C# |
namespace Kasp.Identity.Core.Entities.UserEntities.XEntities;
public interface IUserRegisterModel {
string Email { get; set; }
string Password { get; set; }
} | 27 | 62 | 0.765432 | [
"MIT"
] | mo3in/Kasp | src/Kasp.Identity.Core/Entities/UserEntities/XEntities/IUserRegisterModel.cs | 162 | C# |
namespace Ridics.Authentication.Core.Configuration
{
public class DefaultPaginationConfiguration : IPaginationConfiguration
{
public int MaxItemsOnPage => 100;
}
} | 26.285714 | 74 | 0.744565 | [
"BSD-3-Clause"
] | RIDICS/Authentication | Solution/Ridics.Authentication.Core/Configuration/DefaultPaginationConfiguration.cs | 186 | C# |
/*
MIT LICENSE
Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com
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, ... | 45.718391 | 460 | 0.622376 | [
"MIT"
] | Casimir666/ExchangeSharp | src/ExchangeSharp/API/Exchanges/Bithumb/ExchangeBithumbAPI.cs | 7,957 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraResShifter : MonoBehaviour {
RenderTexture rendTex;
void Start () {
}
void Update () {
}
}
| 12.875 | 47 | 0.708738 | [
"MIT"
] | denniscarr/dfc291_CodeLab1_final | Static/Assets/Scripts/CameraResShifter.cs | 208 | C# |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | 36.227273 | 115 | 0.738394 | [
"Apache-2.0"
] | Chris-ZA/FluentValidation | src/FluentValidation/Validators/LessThanValidator.cs | 1,594 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.Diagnostics;
namespace DrivingTestExplorer.Pages
{
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
[IgnoreAntiforgeryToken]
public class ErrorModel : PageModel
{
public ... | 26.555556 | 88 | 0.659693 | [
"MIT"
] | gustavkullberg/TVDrivingTestExplorer | DrivingTestExplorer/Pages/Error.cshtml.cs | 719 | C# |
// <copyright file="EntitySpawnInfo.cs" company="Kuub Studios">
// Copyright (c) Kuub Studios. All rights reserved.
// </copyright>
namespace HoardeGame.Gameplay.Themes
{
/// <summary>
/// Contains information about an enemy spawner
/// </summary>
public class EntitySpawnInfo
{
/// <summar... | 27.625 | 64 | 0.563348 | [
"MIT"
] | Huskitch/Horde | HoardeGame/Gameplay/Themes/EntitySpawnInfo.cs | 886 | C# |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | 36.509685 | 145 | 0.541267 | [
"Apache-2.0"
] | SueDou/python | Src/IronPython/Modules/sys.cs | 30,157 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Krypto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace Krypto.Tests
{
[TestClass()]
public class DESTests
{
[TestMethod()]
publ... | 27.489362 | 79 | 0.531734 | [
"MIT"
] | EmiNiemand/Krypto | KryptoTests/DESTests.cs | 1,294 | C# |
using System;
namespace UIC.Util.Logging
{
public interface ILoggerFactory
{
ILogger GetLoggerFor(Type type);
ILogger GetLoggerFor(string loggername);
}
public class NlogLoggerFactory : ILoggerFactory
{
public ILogger GetLoggerFor(Type type) {
return NLogger.Cr... | 22.904762 | 56 | 0.642412 | [
"MIT"
] | CDE-GMA/UIC.net-mono.c-sharp | UIC/UIC.Util/Logging/ILoggerFactory.cs | 483 | C# |
using System.Linq;
using Telerik.Core;
using Telerik.Data.Core.Layouts;
using Telerik.UI.Automation.Peers;
using Telerik.UI.Xaml.Controls.Grid.Commands;
using Telerik.UI.Xaml.Controls.Grid.Primitives;
using Telerik.UI.Xaml.Controls.Grid.View;
using Telerik.UI.Xaml.Controls.Primitives;
using Windows.Devices.Input;
usin... | 38.499076 | 190 | 0.545852 | [
"Apache-2.0"
] | HaoLife/Uno.Telerik.UI-For-UWP | Controls/Grid/Grid.UWP/View/RadDataGrid.Manipulation.cs | 20,830 | C# |
namespace WebServer.Server.Controllers
{
[AttributeUsage(AttributeTargets.Method)]
public class AuthorizeAttribute : Attribute
{
}
}
| 18.75 | 47 | 0.726667 | [
"MIT"
] | GosuMonkeyManiak/CSharp-Web-Server | WebServer.Server/Controllers/AuthorizeAttribute.cs | 152 | C# |
using System;
using Gen8.Ledger.Core.Domain;
using CQRSlite.Events;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Gen8.Ledger.Core.ReadModel.Events
{
public class AccountDeleted : IEvent
{
private ObjectId _objectId;
[BsonId]
public ObjectId ObjectId
... | 23.923077 | 76 | 0.495177 | [
"Apache-2.0"
] | gen8tech/ledger | src/Gen8.Ledger.Core/Domain/ReadModel/Events/AccountDeleted.cs | 1,244 | C# |
using System;
using Newtonsoft.Json;
using PetfinderNet.Converters;
namespace PetfinderNet.Models
{
/// <summary>
/// This class contains information about a pet's
/// photograph.
/// </summary>
[JsonConverter(typeof(PetPhotoConverter))]
public class PetPhoto
{
/// <summary>
... | 22.333333 | 53 | 0.537313 | [
"MIT"
] | mongrelpig/Petfinder.NET | PetfinderNet/Models/PetPhoto.cs | 672 | C# |
using System.Collections.Generic;
using UnityEngine;
public class WeaponComponent : MonoBehaviour
{
public static List<WeaponComponent> Instances = new List<WeaponComponent>();
public WeaponObjectState State;
public WeaponDefinition Definition
{
get
{
return WeaponSystem.I... | 26 | 80 | 0.633289 | [
"MIT"
] | ColeDeanShepherd/OSFPS | Assets/Scripts/Weapon/WeaponComponent.cs | 1,510 | C# |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace Kea.BasicWebService.Service
{
[Route("api/[controller]")]
public class TodoController : Controller
{
private static readonly List<string> Todos = new List<string>
{
"Do shopping",
... | 22.025641 | 69 | 0.507567 | [
"MIT"
] | Group-666/BasicWebService | Kea.BasicWebService/service/Controllers/TodoController.cs | 859 | C# |
namespace SpaceEngineers.Core.Modules.Test.AutoRegistrationTest
{
using AutoRegistration.Api.Attributes;
using AutoRegistration.Api.Enumerations;
[Component(EnLifestyle.Transient)]
internal class DerivedFromUnregisteredExternalServiceImpl : BaseUnregisteredExternalServiceImpl
{
}
} | 30.7 | 99 | 0.80456 | [
"MIT"
] | warning-explosive/Core | Tests/Modules.Test/AutoRegistrationTest/DerivedFromUnregisteredExternalServiceImpl.cs | 307 | C# |
using System.Text;
namespace UIForia.Elements {
public class IntFormatter : IInputFormatter {
private static StringBuilder builder = new StringBuilder(32);
public string Format(string input) {
builder.Clear();
bool foundDigit = false;
bool foundSign = false;
... | 24.3125 | 69 | 0.455013 | [
"MIT"
] | criedel/UIForia | Packages/UIForia/Src/Elements/IntFormatter.cs | 778 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using COLID.Graph.Metadata.Constants;
using COLID.ReportingService.Common.DataModels;
using COLID.ReportingService.FunctionalTests;
using Microsoft.VisualBasic;
using VDS.RDF;
usi... | 36.877133 | 158 | 0.639611 | [
"BSD-3-Clause"
] | Bayer-Group/COLID-Reporting-Service | tests/FunctionalTests/Controllers/StatisticsControllerTests.cs | 10,807 | C# |
using restwithapsnet.Model;
using System;
using System.Collections.Generic;
namespace restwithapsnet.Business
{
public interface IBookBusiness
{
Book Create(Book book);
Book FindById(long id);
List<Book> FindAll();
Book Update(Book book);
void Delete(long id);
}... | 16.15 | 34 | 0.643963 | [
"Apache-2.0"
] | felipegith/ASPNET-CORE | Livros/04 restwithapsnet/restwithapsnet/Business/IBookBusiness.cs | 325 | 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("Pri... | 38.054054 | 84 | 0.75071 | [
"MIT"
] | LuGeorgiev/CSharpSelfLearning | ConsoleInputOutput/ConsoleInputOutput/PrintFirstNonNewLine/Properties/AssemblyInfo.cs | 1,411 | C# |
// T4 code generation is enabled for model 'C:\Users\Administrator\documents\visual studio 2013\Projects\Store\Master\Model1.edmx'.
// To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
// property to 'Legacy ObjectContext'. This property is available in the Properties Windo... | 79 | 133 | 0.767089 | [
"Unlicense",
"MIT"
] | Speak3asy/Store | Master/Model1.Designer.cs | 792 | C# |
using ArkSavegameToolkitNet.Types;
using log4net;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO.MemoryMappedFiles;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArkSavegameToolkitNet
{
publ... | 30.587467 | 183 | 0.496884 | [
"MIT"
] | Betrail/ArkSavegameToolkitNet | ArkSavegameToolkitNet/ArkArchive.cs | 11,717 | C# |
using System;
using UnityEngine;
namespace FMODUnity
{
[Serializable]
public class EmitterRef
{
public StudioEventEmitter Target;
public ParamRef[] Params;
}
[AddComponentMenu("FMOD Studio/FMOD Studio Parameter Trigger")]
public class StudioParameterTrigger: MonoBehaviour
... | 26.146552 | 112 | 0.532476 | [
"MIT"
] | BlueMonk1107/MySiri | Assets/Plugins/AudioStream/FMOD/FMOD/StudioParameterTrigger.cs | 3,035 | C# |
using Fusee.Math.Core;
using System.Collections.Generic;
using Xunit;
namespace Fusee.Tests.Math.Core
{
public class OBBTest
{
private const int fPrecision = 4;
private const int dPrecision = 6;
[Theory]
[MemberData(nameof(OBBfData))]
public void ConstructorSingle_MinM... | 35.470899 | 107 | 0.434218 | [
"BSD-2-Clause",
"MIT"
] | ASPePeX/Fusee | src/Tests/Math/Core/OBBTest.cs | 6,706 | C# |
// using System;
// using System.Collections.Generic;
// using System.Linq.Expressions;
// using System.Threading.Tasks;
// using Order.Domain.DomainSpecifications;
//
// namespace Order.Domain.Repositories
// {
// public interface IDomainReadModelRepository<T>
// {
// Task Upsert(T entity);
// ... | 32.5 | 70 | 0.653846 | [
"MIT"
] | MrBugra/EventSourcing.Order | Order.Domain/Repositories/IDomainReadModelRepository.cs | 522 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Massive;
namespace Oak.Tests.describe_DynamicModels.Classes
{
public class Market : DynamicModel
{
Suppliers suppliers = new Suppliers();
SupplyChains supplyChains = new SupplyChains();
public Market(object dto)
... | 20.666667 | 69 | 0.625448 | [
"MIT"
] | amirrajan/Oak | Oak.Tests/describe_DynamicModels/Classes/Market.cs | 558 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PnP.Core.Model.SharePoint;
namespace PnP.Core.Test.SharePoint
{
[TestClass]
public class ListMetaDataMapperTests
{
[ClassInitialize]
public static void TestFixtureSetup(TestContext context)
{
// Configure mocking... | 66.744186 | 235 | 0.746341 | [
"MIT"
] | PaoloPia/pnpcore | src/sdk/PnP.Core.Test/SharePoint/ListMetaDataMapperTests.cs | 5,742 | C# |
using System.Web.Mvc;
using V308CMS.Admin.Attributes;
using V308CMS.Admin.Helpers;
using V308CMS.Admin.Models;
using V308CMS.Common;
using V308CMS.Data.Enum;
namespace V308CMS.Admin.Controllers
{
[Authorize]
[CheckGroupPermission(true, "Đơn vị tính")]
public class ProductUnitController:BaseController
... | 34.885246 | 121 | 0.492246 | [
"Unlicense"
] | giaiphapictcom/mamoo.vn | V308CMS.Admin/Controllers/ProductUnitController.cs | 4,343 | C# |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
using System.Net;
using com.facebook.witai.lib;
using TMPro;
using UnityEngine;
namespace com.facebook.witai.samples.responsedebugger... | 27.881188 | 91 | 0.537287 | [
"BSD-2-Clause"
] | MIShanto/Golpokotha | Assets/Samples/ResponseDebugger/Scripts/WitUIInteractionHandler.cs | 2,818 | C# |
using System;
using System.Windows.Forms;
using System.IO;
using WMPLib;
using System.Media;
namespace WindowsFormsApplication1
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
CtrlGame ctrg = new CtrlGame();
Pip... | 30.287619 | 96 | 0.561285 | [
"MIT",
"Unlicense"
] | LucasTran-tq/FlappyBirdPremium | FLAPPYBIRD_FINAL VERSION 2.0/FBgame-Final Version/FBgame/WindowsFormsApplication1/Form2.cs | 15,903 | C# |
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace GiftModels.Test
{
[TestClass]
public class ModelTests
{
private readonly string _content = File.ReadAllText("GiftExample.json");
[TestMethod]
public void Deserialize()... | 26.878788 | 83 | 0.614431 | [
"MIT"
] | ucdavis/GiftModels | GiftModels.Test/ModelTests.cs | 889 | 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.Collections.Generic;
using System.Windows.Input;
namespace Microsoft.Test.Stability.Extensions.Action... | 42.4 | 124 | 0.529967 | [
"MIT"
] | batzen/wpf-test | src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Actions/KeyboardCombinationPressAction.cs | 3,606 | C# |
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sheng.SIMBE.Core.Entity;
using ... | 28.45 | 89 | 0.551845 | [
"MIT"
] | ckalvin-hub/Sheng.Winform.IDE | SourceCode/Source/Components/Components.Navigation/Entity/ToolStripSeparatorEntityDev.cs | 1,186 | 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... | 45.008772 | 165 | 0.641006 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/DigitalTwins/Latest/PrivateEndpointConnection.cs | 5,131 | C# |
using System;
using System.Windows.Input;
namespace DelSole.MVVMSpecial.Helpers
{
/// <summary>
/// Generic RelayCommand class.
/// </summary>
/// <typeparam name="T"></typeparam>
public class RelayCommand<T> : ICommand
{
/// <summary>
/// The execute
/// </summary>
... | 32.855422 | 121 | 0.559956 | [
"Apache-2.0"
] | AlessandroDelSole/DelSole.MVVMSpecial | DelSole.MVVMSpecial/Helpers/RelayCommandT.cs | 2,729 | C# |
using Facebook.Yoga;
using ReactNative.Bridge;
using ReactNative.Reflection;
using ReactNative.UIManager;
using ReactNative.UIManager.Annotations;
using ReactNative.Views.Text;
using System;
#if WINDOWS_UWP
using Windows.Foundation;
using Windows.UI.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Wi... | 33.98 | 187 | 0.575437 | [
"MIT"
] | harunpehlivan/react-native-windows | ReactWindows/ReactNative.Shared/Views/TextInput/ReactPasswordBoxShadowNode.cs | 10,196 | C# |
using LanguageExt;
using System;
using System.Collections.Generic;
using System.Text;
namespace Step2
{
[Union]
public interface ICreationResult<T>
{
ICreationResult<T> Success(T value);
ICreationResult<T> Error(string message);
}
}
| 17.8 | 49 | 0.689139 | [
"MIT"
] | hhko/Books | 4.Blogs/DDD/DesigningWithTypes_1/Step2/CreationResult.cs | 269 | 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.... | 34.304348 | 85 | 0.539924 | [
"MIT"
] | PiotWisn/EPLAN-Suplanus.Eplan.Database | Suplanus.Eplan.Database.ProjectManagement/Properties_FLOAT.cs | 789 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Routing;
namespace Perfor.Lib.Web.Routes
{
public class WebRouteHandler : IRouteHandler, IHttpHandler, IDisposable
{
#region Identity
private RouteData routeData = null;
... | 25.643678 | 117 | 0.514119 | [
"MIT"
] | lianggx/danny.lib | Perfor.Lib/Web/Routes/WebRouteHandler.cs | 2,293 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Wodsoft.ComBoost.Data.Entity;
namespace DataUnitTest
{
public class TestB : EntityBase
{
public virtual string Name { get; set; }
public virtual List<TestA> ACollection { get; set; }
}
}... | 20.0625 | 60 | 0.700935 | [
"MIT"
] | Kation/ComBoost | test/DataUnitTest/TestB.cs | 323 | 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... | 36.210938 | 109 | 0.596548 | [
"Apache-2.0"
] | HaiNguyenMediaStep/aws-sdk-net | sdk/src/Services/KeyManagementService/Generated/Model/UpdateAliasRequest.cs | 4,635 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Jint.Native;
using Jint.Native.Argument;
using Jint.Native.Array;
using Jint.Native.Boolean;
using Jint.Native.Date;
using Jint.Native.Error;
using Jint.Native.Function;
using Jint.Native.Global;
using Jint.Native.Json;
u... | 39.042627 | 252 | 0.568798 | [
"BSD-2-Clause"
] | djkrose/jint-unity | Jint/Engine.cs | 33,891 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Nest
{
[JsonConverter(typeof(ReadAsTypeJsonConverter<BoolQuery>))]
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public interface IBoolQuery : IQuery
{
/// <summary>
/// The clause(s) that must ... | 49.153191 | 161 | 0.712925 | [
"Apache-2.0"
] | RossLieberman/NEST | src/Nest/QueryDsl/Compound/Bool/BoolQuery.cs | 11,553 | C# |
//-------------------------------------------------------------------------
// Copyright © 2020 Province of British Columbia
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://... | 43.398075 | 343 | 0.462234 | [
"Apache-2.0"
] | WadeBarnes/healthgateway | Apps/Database/src/Migrations/20200803222317_PushBannerChange.Designer.cs | 148,835 | C# |
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Dolittle.Execution.for_WeakDelegate
{
public class ClassWithMethod
{
public const int ReturnValue = 42;
public int SomeMethod(string ... | 24.952381 | 101 | 0.652672 | [
"MIT"
] | dolittle-fundamentals/DotNET.Fundamentals | Specifications/Execution/for_WeakDelegate/ClassWithMethod.cs | 526 | C# |
#if HE_SYSCORE && STEAMWORKS_NET && HE_STEAMCOMPLETE && !HE_STEAMFOUNDATION && !DISABLESTEAMWORKS
using UnityEngine;
namespace HeathenEngineering.SteamworksIntegration
{
public class InputActionSet : ScriptableObject
{
public string setName;
public Steamworks.InputActionSetHandle_t Handle => ... | 30.627451 | 99 | 0.612036 | [
"MIT"
] | KD-Kevin/Age-of-War---Like-Game | Age Of War Game/Assets/Imported Assets/_Heathen Engineering/Assets/com.heathen.steamworkscomplete/Runtime/InputActionSet.cs | 1,564 | C# |
// Copyright 2017 the original author or authors.
//
// 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... | 40.544554 | 204 | 0.601587 | [
"ECL-2.0",
"Apache-2.0"
] | spring-operator/Management | src/Steeltoe.Management.EndpointOwin/CloudFoundry/CloudFoundrySecurityOwinMiddleware.cs | 8,192 | C# |
using System;
namespace Jal.Monads
{
public delegate Exceptional<T> Try<T>();
public static class TryCoreExtensions
{
public static Try<T> AsTry<T>(this Func<T> func)
{
return () => Exceptional<T>.Return(func());
}
public static Exceptional<T> Run<T>(this Try<... | 26.953125 | 130 | 0.478841 | [
"Apache-2.0"
] | raulnq/Jal.Monads | Jal.Monads/Extensions/TryCoreExtensions.cs | 1,727 | C# |
using System.ComponentModel.DataAnnotations;
namespace SmartHome.DomainCore.Data.Models
{
public class CreateUserModel
{
[Required]
public string? UserName { get; set; }
[Required]
public string? Email { get; set; }
[Required]
public string? Pas... | 21.6875 | 45 | 0.585014 | [
"MIT"
] | JanPalasek/smart-home-server | SmartHome.DomainCore/Data/Models/CreateUserModel.cs | 347 | C# |
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.SceneManagement;
namespace Enemy
{
[RequireComponent(typeof(NavMeshAgent))]
public class BossMovement : MonoBehaviour
{
Transform player;
GameObject playerOb... | 33.949425 | 168 | 0.537175 | [
"MIT"
] | egonzalez49/Toy-Souls | Assets/Scripts/Survival_Shooter/BossMovement.cs | 14,770 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenAppMessagetemplateSubscribeQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenAppMessagetemplateSubscribeQueryModel : AopObje... | 30.592593 | 140 | 0.622276 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/AlipayOpenAppMessagetemplateSubscribeQueryModel.cs | 992 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 31.56 | 84 | 0.48289 | [
"Apache-2.0"
] | yhau1989/InvoiceSite | SiteInvoicer/SiteInvoicer/Account/OpenAuthProviders.ascx.designer.cs | 791 | C# |
using System;
namespace svelde.nmea.parser
{
public class GlgsvMessage : GsvMessage
{
public GlgsvMessage()
{
Type = "GLGSV";
}
public override void Parse(string nmeaLine)
{
base.Parse(nmeaLine);
}
}
}
| 15.684211 | 51 | 0.503356 | [
"MIT"
] | sandervandevelde/nmeaparser | src/svelde.nmea.parser/GlgsvMessage.cs | 300 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SAS.Provider.Core;
using SAS_Provider.Models;
namespace SAS_Provider.Controllers
{
[Authorize]
public class... | 27.092593 | 167 | 0.624744 | [
"MIT"
] | patrickCode/cloud-9 | Storage-Sas-Utility/SAS_Provider/SAS_Provider/Controllers/HomeController.cs | 1,465 | C# |
using Innovator.Client;
using InnovatorAdmin.Connections;
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 InnovatorAdmin.Scripts
{
public pa... | 25.328467 | 93 | 0.597118 | [
"MIT"
] | GCAE/InnovatorAdmin | InnovatorAdmin/Scripts/ScriptWindow.cs | 3,482 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Cms.NetCore.ViewModels.param.Role
{
public class RoleMenuPara
{
public Guid RoleId { get; set; }
public List<MenuButtonAttributes> MenuButtonIds { get; set; }
}
}
| 20.769231 | 69 | 0.692593 | [
"MIT"
] | zznzuoning/Cms.NetCore | Cms.NetCore/Cms.NetCore.ViewModels/param/Role/RoleMenuPara.cs | 272 | C# |
/*
* HelloWebApi
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
namespace HelloWebApi.Service.Client... | 28.054545 | 104 | 0.572262 | [
"MIT"
] | nuitsjp/WebApiStudy | HelloWebApi.Service/src/HelloWebApi.Service/Client/ApiResponse.cs | 1,543 | 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 Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.CodeActions.WorkspaceServic... | 36.375 | 142 | 0.805842 | [
"MIT"
] | 333fred/roslyn | src/Features/Core/Portable/CodeRefactorings/WorkspaceServices/ISymbolRenamedCodeActionOperationFactoryWorkspaceService.cs | 584 | C# |
using System;
using Ayehu.Sdk.ActivityCreation.Interfaces;
using Ayehu.Sdk.ActivityCreation.Extension;
using Ayehu.Sdk.ActivityCreation.Helpers;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Collections.Generic;
namespace Ayehu.Thycotic
{
public class TY_Toggle_Current_State : IActivityA... | 35.549669 | 251 | 0.618107 | [
"MIT"
] | Ayehu/custom-activities | Thycotic/SdkClientAccounts/TY Toggle Current State/TY Toggle Current State.cs | 5,368 | C# |
// <auto-generated />
namespace Getting_Started_with_ASP.NET_MVC_5.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
public... | 28.366667 | 98 | 0.634548 | [
"MIT"
] | GSoster/aspnet-lab | mvc/Getting Started with ASP.NET MVC 5/Getting Started with ASP.NET MVC 5/Migrations/201711091637494_DataAnnotations.Designer.cs | 851 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information
namespace Microsoft.Azure.Management.Compute.Fluent
{
using Models;
using ResourceManager.Fluent.Core;
/// <summary>
/// The implementation for Vi... | 37.350877 | 193 | 0.721935 | [
"MIT"
] | AntoineGa/azure-libraries-for-net | src/ResourceManagement/Compute/VirtualMachineExtensionImageTypeImpl.cs | 2,129 | C# |
//
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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 requ... | 35.313725 | 82 | 0.637424 | [
"Apache-2.0"
] | SummerBatch/SummerBatchCore | Summer.Batch.Extra/Ebcdic/IEbcdicReaderMapper.cs | 1,803 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using Microsoft.VisualStudio.CodeCoverage;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Coverage.Analysis;
using System.IO;
using System.Xml.Linq;
using System.Linq;
namespace CodeCoverageCS
{
class CoverPro... | 47.635714 | 209 | 0.638776 | [
"MIT"
] | GordonShinozaki/iust_deep_fuzz | seed/convert_coverage_to_xml/CodeCoverageCS/CodeCoverageCS/Program.cs | 6,673 | C# |
// <auto-generated />
using System;
using BookingSystem.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace BookingSystem.Data.Migrations
{
[DbContext(typ... | 35.188235 | 125 | 0.476229 | [
"MIT"
] | kalinalazarova1/BookingSystem | BookingSystem.Data/Migrations/BookingContextModelSnapshot.cs | 14,957 | C# |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
namespace Fun2RepairMVC.Common.PublicCode
{
[AutoMap(typeof(CityTranslation))]
public class CityTranslationDto:EntityDto
{
public virtual string Name { get; set; }
public string Language { get; set; }
}
}
| 22.846154 | 48 | 0.69697 | [
"MIT"
] | JsnowyXu/Abp5.2IssueFeedback | Fun2RepairMVC.Application/Common/PublicCode/CityTranslationDto.cs | 299 | C# |
using System.Collections;
using DCL;
using DCL.Components;
using DCL.Helpers;
using DCL.Models;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
public class PBRMaterialVisualTests : VisualTestsBase
{
[UnityTest]
[VisualTest]
[Explicit]
[Category("Explicit")]
public IEnumerat... | 33.27907 | 142 | 0.716981 | [
"Apache-2.0"
] | 0xBlockchainx0/unity-renderer | unity-renderer/Assets/Scripts/MainScripts/DCL/Components/Materials/Tests/PBRMaterialVisualTests.cs | 1,433 | C# |
using System;
using System.Collections.Generic;
namespace Knet.Kudu.Client.Connection;
public class ServerInfoCache
{
// This random integer is used when making any random choice for replica
// selection. It is static to provide a deterministic selection for any given
// process and therefore also better ... | 33.302222 | 96 | 0.599893 | [
"Apache-2.0"
] | xqrzd/kudu | src/Knet.Kudu.Client/Connection/ServerInfoCache.cs | 7,493 | C# |
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using Slack.NetStandard;
using Slack.NetStandard.Objects;
using Slack.NetStandard.WebApi;
using Slack.NetStandard.WebApi.Chat;
using System;
using System.Threading;
using System.Threading.Tasks;
using Zkrd.Slack.WebApiDemo.Services;
namespace Zkrd.Slack... | 29.80117 | 110 | 0.645801 | [
"MIT"
] | fscheel/ZKRD.Slack.Runner | Zkrd.Slack.WebApiDemo.Tests/Services/SlackServiceTests.cs | 5,096 | C# |
namespace Mobile.Common.Util
{
public class DataFormats
{
public const string MonetaryAmountFormat = "#,##0.##";
public const string DateFormat = "yyyy-MM-dd";
public const string PeriodicDateFormat = "dd-MM-yyyy";
public const string PeriodicDatePrintFormat = "ddMMyy";
p... | 36.571429 | 67 | 0.646484 | [
"MIT"
] | Georgekibet/VoteTalyingSystem | Mobile/Mobile.Common/Util/DataFormats.cs | 512 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... | 35.954545 | 147 | 0.646334 | [
"MIT"
] | AntiTenzor/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Issues/Issue2444.cs | 3,166 | C# |
namespace Melanchall.DryWetMidi.Standards
{
/// <summary>
/// General MIDI Level 2 'SFX' percussion.
/// </summary>
public enum GeneralMidi2SfxPercussion : byte
{
/// <summary>
/// 'High Q' General MIDI 2 percussion note.
/// </summary>
HighQ = 39,
/// <summ... | 25.129707 | 72 | 0.477689 | [
"MIT"
] | EnableIrelandAT/Coimbra | ProjectCoimbra.UWP/Melanchall.DryWetMidi.UWP/Standards/GeneralMidi2/Percussion/GeneralMidi2SfxPercussion.cs | 6,008 | C# |
using System;
using moment.net.Enums;
using NUnit.Framework;
using Shouldly;
namespace moment.net.Tests
{
public class EndOfTests
{
string dateString = "5/1/2008 8:30:52Z AM";
[Test]
public void EndOfMinuteTest()
{
var date = DateTime.Parse(dateString, System.Global... | 44.933333 | 156 | 0.671365 | [
"MIT"
] | bolorundurowb/moment.net | tests/EndOf.Tests.cs | 2,696 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Security.AccessControl;
namespace Pathy
{
/// <summary>
/// Represents an absolute or relative path to a directory.
/// </summary>
public class AnyDirectoryPat... | 40.156463 | 147 | 0.616636 | [
"MIT"
] | Porges/Pathy | Pathy/AnyDirectoryPath.cs | 5,905 | C# |
using Dawnx.AspNetCore.LiveAccount;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Sy... | 34.231884 | 89 | 0.629975 | [
"MIT"
] | zmjack/Dawnx | ~Library/Dawnx.AspNetCore.LiveAccountUtility/Areas/LiveAccountUtility/Pages/Users/Edit.cshtml.cs | 2,364 | 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>
//--... | 36.958333 | 171 | 0.629087 | [
"MIT"
] | ClumsyTiger/Graphics3D | Graphics3D/Properties/Resources.Designer.cs | 2,663 | C# |
using LedStrip;
using System.Drawing;
namespace LedStripGui
{
[System.Obsolete("Old form settings")]
public class Settings
{
public readonly int ledCount;
private int _brightness = 4;
private int _updatesPerSecond = 10;
private int _paletteChangeDivider = 1000;
priv... | 28.02439 | 133 | 0.529591 | [
"MIT"
] | James-Frowen/led-strip-gui | led-strip-gui/Settings.cs | 2,300 | C# |
using System;
using System.Web.UI;
namespace Cogito.Web.UI.Razor
{
/// <summary>
/// ASP.Net server control that accepts and renders a <see cref="Action{Object}"/>.
/// </summary>
class HtmlHelperControl :
Control
{
Action<object> action;
/// <summary>
/// Initi... | 18.909091 | 87 | 0.535256 | [
"MIT"
] | alethic/Cogito | Cogito.Web.UI.Razor/HtmlHelperControl.cs | 626 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.