content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Threading;
namespace Haipa.CloudInit.ConfigDrive.Interop
{
[ClassInterface(ClassInterfaceType.None)]
// ReSharper disable once InconsistentNaming
internal sealed class D... | 30.045977 | 101 | 0.548967 | [
"MIT"
] | dbosoft/CloudInit.ConfigDrive | src/CloudInit.ConfigDrive.WindowsImaging/Interop/DiscFormat2Data_EventsProvider.cs | 2,614 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using UnityEditor;
namespace UnityEngine.Rendering.HighDefinition
{
/// <summary>
/// Volume debug settings.
/// </summary>
public class VolumeDebugSettings
{
/// <summary>Current volume component to... | 37.829201 | 150 | 0.540417 | [
"MIT"
] | Acromatic/HDRP-Unity-Template-GitHub-Template | Library/PackageCache/com.unity.render-pipelines.high-definition@10.2.2/Runtime/Debug/VolumeDebug.cs | 13,732 | C# |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis... | 33.465909 | 143 | 0.647199 | [
"MIT"
] | AraHaan/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1142CSharp7UnitTests.cs | 2,947 | C# |
using DemoFluentPWA.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DemoFluentPWA.ViewModel
{
public class IndexViewModel
{
public IEnumerable<ItemModel> items { get; set; }
}
}
| 19.071429 | 57 | 0.737828 | [
"MIT"
] | DotNetCodeIT/demoblogpwa | src/DemoFluentPWA/ViewModel/IndexViewModel.cs | 269 | C# |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class EndScreen : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI GameResult;
[SerializeField]
private TextMeshProUGUI TotalScore;
public Animator TyAnimator;
public readonly int isW... | 26.32 | 112 | 0.597264 | [
"MIT"
] | vineetk0807/GAME3033_Midterm_KumarVineet | Assets/[Scripts]/Data/EndScreen.cs | 1,316 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 31.12069 | 83 | 0.631579 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Dcdb/V20180411/Models/DescribeDBParametersResponse.cs | 1,893 | C# |
using System.Collections.Generic;
using MailChimp.Api.Net.Domain.Reports;
namespace MailChimp.Api.Net.Domain.Lists
{
public class RootGoal
{
public List<Goal> goals { get; set; }
public string list_id { get; set; }
public string email_id { get; set; }
public List<Link> _links {... | 25.733333 | 46 | 0.632124 | [
"MIT"
] | kinamarie016/MailChimp.Api.Net-master | MailChimp.Api.Net/Domain/Lists/RootGoal.cs | 388 | C# |
using SmartifyBotStudio.Models;
using SmartifyBotStudio.RobotDesigner.Interfaces;
using SmartifyBotStudio.RobotDesigner.Variable;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartifyBotStudio.RobotDesigner.Variable;
using Mi... | 29.385714 | 130 | 0.611084 | [
"MIT"
] | codertuhin/BotStudio | SmartifyBotStudio/RobotDesigner/TaskModel/Excel/CloseExcel.cs | 2,059 | C# |
using System;
using System.Runtime.InteropServices;
namespace hds
{
public class AttributeClass1732 :GameObject
{
public Attribute Orientation = new Attribute(16, "Orientation");
public Attribute Position = new Attribute(24, "Position");
public Attribute HalfExtents = new Attribute(12, "HalfExtents"... | 24.166667 | 68 | 0.677586 | [
"MIT"
] | hdneo/mxo-hd | hds/resources/gameobjects/definitions/AttributeClasses/AttributeClass1732.cs | 580 | C# |
/*
* Copyright (C) 2016-2020. Autumn Beauchesne. All rights reserved.
* Author: Autumn Beauchesne
* Date: 21 Nov 2016
*
* File: TweenShortcuts.Material.cs
* Purpose: Extension methods for creating Tweens affecting
* properties on a Material.
*
* Notes: Ensure you're not accidental... | 37.865562 | 178 | 0.599679 | [
"MIT"
] | BeauPrime/BeauRoutine | Assets/BeauRoutine/Tween/Shortcuts/TweenShortcuts.Material.cs | 20,563 | 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... | 32.627119 | 102 | 0.664416 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/DeleteNetworkInsightsAnalysisRequest.cs | 1,925 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager.Core... | 54.335366 | 479 | 0.628022 | [
"MIT"
] | DiskRP-Swagger/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/NetworkWatchersRestOperations.cs | 89,110 | C# |
using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
using Application = UnityEngine.Application;
using BuildResult = UnityEditor.Build.Reporting.BuildResult;
public class Build
{
sta... | 39.725352 | 147 | 0.659812 | [
"BSD-3-Clause"
] | duytruong27/flutter-unity | flutter_unity/example/unity/FlutterUnityExample/Assets/Editor/Build.cs | 5,643 | C# |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.MSFormsApi
{
///<summary>
/// DispatchInterface ILabelControl
/// ... | 27.46875 | 178 | 0.689192 | [
"MIT"
] | brunobola/NetOffice | Source/MSForms/DispatchInterfaces/ILabelControl.cs | 17,582 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace shopping_list.DataLayer.Controllers
{
public class ItemController : PageModel
{
public static IQuery... | 28.5 | 109 | 0.586667 | [
"MIT"
] | cardidemonaco/shopping-list | shopping-list.DataLayer/Controllers/ItemController.cs | 1,427 | C# |
using System;
using System.Collections.Generic;
namespace MonoDroid.Generation
{
public interface IRequireGenericMarshal
{
string GetGenericJavaObjectTypeOverride ();
string ToInteroperableJavaObject (string varname);
}
}
| 17.769231 | 52 | 0.809524 | [
"MIT"
] | pjcollins/java.interop | tools/generator/IRequireGenericMarshal.cs | 231 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.Diagnostics;
namespace SignalRChat.Pages
{
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
[IgnoreAntiforgeryToken]
public class ErrorModel : PageModel
{
public string? R... | 26.222222 | 88 | 0.65678 | [
"MIT"
] | chrhodes/VNC | VNC.Logging/SignalR/AspNetCore/SignalRChat/Pages/Error.cshtml.cs | 708 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 36.884298 | 155 | 0.62626 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/KeyManagementService/Generated/Model/Internal/MarshallTransformations/UpdateCustomKeyStoreRequestMarshaller.cs | 4,463 | C# |
namespace SampleBW
{
public partial class PortfoliosWindow
{
public PortfoliosWindow()
{
InitializeComponent();
}
}
} | 12.9 | 38 | 0.713178 | [
"Apache-2.0"
] | DimTrdr/StockSharp | Samples/BW/SampleBW/PortfoliosWindow.xaml.cs | 129 | C# |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... | 27.65493 | 136 | 0.643876 | [
"MIT"
] | saludnqn/Empadronamiento | DalSic/generated/RemMedicamentoCronico.cs | 7,854 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Microsoft.AspNetCore.Testing
{
/// <summary... | 35.865248 | 120 | 0.566937 | [
"Apache-2.0"
] | 188867052/Extensions | src/TestingUtils/Microsoft.AspNetCore.Testing/src/TestFileOutputContext.cs | 5,057 | 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.Diagnostics;
using Microsoft.ServiceHub.Framework;
using Roslyn.Utilities;
using StreamJ... | 46.811111 | 233 | 0.718728 | [
"MIT"
] | AlexanderSemenyak/roslyn | src/Workspaces/Remote/Core/ServiceDescriptor.cs | 4,215 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: koubei.marketing.campaign.retail.dm.modify
/// </summary>
public class KoubeiMarketingCampaignRetailDmModifyRequest : IAopRequest<KoubeiMarketin... | 26.112903 | 123 | 0.56887 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Request/KoubeiMarketingCampaignRetailDmModifyRequest.cs | 3,262 | C# |
using System;
namespace ITShare.CSharp.Module1.Arrays
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
OddEvenClass m = new OddEvenClass();
m.Odds();
//int[] degrees = new int[]{2,4,5 };
//int sum... | 26.538462 | 58 | 0.449275 | [
"MIT"
] | MahmoudShaaban16/aspnet-core-samples | ITShare.CSharp.Module1.Arrays/Program.cs | 1,037 | C# |
using System;
namespace Magnesium.Vulkan
{
[Flags]
internal enum VkBufferCreateFlags : uint
{
BufferCreateSparseBinding = 0x1,
BufferCreateSparseResidency = 0x2,
BufferCreateSparseAliased = 0x4,
}
}
| 16.153846 | 41 | 0.766667 | [
"MIT"
] | tgsstdio/Mg | Magnesium.Vulkan/Enums/VkBufferCreateFlags.cs | 210 | C# |
using AutoMapper;
using MediatR;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using VoipProjectEntities.Application.Contracts.Persistence;
using VoipProjectEntities.Application.Responses;
using VoipProjectEntities.Domain.E... | 38.4 | 147 | 0.746094 | [
"Apache-2.0"
] | Anagha1009/VoIPCustomerWebPortal-1 | src/Core/VoipProjectEntities.Application/Features/Categories/Queries/GetCategoriesList/GetCategoriesListQueryHandler.cs | 1,536 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("ALSASharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly... | 36.777778 | 82 | 0.743202 | [
"Apache-2.0"
] | crojewsk/ALSASharp | ALSASharp/Properties/AssemblyInfo.cs | 995 | C# |
namespace Moo.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ExpandingGameTable : DbMigration
{
public override void Up()
{
AddColumn("dbo.Game", "UserWon", c => c.Boolean(nullable: false));
AddColumn("dbo.Game", "Dr... | 36.419355 | 81 | 0.536758 | [
"MIT"
] | achobanov/Moo-at-SoftUni | Moo.Data/Migrations/201803041849277_ExpandingGameTable.cs | 1,129 | C# |
using System;
using Core.Errors.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace Core.Errors.Handlers
{
public class ExceptionHandler : IExceptionHandler
{
private readonly ILogger<ExceptionHandler> _logger;
public ExceptionHandler(ILogger<ExceptionHan... | 25.026316 | 69 | 0.600421 | [
"MIT"
] | GUSTAVPEREIRA/StoreManagerWithDapper | StoreManager/src/Core/Errors/Handlers/ExceptionHandler.cs | 951 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 38.065574 | 153 | 0.596038 | [
"MIT"
] | GeertVL/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/model/ExternalItemContent.cs | 2,322 | C# |
using DCL;
using DCL.Interface;
using ExploreV2Analytics;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public interface IEventsSubSectionComponentController : IDisposable
{
/// <summary>
/// It will be triggered when the sub-section want to request to close the ExploreV... | 37.300319 | 192 | 0.690193 | [
"Apache-2.0"
] | Timothyoung97/unity-renderer | unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Sections/PlacesAndEventsSection/SubSections/EventsSubSection/EventsSubSectionMenu/EventsSubSectionComponentController.cs | 11,675 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
namespace FluidCollections {
public static partial class ReactiveDictionaryExtensions {
public static ICollectedReactiveSet<TValue> ToValueSet<TKey, TValue>(this IReactiveDictionary<TKey, TValue> dict) {
return di... | 50.636364 | 153 | 0.552962 | [
"MIT"
] | Blue0500/FluidCollections | src/FluidCollections/ReactiveDictionary/Operators/SetConversions.cs | 2,230 | C# |
using Lykke.SettingsReader.Attributes;
namespace Lykke.Job.SolarCoinCashinGrabber.Settings.JobSettings
{
public class DbSettings
{
[AzureTableCheck]
public string LogsConnString { get; set; }
public string MongoConnString { get; set; }
[AzureTableCheck]
... | 23.6875 | 63 | 0.649077 | [
"MIT"
] | LykkeCity/Lykke.Job.SolarCoinCashinGrabber | src/Lykke.Job.SolarCoinCashinGrabber/Settings/JobSettings/DbSettings.cs | 381 | C# |
namespace Definux.Emeraude.Application.Requests.Identity.Queries.GetUserExternalLoginProviders
{
/// <summary>
/// Wrap for external login provider.
/// </summary>
public class UserExternalLoginProvider
{
/// <summary>
/// External login provider.
/// </summary>
publ... | 28.444444 | 95 | 0.603516 | [
"Apache-2.0"
] | Definux/Emeraude | src/Core/Definux.Emeraude.Application/Requests/Identity/Queries/GetUserExternalLoginProviders/UserExternalLoginProvider.cs | 514 | C# |
/*
The MIT License (MIT)
Copyright 2021 Adam Reilly, Call to Action Software LLC
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... | 75.315789 | 460 | 0.795248 | [
"MIT"
] | areilly711/CtaApi | Unity/CtaApi/Packages/com.calltoaction.ctaapi/CtaUnity/Runtime/Scripts/Wrappers/Combat/MalfunctionTimerBootstrapWrapper.cs | 1,431 | C# |
using System.IO;
using ExpressionCompiler.Expressions;
using ExpressionCompiler.Tokens;
namespace ExpressionCompiler.Emitter.TinyStackMachine
{
internal class TinyStackMachineEmitter : Emitter<bool>
{
private readonly TextWriter _writer;
private readonly TextWriter _debugInfoWriter;
pr... | 47.205882 | 140 | 0.538941 | [
"MIT"
] | gfoidl-Tests/ExpressionEvaluator | source/ExpressionCompiler/Emitter/TinyStackMachine/TinyStackMachineEmitter.cs | 4,817 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LANHelper.Secrets
{
public partial class SecretKeys
{
public static readonly string DesktopMAC = "";
public static readonly string LaptopMAC = "";
}
}
| 20.466667 | 54 | 0.713355 | [
"MIT"
] | alancheung/SleepOnLAN | SleepOnLAN/LANHelper/Secrets/SecretKeys.cs | 309 | C# |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ManageCourseAPI.Model.Request
{
public class UpdateGradeRequest
{
public IFormFile file { get; set; }
public string CurrentUser { get; set; }
}
}
| 21.066667 | 47 | 0.718354 | [
"MIT"
] | hdh-se/classroom-api | ManageCourseAPI/Model/Request/UpdateGradeRequest.cs | 318 | C# |
using System.ComponentModel.DataAnnotations;
namespace Core {
//Event object that carries event data between processes and is being used when fetching the data
public record struct EventDTO(
[Required]
int Id,
[Required, StringLength(50)]
string Name,
[Required]
... | 18.5 | 101 | 0.596396 | [
"MIT"
] | 00kristian/SYST | Core/EventDTO.cs | 555 | 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>
//------------------------------------------... | 30.916667 | 80 | 0.576819 | [
"Unlicense"
] | DEFRA/license-and-permitting-dynamics | Crm/WastePermits/Defra.Lp.WastePermits/Model/EarlyBound/OptionSets/Incident_defra_destination.cs | 742 | C# |
using TechTalk.SpecFlow.Bindings.Reflection;
namespace TechTalk.SpecFlow.Bindings.Discovery
{
public class BindingSourceMethod
{
public IBindingMethod BindingMethod { get; set; }
public bool IsPublic { get; set; }
public bool IsStatic { get; set; }
public BindingSourceAttribute... | 27.307692 | 64 | 0.68169 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | 304NotModified/SpecFlow | TechTalk.SpecFlow/Bindings/Discovery/BindingSourceMethod.cs | 355 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
namespace Microsoft.BotBuilderSamples
{
public static class DialogExtensions
{
... | 37.222222 | 195 | 0.688557 | [
"MIT"
] | Azure-Samples/cognitive-services-language-understanding | documentation-samples/tutorial-web-app-bot-application-insights/v4/luis-csharp-bot-johnsmith-src-telemetry/DialogExtensions.cs | 1,005 | C# |
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using VoipProjectEntities.Application.Features.TrialBalanceCustomers.Commands.CreateTrialBalanceCustomer;
using VoipProjectEntities.Applicatio... | 41.30303 | 126 | 0.731475 | [
"Apache-2.0"
] | Anagha1009/VoIPCustomerWebPortal-1 | src/API/VoipProjectEntities.Api/Controllers/v1/TrailBalanceCustomerController.cs | 2,728 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using ManicDigger;
using ManicDigger.ClientNative;
using ManicDigger.Server;
using OpenTK;
using OpenTK.Graphic... | 25.314286 | 104 | 0.674755 | [
"Apache-2.0"
] | PowerOlive/manicdigger | MdMonsterEditor/Form1.cs | 10,634 | C# |
namespace JK.Common.FluentValidation.Tests.Validators;
public class SocialSecurityNumberValidatorTests : StringValidatorTestsBase
{
public override StringValidatorBase<MockModel, string> Validator => new SocialSecurityNumberValidator<MockModel, string>();
[Theory]
[InlineData("078051120")]
[InlineDat... | 34.5625 | 127 | 0.688969 | [
"MIT"
] | digital-lagniappe/DL.Common | src/JK.Common.FluentValidation.Tests/Validators/SocialSecurityNumberValidatorTests.cs | 1,108 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Java.Interop;
using Android.Runtime;
namespace Java.Lang {
[DataContract]
public partial class Object : IDisposable, IJavaObject, IJavaObjectEx
#if JAVA_INTEROP
, IJavaPeerable
#endif // JAVA_INTEROP
{... | 26.575472 | 164 | 0.668289 | [
"MIT"
] | 06051979/xamarin-android | src/Mono.Android/Java.Lang/Object.cs | 19,719 | C# |
namespace BSONSample.Areas.HelpPage.ModelDescriptions
{
public class DictionaryModelDescription : KeyValuePairModelDescription
{
}
} | 24 | 74 | 0.791667 | [
"Apache-2.0"
] | ASCITSOL/asp.net | samples/aspnet/WebApi/BSONSample/BSONSample/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs | 144 | 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... | 44.522088 | 284 | 0.602291 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Storage/FileShare.cs | 11,086 | C# |
namespace AjTalk.Tests.Compilers.Javascript
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using AjTalk.Compilers;
using AjTalk.Compilers.Javascript;
using AjTalk.Model;
using Microsoft.VisualStudio.TestTools.UnitTe... | 42.711538 | 114 | 0.607534 | [
"MIT"
] | ajlopez/AjTalk | Src/AjTalk.Tests/Compilers/Javascript/NodeCompilerTests.cs | 6,665 | C# |
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class Win32PerfFormattedDataCountersIPsecIKEv1IPv6 : Win32PerfFormattedData
{
public Win32PerfFormattedDataCountersIPsecIKEv1IPv6... | 27.100346 | 139 | 0.468973 | [
"Apache-2.0"
] | simonferquel/simcim | SimCim.Root.V2/ClassWin32PerfFormattedDataCountersIPsecIKEv1IPv6.cs | 7,834 | C# |
namespace Firefly.CloudFormationParser
{
using System;
using System.Collections.Generic;
using Firefly.CloudFormationParser.TemplateObjects;
/// <summary>
/// Interface describing a CloudFormation Resource.
/// </summary>
public interface IResource : ITemplateObject
{
/// <sum... | 37.519774 | 207 | 0.554886 | [
"MIT"
] | fireflycons/Firefly.CloudFormationParser | src/Firefly.CloudFormationParser/IResource.cs | 6,643 | C# |
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.Ou... | 48.688889 | 504 | 0.696029 | [
"Apache-2.0"
] | Threpio/pulumi-kubernetes | sdk/dotnet/FlowControl/V1Beta2/Outputs/LimitedPriorityLevelConfiguration.cs | 2,191 | C# |
using System.Reflection;
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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")... | 41.421053 | 84 | 0.777637 | [
"MIT"
] | LMapundu/Boilerplate-Example | aspnet-core/src/Blog.Application/Properties/AssemblyInfo.cs | 789 | C# |
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
namespace HoneydewExtractors.CSharp.RepositoryLoading.SolutionRead
{
public interface ISolutionProvider
{
Task<Solution> GetSolution(string path);
}
}
| 21.181818 | 66 | 0.763948 | [
"Apache-2.0"
] | dxworks/honeydew | HoneydewExtractors/CSharp/RepositoryLoading/SolutionRead/ISolutionProvider.cs | 235 | C# |
using UnityEngine;
public class PlayerProjectile : MonoBehaviour
{
[SerializeField] GameObject _hitEffect = null;
[SerializeField] AudioClip _hitSound = null;
[SerializeField] [Range(1f, 10f)] float _duration = 5f;
[SerializeField] int _damage = 1;
float _lifeTime;
private void OnEnable()
... | 25.875 | 78 | 0.671498 | [
"CC0-1.0"
] | gbradburn/Starcastle | Assets/_project/Scripts/PlayerProjectile.cs | 828 | C# |
//Author Maxim Kuzmin//makc//
using System;
namespace Vlad2020.Host.Base.Parts.Ldap.Jobs.Login
{
/// <summary>
/// Хост. Основа. Часть "LDAP". Задания. Вход в систему. Исключение.
/// </summary>
public class HostBasePartLdapJobLoginException : Exception
{
}
}
| 20.5 | 72 | 0.662021 | [
"MIT"
] | balkar20/Vlad | net-core/Vlad2020.Host.Base/Parts/Ldap/Jobs/Login/HostBasePartLdapJobLoginException.cs | 333 | C# |
namespace DemoAcmeAp.Application.AppServices
{
using DemoAcmeAp.Application.Interfaces.Base;
using DemoAcmeAp.Domain.Entities;
using DemoAcmeAp.Domain.Interfaces.Services;
using DemoAcmeAp.Domain.Interfaces.UoW;
using global::AutoMapper;
using System.Collections.Generic;
using System.Linq;
... | 27.223529 | 143 | 0.573898 | [
"MIT"
] | EngBrunoAlves/ArquiteturaSoftware | DemoAcmeAp/src/DemoAcmeAp.Application/AppServices/Base/AppServiceBase.cs | 2,316 | C# |
// Copyright © 2012-2021 VLINGO LABS. All rights reserved.
//
// This Source Code Form is subject to the terms of the
// Mozilla Public License, v. 2.0. If a copy of the MPL
// was not distributed with this file, You can obtain
// one at https://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;
usi... | 34.916981 | 124 | 0.625743 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Luteceo/vlingo-net-lattice | src/Vlingo.Xoom.Lattice.Tests/Query/StateStoreQueryActorTest.cs | 9,254 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navig... | 22.133333 | 68 | 0.707831 | [
"MIT"
] | Barjonp/OpenSilver | src/Tests/TestApplication/TestApplication/Tests/Alignments/TopLeftTest.xaml.cs | 666 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace BarManager.Windows
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
... | 18.444444 | 42 | 0.707831 | [
"MIT"
] | N1K0232/BarManagerApplication | BarManagerApplication.Windows/src/BarManager.Windows/App.xaml.cs | 334 | C# |
using NextGenSoftware.OASIS.API.Providers.MapboxOASIS.Enums;
namespace NextGenSoftware.OASIS.API.Providers.MapboxOASIS.Models.Requests
{
public class GetRasterTileRequest
{
public string TilesetId { get; set; }
public decimal Zoom { get; set; }
public decimal X { get; set; }
pu... | 31.461538 | 73 | 0.669927 | [
"CC0-1.0"
] | HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK | NextGenSoftware.OASIS.API.Providers.MapboxOASIS/Models/Requests/GetRasterTileRequest.cs | 411 | C# |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Runtime
{
/// <summary>
/// Compiles expression.
/// </summary>
[CommandResponse(ProtocolName.Runtime.CompileScript)]
[SupportedBy("Chrome")]
public class Co... | 26.518519 | 62 | 0.73743 | [
"MIT"
] | rollrat/custom-crawler | ChromeDevTools/Protocol/Chrome/Runtime/CompileScriptCommandResponse.cs | 716 | C# |
using Coldairarrow.Entity.MiniPrograms;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Coldairarrow.Business.MiniPrograms
{
public interface Imini_projectBusiness
{
Task<PageResult<mini_project>> GetDataListAsync(PageInput<ConditionDTO> input);
... | 32.5 | 87 | 0.755769 | [
"MIT"
] | fanxinshun/HS.Admin.AntVue | src/Coldairarrow.IBusiness/MiniPrograms/Imini_projectBusiness.cs | 522 | C# |
using System.Threading.Tasks;
using Common.Log;
using Lykke.Common.Log;
using Lykke.Job.QuorumTransactionWatcher.Contract;
using Lykke.RabbitMqBroker.Subscriber;
using MAVN.Service.PrivateBlockchainFacade.Domain.RabbitMq;
namespace MAVN.Service.PrivateBlockchainFacade.DomainServices.RabbitMq.Subscribers
{
public c... | 33.029412 | 117 | 0.706144 | [
"MIT"
] | IliyanIlievPH/MAVN.Service.PrivateBlockchainFacade | src/MAVN.Service.PrivateBlockchainFacade.DomainServices/RabbitMq/Subscribers/StakeReleasedSubscriber.cs | 1,123 | C# |
namespace PilaLibros
{
interface Libro
{
string mostrar();
}
} | 11.857143 | 25 | 0.554217 | [
"Apache-2.0"
] | cmontellanob/programacionIIIcmb | 2doParcial/2/PilaLibros/PilaLibros/Libro.cs | 85 | C# |
#if WITH_GAME
#if PLATFORM_32BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UCanvas
{
static readonly int OrgX__Offset;
public float OrgX
{
get{ CheckIsValid();return (float)Marshal.PtrToStructure(_this.Get()+OrgX_... | 30.789474 | 212 | 0.742369 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UCanvas_FixSize.cs | 4,095 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TextureDataCache : MonoBehaviour
{
private static Dictionary<Texture, TextureData> textureDataMap = new Dictionary<Texture, TextureData>();
public static TextureData GetTextureData(Texture texture)
{
Textu... | 27.809524 | 108 | 0.736301 | [
"MIT"
] | sereilly/uimirror | Assets/UIMirror/Scripts/Caches/TextureDataCache.cs | 586 | C# |
using Mono.Cecil;
using Mono.Collections.Generic;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace DocfxAnnotationGenerator
{
/// <summary>
/// A member loaded via reflection.
/// </summary>
public class ReflectionMember
{
/// <summary>
... | 40.398773 | 145 | 0.604404 | [
"Apache-2.0"
] | SeanFarrow/nodatime | build/DocfxAnnotationGenerator/ReflectionMember.cs | 6,587 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace HidLibrary
{
public interface IHidEnumerator
{
bool IsConnected(string devicePath);
IHidDevice GetDevice(string devicePath);
IEnumerable<IHidDevice> Enumerate();
IEnumerable<IHidDevice> Enumerate(strin... | 30.724138 | 87 | 0.632997 | [
"MIT"
] | BOZWXJ/HidLibrary | src/HidLibrary/IHidEnumerator.cs | 1,784 | C# |
#pragma checksum "C:\Users\Batuhan\source\repos\CoreProject_MVC\CoreProject_MVC\Views\Blog\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9d8fd721956c66a8ab19afca3beeb0f1e03ba0ed"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(... | 46.268293 | 322 | 0.674644 | [
"MIT"
] | batuhansariikaya/MVC_CoreBlogProject | CoreProject_MVC/CoreProject_MVC/obj/Debug/net5.0/Razor/Views/Blog/Index.cshtml.g.cs | 9,489 | 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.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.T... | 39.322581 | 145 | 0.622915 | [
"MIT"
] | 333fred/roslyn | src/VisualStudio/Core/Def/Implementation/Progression/GraphQueryManager.cs | 7,316 | C# |
using Supermarket.API.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Supermarket.API.Domain.Repositories
{
public interface IProductRepository
{
Task<IEnumerable<Product>> ListAsync();
Task AddAsync(Product product);
... | 23.578947 | 47 | 0.712054 | [
"MIT"
] | choipureum/Supermarket.API | src/Domain/Repositories/IProductRepository.cs | 450 | C# |
// Copyright 2022 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.631083 | 123 | 0.590616 | [
"Apache-2.0"
] | LaudateCorpus1/google-cloud-dotnet | apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2.Snippets/VersionsClientSnippets.g.cs | 27,793 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using ServiceStack;
using ServiceStack.DataAnnotations;
using ServiceStack.OrmLite;
namespace FoxValleyMeetup.Web.Configurations.c05_Bookmarks
{
public class BookmarksService : Service
{
public IAutoQueryDb A... | 35.189655 | 107 | 0.55169 | [
"MIT"
] | mattjcowan/foxvalleymeetup-servicestack | src/FoxValleyMeetup.Web/Configurations/c05_Bookmarks/BookmarksService.cs | 6,123 | 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("Du... | 37.756757 | 84 | 0.745168 | [
"CC0-1.0"
] | KarlitoBandito/DungeonCrawl | DungeonCrawl/DungeonCrawl/Properties/AssemblyInfo.cs | 1,400 | C# |
namespace jsxbin_to_jsx.JsxbinDecoding
{
public interface INode
{
NodeType NodeType { get; }
string Marker { get; }
void Decode();
string PrettyPrint();
bool PrintStructure { get; set; }
int IndentLevel { get; set; }
double JsxbinVersion { get; }
... | 23.375 | 41 | 0.564171 | [
"MIT"
] | 892768447/jsxbin-to-jsx-converter | jsxbin_to_jsx/JsxbinDecoding/INode.cs | 376 | C# |
#region
using KoiVM.Runtime.Dynamic;
using KoiVM.Runtime.Execution;
#endregion
namespace KoiVM.Runtime.OpCodes
{
internal class NorDword : IOpCode
{
public byte Code => Constants.OP_NOR_DWORD;
public void Run(VMContext ctx, out ExecutionState state)
{
var sp = ctx.Regist... | 30.704918 | 83 | 0.5622 | [
"MIT"
] | BedTheGod/ConfuserEx-Mod-By-Bed | KoiVM.Runtime/OpCodes/Nor.cs | 1,875 | C# |
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Text;
using System.Threading;
using Snowflake.Data.Log;
using Snowflake.Data.Client;
n... | 42.262687 | 147 | 0.481636 | [
"Apache-2.0"
] | jmcasal/snowflake-connector-net | Snowflake.Data/Core/SFDataConverter.cs | 14,160 | C# |
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v13.0.5.0 (NJsonSchema v10.0.22.0 (Newtonsoft.Json v11.0.0.0)) (http://NSwag.org)
// </auto-generated>
//----------------------
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBas... | 50.194757 | 269 | 0.590509 | [
"MIT"
] | Yanivv77/PromoIt | Client/UI/obj/UserClient.cs | 13,404 | C# |
using PKISharp.WACS.Clients.DNS;
using PKISharp.WACS.Services;
using System.Linq;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(
LookupClientProvider dnsClient,
... | 39.014706 | 114 | 0.53562 | [
"Apache-2.0"
] | rdaunce/letsencrypt-win-simple | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | 2,655 | C# |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Random = UnityEngine.Random;
public class Dice : MonoBehaviour
{
public Image topFace;
public List<Sprite> faces;
public int result;
public void Awake()
{
PickUp();
}
public void Throw()
{
... | 22.487805 | 119 | 0.601952 | [
"MIT"
] | Manzanero/rat-race | Assets/Scripts/Dice.cs | 922 | C# |
using System.Threading;
using System.Threading.Tasks;
namespace MediatR.Extensions.Autofac.DependencyInjection.Tests.Behaviors
{
public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
public Task<TResponse> Handle(TRequest request, CancellationToken cancell... | 33.153846 | 133 | 0.712297 | [
"MIT"
] | alsami/MediatR.Extensions.Autofac.DependencyInjection | test/MediatR.Extensions.Autofac.DependencyInjection.Tests/Behaviors/LoggingBehavior.cs | 433 | C# |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using Jp.ParahumansOfTheWormverse.Utility;
namespace Jp.ParahumansOfTheWormverse.TheSimurgh
{
public class ATragi... | 33.490566 | 135 | 0.609577 | [
"BSD-2-Clause"
] | jamespicone/potw | Mod/Villains/TheSimurgh/Cards/Traps/ATragicEndCardController.cs | 1,777 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnal... | 27.48 | 91 | 0.751092 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/DataPipeline/Generated/PropertyValueAssignmentAnalyzer.cs | 687 | C# |
// Copyright (c) KhooverSoft. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Khooversoft.Toolbox;
using Khooversoft.Toolbox.Actor;
using Khooversoft.Toolbox.Security;
using Khooversoft.Toolbox.Services;
using System.Threading.... | 43.028302 | 174 | 0.693488 | [
"MIT"
] | khoover768/Toolbox | Src/Dev/Khooversoft.Net/Services/TokenClientActor.cs | 4,563 | C# |
using System;
using BenchmarkDotNet.Running;
using Tedd.RandomUtils.Benchmarks.Benchmarks;
namespace Tedd.RandomUtils.Benchmarks
{
class Program
{
static void Main(string[] args)
{
{
var speedTest = new SpeedTest_Single();
speedTest.GlobalSetup();
... | 28.3125 | 69 | 0.511038 | [
"MIT"
] | tedd/Tedd.RandomUtils | src/Tedd.RandomUtils.Benchmarks/Program.cs | 1,814 | C# |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Discord;
using NLog;
using NadekoBot.Core.Services.Database.Models;
using NadekoBot.Common;
using Newtonsoft.Json;
using System.IO;
namespace NadekoBot.Core.Services.Impl
{
public class Loca... | 31.684932 | 123 | 0.529183 | [
"MIT"
] | 1337r34p3r/shadow-bot | NadekoBot.Core/Services/Impl/Localization.cs | 4,628 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rhea.Data
{
/// <summary>
/// 房产Collection名称
/// </summary>
public static class EstateCollection
{
#region Field
/// <summary>
/// 校区表
/// c... | 24.103896 | 84 | 0.521013 | [
"BSD-3-Clause"
] | robertzml/Rhea | Rhea.Data/EstateCollection.cs | 1,962 | C# |
// -----------------------------------------------------------------------
// <copyright file="RemoveDuplicateNames.cs" company="Ubiquity.NET Contributors">
// Copyright (c) Ubiquity.NET Contributors. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using... | 32.606061 | 81 | 0.574349 | [
"Apache-2.0"
] | kevinhartman/Llvm.NET | src/Interop/LlvmBindingsGenerator/Passes/IgnoreDuplicateNamesPass.cs | 2,154 | C# |
namespace GBX.NET.Engines.Game;
[Node(0x03145000)]
public sealed class CGameCtnMediaBlockShoot : CGameCtnMediaBlock, CGameCtnMediaBlock.IHasTwoKeys
{
#region Fields
private TimeSpan start;
private TimeSpan end = TimeSpan.FromSeconds(3);
#endregion
#region Properties
[NodeMember]
public... | 16.827586 | 96 | 0.617828 | [
"Unlicense"
] | ArkadySK/gbx-net | Src/GBX.NET/Engines/Game/CGameCtnMediaBlockShoot.cs | 978 | C# |
using Juno.Sdk.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Juno.Sdk.Models.Notifications
{
public class PaymentNotification : DefaultNotification<PaymentNotification.Payment>
{
... | 26.807692 | 87 | 0.592539 | [
"MIT"
] | marivaaldo/juno-sdk-net | src/Juno.Sdk/Models/Notifications/PaymentNotification.cs | 1,396 | C# |
using Polly;
namespace TileDB.Cloud
{
public class Client
{
public static void Login(string token = default(string), string username = default(string), string password = default(string), string host=default(string))
{
TileDB.Cloud.Config cfg = new Config();
if(!strin... | 36.46395 | 163 | 0.522352 | [
"MIT"
] | TileDB-Inc/TileDB-Cloud-CSharp | TileDB.Cloud/Client.cs | 11,632 | 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... | 29.326923 | 90 | 0.615082 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/analysisservices/Microsoft.Azure.Management.AnalysisServices/src/Generated/Models/GatewayListStatusError.cs | 1,525 | C# |
using System.Collections.Generic;
using AutoMapper;
using Codenation.Challenge.DTOs;
using Codenation.Challenge.Models;
using Codenation.Challenge.Services;
using Microsoft.AspNetCore.Mvc;
namespace Codenation.Challenge.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AccelerationCon... | 28.702128 | 101 | 0.621942 | [
"MIT"
] | RMiike/acelera-dev-challenges | csharp-9/Source/Controllers/AccelerationController.cs | 1,351 | C# |
using HEVCDemo.Views;
using Prism.Ioc;
using Prism.Modularity;
using Rasyidf.Localization;
using System.Windows;
namespace HEVCDemo
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
protected override Window CreateShell()
{
... | 25.394737 | 85 | 0.60829 | [
"BSD-3-Clause"
] | TomNere/hevc-demo | HEVCDemo/App.xaml.cs | 967 | C# |
using Microsoft.Extensions.Logging;
namespace Silky.Core.Logging
{
public interface IHasLogLevel
{
LogLevel LogLevel { get; set; }
}
} | 17.222222 | 39 | 0.677419 | [
"MIT"
] | Dishone/silky | framework/src/Silky.Core/Logging/IHasLogLevel.cs | 155 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using Bicep.Core.Diagnostics;
using Bicep.Core.Emit;
using Bicep.Core.FileSystem;
using Bicep.Co... | 49.684492 | 195 | 0.653536 | [
"MIT"
] | jongio/bicep | src/Bicep.Core.Samples/ExamplesTests.cs | 9,291 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using Xunit;
namespace System.Web.Mvc.Test
{
public class DescriptorUtilTest
{
[Fact]
public void CreateUniqueId_FromIUniquelyIdentifiable()
{
// Arran... | 30.465517 | 142 | 0.596491 | [
"Apache-2.0"
] | Distrotech/mono | external/aspnetwebstack/test/System.Web.Mvc.Test/Test/DescriptorUtilTest.cs | 1,769 | C# |
/**********************************************************************************************************************
FocusOPEN Digital Asset Manager (TM)
(c) Daydream Interactive Limited 1995-2010, All Rights Reserved
The name and trademarks of copyright holders may NOT be used in advertising or publicity perta... | 23.466667 | 119 | 0.609375 | [
"MIT"
] | MatfRS2/SeminarskiRadovi | programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Data/Entities/Nulls/NullLightboxLinked.cs | 2,112 | C# |
using System;
using System.Drawing;
using System.Threading;
using Sharp2D.Game.Worlds;
using System.Collections.Generic;
using System.Diagnostics;
using Sharp2D;
using Sharp2D.Game;
using Sharp2D.Core.Interfaces;
namespace TestGame
{
class Program
{
public static TestSprite spriteSause;
public... | 34.158974 | 171 | 0.44678 | [
"Apache-2.0"
] | CatinaCupGames/Sharp2D | Sharp2D/TestGame/Program.cs | 6,663 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.