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.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ItemType
{
ShotTypeChange,
BulletSupply,
StageClear,
}
public class Item : MonoBehaviour
{
public ItemType m_itemType;
private void OnCollisionEnter2D(Collision2D collision)
{
gameObject.SetAct... | 16.190476 | 58 | 0.723529 | [
"MIT"
] | world29/FlappyAzarashi | Assets/Scripts/Item.cs | 342 | C# |
using UnityEngine;
using System.Collections;
using Sfs2X.Entities.Data;
using YxFramwork.Common;
using YxFramwork.Framework.Core;
using YxFramwork.Manager;
using System.Collections.Generic;
using YxFramwork.View;
namespace Assets.Scripts.Game.brtbsone
{
//棋牌控制
public class BrttzCardsCtrl : MonoBehaviour
{
... | 33.658153 | 149 | 0.501109 | [
"MIT"
] | GEngine-JP/chessgame | Assets/Scripts/Game/brtbsone/BrttzCardsCtrl.cs | 17,638 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace eIVOGo.Published
{
public partial class ContentPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)... | 25.789474 | 106 | 0.547959 | [
"MIT"
] | uxb2bralph/IFS-EIVO03 | eIVOGo/Published/ContentPage.aspx.cs | 982 | 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.Buffers;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization.Metadata;
namespace System.Text.Json
{
//... | 44.630542 | 152 | 0.585706 | [
"MIT"
] | 3DCloud/runtime | src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.String.cs | 18,120 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs.Choices;
using Microsoft.Bot.Schema;
using Microsoft.BotBuilderSample... | 45.020101 | 190 | 0.592365 | [
"MIT"
] | AdsTable/BotBuilder-Samples | samples/csharp_dotnetcore/23.facebook-events/Bots/FacebookBot.cs | 8,961 | C# |
using FolkerKinzel.CsvTools.Helpers;
using FolkerKinzel.CsvTools.Intls;
using FolkerKinzel.CsvTools.Resources;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
namespa... | 41.298077 | 175 | 0.54707 | [
"MIT"
] | FolkerKinzel/CsvTools | src/FolkerKinzel.CsvTools/CsvReader.cs | 12,918 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 44.975 | 283 | 0.632203 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetStorageProfile.cs | 5,397 | C# |
namespace Sql2Json.Core.Engine
{
/// <summary>
/// Prefix types for sql parameter.
/// </summary>
public enum CommandParameterPrefix
{
/// <summary>
/// '@' Prefix for mssql-, sqlite-, postgres- parameters
/// </summary>
AtSign,
/// <summary>
/// ":"... | 28 | 77 | 0.506098 | [
"MIT"
] | mohzy83/Sql2Json | Sql2Json.Core/Engine/CommandParameterPrefix.cs | 1,150 | 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;
namespace Microsoft.AspNetCore.Components
{
/// <summary>
/// Configures options for binding specific element types.
/// </su... | 37.784615 | 175 | 0.590798 | [
"Apache-2.0"
] | AhmedKhalil777/aspnetcore | src/Components/Components/src/BindElementAttribute.cs | 2,456 | C# |
using System;
namespace Puffix.IoC
{
public interface IIoCContainer
{
ObjectT Resolve<ObjectT>(params IoCNamedParameter[] parameters);
object Resolve(Type objectType, params IoCNamedParameter[] parameters);
}
}
| 20.166667 | 79 | 0.706612 | [
"Apache-2.0"
] | EhRom/Puffix.IoC | Puffix.IoC/IIoCContainer.cs | 244 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 38 | 153 | 0.621212 | [
"MIT"
] | GeertVL/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IGraphServiceAccessReviewsCollectionPage.cs | 1,254 | C# |
namespace MingTransaction
{
using System.Threading.Tasks;
internal class PutMessage : IMessage
{
public PutMessage(TaskCompletionSource<bool> tcs, Transaction transaction, string key, string value)
{
this.TaskCompletionSource = tcs;
this.Transaction = transaction;
... | 25.73913 | 108 | 0.614865 | [
"MIT"
] | cshung/MingTransaction | MingTransaction/MingTransaction/Messages/PutMessage.cs | 594 | C# |
#pragma checksum "..\..\AboutPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B1112D61CECEC44FCB81C4158902F752FD8ABCFF"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Cha... | 37.808081 | 141 | 0.650013 | [
"MIT"
] | xFahim/InputSim | InputSim C# WPF/InputSim/obj/Debug/AboutPage.g.cs | 3,745 | C# |
using Newtonsoft.Json.Linq;
using System;
using System.Text;
using TRIPRO.BotFramework.Auth.AspNetCore.Models;
namespace TRIPRO.BotFramework.Auth.AspNetCore.AADb2cProvider
{
public static class Extensions
{
public static AuthResult ToAuthResult(this JObject json)
{
string idTokenIn... | 33.857143 | 92 | 0.60572 | [
"MIT"
] | 3-PRO/BotFramework.Auth | TRIPRO.BotFramework.Auth.AspNetCore.ProviderAADb2c/Extensions.cs | 2,135 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Aggregates.Attributes;
using Aggregates.Contracts;
using Aggregates.Exceptions;
using Aggregates.Extensions;
us... | 32.776744 | 223 | 0.57528 | [
"MIT"
] | WahidNET/Aggregates.NET | src/Aggregates.NET/Internal/Repository.cs | 7,049 | 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("App... | 37.243243 | 84 | 0.745283 | [
"MIT"
] | dimitarminchev/ITCareer | 03. Introduction to Object Oriented Programming/2018/2. Properties and Methods/App12/Properties/AssemblyInfo.cs | 1,381 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | 41.72973 | 114 | 0.752591 | [
"MIT"
] | xfischer/GeoJSON.Net | src/GeoJSON.Net.MsSqlSpatial.Tests/Properties/AssemblyInfo.cs | 1,570 | C# |
using Abp.Notifications;
using YoYoCms.AbpProjectTemplate.Dto;
namespace YoYoCms.AbpProjectTemplate.Notifications.Dto
{
public class GetUserNotificationsInput : PagedInputDto
{
public UserNotificationState? State { get; set; }
}
} | 25.2 | 58 | 0.757937 | [
"Apache-2.0"
] | 52ABP/YoYoCms.AbpProjectTemplate | src/YoYoCms.AbpProjectTemplate.Application/Notifications/Dto/GetUserNotificationsInput.cs | 254 | 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>
//--... | 39.888889 | 151 | 0.584958 | [
"MIT"
] | uzapy/ch.bfh.bti7321.w2016.schneedetektion | Schneedetektion/Schneedetektion.OpenCV/Properties/Settings.Designer.cs | 1,079 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Kiwaii : Character
{
public float catScore = 10;
public Ability heartAbility;
public override void BasicAction()
{
FixableDestructable fd = proximator.Prox;
if (fd != null) fd.Fix(Game.Instan... | 27 | 74 | 0.590786 | [
"MIT"
] | hexthedev/Jam-McGameJam20210115 | Assets/Scripts/Characters/Kiwaii.cs | 1,109 | C# |
using System.Linq;
using DocumentFormat.OpenXml.Spreadsheet;
using PoeParser.Common;
using PoeParser.Filter.Tooltip;
using Tornado.Common.Utility;
using Tornado.Parser.Filter;
namespace Tornado.Parser.Entities {
public class JewelryItem : Item {
public JewelryItem(string source, ItemRarity rarity, Core co... | 36.464286 | 191 | 0.667973 | [
"MIT"
] | kiruxak/tornado | Tornado.Parser/Entities/Items/BaseItem/JewelryItem.cs | 1,023 | C# |
/*
* 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, Version 2.0 (the
* "License"); you ... | 27.835052 | 134 | 0.667037 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-linkedmall/Linkedmall/Model/V20180116/DeleteBizItemsRequest.cs | 2,700 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using ETicaret.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.... | 33.5 | 110 | 0.616915 | [
"Apache-2.0"
] | Bilgisayar-Programciligi/Programlama | Programlama-3/10 - ETicaretSQLite_Identity_role/Areas/Identity/Pages/Account/ConfirmEmailChange.cshtml.cs | 2,211 | C# |
//==============================================================
// Copyright (C) 2020 Inc. All rights reserved.
//
//==============================================================
// Create by 种道洋 at 2020/8/17 9:33:19.
// Version 1.0
// 种道洋
//==============================================================
using S... | 20 | 65 | 0.420183 | [
"Apache-2.0"
] | bingwang12/Spider | Common/Cdy.Spider.Common/Interface/ICommChannelDevelop.cs | 2,194 | 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("jQueryUploadTest")]
[assembly: AssemblyDe... | 37.885714 | 84 | 0.746606 | [
"MIT"
] | slavapa/jQuery-File-Upload-master | Properties/AssemblyInfo.cs | 1,329 | C# |
using PhoneContact.API.Client.Base;
using PhoneContact.API.Client.Resources;
using System.Net.Http;
namespace PhoneContact.API.Client
{
public class PhoneContactClient : IPhoneContactClient
{
public PhoneContactClient(HttpClient client)
{
Item = new PhoneContactContactResour... | 28.4375 | 106 | 0.703297 | [
"Apache-2.0"
] | saimnasir/my-phone-contact | PhoneContact/PhoneContact.API.Client/PhoneContactClient.cs | 457 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MySqlConnector;
namespace MySqlBackupTestApp
{
public partial class FormTestEncryptDecrypt : Form
{
public FormTestEncryptDecrypt()... | 27.9875 | 86 | 0.501117 | [
"Unlicense"
] | MySqlBackupNET/MySqlBackup.Net | source code/Test_WinForm_MySqlConnector/FormTestEncryptDecrypt.cs | 2,241 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
#if NETSTANDARD1_6
using System.Reflection;
#endif
namespace FluentdClient.Sharp
{
internal static class TypeAccessor
{
private static readonly ConcurrentDictionary<Type, IDictionary<string, Func<ob... | 29.173913 | 115 | 0.587183 | [
"MIT"
] | ttakahari/FluentdClient.Sharp | src/FluentdClient.Sharp/TypeAccessor.cs | 1,344 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Erlin.Lib.Common.Misc
{
/// <summary>
/// Mathematic calculation helper
/// </summary>
public static class MathHelper
{
/// <summary>
/// Check if entered n... | 27.5 | 71 | 0.625758 | [
"Unlicense"
] | ErlinEmrys/Lib.Common | Erlin.Lib.Common/Misc/MathHelper.cs | 662 | 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 Microsoft.Extensions.Http.Logging;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Microsoft.Extensions.Http
{
// Internal ... | 43.8 | 141 | 0.689083 | [
"MIT"
] | Ali-YousefiTelori/runtime | src/libraries/Microsoft.Extensions.Http/src/Logging/LoggingHttpMessageHandlerBuilderFilter.cs | 2,409 | 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.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using System.Text.Reg... | 47.804391 | 207 | 0.609228 | [
"MIT"
] | 333fred/runtime | src/tests/JIT/HardwareIntrinsics/X86/AvxVnni/MultiplyWideningAndAdd.Int16.cs | 23,950 | C# |
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using MongoDB;
using MongoDB.Configuration;
namespace System.Quality.EventSourcing
{
public class MongoEventStore : IEventStore
{
private readonly IMongoDatabase _database;
private readonly Func<object, obj... | 44.964912 | 144 | 0.646898 | [
"Apache-2.0",
"MIT"
] | Grimace1975/bclcontrib | Core/Quality/System.Core.Quality_Mongo/Quality+EventSourcing/EventSourcing/MongoEventStore.cs | 2,565 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Text;
using Xamarin.Utils;
namespace xharness
{
public class Jenkins
{
bool populating = true;
public H... | 35.709246 | 318 | 0.654927 | [
"BSD-3-Clause"
] | filipnavara/xamarin-macios | tests/xharness/Jenkins.cs | 133,626 | C# |
//
// https://github.com/ServiceStack/ServiceStack.Text
// ServiceStack.Text: .NET C# POCO JSON, JSV and CSV Text Serializers.
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
//
// Copyright 2012 ServiceStack Ltd.
//
// Licensed under the same terms of ServiceStack: new BSD license.
//
using Syst... | 33.592814 | 117 | 0.6776 | [
"MIT"
] | eric-swann-q2/SisoDb-Provider | Source/Projects/SisoDb.Serialization/Common/WriteLists.cs | 16,830 | C# |
using RefactoringToPatterns.Strategy.Common.Enum;
namespace RefactoringToPatterns.Strategy.Step4.Strategy
{
internal class ConferenceCostCalculationStrategy : WishListItemCostCalculationStrategy
{
internal override decimal CalculateCost(WishListItem item)
{
var totalCost = item.Bas... | 27.617647 | 90 | 0.57934 | [
"MIT"
] | wojciech-dabrowski/RefactoringToPatterns | RefactoringToPatterns/RefactoringToPatterns.Strategy/Step4/Strategy/ConferenceCostCalculationStrategy.cs | 941 | C# |
//
// Tests for System.Drawing.Drawing2D.Matrix.cs
//
// Authors:
// Jordi Mas i Hernandez <jordi@ximian.com>
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2005-2006 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this softw... | 31.50073 | 110 | 0.642367 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestMatrix.cs | 21,578 | C# |
#pragma checksum "D:\VsTest2\ASPNETCoreFundPart3\DotNetNote\Views\MyNotification\MyNotificaton.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e894d2893fe49cdd4b4ed1fc8c4bc34e994be0b9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(ty... | 42.51 | 200 | 0.68478 | [
"MIT"
] | banminseok/ASPNETCoreFundPart3 | DotNetNote/obj/Debug/net5.0/Razor/Views/MyNotification/MyNotificaton.cshtml.g.cs | 4,317 | 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("RSA... | 37.297297 | 84 | 0.745652 | [
"MIT"
] | AaronAmberman/RSAPPK | RSAPPK/RSAPPK/Properties/AssemblyInfo.cs | 1,383 | C# |
namespace Iracle
{
public class Identity
{
public Identity(string userString)
{
var split = userString.Split('!', '@');
Nick = split[0];
User = split[1];
Host = split[2];
}
public string Nick { get; }
public string User ... | 18.65 | 51 | 0.466488 | [
"MIT"
] | connellw/Iracle | src/Iracle/Irc/Identity.cs | 375 | 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.Threading;
using Xunit;
namespace System.Data.SqlClient.ManualTesting.Tests
{
public class PoolBl... | 54.4 | 219 | 0.650735 | [
"MIT"
] | AntonLandor/corefx | src/System.Data.SqlClient/tests/ManualTests/SQL/ConnectionPoolTest/PoolBlockPeriodTest.netcoreapp.cs | 8,978 | C# |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Andrew B. Johnson
*
* 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 ri... | 39.104478 | 90 | 0.65229 | [
"MIT"
] | helios2k6/Data-Swallow | Data Swallow/Utilities/EnumerableExtensions.cs | 2,622 | C# |
/*
Copyright 2018 Alexandre Pires - c.alexandre.pires@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, co... | 36.8125 | 103 | 0.652292 | [
"MIT"
] | a13labs/pdf-online-signature | Core/FileManager.cs | 2,945 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Warning: This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if the
// code is regenerated.
using Sys... | 48.836042 | 179 | 0.45267 | [
"MIT"
] | DiogenesPolanco/azure-sdk-for-net | src/ResourceManagement/Automation/AutomationManagement/Generated/JobOperations.cs | 102,165 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace webjob_webapp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | 19.333333 | 67 | 0.565517 | [
"MIT"
] | firehouse/azure-camp-dec | demo/webjob-demo/webjob-cs-with-webapp/webjob-webapp/Controllers/HomeController.cs | 582 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bohc.Parsing.Statements
{
public class ForeachStatement : BodyStatement
{
public VarDeclaration vardecl;
public Expression expr;
public ForeachStatement(VarDeclaration vardecl, Expression expr, Body body)
: this... | 22.958333 | 82 | 0.747731 | [
"MIT"
] | antonijn/bohc-intermediate | bohc/parsing/statements/ForeachStatement.cs | 551 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Jeeves.DocsAgent.Models
{
/// <summary>
/// Contains information about sections.
/// </summary>
/// <seealso cref="Jeeves.DocsAgent.Models.DocModelBase" />
[DataContract]
public class Sections
{
/// <summary>
/// Gets or sets t... | 22.961538 | 77 | 0.668342 | [
"MIT"
] | rajeshaz09/BlazorAOTDemo | src/Jeeves.Docs/Jeeves.DocsAgent.Models/Sections.cs | 599 | C# |
using System;
using System.Windows.Forms;
using static Vanara.PInvoke.User32;
namespace Vanara.Extensions
{
/// <summary>Extension methods for <see cref="ButtonBase"/>.</summary>
public static partial class ButtonExtension
{
/// <summary>Sets a value that determines if the shield icon is shown on the button to i... | 40.066667 | 135 | 0.717138 | [
"MIT"
] | AndreGleichner/Vanara | Windows.Forms/Extensions/ButtonExtension.cs | 1,204 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://w... | 41.02381 | 150 | 0.604759 | [
"MIT"
] | Andrean/azure-powershell | src/ServiceManagement/Network/Commands.Network/Gateway/SetAzureVirtualNetworkGatewayIPsecParameters.cs | 3,365 | C# |
using System;
using System.Collections.Generic;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using Android.App;
using Android.Database;
using Android.Provider;
using static Android.Manifest;
[assembly: UsesPermission("android.permission.ACCESS_MEDIA_LOCATION")]
[assembly: UsesPermission(Permis... | 34.243478 | 100 | 0.556374 | [
"MIT"
] | DigitalNut/shiny | src/Shiny.MediaSync/Platforms/Android/MediaGalleryScannerImpl.cs | 3,940 | C# |
namespace FastFood.DataProcessor.Dto.Import
{
using System.ComponentModel.DataAnnotations;
public class EmployeeDto
{
[Required]
[StringLength(30), MinLength(3)]
public string Name { get; set; }
[Required]
[Range(15, 80)]
public int Age { get; set; }
... | 22.473684 | 48 | 0.580796 | [
"MIT"
] | mayapeneva/DATABASE-Advanced-Entity-Framework | EXAMS/Exam_2017.12.10_FastFood/FastFood.DataProcessor/Dto/Import/EmployeeDto.cs | 429 | C# |
using NBTExplorer.Controllers;
using NBTExplorer.Model;
using NBTExplorer.Properties;
using NBTModel.Interop;
using Substrate.Nbt;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading;
using ... | 36.471324 | 142 | 0.589347 | [
"MIT"
] | DalekCraft2/NBTExplorer | NBTExplorer/Windows/MainForm.cs | 34,978 | C# |
using System.Threading.Tasks;
using NbaStats.Application.Abstractions;
using NbaStats.Application.DTO;
using NbaStats.Domain.Repositories;
namespace NbaStats.Application.Queries.Handlers
{
public class GetTeamHandler : IQueryHandler<GetTeam,TeamDto>
{
private readonly ITeamRepository _teamRepository;
... | 28 | 68 | 0.687888 | [
"MIT"
] | Pietrzaaq/nba-stats-app | src/NbaStats.Application/Queries/Handlers/GetTeamHandler.cs | 646 | C# |
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
namespace IdeaStatiCa.Plugin
{
public enum RequestedItemsType
{
Connections,
Substructure,
SingleConnection,
}
/// <summary>
/// Abstraction of a FE application which provides data to Idea StatiCa
/// </summary>
[... | 36 | 175 | 0.752415 | [
"MIT"
] | idea-statica/ideastatica-public | src/IdeaStatiCa.Plugin/IApplicationBIM.cs | 1,658 | C# |
using MetalUp.FunctionalLibrary;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FunctionalLibraryTest
{
[TestClass]
public class Prepend : TestBase
{
[TestMethod]
public void Prepend1()
{
var list = FList.New(1, 2, 3);
var actual = FList.Prepe... | 25.638298 | 57 | 0.518672 | [
"MIT"
] | MetalUp/FunctionalLibrary | FunctionalLibraryTest/Prepend.cs | 1,207 | 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
{
public static partial class Console
{
public static System.ConsoleColor Backgrou... | 37.120968 | 114 | 0.576472 | [
"MIT"
] | er0dr1guez/corefx | src/System.Console/ref/System.Console.cs | 9,206 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08.Pokemon_Trainer
{
public class Pokemon
{
public string name;
public string element;
public int health;
public Pokemon(string name, string element, ... | 20 | 63 | 0.61087 | [
"MIT"
] | MikeHitrov/SoftUni | C# Basics OOP/1. Defining Classes Exercises/08. Pokemon Trainer/Pokemon.cs | 462 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify fulfillment service.
/// </summary>
public class FulfillmentServiceEntity : ShopifyObject
{
/// <summary>
/// The name of the fulfillmen... | 33.431818 | 104 | 0.595853 | [
"MIT"
] | 9001-Solutions/ShopifySharp | ShopifySharp/Entities/FulfillmentServiceEntity.cs | 2,942 | C# |
using System;
using Sora.OnebotModel.OnebotEvent.NoticeEvent;
using Sora.Entities;
using Sora.Entities.Info;
namespace Sora.EventArgs.SoraEvent
{
/// <summary>
/// 群文件上传事件参数
/// </summary>
public sealed class FileUploadEventArgs : BaseSoraEventArgs
{
#region 属性
/// <summary>
... | 28.692308 | 96 | 0.573727 | [
"Apache-2.0"
] | traceless0929/Sora | Sora/EventArgs/SoraEvent/FileUploadEventArgs.cs | 1,596 | C# |
using CoreAudio;
using System;
using System.Diagnostics;
namespace CoreAudioConsole.Framework.Sample {
class Program {
static void Main(string[] args) {
MMDeviceEnumerator DevEnum = new MMDeviceEnumerator();
MMDevice device = DevEnum.GetDefaultAudioEndpoint(EDataFlow.eCapture, ERol... | 51.831169 | 110 | 0.467552 | [
"MIT"
] | j-zero/CoreAudio | samples/CoreAudioConsole.Framework.Sample/Program.cs | 3,993 | C# |
using System;
using NetTopologySuite.Geometries;
using NetTopologySuite.IO;
using NetTopologySuite.Operation.Valid;
using NUnit.Framework;
namespace NetTopologySuite.Tests.NUnit.Operation.Valid
{
///<summary>
///Tests allowing IsValidOp to validate polygons with
///Self-Touching Rings forming holes.
//... | 37.318182 | 207 | 0.581608 | [
"EPL-1.0"
] | CobeLapierre/NetTopologySuite | test/NetTopologySuite.Tests.NUnit/Operation/Valid/ValidSelfTouchingRingFormingHoleTest.cs | 4,926 | C# |
// -----
// GNU General Public License
// The Forex Professional Analyzer is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
// The Fore... | 31.884058 | 269 | 0.635909 | [
"MIT"
] | harryho/fx-trading-platform-prototype | fxpa/fxpa/FxpaBase/FxpaBaseComponentControl.cs | 2,200 | C# |
using System.IO;
using System.Text;
namespace Cake.AddinDiscoverer.Utilities
{
internal sealed class StringWriterWithEncoding : StringWriter
{
private readonly Encoding encoding;
public StringWriterWithEncoding()
: this(Encoding.UTF8)
{ }
public StringWriterWithEncoding(Encoding encoding)
{
this.e... | 16.88 | 62 | 0.734597 | [
"MIT"
] | augustoproiete-forks/cake-contrib--Cake.AddinDiscoverer | Source/Cake.AddinDiscoverer/Utilities/StringWriterWithEncoding.cs | 424 | 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.ComponentModel;
using System.Web.WebPages.Razor;
namespace Microsoft.Web.WebPages.OAuth
{
/// <summary>
/// Defines Start() metho... | 34.62963 | 111 | 0.670588 | [
"Apache-2.0"
] | 1508553303/AspNetWebStack | src/Microsoft.Web.WebPages.OAuth/PreApplicationStartCode.cs | 937 | C# |
using System.Runtime.CompilerServices;
#if SIGNED_ASSEMBLIES
[assembly: InternalsVisibleTo("Microsoft.Diagnostics.Runtime.Native, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea... | 102.2 | 402 | 0.933464 | [
"MIT"
] | TylerAP/clrmd | src/Microsoft.Diagnostics.Runtime/AssemblyProperties.cs | 1,024 | C# |
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using Ufangx.Xss;
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
namespace Ufangx.Xss
{
/// <summary>
///
/// </summary>
public class RichTextBinderProvider : IModelBinderProvider
{
/// <summary>
///
/// </s... | 23.6 | 73 | 0.55569 | [
"MIT"
] | JacksonBruce/AntiXssUF | AntiXssUF/RichTextBinderProvider.netcoreapp.cs | 828 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace mszcoolPoDCommandApi.Controllers
{
[Route("api/[controlle... | 28.022222 | 116 | 0.654243 | [
"Apache-2.0"
] | mszcool/mszcoolPowerOnDemand | mszcoolPoDCommandApi/Controllers/DevicePowerController.cs | 1,263 | C# |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 43.694118 | 174 | 0.642165 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/TargetInstancesClient.AggregatedListRequestObjectAsyncSnippet.g.cs | 3,714 | 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... | 47.557823 | 207 | 0.638249 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/CognitoIdentityProvider/Generated/Model/Internal/MarshallTransformations/AdminUpdateUserAttributesResponseUnmarshaller.cs | 6,991 | C# |
using ETModel;
using System.Collections.Generic;
namespace ET
{
[ObjectSystem]
public class CoroutineLockQueueAwakeSystem : AwakeSystem<CoroutineLockQueue>
{
public override void Awake(CoroutineLockQueue self)
{
self.queue.Clear();
}
}
[ObjectSystem]
public ... | 22.634615 | 84 | 0.579439 | [
"MIT"
] | dayfox5317/et_ilruntime | Unity/Assets/Script/Model/Module/CoroutineLock/CoroutineLockQueue.cs | 1,177 | C# |
namespace NetFlow.Services.Blog
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using Microsoft.EntityFrameworkCore;
using NetFlow.Data;
using NetFlow.Data.Models;
using NetFlow.Services.Blog.In... | 28.88 | 99 | 0.580332 | [
"MIT"
] | MihailTanev/NetFlow | Services/NetFlow.Services/Blog/CommentService.cs | 1,446 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Swr.V2.Model
{
/// <summary>
/// Request Object
/// </summary>
public ... | 30.076087 | 82 | 0.521503 | [
"Apache-2.0"
] | mawenbo-huawei/huaweicloud-sdk-net-v3 | Services/Swr/V2/Model/ListImageAutoSyncReposDetailsRequest.cs | 2,787 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace CoreApi.Areas.HelpPage.ModelDescriptions
{
public class ParameterDescription
{
public ParameterDescription()
{
Annotations = new Collection<ParameterAnnotation>();
}
public Collection<... | 25.619048 | 80 | 0.674721 | [
"ISC"
] | ThorHuno/CoreSystems | CoreApi/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs | 538 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information
namespace Microsoft.Azure.Devices.Client.Test
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client... | 54.102362 | 240 | 0.698661 | [
"MIT"
] | StannieV/IoTHubDeviceExplorer | iothub/device/tests/ConnectionPoolTests.cs | 13,744 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Versioning;
using Microsoft.Extensions.DependencyInjection;
namespace OrdersApp.Api.Core
{
public static class ApiConfiguration
{
public static IServiceCollection AddOrdersAppApiServices(this IServiceCollection services)
{
... | 32.608696 | 98 | 0.62 | [
"Apache-2.0"
] | acnagrellos/NetCoreDemo | Soluciones/9.FinalProject/OrdersApp/src/2.Api/OrdersApp.Api.Core/ApiConfiguration.cs | 752 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 35.888889 | 85 | 0.556244 | [
"MIT"
] | calloncampbell/Blog-Samples | src/SpeechSynthesizerService.Service.Worker/TTSMessage.cs | 969 | C# |
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace HT.Framework
{
/// <summary>
/// 可绑定的String类型
/// </summary>
public sealed class BindableString : BindableType<string>
{
public static implicit operator string(BindableString bString)
{
... | 27.284314 | 125 | 0.467481 | [
"MIT"
] | LZhenHong/HTFramework | RunTime/Utility/AutomaticTask/DataBinding/BindableString.cs | 2,901 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ActivitiesTest.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project... | 40.980769 | 120 | 0.595495 | [
"MIT"
] | kephas-software/kephas | src/Tests/Kephas.Workflow.Model.Tests/Models/ActivitiesModel/ActivitiesTest.cs | 2,133 | C# |
using System;
using System.ComponentModel;
using System.Reflection;
/** Enumeration values for CompanyBatteryTroop
* The enumeration values are generated from the SISO DIS XML EBV document (R35), which was
* obtained from http://discussions.sisostds.org/default.asp?action=10&fd=31<p>
*
* Note that this has two wa... | 23.188679 | 91 | 0.666395 | [
"BSD-2-Clause"
] | Updownquark/DISEnumerations | src/main/Csharp/disenum/CompanyBatteryTroop.cs | 1,229 | C# |
using System;
using System.Text;
using System.Runtime.Serialization;
using Microsoft.Practices.RecipeFramework.VisualStudio.Templates;
using EnvDTE;
namespace BizTalkSoftwareFactory.References
{
/// <summary>
/// Reference that makes sure an item only
/// applies to the BizTalk Maps project
/// </summ... | 30.813559 | 141 | 0.59791 | [
"MIT"
] | Geronius/BizTalk-Software-Factory | BizTalkSoftwareFactory for BizTalk Server 2006/BizTalkSoftwareFactory/References/MapsProjectReference.cs | 1,818 | 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.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
u... | 41.26087 | 120 | 0.657534 | [
"Apache-2.0"
] | 0x0309/efcore | src/EFCore.Relational/Migrations/MigrationsAnnotationProvider.cs | 3,796 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
... | 36.414702 | 176 | 0.561074 | [
"Apache-2.0"
] | Asifshikder/aspnetcore | src/Servers/IIS/IIS/src/Core/IISHttpContext.cs | 26,255 | C# |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using Model.Inputs;
//using Model.Inputs.Conditions;
//namespace Model.Outputs
//{
// internal class Result
// {
// #region Properties
// public ICondition Condition { ge... | 42.59322 | 130 | 0.549741 | [
"MIT"
] | HydrologicEngineeringCenter/HEC-FDA | Model/Outputs/Result.cs | 5,028 | 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.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics.Arm
{
/// <summary>
/// This cla... | 43.101149 | 167 | 0.551741 | [
"MIT"
] | AaronRobinsonMSFT/runtime | src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/AdvSimd.cs | 93,745 | C# |
using NHM.Common;
using NHM.Common.Enums;
using NHMCore;
using NHMCore.ApplicationState;
using NHMCore.Configs;
using NHMCore.Mining;
using NHMCore.Mining.IdleChecking;
using NHMCore.Mining.MiningStats;
using NHMCore.Mining.Plugins;
using NHMCore.Nhmws;
using NHMCore.Notifications;
using NHMCore.Switching;
using NiceH... | 38.497487 | 170 | 0.591111 | [
"MIT"
] | AngusChiang/NiceHashMiner | src/NiceHashMiner/ViewModels/MainVM.cs | 15,326 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Fitnesses;
using GeneticSharp.Domain.Randomizations;
using UnityEngine;
namespace GeneticSharp.Extensions.Tsp
{
public class TspFitness : IFitness... | 32.736842 | 144 | 0.544695 | [
"MIT"
] | JianLoong/GeneticSharp | src/GeneticSharp.Runner.UnityApp/Assets/_runner/tsp/TspFitness.cs | 3,110 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 38.147059 | 85 | 0.562066 | [
"MIT"
] | Pixelsavvy72/Salary-Calculator | SalaryCalculator/Models/DailyPayment.cs | 1,297 | C# |
using Shared.DataObjects;
using Shared.Messages;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace TradeCube_Services.Services
{
public interface ITradingBookService
{
Task<ApiResponseWrapper<IEnumerable<TradingBookDataObject>>> GetTradingBookAsync(string tradingBook, string ap... | 40 | 185 | 0.805769 | [
"MIT"
] | ctrmcubed/TradeCube-Services | src/TradeCube-Services/Services/ITradingBookService.cs | 522 | C# |
using LuaFramework;
using LuaInterface;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Hummingbird.SeaBattle.Controller.CameraControll
{
public class HandleInputInViewPortRect : MonoBehaviour
{
public ... | 29.559242 | 220 | 0.669232 | [
"MIT"
] | moto2002/wudihanghai | src/Hummingbird.SeaBattle.Controller.CameraControll/HandleInputInViewPortRect.cs | 6,237 | C# |
// -----------------------------------------------------------------------------------------
// <copyright file="SharedAccessQueuePolicies.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except... | 47.179487 | 214 | 0.613043 | [
"Apache-2.0"
] | Hitcents/azure-storage-net | Lib/Common/Queue/SharedAccessQueuePolicies.cs | 11,042 | 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("_0... | 38.472222 | 84 | 0.752347 | [
"MIT"
] | TeeeeeC/TelerikAcademy2015-2016 | 05. CSS/01. Overview/02. InternationalEmployees/Properties/AssemblyInfo.cs | 1,388 | C# |
using Dfc.ProviderPortal.Apprenticeships.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Dfc.ProviderPortal.Apprenticeships.Interfaces.Helper
{
public interface IReferenceDataServiceWrapper
{
IEnumerable<FeChoice> GetFeChoicesByUKPRN(string UKPRN);
}
}
| 24 | 64 | 0.791667 | [
"MIT"
] | SkillsFundingAgency/dfc-providerportal-apprenticeships | src/Dfc.ProviderPortal.Apprenticeships/Interfaces/Helper/IReferenceDataServiceWrapper.cs | 314 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ComsumerSite.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | 19.3 | 67 | 0.564767 | [
"Apache-2.0"
] | antonjefcoate/JustSaying.Examples.Orderprocessing | exercise 1/ComsumerSite/Controllers/HomeController.cs | 581 | 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("Sh... | 38.081081 | 84 | 0.747339 | [
"MIT"
] | mikhaelmurmur/HackerRank.com.Tasks | Algo/Implementation/SherlockandSquares/SherlockandSquares/Properties/AssemblyInfo.cs | 1,412 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PVPNetConnect.RiotObjects;
using PVPNetConnect.RiotObjects.Leagues.Pojo;
using PVPNetConnect.RiotObjects.Platform.Catalog.Champion;
using PVPNetConnect.RiotObjects.Platform.Clientfacade.Domain;
us... | 38.086996 | 135 | 0.627405 | [
"BSD-2-Clause"
] | t2hv33/LegendaryClient | GitPVP/PublicMethods.cs | 42,469 | C# |
//Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.WindowsAPI.Resources;
namespace Microsoft.WindowsAPI.Dialogs
{
/// <summary>
/// Strongly typed collection for dialog controls.
/// </summary>
/// <typepa... | 38.297521 | 132 | 0.596461 | [
"MIT"
] | shellscape/Shellscape.Common | Microsoft/Windows API/Dialogs/Common/DialogControlCollection.cs | 4,634 | C# |
#region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. 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.a... | 36.683333 | 155 | 0.664925 | [
"Apache-2.0"
] | MrChenJH/Quartz.NET | src/Quartz.Tests.Unit/Impl/StdSchedulerFactoryTest.cs | 4,402 | 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.Collections.Immutable;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using S... | 43.101449 | 121 | 0.640551 | [
"MIT"
] | dpvreony/roslyn | src/VisualStudio/Core/Def/Implementation/InheritanceMargin/MarginGlyph/InheritanceMargin.xaml.cs | 5,950 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 40.059406 | 145 | 0.530709 | [
"ECL-2.0",
"Apache-2.0"
] | pjbizon/pulumi-gcp | sdk/dotnet/Notebooks/Runtime.cs | 16,184 | C# |
using Omnius.Core;
using Omnius.Lxna.Ui.Desktop.Configuration;
namespace Omnius.Lxna.Ui.Desktop.Windows.Main;
public abstract class MainWindowModelBase : AsyncDisposableBase
{
public MainWindowStatus? Status { get; protected set; }
public FileExplorerViewModelBase? FileExplorerViewModel { get; protected set;... | 30.153846 | 100 | 0.762755 | [
"MIT"
] | OmniusLabs/Lxna | src/Omnius.Lxna.Ui.Desktop/Windows/Main/MainWindowModel.cs | 784 | C# |
// Compute Shader
#type compute
#version 460
layout(local_size_x = 10, local_size_y = 10, local_size_z = 1) in;
layout(rgba8, binding = 0) uniform image2D imgOutput;
void main() {
vec4 value = vec4(1.0, 0.0, 0.0, 1.0);
ivec2 texelCoord = ivec2(gl_GlobalInvocationID.xy);
imageStore(imgOutput, texelCoord, value);
} | 24.615385 | 66 | 0.721875 | [
"Apache-2.0"
] | ErfanMo77/Syndra-Engine | Syndra-Editor/assets/shaders/computeShader.cs | 320 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.