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 System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
namespace WpfToolkitChart
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| 16.882353 | 40 | 0.724739 | [
"Apache-2.0"
] | anh123minh/DES | WpfToolkitChart/WpfToolkitChart/App.xaml.cs | 289 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ShoppingApprovalSystem.Migrations
{
public partial class Upgrade_ABP_381 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "LoginProvide... | 30 | 71 | 0.545833 | [
"MIT"
] | AlanLang/ShoppingApprovalSystem | aspnet-core/src/ShoppingApprovalSystem.EntityFrameworkCore/Migrations/20180731132139_Upgrade_ABP_3.8.1.cs | 962 | C# |
using System;
using System.Collections.Generic;
using Smooth.Collections;
namespace Smooth.Comparisons {
/// <summary>
/// Allocation free sort order comparer for type T where T implements IComparable<T>.
///
/// Only useful to circumvent potential JIT exceptions on platforms without JIT compilation.
/// </summ... | 29.352941 | 96 | 0.731463 | [
"Apache-2.0"
] | AndroFARsh/BoidsExperiment | Assets/Plugins/Smooth/Foundations/Comparisons/IComparableComparer.cs | 501 | C# |
using IntcodeInterpreter.Enums;
using System.Collections.Generic;
namespace IntcodeInterpreter.Instructions
{
internal class Add : InstructionBase
{
public Add(long parameters)
: base(Instruction.Add, 4)
{
NounMode = (Mode)(parameters % 10);
VerbMode = (Mode... | 32.181818 | 145 | 0.578154 | [
"MIT"
] | sowiszcze/AdventOfCode2019 | IntcodeInterpreter/Instructions/Add.cs | 1,064 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("GUIComponent")]
[assembly: AssemblyDescription... | 31.589286 | 92 | 0.742227 | [
"BSD-2-Clause"
] | zoetrope/ReactiveRTM | Sample/GUIComponent/Properties/AssemblyInfo.cs | 2,804 | C# |
using System.Collections.Generic;
using System.Globalization;
using System.Xml.Serialization;
#region dynamo
using Autodesk.DesignScript.Runtime;
#endregion
namespace FemDesign.Loads
{
[IsVisibleInDynamoLibrary(false)]
public partial class LoadCase: EntityBase
{
/// <summary>
/// Creates a... | 38.54717 | 169 | 0.620166 | [
"MIT"
] | AmalieRask131/femdesign-api | FemDesign.Dynamo/Dynamo/Loads/LoadCase.cs | 2,043 | C# |
/*
Write a C# program in to show as many asterisks on the screen as
told by the user, in the same row. For example, if the user enters
7, the answer would be:
*******
(V2: starting with 0)
*/
using System;
class Asterisks2
{
static void Main()
{
Console.Write("How many asterisk... | 16.969697 | 68 | 0.492857 | [
"MIT"
] | Jokerlocco/2019-2020_DAM1_EjerciciosClase | chapter02-controlStructures/044b-Asterisks2.cs | 560 | C# |
using FluentValidation;
namespace Gear.Manager.Core.EntityServices.Reports.Queries.GetSprintListReportFromSelected
{
public class GetSprintListReportFromSelectedQueryValidator : AbstractValidator<GetSprintListReportFromSelectedQuery>
{
public GetSprintListReportFromSelectedQueryValidator()
{
... | 27.352941 | 120 | 0.664516 | [
"MIT"
] | indrivo/bizon360_pm | IndrivoPM/IndrivoPM.Application/EntityServices/Reports/Queries/GetSprintListReportFromSelected/GetSprintListReportFromSelectedQueryValidator.cs | 467 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Type {
BIO,
MECH
}
public class EnemyType: MonoBehaviour {
public Type type;
} | 14.538462 | 39 | 0.772487 | [
"MIT"
] | Voossu/Zombie-Shooter-Project | Assets/Scripts/Enemy/EnemyType.cs | 191 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace WellBot.Infrastructure.DataAccess.Migrations
{
public partial class DeleteMessage : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsActiv... | 28.24 | 71 | 0.583569 | [
"MIT"
] | ko-vasilev/WellBot | src/WellBot.Infrastructure.DataAccess/Migrations/20211212105417_DeleteMessage.cs | 708 | C# |
using ClientLogic.Dto;
using System;
using System.Collections.Generic;
using System.Text;
namespace ClientLogic
{
public static class CalcHelper
{
public static double GetBruttoPrice(double nettoPrice, double vat)
{
return nettoPrice + nettoPrice * vat;
}
... | 23.333333 | 76 | 0.55974 | [
"Apache-2.0"
] | mantis1262/ProgamowanieUrzadzen | ClientLogic/CalcHelper.cs | 772 | C# |
using Polly;
namespace AdelaideFuel.Services
{
public interface IRetryPolicyService
{
/// <summary>
/// Get retry policy to handle native web request exceptions
/// </summary>
PolicyBuilder GetNativeNetRetryPolicy();
}
} | 22.166667 | 68 | 0.642857 | [
"MIT"
] | dmariogatto/adelaidefuel | src/App/AdelaideFuel/Services/Interfaces/IRetryPolicyService.cs | 268 | 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... | 37.807692 | 186 | 0.743642 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementOrStatementStatementXssMatchStatementFieldToMatchSingleHeaderArgs.cs | 983 | C# |
#region Copyright notice and license
// Copyright 2015 gRPC 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.apache.org/licenses/LICENSE-2.0
//
// Unless req... | 33.477273 | 108 | 0.665988 | [
"Apache-2.0"
] | AaronDewes/grpc | src/csharp/Grpc.Core.Api/VersionInfo.cs | 1,473 | C# |
namespace _3.BoomingCannon
{
using System;
using System.Text.RegularExpressions;
public class BoomingCannon
{
static int[] parameters;
static int startIndex;
static int count;
static bool isFirst = true;
static string targetsShotedDown = string.Empty;
... | 29.852273 | 97 | 0.507423 | [
"MIT"
] | TsvetanNikolov123/CSharp---Programming-Fundamentals-Extended | 35 RegEx - Exercises/3.BoomingCannon/BoomingCannon.cs | 2,629 | C# |
namespace Coronado.ConsoleApp
{
public static class StringExtensions {
public static string PadLeftWithDots(this string text, int totalWidth, bool includeTrailingDots = true)
{
if (text.Length > totalWidth) {
return text.Substring(0, totalWidth) + (includeTrailingDots ? ... | 37.194444 | 115 | 0.612397 | [
"MIT"
] | kbaley/Coronado | Coronado.ConsoleApp/StringExtensions.cs | 1,339 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Tools;
using System.IO;
namespace Charlotte
{
public class Gnd
{
private static Gnd _i = null;
public static Gnd i
{
get
{
if (_i == null)
_i = new Gnd();
return _i;
}
}
private G... | 18.222222 | 102 | 0.619338 | [
"MIT"
] | stackprobe/Kirara2 | KiraraOld1/Kirara/Ground.cs | 2,304 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.AI.MetricsAdvisor.Models
{
/// <summary> The SqlSourceParameter. </summary>
internal partial class SqlSourceParameter
{
/// <summary> Initializes ... | 31.678571 | 82 | 0.642616 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/Models/SqlSourceParameter.cs | 887 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.333333 | 153 | 0.604396 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/model/WorkbookFunctionsRoundRequestBody.cs | 1,456 | C# |
// Copyright 2004-2012 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
//
// Unless ... | 25.295806 | 275 | 0.68156 | [
"Apache-2.0"
] | 111cctv19/Windsor | src/Castle.Windsor/MicroKernel/SubSystems/Naming/DefaultNamingSubSystem.cs | 11,459 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Akka;
using Akka.Actor;
using Akka.Persistence.Query;
using Akka.Streams.Dsl;
using wyvern.api.@internal.surfaces;
using wyvern.entity.@event;
using wyvern.entity.@event.aggregate;
namespace wyvern.api.abstractions
{
public i... | 33.619048 | 112 | 0.770538 | [
"Apache-2.0"
] | nagytech/lagom-dotnet | src/wyvern.api/abstractions/ITaggedOffsetTopicProducer.cs | 706 | C# |
using System;
namespace Bridge
{
public class TextSender : IMessageSender
{
public void SendMessage(string subject, string body)
{
string messageType = "Text";
Console.WriteLine($"{messageType}");
Console.WriteLine("--------------");
Co... | 26.611111 | 73 | 0.530271 | [
"MIT"
] | PetarTolev/High-Quality-Code | 02. Structural Patterns/06Bridge/TextSender.cs | 481 | C# |
using BL.Tecnologia;
namespace Proyecto_WorldTec
{
partial class FormFactura
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 60.725092 | 211 | 0.672926 | [
"MIT"
] | Jflores1703/Worldtec | Proyecto_WorldTec/Proyecto_WorldTec/FormFactura.Designer.cs | 32,919 | C# |
namespace Company.BankApp.DataAccess
{
// Lecture: Sometimes you want to group up configurations that are constants
// or values that you repeatedly need. Consolidating them into a "Constants" object
// or a "Defaults" object is an option, but retrieving values from a configuration file
// or some othe... | 41.142857 | 91 | 0.736111 | [
"MIT"
] | v-vong3/csulb | cecs_491/demo/full-stack-demo/backend/Company.BankApp.DataAccess/FormatDefaults.cs | 578 | C# |
using System;
using System.Collections.Generic;
using System.IO;
namespace NHM.Common
{
public static class Paths
{
public static string Root { get; private set; } = "";
public static string AppRoot { get; private set; } = "";
public static void SetRoot(string rootPath)
{
... | 29.266667 | 136 | 0.554442 | [
"MIT"
] | Hungkoi99/NiceHashMiner | src/NHM.Common/Paths.cs | 2,197 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PhysisWeather.Core.Base.Extensions
{
public static class StringExtensions
{
public static string GetFirst(this string source, int numberOfChars)
{
if (source.Length > numberOfChars)
... | 28.059701 | 208 | 0.416312 | [
"MIT"
] | aaron-salisbury/PhysisWeather | PhysisWeather/PhysisWeather.Core/Base/Extensions/StringExtensions.cs | 5,642 | C# |
namespace IAGrim.UI.Filters {
partial class DamageOverTimeFilter {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 54.023256 | 162 | 0.595867 | [
"MIT"
] | 211847750/iagd | IAGrim/UI/Filters/DamageOverTime.Designer.cs | 11,617 | C# |
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediMinder.Pages
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Medic... | 21.380952 | 55 | 0.719376 | [
"MIT"
] | sander1095/mediminder-maui | MediMinder/Pages/MedicineListPage.xaml.cs | 451 | C# |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... | 33.445946 | 86 | 0.628687 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | ONLYOFFICE/CommunityServer | common/ASC.Data.Backup/Storage/Schedule.cs | 2,475 | C# |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Collections.Generic;
using System.Security;
using System.Web.Security;
namespace EatFit.Data
{
public class Grade
{
private int grade_level_id;
public int GradeLevelId
... | 24.954023 | 99 | 0.532934 | [
"MIT"
] | ucdavis/EatFit | EatFit.Data/GradeLevel.cs | 2,171 | C# |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnrealBuildTool
{
/// <summary>
/// Base class for file system objects (files or directories).
/// </summary>
... | 32.468593 | 188 | 0.688721 | [
"MIT"
] | armroyce/Unreal | UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealBuildTool/System/FileSystemReference.cs | 25,847 | C# |
using System.Linq;
using System.Linq.Expressions;
using Marten.Linq.Fields;
using Weasel.Postgresql.SqlGeneration;
namespace Marten.Linq.Parsing.Methods
{
public class NgramSearch: IMethodCallParser
{
public bool Matches(MethodCallExpression expression)
{
return expression.Method.Na... | 32.666667 | 113 | 0.678005 | [
"MIT"
] | Rob89/marten | src/Marten/Linq/Parsing/Methods/NgramSearch.cs | 882 | C# |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System
{
public static class __TimeZoneInfo
{
public static IObservable<System.TimeZoneInfo.AdjustmentRule[]> GetAdjustmentRules(
this IObservable<Syst... | 46.222222 | 122 | 0.69566 | [
"MIT"
] | RixianOpenTech/RxWrappers | Source/Wrappers/mscorlib/System.TimeZoneInfo.cs | 15,808 | C# |
using System.ComponentModel.DataAnnotations;
namespace Papu.Models
{
public class CreateThursdayDto
{
//Śniadanie wchodzące w skład czwartku
public int BreakfastThursdayId { get; set; }
//Drugie śniadanie wchodzące w skład czwartku
public int SecondBreakfastThursdayId { get; s... | 27.086957 | 58 | 0.666132 | [
"Unlicense"
] | dawidkurant/applications | Projekt Web API/Papu/Papu/Models/Create/DayOfTheWeek/CreateThursdayDto.cs | 637 | C# |
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserTesting.Application.Models.Results;
using UserTesting.Domain.Entities.Offices;
namespace UserTesting.Application.Features.UserManagements.Offices.Queries.GetAll
{
public cla... | 25 | 81 | 0.805 | [
"MIT"
] | SargeMahoney/CustomUserAspCoreApp | UserTesting.Application/Features/UserManagements/Offices/Queries/GetAll/GetAllOfficesQuery.cs | 402 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace ETModel
{
public enum LockStatus
{
/// <summary>
/// 不是锁定状态
/// </summary>
LockedNot,
/// <summary>
/// 待加锁状态
/// </summary>
LockRequesting,
... | 21.695652 | 106 | 0.52505 | [
"MIT"
] | Greatdust/ET4.0 | Server/Model/Module/BigWorld/LockComponent.cs | 1,134 | C# |
// Copyright © 2020 Sovren Group, Inc. All rights reserved.
// This file is provided for use by, or on behalf of, Sovren licensees
// within the terms of their license of Sovren products or Sovren customers
// within the Terms of Service pertaining to the Sovren SaaS products.
using Sovren.Models.Resume.ContactInfo;
u... | 29.035088 | 75 | 0.58006 | [
"Apache-2.0"
] | sovren/sovren-dotnet | src/Sovren.SDK/Models/Resume/CandidateReference.cs | 1,656 | C# |
// <auto-generated>
// Code generated by LUISGen
// Tool github: https://github.com/microsoft/botbuilder-tools
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
using Newtonsoft.Json;
using System.Collections.Generic;
using Microsoft.Bot.Builder;
using Microsof... | 27.404494 | 98 | 0.527265 | [
"MIT"
] | 3ve4me/botframework-solutions | templates/Enterprise-Template/src/csharp/EnterpriseBotSample/EnterpriseBotSample/Dialogs/Shared/Resources/General.cs | 2,439 | 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 ... | 32.160714 | 163 | 0.597723 | [
"MIT"
] | 2191116913-qq-com/bk-ci | src/agent/src/vendor/github.com/influxdata/telegraf/vendor/github.com/apache/thrift/lib/csharp/src/Transport/TNamedPipeClientTransport.cs | 3,604 | C# |
using System;
using System.Linq;
using Microsoft.Xrm.Sdk;
using Microsoft.Crm.Sdk.Messages;
namespace FakeXrmEasy.FakeMessageExecutors
{
public class QualifyLeadRequestExecutor : IFakeMessageExecutor
{
public bool CanExecute(OrganizationRequest request)
{
return request is QualifyL... | 37.732143 | 214 | 0.54567 | [
"MIT"
] | mallikarjunTH/FakeXRM1 | FakeXrmEasy.Shared/FakeMessageExecutors/QualifyLeadRequestExecutor.cs | 4,228 | C# |
namespace Model
{
public static class Globals
{
public const string STORAGE = "STORAGE_CONNECTION";
public const string PUBLISH_ENDPOINT = "PUBLISH_ENDPOINT";
public const string PUBLISH_KEY = "PUBLISH_KEY";
public const string TABLE = "inventory";
public const s... | 30.666667 | 67 | 0.652174 | [
"MIT"
] | mjalaf/IgniteTheTour | DEV - Building your Applications for the Cloud/DEV50/src/TailwindTraderServerless/Model/Globals.cs | 370 | C# |
using SuperCOOL.Core;
using System.Collections.Generic;
namespace SuperCOOL.CodeGeneration.CIL.AST
{
public abstract class ASTCILNode
{
public static implicit operator List<ASTCILNode>(ASTCILNode node) => new List<ASTCILNode>{node};
public virtual Result Accept<Result>( ICILVisitor<Result> Vis... | 30.416667 | 105 | 0.728767 | [
"MIT"
] | jromero132/cool-compiler-supercool | src/SuperCOOL/CodeGeneration/CIL/AST/ASTCILNode.cs | 367 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;
using System.Web.SessionState;
namespace findmydocs
{
public class Global : HttpApplication
{
void Application_Start(object sender, E... | 24.363636 | 62 | 0.701493 | [
"MIT"
] | Azure-Samples/AIP-Custom-Tracking-Portal-Samples | asp-donet-web-portal/Global.asax.cs | 538 | 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/WebServices.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... | 38.863636 | 145 | 0.661988 | [
"MIT"
] | Perksey/terrafx.interop.windows | tests/Interop/Windows/um/WebServices/WS_CUSTOM_LISTENER_CALLBACKSTests.cs | 1,712 | 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 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | 44.836406 | 307 | 0.567398 | [
"MIT"
] | DiogenesPolanco/azure-sdk-for-net | src/ResourceManagement/Monitor/Microsoft.Azure.Monitor/Generated/Management/Monitor/ServiceDiagnosticSettingsOperations.cs | 19,459 | C# |
using System.Collections.Generic;
using Windows.ApplicationModel.Resources;
namespace SpaceTraders
{
public static class Weapons
{
// A standard laser.
public static readonly Weapon PULSE_LASER = new Weapon
{
Name = ResourceLoader.GetForViewIndependentUse().GetString("Weapo... | 31.684211 | 114 | 0.613787 | [
"MIT"
] | AlteredCarrot71/SpaceTraders | SpaceTraders/Common/Objects/Weapons.cs | 1,206 | C# |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Diagnostics;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc7748;
usi... | 38.230897 | 141 | 0.410732 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | jneless/wireless_AR_skeleton_realtime_sync | Unity_ARFoundation_IOS_clients/Assets/Best HTTP/Source/SecureProtocol/math/ec/rfc8032/Ed448.cs | 46,030 | C# |
using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Runtime;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace NewLife.Log
{
/// <summary>日志基类。提供日志的基本实现</summary>
[EditorBrowsable(EditorBrowsableState.Advanced)]... | 39.65283 | 147 | 0.504187 | [
"MIT"
] | doujia/X | NewLife.Core/Log/Logger.cs | 11,244 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EchoServer.cs">
// Copyright (c) 2021 Johannes Deml. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// public@deml.io
// </author>
// --------------------... | 29.028571 | 120 | 0.703002 | [
"MIT"
] | JohannesDeml/NetCoreNetworkBenchmark | NetworkBenchmarkDotNet/Libraries/LiteNetLib/EchoServer.cs | 4,066 | C# |
// Copyright (c) 2021 Alachisoft
//
// 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 o... | 35.772727 | 164 | 0.545235 | [
"Apache-2.0"
] | Alachisoft/NCache | Tools/NCAutomation/Util/ToolsUtil.cs | 7,872 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
using Microsoft.VisualBasic.ApplicationServices;
using StartupEventArgs = System.Windows.StartupEventArgs;
namespace Frame
{
public class SingleInstanceApp : Application
{
public readonly List<string> Args = new List... | 23.328571 | 107 | 0.661359 | [
"MIT"
] | Stromberg90/Frame | ImageViewer/SingleInstanceApp.cs | 1,635 | C# |
#region license
//MIT License
//Copyright(c) 2016 Andreas Huebner
//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, cop... | 35.271318 | 139 | 0.588132 | [
"MIT"
] | tetrodoxin/AdtGekid | src/AdtGekid/StringHelper.cs | 4,565 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace IntersectSortedArrays
{
/// <summary>
/// Linear search on both arrays
/// </summary>
public class StandardIntersecter:IntersecterBase
{
public StandardIntersecter(ICounter counter):base(counter)
{
... | 26.386364 | 83 | 0.394488 | [
"MIT"
] | Siderite/SortedArrayIntersect | src/IntersectSortedArrays/Intersecters/StandardIntersecter.cs | 1,163 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Senai.Opflix.WebApi.Domains;
using Senai.Opflix.WebApi.Interface;
using Senai.Opflix.WebApi.Repositories;
namespace Senai.Opflix.WebApi.Controller
{
... | 28.322581 | 95 | 0.574032 | [
"MIT"
] | GuigaxD/2s2019-sprint-1-bd-opflix- | Senai.Opflix.WebApi/Controller/ConteudoController.cs | 1,758 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.XR;
using System.IO;
using System.Xml.Linq;
public class BuildApp
{
public static void Test()
{
Debug.Log("old:" + EditorUserBuildSettings.GetPlatformSettings("", "metroPackageVersion... | 32.33711 | 150 | 0.609724 | [
"MIT"
] | DataMesh-OpenSource/METoolkit | Assets/DataMesh/ARModule/Build/Editor/BuildApp.cs | 11,569 | C# |
// Auto-Generated by FAKE; do not edit
// <auto-generated/>
using System.Reflection;
[assembly: AssemblyVersion("4.1.1")]
[assembly: AssemblyFileVersion("4.1.1")]
[assembly: AssemblyInformationalVersion("4.1.1 7c6024")]
namespace System {
internal static class AssemblyVersionInformation {
internal const S... | 34.666667 | 83 | 0.721154 | [
"MIT"
] | drcolombo/CsvReader | code/SolutionInfo.cs | 522 | C# |
#region Copyright
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Phoenix Contact GmbH & Co KG
// This software is licensed under Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////
#endregion
using System;
using... | 33.774194 | 204 | 0.612225 | [
"Apache-2.0"
] | PLCnext/PLCnext_CLI | src/PlcNext.Common/Project/FileExistsException.cs | 1,049 | C# |
using UnityEngine;
using System.Collections;
public class DecisionTree : DecisionTreeNode
{
public DecisionTreeNode root;
private Action actionNew;
private Action actionOld;
void Update()
{
actionNew.activated = false;
actionOld = actionNew;
actionNew = root.MakeDe... | 22.04 | 51 | 0.635209 | [
"MIT"
] | maricak/Santorini | book/UAIPC/Assets/Scripts/Ch03DecisionMaking/DecisionTree.cs | 553 | C# |
#region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.ap... | 32.123711 | 108 | 0.631579 | [
"Apache-2.0"
] | Leftyx/quartznet | src/Quartz.Examples/example12/RemoteServerExample.cs | 3,116 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services: http://www.microsoft.com/cognitive
//
// Microsoft Cognitive Services Github:
// https://github.com/Microsoft/Cognitive
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
//... | 36.964865 | 166 | 0.613804 | [
"MIT"
] | kaiyee0/AIKiosk | Kiosk/Controls/ImageSearchUserControl.xaml.cs | 13,679 | 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... | 39.666667 | 293 | 0.701681 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Outputs/RuleGroupRuleStatementNotStatementStatementSqliMatchStatementTextTransformation.cs | 1,428 | C# |
using Litium.Accelerator.ViewModels.Framework;
using Litium.Accelerator.ViewModels.Product;
using System.Collections.Generic;
namespace Litium.Accelerator.ViewModels.Search
{
public class FacetSearchResult
{
public IEnumerable<FacetGroupFilter> FacetFilters { get; set; }
public CategoryFilteri... | 33.375 | 71 | 0.730337 | [
"MIT"
] | tonnguyen/Litium.GraphQL | Src/Litium.Accelerator/ViewModels/Search/FacetSearchResult.cs | 536 | C# |
using System.Collections.Generic;
using System.Text;
namespace SwishSvg.Tests.IO
{
public class ElementBuilder
{
private readonly Dictionary<string, string> attributes = new Dictionary<string, string>();
public static ElementBuilder Create(string elementName, bool selfClosing = true)
... | 22.327586 | 98 | 0.509653 | [
"MIT"
] | dswisher/swish-svg | test/SwishSvg.Tests/IO/ElementBuilder.cs | 1,295 | C# |
namespace GMap.NET.MapProviders
{
using System;
/// <summary>
/// GoogleTerrainMap provider
/// </summary>
public class GoogleTerrainMapProvider : GoogleMapProviderBase
{
public static readonly GoogleTerrainMapProvider Instance;
GoogleTerrainMapProvider()
{
}
... | 27.6 | 160 | 0.56243 | [
"Apache-2.0"
] | forgy/ntripshare-pro | GMap.NET.Core/GMap.NET.MapProviders/Google/GoogleTerrainMapProvider.cs | 1,796 | C# |
using System.IO;
using System.Windows.Forms;
using AxMapWinGIS;
using MapWinGIS;
namespace Examples
{
public partial class MapExamples
{
// <summary>
// Adds the layers and register event handler.
// </summary>
public void SelectBox(AxMap axMap1, string dataPath)
... | 35.8125 | 102 | 0.49075 | [
"MPL-2.0"
] | AiScientists/MapWinGIS | docs/Examples/src/SelectBox.cs | 2,867 | C# |
//******************************************************************************************************
// DataSubscriber.cs - Gbtc
//
// Copyright © 2010, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | 53.821223 | 485 | 0.575109 | [
"MIT"
] | GridProtectionAlliance/gsf | Source/Libraries/GSF.Unity/GSF.TimeSeries/Transport/DataSubscriber.cs | 139,992 | C# |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DpdtInject.Injector.Src.Excp;
using DpdtInject.Injector.Src;
namespace DpdtInject.Tests.NonGeneric.IncorrectRequest
{
public partial class NonGenericIncorrectRequest_Cluster : DefaultCluster
{
[DpdtBindingMethod]
publ... | 26.208955 | 130 | 0.499431 | [
"MIT"
] | lsoft/DpDtInject | DpdtInject.Tests/NonGeneric/IncorrectRequest/NonGenericIncorrectRequest_Cluster.cs | 1,758 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dep... | 32.147541 | 143 | 0.63539 | [
"MIT"
] | biishan/Blazor.GridLoading | demo/Blazor.SSBDemo/Startup.cs | 1,961 | C# |
using System;
using System.Drawing;
namespace Aigamo.Saruhashi
{
public abstract class ButtonBase : Control
{
[Flags]
private enum States
{
MouseOver = 0x0001,
MouseDown = 0x0002,
MousePressed = 0x0004,
InButtonUp = 0x0008,
CurrentlyAnimating = 0x0010,
AutoEllipsis = 0x0020,
IsDefault = 0... | 20.164835 | 70 | 0.691553 | [
"MIT"
] | ycanardeau/Saruhashi | Aigamo.Saruhashi/ButtonBase.cs | 1,837 | C# |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.VisioApi
{
///<summary>
/// Interface LPVISIOMENUITEM
/// SupportB... | 27.008837 | 170 | 0.670811 | [
"MIT"
] | brunobola/NetOffice | Source/Visio/Interfaces/LPVISIOMENUITEM.cs | 18,341 | C# |
using Android.Views;
namespace Forms9Patch.Droid
{
internal static class MeasureSpecFactory
{
public static int GetSize(int measureSpec)
{
const int modeMask = 0x3 << 30;
return measureSpec & ~modeMask;
}
// Literally does the same thing as the android code, 1000x faster because no bridge cross
// ... | 24.7 | 92 | 0.726721 | [
"MIT"
] | Mourad57/Forms9Patch | Forms9Patch/Forms9Patch.Droid/Extensions/MeasureSpecFactory.cs | 496 | C# |
using System;
using Game.Services.EventProcessor.Core.Entities.Exceptions;
using MicroBootstrap.Types;
namespace Game.Services.EventProcessor.Core.Entities
{
public class GameEventSource : IIdentifiable<Guid>
{
public Guid Id { get; set; }
public bool IsWin { get; set; }
public int Score... | 31.173913 | 137 | 0.601813 | [
"MIT"
] | GhalamborM/MicroBootstrap | samples/Game-Microservices-Sample/Game.Services.EventProcessor/src/Game.Services.EventProcessor.Core/Entities/GameEventSource.cs | 1,434 | C# |
using CWTNet;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CWT_dev_server.CWTNet
{
public class PacketBase : IPacket
{
public virtual uint GetPacketOpcode()
{
return uint.MaxValue;
... | 22.09434 | 61 | 0.510675 | [
"MIT"
] | CWTesseract/CWT_dev_server | CWT_dev_server/CWTNet/PacketBase.cs | 1,173 | C# |
using System.Collections.Generic;
namespace dto.endpoint.marketdetails.v2
{
public class DepositBanding{
///<Summary>
///Boundaries
///</Summary>
public List<string> boundaries { get; set; }
///<Summary>
///Margin factor
///</Summary>
public List<string> factors { get; set; }
///<Summary>
///Currency
///</... | 17.666667 | 45 | 0.668464 | [
"BSD-3-Clause"
] | teebeast/ig-webapi-dotnet-sample | IGWebApiClient/Model/dto/endpoint/marketdetails/v2/DepositBanding.cs | 371 | C# |
using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// MallCardUpdate Data Structure.
/// </summary>
[Serializable]
public class MallCardUpdate : AlipayObject
{
/// <summary>
/// 资金卡余额,单位:元,精确到小数点后两位。
/// </summary>... | 26.976744 | 95 | 0.549138 | [
"MIT"
] | gebiWangshushu/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/MallCardUpdate.cs | 1,540 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Buffers.Binary;
namespace SixLabors.ImageSharp.Formats.Gif
{
internal readonly struct GifNetscapeLoopingApplicationExtension : IGifExtension
{
public GifNetscapeLoopingApplicati... | 36 | 108 | 0.657407 | [
"Apache-2.0"
] | Davidsv/ImageSharp | src/ImageSharp/Formats/Gif/Sections/GifNetscapeLoopingApplicationExtension.cs | 1,622 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using Xyaneon.Bioinformatics.FASTA.ActualSequences;
using Xyaneon.Bioinformatics.FASTA.Identifiers;
using System.Linq;
namespace Xyaneon.Bioinformatics.FASTA.Test
{
[TestClass]
public class SequenceTest
{
... | 38.1375 | 146 | 0.630285 | [
"MIT"
] | Xyaneon/Xyaneon.Bioinformatics.FASTA | Xyaneon.Bioinformatics.FASTA.Test/SequenceTest.cs | 9,155 | C# |
namespace Inboxy.Ticket.DataAccess
{
using Inboxy.Ticket.Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
internal class TicketStatusMap: IEntityTypeConfiguration<TicketStatus>
{
public void Configure(EntityTypeBuilder<TicketStatus> builde... | 30.533333 | 74 | 0.696507 | [
"MIT"
] | niaher/inboxy | Inboxy.Ticket/DataAccess/TicketStatusMap.cs | 460 | 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
*
... | 30.159091 | 81 | 0.66315 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Gse/V20191112/Models/DeleteAliasResponse.cs | 1,385 | C# |
/*
* Tencent is pleased to support the open source community by making xLua available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Lice... | 32.042802 | 309 | 0.609472 | [
"BSD-3-Clause"
] | Blavtes/xLua | Assets/XLua/Src/GenericDelegateBridge.cs | 8,237 | C# |
using FinRust.Application.Common.Interfaces;
using FinRust.Common;
using FinRust.Domain.Common;
using FinRust.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System.Threading;
using System.Threading.Tasks;
namespace FinRust.Persistence
{
public class FinRustDbContext : DbContext, IFinRustDbContext
... | 32.868852 | 113 | 0.612968 | [
"MIT"
] | rapideinternet/finrust.api | Src/Persistence/FinRustDbContext.cs | 2,007 | C# |
namespace DjvuNet.DjvuLibre
{
/// <summary>
/// Various ways to render a page.
/// </summary>
public enum RenderMode
{
Color = 0, /* color page or stencil */
Black, /* stencil or color page */
ColorOnly, /* color page or fail */
MaskOnly, ... | 28.6875 | 53 | 0.511983 | [
"MIT"
] | ivs/DjvuNet | DjvuNet.DjvuLibre/Enums/RenderMode.cs | 461 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace CrcDotNetCoreHomeworkWebApi
{
public class Progr... | 24.92 | 76 | 0.701445 | [
"MIT"
] | Badyl96/CrcDotNetCoreHomework | CrcDotNetCoreHomework/src/CrcDotNetCoreHomeworkWebApi/Program.cs | 625 | C# |
using FluentAssertions;
using NUnit.Framework;
namespace PurityAnalyzer.Tests.IsPureAttributeOnClass
{
[TestFixture]
public class PropertyInitializerTests
{
[Test]
public void PurePropertyInitializerKeepsClassPure()
{
string code = @"
using System;
public class IsPureA... | 17.536585 | 69 | 0.640705 | [
"MIT"
] | seerek/PurityAnalyzer | PurityAnalyzer.Tests/IsPureAttributeOnClass/PropertyInitializerTests.cs | 2,159 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TriggerCommandLineConsole;
namespace TriggerCommandLineConsoleTest
{
[TestClass]
public class JSONValueSwapperTest
{
private const string JSON = "{\"config_version\":\"4\",\"author\":\"AuthorValue\",\"modules\":{\"name\":\"tes... | 34.014085 | 166 | 0.549896 | [
"Unlicense",
"MIT"
] | scottiemc7/TriggerCommandLineBuild | TriggerCommandLineConsole/TriggerCommandLineConsoleTest/JSONValueSwapperTest.cs | 2,417 | C# |
using System.Net.Http.Formatting;
using System.Web.Http;
using System.Web.Http.Cors;
using Newtonsoft.Json.Serialization;
namespace Guests.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
var cors = new EnableCorsAttribute("http://localhost:9000", "*", "*");
... | 22.969697 | 73 | 0.718997 | [
"MIT"
] | alfonsovgs/hotel-management-system | src/Guests.Api/App_Start/WebApiConfig.cs | 760 | C# |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Xu... | 25.848101 | 159 | 0.60431 | [
"Apache-2.0"
] | 0x0c/openapi-generator | samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ChildCatAllOfTests.cs | 2,042 | C# |
using UnityEngine;
[CreateAssetMenu(fileName ="MeleeAttack", menuName = "Attacks/MeleeAttack")]
public class MeleeAttack : Attack
{
[SerializeField] float knockbackY = 0.9f;
[SerializeField] protected int damage = 1;
[SerializeField] protected float damageDiameter = 1f;
[SerializeField] protected floa... | 37.774194 | 103 | 0.669513 | [
"MIT"
] | Sunderer325/DigitalOxygenTest | Assets/Scripts/Core/Attacks/MeleeAttack.cs | 1,173 | 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 ... | 33.03125 | 134 | 0.699149 | [
"Apache-2.0"
] | bbs168/aliyun-openapi-net-sdk | aliyun-net-sdk-ccc/CCC/Model/V20170705/GetInstanceRequest.cs | 2,114 | C# |
using Manga.Application.Boundaries.Login;
using System;
using System.Collections.Generic;
using System.Text;
namespace Manga.Application.Services
{
public interface ILogin
{
LoginOutput Execute(string username, string password);
}
}
| 19.615385 | 62 | 0.74902 | [
"Apache-2.0"
] | darshitachavda/Clean-Architecture-manga-pro | source/Manga.Application/Login-register/ILogin.cs | 257 | 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.
#nullable disable
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
/// <... | 31.16 | 78 | 0.725289 | [
"MIT"
] | belav/roslyn | src/Workspaces/Core/Portable/SolutionCrawler/ISolutionCrawlerRegistrationService.cs | 781 | C# |
using Tibia.Constants;
namespace Tibia.Packets.Incoming
{
public class ProjectilePacket : IncomingPacket
{
public Objects.Location FromPosition { get; set; }
public Objects.Location ToPosition { get; set; }
public ProjectileType Effect { get; set; }
public Projecti... | 31.415094 | 138 | 0.577778 | [
"MIT"
] | BeldenGit/tibiaapi | tibiaapi/Packets/Incoming/ProjectilePacket.cs | 1,667 | C# |
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 39.542373 | 110 | 0.586369 | [
"Apache-2.0"
] | FDYdarmstadt/BoSSS | src/L4-application/CNS/EquationSystem/Operator.cs | 6,825 | C# |
using System;
using Xunit;
namespace ChallengesTests
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}
| 10.733333 | 27 | 0.521739 | [
"MIT"
] | Vavyo/Code-401-Lab03 | ChallengesTests/UnitTest1.cs | 161 | C# |
using System.Windows.Controls;
namespace TLCGen.Views
{
/// <summary>
/// Interaction logic for PrioriteitInUitmeldenTabView.xaml
/// </summary>
public partial class PrioriteitInUitmeldenTabView : UserControl
{
public PrioriteitInUitmeldenTabView()
{
InitializeComponent... | 21.375 | 67 | 0.646199 | [
"MIT"
] | PeterSnijders/TLCGen | TLCGen/Views/Tabs/PrioriteitsTab - Copy/Tabs/PrioriteitInUitmeldenTabView.xaml.cs | 344 | C# |
using UnityEngine.Networking;
class PingMessage: MessageBase
{
public double timestamp;
}
| 13.714286 | 30 | 0.770833 | [
"MIT"
] | FabbyD/Office-Royale | Assets/Scripts/PingMessage.cs | 98 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... | 25.365854 | 91 | 0.722115 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Jcq/Apis/DescribeMessageTraceResponse.cs | 1,060 | 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.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnal... | 39.472393 | 144 | 0.559372 | [
"MIT"
] | 333fred/roslyn | src/Features/CSharp/Portable/Structure/Providers/BlockSyntaxStructureProvider.cs | 6,436 | C# |
using System;
using System.Xml.Serialization;
namespace dk.nita.saml20.Schema.XmlDSig
{
/// <summary>
/// The optional Transforms element contains an ordered list of Transform elements; these describe how the
/// signer obtained the data object that was digested. The output of each Transform serves as inp... | 46.076923 | 115 | 0.663725 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | LeeTrent/Saml2.Authentication.Core | Source/Saml2.Authentication.Core/Schema/XmlDSig/Transform.cs | 4,193 | C# |
using System;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Syste... | 43.43617 | 179 | 0.53588 | [
"MIT"
] | FalahHAbbas/react | dotnet/Startup.cs | 8,166 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.