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 |
|---|---|---|---|---|---|---|---|---|
#region Using Directives
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
#endregion
namespace System.CommandLine.ValueConverters
{
/// <summary>
/// Represents a value converter, which is able to convert strings to integers.
/// </summary>
public c... | 56.362903 | 190 | 0.608814 | [
"MIT"
] | JTOne123/command-line-parser | source/ValueConverters/IntegerCoverter.cs | 6,989 | C# |
namespace WFw.IEntity
{
/// <summary>
/// 备注
/// </summary>
public interface IRemark
{
/// <summary>
/// 备注信息
/// </summary>
string Remark { get; set; }
}
}
| 14.333333 | 35 | 0.432558 | [
"MIT"
] | litesz/WFw | WFw/IEntity/IRemark.cs | 229 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace FIFOAnimalShelter.Classes
{
public class Animal
{
public string Type { get; set; }
public Animal Next { get; set; }
public Animal(string type)
{
Type = type;
}
}
}
| 17.111111 | 40 | 0.581169 | [
"MIT"
] | ericsingletonjr/Data-Structures-and-Algorithms | First_Iteration/Challenges/FIFOAnimalShelter/FIFOAnimalShelter/Classes/Animal.cs | 310 | C# |
using System;
using System.Linq;
namespace Books_Store_Lesson.Memory
{
public class BookRepository : IBookRepository
{
/// <summary>
/// Жаңа кітап қосамыз
/// </summary>
private readonly Book[] books = new[]
{
new Book(1, "ISBN 12345-54321","D. Knuth", "Art... | 35.326923 | 144 | 0.557431 | [
"Unlicense"
] | berkut001kz/books_store_lesson | infrastructure/Books_Store_Lesson.Memory/BookRepository.cs | 2,073 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LevelPropertyEditor.Models {
/// <summary>
/// Модель поведения.
/// </summary>
public class BehaviourModel {
/// <summary>
/// События.
/// </summary>
public IEnumerable<EventModel> Events {
... | 14.95 | 44 | 0.573579 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | trueromanus/ShineGame | src/LevelPropertyEditor/Models/BehaviourModel.cs | 639 | C# |
using System;
using System.Linq;
using Terraria.ID;
using Terraria.ModLoader.Default;
namespace Terraria.ModLoader.IO
{
public class TileEntry : ModEntry
{
public static Func<TagCompound, TileEntry> DESERIALIZER = tag => new TileEntry(tag);
public bool frameImportant;
public TileEntry(ModTile tile) : base(t... | 28.537037 | 101 | 0.746918 | [
"MIT"
] | Aang099/tModLoader | patches/tModLoader/Terraria/ModLoader/IO/TileEntry.cs | 1,543 | 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("Uni... | 38.216216 | 84 | 0.748939 | [
"MIT"
] | dh-cfo/unity-networking-server | Unity Networking Server/Properties/AssemblyInfo.cs | 1,417 | C# |
using NailGun.Objects;
using System;
using XwMaxLib.Diagnostics;
using XwMaxLib.DNS;
namespace Tester
{
partial class Program
{
//***********************************************************************************
static public void MenuMLS()
{
while (true)
{
... | 40.142857 | 166 | 0.417641 | [
"MIT"
] | maxsnts/XwMaxLib | Tester/Test-MLS.cs | 3,938 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 34.769231 | 153 | 0.577434 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/model/ReferencedObject.cs | 1,808 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using SkunkLab.Channels;
using VirtualRtu.Communications.Channels;
using VirtualRtu.Communications.Modbus;
using VirtualRtu.Communication... | 34.935252 | 116 | 0.541392 | [
"MIT"
] | skunklab/virtualrtu | src/VirtualRtu.Communications/Tcp/ScadaClientListener.cs | 4,858 | C# |
using SpaceShipWarBa.Abstracts.Movements;
using SpaceShipWarBa.Controllers;
using UnityEngine;
namespace SpaceShipWarBa.Movements
{
public class PlayerTransformMovement : IMover
{
readonly PlayerController _playerController;
Vector2 _direction;
public PlayerTransformMovement(PlayerCont... | 25.035714 | 89 | 0.653352 | [
"Unlicense"
] | berkterek/SpaceShipWarBa | SpaceShipWarBA/Assets/_GameFolders/Scripts/Concretes/Movements/PlayerTransformMovement.cs | 701 | C# |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Xml.Serialization;
namespace TMFileParser.Models.tm7
{
[ExcludeFromCodeCoverage]
public class TM7BordersKeyValueOfguidanyType
{
[XmlElement("Key")]
public string key { get; set; }
[XmlElement("Val... | 25.6 | 50 | 0.692708 | [
"MIT"
] | microsoft/tm-file-parser | TMFileParser/TMFileParser/Models/tm7/TM7BordersKeyValueOfguidanyType.cs | 386 | 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 Y... | 35.443228 | 121 | 0.522212 | [
"MIT"
] | zhupangithub/WEBERP | Code/Zephyr.Net/Zephyr.Utils/Document/Excel/NPOI/SS/Formula/Functions/LookupUtils.cs | 25,909 | C# |
using UnityEditor;
using UnityEngine;
namespace VCI
{
public sealed class UnitySettingsLayerValidator : IUnitySettingsValidator
{
public bool IsValid => IsCompleteLayers();
public string ValidationDescription => string.Format("Layer Settings (current = {0})", (IsValid) ? "Valid" : "Invalid");
... | 32.575758 | 128 | 0.53814 | [
"MIT"
] | amamagi/VCI | Assets/VCI/UniVCI/Editor/Utils/UnitySettingsWindow/UnitySettingsLayerValidator.cs | 2,152 | C# |
using Microsoft.ServiceFabric.Services.Runtime;
using System;
using System.Diagnostics;
using System.Threading;
namespace WebService
{
internal static class Program
{
/// <summary>
/// This is the entry point of the service host process.
/// </summary>
private static void Main()... | 34.5 | 122 | 0.594966 | [
"MIT"
] | guyrt/routefinder | src/RouteFinder/WebService/Program.cs | 1,311 | C# |
// =============================================================================
// MIT License
//
// Copyright (c) 2018 Valeriya Pudova (hww.github.io)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... | 38.286765 | 117 | 0.520645 | [
"MIT"
] | hww/XiDebugMenu | Assets/XiDebugMenu/Scripts/DebugMenuItem.cs | 5,209 | C# |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 0.1.0-559
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using Syst... | 42.734082 | 608 | 0.523926 | [
"Apache-2.0"
] | CiscoUcs/intersight-powershell | csharp/swaggerClient/src/intersight/Model/StorageEnclosure.cs | 22,820 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsof... | 29.133333 | 106 | 0.629291 | [
"MIT"
] | Escan-DNMZ/AspNetCoreMvc5-Blog | WebProject/BlogApiDemo/Startup.cs | 1,748 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Project2JAGV.DataAccess.Entities
{
public partial class Ingredients
{
public Ingredients()
{
PizzaIngredients = new HashSet<PizzaIngredients>();
}
public int Id { get; set; }
publi... | 25.782609 | 83 | 0.634064 | [
"MIT"
] | JAGV-Project2/Project2 | Project2JAGV.DataAccess/Entities/Ingredients.cs | 595 | C# |
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 36.403846 | 139 | 0.701004 | [
"Apache-2.0"
] | mahanthbeeraka/dataservices-sdk-dotnet | AWSSDK/Amazon.StorageGateway/Model/DescribeBandwidthRateLimitResponse.cs | 1,893 | C# |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace EasyPost {
public class Resource : IResource {
public static T Load<T>(string json) where T : Resource {
return JsonConvert.DeserializeObject<... | 43.395062 | 158 | 0.570697 | [
"MIT"
] | roehnan/easypost-csharp | EasyPost/Resource.cs | 3,517 | C# |
/// <summary>
/// The status events.
/// </summary>
namespace bg3_modders_multitool.Enums.ValueLists
{
public enum StatusEvent
{
None,
OnTurn,
OnSpellCast,
OnAttack,
OnAttacked,
OnApply,
OnRemove,
OnApplyAndTurn,
OnDamage,
OnEquip,... | 18.444444 | 48 | 0.558233 | [
"MIT"
] | ShinyHobo/bg3-mod-packer | bg3-modders-multitool/bg3-modders-multitool/Enums/ValueLists/StatusEvent.cs | 500 | C# |
namespace Graphviz4Net
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Windows;
using Dot;
using Dot.AntlrParser;
using Graphs;
/// <summary>
/// Directs the process of building a layout.
/// </summary>
/// <remarks>
... | 41.22408 | 137 | 0.540889 | [
"BSD-2-Clause"
] | DeafLight/Graphviz4Net | src/Graphviz4Net.Core/LayoutDirector.cs | 12,326 | C# |
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using WMenuItem = Microsoft.Phone.Controls.MenuItem;
using WApplication = System.Windows.Application;
namespace Xamarin.Forms.Platform.WinPhone
{
public sealed class CustomContextMenu : ContextMenu
{
protected override Dependency... | 29.074074 | 199 | 0.745223 | [
"MIT"
] | Acidburn0zzz/Xamarin.Forms | Xamarin.Forms.Platform.WP8/CustomContextMenu.cs | 787 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
// Start is called before the first frame update
public Transform target;
public Vector3 offset;
// Update is called once per frame
void Update()
{
transform... | 23.333333 | 108 | 0.714286 | [
"MIT"
] | atakanhbk/Bag-Master | Assets/Scripts/CameraController.cs | 422 | C# |
// Copyright (c) to owners found in https://github.com/arlm/WinApi/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
namespace Sandbox
{
[Flags]
public enum SetWindowPosFlags : uint
{
... | 37.058824 | 114 | 0.610847 | [
"MIT"
] | arlm/WinApi | src/Sandbox/DisplayApi/SetWindowPosFlags.cs | 3,782 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CefSharp.Puppeteer.Messaging;
namespace CefSharp.Puppeteer.PageAccessibility
{
/// <summary>
/// The Accessibility class provides methods for inspecting Chromium's accessibility tree.
/// The accessibility tree is used by a... | 39.834862 | 161 | 0.592123 | [
"MIT"
] | isabella232/Puppeteer-1 | lib/PuppeteerSharp/PageAccessibility/Accessibility.cs | 4,342 | C# |
using UnityEngine;
using System.Collections;
public class lockCursor : MonoBehaviour {
// Use this for initialization
void Start ()
{
Cursor.lockState = CursorLockMode.Confined;
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
}
// Update is called once per frame
void Update ()
{
... | 18.708333 | 45 | 0.703786 | [
"MIT"
] | htw6174/LaborJam | LaborJam/Assets/Scripts/lockCursor.cs | 451 | C# |
//
// AVCaptureDeviceInput.cs
//
// Authors:
// Miguel de Icaza
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
// Copyright 2014 Xamarin Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation ... | 32.122449 | 73 | 0.749047 | [
"BSD-3-Clause"
] | stephen-hawley/xamarin-macios | src/AVFoundation/AVCaptureDeviceInput.cs | 1,574 | C# |
using WeifenLuo.WinFormsUI.Docking.Skins;
using System.ComponentModel;
namespace WeifenLuo.WinFormsUI.Docking
{
public partial class DockPanel
{
private DockPanelSkin m_dockPanelSkin = DockPanelSkinBuilder.Create(Style.VisualStudio2005);
[LocalizedCategory("Category_Docking")]
[Loca... | 31.138889 | 101 | 0.604817 | [
"MIT"
] | zdomokos/dockpanelsuite | WinFormsUI/Docking/DockPanel.Appearance.cs | 1,123 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace ES2.Amplitude.Unity.Simulation
{
/// <remarks/>
[GeneratedCode("xsd", "2.0.50727.3038")]
[Serializable]
[DebuggerStepThrough]
[DesignerCategory("co... | 21.333333 | 81 | 0.755208 | [
"MIT"
] | Scrivener07/Endless-Studio | Source/Studio.ES2/Amplitude/Unity/Simulation/quest/QuestExecutionTreeAction_RemoveCuriosity.cs | 768 | C# |
/*
* CHANGE LOG - keep only last 5 threads
*
* on-line resources
*/
using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Gravity.Services.ActionPlugins.Extensions
{
public static class TypeExtensions
{
/// <summary>... | 47.081967 | 158 | 0.642758 | [
"MIT"
] | gravity-api/gravity-actions | src/csharp/Gravity.Actions/Gravity.Actions/Extensions/TypeExtensions.cs | 2,874 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CsvGui
{
public partial class FormLoader : Form
{
public FormLoader()
... | 27.219512 | 107 | 0.637993 | [
"MIT"
] | CodingWolves/CsvGui | CsvGui/CsvGui/FormLoader.cs | 1,118 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using S... | 47.526193 | 142 | 0.5988 | [
"MIT"
] | Avid29/dotnet | CommunityToolkit.Mvvm/Messaging/StrongReferenceMessenger.cs | 40,825 | C# |
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using WebMail.Server.Entities;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;... | 38.918605 | 135 | 0.577233 | [
"MIT"
] | Damenus/webmail | Server/Controllers/HomeController.cs | 3,349 | C# |
namespace GithubActions.Tests.Fixtures
{
public class TestSettings
{
public bool TargetLocalHost { get; set; }
public string ApiKeyHeader { get; set; }
public string ApiKeyValue { get; set; }
public string BaseApiUrlFormatString { get; set; }
}
} | 29 | 58 | 0.648276 | [
"MIT"
] | swiftbitdotco/GithubActionsWithDotNetCore | test/GithubActions.Tests/Fixtures/TestSettings.cs | 290 | 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;
#pragma warning disable 1591
namespace Silk.NET.OpenGL
{
public enum GetTexBumpParameterATI
{
BumpRotMatrixAti = 0x8775,
Bump... | 20.285714 | 57 | 0.685446 | [
"MIT"
] | AzyIsCool/Silk.NET | src/OpenGL/Silk.NET.OpenGL/Enums/GetTexBumpParameterATI.gen.cs | 426 | 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("Bu... | 36.310345 | 84 | 0.740741 | [
"Apache-2.0"
] | builttoroam/realestateinspector | BuiltToRoam.UI/BuiltToRoam.UI.UAP/Properties/AssemblyInfo.cs | 1,056 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.833333 | 153 | 0.606461 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IDeviceEnrollmentLimitConfigurationRequestBuilder.cs | 1,362 | C# |
using System.Windows;
namespace UnlimitedCsvCompare
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| 15.75 | 42 | 0.624339 | [
"MIT"
] | JustinMoss/CsvUtilities | UnlimitedCsvCompare/App.xaml.cs | 191 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 34.692308 | 84 | 0.536031 | [
"Unlicense"
] | tlayson/MySC | MyUSC/MyTeams/AddMembers.aspx.designer.cs | 7,218 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Core.ECS.Filters
{
public interface IComponentFilter {
/// <summary>
/// Returns true if the block should be filtered out.
/// </summary>
bool FilterBlock(BlockAccessor block);
/// <summary>
/// Updates filter with new data
//... | 21.111111 | 55 | 0.705263 | [
"MIT"
] | Nominom/.NET-Core-game-engine | ECSCore/Filters/IComponentFilter.cs | 382 | C# |
#if !UNITY_WINRT || UNITY_EDITOR || (UNITY_WP8 && !UNITY_WP_8_1)
#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
... | 27.60396 | 92 | 0.64957 | [
"Unlicense"
] | madparker/LumarcaUnity | LumarcaUnity2/Assets/Scripts/JsonDotNet/Source/Utilities/StringBuffer.cs | 2,788 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Orchard;
using Orchard.Data;
using Orchard.Security;
using TestApi.Entities;
namespace TestApi.Repository
{
public class AuthRepository : IDisposable
{
private readonly IWorkContextAccessor _workCont... | 32.481013 | 125 | 0.641855 | [
"BSD-3-Clause"
] | Fogolan/OrchardForWork | src/Orchard.Web/Modules/TestApi/Repository/AuthRepository.cs | 2,568 | C# |
namespace Shoc.Cli.Model
{
/// <summary>
/// The shoc profile definition
/// </summary>
public class ShocProfile
{
/// <summary>
/// The profile name
/// </summary>
public string Name { get; set; }
/// <summary>
/// The api root
/// </summary... | 21.391304 | 45 | 0.473577 | [
"Apache-2.0"
] | imastio/shoc | Shoc.Cli/Model/ShocProfile.cs | 494 | 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... | 40.104839 | 196 | 0.647094 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/PinpointEmail/Generated/Model/Internal/MarshallTransformations/GetDomainStatisticsReportResponseUnmarshaller.cs | 4,973 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using GraphQL.Builders;
using GraphQL.Types;
using Microsoft.EntityFrameworkCore;
namespace GraphQL.EntityFramework
{
partial class EfGraphQLService<TDbContext>
where TDbContext : DbContext
{
public void AddQueryConnectionField... | 36.744898 | 108 | 0.551791 | [
"MIT"
] | GroggyPirate/GraphQL.EntityFramework | src/GraphQL.EntityFramework/GraphApi/EfGraphQLService_QueryableConnection.cs | 3,603 | 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("poz... | 38.378378 | 84 | 0.752817 | [
"MIT"
] | Runta90/AlgebraCSharp2019-1 | ConsoleApp1/pozitivan_i_negativan_broj/Properties/AssemblyInfo.cs | 1,423 | 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 ... | 43.475 | 143 | 0.730305 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/ads/googleads/v7/googleads-csharp/Google.Ads.GoogleAds.V7.Services.StandaloneSnippets/KeywordPlanCampaignKeywordServiceClient.GetKeywordPlanCampaignKeywordSnippet.g.cs | 1,739 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nez;
using Game.Entities;
using Game.Components;
using Microsoft.Xna.Framework;
using Nez.Textures;
using Microsoft.Xna.Framework.Graphics;
using Nez.Sprites;
namespace Game.Scenes
{... | 20.142857 | 49 | 0.654255 | [
"MIT"
] | JonathanNaranjo/CorredorDeLaberintos | Source/Game/Scenes/IntroGame.cs | 566 | C# |
using Api.Domain.Dtos.User;
using Api.Domain.Entities;
using Api.Domain.Interfaces;
using Api.Domain.Interfaces.Repositories;
using Api.Domain.Models;
using Api.Service.Notifications;
using Api.Service.Services;
using Api.Service.Test.Helpers;
using AutoMapper;
using Bogus;
using Bogus.Extensions.Brazil;
using Expected... | 33.004342 | 143 | 0.520609 | [
"MIT"
] | fabioborges-ti/api-netcore5 | test/Api.Service.Test/IUserServiceTests/UserServiceTest.cs | 22,806 | C# |
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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
//
//... | 32.851852 | 76 | 0.718151 | [
"Apache-2.0"
] | Convey-Compliance/Castle.Core-READONLY | src/Castle.Core.Tests/GenClasses/MethodWithArgumentBeingArrayOfGenericTypeOfT.cs | 887 | 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.912281 | 103 | 0.640192 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/InputDefinition.cs | 1,876 | C# |
namespace Avanade.Challenge.Project.CrossCutting
{
public class Class1
{
}
}
| 12.857143 | 49 | 0.677778 | [
"MIT"
] | josenildolins/Avanade-Desafio-API | src/Avanade.Challenge.Project.CrossCutting/Class1.cs | 92 | C# |
// ReSharper disable All
using System;
using System.Configuration;
using System.Diagnostics;
using System.Net.Http;
using System.Web.Http;
using System.Runtime.Caching;
using System.Web.Http.Controllers;
using System.Web.Http.Dispatcher;
using System.Web.Http.Hosting;
using System.Web.Http.Routing;
using Xunit;
namesp... | 61.233577 | 178 | 0.693408 | [
"MPL-2.0"
] | asine/mixerp | src/Libraries/Web API/Core/Tests/PartyUserControlViewRouteTests.cs | 8,389 | C# |
namespace KeyVault.Acmebot.Options
{
public class GandiOptions
{
public string ApiKey { get; set; }
}
}
| 15.625 | 42 | 0.624 | [
"Apache-2.0"
] | CMeeg/keyvault-acmebot | KeyVault.Acmebot/Options/GandiOptions.cs | 127 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("CefSharpWpfDemo")]
[assembly: AssemblyDescription("")]
[assem... | 29.678571 | 91 | 0.700963 | [
"MIT"
] | devncore/stackoverflow-sample | src/answers/cefsharp-wpf-demo/CefSharpWpfDemo/CefSharpWpfDemo/Properties/AssemblyInfo.cs | 2,437 | C# |
// Copyright (c) Amer Koleci and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
using SharpGen.Runtime;
namespace Vortice.WIC
{
public partial class IWICImagingFactory2
{
public IWICImagingFactory2()
{
ComUtilities... | 25.6 | 100 | 0.628906 | [
"MIT"
] | DanielElam/Vortice.Windows | src/Vortice.Direct2D1/WIC/IWICImagingFactory2.cs | 512 | 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("Ang... | 38.333333 | 84 | 0.756522 | [
"Apache-2.0"
] | softwarejc/angularjs-signalr | AngularJS-SignalR/AngularJS-SignalR/Properties/AssemblyInfo.cs | 1,383 | C# |
namespace XmlExplorerVMLib.ViewModels.XML
{
using XmlExplorerVMLib.Models;
using XmlExplorerVMLib.Models.Events;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
... | 33.036991 | 131 | 0.51088 | [
"MIT"
] | Dirkster99/XmlExplorer | source/Components/XmlExplorerVMLib/ViewModels/XML/XPathNavigatoreTreeViewModel.cs | 26,795 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace Nest
{
public interface IDeleteRoleResponse : IResponse
{
[JsonProperty("found")]
bool Found { get; }
}
public class DeleteRoleResponse : ResponseBase, IDeleteRoleResponse
{
public bool Found { get; internal ... | 17.473684 | 68 | 0.740964 | [
"Apache-2.0"
] | BedeGaming/elasticsearch-net | src/Nest/XPack/Security/Role/DeleteRole/DeleteRoleResponse.cs | 334 | 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.832579 | 124 | 0.610418 | [
"Apache-2.0"
] | ianb888/aws-sdk-net | sdk/src/Services/Appflow/Generated/Model/Internal/MarshallTransformations/SourceConnectorPropertiesMarshaller.cs | 7,698 | C# |
// <copyright file=Circle3DGeo.cs
// <copyright>
// Copyright (c) 2016, University of Stuttgart
// 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 limitat... | 44.980392 | 150 | 0.642982 | [
"MIT"
] | HCUM/kobelu | HciLab.Utilities/Mash3D/Circle3DGeo.cs | 4,588 | C# |
using System;
namespace Avalonia.Controls
{
public class NativeMenuItemBase : AvaloniaObject
{
private NativeMenu? _parent;
internal NativeMenuItemBase()
{
}
public static readonly DirectProperty<NativeMenuItemBase, NativeMenu?> ParentProperty =
AvaloniaP... | 24.375 | 126 | 0.618803 | [
"MIT"
] | Kibnet/Avalonia | src/Avalonia.Controls/NativeMenuItemBase.cs | 587 | C# |
namespace ForumSquare.Client.Models
{
public class ApiError
{
public string Message { get; set; }
public string Details { get; set; }
public string StackTrace { get; set; }
}
}
| 19.545455 | 46 | 0.6 | [
"MIT"
] | ajgoldenwings/Asp-Net-Blazor-Forum-Square | ForumSquare/ForumSquare.Client/Models/ApiError.cs | 217 | C# |
using System;
using System.Threading.Tasks;
using SmartSql.Test.Entities;
using SmartSql.TypeHandlers;
using Xunit;
namespace SmartSql.Test.Unit.TypeHandlers
{
public class TypeHandlerFactoryTest
{
TypeHandlerFactory typeHandlerFactory = new TypeHandlerFactory();
Type enumType = typeof(Numerica... | 24.927273 | 82 | 0.512764 | [
"Apache-2.0"
] | MetSystem/SmartSql | src/SmartSql.Test.Unit/TypeHandlers/TypeHandlerFactoryTest.cs | 1,371 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FeelUnity : MonoBehaviour
{
public FeelDevice deviceKind;
public string deviceName;
public Feel device { get; private set; }
void Awake()
{
device = new Feel(deviceKind);
device.Connect(dev... | 19.34375 | 44 | 0.597738 | [
"MIT"
] | KevinBalz/FeelSDK | Assets/FeelSDK/Scripts/FeelUnity.cs | 621 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("In... | 37.864865 | 84 | 0.745896 | [
"MIT"
] | hardsky/process-monitor | Infrastructure/Properties/AssemblyInfo.cs | 1,404 | 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 Microsoft.SqlTools.Hosting.v2;
namespace Microsoft.SqlTools.Hosting.Utility
{
public class ServiceProviderNotSetException : InvalidOperat... | 26.352941 | 101 | 0.732143 | [
"MIT"
] | Bhaskers-Blu-Org2/sqltoolsservice | src/Microsoft.SqlTools.Hosting.v2/Utility/ServiceProviderNotSetException.cs | 448 | C# |
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
using Optsol.Components.Infra.Bus.Delegates;
using Optsol.Components.Infra.Bus.Events;
using Optsol.Components.Infra.RabbitMQ.Connections;
using Optsol.Components.Infra.RabbitMQ.Services;
using Optsol.Components.Shared.Settings;
using Optsol.Compon... | 31.375 | 123 | 0.622012 | [
"MIT"
] | carlosmachel/components-backend-core | test/Optsol.Components.Test.Unit/Infra/Bus/EventBusRabbitMQSpec.cs | 2,010 | C# |
using System.Collections.ObjectModel;
using System.Diagnostics.Contracts;
using Foundatio.Repositories.Models;
namespace Exceptionless.Core.Extensions;
public static class EnumerableExtensions {
public static IReadOnlyCollection<T> UnionOriginalAndModified<T>(this IReadOnlyCollection<ModifiedDocument<T>> documen... | 39.390476 | 167 | 0.637573 | [
"Apache-2.0"
] | 491134648/Exceptionless | src/Exceptionless.Core/Extensions/EnumerableExtensions.cs | 4,138 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using UnityEngine;
using XRTK.Utilities.Gltf.Schema;
namespace XRTK.Utilities.Gltf.Serialization
{
internal static class GltfConversions
{
... | 42.473923 | 160 | 0.554482 | [
"MIT"
] | XRTK/com.xrtk.gltf | XRTK.glTF/Packages/com.xrtk.gltf/Runtime/Serialization/GltfConversions.cs | 18,733 | C# |
namespace Calculator_CSharp.Models
{
public class Calculator
{
public decimal LeftOperand { get; set; }
public decimal RightOperand { get; set; }
public string Operator { get; set; }
public decimal Result { get; set; }
public Calculator()
{
Result... | 19.055556 | 49 | 0.548105 | [
"MIT"
] | lyubohd/Software-Technologies | 16. ASP.NET - Exercise/Calculator/Calculator-CSharp/Models/Calculator.cs | 345 | C# |
/* FailureSign.xaml.cs
* part of Bovender framework
*
* Copyright 2014-2018 Daniel Kraus
*
* 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/li... | 29.355556 | 76 | 0.700227 | [
"Apache-2.0",
"BSD-3-Clause"
] | bovender/bovender | Bovender/Mvvm/Views/FailureSign.xaml.cs | 1,323 | C# |
using System.Collections.Generic;
namespace WarOfEmpires.Domain.Empires {
public static class ResearchDefinitionFactory {
private static readonly Dictionary<ResearchType, ResearchDefinition> _researches = new Dictionary<ResearchType, ResearchDefinition>();
private static ResearchDefinition Genera... | 35.857143 | 142 | 0.588446 | [
"MIT"
] | maikelbos0/WarOfEmpires | WarOfEmpires.Domain/Empires/ResearchDefinitionFactory.cs | 2,512 | C# |
/******************************************************
* Project Name : VAdvantage
* Class Name : MRequestProcessorLog
* Purpose : Request Processor Log
* Class Used : X_R_RequestProcessorLog,ViennaProcessorLog
* Chronological Development
* Raghunandan 21-Jan-2010
********************... | 30.013699 | 87 | 0.586947 | [
"Apache-2.0"
] | AsimKhan2019/ERP-CMR-DMS | ViennaAdvantageWeb/ModelLibrary/Model/MRequestProcessorLog.cs | 2,193 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 34.678571 | 104 | 0.504634 | [
"MIT"
] | BigHam/squidex | backend/src/Squidex.Web/EntityCreatedDto.cs | 974 | C# |
namespace Vernuntii.VersionPresentation
{
/// <summary>
/// Kind of semantic version presentation.
/// </summary>
public enum VersionPresentationKind
{
/// <summary>
/// Single value.
/// </summary>
Value,
/// <summary>
/// Object with properties.
... | 20.222222 | 46 | 0.516484 | [
"MIT"
] | Teneko-NET-Tools/Teneko.MessagesVersioning | src/Vernuntii.Calculator/VersionPresentation/VersionPresentationKind.cs | 366 | C# |
using System;
using System.Collections.Generic;
using NetworkTables.Tables;
using WPILib.Commands;
using WPILib.Interfaces;
namespace WPILib.SmartDashboard
{
/// <summary>
/// The <see cref="SendableChooser"/> class is a useful tool for presenting a
/// selection of options to the <see cref="SmartDashboa... | 33.656489 | 106 | 0.542527 | [
"MIT"
] | Team-1922/OzWPILib.NET | WPILib/SmartDashboard/SendableChooser.cs | 4,411 | C# |
namespace Roslin.Msg.std_msgs
{
[MsgInfo("std_msgs/Header", "2176decaecbce78abc3b96ef049fabed", @"# Standard metadata for higher-level stamped data types.
# This is generally used to communicate timestamped data
# in a particular coordinate frame.
#
# sequence ID: consecutively increasing ID
uint32 seq
#Two-inte... | 29.542373 | 132 | 0.623637 | [
"MIT"
] | MoeLang/Roslin | Msg/GenMsgs/std_msgs/Header.cs | 1,743 | C# |
//
// OptimizerContext.cs
//
// Author:
// Martin Baulig <mabaul@microsoft.com>
//
// Copyright (c) 2019 Microsoft Corporation
//
// 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 wit... | 31.971564 | 185 | 0.737622 | [
"MIT"
] | xamarin/linker-optimizer | Mono.Linker.Optimizer/Mono.Linker.Optimizer/OptimizerContext.cs | 13,494 | C# |
using System;
namespace Ludiq.PeekCore
{
public struct ScriptReference
{
/// <summary>
/// The ID of the script in the source file.
/// </summary>
public int fileID;
/// <summary>
/// The GUID of the source file (script or DLL).
/// </summary>
public string guid;
private ScriptReference(string g... | 22.777778 | 96 | 0.705691 | [
"MIT"
] | 3-Delta/Unity-UGUI-UI | Assets/3rd/Ludiq/Ludiq.PeekCore/Editor/Utilities/ScriptReference.cs | 1,232 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 31.88 | 99 | 0.526976 | [
"MIT"
] | TheWaywardHayward/Industrial-IoT | components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa/src/Twin/Models/ReadRequestModel.cs | 797 | C# |
using System;
using SimpleFixture.Conventions;
using Xunit;
namespace SimpleFixture.Tests.FixtureTests.Primitives
{
public class TypeFixtureTests
{
[Fact]
public void Fixture_Locate_Type()
{
var fixture = new Fixture();
var type = fixture.Locate<Type>();
... | 20.387097 | 58 | 0.564873 | [
"MIT"
] | razorrit/Ritesh-UnitTest | tests/SimpleFixture.Tests/FixtureTests/Primitives/TypeFixtureTests.cs | 634 | C# |
namespace KEI.Infrastructure
{
public interface IDialogFactory
{
public IDataContainer ShowDialog(string dialogName, IDataContainer parameters = null);
public void RegisterDialog<TDialog>(string name)
where TDialog : IDialog, new();
}
}
| 25.363636 | 94 | 0.688172 | [
"MIT"
] | athulrajts/Resusables | Infrastructure/KEI.Infrastructure.Core/ViewService/FileDialogs/IDialogFactory.cs | 281 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using BaseLib.Xwt.Interop;
using Xwt;
using Xwt.Backends;
namespace BaseLib.Xwt
{
using Xwt = global::Xwt;
public abstract class Platform
{
static Dict... | 45.145349 | 183 | 0.497682 | [
"MIT"
] | Bert1974/BB74.Controls.Xwt | BB74.Controls/DockPanel/BaseLib/FrameWork.cs | 31,062 | C# |
using Discord;
using Discord.Webhook;
using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Data;
namespace omaha_watch_bot
{
class Program
{
private string stableVersion, betaVersion, devVersion, canaryVersion;
... | 43.122807 | 126 | 0.442636 | [
"MIT"
] | tangalbert919/omaha-watch-bot | C#/Program.cs | 4,918 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System... | 51.404732 | 429 | 0.60032 | [
"MIT"
] | adimosh/EFCore.BulkExtensions | EFCore.BulkExtensions/TableInfo.cs | 41,278 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace ACTransit.Contracts.Data.Schedules.PublicSite
{
/// <summary>
/// Active days of scheduled line(s).
/// </summary>
[DataContract]
public class DayCode
{
/// <summary>
/// Key (in... | 29.416667 | 130 | 0.577904 | [
"MIT"
] | actransitorg/ACTransit.CusRel | ACTransit.Contracts/Data/ACTransit.Contracts.Data.Schedules/PublicSite/DayCode.cs | 708 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace EventsStore.EventsMo... | 47.35 | 150 | 0.699754 | [
"MIT"
] | AndreyTretyak/service-fabric | src/prod/src/managed/EventsStore/EventsStore.EventsModels/Cluster/ChaosStartedEvent.cs | 2,841 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnyStore.BLL
{
class transactionDetailBLL
{
public int id { get; set; }
public int transastion_id { get; set; }
public int product_id { get; set; }
publ... | 27.130435 | 48 | 0.61859 | [
"MIT"
] | mhusny/Simple-Invoicing-System | AnyStore/BLL/transactionDetailBLL.cs | 626 | C# |
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 37.204545 | 293 | 0.709835 | [
"Apache-2.0"
] | virajs/aws-sdk-net | AWSSDK_DotNet35/Amazon.SimpleEmail/Model/VerifyEmailIdentityResponse.cs | 1,637 | C# |
// WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace AdMaiora.Listy
{
[Regis... | 20.906977 | 84 | 0.686318 | [
"MIT"
] | admaiorastudio/listy | Listy/Listy.iOS/UI/SubControllers/RegistrationDoneViewController.designer.cs | 899 | C# |
#pragma warning disable 1591
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code ... | 22.844828 | 128 | 0.603019 | [
"MIT"
] | g0rdan/g0rdan.MvvmCross.Plugins | source/Droid/g0rdan.MvvmCross.Plugin.SimpleEmail.Droid/Resources/Resource.designer.cs | 1,325 | C# |
// The MIT License (MIT)
// Copyright (c) 1994-2017 Sage Software, Inc. All rights reserved.
//
// 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 ... | 36 | 88 | 0.691551 | [
"MIT"
] | DavidFWang/Sage300-SDK | samples/Receipt/ValuedParter.TU.Models/Enums/Complete.cs | 1,728 | C# |
using System;
namespace Zest.OrderManagement.Common.Utilities
{
/// <summary>
/// Attribute class for storing description related to C# Enum items.
/// </summary>
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class EnumDescriptionAttribute : Attribute
{
/// <su... | 30.5 | 91 | 0.622951 | [
"MIT"
] | hpsanampudi/Zest.OrderManagement | src/Zest.OrderManagement.Common/Utilities/EnumDescription.cs | 795 | C# |
/*************************************************************************
* Copyright © 2015-2019 Mogoson. All rights reserved.
*------------------------------------------------------------------------
* File : Texture2DExtention.cs
* Description : Extention for UnityEngine.Texture2D.
*------------... | 50.009434 | 168 | 0.590643 | [
"Apache-2.0"
] | mogoson/CodeProject | UCommon/Extension/Texture2DExtention.cs | 5,304 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
/* Code built upon https://github.com/IsaiahKelly/quake3-movement-for-unity/blob/master/Quake3Movement/Scripts/Q3PlayerController.cs */
[Serializable]
public struct MovementData
{
public Chara... | 25.251773 | 135 | 0.681225 | [
"MIT"
] | o92design/FzGameJam2021 | Lager25/Assets/Scripts/Player/Movement/src/PlayerMovement.cs | 7,123 | C# |
using System.Collections.Generic;
namespace UploadApp.Pages.Boards.Uploads
{
public partial class Report
{
}
}
| 11.666667 | 40 | 0.635714 | [
"MIT"
] | KyusangCho/UploadApp | UploadApp/Pages/Boards/Uploads/Report.razor.cs | 142 | C# |
using System;
using System.Threading.Tasks;
namespace NftUnity.Test.Extensions
{
public static class TaskExtensions
{
public static T CompletesIn<T>(this Task<T> task, TimeSpan interval)
{
var completedInTime = task.Wait(interval);
if (task.Exception != null)
... | 22.333333 | 76 | 0.522388 | [
"Apache-2.0"
] | usetech-llc/nft_unity | src/NftUnity.Test/Extensions/TaskExtensions.cs | 538 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.