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 Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AspNetRoles",
co... | 41.935393 | 155 | 0.47391 | [
"MIT"
] | desitynikolova/Movies-ASP-NET-Core-Project | Data/Migrations/20210514112829_Initial.cs | 14,931 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletController : MonoBehaviour
{
public float speed;
private GameController gameController;
void Start()
{
var rb = GetComponent<Rigidbody>();
rb.velocity = transform.forward*speed;
g... | 23.941176 | 97 | 0.60688 | [
"MIT"
] | kofon95/SpaceShooter | Assets/Scripts/BulletController.cs | 816 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Natsnudasoft.RgbLedSequencerWebInterface.Data;
namespace Natsnudasoft.RgbLedSequencerWebInterface.Migrations
{
[... | 35 | 117 | 0.534821 | [
"Apache-2.0"
] | natsnudasoft/RgbLedSequencerWebInterface | src/RgbLedSequencerWebInterface/Migrations/20170702114621_Initial.Designer.cs | 3,360 | 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... | 36.722222 | 158 | 0.625567 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/DescribeClientVpnRoutesResponseUnmarshaller.cs | 3,966 | C# |
using System;
using System.IO;
using System.Management;
namespace PurpleSharp.Lib
{
//Most of this is based on SharpExec (https://github.com/anthemtotheego/SharpExec)
class RemoteLauncher
{
public static string readFile(string rhost, string path, string ruser, string rpwd, string domain)
... | 42.736 | 135 | 0.496818 | [
"BSD-3-Clause"
] | FDlucifer/PurpleSharp | PurpleSharp/Lib/RemoteLauncher.cs | 5,344 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TinTucCongNghe.Migrations
{
public partial class TinTucCongNghe : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
... | 18.833333 | 71 | 0.675516 | [
"MIT"
] | nmsdzbmt/TinTucCongNghe-Angular-ABP | aspnet-core/src/TinTucCongNghe.EntityFrameworkCore/Migrations/20210619100412_TinTucCongNghe.cs | 341 | C# |
namespace SqlNotebook {
partial class OptionsForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | 48.138211 | 161 | 0.613748 | [
"MIT"
] | mfrigillana/sqlnotebook | src/SqlNotebook/OptionsForm.Designer.cs | 5,923 | C# |
using System;
using System.Runtime.Serialization;
namespace ValveQuery
{
/// <summary>
/// Base for all GameServer Exception.
/// </summary>
[Serializable]
public class GameServerException : Exception
{
public GameServerException()
: base()
{
}
public GameServerException(string message)
: base(mes... | 17.272727 | 81 | 0.712281 | [
"MIT"
] | Deathreus/ValveQuery | ValveQuery/Exceptions/GameServerException.cs | 570 | C# |
// -------------------------------------------------------------------------
// Copyright © 2019 Province of British Columbia
//
// 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
//
// ht... | 35.212121 | 83 | 0.590361 | [
"Apache-2.0"
] | bcgov/healthgateway | Apps/Database/src/Models/VaccineProofRequestCache.cs | 2,325 | C# |
/*
* 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
*
... | 32.711864 | 120 | 0.648705 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Essbasic/V20210526/Models/CreateConsoleLoginUrlResponse.cs | 2,134 | 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 Microsoft.ML.Runtime.Data
{
/// <summary>
/// A class for mapping an input to an output cursor ass... | 37.962264 | 113 | 0.629722 | [
"MIT"
] | ArieJones/machinelearning | src/Microsoft.ML.Data/Transforms/BindingsWrappedRowCursor.cs | 2,012 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoDragons.Core.Graphics;
using MonoDragons.Core.Scenes;
using System;
using MonoDragons.Core.Physics;
namespace MonoDragons.Core.Render
{
public sealed class HideViewportExternals : IScene
{
private readonly IScene _inner;
... | 28.408163 | 131 | 0.608477 | [
"MIT"
] | EnigmaDragons/ZFS | src/MonoDragons.Core/Render/HideViewportExternals.cs | 1,394 | C# |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... | 45.642857 | 137 | 0.734898 | [
"Apache-2.0"
] | NakedObjectsGroup/NakedObjectsFramework | NakedObjects/NakedObjects.Reflector/Facet/ActionValidationFacet.cs | 3,195 | 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... | 35.596639 | 175 | 0.622521 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Redshift/Generated/Model/DescribeDefaultClusterParametersRequest.cs | 4,236 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | 39.704846 | 193 | 0.581826 | [
"BSD-2-Clause"
] | GaborApatiNagy/xenadmin | XenAdminTests/TabsAndMenus/PluginTabsAndMenus.cs | 9,015 | C# |
using MediatR;
using Microsoft.Extensions.Logging;
namespace CleanArchitecture.Application.Common.Behaviours;
public class UnhandledExceptionBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> where TRequest : notnull
{
private readonly ILogger<TRequest> _logger;
public UnhandledExceptio... | 28.032258 | 135 | 0.681243 | [
"MIT"
] | AamilShohail/Clean-Architecture- | src/Application/Common/Behaviours/UnhandledExceptionBehaviour.cs | 871 | C# |
//#define SUPPRESS_BOOLINTEXPLOIT
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using UELib.Tokens;
namespace UELib.Core
{
using System.Text;
public partial class UStruct
{
/// <summary>
/// Decompiles the bytecodes from the 'Owner'
/// </sum... | 39.525215 | 214 | 0.39175 | [
"MIT"
] | Bakkes/Unreal-Library | src/ByteCodeDecompiler.cs | 64,270 | C# |
using System;
using System.IO;
using System.Linq;
using Abp.Reflection.Extensions;
namespace MyProject.Web
{
/// <summary>
/// This class is used to find root path of the web project in;
/// unit tests (to find views) and entity framework core command line commands (to find conn string).
/// </summary... | 35.055556 | 118 | 0.602219 | [
"MIT"
] | CadeXu/ABP | abpMySql/aspnet-core/src/MyProject.Core/Web/WebContentFolderHelper.cs | 1,895 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace PomodoroTimer.Enums
{
public enum TimerState
{
Running,
Paused,
Stoped,
Complated,
}
}
| 14 | 33 | 0.619048 | [
"MIT"
] | firakti/PomodoroTimer | PomodoroTimer/PomodoroTimer/Enums/TimerState.cs | 212 | C# |
//-----------------------------------------------------------------------------
// Filename: SIPRequestAuthenticationResult.cs
//
// Description: Holds the results of a SIP request authorisation attempt.
//
// Author(s):
// Aaron Clauson (aaron@sipsorcery.com)
//
// History:
// 08 Mar 2009 Aaron Clauson Cre... | 35.205128 | 142 | 0.611799 | [
"Apache-2.0"
] | Ali-Russell/sipsorcery | src/app/SIPRequestAuthoriser/SIPRequestAuthenticationResult.cs | 1,375 | 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: AssemblyTit... | 39.212121 | 85 | 0.739567 | [
"MIT"
] | jschultz/sqlconverter | SolutionInfo.cs | 1,294 | 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... | 30.078947 | 110 | 0.740157 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/AuditManager/Generated/Model/DeleteAssessmentFrameworkResponse.cs | 1,143 | C# |
using ApeVolo.Common.Extention;
namespace ApeVolo.Common.Model;
/// <summary>
/// 数据库表信息
/// </summary>
public class TableInfo
{
/// <summary>
/// 字段Id
/// </summary>
public int ColumnId { get; set; }
/// <summary>
/// 字段名
/// </summary>
public string Name { get; set; }
/// <sum... | 18.466667 | 74 | 0.531889 | [
"Apache-2.0"
] | xianhc/apevolo-api | ApeVolo.Common/Model/TableInfo.cs | 893 | 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... | 32.735849 | 118 | 0.605476 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Network/V20170901/Outputs/ApplicationGatewayRedirectConfigurationResponse.cs | 3,470 | C# |
using NUnit.Framework;
namespace TwitchWrapper.Tests
{
[TestFixture]
public class TwitchClientTests
{
[Test]
public void TheTwitchClientMustDoSomething()
{
Assert.True(true);
}
}
}
| 16.2 | 52 | 0.588477 | [
"MIT"
] | andy-c-jones/TwitchAPIWrapper | TwitchWrapper.Tests/TwitchClientTests.cs | 245 | C# |
//-----------------------------------------------------------------------
// <copyright file="DeadlineFailureDetectorSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// <... | 38.284483 | 126 | 0.590858 | [
"Apache-2.0"
] | IgorFedchenko/akka.net | src/core/Akka.Remote.Tests/DeadlineFailureDetectorSpec.cs | 4,443 | 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... | 28 | 83 | 0.660099 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ContainerRegistry/V20190601Preview/Inputs/AgentPropertiesArgs.cs | 812 | 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.Generic;
using System.Linq;
using Xunit;
namespace System.Collections.Tests
{
public s... | 43.217617 | 126 | 0.563601 | [
"MIT"
] | Acidburn0zzz/corefx | src/System.Collections/tests/BitArray/BitArray_OperatorsTests.cs | 8,341 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.5 | 153 | 0.586038 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/model/MacOsVppAppAssignmentSettings.cs | 1,633 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PageButtonMove : MonoBehaviour {
float t = 0f;
float x;
public GameObject NextPageButton1, NextPageButton2;
private void Start()
{
x = NextPageButton1.transform.position.x;
}
void Update ()... | 32.243243 | 140 | 0.610226 | [
"MIT"
] | GreenApple-SeoyeonJang/TMT | TMT/Assets/Scripts/BackgroundScript/PageButtonMove.cs | 1,195 | C# |
using Kontur.Extern.Api.Client.Exceptions;
// ReSharper disable CommentTypo
namespace Kontur.Extern.Api.Client.Models.Numbers
{
/// <summary>
/// ИНН для ИП. Формат данных: 123456789012
/// </summary>
public record Inn
{
public static readonly RegexBasedParser<Inn> Parser =
ne... | 31.125 | 150 | 0.655957 | [
"MIT"
] | skbkontur/extern-csharp-sdk | src/Kontur.Extern.Api.Client/Models/Numbers/Inn.cs | 767 | C# |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grammophone.DataAccess.EntityFramework
{
/// <summary>
/// Used to convert from and to Entity Framework types.
/// </summary>
internal static class TypeConversion... | 28.035714 | 83 | 0.735032 | [
"MIT"
] | grammophone/Grammophone.DataAccess.EntityFramework | TypeConversions.cs | 787 | C# |
/*
* Copyright 2011-14 Peter Curran (peter@currans.eu). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this li... | 44.105802 | 146 | 0.530295 | [
"BSD-2-Clause"
] | hugocurran/OSCA2 | OSCAmmc/CertListView.cs | 12,925 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Xyperico.Base.StandardFormats.vCards
{
public class vCardMultiValueSet<T>
where T : vCardMultiValue<T>
{
public List<T> Items { get; private set; }
public T Default
{
get
{
if (Items.Count > 0)
... | 17.3 | 66 | 0.469364 | [
"MIT"
] | JornWildt/Xyperico | Xyperico.Base/Xyperico.Base.StandardFormats/vCards/vCardMultiValueSet.cs | 867 | C# |
/*
* freee API
*
* <h1 id=\"freee_api\">freee API</h1> <hr /> <h2 id=\"start_guide\">スタートガイド</h2> <p>freee API開発がはじめての方は<a href=\"https://developer.freee.co.jp/getting-started\">freee API スタートガイド</a>を参照してください。</p> <hr /> <h2 id=\"specification\">仕様</h2> <pre><code>【重要】会計freee APIの新バージョンについて 2020年12月まで、2つのバージョンが利... | 67.138862 | 4,141 | 0.674763 | [
"MIT"
] | zawazawazawazawa/freee-accounting-sdk-csharp | src/Freee.Accounting/Api/ExpenseApplicationsApi.cs | 83,267 | C# |
/*
Written in 2013-2019 by Peter O.
Parts of the code were adapted by Peter O. from
public-domain code by Wei Dai.
Parts of the GCD function adapted by Peter O.
from public domain GCD code by Christian
Stigen Larsen (http://csl.sublevel3.org).
Any copyright to this work is released to the Public Domain.
In case this... | 36.302713 | 86 | 0.533515 | [
"CC0-1.0"
] | peteroupc/Numbers | Numbers/PeterO/Numbers/EInteger.cs | 363,971 | C# |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Butler.Helper
{
public class NullToVisibliltyConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value != null ? Visibility.Visib... | 25.1 | 97 | 0.770916 | [
"MIT"
] | megai2/ArcDps-Butler | Butler/Butler/Helper/NullToVisibliltyConverter.cs | 504 | C# |
using NetOffice.Attributes;
namespace NetOffice.WordApi.Enums
{
/// <summary>
/// SupportByVersion Word 9, 10, 11, 12, 14, 15, 16
/// </summary>
[SupportByVersion("Word", 9, 10, 11, 12, 14, 15, 16)]
[EntityType(EntityType.IsEnum)]
public enum WdSummaryMode
{
/// <summary>
//... | 31.948718 | 61 | 0.529695 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | ehsan2022002/VirastarE | Office/Word/Enums/WdSummaryMode.cs | 1,248 | C# |
// SQL Notebook
// Copyright (C) 2016 Brian Luft
//
// 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, modify, merg... | 46.270833 | 119 | 0.69068 | [
"MIT"
] | mfrigillana/sqlnotebook | src/SqlNotebookScript/TableFunctions/ListXlsWorksheetsFunction.cs | 2,223 | C# |
namespace Alex.MoLang.Runtime.Value
{
public interface IMoValue<T> : IMoValue
{
new T Value { get; }
}
public interface IMoValue
{
object Value { get; }
bool Equals(IMoValue b);
string AsString() => Value.ToString();
virtual double AsDouble() => Value is double db ? db : 0d;
virtual float AsFloa... | 18.710526 | 74 | 0.639944 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | kennyvv/Alex | src/Alex.MoLang/Runtime/Value/MoValue.cs | 711 | 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 ... | 20.92196 | 155 | 0.614677 | [
"Apache-2.0"
] | bitType/aliyun-openapi-net-sdk | aliyun-net-sdk-domain/Domain/Model/V20180129/SaveBatchTaskForCreatingOrderActivateRequest.cs | 11,528 | C# |
#pragma checksum "D:\New folder\AuthSystem\Identity\Areas\Identity\Pages\Account\Manage\EnableAuthenticator.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "63d2a2d6a8223e583fa6a19676ae504270a8630f"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledIte... | 70.027273 | 351 | 0.74127 | [
"MIT"
] | namchokGithub/AuthSystem | Identity/obj/Debug/netcoreapp3.1/Razor/Areas/Identity/Pages/Account/Manage/EnableAuthenticator.cshtml.g.cs | 23,109 | C# |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using LetterboxCamera;
namespace LetterboxCamera {
public class FoodTracker : MonoBehaviour {
public DragonClass dragon;
public Text[] textPieces;
// Use this for initialization
void Start() {
... | 23.24 | 88 | 0.555938 | [
"MIT"
] | Indexu/AlanAlbusAdventures | src/Alan and Albus Adventures/Assets/Plugins/Auto Letterbox/Demos/Game Demo/Scripts/FoodTracker.cs | 583 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure
{
internal class NoBodyResponse<T> : Response<T>
{
private readonly Response _response;
public NoBodyResponse(Response response)
{
_response = res... | 25 | 98 | 0.594146 | [
"MIT"
] | MAtifSaeed/azure-sdk-for-net | sdk/core/Azure.Core/src/Shared/NoBodyResponse{T}.cs | 1,027 | C# |
namespace XCReceiptPrinterTester
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为... | 24.97619 | 73 | 0.524309 | [
"MIT"
] | xuchao1984/XCReceiptPrinter | XCReceiptPrinterTester/Form1.Designer.cs | 1,205 | C# |
using System.Resources;
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("DynamoAutomation"... | 37.25641 | 84 | 0.747419 | [
"MIT"
] | andydandy74/DynamoAutomation | addin_src/Properties/AssemblyInfo.cs | 1,456 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace SLIDDES.Modular.Editor
{
[CustomEditor(typeof(EventListenerDouble))]
public class EditorEventListenerDouble : EditorEventListener<double>
{
private EventListenerDouble selectedType;
... | 35.302326 | 168 | 0.679183 | [
"MIT"
] | MrSliddes/SLIDDES-Unity-Modular | Editor/Scripts/Event Listener/EditorEventListenerDouble.cs | 1,518 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using MyBudget.App.Services;
namespace MyBudget.App.Controllers
{
[Authorize]
public class HomeController : BaseController
{
private readonly IBudgetService _budgetService;
public HomeC... | 23.5 | 69 | 0.622695 | [
"MIT"
] | LukaszKot/MyBudget | src/MyBudget/MyBudget.App/Controllers/HomeController.cs | 707 | 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... | 36.164384 | 139 | 0.667424 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/DynamoDBv2/Generated/Model/Internal/MarshallTransformations/UpdateGlobalSecondaryIndexActionMarshaller.cs | 2,640 | 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.EntityFrameworkCore.Metadata.Conventions.Infrastructure;
namespace Microsoft.EntityFrameworkCore.Metadata.Conventions
{
/// <summary>
/// B... | 39.098039 | 112 | 0.640421 | [
"MIT"
] | FelicePollano/efcore | src/EFCore/Metadata/Conventions/InheritanceDiscoveryConventionBase.cs | 1,994 | C# |
namespace Signum.Upgrade.Upgrades;
class Upgrade_20211111_ReplaceDefaultExecute : CodeUpgradeBase
{
public override string Description => "Replace eoc.defaultClick( with return eoc.defaultClick(";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFile($@"*.tsx", uctx.Reac... | 30.533333 | 101 | 0.657205 | [
"MIT"
] | Faridmehr/framework | Signum.Upgrade/Upgrades/Upgrade_20211111_ReplaceDefaultExecute.cs | 458 | C# |
// WARNING
//
// This file has been generated automatically by Visual Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace vitavol
{
[Regi... | 24.368421 | 84 | 0.530238 | [
"Apache-2.0"
] | coxthepilot/vitasa | vitasa_apps/vitavol/VC_SCSites.designer.cs | 926 | 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("Spee... | 37.27027 | 84 | 0.746193 | [
"MIT"
] | DimitarZhelezov/CSharp-2-Telerik-Academy_ | Speeds/Properties/AssemblyInfo.cs | 1,380 | C# |
using System.Collections.Generic;
using System.Linq;
using GenericBlogAPI.Core.Entities;
using Newtonsoft.Json;
namespace GenericBlogAPI.Models
{
public class PostResponse
{
[JsonProperty(PropertyName = "metadata")]
public Metadata Metadata { get; set; }
[JsonProperty(PropertyName = "... | 30.75 | 110 | 0.678862 | [
"MIT"
] | jeduardocosta/GenericBlogApi | src/GenericBlogAPI/Models/PostResponse.cs | 986 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace Metaseed.Data
{
[Serializable]
public class NameDescription_DependencyObject : DependencyObject, INameDescription
{
public string NameText
{
get { return (string... | 37.470588 | 141 | 0.700157 | [
"MIT"
] | metaseed/MetaStudio | src/Metaseed.Core/Data/NameDescription_DependencyObject.cs | 1,276 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Scorpio
{
/// <summary>
///
/// </summary>
[DebuggerStepThrough]
public static class Check
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// ... | 27.616162 | 118 | 0.495611 | [
"MIT"
] | project-scorpio/scorpio | src/Core/src/Scorpio.Utilities/Scorpio/Check.cs | 2,736 | C# |
using System;
namespace Reactive.Streams.TCK.Support
{
public class SubscriberBufferOverflowException : Exception
{
public SubscriberBufferOverflowException(string message) : base(message)
{
}
public SubscriberBufferOverflowException(string message, Exception inne... | 23.705882 | 90 | 0.647643 | [
"CC0-1.0"
] | OsirisTerje/reactive-streams-dotnet | src/tck/Reactive.Streams.TCK/Support/SubscriberBufferOverflowException.cs | 405 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ElementInfoLocalization.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in th... | 35.598361 | 120 | 0.535574 | [
"MIT"
] | kephas-software/kephas | src/Kephas.Reflection/Reflection/Localization/ElementInfoLocalization.cs | 4,345 | C# |
using Steamworks;
using System;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
namespace Mirror.FizzySteam
{
public class LegacyClient : LegacyCommon, IClient
{
public bool Error { get; private set; }
public bool Connected { get; private set; }
private event Action<byte[], i... | 28.121951 | 122 | 0.625542 | [
"MIT"
] | Chykary/FizzyFacepunch | LegacyClient.cs | 4,614 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BlazorServer.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuil... | 43.090498 | 122 | 0.498582 | [
"MIT"
] | kaanlab/PolicyBasedAuthWithBlazor | src/BlazorServer/Data/Migrations/00000000000000_CreateIdentitySchema.cs | 9,525 | 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("Sta... | 38 | 84 | 0.750356 | [
"MIT"
] | bimsharp/AecHackathon20202_StaticNotStirred | ApatosReshoring_UI/Properties/AssemblyInfo.cs | 1,409 | C# |
using NUnit.Framework;
namespace Bellatrix.Web.GettingStarted
{
[TestFixture]
public class LoggingTests : NUnit.WebTest
{
[Test]
[Category(Categories.CI)]
public void AddCustomMessagesToLog()
{
App.Navigation.Navigate("http://demos.bellatrix.solutions/");
... | 45.326087 | 131 | 0.648441 | [
"Apache-2.0"
] | ViktorVakareev/BELLATRIX | templates/Bellatrix.Web.GettingStarted/23. Logging/LoggingTests.cs | 2,087 | C# |
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Sportradar.OddsFeed.SDK.Common.Internal
{
/// <summary>
/// Defines a pool of <see cref="SemaphoreSlim"/> instances which can be used to synchroniz... | 40.566667 | 124 | 0.655711 | [
"Apache-2.0"
] | Honore-Gaming/UnifiedOddsSdkNetCore | src/Sportradar.OddsFeed.SDK/Common/Internal/ISemaphorePool.cs | 1,217 | C# |
using System;
namespace Strong_number
{
class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
string numberToString = number.ToString();
int lastDigit = 0;
int everyDigit = number;
int sum = 0;
... | 24.157895 | 59 | 0.388889 | [
"MIT"
] | ErsanYashar/SoftUni-C--Fundamentals | Basic Syntax, Conditional Statements and Loops - Exercise/Strong number/Program.cs | 920 | 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... | 34.15 | 107 | 0.629941 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Inspector/Generated/Model/AgentFilter.cs | 2,732 | C# |
/* CIL Tools
* Copyright (c) 2022, MSDN.WhiteKnight (https://github.com/MSDN-WhiteKnight)
* License: BSD 2.0 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CilTools.Syntax;
namespace CilView.Core.Syntax
{
public static class SyntaxReader
{
static bo... | 28.042254 | 106 | 0.472627 | [
"BSD-3-Clause"
] | MSDN-WhiteKnight/CilBytecodeParser | CilView.Core/Syntax/SyntaxReader.cs | 1,993 | C# |
namespace GRA
{
public static class ClaimType
{
public static readonly string AuthenticatedAt = "GRA.AuthenticatedAt";
public static readonly string BranchId = "GRA.BranchId";
public static readonly string Permission = "GRA.Permission";
public static readonly string SiteId = "GR... | 35.769231 | 78 | 0.683871 | [
"MIT"
] | MCLD/greatreadingadventure | src/GRA/ClaimType.cs | 467 | C# |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// JointAccountMemberRespDTO Data Structure.
/// </summary>
public class JointAccountMemberRespDTO : AlipayObject
{
/// <summary>
/// 额度模型
... | 25.5 | 68 | 0.54902 | [
"MIT"
] | lzw316/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/JointAccountMemberRespDTO.cs | 1,149 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Net;
using System.Text;
using System.Windows.Forms;
using Off... | 35.28178 | 193 | 0.492224 | [
"MIT"
] | ConnectionMaster/Office365APIEditor | Office365APIEditor/UI/SendMailForm.cs | 16,655 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 44.131148 | 280 | 0.606426 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/AppStream/Basic/Register-APSFleet-Cmdlet.cs | 10,768 | C# |
//-----------------------------------------------------------------------
// <copyright file="TwitterFavoriteAsync.cs" company="Patrick 'Ricky' Smith">
// This file is part of the Twitterizer library (http://www.twitterizer.net/)
//
// Copyright (c) 2010, Patrick "Ricky" Smith (ricky@digitally-born.com)
// Al... | 54.623529 | 180 | 0.656257 | [
"MIT",
"BSD-3-Clause"
] | HemantNegi/Twitterizer | Twitterizer2.Async/TwitterFavoriteAsync.cs | 4,645 | C# |
namespace DevFreela.Application.ViewModels
{
public class UserViewModel
{
public UserViewModel(string fullName, string email)
{
FullName = fullName;
Email = email;
}
public string FullName { get; private set; }
public string Email { get; private ... | 22.333333 | 59 | 0.585075 | [
"MIT"
] | WanderleiSantos/DevFreela | DevFreela.Application/ViewModels/UserViewModel.cs | 337 | C# |
using System;
using System.Threading.Tasks;
using Core.Net;
using Core.Ircx.Objects;
using Core.Ircx;
using CSharpTools;
using System.Security.Cryptography;
using System.Collections.Generic;
namespace Core
{
public class Program
{
public static ServerSettings Config;
public static string BaseP... | 44.736 | 209 | 0.526645 | [
"MIT"
] | IRC7/IRC7 | Program.cs | 5,594 | C# |
/*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 情缘
* Create Date: 2016-05-12 11:02:33
*
* Description: Git.Framework
* http://www.cnblogs.com/qingyuan/
* Revision History:
* Date Author Des... | 23.423077 | 82 | 0.477833 | [
"MIT"
] | colin08/yun_gitwms | Git.WMS.Web/Git.Storage.Common/Enum/EAllocate.cs | 619 | C# |
// YWMenu - YourWishIsMine's Menu
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace YWMenuNS
{
class YWMenu
{
public static Char playerDirection;
public string[] Menu(string question, Dictionary<char, string> choices, List<string> errorMe... | 36.80597 | 108 | 0.412409 | [
"MIT"
] | johnschwarz/Wizards-Castle-40th-Anniversary-CSharp-Edition | YWMenu.cs | 2,468 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using YTSubConverter.Shared.Formats.Ass;
using YTSubConverter.Shared.Util;
namespace YTSubConverter.Shared.Animations
{
internal static class Animator
{
public static IEnumerable<AssLine> Expand(AssDocument document, AssLine ... | 45.926606 | 182 | 0.582901 | [
"MIT"
] | Meigyoku-Thmn/YTSubConverter | YTSubConverter.Shared/Animations/Animator.cs | 10,014 | C# |
/**
* Copyright 2015 Canada Health Infoway, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 50.377193 | 162 | 0.653607 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-release-v01_r04_3/Main/Ca/Infoway/Messagebuilder/Model/Pcs_cerx_v01_r04_3/Pharmacy/Porx_mt060210ca/OtherMedication.cs | 17,229 | 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.Runtime.InteropServices;
using System;
internal class NullableTest
{
private static bool BoxUnboxToNQGen<T>(T o)
{
return ((object)o) == null;
}
... | 22.125 | 89 | 0.614689 | [
"MIT"
] | belav/runtime | src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.cs | 885 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 41.497717 | 153 | 0.59276 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/OnPremisesPublishingProfileAgentsCollectionRequest.cs | 9,088 | 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... | 29.083333 | 86 | 0.664756 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Cdn/V20191231/Outputs/DeliveryRuleRequestUriConditionResponse.cs | 1,047 | C# |
using System;
namespace Gw2Sharp.WebApi.V2.Models
{
/// <summary>
/// Represents a guild team game.
/// </summary>
public class GuildTeamGame
{
//TODO: Check if all properties are actually correct.
/// <summary>
/// The game id.
/// </summary>
public Guid Id... | 25.759259 | 94 | 0.504673 | [
"MIT"
] | Archomeda/Gw2Sharp | Gw2Sharp/WebApi/V2/Models/Guild/GuildTeamGame.cs | 1,391 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte.Utils
{
public class CrashUtils
{
public static bool IsCrashed_Range_Range(double l1, double r1, double l2, double r2)
{
if (r1 < l1) throw null; // test
if (r2 < l2) throw null; // test
return l1... | 20.636364 | 86 | 0.63562 | [
"MIT"
] | stackprobe/Annex | Bodewig/GeoDemo/Server/Server/Utils/CrashUtils.cs | 1,599 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Rollvolet.CRM.API.Builders.Interfaces;
using Rollvolet.CRM.API.Collectors;
using Rollvolet.CRM.APIContracts.DTO;
using Rollvolet.CRM.APIContracts.DTO.Building... | 46.657778 | 142 | 0.673176 | [
"MIT"
] | rollvolet/crm-ap | src/Rollvolet.CRM.API/Controllers/BuildingsController.cs | 10,498 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BESSy.Json.Tests.Documentation.Samples.Serializer
{
public class PopulateObject
{
#region Types
public class Account
{
public string Email { get; set; }
public bool A... | 25.436364 | 83 | 0.468192 | [
"MIT"
] | thehexgod/BESSy.JSON | Src/BESSy.Json.Tests/Documentation/Samples/Serializer/PopulateObject.cs | 1,401 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Diagnostics.ContractsLight;
using BuildXL.Utilities;
namespace BuildXL.Pips.DirectedGraph
{
/// <summary>
/// Inclusive range of <see cref="NodeId"/>s.
/// </summary>
public readonly stru... | 34.201613 | 131 | 0.575336 | [
"MIT"
] | BearerPipelineTest/BuildXL | Public/Src/Pips/Dll/DirectedGraph/NodeRange.cs | 4,243 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 22.11.2020.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 28.847134 | 152 | 0.56083 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LeftShift/Complete/Int32/NullableInt16/TestSet_P01__param_field.cs | 4,531 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharpDX;
using System.IO;
using System.Xml;
using TC = System.ComponentModel.TypeConverterAttribute;
using EXP = System.ComponentModel.ExpandableObjectConverter;
name... | 37.825645 | 117 | 0.543872 | [
"MIT"
] | ThymonA/RageKit | RageKit/GameFiles/FileTypes/CarColsFile.cs | 48,381 | C# |
using System.Web;
using System.Web.Optimization;
namespace AddressBook
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new Scri... | 38.580645 | 113 | 0.582776 | [
"MIT"
] | thiseasm/AddressBook | AddressBook/App_Start/BundleConfig.cs | 1,198 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Ying.YingUtil
{
public enum MagneticLocation
{
Left = 0,
Right = 1,
Top = 2,
Bottom = 3
}
public enum MagneticState
... | 28.354478 | 169 | 0.486906 | [
"MIT"
] | iZhangYingYing/YingLauncher | YingClient/Ying/Ying/YingUtils/YingMagneticManager.cs | 7,609 | C# |
using System;
namespace RavenNest.DataModels
{
public class UserNotification : Entity<UserNotification>
{
private Guid id; public Guid Id { get => id; set => Set(ref id, value); }
private Guid userId; public Guid UserId { get => userId; set => Set(ref userId, value); }
private string i... | 55.294118 | 121 | 0.655319 | [
"MIT"
] | zerratar/RavenNest | src/RavenNest.DataModels/UserNotification.cs | 942 | C# |
using System;
using System.Diagnostics;
using Geisha.Common.Math;
using Geisha.Engine.Core.Components;
using Geisha.Engine.Core.Diagnostics;
using Geisha.Engine.Core.SceneModel;
using Geisha.Engine.Rendering;
using Geisha.Engine.Rendering.Backend;
using Geisha.Engine.Rendering.Components;
using Geisha.Engine.Rendering... | 42.651102 | 156 | 0.619176 | [
"MIT"
] | dawidkomorowski/geisha | test/Geisha.Engine.UnitTests/Rendering/Systems/RenderingSystemTests.cs | 32,886 | C# |
namespace Scout
{
partial class BaseDialog
{
/// <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 resources s... | 28.22449 | 102 | 0.596529 | [
"MIT"
] | eng/luckymonk-scout | BaseDialog.Designer.cs | 1,383 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;
namespace Light.Abp.DicManagement
{
public interface IComplexDicRepository : IRepository<ComplexDic, int>
{
Task<List<string>> GetCategoriesAsync();
Task<List<ComplexDic>> GetListByCategoryAsyn... | 26.692308 | 73 | 0.74928 | [
"MIT"
] | seventh88/abp-dic-management | src/Light.Abp.DicManagement.Domain/ComplexDic/IComplexDicRepository.cs | 349 | C# |
using System;
using System.Windows.Forms;
using System.IO;
using System.Linq;
using Aerial;
using System.Diagnostics;
using System.Collections.Generic;
using System.Net;
using System.Web.Script.Serialization;
namespace ScreenSaver
{
public partial class SettingsForm : Form
{
public SettingsForm()
... | 33.20598 | 160 | 0.543572 | [
"MIT"
] | gingoi/Aerial | ScreenSaver/SettingsForm.cs | 9,997 | C# |
using Bytes2you.Validation;
using Dealership.Common.Enums;
using Dealership.Contracts;
namespace Dealership.Models
{
public class Car : Vehicle, ICar
{
private int seats;
public Car(string mark, string model, decimal price, int seats)
: base(4, VehicleType.Car, mark, model, price)... | 23.764706 | 91 | 0.501238 | [
"MIT"
] | Infra1515/TelerikAcademyProblems | Telerik Academy Alpha/OOP/Workshops/Workshop3 - Car dealership/Dealership-Skeleton/Dealership/Models/Car.cs | 810 | C# |
using System;
using Rapidity.Http.Configurations;
namespace Rapidity.Http.Attributes
{
/// <summary>
///
/// </summary>
public static class AttributeExtension
{
/// <summary>
///
/// </summary>
/// <param name="attribute"></param>
/// <returns></returns>
... | 28.116279 | 79 | 0.529363 | [
"MIT"
] | zhangmingjian/RapidityHttp | src/Attributes/AttributeExtension.cs | 1,211 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
| 15.526316 | 52 | 0.623729 | [
"MIT"
] | SonKatarina23/HellYea | Assets/Script/MenuScript.cs | 297 | C# |
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using Troubleshooter.Constants;
namespace Troubleshooter;
public static class PageUtility
{
private static readonly Regex pathRegex = new(@"]\(([\w /%.]+)\)", RegexOptions.Compiled);
private static readonly Regex linkRegex = ne... | 37.905405 | 152 | 0.695544 | [
"MIT"
] | vertxxyz/help.vertx.xyz | Troubleshooter/Source/Utils/PageUtility.cs | 2,805 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
using Assert = NUnit.Framework.Assert;
using Description = NUnit.Framework.DescriptionAttribute;
using TestContext ... | 29.821918 | 118 | 0.583372 | [
"MIT"
] | 842549829/CsQuery | source/CsQuery.Tests/Core/Selectors/AttributeSelectors.cs | 2,179 | C# |
/*
* OpenDoc_API-文档访问
*
* API to access AnyShare 如有任何疑问,可到开发者社区提问:https://developers.aishu.cn # Authentication - 调用需要鉴权的API,必须将token放在HTTP header中:\"Authorization: Bearer ACCESS_TOKEN\" - 对于GET请求,除了将token放在HTTP header中,也可以将token放在URL query string中:\"tokenid=ACCESS_TOKEN\"
*
* The version of the OpenAPI do... | 36.150754 | 257 | 0.534056 | [
"MIT"
] | ArtyDinosaur404/AnyShareSDK | AnyShareSDK/Model/LinkSetReq.cs | 7,726 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.