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.Threading;
using System.Threading.Tasks;
using MercadoPagoCore.Error;
using MercadoPagoCore.Http;
using MercadoPagoCore.Resource;
using MercadoPagoCore.Resource.Payment;
using MercadoPagoCore.Serialization;
namespace MercadoPagoCore.Client.Payment
{
/// <summary>
/// Client that use the Payment Re... | 41.610619 | 113 | 0.585389 | [
"MIT"
] | cantte/MercadoPagoCore | MercadoPagoCore/Client/Payment/PaymentRefundClient.cs | 9,404 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;... | 37.573477 | 167 | 0.540876 | [
"MIT"
] | Santi-lab/roslyn | src/VisualStudio/Core/Def/Implementation/Remote/RemoteHostClientServiceFactory.RemoteHostClientService.cs | 10,485 | C# |
namespace IRunes.ViewModels.Home
{
public class IndexViewModel
{
public string Username { get; set; }
}
}
| 15.875 | 44 | 0.629921 | [
"MIT"
] | TihomirIvanovIvanov/SoftUni | C#WebDevelopment/C#-Web-Basics/SISArchitecture2020/src/Apps/IRunes/ViewModels/Home/IndexViewModel.cs | 129 | C# |
// MIT License
// Copyright (c) 2020 vasvl123
// https://github.com/vasvl123/useyourmind
using System;
namespace onesharp.lib
{
class Функции : Onesharp
{
public Функции() : base("Функции") { }
public object УзелСвойство(Структура Узел, string Свойство)
{
object УзелСвойс... | 26.395349 | 101 | 0.585022 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | vasvl123/OneScriptDB | src/showdata/lib/Функции.cs | 1,573 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/xaudio2fx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropServ... | 29.85 | 145 | 0.770519 | [
"MIT"
] | JeremyKuhne/terrafx.interop.windows | sources/Interop/Windows/DirectX/um/xaudio2fx/XAUDIO2FX_VOLUMEMETER_LEVELS.cs | 599 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Tests.SqlCommandExtensionsScenarios.given_failing_execute_xml_reader_command
{
using System;
using System.Data;
u... | 33.42 | 147 | 0.652902 | [
"Apache-2.0"
] | Microsoft/transient-fault-handling-application-block | source/Tests/TransientFaultHandling.Tests/SqlCommandExtensionsScenarios/given_failing_execute_xml_reader_command.cs | 3,344 | C# |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace StackOverflowData.Models.Mapping
{
public class CommentMap : EntityTypeConfiguration<Comment>
{
public CommentMap()
{
// Primary Key
this.HasKey(t => t.Id);
... | 32.75 | 77 | 0.579198 | [
"MIT"
] | Jorriss/Demo.EFDataProfessionals | StackOverflow/StackOverflowObjects/Models/Mapping/CommentMap.cs | 1,048 | C# |
namespace Microsoft.Research.DataOnboarding.DomainModel
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
public partial class FileAttribute
{
public FileAttribute()
{
this.File = new File();
}
public int ... | 23.434783 | 56 | 0.630798 | [
"MIT"
] | CDLUC3/dataup2 | Models/DomainModel/FileAttribute.cs | 539 | C# |
using System;
using UnityEditor.Graphing;
using UnityEngine;
using Object = UnityEngine.Object;
using UnityEditor.UIElements;
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing.Slots
{
class Texture3DSlotControlView : VisualElement
{
Texture3DInputMaterialSlot m_Slot;
... | 33.257143 | 106 | 0.635739 | [
"MIT"
] | AlePPisa/GameJamPractice1 | Cellular/Library/PackageCache/com.unity.shadergraph@8.2.0/Editor/Drawing/Views/Slots/Texture3DSlotControlView.cs | 1,164 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace CsWpfCtrl
{
/// <summary>
/// App.xaml 的交互逻辑
/// </summary>
public partial class App : Application
{
}
}
| 17.055556 | 42 | 0.693811 | [
"MIT"
] | liuwake/CSharpPractice | CSharp/CsWpf/CsWpfCtrl/App.xaml.cs | 319 | C# |
using System;
using DynamicData.Tests.Domain;
using FluentAssertions;
using Microsoft.Reactive.Testing;
using Xunit;
namespace DynamicData.Tests.Cache
{
public class BatchFixture : IDisposable
{
private readonly ChangeSetAggregator<Person, string> _results;
private readonly TestScheduler _... | 26.686275 | 99 | 0.615724 | [
"MIT"
] | 1R053/DynamicData | src/DynamicData.Tests/Cache/BatchFixture.cs | 1,361 | 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.Diagnostics;
using System.Reflection;
using System.Threading.Tasks;
u... | 35.237145 | 197 | 0.518313 | [
"MIT"
] | Castaneda1914/corefx | src/System.Collections.NonGeneric/tests/ArrayListTests.cs | 104,161 | C# |
namespace Sashay.Core.OasGen.AzureFunctions.Configuration
{
public sealed class HttpSettings
{
public HttpSettings()
{
RoutePrefix = string.Empty;
}
public string RoutePrefix { get; set; }
}
}
| 19.307692 | 58 | 0.59761 | [
"MIT"
] | joargp/Sashay | src/Sashay.Core.OasGen/AzureFunctions/Configuration/HttpSettings.cs | 253 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace Calculator
{
class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... | 20.227273 | 65 | 0.653933 | [
"MIT"
] | Mmmolin/Calculator | Calculator/Program.cs | 447 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using commercetools.Sdk.Client;
using commercetools.Sdk.Domain;
using commercetools.Sdk.Domain.Predicates;
using commercetools.Sdk.Domain.Reviews;
using commercetools.Sdk.Domain.States;
using commercetools.Sdk.HttpApi.Domain.Exceptions;
using Xunit;
using ... | 40.229551 | 128 | 0.533876 | [
"Apache-2.0"
] | onepiecefreak3/commercetools-dotnet-core-sdk | commercetools.Sdk/IntegrationTests/commercetools.Sdk.IntegrationTests/Reviews/ReviewIntegrationTests.cs | 15,247 | C# |
using MVVM.Core.ViewModels;
using UniRx.Async;
namespace MVVM.Extension.Views.Common
{
public interface IView
{
void Show();
void Hide();
bool Visibility { get; set; }
UniTask InitializeAsync(ViewModelBase viewModel);
}
}
| 18.866667 | 58 | 0.60424 | [
"MIT"
] | aliagamon/MVVM.Extention | Views/Common/IView.cs | 285 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 25 | 76 | 0.715122 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Cloudsign/Apis/DeleteTemplateResult.cs | 1,077 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using CodeGeneration;
namespace ABT {
public enum StorageClass {
AUTO,
STATIC,
EXTERN,
TYPEDEF
}
public sealed class Decln : ExternDecln {
public Decln(String name, StorageClass scs, ExprType type, ... | 38.833013 | 747 | 0.46723 | [
"MIT"
] | KirillAldashkin/C-Compiler | ABT/Declarations.cs | 20,234 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ETO;
using BSO;
using DAO;
using System.Data;
namespace CMS.Client.Admin
{
public partial class editadmin : System.Web.UI.UserControl
{
protected void Page_... | 35.965398 | 119 | 0.497883 | [
"MIT"
] | khiem2/quanlyhocsinh | cms_form/Web_CMS/CMS/CMS/Client/Admin/editadmin.ascx.cs | 10,420 | C# |
// License text here
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ZigBeeNet.DAO;
using ZigBeeNet.ZCL.Protocol;
using ZigBeeNet.ZCL.Field;
using ZigBeeNet.ZCL.Clusters.Thermostat;
... | 42.036827 | 235 | 0.624335 | [
"EPL-1.0"
] | AutomationGarage/ZigbeeNet | libraries/ZigBeeNet/ZCL/Clusters/ZclThermostatCluster.cs | 59,422 | C# |
using UnityEngine;
public class GradientBackground : MonoBehaviour
{
public Color topColor;
public Color bottomColor = Color.white;
public int gradientLayer = 7;
public Shader shader;
public float time;
private float H;
private float S;
private float V;
private Mesh mesh;
Gam... | 36.218182 | 133 | 0.63755 | [
"MIT"
] | SaadAhmadSaddiqui/StackUp | Assets/N3K EN/Scripts/GradientBackground.cs | 1,994 | C# |
using System;
using System.Linq;
using System.Text;
using DBreeze;
using DBreeze.DataTypes;
using NBitcoin;
using NBitcoin.BitcoinCore;
using Xels.Bitcoin.Utilities;
using Xunit;
namespace Xels.Bitcoin.Tests.Utilities
{
/// <summary>
/// Tests of DBreeze database and <see cref="DBreezeSerializer"/> class.
... | 32.32973 | 118 | 0.562782 | [
"MIT"
] | rahhh/FullNodeUI | XelsBitcoinFullNode/src/Xels.Bitcoin.Tests/Utilities/DBreezeTest.cs | 5,983 | C# |
using RepoDb.Extensions;
using RepoDb.Reflection;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace RepoDb
{
/// <summary>
/// A class that is used to extract the multiple resultsets of the 'ExecuteQueryMultiple' operation.... | 40.616438 | 162 | 0.603485 | [
"Apache-2.0"
] | wolfbomb/RepoDB | RepoDb.Core/RepoDb/QueryMultipleExtractor.cs | 8,895 | C# |
using System.ComponentModel.DataAnnotations;
using GrabNReadApp.Web.Constants.Blog;
namespace GrabNReadApp.Web.Areas.Blog.Models.Articles
{
public class ArticleViewModel
{
[Required]
[StringLength(ArticleConstants.TitleMaxLength, ErrorMessage = "The {0} must be at least {2} and at max {1} char... | 40.411765 | 187 | 0.714702 | [
"MIT"
] | alexandrateneva/CSharp-Web-SoftUni | CSharp MVC Frameworks - ASP.NET Core/GrabNReadApp - Final Project/GrabNReadApp/GrabNReadApp.Web/Areas/Blog/Models/Articles/ArticleViewModel.cs | 689 | C# |
using System;
using dotNetty_kcp.thread;
namespace base_kcp
{
public class MessageExecutorTest:ITask
{
private static IMessageExecutor _messageExecutor;
public int i;
public static long start = KcpUntils.currentMs();
private static int index = 0;
public MessageExecut... | 21.690909 | 71 | 0.463537 | [
"Apache-2.0"
] | l42111996/csharp-kcp | dotNetty-kcp/thread/MessageExecutorTest.cs | 1,193 | C# |
using Pardis.Product.DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pardis.Product.DAL.Models
{
public interface IContent
{
int Id { get; set; }
Content Content { get; set; }
}
public partial cla... | 24.9 | 52 | 0.692771 | [
"Apache-2.0"
] | AmirCpu2/PardisCMS | Pardis.Product.DAL/Repasitory/Interfaces/IContentGeneric.cs | 500 | C# |
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Functional.Traversal
{
internal interface IAssignEmptyToOutputOperatorSubProcessor : IAssignOperatorSubProcessor
{
}
}
| 30.444444 | 113 | 0.781022 | [
"MIT"
] | vrenken/EtAlii.Ubigia | Source/Api/EtAlii.Ubigia.Api.Functional/Traversal/4. Processing/Operators/Assign/ToOutput/IAssignEmptyToOutputOperatorSubProcessor.cs | 276 | C# |
using PSDocs.Data.Internal;
using PSDocs.Runtime;
using System.Management.Automation;
namespace PSDocs.Commands
{
internal static class LanguageKeywords
{
public const string Definition = "Definition";
public const string Document = "Document";
public const string Block = "Block";
... | 31.21978 | 72 | 0.592397 | [
"MIT"
] | cporteou/PSDocs | src/PSDocs/Commands/Keyword.cs | 2,843 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.ExtensionPoints
{
public interface IUserControlActions
{
void SaveAction(int po... | 30.875 | 71 | 0.724696 | [
"MIT"
] | Mariusz11711/DNN | DNN Platform/Library/ExtensionPoints/IUserControlActions.cs | 496 | C# |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace day24
{
class Program
{
static void Main(string[] args)
{
var inputs = File.ReadAllLines("./input.txt").Skip(1);
var boost = 34;
... | 39.0875 | 154 | 0.482091 | [
"Apache-2.0"
] | kbaley/AdventOfCode-2018 | day24/Program.cs | 6,256 | C# |
/* Copyright 2009-2012 Matvei Stefarov <me@matvei.org>
*
* Based, in part, on SmartIrc4net code. Original license is reproduced below.
*
*
*
* SmartIrc4net - the IRC library for .NET/C# <http://smartirc4net.sf.net>
*
* Copyright (c) 2003-2005 Mirco Bauer <meebey@meebey.net> <http://www.meebey.net>
*
* Full... | 38.205329 | 231 | 0.429169 | [
"MIT"
] | CybertronicToon/LegendCraft | fCraft/Network/GlobalChat.cs | 24,377 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FirstProject
{
public class ObjectCreator
{
public T CreateFromTypeUsingDefaultConstructor<T>(string typeName) where T : class, new()
{
T element = null;
... | 20.538462 | 97 | 0.573034 | [
"MIT"
] | michalurbanski/CSharpTraining | FirstProject/FirstProject/PersonCreator.cs | 536 | C# |
// See https://aka.ms/new-console-template for more information using;
using System;
namespace Foreach
{
class Program
{
static void Main (string[] args)
{
var numeros = new [] {1, 10, 100, 1000};
foreach (var item in numeros)
{
Console.Write... | 18.3 | 71 | 0.5 | [
"MIT"
] | thiago1602/desenvolvimento-full-stack-c-sharp | fundamentos/foreach/Program.cs | 368 | C# |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace DailyNotes.LoginFunction {
public parti... | 29.528169 | 107 | 0.49845 | [
"Apache-2.0"
] | Sky-shang/DailyNotes | DailyNotes/LoginFunction/Register.aspx.designer.cs | 5,393 | C# |
using System;
using HaloOnline.Server.Common;
using Microsoft.Owin.Hosting;
namespace HaloOnline.Server.App
{
public class AppSelfHost
{
private readonly IServerOptions _options;
private IDisposable _app;
public AppSelfHost(IServerOptions options)
{
_options = opti... | 26.666667 | 76 | 0.418382 | [
"MIT"
] | Atvaark/Emurado | HaloOnline.Server.App/AppSelfHost.cs | 1,362 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace WebApp_OpenIDConnect_DotNet
{
public class Program
{
// Entry point for the application.
public static void Main(string[] args)
... | 23.384615 | 64 | 0.587171 | [
"MIT"
] | VitorX/active-directory-dotnet-webapp-openidconnect-aspnetcore | WebApp-OpenIDConnect-DotNet/Program.cs | 610 | C# |
// <auto-generated />
namespace MomWorld.DataContexts.Migrations.ArticleMigrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.0-30225"... | 28.366667 | 88 | 0.599295 | [
"MIT"
] | shortgiraffe4/MomWorld | MomWorld/DataContexts/Migrations/ArticleMigrations/201504040929595_6th.Designer.cs | 851 | C# |
using System;
using System.Collections.Generic;
namespace OrderTracker.Models
{
public class Order
{
//Properties
public string Title{get;set;}
public string Description{get;set;}
public int Price{get;set;}
public string Date{get;set;}
public int Id {get;set;}
public static List<Order> ... | 19.674419 | 74 | 0.621749 | [
"MIT"
] | MaxBrockbank/OrderTracker.Solution | OrderTracker/Models/Orders.cs | 846 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Mvc;
public interface IProxyActionResult
{
}
| 23.888889 | 71 | 0.786047 | [
"MIT"
] | 3ejki/aspnetcore | src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionResult.cs | 215 | C# |
using Microsoft.AspNetCore.Routing;
namespace MinimalHelpers.Routing;
/// <summary>
/// Defines a contract for a class that holds one or more route handlers that must be registered by the application.
/// </summary>
/// <seealso cref="IEndpointRouteBuilder" />
/// <seealso cref="IEndpointRouteBuilderExtensions" />
p... | 34.5 | 116 | 0.731079 | [
"MIT"
] | marcominerva/MinimalHelpers.Registration | src/MinimalHelpers.Routing/IEndpointRouteHandler.cs | 623 | C# |
// <auto-generated>
/*
* Clash of Clans API
*
* Check out <a href=\"https://developer.clashofclans.com/#/getting-started\" target=\"_parent\">Getting Started</a> for instructions and links to other resources. Clash of Clans API uses <a href=\"https://jwt.io/\" target=\"_blank\">JSON Web Tokens</a> for authorizing th... | 36.668122 | 604 | 0.544242 | [
"MIT"
] | realdevhl/CocApi | src/CocApi.Rest/Models/Label.cs | 8,397 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
namespace OpenMetaverse.TestClient
{
public class ChangePermsCommand : Command
{
AutoResetEvent GotPermissionsEvent = new AutoResetEvent(false);
Dictionary<UUID, Primitive> Objects = new Dictionary<UUID, Primitive>... | 43.707602 | 150 | 0.537597 | [
"BSD-3-Clause"
] | BigManzai/libopenmetaverse | Programs/examples/TestClient/Commands/Prims/ChangePermsCommand.cs | 7,474 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PathPlanner : MonoBehaviour {
public UDPCommunication comm;
bool enabled;
// Use this for initialization
void Start () {
enabled = false;
}
// Update is called once per frame
void Update... | 14.625 | 42 | 0.594017 | [
"MIT"
] | autochair/hololens | Assets/Scripts/PathPlanner.cs | 470 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CodeProject.RESTRepository.Data.Entities;
namespace CodeProject.RESTRepository.Data.Repository
{
public interface _IRepository<T> where T : IEntity
{
void Add(T item);
IEnumerable<T> GetAll()... | 23.166667 | 54 | 0.685851 | [
"MIT"
] | SharePointGuy1/CodeProjectRestRepository | CodeProject.RESTRepository.Data/Repository/_IRepository.cs | 419 | C# |
using DND.Common;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace DND.Web.DynamicForms
{
public class Startup : AppStartup
{
public Startup(ILoggerFactory loggerFactory, IConfigu... | 25.321429 | 122 | 0.722144 | [
"MIT"
] | davidikin45/DigitalNomadDaveAspNetCore | src/DND.Web.DynamicForms/Startup.cs | 711 | C# |
using ASP.NET_CORE_MongoDB.Contracts.Filters;
using ASP.NET_CORE_MongoDB.Contracts.Paginated;
using ASP.NET_CORE_MongoDB.Entities;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace ... | 40.152778 | 150 | 0.614839 | [
"MIT"
] | dougglas1/ASP.NET_CORE_MongoDB | ASP.NET_CORE_MongoDB/Repositories/BaseRepository.cs | 5,784 | C# |
/*
* Copyright 2021 Swisscom Trust Services (Schweiz) AG
*
* 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 applic... | 33 | 75 | 0.729908 | [
"Apache-2.0"
] | SwisscomTrustServices/itext-dotnet-ais | AisClient/AIS/Model/Rest/SignResponse/Timestamp__1.cs | 761 | C# |
/*
* Copyright 2019 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... | 26.934783 | 75 | 0.589992 | [
"Apache-2.0"
] | AchoWang/Tizen-CSharp-Samples | Mobile/MediaContent/src/MediaContent/MediaContent/Constants/MediaContentType.cs | 1,241 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using OpenQA.Selenium;
namespace WebAddressbookTests
{
[TestFixture]
public class ContactCreationTests : AuthTestBase
{
[Test]
public void ContactCre... | 26.114286 | 84 | 0.646608 | [
"Apache-2.0"
] | OlenaKh/Csharp_training | addressbook-web-tests/addressbook-web-tests/tests/ContactCreationTests.cs | 916 | C# |
/*
* Ory APIs
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
* The version of the OpenAPI document: v0.0.1-alpha.15
* Contact: support@ory.sh
* Generated by: https://github.com/... | 44.104 | 297 | 0.57047 | [
"Apache-2.0"
] | Stackwalkerllc/sdk | clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlow.cs | 11,026 | C# |
using Oracle.ManagedDataAccess.Client;
using System;
using System.Data.Common;
namespace MilestoneTG.TransientFaultHandling.Data.Oracle
{
public class ReliableOracleConnection : ReliableDbConnection
{
//, RetryManager.Instance.GetDefaultOracleCommandRetryPolicy() ?? retryPolicy
//GetDefaultOra... | 43.605634 | 153 | 0.669574 | [
"MIT"
] | milestonetg/transient-fault-handling | src/MilestoneTG.TransientFaultHandling.Data.Oracle/ReliableOracleConnection.cs | 3,098 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading.Tasks;
namespace Exodus.Core.Database.Communication
{
public abstract class Message<TConnection, TCommand, TParameters>
where TConnection : IDbConnection
where TCommand : IDbCommand
... | 30.55814 | 107 | 0.641553 | [
"MIT"
] | ninjah187/Exodus | Exodus.Core/Database/Communication/Message.cs | 1,316 | C# |
/*
* Copyright 2006 Jeremias Maerki.
*
* 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 agre... | 37.267898 | 128 | 0.608415 | [
"Apache-2.0"
] | vjames13/ScannerTestV2 | Source/test/src/datamatrix/encoder/HighLevelEncodeTestCase.cs | 16,190 | C# |
// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
using UnityEditor;
using System;
namespace PixelCrushers.DialogueSystem
{
/// <summary>
/// Custom inspector editor for DialogueSystemController (e.g., Dialogue Manager).
/// </summary>
[CustomEditor(typeof(DialogueS... | 56.380531 | 379 | 0.629061 | [
"Apache-2.0"
] | NGTO-WONG/KishiStory | Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Inspectors/Manager/DialogueSystemControllerEditor.cs | 25,484 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using System.Linq;
[ExecuteInEditMode]
public class YoumuSlashEventMap : MonoBehaviour
{
[SerializeField]
private YoumuSlashTimingData timingData;
[SerializeField]
private bool sort;
[SerializeField]
... | 20.030769 | 70 | 0.615975 | [
"MIT"
] | Anxeal/NitoriWare | Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashEventMap.cs | 1,304 | C# |
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. See LICENSE in the project root for license information.
using System;
using System.Runtime.InteropServices;
using static TorchSharp.torch;
namespace TorchSharp
{
using Modules;
namespace Modules
{
/// <summary>
/// ... | 30.56338 | 130 | 0.509677 | [
"MIT"
] | FusionBolt/TorchSharp | src/TorchSharp/NN/Activation/Tanh.cs | 2,170 | 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("Wo... | 38.135135 | 84 | 0.745571 | [
"MIT"
] | fronbow/wowthing-sync | WoWthing Sync/Properties/AssemblyInfo.cs | 1,414 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 31.051724 | 83 | 0.632982 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Es/V20180416/Models/DescribeInstanceOperationsResponse.cs | 1,879 | C# |
using System;
namespace R5T.Veria.Base.Construction
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| 15.923077 | 47 | 0.512077 | [
"MIT"
] | MinexAutomation/R5T.Veria.Base | source/R5T.Veria.Base.Construction/Code/Program.cs | 209 | C# |
using Auth.Data;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.IO;
using System.Security.Claims;
using System.Text;
namespace Auth.Biz.Core
{
public static class TokenService
{
public static string Gene... | 35.775 | 130 | 0.634521 | [
"MIT"
] | LucasRufo/auth-jwt | Api/Projects/Auth.Biz/Core/TokenService.cs | 1,433 | 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/udpmib.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Sy... | 36.371429 | 145 | 0.710134 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/shared/udpmib/MIB_UDPSTATSTests.cs | 1,275 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
public class KMBossModule : MonoBehaviour
{
public string[] GetIgnoredModules(KMBombModule module, string[] @default = null)
{
return GetIgnoredModules(module.ModuleDisplayName, @default);
}
public string[] GetIgnoredModules(string moduleDispla... | 36.666667 | 125 | 0.761616 | [
"MIT"
] | JakkOfKlubs/ktane-purgatory | Assets/Scripts/KMBossModule.cs | 992 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | 47.071429 | 335 | 0.636462 | [
"MIT"
] | DiogenesPolanco/autorest | src/generator/AutoRest.CSharp.Azure.Fluent.Tests/Expected/AcceptanceTests/AzureSpecials/HeaderOperationsExtensions.cs | 4,613 | C# |
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace DotNext.Buffers;
/// <summary>
/// Represents simple memory reader backed by <see cref="ReadOnlySpan{T}"/>.
/// </summary>
/// <typeparam name="T">The type of elements in the span.</typeparam>... | 37.038911 | 177 | 0.634625 | [
"MIT"
] | dotnet/dotNext | src/DotNext/Buffers/SpanReader.cs | 9,519 | C# |
using System.Diagnostics.CodeAnalysis;
namespace WarpDeck.Presentation.Controllers.Models
{
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
public class PropertyResponseModel
{
public string Name { get; set; }
public string Value { get; set; }
}
} | 27.272727 | 71 | 0.71 | [
"MIT"
] | armunro/WarpDeck | WarpDeck.Presentation/Controllers/Models/PropertyResponseModel.cs | 300 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ChangeVolume : MonoBehaviour {
public Slider Volume;
public AudioSource Music;
private void Update() {
Music.volume = Volume.value;
}
}
| 19.466667 | 44 | 0.684932 | [
"MIT"
] | 18-2-SKKU-OSS/2018-2-OSS-E2 | Assets/Scripts/ChangeVolume.cs | 294 | C# |
using System;
using Foundatio.Repositories.Elasticsearch.Configuration;
using Nest;
namespace Exceptionless.Core.Repositories.Configuration {
public sealed class EventIndex : DailyIndex {
private const string EMAIL_TOKEN_FILTER = "email";
private const string TYPENAME_TOKEN_FILTER = "typename";
... | 66.260274 | 240 | 0.657226 | [
"Apache-2.0"
] | Rainy99/Exceptionless | src/Exceptionless.Core/Repositories/Configuration/Indexes/EventIndex/EventIndex.cs | 4,839 | C# |
using Newtonsoft.Json;
namespace Core.aria2cNet.client.entity
{
[JsonObject]
public class AriaShutdown
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("jsonrpc")]
public string Jsonrpc { get; set; }
[JsonProperty("result")]
public strin... | 21 | 53 | 0.57326 | [
"Apache-2.0"
] | 202094318/downkyi | src/Core/aria2cNet/client/entity/AriaShutdown.cs | 548 | C# |
// <auto-generated />
using System;
using CommunalPayments.DataAccess.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace CommunalPayments.DataAccess.Mi... | 33.07601 | 75 | 0.414004 | [
"MIT"
] | poimenov/CommunalPaymen | CommunalPayments.DataAccess/Migrations/20210527125813_AddCommission.Designer.cs | 13,927 | C# |
namespace GerenciadorFC.Repositorio.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<GerenciadorFC.Repositorio.Contexto.Contexto>
{
public Configuration()
... | 34.848485 | 112 | 0.588696 | [
"Apache-2.0"
] | ribeiroalex/GerenciadorFC | GerenciadoFC.Crawler/GerenciadorFC.Repositorio/Migrations/Configuration.cs | 1,150 | C# |
//#define VER_EQ_TEST
//#define NVELOCITY_TEST
//#define BASE_PAGE_TEST
//#define WIN
#if WIN
using System.IO;
using System.Reflection;
using System;
using JinianNet.JNTemplate.Test.Model;
using System.Diagnostics;
using Xunit;
namespace JinianNet.JNTemplate.Test
{
/// <summary>
/// 实际WEB页面模板测试
/// <... | 53.433649 | 6,016 | 0.555546 | [
"MIT"
] | Zhou-zhi-peng/jntemplate | src/JinianNet.JNTemplate.Test/WebPageTests.cs | 23,516 | C# |
using AnnoSavegameViewer.Serialization.Core;
using System.Collections.Generic;
namespace AnnoSavegameViewer.Structures.Savegame.Generated {
public class VerticalEdgesListListOccupyTimesListTrainOwner {
[BinaryContent(Name = "ObjectID", NodeType = BinaryContentTypes.Attribute)]
public object ObjectID { get;... | 27.833333 | 79 | 0.796407 | [
"MIT"
] | brumiros/AnnoSavegameViewer | AnnoSavegameViewer/Structures/Savegame/Generated/Content/VerticalEdgesListListOccupyTimesListTrainOwner.cs | 334 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Reflection;
namespace ShereSoft
{
abstract class ClonerBase
{
protected static readonly MethodInfo ObjectDictionaryByObjectTryGetValueMethodInfo = typeof(Dictionary<object, object>).GetMethod("TryGetValue... | 85.875 | 205 | 0.816109 | [
"MIT"
] | ShereSoft/DeepCloning | src/DeepCloning/ShereSoft.DeepCloning/ClonerBase.cs | 2,063 | C# |
namespace SampleSystem.WebApiCore.Controllers.Audit
{
using SampleSystem.Generated.DTO;
[Microsoft.AspNetCore.Mvc.ApiControllerAttribute()]
[Microsoft.AspNetCore.Mvc.ApiVersionAttribute("1.0")]
[Microsoft.AspNetCore.Mvc.RouteAttribute("mainAuditApi/v{version:apiVersion}/[controller]")]... | 85.801932 | 610 | 0.801813 | [
"MIT"
] | Luxoft/BSSFramework | src/_SampleSystem/SampleSystem.WebApiCore/Controllers/_Generated/Audit/BusinessUnitHrDepartmentService.Generated.cs | 17,557 | C# |
using System;
namespace ChakraCore.NET.DebugAdapter2.VSCode.Managed
{
public class VSCodeChakraDebugger2Managed : IDisposable
{
private VSCodeChakraDebugger2 _nativeDebugger;
public VSCodeChakraDebugger2Managed(object runtimeHandle)
{
_nativeDebugger = new VSCodeChakraDebu... | 24.416667 | 77 | 0.608646 | [
"MIT"
] | fsdsabel/ChakraCore.NET | source/ChakraCore.NET.DebugAdapter2.VSCode.Managed/VSCodeChakraDebugger2Managed.cs | 881 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 26 | 87 | 0.723265 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Cdn/Apis/UpdateWafWhiteRuleResponse.cs | 1,094 | 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... | 34.147059 | 107 | 0.683032 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/ResourceLimitsMarshaller.cs | 2,322 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 35.6 | 151 | 0.583333 | [
"MIT"
] | petersonstadler/Csharp-e-MYSQL | Csharp e MYSQL/Properties/Settings.Designer.cs | 1,070 | C# |
namespace Papagei
{
public interface IScopeEvaluator
{
bool Evaluate(Event evnt);
bool Evaluate(Entity entity, int ticksSinceSend, out float priority);
}
public class DefaultScopeEvaluator : IScopeEvaluator
{
public bool Evaluate(Event evnt)
{
return tru... | 21.73913 | 83 | 0.584 | [
"MIT"
] | slango0513/Papagei | Papagei/IScopeEvaluator.cs | 502 | C# |
using System;
using Serilog.Formatting;
using Serilog.Sinks.MSSqlServer.Output;
using Serilog.Sinks.MSSqlServer.Platform;
using Serilog.Sinks.MSSqlServer.Sinks.MSSqlServer.Options;
namespace Serilog.Sinks.MSSqlServer.Dependencies
{
internal static class SinkDependenciesFactory
{
internal static SinkDe... | 43.634615 | 96 | 0.639929 | [
"Apache-2.0"
] | stedel/serilog-sinks-mssqlserver | src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/Dependencies/SinkDependenciesFactory.cs | 2,271 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unicode_example
{
class Program
{
static void Main(string[] args)
{
char unicode = '\u0023'; // #
Console.WriteLine(unicode);
}
}
}... | 16.894737 | 41 | 0.604361 | [
"MIT"
] | SimeonShterev/2016.12.10-2017.03.23-ProgramingBasics | 2017.01 - function examples from the book/Unicode example/Program.cs | 323 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Compute.Fluent
{
using Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition;
using Microsoft.A... | 44.200413 | 255 | 0.610987 | [
"MIT"
] | Azure/azure-libraries-for-net | src/ResourceManagement/Compute/VirtualMachineScaleSetImpl.cs | 149,974 | C# |
/*
* MIT License
*
* Copyright (c) 2017 Michael VanOverbeek and ShiftOS devs
*
* 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 r... | 53.719298 | 160 | 0.642391 | [
"MIT"
] | Gamer-Gaming/shiftos | ShiftOS.WinForms/WindowBorder.Designer.cs | 15,310 | C# |
using System;
using System.IO;
using System.Net;
namespace xpm.Utils
{
internal class Package
{
public static void UninstallPackage(string query, bool askYN)
{
if (Directory.Exists(Config.installFolder + @"\packages\" + query))
{
if (askYN)
... | 51.953947 | 151 | 0.5126 | [
"Unlicense"
] | xsucculentx/xpm | Utils/Package.cs | 7,899 | C# |
// ---------------------------------------------------------------
// Copyright (c) Coalition of the Good-Hearted Engineers
// FREE TO USE TO CONNECT THE WORLD
// ---------------------------------------------------------------
using System;
using System.Collections;
using System.Net.Http;
using System.Threading.Tasks... | 36.09465 | 113 | 0.589785 | [
"MIT"
] | ElbekDeveloper/Taarafo.Web | Taarafo.Portal.Web.Tests.Unit/Services/Foundations/Posts/PostServiceTests.Exceptions.Add.cs | 8,773 | C# |
namespace commercetools.Sdk.Domain.Products.UpdateActions
{
public class RevertStagedVariantChangesUpdateAction : UpdateAction<Product>
{
public string Action => "revertStagedVariantChanges";
public int VariantId { get; set; }
}
} | 32.375 | 79 | 0.725869 | [
"Apache-2.0"
] | commercetools/commercetools-dotnet-core-sdk | commercetools.Sdk/commercetools.Sdk.Domain/Products/UpdateActions/RevertStagedVariantChangesUpdateAction.cs | 261 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
namespace System.Collections.ObjectModel.Tests
{
public class CollectionTestBase
{
protected static readonly int[] s_i... | 25.1125 | 97 | 0.422598 | [
"MIT"
] | belav/runtime | src/libraries/System.Runtime/tests/System/Collections/ObjectModel/CollectionTestBase.cs | 4,018 | C# |
namespace MadHoneyStore.Web.Controllers
{
using System;
using System.Threading.Tasks;
using MadHoneyStore.Data.Common.Repositories;
using MadHoneyStore.Data.Models;
using MadHoneyStore.Services.Data;
using MadHoneyStore.Web.ViewModels.Settings;
using Microsoft.AspNetCore.Mvc;
public ... | 31.409091 | 115 | 0.65919 | [
"MIT"
] | russeva/MadHoneyStore | src/Web/MadHoneyStore.Web/Controllers/SettingsController.cs | 1,384 | C# |
using System;
using System.IO;
using System.Linq;
using Abp.Reflection.Extensions;
namespace InventoryControl.Web
{
/// <summary>
/// This class is used to find root path of the web project in;
/// unit tests (to find views) and entity framework core command line commands (to find conn string).
/// </... | 35.833333 | 125 | 0.610853 | [
"MIT"
] | lucaslsilva/InventoryControl | aspnet-core/src/InventoryControl.Core/Web/WebContentFolderHelper.cs | 1,937 | C# |
using FakeItEasy;
using NUnit.Framework;
using Penneo;
namespace PenneoTests
{
[TestFixture]
public class SignatureLineTests
{
private static SignatureLine CreateSignatureLine()
{
var cf = new CaseFile();
var doc = new Document(cf);
var s = new Signature... | 25.920455 | 79 | 0.516879 | [
"Apache-2.0"
] | hougaard/sdk-net | Src/PenneoTests/SignatureLineTests.cs | 2,283 | C# |
//------------------------------------------------------------------------------
// <copyright file="Allocator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// </copyright>
//----------------------------------------------------------------------... | 43.122931 | 405 | 0.573927 | [
"MIT"
] | valdperformance/Azure-Kinect-Sensor-SDK | src/csharp/SDK/Allocator.cs | 18,241 | C# |
using BotSharp.Core.Abstractions;
using BotSharp.Platform.Models;
using BotSharp.Platform.Models.MachineLearning;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BotSharp.Core.Engines.BotSh... | 26.384615 | 70 | 0.702624 | [
"Apache-2.0"
] | Ali-NLP-and-DeepLearning-Lab/AI-ChatBot-Builder-CSharp | BotSharp.Core/Engines/BotSharp/BotSharpProvider.cs | 688 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using atriumBE;
using lmDatasets;
namespace lmras.Calendar
{
public partial class Default : System.Web.UI.Page
{
AtriumApp appMan;
... | 34.22449 | 140 | 0.501789 | [
"MIT"
] | chris-weekes/atrium | lmras/Calendar/Default.aspx.cs | 3,356 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 20.28169 | 63 | 0.666667 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-imm/Imm/Model/V20170906/CreateStreamAnalyseTaskResponse.cs | 1,440 | C# |
using DataAccessLayer.ARAPReport;
using DataAccessLayer.Common;
using DataAccessLayer.FinanceReport;
using DataAccessLayer.Interface.ARAPReport;
using DataAccessLayer.Interface.FinanceReport;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using Sys... | 47.985866 | 490 | 0.584315 | [
"MIT"
] | ajaykucse/LaraApp | acme/acmedesktop/FinanceReport/RptAllLedger.cs | 13,582 | C# |
/*
* Copyright (c) 2006-2016, openmetaverse.co
* All rights reserved.
*
* - Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice, this... | 38.922633 | 1,323 | 0.546006 | [
"BSD-3-Clause"
] | BigManzai/libopenmetaverse | OpenMetaverse/Messages/LindenMessages.cs | 209,289 | C# |
using System;
using System.Linq;
namespace _04.AddVAT
{
public class AddVAT
{
public static void Main()
{
Console.ReadLine()
.Split(new[] { ", " }, StringSplitOptions.RemoveEmptyEntries)
.Select(x => double.Parse(x) * 1.2)
.ToList()
... | 22.111111 | 77 | 0.487437 | [
"MIT"
] | George221b/SoftUni-Taks | C#Advanced/07.FunctionalProgrammingLab/04.AddVAT/AddVAT.cs | 400 | C# |
namespace AlmOps.AzureDevOpsComponent.Infrastructure.RestApi.Dto
{
public class LogsDto
{
public int Id { get; set; }
public string Type { get; set; }
public string Url { get; set; }
}
}
| 22.4 | 65 | 0.611607 | [
"Apache-2.0"
] | JamiePed/almops | src/AzureDevOpsComponent.Infrastructure.RestApi/Dto/LogsDto.cs | 226 | C# |
using UnityEngine;
using System.Collections.Generic;
using PF;
using Mathf = UnityEngine.Mathf;
// Empty namespace declaration to avoid errors in the free version
// Which does not have any classes in the RVO namespace
namespace Pathfinding.RVO {}
namespace Pathfinding {
using Pathfinding.Util;
#if UNIT... | 42.66443 | 193 | 0.707095 | [
"MIT"
] | naivetang/2019MiniGame22 | Unity/Assets/Model/Module/Pathfinding/AstarPathfindingProject/Core/astarclasses.cs | 12,714 | 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>
//----------------------------------------... | 33.767442 | 87 | 0.519972 | [
"MIT"
] | SensitiveMix/EXAM-ONLINE | Site.Master.designer.cs | 1,454 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.