content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 30.206897 | 81 | 0.622717 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Iot/V20180123/Models/GetDevicesResponse.cs | 1,826 | C# |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinterLeaf.Engine;
using WinterLeaf.Engine.Classes;
using WinterLeaf.Engine.Containers;
using WinterLeaf.Engine.Enums;
using System.ComponentModel;
using System.Threading;
using WinterLeaf.Engine.Classes.... | 30.213235 | 122 | 0.53468 | [
"MIT",
"Unlicense"
] | RichardRanft/OmniEngine.Net | Templates/C#-Empty/Winterleaf.Demo.Full/Models.User/Extendable/GuiBubbleTextCtrl.cs | 3,974 | 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 ... | 34.8 | 80 | 0.750718 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-ots/Ots/Transform/V20160620/DeleteTagsResponseUnmarshaller.cs | 1,392 | C# |
/*
Copyright 2009-2021 Intel 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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 28.234375 | 87 | 0.656336 | [
"Apache-2.0"
] | SPEMoorthy/MeshCentralAssistant | RequestHelpForm.cs | 1,809 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.Payroll
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, Xml... | 22.245902 | 136 | 0.73692 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.Payroll/Payroll_Reporting_TypeObjectType.cs | 1,357 | C# |
using System;
namespace Kartverket.Geonorge.Download.Models.Api.Internal
{
/// <summary>
/// Provides updated information about a file.
/// </summary>
public class UpdateFileStatusRequest
{
/// <summary>
/// The file id
/// </summary>
public string FileId { get; set... | 25.258065 | 71 | 0.545338 | [
"MIT"
] | kartverket/Geonorge.NedlastingAPI | Kartverket.Geonorge.Download/Models/Api/Internal/UpdateFileStatusRequest.cs | 785 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Wi... | 32.584034 | 133 | 0.564668 | [
"MIT"
] | Flippo24/ModernWpf | ModernWpf.Controls/Common/SharedHelpers.cs | 7,757 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using DeUrgenta.Admin.Api.Models;
using DeUrgenta.Common.Models.Pagination;
using Swashbuckle.AspNetCore.Filters;
namespace DeUrgenta.Admin.Api.Swagger.Blog
{
public class GetBlogPostsResponseExample : IExamplesProvider<PagedResul... | 2,212.932203 | 127,474 | 0.950262 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Alexei000/de-urgenta-backend | Src/DeUrgenta.Admin.Api/Swagger/Blog/GetBlogPostsResponseExample.cs | 130,565 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// This source code is made available under the terms of the Microsoft Public License (MS-PL)
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
... | 36.488235 | 114 | 0.526116 | [
"MIT"
] | tuoxieyz/fashionDRP | DBLinqProvider/Data/Common/Language/QueryLanguage.cs | 12,408 | C# |
using Repository;
using Models;
using System;
using Microsoft.Azure.Documents.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Azure.Documents.Linq;
using System.Linq;
using System.Linq.Expressions;
namespace DocumentDBRepository
{
public class MessageRepository<T> : IReposi... | 34.704545 | 130 | 0.604126 | [
"MIT"
] | odaibert/Service-Fabric-Self-Scale-Service | MailboxService/DocumentDBRepository/MessageRepository.cs | 3,056 | 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Connections;
using System.Net.Quic;
using System.Net.Security;
using ... | 49.729358 | 229 | 0.610754 | [
"MIT"
] | WhiteBlackGoose/runtime | src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs | 119,251 | C# |
using SharpDX;
using LottieSharp.Utils;
namespace LottieSharp.Model.Content
{
public class GradientColor
{
private readonly float[] _positions;
private readonly Color[] _colors;
internal GradientColor(float[] positions, Color[] colors)
{
_positions = positions;
... | 30.55 | 164 | 0.57365 | [
"Apache-2.0"
] | Mohadin/LottieSharp | LottieSharp/Model/Content/GradientColor.cs | 1,224 | C# |
using System.Collections;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;
namespace Kataru
{
/// <summary>
/// Handle animation through Kataru
/// </summary>
public class KataruAnimator : Handler
{
[SerializeField] protected Animator animator;
[Serializ... | 31.466667 | 96 | 0.594915 | [
"MIT"
] | kataru-lang/unity-kataru-demo | Assets/Scripts/Kataru/KataruAnimator.cs | 2,360 | C# |
namespace DotNetBungieAPI.Generated.Models;
public class DictionaryComponentResponseOfint32AndDestinyItemPlugObjectivesComponent
{
[JsonPropertyName("data")]
public Dictionary<int, Destiny.Components.Items.DestinyItemPlugObjectivesComponent> Data { get; set; }
[JsonPropertyName("privacy")]
public Comp... | 31.647059 | 106 | 0.728625 | [
"MIT"
] | EndGameGl/DotNetBungieAPI | DotNetBungieAPI.Generated/Models/DictionaryComponentResponseOfint32AndDestinyItemPlugObjectivesComponent.cs | 538 | C# |
using System;
namespace Medo.Security.Cryptography.PasswordSafe {
/// <summary>
/// Record field types.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification = "This values map directly into the Password Safe type and there ... | 28.601399 | 222 | 0.487531 | [
"MIT"
] | medo64/Bimil | Libraries/PasswordSafe/Source/PasswordSafe/RecordType.cs | 4,090 | C# |
using System;
using System.Collections.Generic;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Edge.Settings.TemplateInfoReaders;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Microsoft.TemplateEngine.Utils;
namespace Microsoft.TemplateEngine.Edge.Settings
{
public... | 34.734513 | 134 | 0.528535 | [
"MIT"
] | KevinRansom/templating | src/Microsoft.TemplateEngine.Edge/Settings/TemplateInfo.cs | 7,625 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace QRCoder
{
public class Base64QRCode : AbstractQRCode, IDisposable
{
private QRCode qr;
/// <summ... | 33.290323 | 215 | 0.59593 | [
"MIT"
] | abelrodriguez/QRCoder | QRCoder/Base64QRCode.cs | 3,098 | C# |
using System;
using HvA.API.NetStandard1.Extensions;
namespace HvA.API.NetStandard1.Util
{
public static class DateTimeHelper
{
private static readonly DateTime PosixTime = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
private static readonly int CurrentYear = DateTime.Now.Year;
... | 30.711538 | 105 | 0.573575 | [
"MIT"
] | AeonLucid/HvA-API-NetStandard1 | src/HvA.API.NetStandard1/Util/DateTimeHelper.cs | 1,599 | C# |
#region License
/*
* AuthenticationBase.cs
*
* The MIT License
*
* Copyright (c) 2014 sta.blockhead
*
* 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 w... | 23.960526 | 95 | 0.632619 | [
"MIT"
] | Nobatgeldi/websocket-sharp | websocket-sharp/Net/AuthenticationBase.cs | 3,642 | C# |
/*
** $Id: lstate.c,v 2.36.1.2 2008/01/03 15:20:39 roberto Exp $
** Global State
** See Copyright Notice in lua.h
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace KopiLua
{
using lu_byte = System.Byte;
using lu_int32 = Sy... | 31.453039 | 117 | 0.657825 | [
"MIT"
] | CCDotNetEmu/CCDotNetLua | KopiLua/lstate.cs | 17,079 | C# |
using UnityEngine;
using System.Collections;
namespace FORGE3D
{
public class F3DRandomize : MonoBehaviour
{
private new Transform transform; // Cached transform
private Vector3 defaultScale; // Default scale
public bool RandomScale, RandomRotation; // Randomize flags
public ... | 31.151515 | 100 | 0.631323 | [
"MIT"
] | Bennef/FPS | Assets/3rd Party Assets/FORGE3D/Sci-Fi Effects/Code/F3DRandomize.cs | 1,030 | 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... | 30.536364 | 209 | 0.580232 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ApiManagement/V20190101/GetApiOperationPolicy.cs | 3,359 | C# |
using Mirai_CSharp.Exceptions;
using Mirai_CSharp.Extensions;
using Mirai_CSharp.Models;
using Mirai_CSharp.Utility;
using Mirai_CSharp.Utility.JsonConverters;
using System;
using System.Text.Json;
using System.Threading.Tasks;
using System.Linq;
#if NET5_0
using System.Net.Http.Json;
#endif
#pragma warning disable C... | 43.374384 | 168 | 0.596934 | [
"MIT"
] | PoH98/QQBotXClashOfClans | Mirai-CSharp-release-1.0.2.2/Mirai-CSharp/Session/MiraiHttpSession.MessageRequests.cs | 9,507 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace TMDbLib.Objects.Credit
{
public class CreditMedia
{
[JsonProperty("character")]
public string Character { get; set; }
[JsonProperty("episodes")]
public List<CreditEpisode> Episodes { get; set; }
[JsonPr... | 24.269231 | 57 | 0.605388 | [
"MIT"
] | 1337joe/TMDbLib | TMDbLib/Objects/Credit/CreditMedia.cs | 631 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace NationalDrivingLicense.Pages
{
[ResponseCache(Duration = 0, ... | 26.6875 | 89 | 0.661593 | [
"MIT"
] | swiss-ssi-group/MattrGlobalAspNetCore | src/NationalDrivingLicense/Pages/Error.cshtml.cs | 854 | C# |
using System;
using System.Collections.Generic;
namespace DerivedXmlSerializer.Graphs
{
interface IGraphSearch<TVertex>
{
IEnumerable<TVertex> DepthFirstSearch(IGraph<TVertex> graph, TVertex vertex, Func<IMarker<TVertex>> createMarker);
}
} | 27.1 | 123 | 0.730627 | [
"Apache-2.0"
] | george-polevoy/DerivedXmlSerializer | DerivedXmlSerializer/Graphs/IGraphSearch.cs | 273 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.Model
{
using System;
using System.Collections.Generic;
using System.Data.Entity.Core.Metadata.Edm;
using System.Diagnostics;
... | 45.743902 | 133 | 0.664889 | [
"Apache-2.0"
] | CZEMacLeod/EntityFramework6 | src/EFTools/EntityDesignModel/EdmRuntimeSchemaResolver.cs | 3,753 | C# |
using Captura.Base.Video;
namespace Captura.SharpAvi
{
internal class SharpAviItem : IVideoWriterItem
{
private readonly AviCodec _codec;
public SharpAviItem(AviCodec codec, string description)
{
_codec = codec;
Description = description;
}
pub... | 25.344828 | 112 | 0.623129 | [
"MIT"
] | Lakritzator/Captura | src/Captura.SharpAvi/SharpAviItem.cs | 737 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 32.041667 | 115 | 0.585176 | [
"Apache-2.0"
] | QPC-database/aws-sdk-net | sdk/src/Services/Proton/Generated/Model/CreateEnvironmentTemplateVersionRequest.cs | 5,383 | C# |
using System.ComponentModel;
using Spectre.Console.Cli;
using Statiq.Common;
namespace Statiq.App
{
public class EngineCommandSettings : BaseCommandSettings
{
[CommandOption("--noclean")]
[Description("Prevents cleaning of the output path on each execution (same as \"--clean-mode None\").")]
... | 41.151515 | 164 | 0.655376 | [
"MIT"
] | ScriptBox99/Statiq.Framework | src/core/Statiq.App/Commands/EngineCommandSettings.cs | 1,360 | C# |
/*
* Velcro Physics:
* Copyright (c) 2017 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this sof... | 41.776557 | 116 | 0.633757 | [
"MIT"
] | mikii123/VelcroPhysics | VelcroPhysics/Settings.cs | 11,407 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObservableObjectTests.cs" company="Rhaeo">
// Licenced under the MIT licence.
// </copyright>
// <summary>
// Contains tests for the <see cref="ObservableObject" /> class impl... | 42.057143 | 199 | 0.663043 | [
"MIT"
] | Rhaeo/Rhaeo.Mvvm | Sources/Rhaeo.Mvvm/Rhaeo.Mvvm.Tests/ObservableObjectTests.cs | 2,959 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/WinBase.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syste... | 37.333333 | 145 | 0.65997 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/WinBase/FILE_ID_INFOTests.cs | 1,346 | C# |
using UnityEngine;
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator
{
[TaskCategory("Basic/Animator")]
[TaskDescription("Creates a dynamic transition between the current state and the destination state. Returns Success.")]
public class CrossFade : Action
{
[Tooltip("The GameObject t... | 34.888889 | 123 | 0.624204 | [
"MIT"
] | Aver58/ColaFrameWork | Assets/3rd/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs | 1,884 | 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("ev... | 38.081081 | 84 | 0.747339 | [
"MIT"
] | dhtveso/SoftUni | Programming Basics/LogicalStatements/EvenOrOdd/Properties/AssemblyInfo.cs | 1,412 | C# |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | 44.769231 | 144 | 0.63488 | [
"Apache-2.0"
] | JimDaly/azure-activedirectory-library-for-dotnet | src/ADAL.PCL/AuthenticatorTemplateList.cs | 3,494 | 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("6.2... | 38.648649 | 84 | 0.751748 | [
"MIT"
] | sile2510/AlgebraCSharp2019-1 | ConsoleApp1/6.2.2_zbirka_generics_par_nepar/Properties/AssemblyInfo.cs | 1,433 | C# |
using System.ComponentModel.DataAnnotations;
namespace NuGetGallery
{
public class EditProfileViewModel
{
[Required]
[StringLength(255)]
[Display(Name = "Email")]
[DataType(DataType.EmailAddress)]
[RegularExpression(@"(?i)^(?!\.)(""([^""\r\\]|\\[""\r\\])*""|([-a-z0-9!#$... | 36.473684 | 233 | 0.55267 | [
"ECL-2.0",
"Apache-2.0"
] | KuduApps/NugetGallery16Fx45-DeleteMe | Website/ViewModels/EditProfileViewModel.cs | 695 | C# |
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2020 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github.com/Interkarma/daggerfall-unity
// Original... | 33.82699 | 140 | 0.553396 | [
"MIT"
] | BibleUs/daggerfall-unity | Assets/Scripts/Game/UserInterface/DaggerfallFont.cs | 19,552 | C# |
using JUST.net.Selectables;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Linq;
namespace JUST
{
public abstract class Transformer
{
protected int _loopCounter = 0;
protected readonly JUSTContext Context;
public Transformer(JUSTContext context)
... | 33.525066 | 150 | 0.504762 | [
"MIT"
] | Narato/JUST.net | JUST.net/Transformer.cs | 25,414 | C# |
namespace ChromeDevTools.Host.Runtime.Network
{
using Newtonsoft.Json;
/// <summary>
/// Timing information for the request.
/// </summary>
public sealed class ResourceTiming
{
/// <summary>
/// Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
... | 23.532051 | 95 | 0.444838 | [
"MIT"
] | fforjan/ChromeDevTools.Host | ChromeDevTools.Host/Runtime/Network/ResourceTiming.cs | 3,671 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using NBitcoin;
using WalletWasabi.Models;
namespace WalletWasabi.Blockchain.TransactionOutputs
{
public interface ICoinsView : IEnumerable<SmartCoin>
{
ICoinsView AtBlockHeight(Height height);
ICoinsView Available();
ICoi... | 20.272727 | 84 | 0.778027 | [
"MIT"
] | Happyfani/WalletWasabi | WalletWasabi/Blockchain/TransactionOutputs/ICoinsView.cs | 892 | C# |
using MediatR;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MeowStory.Application.Common.Behaviours
{
public class UnhandledExceptionBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
private readonly ILogger<T... | 28.057143 | 138 | 0.623218 | [
"MIT"
] | mohamedelnagar1/MeowStory | src/Application/Common/Behaviours/UnhandledExceptionBehaviour.cs | 984 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
using CodeGenerationTools.Generator;
using ILRuntime.Other;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace CodeGenerationTools
{
public partial class MainForm : Form
{
... | 34.512195 | 201 | 0.481979 | [
"MIT"
] | AlianBlank/ILRuntime | CodeGenerationTools/MainForm.cs | 15,589 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.App;
using Android.Views;
using Android.Widget;
using SmartRoadSense.Core;
using SmartR... | 32.760331 | 137 | 0.636478 | [
"MIT"
] | SmartRoadSense/client-apps | src/Android/SensingService.cs | 3,964 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 16.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 23.188811 | 142 | 0.523748 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/Int32/NullableInt64/TestSet_504__param__01__VV.cs | 13,266 | C# |
using System.Collections;
using System.Collections.Generic;
namespace SoftwareAcademy
{
public class Teacher : ITeacher
{
public string Name { get; set; }
private ICollection<ICourse> courses;
public Teacher()
{
this.courses = new List<ICourse>();
}
... | 26.044444 | 155 | 0.476109 | [
"MIT"
] | fr0wsTyl/TelerikAcademy-2015 | Telerik - C# OOP/Exam preparation/Software Academy/Teacher.cs | 1,174 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
namespace Unity.Entities
{
static class DefaultWorldInitialization
{
static void DomainUnloadShutdown()
{
World.DisposeAllWorlds();
ScriptBehaviourUpdateOrder.... | 33.65 | 158 | 0.58321 | [
"MIT"
] | renBuWen/UnityMMO | Packages/com.unity.entities/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs | 2,694 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameEnding : MonoBehaviour
{
//public variables
public float fadeDuration = 1f;
public GameObject player;
public CanvasGroup exitBackgroundImageCanvasGroup;
public AudioSo... | 28.257426 | 88 | 0.588648 | [
"MIT"
] | njager/Jager_JohnLemon | Jager_JohnLemon/Assets/Scripts/GameEnding.cs | 2,856 | C# |
using Xunit;
using Rut.Exceptions;
namespace Rut.Tests
{
public class RutTests
{
[Theory]
[InlineData(18464695, '1')]
[InlineData(18835838, '1')]
[InlineData(1, '9')]
[InlineData(2, '7')]
public void ValidIntRutShouldProduceValidDv(int rut, char dv)
{
... | 30.163934 | 84 | 0.534239 | [
"MIT"
] | lucaslizama/rut | Rut.Tests/RutTests.cs | 1,841 | C# |
using Bunit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bit.Client.Web.BlazorUI.Tests.Buttons
{
[TestClass]
public class BitToggleButtonTests : BunitTestContext
{
[DataTestMethod,
DataRow(Visual.Fluent, true, true, "Button label", "Emoji2"),
DataRow(Visual.... | 37.410526 | 125 | 0.584975 | [
"MIT"
] | FatemehNoroozi/bitframework | src/Client/Web/Bit.Client.Web.BlazorUI.Tests/Buttons/BitToggleButtonTests.cs | 7,110 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Biletix.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Online_Ilelebet : ContentPage
{
bool ... | 29.066667 | 119 | 0.543578 | [
"MIT"
] | Fumigatus/Biletix-Clone | Biletix/Biletix/Views/Online_Ilelebet.xaml.cs | 2,194 | C# |
using System.Collections.Generic;
using Horizon.Payment.Alipay.Response;
namespace Horizon.Payment.Alipay.Request
{
/// <summary>
/// koubei.item.category.children.batchquery
/// </summary>
public class KoubeiItemCategoryChildrenBatchqueryRequest : IAlipayRequest<KoubeiItemCategoryChildrenBatchqueryRe... | 22.758065 | 123 | 0.54961 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Request/KoubeiItemCategoryChildrenBatchqueryRequest.cs | 2,844 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace MagazynierApp.Server.Pages
{
[ResponseCache(Duration = 0, Location = R... | 25.6875 | 88 | 0.683698 | [
"MIT"
] | Totokis/MagazynierApp | MagazynierApp/Server/Pages/Error.cshtml.cs | 824 | C# |
using System;
using System.Windows;
using System.Windows.Controls;
using ZumtenSoft.WebsiteCrawler.BusLayer.Models.Configuration;
namespace ZumtenSoft.WebsiteCrawler.Views.Editors
{
public partial class CrawlingBucketCollectionEditor
{
public CrawlingBucketCollectionEditor()
{
Init... | 34 | 83 | 0.590809 | [
"Apache-2.0"
] | zumten/WebsiteCrawler | src/ZumtenSoft.WebsiteCrawler/Views/Editors/CrawlingBucketCollectionEditor.xaml.cs | 2,722 | C# |
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Cat.CatCount
{
public class CatCountApiTests
: ApiIntegrationTestBase<ReadOnlyCluster,... | 41.45283 | 127 | 0.753755 | [
"Apache-2.0"
] | niemyjski/elasticsearch-net | src/Tests/Tests/Cat/CatCount/CatCountApiTests.cs | 2,199 | C# |
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.... | 38.407725 | 160 | 0.498156 | [
"Apache-2.0"
] | vitsatishjs/Roslynator | source/Analyzers/Refactorings/AddEmptyLineBetweenDeclarationsRefactoring.cs | 8,951 | C# |
namespace ExpensesTracking.ViewModels
{
// All the code in this file is only included on iOS.
public class PlatformClass1
{
}
} | 20.571429 | 57 | 0.6875 | [
"MIT"
] | DarkArkantos/ExpensesTracking | ExpensesTracking.ViewModels/Platforms/iOS/PlatformClass1.cs | 146 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FubuCore;
namespace FubuMVC.Core.Localization
{
public class StringToken
{
private readonly string _defaultValue;
private string _key;
private readonly Lazy<LocalizationKey> _localizationK... | 30.448649 | 146 | 0.544648 | [
"Apache-2.0"
] | DarthFubuMVC/fubumvc | src/FubuMVC.Core/Localization/StringToken.cs | 5,633 | 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("8. ... | 38.162162 | 84 | 0.747167 | [
"MIT"
] | alexandrateneva/CSharp-Fundamentals-SoftUni | CSharp Advanced/Stacks and Queues/8. Recursive Fibonacci/Properties/AssemblyInfo.cs | 1,415 | C# |
using Godot;
using System;
using System.Collections.Generic;
using Game;
public class BackgroundLoaderItem : BackgroundLoaderBaseItem
{
[Signal]
public delegate void CompleteLoadEvent(Resource value);
[Signal]
public delegate void LoaderUpdateEvent(float progress);
[Signal]
public delegate v... | 20.351351 | 60 | 0.698539 | [
"MIT"
] | sboronczyk/economics-godot-game | utils/loader/BackgroundLoaderItem.cs | 753 | C# |
using ESFA.DC.ILR.Tests.Model;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.WorkPlaceStartDate;
using ESFA.DC.ILR.ValidationService.Rules.Tests.Abstract;
using FluentAssertions;
using Moq;
using System;
us... | 38.788571 | 168 | 0.601797 | [
"MIT"
] | SkillsFundingAgency/DC-ILR-2021-ValidationService | src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/WorkPlaceStartDate/WorkPlaceStartDate_03RuleTests.cs | 6,790 | C# |
using System;
namespace Hikari.Common.Hardware.Components
{
/// <summary>
/// WMI class: Win32_PerfFormattedData_PerfOS_Processor
/// </summary>
public class CpuCoreInfo
{
/// <summary>
/// Label by which the object is known.
/// </summary>
public string Name { get;... | 60.730769 | 219 | 0.70551 | [
"MIT"
] | LoveHikari/friendly_csharp_common | src/Hikari.Common/Hardware/Components/CpuCoreInfo.cs | 1,581 | C# |
using System;
using System.Text;
namespace R5T.NetStandard
{
public static class StringBuilderExtensions
{
public static char LastChar(this StringBuilder builder)
{
var output = builder[builder.Length - 1];
return output;
}
public static ... | 26.647059 | 100 | 0.529249 | [
"MIT"
] | MinexAutomation/R5T.NetStandard.Types | source/R5T.NetStandard.Types/Code/Extensions/StringBuilderExtensions.cs | 1,814 | C# |
// Copyright (c) rigofunc (xuyingting). All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Tools.Database.RevEng
{
public class TableSelectionSet
{
public static readonly TableSelectionSet All = new TableSelectionSet();
public TableSelectionSet(... | 28.542373 | 118 | 0.565914 | [
"MIT"
] | Arch/CodeRobot | src/Tools/DatabaseRevEng/TableSelectionSet.cs | 1,686 | C# |
using luval.rpa.common.model.bp;
using luval.rpa.rules.bp;
using System;
using System.Collections.Generic;
using System.Linq;
namespace luval.rpa.console
{
public class Reports
{
#region Non-Invasive
public object ExecuteNonInvasiveReport(Release release, string fileName)
{
... | 41.446237 | 144 | 0.507589 | [
"MIT"
] | Niavart/rpa-navigator | code/luval.rpa.console/Reports.cs | 7,711 | C# |
using Microsoft.CodeAnalysis;
namespace Drexel.Operations.Generated
{
[Generator]
public sealed class OperationsGenerator : ISourceGenerator
{
public void Initialize(GeneratorInitializationContext context)
{
}
public void Execute(GeneratorExecutionContext context)
... | 62.804878 | 142 | 0.685825 | [
"MIT"
] | mdrexel/Drexel.Operations | src/Drexel.Operations.Generated/OperationsGenerator.cs | 2,577 | C# |
using System.Collections.Generic;
using System.Linq;
using Xunit.Abstractions;
using Xunit.Internal;
using Xunit.v3;
namespace Xunit.Runner.v2
{
/// <summary>
/// Provides a class which wraps <see cref="IAttributeInfo"/> instances to implement <see cref="_IAttributeInfo"/>.
/// </summary>
public class Xunit3Attri... | 35.731707 | 144 | 0.757679 | [
"Apache-2.0"
] | KiKoS0/xunit | src/xunit.v3.runner.utility/Frameworks/v2/Reflection/Xunit3AttributeInfo.cs | 1,467 | 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-generate... | 45.550562 | 173 | 0.514307 | [
"Unlicense"
] | Yuuyake/Baykus | Properties/Resources.Designer.cs | 4,067 | C# |
using HarmonyLib;
// ReSharper disable All
namespace TiltEm.Harmony
{
/// <summary>
/// This harmony patch is intended to apply the tilt when getting the Zup frame
/// This method is called by Orbit.GetOrbitalStateVectorsAtTrueAnomaly, that's called by Orbit.UpdateFromUT and that method is called by the ... | 38.571429 | 177 | 0.662963 | [
"MIT"
] | LunaMultiplayer/TiltEm | TiltEm/Harmony/Planetarium_ZupAtT.cs | 1,352 | 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 Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Certificate;
namespace Microsoft.Extensions.Depende... | 54.945652 | 247 | 0.691395 | [
"Apache-2.0"
] | Courio-Dev/aspnetcore | src/Security/Authentication/Certificate/src/CertificateAuthenticationExtensions.cs | 5,055 | C# |
namespace Nager.Country.Translation.LanguageTranslations
{
public class ChurchSlavicLanguageTranslation : ILanguageTranslation
{
///<inheritdoc/>
public string CommonName => "ChurchSlavic";
///<inheritdoc/>
public string OfficialName => "ѩзыкъ словѣньскъ";
///<inheritdoc... | 91.106796 | 155 | 0.697251 | [
"MIT"
] | OpenBoxLab/Nager.Country | src/Nager.Country.Translation/LanguageTranslations/ChurchSlavicLanguageTranslation.cs | 11,606 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 30.081081 | 103 | 0.734951 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/WAFV2/Generated/Model/DeleteRegexPatternSetResponse.cs | 1,113 | C# |
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Threading;
namespace Robot.Action
{
[JsonObject(MemberSerialization.OptIn)]
class ConvergenceAction : AbstractAction
{
[JsonProperty]
public readonly int Input;
public static IDictionary<string, int> Finish = ne... | 23.92 | 164 | 0.537625 | [
"MIT"
] | Osarel/ArduinoCommandServeur | Robot/Robot/Animation/Basic/ConvergenceAction.cs | 1,198 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Aggregit.Web.Options;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.DependencyInjection;
using Aggregit.Web.ViewModels.Home;
using System.Net.... | 30.816901 | 122 | 0.6266 | [
"MIT"
] | johne3/Aggregit | src/Aggregit.Web/Controllers/HomeController.cs | 2,188 | C# |
#region Copyright and License
// Copyright 2010..2017 Alexander Reinert
//
// This file is part of the ARSoft.Tools.Net - C# DNS client/server and SPF Library (https://github.com/alexreinert/ARSoft.Tools.Net)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... | 53.616438 | 217 | 0.648101 | [
"Apache-2.0"
] | BLun78/DnsProxy | 3thParty/ARSoft.Tools.Net/Dns/Resolver/SelfValidatingDnsSecStubResolver.cs | 11,744 | C# |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace FeedControl.Migrations
{
public partial class MyFirstMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 33.137255 | 72 | 0.489941 | [
"MIT"
] | xxinl/FishFeeder | src/FeedControl/Migrations/20161031155102_MyFirstMigration.cs | 1,692 | C# |
using Google.Protobuf;
using System;
using System.Collections.Generic;
namespace Flow.Net.Sdk.Models
{
public class FlowBlock : FlowBlockHeader
{
/// <summary>
/// FlowBlock is a set of state mutations applied to the Flow blockchain.
/// </summary>
public FlowBlock()
{
... | 31.865385 | 106 | 0.637296 | [
"MIT"
] | adhurjaty/flow.net | src/Flow.Net.SDK/Models/FlowBlock.cs | 1,659 | C# |
using System;
using System.Windows.Forms;
/* Chanmongler -- chanstyle imageboard downloader and searcher
* Copyright (C) 2008,2009 Praetox (http://praetox.com/)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | 35.735294 | 74 | 0.665021 | [
"Unlicense"
] | Praetox/Chan | Chanmongler_final/Backup/Chanmongler/frmHelp.cs | 1,217 | C# |
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace ElasticSearch7Template.Utility
{
/// <summary>
/// MongoDb帮助类
/// </summary>
public class MongoDbHelp... | 30.389222 | 100 | 0.491429 | [
"MIT"
] | xubb1988/ElasticSearch7Template | ElasticSearch7Template.Utility/MongoDBHelper/MongoDBHelper.cs | 5,185 | C# |
using Sandbox;
using System;
[Library( "ent_bouncyball", Title = "Bouncy Ball", Spawnable = true, Group = "Fun" )]
public partial class BouncyBallEntity : Prop, IUse
{
public float MaxSpeed { get; set; } = 1000.0f;
public float SpeedMul { get; set; } = 1.2f;
public override void Spawn()
{
base.Spawn();
SetM... | 22.340909 | 98 | 0.690743 | [
"Apache-2.0"
] | Hmmm0/sbox | code/Entities/BouncyBall.cs | 985 | C# |
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using LCGuidebook;
using LCGuidebook.Core;
using LCGuidebook.Core.DataStructures;
namespace LCGuidebook.Core.DataStructures
{
public class Growth : INotifyPropertyChanged
{
public Dictionary<string, Expression> It... | 21.282609 | 94 | 0.703779 | [
"MIT"
] | Quantumzhao/Atomization | Core/Data Structures/Growth.cs | 981 | C# |
using DragonSpark.Commands;
using DragonSpark.Sources.Parameterized;
using System;
using System.Threading.Tasks;
namespace DragonSpark.Tasks
{
public class SuppliedTaskSource<T> : SuppliedTaskSource
{
public SuppliedTaskSource( ICommand<T> command, T parameter ) : base( command.Fixed( parameter ).ToRunDelegate() )... | 32.65 | 127 | 0.748851 | [
"MIT"
] | DragonSpark/VoteReporter | Framework/DragonSpark/Tasks/SuppliedTaskSource.cs | 653 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Shouldly;
using Xunit;
namespace OSharp.Entity.Infrastructure.Tests
{
public class ExpirableBaseTests
{
[Fact]
public void Ctor_Test()
{
TestEntity entity = new TestEntity();
entity.Begi... | 22.738095 | 57 | 0.551832 | [
"Apache-2.0"
] | xiawei666/osharp-ns20 | tests/OSharp.Tests/Entity/Infrastructure/ExpirableBaseTests.cs | 957 | C# |
/*
* File storage API
*
* Welcome to the file-storage. You can use this API to access all file-storage endpoints. ## Base URL The base URL for all API requests is `https://unify.apideck.com` ## GraphQL Use the [GraphQL playground](https://developers.apideck.com/graphql/playground) to test out the GraphQL API. ... | 127.601064 | 18,155 | 0.621702 | [
"MIT"
] | grexican/apideck | src/Apideck.FileStorage/Model/Owner.cs | 24,012 | C# |
#region
using UlteriusScreenShare.WindowsInput.Native;
#endregion
namespace UlteriusScreenShare.WindowsInput
{
/// <summary>
/// An implementation of <see cref="IInputDeviceStateAdaptor" /> for Windows by calling the native
/// <see cref="NativeMethods.GetKeyState" /> and <see cref="NativeMethod... | 64.26 | 131 | 0.641301 | [
"MPL-2.0"
] | josejamilena/screen-share | UlteriusScreenShare/WindowsInput/WindowsInputDeviceStateAdaptor.cs | 12,854 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace WebStdUtils.Utils
{
public static class JsonUtils
{
public static void Serialize<T>(string filename, T t) => File.WriteAllText(filename, JsonConvert.SerializeObject(t, Formatting.Indented));
publ... | 37.375 | 163 | 0.789298 | [
"MIT"
] | vlad2048/WebStdUtils | WebStdUtils/Utils/JsonUtils.cs | 600 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using ADSBackend.Data;
using ADSBackend.Models.StaffViewModel;
namespace ADSBackend.Controllers
{
public c... | 28.116883 | 111 | 0.498614 | [
"MIT"
] | eahs/GuidanceApp-Backend | ADSBackend/Controllers/StaffsController.cs | 4,332 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview
{
using static Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.Extensions;
/// <summary>Application-specific metadata in the form of key-value pairs.</summary>
public partial class ServerForUpdateTags
{
... | 67.588235 | 262 | 0.690165 | [
"MIT"
] | 3quanfeng/azure-powershell | src/PostgreSql/generated/api/Models/Api20200214Preview/ServerForUpdateTags.json.cs | 6,793 | C# |
using UnityEditor;
using System.IO;
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
class PerformBuild
{
private static string BUILD_LOCATION = "+buildlocation";
static string GetBuildLocation(BuildTarget buildTarget)
{
string[] args = System.Environment.GetCommandLi... | 35.986111 | 126 | 0.617136 | [
"Apache-2.0",
"MIT"
] | BenRQ/valkyrie | unity/Assets/Editor/PerformBuild.cs | 2,591 | C# |
#region Copyright
// --------------------------------------------------------------------------------------------------------------------
// MIT License
// Copyright(c) 2021 Andre Wehrli
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation fi... | 47.909091 | 119 | 0.660342 | [
"MIT"
] | thecaptncode/Waveshare.EPaperDisplay | Waveshare/Properties/AssemblyInfo.cs | 1,583 | C# |
using System.Collections.Generic;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using AssetStudio;
using TGASharpLib;
namespace AssetStudioGUI
{
internal static class Exporter
{
public static bool ExportTexture2D(AssetItem item, string exportPathName)
{
... | 39.842615 | 195 | 0.515831 | [
"MIT"
] | CitrusAqua/AssetStudio | AssetStudioGUI/Exporter.cs | 16,457 | C# |
/*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 6.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.... | 24.164557 | 104 | 0.593504 | [
"Apache-2.0"
] | adobe-sign/AdobeSignCSharpSDK | src/IO.Swagger.Test/model.widgets/WidgetViewsTests.cs | 1,909 | C# |
//------------------------------------------------------------------------------
// <copyright file="TemplateInfo.cs" company="Aras Corporation">
// © 2017-2021 Aras Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Aras.Me... | 24.483871 | 81 | 0.546772 | [
"MIT"
] | FilenkoAndrii/ArasVSMethodPlugin | Aras.Method.Libs/Templates/TemplateInfo.cs | 762 | C# |
using System;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using FluentAssertions;
using Sentry;
using Sentry.Extensibility;
using Xunit;
// ReSharper disable once CheckNamespace
// Stack trace filters out Sentry frames by namespace
namespace Other.Tests.Internals
{
public cl... | 32.252475 | 181 | 0.593553 | [
"MIT"
] | kanadaj/sentry-dotnet | test/Sentry.Tests/Internals/SentryStackTraceFactoryTests.cs | 6,515 | 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... | 34.258065 | 122 | 0.610483 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/RecoveryServices/V20210701/Outputs/A2AProtectedDiskDetailsResponse.cs | 6,372 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 67.955224 | 480 | 0.70872 | [
"MIT"
] | alexbuckgit/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionCollection.cs | 22,765 | 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 AvailTekVegasRenderExtensions
{
public partial class RenderStaleStatus : Form
{
... | 25.890909 | 95 | 0.594803 | [
"MIT"
] | rlbogue/CourseCreation | AvailTekVegasRenderExtensions/RenderStaleStatus.cs | 1,426 | C# |
namespace CafeLib.Cryptography.BouncyCastle.Crypto.Engines
{
/// <remarks>
/// An implementation of the AES Key Wrapper from the NIST Key Wrap Specification.
/// <p/>
/// For further details see: <a href="http://csrc.nist.gov/encryption/kms/key-wrap.pdf">http://csrc.nist.gov/encryption/kms/key-wrap.pdf</a>.
/// </... | 26.294118 | 142 | 0.695749 | [
"MIT"
] | chrissolutions/CafeLib | Cryptography/CafeLib.Cryptography.BouncyCastle/Crypto/Engines/AesWrapEngine.cs | 447 | C# |
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel
{
using System.Diagnostics;
using System.Linq;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class TelemetryProcessorsTests
{
[TestMethod]
public void Inst... | 47.6 | 148 | 0.706783 | [
"MIT"
] | 304NotModified/ApplicationInsights-dotnet | BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Nuget.Tests/TelemetryProcessorsTests.cs | 3,334 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.