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 xbuffer
{
public static class t_Global3Buffer
{
public static t_Global3 deserialize(byte[] buffer, ref uint offset)
{
// null
bool _null = boolBuffer.deserialize(buffer, ref offset);
if (_null) return null;
// id
int _id = intBuffer.deserial... | 27.369565 | 84 | 0.610405 | [
"Apache-2.0"
] | fqkw6/ILRuntimeMyFrame | ILRunTimeTool/XbufferExcelToData/XbufferExcelToData/bin/Debug/CSOutput/BufferCode/t_Global3Buffer.cs | 2,518 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentAssertions;
using NBitcoin;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Utilities;
namespace Stratis.Bitcoin.Tests.Common
{
public class TestBase
{
public Network Network { get; protected set... | 43.884259 | 183 | 0.622851 | [
"MIT"
] | bumplzz69/StratisBitcoinFullNode | src/Stratis.Bitcoin.Tests.Common/TestBase.cs | 9,481 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* 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 retain the above
* copyright notice... | 33.130081 | 144 | 0.575951 | [
"BSD-2-Clause"
] | AaronRobson/xenadmin | XenModel/XenSearch/Query.cs | 4,077 | C# |
using System;
namespace Arbiter.MSBuild
{
public class SolutionProject
{
public Guid Id { get; }
public Guid TypeId { get; }
public string Name { get; }
public string FilePath { get; }
public SolutionProject(Guid id, Guid typeId, string name, string path)
{
... | 20.904762 | 78 | 0.52164 | [
"MIT"
] | ohlookitsben/arbiter | src/Arbiter.MSBuild/SolutionProject.cs | 441 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Techno.DAL.Entities;
namespace Techno.DAL.EntityConfigs
{
class SectionConfig : IEntityTypeConfigura... | 26.28 | 72 | 0.694064 | [
"MIT"
] | nicode-io/The_Junior_Way | 05-Bootcamps/05-02-dotNet_BI/03-ASP_dotNet/02-ASP.Net/02-02-Code/01-EF-ASP_Transition/Techno.DAL/EntityConfigs/SectionConfig.cs | 659 | C# |
// SPDX-License-Identifier: MIT
// Copyright (c) 2015-2020 David Lechner <david@lechnology.com>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Gtk;
using GISharp.Lib.GIRepository;
namespace GISharp.TypelibBrowser
{
public class InfoTreeModelImpl : ... | 33.497222 | 122 | 0.481217 | [
"MIT"
] | dlech/gisharp | junk/TypelibBrowser/InfoTreeModelImpl.cs | 12,061 | C# |
using Headstart.API.Commands;
using Headstart.Common;
using Headstart.Models.Headstart;
using NSubstitute;
using NUnit.Framework;
using OrderCloud.SDK;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Headstart.Models;
namespace Headstart.Tests
{
class ValidUnitPriceTests
{
p... | 40 | 246 | 0.760603 | [
"MIT"
] | ppatel-sitecore/headstart | src/Middleware/tests/Headstart.Tests/ValidUnitPriceTests.cs | 10,282 | C# |
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System.Threading.Tasks;
using System.Threading;
using System.Text;
using FungusBot.Services;
using Microsoft.Extensions.DependencyInjection;
namespace FungusBot {
class Pr... | 33.740741 | 98 | 0.509605 | [
"MIT"
] | Penple03/FungusBot | FungusBot/Program.cs | 3,646 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DanpheEMR.ServerModel
{
public class BillingPackageModel
{
[Key]
public... | 32.793103 | 54 | 0.661409 | [
"MIT"
] | MenkaChaugule/hospital-management-emr | Code/Components/DanpheEMR.ServerModel/BillingModels/BillingPackageModel.cs | 953 | C# |
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
namespace Microsoft.Boogie
{
public class Duplicator : StandardVisitor
{
// This is used to ensure that Procedures get duplicated only once
// and that Implementation.Proc is resolved to the correct duplicated... | 34.722922 | 133 | 0.618111 | [
"MIT"
] | cbarrettfb/boogie | Source/Core/Duplicator.cs | 40,165 | C# |
namespace P02.Graphic_Editor
{
public class Square : IShape
{
private string type;
public Square(string type)
{
this.Type = type;
}
public string Type
{
get { return type; }
set { type = value; }
}
public ove... | 17.166667 | 41 | 0.451456 | [
"MIT"
] | Avarea/OOP-Advanced | SOLID/P02.Graphic_Editor/Square.cs | 414 | C# |
using System;
using System.Collections.Generic;
namespace BakkBenchmark.DotNet
{
public class Sort
{
public static void QuickSort(double[] list)
{
QuickSort(list, 0, list.Length);
}
private static void QuickSort(double[] list, int left, int right)
{
... | 24.8 | 73 | 0.417339 | [
"MIT"
] | stefan-schweiger/dotWasmBenchmark | dotWasmBenchmark.DotNet/Sort.cs | 1,488 | C# |
using System;
namespace Sekhmet.Serialization
{
public class AdviceRequestedEventArgs : EventArgs
{
public AdviceType Type { get; private set; }
public AdviceRequestedEventArgs(AdviceType type)
{
Type = type;
}
}
} | 19.428571 | 56 | 0.621324 | [
"MIT"
] | kimbirkelund/SekhmetSerialization | trunk/src/Sekhmet.Serialization/AdviceRequestedEventArgs.cs | 272 | 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.791667 | 184 | 0.605084 | [
"MIT"
] | Tamim148/SWE_4202_Repository | LAB Task (EVEN) 4/Car Rental Sysytem/Properties/Resources.Designer.cs | 2,795 | C# |
/*
Copyright (C) 2018-2019 de4dot@gmail.com
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,
distr... | 34.823529 | 146 | 0.664371 | [
"MIT"
] | damageboy/iced | Iced.UnitTests/Intel/EncoderTests/BlockEncoderTest64_jmp.cs | 7,696 | C# |
// <auto-generated />
namespace Esso.Data.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class add... | 27.233333 | 95 | 0.619339 | [
"MIT"
] | ismailllefe/ESOFT | Esso.Data/Migrations/201712060913033_addISINIMORT.Designer.cs | 817 | C# |
using System;
using System.Web.Http;
using WebChatBuilderService.Helpers;
using WebChatBuilderService.Icelib;
using WebChatBuilderService.Icelib.Availability;
using WebChatBuilderService.Icelib.Configurations;
using WebChatBuilderService.Icelib.Interactions;
using WebChatBuilderService.Icelib.People;
using WebChatBuil... | 26.083333 | 84 | 0.527157 | [
"MIT"
] | danielmcleod/WebchatBuilder_Open | WebchatBuilder/WebChatBuilderService/Controllers/ServicesController.cs | 2,506 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessRules.POC.ExternalData
{
public interface IExternalData<T, TResult>
{
TResult Get(T input);
}
}
| 15 | 46 | 0.721569 | [
"MIT"
] | SkillsFundingAgency/DC-Alpha-Azurefunctions-POC | src/BusinessRules.POC/ExternalData/IExternalData.cs | 257 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dotnet.Core.Simple.Services
{
public interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string message);
}
}
| 20.153846 | 74 | 0.744275 | [
"MIT"
] | rzvdaniel/DotNetCoreAspBoilerplate | Services/IEmailSender.cs | 264 | C# |
using MiControl.Devices;
using MiLight;
using PlanckHome;
namespace Playground.Rooms
{
public static class LivingRoom
{
public static IMotionSensor MotionSensor => Devices.MotionLivingRoom;
public static IDimmableLightBulb MainLight => Devices.BulbA;
public static IDimmableLightBulb Lam... | 30.142857 | 77 | 0.741706 | [
"MIT"
] | ermac0/mi-home | Playground/Rooms/LivingRoom.cs | 422 | C# |
namespace RJCP.Diagnostics.Log.Constraints
{
using System;
using Dlt;
using Dlt.ControlArgs;
using NUnit.Framework;
[TestFixture(Category = "TraceReader.Constraints")]
public class DltConstraintExtensionsTest
{
[TestCase("ECUX", true)]
[TestCase("ECUx", false)]
publ... | 34.708633 | 106 | 0.535392 | [
"MIT"
] | jcurl/RJCP.DLL.Log | TraceReader.Dlt/DltTraceReaderTest/Constraints/DltConstraintExtensionsTest.cs | 9,651 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* 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 retain the above
* copyright notice... | 32.737374 | 98 | 0.621413 | [
"BSD-2-Clause"
] | CitrixChris/xenadmin | XenAdmin/Dialogs/VMDialogs/MoveVMDialog.cs | 3,243 | C# |
// Auto Generated Code
// Author roy
using System.Collections.Generic;
using System.Xml;
public class LevelUpConfig
{
public int Level;
public int PlayerLevelUpExp;
public string CardLevelUpRes;
public string CardDecomposeRes;
public static readonly string urlKey = "LevelUpConfig";
static Dictionary<int,Level... | 22.127273 | 85 | 0.710764 | [
"MIT"
] | Roy0131/Excel2XmlAndCSFile | GenXmlTool/bin/client/configs/LevelUpConfig.cs | 1,219 | 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.IO;
namespace Contoso.GameNetCore.Proto.Features
{
public class ProtoRequestFeature : IProtoRequestFeature
{
publ... | 34.424242 | 112 | 0.581866 | [
"Apache-2.0"
] | bclnet/GameNetCore | src/Proto/Proto/src/Features/HttpRequestFeature.cs | 1,136 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 42.264706 | 153 | 0.631176 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/AdministrativeUnitScopedRoleMembersCollectionResponse.cs | 1,437 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Sl... | 30.779221 | 116 | 0.572996 | [
"MIT"
] | FlorianJa/SlicerConnector | SlicingWebAPI/Controllers/DownloadController.cs | 2,372 | C# |
namespace Pitstop.WebApp.Commands;
public class RegisterCustomer : Command
{
public readonly string CustomerId;
public readonly string Name;
public readonly string Address;
public readonly string PostalCode;
public readonly string City;
public readonly string TelephoneNumber;
public readon... | 32 | 123 | 0.705729 | [
"Apache-2.0"
] | NileshGule/pitstop | src/WebApp/Commands/RegisterCustomer.cs | 770 | C# |
using Newtonsoft.Json.Linq;
using SolrExpress.Builder;
using SolrExpress.Configuration;
using SolrExpress.Options;
using SolrExpress.Search;
using SolrExpress.Search.Parameter;
using SolrExpress.Search.Parameter.Extension;
using SolrExpress.Search.Parameter.Validation;
using SolrExpress.Solr5.Search.Parameter;
using S... | 38.474747 | 175 | 0.598845 | [
"MIT"
] | solr-express/solr-express | test/SolrExpress.Solr5.UnitTests/Search/Parameter/SpatialFilterParameterTests.cs | 3,811 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
using Abp.Authorization.Users;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Et.Yhy.Authorization.Users;
using Et.Yhy.Complay;
namespace Et.Yhy.Users.Dto
{
[AutoMapTo(typeof(User))]
public class Creat... | 25.038462 | 58 | 0.619048 | [
"MIT"
] | ZtyMaster/ET.yhy | aspnet-core/src/Et.Yhy.Application/Users/Dto/CreateUserDto.cs | 1,302 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Elsa.Services;
namespace Elsa.Activities.Rebus.StartupTasks
{
public class CreateSubscriptions : IStartupTask
{
private readonly IServiceBusFactory _serviceBusFactory;
private readonly I... | 31.375 | 104 | 0.665339 | [
"MIT"
] | AgnesGray/elsa-core | src/activities/Elsa.Activities.Rebus/StartupTasks/CreateSubscriptions.cs | 1,006 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace WP_Wrapper
{
class WpRequest : WebClient
{
private int _timeout;
public WpRequest(int TimeOutmiliseconds)
{
_timeout = TimeOutmiliseconds;
}
pro... | 21.307692 | 64 | 0.599278 | [
"MIT"
] | EntropyDevelopments/WP-Wrapper | WpRequest.cs | 556 | C# |
//------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2018 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using Icarus.GameFramework;
... | 25.589595 | 140 | 0.476169 | [
"MIT"
] | yika-aixi/IGameFrameWork | UnityGameFramework/Editor/AssetBundleEditor/SourceFolder.cs | 4,430 | C# |
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(MVCMovie.Startup))]
namespace MVCMovie
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
| 17.733333 | 58 | 0.642857 | [
"MIT"
] | komitoff/Software-Technologies | MVC Movie Tutorial/MVCMovie/MVCMovie/Startup.cs | 268 | C# |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
namespace Facebook.Yoga
{
public enum YogaFlexDirection
{
Column,
ColumnReverse,
Row,
... | 19.555556 | 67 | 0.607955 | [
"MIT"
] | ReactUnity/core | Runtime/Yoga/YogaFlexDirection.cs | 352 | 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... | 29.218045 | 108 | 0.550437 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/GuardDuty/Generated/Model/RemoteIpDetails.cs | 3,886 | C# |
#nullable enable
using System;
using System.Dynamic;
using DevToys.Core;
using DevToys.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using YamlDotNet.Core;
using YamlDotNet.Serialization;
namespace DevToys.Helpers.JsonYaml
{
internal static class YamlHelper
{
/// <summary>
/// De... | 29.572727 | 119 | 0.471565 | [
"MIT"
] | IHA114/DevToys | src/dev/impl/DevToys/Helpers/JsonYaml/YamlHelper.cs | 3,255 | C# |
// Copyright 2017 Jon Skeet. All rights reserved. Use of this source code is governed by the Apache License 2.0, as found in the LICENSE.txt file.
using System;
namespace ExceptionFilters
{
class ReflectionThrowingFilter
{
static void Main()
{
Foo();
}
static void ... | 19.933333 | 147 | 0.463211 | [
"Apache-2.0"
] | 23dproject/DemoCode | Abusing CSharp/Code/ExceptionFilters/ReflectionThrowingFilter.cs | 600 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step ... | 40.705882 | 125 | 0.666185 | [
"MIT-feh"
] | AIKICo/UnitsNet | UnitsNet.NumberExtensions.Tests/GeneratedCode/NumberToLinearDensityExtensionsTest.g.cs | 3,460 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Networking;
using TinyJson;
using System.Linq;
public class WellOfDepthsScores : MonoBehaviour {
public int interval = 60;
public Text side;
private float time;
void Start() {
... | 31.698795 | 219 | 0.555302 | [
"MIT"
] | JanCraft/teddor | Assets/Scripts/WellOfDepthsScores.cs | 2,631 | 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("Me... | 39.216216 | 84 | 0.751895 | [
"Apache-2.0"
] | mechanicalobject/sandbox | MechanicalObject.Sandbox.DataSerializer/MechanicalObject.Sandbox.DataSerializer/Properties/AssemblyInfo.cs | 1,454 | 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... | 41.830882 | 196 | 0.638601 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Organizations/Generated/Model/Internal/MarshallTransformations/ListAccountsForParentResponseUnmarshaller.cs | 5,689 | C# |
using System;
using System.Runtime.InteropServices;
namespace AM.E3dc.Rscp.Data.Values
{
/// <summary>
/// Value object used to transport messages with an <see cref="RscpErrorCode"/> payload.
/// </summary>
public sealed class RscpError : RscpValue<RscpErrorCode>
{
/// <summary>
//... | 33.414634 | 92 | 0.593431 | [
"Apache-2.0"
] | Spontifixus/am-e3dc | Source/AM.E3dc.Rscp.Data/Values/RscpError.cs | 1,372 | C# |
using System;
using System.Windows;
using EventsDemo.FastClock;
namespace EventsDemo.FastClockWpf
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow
{
TheFastClock _fastClock = TheFastClock.Instance;
public MainWindow()
... | 26.557377 | 84 | 0.588272 | [
"MIT"
] | mflieger/csharp_samples_events_fastclock-template | source/FastClock/EventsDemo.FastClockWpf/MainWindow.xaml.cs | 1,622 | C# |
using Grace.DependencyInjection;
using Grace.Tests.Classes.Simple;
using Xunit;
namespace Grace.Tests.DependencyInjection.ScopeExtensions
{
// ReSharper disable once InconsistentNaming
public class IExportLocatorScopeExtensionsTests
{
[Fact]
public void IExportLocatorScopeExtensions_GetInj... | 32.833333 | 99 | 0.599549 | [
"MIT"
] | Lex45x/Grace | tests/Grace.Tests/DependencyInjection/ScopeExtensions/IExportLocatorScopeExtensionsTests.cs | 1,775 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text;
using OpenQA.Selenium;
namespace DevToolsX.Testing.Selenium
{
public class RadioGroup : CommandsBase
{
public RadioGroup(Browser browser, Element parent, string locator, string tagKind, string groupN... | 33.713043 | 172 | 0.551973 | [
"Apache-2.0"
] | balazssimon/devtools-cs | Src/Main/DevToolsX.Testing.Selenium/Commands/RadioGroup.cs | 3,879 | C# |
using System.Threading.Tasks;
using AllReady.Models;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace AllReady.Areas.Admin.Features.Campaigns
{
public class DeleteCampaignCommandHandler : AsyncRequestHandler<DeleteCampaignCommand>
{
private AllReadyContext _context;
public Delete... | 29.206897 | 128 | 0.664699 | [
"MIT"
] | digitaldrummerj-ionic/allReady | AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Campaigns/DeleteCampaignCommandHandler.cs | 849 | 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>
//-----------------------------------------... | 24.444444 | 81 | 0.415909 | [
"MIT"
] | primas23/Homewoks | ASP.NET-Web-Forms/01. Introduction-to-ASP.NET/SumNumbersASPWebForms/About.aspx.designer.cs | 442 | C# |
using System;
using System.Globalization;
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#2137 - {0}")]
public class Bridge2137
{
public static object E1 { get; } = new string('E', 3);
public... | 27.967742 | 71 | 0.557093 | [
"Apache-2.0"
] | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/2100/N2137.cs | 869 | 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.Caching.Memory;
namespace Microsoft.AspNetCore.ResponseCaching;
internal class MemoryResponseCache : IResponseCache
{
private readonly IMemoryCache _... | 30.57971 | 103 | 0.565403 | [
"MIT"
] | 3ejki/aspnetcore | src/Middleware/ResponseCaching/src/MemoryResponseCache.cs | 2,110 | C# |
using SDFRendering;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NoneTaskHandle : ITaskHandle
{
public void Complete()
{
return;
}
public bool HasFinished()
{
return true;
}
}
| 14.777778 | 41 | 0.657895 | [
"BSD-3-Clause"
] | Joeoc2001/IsosurfaceRenderingEngine | Assets/Scripts/Rendering/PriorGenTaskHandles/NoneTaskHandle.cs | 268 | C# |
using Avalonia.Threading;
using AvaloniaEdit.Document;
using AvaloniaEdit.Text;
using ReactiveUI.Fody.Helpers;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace MegaCom.UI.ViewModels
{
public class DebugViewModel : ViewModelBase, INotifyPropertyChanged
... | 25.966667 | 74 | 0.539153 | [
"MIT"
] | yatli/Camelotia | src/MegaCom.UI/ViewModels/DebugViewModel.cs | 1,560 | C# |
namespace ClassLib069
{
public class Class009
{
public static string Property => "ClassLib069";
}
}
| 15 | 55 | 0.633333 | [
"MIT"
] | 333fred/performance | src/scenarios/weblarge2.0/src/ClassLib069/Class009.cs | 120 | 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;
using System.Threading;
internal delegate T GenDelegate<T>(T p1, out T p2);
internal class Foo
{
static public T Function<T>(T i, out T j)
{
j = i;
... | 20.378378 | 78 | 0.582228 | [
"MIT"
] | 333fred/runtime | src/tests/JIT/Generics/Instantiation/delegates/Delegate027.cs | 754 | C# |
#if !NET451
using System;
namespace RockLib.Messaging.DependencyInjection
{
/// <summary>
/// Represents a method that creates an <see cref="ISender"/>.
/// </summary>
/// <param name="serviceProvider">
/// The <see cref="IServiceProvider"/> that resolves dependencies necessary for the creation of... | 39.297297 | 107 | 0.674003 | [
"MIT"
] | RockLib/RockLib.Messaging | RockLib.Messaging/DependencyInjection/RegistrationDelegates.cs | 1,456 | C# |
using Content.Server.Interfaces.GameObjects.Components.Items;
using Content.Shared.Audio;
using Content.Shared.GameObjects.Components.Rotation;
using Content.Shared.GameObjects.EntitySystems;
using JetBrains.Annotations;
using Robust.Server.GameObjects;
using Robust.Server.GameObjects.EntitySystems;
using Robust.Share... | 33.454545 | 120 | 0.649457 | [
"MIT"
] | ALMv1/space-station-14 | Content.Server/GameObjects/EntitySystems/StandingStateSystem.cs | 2,210 | C# |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
#pragma warning disable 436 // The type 'type' in 'assembly' conflicts with the imported type 'type2'... | 36.409091 | 154 | 0.69226 | [
"MIT"
] | Beefr/xenko | sources/editor/Xenko.GameStudio/XenkoGameStudio.cs | 1,604 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace EliteJournalReader.Events
{
public class CancelDropshipEvent : JournalEvent<CancelDropshipEvent.CancelDropshipEventArgs>
{
public CancelDropshipEvent... | 24.5 | 96 | 0.714286 | [
"MIT"
] | ajhewett/streamdeck-elite | EliteJournalReader/Events/CancelDropshipEvent.cs | 490 | C# |
namespace Divstack.Company.Estimation.Tool.Users.Infrastructure.Identity.Users.Seeder;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
internal sealed class UsersSeederInitializer : IHostedService
{
private readonly IServic... | 29.866667 | 90 | 0.777902 | [
"MIT"
] | kamilbaczek/estimation-tool | Src/Modules/Users/Divstack.Company.Estimation.Tool.Users.Infrastructure/Identity/Users/Seeder/UsersSeederInitializer.cs | 898 | C# |
namespace Maxstupo.YdlUi.Forms {
partial class FormPlaylistRangeEditor {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 52.835714 | 165 | 0.62282 | [
"MIT"
] | lkmvip/ydl-ui | YDL-UI/Forms/FormPlaylistRangeEditor.Designer.cs | 7,399 | C# |
using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Organizations;
using AngularProjeto2.Authorization.Roles;
namespace AngularProjeto2.Authorization.Users
{
public class UserStore : AbpUserStore<Role, User>
{
public UserStore(
IRepository<User, lon... | 37.176471 | 85 | 0.658228 | [
"MIT"
] | edsonaraujo1/AngularProjeto2 | AngularProjeto2.Core/Authorization/Users/UserStore.cs | 1,264 | 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("Sd... | 39.324324 | 84 | 0.745704 | [
"Apache-2.0"
] | RWS/graphql-client-dotnet | net/src/Sdl.Tridion.Api.Client.Tests/Properties/AssemblyInfo.cs | 1,458 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis... | 37.535211 | 124 | 0.517448 | [
"MIT"
] | Acidburn0zzz/roslyn | src/Features/CSharp/Portable/Structure/Providers/InitializerExpressionStructureProvider.cs | 2,667 | C# |
using BDFramework.UI;
using UnityEngine;
using BDFramework.DataListener;
namespace Code.Game.Windows.MCX
{
public class ViewContrl_MVCTest : AViewContrlBase
{
public ViewContrl_MVCTest(DataListenerService data) : base(data)
{
}
/// <summary>
/// 自动绑定到b... | 24.767442 | 72 | 0.497653 | [
"Apache-2.0"
] | HugoFang/BDFramework.Core | Assets/Code/Game@hotfix/demo3/Window_MVC/Contrl_MVCTest.cs | 1,107 | C# |
using AMKsGear.Architecture.Data;
using AMKsGear.Architecture.Modeling;
namespace AMKsGear.Architecture.Automation.Mapper
{
public interface IModelEntityMapper<TEntity, TModel> : IModelPairMapper<TEntity, TModel>
where TEntity : IEntity
where TModel : IModel
{
TEntity ModelToEntity(TMod... | 36.0625 | 92 | 0.740035 | [
"Unlicense",
"MIT"
] | amkherad/AMKs-Gear.net | 00-Core/Architecture/Automation/Mapper/IModelEntityMapper`2.cs | 577 | C# |
// This file is part of the DSharpPlus project.
//
// Copyright (c) 2015 Mike Santiago
// Copyright (c) 2016-2022 DSharpPlus Contributors
//
// 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... | 40.72973 | 81 | 0.741208 | [
"MIT"
] | Erisa/DSharpPlus | DSharpPlus.VoiceNext/Entities/VoiceSessionDescriptionPayload.cs | 1,507 | 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... | 48.209677 | 178 | 0.686517 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/ElastiCache/Generated/Model/InvalidCacheClusterStateException.cs | 5,978 | C# |
namespace Registration
{
using System;
using System.Text.RegularExpressions;
class Program
{
static void Main(string[] args)
{
string pattern = @"([U]\$)([A-Z][a-z]{2,})\1([P]\@\$)([a-z]{5,}[0-9]+)\3";
int numLine = int.Parse(Console.ReadLine());
int... | 29.428571 | 121 | 0.456311 | [
"MIT"
] | kkaraivanov/CSharpFundamentalsExams | FinalExam/TaskTwo/Registration/Program.cs | 1,032 | C# |
using System.Threading.Tasks;
namespace Microsoft.JSInterop
{
public static class PlaygroundJsRuntimeExtension
{
public static async Task SetToggleBodyOverflow(this IJSRuntime jsRuntime, bool isNavOpen)
{
await jsRuntime.InvokeVoidAsync("toggleBodyOverflow", isNavOpen);
}
... | 32.565217 | 108 | 0.703605 | [
"MIT"
] | bit-foundation/bit-framework | src/Client/Web/Playground/Bit.Client.Web.BlazorUI.Playground/Web/Extensions/PlaygroundJsRuntimeExtension.cs | 751 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PHP.Core;
using System.Net;
using System.IO;
using System.Threading;
using System.Security;
namespace PHP.Library.Curl
{
internal class HttpFormDataUploader : HttpBitsUploader
{
//enum FormType
... | 31.256098 | 139 | 0.4603 | [
"Apache-2.0"
] | DEVSENSE/Phalanger | Source/Extensions/Curl/HttpFormDataUploader.cs | 10,254 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
namespace Microsoft.AspNet.SignalR.Hubs
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class HubMethodNameAttr... | 27.038462 | 132 | 0.618777 | [
"Apache-2.0"
] | AlaShiban/SignalR | src/Microsoft.AspNet.SignalR.Core/Hubs/HubMethodNameAttribute.cs | 705 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Xamarin.Bundler;
namespace Xamarin.Utils
{
public class CompilerFlags
{
public Application Application { get { return Target.App; } }
public Target Target;
public HashSet<string> Frameworks; // if a f... | 26.493298 | 179 | 0.657762 | [
"BSD-3-Clause"
] | NormanChiflen/xamarin-all-IOS | tools/common/CompilerFlags.cs | 9,882 | C# |
/*
This file is part of pspsharp.
pspsharp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pspsharp is distributed in the hope that it wil... | 30.771429 | 68 | 0.767874 | [
"MIT"
] | xXxTheDarkprogramerxXx/PSPSHARP | PSP_EMU/format/rco/anim/FadeAnim.cs | 1,079 | C# |
using System;
using xServer.Core.Networking;
namespace xServer.Core.Packets.ServerPackets
{
[Serializable]
public class DoClientUninstall : IPacket
{
public DoClientUninstall()
{
}
public void Execute(Client client)
{
client.Send(this);
... | 18.777778 | 45 | 0.56213 | [
"MIT"
] | pavitra14/Xtremis-V2.0 | Server/Core/Packets/ServerPackets/DoClientUninstall.cs | 340 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Micros... | 34.395349 | 144 | 0.586545 | [
"MIT"
] | Kallen15/StoreWebApplication | StoreWebApplication/P1_KemoAllen/Startup.cs | 2,958 | C# |
// Copyright (c) 2020-2021 Vladimir Popov zor1994@gmail.com https://github.com/ZorPastaman/Behavior-Tree
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using UnityEngine;
using Zor.BehaviorTree.DrawingAttributes;
using Zor.SimpleBlackboard.Core;
namespace Zor.BehaviorTree.Core.Leaves.Conditions
... | 36.472727 | 105 | 0.817049 | [
"MIT"
] | ZorPastaman/Behavior-Tree | Runtime/Core/Leaves/Conditions/CheckSphere.cs | 2,008 | C# |
/*
* Created by SharpDevelop.
* User: Peter Forstmeier
* Date: 21.06.2015
* Time: 10:37
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Windows.Forms.Design;
using ICSharpCode.Report... | 27.383838 | 117 | 0.74253 | [
"MIT"
] | TetradogOther/SharpDevelop | src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/Designer/ImageDesigner.cs | 2,713 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading; //estas son nuevas
using System.Threading.Tasks; //bibliotecas
namespace Proyecto_de_... | 28.040816 | 223 | 0.684134 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | pipear07/Aplicativo-WindowsForms-Juego-del-Snake-Inteligente | Proyecto_de_Progra_ll/Proyecto_de_Progra_ll/abstracta inteligencia.cs | 1,376 | C# |
using System;
using System.Collections.Generic;
using System.Text;
public class Person
{
private string name;
private int age;
public int Age
{
get { return this.age; }
set { this.age = value; }
}
public string Name
{
get { return this.name; }
set { this.na... | 15.590909 | 34 | 0.565598 | [
"MIT"
] | GMihalkow/CSharp | CSharp Fundamentals 2018/Csharp OOP Basics/Defining Classes - Exercise/01_Define_A_Class_Person/Person.cs | 345 | C# |
// 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 regenerated.
namespace Mi... | 63.943396 | 253 | 0.684863 | [
"MIT"
] | Agazoth/azure-powershell | src/Purview/Purview.Autorest/generated/api/Models/Api20210701/TrackedResourceSystemData.json.cs | 6,673 | C# |
//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class UnityEngine_MonoBehaviourWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(UnityEngine.MonoBehaviour), typeof(UnityEngine.Behaviour));
L.RegFunction("IsInvoking", IsInvoki... | 28.27027 | 115 | 0.67794 | [
"MIT"
] | jdxjdx/my_framework | Assets/Plugins/Tolua/Source/Generate/UnityEngine_MonoBehaviourWrap.cs | 8,370 | C# |
namespace EnvironmentAssessment.Common.VimApi
{
public class MigrationNotReady : MigrationFault
{
protected string _reason;
public string Reason
{
get
{
return this._reason;
}
set
{
this._reason = value;
}
}
}
}
| 13.105263 | 48 | 0.654618 | [
"MIT"
] | octansIt/environmentassessment | EnvironmentAssessment.Wizard/Common/VimApi/M/MigrationNotReady.cs | 249 | C# |
namespace InterpretadorSQL
{
partial class frmMain
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summary>... | 41.358974 | 124 | 0.558277 | [
"MIT"
] | grilo88/SuperFastDB | demo/demo2/InterpretadorSQL/frmMain.Designer.cs | 6,471 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using SixLabors.Fonts.Exceptions;
namespace SixLabors.Fonts
{
/// <summary>
/// A readonly collection of fonts.
/// </summary>
public interface IReadOnlyFontCollection
... | 34.578947 | 118 | 0.615677 | [
"Apache-2.0"
] | Jjagg/Fonts | src/SixLabors.Fonts/IReadonlyFontCollection.cs | 1,316 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 43.360759 | 175 | 0.569114 | [
"Apache-2.0"
] | BuildJet/Lean | Algorithm.CSharp/BasicTemplateOptionsAlgorithm.cs | 6,851 | 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
{
internal enum DataGridViewHitTestTypeCloseEdge
{
None = 0,
... | 24.625 | 71 | 0.64467 | [
"MIT"
] | 15835229565/winforms-1 | src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestCloseEdge.cs | 396 | C# |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... | 48.283784 | 150 | 0.686818 | [
"MIT"
] | UE4DotNet/Plugin | DotNet/DotNet/UE4/Generated/Engine/ParticleModuleTrailSource.cs | 3,573 | C# |
#if XRMANAGEMENT_3_2_OR_NEWER
using UnityEngine;
using System;
using UnityEngine.XR.Management;
namespace Unity.MARS.XRSubsystem
{
/// <summary>
/// MARS XR Subsystems settings.
/// </summary>
[XRConfigurationData("MARS Simulation", MARSXRSubsystemLoader.SettingsKey)]
[Serializable]
public cla... | 21.5 | 79 | 0.726098 | [
"Apache-2.0"
] | bsides44/MARSGeofencing | MARS geofencing/Library/PackageCache/com.unity.mars-ar-foundation-providers@1.3.1/Editor/MARSXRSubsystem/MARSXRSubsystemSettings.cs | 389 | C# |
using BlazorMonacoYaml;
using System.Collections.Generic;
using Vs.VoorzieningenEnRegelingen.Site.ApiCalls;
namespace Vs.VoorzieningenEnRegelingen.Site.Model.Interfaces
{
public interface IEditorTabInfo : IYamlFileInfo
{
int TabId { get; set; }
int OrderNr { get; set; }
bool IsVisible ... | 33.793103 | 65 | 0.633673 | [
"MIT"
] | sjefvanleeuwen/morstead | src/Vs.VoorzieningenEnRegelingen.Site/Model/Interfaces/IEditorTabInfo.cs | 982 | C# |
namespace KK_Wardrobe
{
public enum Place
{
bathroom1f = 14,
bathroom2f = 15,
bathroom3f = 16,
bathroomm = 18,
lockerroom = 46,
shawerroom = 45 // This is how Illusion spelled it.
}
}
| 16.307692 | 54 | 0.622642 | [
"MIT"
] | FairBear/KK_Wardrobe | Constants/Place.cs | 214 | C# |
using System;
using Mono.Linker.Tests.Cases.Attributes.OnlyKeepUsed.Dependencies;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;
namespace Mono.Linker.Tests.Cases.Attributes.OnlyKeepUsed {
[KeepTypeForwarderOnlyAssemblies ("true")]
[SetupLinkerArgument ("... | 42.655172 | 149 | 0.795473 | [
"MIT"
] | GrabYourPitchforks/linker | test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/UnusedAttributeWithTypeForwarderIsRemoved.cs | 1,239 | C# |
namespace SFA.DAS.ApplyService.Configuration
{
public interface IApplyConfig
{
InternalApiConfig InternalApi { get; set; }
string SignInPage { get; set; }
string SessionRedisConnectionString { get; set; }
string SessionCachingDatabase { get; set; }
string DataProtectionKe... | 35.482759 | 93 | 0.703596 | [
"MIT"
] | SkillsFundingAgency/das-assessor-apply | src/SFA.DAS.ApplyService.Configuration/IApplyConfig.cs | 1,029 | C# |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using static Terraria.ModLoader.ModContent;
namespace BahiaMod.Items.Weapons
{
public class Atabaque : ModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Don't forget to bring it to the \"Roda\""... | 34.555556 | 193 | 0.713826 | [
"MIT"
] | lluckymou/BahiaMod | Items/Weapons/Atabaque.cs | 1,555 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using BenchmarkDotNet.Code;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Parameters;
using BenchmarkDotNet.Running;
namespace BenchmarkDotNet.Exporters
{
internal sta... | 35.593137 | 159 | 0.527751 | [
"MIT"
] | Dixin/BenchmarkDotNet | src/BenchmarkDotNet/Exporters/FullNameProvider.cs | 7,263 | C# |
namespace CL.Core.Domain;
public class Funcao
{
public int Id { get; set; }
public string Descricao { get; set; }
public ICollection<Usuario> Usuarios { get; set; }
} | 20.111111 | 54 | 0.662983 | [
"Apache-2.0"
] | NfeSistemas/Consultorio_Legal | CL.Core/Domain/Funcao.cs | 183 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using HilbertTransformationTests.Data;
using HilbertTransformation;
using Clustering;
namespace HilbertTransformationTests
{
[TestFixture]
/// <summary>
/// Test wheth... | 49.854839 | 159 | 0.573115 | [
"MIT"
] | paulchernoch/HilbertTransformation | HilbertTransformationTests/GaussianClusteringTests.cs | 6,187 | C# |
using System.Web.Http;
using System.Web.Mvc;
namespace NotifyWebApi.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
public override voi... | 25.769231 | 94 | 0.564179 | [
"MIT"
] | 1804-Apr-USFdotnet/Project2-TLM_Notifiy | NotifyWebApi/NotifyWebApi/Areas/HelpPage/HelpPageAreaRegistration.cs | 670 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 47.904255 | 205 | 0.647346 | [
"MIT"
] | BearerPipelineTest/fhir-server | src/Microsoft.Health.Fhir.Core.UnitTests/Features/Search/Registry/SearchParameterStatusManagerTests.cs | 9,008 | C# |
namespace ETradeApiV1.Client.Dtos
{
public class Product
{
public string symbol { get; set; }
public string securityType { get; set; }
}
} | 20.875 | 48 | 0.610778 | [
"Apache-2.0"
] | omermina/ETradeApiV1 | ETradeApiV1.Client/Dtos/Product.cs | 169 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 26.01.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 25.661917 | 177 | 0.570289 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/CastAs/SET_001/Double/String/TestSet__002__const.cs | 19,813 | C# |
using System;
using System.Runtime.CompilerServices;
using System.Security;
public class UserCode
{
[SecuritySafeCritical]
public static bool StubCriticalCallTransparent()
{
bool retVal = true;
try
{
retVal = CriticalCallTransparent();
if (!retVal)
{
TestLibrary.TestFramework.LogError("001", "T... | 18.410256 | 126 | 0.721448 | [
"MIT"
] | CyberSys/coreclr-mono | tests/src/Regressions/coreclr/0341/usercode.cs | 718 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.