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 Horesase.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Horesase.Web.Controllers
{
public class CharactersController : ApiController
{
public IEnumerable<Character> Get()
{
... | 19.684211 | 53 | 0.695187 | [
"MIT"
] | minato128/Horesase-Web-API | Horesase.Web/Controllers/CharactersController.cs | 376 | 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... | 40.346154 | 221 | 0.760724 | [
"ECL-2.0",
"Apache-2.0"
] | chivandikwa/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAndStatementStatementNotStatementStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentGetArgs.cs | 1,049 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Timers;
using GTANetworkAPI;
using MongoDB.Bson;
using mtgvrp.core;
using mtgvrp.database_manager;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Driver;
namespace mtgvrp.job_manager.lumberjack
{
public class Tree
{
public ... | 33.651934 | 183 | 0.528156 | [
"MIT"
] | RageMpOpenSource/MTGRP | dotnet/resources/mtgvrp/job_manager/lumberjack/TreeItem.cs | 6,091 | C# |
// Copyright (c) SDV Code Project. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SdvCode.Areas.PrivateChat.ViewModels.PrivateChat
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Thr... | 28.352941 | 101 | 0.711618 | [
"MIT"
] | biproberkay/SdvCodeWebsite | SdvCode/SdvCode/Areas/PrivateChat/ViewModels/PrivateChat/SendFilesResponseViewModel.cs | 484 | C# |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Zyborg.Vault.MockServer.Routing;
namespace Zyborg.Vault.MockServer
{
public static class MockServerExtensions
{
public static IServiceCollection AddMockServer(this IServiceCollection services)
... | 35 | 104 | 0.655238 | [
"MIT"
] | zyborg/Zyborg.Vault.MockServer | src/Zyborg.Vault.MockServer/MockServerExtensions.cs | 1,575 | C# |
#region License
/*
Copyright © 2014-2021 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | 26.967742 | 73 | 0.769139 | [
"Apache-2.0"
] | Ginger-Automation/Ginger | Ginger/GingerCoreCommon/TargetFrameworkHelper.cs | 839 | C# |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26
{
using HL7;
/// <summary>
/// PPR_PC1_GOAL (Group) -
/// </summary>
... | 24.384615 | 105 | 0.535226 | [
"Apache-2.0"
] | AreebaAroosh/Machete | src/Machete.HL7Schema/Generated/V26/Groups/PPR_PC1_GOAL.cs | 951 | 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... | 36.642857 | 148 | 0.567481 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Web/V20200901/WebAppSiteExtension.cs | 8,721 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CSharpToTypescriptConverter
{
public class Wildcard
{
private static readonly Regex WildcardMatcher = new Regex(@"(?=\*)|(?<=\*)");
public static R... | 21.475 | 88 | 0.655413 | [
"MIT"
] | dotjpg3141/CSharpToTypescriptConverter | CSharpToTypescriptConverter/Wildcard.cs | 861 | C# |
using Microsoft.Azure.EventHubs;
using Newtonsoft.Json;
using System.Text;
namespace Amido.Stacks.Messaging.Azure.EventHub.Serializers
{
public class JsonMessageSerializer : IMessageReader
{
public T Read<T>(EventData eventData)
{
var jsonBody = Encoding.UTF8.GetString(eventData.Bo... | 25.75 | 73 | 0.68932 | [
"MIT"
] | amido/stacks-dotnet-packages-messaging-aeh | src/Amido.Stacks.Messaging.Azure.EventHub/Serializers/JsonMessageSerializer.cs | 414 | C# |
using System;
namespace Engine.Maps.Definitions.ShapeDefinitions
{
[Flags]
public enum EdgeType
{
None = 0x0000,
BlockingPassage = 0x0001,
BlockingView = 0x0002,
BlockingLight = 0x0004,
}
}
| 14.466667 | 50 | 0.682028 | [
"Apache-2.0"
] | eoistana/hairy-nemesis | Server/Prototype1/Engine/Maps/Definitions/ShapeDefinitions/EdgeType.cs | 219 | C# |
namespace Dynamics_CRM_Metadata_to_Constants
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if mana... | 39.54185 | 157 | 0.707888 | [
"BSD-2-Clause"
] | sarahch/MetadataToConstants | MetadataToConstants/frmMain.Designer.cs | 17,954 | C# |
//*********************************************************
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, s... | 45.053571 | 117 | 0.627031 | [
"MIT"
] | 1007lu/orleans | test/TesterInternal/StorageTests/StorageProviders/IJSONStateDataManager.cs | 2,525 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for gerado... | 41.122549 | 180 | 0.572893 | [
"MIT"
] | ramoncibas/Projeto-Escola | DesignPjEscola/Properties/Resources.Designer.cs | 8,408 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using VehicleApp.Model;
using VehicleApp.Service.Interfaces;
namespace VehicleApp.Controllers
{
public class HomeController : Controller
{
IVehicleService vehicleServic... | 21.976471 | 63 | 0.495717 | [
"Apache-2.0"
] | ricardosantosmorais/VehicleApp | VehicleApp/Controllers/HomeController.cs | 1,870 | C# |
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Windows.Controls;
using System.Windows.Media;
using TreeViewFileExplorer.Enums;
namespace TreeViewFileExplorer.ShellClasses
{
public class FileSystemObjectInfo : BaseObject
{
... | 32.54717 | 135 | 0.496812 | [
"Apache-2.0"
] | odys-z/jclient | examples/example.cs/album-wpf/album-sync/ShellClasses/FileSystemObjectInfo.cs | 10,352 | C# |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... | 44.101695 | 292 | 0.613374 | [
"MIT"
] | xlxCLUxlx/BungieNetPlatform | src/BungieNetPlatform/Model/DestinyEntitiesProfilesDestinyProfileComponent.cs | 7,806 | C# |
// Copyright 2021-present MongoDB 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 applicable law or agreed t... | 36.333333 | 96 | 0.760321 | [
"Apache-2.0"
] | BorisDog/mongo-csharp-analyzer | src/MongoDB.Analyzer/Core/Linq/CompilationResult.cs | 874 | C# |
namespace ewebsite
{
partial class Form2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... | 41.269841 | 158 | 0.566538 | [
"MIT"
] | huibaigu/e-hentai_in_windows | ewebsite/ewebsite/Form2.Designer.cs | 5,234 | C# |
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;
namespace ControllerDiagnostics.Test.Verifiers
{
public static partial class CSharpCodeRefactoringVerifier<TCodeRefactoring>
where TCodeRefactoring : CodeRefactoringProv... | 39.111111 | 118 | 0.666667 | [
"MIT"
] | jwooley/Analyzers | ControllerDiagnostics/ControllerDiagnostics.Test/Verifiers/CSharpCodeRefactoringVerifier`1+Test.cs | 1,058 | C# |
// <auto-generated />
using System;
using InsurancePolicy.Infrastructure.Data.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace InsurancePolicy.I... | 39.084746 | 126 | 0.51843 | [
"MIT"
] | jorgepuerta00/InsurancePolicy | InsurancePolicy.Infrastructure.Data/Migrations/InsurancePolicyDbContextModelSnapshot.cs | 4,614 | 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("10.... | 38.162162 | 84 | 0.745751 | [
"Apache-2.0"
] | genadi60/SoftUni | Methods. Debugging and Troubleshooting Code - Lab/10. Price Change Alert/Properties/AssemblyInfo.cs | 1,415 | C# |
namespace Gateways.Web.ViewModels.Devices
{
using System;
using System.Collections.Generic;
using Gateways.Data.Models;
using Gateways.Services.Mapping;
public class GatewayViewModel : IMapFrom<Gateway>
{
private IEnumerable<PeripheralDeviceViewModel> peripheralDevices;
publi... | 23.676471 | 75 | 0.632298 | [
"MIT"
] | georgimanov/gateways | src/Web/Gateways.Web.ViewModels/Devices/GatewayViewModel.cs | 807 | C# |
using System.Collections.Generic;
namespace PEA_VehicleScheduling_Example
{
public class SortByArrivalThenDepartureComparer : IComparer<Trip>
{
public int Compare(Trip x, Trip y)
{
if (x.ArrivalTime != y.ArrivalTime) return x.ArrivalTime.CompareTo(y.ArrivalTime);
if (x... | 26.294118 | 102 | 0.662192 | [
"Apache-2.0"
] | bewaretech/PEA.NET | src/PEA/Examples/PEA_VehicleScheduling_Example/SortByArrivalThenDepartureComparer.cs | 449 | C# |
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UE4_PlayerStartDemoEditorTarget : TargetRules
{
public UE4_PlayerStartDemoEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersio... | 25.2 | 73 | 0.801587 | [
"MIT"
] | jetedonner/UE4_PlayerStartDemo | Source/UE4_PlayerStartDemoEditor.Target.cs | 378 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Collect : MonoBehaviour
{
public AudioSource collectSound;
void OnTriggerEnter(Collider other) {
collectSound.Play();
ScoreSystem.theScore += 50;
Destroy(gameObject);
}
}
| 20.133333 | 41 | 0.701987 | [
"MIT"
] | DeniAlfaro/multiplayer | Assets/Scripts/Collect.cs | 302 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V251.Segment;
using NHapi.Model.V251.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V251.Group
{
///<summary>
///Represents the RPA_I08_OBSERVATION Group. A Group is a... | 28.17757 | 158 | 0.645605 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | afaonline/nHapi | src/NHapi.Model.V251/Group/RPA_I08_OBSERVATION.cs | 6,030 | C# |
using UnityEngine;
namespace BitStrap.Examples
{
public class DummyBehaviour : MonoBehaviour
{
}
}
| 11.555556 | 44 | 0.759615 | [
"MIT"
] | Biodam/bitstrap | Assets/BitStrap/Examples/Util/DummyBehaviour.cs | 106 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 39.774194 | 157 | 0.581779 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.471 | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Draw/ViewDrawMenuHeading.cs | 3,702 | C# |
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | 54.301607 | 235 | 0.657341 | [
"MIT"
] | AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet | src/Microsoft.IdentityModel.Tokens/TokenValidationParameters.cs | 43,930 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Eto.Forms;
using Eto.iOS.Forms;
using System.IO;
using Eto;
using Eto.iOS.Forms.Controls;
namespace PabloDraw.iOS
{
public class Startup
{
static void Main (string[] args)
{
CopyDb();
... | 26.383333 | 136 | 0.699937 | [
"MIT"
] | blocktronics/pablodraw | Source/PabloDraw.iOS/Startup.cs | 1,583 | 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 System.Windows.Forms {
using Microsoft.Win32;
using System;
using System.Collections;
usi... | 43.280797 | 585 | 0.531369 | [
"MIT"
] | Berrysoft/winforms | src/System.Windows.Forms/src/System/Windows/Forms/Form.cs | 334,476 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Tools
{
public static T EnsureComponent<T>(this MonoBehaviour m) where T : Component
{
var c = m.GetComponentInChildren<T>();
if (c == null)
throw new NullReferenceExce... | 22.043478 | 80 | 0.65286 | [
"MIT"
] | NaClYen/konane | Assets/Scripts/Tools/Tools.cs | 509 | 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... | 40.983871 | 247 | 0.644235 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/DataFactory/V20170901Preview/Outputs/DynamicsLinkedServiceResponse.cs | 5,082 | C# |
using System.Linq;
using FubuMVC.Diagnostics.Navigation;
namespace FubuMVC.Diagnostics.Partials
{
public class NavigationMenuDecorator : IPartialDecorator<NavigationMenu>
{
private readonly INavigationMenuBuilder _builder;
public NavigationMenuDecorator(INavigationMenuBuilder builder... | 26.142857 | 77 | 0.641166 | [
"Apache-2.0"
] | uluhonolulu/fubumvc | src/FubuMVC.Diagnostics/Partials/NavigationMenuDecorator.cs | 551 | C# |
using System;
using System.Collections.Generic;
using System.Text;
class TelegramUser
{
static TelegramUser() => Db.Init();
private TelegramUser(
in int i, in uint m, in Dictionary<TimeSpan, (uint Guns, uint Bullets)> p) => (Money, Id, Property) = (m, i, p);
public readonly int Id;
... | 28.2 | 155 | 0.575355 | [
"MIT"
] | demidko/MarketDb | MarketDb/TelegramUser.cs | 1,130 | 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... | 33.903226 | 116 | 0.698858 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/KinesisAnalyticsV2/Generated/Model/Internal/MarshallTransformations/LambdaOutputUpdateMarshaller.cs | 2,102 | C# |
using UnityEngine;
using Vuforia;
public class MyTrackerHandler : MonoBehaviour, ITrackableEventHandler
{
public TrackableBehaviour trackableBehaviour;
private void Awake()
{
trackableBehaviour = GetComponent<TrackableBehaviour>();
}
void Start()
{
if (trackableBehaviour == ... | 22.958333 | 118 | 0.604356 | [
"MIT"
] | mrshubhamtyagi/vuforia-samples | Assets/_MyStuff/Scripts/MyTrackerHandler.cs | 1,104 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace AppStudio.Controls
{
public class IncreaseConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
... | 25.577778 | 99 | 0.515204 | [
"MIT"
] | llalonde/AppStudio-Bandsintown-Demo | AppStudio.Shared/Converters/IncreaseConverter.cs | 1,153 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.Monitory.Query.Models
{
/// <summary> The response to a metrics query. </summary>
public p... | 56.353846 | 259 | 0.663391 | [
"MIT"
] | AzureAppServiceCLI/azure-sdk-for-net | sdk/monitor/Azure.Monitory.Query/src/Generated/Models/MetricQueryResult.cs | 3,663 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SGP.HCBBOOK.CORE.Busssiness.Models
{
public class CheckVersionInfoModel
{
//Code
public int ID { get; set; }
//
// Summary:
// If new update... | 30.895522 | 87 | 0.542995 | [
"MIT"
] | bienhuynh/MENU-GAME-CONTROL | Source Code/SGP Server/SGP.HCBBOOK.CloudServer.UI/SGP.HCBBOOK.CORE/Busssiness/Models/CheckVersionInfoModel.cs | 2,072 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Balken_und_Profilberechnung
{
/// <summary>
/// Interaktionslogik für "App.xaml"
/// </summary>
public partial class App : App... | 19.055556 | 42 | 0.717201 | [
"MIT"
] | Jan-Kellermann/Balken-und-Profilberechnung-HSP-B2 | Balken und Profilberechnung/App.xaml.cs | 346 | C# |
using System;
using System.Net;
using System.Net.Sockets;
using Quiddity;
using Quiddity.NetBIOS;
using Quiddity.Support;
namespace Inveigh
{
class NBNSListener : NetBIOSNSListener
{
public NBNSListener()
{
this.TTL = 165;
}
public NBNSListener(uint ttl)
{
... | 26.344262 | 114 | 0.560672 | [
"BSD-3-Clause"
] | FDlucifer/Inveigh | Inveigh/Listeners/NBNSListener.cs | 1,609 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.Input.Preview
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class GazePointPreview
{
#if __ANDROID__ || __IOS__ || N... | 36.014925 | 142 | 0.748446 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Input.Preview/GazePointPreview.cs | 2,413 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regener... | 49.423645 | 86 | 0.59703 | [
"BSD-3-Clause"
] | pmillsaps/zone.timemfg.com | src/Orchard.Web/Modules/Time.Data/EntityModels/Production/IMJobOper.cs | 10,033 | C# |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | 42.218978 | 107 | 0.646266 | [
"BSD-3-Clause"
] | Ana-Green/halcyon-1 | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLString.cs | 5,784 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using PhotographyAddicted.Web.Areas.Identity.Data;
namespace PhotographyAddicted.Web.Areas.Identity.Pages.Account.Manage
{
public class ... | 30.911765 | 98 | 0.656518 | [
"MIT"
] | severin87/PhotographyAddict | source/Web/PhotographyAddicted.Web/Areas/Identity/Pages/Account/Manage/PersonalData.cshtml.cs | 1,053 | C# |
using System;
using System.Linq.Expressions;
namespace Lightmap.Modeling
{
internal sealed class ColumnBuilderStronglyTyped<TTableType> : ColumnBuilderBase, IColumnBuilderStronglyTyped<TTableType>
{
private readonly TableBuilder<TTableType> tableBuilder;
private readonly Type tableType;
... | 48 | 228 | 0.672075 | [
"MIT"
] | scionwest/Lightmap | src/Lightmap.Core/source/Modeling/ColumnBuilderStronglyTyped.cs | 4,994 | C# |
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using LL.EpiserverCyberSourceConnector.Payments;
using LL.EpiserverCyberSourceConnector.Payments.CreditCard;
using Mediachase.Commerce.Orders.Dto;
using Mediachase.Web.Console.Interfaces;
namespace LL.EpiserverCyberSourceConnector.CommerceManager.Cre... | 41.155556 | 168 | 0.628915 | [
"Apache-2.0"
] | LuminosLabs/Quicksilver | Commerce Manager CyberSource Extensions/CreditCard/ConfigurePayment.ascx.cs | 7,410 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.AspNet.SignalR.Client;
namespace Server2
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partia... | 29.033333 | 81 | 0.644087 | [
"MIT"
] | Kazuki-Kachi/Madoben | ServedWhiteNoodlesFlowingInSmallFlume/Server2/App.xaml.cs | 873 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SuperSQLInjection.model
{
[Serializable]
public enum DBType
{
UnKnow=0,
Access=1,
MySQL = 2,
SQLServer = 3,
Oracle = 4,
PostgreSQL=5,
DB2 = 6,
SQLite=7,
In... | 16.047619 | 33 | 0.540059 | [
"MIT"
] | NS-Sp4ce/Shack2ToolsWithoutBackdoor | SuperSQLInjectionV1/SuperSQLInjection/model/DBType.cs | 339 | C# |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | 45.37037 | 184 | 0.722041 | [
"BSD-3-Clause"
] | Ideia-Boa/diva-distribution | OpenSim/Framework/Servers/Tests/VersionInfoTests.cs | 2,450 | 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... | 31.840741 | 107 | 0.586949 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/MediaLive/Generated/Model/CreateChannelRequest.cs | 8,597 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Gamebook.Web.Models;
using Gamebook.Data.Model;
n... | 36.061475 | 173 | 0.554381 | [
"MIT"
] | IvayloDamyanov/Gamebook | Gamebook.Web/Controllers/AccountController.cs | 17,600 | C# |
namespace WarMachines
{
using WarMachines.Engine;
public class WarMachinesProgram
{
public static void Main()
{
WarMachineEngine.Instance.Start();
}
}
} | 17.166667 | 46 | 0.582524 | [
"MIT"
] | b-slavov/Telerik-Software-Academy | 03.C# OOP/Exam-WarMachines/Solution/WarMachines/WarMachinesProgram.cs | 208 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace OSWTF.Models
{
public class Template
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Content { get; set; }
public string Sel... | 21.75 | 47 | 0.612069 | [
"MIT"
] | reZach/oswtf | OSWTF.Models/ClientSide/Template.cs | 350 | C# |
#region usings
using System.Drawing;
#endregion
namespace Composable.SpaceTime.Plane.Impl
{
internal class SimplePlanePoint : IPlanePoint
{
private readonly Point _point;
private SimplePlanePoint(Point position)
{
_point = position;
}
protected SimplePlan... | 20 | 77 | 0.583824 | [
"Apache-2.0"
] | ManpowerNordic/Composable | Void.SpaceTime/Plane/Impl/SimplePlanePoint.cs | 680 | 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.Reflection;
using Microsoft.EntityFrameworkCore.Design.Internal;
namespace Microsoft.EntityFrameworkCore.TestUtilities
{
public class... | 32.636364 | 111 | 0.700557 | [
"Apache-2.0"
] | 0b01/efcore | test/EFCore.Design.Tests/TestUtilities/TestDbContextOperations.cs | 720 | C# |
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.Collections.Generic;
using System.Linq;
[CustomEditor(typeof(Hotbar))]
public class HotbarEditor : Editor
{
SerializedProperty slotsInTotal;
SerializedProperty keyCodesForSlots;
Hotbar hotbar;
void OnEnable()
... | 30.263158 | 122 | 0.653913 | [
"MIT"
] | heitor57/One-Week | Assets/InventoryMaster/Editor/HotbarEditor.cs | 1,152 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DaSoft.Riviera.Modulador.Bordeo.Model.UI
{
/// <summary>
/// Gets the item that fills a combo box
/// </summary>
public struct BordeoPanelHeightItem
{
/// <summary>... | 33.664179 | 62 | 0.384172 | [
"MIT"
] | ANamelessWolf/RivieraModulador | Bordeo/Model/UI/BordeoPanelHeightItem.cs | 4,513 | 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 Microsoft.CodeAnalysis.Internal.Log
{
/// <summary>
/// Enum to uniquely identify each function l... | 41.833663 | 101 | 0.738616 | [
"MIT"
] | HurricanKai/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Log/FunctionId.cs | 21,128 | C# |
using UnityEngine;
using UnityEditor;
namespace CustomUnity
{
[CanEditMultipleObjects]
[CustomEditor(typeof(MotionPreviewer))]
public class MotionPreviewerInspector : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
var motionPreview = tar... | 38 | 163 | 0.545706 | [
"MIT"
] | SAM-tak/CustomUnity | Assets/CustomUnity/Editor/MotionPreviewerInspector.cs | 1,444 | C# |
using UnityEngine;
public enum ScreenRatios
{
_3_2,
_4_3,
_5_4,
_16_9,
_18_9,
IphoneX_195_9,
_15_10,
_16_10,
_37_18,
Other
} | 9.733333 | 24 | 0.657534 | [
"MIT"
] | vijit101/UnityBoltTesting | Assets/BoltSuperUnits/Scripts/ScreenRatios.cs | 148 | C# |
/*
* Copyright 2005 OpenXRI Foundation
* Subsequently ported and altered by Andrew Arnott
*
* 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/LICENS... | 35.679577 | 94 | 0.464275 | [
"Apache-2.0"
] | AArnott/dotnetxri | src/XriTraceRt/XRITraceRt.cs | 20,266 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using NServiceBus;
using Store.Messages.Events;
public class OrderCancelledHandler :
IHandleMessages<OrderCancelled>
{
private IHubContext<OrdersHub> ordersHubContext;
public OrderCancelledHandler(IHubContext<OrdersHub> ordersHub... | 28.08 | 93 | 0.688034 | [
"Apache-2.0"
] | Particular/docs.particular.net | samples/showcase/on-premises/Core_8/Store.ECommerce/Handlers/OrderCancelledHandler.cs | 680 | C# |
using Shared;
using System;
using System.Collections.Generic;
using static System.Console;
namespace CSharpNewfeatures
{
public class RefReturnsAndLocalSample : ISample
{
public void Run()
{
static ref int Find(int[] numbers, int value)
{
for (int i = 0;... | 31.590361 | 90 | 0.453852 | [
"Apache-2.0"
] | beyondnetPeru/BeyondNet.MyNetSamples | csharp/CSharpNewfeatures/v7/RefReturnsAndLocalSample.cs | 2,624 | 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>
//---... | 33.166667 | 104 | 0.536013 | [
"MIT"
] | Nodirbek-Abdulaxadov/e-learning | BackEnd/E-Learning/E-Learning.Admin/obj/Debug/net5.0/E-Learning.Admin.RazorAssemblyInfo.cs | 597 | C# |
using System;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
namespace Tests.XPack.MachineLearning.StartDatafeed
{
public class StartDatafeedApiTests : MachineLearningIntegrationTestBase<IStar... | 39.508772 | 166 | 0.781083 | [
"Apache-2.0"
] | jslicer/elasticsearch-net | src/Tests/XPack/MachineLearning/StartDatafeed/StartDatafeedApiTests.cs | 2,254 | C# |
using System.Runtime.InteropServices;
namespace WebMoney.Cryptography
{
[ComVisible(true)]
public interface ISigner
{
void Initialize(KeeperKey keeperKey);
string Sign(string value);
}
}
| 18.416667 | 45 | 0.683258 | [
"MIT"
] | MarketKernel/webmoney-business-tools | Ext/WebMoney.Cryptography/ISigner.cs | 223 | C# |
#if AI_ASPNETCORE_WEB
namespace Microsoft.ApplicationInsights.AspNetCore.Extensions
#else
namespace Microsoft.ApplicationInsights.WorkerService
#endif
{
using System.Reflection;
using Microsoft.ApplicationInsights.DependencyCollector;
/// <summary>
/// Application Insights service options defi... | 45.482353 | 180 | 0.665028 | [
"MIT"
] | Bhaskers-Blu-Org2/ApplicationInsights-dotnet | NETCORE/src/Shared/Extensions/ApplicationInsightsServiceOptions.cs | 7,734 | C# |
using System;
using System.Globalization;
using System.Net;
using dnsimple;
using NUnit.Framework;
namespace dnsimple_test.Services
{
[TestFixture]
public class DomainsDnssecTest
{
private DateTime CreatedAt { get; } = DateTime.ParseExact(
"2017-03-03T13:49:58Z", "yyyy-MM-ddTHH:... | 40.244681 | 110 | 0.580492 | [
"MIT"
] | weppos/dnsimple-csharp-1 | src/dnsimple-test/Services/DomainsDnssecTest.cs | 3,783 | C# |
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.Blockchain.Analysis.Clustering;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class SmartLabelTests
{
[Fact]
public void LabelParsingTests()
{
var label = new SmartLabel();
Assert.Equal("", label);
label = new Smar... | 28.286957 | 200 | 0.611743 | [
"MIT"
] | BTCparadigm/WalletWasabi | WalletWasabi.Tests/UnitTests/SmartLabelTests.cs | 3,253 | C# |
using System;
using System.Windows;
using System.Windows.Data;
namespace BinCleanerExtension.Windows.Converters
{
public class ReverseBooleanToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
... | 26.75 | 124 | 0.606142 | [
"MIT"
] | ArnaudMarcille/BinCleanerExtension | BinCleanerExtension/Windows/Converters/ReverseBooleanToVisibilityConverter.cs | 751 | C# |
using System;
namespace Photosphere.SearchEngine
{
/// <summary>
/// Specific file version in search system
/// </summary>
public interface IFileVersion
{
/// <summary>
/// Path to file
/// </summary>
string Path { get; }
/// <summary>
/// Indicates... | 22.333333 | 52 | 0.508955 | [
"MIT"
] | sunloving/photosphere-search-engine | src/Photosphere.SearchEngine/IFileVersion.cs | 672 | C# |
using System;
namespace OmniSharp
{
public sealed class CurrencyID
{
private readonly long value;
public static readonly long MIN_VALUE = 0;
public static readonly long MAX_VALUE = 4294967295L;
public static readonly long MAX_REAL_ECOSYSTEM_VALUE = 2147483647;
public ... | 26.506494 | 92 | 0.497305 | [
"Apache-2.0"
] | genecyber/OmniSharp | OmniSharp/CurrencyID.cs | 4,084 | C# |
using System;
using System.Collections.Concurrent;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
namespace Forfuture.WeChat.Async
{
public static class AsyncHelper
{
private static readonly ConcurrentDictionary<string, AsyncLock> MutexDictionary;
... | 32.871795 | 125 | 0.583853 | [
"MIT"
] | zhutoutou/Forfuture.WeChat.SDK | src/Forfuture.WeChat/Async/AsyncHelper.cs | 2,608 | C# |
using System;
using System.Diagnostics;
using Ultraviolet.Content;
using Ultraviolet.Core;
using Ultraviolet.Graphics;
using Ultraviolet.Graphics.Graphics2D;
namespace Ultraviolet.UI
{
/// <summary>
/// Represents a fullscreen container for user interface elements.
/// </summary>
public abstract class... | 32.210031 | 160 | 0.537421 | [
"Apache-2.0",
"MIT"
] | MicroWorldwide/ultraviolet | Source/Ultraviolet/Shared/UI/UIScreen.cs | 10,277 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using ComicSans.PoolingSystem;
namespace ComicSans
{
// Base code for entities i.e. Boss and Player.
public abstract class EntityScript : MonoBehaviour
{
[System.Serializable]
public class Health
{
... | 26.875 | 129 | 0.547406 | [
"MIT"
] | FellowshipOfTheGame/comic-sans | ComicSans/Assets/Scripts/Misc/EntityScript.cs | 2,797 | 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>
//--... | 38.17637 | 193 | 0.540525 | [
"MIT"
] | fourDotsSoftware/ConvertPowerpointToPDF4dots | ConvertPowerpointToPDF4dots/Properties/Resources.Designer.cs | 22,297 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Wexflow.DotnetCore.Tests
{
[TestClass]
public class HttpDelete
{
[TestInitialize]
public void TestInitialize()
{
}
[TestCleanup]
public void TestCleanup()
{
}
... | 18.115385 | 53 | 0.503185 | [
"MIT"
] | mohammad-matini/wexflow | tests/dotnet-core/Wexflow.DotnetCore.Tests/HttpDelete.cs | 473 | 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 JetBrains.Annotations;
using Microsoft.Data.Entity.Identity;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.En... | 33.184211 | 111 | 0.653053 | [
"Apache-2.0"
] | garora/EntityFramework | src/EntityFramework.Redis/RedisDataStoreServices.cs | 2,524 | C# |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Threading;
using Blauhaus.Graphics3D.Maui.SkiaSharp.Controls.Base;
using Blauhaus.MVVM.Abstractions.ViewModels;
using Blauhaus.MVVM.Xamarin.Converters;
using SkiaSharp;
using SkiaSharp.Views.Forms;
using Xamarin.Forms;
// ReSharper dis... | 30.487805 | 123 | 0.7 | [
"MIT"
] | BlauhausTechnology/Blauhaus.Graphics3D | src/Blauhaus.Graphics3D.Maui.SkiaSharp/Controls/ScreenPointsCanvasControl.cs | 1,252 | C# |
using System.Collections.Generic;
namespace AllReady.Areas.Admin.ViewModels.TeamLead
{
public class TeamLeadItineraryListerEvent
{
public string Name { get; set; }
public List<TeamLeadItineraryListerItinerary> Itineraries { get; set; } = new List<TeamLeadItineraryListerItinerary>();
}
} | 28.909091 | 127 | 0.732704 | [
"MIT"
] | 7as8ydh/allReady | AllReadyApp/Web-App/AllReady/Areas/Admin/ViewModels/TeamLead/TeamLeadItineraryListerEvent.cs | 320 | C# |
#region License
// Copyright (c) .NET Foundation and contributors.
//
// 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 r... | 37.099698 | 173 | 0.696336 | [
"Apache-2.0"
] | Glepooek/FluentValidation | src/FluentValidation/Internal/RuleBase.cs | 12,280 | C# |
using System;
using System.Collections.Generic;
namespace ChurchServer.Core.Common
{
public interface IHasDomainEvent
{
public List<DomainEvent> DomainEvents { get; set; }
}
public abstract class DomainEvent
{
protected DomainEvent()
{
DateOccurred = DateTimeOf... | 23 | 85 | 0.641822 | [
"MIT"
] | kibreabg/ChurchServer | src/ChurchServer.Core/Common/DomainEvent.cs | 485 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RecordBrushStroke : MonoBehaviour {
A_PaintBrush paintBrush;
Transform paintBrushPos;
public PlayBackBrushStroke playBackScript;
public Vector3[] positions;
public List<Vector3> positionsList ... | 27.813187 | 101 | 0.595812 | [
"MIT"
] | InsilicoStudios/Virtual-Studio | Assets/Virtual Studio/Networking/RecordBrushStroke.cs | 2,533 | C# |
using Lucene.Net.Diagnostics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Lucene.Net.Search
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional in... | 41.792683 | 312 | 0.582434 | [
"Apache-2.0"
] | diwakarpp/lucenenet | src/Lucene.Net/Search/TermQuery.cs | 10,281 | 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.741935 | 90 | 0.578633 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/azurestack/Microsoft.AzureStack.Management.Compute.Admin/src/Generated/Models/OsDisk.cs | 1,844 | C# |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Common.Logging;
using Roslyn.Scripting;
using ScriptCs.Contracts;
using ScriptCs.Exceptions;
namespace ScriptCs.Engine.Roslyn
{
public abstract class RoslynScriptCompilerEngine : RoslynScriptEngine
{
private const string... | 37.313131 | 138 | 0.613156 | [
"Apache-2.0"
] | forki/scriptcs | src/ScriptCs.Engine.Roslyn/RoslynScriptCompilerEngine.cs | 3,696 | C# |
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YiHan.Cms.CmsApp
{
[Table("ImgCategory", Schema = "CMS")]
/// <summar... | 25.641509 | 75 | 0.536424 | [
"MIT"
] | Letheloney/YiHanCms | src/YiHan.Cms.Core/CmsApp/ImgCategory.cs | 1,443 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace ItemSpawnerScript
{
public class Script : MonoBehaviour
{
private bool guiVisible = false;
private List<Item_Base> items = null;
private Vect... | 40.043956 | 201 | 0.518112 | [
"MIT"
] | emcifuntik/Raft-ModKit | examples/ItemSpawnerScript/Script.cs | 3,646 | 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 Microsoft.EntityFrameworkCore.Infrastructure;
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
/// <summary>
/// <... | 65.31028 | 113 | 0.685413 | [
"Apache-2.0"
] | 0x0309/efcore | src/EFCore.Relational/Diagnostics/RelationalLoggingDefinitions.cs | 34,941 | C# |
using Avalonia.VisualTree;
namespace WDE.Common.Avalonia;
public static class Extensions
{
public static T? SelfOrVisualAncestor<T>(this IVisual visual) where T : class
{
if (visual is T t)
return t;
return visual.FindAncestorOfType<T>();
}
} | 21.846154 | 81 | 0.661972 | [
"Unlicense"
] | fluxurion/WoWDatabaseEditor | WDE.Common.Avalonia/Extensions.cs | 284 | C# |
using System.Collections.Generic;
using System.Linq;
using Autodesk.DesignScript.Geometry;
using Autodesk.Revit.DB;
using Revit.Elements;
using Revit.GeometryConversion;
using RevitServices.Persistence;
using RS = Revit.Elements;
namespace Prorubim.Common.Revit.Elements
{
public class Element
{
... | 38.65 | 137 | 0.599935 | [
"BSD-3-Clause"
] | luxliber/ProrubimRevitNodes | src/ProrubimRevitNodes/Revit/Elements/Element.cs | 3,094 | C# |
using Resgrid.Model;
using Resgrid.Model.Repositories.Queries.Contracts;
using Resgrid.Repositories.DataRepository.Configs;
using Resgrid.Repositories.DataRepository.Extensions;
namespace Resgrid.Repositories.DataRepository.Queries.PersonnelRoles
{
public class SelectRolesByRoleIdQuery : ISelectQuery
{
private re... | 28.978723 | 68 | 0.600587 | [
"Apache-2.0"
] | Joshb888/dfdfd | Repositories/Resgrid.Repositories.DataRepository/Queries/PersonnelRoles/SelectRolesByRoleIdQuery.cs | 1,364 | C# |
// Copyright (c) 2014-2020 Daniel Grunwald
//
// 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,
//... | 39.554373 | 231 | 0.730974 | [
"MIT"
] | enkhbaaska/ILSpy | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs | 170,956 | C# |
/*
* Copyright (c) 2018 Samsung Electronics Co., Ltd 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 requ... | 34.503067 | 131 | 0.569879 | [
"Apache-2.0"
] | JoonghyunCho/Tizen.TV.UIControls | src/Tizen.TV.UIControls.Forms/Renderer/RemoteKeyEventEffect.cs | 5,626 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.IO;
using System.Reflection;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.EntityFrameworkCore.Tools.Properties;
#if NET461
using System;
using System.Configu... | 43.774436 | 115 | 0.558743 | [
"MIT"
] | GrizzlyEnglish/efcore | src/ef/Commands/ProjectCommandBase.cs | 5,822 | C# |
using System;
#if WINFORMS
using System.Windows.Forms;
using LogManager = MvvmFx.Controls.WinForms.LogManager;
#else
using Wisej.Web;
using LogManager = MvvmFx.Controls.WisejWeb.LogManager;
#endif
namespace WinForms.TestBoundControls
{
public partial class MainForm : Form
{
public MainForm()
{... | 31.9125 | 103 | 0.615746 | [
"MIT"
] | MvvmFx/MvvmFx | Samples/BoundControls/WinForms.TestBoundControls/MainForm.cs | 2,555 | C# |
namespace Security.Api.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} | 22.181818 | 55 | 0.643443 | [
"MIT"
] | figueiredorui/Security | src/Security.Api/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs | 244 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.