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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Stride contributors (https://stride3d.net) 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.
namespace Stride.Core.MicroThreading
{
public enum ScheduleMode
{
First,
... | 30.363636 | 118 | 0.703593 | [
"MIT"
] | Aggror/Stride | sources/core/Stride.Core.MicroThreading/ScheduleMode.cs | 334 | C# |
using System.Threading.Tasks;
namespace Dime.Scheduler.Sdk
{
public interface IEndpointBuilder<T> where T : IEndpoint
{
Task<T> Request();
}
} | 18.222222 | 60 | 0.664634 | [
"MIT"
] | dime-scheduler/sdk-dotnet | src/core/Factory/Contracts/IEndpointBuilder.cs | 166 | C# |
using System.Threading.Tasks;
using MariCommands.Results;
namespace MariCommands
{
/// <summary>
/// A builder callback to executors use to execute a command.
/// </summary>
/// <param name="module">The module instance.</param>
/// <param name="args">The arguments of this command.</param>
/// <... | 37.214286 | 80 | 0.679463 | [
"MIT"
] | MariBotOfficial/MariCommands | MariCommands/Models/Commands/CommandCallback.cs | 521 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;
namespace WCFServiceWebRole
{
public class WebRole : RoleEntryPoint
{
public override bool OnStart()
{
... | 24.52381 | 83 | 0.68932 | [
"Apache-2.0"
] | khalilme/HopeSystemUniversal | WCFServiceWebRole1/WebRole.cs | 515 | C# |
using System;
using Volo.Abp;
namespace EasyAbp.PaymentService.Payments
{
public class AnotherRefundIsInProgressException : BusinessException
{
public AnotherRefundIsInProgressException(Guid paymentId) : base("AnotherRefundIsInProgress",
$"There is another refund with the same payment ({pa... | 28.615385 | 101 | 0.704301 | [
"MIT"
] | EasyAbp/PaymentService | modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain/EasyAbp/PaymentService/Payments/AnotherRefundIsInProgressException.cs | 374 | C# |
using System;
using System.Diagnostics;
using System.Reflection;
using PostSharp.Reflection;
namespace Bluehands.Repository.Diagnostics.Log.Aspects.LogFactory
{
[Serializable]
[DebuggerNonUserCode]
internal class LogFactoryFromLog : LogFactoryBase
{
internal LogFactoryFromLog(MethodBase method, LocationInfo mem... | 24 | 94 | 0.78125 | [
"MIT"
] | bluehands/Log-Extensions | 03 Code/Source/Bluehands.Diagnostics.LogExtensions.Aspects/LogFactory/LogFactoryFromLog.cs | 578 | C# |
namespace ShoppingApp.Web.Areas.Identity.Pages.Account.Manage
{
using System.Threading.Tasks;
using ShoppingApp.Data.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
#pragma warning dis... | 37.15873 | 147 | 0.651431 | [
"MIT"
] | mariyast1/ShoppingApp | src/Web/ShoppingApp.Web/Areas/Identity/Pages/Account/Manage/ResetAuthenticator.cshtml.cs | 2,343 | 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: AssemblyTitle("EntityFrameworkCore.RelationalProviderSt... | 36.717949 | 84 | 0.751397 | [
"Apache-2.0"
] | Ashrafnet/EntityFramework.Docs | samples/core/Miscellaneous/Internals/WritingAProvider/EntityFrameworkCore.RelationalProviderStarter/Properties/AssemblyInfo.cs | 1,434 | 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("Mi... | 37.235294 | 84 | 0.755134 | [
"Apache-2.0"
] | BogatenkoMaxim/mantis-tests | MinimalisticTelnet/MinimalisticTelnet/MinimalisticTelnet/Properties/AssemblyInfo.cs | 1,269 | C# |
//
// System.Drawing.PrintRange.cs
//
// (C) 2002 Ximian, Inc. http://www.ximian.com
// Author: Dennis Hayes (dennish@raytek.com)
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated ... | 35.731707 | 73 | 0.733106 | [
"Apache-2.0"
] | AvolitesMarkDaniel/mono | mcs/class/System.Drawing/System.Drawing.Printing/PrintRange.cs | 1,465 | C# |
using Common.Wpf.Extensions;
using System.Windows;
namespace SystemTemperatureStatusWindow.Options
{
public partial class GeneralOptionsPanel
{
public GeneralOptionsPanel()
{
InitializeComponent();
}
public override void LoadPanel(object data)
{
... | 25.975 | 110 | 0.635226 | [
"MIT"
] | ckaczor/SystemTemperatureStatusWindow | Window/Options/GeneralOptionsPanel.xaml.cs | 1,041 | C# |
using UnityEngine;
using UnityEngine.UI;
using Lean.Common;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Lean.Gui
{
/// <summary>This componenent allows you to change a UI element's hitbox to use its graphic Image opacity/alpha.</summary>
[ExecuteInEditMode]
[RequireComponent(typeof(Image))]
[HelpURL(Lean... | 24.470588 | 155 | 0.716947 | [
"MIT"
] | DrScatman/vr-mod | Assets/Lean/GUI/Scripts/LeanHitbox.cs | 1,666 | C# |
// The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2020
//
// 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 r... | 33.816327 | 81 | 0.662643 | [
"MIT"
] | FacticiusVir/SharpVk | src/SharpVk/NVidia/GeometryFlags.gen.cs | 1,657 | C# |
namespace SoftUniEF.Data
{
using System;
using System.Collections.Generic;
public class Employee
{
public int EmployeeId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string MiddleName { get; set; }
public st... | 26.170732 | 117 | 0.623486 | [
"MIT"
] | stanislavstoyanov99/SoftUni-Software-Engineering | DB-with-C#/Labs-And-Homeworks/Entity Framework Core/03. Entity Framework Introduction - Lab/SoftUniEF/SoftUniEF/Data/Employee.cs | 1,075 | C# |
global using BasicGameFrameworkLibrary.BasicGameDataClasses;
global using CommonBasicLibraries.AdvancedGeneralFunctionsAndProcesses.BasicExtensions;
global using CommonBasicLibraries.BasicDataSettingsAndProcesses;
global using static CommonBasicLibraries.BasicDataSettingsAndProcesses.BasicDataFunctions;
global using Co... | 67.72973 | 145 | 0.910215 | [
"MIT"
] | musictopia2/GamingPackXV3 | CP/Games/KismetCP/GlobalUsings.cs | 2,506 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PFRCenterGlobal.Helpers;
using PFRCenterGlobal.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace PFRCenterGlobal.Views.Register
{
[XamlCompilation(XamlCompilationOptions.Comp... | 27.142857 | 86 | 0.701316 | [
"MIT"
] | AlbusaOxyuranus/pfr-center-global | source/PFRCenterGlobal/Views/Register/Register1Page.xaml.cs | 760 | C# |
// TODO Interaktywne elementy w aplikacji (wizualnie)
// TODO Checkbox auto startu w menu
// TODO Opcja autostartu
// TODO Animacja koloru poprawić wydajność
// TODO Dodać przywracanie domyślnych ustawień wszystkim widgetom.
// TODO Ujednolicuić przywracanie domyślnych.
// TODO Dodać skróty klawiszowe.
// TODO Nowe W... | 34.4375 | 85 | 0.796733 | [
"MIT"
] | BlokerX/GameAssistant | TODOList.cs | 565 | 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.Management.Storage.M... | 52.802817 | 229 | 0.601014 | [
"MIT"
] | asarkar84/azure-sdk-for-net | sdk/storage/Azure.Management.Storage/src/Generated/QueueServicesRestClient.cs | 18,757 | C# |
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using SailScores.Identity.Entities;
namespace SailScores.Web.Areas.Identity.Pages.Account.Manage
{
public class SetPasswordMode... | 32.21978 | 129 | 0.58015 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | SailScores/SailScores | SailScores.Web/Areas/Identity/Pages/Account/Manage/SetPassword.cshtml.cs | 2,934 | C# |
using System;
using OpenTK.Graphics.OpenGL;
public class Rectangle {
Vector BottomLeft {get;set;}
Vector TopRight {get;set;}
Color _color = new Color(1,1,1,1);
public Color Color{
get {return _color;}
set {_color = value;}
}
public Rectangle(Vector bottomLeft, Vector topRight) ... | 27.093023 | 100 | 0.549356 | [
"MIT"
] | hey-tack/babies-first-game-engine | Rectangle.cs | 1,165 | C# |
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.AsyncWork;
using Stratis.Bitcoin.Connection;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Consensus.Validators;
using Stratis.Bitcoin.Features.Miner... | 38 | 167 | 0.639396 | [
"MIT"
] | AI-For-Rural/EXOSFullNode | src/Stratis.Bitcoin.Features.PoA.IntegrationTests.Common/TestPoAMiner.cs | 3,840 | C# |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace DFC.App.JobProfiles.HowToBecome.FunctionalTests.Model.APIResponse
{
public class HowToBecomeAPIResponse
{
[JsonProperty("entryRouteSummary")]
public List<string> EntryRouteSummary { get; set; }
[JsonProperty("entryRout... | 27.277778 | 75 | 0.698574 | [
"MIT"
] | SkillsFundingAgency/dfc-app-howtobecome | DFC.App.JobProfiles.HowToBecome.FunctionalTests/Model/APIResponse/HowToBecomeAPIResponse.cs | 493 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Aliencube.AzureFunctions.Extensions.OpenApi.Attributes;
using ApiExampleProject.Authentication.Interfaces;
using ApiExampleProject.Common.Constants;
us... | 52.881579 | 221 | 0.755163 | [
"MIT"
] | jwendl/authorization-service-example | src/Authorization/PolicyManager/CheckAccessFunctions.cs | 4,021 | C# |
#region copyright
// MIT License
//
// Copyright (c) 2019 Smint.io GmbH
//
// 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 ... | 31.862069 | 148 | 0.518038 | [
"MIT"
] | smintio/CLAPI-C-Integration-Core | NetCore/Authenticator/Browser/SystemBrowser.cs | 8,318 | C# |
namespace Webbrowser
{
partial class WebForm
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該處置受控資源... | 42.844538 | 154 | 0.542218 | [
"MIT"
] | JE-Chen/je_old_repo | CSharp_Webbrowser_and_WebView2_JE/Webbrowser/Webbrowser/Form1.Designer.cs | 11,407 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, ... | 34.717391 | 68 | 0.723857 | [
"MIT"
] | thehexgod/BESSy.JSON | Src/BESSy.Json.Tests/TestObjects/ListTestClass.cs | 1,597 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TypingDashboard.Migrations
{
public partial class Upgraded_To_Abp_5_4_0 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_AbpOrganizationUnits... | 44.367742 | 119 | 0.537007 | [
"MIT"
] | florisrobbemont/TypingDashboard | src/TypingDashboard.EntityFrameworkCore/Migrations/20200320114152_Upgraded_To_Abp_5_4_0.cs | 6,879 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Microsoft.Coyote
{
#pragma warning disable CA1724 // Type names should not match namespaces
/// <summary>
/// The Coyote project configurati... | 37.189624 | 134 | 0.602001 | [
"MIT"
] | Youssef1313/coyote | Source/Core/Configuration.cs | 20,791 | C# |
namespace ODMIdentity.Admin.Api.Dtos.Clients
{
public class ClientPropertyApiDto
{
public int Id { get; set; }
public string Key { get; set; }
public string Value { get; set; }
}
} | 24.111111 | 45 | 0.603687 | [
"MIT"
] | omikolaj/IdentityServer4-Admin | ODMIdentity/src/ODMIdentity.Admin.Api/Dtos/Clients/ClientPropertyApiDto.cs | 219 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Insma.Mxa.Framework.Audio {
public sealed class NoMicrophoneConnectedException : Exception {
}
}
| 20.636364 | 65 | 0.801762 | [
"MIT"
] | baszalmstra/MXA | MXA-Framework/src/Framework/Audio/NoMicrophoneConnectedException.cs | 229 | C# |
using System;
namespace Xamarin.Forms.BaiduMaps
{
public abstract class Annotation : BaseItem
{
// Coordinate
public static readonly BindableProperty CoordinateProperty = BindableProperty.Create(
propertyName: nameof(Coordinate),
returnType: typeof(Coordinate),
... | 30.101449 | 93 | 0.598941 | [
"Apache-2.0"
] | Carl-Wen/Xamarin.Forms.BaiduMaps | Xamarin.Forms.BaiduMaps/Annotation.cs | 2,079 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 07.12.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 23.531178 | 126 | 0.526156 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Funcs/Int64/SET001/STD/Equals/Complete/Decimal/TestSet_504__param__01__VV.cs | 10,191 | 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>
/// ORU_R01_ORDER_OBSERVATION (Group) -
/// <... | 23.125 | 105 | 0.488514 | [
"Apache-2.0"
] | AreebaAroosh/Machete | src/Machete.HL7Schema/Generated/V26/Groups/ORU_R01_ORDER_OBSERVATION.cs | 1,480 | C# |
/*******************************************************************************
* Copyright 2008 Amazon Technologies, 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... | 28.879433 | 89 | 0.47053 | [
"Apache-2.0"
] | MountainWarehouse/EasyMWS | src/EasyMWS/EasyMWS/WebService/MarketplaceWebService/Model/ReportList.cs | 4,072 | C# |
using Abp.Application.Services.Dto;
using CarPlusGo.CVAS.Insure.Enum;
using System;
namespace CarPlusGo.CVAS.Insure.Dto
{
public class PagedInsurancePolicyResultRequestDto : PagedResultRequestDto
{
public long[] CarBaseIds { get; set; }
public string Keyword { get; set; }
public long?... | 31.096774 | 77 | 0.604772 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | MakingBugs/carplusgo.cvas | src/CarPlusGo.CVAS.Application/Insure/InsurancePolicy/Dto/PagedInsurancePolicyResultRequestDto.cs | 994 | C# |
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated May 1, 2019. Replaces all prior versions.
*
* Copyright (c) 2013-2019, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative wor... | 43.15534 | 380 | 0.732133 | [
"MIT"
] | daonq/unity_game | Assets/Spine/Editor/spine-unity/Modules/SkeletonRenderSeparator/Editor/SkeletonRenderSeparatorInspector.cs | 13,335 | C# |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | 35.948529 | 118 | 0.716916 | [
"MIT"
] | suggestbot-wearable-text-entry-system/SuggestBot_GazeAssistedTyping | Assets/Plugins/NoesisGUI/Scripts/Proxies/PasswordBox.cs | 9,778 | C# |
using System;
using Owin;
using Prospa.Extensions.AspNet.WebApi.Owin.Middlewares;
namespace Prospa.Extensions.AspNet.WebApi.Owin.Extensions
{
public static class AppBuilderExtensions
{
public static void AddRequiredEndpointKey(this IAppBuilder app, Action<RequireEndpointKeyOptions> buildOptions)
... | 26.263158 | 119 | 0.707415 | [
"MIT"
] | prospa-group-oss/AspNetCoreExtensions | src/Prospa.Extensions.AspNet.WebApi.Owin/Extensions/AppBuilderExtensions.cs | 501 | C# |
using Cassandra;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace CSharpBencher
{
public class Writer
{
private readonly string[] _cassandraContactPoints;
private readonly string _localDc;... | 38.254902 | 226 | 0.606612 | [
"MIT"
] | Abc-Arbitrage/cassandra-csharp-benchmark | csharp/CSharpBencher/Writer.cs | 3,904 | C# |
using System;
using System.Threading;
using Datadog.Trace.ClrProfiler.CallTarget;
using Datadog.Trace.Configuration;
namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Testing.XUnit
{
/// <summary>
/// Xunit.Sdk.TestAssemblyRunner`1.RunTestCollectionAsync calltarget instrumentation
/// </summary>
... | 48.918033 | 147 | 0.647788 | [
"Apache-2.0"
] | alirezavafi/dd-trace-dotnet-splunk | src/Datadog.Trace.ClrProfiler.Managed/AutoInstrumentation/Testing/XUnit/XUnitTestAssemblyRunnerRunTestCollectionAsyncIntegration.cs | 2,984 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.1008
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Va... | 37.067568 | 176 | 0.553226 | [
"Apache-2.0"
] | sartrey/vapula | Model/vf_mde/Properties/Resources.Designer.cs | 5,836 | C# |
/*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this ... | 31.158824 | 90 | 0.525203 | [
"MIT"
] | dotnetrdf/dotNetRDF.Toolkit | Libraries/editor/Syntax/SyntaxExtensions.cs | 5,297 | C# |
namespace Graphing.Review.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
public class PriorityQueue<TItem>
{
private readonly IDictionary<TItem, int> queue;
public PriorityQueue()
{
this.queue = new Dictionary<TItem, int>();
... | 21.55 | 72 | 0.529002 | [
"Apache-2.0"
] | droconnel22/CompetitiveCoding_DotNetCore | Graphing.Review.Core/PriorityQueue.cs | 864 | C# |
using System;
namespace Cake.Docker
{
/// <summary>
///
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class AutoPropertyAttribute: Attribute
{
/// <summary>
/// Format of the output, i.e. "-s {1}"
/// where {0} is property name and {1} is value.
... | 25.769231 | 56 | 0.529851 | [
"MIT"
] | KevM/Cake.Docker | src/Cake.Docker/AutoPropertyAttribute.cs | 672 | C# |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Alamut.Data.NoSql;
using Alamut.Data.Paging;
namespace Alamut.Data.Repository
{
public interface ISmartRepository<TEntity> : IRepository<TEntity> where TEntity : class
{
... | 42.410256 | 129 | 0.625453 | [
"MIT"
] | SorenZ/Alamut.Data | src/Alamut.Data/Repository/ISmartRepository[TEntity].cs | 3,310 | C# |
namespace FoxyLink
{
public class GlobalConfiguration : IGlobalConfiguration
{
public static IGlobalConfiguration Configuration { get; } = new GlobalConfiguration();
internal GlobalConfiguration()
{
}
}
}
| 20.916667 | 94 | 0.653386 | [
"MIT"
] | FoxyLinkIO/FoxyLink.RabbitMQ | src/FoxyLink.GlobalConfiguration/GlobalConfiguration.cs | 253 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Microsoft.ProjectOxford.Face;
using System.Diagnostics;
using Windows.Storage;
using Microsoft.ProjectOxford.Face.Contract;
using System.Linq;
namespace DormRoomMonitor.FacialRecognition
{
class FaceAp... | 37.719931 | 156 | 0.502528 | [
"MIT"
] | shypeleg/SergeyMonitor | DormRoomMonitor/FaceApiRecognizer.cs | 21,955 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace FootballTeamGenerator.Common
{
public static class GlobalConstants
{
public static string InvalidStatExceptionMessage = "{0} should be between {1} and {2}.";
public static string EmptyNameExceptionMessage = "A name sh... | 35.933333 | 102 | 0.721707 | [
"MIT"
] | MirelaMileva/C-Sharp-OOP | Encapsulation/FootballTeamGenerator/Common/GlobalConstants.cs | 541 | 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.
//---------------------------------------------------------------------------
//
//
//
// This file was generated, p... | 33.54902 | 101 | 0.57218 | [
"MIT"
] | 00mjk/wpf | src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/Generated/StretchValidation.cs | 1,711 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFr... | 34.164384 | 109 | 0.619888 | [
"MIT"
] | zhangzhhjb/TestWebApp | Startup.cs | 2,496 | 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 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | 32.021277 | 77 | 0.646512 | [
"MIT"
] | azuresdkci1x/azure-sdk-for-net-1722 | src/SDKs/Monitor/Management.Monitor/Generated/Management/Monitor/Models/RuleDataSource.cs | 1,505 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class HealthManager : MonoBehaviour
{
public static HealthManager instance;
public int currentHealth, maxHealth;
public int lives = 3;
public float invincibleLength = 2f;
priva... | 27.835979 | 96 | 0.515111 | [
"MIT"
] | uvg-cc3063/proyecto-libre-alejandro-diego-ukron | Assets/Scripts/Managers/HealthManager.cs | 5,263 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Havit.WebApplicationTest.HavitWebBootstrapTests
{
public partial class TabsTest : System.Web.UI.Page
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad... | 20.391304 | 61 | 0.724947 | [
"MIT"
] | havit/HavitFramework | WebApplicationTest/HavitWebBootstrapTests/TabsTest.aspx.cs | 471 | C# |
using ShoppingCore.Application.ApplicationModelsMapper;
using ShoppingCore.Application.ApplicationModels;
using ShoppingCore.Application.Interfaces;
using ShoppingCore.Domain.Customers;
using ShoppingCore.Domain.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
name... | 30.77957 | 99 | 0.472314 | [
"MIT"
] | chaitradangat/ShoppingCore | Application/ShoppingCore.Application/Customers/Queries/GetAllCustomers/GetAllCustomers.cs | 5,727 | C# |
using Newtonsoft.Json;
namespace DevicePortalCoreSDK.Models.OSInformation
{
/// <summary>
/// Model class with information about the machine name.
/// </summary>
public class MachineNameInformation
{
/// <summary>
/// The name of the computer.
/// </summary>
[JsonPr... | 23.588235 | 60 | 0.610973 | [
"MIT"
] | minusoneteam/DevicePortalCoreSDK | src/DevicePortalCoreSDK/Models/OSInformation/MachineNameInformation.cs | 403 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using DDDSample1.Domain.Workblocks;
using System;
namespace Tests
{
[TestClass]
public class CreatingWorkblockDtoTest
{
[TestMethod]
public void testSetParameters()
{
string key = "key1... | 31.321429 | 128 | 0.633979 | [
"MIT"
] | TRibeiro94/ISEP-ARQSI-2020 | Semester_Project/MDV/Tests/UnitTests/Domain/Workblocks/CreatingWorkblockDtoTest.cs | 877 | C# |
using UnityEngine;
using UnityEngine.Networking;
using UnityStandardAssets.Characters.FirstPerson;
using UnityStandardAssets.CrossPlatformInput;
public class MultiPlayerFPS : NetworkBehaviour {
public GameObject FPSCamera;
public GameObject model;
public GameObject disc;
public float throwForce = 10f... | 29.488889 | 90 | 0.700075 | [
"MIT"
] | BahuMan/VirtualFrisbee | Assets/players/MultiPlayerFPS.cs | 1,329 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using StarkPlatform.CodeAnalysis.Stark.Symbols;
using StarkPlatform.CodeAnalysis.Stark.Syntax;
using StarkP... | 27 | 161 | 0.529235 | [
"Apache-2.0"
] | stark-lang/stark-roslyn | src/Compilers/Stark/Portable/Symbols/LabelSymbol.cs | 5,321 | C# |
using ReportPluginFramework;
namespace Reports
{
public class DailyMeanDischarge : DailyMeanDischargeNamespace.ReportPluginBase, IFileReport
{
public override void AddReportSpecificTables(System.Data.DataSet dataSet)
{
DailyMeanDischargeNamespace.ReportSpecificTableBuilder.AddRepor... | 28 | 100 | 0.75 | [
"Apache-2.0"
] | AquaticInformatics/time-series-custom-reports | src/Reports/DailyMeanDischarge/DailyMeanDischarge.cs | 366 | C# |
using UnityEngine;
public static class Ego
{
public static EgoComponent AddGameObject( GameObject gameObject )
{
var egoComponent = AddGameObjectToChildren( gameObject.transform );
EgoEvents<AddedGameObject>.AddEvent( new AddedGameObject( gameObject, egoComponent ) );
return egoComponent;
... | 30.432836 | 97 | 0.725846 | [
"MIT"
] | andoowhy/EgoCS | Ego.cs | 2,041 | C# |
/*
Dataphor
© Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define UseReferenceDerivation
#define UseElaborable
using System;
using System.Text;
using System.Threading;
using System.Collections;
usi... | 34.570796 | 181 | 0.69314 | [
"BSD-3-Clause"
] | ashalkhakov/Dataphor | Dataphor/DAE/Runtime.Instructions/UnionNode.cs | 15,627 | C# |
using Oscar.BL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Window... | 28.847059 | 113 | 0.545269 | [
"MIT"
] | IVIvk/Oscar | Syntra.Oscar/Oscar.UI.WPF/UserPages/UserReview.xaml.cs | 2,454 | 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>
//--... | 34.387097 | 151 | 0.580675 | [
"MIT"
] | mrousavy/GameFinder | GameFinder/Properties/Settings.Designer.cs | 1,068 | C# |
namespace Cars.Data.Models
{
using Enums;
using System;
using System.Collections.Generic;
public class Car
{
//--------------- Properties ----------------
public int Id { get; set; }
public string Model { get; set; }
public int Doors { get; set; }
public Tra... | 30.25 | 103 | 0.509298 | [
"MIT"
] | radrex/SoftuniCourses | C# Web Developer/C# DB/02.Entity Framework Core/05.Entity Relations/Lab/Cars.Data/Models/Car.cs | 970 | C# |
using ACE.Demo.Contracts.Events;
using ACE.Demo.Contracts.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ACE;
using ACE.Exceptions;
using ACE.Demo.Contracts;
namespace ACE.Demo.Model.Accounts
{
public class AccountHandler : Handl... | 32.98 | 85 | 0.65373 | [
"Apache-2.0"
] | hotjk/ace | ACE.Demo.Model.Write/Accounts/AccountHandler.cs | 1,677 | C# |
using System;
namespace CrimsonLibrary.Data.Models.Domain
{
public class Book : BaseEntity
{
public bool IsRead { get; set; } = true;
public double Pages { get; set; } = 0;
}
}
| 18.818182 | 48 | 0.603865 | [
"MIT"
] | CanaanGM/CrimsonLibrary | CrimsonLibrary/Data/Models/Domain/Book.cs | 209 | 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... | 37.394231 | 195 | 0.653638 | [
"Apache-2.0"
] | aws/aws-sdk-net | sdk/src/Services/Shield/Generated/Model/Internal/MarshallTransformations/DisableApplicationLayerAutomaticResponseRequestMarshaller.cs | 3,889 | C# |
/*
* Copyright (c) 2020 LG Electronics Inc.
*
* SPDX-License-Identifier: MIT
*/
using System.Collections.Generic;
using System.IO;
using System;
using UnityEngine;
public partial class MeshLoader
{
private static Color GetColor(Assimp.Color4D color)
{
return (color == null) ? Color.clear : new Color(color.R, ... | 23.825397 | 105 | 0.719742 | [
"Apache-2.0",
"MIT"
] | NamWoo/cloisim | Assets/Scripts/Tools/Mesh/Assimp.Common.cs | 4,503 | C# |
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary f... | 41.185841 | 85 | 0.599269 | [
"BSD-3-Clause"
] | Key4ce/Websitepanel | WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/RemoteDesktop/Connect.aspx.designer.cs | 4,654 | C# |
using System;
namespace MvcApplication.Models
{
public class CreateModel
{
private string createIdFiled = string.Empty;
public string CreateIdField
{
get
{
return createIdFiled;
}
set
{
... | 23.609375 | 55 | 0.424884 | [
"MIT"
] | qesadwzxc/SomethingFunny | TestProject/MvcApplication/Models/Base/CreateAndModifyModel.cs | 1,513 | C# |
// -----------------------------------------------------------------------
// <copyright file="RoleDto.cs" company="">
// Copyright (c) 2015 OSky. All rights reserved.
// </copyright>
// <last-editor>Lmf</last-editor>
// <last-date>2015-01-08 0:31</last-date>
// -----------------------------------------------... | 24.25 | 75 | 0.444772 | [
"Apache-2.0"
] | liumeifu/OSky | samples/OSky.UI.Core/Dtos/Identity/RoleDto.cs | 1,500 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CodeStyle;
u... | 49.779605 | 171 | 0.655719 | [
"Apache-2.0"
] | DustinCampbell/roslyn | src/Features/CSharp/Portable/UseExpressionBody/Helpers/UseExpressionBodyHelper`1.cs | 15,135 | 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.Diagnostics {
using System;
using System.Collections;
using System.Text;
using Syst... | 39.273671 | 173 | 0.544782 | [
"MIT"
] | Rayislandstyle/dotnet-coreclr | src/mscorlib/src/System/Diagnostics/Stacktrace.cs | 30,280 | 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... | 48.922535 | 220 | 0.647186 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Sql/V20200801Preview/ServerVulnerabilityAssessment.cs | 6,947 | C# |
using System.Reactive.Linq;
using System.Threading.Tasks;
using Octokit.Reactive;
using Octokit.Tests.Integration.fixtures;
using Xunit;
namespace Octokit.Tests.Integration.Reactive
{
public class ObservableRepositoryHooksClientTests
{
[Collection(RepositoriesHooksCollection.Name)]
public clas... | 35.310345 | 131 | 0.570801 | [
"MIT"
] | 7enderhead/octokit.net | Octokit.Tests.Integration/Reactive/ObservableRepositoryHooksClientTests.cs | 4,098 | C# |
using UnityEngine;
using System.IO;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
#region enum
#endregion
#region const
#endregion
#region public property
#endregion
#region private property
/// <summary>
/// The audio so... | 19.485356 | 108 | 0.536826 | [
"MIT"
] | murapong/GGJIO2018 | client/GGJIO2018/Assets/Scripts/Game/GameManager.cs | 4,659 | C# |
namespace Publisher.CLI.Interfaces
{
public interface IPublisherContext
{
}
} | 15 | 38 | 0.7 | [
"MIT"
] | LoveDuckie/blog-publisher | apps/Publisher/Publisher.CLI/Interfaces/IPublisherContext.cs | 92 | C# |
using DSIS.Core.System;
using DSIS.Core.System.Impl;
namespace DSIS.CellImageBuilder.Descartes
{
public class RangeSystemSpace : ISystemSpace
{
private readonly ISystemSpace myHostSpace;
private readonly int myFrom;
private readonly int myTo;
private readonly DefaultSystemSpace mySpace;... | 23.028986 | 167 | 0.606671 | [
"Apache-2.0"
] | jonnyzzz/phd-project | dsis/src/CellImageBuilders/CellImageBuilder.Descartes/src/RangeSystemSpace.cs | 1,589 | C# |
namespace MySqlConnector.Protocol.Payloads.Replication.Events
{
public enum EventType
{
UnknownEvent = 0x00,
StartEventV3 = 0x01,
QueryEvent = 0x02,
StopEvent = 0x03,
RotateEvent = 0x04,
IntvarEvent = 0x05,
LoadEvent = 0x06,
SlaveEvent = 0x07,
CreateFileEvent = 0x08,
AppendBlockEvent = 0x... | 13.25641 | 61 | 0.704062 | [
"MIT"
] | NxSoftware/MySqlConnector | src/MySqlConnector/Protocol/Payloads/Replication/Events/EventType.cs | 1,034 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace MoneroClient.Wallet.DataTransfer
{
public class IncomingTransferResultDto
{
public IncomingTransferResultDto()
{
Transfers = new List<IncomingTransferDto>();
}
[JsonProperty("transfers")]
pub... | 24.956522 | 71 | 0.612369 | [
"MIT"
] | leonardochaia/xmr-tutorials | MoneroClient/Wallet/DataTransfer/IncomingTransfersDto.cs | 1,148 | C# |
using Abp.Application.Navigation;
using Abp.Localization;
using TomsAbp.Authorization;
namespace TomsAbp.Web.Startup
{
/// <summary>
/// This class defines menus for the application.
/// </summary>
public class TomsAbpNavigationProvider : NavigationProvider
{
public override void SetNaviga... | 43.964286 | 96 | 0.385703 | [
"MIT"
] | YLBTom/TomsAbp | aspnet-core/src/TomsAbp.Web.Mvc/Startup/TomsAbpNavigationProvider.cs | 6,157 | 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;
public struct ValX1<T>
{
public T t;
public ValX1(T t)
{
this.t = t;
}
}... | 20.863636 | 95 | 0.462185 | [
"MIT"
] | 06needhamt/runtime | src/coreclr/tests/src/JIT/Generics/Arrays/TypeParameters/Jagged/struct01.cs | 3,213 | 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... | 31.168831 | 135 | 0.574167 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20170901/Inputs/RouteFilterRuleArgs.cs | 2,400 | C# |
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class UIGradientBackground : MonoBehaviour {
// NOTE:
// Loop type = ping pong
#region Serialized Fields
[SerializeField] private bool _playWhenEnable = false;
[SerializeField] private Image _imageBG = null;
... | 25.459459 | 69 | 0.581741 | [
"MIT"
] | Davidccy/Unity-Marquee | Marquee/Assets/Scripts/UIGradientBackground.cs | 1,886 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Compute;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Azure.Management.ManagedServiceIdentity;
using Microsof... | 46.156425 | 267 | 0.556252 | [
"MIT"
] | BaherAbdullah/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMTestBase.cs | 66,096 | C# |
using System;
namespace DailyForecastClassLibrary
{
class Program
{
static void Main(string[] args)
{
}
}
}
| 12.153846 | 39 | 0.512658 | [
"MIT"
] | tialedencan/zadaca | DZ4/Homework4/DailyForecastClassLibrary/Program.cs | 160 | C# |
// <copyright file="DropdownPage.cs" company="Objectivity Bespoke Software Specialists">
// Copyright (c) Objectivity Bespoke Software Specialists. All rights reserved.
// </copyright>
// <license>
// The MIT License (MIT)
// Permission is hereby granted, free of charge, to any person obtaining a copy
// o... | 44.014085 | 107 | 0.68544 | [
"MIT"
] | ObjectivityLtd/Ocaramba | Ocaramba.Tests.NUnitExtentReports/PageObject/DropdownPage.cs | 3,127 | C# |
using System;
namespace NiTiS.Additions;
public static class EnumInfo
{
public static string GetSpecialName(this Enum enam)
{
Type enumType = enam.GetType();
string? name = enumType.GetEnumName(enam);
try
{
EnumInfoAttribute enumInfo = (EnumInfoAttribute)enumType.GetMember(enam.ToString())[0].GetCustomA... | 23.722222 | 147 | 0.702576 | [
"MIT"
] | NiTiS-Dev/NiTiSCore | Core/NiTiS.Additions/EnumInfo.cs | 856 | C# |
using System;
using System.ComponentModel.DataAnnotations;
namespace WEB.Models
{
public class FieldDTO
{
[Required]
public Guid FieldId { get; set; }
[Required]
public Guid EntityId { get; set; }
[DisplayFormat(ConvertEmptyStringToNull = false)]
[MaxLength(50)... | 32.821192 | 81 | 0.611582 | [
"MIT"
] | capesean/codegenerator | codegenerator/Models/DTOs/FieldDTO.cs | 4,956 | 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 Xunit;
using System;
using System.Reflection;
using System.Text;
namespace System.Reflection.Tests
{
publ... | 24.159236 | 130 | 0.582652 | [
"MIT"
] | OceanYan/corefx | src/System.Reflection/tests/Assembly/Assembly_GetTypeTests.cs | 3,793 | C# |
using System;
namespace TestAPI.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} | 20.727273 | 58 | 0.692982 | [
"MIT"
] | OasesOng/TestVS | TestAPI/TestAPI/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs | 228 | C# |
using Newtonsoft.Json;
using Orleans;
using System;
using System.Collections.Generic;
namespace Storage.Couchbase
{
public class CouchbaseGrainStorageOptions
{
public List<Uri> Uris { get; set; }
public string BucketName { get; set; }
public string UserName { get; set; }
pub... | 27.242424 | 115 | 0.657397 | [
"MIT"
] | jaypetrin/Orleans.Persistence.Couchbase | src/Storage.Couchbase/CouchbaseGrainStorageOptions.cs | 901 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using L2ScriptMaker.Extensions;
using L2ScriptMaker.Extensions.VbCompatibleHelper;
namespace L2ScriptMak... | 36.741414 | 464 | 0.644636 | [
"Apache-2.0"
] | Max4aters/L2ScriptMaker | L2ScriptMaker/Modules/ZeroScripts/L2J/L2J_NpcPos.cs | 18,189 | C# |
using System;
using NetOffice;
namespace NetOffice.VisioApi.Enums
{
/// <summary>
/// SupportByVersion Visio 14, 15
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/ff767414(v=office.14).aspx </remarks>
[SupportByVersionAttribute("Visio", 14,15)]
[E... | 26.362319 | 126 | 0.607477 | [
"MIT"
] | NetOffice/NetOffice | Source/Visio/Enums/VisResizeDirection.cs | 1,819 | C# |
namespace Cedar.CommandHandling.Http.TypeResolution
{
/// <summary>
/// Represents a parsed media type. Example, given a media type 'application/vnd.foo.bar.v2+json'
/// an implementation would then result in Typename='foo.bar', Version='2' and SerializationType = 'json'
/// </summary>
publi... | 36.818182 | 113 | 0.572222 | [
"MIT"
] | heynickc/Cedar.CommandHandling | src/Cedar.CommandHandling.Http.Client/TypeResolution/ParsedMediaType.cs | 1,620 | C# |
using System;
using Foundation;
using UIKit;
using NotificationCenter;
using WebKit;
namespace ExtensionsDemo {
public partial class ExtensionsDemoViewController : UIViewController {
WKWebView webView;
public ExtensionsDemoViewController (IntPtr handle) : base (handle)
{
}
public override void ViewWillA... | 22.315789 | 87 | 0.737028 | [
"MIT"
] | Art-Lav/ios-samples | ios8/ExtensionsDemo/ExtensionsDemo/ExtensionsDemoViewController.cs | 850 | C# |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... | 30.958333 | 83 | 0.748318 | [
"Apache-2.0"
] | CalosChen/Core | src/Castle.Core/DynamicProxy/Generators/Emitters/SimpleAST/MethodTokenExpression.cs | 1,486 | C# |
using System.Linq;
using BenchmarkDotNet.Attributes;
using Marten.Testing;
namespace MartenBenchmarks
{
[SimpleJob(warmupCount: 2)]
public class BulkLoading
{
public static Target[] Docs = Target.GenerateRandomData(1000).ToArray();
[GlobalSetup]
public void Setup()
{
... | 24.444444 | 83 | 0.642424 | [
"MIT"
] | jacobpovar/marten | src/MartenBenchmarks/BulkLoading.cs | 660 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// 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("Installer")]
[asse... | 42.210526 | 93 | 0.781796 | [
"MIT"
] | Kittyfisto/SharpTail | src/Installer/Properties/AssemblyInfo.cs | 1,606 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OfficeDevPnP.Core.Extensions;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers
{
/// <summary>
/// Type resolver for Navigation Node fro... | 38.561404 | 177 | 0.620109 | [
"MIT"
] | 3v1lW1th1n/PnP-Sites-Core | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/NavigationNodeFromModelToSchemaTypeResolver.cs | 2,200 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.