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 |
|---|---|---|---|---|---|---|---|---|
namespace ProyectoIntegrador4SA
{
partial class Consultar_Resultados
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </sum... | 45.708333 | 225 | 0.608933 | [
"MIT"
] | Tomvargas/VOTOS | votos/Consultar Resultados.Designer.cs | 4,390 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using Newtonsoft... | 38.96789 | 128 | 0.543732 | [
"MIT"
] | axa-group/radar | src/RadarTechno/Entities/EntityController.cs | 8,497 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SlimDX.DirectWrite;
using VVVV.Core.DirectWrite;
using System.Runtime.InteropServices;
namespace VVVV.DX11.Nodes.Text
{
public unsafe class FWColorStyler : ITextStyler, IDisposable
{
... | 27.833333 | 132 | 0.546241 | [
"BSD-3-Clause"
] | laurensrinke/dx11-vvvv | Nodes/VVVV.DX11.Nodes.Text/Lib/ColorStyler.cs | 1,505 | C# |
using NSwag.Generation.Processors;
using NSwag.Generation.Processors.Contexts;
using System.Collections.Generic;
namespace Timeline.Swagger
{
/// <summary>
/// Swagger operation processor that adds default description to response.
/// </summary>
public class DefaultDescriptionOperationProcess... | 36.8 | 107 | 0.586957 | [
"MIT"
] | crupest/Timeline | BackEnd/Timeline/Swagger/DefaultDescriptionOperationProcessor.cs | 1,474 | C# |
using System;
using System.Linq;
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Query;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.OData;
namespace HBK.Storage.Api.OData
{
/// <summary>
/// 啟用 OData 參數查詢
/// </summary>
public class... | 31.75 | 133 | 0.583802 | [
"MIT"
] | nightsoul357/HBK-Storage | HBK.Storage.Api/OData/EnableODataQueryAttribute.cs | 1,820 | C# |
using UnityEngine;
using System.Collections;
public class tk2dTileMapDemoFollowCam : MonoBehaviour {
tk2dCamera cam;
public Transform target;
public float followSpeed = 1.0f;
public float minZoomSpeed = 20.0f;
public float maxZoomSpeed = 40.0f;
public float maxZoomFactor = 0.6f;
void Awake() {
cam = GetCo... | 27.242424 | 95 | 0.726363 | [
"MIT"
] | hazdviel/mathnificat | Assets/TK2DROOT/tk2dTileMap_demo/Demo1/Scripts/tk2dTileMapDemoFollowCam.cs | 899 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LittleGuyView : MonoBehaviour
{
[SerializeField] private Animator AnimationControl;
public void StartIdleAnimation()
{
AnimationControl.SetTrigger("Idle");
}
public void StartWalkAnimation()
{
AnimationControl... | 16.52381 | 52 | 0.763689 | [
"MIT"
] | FriedrichWessel/UnityEditorDeviceConnection | Assets/EditorConnectionWindow/Example/LittleGuy/LittleGuyView.cs | 349 | C# |
using System.Text.Json;
using JT808.Protocol.Extensions;
using JT808.Protocol.Formatters;
using JT808.Protocol.Interfaces;
using JT808.Protocol.MessagePack;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// UDP 消息重传次数
/// 0x8103_0x0005
/// </summary>
public class JT808_0x8103_0x0005 : JT80... | 37.820513 | 130 | 0.605424 | [
"MIT"
] | jackyzcq/JT808 | src/JT808.Protocol/MessageBody/JT808_0x8103_0x0005.cs | 3,038 | C# |
using HairSalon.Dtos;
using HairSalon.Services;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Description;
namespace HairSalon.Controllers
{
[Authorize]
[RoutePrefix("api/serviceProvider")]
public class ServiceProviderController : ApiController
{
public ServiceP... | 33.77551 | 138 | 0.703323 | [
"MIT"
] | QuinntyneBrown/hair-salon | HairSalon/Controllers/ServiceProviderController.cs | 1,655 | 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 "li... | 35.264151 | 110 | 0.624666 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/ActionMarshaller.cs | 3,738 | C# |
using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace Gsv.EntityFrameworkCore
{
public static class GsvDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<GsvDbContext> builder, string connectionString)
{
builder.UseSqlServer(connectionStrin... | 29.238095 | 108 | 0.687296 | [
"MIT"
] | d2cLabs/Gsv | aspnet-core/src/Gsv.EntityFrameworkCore/EntityFrameworkCore/GsvDbContextConfigurer.cs | 614 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Caracal.PayStation.Storage.Postgres.Migrations
{
public partial class WorkflowColumn : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "wo... | 29.074074 | 71 | 0.564331 | [
"MIT"
] | Caracal-IT/pay-station | src/Source/Caracal.PayStation.Storage.Postgres/Migrations/20210430123054_WorkflowColumn.cs | 787 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// ---------------------------------------------------------------------------
// TypeHashingAlgorithms.cs
//
// Generic functions to compute the hashcode value of type... | 34.108108 | 120 | 0.569995 | [
"MIT"
] | ZZHGit/corert | src/Common/src/Internal/NativeFormat/TypeHashingAlgorithms.cs | 3,788 | 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("Sa... | 37 | 84 | 0.743709 | [
"Apache-2.0"
] | holtsoftware/House | Sannel.House.Thermostat/Sannel.House.Thermostat.Data/Properties/AssemblyInfo.cs | 1,076 | 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.OutputCaching;
/// <summary>
/// A named policy.
/// </summary>
internal sealed class NamedPolicy : IOutputCachePolicy
{
private readonly string _... | 28.057143 | 117 | 0.664969 | [
"Apache-2.0"
] | aspnet/AspNetCore | src/Middleware/OutputCaching/src/Policies/NamedPolicy.cs | 1,964 | C# |
using Photon.Pun;
using Photon.Realtime;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace BNG {
public class NetworkManager : MonoBehaviourPunCallbacks {
/// <summary>
/// Maximum number of players per room. If the room is full, a new ... | 34.874172 | 139 | 0.594569 | [
"MIT"
] | CheongHo-Lee/blockcodingVR-unity | Assets/BNG Framework/Integrations/PUN/NetworkManager.cs | 5,268 | C# |
//
// Copyright (c) Microsoft. 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
//
// Unless require... | 41.963801 | 183 | 0.582122 | [
"MIT"
] | AzureDataBox/azure-powershell | src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs | 90,533 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CustomUIEventArgs.cs" company="NBug Project">
// Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license.
// </copyright>
// -----------------------------------------... | 31.5 | 119 | 0.572362 | [
"MIT"
] | JavierCanon/ExceptionReporter.NET | src/Others/NBug/NBug/Events/CustomUIEventArgs.cs | 1,071 | C# |
using UnityEngine;
namespace Ez.Threading
{
public static class TimeExtension
{
public static ITask<float> StartingIn(this ITask<float> self, float durationInSeconds)
{
return self.StartingAt(Time.time + durationInSeconds);
}
public static ITask<float> StartingAt(th... | 33.540541 | 122 | 0.556809 | [
"MIT"
] | foxtrot-roger/unity-EzThreading | Assets/_Libraries/Ez/Scripts/Threading/Unity/TimeExtension.cs | 2,484 | C# |
namespace SFA.Apprenticeships.Application.UnitTests.Candidates.Strategies.ActivationReminder
{
using Apprenticeships.Application.Candidates.Configuration;
using Apprenticeships.Application.Candidates.Strategies;
using Apprenticeships.Application.Candidates.Strategies.ActivationReminder;
using Configura... | 38.677966 | 137 | 0.712971 | [
"MIT"
] | BugsUK/FindApprenticeship | src/SFA.Apprenticeships.Application.UnitTests/Candidates/Strategies/ActivationReminder/SendAccountRemindersStrategyBuilder.cs | 2,284 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Agent.Sdk;
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.VisualStudio.Services.PipelineCache.WebApi;
namespace... | 38.821053 | 178 | 0.593275 | [
"MIT"
] | 50Wliu/azure-pipelines-agent | src/Agent.Plugins/PipelineCache/SavePipelineCacheV0.cs | 3,688 | C# |
using System;
using System.Windows.Forms;
namespace QO_100_ADIF_Tool
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Ap... | 22 | 65 | 0.581818 | [
"MIT"
] | sanjint/QO-100_ADIF | QO-100 ADIF Tool/Program.cs | 442 | C# |
namespace VkNet.Enums.SafetyEnums
{
/// <summary>
/// Тип служебного альбома с фотографиями
/// </summary>
public sealed class PhotoAlbumType : SafetyEnum<PhotoAlbumType>
{
/// <summary>
/// Фотографии со стены
/// </summary>
public static readonly PhotoAlbumType Wall = RegisterPossibleValue("wall");
/... | 25.636364 | 83 | 0.682033 | [
"MIT"
] | uid17/VK | VkNet/Enums/SafetyEnums/PhotoAlbumType.cs | 968 | C# |
using FreeSql.Internal;
using FreeSql.Internal.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace FreeSql.Sqlite
{
class SqliteExpression : CommonExpression
{
public SqliteExpression(CommonUti... | 57.201735 | 187 | 0.466705 | [
"MIT"
] | Coldairarrow/FreeSql | Providers/FreeSql.Provider.Sqlite/SqliteExpression.cs | 26,378 | 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 Microsoft.ML.Probabilistic.Distributions;
using Microsoft.ML.Probabilistic.Math;
using Microsoft.ML.Probabili... | 33.555769 | 204 | 0.512751 | [
"MIT"
] | Bruugs/infer | src/Examples/CrowdsourcingWithWords/Results.cs | 17,451 | C# |
using System.Collections.Generic;
using System.Linq;
using FluentNHibernate.Mapping;
using FluentNHibernate.Conventions;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionFinderTests
{
[TestFixture]
public class FindTests
{
private DefaultConventionFinder finder;
... | 28.516484 | 120 | 0.582466 | [
"BSD-3-Clause"
] | HudsonAkridge/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionFinderTests/FindTests.cs | 5,190 | C# |
using SKBKontur.Cassandra.CassandraClient.Clusters;
namespace SKBKontur.Cassandra.CassandraClient.Connections
{
public interface ICassandraConnectionParameters
{
int Attempts { get; }
int Timeout { get; }
}
public class CassandraConnectionParameters : ICassandraConnectionParameters
... | 31.608696 | 96 | 0.738652 | [
"MIT"
] | Umqra/cassandra-thrift-client | Cassandra.ThriftClient/Connections/CassandraConnectionParameters.cs | 729 | C# |
//The MIT License (MIT)
//
//Copyright 2015 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 without restriction, including without limitation the rights
//to use, cop... | 34.793103 | 79 | 0.737859 | [
"MIT"
] | Bhaskers-Blu-Org2/enhanced-monitoring-service | src/EnhancedMonitoring/Configuration/SupportedVMDetectorConfiguration.cs | 2,020 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Nettolicious.Common.Mock {
public class TestAsyncEnumerator<T> : IAsyncEnumerator<T> {
private readonly IEnumerator<T> _inner;
public TestAsyncEnumerator(IEnumerator<T> inner) {
_inner = inner;
}
public ValueTask Dispo... | 20.857143 | 61 | 0.652397 | [
"MIT"
] | nettolicious/ef-reference | Common/Mock/TestAsyncEnumerator.cs | 586 | C# |
namespace Amazon.Elb.Tests
{
public class DeleteTargetGroupRequestTests
{
[Fact]
public void Serialize()
{
var request = new DeleteTargetGroupRequest("arn");
Assert.Equal("Action=DeleteTargetGroup&TargetGroupArn=arn", Serializer.Serialize(request));
... | 26.153846 | 104 | 0.597059 | [
"MIT"
] | TheJVaughan/Amazon | src/Amazon.Elb.Tests/Requests/DeleteTargetGroupRequestTests.cs | 342 | C# |
namespace SeeSharper.Northwind.Columns
{
using Serenity.ComponentModel;
using System;
[ColumnsScript("Northwind.SalesByCategory")]
[BasedOnRow(typeof(Entities.SalesByCategoryRow))]
public class SalesByCategoryColumns
{
[Width(150), SortOrder(1)]
public String CategoryName { ge... | 30.444444 | 91 | 0.655109 | [
"MIT"
] | kingajay007/SeeSharper-Master | SeeSharper.Web/Modules/Northwind/SalesByCategory/SalesByCategoryColumns.cs | 550 | C# |
using System;
using System.Text;
namespace SecureCodingWorkshop.DES
{
static class Program
{
static void Main(string[] args)
{
var des = new DesEncryption();
var key = des.GenerateRandomNumber(8);
var iv = des.GenerateRandomNumber(8);
... | 33.806452 | 88 | 0.560115 | [
"MIT"
] | theDiverDK/SecureCodingWorkshop | Complete/SecureCodingWorkshop/DES/Program.cs | 1,050 | C# |
// <copyright file="ItemOfItemSet.Generated.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
//------------------------------------------------------------------------------
// <auto-generated>
// This source code was auto-... | 33.032609 | 145 | 0.569595 | [
"MIT"
] | MUnique/OpenMU | src/Persistence/BasicModel/ItemOfItemSet.Generated.cs | 3,039 | C# |
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(WebApi.Region.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(WebApi.Region.App_Start.NinjectWebCommon), "Stop")]
namespace WebApi.Region.App_Start
{
using System;
using System.Web;
using S... | 40.058252 | 119 | 0.568589 | [
"MIT"
] | AlexanderVieira/WebApiSocialNetwork-Ioc-Identity | WebApi.Region/App_Start/NinjectWebCommon.cs | 4,126 | C# |
using System;
using UnityEngine;
namespace Game
{
internal class BulletView : MonoBehaviour
{
public struct Ctx
{
public Action onHit;
public float damage;
public Vector3 velocity;
}
[SerializeField] private Collider detector;
[SerializeField] private Rigid... | 18.323529 | 50 | 0.600321 | [
"MIT"
] | crossthefrog/testtask1 | arch/Assets/Scripts/Game/Bullets/BulletView.cs | 623 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
/... | 41.136029 | 241 | 0.651622 | [
"MIT"
] | borewik/SteamBot | lib/JSON Library/Newtonsoft.Json.Tests/Converters/IsoDateTimeConverterTests.cs | 11,191 | C# |
//-----------------------------------------------------------------------
// <copyright file="Definitions.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//------------------------... | 34.823529 | 114 | 0.540541 | [
"BSD-2-Clause"
] | armadillo-winX/ThScoreFileConverter | ThScoreFileConverter/Models/Th09/Definitions.cs | 594 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System;
namespace Tardigrade.Framework.EntityFrameworkCore.Configurations
{
/// <summary>
/// ConfigurationSource for a provider that reads application settings from a database.
/// <a href="https://docs.microsoft.com/en-... | 38.8 | 174 | 0.706186 | [
"Apache-2.0"
] | CaptainMesomorph/tardigrade-framework | Code/Tardigrade.Framework/Tardigrade.Framework.EntityFrameworkCore/Configurations/AppSettingsConfigurationSource.cs | 1,166 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NetTopologySuite.Geometries;
usin... | 41.860041 | 125 | 0.450421 | [
"MIT"
] | NSysX/NSysWeb | NSysWeb/src/Infraestructure/Persistence/Migrations/20220106234059_AjusteEnMunicipiosCRUD.Designer.cs | 61,913 | C# |
using System;
using My2C2P.Org.BouncyCastle.Asn1;
using My2C2P.Org.BouncyCastle.Math;
namespace My2C2P.Org.BouncyCastle.Crypto.Parameters
{
public class DHPublicKeyParameters
: DHKeyParameters
{
private readonly BigInteger y;
public DHPublicKeyParameters(
BigInteger y,
DH... | 19.402985 | 62 | 0.605385 | [
"MIT"
] | 2C2P/My2C2PPKCS7 | My2C2PPKCS7/crypto/parameters/DHPublicKeyParameters.cs | 1,300 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RegisterButton : MonoBehaviour
{
public GameObject registration;
private void OnMouseDown()
{
registration.SetActive(true);
}
}
| 17.75 | 43 | 0.697183 | [
"MIT"
] | Andrii-Samoilov/EndJoy | EndJoy/Assets/Scripts/RegisterButton.cs | 286 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace MySqlBackupTestApp
{
static class Program
{
public static string Version = "V2.3.6";
public static string DateVersion = "October 17, 2021";
private static string _connectionString = "";
publ... | 31.680556 | 238 | 0.544936 | [
"Unlicense"
] | MySqlBackupNET/MySqlBackup.Net | source code/Test_WinForm/Program.cs | 2,283 | C# |
namespace ET
{
public class MessageHandlerAttribute: BaseAttribute
{
public SceneType SceneType { get; }
public MessageHandlerAttribute(SceneType sceneType)
{
this.SceneType = sceneType;
}
}
} | 20.833333 | 59 | 0.616 | [
"MIT"
] | xushi-mike/ET | Unity/Codes/Model/Module/Message/MessageHandlerAttribute.cs | 252 | C# |
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace library.entities
{
public class Members
{
[Key]
[Column(Order=1)]
public int MemberId { get; set; }
[Column(Order=2)]
publ... | 21.1 | 52 | 0.665877 | [
"MIT"
] | LuisAlvar/reminderapi | library/entities/Members.cs | 422 | C# |
#if NET20
// ReSharper disable once CheckNamespace
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
internal class ExtensionAttribute : Attribute
{
}
}
#endif | 25.4 | 87 | 0.755906 | [
"MIT"
] | UblSharp/UblSharp | src/UblSharp/Internal/ExtensionAttribute.cs | 256 | C# |
namespace AngleSharp.Dom.Css
{
/// <summary>
/// Available device update frequencies.
/// </summary>
public enum UpdateFrequency : byte
{
/// <summary>
/// Once it has been rendered, the layout can no longer
/// be updated. Example: documents printed on paper.
/// </... | 33.6875 | 65 | 0.57885 | [
"MIT"
] | ArmyMedalMei/AngleSharp | src/AngleSharp/Dom/Css/Constants/UpdateFrequency.cs | 1,080 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MeisterGeister.ViewModel.Generator.Container
{
class Person : PersonNurName
{
// toString überschreiben
// Formatierbares ergänzen
}
}
| 17.625 | 55 | 0.663121 | [
"Apache-2.0"
] | Constructor0987/MeisterGeister | ViewModel/Generator/Container/Person.cs | 286 | C# |
using UnityEngine;
namespace AbstractFactory
{
public partial class UiSystemPlatformsFactoryUsage
{
//Concrete Product A1
public class XboxInput : IInput
{
public KeyCode Jump => KeyCode.JoystickButton0;
public KeyCode Attack => KeyCode.JoystickButton1;
... | 30.188679 | 124 | 0.485 | [
"MIT"
] | ycarowr/Unity-Design-Patterns | Assets/Creational/AbstractFactory/UiSystemPlatformsFactory/Scripts/UiSystemPlatformsFactoryUsage.ConcreteProducts.cs | 1,600 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Extensions.Options;
namespace Microsoft.AspNetCore.Mvc.Razor;
internal class RazorViewEngineOptionsSetup : IConfigureOptions<RazorViewEngineOptions>
{
public vo... | 39.52 | 107 | 0.72166 | [
"MIT"
] | 3ejki/aspnetcore | src/Mvc/Mvc.Razor/src/RazorViewEngineOptionsSetup.cs | 988 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using WebApi.Entities;
using WebApi.Helpers;
namespace WebApi.Services
{
public interface IUserService
{
User Authenticate(string username, string password);
IEnumerable<User> GetAll();
User GetById(int id);
User... | 33.395604 | 145 | 0.561204 | [
"MIT"
] | grabraine/grabraine | Services/UserService.cs | 6,078 | C# |
using Faker.Tests.Base;
using NUnit.Framework;
namespace Faker.Tests.en
{
[TestFixture]
[SetUICulture("en")]
[SetCulture("en")]
[Category("Culture 'en'")]
public class LoremEnglishTests : LoremTestsBase
{
}
} | 17.714286 | 51 | 0.625 | [
"MIT"
] | AdmiringWorm/Faker.NET.Portable | tests/Faker.Tests/en_LoremEnglishTests.cs | 250 | C# |
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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 la... | 35.921708 | 173 | 0.428472 | [
"Apache-2.0"
] | Ektai-Solution-Pty-Ltd/CommunityServer | web/core/ASC.Web.Core/Client/Bundling/GoogleCloudStorageTransform.cs | 10,094 | C# |
namespace $safeprojectname$
{
using $safeprojectname$.Views;
using More;
using More.Composition;
using More.Composition.Hosting;
using System;
using System.Linq;
/// <summary>
/// Represents the current program.
/// </summary>
public static class Program
{
/// <summary... | 29.8 | 91 | 0.559284 | [
"MIT"
] | JTOne123/More | src/Sdk/Templates/Desktop/Projects/WpfApplication/Program.cs | 896 | C# |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets
{
using System.Management.Automation;
/// <summary>
/// <para type="synopsis">Retriev... | 70.539568 | 266 | 0.704742 | [
"MIT"
] | 365Academic/Intune-PowerShell-SDK | PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/Assignments.cs | 19,610 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 39.75 | 132 | 0.692396 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ServiceFabric/V20191101Preview/Inputs/ArmServiceTypeHealthPolicyArgs.cs | 1,749 | C# |
using System;
namespace Askmethat.Aspnet.JsonLocalizer.Sample.I18nTest.Data
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int) (TemperatureC / 0.5556);
public string Summary { get; se... | 22.133333 | 70 | 0.635542 | [
"MIT"
] | ErikApption/Askmethat-Aspnet-JsonLocalizer | test/Askmethat.Aspnet.JsonLocalizer.I18nTestSample/Data/WeatherForecast.cs | 332 | C# |
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole, Rob Prouse
//
// 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 restr... | 44.134078 | 128 | 0.649241 | [
"MIT"
] | IlyaFinkelshteyn/nunit-console | src/NUnitEngine/nunit.engine.tests/Drivers/NotRunnableFrameworkDriverTests.cs | 7,902 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Xunit.Sdk
{
static class CollectionExtensions
{
public static List<T> CastOrToList<T>(this IEnumerable<T> source)
{
return source as List<T> ?? source.ToList();
}
public static T[] CastOrToArray<T>(this ... | 22.368421 | 73 | 0.592941 | [
"Apache-2.0"
] | nerdymishka/gainz | dotnet/src/Testing/Mettle.Xunit/Common/CollectionExtensions.cs | 425 | C# |
using Cysharp.Threading.Tasks;
using Cysharp.Threading.Tasks.Linq;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Xunit;
namespace NetCoreTests.Linq
{
public class Convert
... | 33.13198 | 128 | 0.493642 | [
"MIT"
] | Cysharp/UniTask | src/UniTask.NetCoreTests/Linq/Convert.cs | 6,527 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Security.Cryptography.X509Certificates;
using static OrchardCore.OpenId.Settings.OpenIdServerSettings;
namespace OrchardCore.OpenId.ViewModels
{
public class OpenIdServerSettingsViewModel
{
public ... | 42.136364 | 99 | 0.653722 | [
"BSD-3-Clause"
] | 1426463237/OrchardCore | src/OrchardCore.Modules/OrchardCore.OpenId/ViewModels/OpenIdServerSettingsViewModel.cs | 1,854 | C# |
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models
{
using Microsoft.Azure;
using Microsoft.Azure.Management;
using ... | 32.454545 | 79 | 0.69888 | [
"MIT"
] | Azure/azure-powershell-common | src/Network/Version2017_03_01/Models/ProbeProtocol.cs | 714 | C# |
using System;
using HW.SF.Models;
using HW.Core.Repositories;
using HW.SF.Models.SYSModel;
using HW.Core.EfDbContext;
using HW.SF.IRepositories;
using HW.SF.Models;
namespace HW.SF.Repositories
{
public class DbBackupRepository : BaseRepository<Sys_DbBackup, String>, IDbBackupRepository
{
public DbBack... | 23.882353 | 95 | 0.73399 | [
"MIT"
] | dahaideyu/HWPlatform | HW.SF.Repositories/DbBackupRepository.cs | 406 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SkillSample.Tests
{
[TestClass]
... | 35.238095 | 92 | 0.557568 | [
"MIT"
] | 47-studio-org/botframework-solutions | samples/csharp/skill/SkillSample.Tests/LocalizationTests.cs | 3,702 | C# |
using System;
using System.Collections.Generic;
using Xero.Api.Core.Model;
using Xero.Api.Core.Model.Types;
namespace CoreTests.Integration.Receipts
{
public abstract class ReceiptTest : ApiWrapperTest
{
public Receipt Given_a_receipt(Guid userId, string contactName, string description, decimal amount... | 29.714286 | 123 | 0.484615 | [
"MIT",
"Unlicense"
] | prajapatichintan/Xero-Net-With-oAuth2.0-Support | CoreTests/Integration/Receipts/ReceiptTest.cs | 1,042 | 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 ... | 13.987448 | 63 | 0.566258 | [
"Apache-2.0"
] | bitType/aliyun-openapi-net-sdk | aliyun-net-sdk-vpc/Vpc/Model/V20160428/ModifySslVpnServerResponse.cs | 3,343 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Kira.LaconicInvoicing.Identity;
using Kira.LaconicInvoicing.Identity.Entities;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Auth... | 38.341232 | 104 | 0.517305 | [
"MIT"
] | JolyneStone/Kira.LaconicInvoicing | App/Kira.LaconicInvoicing.Service/Identity/IdentityPack.cs | 8,578 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Общие сведения об этой сборке предоставляются следующим набором
// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
// связанные со сборкой.
[assembly: AssemblyTitle("WpfMvvm.AttachedProp... | 40.162162 | 99 | 0.769852 | [
"MIT"
] | WpfMvvm/WpfMvvm.AttachedProperties | WpfMvvm.AttachedProperties/Properties/AssemblyInfo.cs | 2,087 | C# |
using System;
using System.Data;
using System.Windows.Forms;
namespace SQL_Contact_Wallet_V2
{
//This class manages every interactions with the contact's card form
public partial class ContactCard : Form
{
private DataRow contact_data_row;
public ContactCard()
{
... | 34.080882 | 91 | 0.551456 | [
"MIT"
] | BillowBone/SQL_Contact_Wallet_V2 | Source/Forms/Edit/ContactCard.cs | 4,637 | C# |
namespace Easy.Common.Tests.Unit.DiagnosticReport
{
using System;
using Easy.Common.Extensions;
using NUnit.Framework;
using Shouldly;
using DiagnosticReport = Easy.Common.DiagnosticReport;
[TestFixture]
internal sealed class DiagnosticReportTests
{
[Test]
public void W... | 50.607339 | 130 | 0.635909 | [
"MIT"
] | jimd-personal/Easy.Common | Easy.Common.Tests.Unit/DiagnosticReport/DiagnosticReportTests.cs | 27,583 | C# |
using Phoesion.Glow.SDK;
using Phoesion.Glow.SDK.Firefly;
using System;
using models = Foompany.Services.API.SampleService2.Modules.PostSamples.Models;
namespace Foompany.Services.SampleService2
{
[API(typeof(API.SampleService2.Modules.PostSamples.Actions))]
public class PostSamples : Phoesion.Glow.SDK.Firefl... | 48.731343 | 152 | 0.490046 | [
"MIT"
] | Phoesion/Glow-Samples | 1_REST/Services/Foompany.Services.SampleService2/Modules/PostSamples.cs | 3,267 | C# |
using System;
namespace RegionOrebroLan.Web.Paging
{
public interface IPaginationValidator
{
#region Methods
void ValidateMaximumNumberOfDisplayedPages(int maximumNumberOfDisplayedPages);
void ValidateNumberOfItems(int numberOfItems);
void ValidatePageIndexKey(string pageIndexKey);
void ValidatePageSize(... | 22.470588 | 80 | 0.808901 | [
"MIT"
] | RegionOrebroLan/.NET-Web-Extensions | Source/Project/Paging/IPaginationValidator.cs | 384 | C# |
/*
* Copyright (c) 2021 bd_
*
* 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, merge, publish,
* distribu... | 46.342193 | 198 | 0.626066 | [
"MIT"
] | bdunderscore/attach-to-me | Assets/bd_/AttachToMe/Scripts/Editor/AttachableEditor.cs | 14,849 | C# |
using System;
using System.Collections.Generic;
namespace BitcoinUtilities.Node
{
/// <summary>
/// Thread-safe collection of known Bitcoin nodes' addresses.
/// </summary>
public class NodeAddressCollection
{
private const int MaxUntestedAddressesCount = 1000;
private c... | 34.631579 | 170 | 0.558619 | [
"MIT"
] | yu-kopylov/bitcoin-utilities | BitcoinUtilities/Node/NodeAddressCollection.cs | 4,476 | C# |
namespace Rg.ApiTypes
{
/// <summary>
/// A request to add a like.
/// </summary>
public class CommentRequest
{
/// <summary>
/// The message for this comment. May include emoji.
/// </summary>
public string Message { get; set; }
}
}
| 21.714286 | 61 | 0.506579 | [
"MIT"
] | jenyayel/rgroup | src/Rg.ApiTypes/CommentRequest.cs | 306 | C# |
namespace scan_button_responder
{
partial class RegisterNewEventFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... | 41.169355 | 114 | 0.570617 | [
"MIT"
] | reikjarloekl/scan-button-responder | scan-button-responder/RegisterNewEventFrm.Designer.cs | 5,107 | C# |
using CSRedis;
using System.IO;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using... | 48.367647 | 193 | 0.571785 | [
"MIT"
] | MonstorUncle/WaterCloud | WaterCloud.Web/Startup.cs | 17,437 | 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.864865 | 106 | 0.733032 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/WorkDocs/Generated/Model/DeleteDocumentResponse.cs | 1,105 | C# |
using Microsoft.Extensions.Logging;
using ChatCore.Config;
using ChatCore.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Numerics;
namespace ChatCore.Services
{
public class MainSettingsProvider
{
[ConfigSection("WebApp")]
[HTMLIgno... | 36.478873 | 119 | 0.658687 | [
"MIT"
] | brian91292/ChatCore | ChatCore/Services/MainSettingsProvider.cs | 2,592 | 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... | 36.916129 | 117 | 0.523593 | [
"MIT"
] | 3quanfeng/azure-powershell | src/Resources/ResourceManager/Components/ResourceIdentifier.cs | 5,570 | C# |
using System.Diagnostics.Contracts;
namespace GitCandy.Ssh.Services
{
public class UserauthArgs
{
public UserauthArgs(string keyAlgorithm, string fingerprint, byte[] key)
{
Contract.Requires(keyAlgorithm != null);
Contract.Requires(fingerprint != null);
Cont... | 28.041667 | 80 | 0.59584 | [
"MIT"
] | Aimeast/GitCandy | GitCandy/Ssh/Services/UserauthArgs.cs | 675 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTDB.Buffer;
using BTDB.KVDBLayer;
using Xunit;
namespace BTDBTest
{
public class InMemoryInMemoryKeyValueDBTest
{
[Fact]
public void CreateEmptyDatabase()
{
using (new InM... | 35.673054 | 122 | 0.406318 | [
"MIT"
] | danaph7t/BTDB | BTDBTest/InMemoryKeyValueDBTest.cs | 29,787 | C# |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Datasync.Common.Test.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Datasync;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics.C... | 46.017241 | 134 | 0.682653 | [
"MIT"
] | Azure/azure-mobile-apps | sdk/dotnet/test/Datasync.Webservice/Controllers/RRatedMoviesController.cs | 2,671 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace InterviewTeaChallenge
{
public class Program
... | 23.5 | 61 | 0.667758 | [
"MIT"
] | jamesoneill/InterviewTeaChallenge | InterviewTeaChallenge/InterviewTeaChallenge/Program.cs | 613 | C# |
// <license>
// The MIT License (MIT)
// </license>
// <copyright company="TTRider Technologies, Inc.">
// Copyright (c) 2014-2015 All Rights Reserved
// </copyright>
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
namespace TTRider.F... | 35.177227 | 129 | 0.580488 | [
"MIT"
] | oshpak92/fluid-sql | C#/TTRider.FluidSQL/FluidExtensions.cs | 114,926 | C# |
//BY DX4D
using UnityEngine;
namespace OpenMMO
{
[RequireComponent(typeof(PlayerAccount))]
[RequireComponent(typeof(CharacterProfile))]
[RequireComponent(typeof(DisallowMultipleComponent))]
public class PlayableCharacter : MonoBehaviour
{
[SerializeField] CharacterProfile _profile = null;
... | 31.043478 | 71 | 0.670868 | [
"MIT"
] | 10allday/OpenMMO | Plugins/Addons/GameSystems/CharacterSystem/PlayableCharacter/PlayableCharacter.cs | 714 | C# |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 35.34375 | 100 | 0.734748 | [
"Apache-2.0"
] | Energinet-DataHub/geh-metering-point | source/Energinet.DataHub.MeteringPoints.Application/Validation/ValidationErrors/MeasureUnitTypeInvalidValueValidationError.cs | 1,133 | C# |
using System;
class strokePersegi {
static void Main() {
Console.Write("Masukan Lebar Persegi : ");
int x = int.Parse(Console.ReadLine());
for(int j = 0; j <= x; j++){
Console.Write("* ");
}
Console.Write("\n");
for(int i = 0; i <= (x-2); i++){
Console.Write("* ");
... | 20.68 | 46 | 0.427466 | [
"MIT"
] | shabriocahyo/mini-projects-compilation | Persegi (Stroke)/C#/persegi-stroke-i.cs | 517 | C# |
#region
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web.Script.Serialization;
using LegendaryClient.Logic.SQLite;
#endregion
namespace LegendaryClient.Logic.JSON
{
public static class Masteries
{
public static List<master... | 38.894737 | 117 | 0.519283 | [
"BSD-2-Clause"
] | nongnoobjung/Legendary-Garena | LegendaryClient/Logic/JSON/Masteries.cs | 2,958 | C# |
using Dopple;
using Dopple.InstructionNodes;
using Mono.Cecil.Cil;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphSimilarityByMatching
{
public class GraphSimilarityCalc
{
private s... | 46.892157 | 257 | 0.584989 | [
"MIT"
] | simcoster/Dopple | GraphSimilarityByMatching/GraphSimilarityCalc.cs | 9,568 | C# |
namespace Envoice.MongoIdentityServer
{
public class Constants
{
public class TableNames
{
// Configuration
public const string IdentityClaim = "IdentityClaims";
public const string IdentityResource = "IdentityResources";
public const string ApiC... | 41.5 | 93 | 0.648343 | [
"MIT"
] | christophla/Envoice.MongoIdentityServer | src/Envoice.MongoIdentityServer/Constants.cs | 1,330 | C# |
using System;
namespace SIT.Microblog.Entities
{
public class Post
{
public int Id { get; set; }
public string Title { get; set; }
public DateTime Created { get; set; }
public int UserId { get; set; }
}
} | 18.583333 | 39 | 0.641256 | [
"MIT"
] | diggingforfire/aspnetcore-microblog | src/SIT.Microblog.Entities/Post.cs | 225 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 48.032581 | 277 | 0.589356 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/Organizations/Basic/Get-ORGPolicyList-Cmdlet.cs | 19,165 | C# |
/*
* Domain Public API
*
* See https://developer.domain.com.au for more information
*
* The version of the OpenAPI document: v1
* Contact: api@domain.com.au
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.Col... | 29.845361 | 99 | 0.613817 | [
"MIT"
] | neildobson-au/InvestOz | src/Integrations/Domain/Domain.Api.V1/src/Domain.Api.V1.Test/Api/PropertiesApiTests.cs | 2,895 | C# |
using CliFx.Exceptions;
using CliWrap;
using CliWrap.Buffered;
using Husky.Services.Contracts;
using Husky.Stdout;
using Husky.Utils;
namespace Husky.Services;
public class Git : IGit
{
private readonly ICliWrap _cliWrap;
private readonly AsyncLazy<string> _currentBranch;
private readonly AsyncLazy<string> _... | 29.890244 | 95 | 0.617299 | [
"MIT"
] | Xemrox/Husky.Net | src/Husky/Services/Git.cs | 7,353 | 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.
using IdentityModel;
using IdentityServer4.Configuration;
using IdentityServer4.Extensions;
using IdentityServer4.Services;
using IdentitySer... | 39.727273 | 174 | 0.549914 | [
"Apache-2.0"
] | Aratirn/IdentityServer4 | src/IdentityServer4/ResponseHandling/DiscoveryResponseGenerator.cs | 13,986 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Microservice.Core.Extensions;
using Microservice.Core.Model;
using Microservice.Core.Service.Contracts;
using Microsoft.AspNetCore.Mvc;
namespace Microservice.Core.Api.Controllers
{
public class MSQuerableController<TQuery, TS... | 36.307692 | 139 | 0.702684 | [
"MIT"
] | Aliaksandr-Huzen/Microservice-Template | sources/Microservice.Core.Api/Controllers/MSQuerableController.cs | 1,418 | C# |
using RobotService.Models.Robots.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace RobotService.Models.Procedures
{
public class Rest : Procedure
{
public override void DoService(IRobot robot, int procedureTime)
{
base.DoService(robot, procedur... | 23.578947 | 71 | 0.636161 | [
"MIT"
] | martinsivanov/CSharp-Advanced-September-2020 | C # OOP/Exams/C# OOP Retake Exam - 16 Apr 2020/RobotService/Models/Procedures/Rest.cs | 450 | C# |
using System;
namespace NBT.Business.Models.Tags
{
public class TAG_Long : NamedTAG<long>
{
public TAG_Long() : base(TagType.Long)
{
}
}
} | 13.692308 | 46 | 0.567416 | [
"MIT"
] | mhollebecq/MinecraftRegion.net | NBT.Business/Models/Tags/TAG_Long.cs | 180 | C# |
/// <summary>
/// Author: Krzysztof Dobrzyński
/// Project: Chemistry.NET
/// Source: https://github.com/Sejoslaw/Chemistry.NET
/// </summary>
using Chemistry.NET.Elements.Models;
namespace Chemistry.NET.Compounds.Models
{
public partial class ChemicalCompound : IOrganicCompound
{
public bool IsOrgani... | 24.6875 | 94 | 0.729114 | [
"MIT"
] | Sejoslaw/Chemistry.NET | Chemistry.NET/Compounds/ModelsLogics/ChemicalCompound_Organic.cs | 396 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 34.856481 | 192 | 0.617081 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Solutions/V20200821Preview/GetApplication.cs | 7,529 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.