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 System.Collections.Generic;
using UnityEditor.IMGUI.Controls;
using UnityEditor.ShortcutManagement;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.Rendering.Universal;
using static UnityEditorInternal.EditMode;
namespace UnityEditor.Rendering.Universal
{
[CustomEditor(typeof(De... | 46.054124 | 262 | 0.580586 | [
"MIT"
] | Liaoer/ToonShader | Packages/com.unity.render-pipelines.universal@12.1.3/Editor/Decal/DecalProjectorEditor.cs | 35,738 | C# |
namespace Yaskawa.Ext
{
public class Version : API.Version
{
public Version(int major, int minor, int patch, string release="", string build="")
{
Nmajor = (short)major;
Nminor = (short)minor;
Npatch = (short)patch;
if (!string.IsNullOrEmpty(rele... | 28.027027 | 91 | 0.47541 | [
"Apache-2.0"
] | JurgenKuyper/SmartPendantSDK | csharp/Yaskawa/Ext/Version.cs | 1,037 | C# |
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace FrameworkContainers.Network
{
internal readonly struct HttpTimeoutResult : IDisposable
{
public bool IsComplete { get; }
public HttpResponseMessage Message { get; }
public bool IsTimeout { get; }
publi... | 27.973684 | 85 | 0.571966 | [
"MIT"
] | Matthew-Dove/FrameworkContainers | src/FrameworkContainers/Network/HttpTimeoutResult.cs | 1,065 | C# |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.Linq;
using ... | 27.38 | 159 | 0.674945 | [
"MIT"
] | chadfords/azos | src/Azos/CodeAnalysis/Laconfig/LaconfigLanguage.cs | 1,369 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BriskChat.DataAccess.Migrations
{
public partial class UserDomain : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "UserDomains",... | 38.588235 | 73 | 0.488948 | [
"MIT"
] | Saibamen/BriskChat | BriskChat.DataAccess/Migrations/20170818084130_UserDomain.cs | 2,626 | C# |
using System;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Palaso.BuildTasks.StampAssemblies
{
public class StampAssemblies : Task
{
public class VersionParts
{
public string[] parts = new string[4]... | 29.569061 | 117 | 0.655643 | [
"MIT"
] | marksvc/libpalaso | Palaso.MSBuildTasks/StampAssemblies/StampAssemblies.cs | 5,352 | C# |
using System.Runtime.Serialization;
namespace GhostSharper.Models
{
[DataContract]
public class ContentPreview
{
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
[DataMember(Name = "path", EmitDefaultValue = false)]
public string Path {... | 30 | 76 | 0.473333 | [
"MIT",
"BSD-3-Clause"
] | joshhunt/GhostSharper | BungieNetApi/Models/ContentPreview.cs | 1,950 | C# |
using UnityEngine;
using Epitome;
using Epitome.LogSystem;
public class LogConfig : MonoSingleton<LogConfig>
{
private void Awake()
{
DontDestroyOnLoad();
// 启用日志
Log.EnableLog(true);
// 设置日志级别
Log.LogLevel(LogLevel.ALL);
// 设置日志输出
Log.LoadAppend... | 18.441176 | 50 | 0.574163 | [
"MIT"
] | yangjiqiu/Epitome | Assets/Epitome/Epitome.LogSystem/LogConfig.cs | 713 | C# |
// Copyright 2017 the original author or 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | 36.596774 | 192 | 0.684002 | [
"ECL-2.0",
"Apache-2.0"
] | SteeltoeOSS/Management | src/Steeltoe.Management.EndpointCore/ThreadDump/ThreadDumpEndpointMiddleware.cs | 2,271 | 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.Collections.Immutable;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal partial class DiagnosticAnalyzerServ... | 35.078261 | 167 | 0.58825 | [
"Apache-2.0"
] | DavidKarlas/roslyn | src/Features/Core/Diagnostics/DiagnosticAnalyzerService.NestedTypes.cs | 4,036 | C# |
namespace Okex.Net.V5.Enums
{
public enum OkexApiErrorCodes
{
Unknown = -1,
RequestTooFrequentHttpCode = 429,
SystemUpgrading = 503,
InvalidParams = 51000,
RequestTooFrequent = 50011,
InvalidAuthorization = 50114,
OrderOverPricing = 51116,
LowBalance = 51119,
OrderDoesNotExist = 51603,
SystemM... | 25.061224 | 51 | 0.76873 | [
"MIT"
] | chislovMax/OKEx.Net | Okex.Net/V5/Enums/OkexApiErrorCodes.cs | 1,228 | C# |
using System.Collections;
namespace WellEngineered.CruiseControl.Core.Util
{
/// <summary>
///
/// </summary>
public interface IMultiTransformer
{
/// <summary>
/// Transforms the specified input.
/// </summary>
/// <param name="input">The input.</param>
/// <pa... | 28.571429 | 84 | 0.611667 | [
"MIT"
] | wellengineered-us/cruisecontrol | src/WellEngineered.CruiseControl.Core/Util/IMultiTransformer.cs | 600 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
namespace Microsoft.Xrm.Sdk.Metadata
{
/// <summary>Contains all the metadata for an entity attribute.</summary>
[KnownType(typeof(DateTimeAttributeMetadata))]
[KnownType(typeof(StateAttributeMetadata))]
[KnownTyp... | 36.4592 | 211 | 0.57287 | [
"MIT"
] | develmax/Crm.Sdk.Core | Microsoft.Xrm.Sdk/Metadata/AttributeMetadata.cs | 22,789 | C# |
namespace java.lang
{
[global::MonoJavaBridge.JavaClass()]
public sealed partial class Integer : java.lang.Number, Comparable
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
internal Integer(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
{
}
private static global::MonoJavaBr... | 68.626198 | 316 | 0.775605 | [
"MIT"
] | JeroMiya/androidmono | MonoJavaBridge/android/generated/java/lang/Integer.cs | 21,480 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | 36.611111 | 271 | 0.633915 | [
"MIT"
] | thangnguyen2001/azure-sdk-for-net | src/SDKs/WebSites/Management.Websites/Generated/Models/SiteConfigurationSnapshotInfo.cs | 2,636 | C# |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SalesManagement.MultiTenancy;
namespace SalesManagement.Sessions.Dto
{
[AutoMapFrom(typeof(Tenant))]
public class TenantLoginInfoDto : EntityDto
{
public string TenancyName { get; set; }
public string Name { get; set; }
}... | 21.533333 | 47 | 0.702786 | [
"MIT"
] | NguyenVanTung11041998/SalesManaementApi | aspnet-core/src/SalesManagement.Application/Sessions/Dto/TenantLoginInfoDto.cs | 325 | C# |
// © Anamnesis.
// Licensed under the MIT license.
namespace Anamnesis.Windows
{
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media.Animation;
using Anamnesis.GUI;
using Anamnesis.Services;
using Anamnesis.Utils;
using Seril... | 22.851852 | 87 | 0.685305 | [
"MIT"
] | Lunarisnia/Anamnesis | Anamnesis/Windows/MiniWindow.xaml.cs | 3,705 | C# |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Collections.Generic;
... | 43.157895 | 263 | 0.65061 | [
"Apache-2.0"
] | gmcelhanon/Ed-Fi-ODS-1 | Application/EdFi.Ods.Common/Models/Domain/EntityPropertyEqualityComparer.cs | 1,640 | C# |
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace CollabAssist.API
{
public class Program
{
public static void Main(string[] args)
{
var builder = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirect... | 28.074074 | 85 | 0.562005 | [
"MIT"
] | Dyllaann/CollabAssist | src/CollabAssist.API/Program.cs | 758 | C# |
// <auto-generated>
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace KyGunCo.Counterpoint.Sdk.Entities
{
// PS_VOID_HIST_LIN_PO
public class PsVoidHistLinPo
{
public DateTime BusDat { get; set; } // BUS_DAT (Primary key)
public... | 38.342857 | 139 | 0.656483 | [
"MIT"
] | kygunco/KyGunCo.Counterpoint | Source/KyGunCo.Counterpoint.Sdk/Entities/PsVoidHistLinPo.cs | 1,342 | C# |
using smartDormitory.Data.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace smartDormitory.WEB.Areas.Admin.Models.Sensor
{
public class SensorViewModel
{
public SensorViewModel()
{
... | 29.545455 | 67 | 0.592615 | [
"MIT"
] | albozhinov/smartDormitory | smartDormitory/smartDormitory.WEB/Areas/Admin/Models/Sensor/SensorViewModel.cs | 3,252 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DeathPanelScript : MonoBehaviour
{
public void MenuAfterDeath()
{
Debug.Log("respawn");
EventManager.TriggerEvent(Names.Events.Respawn);
... | 18.9 | 57 | 0.645503 | [
"MIT"
] | Riccardo95Facchini/BobTheChameleon | BobTheChameleon/Assets/DeathPanelScript.cs | 380 | C# |
/*
* Copyright (c) 2017-2020 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
namespace Piranha.Models
{
[Serializable]
public class MediaStructureIt... | 24.586957 | 87 | 0.562334 | [
"MIT"
] | LostColonel/PiranhaCMS | core/Piranha/Models/MediaStructureItem.cs | 1,132 | C# |
using Dynamix;
using Fame;
using FAMIX;
using FILE;
using System;
using System.Collections.Generic;
namespace FILE
{
[FamePackage("FILE")]
[FameDescription("AbstractFile")]
public class AbstractFile : FAMIX.Entity
{
[FameProperty(Name = "name")]
public String name { get; set; }
... | 21.045455 | 86 | 0.663067 | [
"Apache-2.0"
] | feenkcom/roslyn2famix | Roslyn2Famix/Model/FILE/AbstractFile.cs | 463 | C# |
using JetBrains.Annotations;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Services;
namespace JsonApiDotNetCore.AtomicOperations.Processors;
/// <inheritdoc />
[PublicAPI]
public class RemoveFromRelationshipProcessor<TResource, TId> : IRemoveFromRelationshipProcessor<TResource, TId>
where TResource ... | 34.352941 | 146 | 0.768836 | [
"MIT"
] | damien-rousseau/JsonApiDotNetCore_Polymorphism | src/JsonApiDotNetCore/AtomicOperations/Processors/RemoveFromRelationshipProcessor.cs | 1,168 | C# |
using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace NoteApp.EntityFrameworkCore
{
public static class NoteAppDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<NoteAppDbContext> builder, string connectionString)
{
builder.UseSqlServer(con... | 28.105263 | 112 | 0.715356 | [
"MIT"
] | nitinreddy3/NoteApp | aspnet-core/src/NoteApp.EntityFrameworkCore/EntityFrameworkCore/NoteAppDbContextConfigurer.cs | 534 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.pass.file.add
/// </summary>
public class AlipayPassFileAddRequest : IAlipayRequest<AlipayPassFileAddResponse>
{
/// <summa... | 25.125 | 258 | 0.558677 | [
"MIT"
] | lzw316/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPassFileAddRequest.cs | 3,569 | C# |
using System;
using System.IO;
namespace ICSharpCode.SharpZipLib.Zip
{
/// <summary>
/// Defines known values for the <see cref="HostSystemID"/> property.
/// </summary>
public enum HostSystemID
{
/// <summary>
/// Host system = MSDOS
/// </summary>
Msdos = 0,
/// <summary>
/// Host system = Amiga
/... | 30.636895 | 146 | 0.63142 | [
"MIT"
] | InX-Invader/unp4k | src/ICSharpCode.SharpZipLib/Zip/ZipEntry.cs | 36,703 | C# |
using System;
namespace AsterNET.FastAGI.Command
{
/// <summary>
/// Retrieves an entry in the Asterisk database for a given family and key.<br/>
/// Returns 0 if is not set. Returns 1 if the variable is set and returns the
/// value in parenthesis.<br/>
/// Example return code: 200 result=1 (testvariable)
... | 26.56 | 83 | 0.620482 | [
"MIT"
] | 1stco/AsterNET | Asterisk.2013/Asterisk.NET/FastAGI/Command/DatabaseGetCommand.cs | 1,328 | C# |
namespace ELSM_Project
{
partial class userDelete
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 49.091667 | 166 | 0.620268 | [
"MPL-2.0"
] | metallicgloss/Server-Management | ELSMProject/userDelete.Designer.cs | 5,893 | C# |
using ChamadoFacil.BusinessLogic.Chamado;
using ChamadoFacil.Models.Chamado;
using Microsoft.AspNetCore.Mvc;
namespace ChamadoFacil.ApplicationService.Controllers
{
[Route("[controller]")]
public class ChamadoController : Controller
{
private readonly IChamadoBll _chamadoBll;
public Chama... | 24 | 61 | 0.637931 | [
"MIT"
] | cpsilva/ChamadoFacil | ChamadoFacil/ChamadoFacil.ApplicationService/Controllers/ChamadoController.cs | 698 | C# |
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* ... | 35.542409 | 136 | 0.518349 | [
"BSD-3-Clause"
] | Krypton-Suite/Standard-Toolk | Source/Krypton Components/Krypton.Ribbon/Group Contents/KryptonRibbonGroupColorButton.cs | 49,869 | C# |
using System;
namespace Kooboo.Json
{
/// <summary>
/// 别名,标记于字段或属性上的特性
/// Alias,Characteristics marked on fields or property
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class AliasAttribute : Attribute
{
internal string _name... | 24 | 72 | 0.557971 | [
"MIT"
] | Kooboo/Json | Kooboo.Json/Attribute/AliasAttribute.cs | 582 | C# |
namespace OreonCinema.Application.Common.Exceptions
{
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
public class ModelValidationException : Exception
{
public ModelValidationException()
: base("One or more validation erro... | 30.3125 | 78 | 0.607216 | [
"MIT"
] | DimchoLakov/Domain-Driven-Design-with-ASP.NET-Core-Microservices | OreonCinema/OreonCinema.Application/Common/Exceptions/ModelValidationException.cs | 972 | C# |
using Sceelix.Annotations;
namespace Sceelix.Designer.Annotations
{
public class ApplicationSettingsAttribute : StringKeyAttribute
{
public ApplicationSettingsAttribute(string key) : base(key)
{
}
}
}
| 19.916667 | 67 | 0.690377 | [
"MIT"
] | IxxyXR/Sceelix | Source/Sceelix.Designer/Annotations/ApplicationSettingsAttribute.cs | 241 | C# |
namespace Barriot.Interaction.Modals
{
public class EvalModal : IModal
{
public string Title
=> "Evaluate or run a C# script.";
[InputLabel("Verification code")]
[ModalTextInput("code", TextInputStyle.Short)]
public string Verification { get; set; } = string.Empty;
... | 36.074074 | 106 | 0.629363 | [
"MIT"
] | Rozen4334/Barriot | Barriot.Core/Interaction/Modals/Evaluation/EvalModal.cs | 976 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Request the system level data associated with Communication Barring.
/// The ... | 34.458333 | 130 | 0.743652 | [
"MIT"
] | Rogn/broadworks-connector-net | BroadworksConnector/Ocip/Models/SystemCommunicationBarringGetRequest21sp1.cs | 827 | C# |
/*
* Copyright (c) 2000 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed in t... | 48.845426 | 150 | 0.686838 | [
"MIT"
] | andydunkel/netrix | Netrix2.0/PlugIns/TidySharp/W3C/Dom/Element.cs | 15,484 | C# |
using Autofac;
using Microsoft.AspNetCore.Mvc;
namespace BCVP.Extensions
{
public class AutofacPropertityModuleReg : Autofac.Module
{
protected override void Load(ContainerBuilder builder)
{
var controllerBaseType = typeof(ControllerBase);
builder.RegisterAssemblyTypes(... | 27.777778 | 94 | 0.658 | [
"Apache-2.0"
] | hottoy/BCVP.OA | BCVP.Api/Filter/AutofacPropertityModuleReg.cs | 502 | C# |
using MoreLinq;
using OpenMod.Core.Helpers;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace OpenMod.Extensions.Games.Abstractions.Items
{
public static class ItemDirectoryExtensions
{
/// <summary>
/// Searches for items by the item asset id.
/// </summary>
... | 45.97619 | 128 | 0.632833 | [
"MIT"
] | 01-Feli/openmod | extensions/OpenMod.Extensions.Games.Abstractions/Items/ItemDirectoryExtensions.cs | 1,933 | C# |
// OData .NET Libraries
// Copyright (c) Microsoft Corporation. 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/LICE... | 49.072727 | 196 | 0.655984 | [
"Apache-2.0"
] | manukahn/odata.net | src/Spatial/Microsoft/Spatial/SpatialFormatter.cs | 5,398 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Tools;
public class FixSound : FixObserver {
public AudioClip fixedSound;
public AudioClip badFixedSound;
private AudioSource audioSource;
private new void Awake() {
base.Awake();
au... | 23.714286 | 56 | 0.612952 | [
"MIT"
] | danjfreit/manic-mansion | ManicMansion/Assets/Scripts/NewScripts/FixSound.cs | 666 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Azure.SignalR.Management
{
internal static class TaskExtensions
{
private static readonly TimeSpan _defaultTimeout = TimeSpan.FromMinutes(5);
public static async Task OrTimeout(this Task task, Cancellation... | 29.119048 | 110 | 0.564186 | [
"MIT"
] | BlarghLabs/azure-signalr | src/Microsoft.Azure.SignalR.Management/TaskExtensions.cs | 1,225 | 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.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Microsoft.AspNetCore.Testi... | 34.931818 | 182 | 0.720885 | [
"MIT"
] | Akarachudra/kontur-aspnetcore-fork | src/Testing/src/xunit/AspNetTestClassRunner.cs | 1,537 | C# |
namespace ClassLib008
{
public class Class039
{
public static string Property => "ClassLib008";
}
}
| 15 | 55 | 0.633333 | [
"MIT"
] | 333fred/performance | src/scenarios/weblarge2.0/src/ClassLib008/Class039.cs | 120 | C# |
using System.Collections.Generic;
using System.Linq;
using CrossPlatform.Code.Enums;
namespace CrossPlatform.Code.Utils
{
public static class PackUtils
{
public record PackInfo(
FileType FileType,
string InitialFilesExt,
string ConvertedFilesExt
);
... | 39.222222 | 141 | 0.564212 | [
"MIT"
] | And42/TerrLauncherPackCreator | CrossPlatform/Code/Utils/PackUtils.cs | 2,130 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 46.529412 | 165 | 0.629583 | [
"MIT"
] | Agazoth/azure-powershell | src/Synapse/Synapse.Autorest/generated/api/Support/SkuSize.cs | 4,645 | 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
//
//... | 34.577778 | 94 | 0.708226 | [
"Apache-2.0"
] | castleproject-deprecated/Castle.Windsor-READONLY | src/Castle.Windsor/Core/ComponentActivatorAttribute.cs | 1,556 | C# |
/****************************** Module Header ******************************\
Module Name: NativeMethod.cs
Project: CSUACSelfElevation
Copyright (c) Microsoft Corporation.
The P/Invoke signature some native Windows APIs used by the code sample.
This source is subject to the Microsoft Public License.
See ... | 39.409274 | 97 | 0.630787 | [
"Apache-2.0"
] | alexChurkin/TruckRemoteControlServer | Telemetry/Helpers/Win32Uac.cs | 19,549 | C# |
namespace DigitalLearningSolutions.Web.Extensions
{
using Microsoft.AspNetCore.Mvc.Rendering;
public static class HtmlHelperExtensions
{
public static string IsSelected(this IHtmlHelper htmlHelper, string action, string selectedCssClass = "selected")
{
var currentAction = htmlH... | 31.533333 | 121 | 0.701903 | [
"MIT"
] | FridaTveit/DLSV2 | DigitalLearningSolutions.Web/Extensions/HtmlHelperExtensions.cs | 475 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using Azure.Core.Testing;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
name... | 48.931507 | 127 | 0.674692 | [
"MIT"
] | Only2125/azure-sdk-for-net | sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample2_HelloWorldExtended.cs | 3,574 | C# |
// Copyright (c) homuler & The Vignette Authors. Licensed under the MIT license.
// See the LICENSE file in the repository root for more details.
using System;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices;
namespace Akihabara.Native.Gpu
{
public partial class SafeNativeMethods : Native... | 38 | 91 | 0.744518 | [
"MIT"
] | Amberarch/Akihabara | src/Akihabara/Native/Gpu/SafeGpuResources.cs | 912 | C# |
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Order
{
public partial class UpdateOrderNoteRequestModel : PddRequestModel
{
/// <summary>
/// 订单备注
/// </summary>
[JsonProperty("note")]
public string Note { get; set; }
/// <summary>
/// 备注标记:1-红... | 26.066667 | 70 | 0.531969 | [
"Apache-2.0"
] | niltor/open-pdd-net-sdk | PddOpenSdk/PddOpenSdk/Models/Request/Order/UpdateOrderNoteRequestModel.cs | 912 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.IO.Pipes
{
[Flags]
public enum PipeOptions
{
None = 0x0,
WriteThrough = unchecked((int)0x80000000),
Asynchronous = unchecked((int... | 29 | 90 | 0.685057 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeOptions.cs | 435 | C# |
// Copyright (c) 2018, Rene Lergner - @Heathcliff74xda
//
// 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, mod... | 34.531646 | 208 | 0.577529 | [
"MIT"
] | MagicAndre1981/WPinternals | WPinternals/ViewModels/ContextViewModel.cs | 5,458 | C# |
using System;
using Ttc.DataAccess.Services;
using Ttc.DataAccess.Utilities;
namespace Ttc.WebApi.Emailing
{
public class PasswordChangedEmailer
{
private readonly EmailConfig _config;
private const string NewPasswordRequestTemplate = @"
Je paswoord is aangepast!<br>
Als je dit niet zelf gedaa... | 27.925926 | 76 | 0.664456 | [
"MIT"
] | TTCErembodegem/TTC-React-Back | src/Ttc.WebApi/Emailing/PasswordChangedEmailer.cs | 756 | C# |
namespace NefitEasy.Enumerations
{
public enum EasyUpdateStrategy
{
Unknown,
Automatic
}
} | 14.875 | 34 | 0.621849 | [
"MIT"
] | bsamoylenko/nefiteasy | src/NefitEasy/Enumerations/EasyUpdateStrategy.cs | 121 | C# |
using HarmonyLib;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Verse;
namespace ZeFlammenwerfer
{
public class PawnShooterTracker : IPawnSubscriber
{
public static readonly Dictionary<Pawn, FlameRadiusDetector> pawns = new Dictionary<Pawn, FlameRadiusDetector>();
public void Pr... | 20.639344 | 115 | 0.680699 | [
"MIT"
] | pardeike/ZeFlammenwerfer | Source/PawnShooterTracker.cs | 1,261 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using GoNorth.Data.Karta.Marker;
namespace GoNorth.Data.Karta
{
/// <summary>
/// Interface for Database Access for Karta Maps
/// </summary>
public interface IKartaMapDbAccess
{
/// <summary>
/// Creates a ... | 41.380952 | 127 | 0.593211 | [
"MIT"
] | NoisySpaceBalls/GoNorth | Data/Karta/IKartaMapDbAccess.cs | 5,214 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime... | 53.699301 | 358 | 0.700221 | [
"MIT"
] | InMyBload/et6.0-ilruntime | Unity/Assets/Clod/ILBinding/System_Collections_Generic_Queue_1_ILTypeInstance_Binding.cs | 7,679 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInfo : MonoBehaviour
{
public static PlayerInfo instance;
public int Health;
public int Stamina;
private void Awake()
{
#region SingleTon
if (instance != null)
{
... | 18.791667 | 60 | 0.605322 | [
"Apache-2.0"
] | Gman0808/Personal | PersonalAdvanture/Assets/Worlds/TestWorld/Scripts/PlayerInfo.cs | 453 | C# |
namespace Effekseer.GUI
{
partial class DockNodeScaleValues
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed res... | 31.75 | 148 | 0.695866 | [
"Apache-2.0",
"BSD-3-Clause"
] | NumAniCloud/Effekseer | Dev/Editor/EffekseerOld/GUI/DockNodeScaleValues.Designer.cs | 2,034 | C# |
using System;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.TextManager.Interop;
namespace SparkSense.StatementCompletion
{
internal class KeyPressInterceptor : IOleCommandTarget
{
private readonly IVsTextView _textViewAdapter;
p... | 39.255319 | 127 | 0.693767 | [
"Apache-2.0"
] | SparkViewEngine/SparkSense | src/SparkSense/StatementCompletion/KeyPressInterceptor.cs | 1,847 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using DryIoc;
using SharpOffice.Core.Configuration;
namespace SharpOffice.Core.Container
{
public class ConfigurationsRegistrationModule : IRegistrationModule
{
private readonly List<Type> _configurations;
... | 30.571429 | 130 | 0.685748 | [
"MIT"
] | manio143/SharpOffice | SharpOffice.Core/Container/ConfigurationsRegistrationModule.cs | 858 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace GroupService.Repo.EntityFramework.Entities
{
public class EnumNewRequestNotificationStrategy
{
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int Id { get;... | 25.133333 | 57 | 0.734748 | [
"MIT"
] | HelpMyStreet/group-service | GroupService/GroupService.Repo/EntityFramework/Entities/EnumNewRequestNotificationStrategy.cs | 379 | 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... | 36.75 | 188 | 0.804082 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementAndStatementStatementAndStatementStatementByteMatchStatementFieldToMatchQueryStringArgs.cs | 735 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Uvozov... | 22.5 | 76 | 0.599034 | [
"MIT"
] | jiwopene/uvozovky | Uvozovky/Uvozovky/Form1.cs | 1,041 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using SqlDal;
using System.Configuration;
using IDAL;
namespace BLL
{
public static class FlightLogic
{
private static IFlightStorable readerwriter;
sta... | 33.050633 | 176 | 0.591344 | [
"Apache-2.0"
] | nik-sergeson/bsuir-informatics-labs | 4term/ISP/ProjectEntities/FlightLogic.cs | 2,613 | 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... | 26.428571 | 85 | 0.677027 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20180801/Outputs/CustomRulesResponse.cs | 740 | C# |
/*
* Program : Clash Of SL Server
* Description : A C# Writted 'Clash of SL' Server Emulator !
*
* Authors: Sky Tharusha <Founder at Sky Production>,
* And the Official DARK Developement Team
*
* Copyright (c) 2021 Sky Production
* All Rights Reserved.
*/
namespace CSS.PacketProcessing.Messages.C... | 23.227273 | 61 | 0.671233 | [
"MIT"
] | skyprolk/Clash-Of-SL | Clash SL Server/PacketProcessing/Messages/Client/ChangeAllianceMemberRoleMessage.cs | 513 | C# |
using System;
namespace SmartHome.DomainCore.Data
{
[Flags]
public enum MeasurementType
{
Temperature = 1,
Humidity = Temperature << 1,
Voltage = Humidity << 1
}
} | 17.916667 | 37 | 0.562791 | [
"MIT"
] | JanPalasek/smart-home-server | SmartHome.DomainCore/Data/MeasurementType.cs | 215 | 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("Pa... | 38.081081 | 84 | 0.747339 | [
"MIT"
] | 53V3N1X/Theta | Examples/Parallels/Properties/AssemblyInfo.cs | 1,412 | C# |
/////////////////////////////////////////////////////////////////////////////////////////////////
//
// IL2C - A translator for ECMA-335 CIL/MSIL to C language.
// Copyright (c) 2016-2019 Kouji Matsui (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 37.052632 | 97 | 0.648793 | [
"Apache-2.0"
] | kekyo/IL2C.InlineIL-Migration | src/IL2C.Core.Test.ILConverters/Conv_i/Conv_i.cs | 2,816 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class AbilityData : CVariable
{
[Ordinal(0)] [RED("AssignedIndex")] public CInt32 AssignedIndex { get; set; }
[Ordinal(1)] [RED("CategoryName")] public CSt... | 43.24 | 103 | 0.666975 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/AbilityData.cs | 1,057 | C# |
using Newtonsoft.Json;
using DSM.Common.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace DSM.Metadata
{
[JsonArray]
public class MetadataList<TMetadata> : IList<TMetadata> where TMetadata : IModelMetadata
{
private readonly List<T... | 25.911111 | 92 | 0.530017 | [
"MIT"
] | jplane/DurableStateMachines | Metadata/MetadataList.cs | 3,500 | C# |
using API;
using PxStat.System.Navigation;
namespace PxStat.Entities.System.Navigation.AlertLanguage
{
/// <summary>
/// Class for managing other language versions of alerts
/// </summary>
internal class AlertLanguage_BSO
{
internal int CreateOrUpdate(Alert_DTO dto, ADO ado)
{
... | 24.777778 | 65 | 0.654709 | [
"MIT"
] | CSOIreland/PxStat | server/PxStat/Entities/System/Navigation/AlertLanguage/AlertLanguage_BSO.cs | 448 | 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.Diagnostics;
using System.IO;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Razor.Directives;
using M... | 34.780488 | 111 | 0.518934 | [
"Apache-2.0"
] | benaadams/Performance | testapp/RazorCodeGenerator/Program.cs | 2,854 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 28.424242 | 80 | 0.601279 | [
"MIT"
] | ScottColson/XrmUnitTest | DLaB.Xrm.Entities/OptionSets/PurchaseTimeFrame.cs | 938 | C# |
/*
* 2012 Sizing Servers Lab, affiliated with IT bachelor degree NMCT
* University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en)
*
* Author(s):
* Dieter Vandroemme
*/
using System.Collections.Generic;
using System.Linq;
using vApus.SolutionTree;
usin... | 31.70068 | 116 | 0.48412 | [
"MIT"
] | sizingservers/vApus | vApus.DistributedTesting/Slave.cs | 4,662 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Commons;
using Charlotte.GameCommons;
namespace Charlotte.Games.Shots
{
public class Shot_AirShooter : Shot
{
private int Level;
/// <summary>
/// 3発一緒に発射される。
/// プレイヤーに近い方から this.Order == { 0, 1, 2 } とする。... | 21.78125 | 109 | 0.609278 | [
"MIT"
] | soleil-taruto/Elsa2 | e20210253_DoremyRockman/Elsa20200001/Elsa20200001/Games/Shots/Shot_AirShooter.cs | 2,181 | C# |
using DotvvmAcademy.Meta.Syntax;
using Microsoft.CodeAnalysis;
using System;
using System.Linq;
namespace DotvvmAcademy.Meta
{
internal class MetaSymbolVisitor : SymbolVisitor<NameNode>
{
public override NameNode DefaultVisit(ISymbol symbol)
{
throw new NotSupportedException($"Symb... | 31.807229 | 107 | 0.604545 | [
"Apache-2.0"
] | ammogcoder/dotvvm-samples-academy | src/DotvvmAcademy.Meta/MetaSymbolVisitor.cs | 2,642 | C# |
using System;
using System.Xml.Serialization;
namespace NetworkUtility
{
/// <summary>
///
/// </summary>
[Serializable]
[XmlRoot(MediaTypeRegistry.ElementName_hide, Namespace = MediaTypeRegistry.XmlNamespace_Registry, IsNullable = true)]
public class MediaTypeRegHide : MediaTypeRegRawXml
... | 25.631579 | 121 | 0.657084 | [
"Apache-2.0"
] | erwinel/PowerShell-Modules | src/NetworkUtility/MediaTypeRegHide.cs | 489 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DataType;
namespace Sound
{
[System.Serializable]
public class BasicSound : ISound
{
[SerializeField]
protected ValueRange _pitch = new ValueRange(1);
[SerializeField]
protected ValueRange _... | 31.68254 | 86 | 0.534569 | [
"MIT"
] | sim2kid/FirstDayOfSnow | Assets/Scripts/Sound/BasicSound.cs | 1,996 | C# |
using RabbitMQ.Client.Events;
using System;
namespace RmqLib.Core {
internal interface IConsumerRegisterEventHandler {
void AddHandler(Action<object, ConsumerEventArgs> handler);
void RegisteredHandler(object sender, ConsumerEventArgs e);
}
} | 27.777778 | 61 | 0.808 | [
"MIT"
] | milovidov983/RmqMiniLib | src/RmqLib/Core/Consumer/Interfaces/IConsumerRegisterEventHandler.cs | 252 | C# |
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.Windows.Media.Imaging;... | 24.807692 | 60 | 0.789147 | [
"MIT"
] | McFlyboy/Touhou-Launcher | TouhouLauncher/Views/UserControls/Settings/GamesSettings.xaml.cs | 647 | C# |
using log4net.Config;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly fro... | 45.138889 | 98 | 0.705231 | [
"MIT"
] | Holger-H/KvmSwitch | src/KvmSwitch/AssemblyInfo.cs | 1,627 | C# |
using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using WalletWasabi.BitcoinCore.Endpointing;
using WalletWasabi.Blockchain.Mempool;
using Wallet... | 32.1 | 245 | 0.777259 | [
"MIT"
] | MustardWallet/MustardWalletLTC | WalletWasabi.Tests/Helpers/TestNodeBuilder.cs | 1,284 | C# |
using UnityEngine;
using UnityEditor.ProjectWindowCallback;
using System.IO;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
namespace UnityEditor.Rendering
{
/// <summary>
/// A utility class to create Volume Profiles and components.
/// </summary>
public static class Volume... | 41.528455 | 120 | 0.574785 | [
"MIT"
] | AlePPisa/GameJamPractice1 | Cellular/Library/PackageCache/com.unity.render-pipelines.core@8.2.0/Editor/Volume/VolumeProfileFactory.cs | 5,108 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace UsingPageDialogService.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally re... | 34.78125 | 98 | 0.681042 | [
"MIT"
] | ScarlettCode/Prism-Samples-Forms | 06-PageDialogService/src/UsingPageDialogService.iOS/AppDelegate.cs | 1,115 | C# |
using System;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Screenshot360 : MonoBehaviour
{
#if UNITY_EDITOR
[MenuItem("GameObject/Take 360 Screenshot")]
#endif
private static void Generate360Screenshot()
{
i... | 30.933333 | 198 | 0.519397 | [
"Apache-2.0"
] | FrogAC/ai2thor | unity/Assets/Scripts/Screenshot360.cs | 1,394 | C# |
using ArangoDBNetStandard.DocumentApi.Models;
using ArangoDBNetStandard.Serialization;
using ArangoDBNetStandard.Transport;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using ArangoDBNetStandard.Models;
namespace ArangoDBNetStandard.DocumentApi
{
/// <s... | 51.392947 | 210 | 0.628682 | [
"Apache-2.0"
] | apawsey/arangodb-net-standard | arangodb-net-standard/DocumentApi/DocumentApiClient.cs | 20,425 | C# |
using Aim_All_Towers.Utils;
using Assets.Scripts.Models;
using Assets.Scripts.Models.Towers;
using Assets.Scripts.Models.Towers.Behaviors.Attack;
using MelonLoader;
using System;
using System.Collections.Generic;
using System.Linq;
using UnhollowerBaseLib;
namespace Aim_All_Towers.Extensions
{
public static class... | 33.440476 | 134 | 0.584906 | [
"MIT"
] | KLightning18/BTD6-Mods | Aim All Towers/Extensions/TowerModelExt.cs | 2,811 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 34.129032 | 151 | 0.57845 | [
"Apache-2.0"
] | RohitTiwari92/Minimum-Code | gen/Properties/Settings.Designer.cs | 1,060 | C# |
using Annexio.Controllers;
using Annexio.Repository.Manager;
using Moq;
using NUnit.Framework;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Annexio.Tests.Controllers
{
public class RegionsControllerTest
{
private Mock<IRegionsManager> _mock;
private RegionsController _controll... | 26.895833 | 85 | 0.646011 | [
"Apache-2.0"
] | OscarPonte/Annexio | Annexio.Tests/Controllers/RegionsControllerTest.cs | 1,293 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
using Transport.Notify;
namespace Transport
{
public class Peer
{
public delegate void OnConnectionFailedDelegate(Connection connection, ConnectionFailedReason reason);
public ... | 35.374558 | 124 | 0.557237 | [
"MIT"
] | PauloHMattos/ReliableUDP | Transport/Transport/Peer.cs | 20,024 | C# |
using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using LennyBOTv2.Preconditions;
using LennyBOTv2.Services;
namespace LennyBOTv2.Modules
{
public class AmongUsModule : LennyModuleBase
{
private readonly AmongUsService _auService;
public AmongUsModule(AmongUsS... | 28.552632 | 96 | 0.584793 | [
"MIT"
] | seky16/LennyBOTv2 | LennyBOTv2/Modules/AmongUsModule.cs | 2,172 | C# |
// <copyright file="TagContextBuilder.cs" company="OpenTelemetry Authors">
// Copyright 2018, 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://www.a... | 29.291667 | 85 | 0.612613 | [
"Apache-2.0"
] | andy-g/opentelemetry-dotnet | src/OpenTelemetry/Tags/TagContextBuilder.cs | 2,111 | C# |
namespace StrawberryShake.Tools.Configuration
{
public enum RequestStrategy
{
Default = 0,
PersistedQuery = 1,
AutomaticPersistedQuery = 2
}
}
| 17.9 | 45 | 0.636872 | [
"MIT"
] | AccountTechnologies/hotchocolate | src/StrawberryShake/Tooling/src/Configuration/RequestStrategy.cs | 179 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Silk.Core.Data.Entities;
namespace Silk.Core.Data.EntityConfigurations
{
public class TagEntityConfiguration : IEntityTypeConfiguration<TagEntity>
{
public void Configure(EntityTypeBuilder<TagEntity> buil... | 29.642857 | 77 | 0.73253 | [
"Apache-2.0"
] | VelvetThePanda/Silk | src/Silk.Core.Data/EntityConfigurations/TagEntityConfiguration.cs | 417 | 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("Li... | 38.194444 | 84 | 0.750545 | [
"MIT"
] | remixed2/linkedin-pdf-parser-api | Properties/AssemblyInfo.cs | 1,378 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.