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.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TimekeeperDAL.EF
{
[Table("TimeTaskAllocations")]
public partial class TimeTaskAllocation
{
public double Amount { get; set; }
public double PerOffset { get; set; }
public b... | 23.571429 | 54 | 0.589899 | [
"MIT"
] | NuCode1497/TimekeeperWPF | TimekeeperDAL/EF/TimeTaskAllocation.cs | 992 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wyam.Common;
using Wyam.Common.Documents;
using Wyam.Common.Modules;
using Wyam.Common.Execution;
using Wyam.Common.Tracing;
using Wyam.Common.Util;
using YamlDotNet.Dynamic;
using... | 44.837037 | 174 | 0.5736 | [
"MIT"
] | ardalis/Wyam | src/extensions/Wyam.Yaml/Yaml.cs | 6,055 | 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... | 39.861111 | 85 | 0.74007 | [
"MIT"
] | Adam-Auth0/rules | redirect-rules/active-directory-pwd-reset-policy/src/ActiveDirectory.PasswordChangePolicy/Properties/AssemblyInfo.cs | 1,438 | C# |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace Api1
{
public class Section1
{
public class Configuration : IConfigureOptions<Section1>
{
private readonly IConfiguration configuration;
public Co... | 24.424242 | 66 | 0.658809 | [
"Apache-2.0"
] | maciejw/configuration-tracker | Api1/Section1.cs | 806 | C# |
using Accord.Imaging.Filters;
using Macaw.Filtering;
namespace Macaw.Editing.Rotation
{
public class mRotateNearistNeighbor : mFilter
{
RotateNearestNeighbor Effect = null;
public mRotateNearistNeighbor(double Angle, bool Fit,System.Drawing.Color CornerColor)
{
BitmapTyp... | 22.521739 | 94 | 0.638996 | [
"MIT"
] | cdriesler/Aviary | Macaw/Editing/Rotation/mRotateNearistNeighbor.cs | 520 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Generated by the MSBuild WriteCodeFragment class.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: Microsof... | 50.428571 | 138 | 0.623229 | [
"MIT"
] | shahiddev/docker-compose-example | web/obj/Debug/netcoreapp2.1/web.RazorAssemblyInfo.cs | 706 | 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>
//----------------------------------------... | 34.269231 | 84 | 0.526936 | [
"MIT"
] | itplamen/Balkan-Air | Balkan Air/Web/BalkanAir.Web/ViewNews.aspx.designer.cs | 1,784 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using R5T.T0033.D002.I001;
namespace R5T.T0033.Construction
{
class Program
{
static async Task Main()
{
var interpretableString = "Hello world from %TEST1% on %TEST2%!!!";
var interpreter ... | 26.466667 | 126 | 0.61461 | [
"MIT"
] | SafetyCone/R5T.T0033 | source/R5T.T0033.Construction/Code/Program.cs | 796 | C# |
using ARKBreedingStats.species;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using ARKBreedingStats.Library;
namespace ARKBreedingStats
{
internal static class CreatureColored
{
private const st... | 48.247357 | 261 | 0.488585 | [
"MIT"
] | AriesPlaysNation/ARKStatsExtractor | ARKBreedingStats/CreatureColored.cs | 22,823 | C# |
/**
* $File: JCS_OneJump.cs $
* $Date: $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2016 by Shen, Jen-Chieh $
*/
using UnityEngine;
namespace JCSUnity
{
/// <summary>
/// Effect makes the item j... | 31.894737 | 125 | 0.542754 | [
"BSD-3-Clause"
] | MapleStoryUnity/MapleStoryUnity | Assets/JCSUnity/Scripts/Effects/Item/JCS_OneJump.cs | 6,668 | C# |
#nullable disable
using Microsoft.Maps.ElevationAdjustmentService.HDPhoto;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace WWT.Providers
{
[RequestEndpoint("/wwtweb/BingDemTile2.aspx")]
public class BingDemTile2Provider : RequestProvider
{
private rea... | 30.985714 | 121 | 0.521899 | [
"MIT"
] | pkgw/wwt-website | src/WWT.Providers/Providers/Bingdemtile2provider.cs | 2,169 | C# |
namespace Ren.CMS.Persistence.Mapping
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;
using Ren.CMS.Persistence.Domain;
[Ren.CMS.Persistence.Base.PersistenceMapping]
... | 28.4 | 103 | 0.630282 | [
"MIT"
] | nfMalde/Ren.CMS.NET | Ren.CMS.Net/Source/Ren.CMS.Net-Libraries/Ren.CMS.Persistence/Mapping/ContentClickCounterMap.cs | 852 | C# |
namespace AlphaControls
{
partial class PicShiftPanel
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing"... | 41.765957 | 158 | 0.557692 | [
"MIT"
] | CZHSoft/LT_EPOSApp | AlphaButton/OtherControl/PictureShiftPanel.Designer.cs | 8,020 | C# |
namespace MercuryBOT
{
partial class CommentsGather
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 63.316832 | 173 | 0.659703 | [
"MIT"
] | Chad90b/Mercury | MercuryBOT/Comments/CommentsGather.Designer.cs | 31,985 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 41.851485 | 150 | 0.614857 | [
"MIT"
] | AzureDataBox/azure-powershell | src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs | 4,129 | C# |
// <copyright file="SqlActivitySourceHelper.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry 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://ww... | 46.184211 | 167 | 0.757835 | [
"Apache-2.0"
] | HankiDesign/opentelemetry-dotnet | src/OpenTelemetry.Instrumentation.SqlClient/Implementation/SqlActivitySourceHelper.cs | 1,755 | 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("In... | 39.378378 | 84 | 0.748799 | [
"MIT"
] | mciissee/InfinityEngine | Infinity Engine/Properties/AssemblyInfo.cs | 1,460 | C# |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing.Design;
namespace CSharpGL
{
public partial class TransformFeedbackObject
{
private bool disposedValue = false;
/// <summary>
///
/// </summary>
public void Dispose()
{
... | 21.903846 | 65 | 0.462687 | [
"MIT"
] | AugusZhan/CSharpGL | CSharpGL/GLObjects/TransformFeedbackObject/TransformFeedbackObject.IDisposable.cs | 1,141 | C# |
using Assets.Script;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GetItemUIEvent : MonoBehaviour
{
Animator anim;//UI上的动画组件
PlayerPos playerPos;
public GameObject story3;//剧情
public GameObject story6;
public GameObject story10;
// Use this for in... | 23 | 65 | 0.581285 | [
"Apache-2.0"
] | laterrain/WitchSpring2 | Assets/Script/GetItemUIEvent.cs | 1,122 | C# |
using System.Linq;
using static Crypto.CJJJKRS.Scheme<Simulation.Protocol.SSE.Word, Simulation.Protocol.SSE.Index>;
namespace Simulation.Protocol.SSE.CJJJKRS
{
internal class PublishDatabaseMessage : AbsMessage<(Database db, int b, int B)>
{
public PublishDatabaseMessage((Database db, int b, int B) content) : base... | 28.666667 | 96 | 0.724806 | [
"MIT"
] | dbogatov/ore-benchmark | src/simulator/Protocol/Protocols/SSE/CJJJKRS/Messages.cs | 774 | C# |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* MoveTowards.cs
* Script for moving a GameObject towards another GameObject. Also rotates the
* game object towards the target.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
using UnityEngine;
using Sys... | 34.28 | 83 | 0.598016 | [
"MIT"
] | Pandinosaurus/unity-examples | TankGame/Assets/Scripts/MoveTowards.cs | 1,714 | C# |
using System;
using FluentAssertions;
using Moq;
using SimpleMvcSitemap.Routing;
using Xunit;
namespace SimpleMvcSitemap.Tests
{
public class UrlValidatorTests : TestBase
{
private readonly IUrlValidator urlValidator;
private readonly Mock<IBaseUrlProvider> baseUrlProvider;
public Ur... | 30.563218 | 148 | 0.600226 | [
"MIT"
] | MahmutYaman/SimpleMvcSitemap | test/SimpleMvcSitemap.Tests/UrlValidatorTests.cs | 5,320 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using... | 52.435897 | 197 | 0.611002 | [
"Apache-2.0"
] | avinash84r/webApI | WebAPiJWT/Areas/HelpPage/HelpPageConfigurationExtensions.cs | 24,540 | C# |
using HighriseApi.Models;
using HighriseApi.Models.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HighriseApi.Interfaces
{
public interface IDealCategoryRequest
{
/// <summary>
/// Gets a deal category by category ID.
/// </summar... | 34.891304 | 129 | 0.615576 | [
"MIT"
] | bancker/highrise-api | src/HighriseApi/Interfaces/IDealCategoryRequest.cs | 1,607 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Coffee.Models;
using Coffee.Types;
using Coffee;
namespace Coffee.ViewModels {
public class CoffeeLogViewModel : ViewModelBase {
private Administration Admin;
private string title = "Coffee Log";
public string Title {
ge... | 21.181818 | 53 | 0.666667 | [
"MIT"
] | danielnehrig/BIF22A | src/kaffeekasse/src/ViewModels/CoffeeLogViewModel.cs | 699 | C# |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using KeyHub.Model;
using System.Data.Entity;
using System.Linq;
namespace KeyHub.Data.Extensions
{
public static class DomainLicenseExtensions
{
public static bool AnyEquals(this DbSet<DomainLicense> domainLicen... | 33.785714 | 130 | 0.689218 | [
"Apache-2.0"
] | imazen/keyhub | src/KeyHub.Data/Extensions/DomainLicenseExtensions.cs | 948 | C# |
namespace LearningSystem.Services
{
using LearningSystem.Data.Models;
using Models;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface ITrainerService
{
Task<IEnumerable<CourseListingServiceModel>> Courses(string trainerId);
Task<bool> IsTrainer(s... | 28.105263 | 91 | 0.734082 | [
"MIT"
] | l3kov9/CSharpMVCFrameworks | LearningSystem/LearningSystem.Services/ITrainerService.cs | 536 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/ad_group_audience_view_service.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::... | 41.942308 | 330 | 0.717102 | [
"Apache-2.0"
] | friedenberg/google-ads-dotnet | src/V9/Services/AdGroupAudienceViewService.g.cs | 10,905 | C# |
using System;
using AspectCore.Extensions.Autofac;
using Autofac;
using KCommon.Core.Abstract.Components;
namespace KCommon.Core.Autofac
{
public class AutofacObjectContainer : IObjectContainer
{
/// <summary>Represents the iner autofac container builder.
/// </summary>
public Containe... | 43.638655 | 140 | 0.568169 | [
"MIT"
] | Xiangrui2019/kcommon | src/Impls/KCommon.Core.Autofac/AutofacObjectContainer.cs | 10,462 | C# |
/*
* convertapi
*
* Convert API lets you effortlessly convert file formats and types.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Co... | 34.874126 | 140 | 0.579306 | [
"Apache-2.0"
] | Cloudmersive/Cloudmersive.APIClient.NET.DocumentAndDataConvert | client/src/Cloudmersive.APIClient.NET.DocumentAndDataConvert/Model/XlsxWorksheet.cs | 4,987 | C# |
/*
* The MIT License
*
* Copyright 2019 Palmtree Software.
*
* 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, co... | 34.568627 | 80 | 0.694838 | [
"MIT"
] | rougemeilland/Palmtree.Math | Palmtree.Math.Test/Plugin/Sint/ComponentTestPlugin_op_Equality_X_UI.cs | 1,765 | C# |
// <copyright file="CollectionOfFactorsShould.cs" company="Okta, Inc">
// Copyright (c) 2014 - present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
using System.Collections.Generic;
using System.Linq;
u... | 38.39726 | 115 | 0.627542 | [
"Apache-2.0"
] | cwoolum/okta-sdk-dotnet | src/Okta.Sdk.UnitTests/CollectionOfFactorsShould.cs | 2,805 | C# |
using System;
namespace BnSVN_Discord_Bot
{
class Program
{
private static Bot botInstance;
static void Main(string[] args)
{
Console.CancelKeyPress += Console_CancelKeyPress;
botInstance = new Bot();
botInstance.Run(args);
// Friendly ... | 24.633333 | 91 | 0.572395 | [
"MIT"
] | Leayal/BnSVN-Discord-Bot | BnSVN-Discord-Bot/Program.cs | 741 | C# |
using IdentityModel.OidcClient;
namespace HelseId.Clients.WPF.EmbeddedBrowser.EventArgs
{
public class LoginEventArgs: System.EventArgs
{
public string IdentityToken { get; set; }
public string AccessToken { get; set; }
public bool IsError { get; set; }
public string Error { ge... | 27.714286 | 55 | 0.657216 | [
"MIT"
] | HelseID/HelseID.Samples-old | HelseId.Clients.WPF.EmbeddedBrowser/EventArgs/LoginEventArgs.cs | 390 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.Composite
{
/// <summary>
/// 叶子节点
/// </summary>
public class Leaf : Component
{
public Leaf(string name)
: base(name)
{ }
... | 26.047619 | 101 | 0.555759 | [
"MIT"
] | SnailDev/SnailDev.DesignPattern | src/DesignPattern/DesignPattern/Composite/Leaf.cs | 1,286 | 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.... | 35.5625 | 128 | 0.575571 | [
"MIT"
] | Pasinli/Tryingforvue | Vue.DataLayer/Shipper.cs | 1,138 | 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... | 41.661765 | 190 | 0.637487 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Schemas/Generated/Model/Internal/MarshallTransformations/ListSchemaVersionsResponseUnmarshaller.cs | 5,666 | C# |
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using GNF.Domain.Entities;
namespace GNF.DapperUow.Repositories
{
/// <summary>
/// Represents that the implemented classes are repositories.
/// </summary>
/// <typeparam name="TEntity">The type of the aggregate root o... | 30.382353 | 129 | 0.642788 | [
"Apache-2.0"
] | rjf1979/GNF | GNF.DapperUow/Repositories/IRepository.cs | 2,162 | C# |
using WinBM.Recipe;
using WinBM.PowerShell.Lib.TestWinBMYaml;
string targetPath = "Test.yml";
var list = new List<string>();
list.Add(targetPath);
TestYaml test = new TestYaml();
test.CheckFiles(list);
Console.ReadLine(); | 12.65 | 42 | 0.664032 | [
"MIT"
] | tgiqfe/TestWinBMYaml | TestWinBMYaml/Program.cs | 255 | C# |
using System;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Caching;
using System.Xml;
using Umbraco.Core;
using System.Collections.Generic;
using Umbraco.Core.Configuration;
using Umbraco.Core.Logging;
using RazorDataTypeModelStaticMappingItem = umbraco.MacroEngines.RazorDataTypeMode... | 40.051966 | 173 | 0.578778 | [
"MIT"
] | ConnectionMaster/Umbraco-CMS | src/umbraco.businesslogic/UmbracoSettings.cs | 28,517 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.EntityFrameworkCore.Tools.Properties;
namespace Microsoft.EntityFrameworkCore.Tools.Commands
{
internal partial class DbC... | 28.826087 | 71 | 0.720965 | [
"MIT"
] | Applesauce314/efcore | src/ef/Commands/DbContextListCommand.Configure.cs | 663 | C# |
namespace ImageProcessor.Mobile
{
public class ProcessedImage
{
public ProcessedImage()
{
}
public string Id { get; set; }
public string Name { get; set; }
public string OriginalImageUrl { get; set; }
public string TextBoxImageUrl { get; set; }
public string TextRecognizedImageUrl { get; set; }
pub... | 25.875 | 56 | 0.705314 | [
"MIT",
"Unlicense"
] | michael-watson/ImageProcessor | ImageProcessor.Mobile/ImageProcessor.Mobile/Models/ProcessedImage.cs | 416 | C# |
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2012 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// Symbols are a sequence of characters such as ":)" that get replac... | 27.484211 | 111 | 0.632325 | [
"MIT"
] | kidshenlong/warpspeed | Project Files/Assets/NGUI/Scripts/Internal/BMSymbol.cs | 2,612 | C# |
using System;
using System.Windows.Input;
namespace GBAC;
/// <summary>
/// A base RelayCommand to use for RelayCommands
/// </summary>
public abstract class BaseRelayCommand : ICommand
{
#region Constructors
/// <summary>
/// Default constructor
/// </summary>
protected BaseRelayCommand()
{... | 23.258427 | 82 | 0.630435 | [
"MIT"
] | RayCarrot/GBAC | src/MVVM/BaseRelayCommand.cs | 2,072 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IssueManagementSystem.DomainModel.Issue;
namespace IssueManagementSystem.DomainService.Issue
{
/// <summary>
/// 課題マネージャー
/// </summary>
public class IssueManager : IIssueManager
... | 23.9375 | 62 | 0.54765 | [
"MIT"
] | nodashin/DDD-OnionArchitecture-Traning | IssueManagementSystem/IssueManagementSystem.DomainService/Issue/IssueManager.cs | 1,688 | C# |
using System.Linq;
using System.Text;
namespace XmlTools.CodeGenerator
{
public static class ComplexTypeAttributeCheckGenerator
{
public static void GenerateAttributesCheckingCode(XmlTypeWithAttributes xmlType, StringBuilder stringBuilder)
{
if (!xmlType.Attributes.Any())
... | 54.806452 | 235 | 0.663331 | [
"MIT"
] | GeorgDangl/XmlTools | src/XmlTools/CodeGenerator/ComplexTypeAttributeCheckGenerator.cs | 1,699 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 33.790123 | 157 | 0.560833 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.400 | Source/Krypton Components/ComponentFactory.Krypton.Navigator/View Layout/ViewLayoutInsetOverlap.cs | 5,477 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Xml;
using System.Collections;
namespace QXS.ChatBot
{
public class ReplacementBotRule : BotRule
{
protected Random rnd = new Random();... | 36.975806 | 141 | 0.497056 | [
"MIT"
] | dbnmur/Project_OLP_Rest | ChatBot/Rules/ReplacementBotRule.cs | 4,587 | C# |
namespace Rabbit.WeiXin.MP.Messages.Events.CustomService
{
/// <summary>
/// 接入会话通知消息。
/// </summary>
public sealed class CloseSessionMessage : EventMessageBase
{
/// <summary>
/// 客服账号。
/// </summary>
public string Account { get; set; }
/// <summar... | 21.695652 | 62 | 0.503006 | [
"Apache-2.0"
] | YouenZeng/WeiXinSDK | src/Rabbit.WeiXin/MP/Messages/Events/CustomService/CloseSessionMessage.cs | 539 | C# |
using System;
using System.Globalization;
using System.Xml.Linq;
namespace RCNet.Neural.Network.SM.Preprocessing.Neuron.Predictor
{
/// <summary>
/// Configuration of the ActivationRescaledRange predictor computer.
/// </summary>
[Serializable]
public class PredictorActivationRescaledRangeSettings... | 32.521368 | 163 | 0.585808 | [
"MIT"
] | okozelsk/NET | RCNet/Neural/Network/SM/Preprocessing/Neuron/Predictor/PredictorActivationRescaledRangeSettings.cs | 3,807 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Trading.Model.RefData
{
public class Exchange
{
[Key]
public int Id { get; set; }
public int Code { get; set; }
public string Name { get; set; }
}
}
| 17.722222 | 44 | 0.636364 | [
"Apache-2.0"
] | ayxue/Stocks | src/StockSolution/Trading.Model/RefData/Exchange.cs | 321 | C# |
using java.lang;
using java.lang.reflect;
public class ParameterAnnotation {
public static bool test() {
Class<?> c = typeof(ParameterAnnotation);
Method m = c.getMethod("method", typeof(int));
return m.getParameterAnnotations()[0][0] != null;
}
public static void method([Deprecated] int arg) {
}
... | 23 | 53 | 0.68323 | [
"Apache-2.0"
] | monoman/cnatural-language | tests/resources/ObjectModelTest/sources/ParameterAnnotation.stab.cs | 322 | C# |
using System;
using System.Runtime.InteropServices;
public static unsafe class Program {
[DllImport("common.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern ushort FirstElementOfUshortArray(IntPtr ptr);
public static void Main () {
var arr = new ushort[5] { 1, 2, 3, 4, 5 };... | 39.076923 | 99 | 0.700787 | [
"MIT"
] | RedpointGames/JSIL | Tests/EmscriptenTestCases/PassPtrToPinnedArray.cs | 508 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... | 41.684906 | 184 | 0.580863 | [
"MIT"
] | 2m0nd/runtime | src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/Multiply.Vector128.Byte.cs | 22,093 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.VisualStudio.Composition
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Globalization;
using System.Li... | 54.194245 | 204 | 0.60246 | [
"MIT"
] | Bhaskers-Blu-Org2/vs-mef | src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscoveryV1.cs | 22,601 | 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.BenefitsAdministration
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerS... | 23.238532 | 204 | 0.740229 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.BenefitsAdministration/Add_Dependent_ResponseType.cs | 2,533 | C# |
using System;
using System.Diagnostics;
namespace SdlSharp.Graphics
{
/// <summary>
/// A color.
/// </summary>
[DebuggerDisplay("({Red}, {Green}, {Blue}, {Alpha})")]
public readonly struct Color : IEquatable<Color>
{
/// <summary>
/// The opaque alpha value.
/// </summ... | 32.909091 | 155 | 0.532535 | [
"MIT"
] | panopticoncentral/sdl-sharp | src/SdlSharp/Graphics/Color.cs | 3,260 | C# |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | 37.043689 | 198 | 0.718779 | [
"Apache-2.0"
] | speakeasy/gdal | swig/csharp/ogr/DataSource.cs | 7,631 | C# |
using System.Numerics;
namespace _16_CornellBoxLightEmittedDownwardDirection
{
public class Diffuse_light : Material
{
public Texture emit;
public Diffuse_light(Texture a)
{
this.emit = a;
}
public override Vector3 Emitted(Ray r_in, Hit_Record rec, float u... | 20.071429 | 94 | 0.501779 | [
"MIT"
] | Jorgemagic/RaytracingTheRestOfYourLife | 16-CornellBoxLightEmittedDownwardDirection/Materials/Diffuse_light.cs | 564 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Plex.ServerApi.Clients.Interfaces;
using PlexBlazorServerOAuthExample.Services.Plex;
using System;
using System.Threading.Tasks;
namespace PlexBlazorServerOAuthExample.Controllers
{
[Route("api/[controller]")]
public class PlexLoginContr... | 33.471698 | 147 | 0.642052 | [
"MIT"
] | JeffreyMercado/plex-api | Samples/PlexBlazorServerOAuthExample/Controllers/PlexLoginController.cs | 1,774 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
public GameObject player;
private Vector3 offset;
void Start() {
offset = transform.position - player.transform.position;
}
void LateUpdate() {
transform.position = player.transfor... | 20.352941 | 58 | 0.763006 | [
"MIT"
] | fallsimply/Roll-A-Ball | Assets/Scripts/CameraController.cs | 348 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using Rollvolet.CRM.Domain.Models;
using Rollvolet.CRM.Domain.Models.Query;
namespace Rollvolet.CRM.Domain.Contracts.DataProviders
{
public interface ILanguageDataProvider
{
Task<IEnumerable<Language>> GetAllAsync();
Task<Language>... | 32.25 | 60 | 0.742248 | [
"MIT"
] | rollvolet/crm-ap | src/Rollvolet.CRM.Domain/Contracts/DataProviders/ILanguageDataProvider.cs | 516 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Domain.Entity;
using Apollo.Persistence.Dao.Interfaces;
using Apollo.Persistence.FluentEntity.Interfaces.Select;
using Apollo.Persistence.Util;
namespace Apollo.Persistence.Dao.Ado
{
public class SeatDaoAdo : BaseDao<S... | 37.576271 | 111 | 0.577357 | [
"MIT"
] | EnvyIT/apollo | Apollo/Apollo.Persistence/Dao/Ado/SeatDaoAdo.cs | 4,436 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using MyFirstProject.Configuration;
namespace MyFirstProject.Web.Host.Startup
{
[DependsOn(
typeof(MyFirstProjectWebCoreModule))]
public class MyFirstProjectWebHostModule: A... | 28.428571 | 103 | 0.713568 | [
"MIT"
] | ayyse/boilerplate-car | 6.0.0/aspnet-core/src/MyFirstProject.Web.Host/Startup/MyFirstProjectWebHostModule.cs | 798 | 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("We... | 37.916667 | 84 | 0.748718 | [
"BSD-2-Clause"
] | ArmyMedalMei/webkitdotnet | WebKitBrowser.Tests/Properties/AssemblyInfo.cs | 1,368 | C# |
using System.Linq;
using System.Web.Mvc;
using IDeliverable.Slides.Filters;
using IDeliverable.Slides.Models;
using IDeliverable.Slides.ViewModels;
using Orchard.ContentManagement;
using Orchard.Layouts.Framework.Elements;
using Orchard.Layouts.Services;
using Orchard.Localization;
using Orchard.UI.Admin;
using Orchar... | 35.27957 | 133 | 0.65224 | [
"BSD-3-Clause"
] | IDeliverable/IDeliverable.Slides | Controllers/SlideController.cs | 3,283 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 31.135135 | 99 | 0.534722 | [
"MIT"
] | mgnz/squidex | src/Squidex.Domain.Users/DefaultUserResolver.cs | 2,306 | C# |
// Copyright (C) 20134 Pat Laplante
//
// 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, modify, merge, ... | 38.355932 | 148 | 0.707026 | [
"MIT"
] | patbonecrusher/MvxAdvancedPresenter.Touch | MvxAdvancedPresenter.Touch/Attributes/PresenterAttributes.cs | 2,265 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Administrator.Common;
using Administrator.Extensions;
using Disqord;
using Microsoft.Extensions.DependencyInjection;
using Qmmands;
namespace Administrator.Commands
{
public sealed class EmojiParser : TypeParser<IEmoji>
{
public over... | 37.627907 | 125 | 0.595797 | [
"MIT"
] | QuantumToasted/Administrator | Administrator/Commands/Parsers/EmojiParser.cs | 1,620 | C# |
// Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 Jeesu Choi
//
// 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, i... | 34.229299 | 121 | 0.61016 | [
"MIT"
] | s2quake/JSSoft.Crema | server/JSSoft.Crema.Services/Domains/DomainMember.cs | 5,376 | C# |
using EventStore.Core.Index;
using NUnit.Framework;
namespace EventStore.Core.Tests.Index.Index64Bit
{
[TestFixture]
public class adding_four_items_to_empty_index_map_with_two_tables_per_level_causes_double_merge: Index32Bit.adding_four_items_to_empty_index_map_with_two_tables_per_level_causes_double_merge
... | 36.142857 | 194 | 0.806324 | [
"Apache-2.0"
] | rodolfograve/EventStore | src/EventStore.Core.Tests/Index/Index64Bit/adding_four_items_to_empty_index_map_with_two_tables_per_level_causes_double_merge.cs | 506 | C# |
// T4 code generation is enabled for model 'D:\Demo\GalaxyLibrary\SA47Team10a_GalaxyLibrary\GalaxyEDM.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 Window when the model
// ... | 77.6 | 111 | 0.759021 | [
"MIT"
] | NgYanBo/GdipSA_LibraryManagementSystem | SA47Team10a_GalaxyLibrary/GalaxyEDM.Designer.cs | 778 | C# |
/////////////////////////////////////////////////////////////////////////////////
// paint.net //
// Copyright (C) dotPDN LLC, Rick Brewster, and contributors. //
// All Rights Reserved. ... | 25.677419 | 82 | 0.374372 | [
"MIT"
] | ScriptBox99/PaintDotNet.Quantization | PaintDotNet/Disposable.cs | 1,594 | C# |
/*
* Copyright(c) 2018 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 ... | 41.79143 | 260 | 0.579867 | [
"Apache-2.0"
] | sungraejo/TizenFX | src/Tizen.NUI.Xaml/src/public/Forms/BaseComponents/View.cs | 132,646 | C# |
namespace SmartHunter.Game.Data
{
public enum WeaponType
{
NO_WEAPON,
WEAPON_UNKNOWN,
BOW,
CHARGE_BLADE,
GUNLANCE,
HAMMER,
HEAVY_BOWGUN,
HUNTING_HORN,
LANCE,
LIGHT_BOWGUN,
INSECT_GLAIVE,
KINSECT,
SWORD_AND_SH... | 17.28 | 31 | 0.523148 | [
"MIT"
] | psjpark/SmartHunter | SmartHunter/Game/Data/WeaponType.cs | 432 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
class SetPSSARul... | 29.235294 | 101 | 0.732394 | [
"MIT"
] | stefb965/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/SetPSSARulesRequest.cs | 499 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
/// <summary>
/// DispatchInterface DispHTCDefaultDispatch
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsDispatchInterf... | 28.97076 | 177 | 0.698022 | [
"MIT"
] | DominikPalo/NetOffice | Source/MSHTML/DispatchInterfaces/DispHTCDefaultDispatch.cs | 4,954 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BackEndObjects;
using ActionLibrary;
using System.Collections;
using System.Data;
namespace OnLine.Pages.Popups.Contacts
{
public partial class AllDealsWithContact : Sys... | 51.487421 | 235 | 0.639162 | [
"Apache-2.0"
] | shibathethinker/ChimeraCRM | OnLine/OnLine/Pages/Popups/Contacts/AllDealsWithContact.aspx.cs | 16,375 | 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 System.Collections.Immutable;
using System.Diagnostics;
using... | 45.197943 | 289 | 0.584841 | [
"MIT"
] | Acidburn0zzz/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/SyntaxNodeExtensions.cs | 52,748 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Mqtt.Server.Sdk;
namespace System.Net.Mqtt.Sdk
{
internal class DistanceCalculator
{
private class Units
{
public static readonly string Meters = "m";
public static readon... | 32.576471 | 122 | 0.680751 | [
"MIT"
] | CarloP95/mqtt | src/Client/Sdk/DistanceCalculator.cs | 2,771 | C# |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace MultiLauncher.UI
{
public class ProgramLocatorService
{
public IEnumerable<(string ... | 33.659091 | 142 | 0.505402 | [
"MIT"
] | NoPoLa/MultiLauncher | src/MultiLauncher.UI/Services/ProgramLocatorService.cs | 2,964 | C# |
using System.Collections.Generic;
using System.Linq;
using EnvDTE;
using EnvDTE80;
using Typewriter.Metadata.Interfaces;
namespace Typewriter.Metadata.CodeDom
{
public class CodeDomConstantMetadata : CodeDomFieldMetadata, IConstantMetadata
{
private CodeDomConstantMetadata(CodeVariable2 codeVariable, C... | 35.323529 | 128 | 0.615321 | [
"Apache-2.0"
] | Ackhuman/Typewriter | src/CodeDom/CodeDomConstantMetadata.cs | 1,201 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
// System.Configuration.InfiniteIntConverterTest.cs - Unit tests
// for System.Configuration.InfiniteIntConverter.
//
// Author:
// Chris Toshok <toshok@ximian.com>
//
// Copyrig... | 35.272059 | 115 | 0.623932 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Configuration.ConfigurationManager/tests/Mono/InfiniteIntConverterTest.cs | 4,797 | C# |
using Mirage.Urbanization.ZoneConsumption;
namespace Mirage.Urbanization.Tilesets
{
class RoadNoneZoneTileAccessor : BaseNetworkZoneTileAccessor<RoadZoneConsumption>
{
protected override string NetworkName => "RoadNone";
protected override bool Filter(ZoneInfoSnapshot snapshot) => snapsh... | 37.1 | 117 | 0.757412 | [
"MIT"
] | Miragecoder/Urbanization | src/Mirage.Urbanization.Resources/RoadNoneZoneTileAccessor.cs | 371 | C# |
// Ejercicio recomendado 48
// Javier (...)
// Calcula las soluciones de y=Ax^2 + Bx + C
using System;
// y=Ax^2 + Bx + C
// Ax^2 + Bx + C-y = 0
// x = (-b +- sqrt(b^2 - 4a(c-y))) /2a
class Ecuacion
{
static void Main()
{
double a, b, c, discriminante, x1, x2;
Console.Write("Introduce el va... | 27.050847 | 78 | 0.414787 | [
"MIT"
] | ncabanes/sv2021-programming | tema03-tiposDeDatosBasicos/048-ecuacSegundoGrado.cs | 1,602 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using UnityEngine.UI;
using UnityEngine.Events;
public class DrumGameManagerCircle : DrumGameManagerBase
{
/* TODOLIST
*/
public Transform wheelPivotT;
public Transform highlightPivotT;
public float rotat... | 31.90099 | 137 | 0.657976 | [
"MIT"
] | Kionius/DacronDuvet | Assets/ScenicAssets/DrumGame/DrumGameManagerCircle.cs | 6,446 | C# |
using Xunit;
[assembly: CollectionBehavior(DisableTestParallelization = true, MaxParallelThreads = 1)]
| 26.25 | 89 | 0.809524 | [
"MIT"
] | Nilox/ReactiveUI | src/ReactiveUI.Tests/TestConfiguration.cs | 107 | C# |
using System;
using IdentityServer3.Core.Services.Contrib.Internals;
namespace IdentityServer3.Core.Services.Contrib
{
public class GlobalizedLocalizationService : ILocalizationService
{
private readonly OwinEnvironmentService _owinEnvironmentService;
private readonly LocaleOptions _internalOp... | 38.433333 | 170 | 0.701648 | [
"MIT"
] | johnkors/IdentityServer3.Contrib.Localization | source/IdentityServer3.Localization/GlobalizedLocalizationService.cs | 1,155 | C# |
using HydroQuebecApi.Infrastructure;
using System;
using System.Text.Json.Serialization;
namespace HydroQuebecApi.Models
{
public class PeriodData: IEquatable<PeriodData>
{
[JsonPropertyName("numeroContrat")] public string ContractNumber { get; set; }
[JsonPropertyName("dateFinPeriode")] publi... | 71.738095 | 110 | 0.722868 | [
"MIT"
] | patlaniel/HydroQuebecApi | HydroQuebecApi/Models/PeriodData.cs | 3,015 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from shared/wtypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Sy... | 36.568182 | 145 | 0.640771 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/shared/wtypes/remoteMETAFILEPICTTests.cs | 1,611 | C# |
using MSyics.Traceyi.Layout;
using MSyics.Traceyi.Listeners;
using System.Threading.Tasks;
namespace MSyics.Traceyi
{
class UsingLayout : Example
{
public override string Name => nameof(UsingLayout);
public override void Setup()
{
Traceable.Add("default", TraceFilters.All,... | 31.025 | 133 | 0.609992 | [
"MIT"
] | MSyics/Traceyi | MSyics.Traceyi.Example/Example/UsingLayout/UsingLayout.cs | 1,243 | C# |
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace BasisTheory.net.Permissions.Entities
{
public class Permission
{
[JsonProperty("type")]
[JsonPropertyName("type")]
public string Type { get; set; }
[JsonProperty("descriptio... | 26.136364 | 58 | 0.66087 | [
"Apache-2.0"
] | Basis-Theory/basistheory-dotnet | src/BasisTheory.net/Permissions/Entities/Permission.cs | 575 | C# |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Net.Http
{
public static class __HttpContent
{
public static IObservable<System.String> ReadAsStringAsync(this IObservable<System.Net.Http.HttpCont... | 49.621212 | 219 | 0.744733 | [
"MIT"
] | RixianOpenTech/RxWrappers | Source/Wrappers/Microsoft.Net.Http/System.Net.Http.HttpContent.cs | 3,275 | 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("Lyn... | 37.777778 | 84 | 0.751471 | [
"MIT"
] | LynxMagnus/lynx-magnus | LynxMagnus.Tests/Properties/AssemblyInfo.cs | 1,363 | C# |
namespace DiscordRP {
/// <summary>
/// Defines the required fields when updating
/// the client's Rich Presence status.
/// </summary>
public class ClientStatus {
/// <value>
/// the user's current party status
/// </value>
public string state = "";
/// <value>
/// what the player is currently doing
... | 22.157895 | 62 | 0.634204 | [
"MIT"
] | staticfox/DiscordRP-tModLoader | ClientStatus.cs | 842 | C# |
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using PnP.PowerShell.Commands.Base.PipeBinds;
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Remove, "PnPIndexedProperty")]
public class RemovedIndexedProperty : PnPWebCmdlet
{
[Parameter(Mandatory = true, Position = ... | 27.583333 | 64 | 0.515609 | [
"MIT"
] | AndersRask/powershell | src/Commands/Web/RemovedIndexedProperty.cs | 995 | C# |
// <copyright file="TeamEntity.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.NewHireOnboarding.Models.EntityModels
{
using Microsoft.WindowsAzure.Storage.Table;
/// <summary>
/// Class contains team details where applicat... | 27.634615 | 94 | 0.517049 | [
"MIT"
] | v-chetsh/at-arm-test-local | Source/Microsoft.Teams.Apps.NewHireOnboarding/Models/EntityModels/TeamEntity.cs | 1,439 | C# |
using Microsoft.AspNetCore.Mvc;
using shopping_api.Models;
using shopping_api.Utils;
using shopping_api.Handler.Default;
namespace shopping_api.Controllers
{
/// <summary>
/// Defines a corresponding controller for departments.
/// </summary>
[ApiController]
[Route("department")]
public cl... | 29.25 | 94 | 0.570319 | [
"Apache-2.0"
] | Carzuiliam/CS-ShoppingAPI | Controllers/DepartmentController.cs | 1,289 | C# |
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.JSInterop;
using MjrChess.Engine;
using MjrChess.Engine.Models;
using MjrChess.Engine.Utilities;
namespace MjrChess.Trainer.Components
{
/// <sum... | 34.086735 | 181 | 0.550367 | [
"MIT"
] | mjrousos/ChessTrainer | src/ChessTrainerApp/Components/ChessBoardBase.cs | 6,683 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 25.75 | 96 | 0.753121 | [
"MIT"
] | bytemaster-0xff/DroneTek | NiVek/Software/GroundStation/NiVek.GroundStation/Controls/ConfigValue.xaml.cs | 723 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.