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 CalculatorShell.Expressions.Properties;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalculatorShell.Expressions.Internals.Expressions
{
internal sealed class Variable : IExpression
{
pub... | 28.833333 | 109 | 0.523121 | [
"MIT"
] | webmaster442/CalculatorShell | CalculatorShell.Expressions/Internals/Expressions/Variable.cs | 2,770 | C# |
using NUnit.Framework;
/// <summary>
/// A collection of unit tests for the DisjointSet class.
/// </summary>
public class DisjointSetTest
{
#region Find Tests
[Test]
public void Find_ParentOfXisX_ReturnsX()
{
CellGrid grid = new CellGrid(2, 2);
Cell subject = grid.Cells[0];
Dis... | 30.020408 | 80 | 0.638341 | [
"MIT"
] | blyman94/maze-pathfinding-game | PrototypeApplicationProject/Assets/Scripts/Editor/DisjointSetTest.cs | 1,471 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 29.631579 | 101 | 0.668443 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/ImportInstanceResponse.cs | 1,689 | C# |
using System;
namespace Application.Orders.Projections
{
public class OrderProjection
{
public Guid OrderId { get; set; }
public decimal Value { get; set; }
}
} | 18.9 | 42 | 0.640212 | [
"MIT"
] | marcinlovescode/CQRS.SingleDatabase | Application/Orders/Projections/Order.cs | 189 | C# |
// This file was generated by TemplateEngine from template source 'Quad'
// using template 'Quad2d. Do not modify this file directly, modify it from template source.
// This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team
// and is licensed for your use under the conditions of the ND... | 25.370184 | 103 | 0.441569 | [
"Apache-2.0"
] | zigaosolin/SharpMedia | SharpMedia/Math/Shapes/Quad2d.cs | 15,146 | C# |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CSpawnTreeCurrentlySpawnedCounterMonitorInitializer : ISpawnTreeSpawnMon... | 35.26087 | 163 | 0.779285 | [
"MIT"
] | DerinHalil/CP77Tools | CP77.CR2W/Types/W3/RTTIConvert/CSpawnTreeCurrentlySpawnedCounterMonitorInitializer.cs | 789 | C# |
using System.Collections.Generic;
namespace Bev.IO.NmmReader.scan_mode
{
/// <summary>
/// A convienient container for some methods used to evaluate NMM scan files.
/// </summary>
public static class Scan
{
#region Public methods
/// <summary>
/// Interpr... | 48.92437 | 102 | 0.543971 | [
"MIT"
] | matusm/Bev.IO.NmmReader | Bev.IO.NmmReader/scan_mode/Scan.cs | 5,824 | C# |
using Protogame;
[Asset("ai.Test")]
public class TestAI : AIAsset
{
public override void Update(IEntity entity, IGameContext gameContext, IUpdateContext updateContext)
{
}
public override void Render(IEntity entity, IGameContext gameContext, IRenderContext renderContext)
{
}
public overri... | 25.294118 | 113 | 0.744186 | [
"Unlicense",
"MIT"
] | RedpointGames/Protogame | Protogame.Docs/core_arch/snippet/ai_logic.cs | 430 | C# |
using System.IO;
using System.Net.Security;
using System.Threading.Tasks;
namespace WinWeelay.Core
{
/// <summary>
/// Secure TCP connection with SSL.
/// </summary>
public class SslRelayTransport : TcpRelayTransport
{
/// <summary>
/// Initialize the network stream and vrify the S... | 31.333333 | 111 | 0.637116 | [
"MIT"
] | Heufneutje/WinWeeRelay | WinWeelay.Core/Transport/SslRelayTransport.cs | 848 | C# |
namespace ClearHl7.Codes.V290
{
/// <summary>
/// HL7 Version 2 Table 0653 - Date Format.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0653</remarks>
public enum CodeDateFormat
{
/// <summary>
/// 1 - mm/dd/yy.
/// </summary>
MmDdYyWithSlash... | 22.538462 | 60 | 0.397042 | [
"MIT"
] | davebronson/clear-hl7-net | src/ClearHl7.Codes/V290/CodeDateFormat.cs | 881 | C# |
// Generated class v2.19.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Javascript.Host.Svg
{
public partial class SVGGElement : NHtmlUnit.Javascript.Host.Svg.SVGGraphicsElement
{
... | 29.787879 | 127 | 0.701933 | [
"Apache-2.0"
] | JonAnders/NHtmlUnit | app/NHtmlUnit/Generated/Javascript/Host/Svg/SVGGElement.cs | 983 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Warning: This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if the
// code is regenerated.
using Sys... | 38.681416 | 179 | 0.600778 | [
"MIT"
] | DiogenesPolanco/azure-sdk-for-net | src/ResourceManagement/Automation/AutomationManagement/Generated/IDscNodeReportsOperations.cs | 4,371 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
#pragma warning disable 1591
namespace IdentityServer4.Admin.Api.Entities
{
public class ClientClaim
{
public virtual int Id... | 30.166667 | 107 | 0.672192 | [
"MIT"
] | DORAdreamless/IdentityServer4.AdminUI | src/IdentityServer4.Admin/IdentityServer4.Admin.Api/Entities/ClientClaim.cs | 545 | C# |
/************************************************************************************
Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved.
Licensed under the Oculus VR Rift SDK License Version 3.3 (the "License");
you may not use the Oculus VR Rift SDK except in compliance with the License,
which is pr... | 44.025069 | 233 | 0.68377 | [
"MIT"
] | GRArgo/VR-Test-Base | Assets/OVR/Scripts/OVRInput.cs | 128,201 | C# |
namespace Machete.Benchmarking.Configuration
{
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Exporters.Csv;
using BenchmarkDotNet.Jobs;
public c... | 31.418605 | 101 | 0.555885 | [
"Apache-2.0"
] | AreebaAroosh/Machete | src/Machete.Benchmarking/Configuration/DotNetCoreBenchmarkConfig.cs | 1,353 | C# |
namespace Box.V2
{
/// <summary>
/// Interface that defines a Box form part
/// </summary>
public interface IBoxFormPart
{
/// <summary>
/// The name of the form part
/// </summary>
string Name { get; }
}
/// <summary>
/// Interface that t... | 22.259259 | 59 | 0.49584 | [
"Apache-2.0"
] | box/box-windows-sdk-v2 | Box.V2/Wrappers/Contracts/IBoxFormPart.cs | 601 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using CoreAnimation;
using CoreGraphics;
using Foundation;
using Microsoft.Extensions.Logging;
using UIKit;
using Uno.Extensions;
using Uno.UI;
using Uno.UI.Controls;
using Uno.UI.Extensions;
using Windows.Devices.Input;
using... | 29.060201 | 155 | 0.694096 | [
"Apache-2.0"
] | SuperJMN/uno | src/Uno.UI/UI/Xaml/UIElement.iOS.cs | 8,691 | C# |
#region License
// Copyright(c) Workshell Ltd
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify,... | 37.625 | 122 | 0.702243 | [
"MIT"
] | Workshell/pe | src/Workshell.PE.Resources/Dialogs/Styles/WindowStyle.cs | 2,410 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.ServiceModel;
using TimeSpent.Business.Contracts;
namespace TimeSpent.ServiceHost.Tests
{
[TestClass]
public class ServiceAccessTest
{
[TestMethod]
public void test_time_entry_manager_as_service()
{
... | 25.041667 | 105 | 0.688852 | [
"MIT"
] | saeidehv/TimeSpent | TimeSpent.ServiceHost.Tests/ServiceAccessTest.cs | 603 | C# |
using System.Collections.Generic;
using Search.Index;
using Search.Text;
namespace Search.Query
{
public interface IQueryComponent
{
/// <summary>
/// Get Postings
/// </summary>
/// <param name="index">Index</param>
/// <param name="processor">Tokene processor</param>
... | 24.277778 | 76 | 0.615561 | [
"MIT"
] | sotheanith/CECS-529-SearchEngine | Models/Search.Query/IQueryComponent.cs | 439 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ZombieSmashers.map;
using ZombieSmashers.quake;
using ZombieSmashers.audio;
using Microsoft.Xna.Framework.Net;
namespace ZombieSmashers.Particles
{
/// <summary>
/// P... | 36.48538 | 171 | 0.467863 | [
"MIT"
] | tlzyh/ZombieSmashersXNA4 | GameZS/Particles/ParticleManager.cs | 12,478 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CurvedWeightedTest : MonoBehaviour
{
public List<Transform> weightedTransforms;
public AnimationCurve weightCurve;
private Wrj.WeightedElements<Transform> weightedElements;
// Start is called before the first ... | 32.594595 | 121 | 0.66335 | [
"MIT"
] | williamrjackson/BallBlastUnityCaseStudy | Assets/UnityScriptingUtilities/Example/CurvedWeightedTest.cs | 1,208 | C# |
namespace Magellan.Events
{
/// <summary>
/// This event indicates that the action has been resolved, and pre-action filters are
/// about to be invoked.
/// </summary>
public class PreActionFiltersNavigationEvent : NavigationEvent
{
}
} | 25.272727 | 92 | 0.640288 | [
"MIT"
] | CADbloke/magellan-framework | src/Magellan/Events/PreActionFiltersNavigationEvent.cs | 280 | C# |
namespace Ecoset.WebUI.Models {
public class PaymentRequest {
public decimal Amount {get;set;}
public string Description {get;set;}
public string ThirdPartyHash {get;set;}
}
} | 26 | 47 | 0.658654 | [
"MIT"
] | AndrewIOM/ecoset | src/web/Ecoset.WebUI/Areas/Payments/Models/PaymentRequest.cs | 208 | C# |
using DapperInfrastructure.Extensions.Domain;
using DapperInfrastructure.Extensions.Domain.Base;
namespace BH.Domain.Entity.Base
{
/// <summary>
/// 基于类型Int的Domain实体
/// </summary>
public abstract class EntityWidthIntType : EntityByType<int>
{
/// <summary>
/// 主键ID
/// </s... | 22.210526 | 64 | 0.625592 | [
"MIT"
] | Cotide/Dapper-Infrastructure | Code/BH.Domain/Entity/Base/EntityWidthIntType.cs | 442 | C# |
using FreeSql.DataAnnotations;
using System;
using Xunit;
namespace FreeSql.Tests.Odbc.PostgreSQL
{
public class PostgreSQLDbFirstTest
{
[Fact]
public void GetDatabases()
{
var t1 = g.pgsql.DbFirst.GetDatabases();
}
[Fact]
public void GetTablesByDa... | 17.384615 | 92 | 0.590708 | [
"MIT"
] | Coldairarrow/FreeSql | FreeSql.Tests/FreeSql.Tests.Provider.Odbc/PostgreSQL/PostgreSQLDbFirstTest.cs | 452 | C# |
using Microsoft.Extensions.DependencyInjection;
using NativoPlusStudio.AuthToken.Core;
using NativoPlusStudio.AuthToken.Core.Extensions;
using NativoPlusStudio.AuthToken.Core.Interfaces;
using NativoPlusStudio.AuthToken.FIS.Configuration;
using Polly;
using System;
namespace NativoPlusStudio.AuthToken.FIS.Extensions
... | 40.847458 | 99 | 0.615353 | [
"MIT"
] | nativoplus/NativoPlusStudio.AuthToken.Fis | NativoPlusStudio.AuthToken.FIS/Extensions/FisServiceCollectionExtensions.cs | 2,412 | C# |
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace Viato.Api.Entities
{
public class AppUser : IdentityUser<long>
{
public virtual List<Organization> Organizations { get; set; } = new List<Organization>();
}
}
| 23.818182 | 97 | 0.71374 | [
"Apache-2.0"
] | viato/viato-api | src/Viato.Api/Entities/AppUser.cs | 264 | C# |
using System;
using AppRopio.Base.Core.Services.Router;
using AppRopio.Base.Core.Services.ViewModelLookup;
using AppRopio.ECommerce.Marked.Core.Services;
using AppRopio.ECommerce.Marked.Core.Services.Implementation;
using AppRopio.ECommerce.Marked.Core.ViewModels.Marked;
using AppRopio.ECommerce.Marked.Core.ViewModels... | 35.945946 | 140 | 0.725564 | [
"Apache-2.0"
] | cryptobuks/AppRopio.Mobile | src/app-ropio/AppRopio.ECommerce/Marked/Core/App.cs | 1,332 | C# |
using System;
using System.Collections.Generic;
using Umbraco.Core.Events;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Scoping;
namespace Umbraco.Core.Services.Implement
{
internal class RedirectUrlService : ScopeRepositoryService, IRedire... | 34.764228 | 124 | 0.598924 | [
"MIT"
] | AaronSadlerUK/Umbraco-CMS | src/Umbraco.Core/Services/Implement/RedirectUrlService.cs | 4,278 | C# |
using Conductor.Repositories.DTO;
namespace Conductor.Repositories
{
public interface IArtistRepository
{
ArtistDTO GetArtist(string key);
ArtistDTO GetArtistByMacAddress(string macAddress);
void CreateArtist(ArtistDTO artist);
void BindArtistToEnsemble(ArtistDTO artist, Ense... | 23.133333 | 74 | 0.729107 | [
"Apache-2.0"
] | carstengehling/bigband | Conductor/Repositories/IArtistRepository.cs | 349 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Numerics;
using ImGuiNET;
using Microsoft.Xna.Framework.Graphics;
using Parme.Core;
namespace Parme.Editor.Ui.Elements.Editors
{
public class TextureSectionDisplayEditor : SettingsEditorBase
{
private re... | 36.912088 | 126 | 0.574278 | [
"MIT"
] | KallDrexx/PaRME | Parme.Editor/Ui/Elements/Editors/TextureSectionDisplayEditor.cs | 3,361 | C# |
using UnityEngine;
using System;
using System.Collections;
// Создать ещё 4 уровня чтобы их было 5 не считая тренировочного с ним будет 6
// Похоже что в коде для стола придёться расширить количество доступных материалов для него до 5, и изменить назначения материалов. А именно (1 и 2 материал для поля), а (3, 4 и 5 д... | 77.951009 | 257 | 0.714407 | [
"Apache-2.0"
] | SERGZV/Slide_Repository | SlideProject/Assets/Scripts/GameManager.cs | 77,471 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Facebook;
using FacebookAds.Interfaces;
/// <summary>
/// The MIT License (MIT)
///
/// Copyright (c) 2017 - Luke Paris (Paradoxis) | Searchresult Performancemarketing
///
/// Permission is hereby... | 38.59375 | 123 | 0.695547 | [
"MIT"
] | AsimKhan2019/Facebook-Ads-SDK-C- | src/FacebookAds/FacebookAds/Object/WebAppLink.cs | 2,470 | C# |
#region License
//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted.
//
// 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... | 36.069444 | 142 | 0.515916 | [
"MIT"
] | PaintLab/PixelFarm.External | src/MiniOpenTk/OpenTk.Platforms/Platform/Windows/WinMMJoystick.cs | 15,584 | C# |
using Dolittle.Mapping;
using Machine.Specifications;
using System.Linq;
namespace Dolittle.Mapping.Specs.for_MappingTargets.given
{
public class no_mapping_targets : all_dependencies
{
protected static MappingTargets targets;
Establish context = () =>
{
mapping_targets_mo... | 28.111111 | 125 | 0.6917 | [
"MIT"
] | joelhoisko/DotNET.Fundamentals | Specifications/Mapping/for_MappingTargets/given/no_mapping_targets.cs | 508 | C# |
using GymWare.DataAccess.DAL;
using GymWare.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GymWare.Entities.DTO;
namespace GymWare.Logic
{
public class UsuarioLogic
{
private UsuarioRepository _us = new UsuarioReposit... | 37.022727 | 86 | 0.531614 | [
"MIT"
] | GMM-UTN/GymWare | GymWare-Backend/GymWare.Logic/UsuarioLogic.cs | 3,260 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace AppBoilerplate.Migrations
{
public partial class Upgrade_ABP_380 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "UserName",
... | 31.59375 | 71 | 0.497527 | [
"MIT"
] | marcoslevy/AppBoilerplate | aspnet-core/src/AppBoilerplate.EntityFrameworkCore/Migrations/20180726102703_Upgrade_ABP_3.8.0.cs | 2,024 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimationManager : Singleton<AnimationManager>
{
private Animator anim;
public void Play(string animationName)
{
anim.Play(animationName);
}
}
| 16.733333 | 59 | 0.76494 | [
"MIT"
] | fast-coffee-moths/room | Assets/Scripts/AnimationManager.cs | 253 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Yanyitec.Repo;
namespace Yanyitec.Org
{
public class Department : Record
{
/// <summary>
/// 部门名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 部门描述
/// </summa... | 21.851852 | 61 | 0.471186 | [
"MIT"
] | yanyitec/Yanyitec.Common | Yanyitec.Common/Org/Department.cs | 1,278 | C# |
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved
using System;
using System.IO;
using Improbable.Assets;
using UnityEngine;
namespace Improbable.Unity.Assets
{
/// <summary>
/// A filesystem-based asset bundle loader.
/// This implementation loads unity3d files from assets stored in the... | 36.046875 | 149 | 0.596446 | [
"MIT"
] | samc-improbable/WizardsTutorial | workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Assets/LocalAssetBundleLoader.cs | 2,307 | C# |
using GaiaProject.Engine.Model;
namespace GaiaProject.Engine.Logic.Entities.Effects
{
public class LogEffect : Effect
{
public string Message { get; }
public LogEffect(string message)
{
Message = message;
}
public override void ApplyTo(GaiaProjectGame game)
{
if (!string.IsNullOrEmpty(PlayerId))... | 17.444444 | 52 | 0.681529 | [
"MIT"
] | Etchelon/gaiaproject | Backend/Libraries/Engine/Logic/Entities/Effects/LogEffect.cs | 473 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace CSha... | 29.938462 | 239 | 0.651079 | [
"Apache-2.0"
] | 0x53A/roslyn | src/Samples/CSharp/Analyzers/CSharpAnalyzers/CSharpAnalyzers.Test/Tests/CompilationStartedAnalyzerWithCompilationWideAnalysisUnitTests.cs | 1,948 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeQuality.CSharp.Analyzers.ApiDesignGuidelines;
using Microsoft.CodeQuality.VisualBasic.Analyzers.ApiDesignGuidelines;
using Microsoft.Code... | 34.764706 | 161 | 0.736887 | [
"Apache-2.0"
] | RikkiGibson/roslyn-analyzers | src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiDesignGuidelines/DoNotHideBaseClassMethodsTests.Fixer.cs | 1,184 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Git.Controllers
{
using SUS.HTTP;
using SUS.MvcFramework;
public class HomeController : Controller
{
[HttpGet("/")]
public HttpResponse Index()
{
if (this.IsUserSignedIn())
{
... | 17.76 | 58 | 0.545045 | [
"MIT"
] | plambet0/GIT-Application | Apps/Git/Controllers/HomeController.cs | 446 | C# |
using Aspose.Words;
using Aspose.Words.Loading;
using Aspose.Words.Saving;
namespace VerifyTests;
public static partial class VerifyAspose
{
static ConversionResult ConvertWord(Stream stream, IReadOnlyDictionary<string, object> settings)
{
var document = new Document(stream);
return ConvertWo... | 36.488889 | 176 | 0.649817 | [
"MIT"
] | SimonCropp/Verify.Aspose | src/Verify.Aspose/VerifyAspose_Word.cs | 1,644 | C# |
using PlacetoPay.Redirection.Entities;
using System.Collections.Generic;
using System.Linq;
namespace PlacetoPay.Redirection.Validators
{
public class AmountBaseValidator : BaseValidator
{
/// <summary>
/// Validates if amount base entity contains the required information.
/// </summar... | 27.711111 | 94 | 0.534884 | [
"Apache-2.0"
] | placetopay-org/placetopay-redirection-csharp | src/Validators/AmountBaseValidator.cs | 1,249 | C# |
// <copyright file="Resources.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
namespace Datadog.Trace.Too... | 55.9375 | 221 | 0.756425 | [
"Apache-2.0"
] | DataDog/dd-trace-csharp | tracer/src/Datadog.Trace.Tools.Analyzers/ThreadAbortAnalyzer/Resources.cs | 897 | 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.Web.UI.WebControls.Internal
{
using System;
using System.Collections.Generic;
using ... | 35.803738 | 156 | 0.470634 | [
"MIT"
] | Mariusz11711/DNN | DNN Platform/DotNetNuke.Web/UI/WebControls/Internal/TermsSelector.cs | 3,833 | C# |
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
namespace MVCDatatables.Presentation.Models.Manage
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public IList<UserLoginInfo> Logins { get; set; }
public string PhoneNumber { get; set; }
p... | 27.666667 | 56 | 0.66988 | [
"MIT"
] | devston/jQuery-datatables-dotnet-mvc-component | src/MVCDatatables.Presentation.Models/Manage/IndexViewModel.cs | 417 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 46.349398 | 304 | 0.649337 | [
"MIT"
] | amrElroumy/azure-powershell | src/Sql/Sql/VulnerabilityAssessment/Cmdlet/VulnerabilityAssessmentSettings/ManagedInstance/UpdateAzureSqlManagedInstanceVulnerabilityAssessmentSettings.cs | 3,767 | 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... | 39.24 | 162 | 0.594801 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Route53/Generated/Model/Internal/MarshallTransformations/ListReusableDelegationSetsResponseUnmarshaller.cs | 5,886 | C# |
/**
* Copyright 2015 Canada Health Infoway, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 37.571429 | 83 | 0.711027 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/CentralSalish.cs | 1,052 | C# |
// UrlRewriter - A .NET URL Rewriter module
// Version 2.0
//
// Copyright 2011 Intelligencia
// Copyright 2011 Seth Yates
//
using System;
using System.Xml;
using Intelligencia.UrlRewriter.Actions;
using Intelligencia.UrlRewriter.Configuration;
using Intelligencia.UrlRewriter.Utilities;
namespace Intel... | 27.350877 | 90 | 0.56703 | [
"MIT"
] | sethyates/urlrewriter | src/Parsers/GoneActionParser.cs | 1,559 | C# |
using SlipeServer.Packets.Builder;
using SlipeServer.Packets.Enums;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace SlipeServer.Packets.Definitions.Lua.ElementRpc.Player;
public class ToggleControlAbility : Packet
{
public override PacketId PacketId => PacketId... | 28.74359 | 89 | 0.711864 | [
"MIT"
] | correaAlex/Slipe-Server | SlipeServer.Packets/Definitions/Lua/ElementRpc/Player/ToggleControlAbility.cs | 1,123 | C# |
using CStoJS.Exceptions;
using CStoJS.LexerLibraries;
using CStoJS.Inputs;
using System;
namespace CStoJS.ParserLibraries
{
public partial class Parser
{
public Token ClassModifier(){
printDebug("Class Modifier");
if( MatchAny( this.class_modifiers ) ){
return MatchOne(this.class_modifiers, ... | 21.02439 | 55 | 0.651972 | [
"MIT"
] | rNexeR/CSharpToJS | CStoJS/Parser/Modifiers/Modifiers.cs | 862 | C# |
using System;
using System.IO;
using System.Threading;
using EventStore.Common.Log;
using EventStore.Common.Utils;
using EventStore.Core.Bus;
using EventStore.Core.Data;
using EventStore.Core.Helpers;
using EventStore.Core.Messages;
using EventStore.Core.Services.Replication;
using EventStore.Core.Services.Storage;
usi... | 47.157706 | 198 | 0.59018 | [
"Apache-2.0"
] | bartelink/EventStore | src/EventStore.Core/Services/ClusterStorageWriterService.cs | 13,157 | C# |
using System.Threading.Tasks;
using Nethereum.JsonRpc.Client;
namespace Nethereum.Geth.RPC.Admin
{
/// <Summary>
/// The startWS administrative method starts an WebSocket based JSON RPC API webserver to handle client requests. All
/// the parameters are optional:
/// host: network interface... | 39.403846 | 125 | 0.636896 | [
"MIT"
] | Ali8668/Nethereum | src/Nethereum.Geth/RPC/Admin/AdminStartWS.cs | 2,049 | C# |
// Copyright 2020 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 ... | 55.577413 | 222 | 0.644795 | [
"Apache-2.0"
] | Global19/google-cloud-dotnet | apis/Google.Cloud.Talent.V4Beta1/Google.Cloud.Talent.V4Beta1.Tests/TenantServiceClientTest.g.cs | 30,512 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
namespace jIAnSoft.Nami.Core
{
/// <inheritdoc />
/// <summary>
/// Queue with bounded capacity. Will throw exception if capacity does not recede prior to wait time.
/// </summary>
public class BoundedQueue : IQueue
{
... | 23.297143 | 106 | 0.420652 | [
"MIT"
] | jiansoft/nami | Nami/Core/BoundedQueue.cs | 4,077 | C# |
using System;
using System.IO;
using System.Xml.Schema;
namespace XsdValidator
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("(C) 2011-2012 XSDValidator @ softlang in Koblenz");
if (args.Length < 1)
{
C... | 31.822581 | 111 | 0.437912 | [
"MIT"
] | 101companies/101repo | technologies/XSDValidator/Main.cs | 1,973 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using pdq.common.Logging;
namespace pdq.common.Connections
{
public abstract class ConnectionFactory : IConnectionFactory
{
private readonly ILoggerProxy logger;
private IDictionary<string, IConnection> connections;
... | 29.048193 | 175 | 0.55786 | [
"MIT"
] | daniel-buchanan/pdq | src/core/pdq.core.common/Connections/ConnectionFactory.cs | 2,413 | C# |
using NJsonSchema;
using NJsonSchema.CodeGeneration;
using NSwag.CodeGeneration.TypeScript.Models;
namespace NSwag.CodeGeneration.TypeScript.Templates
{
internal partial class JQueryCallbacksClientTemplate : ITemplate
{
public JQueryCallbacksClientTemplate(TypeScriptClientTemplateModel model)
... | 25.5 | 81 | 0.684492 | [
"MIT"
] | Witivio/NSwag | src/NSwag.CodeGeneration.TypeScript/Templates/JQueryCallbacksClientTemplate.Extensions.cs | 563 | C# |
using AsyncHotel.Data.Repositories.IRepositories;
using AsyncHotel.Models;
using AsyncHotel.Models.API;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AsyncHotel.Data.Repositories.DatabaseRepositories
{
public class D... | 26.23301 | 70 | 0.527387 | [
"MIT"
] | bproorda/AsyncHotel | AsyncHotel/Data/Repositories/DatabaseRepositories/DatabaseAmenityRepository.cs | 2,704 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Net;
using System.Text;
namespace CmlLib.Core.Auth
{
public enum MLoginResult { Success, BadRequest, WrongAccount, NeedLogin, UnknownError, NoProfile }
public class MLogin
{
public static readonly strin... | 32.752266 | 130 | 0.506964 | [
"MIT"
] | NamuTree0345/CmlLib.Core | CmlLib/Core/Auth/MLogin.cs | 10,843 | C# |
// <copyright file="Startup.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
using Kaponata.Kubernetes;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft... | 30.585366 | 107 | 0.545455 | [
"MIT"
] | kaponata-io/kaponata | src/Kaponata.Api/Startup.cs | 2,508 | C# |
// Copyright © Amer Koleci and Contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
namespace Vortice.Graphics.Samples;
class Program
{
static void Main()
{
ValidationMode validationMode = ValidationMode.Disabled;
#if DEBUG
validationM... | 26.904762 | 97 | 0.707965 | [
"MIT"
] | amerkoleci/Vortice.GPU | samples/HelloWorld/Program.cs | 566 | 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/sapi.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.Co... | 62.201258 | 397 | 0.698281 | [
"MIT"
] | Perksey/terrafx.interop.windows | sources/Interop/Windows/um/sapi/ISpeechRecoResultDispatch.cs | 9,892 | 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>
//---... | 40.958333 | 80 | 0.648016 | [
"MIT"
] | MiyaSteven/CSharp | FirstWebApp/obj/Debug/netcoreapp3.1/FirstWebApp.AssemblyInfo.cs | 983 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 23.072727 | 75 | 0.636722 | [
"MIT"
] | ThiagoAguirre/PromodelImprovement | TCC_Wpf/Wizard/SimulacaoPreliminar.xaml.cs | 1,274 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TeamBuilder.Data;
namespace TeamBuilder.Data.Migrations
{
[DbContext(typeof(... | 34.275229 | 125 | 0.462125 | [
"MIT"
] | LuGeorgiev/SoftUniDBAdvanced | Workshop/TeamBuilder.Data/Migrations/TeamBuilderContextModelSnapshot.cs | 7,474 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. 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.ComponentModel.DataAnnotations;
using System.IO;
using System.Text;
using ... | 37.204459 | 130 | 0.577091 | [
"Apache-2.0"
] | erravimishracse/Mvc | test/Microsoft.AspNetCore.Mvc.IntegrationTests/ValidationIntegrationTests.cs | 68,419 | C# |
using CTRE.Phoenix;
using Microsoft.SPOT;
namespace yearone2018
{
public class Deliver //delivering the ball into the connect four box
{
private const float minPWMSignalRange = 553f;
// private const float maxPWMSignalRange = 2425f;
private const float maxPWMSignalRange = 2450f... | 41.126582 | 177 | 0.561711 | [
"MIT"
] | Team302/2018Year1Robot | Deliver.cs | 3,251 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web... | 51.59188 | 196 | 0.623732 | [
"MIT"
] | liepnguyen/Planru | Planru.DistributedServices.WebAPI/Areas/HelpPage/HelpPageConfigurationExtensions.cs | 24,145 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | 46.751351 | 176 | 0.642965 | [
"Apache-2.0"
] | DavidBenko/Lean | Common/Data/UniverseSelection/OptionChainUniverse.cs | 8,651 | C# |
using EShopOnAbp.PaymentService.DbMigrations;
using EShopOnAbp.PaymentService.EntityFrameworkCore;
using EShopOnAbp.Shared.Hosting.AspNetCore;
using EShopOnAbp.Shared.Hosting.Microservices;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Cors;
using Microsoft.Extensions.DependencyInjection;
using Microso... | 37.149533 | 145 | 0.576604 | [
"MIT"
] | xyfy/eShopOnAbp | services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/PaymentServiceHttpApiHostModule.cs | 3,975 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EnemyTurretShooting : MonoBehaviour
{
public GameObject arrowPrefab;
public AudioSource shootingSound;
public float shootForce;
public Transform spawnRotation;
public Transform spa... | 21.625 | 64 | 0.692197 | [
"Apache-2.0"
] | pdtbinh/Unity_Boomee-Game | Scripts/MainGameScripts/Enemy/EnemyTurretShooting.cs | 694 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace org.secc.ChangeManager.Utilities
{
public class SecurityChangeDetail
{
public int ChangeRequestId { get; set; }
public string PreviousEmail { get; set; }
public... | 24.647059 | 55 | 0.692124 | [
"ECL-2.0"
] | engineeringdrew/RockPlugins | Plugins/org.secc.ChangeManager/Utilities/SecurityChangeDetail.cs | 421 | C# |
using System;
using Langly.Patterns;
using Xunit;
namespace Langly {
public class Patterns_Tests {
}
}
| 11.888889 | 30 | 0.747664 | [
"BSD-3-Clause"
] | roy98/LibLangly | Tests.CSharp/Langly/Patterns_Tests.cs | 109 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... | 47.661765 | 360 | 0.662758 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/LB/Inputs/ListenerDefaultActionArgs.cs | 3,241 | C# |
using Northwind.EntityLayer.Concrete.Bases;
#nullable disable
namespace Northwind.EntityLayer.Concrete.Models
{
public partial class ProductsAboveAveragePrice : EntityBase
{
public string ProductName { get; set; }
public decimal? UnitPrice { get; set; }
}
}
| 22.230769 | 63 | 0.712803 | [
"MIT"
] | 142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-1-yahyaerdoan | Northwind.EntityLayer/Concrete/Models/ProductsAboveAveragePrice.cs | 291 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Coyote.Specifications;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.Coyote.BugFinding.Tests
{
public class Task... | 37.901299 | 118 | 0.509457 | [
"MIT"
] | Magicianred/coyote | Tests/Tests.BugFinding/Tasks/Join/TaskWhenAllTests.cs | 14,594 | C# |
using System.Collections.Generic;
using SampSharp.GameMode;
namespace Grandlarc
{
public class SpawnPositions
{
public static IDictionary<City, IList<WorldPosition>> Positions =
new Dictionary<City, IList<WorldPosition>>
{
[City.LasVenturas] = new WorldPosition[... | 84.421875 | 97 | 0.594114 | [
"Unlicense"
] | SampSharp/sample-gm-grandlarc | src/Grandlarc/SpawnPositions.cs | 10,808 | C# |
//-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Akka.NET Project">
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//-... | 39.545455 | 87 | 0.66954 | [
"Apache-2.0"
] | EajksEajks/Akka.NET | src/examples/RemoteDeploy/System1/Properties/AssemblyInfo.cs | 1,743 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 42.41875 | 190 | 0.612936 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Schemas/Generated/Model/Internal/MarshallTransformations/CreateDiscovererResponseUnmarshaller.cs | 6,787 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.... | 65.988764 | 288 | 0.72978 | [
"MIT"
] | Dean-ZhenYao-Wang/roslyn | src/Features/Core/Portable/Diagnostics/IDiagnosticAnalyzerService.cs | 5,875 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Eto.Parse.Parsers
{
public sealed class RepeatCharItem : ICloneable
{
public Func<char, bool> Test { get; set; }
public int Minimum { get; set; }
public int Maximum { get; set; }
RepeatCharItem(RepeatCharItem other)
{
Test = o... | 21.65493 | 95 | 0.653333 | [
"MIT"
] | DanielDavis5/Eto.Parse | Eto.Parse/Parsers/RepeatCharTerminal.cs | 3,075 | 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... | 32.34 | 112 | 0.622449 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CloudDirectory/Generated/Model/BatchReadRequest.cs | 3,234 | C# |
using System.Runtime.InteropServices;
namespace NiftiCS
{
/// <summary>
/// Represents a Nifti1 Header object. This header must be read prior to
/// attempting to read a Nifti1 Image object. The Nifti1 Header contains
/// information relevant to the <i>type</i> of the data, as well as
/// spatial ... | 41.414286 | 91 | 0.621594 | [
"MIT"
] | swatalla/ioNIFTI | ioNIFTI/csnifti/Nifti1.cs | 5,800 | C# |
namespace SFA.Apprenticeships.Domain.Raa.Interfaces.Repositories
{
using System.Collections.Generic;
using Entities.Raa.Parties;
using Models;
public interface IProviderSiteReadRepository
{
ProviderSite GetById(int providerSiteId);
ProviderSite GetByEdsUrn(string edsUrn);
... | 33.633333 | 93 | 0.770069 | [
"MIT"
] | BugsUK/FindApprenticeship | src/SFA.Apprenticeships.Domain.Raa.Interfaces/Repositories/IProviderSiteRepository.cs | 1,011 | C# |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AlipayInsSceneSellerActivityQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayInsSceneSellerActivityQueryModel : AopObject
{
/// <summary>
/// 渠道账号对应的u... | 25.709677 | 67 | 0.59473 | [
"MIT"
] | leixf2005/Alipay.AopSdk.Core | Alipay.AopSdk.Core/Domain/AlipayInsSceneSellerActivityQueryModel.cs | 911 | 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("p02... | 38.054054 | 84 | 0.74929 | [
"MIT"
] | GitHarr/SoftUni | Homework/TechModule/ProgramingFundamentals-Normal/DictionariesLambdaAndLINQ-Exercises/p02.PhonebookUpgrade/Properties/AssemblyInfo.cs | 1,411 | C# |
namespace Utils {
public static class DoubleExtension {
public static double Factorial(this double i) {
if (i <= 1)
return 1;
return i * Factorial(i - 1);
}
}
} | 16.545455 | 49 | 0.620879 | [
"MIT"
] | MouradZzz/TankArena | Assets/Scripts/Extensions/DoubleExtension.cs | 182 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | 33.148148 | 77 | 0.750838 | [
"MIT"
] | snct-ukai/Flash-Alarm | Flash Alarm/Properties/AssemblyInfo.cs | 898 | C# |
// The MIT License (MIT)
//
// Copyright (c) 2014 Beanstream Internet Commerce Corp, Digital River, Inc.
//
// 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, incl... | 37.742857 | 81 | 0.732778 | [
"MIT"
] | jonagh/beanstream-dotnetcore | Beanstream/EmptyClass.cs | 1,323 | 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.
//
//
//
// Description: Factory interface to create views on collections.
//
// See spec at http://avalon/connecte... | 28.029412 | 79 | 0.653725 | [
"MIT"
] | 00mjk/wpf | src/Microsoft.DotNet.Wpf/src/WindowsBase/System/ComponentModel/ICollectionViewFactory.cs | 953 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace KirinUtil {
public class NetManager : MonoBehaviour {
//----------------------------------
// LocalIPを取得
//----------------------------------
public string GetLocalI... | 32.096774 | 88 | 0.481206 | [
"MIT"
] | mizutanikirin/KirinUtil | KirinUtil/Assets/KirinUtil/Scripts/Network/NetManager.cs | 5,005 | C# |
using Microsoft.AspNetCore.Mvc;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.PostResultsService;
using System.Threading.Tasks;
namespace Sfa.Tl.ResultsAndCertification.Web.UnitTests.Controllers.PostResultsServiceControllerTests.PrsSelectAssessmentSeriesPost
{
public abstract class TestSetup : PostResultsSer... | 37.176471 | 130 | 0.761076 | [
"MIT"
] | SkillsFundingAgency/tl-results-and-certification | src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/PostResultsServiceControllerTests/PrsSelectAssessmentSeriesPost/TestSetup.cs | 634 | C# |
using System;
using ReactiveDomain.Transport.BufferManagement;
namespace ReactiveDomain.Transport.Formatting
{
public interface IMessageFormatter<T>
{
/// <summary>
/// Converts the object to a <see cref="BufferPool"></see> representing a binary format of it.
/// </summary>
/// ... | 42.039216 | 110 | 0.616138 | [
"MIT"
] | PKI-InVivo/reactive-domain | src/ReactiveDomain.Transport/Formatting/IMessageFormatter.cs | 2,144 | C# |
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Barebone.ViewModels.Account;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.As... | 35.419355 | 138 | 0.618094 | [
"Apache-2.0"
] | Xarkam/ExtCore-Sample-Authorize | src/Barebone/Controllers/AccountController.cs | 3,294 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.