content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Mdmeta.Core;
using static Mdmeta.Tasks.Walterlv.MdmetaUtils;
namespace Mdmeta.Tasks.Walterlv
{
[CommandMetadata("wupdate", Description = "根据文件的修改时间更新 YAML 元数据中的更新时间。")]
public sealed class UpdateTask : CommandTask
{
... | 36.198758 | 102 | 0.507378 | [
"MIT"
] | dotnet-campus/markdown-metadata | src/Mdmeta.Core/Tasks/Walterlv/UpdateTask.cs | 6,382 | C# |
using Jobsity.Chat.DataContext.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Jobsity.Chat.UI.Areas.Identity.Pages.Account.Manage
{
... | 37.027778 | 153 | 0.633158 | [
"MIT"
] | magupisoft/chat-challenge | Jobsity.Chat.UI/Areas/Identity/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs | 2,668 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace RegexBuilder
{
public class OptionsGroupPattern : GroupPattern
{
bool? m_IgnoreCase = null;
bool? m_Multiline = null;
bool? m_ExplicitCapture = null;
bool? m_SingleLine = null;
bool? m_IgnoreP... | 28.522059 | 81 | 0.480278 | [
"MIT"
] | VBAndCs/Verex | Verex/Groups/OptionsGroup.cs | 3,881 | C# |
using System.Collections.Generic;
using System.Text.RegularExpressions;
using BattleTech;
using fastJSON;
using Newtonsoft.Json.Linq;
namespace TisButAScratch.Framework
{
public class GlobalVars
{
public static bool rollDie(int diecount, int sides, int success, out int sum)
{
sum =... | 31.09375 | 156 | 0.573367 | [
"MIT"
] | ajkroeg/TisButAScratch | Framework/GlobalVars.cs | 1,992 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Manatee.Json.Internal;
using Manatee.Json.Pointer;
using Manatee.Json.Serialization;
namespace Manatee.Json.Schema
{
/// <summary>
/// Defines the `maxProperties` JSON Schema keyword.
/// </summary>
[DebuggerDisplay("Name={Name} Value... | 37.77027 | 142 | 0.697853 | [
"MIT"
] | JechoJekov/Manatee.Json | Manatee.Json/Schema/Keywords/MaxPropertiesKeyword.cs | 5,592 | C# |
using System;
using System.Collections.Generic;
namespace Chartreuse.Today.Core.Shared.Model.Smart
{
public class SmartViewTagRule : SmartViewRule<string>
{
private static readonly List<SmartViewFilter> supportedFilters = new List<SmartViewFilter> { SmartViewFilter.Is, SmartViewFilter.IsNot, SmartView... | 40.508475 | 258 | 0.617573 | [
"MIT"
] | 2DayApp/2day | src/2Day.Core.Shared/Model/Smart/SmartViewTagRule.cs | 2,392 | C# |
namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[Syste... | 28.492063 | 124 | 0.512535 | [
"Apache-2.0"
] | gtri-iead/LEXS-NET-Sample-Implementation-4.0 | LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/ReferenceType2.cs | 1,795 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.I... | 42.430769 | 278 | 0.645758 | [
"MIT"
] | Niravk1997/HP-Data-Log-Graphing-Utility | src/.Net_Core_6/Graph_Windows/DateTime_Graph/DateTime_Math_Waveform.xaml.cs | 5,518 | C# |
using Azure.Storage.Blobs;
using Microsoft.Extensions.DependencyInjection;
using Sparc.Core;
namespace Sparc.Storage.Azure
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddAzureStorage(this IServiceCollection services, string connectionString)
{
... | 30 | 115 | 0.715686 | [
"MIT"
] | sparc-coop/Sparc.Kernel | Sparc.Storage.Azure/ServiceCollectionExtensions.cs | 512 | C# |
using System.Web.Mvc;
using System.Web.Routing;
namespace Entities
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
... | 25.7 | 104 | 0.529183 | [
"MIT"
] | hi-q/entities | Entities/App_Start/RouteConfig.cs | 516 | C# |
// Generated on 03/23/2022 09:50:29
using System;
using System.Collections.Generic;
using System.Linq;
using AmaknaProxy.API.Protocol.Types;
using AmaknaProxy.API.IO;
using AmaknaProxy.API.Network;
namespace AmaknaProxy.API.Protocol.Messages
{
public class TreasureHuntMessage : NetworkMessage
{
publi... | 35.516129 | 236 | 0.593097 | [
"MIT"
] | ImNotARobot742/DofusProtocol | DofusProtocol/D2Parser/Protocol/Messages/game/context/roleplay/treasureHunt/TreasureHuntMessage.cs | 3,303 | C# |
using EnhancedBattleTest.BannerEditor;
using EnhancedBattleTest.Config;
using EnhancedBattleTest.UI.Basic;
using TaleWorlds.Core;
using TaleWorlds.Library;
using TaleWorlds.Localization;
namespace EnhancedBattleTest.UI
{
public class SideVM : ViewModel
{
private TeamConfig _config;
private Ima... | 33.57732 | 148 | 0.613141 | [
"MIT"
] | Fellow93/EnhancedBattleTest | source/src/UI/SideVM.cs | 3,259 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Linq;
namespace Geb.Image.Formats.MetaData.Profiles.Icc
{
/// <summary>
/// This type represents an array of unsigned 32bit integers.
/// </summary>
internal sealed class IccUIn... | 28.977011 | 110 | 0.539865 | [
"MIT"
] | xiaotie/GebImage | src/Geb.Image/Formats/MetaData/Profiles/ICC/TagDataEntries/IccUInt32ArrayTagDataEntry.cs | 2,523 | 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.Security.Policy;
using System.IO;
using System.Configuration.Assembli... | 46.553571 | 189 | 0.637131 | [
"MIT"
] | dotnetGame/coreclr | src/mscorlib/src/System/Reflection/Assembly.CoreCLR.cs | 13,035 | C# |
using System;
using UnityEngine;
public class Destructible
{
public float Health { get; private set; }
public float MaxHealth { get; private set; }
public Action onDeath = delegate { };
public Action onHurt = delegate { };
public Destructible(float health, float maxHealth)
{
if (maxH... | 18.5 | 54 | 0.527027 | [
"MIT"
] | marcuskaraker/JRPG_Fighting | Assets/Scripts/Combat/Destructible.cs | 890 | C# |
using System.Diagnostics.CodeAnalysis;
namespace LanceC.SpreadsheetIO.Reading.Failures;
/// <summary>
/// Represents a header mismatch between the defined map and the spreadsheet.
/// </summary>
[ExcludeFromCodeCoverage]
public record HeaderReadingFailure(
bool MissingHeaderRow,
IReadOnlyCollection<MissingHea... | 35.724138 | 107 | 0.737452 | [
"MIT"
] | lanceccraig/SpreadsheetIO | src/SpreadsheetIO/Reading/Failures/HeaderReadingFailure.cs | 1,036 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore;
using Microsoft.Extensions.DependencyInjection;
using Oqtane.Infrastructure;
using System.Diagnostics;
using Microsoft.Extensions.Logging;
using Oqtane.Shared;
using Oqtane.Docum... | 33.860465 | 96 | 0.612637 | [
"MIT"
] | 2sic-forks/oqtane.framework | Oqtane.Server/Program.cs | 1,456 | C# |
using System;
using Spax.Physics2D;
namespace Spax.Physics2D
{
[Flags]
public enum PhysicsLogicType
{
Explosion = (1 << 0)
}
public struct PhysicsLogicFilter
{
public PhysicsLogicType ControllerIgnores;
/// <summary>
/// Ignores the controller. The controller h... | 27.030303 | 85 | 0.566704 | [
"MIT"
] | JoshHux/SpaxFightingGameEnginePrototype | Assets/_hysics/FixedPoint/Physics/Farseer/Common/PhysicsLogic/PhysicsLogic.cs | 1,784 | C# |
namespace DIO.Series
{
public enum Genero
{
Acao = 1,
Aventura = 2,
Comedia = 3,
Documentario = 4,
Drama = 5,
Ficcao_Cientifica = 6,
Musical = 7,
Romance = 8,
Suspense = 9,
Terror = 10
}
} | 14.25 | 30 | 0.442105 | [
"MIT"
] | devguilhermeribeiro/App-de-Serie-da-DIO | DIO.Series/Enum/Genero.cs | 285 | C# |
using Handyman.DataContractValidator.Model;
using System.Diagnostics;
namespace Handyman.DataContractValidator.Validation
{
internal class AnyValidator : ITypeInfoValidator
{
public void Validate(ITypeInfo actual, ITypeInfo expected, ValidationContext context)
{
Debug.Assert(expect... | 27.461538 | 93 | 0.722689 | [
"MIT"
] | JonasSamuelsson/Handyman | src/Handyman.DataContractValidator/src/Validation/AnyValidator.cs | 359 | C# |
namespace AVLTree
{
public class AVLSortedDictionary<TKey, TValue>
{
}
}
| 12 | 51 | 0.583333 | [
"MIT"
] | tvvister/AVLTree | AVLTree/AVLSortedDictionary.cs | 98 | C# |
#region "copyright"
/*
Copyright © 2016 - 2021 Stefan Berg <isbeorn86+NINA@googlemail.com> and the N.I.N.A. contributors
This file is part of N.I.N.A. - Nighttime Imaging 'N' Astronomy.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not ... | 37.321337 | 138 | 0.480438 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | daleghent/NINA | NINA.Equipment/Equipment/AscomDevice.cs | 14,521 | C# |
using Microsoft.SyndicationFeed;
using TDNI.External.Blogs.Parsers.PostParsers.Attributes.Abstract;
namespace TDNI.External.Blogs.Parsers.PostParsers.Attributes
{
public class AuthorParser : IAttributeParser<AuthorParser>
{
public string Parse(ISyndicationItem item, params string[] args)
{
... | 29.809524 | 111 | 0.624601 | [
"MIT"
] | hasan-hasanov/TheDotNetInfo | src/TheDotNetInfo/TDNI.External.Blogs/Parsers/PostParsers/Attributes/AuthorParser.cs | 628 | C# |
/*************************************************************************/
/* Copyright (c) 2016 Iván Vodopiviz */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and... | 45.813953 | 76 | 0.540102 | [
"MIT"
] | ivodopiviz/UnityVoxelExample | Assets/scripts/OrbitCamera.cs | 1,973 | C# |
using Microsoft.SharePoint.Client;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using System.Management.Automation;
namespace PnP.PowerShell.Commands.Principals
{
[Cmdlet(VerbsCommon.Remove, "PnPAlert")]
public class RemoveAlert : PnPWebCmdlet
{
[Parameter(Mandatory = false)]
... | 27.87234 | 109 | 0.529008 | [
"MIT"
] | AndersRask/powershell | src/Commands/Principals/RemoveAlert.cs | 1,312 | 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... | 38.811881 | 99 | 0.614031 | [
"MIT"
] | ChangweiZhang/Awesome-WindowsML-ONNX-Models | src/WindowsML-Demos/ResNet50/App.xaml.cs | 3,922 | C# |
using System.Collections.Generic;
namespace AbstractFactoryDesignPattern.Domain.Interface
{
using Entities;
public interface IInstrumentoCorda
{
IList<Nota> ListarNotas();
short ObterQuantidadeCordas();
}
} | 18.615385 | 55 | 0.710744 | [
"MIT"
] | abrandaol-youtube/DesignPatternsGoF | AbstractFactoryDesignPattern/Domain/Interface/IInstrumentoCorda.cs | 244 | C# |
using Kros.Authorization.Api.Domain;
using Kros.KORM;
using Kros.KORM.Converter;
using Kros.KORM.Metadata;
namespace Kros.Authorization.Api.Infrastructure
{
/// <summary>
/// Configure database for KORM.
/// </summary>
public class DatabaseConfiguration : DatabaseConfigurationBase
{
/// <s... | 34.731707 | 91 | 0.633427 | [
"MIT"
] | Kros-sk/Kros.AspNetCore.BestPractices | src/Services/Kros.Authorization.Api/Infrastructure/DatabaseConfiguration.cs | 1,426 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main() // 100/100
{
List<int> upperZip = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
List<int> lowerZip = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
int firstCoun... | 32.518987 | 125 | 0.538731 | [
"MIT"
] | GabrielRezendi/Programming-Fundamentals-2017 | 02.Extented Fundamentals/15.LISTS - EXERCISES/06.03 Stuck Zipper/Program.cs | 2,571 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Qwack.Transport.BasicTypes;
namespace Qwack.Transport.TransportObjects.Instruments.Funding
{
public class TO_FloatRateIndex
{
public DayCountBasis DayCountBasis { get; set; }
public DayCountBasis DayCountBasisFixed { get; ... | 28.909091 | 62 | 0.683962 | [
"MIT"
] | cetusfinance/qwack | src/Qwack.Transport/TransportObjects/Instruments/Funding/TO_FloatRateIndex.cs | 636 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Burnable : MonoBehaviour {
public GameObject burningEffect;
public bool isOnFire;
public float fireHealth;
public float moistureAmount;
// Use this for initialization
void Start () {
}
// Update is c... | 18.5 | 42 | 0.714988 | [
"MIT"
] | WallRushGO/ASMGameJam2018 | game/Assets/_Proto_UnitControl/Scripts/Burnable.cs | 409 | 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;
namespace Microsoft.Toolkit.Parsers.Markdown.Blocks
{
/// <summary>
/// T... | 27.913043 | 71 | 0.643302 | [
"MIT"
] | 14632791/WindowsCommunityToolkit | Microsoft.Toolkit.Parsers/Markdown/Blocks/List/ListItemBlock.cs | 642 | C# |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Si... | 29.771429 | 87 | 0.742802 | [
"MIT"
] | ThomasMiz/Silk.NET | src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVFragmentCoverageToColor.gen.cs | 1,042 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rocky_Models
{
public class OrderDetail
{
[Key]
public int Id { get; se... | 23.290323 | 52 | 0.641274 | [
"MIT"
] | PacktPublishing/ASP.NET-Core-MVC-Up-and-Running-.NET-5 | Part 2 Code bundle/Rocky_Models/OrderDetail.cs | 724 | C# |
namespace MassTransit.RabbitMqTransport.Topology
{
using System.Collections.Generic;
/// <summary>
/// The exchange to queue binding details to declare the binding to RabbitMQ
/// </summary>
public interface ExchangeToQueueBinding
{
/// <summary>
/// The source exchange
... | 24.0625 | 80 | 0.555844 | [
"ECL-2.0",
"Apache-2.0"
] | AlexanderMeier/MassTransit | src/Transports/MassTransit.RabbitMqTransport/RabbitMqTransport/Topology/Entities/ExchangeToQueueBinding.cs | 770 | C# |
/*
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2017 MinIO, 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... | 41.690909 | 89 | 0.68382 | [
"Apache-2.0"
] | krisis/minio-dotnet | Minio/Helper/Constants.cs | 2,295 | C# |
namespace _05.Sort_Array_Using_Insertion_Sort
{
using System;
using System.Collections.Generic;
using System.Linq;
public class SortArrayUsingInsertionSort
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split(new char[] { ' ' },
... | 27.166667 | 69 | 0.435583 | [
"MIT"
] | 1ooIL40/FundamentalsExtendetRepo | Array and List Algorithms - Lab/05. Sort Array Using Insertion Sort/SortArrayUsingInsertionSort.cs | 980 | C# |
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using TradeHub.Charts.GDI;
using TradeHub.Charts.Interfaces;
using TradeHub.Core.Model;
namespace TradeHub.Charts.Modules
{
/// <summary>
/// Base implementation of a static chart module. All static chart modules can derive from this c... | 35.81746 | 173 | 0.603146 | [
"MIT"
] | leboeuf/TradeHub-csharp | src/TradeHub.Charts/Modules/StaticChartModule.cs | 4,515 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace UnsupervisedLearning.SelfOrganizingMaps.LearningRateFunctions
{
/// <summary>
/// Essa implementação da função de taxa de aprendizado segue as sugestõ... | 36.038462 | 150 | 0.697972 | [
"MIT"
] | luisgandrade/TCCSharpRecSys | UnsupervisedLearning/SelfOrganizingMaps/LearningRateFunctions/LearningRateFunction.cs | 2,849 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services: http://www.microsoft.com/cognitive
//
// Microsoft Cognitive Services Github:
// https://github.com/Microsoft/Cognitive
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
//... | 38.967581 | 222 | 0.592538 | [
"MIT"
] | CCalanni/src | RaspberryPiKiosk/Controls/ImageWithFaceBorderUserControl.xaml.cs | 15,628 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data.Common;
using Microsoft.SqlTools.ServiceLayer.Connection.Co... | 36.889535 | 108 | 0.615603 | [
"MIT"
] | Bhaskers-Blu-Org2/sqltoolsservice | src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionInfo.cs | 6,345 | C# |
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using Scriban.Parsing;
namespace Scriban.Liquid2Scriban
{
class Program
... | 41.734848 | 191 | 0.475041 | [
"BSD-2-Clause"
] | Guria/scriban | src/liquid2scriban/Program.cs | 5,509 | C# |
using System;
namespace ContosoAir.Clients
{
public static class GlobalSettings
{
public const string ContosoAirEndpoint = "https://contosoairprod-api-mtczerocfa.azurewebsites.net/";
public const string AuthenticationTokenEndpoint = "https://api.cognitive.microsoft.com/sts/v1.0";
publi... | 54.707317 | 259 | 0.738297 | [
"MIT"
] | Microsoft/developer-immersion-data | source/sp-gda/gdaexpericence7/ContosoAir/src/ContosoAir.Clients/GlobalSettings.cs | 2,245 | C# |
// MIT License
//
// Copyright (c) 2009-2017 Luca Piccioni
//
// 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, cop... | 32.888889 | 81 | 0.765203 | [
"MIT"
] | GiantBlargg/OpenGL.Net | OpenGL.Net/NV/Egl.NV_stream_socket_unix.cs | 1,776 | C# |
// <auto-generated />
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NodaTime;
using Npgsql.EntityFrameworkCore.Po... | 35.557604 | 120 | 0.4479 | [
"MIT"
] | ProjectSIRA/Sorigin | Sorigin/Migrations/20211029211201_RefreshTokens.Designer.cs | 7,718 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor;
namespace HighlightPlus {
public class TransparentWithDepth {
static Material bmDepthOnly;
[MenuItem ("GameObject/Effects/Highlight Plus/Add Depth To Transparent Object", false, 1... | 31.217391 | 343 | 0.685585 | [
"Apache-2.0"
] | ArtemkaKun/4exp-gamejam | Assets/External/HighlightPlus/Editor/TransparentWithDepth.cs | 2,872 | C# |
using System;
using System.Collections.Generic;
using CleanThatCode.Community.Models.Entities;
using System.Globalization;
namespace CleanThatCode.Community.Tests.Mocks
{
public static class FakeData
{
public static IEnumerable<Post> Posts
{
get
{
return ... | 42.585366 | 167 | 0.428694 | [
"MIT"
] | eggertmar1/T-514-VEFT | Class_2/template 2/CleanThatCode.Community.Tests/Mocks/FakeData.cs | 3,492 | C# |
using GitVersion.Common;
using GitVersion.Configuration;
using GitVersion.Extensions;
using GitVersion.Model.Configuration;
namespace GitVersion.VersionCalculation;
/// <summary>
/// Active only when the branch is marked as IsDevelop.
/// Two different algorithms (results are merged):
/// <para>
/// Using <see cref="... | 39.848485 | 122 | 0.68289 | [
"MIT"
] | velkovb/GitVersion | src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/TrackReleaseBranchesVersionStrategy.cs | 3,945 | C# |
#region usings
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
#endregion
namespace ServerManager.BackgroundService
{
public abstract class BackgroundService : IHostedService
{
private readonly CancellationTokenSource _stoppingCts =
new CancellationTokenSource();
... | 22.757143 | 77 | 0.719397 | [
"BSD-3-Clause"
] | L3tum/ServerManager | ServerManager/BackgroundService/BackgroundService.cs | 1,595 | C# |
using System;
namespace TDD.PokerHandsChecker.IsFourOfAKind.PokerDemo
{
public class PokerHandsChecker : IPokerHandsChecker
{
public bool IsValidHand(IHand hand)
{
throw new NotImplementedException();
}
public bool IsStraightFlush(IHand hand)
{
... | 26.47619 | 66 | 0.503147 | [
"MIT"
] | zdzdz/High-Quality-Code-HW | 12. Test-Driven-Development-HW/TDD.PokerHandsChecker.IsFourOfAKind/PokerDemo/PokerHandsChecker.cs | 2,226 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Lex")]
[assembly: AssemblyDescripti... | 46.3125 | 214 | 0.751012 | [
"Apache-2.0"
] | gbent/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/Lex/Properties/AssemblyInfo.cs | 1,482 | C# |
using System;
using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
namespace SharePointPnP.PowerShell.Commands.Provider
{
internal class SPODriveInfo : PSDriveInfo
{
public Web Web { get; set; }
internal int ItemTimeout { get; set; }
i... | 31.727273 | 68 | 0.669054 | [
"MIT"
] | andreashebeisen/PnP-PowerShell | Commands/Provider/SPODriveInfo.cs | 698 | C# |
using System;
using Windows.UI.Notifications;
using JetBrains.Annotations;
namespace WebsitePoller.Workflow
{
public sealed class ToastNotifierWrapper : IToastNotifier
{
public ToastNotifierWrapper([NotNull]ToastNotifier toastNotifier)
{
ToastNotifier = toastNotifier ?? throw new Ar... | 29.434783 | 100 | 0.6839 | [
"MIT"
] | MovGP0/WebsitePoller | WebsitePoller/Workflow/ToastNotifierWrapper.cs | 677 | C# |
namespace Algorithms.Test
{
using System;
using System.Linq;
internal class AssertionsTest
{
static void Main()
{
int[] arr = new int[] { 3, -1, 15, 4, 17, 2, 33, 0 };
Console.WriteLine("arr = [{0}]", string.Join(", ", arr));
SortingAlgorithms.Select... | 40.888889 | 93 | 0.613225 | [
"MIT"
] | NinoSimeonov/Telerik-Academy | Programming with C#/4. C# High-Quality Code/08. Defensive Programming, Assertions and Exceptions/01. Assertions/AssertionsTest.cs | 1,106 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using xTile;
using xTile.ObjectModel;
using xTile.Tiles;
using xTile.Layers;
using StardewValley;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
namespace FarmHouseRedone.Maps
{
public stat... | 48.915315 | 259 | 0.502357 | [
"MIT"
] | mjSurber/FarmHouseRedone-2 | FarmHouseRedone/Maps/MapUtilities.cs | 27,150 | C# |
//
// ecore.cs: Core of the Expression representation for the intermediate tree.
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
// Marek Safar (marek.safar@gmail.com)
//
// Copyright 2001, 2002, 2003 Ximian, Inc.
// Copyright 2003-2008 Novell, Inc.
// Copyright 2011-2012 Xamarin Inc.
//
//
using System;
usin... | 29.05478 | 224 | 0.677371 | [
"Apache-2.0"
] | RiJo/mono | mcs/mcs/ecore.cs | 216,400 | C# |
#if !NETSTANDARD13
/*
* 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
... | 40.681319 | 178 | 0.683955 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/TranscribeService/Generated/Model/_bcl45+netstandard/ListMedicalTranscriptionJobsPaginator.cs | 3,702 | C# |
using System;
using System.IO;
namespace demojson
{
public static class FileReader
{
public static string ReadTextFromDataFile(string fullPathToFile) {
using (var fi = File.OpenText(fullPathToFile))
{
return fi.ReadToEnd();
}
}
public... | 23.1 | 84 | 0.601732 | [
"MIT"
] | kritsadadechawantana/code-basic | src/demojson/FileReader.cs | 462 | C# |
namespace Primeiro_Projeto_Winforms
{
partial class FrmPrincipal
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados... | 41.767857 | 152 | 0.553655 | [
"MIT"
] | traue/2022-1-quarta_manha | Primeiro Projeto Winforms/Primeiro Projeto Winforms/FrmPrincipal.Designer.cs | 4,692 | C# |
namespace FreeRiders.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using FreeRiders.Data.Common.Models;
public class Album : DeletableEntity
{
private ICollection<Review> reviews;
private ICollection<Picture> pictures;
public Albu... | 24.2 | 59 | 0.563891 | [
"MIT"
] | yasenm/Freeriders | FreeRiders.Models/Album.cs | 1,575 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.758621 | 153 | 0.591781 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IWorkbookTableDataBodyRangeRequestBuilder.cs | 1,095 | C# |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Tests.Framework.EndpointTests;... | 39.181818 | 85 | 0.75522 | [
"Apache-2.0"
] | magaum/elasticsearch-net | tests/Tests/XPack/MachineLearning/PutJob/PutJobUrlTests.cs | 864 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using SpecialPlugin.AspNetCore;
using SpecialPlugin.Project.NewDapperDemo.Dtos;
using SpecialPlugin.Project.NewDapperDemo.Models;
using System;
using System.IO;... | 33.692308 | 127 | 0.66153 | [
"MIT"
] | xybii/SpecialPlugin | test/net5.0/SpecialPlugin.Project.NewDapperDemo/Module.cs | 1,778 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookSpade.Revamped.Models
{
public class Textbook
{
public int TextBookId { get; set; }
public string BookTitle { get; set; }
public string ISBN { get; set; }
public string Author { ... | 30.75 | 51 | 0.52783 | [
"MIT"
] | hw3jung/Chanel | BookSpade/BookSpade.Revamped/Models/Textbook.cs | 1,601 | C# |
namespace FakeItEasy.IntegrationTests
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Net;
using FakeItEasy.SelfInitializedFakes;
using NUnit.Framework;
[TestFixture]
public cla... | 34.009434 | 140 | 0.511512 | [
"MIT"
] | bondsbw/FakeItEasy | Source/FakeItEasy.IntegrationTests/RecordingManagerTests.cs | 3,605 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Spine.Unity.Examples {
public class SpawnFromSkeletonDataExample : MonoBehaviour {
public SkeletonDataAsset skeletonDataAsset;
[Range(0, 100)]
public int count = 20;
[SpineAnimation(dataField:"skeletonDataAsset")]
pu... | 30.674419 | 126 | 0.74602 | [
"Apache-2.0"
] | Code-Ponys/MixedUpTales-0.2.0 | Assets/Resources/Animations/spine-unity/Assets/Examples/Scripts/SpawnFromSkeletonDataExample.cs | 1,321 | C# |
using Godot;
using System;
using MakeFs;
public class MainUi : MainUiFs { }
| 11.142857 | 34 | 0.730769 | [
"Unlicense"
] | sgillespie/knight-maker | scripts/MainUi.cs | 78 | 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... | 35.26087 | 117 | 0.697904 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Sql/V20190601Preview/Outputs/PrivateEndpointConnectionPropertiesResponse.cs | 1,622 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace DeBroglie.Wfc
{
/**
* Wave is a fancy array that tracks various per-cell information.
* Most importantly, it tracks possibilities - which patterns are possible to put
* into which cells.
... | 33.086957 | 103 | 0.51336 | [
"MIT"
] | colrich/DeBroglie | DeBroglie/Wfc/Wave.cs | 6,851 | C# |
using Xunit;
using System;
public class ProteinTranslationTests
{
[Fact]
public void Methionine_rna_sequence()
{
Assert.Equal(new[] { "Methionine" }, ProteinTranslation.Proteins("AUG"));
}
[Fact()]
public void Phenylalanine_rna_sequence_1()
{
Assert.Equal(new[] { "Phenylala... | 25.973154 | 120 | 0.6323 | [
"MIT"
] | tamireinhorn/Exercism | csharp/protein-translation/ProteinTranslationTests.cs | 3,870 | C# |
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace WraithavenGames.Bones3.Editor
{
// TODO Refactor this class
public class TextureArrayGenerator : EditorWindow
{
[MenuItem("Assets/Create/Texture Array from Textures")]
protected static void Init()
{
... | 32.20155 | 100 | 0.543693 | [
"MIT"
] | MartinRood/Bones3 | Assets/Wraithaven Games/Bones3 Rebuilt/Editor/Scripts/Texturing/TextureArrayGenerator.cs | 8,308 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Projeto.Presentation.Mvc.Models;
using Projeto.Repository.Entities;
using Projeto.Repository.Repositories;
namespace Projeto.Presentation.Mvc... | 35.815 | 178 | 0.557448 | [
"MIT"
] | luizafortes/treinamento-csharp | ProjetoMVC01/Projeto.Presentation.Mvc/Controllers/DependenteController.cs | 7,197 | C# |
namespace AcademyGeometry
{
public interface IFlat
{
Vector3D GetNormal();
}
} | 14 | 29 | 0.622449 | [
"MIT"
] | NinoSimeonov/Telerik-Academy | Programming with C#/0. Exams/Telerik 2012-2013 - OOP Exam/C# OOP 2013 - Sample Exam/Solutions/02. Academy Geometry API/IFlat.cs | 98 | C# |
// /////////////////////////////////////////////////////////////////////////////
//
// File: DiffImplementation.cs
//
// Copyright (c) 2021 SEA Vision srl
// This File is a property of SEA Vision srl
// Any use or duplication of this file or part of it,
// is strictly prohibited without a writte... | 42.830671 | 120 | 0.533045 | [
"MIT"
] | alberto-chiesa/jsondiffpatch.net | Src/JsonDiffPatchDotNet/Internals/DiffAlgorithm.cs | 13,406 | C# |
namespace Decorator
{
using System;
/// <summary>
/// The 'ConcreteComponent' class
/// </summary>
internal class Video : LibraryItem
{
private readonly string director;
private readonly string title;
private readonly int playTime;
public Video(string director,... | 28.4375 | 82 | 0.56044 | [
"MIT"
] | NinoSimeonov/Telerik-Academy | Programming with C#/3. C# Object-Oriented Programming/07. Design Patterns/Structural Patterns/Decorator/Video.cs | 912 | C# |
using System;
using System.Configuration;
namespace nl.hyperdata.music.core.Collections.Diatonic
{
public sealed class Config
{
public static double TwelfthRootOfTwo => Math.Pow(2, 1.00 / 12.00);
public static readonly string[] KeyNames = new string[] { "A", "A#,Bb", "B", "C", "C#,Db", "D", "D... | 45 | 147 | 0.651852 | [
"MIT"
] | casparkleijne/nl.hyperdata.music | nl.hyperdata.music.core/Collections/Diatonic/Config.cs | 677 | 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("Ut... | 37.486486 | 84 | 0.743331 | [
"MIT"
] | UltraSabreman/Free_Sharp_Player | Utility/Properties/AssemblyInfo.cs | 1,390 | C# |
namespace RustBotCSharp.Math
{
public class Geometry
{
public static bool QuaternionToEuler(double qx, double qy, double qz, double qw, out double heading, out double attitude, out double bank)
{
double sqw = qw * qw;
double sqx = qx * qx;
double sqy = qy * q... | 35.477273 | 146 | 0.485586 | [
"BSD-3-Clause"
] | carlosmccosta/RustBotCSharp | RustBotCSharp.Math/Geometry.cs | 1,563 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Excercise01_6
{
internal class Program
{
private static void Main(string[] args)
{
/* this is answer use list is fucking noob here
if (input.ToLower() == "ok")
... | 27.72093 | 112 | 0.479866 | [
"MIT"
] | Arnonthawajjana/MoshTrainingCSharp | Excercise01_6/Program.cs | 1,194 | C# |
using System.Collections.Generic;
using NUnit.Framework;
namespace Json.Path.Tests
{
public class OtherParsingTests
{
public static IEnumerable<TestCaseData> SuccessCases =>
new[]
{
new TestCaseData("$.baz")
};
[TestCaseSource(nameof(SuccessCases))]
public void ParseSingleProperty(string path)
... | 17 | 57 | 0.711485 | [
"MIT"
] | JMPSequeira/json-everything | JsonPath.Tests/OtherParsingTests.cs | 359 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace PowerApps.Samples.Metadata
{
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class AttributeRequiredLevelManagedProperty
{
public AttributeRequiredLevelManagedProperty(AttributeRequiredLevel value)
{
... | 29.842105 | 96 | 0.712522 | [
"MIT"
] | Antrodfr/PowerApps-Samples | cds/webapi/C#/MetadataOperations/MetadataTypes/AttributeRequiredLevelManagedProperty.cs | 569 | C# |
#pragma checksum "..\..\..\Pushups\PushupsSettingsPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F6473F30CFA5795A09B4B1373F70025592CA093F76A2ABD8457E50D428BF82F5"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ... | 39.607143 | 169 | 0.633303 | [
"MIT"
] | dLeczycki/FatBurn-Workout | Workout/obj/Debug/Pushups/PushupsSettingsPage.g.cs | 6,656 | C# |
using SqlServerAnalyzerCommon.Interfaces;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SqlServerAnalyzerCommon.Implementation
{
public abstract class SqlServerBase : ISqlServer
{
public abstract Task<IList<ISqlDatabase>> GetDatabasesAsync();
}
}
| 24.75 | 70 | 0.781145 | [
"MIT"
] | kennedylabs/sql-server-analyzer | SqlServerAnalyzer/SqlServerAnalyzerCommon/Implementation/SqlServerBase.cs | 299 | C# |
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayDataBillDownloadurlGetResponse.
/// </summary>
public class AlipayDataBillDownloadurlGetResponse : AopResponse
{
/// <summary>
/// 账单下载地址链接,获取连接后30秒后未下载,链接地址失效。
/// </summary>
[JsonProperty("bill_download_url")]... | 23.1875 | 64 | 0.706199 | [
"MIT"
] | ArcherTrister/LeXun.Alipay.AopSdk | src/Alipay.AopSdk.Core/Response/AlipayDataBillDownloadurlGetResponse.cs | 425 | C# |
// $Id$
//
// 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"... | 27.393701 | 85 | 0.576028 | [
"ECL-2.0",
"Apache-2.0"
] | apache/etch | examples/perf/src/test/csharp/etch.examples.perf/TestPerfServer.cs | 3,479 | C# |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... | 24.009091 | 127 | 0.56418 | [
"MIT"
] | zxsean/DCET | Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapPathfindingRVOMovementPlaneWrapWrap.cs | 2,643 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager.AppC... | 57.781145 | 322 | 0.634185 | [
"MIT"
] | greck2908/azure-sdk-for-net | sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ConfigurationStoresRestOperations.cs | 68,644 | C# |
using System.IO;
namespace Wikipedia_XML_Generator.Utils.XmlDTDValidator
{
public interface IValidator
{
public bool Validate(string s);
public bool Validate(Stream s);
}
}
| 17.916667 | 56 | 0.651163 | [
"MIT"
] | PavelSarlov/Wikipedia-XML-Generator | Wikipedia-XML-Generator/Utils/XmlDTDValidator/IValidator.cs | 217 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 32.288462 | 177 | 0.664681 | [
"MIT"
] | AikoBB/azure-sdk-for-net | sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/MaterializedViewsBuilderServiceResource.cs | 1,679 | C# |
using System.Collections.ObjectModel;
namespace AdventureWorks.WebAPI.Areas.HelpPage.ModelDescriptions
{
public class ComplexTypeModelDescription : ModelDescription
{
public ComplexTypeModelDescription()
{
Properties = new Collection<ParameterDescription>();
}
publi... | 28.214286 | 80 | 0.711392 | [
"MIT"
] | amelmusic/REST-Framework-AdventureWorks | AdventureWorks/AdventureWorks.WebAPI/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs | 395 | C# |
using System.Xml;
namespace Discovery.Library.Extensions
{
public static class XMLExtensions
{
public static XmlElement AppendElement(this XmlDocument xmlDocument, string name, string value = null, XmlElement parent = null)
{
var element = xmlDocument.CreateElement(name);
if (value != null) element.InnerTe... | 28.512821 | 130 | 0.725719 | [
"MIT"
] | poostwoud/discovery | src/Discovery/Discovery.Library/Extensions/XMLExtensions.cs | 1,112 | C# |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.I... | 31.12766 | 183 | 0.62201 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/elastic-cloud-eck/dotnet/Kubernetes/Crds/Operators/ElasticCloudEck/Kibana/V1/Inputs/KibanaStatusArgs.cs | 1,463 | C# |
#pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DD8C17479E58C557C6F3AB36FCB52319"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// C... | 40.269939 | 188 | 0.585733 | [
"MIT"
] | Thanknandwilson/FMM2 | FMM2/obj/x86/Debug/MainWindow.g.i.cs | 52,514 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3EqualNumbers
{
class Program
{
static void Main(string[] args)
{
var num1 = double.Parse(Console.ReadLine());
var num2 = double.Parse(Console.... | 22.62963 | 56 | 0.510638 | [
"MIT"
] | Plotso/SoftUni | Programming Basics/SimpleConditionsHomeEdition/3EqualNumbers/3EqualNumbers.cs | 613 | C# |
using System.Collections.Generic;
namespace GenericEvolutionaryFramework
{
interface ISelector
{
IPopulationMember SelectMembersFromPopulation(List<IPopulationMember> population);
List<IPopulationMember> SelectMembersFromPopulation(List<IPopulationMember> population, int number);
void ... | 29.846154 | 108 | 0.75 | [
"MIT"
] | OliverBathurst/GenericEvolutionaryFramework | GenericEvolutionaryFramework/Interfaces/ISelector.cs | 390 | C# |
/*
* WebAPI - Area Management
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: management
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.T... | 45.607143 | 1,089 | 0.589228 | [
"Apache-2.0"
] | zanardini/ARXivarNext-WebApi | ARXivarNext-ConsumingWebApi/IO.Swagger.Management/Model/AdditionalFieldManagementMultivalueDTO.cs | 11,499 | C# |
// <auto-generated />
using System;
using AngularProject.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversio... | 33.703502 | 125 | 0.462029 | [
"MIT"
] | macupryk/AngularTemplate | src/AngularProject.EntityFrameworkCore/Migrations/20190703062215_Upgraded_To_Abp_4_7_0.Designer.cs | 43,311 | C# |
//--------------------------------------------------
// <copyright file="WebServiceUnitTestSteps.cs" company="Magenic">
// Copyright 2021 Magenic, All rights Reserved
// </copyright>
// <summary>TestSteps class that inherits from BaseWebServiceTestSteps</summary>
//--------------------------------------------------
u... | 39.282609 | 235 | 0.636967 | [
"MIT"
] | CoryJHolland/MAQS | Framework/SpecFlowExtensionNUnitTests/Steps/WebServiceUnitTestSteps.cs | 3,616 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
//对象的移动路径信息
class ObjWaysData : IBinaryReader
{
public int pos_idx;
public float[] pos_arr;
public int[] trype_arr;
//public ObjSpeedData speed;
public void ReadBinary()
{ }
}
public cla... | 17.1 | 60 | 0.662768 | [
"MIT"
] | bailang00/UFM | Assets/GamePlugins/core/obj/data/ObjWaysData.cs | 1,102 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentInfoSystem
{
public class StudentData
{
static private List<Student> _testStudent;
static public List<Student> TestStudent
{
get { PopulateTe... | 33.936508 | 60 | 0.538354 | [
"MIT"
] | GeorgeSergiev/Kursova-PS | FirstEx_36_GK/StudentInfoSystem/StudentData.cs | 2,140 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.