content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
namespace SpanBenchmark
{
class Program
{
... | 26.87156 | 92 | 0.499488 | [
"MIT"
] | wipiano/csharp-misc | Misc2018/SpanBenchmark/Program.cs | 2,931 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace DemoApi
{
public class Program
{
pub... | 24.12 | 76 | 0.691542 | [
"MIT"
] | pmckanry/demo-api | DemoApi/Program.cs | 605 | 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... | 34.576923 | 155 | 0.723026 | [
"ECL-2.0",
"Apache-2.0"
] | mdop-wh/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementNotStatementStatementNotStatementStatementAndStatementStatementIpSetReferenceStatementArgs.cs | 899 | C# |
using NUnit.Framework;
using Securo.GlobalPlatform.Interfaces;
using Securo.GlobalPlatform.Model;
using Securo.GlobalPlatform.SecureMessaging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Securo.GlobalPlatform.SecureMessaging.Tests
{
... | 30.90625 | 92 | 0.718908 | [
"MIT"
] | dimatteo31/securo-gp | tests/Securo.GlobalPlatform.Tests/SecureMessaging/SecureSessionDetailsCreatorTests.cs | 991 | 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("AC... | 37.702703 | 84 | 0.743369 | [
"Apache-2.0"
] | 125m125/acat | src/LanguagePacks/French/Resources/Properties/AssemblyInfo.cs | 1,398 | C# |
// Copyright 2010 Max Toro Q.
//
// 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 agre... | 28.853933 | 124 | 0.639019 | [
"BSD-3-Clause"
] | mdavid/nuxleus | src/Nuxleus.Xameleon/Saxon/SaxonAtomicValueWrapper.cs | 2,570 | C# |
using System.Collections.Generic;
using Tetra.EntityManagement;
using UnityEngine;
namespace Tetra.Rendering
{
public class EntityRenderer<T> : EntityRenderer where T : Entity
{
public override void Draw()
{
for (int i = 0; entities.Count > i; i++)
Graphics.DrawMesh... | 43.448276 | 186 | 0.676984 | [
"Unlicense"
] | Slaktus/Tetra | Tetra/Rendering/EntityRenderer.cs | 1,262 | C# |
// <copyright file="RectStruct.cs" company="Flogard Services">
// The MIT License (MIT)
//
// Copyright (c) 2020 Trym Lund Flogard and 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 t... | 42.571429 | 120 | 0.692394 | [
"MIT"
] | trympet/wpf-window-extensions | Structures/RectStruct.cs | 2,684 | C# |
using Native.Csharp.App.Gameplay;
using Native.Csharp.App.UserInteract;
using Native.Csharp.App.Util;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Native.Csharp.App
{
pu... | 36.728571 | 139 | 0.491054 | [
"MIT"
] | apflu/DungeonBot | Native.Csharp/App/Values.cs | 5,204 | 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... | 43.163987 | 402 | 0.608239 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Insights/V20200501Preview/ScheduledQueryRule.cs | 13,424 | C# |
/*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | 36.519313 | 139 | 0.482783 | [
"Apache-2.0"
] | itinero/logistics | src/Itinero.Optimization/Models/ModelValidation.cs | 8,511 | C# |
using Abp.AutoMapper;
using FuelWerx.Invoices.Dto;
using System;
using System.Runtime.CompilerServices;
namespace FuelWerx.Web.Areas.Mpa.Models.Invoices
{
[AutoMapFrom(new Type[] { typeof(GetInvoiceResourceForEditOutput) })]
public class CreateOrUpdateInvoiceResourcesModalViewModel : GetInvoiceResourceForEditOutput
... | 24.05 | 101 | 0.709979 | [
"MIT"
] | zberg007/fuelwerx | src/FuelWerx.Web/Areas/Mpa/Models/Invoices/CreateOrUpdateInvoiceResourcesModalViewModel.cs | 962 | C# |
/*******************************************************
*
* 作者:胡庆访
* 创建时间:20111110
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20111110
*
*******************************************************/
using System.Collections.Generic;
using System.Linq;
using Rafy.Serialization;... | 28.81875 | 87 | 0.517458 | [
"MIT"
] | zgynhqf/trunk | Rafy/Rafy/ManagedProperty/Serialization/Mobile/MobileDictionary.cs | 4,723 | C# |
// License text here
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZigBeeNet.ZCL.Protocol;
using ZigBeeNet.ZCL.Field;
using ZigBeeNet.ZCL.Clusters.RSSILocation;
namespace ZigBeeNet.ZCL.Clusters.RSSILocation
{
/// <summary>
/// Get Location Data Command value obje... | 33 | 111 | 0.62306 | [
"EPL-1.0"
] | AutomationGarage/ZigbeeNet | libraries/ZigBeeNet/ZCL/Clusters/RSSILocation/GetLocationDataCommand.cs | 2,708 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.Remoting.Messaging;
using System.Text;
using Senparc.Weixin.Context;
using Senparc.Weixin.MP.Entities;
namespace GRGcms.API.Weixin.Handler
{
public class CustomMessageContext : MessageContext<IRequestMessageBase, IResponseMessageBase>
{
... | 32 | 169 | 0.646341 | [
"MIT"
] | zengfanmao/mpds | LiveVideoSDK/VIMS.Cms/GRGcms.API/Weixin/Handler/CustomMessageContext.cs | 1,622 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 74.649123 | 516 | 0.79577 | [
"Apache-2.0"
] | phillip-haydon/aws-sdk-net | sdk/src/Services/AWSMarketplaceMetering/Properties/AssemblyInfo.cs | 4,255 | 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;
namespace attendance_diary
{
public partial class Admin_view_workers : Form
{
DataTable ... | 34.383929 | 187 | 0.529213 | [
"CC0-1.0"
] | SamoPritrznik/Attendance-Diary | attendance-diary/Admin_view_workers.cs | 3,856 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UpdatePosition : MonoBehaviour {
public Transform player1;
public Transform player2;
private Transform currentPosition;
private float newX;
private float newY;
// Use this for initialization
void Start... | 24.727273 | 91 | 0.64951 | [
"MIT"
] | kmikus/team2-ist440 | Project-CandleLIT/Assets/Scripts/Camera/UpdatePosition.cs | 818 | C# |
using Banking.Shared.Helpers;
using Banking.Shared.Models;
using Microsoft.Data.SqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper;
namespace Banking.Infrastructure.Repositories
{
public class ClientQueryRepository : IQueryRe... | 40.015504 | 142 | 0.626501 | [
"MIT"
] | t-rolfin/Banking_IntShip | src/Banking.Infrastructure/Repositories/ClientQueryRepository.cs | 5,164 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Wiffzack.Devices.CardTerminals.Protocols.ZVT.ApplicationLayer;
using Wiffzack.Devices.CardTerminals.Common;
namespace Wiffzack.Devices.CardTerminals.Protocols.ZVT.TransportLayer
{
/// <summary>
/// Encapsulates an Apdu for trans... | 30.333333 | 92 | 0.451334 | [
"MIT"
] | Europa-Park/zvtlib | CardTerminalLibrary/Protocols/ZVT/TransportLayer/NetworkTpdu.cs | 2,550 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// ant.merchant.expand.indirect.online.modify
/// </summary>
public class AntMerchantExpandIndirectOnlineModifyRequest : IAlipayRequest<AntMercha... | 23 | 125 | 0.552945 | [
"MIT"
] | lzw316/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AntMerchantExpandIndirectOnlineModifyRequest.cs | 2,870 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Kartverket.ReportGenerator.Models
{
public class MetadataEntry
{
[Key]
public string Uuid { get; set; }
public int SortOrder { get; set; }
}
} | 21.333333 | 44 | 0.69375 | [
"MIT"
] | kartverket/Geonorge.Rapportgenerator | Kartverket.ReportGenerator/Models/MetadataEntry.cs | 322 | C# |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.market.curve
{
//JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted to C#:
// import static com.opengamma.strata.c... | 43.745455 | 104 | 0.729011 | [
"Apache-2.0"
] | ckarcz/Strata.ConvertedToCSharp | modules/market/src/test/java/com/opengamma/strata/market/curve/ConstantCurveTest.cs | 4,814 | C# |
public class Solution {
public int NumIslands(char[][] grid) {
if (grid== null || grid.Length ==0)
return 0;
var rn = grid.Length;
var cn = grid[0].Length;
var res = 0;
for(var r = 0; r < rn; r++){
for(var c = 0; c < c... | 33.3 | 64 | 0.234234 | [
"MIT"
] | Igorium/Leetcode | medium/200. Number of Islands.txt.cs | 1,665 | C# |
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslynator.CSharp.Analysis.If
{
internal sealed class IfElseToAssignmentW... | 33.5 | 156 | 0.692537 | [
"Apache-2.0"
] | onexey/Roslynator | src/Common/CSharp/Analysis/If/IfElseToAssignmentWithExpressionAnalysis.cs | 1,007 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101
{
using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="Operation" />
/// </summary>
public partial class Operati... | 50.605634 | 241 | 0.575703 | [
"MIT"
] | Agazoth/azure-powershell | src/Kusto/generated/api/Models/Api202101/Operation.TypeConverter.cs | 7,045 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EDI_Parser.Attributes
{
public class SegmentIdAttribute:Attribute
{
public string Id{get;set;}
public SegmentIdAttribute(string id)
{
this.Id = id... | 18.888889 | 45 | 0.652941 | [
"MIT"
] | shaggydp/EDIParser | EDI Parser/Attributes/SegmentIdAttribute.cs | 342 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Axiverse.Mathematics.Geometry
{
/// <summary>
/// A two dimensional ray.
/// </summary>
public struct Ray2
{
/// <summary>
/// The origin of the ray.
... | 22.75 | 54 | 0.543346 | [
"MIT"
] | AxiverseCode/Axiverse | Source/Libraries/Axiverse.Mathematics/Geometry/Ray2.cs | 821 | C# |
// <copyright file="BaseOtlpGrpcExportClient.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 33.56962 | 119 | 0.667798 | [
"Apache-2.0"
] | TylerHelmuth/opentelemetry-dotnet | src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/ExportClient/BaseOtlpGrpcExportClient.cs | 2,652 | C# |
using ColossalFramework;
namespace WhatThe.Mods.CitiesSkylines.ServiceDispatcher
{
/// <summary>
/// Handles frame based buckets for object updates.
/// </summary>
internal class Bucketeer
{
/// <summary>
/// The factor.
/// </summary>
private uint factor;
... | 28.955056 | 90 | 0.49903 | [
"MIT",
"Unlicense"
] | DinkyToyz/wtmcsServiceDispatcher | wtmcsServiceDispatcher/Util/Bucketeer.cs | 2,579 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ThresholdNoAdaptation : ThresholdAdaptiveProcedure
{
readonly float threshold;
/// <param name="threshold">constant value for the threshold</param>
public ThresholdNoAdaptation(float threshold) {
this.th... | 21.304348 | 72 | 0.714286 | [
"Apache-2.0"
] | exporl/lars-common | Core/Procedures/ThresholdNoAdaptation.cs | 492 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Stubble.Core.Settings;
namespace Stubble.Extensions.JsonNet
{
public static class JsonNet
{
public static RendererSettingsBuilder AddJsonNet(this RendererSettingsBuilder builder)
{
foreach(... | 32.824561 | 178 | 0.499198 | [
"MIT"
] | StubbleOrg/Stubble.Extensions.JsonNet | src/Stubble.Extensions.JsonNet/JsonNet.cs | 1,873 | C# |
/*
Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com)
This file is part of Highlander Project https://github.com/alexanderwatt/Hghlander.Net
Highlander is free software: you can redistribute it and/or modify it
under the terms of the Highlander license. You should have received a
copy of the license along with... | 38.425532 | 104 | 0.702658 | [
"BSD-3-Clause"
] | mmrath/Highlander.Net | Metadata/FpML.V5r10/FpML.V5r10.Reporting.ModelFramework/PricingStructures/ISwaptionATMVolatilitySurface.cs | 1,806 | C# |
//Copyright 2004 - $Date: 2008-11-15 23:58:07 +0100 (za, 15 nov 2008) $ by PeopleWare n.v..
//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... | 54.510417 | 177 | 0.683356 | [
"Apache-2.0"
] | jandockx/ppwcode | dotnet/Vernacular/Exceptions/I/1.n/1.0/solution/I/ExternalError.cs | 5,235 | 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;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
namespace System.Web.Http.ModelBinding
{
/... | 31.623377 | 143 | 0.594251 | [
"Apache-2.0"
] | 1508553303/AspNetWebStack | src/System.Web.Http/ModelBinding/JQueryMVCFormUrlEncodedFormatter.cs | 2,437 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace SwmSuite.Data.DataObjects {
[Serializable]
[XmlType( Namespace = "SimpleWorkfloorManagementSuiteNameSpace" )]
public class TaskData : DataObjectBase {
#region -_ Private Members _-
#endregion
#re... | 22.149254 | 109 | 0.692049 | [
"Unlicense"
] | Djohnnie/SwmSuite-Original | SwmSuite.Framework.DataObjects/TaskData.cs | 1,486 | C# |
using Newtonsoft.Json;
namespace Yandex.Checkout.V3
{
/// <summary>
/// Payment amount
/// </summary>
public class Amount
{
/// <summary>
/// Value
/// </summary>
[JsonProperty()]
public decimal Value { get; set; }
/// <summary>
/// Three le... | 19.727273 | 53 | 0.493088 | [
"MIT"
] | Sierra93/Yandex.Checkout.V3 | Yandex.Checkout.V3/Amount.cs | 436 | C# |
using System;
using System.Net;
using System.Windows;
namespace SC2MiM.Common.Entities
{
public class Match
{
public String Carte { get; set; }
public String Type { get; set; }
public String Resultat { get; set; }
public bool IsWin { get; set; }
public DateTime Date { g... | 23.666667 | 87 | 0.426761 | [
"MIT"
] | Mimetis/SC2Sniffer | SC2MiM.Common/Entities/Match.cs | 1,422 | C# |
using System;
using System.Collections.Generic;
class SpeedRacing
{
static void Main()
{
var cars = new Dictionary<string, Car>();
var carsNumber = int.Parse(Console.ReadLine());
for (int counter = 0; counter < carsNumber; counter++)
{
var carData = Console.ReadLine... | 27.767442 | 72 | 0.504188 | [
"Apache-2.0"
] | genadi60/C--OOP-Basic | Defining Classes - Exercise/07.SpeedRacing/SpeedRacing.cs | 1,196 | C# |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... | 43.005903 | 171 | 0.540932 | [
"MIT"
] | cuteant/SpanNetty | src/DotNetty.Buffers/Reader/ByteBufferReader.Search.cs | 36,488 | C# |
namespace Backdrops
{
public class Wallpaper
{
public int ID;
public int CategoryID;
public string CategoryName;
public string ImageURL;
public string ThumbURL;
public string Title;
public string Description;
public string Tags;
public str... | 24.130435 | 36 | 0.607207 | [
"MIT"
] | ApexWeed/backdrops | Backdrops/Wallpaper.cs | 557 | 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 BenchmarkDotNet.Attributes;
namespace Contoso.GameNetCore.Routing.Matching
{
public class RouteEndpointAzureBenchmark : MatcherAzureBe... | 28.8125 | 112 | 0.67462 | [
"Apache-2.0"
] | bclnet/GameNetCore | src/Proto/Routing/perf/Matching/RouteEndpointAzureBenchmark.cs | 461 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.DevTools;
namespace OpenQA.Selenium.Remote
{
public class RemoteNetwork : INetwork
{
private Lazy<DevToolsSession> session;
private List<NetworkRequestHandle... | 39.192982 | 149 | 0.603253 | [
"Apache-2.0"
] | Blazemeter/selenium | dotnet/src/webdriver/Remote/RemoteNetwork.cs | 6,702 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NetOffice.DeveloperToolbox.ToolboxControls.ProxyView
{
interface IRefresh : IDisposable
{
void RefreshAsync(Action<IRefresh> complete, Control syncRoot);
bool IsCurrentl... | 23 | 71 | 0.744928 | [
"MIT"
] | NetOfficeFw/NetOfficeToolbox | DeveloperToolbox/ToolboxControls/ProxyView/IRefresh.cs | 347 | C# |
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gm.modularity
{
public interface IDependedProvider
{
[NotNull]
Type[] GetDependeds();
}
}
| 17.1875 | 38 | 0.712727 | [
"MIT"
] | zfeihong/iot | framework/src/gm.core/gm/modularity/interface/IDependedProvider.cs | 277 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gen... | 41.982456 | 128 | 0.615963 | [
"MIT"
] | ADADebug/Entitas-CSharp | Tests/Unity/VisualDebugging/Assets/Sources/Generated/Game/Components/GameDictionaryComponent.cs | 2,393 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace browser
{
public partial class Form2 : Form
{
string[] nowdata;
string build;
public Form2(string[] data)
... | 22.525 | 95 | 0.528302 | [
"Apache-2.0"
] | LHMPTeam/lhmp-old | Others/browser/Form2.cs | 903 | C# |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class ModelData
{
public static Action<ULTypeInfo> onAddType;
public static Action<ULTypeInfo> onRemoveType;
public const strin... | 25.843501 | 164 | 0.524069 | [
"MIT"
] | xiongfang/UL | UL/ULEditor/Model/UL.cs | 9,847 | 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: AssemblyTi... | 40.388889 | 85 | 0.737276 | [
"Apache-2.0"
] | ligos/MakeMeAPassword | MakeMeAPassword.Web/Properties/AssemblyInfo.cs | 1,457 | C# |
using AccountingSystems.PurchaseOrders.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AccountingSystems.Web.Models.PurchaseOrder
{
public class PurchaseOrderListViewModel
{
public IReadOnlyList<PurchaseOrderListDto> PurchaseOrders { get;... | 24 | 79 | 0.782738 | [
"MIT"
] | CorinthDev-Github/Invoice-and-Accounting-System | aspnet-core/src/AccountingSystems.Web.Mvc/Models/PurchaseOrder/PurchaseOrderListViewModel.cs | 338 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Web;
using Mindscape.Raygun4Net.Messages;
using NUnit.Framework;
namespace Mindscape.Raygun4Net.Tests
{
[TestFixture]
public class RaygunClientTests
{
private... | 27.819672 | 102 | 0.69338 | [
"MIT"
] | ghuntley/raygun4net | Mindscape.Raygun4Net.Tests/RaygunClientTests.cs | 5,093 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using T... | 34.053097 | 125 | 0.613176 | [
"MIT"
] | Azure/azure-functions-durable-extension | test/WebJobs.Extensions.DurableTask.Analyzers.Test/Entity/DispatchEntityNameAnalyzerTests.cs | 7,698 | C# |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | 52.932136 | 327 | 0.561183 | [
"Apache-2.0"
] | TeachmanLab/sensus | Sensus.Shared/Callbacks/CallbackScheduler.cs | 26,521 | C# |
//
// Copyright 2021 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | 28.1 | 72 | 0.69573 | [
"Apache-2.0"
] | Bhisma19/iap-desktop | sources/Google.Solutions.IapDesktop.Application/Services/ProjectModel/ProjectModelEvents.cs | 1,688 | C# |
using System.Collections.Concurrent;
namespace System.Runtime.Remoting.Messaging;
/// <summary>
/// CallContext for .NET Standard and .NET Core
/// for more info: http://www.cazzulino.com/callcontext-netstandard-netcore.html
/// </summary>
public static class CallContext
{
private static readonly ConcurrentDictio... | 27.864865 | 83 | 0.654704 | [
"Apache-2.0"
] | cosmos-loops/Cosmos.Standard | src/Cosmos.Extensions.Asyncs/System/Runtime/Remoting/Messaging/CallContext.cs | 1,031 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using AspNetCoreTemplate.Data.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace AspNetCoreTempla... | 32.010638 | 129 | 0.586906 | [
"MIT"
] | mirakis97/OnlineCosmeticSalon | OnlineCosmeticSalon.Web/Web/AspNetCoreTemplate.Web/Areas/Identity/Pages/Account/Manage/SetPassword.cshtml.cs | 3,011 | C# |
using System;
using ImageProcessing.App.DomainLayer.Code.Enums;
using ImageProcessing.App.DomainLayer.DomainFactory.ColorMatrix.Interface;
using ImageProcessing.App.DomainLayer.DomainModel.ColorMatrix.Implementation;
using ImageProcessing.App.DomainLayer.DomainModel.ColorMatrix.Interface;
namespace ImageProcessing.Ap... | 36.266667 | 82 | 0.608456 | [
"Apache-2.0"
] | Softenraged/Image-Processing | Source/ImageProcessing.App.DomainLayer/DomainFactory/ColorMatrix/Implementation/ColorMatrixFactory.cs | 1,632 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using NUnit.Framework;
using Shouldly;
using Stackage.Core.Abstractions.Metrics;
namespace Stackage.Cor... | 30.651852 | 148 | 0.637264 | [
"MIT"
] | concilify/stackage-core-nuget | package/Stackage.Core.Tests/DefaultMiddleware/RateLimiting/rate_limited_request.cs | 4,138 | C# |
using Suls.ViewModels.Submissions;
namespace Suls.Services.Submissions
{
public interface ISubmissionsService
{
public void CreateSubmission(string problemId, string userId, SubmissionInputModel model);
void DeleteSubmission(string submissionId);
}
}
| 23.5 | 98 | 0.751773 | [
"MIT"
] | GeorgiGradev/C-Web | 01. C# Web Basics/11. Exams/01. Suls/MySolution/Suls/Services/Submissions/ISubmissionsService.cs | 284 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// koubei.servindustry.reservation.payshop.identify
/// </summary>
public class KoubeiServindustryReservationPayshopIdentifyRequest : IAlipayRequ... | 23.193548 | 139 | 0.557371 | [
"MIT"
] | lzw316/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryReservationPayshopIdentifyRequest.cs | 2,890 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Este 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 re... | 41.267606 | 187 | 0.62116 | [
"CC0-1.0"
] | Luscas-PandC/Entra21-NoturnoLucas-Forms | ControleEstoqueComEF6/Properties/Resources.Designer.cs | 2,945 | 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;
internal partial class Interop
{
internal static class IID
{
// 0000000C-0000-0000-C0... | 39.285714 | 131 | 0.700606 | [
"MIT"
] | kant2002/winforms | src/System.Windows.Forms.Primitives/src/Interop/Interop.IID.cs | 825 | C# |
using System;
namespace Primelabs.Twingly.KestrelApi.Exceptions
{
public class KestrelApiException : ApplicationException
{
public KestrelApiException(string message) : base(message) {}
public KestrelApiException(string message, Exception innerException) : base(message, innerException) {}
}... | 32.2 | 111 | 0.748447 | [
"MIT"
] | twingly/KestrelApi | KestrelApi/Exceptions/KestrelApiException.cs | 322 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using... | 43.421053 | 148 | 0.643636 | [
"MIT"
] | CrZGerry/Windows-universal-samples | Samples/ApplicationResources/cs/languageoverride.xaml.cs | 5,657 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.As... | 25.628571 | 71 | 0.618729 | [
"MIT"
] | LuisRGameloft/corert | tests/src/Functional/AspNetCore/Controllers/ValuesController.cs | 899 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Avalon.Utils
{
public class ProcessKiller
{
public static void KillProcessByName(string processName)
{
Process[] processes = Process.GetProcessesByN... | 23.678571 | 75 | 0.458522 | [
"Unlicense"
] | Canaan-Creative/Avalon-nano | gui_1.0/AvalonDevice/ProcessKiller.cs | 665 | C# |
using DesignPatterns.Structural.Flyweights;
using FluentAssertions;
using Xunit;
namespace DesignPatterns.Tests.Structural.Flyweights
{
public class CompanyInformationTests
{
[Fact]
public void CompanyInformationShouldNotHaveMultipleAllocations()
{
var companyInfo1 = Compan... | 31.65 | 73 | 0.704581 | [
"MIT"
] | luizmotta01/dotnet-design-patterns | tests/DesignPatterns.Tests/Structural/Flyweights/CompanyInformationTests.cs | 635 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MapEditor.UI.Core.Transitions {
public class ManagedType_Byte :IManagedType {
#region IManagedType Members
/// <summary>
/// Returns the type we are managing.
/// </summary>
public... | 23.486486 | 84 | 0.686997 | [
"MIT"
] | oxysoft/PokeSharp | src/MapEditor.UI/Core/Transitions/ManagedType_Byte.cs | 871 | C# |
// Copyright 2016 Google Inc. 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 required by applicabl... | 34.096154 | 117 | 0.685843 | [
"Apache-2.0"
] | david0718/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtension/MySQLInstaller/MySQLInstallerViewModel.cs | 1,775 | C# |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using ... | 39.290909 | 152 | 0.659417 | [
"MIT"
] | nlainez/ContactWeb | ConctWeb/App_Start/IdentityConfig.cs | 4,324 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Microsoft.Identity.Client.Cache.Items;
using Microsoft.Identity.Client.OAuth2;
namespace Microsoft.Identity.Client.AuthScheme.SSHCertificates
{
internal class SSHC... | 30.127273 | 90 | 0.626433 | [
"MIT"
] | pavel-petrenko/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/AuthScheme/SSHCertificates/SSHCertAuthenticationScheme.cs | 1,659 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia;
using Avalonia.Styling;
using FFXIVAPP.Client.Properties;
namespace FFXIVAPP.Client.Themes
{
public static class ThemeManager
{
public static List<ThemeItem> AvailableThemes => new List<ThemeItem>
{
D... | 28.740741 | 101 | 0.552835 | [
"MIT"
] | teast/ffxivapp | FFXIVAPP.Client/Themes/ThemeManager.cs | 1,552 | 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.Linq;
using System.Xml.Linq;
using Microsoft.AspNetCore.DataProtection.XmlEncryption;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exte... | 28 | 99 | 0.742188 | [
"MIT"
] | AndrewTriesToCode/aspnetcore | src/DataProtection/samples/CustomEncryptorSample/CustomXmlDecryptor.cs | 898 | 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... | 30.210526 | 109 | 0.709059 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/TagResourceResponse.cs | 1,148 | C# |
namespace BackupServiceDaemon.Backuping {
public class BackupProgress {
public int Percentage { get; set; }
public string Status { get; set; }
}
}
| 24.428571 | 43 | 0.649123 | [
"MIT"
] | VikiFandaMisa/BackupServiceDaemon | Backuping/BackupProgress.cs | 171 | C# |
using System;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Forms;
namespace WordWebService
{
public partial class TextEntryForm: Form
{
public TextEntryForm()
{
InitializeComponent();
var textChanges = Observable
.FromEventPattern... | 26 | 62 | 0.53953 | [
"BSD-3-Clause"
] | MiloszKrajewski/dnug-rx | src/WordWebService/TextEntryForm.cs | 938 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player2Versus : MonoBehaviour
{
public float Speed;
public float JumpForce;
public bool isJumping;//para identificar se est pulando
public float LifePlayer;
public bool isDead;
private Rigidbody... | 26.921296 | 229 | 0.543938 | [
"MIT"
] | PabloXT14/Projeto_TCC-Jogo_School_Fighter | Arquivos do Projeto/SchoolFigther/Assets/AssetsLuta2/Scripts/Vesus/Player2Versus.cs | 11,650 | C# |
using SFA.DAS.EmployerAccounts.Exceptions;
using CommonOrganisationType = SFA.DAS.Common.Domain.Types.OrganisationType;
using ReferenceDataOrganisationType = SFA.DAS.ReferenceData.Types.DTO.OrganisationType;
namespace SFA.DAS.EmployerAccounts.Extensions
{
/// <remarks>
/// There are two organisation types... | 54.022727 | 184 | 0.665755 | [
"MIT"
] | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Extensions/OrganisationTypeExtensions.cs | 4,756 | C# |
using System;
using System.Linq;
namespace additional01
{
public class Program
{
public static void Main(string[] args)
{
int arrayLength = 0;
if (int.TryParse(Console.ReadLine(), out arrayLength))
{
int[] array = new int[arrayLength];
... | 25.068182 | 66 | 0.356301 | [
"MIT"
] | BorislavVladimirov/Microinvest-Academy | MicrointvestArrays/additional01/Program.cs | 1,105 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace CSharpGL
{
public partial class vermilion
{
//uint vglLoadTexture(string filename, uint texture, vglImageData image)
//{
//}
}
}
| 16.833333 | 80 | 0.683168 | [
"MIT"
] | AugusZhan/CSharpGL | Infrastructure/CSharpGL.Models/DDS/vermilion_vglLoadTexture.cs | 305 | C# |
using Vostok.Metrics.Primitives.Counter;
using Vostok.Metrics.Primitives.Gauge;
using Vostok.Metrics.Primitives.Timer;
namespace Vostok.Metrics.Scraping
{
// NOTE (tsup): We do not inherit configs from ScrapableMetricConfig to keep back-compatibility.
internal static class ConfigExtensions
{
publ... | 33.08 | 101 | 0.60399 | [
"MIT"
] | vostok/metrics | Vostok.Metrics/Scraping/ConfigExtensions.cs | 1,656 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestSuites.FileSharing.FSA.Adapter;
using Microsoft.Protocols.TestTools;
using Microsoft.Protocols.TestTools.StackSdk;
using Microsoft.Protoco... | 36.655738 | 118 | 0.673971 | [
"MIT"
] | 0neb1n/WindowsProtocolTestSuites | TestSuites/FileServer/src/FSA/TestSuite/QuotaInformation/QuotaInfoTestCases.cs | 2,236 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version: 16.0.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ----... | 41.33642 | 152 | 0.5921 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | generator/ServiceClientGeneratorLib/Generators/Marshallers/AWSQueryEC2ResponseUnmarshaller.cs | 13,395 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Infrastructure.EF.Data.Contracts;
namespace Infrastructure.Config
{
public class HttpManager : IHttpManager
{
public const string ContextName = "HttpContext";
... | 25.657143 | 89 | 0.61804 | [
"MIT"
] | ViniciusTavares/.Net-DDD-Sample | Infrastructure.EF.Data/Config/HttpManager.cs | 900 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MagicRepositoryExtensions.cs" company="nGratis">
// The MIT License (MIT)
//
// Copyright (c) 2014 - 2021 Cahya Ong
//
// Permission is hereby granted, free of charge, to any p... | 38.102564 | 120 | 0.538807 | [
"MIT"
] | cahyaong/ai.kvasir | Source/Kvasir.Core.Test/IO/MagicRepositoryExtensions.cs | 4,460 | C# |
using System;
namespace _01.Resurrection
{
class Program
{
static void Main()
{
int numOfPhoenixes = int.Parse(Console.ReadLine());
for (int i = 0; i < numOfPhoenixes; i++)
{
int totalLength = int.Parse(Console.ReadLine());
de... | 31.5 | 108 | 0.542857 | [
"MIT"
] | CvetelinLozanov/SoftUni-C- | Programing Fundamentals C#/Progr. Fund. Extended Retake Exam - 04 Sept 2017/01. Resurrection/Program.cs | 632 | C# |
namespace MyPet.Domain.AdoptionAds.Models
{
public class AdoptionConstants
{
public class AdoptionCategory
{
public const int MinAdoptionCategoryNameLength = 2;
public const int MaxAdoptionCategoryNameLength = 100;
}
public class AdoptionAd
{
... | 28.047619 | 67 | 0.63837 | [
"MIT"
] | Domin1k/My-Pet | Server/Core/MyPet.Domain/AdoptionAds/Models/AdoptionConstants.cs | 591 | C# |
using System.Collections.ObjectModel;
namespace Mistware.Utils
{
/// <summary>
/// Holds a collection of Key/Value objects
/// KeyList and KeyPair classes are quite simlar to other classes, but their use can result in simpler code.
/// </summary>
public class KeyList : Collection<KeyPair>
{
... | 29.111111 | 113 | 0.510433 | [
"BSD-3-Clause"
] | julianpratt/ReportDist | Data/Entities/KeyList.cs | 3,930 | C# |
// Copyright (c) 2008-2021, Hazelcast, Inc. 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 required by... | 32.583333 | 75 | 0.70844 | [
"Apache-2.0"
] | Serdaro/hazelcast-csharp-client | src/Hazelcast.Net/Metrics/MetricValueType.cs | 784 | C# |
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
namespace LYearUiSample.EntityFrameworkCore
{
[DependsOn(
typeof(LYearUiSampleEntityFrameworkCoreModule)
)]
public class LYearUiSampleEntityFrameworkCoreDbMigrationsModule : AbpModule
{
public override void ... | 28.529412 | 83 | 0.742268 | [
"MIT"
] | wagnerhsu/sample-Abp.AspNetCore.Mvc.UI.Theme.LYear | samples/LYearUiSample.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/LYearUiSampleEntityFrameworkCoreDbMigrationsModule.cs | 487 | C# |
// <copyright file="VegaDistributedTestClient.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace Microsoft.Vega.DistributedTest
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Fabric;
... | 36.169725 | 199 | 0.506574 | [
"MIT"
] | Azure/RingMaster | src/Tests/VegaDistributedTest/VegaDistributedTestClient/VegaDistributedTestClient.cs | 23,657 | C# |
using DOTP.DRM.Models;
using DOTP.RaidManager;
using DOTP.Users;
using System.Web.Mvc;
namespace DOTP.DRM.Controllers
{
public class CharactersController : Controller
{
#region /Characters/Add
//
// GET: /Characters/Add
public ActionResult Add()
{
if (!Man... | 29.232804 | 106 | 0.549683 | [
"BSD-2-Clause"
] | anxkha/DRM | DOTP.DRM/Controllers/CharactersController.cs | 5,527 | C# |
namespace JsDataGrids.UI.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}
| 19.8 | 70 | 0.661616 | [
"MIT"
] | hpscodemaverick/JavascriptDataGrids | JsGrid.UI/Models/ErrorViewModel.cs | 198 | C# |
/*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may be subject to their c... | 35.111111 | 179 | 0.643196 | [
"BSD-3-Clause"
] | SirXuNian/puerts | unity/Assets/Puerts/Src/Utils.cs | 1,266 | C# |
// ********************************************************************************************************
// Product Name: DotSpatial.Projection
// Description: The basic module for MapWindow version 6.0
// ********************************************************************************************************
/... | 39.732673 | 150 | 0.496885 | [
"MIT"
] | sdrmaps/dotspatial | Source/DotSpatial.Projections/Transforms/WinkelTripel.cs | 4,013 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SOH.Web.Migrations
{
public partial class ChangeToIdentityRole : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Dow... | 19.3 | 71 | 0.69171 | [
"MIT"
] | nguyenlamlll/SaigonOperaHouse | SOH/SOH.Web/Data/Migrations/20180315034923_ChangeToIdentityRole.cs | 388 | C# |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2019 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using GameFramework.Entity;
using... | 28.905213 | 128 | 0.504181 | [
"MIT"
] | Iamdevelope/UnityGameFramework | Scripts/Runtime/Entity/Entity.cs | 6,570 | C# |
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData
// package to your project.
////#define Handle_PageResultOfT
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using ... | 56.601626 | 149 | 0.662166 | [
"Apache-2.0"
] | nrogoff/EnterpriseAppSettings | src/dotNET/hms.entappsettings.webapi/hms.entappsettings.webapi/Areas/HelpPage/App_Start/HelpPageConfig.cs | 6,962 | C# |
// Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.Xbox.Services.ContextualSearch
{
public class Context... | 19.735294 | 101 | 0.606557 | [
"MIT"
] | Barallob/xbox-live-unity-plugin | CSharpSource/Source/api/ContextualSearch/ContextualSearchGameClipThumbnail.cs | 671 | C# |
public abstract class Behavior : IBehavior
{
protected Behavior()
{
this.ToDelayRecurrentEffect = true;
}
public int SourceInitialDamage { get; private set; }
public bool IsTriggered { get; set; }
public bool ToDelayRecurrentEffect { get; set; }
public abstract void ApplyTrigger... | 24.041667 | 59 | 0.679376 | [
"MIT"
] | mayapeneva/C-Sharp-OOP-Advanced | 07.SOLID/Exer_Blobs/Entities/Behaviors/Behavior.cs | 579 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.