content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Diagnostics;
namespace System.Globalization
{
/// <remarks>
/// Rules for the... | 42.481888 | 148 | 0.503036 | [
"MIT"
] | MattKotsenas/corefx | src/Common/src/CoreLib/System/Globalization/HebrewCalendar.cs | 38,701 | C# |
// This file is part of Companion Cube project
//
// Copyright 2018 Emzi0767
//
// 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
//
// Un... | 34.125541 | 125 | 0.593302 | [
"Apache-2.0"
] | ProfDoof/Discord-Companion-Cube-Bot | Emzi0767.CompanionCube/Data/CompanionCubeConfig.cs | 7,883 | C# |
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace UWPTestLibrary
{
public abstract class BindableBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected void SetProperty<T>(ref T storage, T value, [CallerMemberName]string... | 26.4 | 107 | 0.604798 | [
"MIT"
] | hhy37/AdaptiveCards | source/uwp/UWPTestLibrary/BindableBase.cs | 794 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("_2629")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assembly... | 28.837838 | 57 | 0.741331 | [
"MIT"
] | yu3mars/procon | aoj/2600s/2629/Properties/AssemblyInfo.cs | 1,636 | C# |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Linq;
using Microsoft.DotNet.Interactive.ExtensionLab;
using Microsoft.DotNet.Interactive.Formatting;
namespace System.Collections... | 34.489796 | 159 | 0.630769 | [
"MIT"
] | WhiteBlackGoose/interactive | src/Microsoft.DotNet.Interactive.ExtensionLab/System.Collections.Generic/EnumerableExtensions.cs | 1,692 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.ServiceProcess;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft... | 31.892523 | 105 | 0.429304 | [
"MIT"
] | triod315/SysProgLabworks | Lab4/Lab4Server/Lab4Server/Service1.cs | 6,827 | 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... | 36.151261 | 118 | 0.615528 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CognitoIdentity/Generated/Model/UpdateIdentityPoolResponse.cs | 8,604 | C# |
//
// Copyright (c) Microsoft and contributors. 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
//
// Unle... | 32.517241 | 77 | 0.71474 | [
"MIT"
] | DalavanCloud/azure-powershell | src/ResourceManager/Common/Commands.ResourceManager.Common/Generated/SubscriptionClientExtensions.cs | 915 | C# |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Apache License, Version 2.0
// Please see http://www.apache.org/licenses/LICENSE-2.0 for details.
// All other rights reserved.
using AgFx;
using System;
using System.Linq;
using System.Xml.Linq;
namespace NWSWeather.Sample.ViewModels
{
... | 28.35625 | 115 | 0.461979 | [
"Apache-2.0"
] | l3v5y/AgFx | Samples/NWSWeather.Sample/ViewModels/ZipCodeVm.cs | 4,539 | C# |
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Linq;
using Stride.Core.Annotations;
using Stride.Core.Reflection;
usi... | 43.254545 | 214 | 0.643758 | [
"MIT"
] | Aggror/Stride | sources/editor/Stride.Core.Assets.Editor/Quantum/NodePresenters/Commands/AddPrimitiveKeyCommand.cs | 4,758 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.ComponentModel.Design;
using Microsoft.Win32;
namespace System.Windows.Forms.Compo... | 29.73913 | 71 | 0.726608 | [
"MIT"
] | Amy-Li03/winforms | src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs | 686 | C# |
/*
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2
{
/// <summary>
/// AVL tree whose nodes are linked as a linked-list in increasing order
/// </summary>
///////////////////////////////////////////////////////////////////////
/// ... | 40.975904 | 178 | 0.399515 | [
"MIT"
] | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2/HDataStruc.Tree/LinkedBST.cs | 13,606 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
namespace JekyllLibrary.Library
{
public partial class ModernWarfare
{
public class Localize : IXAssetPool
{
public override string Name => "Localize Entry"... | 35.322581 | 173 | 0.525419 | [
"MIT"
] | iAmThatMichael/Jekyll | Jekyll.Library/Game/ModernWarfare/XAssets/Localize.cs | 3,287 | C# |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Terraria;
using Terraria.ID;
namespace Starvers.PlayerBoosts.Skills
{
public class UniverseBlast : UltimateSlash
{
private string msg;
... | 28.190909 | 152 | 0.643018 | [
"MIT"
] | ArkeyDarz/Starver | PlayerBoosts/Skills/UniverseBlast.cs | 3,173 | C# |
namespace DotNetInterceptTester.My_System.Security.Cryptography.Rijndael
{
public class CreateEncryptor_System_Security_Cryptography_Rijndael
{
public static bool _CreateEncryptor_System_Security_Cryptography_Rijndael( )
{
//Parameters
//ReturnType/Value
System.Security.Cryptography.ICryptoTransform ... | 24.021277 | 127 | 0.718335 | [
"MIT"
] | SecurityInnovation/Holodeck | Test/Automation/DotNetInterceptTester/DotNetInterceptTester/System.Security.Cryptography.Rijndael.CreateEncryptor().cs | 1,129 | C# |
using System;
namespace MagiCommon.Models
{
public class ElasticFileInfo
{
public string Id { get; set; }
public string Name { get; set; }
public string MimeType { get; set; }
public string Extension { get; set; }
public long Size { get; set; }
public DateTimeOf... | 30.142857 | 56 | 0.589258 | [
"MIT"
] | magico13/MagiCloud | MagiCommon/Models/ElasticFileInfo.cs | 635 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 17.290598 | 63 | 0.62432 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-dds/Dds/Model/V20151201/DescribeBackupDBsResponse.cs | 2,023 | C# |
using System;
namespace WindsorDependencyResolver_Specification
{
class DependencyOnTypeWithGernericParams
{
public String Dependency { get; private set; }
public DependencyOnTypeWithGernericParams(String dependency)
{
Dependency = dependency;
}
}
} | 22.571429 | 68 | 0.661392 | [
"MIT"
] | openrasta/openrasta-core | src/OpenRasta.DI.Windsor.Tests.Unit/MockTypes.cs | 318 | C# |
using Commands.Security;
using Microsoft.Azure.Commands.Security.Common;
using Microsoft.Azure.Commands.SecurityCenter.Models.SqlVulnerabilityAssessment;
using System;
using System.Collections.Generic;
using System.Management.Automation;
using System.Text;
namespace Microsoft.Azure.Commands.SecurityCenter.Cmd... | 65 | 301 | 0.696923 | [
"MIT"
] | Agazoth/azure-powershell | src/Security/Security/Cmdlets/SqlVulnerabilityAssessment/AddSecuritySqlVulnerabilityAssessmentBaseline.cs | 3,843 | 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.Extensions.CommandLineUtils;
using Microsoft.Extensions.Tools.Internal;
namespace Microsoft.AspNetCore.Authentication.JwtBearer.Tools;
internal sealed class Project... | 38.666667 | 182 | 0.745298 | [
"Apache-2.0"
] | aspnet/AspNetCore | src/Tools/dotnet-user-jwts/src/Commands/ProjectCommandLineApplication.cs | 1,276 | C# |
namespace DarkstarCrm.Repository.Interfaces
{
public interface IBaseEntity
{
int Id { get; set; }
}
} | 17.428571 | 44 | 0.631148 | [
"Apache-2.0"
] | glubox/darkstar-crm | DarkstarCrm/DarkstarCrm.Repository.Interfaces/IBaseEntity.cs | 124 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReadSharp.Encodings
{
public class Encoder
{
/// <summary>
/// All available custom encodings
/// </summary>
private static Dictionary<string, string> customEncodings = new Dictionary<string, string>()
... | 28.635514 | 138 | 0.549935 | [
"MIT"
] | JTOne123/ReadSharp.Core | ReadSharp.Core/Encodings/Encoder.cs | 3,066 | 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;
namespace Microsoft.Build.Framework
{
/// <summary>
/// The argument for a property initial value set event.
/// </summary>
[Serializabl... | 34.745455 | 118 | 0.607535 | [
"MIT"
] | 3F/msbuild | src/Framework/PropertyInitialValueSetEventArgs.cs | 1,913 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
using PowerLib.System.Collections;
using PowerLib.System.IO.Streamed.Typed;
namespace PowerLib.System.Data.SqlTypes.Collections
{
[SqlUserDefinedType(Format.UserDefined, ... | 27.924051 | 142 | 0.656392 | [
"MIT"
] | vaseug/PowerLib | PowerLib.System.Data.SqlTypes/Collections/SqlBooleanCollection.cs | 6,620 | 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-generate... | 40.484848 | 183 | 0.564371 | [
"Apache-2.0"
] | BatNiy/snowflake-connector-net | Snowflake.Data/Core/ErrorMessages.Designer.cs | 6,682 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Wims.Common.Entity;
namespace ChinaTtlWifi.NewEntity
{
[Serializable]
public class TestCase : BaseEntity
{
[Description("测试例名称")]
public string Name { get; set; }
[Description("测试例编号")]
... | 24.714286 | 55 | 0.542389 | [
"Apache-2.0"
] | wardensky/wardensky-demo | csharp/ChinaTtlWifi/ChinaTtlWifi.NewEntity/TestCase.cs | 1,106 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;... | 54.517647 | 290 | 0.685801 | [
"MIT"
] | vidai-msft/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnection.cs | 9,268 | C# |
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
namespace MaterialDesignThemes.Wpf
{
[TemplateVisualState(GroupName = DirectionGroupName, Name = NoneStateName)]
[TemplateVisualState(GroupName = DirectionGroupName, Name = AscendingStateName)]
[TemplateVisualState(Gr... | 43.380282 | 199 | 0.680844 | [
"MIT"
] | Alex4me/MDSerialPortHelper | packages/MaterialDesignThemes.2.6.0/src/net45/ListSortDirectionIndicator.cs | 3,080 | C# |
namespace Dawn
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using JetBrains.Annotations;
/// <content>Provides preconditions for <see cref="System.Enum" /> arguments.</content>
public static partial class Guard
{
/// <summary>Exposes the enum precondi... | 46.921371 | 124 | 0.532463 | [
"MIT"
] | adamecr/guard | src/Guard.Enums.Legacy.cs | 23,275 | C# |
using System.Collections;
using System.Data;
using Dapper;
using Newtonsoft.Json;
using Npgsql;
using Tools.Tools;
namespace EventStoreBasics;
public class EventStore: IDisposable, IEventStore
{
private readonly NpgsqlConnection databaseConnection;
private readonly IList<ISnapshot> snapshots = new List<ISnap... | 35.087379 | 180 | 0.526425 | [
"MIT"
] | MaciejWolf/EventSourcing.NetCore | Workshops/BuildYourOwnEventStore/08-Snapshots/EventStore.cs | 7,228 | C# |
namespace Steamworks
{
/// Store an IP and port. IPv6 is always used; IPv4 is represented using
/// "IPv4-mapped" addresses: IPv4 aa.bb.cc.dd => IPv6 ::ffff:aabb:ccdd
/// (RFC 4291 section 2.5.5.2.)
[System.Serializable]
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct SteamNetworkingIPAddr : System... | 39.636364 | 142 | 0.74159 | [
"MIT"
] | LambdaCmplx/Steamworks.NET | CodeGen/templates/custom_types/SteamNetworkingTypes/SteamNetworkingIPAddr.cs | 3,924 | C# |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
public static class SaveDataHandler {
static string settingsPath = Application.persistentDataPath + "/settings.rpg";
public static void SaveSettings() {
BinaryForma... | 26.2 | 79 | 0.777535 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | RyanAnayaMc/rpg-game | Assets/Scripts/MainMenu/SaveDataHandler.cs | 917 | C# |
using SYMB2C.Foundation.DependencyInjection;
namespace SYMB2C.Foundation.Settings.Services
{
[Service(typeof(IReCaptchaSettings))]
public class ReCaptchaSettings : BaseSettings, IReCaptchaSettings
{
public ReCaptchaSettings(ISettingsProvider settingsProvider) : base(settingsProvider)
{
... | 25.458333 | 93 | 0.671031 | [
"Unlicense"
] | digitalParkour/SitecoreSYM-AzureB2C | src/Foundation/Settings/website/Services/ReCaptchaSettings.cs | 611 | C# |
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace DCSoft.Writer.Dom
{
/// <summary>PageImageInfoList 的COM接口</summary>
[Guid("26CA71E1-18BD-4532-A9BD-A1111A93F003")]
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Brows... | 18.763158 | 50 | 0.698457 | [
"MIT"
] | h1213159982/HDF | Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoft.Writer.Dom/IPageImageInfoList.cs | 735 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MitapV1._0.Core
{
class Student
{
}
}
| 11.727273 | 33 | 0.689922 | [
"MIT"
] | bircan39/Est--Mimarl-kPlatformu | MitapV1.0.Core/Models/Student.cs | 131 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3521
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | 34.612903 | 150 | 0.582479 | [
"MIT"
] | DanielWJudge/ActiGraphWorkflowApp | OokiiDialogs/src/Ookii.Dialogs.Sample/Properties/Settings.Designer.cs | 1,075 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharePointPnP.Modernization.Framework.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharePointPnP.Modernization.Framework.Cache;
using SharePointPnP.Modernization.Framework.P... | 51.849421 | 625 | 0.645022 | [
"MIT"
] | Chipzter/sp-dev-modernization | Tools/SharePoint.Modernization/SharePointPnP.Modernization.Framework.Tests/Transform/Mapping/UrlMappingTests.cs | 13,431 | C# |
// Copyright (c) 2021 EPAM Systems
//
// 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 ... | 33.078947 | 122 | 0.747812 | [
"Apache-2.0"
] | epam/fix-antenna-net-core | Tests/Dictionary.Tests/Dictionary/DictionaryLoadingTests.cs | 2,516 | C# |
using MinecraftMappings.Internal;
using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Java.Textures.Block
{
public class IronDoorTop : JavaBlockTexture
{
public IronDoorTop() : base("Iron Door Top")
{
BlendMode = BlendModes.Cutout;
Ad... | 29.944444 | 106 | 0.671614 | [
"MIT"
] | null511/MinecraftMappings.NET | MinecraftMappings.NET/Minecraft/Java/Textures/Block/IronDoorTop.cs | 541 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 16.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 26.043796 | 136 | 0.527466 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete/Double/NullableInt32/TestSet_504__param__02__VN.cs | 3,570 | C# |
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BizHawk.Client.Common;
using BizHawk.Common;
using BizHawk.Emulation.Common;
namespace BizHawk.Client.EmuHawk
{
... | 25.403875 | 179 | 0.637393 | [
"MIT"
] | m35/BizHawk | BizHawk.Client.EmuHawk/movie/PlayMovie.cs | 17,048 | C# |
using Approve.RuleCenter;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class audit_XM_xmDetailFrameset : System.Web.UI.Page
{
private RCenter rc = new RCenter();
protected void Page_... | 48.090909 | 117 | 0.52849 | [
"MIT"
] | coojee2012/pm3 | SurveyDesign/audit/XM/xmDetailFrameset.aspx.cs | 3,911 | C# |
using Invoices.Repositories;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace Invoices.Commands.Handlers
{
public class RemoveInvoiceHandler : IRequestHandler<RemoveInvoiceCommand, RemoveInvoiceCommandResponse>
{
private readonly IInvoiceRepository _invoiceRepository;
... | 31.148148 | 123 | 0.70868 | [
"MIT"
] | kubagdynia/MediatR.NetCore.TestSystem | MediatRTestSystem/Invoices/Commands/Handlers/RemoveInvoiceHandler.cs | 843 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file... | 35.970149 | 134 | 0.58444 | [
"Apache-2.0"
] | dotnetframeworknewbie/YAFNET | yafsrc/YetAnotherForum.NET/Pages/Admin/NntpForums.ascx.cs | 4,688 | C# |
namespace Renderer.Controls.Base
{
public interface IUpdatable
{
void Update(GameState.GameState state);
}
} | 18.285714 | 47 | 0.679688 | [
"MIT"
] | michal-franc/EmptySpace | src/Renderer/Controls/Base/IUpdatable.cs | 128 | C# |
namespace DotNetty.Codecs.Tests
{
using DotNetty.Buffers;
using DotNetty.Transport.Channels.Embedded;
using Xunit;
public class LengthFieldBasedFrameDecoderTest
{
[Fact]
public void DiscardTooLongFrame1()
{
var buf = Unpooled.Buffer();
buf.WriteInt(3... | 31.9375 | 104 | 0.53865 | [
"MIT"
] | cuteant/SpanNetty | test/DotNetty.Codecs.Tests/LengthFieldBasedFrameDecoderTest.cs | 2,046 | 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,
/... | 27.048851 | 206 | 0.465314 | [
"Apache-2.0"
] | Leonardo-YXH/tools | mesh_grid/WpfApplication/lib/Source/Src/Newtonsoft.Json/Utilities/CollectionWrapper.cs | 9,415 | C# |
using System;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows.Documents;
namespace Urania.Desktop {
public class WireParameters : INotifyPropertyChanged, IDataErrorInfo {
private decimal? _wd;
private decimal? _od;
private decimal... | 28.488095 | 83 | 0.51776 | [
"MIT"
] | MossPiglets/Urania | Urania/Urania.Desktop/WireParameters.cs | 2,395 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using BasicApi.Models;
using Mic... | 34.432624 | 112 | 0.571988 | [
"Apache-2.0"
] | dnelly/Performance | testapp/BasicApi/Startup.cs | 4,863 | C# |
using System.Collections.Generic;
using System.Xml.Serialization;
#region dynamo
using Autodesk.DesignScript.Runtime;
#endregion
namespace FemDesign.Loads
{
[IsVisibleInDynamoLibrary(false)]
public partial class LoadCombination: EntityBase
{
#region dynamo
/// <summary>Create LoadCombinati... | 50 | 212 | 0.719333 | [
"MIT"
] | AmalieRask131/femdesign-api | FemDesign.Dynamo/Dynamo/Loads/LoadCombination.cs | 1,500 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyStik.TimeTable.Data
{
public class ContentChannel
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public ... | 22.16129 | 61 | 0.663755 | [
"MIT"
] | AccelerateX-org/NINE | Sources/TimeTable/MyStik.TimeTable.Data/ContentChannel.cs | 689 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawn : MonoBehaviour {
[SerializeField]
private GameObject[] spicyObjects;
void Start ()
{
spawnRandom();
}
public void spawnRandom()
{
int index = Random.Range(0, spicyObjects.Length)... | 19.666667 | 82 | 0.680387 | [
"MIT"
] | Avodhel/Unity_Learn_Projects | Tetris/Assets/Scripts/Spawn.cs | 415 | C# |
/*
* Copyright 2018 Mikhail Shiryaev
*
* 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 a... | 29.329032 | 90 | 0.526617 | [
"Apache-2.0"
] | Arvid-new/scada | ScadaComm/ScadaComm/ScadaCommCtrl/FrmAbout.cs | 4,952 | C# |
/** Samples.AssetLib.AssetImporter
*/
namespace Samples.AssetLib.AssetImporter
{
/** MenuItem
*/
#if(UNITY_EDITOR)
public class MenuItem
{
/** GetAssetImporterWithAssetsPath
*/
[UnityEditor.MenuItem("サンプル/BlueBack.AssetLib/AssetImporter/GetAssetImporterWithAssetsPath")]
private static void MenuItem_GetAs... | 28.470588 | 168 | 0.778926 | [
"MIT"
] | bluebackblue/AssetLib | BlueBackAssetLib/Assets/Samples/BlueBack.AssetLib/000/AssetImporter/Editor/MenuItem.cs | 986 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace SkeletonWpfApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... | 18.222222 | 42 | 0.707317 | [
"MIT"
] | massimobonanni/ProjectPragueSamples | SkeletonWpfApp/App.xaml.cs | 330 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
//using MalbersAnimations.Animals;
namespace MalbersAnimations.Controller
{
[CustomPropertyDrawer(typeof(JumpProfile))]
public class JumpProfileDrawer : PropertyDrawer
{
public override void OnGUI(Rec... | 39.646259 | 236 | 0.601064 | [
"MIT"
] | Philipp-sama123/AnimalsParadise | Game/Assets/Malbers Animations/Common/Scripts/Editor/Animal/JumpProfileDrawer.cs | 5,830 | C# |
// 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.ObjectModel;
using ILCompiler.DependencyAnalysisFramework;
using Internal.TypeSystem;
using Debug = System.... | 37.053571 | 117 | 0.726747 | [
"MIT"
] | Dotnet-GitSync-Bot/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ExternSymbolsWithIndirectionImportedNodeProvider.cs | 2,077 | C# |
namespace LiveSplit.View
{
partial class SettingsDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 61.464146 | 178 | 0.647943 | [
"MIT"
] | ROMaster2/LiveSpl | LiveSplit/LiveSplit.View/View/SettingsDialog.Designer.cs | 47,145 | C# |
// Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using Paymetheus.Decred;
using Paymetheus.Decred.Util;
using Paymetheus.Decred.Wallet;
using Paymetheus.Framework;
using Paymetheus.Rpc;
using System;
using System.Collect... | 42.597911 | 157 | 0.581796 | [
"ISC"
] | decred/Paymetheus | Paymetheus/ViewModels/SynchronizerViewModel.cs | 16,317 | C# |
using System;
using Xunit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PalindromeDetector.ConsoleApp;
namespace UnitTestPalindrome
{
public class UnitTest1
{
[Fact]
private int Ispalindrome()
{
Assert(Ispalindrome(string1, or, string2);
Assert(Ispa... | 23.948718 | 70 | 0.59636 | [
"MIT"
] | 2002-feb24-net/brendan-code | UnitTestPalindrome/UnitTest1.cs | 934 | C# |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.PythonBinding;
using ICSharpCode.SharpDevelop.Dom;
using NUnit.Framework;
namespace PythonBin... | 25.953125 | 103 | 0.718844 | [
"MIT"
] | Plankankul/SharpDevelop-w-Framework | src/AddIns/BackendBindings/Python/PythonBinding/Test/Expressions/FindSystemConsoleExpressionTestFixture.cs | 3,324 | 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
namespace Nest
{
public class DeleteRepositoryResponse : AcknowledgedResponseBase { }
}
| 32.777778 | 76 | 0.783051 | [
"Apache-2.0"
] | Atharvpatel21/elasticsearch-net | src/Nest/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryResponse.cs | 295 | C# |
using Volo.Abp.DependencyInjection;
namespace AElf
{
public class DividendSmartContractAddressNameProvider : ISmartContractAddressNameProvider, ISingletonDependency
{
public static readonly Hash Name = Hash.FromString("AElf.ContractNames.Dividend");
public Hash ContractName => Name;
}
} | 31.6 | 115 | 0.762658 | [
"MIT"
] | quangdo3112/AElf | src/AElf.Kernel/DividendSmartContractAddressNameProvider.cs | 316 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Extensions.Options;
using Cynosura.Core.Messaging;
namespace Cynosura.Messaging
{
public class MassTransitService : IMessagingService
{
private rea... | 28.666667 | 89 | 0.630233 | [
"MIT"
] | CynosuraPlatform/Cynosura | Cynosura.Messaging/MassTransitService.cs | 1,720 | 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... | 37.097561 | 220 | 0.675871 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/dell-csi-operator/dotnet/Kubernetes/Crds/Operators/DellCsiOperator/Storage/V1/Inputs/CSIPowerMaxSpecDriverCommonEnvsValueFromResourceFieldRefArgs.cs | 1,521 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Quinto Avance
namespace Almacen.BL
{
public class SolicitudAduana
{
public int Id { get; set; }
public int ClienteId { get; set; }
public Clientes Cliente ... | 27.6875 | 74 | 0.565839 | [
"MIT"
] | Jhonny96-Flores/quieropizza | ALMACEN/Almacen.BL/SolicitudAduana.cs | 1,331 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using Microsoft.CSharp.RuntimeBinder;
namespace Dapper
{
/// <summary>
/// Main class for Dapper.SimpleC... | 47.471405 | 271 | 0.567008 | [
"Apache-2.0"
] | ccrookston/Dapper.SimpleCRUD | Dapper.SimpleCRUD/SimpleCRUD.cs | 58,107 | C# |
using AutoMapper;
using Vokabular.DataEntities.Database.Entities;
using Vokabular.DataEntities.Database.Entities.Enums;
using Vokabular.MainService.DataContracts.Contracts;
using Vokabular.MainService.DataContracts.Contracts.Type;
namespace Vokabular.MainService.Core.AutoMapperProfiles
{
public class ProjectProfi... | 47.928571 | 101 | 0.618977 | [
"BSD-3-Clause"
] | RIDICS/ITJakub | UJCSystem/Vokabular.MainService.Core/AutoMapperProfiles/ProjectProfile.cs | 2,015 | C# |
namespace MassTransit
{
using System;
using EndpointConfigurators;
public interface IReceiveConnector<out TEndpointConfigurator> :
IReceiveConnector
where TEndpointConfigurator : IReceiveEndpointConfigurator
{
/// <summary>
/// Adds a receive endpoint
/// </summ... | 42.773585 | 134 | 0.684164 | [
"ECL-2.0",
"Apache-2.0"
] | Aerodynamite/MassTrans | src/MassTransit/Configuration/IReceiveConnector.cs | 2,267 | C# |
using UnityEngine;
using System.Collections;
public interface IGUI {
void OnGUI();
} | 14.5 | 25 | 0.758621 | [
"MIT"
] | Lidapow/PowIoC | Assets/Example/IGUI.cs | 87 | C# |
// Copyright (c) 2012, Michael Kunz. All rights reserved.
// http://kunzmi.github.io/managedCuda
//
// This file is part of ManagedCuda.
//
// ManagedCuda is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundat... | 47.327742 | 198 | 0.719921 | [
"MIT"
] | SciSharp/SiaNet | Library/ManagedCuda/NPP/NPPImage_32scC4.cs | 36,681 | C# |
using System;
using UnityEngine;
namespace DialogSystem.Scripts
{
public class InteractableFlag : MonoBehaviour
{
private Transform mainCamera;
public GameObject characterGameObject;
public void SetInteractable(bool value)
{
gameObject.SetActive(value);
}
... | 23 | 102 | 0.575712 | [
"Unlicense"
] | LaudateCorpus1/distributed-architecture-of-moba-game-server | PurificationPioneer/Assets/3rd/DialogSystem/Scripts/InteractableFlag.cs | 669 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... | 25.615385 | 80 | 0.486915 | [
"Unlicense"
] | hetkpatel/Video-Game-Design | DeathBlossom/DeathBlossom/DeathBlossom/Gunstar.cs | 2,333 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.AI.MetricsAdvisor.Models
{
internal partial class MongoDBDataFeed : IUt... | 42.855556 | 871 | 0.499456 | [
"MIT"
] | KalyanChanumolu-MSFT/azure-sdk-for-net | sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/Models/MongoDBDataFeed.Serialization.cs | 19,285 | 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... | 30.234694 | 118 | 0.618967 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/MigrationHubStrategyRecommendations/Generated/Model/TransformationTool.cs | 2,963 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Threading;
using Feedbook.Services;
using Feedbook.Helper;
namespace Feedbook.Sync
{
public class FeedSynchronizer : ISynchronizer
{
private DispatcherTimer feedSynchronizer = new Dis... | 27.782609 | 86 | 0.529995 | [
"BSD-2-Clause"
] | mysteryjeans/Feedbook | Feedbook/Sync/FeedSynchronizer.cs | 1,919 | C# |
using System;
namespace StreamPerfConsole
{
static class Program
{
static void Main(string[] args)
{
bool continu = true;
while (continu)
{
Console.WriteLine("Choose your test:");
Console.WriteLine(" -> perf test pres... | 27.657143 | 64 | 0.375 | [
"MIT"
] | GaelOn/Stream | StreamPerfConsole/Program.cs | 970 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.SciKit.Ensemble.HistGradientBoosting
{
class LeastAbsoluteDeviation
{
}
}
| 15.545455 | 52 | 0.760234 | [
"Apache-2.0"
] | SciSharp/MxNet.Sharp | src/MxNet.Scikit/Ensemble/HistGradientBoosting/LeastAbsoluteDeviation.cs | 173 | C# |
// ****************************************************************
// Copyright 2010, Charlie Poole, Rob Prouse
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
nam... | 44.728571 | 118 | 0.586394 | [
"MIT"
] | Acidburn0zzz/nunit | src/NUnitFramework/tests/Constraints/ToStringTests.cs | 3,133 | C# |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Bb.Galileo.Files.Datas
{
public class Entities<T> : List<T>, IDocumentReferential
where T : ReferentialBase
{
[JsonRequired]
public string Target { get; set; }
public bool HasChangedOnLoading { get; internal se... | 17.684211 | 62 | 0.657738 | [
"MIT"
] | gaelgael5/galileo | src/ApplicationCooperationViewPoint/Black.Beard.Galileo.Tools/Referentials/Files/Datas/Entities.cs | 338 | C# |
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
#nullable disable
namespace T0001
{
public partial class DatecodeStockCurrentDetail
{
public string Ids { get; set; }
public string Id { g... | 31.25 | 97 | 0.6192 | [
"MIT"
] | twoutlook/BlazorServerDbContextExample | BlazorServerEFCoreSample/T0001/DatecodeStockCurrentDetail.cs | 627 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Model
{
/// <summary>
/// OnlineTimesOnDay Data Structure.
/// </summary>
[Serializable]
public class OnlineTimesOnDay
{
/// <summary>
/// 在线日期
/// </summary>
[XmlElement("... | 22.444444 | 65 | 0.577558 | [
"MIT"
] | objectyan/MyTools | OY.Solution/Model/OnlineTimesOnDay.cs | 626 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ABPProject.Migrations
{
public partial class Upgraded_To_Abp_4_7_0 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_AbpSettings_TenantId_Name... | 31.575758 | 71 | 0.577735 | [
"MIT"
] | Ryan2017-mjp/MyABPProject | aspnet-core/src/ABPProject.EntityFrameworkCore/Migrations/20190703062215_Upgraded_To_Abp_4_7_0.cs | 1,044 | C# |
using System;
namespace WhatsNewInCSharp6
{
/// <summary>
/// - Expression bodies on method-like members
/// - Expression bodies on property-like function members
/// </summary>
public class Person
{
private readonly string first;
private readonly string last;
... | 28.117647 | 93 | 0.582636 | [
"MIT"
] | Sankra/WhatsNewInCSharp6 | WhatsNewInCSharp6/ExpressionBodiedMemberExample.cs | 958 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NPay.Modules.Wallets.Infrastructure.DAL;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace NPay.Modules.Wallets.... | 35.654135 | 120 | 0.486293 | [
"MIT"
] | devmentors/NPay | src/Modules/Wallets/NPay.Modules.Wallets.Infrastructure/DAL/Migrations/WalletsDbContextModelSnapshot.cs | 4,744 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace SteamSuite
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
SteamC... | 21.9 | 68 | 0.517504 | [
"MIT"
] | Planimeter/hl2sb-src | src/open-steamworks/Projects/SteamSuite/SteamSuite/Program.cs | 659 | 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 ... | 37.529412 | 148 | 0.699843 | [
"Apache-2.0"
] | friedenberg/google-ads-dotnet | src/V9/Types/AssetTypesResourceNames.g.cs | 1,276 | C# |
using System;
using UnityEngine;
namespace E7.NotchSolution
{
[Serializable]
internal class PerEdgeValues<T>
{
[SerializeField] public T left;
[SerializeField] public T bottom;
[SerializeField] public T top;
[SerializeField] public T right;
}
} | 20.928571 | 41 | 0.65529 | [
"MIT"
] | studentutu/NotchSolution | Runtime/Base/PerEdgeValues.cs | 293 | C# |
using UnityEngine;
using System.Collections;
namespace UTJ {
[RequireComponent(typeof(MeshFilter),typeof(MeshRenderer))]
public class HahenRenderer : MonoBehaviour {
private MeshFilter mf_;
private MeshRenderer mr_;
void Start()
{
mf_ = GetComponent<MeshFilter>();
mr_ = GetComponent<MeshRenderer>();
mf_.... | 19.954545 | 59 | 0.742597 | [
"MIT"
] | Kotsuha/AnotherThread | Assets/Scripts/HahenRenderer.cs | 441 | C# |
using System.ComponentModel;
namespace Seemon.Vault.Core.Models.OpenPGP
{
public enum HashAlgorithm
{
[Description("MD5")]
MD5 = 1,
[Description("SHA-1")]
Sha1 = 2,
[Description("RIPEMD-160")]
RipeMD160 = 3,
[Description("DOUBLE-SHA")]
DoubleSha ... | 23.16129 | 42 | 0.508357 | [
"MIT"
] | mattseemon/Vault | src/Core/Models/OpenPGP/HashAlgorithm.cs | 720 | C# |
using System;
using System.Collections.Generic;
namespace SFA.DAS.AssessorService.Api.Types.CompaniesHouse
{
public class Officer
{
public string Id { get; set; }
public string Name { get; set; }
public string Role { get; set; }
public Address Address { get; set; }
publ... | 28.631579 | 76 | 0.639706 | [
"MIT"
] | SkillsFundingAgency/das-assessor-service | src/SFA.DAS.AssessorService.Api.Types/CompaniesHouse/Officer.cs | 546 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using UnityEngine;
namespace Cytus2.Models
{
public class Chart
{
public enum C1NoteType
{
Single,
Chain,
Hold
}
private readonly float baseSize;
... | 39.773333 | 116 | 0.459844 | [
"MIT"
] | imgradeone/Cytoid | Assets/Scripts/Cytus2/Models/Chart.cs | 20,883 | C# |
using System;
using System.Collections.Generic;
using VPX.Enums;
namespace VPX.ApiModels
{
public class KnowledgeQuestionModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public ControlType ControlType { get; set; }
public Guid? AnswerId { get; set; }
... | 24.125 | 63 | 0.642487 | [
"MIT"
] | VadimProkopchuk/JML | src/VPX.ApiModels/KnowledgeQuestionModel.cs | 388 | C# |
using JetBrains.Annotations;
using JsonApiDotNetCore.Resources.Annotations;
namespace JsonApiDotNetCoreTests.IntegrationTests.ResourceInheritance;
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
public sealed class FamilyHealthInsurance : HealthInsurance
{
[Attr]
public int PermittedFamilySize { get; set; }
... | 26.833333 | 70 | 0.829193 | [
"MIT"
] | damien-rousseau/JsonApiDotNetCore_Polymorphism | test/JsonApiDotNetCoreTests/IntegrationTests/ResourceInheritance/FamilyHealthInsurance.cs | 322 | C# |
namespace LMAOSoft.Inc.Forms.Tools.Game_Info
{
partial class frm_game_info_multiple
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 47.305284 | 156 | 0.590163 | [
"MIT"
] | ImSeaWorld/LMAOSoft | LMAOSoft/Inc/Forms/Tools/Game Info/frm_game_info_multiple.Designer.cs | 24,175 | C# |
using System;
namespace uri2763 // Entrada e Saída CPF
{
internal static class Program
{
private static void Main()
{
string cpf = Console.ReadLine();
Console.WriteLine(cpf.Substring(0, 3));
Console.WriteLine(cpf.Substring(4, 3));
Console.WriteLi... | 25.9375 | 52 | 0.566265 | [
"MIT"
] | filimor/uri-online-judge-c-sharp | UriOnlineJudge/Iniciante/uri2763/Program.cs | 418 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Orleans;
using Orleans.Providers.SqlServer;
using Orle... | 44.821053 | 205 | 0.725928 | [
"MIT"
] | seralexeev/orleans | test/TesterSQLUtils/SqlStatisticsPublisherTests/SqlStatisticsPublisherTestsBase.cs | 4,260 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JokeGenerator
{
class UserInputProcessor
{
public static int ProcessUserInput(string[] userAnswers, int userStep, string[] categoryOptions)
{
string randomN... | 30.891892 | 142 | 0.572616 | [
"MIT"
] | Sceviour/JokeGenerator | ConsoleApp1/UserInputProcessor.cs | 2,288 | C# |
using System.Collections.Generic;
using NUnit.Framework;
namespace TddKitCsharp
{
[TestFixture]
public class FizzbuzzTest
{
private IList<string> _elements;
[SetUp]
public void SetUp()
{
_elements = new Fizzbuzz().Elements();
}
[Test]
p... | 21.75 | 64 | 0.530504 | [
"MIT"
] | arpinum/formation-tdd-dec2015 | tdd-kit/tdd-kit-csharp/TddKitCsharp/FizzbuzzTest.cs | 1,133 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using OrchardCore.Contents.AuditTrail.Models;
namespace DFC.ServiceTaxonomy.VersionComparison.Services
{
public interface IAuditTrailQueryService
{
Task<List<AuditTrailContentEvent>> GetVersions(string contentItemId);
}
}
| 25.666667 | 77 | 0.792208 | [
"MIT"
] | SkillsFundingAgency/dfc-servicetaxonomy-editor | DFC.ServiceTaxonomy.VersionComparison/Services/IAuditTrailQueryService.cs | 310 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.